@db-ux/wc-core-components 4.10.1 → 4.10.2

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 (167) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +1 -1
  3. package/bundle/db-accordion-item.js +1 -1
  4. package/bundle/db-accordion.js +1 -1
  5. package/bundle/db-badge.js +1 -1
  6. package/bundle/db-brand.js +1 -1
  7. package/bundle/db-button.js +1 -1
  8. package/bundle/db-card.js +1 -1
  9. package/bundle/db-checkbox.js +1 -1
  10. package/bundle/db-custom-button.js +1 -1
  11. package/bundle/db-custom-select-dropdown.js +1 -1
  12. package/bundle/db-custom-select-form-field.js +1 -1
  13. package/bundle/db-custom-select-list-item.js +1 -1
  14. package/bundle/db-custom-select-list.js +1 -1
  15. package/bundle/db-custom-select.js +1 -1
  16. package/bundle/db-divider.js +1 -1
  17. package/bundle/db-drawer.js +1 -1
  18. package/bundle/db-header.js +1 -1
  19. package/bundle/db-icon.js +1 -1
  20. package/bundle/db-infotext.js +1 -1
  21. package/bundle/db-input.js +1 -1
  22. package/bundle/db-link.js +1 -1
  23. package/bundle/db-navigation-item.js +1 -1
  24. package/bundle/db-navigation.js +1 -1
  25. package/bundle/db-notification.js +1 -1
  26. package/bundle/db-page.js +1 -1
  27. package/bundle/db-popover.js +1 -1
  28. package/bundle/db-radio.js +1 -1
  29. package/bundle/db-section.js +1 -1
  30. package/bundle/db-select.js +1 -1
  31. package/bundle/db-stack.js +1 -1
  32. package/bundle/db-switch.js +1 -1
  33. package/bundle/db-tab-item.js +1 -1
  34. package/bundle/db-tab-list.js +1 -1
  35. package/bundle/db-tab-panel.js +1 -1
  36. package/bundle/db-tabs.js +1 -1
  37. package/bundle/db-tag.js +1 -1
  38. package/bundle/db-textarea.js +1 -1
  39. package/bundle/db-tooltip.js +1 -1
  40. package/bundle/index.js +1 -1
  41. package/bundle/{p-4TaCoruo.js → p--qzKkpB9.js} +1 -1
  42. package/bundle/{p-DE_eDJiD.js → p-B5E_0kTi.js} +1 -1
  43. package/bundle/{p-QNp8H1KD.js → p-BChikMGc.js} +1 -1
  44. package/bundle/{p-DS39nEhJ.js → p-BGVLpaFn.js} +1 -1
  45. package/bundle/{p-4nwUOzw7.js → p-BLyvxOmU.js} +1 -1
  46. package/bundle/{p-BJJFATCC.js → p-BPxBqqlc.js} +1 -1
  47. package/bundle/{p-DVYa1bHg.js → p-C6_y8Tot.js} +1 -1
  48. package/bundle/{p-CEiQBevg.js → p-CKfRqzsn.js} +1 -1
  49. package/bundle/{p-DwwxAylo.js → p-CnYMRGX1.js} +1 -1
  50. package/bundle/{p-_2t1bnPD.js → p-CwzdaLE3.js} +1 -1
  51. package/bundle/{p-CmqAwQNR.js → p-CyxQfbGC.js} +1 -1
  52. package/bundle/{p-e18AQLns.js → p-DisehhY5.js} +1 -1
  53. package/bundle/p-DstwggLZ.js +1 -0
  54. package/bundle/{p-bzxfqhtq.js → p-LbPYp2oP.js} +1 -1
  55. package/bundle/{p-CV8l9qaA.js → p-suxDlmXD.js} +1 -1
  56. package/dist/cjs/db-accordion-item.cjs.entry.js +1 -1
  57. package/dist/cjs/db-accordion.cjs.entry.js +1 -1
  58. package/dist/cjs/db-badge.cjs.entry.js +1 -1
  59. package/dist/cjs/db-brand.cjs.entry.js +1 -1
  60. package/dist/cjs/db-button.cjs.entry.js +1 -1
  61. package/dist/cjs/db-card.cjs.entry.js +1 -1
  62. package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
  63. package/dist/cjs/db-custom-button.cjs.entry.js +1 -1
  64. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +1 -1
  65. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
  66. package/dist/cjs/db-custom-select.cjs.entry.js +1 -1
  67. package/dist/cjs/db-divider.cjs.entry.js +1 -1
  68. package/dist/cjs/db-drawer.cjs.entry.js +1 -1
  69. package/dist/cjs/db-header.cjs.entry.js +1 -1
  70. package/dist/cjs/db-icon.cjs.entry.js +1 -1
  71. package/dist/cjs/db-infotext.cjs.entry.js +1 -1
  72. package/dist/cjs/db-link.cjs.entry.js +1 -1
  73. package/dist/cjs/db-navigation-item.cjs.entry.js +1 -1
  74. package/dist/cjs/db-navigation.cjs.entry.js +1 -1
  75. package/dist/cjs/db-notification.cjs.entry.js +1 -1
  76. package/dist/cjs/db-page.cjs.entry.js +1 -1
  77. package/dist/cjs/db-popover.cjs.entry.js +1 -1
  78. package/dist/cjs/db-radio.cjs.entry.js +1 -1
  79. package/dist/cjs/db-section.cjs.entry.js +1 -1
  80. package/dist/cjs/db-select.cjs.entry.js +1 -1
  81. package/dist/cjs/db-stack.cjs.entry.js +1 -1
  82. package/dist/cjs/db-switch.cjs.entry.js +1 -1
  83. package/dist/cjs/db-tab-item_3.cjs.entry.js +1 -1
  84. package/dist/cjs/db-tabs.cjs.entry.js +1 -1
  85. package/dist/cjs/db-textarea.cjs.entry.js +1 -1
  86. package/dist/cjs/db-tooltip.cjs.entry.js +1 -1
  87. package/dist/cjs/db-ux.cjs.js +2 -2
  88. package/dist/cjs/{index-DLuhzJ0p.js → index-HN8AqU2e.js} +1 -1
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/collection/collection-manifest.json +1 -1
  91. package/dist/db-ux/db-ux.esm.js +1 -1
  92. package/dist/db-ux/{p-368d25ab.entry.js → p-0f524f6c.entry.js} +1 -1
  93. package/dist/db-ux/{p-ae3183f0.entry.js → p-11211f1a.entry.js} +1 -1
  94. package/dist/db-ux/{p-293510ca.entry.js → p-1a4881de.entry.js} +1 -1
  95. package/dist/db-ux/{p-7f4d00df.entry.js → p-21e5f6d0.entry.js} +1 -1
  96. package/dist/db-ux/{p-f65e1db8.entry.js → p-2461e08a.entry.js} +1 -1
  97. package/dist/db-ux/{p-aad0c4ef.entry.js → p-26b7e21f.entry.js} +1 -1
  98. package/dist/db-ux/{p-7c58337d.entry.js → p-272bdffc.entry.js} +1 -1
  99. package/dist/db-ux/{p-e46dc907.entry.js → p-32c359a9.entry.js} +1 -1
  100. package/dist/db-ux/p-33606da9.entry.js +1 -0
  101. package/dist/db-ux/{p-339a6ca0.entry.js → p-44391c06.entry.js} +1 -1
  102. package/dist/db-ux/p-46e3033b.entry.js +1 -0
  103. package/dist/db-ux/p-4b99f205.entry.js +1 -0
  104. package/dist/db-ux/{p-a56886ea.entry.js → p-4c238643.entry.js} +1 -1
  105. package/dist/db-ux/{p-cac5b161.entry.js → p-4c3a8823.entry.js} +1 -1
  106. package/dist/db-ux/{p-f583f756.entry.js → p-4d5201a3.entry.js} +1 -1
  107. package/dist/db-ux/{p-0ae85978.entry.js → p-5eae34e7.entry.js} +1 -1
  108. package/dist/db-ux/{p-331ad11c.entry.js → p-652739e4.entry.js} +1 -1
  109. package/dist/db-ux/{p-174d2486.entry.js → p-93a6b1ee.entry.js} +1 -1
  110. package/dist/db-ux/{p-f27c6655.entry.js → p-94de5791.entry.js} +1 -1
  111. package/dist/db-ux/{p-dcf02351.entry.js → p-9728504d.entry.js} +1 -1
  112. package/dist/db-ux/{p-a617da42.entry.js → p-a6c3ceaa.entry.js} +1 -1
  113. package/dist/db-ux/{p-9c3ff50e.entry.js → p-cd3cfb4e.entry.js} +1 -1
  114. package/dist/db-ux/p-cf045f35.entry.js +1 -0
  115. package/dist/db-ux/{p-b1e7ba0f.entry.js → p-d173eace.entry.js} +1 -1
  116. package/dist/db-ux/{p-fe5d3eb6.entry.js → p-d3ada4cb.entry.js} +1 -1
  117. package/dist/db-ux/{p-5d2e2a8d.entry.js → p-d858f147.entry.js} +1 -1
  118. package/dist/db-ux/{p-47910fdc.entry.js → p-db71c251.entry.js} +1 -1
  119. package/dist/db-ux/{p-13afb969.entry.js → p-e2740857.entry.js} +1 -1
  120. package/dist/db-ux/{p-9b907b56.entry.js → p-ed5b3877.entry.js} +1 -1
  121. package/dist/db-ux/{p-4580938f.entry.js → p-fd334f14.entry.js} +1 -1
  122. package/dist/db-ux/p-fed0fc42.entry.js +1 -0
  123. package/dist/esm/db-accordion-item.entry.js +1 -1
  124. package/dist/esm/db-accordion.entry.js +1 -1
  125. package/dist/esm/db-badge.entry.js +1 -1
  126. package/dist/esm/db-brand.entry.js +1 -1
  127. package/dist/esm/db-button.entry.js +1 -1
  128. package/dist/esm/db-card.entry.js +1 -1
  129. package/dist/esm/db-checkbox.entry.js +1 -1
  130. package/dist/esm/db-custom-button.entry.js +1 -1
  131. package/dist/esm/db-custom-select-dropdown_5.entry.js +1 -1
  132. package/dist/esm/db-custom-select-form-field.entry.js +1 -1
  133. package/dist/esm/db-custom-select.entry.js +1 -1
  134. package/dist/esm/db-divider.entry.js +1 -1
  135. package/dist/esm/db-drawer.entry.js +1 -1
  136. package/dist/esm/db-header.entry.js +1 -1
  137. package/dist/esm/db-icon.entry.js +1 -1
  138. package/dist/esm/db-infotext.entry.js +1 -1
  139. package/dist/esm/db-link.entry.js +1 -1
  140. package/dist/esm/db-navigation-item.entry.js +1 -1
  141. package/dist/esm/db-navigation.entry.js +1 -1
  142. package/dist/esm/db-notification.entry.js +1 -1
  143. package/dist/esm/db-page.entry.js +1 -1
  144. package/dist/esm/db-popover.entry.js +1 -1
  145. package/dist/esm/db-radio.entry.js +1 -1
  146. package/dist/esm/db-section.entry.js +1 -1
  147. package/dist/esm/db-select.entry.js +1 -1
  148. package/dist/esm/db-stack.entry.js +1 -1
  149. package/dist/esm/db-switch.entry.js +1 -1
  150. package/dist/esm/db-tab-item_3.entry.js +1 -1
  151. package/dist/esm/db-tabs.entry.js +1 -1
  152. package/dist/esm/db-textarea.entry.js +1 -1
  153. package/dist/esm/db-tooltip.entry.js +1 -1
  154. package/dist/esm/db-ux.js +3 -3
  155. package/dist/esm/{index-Cr2cgn5B.js → index-BGaQ0Bx8.js} +1 -1
  156. package/dist/esm/loader.js +2 -2
  157. package/dist/types/stencil-public-runtime.d.ts +1 -0
  158. package/dist/web-types.json +1 -1
  159. package/package.json +5 -5
  160. package/bundle/p-D4Ym01qf.js +0 -1
  161. package/dist/db-ux/p-28c257d5.entry.js +0 -1
  162. package/dist/db-ux/p-34e21986.entry.js +0 -1
  163. package/dist/db-ux/p-691ae341.entry.js +0 -1
  164. package/dist/db-ux/p-9712c9c9.entry.js +0 -1
  165. package/dist/db-ux/p-ae457f95.entry.js +0 -1
  166. /package/bundle/{p-CCbaTFJ9.js → p-9fgrfYbf.js} +0 -0
  167. /package/dist/db-ux/{p-Cr2cgn5B.js → p-BGaQ0Bx8.js} +0 -0
@@ -1 +1 @@
1
- import{r as i,c as t,h as s,F as h,g as a}from"./p-Cr2cgn5B.js";import{l as d,f as l,g as e,h as o,i as n,k as c,a as r}from"./p-BdL-nI5y.js";import{h as v,d as u,s as f,u as p,e as b,g as m,l as w,c as y}from"./p-xkoBSP8R.js";import{c as g}from"./p-D5mInaY7.js";const k=class{constructor(s){i(this,s),this.click=t(this,"click"),this.input=t(this,"input"),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._placeholderId="",this._descByIds=void 0,this._value="",this.initialized=!1,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,h;(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,v()&&(this._voiceOverFallback=null!==(h=this.validMessage)&&void 0!==h?h:c,u((()=>this._voiceOverFallback=""),1e3))):this._descByIds=f(this.message,this.showMessage)?this._messageId:this.placeholder?this._placeholderId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||d,v()&&(this._voiceOverFallback=this._invalidMessage,u((()=>this._voiceOverFallback=""),1e3)))}handleClick(i){this.click&&this.click.emit(i)}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}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)}getOptionLabel(i){var t,s;return null!==(t=i.label)&&void 0!==t?t:null===(s=i.value)||void 0===s?void 0:s.toString()}shouldShowEmptyOption(){return!("floating"!==this.variant&&!this.placeholder)&&(void 0!==this.showEmptyOption?this.showEmptyOption:!this.required)}resetIds(){var i,t,s;const h=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:`select-${p()}`;this._id=h,this._messageId=h+l,this._validMessageId=h+e,this._invalidMessageId=h+o,this._placeholderId=h+n}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&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),d=i.getAttribute("class");i.setAttribute(a.name,`${d?`${d} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||d}watch1(){this.watch1Fn()}watch2Fn(){if(this._id&&this.initialized){const i=this._id+l,t=this._id+n;this._messageId=i,this._validMessageId=this._id+e,this._invalidMessageId=this._id+o,this._placeholderId=t,this._descByIds=f(this.message,this.showMessage)?i:this.placeholder?t:void 0,this.handleValidation(),this.initialized=!1}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),g(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-select"),this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||d,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,t,a,d,l,e;return s("div",{key:"3dd83828aaa06217389cf635687da0070ae88f56",class:y("db-select",this.className),"data-variant":this.variant,"data-hide-label":w(this.showLabel),"data-hide-asterisk":w(this.showRequiredAsterisk),"data-icon":this.icon,"data-show-icon":m(this.showIcon)},s("label",{key:"8fe580a4172003361a5c16551c4965882dbb3ce0",htmlFor:this._id},null!==(i=this.label)&&void 0!==i?i:r),s("select",{key:"2f0ba052dafae5d44c27442eb4c27fa117c6ba76","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},required:b(this.required,"required"),disabled:b(this.disabled,"disabled"),id:this._id,name:this.name,size:this.size,value:null!==(a=null!==(t=this.value)&&void 0!==t?t:this._value)&&void 0!==a?a:void 0,autocomplete:this.autocomplete,multiple:this.multiple,onInput:i=>this.handleInput(i),onClick:i=>this.handleClick(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(d=this.ariaDescribedBy)&&void 0!==d?d:this._descByIds},"floating"===this.variant||this.placeholder?s("option",{class:"placeholder",value:"","data-show-empty-option":m(this.shouldShowEmptyOption())}):null,(null===(l=this.options)||void 0===l?void 0:l.length)?null===(e=this.options)||void 0===e?void 0:e.map((i=>{var t;return s(h,null,i.options?s("optgroup",{label:this.getOptionLabel(i),key:void 0},null===(t=i.options)||void 0===t?void 0:t.map((i=>s("option",{value:i.value,selected:i.selected,disabled:i.disabled,key:void 0},this.getOptionLabel(i))))):s("option",{value:i.value,disabled:i.disabled,selected:i.selected,key:void 0},this.getOptionLabel(i)))})):s("slot",null)),this.placeholder?s("span",{class:"db-select-placeholder",id:this._placeholderId},this.placeholder):null,f(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:"34ca1d025c67dc018375d56651a7f0ae1d2e245f",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"6f64314bcf457ddd86b3695e314125cca14d10d1","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return a(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch2:0}],value:[{watch3:0}]}}};export{k as db_select}
1
+ import{r as i,c as t,h as s,F as h,g as a}from"./p-BGaQ0Bx8.js";import{l as d,f as l,g as e,h as o,i as n,k as c,a as r}from"./p-BdL-nI5y.js";import{h as v,d as u,s as f,u as p,e as b,g as m,l as w,c as y}from"./p-xkoBSP8R.js";import{c as k}from"./p-D5mInaY7.js";const g=class{constructor(s){i(this,s),this.click=t(this,"click"),this.input=t(this,"input"),this.change=t(this,"change"),this.blur=t(this,"blur"),this.focus=t(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._placeholderId="",this._descByIds=void 0,this._value="",this.initialized=!1,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,h;(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,v()&&(this._voiceOverFallback=null!==(h=this.validMessage)&&void 0!==h?h:c,u((()=>this._voiceOverFallback=""),1e3))):this._descByIds=f(this.message,this.showMessage)?this._messageId:this.placeholder?this._placeholderId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||d,v()&&(this._voiceOverFallback=this._invalidMessage,u((()=>this._voiceOverFallback=""),1e3)))}handleClick(i){this.click&&this.click.emit(i)}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}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)}getOptionLabel(i){var t,s;return null!==(t=i.label)&&void 0!==t?t:null===(s=i.value)||void 0===s?void 0:s.toString()}shouldShowEmptyOption(){return!("floating"!==this.variant&&!this.placeholder)&&(void 0!==this.showEmptyOption?this.showEmptyOption:!this.required)}resetIds(){var i,t,s;const h=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:`select-${p()}`;this._id=h,this._messageId=h+l,this._validMessageId=h+e,this._invalidMessageId=h+o,this._placeholderId=h+n}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&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const t=a.value.includes("hydrated"),h=a.value.replace("hydrated","").trim(),d=i.getAttribute("class");i.setAttribute(a.name,`${d?`${d} `:""}${h}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||d}watch1(){this.watch1Fn()}watch2Fn(){if(this._id&&this.initialized){const i=this._id+l,t=this._id+n;this._messageId=i,this._validMessageId=this._id+e,this._invalidMessageId=this._id+o,this._placeholderId=t,this._descByIds=f(this.message,this.showMessage)?i:this.placeholder?t:void 0,this.handleValidation(),this.initialized=!1}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),k(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-select"),this.initialized=!0,this.resetIds(),this._invalidMessage=this.invalidMessage||d,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,t,a,d,l,e;return s("div",{key:"3dd83828aaa06217389cf635687da0070ae88f56",class:y("db-select",this.className),"data-variant":this.variant,"data-hide-label":w(this.showLabel),"data-hide-asterisk":w(this.showRequiredAsterisk),"data-icon":this.icon,"data-show-icon":m(this.showIcon)},s("label",{key:"8fe580a4172003361a5c16551c4965882dbb3ce0",htmlFor:this._id},null!==(i=this.label)&&void 0!==i?i:r),s("select",{key:"2f0ba052dafae5d44c27442eb4c27fa117c6ba76","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,ref:i=>{this._ref=i},required:b(this.required,"required"),disabled:b(this.disabled,"disabled"),id:this._id,name:this.name,size:this.size,value:null!==(a=null!==(t=this.value)&&void 0!==t?t:this._value)&&void 0!==a?a:void 0,autocomplete:this.autocomplete,multiple:this.multiple,onInput:i=>this.handleInput(i),onClick:i=>this.handleClick(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),"aria-describedby":null!==(d=this.ariaDescribedBy)&&void 0!==d?d:this._descByIds},"floating"===this.variant||this.placeholder?s("option",{class:"placeholder",value:"","data-show-empty-option":m(this.shouldShowEmptyOption())}):null,(null===(l=this.options)||void 0===l?void 0:l.length)?null===(e=this.options)||void 0===e?void 0:e.map((i=>{var t;return s(h,null,i.options?s("optgroup",{label:this.getOptionLabel(i),key:void 0},null===(t=i.options)||void 0===t?void 0:t.map((i=>s("option",{value:i.value,selected:i.selected,disabled:i.disabled,key:void 0},this.getOptionLabel(i))))):s("option",{value:i.value,disabled:i.disabled,selected:i.selected,key:void 0},this.getOptionLabel(i)))})):s("slot",null)),this.placeholder?s("span",{class:"db-select-placeholder",id:this._placeholderId},this.placeholder):null,f(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:"34ca1d025c67dc018375d56651a7f0ae1d2e245f",size:"small",semantic:"critical",id:this._invalidMessageId},this._invalidMessage),s("span",{key:"6f64314bcf457ddd86b3695e314125cca14d10d1","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return a(this)}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],initialized:[{watch2:0}],value:[{watch3:0}]}}};export{g as db_select}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,g as a}from"./p-Cr2cgn5B.js";import{s as e}from"./p-BdL-nI5y.js";import{o as d,d as h,g as c,c as o,e as n}from"./p-xkoBSP8R.js";const r=class{constructor(i){t(this,i),this.close=s(this,"close"),this.initialized=!1}handleClose(t,s){var i;t&&(d(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(i=t.target)||void 0===i?void 0:i.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=n(this.open,"open");t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),h((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),h((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,a;return i("dialog",{key:"a09369527805c993297bc3d27cf1f03c5e06f232",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},i("article",{key:"cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac",class:o("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":c(this.rounded)},i("header",{key:"20a175ba0707e3cc207e1e57dd925b8234b86877",class:"db-drawer-header"},i("div",{key:"d317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa",class:"db-drawer-header-text"},i("slot",{key:"1456a65346ebd9d52dafe48022cc0b343216cc09",name:"drawerHeader"})),i("db-button",{key:"6741766807bb56a24ed7bb385240093a3a1e5f7f",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(a=this.closeButtonText)&&void 0!==a?a:e)),i("div",{key:"dea536d8bd27dccdb7edd476defc68beed65254f",class:"db-drawer-content"},i("slot",{key:"bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b"}))))}get rootElement(){return a(this)}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}};export{r as db_drawer}
1
+ import{r as t,c as s,h as i,g as a}from"./p-BGaQ0Bx8.js";import{s as e}from"./p-BdL-nI5y.js";import{o as d,d as h,g as c,c as o,e as n}from"./p-xkoBSP8R.js";const r=class{constructor(i){t(this,i),this.close=s(this,"close"),this.initialized=!1}handleClose(t,s){var i;t&&(d(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(i=t.target)||void 0===i?void 0:i.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=n(this.open,"open");t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),h((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),h((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-drawer"),this.handleDialogOpen(),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t,s,a;return i("dialog",{key:"a09369527805c993297bc3d27cf1f03c5e06f232",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},i("article",{key:"cb35fccd92fcf6bab4d6027c29fc2ba0bb25e9ac",class:o("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":c(this.rounded)},i("header",{key:"20a175ba0707e3cc207e1e57dd925b8234b86877",class:"db-drawer-header"},i("div",{key:"d317b29ff0d704aa50b3fbd0a8c86b94f7ab1dfa",class:"db-drawer-header-text"},i("slot",{key:"1456a65346ebd9d52dafe48022cc0b343216cc09",name:"drawerHeader"})),i("db-button",{key:"6741766807bb56a24ed7bb385240093a3a1e5f7f",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(a=this.closeButtonText)&&void 0!==a?a:e)),i("div",{key:"dea536d8bd27dccdb7edd476defc68beed65254f",class:"db-drawer-content"},i("slot",{key:"bcb4ed27199eb79f9d6c13da82d7be87d2f5e54b"}))))}get rootElement(){return a(this)}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}};export{r as db_drawer}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,g as a}from"./p-BGaQ0Bx8.js";import{c as e}from"./p-xkoBSP8R.js";const i=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 e=0;e<s.length;e++){const i=s.item(e);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),a.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),e=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${e}`),s?a.setAttribute("class","hydrated"):a.removeAttribute(i.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-navigation")}render(){var t,a;return s("nav",{key:"33d5425a509a5d224245fcde89b66bb129d3fb57",class:e("db-navigation",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(a=this.propOverrides)||void 0===a?void 0:a.id},s("menu",{key:"796fbbd89657a52bbd7e932efe96ff62726bf5ea"},s("slot",{key:"df8847f6522250c540acc1154201d1c6bfbbce07"})))}get rootElement(){return a(this)}};export{i as db_navigation}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { e as getBoolean, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBAccordionItem = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { u as uuid, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBAccordion = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { q as DEFAULT_ICON } from './constants-BdL-nI5y.js';
3
3
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBButton = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBCard = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { a as addCheckedResetEventListener } from './form-components-D6LQfJvq.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBCustomButton = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement, c as createEvent } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement, c as createEvent } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls, e as getBoolean, g as getBooleanAsString, h as hasVoiceOver, d as delay, s as stringPropVisible, i as isArrayOfStrings, u as uuid, k as getInputValue, f as getNumber, j as getStep, b as isIOSSafari, l as getHideProp } from './index-xkoBSP8R.js';
3
3
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, j as DEFAULT_DATALIST_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, a as DEFAULT_LABEL, m as DEFAULT_REMOVE } from './constants-BdL-nI5y.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBCustomSelectFormField = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, e as DEFAULT_SELECT_ID_SUFFIX, d as DEFAULT_LABEL_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, o as DEFAULT_SELECTED, k as DEFAULT_VALID_MESSAGE, c as DEFAULT_MESSAGE, s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, g as getBooleanAsString, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentClickListener } from './document-click-listener-D7W_VE5O.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBDivider = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls, e as getBoolean } from './index-xkoBSP8R.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
3
3
  import { a as addAttributeToChildren, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
4
4
  import { i as isEventTargetNavigationItem } from './navigation-Jh6m0eMk.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBIcon = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBInfotext = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBLink = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, e as getBoolean, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { N as NavigationItemSafeTriangle } from './navigation-Jh6m0eMk.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBNavigation = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
3
3
  import { e as getBoolean, s as stringPropVisible, g as getBooleanAsString, p as getNotificationRole, c as cls } from './index-xkoBSP8R.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls, g as getBooleanAsString } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBPage = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
4
4
  import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { u as uuid, e as getBoolean, l as getHideProp, c as cls, d as delay } from './index-xkoBSP8R.js';
3
3
  import { b as addResetEventListener } from './form-components-D6LQfJvq.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBSection = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, g as getBooleanAsString, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBStack = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, l as getHideProp, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { a as addCheckedResetEventListener } from './form-components-D6LQfJvq.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBTabItem = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { u as uuid, c as cls } from './index-xkoBSP8R.js';
3
3
 
4
4
  const DBTabs = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, r as DEFAULT_ROWS, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
3
3
  import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, f as getNumber, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
4
4
  import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-Cr2cgn5B.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-BGaQ0Bx8.js';
2
2
  import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
3
3
  import { d as delay, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
4
4
  import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
package/dist/esm/db-ux.js CHANGED
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-Cr2cgn5B.js';
2
- export { s as setNonce } from './index-Cr2cgn5B.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-BGaQ0Bx8.js';
2
+ export { s as setNonce } from './index-BGaQ0Bx8.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -2,7 +2,7 @@ const NAMESPACE = 'db-ux';
2
2
  const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
 
8
8
 
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-Cr2cgn5B.js';
2
- export { s as setNonce } from './index-Cr2cgn5B.js';
1
+ import { b as bootstrapLazy } from './index-BGaQ0Bx8.js';
2
+ export { s as setNonce } from './index-BGaQ0Bx8.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1070,6 +1070,7 @@ export declare namespace JSXBase {
1070
1070
  importance?: 'low' | 'auto' | 'high';
1071
1071
  height?: number | string;
1072
1072
  loading?: 'lazy' | 'auto' | 'eager';
1073
+ referrerPolicy?: ReferrerPolicy;
1073
1074
  sizes?: string;
1074
1075
  src?: string;
1075
1076
  srcSet?: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@db-ux/wc-core-components",
4
- "version": "4.10.1",
4
+ "version": "4.10.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@db-ux/wc-core-components",
3
- "version": "4.10.1",
3
+ "version": "4.10.2",
4
4
  "type": "module",
5
5
  "description": "Stencil components for @db-ux/core-components",
6
6
  "repository": {
@@ -31,19 +31,19 @@
31
31
  "dist/"
32
32
  ],
33
33
  "dependencies": {
34
- "@db-ux/core-components": "4.10.1",
35
- "@db-ux/core-foundations": "4.10.1"
34
+ "@db-ux/core-components": "4.10.2",
35
+ "@db-ux/core-foundations": "4.10.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.11.0",
39
- "@stencil/core": "4.43.4",
39
+ "@stencil/core": "4.43.5",
40
40
  "@types/node": "25.9.1",
41
41
  "cem-plugin-expanded-types": "1.4.0",
42
42
  "cpr": "3.0.1",
43
43
  "custom-element-jet-brains-integration": "1.7.0",
44
44
  "custom-element-vs-code-integration": "1.5.0",
45
45
  "npm-run-all2": "9.0.1",
46
- "storybook": "10.4.1",
46
+ "storybook": "10.4.2",
47
47
  "workbox-build": "7.4.1"
48
48
  },
49
49
  "publishConfig": {
@@ -1 +0,0 @@
1
- import{f as t}from"./p-CCbaTFJ9.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,a,b,s)=>{e(c,(e=>{t((()=>{const t=a.checked?a.checked:a.defaultChecked?a.defaultChecked:c.checked,s=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});b(s)}),1)}),s)},a=(c,a,b,s)=>{e(c,(e=>{t((()=>{const t=a.value?a.value:a.defaultValue?a.defaultValue:c.value,s=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});b(s)}),1)}),s)};export{c as a,e as b,a as c}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as e}from"./p-Cr2cgn5B.js";import{c as a}from"./p-xkoBSP8R.js";const i=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let a=0;a<s.length;a++){const i=s.item(a);if(i&&"data-density"!==i.name&&(i.name.startsWith("data-")||i.name.startsWith("aria-")))t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"data-density"!==i.name&&"class"!==i.name&&"style"===i.name)t.setAttribute(i.name,i.value),e.removeAttribute(i.name);else if(i&&"class"===i.name){const s=i.value.includes("hydrated"),a=i.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(i.name,`${d?`${d} `:""}${a}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(i.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-navigation")}render(){var t,e;return s("nav",{key:"33d5425a509a5d224245fcde89b66bb129d3fb57",class:a("db-navigation",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id},s("menu",{key:"796fbbd89657a52bbd7e932efe96ff62726bf5ea"},s("slot",{key:"df8847f6522250c540acc1154201d1c6bfbbce07"})))}get rootElement(){return e(this)}};export{i as db_navigation}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,g as i}from"./p-Cr2cgn5B.js";import{c as a}from"./p-xkoBSP8R.js";const d=class{constructor(e){t(this,e),this.click=s(this,"click")}handleClick(t){this.click&&this.click.emit(t)}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"data-density"!==a.name&&"class"!==a.name&&"style"===a.name)t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d?`${d} `:""}${i}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-card")}render(){var t,s;return e("div",{key:"60e504447aed35763e41cf692507e28c4da6e893",class:a("db-card",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:t=>this.handleClick(t)},e("slot",{key:"92301dedc9ece7f5b2bcbd5da726d402af788b31"}))}get rootElement(){return i(this)}};export{d as db_card}
@@ -1 +0,0 @@
1
- import{r as i,c as t,h as s,F as a,g as n}from"./p-Cr2cgn5B.js";import{n as h}from"./p-BdL-nI5y.js";import{d as o,e as d,u as e,g as l,c as r}from"./p-xkoBSP8R.js";import{N as c}from"./p-BuBrj57D.js";import"./p-DOPXnIzL.js";const v=class{constructor(s){i(this,s),this.click=t(this,"click"),this.initialized=!1,this.hasAreaPopup=!1,this.hasSubNavigation=!0,this.isSubNavigationExpanded=!1,this.autoClose=!1,this.navigationItemSafeTriangle=void 0,this.subNavigationId=void 0,this.subNavigationToggleId=void 0}handleNavigationItemClick(i){var t;"A"===(null===(t=null==i?void 0:i.target)||void 0===t?void 0:t.nodeName)&&(this.autoClose=!0,o((()=>{this.autoClose=!1}),1e3))}handleClick(i){this.click&&(i.stopPropagation(),this.click.emit(i)),this.hasAreaPopup&&(this.isSubNavigationExpanded=!0)}handleBackClick(i){i.stopPropagation(),this.isSubNavigationExpanded=!1}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let a=0;a<t.length;a++){const n=t.item(a);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))i.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"data-density"!==n.name&&"class"!==n.name&&"style"===n.name)i.setAttribute(n.name,n.value),s.removeAttribute(n.name);else if(n&&"class"===n.name){const t=n.value.includes("hydrated"),a=n.value.replace("hydrated","").trim(),h=i.getAttribute("class");i.setAttribute(n.name,`${h?`${h} `:""}${a}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(n.name)}}}}watch0Fn(){void 0!==this.subNavigationExpanded&&(this.isSubNavigationExpanded=!!d(this.subNavigationExpanded,"subNavigationExpanded"))}watch0(){this.watch0Fn()}watch1Fn(){var i;if(this.initialized&&this._ref){const t=this._ref.querySelector("menu");t&&((null===(i=t.children)||void 0===i?void 0:i.length)>0?(this.hasAreaPopup=!0,this.navigationItemSafeTriangle||(this.navigationItemSafeTriangle=new c(this._ref,t))):this.hasSubNavigation=!1)}}watch1(){this.watch1Fn()}componentDidLoad(){var i;if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-navigation-item"),this.initialized=!0;const t=`sub-nav-${null!==(i=this.id)&&void 0!==i?i:e()}`;this.subNavigationId=t,this.subNavigationToggleId=`${t}-toggle`,this.watch0Fn(),this.watch1Fn()}render(){var i,t,n;return s("li",{key:"555c0472fdd1d6888dc4a0b699fc85bb21e73199",class:r("db-navigation-item",this.className),ref:i=>{this._ref=i},id:null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id,onMouseOver:()=>{var i;return null===(i=this.navigationItemSafeTriangle)||void 0===i?void 0:i.enableFollow()},onMouseLeave:()=>{var i;return null===(i=this.navigationItemSafeTriangle)||void 0===i?void 0:i.disableFollow()},onMouseMove:i=>{var t;return null===(t=this.navigationItemSafeTriangle)||void 0===t?void 0:t.followByMouseEvent(i)},"data-width":this.width,"data-icon":this.icon,"data-show-icon":l(this.showIcon),"data-active":this.active,"data-wrap":l(this.wrap),"aria-disabled":l(this.disabled)},!d(this.hideSubNavigation,"hideSubNavigation")&&this.hasSubNavigation?s(a,null,s("button",{class:"db-navigation-item-expand-button",id:this.subNavigationToggleId,"aria-haspopup":this.hasAreaPopup?"true":void 0,"aria-expanded":this.isSubNavigationExpanded,"aria-controls":this.subNavigationId,disabled:d(this.disabled,"disabled"),onClick:i=>this.handleClick(i)},this.text?this.text:s("slot",{name:"expandButton"})),s("menu",{class:"db-sub-navigation",id:this.subNavigationId,"aria-labelledby":this.subNavigationToggleId,"data-force-close":this.autoClose,onClick:i=>this.handleNavigationItemClick(i)},this.hasAreaPopup?s("div",{class:"db-mobile-navigation-back"},s("db-button",{icon:"arrow_left",variant:"ghost",id:this.backButtonId,onClick:i=>this.handleBackClick(i)},null!==(n=this.backButtonText)&&void 0!==n?n:h)):null,s("slot",{name:"subNavigation"}))):this.text?this.text:s("slot",null))}get rootElement(){return n(this)}static get watchers(){return{subNavigationExpanded:[{watch0:0}],initialized:[{watch1:0}],_ref:[{watch1:0}]}}};export{v as db_navigation_item}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as a}from"./p-Cr2cgn5B.js";import{s as e}from"./p-BdL-nI5y.js";import{e as d,s as n,g as o,p as c,c as h}from"./p-xkoBSP8R.js";const l=class{constructor(i){t(this,i),this.close=s(this,"close")}handleClose(t){t&&(t.stopPropagation(),this.close&&this.close.emit(t))}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"data-density"!==e.name&&"class"!==e.name&&"style"===e.name)t.setAttribute(e.name,e.value),i.removeAttribute(e.name);else if(e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(e.name,`${d?`${d} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-notification")}render(){var t,s,a;return i("div",{key:"80b4682644b5cae7f09842e8683a9445f782055b",class:h("db-notification",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,role:c({semantic:this.semantic,role:this.role,ariaLive:this.ariaLive}),"aria-live":this.ariaLive,"data-semantic":this.semantic,"data-variant":this.variant,"data-icon":!1!==d(this.showIcon)?this.icon:void 0,"data-show-icon":o(this.showIcon),"data-link-variant":this.linkVariant},i("slot",{key:"4fc52fd9fff6357307c4bdc102c03082688b44cf",name:"image"}),n(this.headline,this.showHeadline)?i("header",{"data-area":"head"},this.headline):null,i("div",{key:"6d61a4b4966795950a3da5dba130734bd0bbb2d9","data-area":"content"},this.text?this.text:null,i("slot",{key:"f4ca4c620e00a203da07c3d0ce2974ade705f489"})),n(this.timestamp,this.showTimestamp)?i("time",{"data-area":"timestamp",dateTime:this.timestampDatetime},this.timestamp):null,i("slot",{key:"e1509dd146ff4288f96062e6286b47b495b388dc",name:"link"}),d(this.closeable,"closeable")?i("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t)},null!==(a=this.closeButtonText)&&void 0!==a?a:e):null)}get rootElement(){return a(this)}};export{l as db_notification}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as e}from"./p-Cr2cgn5B.js";import{c as d}from"./p-xkoBSP8R.js";const c=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let d=0;d<s.length;d++){const c=s.item(d);if(c&&"data-density"!==c.name&&(c.name.startsWith("data-")||c.name.startsWith("aria-")))t.setAttribute(c.name,c.value),e.removeAttribute(c.name);else if(c&&"data-density"!==c.name&&"class"!==c.name&&"style"===c.name)t.setAttribute(c.name,c.value),e.removeAttribute(c.name);else if(c&&"class"===c.name){const s=c.value.includes("hydrated"),d=c.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(c.name,`${o?`${o} `:""}${d}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(c.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){var t,e;return s("summary",{key:"e438005a75d6d93c62b6e04bce4f99cee7f73619",class:d("db-custom-select-form-field",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id},s("slot",{key:"1dc82e35d01ac41cde18cb033d657ec7f53886b8"}))}get rootElement(){return e(this)}};export{c as db_custom_select_form_field}
File without changes
File without changes