@brandsync/wc 1.15.0 → 1.16.0

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 (130) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/REFERENCE.md +82 -0
  3. package/custom-elements.json +1293 -443
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/{p-87d44938.entry.js → p-0159f0da.entry.js} +1 -1
  6. package/dist/brandsync-wc/p-0228a584.entry.js +1 -0
  7. package/dist/brandsync-wc/{p-6df48031.entry.js → p-15f4c343.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-3c21d0bf.entry.js → p-298158da.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-1b4c0971.entry.js → p-38fe9d07.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-bc97ece8.entry.js → p-42b79d95.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-b9c0b481.entry.js → p-521d0fc2.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-1bf8fbbb.entry.js → p-67629178.entry.js} +1 -1
  13. package/dist/brandsync-wc/{p-e294f698.entry.js → p-76748795.entry.js} +1 -1
  14. package/dist/brandsync-wc/p-7dc59e0b.entry.js +1 -0
  15. package/dist/brandsync-wc/p-949a4270.entry.js +1 -0
  16. package/dist/brandsync-wc/{p-7a072e64.entry.js → p-a12691d8.entry.js} +1 -1
  17. package/dist/brandsync-wc/{p-ac9472ec.entry.js → p-cc4c8c1d.entry.js} +1 -1
  18. package/dist/brandsync-wc/p-e9afb553.entry.js +1 -0
  19. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  20. package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
  21. package/dist/cjs/bs-input_3.cjs.entry.js +2 -2
  22. package/dist/cjs/bs-list-item.cjs.entry.js +66 -0
  23. package/dist/cjs/bs-list.cjs.entry.js +103 -0
  24. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  25. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  26. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  27. package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
  28. package/dist/cjs/bs-radio.cjs.entry.js +1 -1
  29. package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
  30. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  31. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  32. package/dist/cjs/bs-tree-item.cjs.entry.js +94 -0
  33. package/dist/cjs/bs-tree.cjs.entry.js +197 -0
  34. package/dist/cjs/loader.cjs.js +1 -1
  35. package/dist/collection/collection-manifest.json +4 -0
  36. package/dist/collection/components/bs-list/bs-list.cmp.test.js +99 -0
  37. package/dist/collection/components/bs-list/bs-list.css +15 -0
  38. package/dist/collection/components/bs-list/bs-list.js +241 -0
  39. package/dist/collection/components/bs-list/bs-list.stories.js +43 -0
  40. package/dist/collection/components/bs-list-item/bs-list-item.cmp.test.js +137 -0
  41. package/dist/collection/components/bs-list-item/bs-list-item.css +139 -0
  42. package/dist/collection/components/bs-list-item/bs-list-item.js +343 -0
  43. package/dist/collection/components/bs-list-item/bs-list-item.stories.js +86 -0
  44. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  45. package/dist/collection/components/bs-menu-item/bs-menu-item.cmp.test.js +6 -0
  46. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  47. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  48. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  49. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  50. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  51. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  52. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  53. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  54. package/dist/collection/components/bs-tree/bs-tree.cmp.test.js +166 -0
  55. package/dist/collection/components/bs-tree/bs-tree.css +8 -0
  56. package/dist/collection/components/bs-tree/bs-tree.js +354 -0
  57. package/dist/collection/components/bs-tree/bs-tree.stories.js +34 -0
  58. package/dist/collection/components/bs-tree-item/bs-tree-item.cmp.test.js +187 -0
  59. package/dist/collection/components/bs-tree-item/bs-tree-item.css +161 -0
  60. package/dist/collection/components/bs-tree-item/bs-tree-item.js +305 -0
  61. package/dist/collection/components/bs-tree-item/bs-tree-item.stories.js +54 -0
  62. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  63. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  64. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  65. package/dist/components/bs-carousel.js +1 -1
  66. package/dist/components/bs-chatbot-header.js +1 -1
  67. package/dist/components/bs-citation-preview.js +1 -1
  68. package/dist/components/bs-datepicker.js +1 -1
  69. package/dist/components/bs-inline-tab.js +1 -1
  70. package/dist/components/bs-input.js +1 -1
  71. package/dist/components/bs-list-item.d.ts +11 -0
  72. package/dist/components/bs-list-item.js +1 -0
  73. package/dist/components/bs-list.d.ts +11 -0
  74. package/dist/components/bs-list.js +1 -0
  75. package/dist/components/bs-menu-item.js +1 -1
  76. package/dist/components/bs-menu.js +1 -1
  77. package/dist/components/bs-message-list.js +1 -1
  78. package/dist/components/bs-navigation-drawer-item.js +1 -1
  79. package/dist/components/bs-navigation-drawer.js +1 -1
  80. package/dist/components/bs-pagination.js +1 -1
  81. package/dist/components/bs-radio.js +1 -1
  82. package/dist/components/bs-session-timeout.js +1 -1
  83. package/dist/components/bs-source-link.js +1 -1
  84. package/dist/components/bs-stepper.js +1 -1
  85. package/dist/components/bs-timepicker.js +1 -1
  86. package/dist/components/bs-tooltip-trigger.js +1 -1
  87. package/dist/components/bs-tooltip.js +1 -1
  88. package/dist/components/bs-tree-item.d.ts +11 -0
  89. package/dist/components/bs-tree-item.js +1 -0
  90. package/dist/components/bs-tree.d.ts +11 -0
  91. package/dist/components/bs-tree.js +1 -0
  92. package/dist/components/p-BaJEv6rL.js +1 -0
  93. package/dist/components/{p-BvYkZcOU.js → p-Bb1-2M8K.js} +1 -1
  94. package/dist/components/{p-Bqe4waKJ.js → p-BdkE4auv.js} +1 -1
  95. package/dist/components/{p-ElcsxZSh.js → p-C93ymWm7.js} +1 -1
  96. package/dist/components/{p-ByKcHsj0.js → p-DFKc3lLA.js} +1 -1
  97. package/dist/components/{p-B3l4WpgS.js → p-J9cxcDhY.js} +1 -1
  98. package/dist/esm/brandsync-wc.js +1 -1
  99. package/dist/esm/bs-inline-tab.entry.js +1 -1
  100. package/dist/esm/bs-input_3.entry.js +2 -2
  101. package/dist/esm/bs-list-item.entry.js +64 -0
  102. package/dist/esm/bs-list.entry.js +101 -0
  103. package/dist/esm/bs-message-list.entry.js +1 -1
  104. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  105. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  106. package/dist/esm/bs-pagination.entry.js +1 -1
  107. package/dist/esm/bs-radio.entry.js +1 -1
  108. package/dist/esm/bs-source-link.entry.js +2 -2
  109. package/dist/esm/bs-stepper.entry.js +1 -1
  110. package/dist/esm/bs-tooltip.entry.js +1 -1
  111. package/dist/esm/bs-tree-item.entry.js +92 -0
  112. package/dist/esm/bs-tree.entry.js +195 -0
  113. package/dist/esm/loader.js +1 -1
  114. package/dist/types/components/bs-list/bs-list.cmp.test.d.ts +1 -0
  115. package/dist/types/components/bs-list/bs-list.d.ts +42 -0
  116. package/dist/types/components/bs-list/bs-list.stories.d.ts +13 -0
  117. package/dist/types/components/bs-list-item/bs-list-item.cmp.test.d.ts +1 -0
  118. package/dist/types/components/bs-list-item/bs-list-item.d.ts +85 -0
  119. package/dist/types/components/bs-list-item/bs-list-item.stories.d.ts +22 -0
  120. package/dist/types/components/bs-tree/bs-tree.cmp.test.d.ts +1 -0
  121. package/dist/types/components/bs-tree/bs-tree.d.ts +53 -0
  122. package/dist/types/components/bs-tree/bs-tree.stories.d.ts +11 -0
  123. package/dist/types/components/bs-tree-item/bs-tree-item.cmp.test.d.ts +1 -0
  124. package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +60 -0
  125. package/dist/types/components/bs-tree-item/bs-tree-item.stories.d.ts +19 -0
  126. package/dist/types/components.d.ts +675 -0
  127. package/package.json +1 -1
  128. package/reference.d.ts +12 -0
  129. package/reference.json +250 -0
  130. package/dist/components/p-Mf1jorXP.js +0 -1
@@ -1 +1 @@
1
- import{r as i,c as t,a as e,h as s}from"./p-D3SkQJpw.js";const n=class{constructor(e){i(this,e),this.bsInput=t(this,"bsInput"),this.bsChange=t(this,"bsChange"),this.bsOpen=t(this,"bsOpen"),this.bsChipAdd=t(this,"bsChipAdd"),this.bsChipRemove=t(this,"bsChipRemove"),this.bsTitleChange=t(this,"bsTitleChange"),this.bsCountryChange=t(this,"bsCountryChange"),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals)}get el(){return e(this)}internals;initialValue="";name;value="";showPasswordLabel="Show password";hidePasswordLabel="Hide password";incrementLabel="Increment";decrementLabel="Decrement";type="text";label;placeholder;description;error;disabled=!1;required=!1;step=1;min;max;options=[];rows=3;chips=[];titleOptions=[];initialsTitle="";countryOptions=[];country="";length=4;open=!1;bsInput;bsChange;bsOpen;bsChipAdd;bsChipRemove;bsTitleChange;bsCountryChange;hasIcon=!1;hasEndIcon=!1;passwordVisible=!1;chipDraft="";pinInputs=[];componentWillLoad(){this.initialValue=this.value,this.syncFormValue(),this.hasIcon=this.hasSlottedContent("icon"),this.hasEndIcon=this.hasSlottedContent("end-icon")}onFormStateChange(){this.syncFormValue()}syncFormValue(){if(this.internals?.setFormValue){if("chip"===this.type&&this.name){const i=new FormData;this.chips.forEach((t=>i.append(this.name,t))),this.internals.setFormValue(i)}else this.internals.setFormValue(this.value??"");this.required&&("chip"===this.type?0===this.chips.length:!this.value)?this.internals.setValidity({valueMissing:!0},"Please fill out this field."):this.internals.setValidity({})}}formResetCallback(){this.value=this.initialValue}formStateRestoreCallback(i){"string"==typeof i&&(this.value=i)}hasSlottedContent(i){return Array.from(this.el.childNodes).some((t=>t.nodeType===Node.ELEMENT_NODE&&t.getAttribute("slot")===i))}onIconSlotchange=i=>{this.hasIcon=i.target.assignedNodes().length>0};onEndIconSlotchange=i=>{this.hasEndIcon=i.target.assignedNodes().length>0};onInput=i=>{const t=i.target.value;this.value=t,this.bsInput.emit(t)};onChange=i=>{const t=i.target.value;this.value=t,this.bsChange.emit(t)};clampNumber(i){return void 0!==this.min&&i<this.min&&(i=this.min),void 0!==this.max&&i>this.max&&(i=this.max),i}onStepperIncrement=()=>{if(this.disabled)return;const i=this.clampNumber((parseFloat(this.value)||0)+this.step);this.value=String(i),this.bsChange.emit(this.value)};onStepperDecrement=()=>{if(this.disabled)return;const i=this.clampNumber((parseFloat(this.value)||0)-this.step);this.value=String(i),this.bsChange.emit(this.value)};onTogglePasswordVisibility=()=>{this.passwordVisible=!this.passwordVisible};onDropdownToggle=()=>{this.disabled||(this.open=!this.open,this.bsOpen.emit(this.open))};onDropdownKeydown=i=>{"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),this.onDropdownToggle())};onDropdownOptionSelect=i=>()=>{this.value=i.label,this.open=!1,this.bsChange.emit(this.value)};onHostKeydown(i){"dropdown"===this.type&&this.open&&"Escape"===i.key&&(this.open=!1)}onHostFocusOut(i){if("dropdown"!==this.type||!this.open)return;const t=i.relatedTarget;t&&this.el.contains(t)||(this.open=!1)}onChipDraftInput=i=>{this.chipDraft=i.target.value};onChipDraftKeydown=i=>{if("Enter"===i.key){i.preventDefault();const t=this.chipDraft.trim();t&&(this.bsChipAdd.emit(t),this.chipDraft="")}};onChipRemove=i=>()=>{this.bsChipRemove.emit(i)};onTitleChange=i=>{this.bsTitleChange.emit(i.target.value)};onCountryChange=i=>{this.bsCountryChange.emit(i.target.value)};onPinInput=i=>t=>{const e=t.target;let s=e.value;s.length>1&&(s=s.slice(-1),e.value=s),s&&i<this.length-1&&this.pinInputs[i+1]?.focus(),this.value=this.pinInputs.map((i=>i?.value??"")).join(""),this.bsChange.emit(this.value)};onPinKeydown=i=>t=>{"Backspace"===t.key&&!t.target.value&&i>0&&this.pinInputs[i-1]?.focus()};get showsEndIconArea(){return"number"===this.type||"password"===this.type||"dropdown"===this.type||"date"===this.type||this.hasEndIcon}get showsIconArea(){return"search"===this.type&&!this.hasIcon||this.hasIcon}renderIconContent(){return"search"!==this.type||this.hasIcon?s("slot",{name:"icon",onSlotchange:this.onIconSlotchange}):s("svg",{class:"bs-input__search-icon",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("circle",{cx:"7",cy:"7",r:"5",stroke:"currentColor","stroke-width":"1.3"}),s("path",{d:"M11 11L14.5 14.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round"}))}renderEndIconContent(){return"number"===this.type?s("span",{class:"bs-input__stepper"},s("button",{type:"button",part:"control",class:"bs-input__stepper-btn","aria-label":this.incrementLabel,tabIndex:-1,disabled:this.disabled,onClick:this.onStepperIncrement},s("svg",{viewBox:"0 0 10 6",width:"10",height:"6","aria-hidden":"true"},s("path",{d:"M1 5L5 1L9 5",stroke:"currentColor","stroke-width":"1.3",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"}))),s("button",{type:"button",part:"control",class:"bs-input__stepper-btn","aria-label":this.decrementLabel,tabIndex:-1,disabled:this.disabled,onClick:this.onStepperDecrement},s("svg",{viewBox:"0 0 10 6",width:"10",height:"6","aria-hidden":"true"},s("path",{d:"M1 1L5 5L9 1",stroke:"currentColor","stroke-width":"1.3",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"})))):"password"===this.type?s("button",{type:"button",part:"control",class:"bs-input__password-toggle","aria-label":this.passwordVisible?this.hidePasswordLabel:this.showPasswordLabel,disabled:this.disabled,onClick:this.onTogglePasswordVisibility},this.passwordVisible?s("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M1 8C2.2 5.5 4.9 3 8 3C11.1 3 13.8 5.5 15 8C13.8 10.5 11.1 13 8 13C4.9 13 2.2 10.5 1 8Z",stroke:"currentColor","stroke-width":"1.2","stroke-linejoin":"round"}),s("circle",{cx:"8",cy:"8",r:"2",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M2 2L14 14",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"})):s("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M1 8C2.2 5.5 4.9 3 8 3C11.1 3 13.8 5.5 15 8C13.8 10.5 11.1 13 8 13C4.9 13 2.2 10.5 1 8Z",stroke:"currentColor","stroke-width":"1.2","stroke-linejoin":"round"}),s("circle",{cx:"8",cy:"8",r:"2",stroke:"currentColor","stroke-width":"1.2"}))):"dropdown"===this.type?s("svg",{class:"bs-input__chevron",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})):"date"!==this.type||this.hasEndIcon?s("slot",{name:"end-icon",onSlotchange:this.onEndIconSlotchange}):s("svg",{class:"bs-input__calendar",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("rect",{x:"2",y:"3",width:"12",height:"11",rx:"1",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M2 6.5H14",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M5 1.5V4M11 1.5V4",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"}))}renderStandardControl(){return s("input",{id:"control",part:"control",class:"bs-input__control",type:"password"===this.type?this.passwordVisible?"text":"password":"dropdown"===this.type?"text":this.type,value:this.value,placeholder:this.placeholder,disabled:this.disabled,readOnly:"dropdown"===this.type,role:"dropdown"===this.type?"combobox":void 0,"aria-haspopup":"dropdown"===this.type?"listbox":void 0,"aria-expanded":"dropdown"===this.type?String(this.open):void 0,min:"number"===this.type?this.min:void 0,max:"number"===this.type?this.max:void 0,step:"number"===this.type?this.step:void 0,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})}renderSelectControl(){return s("select",{id:"control",part:"control",class:"bs-input__control",disabled:this.disabled,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange},this.options.map((i=>s("option",{value:i.value,selected:i.value===this.value},i.label))))}renderTextareaControl(){return s("textarea",{id:"control",part:"control",class:"bs-input__control bs-input__control--textarea",rows:this.rows,value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})}renderChipControl(){return s("div",{class:"bs-input__chips"},this.chips.map((i=>s("bs-chip-informative",{part:"chip",class:"bs-input__chip",size:"sm",disabled:this.disabled},i,s("bs-icon-button",{part:"chip-remove",class:"bs-input__chip-remove",variant:"subtle",size:"xs",ariaLabel:`Remove ${i}`,disabled:this.disabled,onClick:this.onChipRemove(i)},s(r,null))))),s("input",{id:"control",part:"control",class:"bs-input__control bs-input__chip-input",type:"text",value:this.chipDraft,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onChipDraftInput,onKeyDown:this.onChipDraftKeydown}))}renderInitialsField(){const i=this.disabled?"bs-input__field--disabled":"";return s("div",{class:"bs-input__initials-row"},s("div",{part:"field",class:`bs-input__field bs-input__field--initials-title ${this.error?"bs-input__field--error":""} ${i}`},s("select",{part:"control",class:"bs-input__control bs-input__title-select",disabled:this.disabled,onChange:this.onTitleChange},this.titleOptions.map((i=>s("option",{value:i,selected:i===this.initialsTitle},i)))),this.renderSelectChevron()),s("div",{part:"field",class:`bs-input__field bs-input__field--initials-value ${this.error?"bs-input__field--error":""} ${i}`},s("input",{id:"control",part:"control",class:"bs-input__control",type:"text",value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})))}renderSelectChevron(){return s("svg",{class:"bs-input__select-chevron",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"}))}renderCountryControl(){return[s("select",{part:"control",class:"bs-input__control bs-input__country-select",disabled:this.disabled,onChange:this.onCountryChange},this.countryOptions.map((i=>s("option",{value:i.code,selected:i.code===this.country},i.flagIcon?`${i.flagIcon} `:"",i.code," ",i.label)))),this.renderSelectChevron(),s("input",{id:"control",part:"control",class:"bs-input__control",type:"text",value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})]}renderControl(){switch(this.type){case"select":return this.renderSelectControl();case"textarea":return this.renderTextareaControl();case"chip":return this.renderChipControl();case"country":return this.renderCountryControl();default:return this.renderStandardControl()}}renderField(){const i=["bs-input__field",this.error?"bs-input__field--error":"",this.disabled?"bs-input__field--disabled":"","textarea"===this.type?"bs-input__field--textarea":"","chip"===this.type?"bs-input__field--chip":""].filter(Boolean).join(" "),t="dropdown"===this.type;return s("div",{class:"bs-input__field-wrapper"},s("div",{part:"field",class:i,onClick:t?this.onDropdownToggle:void 0,onKeyDown:t?this.onDropdownKeydown:void 0},s("span",{part:"icon",class:"bs-input__icon "+(this.showsIconArea?"bs-input__icon--visible":"")},this.renderIconContent()),this.renderControl(),s("span",{part:"end-icon",class:"bs-input__end-icon "+(this.showsEndIconArea?"bs-input__end-icon--visible":"")},this.renderEndIconContent())),t&&this.open&&this.options.length>0&&s("bs-menu",{part:"menu",class:"bs-input__dropdown-menu",role:"listbox"},this.options.map((i=>s("bs-menu-item",{key:i.value,onBsSelect:this.onDropdownOptionSelect(i)},i.label)))))}renderPinField(){return this.pinInputs=[],s("div",{part:"field",class:`bs-input__field bs-input__field--pin ${this.error?"bs-input__field--error":""} ${this.disabled?"bs-input__field--disabled":""}`},Array.from({length:this.length}).map(((i,t)=>s("input",{id:0===t?"control":void 0,ref:i=>this.pinInputs[t]=i,part:"control",class:"bs-input__pin-cell",type:"text",inputMode:"numeric",maxLength:1,value:this.value[t]??"",disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onPinInput(t),onKeyDown:this.onPinKeydown(t)}))))}render(){return s("div",{key:"ec191e3590785654e3701c7c49b1643f671dcc16",class:"bs-input "+(this.error?"bs-input--error":"")},this.label&&s("label",{key:"264558031d7bdf104254724ad1891c893668da60",part:"label",class:"bs-input__label",htmlFor:"control"},this.label,this.required&&s("span",{key:"225d41e84484f1f160765a9f01e49a0bd850650c",part:"required",class:"bs-input__required","aria-hidden":"true"},"*")),"pin"===this.type?this.renderPinField():"initials"===this.type?this.renderInitialsField():this.renderField(),this.error?s("span",{id:"description-or-error",part:"error",class:"bs-input__error"},s("svg",{part:"error-icon",class:"bs-input__error-icon",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("circle",{cx:"8",cy:"8",r:"6.5",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M8 5V8.5",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"}),s("circle",{cx:"8",cy:"11",r:"0.75",fill:"currentColor"})),this.error):this.description?s("span",{id:"description-or-error",part:"description",class:"bs-input__description"},this.description):null)}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{onFormStateChange:0}],type:[{onFormStateChange:0}],chips:[{onFormStateChange:0}],required:[{onFormStateChange:0}]}}},r=()=>s("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},s("path",{d:"M18.75 5.25L5.25 18.75",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s("path",{d:"M18.75 18.75L5.25 5.25",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}));n.style=":host{display:block;--bs-input-radius:var(--bs-border-radius-100);--bs-input-height:var(--bs-spacing-550);--bs-input-padding-x:var(--bs-spacing-150);--bs-input-padding-y:var(--bs-spacing-100);--bs-input-gap:var(--bs-spacing-200);--bs-input-icon-size:var(--bs-spacing-300);--bs-input-stack-gap:var(--bs-spacing-50);--bs-input-error-icon-size:var(--bs-spacing-250);--bs-input-field-bg:var(--bs-input-bg-default);--bs-input-field-bg-disabled:var(--bs-input-bg-disabled);--bs-input-field-border:var(--bs-input-border-default);--bs-input-field-border-hover:var(--bs-input-border-hover);--bs-input-field-border-focus:var(--bs-input-border-focus);--bs-input-field-border-error:var(--bs-input-border-error);--bs-input-field-text:var(--bs-input-text);--bs-input-field-placeholder:var(--bs-input-placeholder);--bs-input-label-color:var(--bs-input-label);--bs-input-label-font-size:var(--bs-font-size-sm);--bs-input-label-font-weight:var(--bs-font-weight-medium);--bs-input-label-line-height:normal;--bs-input-description-color:var(--bs-input-description);--bs-input-error-color:var(--bs-input-error);--bs-input-icon-color:var(--bs-icon-muted);--bs-input-icon-color-error:var(--bs-input-icon-error);--bs-input-icon-color-disabled:var(--bs-input-icon-disabled);--bs-input-initials-title-width:80px;--bs-input-initials-gap:var(--bs-spacing-50)}.bs-input{display:flex;flex-direction:column;gap:var(--bs-input-stack-gap);font-family:inherit}.bs-input__label{font-size:var(--bs-input-label-font-size);font-weight:var(--bs-input-label-font-weight);line-height:var(--bs-input-label-line-height);color:var(--bs-input-label-color)}.bs-input__required{color:var(--bs-input-error-color);margin-inline-start:2px}.bs-input__field{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-input-gap);height:var(--bs-input-height);padding:var(--bs-input-padding-y) var(--bs-input-padding-x);border:1px solid var(--bs-input-field-border);border-radius:var(--bs-input-radius);background:var(--bs-input-field-bg)}.bs-input__field:hover:not(.bs-input__field--disabled){border-color:var(--bs-input-field-border-hover)}.bs-input__field:focus-within{border-color:var(--bs-input-field-border-focus)}.bs-input__field--error{border-color:var(--bs-input-field-border-error)}.bs-input__field--disabled{background:var(--bs-input-field-bg-disabled);cursor:not-allowed}.bs-input__control{flex:1;min-width:0;border:none;outline:none;padding:0;background:transparent;color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit}.bs-input__control::placeholder{color:var(--bs-input-field-placeholder)}.bs-input__control:disabled{color:var(--bs-input-text-disabled);cursor:not-allowed}.bs-input__control::-webkit-strong-password-auto-fill-button,.bs-input__control::-webkit-credentials-auto-fill-button{display:none !important;visibility:hidden;pointer-events:none;position:absolute;inset-inline-end:0}.bs-input__control::-webkit-textfield-decoration-container{visibility:hidden}.bs-input__control::-ms-reveal,.bs-input__control::-ms-clear{display:none}.bs-input--error .bs-input__label{color:var(--bs-input-label-color)}.bs-input__icon,.bs-input__end-icon{display:none;align-items:center;flex-shrink:0;color:var(--bs-input-icon-color)}.bs-input__icon--visible,.bs-input__end-icon--visible{display:flex}.bs-input__icon ::slotted(*),.bs-input__end-icon ::slotted(*){display:block;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field--error .bs-input__icon,.bs-input__field--error .bs-input__end-icon{color:var(--bs-input-icon-color-error)}.bs-input__field--disabled .bs-input__icon,.bs-input__field--disabled .bs-input__end-icon{color:var(--bs-input-icon-color-disabled)}.bs-input__description{font-size:var(--bs-font-size-xs);color:var(--bs-input-description-color)}.bs-input__error{display:flex;align-items:center;gap:var(--bs-input-stack-gap);font-size:var(--bs-font-size-xs);color:var(--bs-input-error-color)}.bs-input__error-icon{flex-shrink:0;width:var(--bs-input-error-icon-size);height:var(--bs-input-error-icon-size)}.bs-input__field--textarea{height:auto;align-items:flex-start}.bs-input__control--textarea{resize:vertical}.bs-input__stepper{display:flex;flex-direction:column}.bs-input__stepper-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;padding:0;cursor:pointer}.bs-input__stepper-btn:disabled{cursor:not-allowed}.bs-input__password-toggle{display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;padding:0;cursor:pointer;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__password-toggle:disabled{cursor:not-allowed}.bs-input__password-toggle svg{width:100%;height:100%}.bs-input__chevron{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field-wrapper{position:relative;width:100%}.bs-input__dropdown-menu{position:absolute;top:calc(100% + var(--bs-input-stack-gap));inset-inline-start:0;inset-inline-end:0;z-index:1}.bs-input__calendar{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__search-icon{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field--chip{flex-wrap:wrap;height:auto;min-height:var(--bs-input-height)}.bs-input__chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--bs-spacing-100);flex:1;min-width:0}.bs-input__chip{--bs-chip-informative-padding-x-plain-side:var(--bs-spacing-150)}.bs-input__chip-remove{--bs-icon-button-size-xs:20px;--bs-icon-button-icon-size-xs:12px;margin-inline-end:calc(var(--bs-spacing-50) * -1)}.bs-input__chip-input{flex:1;min-width:60px}.bs-input__country-select{flex-shrink:0;width:auto;border:none;outline:none;background:transparent;color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit}.bs-input__title-select,.bs-input__country-select{appearance:none;-webkit-appearance:none;-moz-appearance:none}.bs-input__title-select::-ms-expand,.bs-input__country-select::-ms-expand{display:none}.bs-input__select-chevron{flex-shrink:0;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size);color:var(--bs-input-icon-color);pointer-events:none}.bs-input__field--disabled .bs-input__select-chevron{color:var(--bs-input-icon-color-disabled)}.bs-input__initials-row{display:flex;gap:var(--bs-input-initials-gap);width:100%}.bs-input__field--initials-title{flex:0 0 auto;width:var(--bs-input-initials-title-width);gap:var(--bs-spacing-50)}.bs-input__field--initials-title .bs-input__select-chevron{width:10px;height:10px}.bs-input__field--initials-value{flex:1;min-width:0}.bs-input__country-select{width:auto}.bs-input__field--pin{border:none;padding:0;background:transparent;gap:var(--bs-input-gap)}.bs-input__pin-cell{box-sizing:border-box;width:var(--bs-input-height);height:var(--bs-input-height);text-align:center;border:1px solid var(--bs-input-field-border);border-radius:var(--bs-input-radius);background:var(--bs-input-field-bg);color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit;outline:none}.bs-input__pin-cell:focus{border-color:var(--bs-input-field-border-focus)}.bs-input__field--pin.bs-input__field--disabled .bs-input__pin-cell{background:var(--bs-input-field-bg-disabled);cursor:not-allowed}.bs-input__field--pin.bs-input__field--error .bs-input__pin-cell{border-color:var(--bs-input-field-border-error)}@media (forced-colors: active){.bs-input__control{border:1px solid FieldText}.bs-input__control:focus-visible{outline:2px solid Highlight;outline-offset:2px}}";const o=class{constructor(t){i(this,t)}get el(){return e(this)}onKeyDown(i){if(!["ArrowDown","ArrowUp","Home","End"].includes(i.key))return;const t=Array.from(this.el.querySelectorAll("bs-menu-item")).filter((i=>!i.disabled));if(0===t.length)return;const e=t.findIndex((t=>t===i.target||t.contains(i.target)));let s;i.preventDefault(),s="Home"===i.key?0:"End"===i.key?t.length-1:"ArrowDown"===i.key?-1===e?0:(e+1)%t.length:-1===e?t.length-1:(e-1+t.length)%t.length,t[s].shadowRoot?.querySelector("button")?.focus()}render(){return s("div",{key:"e886c7df63af6d741175aa81bc6390be600e371b",part:"list",class:"bs-menu",role:"menu"},s("slot",{key:"365eae17c25fd6a3cc69c9ff01a28ce81eca11f8"}))}};o.style=":host{display:block;--bs-menu-bg:var(--bs-surface-raised);--bs-menu-radius:var(--bs-border-radius-100);--bs-menu-padding-y:var(--bs-spacing-50);--bs-menu-gap:var(--bs-spacing-50);--bs-menu-shadow:var(--bs-shadow-sm)}.bs-menu{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-menu-gap);background:var(--bs-menu-bg);border-radius:var(--bs-menu-radius);padding:var(--bs-menu-padding-y) 0;box-shadow:var(--bs-menu-shadow);font-family:inherit}@media (forced-colors: active){.bs-menu{border:1px solid CanvasText}}";const a=class{constructor(e){i(this,e),this.bsSelect=t(this,"bsSelect")}disabled=!1;hasIcon=!1;bsSelect;onIconSlotchange=i=>{this.hasIcon=i.target.assignedNodes().length>0};onClick=()=>{this.disabled||this.bsSelect.emit()};render(){return s("button",{key:"2d4a54df61b047dab4531362aee81f5d9728818b",type:"button",part:"item",role:"menuitem",class:"bs-menu-item "+(this.disabled?"bs-menu-item--disabled":""),disabled:this.disabled,"aria-disabled":this.disabled?"true":void 0,onClick:this.onClick},s("span",{key:"5ddaa17999d79962d279b927d659f592a2dccc81",part:"icon",class:"bs-menu-item__icon "+(this.hasIcon?"bs-menu-item__icon--has-content":"")},s("slot",{key:"41033aa1950751d8565eec3d04af3570120cda58",name:"icon",onSlotchange:this.onIconSlotchange})),s("span",{key:"eb077b5082815adee640c53fa4396cccf1d81cad",part:"label",class:"bs-menu-item__label"},s("slot",{key:"cfb15ca71fd157aebfb0380e2eaac791bd50b051"})))}};a.style=":host{display:block;--bs-menu-item-radius:var(--bs-border-radius-100);--bs-menu-item-padding-y:var(--bs-spacing-100);--bs-menu-item-padding-x:var(--bs-spacing-150);--bs-menu-item-gap:var(--bs-spacing-100);--bs-menu-item-hover:var(--bs-color-neutral-container-hover);--bs-menu-item-pressed:var(--bs-color-neutral-container-pressed);--bs-menu-item-disabled-bg:var(--bs-surface-action-disabled);--bs-menu-item-icon-color:var(--bs-icon-default);--bs-menu-item-icon-color-disabled:var(--bs-icon-disabled);--bs-menu-item-color:var(--bs-text-muted);--bs-menu-item-color-disabled:var(--bs-text-on-disabled);--bs-menu-item-font-size:var(--bs-font-size-md);--bs-menu-item-line-height:var(--bs-line-height-body-md)}.bs-menu-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:48px;border:none;cursor:pointer;background:transparent;color:var(--bs-menu-item-color);font-family:inherit;border-radius:var(--bs-menu-item-radius);padding:var(--bs-menu-item-padding-y) var(--bs-menu-item-padding-x);gap:var(--bs-menu-item-gap);transition:background-color var(--bs-duration-fast) var(--bs-easing-standard)}.bs-menu-item:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-menu-item:hover{background:var(--bs-menu-item-hover)}.bs-menu-item:active{background:var(--bs-menu-item-pressed)}.bs-menu-item--disabled{background:var(--bs-menu-item-disabled-bg);color:var(--bs-menu-item-color-disabled);cursor:not-allowed}.bs-menu-item--disabled:hover,.bs-menu-item--disabled:active{background:var(--bs-menu-item-disabled-bg)}.bs-menu-item--disabled .bs-menu-item__icon{color:var(--bs-menu-item-icon-color-disabled)}.bs-menu-item__icon{display:none;width:24px;height:24px;flex-shrink:0;color:var(--bs-menu-item-icon-color)}.bs-menu-item__icon--has-content{display:inline-flex;align-items:center;justify-content:center}.bs-menu-item__icon ::slotted(svg){width:24px;height:24px}.bs-menu-item__label{font-size:var(--bs-menu-item-font-size);line-height:calc(var(--bs-menu-item-line-height) * 1px);white-space:nowrap}";export{n as bs_input,o as bs_menu,a as bs_menu_item}
1
+ import{r as i,c as t,a as e,h as s}from"./p-D3SkQJpw.js";const n=class{constructor(e){i(this,e),this.bsInput=t(this,"bsInput"),this.bsChange=t(this,"bsChange"),this.bsOpen=t(this,"bsOpen"),this.bsChipAdd=t(this,"bsChipAdd"),this.bsChipRemove=t(this,"bsChipRemove"),this.bsTitleChange=t(this,"bsTitleChange"),this.bsCountryChange=t(this,"bsCountryChange"),e.$hostElement$["s-ei"]?this.internals=e.$hostElement$["s-ei"]:(this.internals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.internals)}get el(){return e(this)}internals;initialValue="";name;value="";showPasswordLabel="Show password";hidePasswordLabel="Hide password";incrementLabel="Increment";decrementLabel="Decrement";type="text";label;placeholder;description;error;disabled=!1;required=!1;step=1;min;max;options=[];rows=3;chips=[];titleOptions=[];initialsTitle="";countryOptions=[];country="";length=4;open=!1;bsInput;bsChange;bsOpen;bsChipAdd;bsChipRemove;bsTitleChange;bsCountryChange;hasIcon=!1;hasEndIcon=!1;passwordVisible=!1;chipDraft="";pinInputs=[];componentWillLoad(){this.initialValue=this.value,this.syncFormValue(),this.hasIcon=this.hasSlottedContent("icon"),this.hasEndIcon=this.hasSlottedContent("end-icon")}onFormStateChange(){this.syncFormValue()}syncFormValue(){if(this.internals?.setFormValue){if("chip"===this.type&&this.name){const i=new FormData;this.chips.forEach((t=>i.append(this.name,t))),this.internals.setFormValue(i)}else this.internals.setFormValue(this.value??"");this.required&&("chip"===this.type?0===this.chips.length:!this.value)?this.internals.setValidity({valueMissing:!0},"Please fill out this field."):this.internals.setValidity({})}}formResetCallback(){this.value=this.initialValue}formStateRestoreCallback(i){"string"==typeof i&&(this.value=i)}hasSlottedContent(i){return Array.from(this.el.childNodes).some((t=>t.nodeType===Node.ELEMENT_NODE&&t.getAttribute("slot")===i))}onIconSlotchange=i=>{this.hasIcon=i.target.assignedNodes().length>0};onEndIconSlotchange=i=>{this.hasEndIcon=i.target.assignedNodes().length>0};onInput=i=>{const t=i.target.value;this.value=t,this.bsInput.emit(t)};onChange=i=>{const t=i.target.value;this.value=t,this.bsChange.emit(t)};clampNumber(i){return void 0!==this.min&&i<this.min&&(i=this.min),void 0!==this.max&&i>this.max&&(i=this.max),i}onStepperIncrement=()=>{if(this.disabled)return;const i=this.clampNumber((parseFloat(this.value)||0)+this.step);this.value=String(i),this.bsChange.emit(this.value)};onStepperDecrement=()=>{if(this.disabled)return;const i=this.clampNumber((parseFloat(this.value)||0)-this.step);this.value=String(i),this.bsChange.emit(this.value)};onTogglePasswordVisibility=()=>{this.passwordVisible=!this.passwordVisible};onDropdownToggle=()=>{this.disabled||(this.open=!this.open,this.bsOpen.emit(this.open))};onDropdownKeydown=i=>{"Enter"!==i.key&&" "!==i.key||(i.preventDefault(),this.onDropdownToggle())};onDropdownOptionSelect=i=>()=>{this.value=i.label,this.open=!1,this.bsChange.emit(this.value)};onHostKeydown(i){"dropdown"===this.type&&this.open&&"Escape"===i.key&&(this.open=!1)}onHostFocusOut(i){if("dropdown"!==this.type||!this.open)return;const t=i.relatedTarget;t&&this.el.contains(t)||(this.open=!1)}onChipDraftInput=i=>{this.chipDraft=i.target.value};onChipDraftKeydown=i=>{if("Enter"===i.key){i.preventDefault();const t=this.chipDraft.trim();t&&(this.bsChipAdd.emit(t),this.chipDraft="")}};onChipRemove=i=>()=>{this.bsChipRemove.emit(i)};onTitleChange=i=>{this.bsTitleChange.emit(i.target.value)};onCountryChange=i=>{this.bsCountryChange.emit(i.target.value)};onPinInput=i=>t=>{const e=t.target;let s=e.value;s.length>1&&(s=s.slice(-1),e.value=s),s&&i<this.length-1&&this.pinInputs[i+1]?.focus(),this.value=this.pinInputs.map((i=>i?.value??"")).join(""),this.bsChange.emit(this.value)};onPinKeydown=i=>t=>{"Backspace"===t.key&&!t.target.value&&i>0&&this.pinInputs[i-1]?.focus()};get showsEndIconArea(){return"number"===this.type||"password"===this.type||"dropdown"===this.type||"date"===this.type||this.hasEndIcon}get showsIconArea(){return"search"===this.type&&!this.hasIcon||this.hasIcon}renderIconContent(){return"search"!==this.type||this.hasIcon?s("slot",{name:"icon",onSlotchange:this.onIconSlotchange}):s("svg",{class:"bs-input__search-icon",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("circle",{cx:"7",cy:"7",r:"5",stroke:"currentColor","stroke-width":"1.3"}),s("path",{d:"M11 11L14.5 14.5",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round"}))}renderEndIconContent(){return"number"===this.type?s("span",{class:"bs-input__stepper"},s("button",{type:"button",part:"control",class:"bs-input__stepper-btn","aria-label":this.incrementLabel,tabIndex:-1,disabled:this.disabled,onClick:this.onStepperIncrement},s("svg",{viewBox:"0 0 10 6",width:"10",height:"6","aria-hidden":"true"},s("path",{d:"M1 5L5 1L9 5",stroke:"currentColor","stroke-width":"1.3",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"}))),s("button",{type:"button",part:"control",class:"bs-input__stepper-btn","aria-label":this.decrementLabel,tabIndex:-1,disabled:this.disabled,onClick:this.onStepperDecrement},s("svg",{viewBox:"0 0 10 6",width:"10",height:"6","aria-hidden":"true"},s("path",{d:"M1 1L5 5L9 1",stroke:"currentColor","stroke-width":"1.3",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"})))):"password"===this.type?s("button",{type:"button",part:"control",class:"bs-input__password-toggle","aria-label":this.passwordVisible?this.hidePasswordLabel:this.showPasswordLabel,disabled:this.disabled,onClick:this.onTogglePasswordVisibility},this.passwordVisible?s("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M1 8C2.2 5.5 4.9 3 8 3C11.1 3 13.8 5.5 15 8C13.8 10.5 11.1 13 8 13C4.9 13 2.2 10.5 1 8Z",stroke:"currentColor","stroke-width":"1.2","stroke-linejoin":"round"}),s("circle",{cx:"8",cy:"8",r:"2",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M2 2L14 14",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"})):s("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M1 8C2.2 5.5 4.9 3 8 3C11.1 3 13.8 5.5 15 8C13.8 10.5 11.1 13 8 13C4.9 13 2.2 10.5 1 8Z",stroke:"currentColor","stroke-width":"1.2","stroke-linejoin":"round"}),s("circle",{cx:"8",cy:"8",r:"2",stroke:"currentColor","stroke-width":"1.2"}))):"dropdown"===this.type?s("svg",{class:"bs-input__chevron",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})):"date"!==this.type||this.hasEndIcon?s("slot",{name:"end-icon",onSlotchange:this.onEndIconSlotchange}):s("svg",{class:"bs-input__calendar",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("rect",{x:"2",y:"3",width:"12",height:"11",rx:"1",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M2 6.5H14",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M5 1.5V4M11 1.5V4",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"}))}renderStandardControl(){return s("input",{id:"control",part:"control",class:"bs-input__control",type:"password"===this.type?this.passwordVisible?"text":"password":"dropdown"===this.type?"text":this.type,value:this.value,placeholder:this.placeholder,disabled:this.disabled,readOnly:"dropdown"===this.type,role:"dropdown"===this.type?"combobox":void 0,"aria-haspopup":"dropdown"===this.type?"listbox":void 0,"aria-expanded":"dropdown"===this.type?String(this.open):void 0,min:"number"===this.type?this.min:void 0,max:"number"===this.type?this.max:void 0,step:"number"===this.type?this.step:void 0,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})}renderSelectControl(){return s("select",{id:"control",part:"control",class:"bs-input__control",disabled:this.disabled,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange},this.options.map((i=>s("option",{value:i.value,selected:i.value===this.value},i.label))))}renderTextareaControl(){return s("textarea",{id:"control",part:"control",class:"bs-input__control bs-input__control--textarea",rows:this.rows,value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-describedby":this.error||this.description?"description-or-error":void 0,"aria-invalid":this.error?"true":void 0,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})}renderChipControl(){return s("div",{class:"bs-input__chips"},this.chips.map((i=>s("bs-chip-informative",{part:"chip",class:"bs-input__chip",size:"sm",disabled:this.disabled},i,s("bs-icon-button",{part:"chip-remove",class:"bs-input__chip-remove",variant:"subtle",size:"xs",ariaLabel:`Remove ${i}`,disabled:this.disabled,onClick:this.onChipRemove(i)},s(r,null))))),s("input",{id:"control",part:"control",class:"bs-input__control bs-input__chip-input",type:"text",value:this.chipDraft,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onChipDraftInput,onKeyDown:this.onChipDraftKeydown}))}renderInitialsField(){const i=this.disabled?"bs-input__field--disabled":"";return s("div",{class:"bs-input__initials-row"},s("div",{part:"field",class:`bs-input__field bs-input__field--initials-title ${this.error?"bs-input__field--error":""} ${i}`},s("select",{part:"control",class:"bs-input__control bs-input__title-select",disabled:this.disabled,onChange:this.onTitleChange},this.titleOptions.map((i=>s("option",{value:i,selected:i===this.initialsTitle},i)))),this.renderSelectChevron()),s("div",{part:"field",class:`bs-input__field bs-input__field--initials-value ${this.error?"bs-input__field--error":""} ${i}`},s("input",{id:"control",part:"control",class:"bs-input__control",type:"text",value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})))}renderSelectChevron(){return s("svg",{class:"bs-input__select-chevron",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("path",{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"}))}renderCountryControl(){return[s("select",{part:"control",class:"bs-input__control bs-input__country-select",disabled:this.disabled,onChange:this.onCountryChange},this.countryOptions.map((i=>s("option",{value:i.code,selected:i.code===this.country},i.flagIcon?`${i.flagIcon} `:"",i.code," ",i.label)))),this.renderSelectChevron(),s("input",{id:"control",part:"control",class:"bs-input__control",type:"text",value:this.value,placeholder:this.placeholder,disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onInput,onChange:this.onChange})]}renderControl(){switch(this.type){case"select":return this.renderSelectControl();case"textarea":return this.renderTextareaControl();case"chip":return this.renderChipControl();case"country":return this.renderCountryControl();default:return this.renderStandardControl()}}renderField(){const i=["bs-input__field",this.error?"bs-input__field--error":"",this.disabled?"bs-input__field--disabled":"","textarea"===this.type?"bs-input__field--textarea":"","chip"===this.type?"bs-input__field--chip":""].filter(Boolean).join(" "),t="dropdown"===this.type;return s("div",{class:"bs-input__field-wrapper"},s("div",{part:"field",class:i,onClick:t?this.onDropdownToggle:void 0,onKeyDown:t?this.onDropdownKeydown:void 0},s("span",{part:"icon",class:"bs-input__icon "+(this.showsIconArea?"bs-input__icon--visible":"")},this.renderIconContent()),this.renderControl(),s("span",{part:"end-icon",class:"bs-input__end-icon "+(this.showsEndIconArea?"bs-input__end-icon--visible":"")},this.renderEndIconContent())),t&&this.open&&this.options.length>0&&s("bs-menu",{part:"menu",class:"bs-input__dropdown-menu",role:"listbox"},this.options.map((i=>s("bs-menu-item",{key:i.value,onBsSelect:this.onDropdownOptionSelect(i)},i.label)))))}renderPinField(){return this.pinInputs=[],s("div",{part:"field",class:`bs-input__field bs-input__field--pin ${this.error?"bs-input__field--error":""} ${this.disabled?"bs-input__field--disabled":""}`},Array.from({length:this.length}).map(((i,t)=>s("input",{id:0===t?"control":void 0,ref:i=>this.pinInputs[t]=i,part:"control",class:"bs-input__pin-cell",type:"text",inputMode:"numeric",maxLength:1,value:this.value[t]??"",disabled:this.disabled,"aria-required":this.required?"true":void 0,onInput:this.onPinInput(t),onKeyDown:this.onPinKeydown(t)}))))}render(){return s("div",{key:"ec191e3590785654e3701c7c49b1643f671dcc16",class:"bs-input "+(this.error?"bs-input--error":"")},this.label&&s("label",{key:"264558031d7bdf104254724ad1891c893668da60",part:"label",class:"bs-input__label",htmlFor:"control"},this.label,this.required&&s("span",{key:"225d41e84484f1f160765a9f01e49a0bd850650c",part:"required",class:"bs-input__required","aria-hidden":"true"},"*")),"pin"===this.type?this.renderPinField():"initials"===this.type?this.renderInitialsField():this.renderField(),this.error?s("span",{id:"description-or-error",part:"error",class:"bs-input__error"},s("svg",{part:"error-icon",class:"bs-input__error-icon",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true"},s("circle",{cx:"8",cy:"8",r:"6.5",stroke:"currentColor","stroke-width":"1.2"}),s("path",{d:"M8 5V8.5",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"}),s("circle",{cx:"8",cy:"11",r:"0.75",fill:"currentColor"})),this.error):this.description?s("span",{id:"description-or-error",part:"description",class:"bs-input__description"},this.description):null)}static get delegatesFocus(){return!0}static get formAssociated(){return!0}static get watchers(){return{value:[{onFormStateChange:0}],type:[{onFormStateChange:0}],chips:[{onFormStateChange:0}],required:[{onFormStateChange:0}]}}},r=()=>s("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},s("path",{d:"M18.75 5.25L5.25 18.75",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s("path",{d:"M18.75 18.75L5.25 5.25",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}));n.style=":host{display:block;--bs-input-radius:var(--bs-border-radius-100);--bs-input-height:var(--bs-spacing-550);--bs-input-padding-x:var(--bs-spacing-150);--bs-input-padding-y:var(--bs-spacing-100);--bs-input-gap:var(--bs-spacing-200);--bs-input-icon-size:var(--bs-spacing-300);--bs-input-stack-gap:var(--bs-spacing-50);--bs-input-error-icon-size:var(--bs-spacing-250);--bs-input-field-bg:var(--bs-input-bg-default);--bs-input-field-bg-disabled:var(--bs-input-bg-disabled);--bs-input-field-border:var(--bs-input-border-default);--bs-input-field-border-hover:var(--bs-input-border-hover);--bs-input-field-border-focus:var(--bs-input-border-focus);--bs-input-field-border-error:var(--bs-input-border-error);--bs-input-field-text:var(--bs-input-text);--bs-input-field-placeholder:var(--bs-input-placeholder);--bs-input-label-color:var(--bs-input-label);--bs-input-label-font-size:var(--bs-font-size-sm);--bs-input-label-font-weight:var(--bs-font-weight-medium);--bs-input-label-line-height:normal;--bs-input-description-color:var(--bs-input-description);--bs-input-error-color:var(--bs-input-error);--bs-input-icon-color:var(--bs-icon-muted);--bs-input-icon-color-error:var(--bs-input-icon-error);--bs-input-icon-color-disabled:var(--bs-input-icon-disabled);--bs-input-initials-title-width:80px;--bs-input-initials-gap:var(--bs-spacing-50)}.bs-input{display:flex;flex-direction:column;gap:var(--bs-input-stack-gap);font-family:inherit}.bs-input__label{font-size:var(--bs-input-label-font-size);font-weight:var(--bs-input-label-font-weight);line-height:var(--bs-input-label-line-height);color:var(--bs-input-label-color)}.bs-input__required{color:var(--bs-input-error-color);margin-inline-start:2px}.bs-input__field{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-input-gap);height:var(--bs-input-height);padding:var(--bs-input-padding-y) var(--bs-input-padding-x);border:1px solid var(--bs-input-field-border);border-radius:var(--bs-input-radius);background:var(--bs-input-field-bg)}.bs-input__field:hover:not(.bs-input__field--disabled){border-color:var(--bs-input-field-border-hover)}.bs-input__field:focus-within{border-color:var(--bs-input-field-border-focus)}.bs-input__field--error{border-color:var(--bs-input-field-border-error)}.bs-input__field--disabled{background:var(--bs-input-field-bg-disabled);cursor:not-allowed}.bs-input__control{flex:1;min-width:0;border:none;outline:none;padding:0;background:transparent;color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit}.bs-input__control::placeholder{color:var(--bs-input-field-placeholder)}.bs-input__control:disabled{color:var(--bs-input-text-disabled);cursor:not-allowed}.bs-input__control::-webkit-strong-password-auto-fill-button,.bs-input__control::-webkit-credentials-auto-fill-button{display:none !important;visibility:hidden;pointer-events:none;position:absolute;inset-inline-end:0}.bs-input__control::-webkit-textfield-decoration-container{visibility:hidden}.bs-input__control::-ms-reveal,.bs-input__control::-ms-clear{display:none}.bs-input--error .bs-input__label{color:var(--bs-input-label-color)}.bs-input__icon,.bs-input__end-icon{display:none;align-items:center;flex-shrink:0;color:var(--bs-input-icon-color)}.bs-input__icon--visible,.bs-input__end-icon--visible{display:flex}.bs-input__icon ::slotted(*),.bs-input__end-icon ::slotted(*){display:block;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field--error .bs-input__icon,.bs-input__field--error .bs-input__end-icon{color:var(--bs-input-icon-color-error)}.bs-input__field--disabled .bs-input__icon,.bs-input__field--disabled .bs-input__end-icon{color:var(--bs-input-icon-color-disabled)}.bs-input__description{font-size:var(--bs-font-size-xs);color:var(--bs-input-description-color)}.bs-input__error{display:flex;align-items:center;gap:var(--bs-input-stack-gap);font-size:var(--bs-font-size-xs);color:var(--bs-input-error-color)}.bs-input__error-icon{flex-shrink:0;width:var(--bs-input-error-icon-size);height:var(--bs-input-error-icon-size)}.bs-input__field--textarea{height:auto;align-items:flex-start}.bs-input__control--textarea{resize:vertical}.bs-input__stepper{display:flex;flex-direction:column}.bs-input__stepper-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;padding:0;cursor:pointer}.bs-input__stepper-btn:disabled{cursor:not-allowed}.bs-input__password-toggle{display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:inherit;padding:0;cursor:pointer;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__password-toggle:disabled{cursor:not-allowed}.bs-input__password-toggle svg{width:100%;height:100%}.bs-input__chevron{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field-wrapper{position:relative;width:100%}.bs-input__dropdown-menu{position:absolute;top:calc(100% + var(--bs-input-stack-gap));inset-inline-start:0;inset-inline-end:0;z-index:1}.bs-input__calendar{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__search-icon{width:var(--bs-input-icon-size);height:var(--bs-input-icon-size)}.bs-input__field--chip{flex-wrap:wrap;height:auto;min-height:var(--bs-input-height)}.bs-input__chips{display:flex;flex-wrap:wrap;align-items:center;gap:var(--bs-spacing-100);flex:1;min-width:0}.bs-input__chip{--bs-chip-informative-padding-x-plain-side:var(--bs-spacing-150)}.bs-input__chip-remove{--bs-icon-button-size-xs:20px;--bs-icon-button-icon-size-xs:12px;margin-inline-end:calc(var(--bs-spacing-50) * -1)}.bs-input__chip-input{flex:1;min-width:60px}.bs-input__country-select{flex-shrink:0;width:auto;border:none;outline:none;background:transparent;color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit}.bs-input__title-select,.bs-input__country-select{appearance:none;-webkit-appearance:none;-moz-appearance:none}.bs-input__title-select::-ms-expand,.bs-input__country-select::-ms-expand{display:none}.bs-input__select-chevron{flex-shrink:0;width:var(--bs-input-icon-size);height:var(--bs-input-icon-size);color:var(--bs-input-icon-color);pointer-events:none}.bs-input__field--disabled .bs-input__select-chevron{color:var(--bs-input-icon-color-disabled)}.bs-input__initials-row{display:flex;gap:var(--bs-input-initials-gap);width:100%}.bs-input__field--initials-title{flex:0 0 auto;width:var(--bs-input-initials-title-width);gap:var(--bs-spacing-50)}.bs-input__field--initials-title .bs-input__select-chevron{width:10px;height:10px}.bs-input__field--initials-value{flex:1;min-width:0}.bs-input__country-select{width:auto}.bs-input__field--pin{border:none;padding:0;background:transparent;gap:var(--bs-input-gap)}.bs-input__pin-cell{box-sizing:border-box;width:var(--bs-input-height);height:var(--bs-input-height);text-align:center;border:1px solid var(--bs-input-field-border);border-radius:var(--bs-input-radius);background:var(--bs-input-field-bg);color:var(--bs-input-field-text);font-size:var(--bs-font-size-md);font-family:inherit;outline:none}.bs-input__pin-cell:focus{border-color:var(--bs-input-field-border-focus)}.bs-input__field--pin.bs-input__field--disabled .bs-input__pin-cell{background:var(--bs-input-field-bg-disabled);cursor:not-allowed}.bs-input__field--pin.bs-input__field--error .bs-input__pin-cell{border-color:var(--bs-input-field-border-error)}@media (forced-colors: active){.bs-input__control{border:1px solid FieldText}.bs-input__control:focus-visible{outline:2px solid Highlight;outline-offset:2px}}";const o=class{constructor(t){i(this,t)}get el(){return e(this)}onKeyDown(i){if(!["ArrowDown","ArrowUp","Home","End"].includes(i.key))return;const t=Array.from(this.el.querySelectorAll("bs-menu-item")).filter((i=>!i.disabled));if(0===t.length)return;const e=t.findIndex((t=>t===i.target||t.contains(i.target)));let s;i.preventDefault(),s="Home"===i.key?0:"End"===i.key?t.length-1:"ArrowDown"===i.key?-1===e?0:(e+1)%t.length:-1===e?t.length-1:(e-1+t.length)%t.length,t[s].shadowRoot?.querySelector("button")?.focus()}render(){return s("div",{key:"0477b2c9c46e8f5e325cac9a4dbaab8bc750643b",part:"list",class:"bs-menu",role:"menu"},s("slot",{key:"e1c588bc649544c797b657dd0d5262415e5a60a4"}))}};o.style=":host{display:block;--bs-menu-bg:var(--bs-surface-raised);--bs-menu-radius:var(--bs-border-radius-100);--bs-menu-padding-y:var(--bs-spacing-50);--bs-menu-gap:var(--bs-spacing-50);--bs-menu-shadow:var(--bs-shadow-sm)}.bs-menu{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--bs-menu-gap);background:var(--bs-menu-bg);border-radius:var(--bs-menu-radius);padding:var(--bs-menu-padding-y) 0;box-shadow:var(--bs-menu-shadow);font-family:inherit}@media (forced-colors: active){.bs-menu{border:1px solid CanvasText}}";const a=class{constructor(e){i(this,e),this.bsSelect=t(this,"bsSelect")}disabled=!1;hasIcon=!1;bsSelect;onIconSlotchange=i=>{this.hasIcon=i.target.assignedNodes().length>0};onClick=()=>{this.disabled||this.bsSelect.emit()};render(){return s("button",{key:"dc11eb96712a008d318aa3c4220202ecd7b7ce32",type:"button",part:"item",role:"menuitem",class:"bs-menu-item "+(this.disabled?"bs-menu-item--disabled":""),disabled:this.disabled,"aria-disabled":this.disabled?"true":void 0,onClick:this.onClick},s("span",{key:"f38f1192079cd6ddc68035f649f09c6afa2fe3d5",part:"icon",class:"bs-menu-item__icon "+(this.hasIcon?"bs-menu-item__icon--has-content":"")},s("slot",{key:"2d49ecdd471e752267543323b637466af12dbd58",name:"icon",onSlotchange:this.onIconSlotchange})),s("span",{key:"947b88175af07b7523d38786224c6e77b76de4ae",part:"label",class:"bs-menu-item__label"},s("slot",{key:"c564ce8f13882cc33f58fc45d7f8a6ddfc86f31d"})))}};a.style=":host{display:block;--bs-menu-item-radius:var(--bs-border-radius-100);--bs-menu-item-padding-y:var(--bs-spacing-100);--bs-menu-item-padding-x:var(--bs-spacing-150);--bs-menu-item-gap:var(--bs-spacing-100);--bs-menu-item-hover:var(--bs-color-neutral-container-hover);--bs-menu-item-pressed:var(--bs-color-neutral-container-pressed);--bs-menu-item-disabled-bg:var(--bs-surface-action-disabled);--bs-menu-item-icon-color:var(--bs-icon-default);--bs-menu-item-icon-color-disabled:var(--bs-icon-disabled);--bs-menu-item-color:var(--bs-text-muted);--bs-menu-item-color-disabled:var(--bs-text-on-disabled);--bs-menu-item-font-size:var(--bs-font-size-md);--bs-menu-item-line-height:var(--bs-line-height-body-md)}.bs-menu-item{box-sizing:border-box;display:flex;align-items:center;width:100%;height:48px;border:none;cursor:pointer;background:transparent;color:var(--bs-menu-item-color);font-family:inherit;border-radius:var(--bs-menu-item-radius);padding:var(--bs-menu-item-padding-y) var(--bs-menu-item-padding-x);gap:var(--bs-menu-item-gap);transition:background-color var(--bs-duration-fast) var(--bs-easing-standard)}.bs-menu-item:focus-visible{outline:2px solid var(--bs-border-neutral-focus);outline-offset:2px}.bs-menu-item:hover{background:var(--bs-menu-item-hover)}.bs-menu-item:active{background:var(--bs-menu-item-pressed)}.bs-menu-item--disabled{background:var(--bs-menu-item-disabled-bg);color:var(--bs-menu-item-color-disabled);cursor:not-allowed}.bs-menu-item--disabled:hover,.bs-menu-item--disabled:active{background:var(--bs-menu-item-disabled-bg)}.bs-menu-item--disabled .bs-menu-item__icon{color:var(--bs-menu-item-icon-color-disabled)}.bs-menu-item__icon{display:none;width:24px;height:24px;flex-shrink:0;color:var(--bs-menu-item-icon-color)}.bs-menu-item__icon--has-content{display:inline-flex;align-items:center;justify-content:center}.bs-menu-item__icon ::slotted(svg){width:24px;height:24px}.bs-menu-item__label{font-size:var(--bs-menu-item-font-size);line-height:calc(var(--bs-menu-item-line-height) * 1px);white-space:nowrap}";export{n as bs_input,o as bs_menu,a as bs_menu_item}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,a as s,h as r}from"./p-D3SkQJpw.js";const i=class{constructor(s){t(this,s),this.bsChange=e(this,"bsChange")}get el(){return s(this)}ariaLabel=null;value="";selectable=!0;bsChange;observer;connectedCallback(){this.observer=new MutationObserver((()=>this.refresh())),this.observer.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["expanded","disabled"]})}disconnectedCallback(){this.observer?.disconnect()}componentDidLoad(){if(!this.value){const t=this.items().find((t=>t.selected||t.hasAttribute("selected")));t&&(this.value=this.keyOf(t))}this.syncSelection(),this.refresh()}onValueChange(){this.syncSelection(),this.refresh()}async expandAll(){this.items().forEach((t=>t.expanded=!0))}async collapseAll(){this.items().forEach((t=>t.expanded=!1))}items(){return Array.from(this.el.querySelectorAll("bs-tree-item"))}keyOf(t){return t.value||t.label}isParent(t){return Array.from(t.children).some((t=>"BS-TREE-ITEM"===t.tagName))}isRendered(t){let e=t.parentElement;for(;e&&e!==this.el;){if("BS-TREE-ITEM"===e.tagName&&!e.expanded)return!1;e=e.parentElement}return!0}navigable(){return this.items().filter((t=>!t.disabled&&this.isRendered(t)))}syncSelection(){let t=!1;this.items().forEach((e=>{const s=!!this.value&&!t&&this.keyOf(e)===this.value;s&&(t=!0),e.selected!==s&&(e.selected=s)}))}refresh(t){const e=this.navigable(),s=t&&e.includes(t)?t:e.find((t=>t.selected))??e[0];this.items().forEach((t=>{t.disabled?t.removeAttribute("tabindex"):t.setAttribute("tabindex",t===s?"0":"-1")}))}focusItem(t){t&&(this.refresh(t),t.focus())}select(t){if(!this.selectable||t.disabled)return;const e=this.keyOf(t);e!==this.value&&(this.value=e,this.syncSelection(),this.refresh(t),this.bsChange.emit(e))}onItemSelect(t){const e=t.target.closest("bs-tree-item");e&&this.select(e)}onFocusIn(t){const e=t.target.closest?.("bs-tree-item");e&&!e.disabled&&t.target===e&&this.refresh(e)}onKeyDown(t){const e=t.target.closest?.("bs-tree-item");if(!e||t.target!==e||t.altKey||t.ctrlKey||t.metaKey)return;const s=this.navigable(),r=s.indexOf(e),i="rtl"===getComputedStyle(this.el).direction;let a=t.key;i&&"ArrowRight"===a?a="ArrowLeft":i&&"ArrowLeft"===a&&(a="ArrowRight");const h=this.isParent(e);switch(a){case"ArrowDown":this.focusItem(s[r+1]);break;case"ArrowUp":r>0&&this.focusItem(s[r-1]);break;case"Home":this.focusItem(s[0]);break;case"End":this.focusItem(s[s.length-1]);break;case"ArrowRight":if(!h)return;e.expanded?this.focusItem(s.find((t=>t.parentElement===e))):e.setExpanded(!0);break;case"ArrowLeft":if(h&&e.expanded)e.setExpanded(!1);else{const t=e.parentElement;t&&"BS-TREE-ITEM"===t.tagName&&!t.disabled&&this.focusItem(t)}break;case"Enter":case" ":this.select(e);break;case"*":Array.from(e.parentElement.children).filter((t=>"BS-TREE-ITEM"===t.tagName)).forEach((t=>t.setExpanded(!0)));break;default:return}t.preventDefault()}render(){return r("div",{key:"40bf9c9ae1f488a82f3d2972e5f9206db865928d",part:"container",class:"bs-tree",role:"tree","aria-label":this.ariaLabel},r("slot",{key:"eb72026e90f834759d8249ed1a291aa7ca30ac2d"}))}static get watchers(){return{value:[{onValueChange:0}]}}};i.style=":host{display:block}.bs-tree{display:block;width:100%}";export{i as bs_tree}
@@ -18,7 +18,7 @@ var patchBrowser = () => {
18
18
 
19
19
  patchBrowser().then(async (options) => {
20
20
  await index.globalScripts();
21
- return index.bootstrapLazy(JSON.parse("[[\"bs-session-timeout.cjs\",[[769,\"bs-session-timeout\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"hideIcon\":[4,\"hide-icon\"],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"secondsLeft\":[1026,\"seconds-left\"],\"totalSeconds\":[2,\"total-seconds\"],\"countdown\":[4],\"timeLeftLabel\":[1,\"time-left-label\"],\"secondsLeftLabel\":[1,\"seconds-left-label\"],\"savedMessage\":[1,\"saved-message\"],\"accountName\":[1,\"account-name\"],\"accountEmail\":[1,\"account-email\"],\"accountInitials\":[1,\"account-initials\"],\"passwordLabel\":[1,\"password-label\"],\"passwordError\":[1,\"password-error\"],\"dividerLabel\":[1,\"divider-label\"],\"alternatives\":[16],\"cancelLabel\":[1,\"cancel-label\"],\"password\":[32],\"announcement\":[32],\"initialTotal\":[32]},null,{\"countdown\":[{\"onTimerInputsChange\":0}],\"type\":[{\"onTimerInputsChange\":0}]}]]],[\"bs-timepicker.cjs\",[[577,\"bs-timepicker\",{\"name\":[513],\"value\":[1537],\"format\":[1537],\"minuteStep\":[2,\"minute-step\"],\"heading\":[1],\"formatLabel\":[1,\"format-label\"],\"confirmLabel\":[1,\"confirm-label\"],\"cancelLabel\":[1,\"cancel-label\"],\"increaseLabel\":[1,\"increase-label\"],\"decreaseLabel\":[1,\"decrease-label\"],\"hourLabel\":[1,\"hour-label\"],\"minuteLabel\":[1,\"minute-label\"],\"periodLabel\":[1,\"period-label\"],\"hour\":[32],\"minute\":[32]},null,{\"value\":[{\"onValueChange\":0}],\"name\":[{\"onNameChange\":0}]}]]],[\"bs-cookie-consent.cjs\",[[769,\"bs-cookie-consent\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"policyUrl\":[1,\"policy-url\"],\"policyLabel\":[1,\"policy-label\"],\"customiseLabel\":[1,\"customise-label\"],\"rejectLabel\":[1,\"reject-label\"],\"acceptLabel\":[1,\"accept-label\"],\"saveLabel\":[1,\"save-label\"],\"changeLabel\":[1,\"change-label\"],\"alwaysOnLabel\":[1,\"always-on-label\"],\"seeCookiesLabel\":[1,\"see-cookies-label\"],\"closeLabel\":[1,\"close-label\"],\"categories\":[16],\"choices\":[32],\"open\":[32]},null,{\"categories\":[{\"onCategoriesChange\":0}]}]]],[\"bs-whats-new.cjs\",[[769,\"bs-whats-new\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"closable\":[4],\"closeLabel\":[1,\"close-label\"],\"entries\":[16],\"filters\":[16],\"filter\":[1537],\"markAllReadLabel\":[1,\"mark-all-read-label\"],\"releaseNotesLabel\":[1,\"release-notes-label\"],\"releaseNotesUrl\":[1,\"release-notes-url\"],\"emptyLabel\":[1,\"empty-label\"],\"tag\":[1],\"tagColor\":[1,\"tag-color\"],\"image\":[1],\"points\":[16],\"step\":[2],\"total\":[2],\"stepLabel\":[1,\"step-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"primaryLabel\":[1,\"primary-label\"],\"date\":[1],\"description\":[1],\"actionLabel\":[1,\"action-label\"],\"hasHeroSlot\":[32]}]]],[\"bs-datepicker.cjs\",[[577,\"bs-datepicker\",{\"name\":[513],\"range\":[516],\"value\":[1537],\"start\":[1537],\"end\":[1537],\"min\":[1],\"max\":[1],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"startLabel\":[1,\"start-label\"],\"endLabel\":[1,\"end-label\"],\"monthLabel\":[1,\"month-label\"],\"yearLabel\":[1,\"year-label\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"viewDate\":[32],\"focusedIso\":[32],\"hoverIso\":[32],\"draft\":[32],\"openMenu\":[32]},null,{\"value\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"start\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"end\":[{\"onSelectionChange\":0}],\"range\":[{\"onSelectionChange\":0}],\"name\":[{\"onSelectionChange\":0}]}]]],[\"bs-onboarding-checklist.cjs\",[[769,\"bs-onboarding-checklist\",{\"type\":[513],\"launcherLayout\":[513,\"launcher-layout\"],\"steps\":[16],\"heading\":[1],\"description\":[1],\"headingLevel\":[2,\"heading-level\"],\"progressText\":[1,\"progress-text\"],\"closable\":[4],\"progressLabel\":[1,\"progress-label\"],\"skipLabel\":[1,\"skip-label\"],\"startLabel\":[1,\"start-label\"],\"seeAllLabel\":[1,\"see-all-label\"],\"afterLabel\":[1,\"after-label\"],\"doneLabel\":[1,\"done-label\"],\"hideLabel\":[1,\"hide-label\"],\"closeLabel\":[1,\"close-label\"],\"statusDoneLabel\":[1,\"status-done-label\"],\"statusTodoLabel\":[1,\"status-todo-label\"]}]]],[\"bs-qr-code.cjs\",[[769,\"bs-qr-code\",{\"type\":[513],\"size\":[513],\"state\":[513],\"heading\":[1],\"description\":[1],\"url\":[1],\"amount\":[1],\"amountLabel\":[1,\"amount-label\"],\"expiry\":[1],\"matrix\":[16],\"codeLabel\":[1,\"code-label\"],\"closable\":[4],\"hideActions\":[4,\"hide-actions\"],\"hideDownload\":[4,\"hide-download\"],\"hideCopy\":[4,\"hide-copy\"],\"downloadLabel\":[1,\"download-label\"],\"copyLabel\":[1,\"copy-label\"],\"retryLabel\":[1,\"retry-label\"],\"refreshLabel\":[1,\"refresh-label\"],\"loadingLabel\":[1,\"loading-label\"],\"errorLabel\":[1,\"error-label\"],\"expiredLabel\":[1,\"expired-label\"],\"scannedLabel\":[1,\"scanned-label\"],\"closeLabel\":[1,\"close-label\"],\"hasLogo\":[32]}]]],[\"bs-product-tour.cjs\",[[769,\"bs-product-tour\",{\"type\":[513],\"direction\":[513],\"heading\":[1],\"description\":[1],\"step\":[2],\"total\":[2],\"progressLabel\":[1,\"progress-label\"],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"closable\":[4],\"closeLabel\":[1,\"close-label\"]}]]],[\"bs-carousel.cjs\",[[769,\"bs-carousel\",{\"tracker\":[1],\"slidesPerView\":[2,\"slides-per-view\"],\"currentPage\":[1538,\"current-page\"],\"autoplay\":[4],\"interval\":[2],\"paused\":[1540],\"label\":[1],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"pauseLabel\":[1,\"pause-label\"],\"playLabel\":[1,\"play-label\"],\"slideCount\":[32],\"interacting\":[32]},[[1,\"mouseenter\",\"onMouseEnter\"],[1,\"mouseleave\",\"onMouseLeave\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"]],{\"currentPage\":[{\"onCurrentPageChange\":0}],\"autoplay\":[{\"updateTimer\":0}],\"paused\":[{\"updateTimer\":0}],\"interval\":[{\"updateTimer\":0}],\"interacting\":[{\"updateTimer\":0}],\"slideCount\":[{\"updateTimer\":0}],\"slidesPerView\":[{\"updateTimer\":0}]}]]],[\"bs-error-page.cjs\",[[769,\"bs-error-page\",{\"type\":[513],\"code\":[1],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"reference\":[1]}]]],[\"bs-citation-preview.cjs\",[[769,\"bs-citation-preview\",{\"fileName\":[1,\"file-name\"],\"sourceName\":[1,\"source-name\"],\"page\":[8],\"href\":[1]}]]],[\"bs-file-upload-item.cjs\",[[769,\"bs-file-upload-item\",{\"state\":[513],\"fileName\":[1,\"file-name\"],\"fileSize\":[1,\"file-size\"],\"progress\":[2],\"message\":[1],\"thumbnailSrc\":[1,\"thumbnail-src\"],\"thumbnailAlt\":[1,\"thumbnail-alt\"],\"cancelLabel\":[1,\"cancel-label\"],\"removeLabel\":[1,\"remove-label\"]}]]],[\"bs-attachment.cjs\",[[513,\"bs-attachment\",{\"uploadingLabel\":[1,\"uploading-label\"],\"removeLabel\":[1,\"remove-label\"],\"type\":[1],\"fileName\":[1,\"file-name\"],\"imageSrc\":[1,\"image-src\"],\"imageAlt\":[1,\"image-alt\"],\"loading\":[4],\"removable\":[4]}]]],[\"bs-breadcrumb-overflow.cjs\",[[513,\"bs-breadcrumb-overflow\",{\"items\":[16],\"overflowLabel\":[1,\"overflow-label\"],\"size\":[513],\"open\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]]]]],[\"bs-chatbot-header.cjs\",[[769,\"bs-chatbot-header\",{\"heading\":[1],\"expanded\":[1540],\"hideNewChat\":[4,\"hide-new-chat\"],\"hideHistory\":[4,\"hide-history\"],\"hideExpand\":[4,\"hide-expand\"],\"hideClose\":[4,\"hide-close\"],\"newChatLabel\":[1,\"new-chat-label\"],\"historyLabel\":[1,\"history-label\"],\"expandLabel\":[1,\"expand-label\"],\"collapseLabel\":[1,\"collapse-label\"],\"closeLabel\":[1,\"close-label\"]}]]],[\"bs-dialog.cjs\",[[769,\"bs-dialog\",{\"open\":[1540],\"heading\":[1],\"closeLabel\":[1,\"close-label\"],\"size\":[1],\"centered\":[516],\"hasFooter\":[32],\"hasImage\":[32],\"hasIcon\":[32]},[[4,\"keydown\",\"onKeydown\"],[4,\"focusin\",\"onFocusIn\"]]]]],[\"bs-file-upload.cjs\",[[769,\"bs-file-upload\",{\"direction\":[513],\"heading\":[1],\"description\":[1],\"buttonLabel\":[1,\"button-label\"],\"accept\":[1],\"multiple\":[4],\"disabled\":[516],\"dragging\":[1540]}]]],[\"bs-message.cjs\",[[769,\"bs-message\",{\"role\":[513],\"timestamp\":[1],\"datetime\":[1],\"status\":[513]}]]],[\"bs-message-list.cjs\",[[769,\"bs-message-list\",{\"scrollToLatestLabel\":[1,\"scroll-to-latest-label\"],\"showScrollButton\":[32],\"scrollToLatest\":[64]}]]],[\"bs-navigation-drawer.cjs\",[[769,\"bs-navigation-drawer\",{\"heading\":[1],\"collapsible\":[4],\"collapseLabel\":[1,\"collapse-label\"],\"expandLabel\":[1,\"expand-label\"],\"searchLabel\":[1,\"search-label\"],\"collapsed\":[1540],\"logoBackground\":[1,\"logo-background\"],\"showLogo\":[4,\"show-logo\"],\"open\":[1540],\"mobile\":[32]},[[4,\"keydown\",\"onDocumentKeydown\"],[4,\"focusin\",\"onDocumentFocusIn\"]],{\"collapsed\":[{\"onCollapsedChange\":0}],\"mobile\":[{\"onMobileChange\":0}],\"open\":[{\"onOpenChange\":0}]}]]],[\"bs-navigation-header.cjs\",[[769,\"bs-navigation-header\",{\"alignment\":[1],\"ariaLabel\":[1,\"aria-label\"],\"skipToContentHref\":[1,\"skip-to-content-href\"],\"skipToContentLabel\":[1,\"skip-to-content-label\"],\"logoBackground\":[1,\"logo-background\"]}]]],[\"bs-side-panel.cjs\",[[769,\"bs-side-panel\",{\"open\":[1540],\"heading\":[1],\"side\":[513],\"closeLabel\":[1,\"close-label\"],\"overlay\":[516]},null,{\"open\":[{\"onOpenChange\":0}],\"overlay\":[{\"onOverlayChange\":0}]}]]],[\"bs-stack.cjs\",[[769,\"bs-stack\",{\"direction\":[513],\"gap\":[1],\"align\":[513],\"justify\":[513],\"wrap\":[516],\"divider\":[516],\"itemCount\":[32]},null,{\"divider\":[{\"dividerChanged\":0}]}]]],[\"bs-tooltip-trigger.cjs\",[[769,\"bs-tooltip-trigger\",{\"text\":[1],\"delay\":[2],\"placement\":[513],\"visible\":[32]}]]],[\"bs-accordion.cjs\",[[769,\"bs-accordion\",{\"expanded\":[516],\"size\":[1],\"disabled\":[4],\"showIcon\":[4,\"show-icon\"],\"showPreview\":[4,\"show-preview\"]}]]],[\"bs-accordion-group.cjs\",[[769,\"bs-accordion-group\",{\"multiple\":[4]},[[0,\"bsToggle\",\"onToggle\"]]]]],[\"bs-ai-disclaimer.cjs\",[[257,\"bs-ai-disclaimer\"]]],[\"bs-ai-greeting.cjs\",[[513,\"bs-ai-greeting\",{\"assistantName\":[1,\"assistant-name\"],\"productName\":[1,\"product-name\"]}]]],[\"bs-ai-thinking.cjs\",[[513,\"bs-ai-thinking\",{\"label\":[1]}]]],[\"bs-app-shell.cjs\",[[769,\"bs-app-shell\",{\"fullHeight\":[516,\"full-height\"]}]]],[\"bs-attachment-list.cjs\",[[769,\"bs-attachment-list\",{\"ariaLabel\":[1,\"aria-label\"],\"canScrollRight\":[32]}]]],[\"bs-badge.cjs\",[[769,\"bs-badge\",{\"variant\":[1]}]]],[\"bs-breadcrumb.cjs\",[[769,\"bs-breadcrumb\",{\"href\":[1],\"current\":[516],\"size\":[513]}]]],[\"bs-breadcrumbs.cjs\",[[769,\"bs-breadcrumbs\",{\"label\":[1],\"size\":[1]},null,{\"size\":[{\"onSizeChange\":0}]}]]],[\"bs-button-skeleton.cjs\",[[513,\"bs-button-skeleton\",{\"size\":[1],\"loadingLabel\":[1,\"loading-label\"]}]]],[\"bs-chatbot-feedback.cjs\",[[513,\"bs-chatbot-feedback\",{\"rating\":[1538],\"submitted\":[1540],\"comment\":[1025],\"closeLabel\":[1,\"close-label\"],\"commentLabel\":[1,\"comment-label\"],\"commentPlaceholder\":[1,\"comment-placeholder\"],\"submitLabel\":[1,\"submit-label\"],\"newChatLabel\":[1,\"new-chat-label\"],\"ratingLabel\":[1,\"rating-label\"],\"starLabel\":[1,\"star-label\"],\"starsLabel\":[1,\"stars-label\"],\"heading\":[1],\"subtitle\":[1]}]]],[\"bs-chatbot-response-action.cjs\",[[769,\"bs-chatbot-response-action\",{\"sourcesCount\":[2,\"sources-count\"],\"menuOpen\":[1540,\"menu-open\"],\"liked\":[516],\"disliked\":[516],\"hideRegenerate\":[4,\"hide-regenerate\"],\"likeLabel\":[1,\"like-label\"],\"dislikeLabel\":[1,\"dislike-label\"],\"copyLabel\":[1,\"copy-label\"],\"regenerateLabel\":[1,\"regenerate-label\"],\"menuLabel\":[1,\"menu-label\"],\"sourceLabel\":[1,\"source-label\"],\"sourcesLabel\":[1,\"sources-label\"]},[[4,\"click\",\"onDocumentClick\"],[4,\"keydown\",\"onKeydown\"]]]]],[\"bs-chatbot-sources-drawer.cjs\",[[769,\"bs-chatbot-sources-drawer\",{\"heading\":[1],\"collapseLabel\":[1,\"collapse-label\"],\"count\":[2],\"slottedCount\":[32]}]]],[\"bs-chatbot-suggestion-button.cjs\",[[769,\"bs-chatbot-suggestion-button\",{\"disabled\":[4]}]]],[\"bs-checkbox.cjs\",[[849,\"bs-checkbox\",{\"name\":[513],\"value\":[1],\"required\":[4],\"size\":[1],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"error\":[4],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}],\"required\":[{\"syncFormValue\":0}],\"indeterminate\":[{\"onIndeterminateChange\":0}]}]]],[\"bs-checkbox-skeleton.cjs\",[[513,\"bs-checkbox-skeleton\",{\"size\":[1],\"loadingLabel\":[1,\"loading-label\"]}]]],[\"bs-chip-filter.cjs\",[[785,\"bs-chip-filter\",{\"size\":[1],\"selected\":[516],\"dropdown\":[4],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32]}]]],[\"bs-chip-input.cjs\",[[785,\"bs-chip-input\",{\"size\":[1],\"removeLabel\":[1,\"remove-label\"],\"selected\":[1540],\"disabled\":[516],\"hasIcon\":[32],\"labelText\":[32]}]]],[\"bs-composer.cjs\",[[785,\"bs-composer\",{\"variant\":[1],\"placeholder\":[1],\"value\":[1025],\"state\":[513],\"ariaLabel\":[1,\"aria-label\"],\"loading\":[4],\"maxLength\":[2,\"max-length\"],\"hideAttach\":[4,\"hide-attach\"],\"hideMic\":[4,\"hide-mic\"],\"attachLabel\":[1,\"attach-label\"],\"micLabel\":[1,\"mic-label\"],\"stopRecordingLabel\":[1,\"stop-recording-label\"],\"sendLabel\":[1,\"send-label\"],\"stopLabel\":[1,\"stop-label\"],\"confirmLabel\":[1,\"confirm-label\"],\"hasAttachments\":[32]}]]],[\"bs-composer-status-banner.cjs\",[[769,\"bs-composer-status-banner\",{\"type\":[1],\"message\":[1],\"showIcon\":[4,\"show-icon\"],\"showButton\":[4,\"show-button\"],\"actionLabel\":[1,\"action-label\"],\"loading\":[4],\"closeLabel\":[1,\"close-label\"],\"allowClose\":[4,\"allow-close\"]}]]],[\"bs-container.cjs\",[[769,\"bs-container\",{\"size\":[513],\"padding\":[1]}]]],[\"bs-data-table.cjs\",[[513,\"bs-data-table\",{\"columns\":[16],\"rows\":[16],\"sortColumn\":[1,\"sort-column\"],\"sortDirection\":[1,\"sort-direction\"],\"selectAllLabel\":[1,\"select-all-label\"],\"selectable\":[4],\"cellRenderer\":[16],\"selectedIds\":[32],\"clearSelection\":[64]}]]],[\"bs-grid.cjs\",[[769,\"bs-grid\",{\"columns\":[513],\"gap\":[513],\"rowGap\":[513,\"row-gap\"],\"columnGap\":[513,\"column-gap\"],\"minColumnWidth\":[513,\"min-column-width\"],\"align\":[513]}]]],[\"bs-inline-tab.cjs\",[[769,\"bs-inline-tab\",{\"selected\":[516],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32]}]]],[\"bs-navigation-drawer-item.cjs\",[[769,\"bs-navigation-drawer-item\",{\"selected\":[516],\"expandable\":[4],\"expanded\":[1540],\"nested\":[4],\"ariaLabel\":[1,\"aria-label\"],\"collapsed\":[516],\"hasIcon\":[32]}]]],[\"bs-popover.cjs\",[[769,\"bs-popover\",{\"open\":[1540],\"placement\":[513]},null,{\"open\":[{\"onOpenChange\":0}],\"placement\":[{\"onPlacementChange\":0}]}]]],[\"bs-radio.cjs\",[[849,\"bs-radio\",{\"name\":[513],\"value\":[1],\"checked\":[1540],\"disabled\":[516],\"groupHasChecked\":[32]},[[4,\"bsChange\",\"onAnyRadioChange\"]],{\"checked\":[{\"onCheckedChange\":0}],\"value\":[{\"onCheckedChange\":0}]}]]],[\"bs-skeleton.cjs\",[[513,\"bs-skeleton\",{\"variant\":[1],\"width\":[1],\"height\":[1],\"lines\":[2],\"animated\":[4],\"label\":[1]}]]],[\"bs-slider.cjs\",[[593,\"bs-slider\",{\"type\":[1],\"name\":[513],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[1026],\"valueStart\":[1026,\"value-start\"],\"valueEnd\":[1026,\"value-end\"],\"segments\":[2],\"disabled\":[516],\"startValueLabel\":[1,\"start-value-label\"],\"endValueLabel\":[1,\"end-value-label\"],\"ariaLabel\":[1,\"aria-label\"]},null,{\"value\":[{\"syncFormValue\":0}],\"valueStart\":[{\"syncFormValue\":0}],\"valueEnd\":[{\"syncFormValue\":0}],\"type\":[{\"syncFormValue\":0}]}]]],[\"bs-spinner.cjs\",[[513,\"bs-spinner\",{\"size\":[1],\"label\":[1]}]]],[\"bs-split-pane.cjs\",[[769,\"bs-split-pane\",{\"orientation\":[513],\"collapsed\":[1540],\"resizable\":[4],\"dividerLabel\":[1,\"divider-label\"],\"step\":[2],\"paneCount\":[32],\"sizes\":[32],\"draggingIndex\":[32],\"toggleCollapsed\":[64]}]]],[\"bs-stepper.cjs\",[[769,\"bs-stepper\",{\"currentStep\":[2,\"current-step\"],\"direction\":[513],\"showDescription\":[4,\"show-description\"]},null,{\"currentStep\":[{\"onPropChange\":0}],\"direction\":[{\"onPropChange\":0}],\"showDescription\":[{\"onPropChange\":0}]}]]],[\"bs-stepper-step.cjs\",[[513,\"bs-stepper-step\",{\"name\":[1],\"description\":[1],\"error\":[4],\"disabled\":[4],\"computedState\":[1,\"computed-state\"],\"direction\":[1],\"showDescription\":[4,\"show-description\"]}]]],[\"bs-toast.cjs\",[[769,\"bs-toast\",{\"state\":[1],\"dismissLabel\":[1,\"dismiss-label\"]}]]],[\"bs-snackbar.cjs\",[[769,\"bs-snackbar\",{\"variant\":[1],\"loading\":[4],\"actionLabel\":[1,\"action-label\"],\"actionVariant\":[1,\"action-variant\"],\"hideClose\":[4,\"hide-close\"]}]]],[\"bs-avatar.cjs\",[[513,\"bs-avatar\",{\"type\":[1],\"size\":[1],\"initials\":[1],\"src\":[1],\"alt\":[1],\"ariaLabel\":[1,\"aria-label\"],\"disabled\":[516]}]]],[\"bs-divider.cjs\",[[513,\"bs-divider\",{\"orientation\":[513],\"variant\":[513],\"inset\":[513],\"decorative\":[516]}]]],[\"bs-pagination.cjs\",[[513,\"bs-pagination\",{\"totalPages\":[2,\"total-pages\"],\"currentPage\":[1538,\"current-page\"],\"siblingCount\":[2,\"sibling-count\"],\"navLabel\":[1,\"nav-label\"],\"pageLabel\":[1,\"page-label\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"]}]]],[\"bs-source-link.cjs\",[[769,\"bs-source-link\",{\"fileName\":[1,\"file-name\"],\"sourceName\":[1,\"source-name\"],\"version\":[1],\"href\":[1],\"target\":[1]}]]],[\"bs-logo.cjs\",[[513,\"bs-logo\",{\"variant\":[1],\"background\":[1],\"src\":[1],\"alt\":[1]}]]],[\"bs-progress.cjs\",[[513,\"bs-progress\",{\"type\":[1],\"size\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"bs-switch.cjs\",[[849,\"bs-switch\",{\"name\":[513],\"value\":[1],\"size\":[1],\"checked\":[1540],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}]}]]],[\"bs-tooltip.cjs\",[[769,\"bs-tooltip\",{\"placement\":[1]}]]],[\"bs-chip-informative.cjs\",[[769,\"bs-chip-informative\",{\"color\":[1],\"size\":[1],\"disabled\":[516],\"hasIcon\":[32]}]]],[\"bs-tab_3.cjs\",[[769,\"bs-whats-new-entry\",{\"tag\":[1],\"tagColor\":[1,\"tag-color\"],\"date\":[1],\"unread\":[516],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"actionLabel\":[1,\"action-label\"],\"divider\":[4],\"unreadLabel\":[1,\"unread-label\"],\"hasImage\":[32]}],[769,\"bs-tab\",{\"selected\":[516],\"disabled\":[4],\"iconPosition\":[1,\"icon-position\"],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32],\"hasBadge\":[32]}],[769,\"bs-tabs\",{\"type\":[1],\"orientation\":[1],\"value\":[1537]},[[0,\"bsSelect\",\"onTabSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"value\":[{\"onValueChange\":0}],\"orientation\":[{\"syncRovingTabindex\":0}]}]]],[\"bs-progress-linear.cjs\",[[769,\"bs-progress-linear\",{\"type\":[1],\"size\":[1],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"],\"hasLabelContent\":[32]}]]],[\"bs-icon-tile.cjs\",[[769,\"bs-icon-tile\",{\"size\":[513],\"intent\":[513],\"label\":[1],\"hasCustomIcon\":[32],\"hasText\":[32]}]]],[\"bs-card.cjs\",[[769,\"bs-card\",{\"surface\":[513],\"hasImage\":[32]}]]],[\"bs-icon-button.cjs\",[[849,\"bs-icon-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"bs-input_3.cjs\",[[849,\"bs-input\",{\"name\":[513],\"value\":[1025],\"showPasswordLabel\":[1,\"show-password-label\"],\"hidePasswordLabel\":[1,\"hide-password-label\"],\"incrementLabel\":[1,\"increment-label\"],\"decrementLabel\":[1,\"decrement-label\"],\"type\":[1],\"label\":[1],\"placeholder\":[1],\"description\":[1],\"error\":[1],\"disabled\":[516],\"required\":[4],\"step\":[2],\"min\":[2],\"max\":[2],\"options\":[16],\"rows\":[2],\"chips\":[16],\"titleOptions\":[16],\"initialsTitle\":[1,\"initials-title\"],\"countryOptions\":[16],\"country\":[1],\"length\":[2],\"open\":[1540],\"hasIcon\":[32],\"hasEndIcon\":[32],\"passwordVisible\":[32],\"chipDraft\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]],{\"value\":[{\"onFormStateChange\":0}],\"type\":[{\"onFormStateChange\":0}],\"chips\":[{\"onFormStateChange\":0}],\"required\":[{\"onFormStateChange\":0}]}],[769,\"bs-menu-item\",{\"disabled\":[4],\"hasIcon\":[32]}],[257,\"bs-menu\",null,[[0,\"keydown\",\"onKeyDown\"]]]]],[\"bs-button.cjs\",[[849,\"bs-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32],\"hasEndIcon\":[32],\"hasLabel\":[32]}]]]]"), options);
21
+ return index.bootstrapLazy(JSON.parse("[[\"bs-session-timeout.cjs\",[[769,\"bs-session-timeout\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"hideIcon\":[4,\"hide-icon\"],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"secondsLeft\":[1026,\"seconds-left\"],\"totalSeconds\":[2,\"total-seconds\"],\"countdown\":[4],\"timeLeftLabel\":[1,\"time-left-label\"],\"secondsLeftLabel\":[1,\"seconds-left-label\"],\"savedMessage\":[1,\"saved-message\"],\"accountName\":[1,\"account-name\"],\"accountEmail\":[1,\"account-email\"],\"accountInitials\":[1,\"account-initials\"],\"passwordLabel\":[1,\"password-label\"],\"passwordError\":[1,\"password-error\"],\"dividerLabel\":[1,\"divider-label\"],\"alternatives\":[16],\"cancelLabel\":[1,\"cancel-label\"],\"password\":[32],\"announcement\":[32],\"initialTotal\":[32]},null,{\"countdown\":[{\"onTimerInputsChange\":0}],\"type\":[{\"onTimerInputsChange\":0}]}]]],[\"bs-timepicker.cjs\",[[577,\"bs-timepicker\",{\"name\":[513],\"value\":[1537],\"format\":[1537],\"minuteStep\":[2,\"minute-step\"],\"heading\":[1],\"formatLabel\":[1,\"format-label\"],\"confirmLabel\":[1,\"confirm-label\"],\"cancelLabel\":[1,\"cancel-label\"],\"increaseLabel\":[1,\"increase-label\"],\"decreaseLabel\":[1,\"decrease-label\"],\"hourLabel\":[1,\"hour-label\"],\"minuteLabel\":[1,\"minute-label\"],\"periodLabel\":[1,\"period-label\"],\"hour\":[32],\"minute\":[32]},null,{\"value\":[{\"onValueChange\":0}],\"name\":[{\"onNameChange\":0}]}]]],[\"bs-cookie-consent.cjs\",[[769,\"bs-cookie-consent\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"policyUrl\":[1,\"policy-url\"],\"policyLabel\":[1,\"policy-label\"],\"customiseLabel\":[1,\"customise-label\"],\"rejectLabel\":[1,\"reject-label\"],\"acceptLabel\":[1,\"accept-label\"],\"saveLabel\":[1,\"save-label\"],\"changeLabel\":[1,\"change-label\"],\"alwaysOnLabel\":[1,\"always-on-label\"],\"seeCookiesLabel\":[1,\"see-cookies-label\"],\"closeLabel\":[1,\"close-label\"],\"categories\":[16],\"choices\":[32],\"open\":[32]},null,{\"categories\":[{\"onCategoriesChange\":0}]}]]],[\"bs-whats-new.cjs\",[[769,\"bs-whats-new\",{\"type\":[513],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"closable\":[4],\"closeLabel\":[1,\"close-label\"],\"entries\":[16],\"filters\":[16],\"filter\":[1537],\"markAllReadLabel\":[1,\"mark-all-read-label\"],\"releaseNotesLabel\":[1,\"release-notes-label\"],\"releaseNotesUrl\":[1,\"release-notes-url\"],\"emptyLabel\":[1,\"empty-label\"],\"tag\":[1],\"tagColor\":[1,\"tag-color\"],\"image\":[1],\"points\":[16],\"step\":[2],\"total\":[2],\"stepLabel\":[1,\"step-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"primaryLabel\":[1,\"primary-label\"],\"date\":[1],\"description\":[1],\"actionLabel\":[1,\"action-label\"],\"hasHeroSlot\":[32]}]]],[\"bs-datepicker.cjs\",[[577,\"bs-datepicker\",{\"name\":[513],\"range\":[516],\"value\":[1537],\"start\":[1537],\"end\":[1537],\"min\":[1],\"max\":[1],\"locale\":[1],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"startLabel\":[1,\"start-label\"],\"endLabel\":[1,\"end-label\"],\"monthLabel\":[1,\"month-label\"],\"yearLabel\":[1,\"year-label\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"viewDate\":[32],\"focusedIso\":[32],\"hoverIso\":[32],\"draft\":[32],\"openMenu\":[32]},null,{\"value\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"start\":[{\"onSelectionChange\":0},{\"onSelectionJump\":0}],\"end\":[{\"onSelectionChange\":0}],\"range\":[{\"onSelectionChange\":0}],\"name\":[{\"onSelectionChange\":0}]}]]],[\"bs-onboarding-checklist.cjs\",[[769,\"bs-onboarding-checklist\",{\"type\":[513],\"launcherLayout\":[513,\"launcher-layout\"],\"steps\":[16],\"heading\":[1],\"description\":[1],\"headingLevel\":[2,\"heading-level\"],\"progressText\":[1,\"progress-text\"],\"closable\":[4],\"progressLabel\":[1,\"progress-label\"],\"skipLabel\":[1,\"skip-label\"],\"startLabel\":[1,\"start-label\"],\"seeAllLabel\":[1,\"see-all-label\"],\"afterLabel\":[1,\"after-label\"],\"doneLabel\":[1,\"done-label\"],\"hideLabel\":[1,\"hide-label\"],\"closeLabel\":[1,\"close-label\"],\"statusDoneLabel\":[1,\"status-done-label\"],\"statusTodoLabel\":[1,\"status-todo-label\"]}]]],[\"bs-qr-code.cjs\",[[769,\"bs-qr-code\",{\"type\":[513],\"size\":[513],\"state\":[513],\"heading\":[1],\"description\":[1],\"url\":[1],\"amount\":[1],\"amountLabel\":[1,\"amount-label\"],\"expiry\":[1],\"matrix\":[16],\"codeLabel\":[1,\"code-label\"],\"closable\":[4],\"hideActions\":[4,\"hide-actions\"],\"hideDownload\":[4,\"hide-download\"],\"hideCopy\":[4,\"hide-copy\"],\"downloadLabel\":[1,\"download-label\"],\"copyLabel\":[1,\"copy-label\"],\"retryLabel\":[1,\"retry-label\"],\"refreshLabel\":[1,\"refresh-label\"],\"loadingLabel\":[1,\"loading-label\"],\"errorLabel\":[1,\"error-label\"],\"expiredLabel\":[1,\"expired-label\"],\"scannedLabel\":[1,\"scanned-label\"],\"closeLabel\":[1,\"close-label\"],\"hasLogo\":[32]}]]],[\"bs-product-tour.cjs\",[[769,\"bs-product-tour\",{\"type\":[513],\"direction\":[513],\"heading\":[1],\"description\":[1],\"step\":[2],\"total\":[2],\"progressLabel\":[1,\"progress-label\"],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"closable\":[4],\"closeLabel\":[1,\"close-label\"]}]]],[\"bs-carousel.cjs\",[[769,\"bs-carousel\",{\"tracker\":[1],\"slidesPerView\":[2,\"slides-per-view\"],\"currentPage\":[1538,\"current-page\"],\"autoplay\":[4],\"interval\":[2],\"paused\":[1540],\"label\":[1],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"],\"pauseLabel\":[1,\"pause-label\"],\"playLabel\":[1,\"play-label\"],\"slideCount\":[32],\"interacting\":[32]},[[1,\"mouseenter\",\"onMouseEnter\"],[1,\"mouseleave\",\"onMouseLeave\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"]],{\"currentPage\":[{\"onCurrentPageChange\":0}],\"autoplay\":[{\"updateTimer\":0}],\"paused\":[{\"updateTimer\":0}],\"interval\":[{\"updateTimer\":0}],\"interacting\":[{\"updateTimer\":0}],\"slideCount\":[{\"updateTimer\":0}],\"slidesPerView\":[{\"updateTimer\":0}]}]]],[\"bs-error-page.cjs\",[[769,\"bs-error-page\",{\"type\":[513],\"code\":[1],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"primaryLabel\":[1,\"primary-label\"],\"secondaryLabel\":[1,\"secondary-label\"],\"reference\":[1]}]]],[\"bs-citation-preview.cjs\",[[769,\"bs-citation-preview\",{\"fileName\":[1,\"file-name\"],\"sourceName\":[1,\"source-name\"],\"page\":[8],\"href\":[1]}]]],[\"bs-file-upload-item.cjs\",[[769,\"bs-file-upload-item\",{\"state\":[513],\"fileName\":[1,\"file-name\"],\"fileSize\":[1,\"file-size\"],\"progress\":[2],\"message\":[1],\"thumbnailSrc\":[1,\"thumbnail-src\"],\"thumbnailAlt\":[1,\"thumbnail-alt\"],\"cancelLabel\":[1,\"cancel-label\"],\"removeLabel\":[1,\"remove-label\"]}]]],[\"bs-attachment.cjs\",[[513,\"bs-attachment\",{\"uploadingLabel\":[1,\"uploading-label\"],\"removeLabel\":[1,\"remove-label\"],\"type\":[1],\"fileName\":[1,\"file-name\"],\"imageSrc\":[1,\"image-src\"],\"imageAlt\":[1,\"image-alt\"],\"loading\":[4],\"removable\":[4]}]]],[\"bs-breadcrumb-overflow.cjs\",[[513,\"bs-breadcrumb-overflow\",{\"items\":[16],\"overflowLabel\":[1,\"overflow-label\"],\"size\":[513],\"open\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]]]]],[\"bs-chatbot-header.cjs\",[[769,\"bs-chatbot-header\",{\"heading\":[1],\"expanded\":[1540],\"hideNewChat\":[4,\"hide-new-chat\"],\"hideHistory\":[4,\"hide-history\"],\"hideExpand\":[4,\"hide-expand\"],\"hideClose\":[4,\"hide-close\"],\"newChatLabel\":[1,\"new-chat-label\"],\"historyLabel\":[1,\"history-label\"],\"expandLabel\":[1,\"expand-label\"],\"collapseLabel\":[1,\"collapse-label\"],\"closeLabel\":[1,\"close-label\"]}]]],[\"bs-dialog.cjs\",[[769,\"bs-dialog\",{\"open\":[1540],\"heading\":[1],\"closeLabel\":[1,\"close-label\"],\"size\":[1],\"centered\":[516],\"hasFooter\":[32],\"hasImage\":[32],\"hasIcon\":[32]},[[4,\"keydown\",\"onKeydown\"],[4,\"focusin\",\"onFocusIn\"]]]]],[\"bs-file-upload.cjs\",[[769,\"bs-file-upload\",{\"direction\":[513],\"heading\":[1],\"description\":[1],\"buttonLabel\":[1,\"button-label\"],\"accept\":[1],\"multiple\":[4],\"disabled\":[516],\"dragging\":[1540]}]]],[\"bs-message.cjs\",[[769,\"bs-message\",{\"role\":[513],\"timestamp\":[1],\"datetime\":[1],\"status\":[513]}]]],[\"bs-message-list.cjs\",[[769,\"bs-message-list\",{\"scrollToLatestLabel\":[1,\"scroll-to-latest-label\"],\"showScrollButton\":[32],\"scrollToLatest\":[64]}]]],[\"bs-navigation-drawer.cjs\",[[769,\"bs-navigation-drawer\",{\"heading\":[1],\"collapsible\":[4],\"collapseLabel\":[1,\"collapse-label\"],\"expandLabel\":[1,\"expand-label\"],\"searchLabel\":[1,\"search-label\"],\"collapsed\":[1540],\"logoBackground\":[1,\"logo-background\"],\"showLogo\":[4,\"show-logo\"],\"open\":[1540],\"mobile\":[32]},[[4,\"keydown\",\"onDocumentKeydown\"],[4,\"focusin\",\"onDocumentFocusIn\"]],{\"collapsed\":[{\"onCollapsedChange\":0}],\"mobile\":[{\"onMobileChange\":0}],\"open\":[{\"onOpenChange\":0}]}]]],[\"bs-navigation-header.cjs\",[[769,\"bs-navigation-header\",{\"alignment\":[1],\"ariaLabel\":[1,\"aria-label\"],\"skipToContentHref\":[1,\"skip-to-content-href\"],\"skipToContentLabel\":[1,\"skip-to-content-label\"],\"logoBackground\":[1,\"logo-background\"]}]]],[\"bs-side-panel.cjs\",[[769,\"bs-side-panel\",{\"open\":[1540],\"heading\":[1],\"side\":[513],\"closeLabel\":[1,\"close-label\"],\"overlay\":[516]},null,{\"open\":[{\"onOpenChange\":0}],\"overlay\":[{\"onOverlayChange\":0}]}]]],[\"bs-stack.cjs\",[[769,\"bs-stack\",{\"direction\":[513],\"gap\":[1],\"align\":[513],\"justify\":[513],\"wrap\":[516],\"divider\":[516],\"itemCount\":[32]},null,{\"divider\":[{\"dividerChanged\":0}]}]]],[\"bs-tooltip-trigger.cjs\",[[769,\"bs-tooltip-trigger\",{\"text\":[1],\"delay\":[2],\"placement\":[513],\"visible\":[32]}]]],[\"bs-accordion.cjs\",[[769,\"bs-accordion\",{\"expanded\":[516],\"size\":[1],\"disabled\":[4],\"showIcon\":[4,\"show-icon\"],\"showPreview\":[4,\"show-preview\"]}]]],[\"bs-accordion-group.cjs\",[[769,\"bs-accordion-group\",{\"multiple\":[4]},[[0,\"bsToggle\",\"onToggle\"]]]]],[\"bs-ai-disclaimer.cjs\",[[257,\"bs-ai-disclaimer\"]]],[\"bs-ai-greeting.cjs\",[[513,\"bs-ai-greeting\",{\"assistantName\":[1,\"assistant-name\"],\"productName\":[1,\"product-name\"]}]]],[\"bs-ai-thinking.cjs\",[[513,\"bs-ai-thinking\",{\"label\":[1]}]]],[\"bs-app-shell.cjs\",[[769,\"bs-app-shell\",{\"fullHeight\":[516,\"full-height\"]}]]],[\"bs-attachment-list.cjs\",[[769,\"bs-attachment-list\",{\"ariaLabel\":[1,\"aria-label\"],\"canScrollRight\":[32]}]]],[\"bs-badge.cjs\",[[769,\"bs-badge\",{\"variant\":[1]}]]],[\"bs-breadcrumb.cjs\",[[769,\"bs-breadcrumb\",{\"href\":[1],\"current\":[516],\"size\":[513]}]]],[\"bs-breadcrumbs.cjs\",[[769,\"bs-breadcrumbs\",{\"label\":[1],\"size\":[1]},null,{\"size\":[{\"onSizeChange\":0}]}]]],[\"bs-button-skeleton.cjs\",[[513,\"bs-button-skeleton\",{\"size\":[1],\"loadingLabel\":[1,\"loading-label\"]}]]],[\"bs-chatbot-feedback.cjs\",[[513,\"bs-chatbot-feedback\",{\"rating\":[1538],\"submitted\":[1540],\"comment\":[1025],\"closeLabel\":[1,\"close-label\"],\"commentLabel\":[1,\"comment-label\"],\"commentPlaceholder\":[1,\"comment-placeholder\"],\"submitLabel\":[1,\"submit-label\"],\"newChatLabel\":[1,\"new-chat-label\"],\"ratingLabel\":[1,\"rating-label\"],\"starLabel\":[1,\"star-label\"],\"starsLabel\":[1,\"stars-label\"],\"heading\":[1],\"subtitle\":[1]}]]],[\"bs-chatbot-response-action.cjs\",[[769,\"bs-chatbot-response-action\",{\"sourcesCount\":[2,\"sources-count\"],\"menuOpen\":[1540,\"menu-open\"],\"liked\":[516],\"disliked\":[516],\"hideRegenerate\":[4,\"hide-regenerate\"],\"likeLabel\":[1,\"like-label\"],\"dislikeLabel\":[1,\"dislike-label\"],\"copyLabel\":[1,\"copy-label\"],\"regenerateLabel\":[1,\"regenerate-label\"],\"menuLabel\":[1,\"menu-label\"],\"sourceLabel\":[1,\"source-label\"],\"sourcesLabel\":[1,\"sources-label\"]},[[4,\"click\",\"onDocumentClick\"],[4,\"keydown\",\"onKeydown\"]]]]],[\"bs-chatbot-sources-drawer.cjs\",[[769,\"bs-chatbot-sources-drawer\",{\"heading\":[1],\"collapseLabel\":[1,\"collapse-label\"],\"count\":[2],\"slottedCount\":[32]}]]],[\"bs-chatbot-suggestion-button.cjs\",[[769,\"bs-chatbot-suggestion-button\",{\"disabled\":[4]}]]],[\"bs-checkbox.cjs\",[[849,\"bs-checkbox\",{\"name\":[513],\"value\":[1],\"required\":[4],\"size\":[1],\"checked\":[1540],\"indeterminate\":[1540],\"disabled\":[516],\"error\":[4],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}],\"required\":[{\"syncFormValue\":0}],\"indeterminate\":[{\"onIndeterminateChange\":0}]}]]],[\"bs-checkbox-skeleton.cjs\",[[513,\"bs-checkbox-skeleton\",{\"size\":[1],\"loadingLabel\":[1,\"loading-label\"]}]]],[\"bs-chip-filter.cjs\",[[785,\"bs-chip-filter\",{\"size\":[1],\"selected\":[516],\"dropdown\":[4],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32]}]]],[\"bs-chip-input.cjs\",[[785,\"bs-chip-input\",{\"size\":[1],\"removeLabel\":[1,\"remove-label\"],\"selected\":[1540],\"disabled\":[516],\"hasIcon\":[32],\"labelText\":[32]}]]],[\"bs-composer.cjs\",[[785,\"bs-composer\",{\"variant\":[1],\"placeholder\":[1],\"value\":[1025],\"state\":[513],\"ariaLabel\":[1,\"aria-label\"],\"loading\":[4],\"maxLength\":[2,\"max-length\"],\"hideAttach\":[4,\"hide-attach\"],\"hideMic\":[4,\"hide-mic\"],\"attachLabel\":[1,\"attach-label\"],\"micLabel\":[1,\"mic-label\"],\"stopRecordingLabel\":[1,\"stop-recording-label\"],\"sendLabel\":[1,\"send-label\"],\"stopLabel\":[1,\"stop-label\"],\"confirmLabel\":[1,\"confirm-label\"],\"hasAttachments\":[32]}]]],[\"bs-composer-status-banner.cjs\",[[769,\"bs-composer-status-banner\",{\"type\":[1],\"message\":[1],\"showIcon\":[4,\"show-icon\"],\"showButton\":[4,\"show-button\"],\"actionLabel\":[1,\"action-label\"],\"loading\":[4],\"closeLabel\":[1,\"close-label\"],\"allowClose\":[4,\"allow-close\"]}]]],[\"bs-container.cjs\",[[769,\"bs-container\",{\"size\":[513],\"padding\":[1]}]]],[\"bs-data-table.cjs\",[[513,\"bs-data-table\",{\"columns\":[16],\"rows\":[16],\"sortColumn\":[1,\"sort-column\"],\"sortDirection\":[1,\"sort-direction\"],\"selectAllLabel\":[1,\"select-all-label\"],\"selectable\":[4],\"cellRenderer\":[16],\"selectedIds\":[32],\"clearSelection\":[64]}]]],[\"bs-grid.cjs\",[[769,\"bs-grid\",{\"columns\":[513],\"gap\":[513],\"rowGap\":[513,\"row-gap\"],\"columnGap\":[513,\"column-gap\"],\"minColumnWidth\":[513,\"min-column-width\"],\"align\":[513]}]]],[\"bs-inline-tab.cjs\",[[769,\"bs-inline-tab\",{\"selected\":[516],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32]}]]],[\"bs-list.cjs\",[[769,\"bs-list\",{\"selectable\":[4],\"value\":[1537],\"dividers\":[516],\"ariaLabel\":[1,\"aria-label\"]},[[0,\"bsItemClick\",\"onItemClick\"],[0,\"keydown\",\"onKeyDown\"]],{\"value\":[{\"onChange\":0}],\"selectable\":[{\"onChange\":0}]}]]],[\"bs-list-item.cjs\",[[769,\"bs-list-item\",{\"label\":[1],\"description\":[1],\"supportText\":[1,\"support-text\"],\"selected\":[1540],\"disabled\":[516],\"showArrow\":[4,\"show-arrow\"],\"value\":[1],\"interactive\":[516],\"selectionRole\":[1,\"selection-role\"],\"hasLeading\":[32],\"hasTrailing\":[32],\"hasDefault\":[32]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"onKeyDown\"]]]]],[\"bs-navigation-drawer-item.cjs\",[[769,\"bs-navigation-drawer-item\",{\"selected\":[516],\"expandable\":[4],\"expanded\":[1540],\"nested\":[4],\"ariaLabel\":[1,\"aria-label\"],\"collapsed\":[516],\"hasIcon\":[32]}]]],[\"bs-popover.cjs\",[[769,\"bs-popover\",{\"open\":[1540],\"placement\":[513]},null,{\"open\":[{\"onOpenChange\":0}],\"placement\":[{\"onPlacementChange\":0}]}]]],[\"bs-radio.cjs\",[[849,\"bs-radio\",{\"name\":[513],\"value\":[1],\"checked\":[1540],\"disabled\":[516],\"groupHasChecked\":[32]},[[4,\"bsChange\",\"onAnyRadioChange\"]],{\"checked\":[{\"onCheckedChange\":0}],\"value\":[{\"onCheckedChange\":0}]}]]],[\"bs-skeleton.cjs\",[[513,\"bs-skeleton\",{\"variant\":[1],\"width\":[1],\"height\":[1],\"lines\":[2],\"animated\":[4],\"label\":[1]}]]],[\"bs-slider.cjs\",[[593,\"bs-slider\",{\"type\":[1],\"name\":[513],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"value\":[1026],\"valueStart\":[1026,\"value-start\"],\"valueEnd\":[1026,\"value-end\"],\"segments\":[2],\"disabled\":[516],\"startValueLabel\":[1,\"start-value-label\"],\"endValueLabel\":[1,\"end-value-label\"],\"ariaLabel\":[1,\"aria-label\"]},null,{\"value\":[{\"syncFormValue\":0}],\"valueStart\":[{\"syncFormValue\":0}],\"valueEnd\":[{\"syncFormValue\":0}],\"type\":[{\"syncFormValue\":0}]}]]],[\"bs-spinner.cjs\",[[513,\"bs-spinner\",{\"size\":[1],\"label\":[1]}]]],[\"bs-split-pane.cjs\",[[769,\"bs-split-pane\",{\"orientation\":[513],\"collapsed\":[1540],\"resizable\":[4],\"dividerLabel\":[1,\"divider-label\"],\"step\":[2],\"paneCount\":[32],\"sizes\":[32],\"draggingIndex\":[32],\"toggleCollapsed\":[64]}]]],[\"bs-stepper.cjs\",[[769,\"bs-stepper\",{\"currentStep\":[2,\"current-step\"],\"direction\":[513],\"showDescription\":[4,\"show-description\"]},null,{\"currentStep\":[{\"onPropChange\":0}],\"direction\":[{\"onPropChange\":0}],\"showDescription\":[{\"onPropChange\":0}]}]]],[\"bs-stepper-step.cjs\",[[513,\"bs-stepper-step\",{\"name\":[1],\"description\":[1],\"error\":[4],\"disabled\":[4],\"computedState\":[1,\"computed-state\"],\"direction\":[1],\"showDescription\":[4,\"show-description\"]}]]],[\"bs-toast.cjs\",[[769,\"bs-toast\",{\"state\":[1],\"dismissLabel\":[1,\"dismiss-label\"]}]]],[\"bs-tree.cjs\",[[769,\"bs-tree\",{\"ariaLabel\":[1,\"aria-label\"],\"value\":[1537],\"selectable\":[4],\"expandAll\":[64],\"collapseAll\":[64]},[[0,\"bsSelect\",\"onItemSelect\"],[0,\"focusin\",\"onFocusIn\"],[0,\"keydown\",\"onKeyDown\"]],{\"value\":[{\"onValueChange\":0}]}]]],[\"bs-tree-item.cjs\",[[769,\"bs-tree-item\",{\"label\":[1],\"expanded\":[1540],\"selected\":[516],\"disabled\":[516],\"showIcon\":[4,\"show-icon\"],\"value\":[1],\"level\":[32],\"hasChildren\":[32],\"setExpanded\":[64]}]]],[\"bs-snackbar.cjs\",[[769,\"bs-snackbar\",{\"variant\":[1],\"loading\":[4],\"actionLabel\":[1,\"action-label\"],\"actionVariant\":[1,\"action-variant\"],\"hideClose\":[4,\"hide-close\"]}]]],[\"bs-avatar.cjs\",[[513,\"bs-avatar\",{\"type\":[1],\"size\":[1],\"initials\":[1],\"src\":[1],\"alt\":[1],\"ariaLabel\":[1,\"aria-label\"],\"disabled\":[516]}]]],[\"bs-divider.cjs\",[[513,\"bs-divider\",{\"orientation\":[513],\"variant\":[513],\"inset\":[513],\"decorative\":[516]}]]],[\"bs-pagination.cjs\",[[513,\"bs-pagination\",{\"totalPages\":[2,\"total-pages\"],\"currentPage\":[1538,\"current-page\"],\"siblingCount\":[2,\"sibling-count\"],\"navLabel\":[1,\"nav-label\"],\"pageLabel\":[1,\"page-label\"],\"previousLabel\":[1,\"previous-label\"],\"nextLabel\":[1,\"next-label\"]}]]],[\"bs-source-link.cjs\",[[769,\"bs-source-link\",{\"fileName\":[1,\"file-name\"],\"sourceName\":[1,\"source-name\"],\"version\":[1],\"href\":[1],\"target\":[1]}]]],[\"bs-logo.cjs\",[[513,\"bs-logo\",{\"variant\":[1],\"background\":[1],\"src\":[1],\"alt\":[1]}]]],[\"bs-progress.cjs\",[[513,\"bs-progress\",{\"type\":[1],\"size\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"bs-switch.cjs\",[[849,\"bs-switch\",{\"name\":[513],\"value\":[1],\"size\":[1],\"checked\":[1540],\"disabled\":[516],\"ariaLabel\":[1,\"aria-label\"]},null,{\"checked\":[{\"syncFormValue\":0}],\"value\":[{\"syncFormValue\":0}]}]]],[\"bs-tooltip.cjs\",[[769,\"bs-tooltip\",{\"placement\":[1]}]]],[\"bs-chip-informative.cjs\",[[769,\"bs-chip-informative\",{\"color\":[1],\"size\":[1],\"disabled\":[516],\"hasIcon\":[32]}]]],[\"bs-tab_3.cjs\",[[769,\"bs-whats-new-entry\",{\"tag\":[1],\"tagColor\":[1,\"tag-color\"],\"date\":[1],\"unread\":[516],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"description\":[1],\"actionLabel\":[1,\"action-label\"],\"divider\":[4],\"unreadLabel\":[1,\"unread-label\"],\"hasImage\":[32]}],[769,\"bs-tab\",{\"selected\":[516],\"disabled\":[4],\"iconPosition\":[1,\"icon-position\"],\"ariaLabel\":[1,\"aria-label\"],\"value\":[513],\"tabbable\":[4],\"hasIcon\":[32],\"hasLabel\":[32],\"hasBadge\":[32]}],[769,\"bs-tabs\",{\"type\":[1],\"orientation\":[1],\"value\":[1537]},[[0,\"bsSelect\",\"onTabSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"value\":[{\"onValueChange\":0}],\"orientation\":[{\"syncRovingTabindex\":0}]}]]],[\"bs-progress-linear.cjs\",[[769,\"bs-progress-linear\",{\"type\":[1],\"size\":[1],\"value\":[2],\"showLabel\":[4,\"show-label\"],\"ariaLabel\":[1,\"aria-label\"],\"hasLabelContent\":[32]}]]],[\"bs-icon-tile.cjs\",[[769,\"bs-icon-tile\",{\"size\":[513],\"intent\":[513],\"label\":[1],\"hasCustomIcon\":[32],\"hasText\":[32]}]]],[\"bs-card.cjs\",[[769,\"bs-card\",{\"surface\":[513],\"hasImage\":[32]}]]],[\"bs-icon-button.cjs\",[[849,\"bs-icon-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"]}]]],[\"bs-input_3.cjs\",[[849,\"bs-input\",{\"name\":[513],\"value\":[1025],\"showPasswordLabel\":[1,\"show-password-label\"],\"hidePasswordLabel\":[1,\"hide-password-label\"],\"incrementLabel\":[1,\"increment-label\"],\"decrementLabel\":[1,\"decrement-label\"],\"type\":[1],\"label\":[1],\"placeholder\":[1],\"description\":[1],\"error\":[1],\"disabled\":[516],\"required\":[4],\"step\":[2],\"min\":[2],\"max\":[2],\"options\":[16],\"rows\":[2],\"chips\":[16],\"titleOptions\":[16],\"initialsTitle\":[1,\"initials-title\"],\"countryOptions\":[16],\"country\":[1],\"length\":[2],\"open\":[1540],\"hasIcon\":[32],\"hasEndIcon\":[32],\"passwordVisible\":[32],\"chipDraft\":[32]},[[0,\"keydown\",\"onHostKeydown\"],[0,\"focusout\",\"onHostFocusOut\"]],{\"value\":[{\"onFormStateChange\":0}],\"type\":[{\"onFormStateChange\":0}],\"chips\":[{\"onFormStateChange\":0}],\"required\":[{\"onFormStateChange\":0}]}],[769,\"bs-menu-item\",{\"disabled\":[4],\"hasIcon\":[32]}],[257,\"bs-menu\",null,[[0,\"keydown\",\"onKeyDown\"]]]]],[\"bs-button.cjs\",[[849,\"bs-button\",{\"variant\":[1],\"size\":[1],\"disabled\":[4],\"type\":[1],\"ariaLabel\":[1,\"aria-label\"],\"hasIcon\":[32],\"hasEndIcon\":[32],\"hasLabel\":[32]}]]]]"), options);
22
22
  });
23
23
 
24
24
  exports.setNonce = index.setNonce;
@@ -69,7 +69,7 @@ const BsInlineTab = class {
69
69
  };
70
70
  render() {
71
71
  const iconOnly = this.hasIcon && !this.hasLabel;
72
- return (index.h("button", { key: '4b8df7a5f37f0aad60679cbdd3bd03cb20482ba7', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("span", { key: '037cdaae4331e050b5c02083d1776bb5509ff92b', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, index.h("slot", { key: '3b67b01e65434c35545fc9f06dab7bb871362001', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'd41611429e951d13df23521f938217716f2afacd', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, index.h("slot", { key: '8ea82e8ecc120c9961b8288a1162ec03ac0223bf', onSlotchange: this.onLabelSlotchange }))));
72
+ return (index.h("button", { key: 'f1e23c86e704fca62991ceaf662a93aae674728f', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("span", { key: '67bcaa27f2e31e9fe6e96b7c76282c007ae26645', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, index.h("slot", { key: '207eb1515e056ed6d84ecf6a88e33e1c0d36b5d6', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'bb75375e4cadbcfb27b56ff27df160ad5537b97f', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, index.h("slot", { key: 'f0b7ff382a8b2d5427def19194a19a18ca057821', onSlotchange: this.onLabelSlotchange }))));
73
73
  }
74
74
  };
75
75
  BsInlineTab.style = bsInlineTabCss();
@@ -422,7 +422,7 @@ const BsMenu = class {
422
422
  items[next].shadowRoot?.querySelector('button')?.focus();
423
423
  }
424
424
  render() {
425
- return (index.h("div", { key: 'e886c7df63af6d741175aa81bc6390be600e371b', part: "list", class: "bs-menu", role: "menu" }, index.h("slot", { key: '365eae17c25fd6a3cc69c9ff01a28ce81eca11f8' })));
425
+ return (index.h("div", { key: '0477b2c9c46e8f5e325cac9a4dbaab8bc750643b', part: "list", class: "bs-menu", role: "menu" }, index.h("slot", { key: 'e1c588bc649544c797b657dd0d5262415e5a60a4' })));
426
426
  }
427
427
  };
428
428
  BsMenu.style = bsMenuCss();
@@ -451,7 +451,7 @@ const BsMenuItem = class {
451
451
  this.bsSelect.emit();
452
452
  };
453
453
  render() {
454
- return (index.h("button", { key: '2d4a54df61b047dab4531362aee81f5d9728818b', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, index.h("span", { key: '5ddaa17999d79962d279b927d659f592a2dccc81', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, index.h("slot", { key: '41033aa1950751d8565eec3d04af3570120cda58', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'eb077b5082815adee640c53fa4396cccf1d81cad', part: "label", class: "bs-menu-item__label" }, index.h("slot", { key: 'cfb15ca71fd157aebfb0380e2eaac791bd50b051' }))));
454
+ return (index.h("button", { key: 'dc11eb96712a008d318aa3c4220202ecd7b7ce32', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, index.h("span", { key: 'f38f1192079cd6ddc68035f649f09c6afa2fe3d5', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, index.h("slot", { key: '2d49ecdd471e752267543323b637466af12dbd58', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '947b88175af07b7523d38786224c6e77b76de4ae', part: "label", class: "bs-menu-item__label" }, index.h("slot", { key: 'c564ce8f13882cc33f58fc45d7f8a6ddfc86f31d' }))));
455
455
  }
456
456
  };
457
457
  BsMenuItem.style = bsMenuItemCss();
@@ -0,0 +1,66 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BYfMRtlW.js');
4
+
5
+ const bsListItemCss = () => `:host{display:block;width:100%;box-sizing:border-box;outline:none;color:var(--bs-list-item-color);--bs-list-item-min-height:var(--bs-spacing-1000);--bs-list-item-padding-y:var(--bs-spacing-150);--bs-list-item-padding-x:var(--bs-spacing-200);--bs-list-item-gap:var(--bs-spacing-200);--bs-list-item-content-gap:var(--bs-spacing-25);--bs-list-item-radius:var(--bs-border-radius-100);--bs-list-item-bg:transparent;--bs-list-item-bg-hover:var(--bs-surface-hover);--bs-list-item-bg-pressed:var(--bs-surface-pressed);--bs-list-item-bg-focus:var(--bs-surface-focus);--bs-list-item-bg-selected:var(--bs-surface-selected);--bs-list-item-bg-selected-hover:var(--bs-surface-selected-hover);--bs-list-item-bg-selected-pressed:var(--bs-surface-selected-pressed);--bs-list-item-bg-selected-focus:var(--bs-surface-selected-focus);--bs-list-item-bg-disabled:var(--bs-surface-action-disabled);--bs-list-item-color:var(--bs-text-default);--bs-list-item-color-disabled:var(--bs-text-on-disabled);--bs-list-item-focus-ring:var(--bs-border-neutral-focus);--bs-list-item-image-width:72px;--bs-list-item-image-height:56px}.bs-list-item{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-list-item-gap);width:100%;min-height:var(--bs-list-item-min-height);padding:var(--bs-list-item-padding-y) var(--bs-list-item-padding-x);border-radius:var(--bs-list-item-radius);overflow:clip;background:var(--bs-list-item-bg);color:var(--bs-list-item-color);font-family:inherit;font-size:var(--bs-font-size-md);line-height:calc(var(--bs-line-height-body-md) * 1px);transition:background-color var(--bs-duration-fast) var(--bs-easing-standard)}:host([selected]) .bs-list-item{background:var(--bs-list-item-bg-selected)}:host(.bs-list-item--interactive){cursor:pointer}:host(.bs-list-item--interactive:hover) .bs-list-item{background:var(--bs-list-item-bg-hover)}:host(.bs-list-item--interactive[selected]:hover) .bs-list-item{background:var(--bs-list-item-bg-selected-hover)}:host(.bs-list-item--interactive:active) .bs-list-item{background:var(--bs-list-item-bg-pressed)}:host(.bs-list-item--interactive[selected]:active) .bs-list-item{background:var(--bs-list-item-bg-selected-pressed)}:host(:focus-visible) .bs-list-item{background:var(--bs-list-item-bg-focus);outline:2px solid var(--bs-list-item-focus-ring);outline-offset:2px}:host([selected]:focus-visible) .bs-list-item{background:var(--bs-list-item-bg-selected-focus)}:host([disabled]){color:var(--bs-list-item-color-disabled);cursor:default}:host([disabled]) .bs-list-item{background:var(--bs-list-item-bg-disabled);color:var(--bs-list-item-color-disabled)}:host([disabled]) ::slotted(img),:host([disabled]) ::slotted(bs-avatar){opacity:0.5}.bs-list-item__leading{display:none;flex-shrink:0;align-items:center}.bs-list-item__leading--has-content{display:flex}::slotted(img[slot='leading']){display:block;width:var(--bs-list-item-image-width);height:var(--bs-list-item-image-height);border-radius:var(--bs-border-radius-100);object-fit:cover}::slotted(svg[slot='leading']){width:32px;height:32px}.bs-list-item__content{display:flex;flex-direction:column;gap:var(--bs-list-item-content-gap);flex:1 1 0;min-width:0}.bs-list-item__label{font-weight:var(--bs-font-weight-semibold)}.bs-list-item__description,.bs-list-item__support{font-weight:var(--bs-font-weight-regular)}.bs-list-item__trailing{display:none;flex-shrink:0;align-items:center;height:32px}.bs-list-item__trailing--shown{display:flex}@media (prefers-reduced-motion: reduce){.bs-list-item{transition:none}}`;
6
+
7
+ const BsListItem = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.bsItemClick = index.createEvent(this, "bsItemClick");
11
+ }
12
+ get el() { return index.getElement(this); }
13
+ /** First text line (semibold). */
14
+ label = null;
15
+ /** Second text line (the "paragraph"). */
16
+ description = null;
17
+ /** Optional third text line. */
18
+ supportText = null;
19
+ /** Marks the row as selected. Managed by the parent `bs-list` when it is `selectable`. */
20
+ selected = false;
21
+ /** Disables the row: dimmed, not focusable, no click event. */
22
+ disabled = false;
23
+ /** Shows a trailing caret (unless the `trailing` slot has content). */
24
+ showArrow = false;
25
+ /** Identifies the item; emitted by `bsItemClick` and matched against `bs-list`'s `value`. */
26
+ value = null;
27
+ /** Makes a standalone row a focusable `role="button"` that emits `bsItemClick`. */
28
+ interactive = false;
29
+ /** Set by the parent `bs-list`: `listitem` (plain list) or `option` (selectable list). Do not set by hand. */
30
+ selectionRole = null;
31
+ hasLeading = false;
32
+ hasTrailing = false;
33
+ hasDefault = false;
34
+ /** Fires on click / Enter / Space when the row is interactive and not disabled. Payload is `value`. */
35
+ bsItemClick;
36
+ get isInteractive() {
37
+ return this.selectionRole === 'option' || this.interactive;
38
+ }
39
+ activate() {
40
+ if (this.disabled || !this.isInteractive)
41
+ return;
42
+ this.bsItemClick.emit(this.value);
43
+ }
44
+ onClick() {
45
+ this.activate();
46
+ }
47
+ onKeyDown(ev) {
48
+ if (ev.target !== this.el)
49
+ return;
50
+ if (ev.key === 'Enter' || ev.key === ' ') {
51
+ ev.preventDefault();
52
+ this.activate();
53
+ }
54
+ }
55
+ slotHas = (ev) => ev.target.assignedNodes({ flatten: true }).some(n => n.nodeType === 1 || (n.textContent || '').trim() !== '');
56
+ render() {
57
+ const interactive = this.isInteractive;
58
+ const role = this.selectionRole === 'option' ? 'option' : this.selectionRole === 'listitem' ? 'listitem' : this.interactive ? 'button' : undefined;
59
+ const standaloneFocusable = this.interactive && !this.selectionRole && !this.disabled;
60
+ const showTrailing = this.showArrow || this.hasTrailing;
61
+ return (index.h(index.Host, { key: 'b7e1ad2635a02bace4a6f53a397ac9a70f887b43', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, index.h("div", { key: 'b197e2ef9b36a003fef75d2c47588483b33a63d5', part: "container", class: "bs-list-item" }, index.h("div", { key: '3cdd3bb2bdf76bf4388299e1097b59a8c0902363', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, index.h("slot", { key: 'e4d3e156c25fb8f3063ae6c9de843e1ed60458a1', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), index.h("div", { key: '3a8c79aa044f103d2618333929bfed0cdce870e7', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (index.h("div", { key: 'a0123e4b7663553140f3dd17c95a450edc379bd8', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (index.h("div", { key: '8275c24aed7bda59f7472d8d0ded4e830527009b', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (index.h("div", { key: '06e6ba4b185af790ed46ae362b6aa2cc0376123b', part: "support-text", class: "bs-list-item__support" }, this.supportText)), index.h("slot", { key: '00302f710e6433920cf7bd91730214ebcfccad4d', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), index.h("div", { key: '8c9506c0b3513a2fca1ad62702c7aa9bc118141b', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, index.h("slot", { key: '3a3ec60f0483ba864addd4669ea6d1e6f261bb78', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (index.h("svg", { key: 'cab7a817530222313bec049106a68e622a6b14e2', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'ad794e820e1e36c1f4a22d9aac789a42c25e9056', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
62
+ }
63
+ };
64
+ BsListItem.style = bsListItemCss();
65
+
66
+ exports.bs_list_item = BsListItem;
@@ -0,0 +1,103 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BYfMRtlW.js');
4
+
5
+ const bsListCss = () => `:host{display:block;--bs-list-gap:0;--bs-list-divider-color:var(--bs-border-neutral-container)}.bs-list{display:flex;flex-direction:column;gap:var(--bs-list-gap)}:host([dividers]) ::slotted(bs-list-item:not(:last-child)){border-bottom:1px solid var(--bs-list-divider-color)}`;
6
+
7
+ const BsList = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.bsChange = index.createEvent(this, "bsChange");
11
+ }
12
+ get el() { return index.getElement(this); }
13
+ /** Single-selection mode: role="listbox", rows are `option`s with roving tabindex. */
14
+ selectable = false;
15
+ /** `value` of the selected item (selectable mode). */
16
+ value = null;
17
+ /** Draws a 1px separator between rows. */
18
+ dividers = false;
19
+ /** Accessible name of the list. */
20
+ ariaLabel = null;
21
+ /** Fires with the new `value` when the user changes the selection. */
22
+ bsChange;
23
+ onChange() {
24
+ this.sync();
25
+ }
26
+ componentDidLoad() {
27
+ this.sync();
28
+ }
29
+ items() {
30
+ return Array.from(this.el.children).filter(c => c.tagName === 'BS-LIST-ITEM');
31
+ }
32
+ enabled() {
33
+ return this.items().filter(i => !i.disabled);
34
+ }
35
+ sync() {
36
+ const items = this.items();
37
+ items.forEach(i => {
38
+ i.selectionRole = this.selectable ? 'option' : 'listitem';
39
+ if (this.selectable)
40
+ i.selected = this.value != null && i.value === this.value;
41
+ i.removeAttribute('tabindex');
42
+ });
43
+ if (!this.selectable)
44
+ return;
45
+ const enabled = this.enabled();
46
+ const target = enabled.find(i => i.selected) || enabled[0];
47
+ enabled.forEach(i => i.setAttribute('tabindex', i === target ? '0' : '-1'));
48
+ }
49
+ rove(item) {
50
+ this.enabled().forEach(i => i.setAttribute('tabindex', i === item ? '0' : '-1'));
51
+ }
52
+ onItemClick(ev) {
53
+ if (!this.selectable)
54
+ return;
55
+ const item = ev.target;
56
+ if (item.disabled || !this.items().includes(item))
57
+ return;
58
+ ev.stopPropagation();
59
+ this.rove(item);
60
+ if (this.value === item.value)
61
+ return;
62
+ this.value = item.value;
63
+ this.sync();
64
+ this.rove(item);
65
+ this.bsChange.emit(this.value);
66
+ }
67
+ onKeyDown(ev) {
68
+ if (!this.selectable)
69
+ return;
70
+ const enabled = this.enabled();
71
+ const current = enabled.indexOf(ev.target);
72
+ if (current === -1)
73
+ return;
74
+ let next = -1;
75
+ if (ev.key === 'ArrowDown')
76
+ next = Math.min(current + 1, enabled.length - 1);
77
+ else if (ev.key === 'ArrowUp')
78
+ next = Math.max(current - 1, 0);
79
+ else if (ev.key === 'Home')
80
+ next = 0;
81
+ else if (ev.key === 'End')
82
+ next = enabled.length - 1;
83
+ if (next === -1)
84
+ return;
85
+ ev.preventDefault();
86
+ this.rove(enabled[next]);
87
+ enabled[next].focus();
88
+ }
89
+ render() {
90
+ return (index.h("div", { key: '0f3e4a90f79c77ab2a67e88c4480f0c5785e49eb', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, index.h("slot", { key: '7b5618d45ad58385f3d27565bdfee3e4bb5eac2e', onSlotchange: () => this.sync() })));
91
+ }
92
+ static get watchers() { return {
93
+ "value": [{
94
+ "onChange": 0
95
+ }],
96
+ "selectable": [{
97
+ "onChange": 0
98
+ }]
99
+ }; }
100
+ };
101
+ BsList.style = bsListCss();
102
+
103
+ exports.bs_list = BsList;
@@ -63,7 +63,7 @@ const BsMessageList = class {
63
63
  }
64
64
  };
65
65
  render() {
66
- return (index.h("div", { key: '975306593610d06410c0c0c8486a4a2802c866f1', class: "bs-message-list" }, index.h("div", { key: 'ce773c0fafcbf5491539b05b03970c8d52263f61', part: "viewport", class: "bs-message-list__viewport", role: "log", "aria-live": "polite", tabindex: "0", ref: el => (this.viewport = el), onScroll: this.onScroll }, index.h("slot", { key: 'fdf3265e567c3756c665d007c9117a6de0bf6a8c' })), this.showScrollButton && (index.h("bs-icon-button", { key: 'd7ce5fc99e25bb870eeefb2e89af2fdbb3d6e366', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, index.h("svg", { key: 'a38a17ec2733477935c3a3496451e6c55243b905', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '99af4b6c21da2c66f4a12f395dfaeef7df4b8557', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
66
+ return (index.h("div", { key: 'a45bbcfbce995eedba2fafe705a98d4c972cf1a3', class: "bs-message-list" }, index.h("div", { key: 'b4cec2bee1ada6b76545b2445ba3e63be67203de', part: "viewport", class: "bs-message-list__viewport", role: "log", "aria-live": "polite", tabindex: "0", ref: el => (this.viewport = el), onScroll: this.onScroll }, index.h("slot", { key: '43fe188e8b0d1f7f3d45b9739a09036e2aa5731e' })), this.showScrollButton && (index.h("bs-icon-button", { key: 'b1e695d0ce230ec1c1af4509b3db07bb1a7d0a8f', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, index.h("svg", { key: '5e7ce1017e94b41f5f7f558ecba16ae1d29e5827', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '8ab498f7fec4e09442a2b4e2bec74aafc16435fb', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
67
67
  }
68
68
  };
69
69
  BsMessageList.style = bsMessageListCss();
@@ -93,7 +93,7 @@ const BsNavigationDrawerItem = class {
93
93
  // incorrectly also toggle this parent row on every child click. Both are wrapped in a
94
94
  // `display: contents` container so render() still returns a single root node (this codebase's
95
95
  // convention, e.g. bs-input.tsx) without that wrapper affecting layout at all.
96
- return (index.h("div", { key: '595e07689792695de104ae819850cf9fe6179221', class: "bs-navigation-drawer-item__root" }, index.h("button", { key: 'a8d5ecf7545c167b43e43fc85623d4288bba640c', type: "button", part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (index.h("span", { key: '0b24f46d98af43c8d3fca48fac4236a238ebc8f7', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, index.h("slot", { key: 'a02e510672ff00c251630d7500cabd73fcf4b719', name: "icon", onSlotchange: this.onIconSlotchange }))), index.h("span", { key: 'ce24ac37510ed8b0ee7e2d56fc9113855c3e0b98', part: "label", class: "bs-navigation-drawer-item__label" }, index.h("slot", { key: '28769ab29310980c79fde5d9b21b16365ac33b6b' })), this.expandable && (index.h("span", { key: 'aaf1c341a5d1b067162434a7d3d1544e02a23307', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, index.h(ChevronDownIcon, { key: 'b15b40ce16d85fd9f5050b4815a87f0b3b1dbab3' })))), this.expandable && (index.h("span", { key: '51c9f7d63673e3a6ee1b8045ea88610af3b29ad5', part: "children", class: "bs-navigation-drawer-item__children" }, index.h("slot", { key: '7adc4d5d2f3fc79941881ddc96654c5ef357dc40', name: "children" })))));
96
+ return (index.h("div", { key: '85f2f7433acb876df6c07e8e28180d65267b968d', class: "bs-navigation-drawer-item__root" }, index.h("button", { key: '51efff117f3410556a8bf69bb145354310891ab6', type: "button", part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (index.h("span", { key: 'e118e88762d490ce60445627ba165d478d53e384', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, index.h("slot", { key: '93232818f6c070e5b9f628f93d62d339298a63d5', name: "icon", onSlotchange: this.onIconSlotchange }))), index.h("span", { key: '0aaa3791bed4e8c42646c574ee75e15193257aca', part: "label", class: "bs-navigation-drawer-item__label" }, index.h("slot", { key: '1000297ddcf737d1aac9d57fd62992bcd8698956' })), this.expandable && (index.h("span", { key: 'aaaa08d8c0409cc88183a94a0ac8ef7a38eb420a', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, index.h(ChevronDownIcon, { key: '48436ef0e29ef13d5cf3e7517c04c908c9678934' })))), this.expandable && (index.h("span", { key: '974bcce5691835dd2c0719faf9dd27028e185677', part: "children", class: "bs-navigation-drawer-item__children" }, index.h("slot", { key: '06b88afc18da4e730d2a26ecd51ab1cac77e4f94', name: "children" })))));
97
97
  }
98
98
  };
99
99
  // 16x16 native viewBox (not a 24x24 icon scaled down) -- authored directly at display size, per
@@ -180,11 +180,11 @@ const BsNavigationDrawer = class {
180
180
  };
181
181
  render() {
182
182
  const classes = ['bs-navigation-drawer', this.mobile ? 'bs-navigation-drawer--overlay' : '', this.overlayOpen ? 'bs-navigation-drawer--open' : ''].filter(Boolean).join(' ');
183
- return (index.h(index.Host, { key: 'e1c81adc6e4f1f0bb55d1b041ad7d38cf8f5abe9', "data-overlay": this.mobile ? '' : undefined }, this.mobile && index.h("div", { key: '109355f0d5456ac840dad94a3524626c1c589707', part: "backdrop", class: "bs-navigation-drawer__backdrop", onClick: this.requestClose }), index.h("nav", { key: '4f88360e7b8e01b2e994a0ec2f7bc7f952268e7d', ref: el => (this.navRef = el), class: classes, "aria-label": this.heading,
183
+ return (index.h(index.Host, { key: '42d5e96011b592d6e9059f9013ba880f18eb70c9', "data-overlay": this.mobile ? '' : undefined }, this.mobile && index.h("div", { key: 'a540c7afbaae18f82427f52bb11732db341652fe', part: "backdrop", class: "bs-navigation-drawer__backdrop", onClick: this.requestClose }), index.h("nav", { key: '14ac3fff472e789fb4b7f956f22815c8500d8614', ref: el => (this.navRef = el), class: classes, "aria-label": this.heading,
184
184
  // Stays a plain <nav> landmark in every state: ARIA does not allow role="dialog" on <nav>
185
185
  // (axe: aria-allowed-role). Modality is behavioral -- focus is held inside, the page behind is
186
186
  // scrimmed, Escape closes -- rather than announced through aria-modal.
187
- tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (index.h("div", { key: '92fa952e0f790312893ca7898032e5e03f6a3b40', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--full" }, index.h("bs-logo", { key: '998db3f0da7ff0127f9fff36cf33d8a0978193d4', variant: "full", background: this.logoBackground }))), this.showLogo && (index.h("div", { key: '02372bdeefe1aa3c392b98e9965e228b607d6b2a', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--mark" }, index.h("bs-logo", { key: 'cbe17acf68175e147b5f82fe59fe352519055eb4', variant: "mark", background: this.logoBackground }))), index.h("div", { key: '01d088e11a2d4d98e95a732f61b0eef7eb1710c3', class: "bs-navigation-drawer__title-row" }, index.h("span", { key: '44d0379c380e4b53188d84fc498495e442d2bd11', part: "title", class: "bs-navigation-drawer__title" }, this.heading), this.collapsible && (index.h("button", { key: '591cecfab387cd135ec8973f1578aff0ece7a2a8', type: "button", part: "collapse", class: "bs-navigation-drawer__collapse", "aria-label": this.collapsed ? this.expandLabel : this.collapseLabel, "aria-pressed": this.collapsed ? 'true' : 'false', onClick: this.onCollapseClick }, index.h(CaretLeftIcon, { key: 'e10812b18b0133022e0424771243bbcca4454367' })))), index.h("div", { key: '52083c066c5797cc966f028504b3076265a88e79', part: "search", class: "bs-navigation-drawer__search" }, index.h("slot", { key: '9bb6a36ffb750d2a981dfddb94a39dd008e5c5bf', name: "search" })), index.h("button", { key: '53df19a611aa6c0049a079af9b126b244eff1e1e', type: "button", part: "search-trigger", class: "bs-navigation-drawer__search-trigger", "aria-label": this.searchLabel, onClick: this.onSearchTriggerClick }, index.h(SearchIcon, { key: '034ce5318ab191d4adf5fa37b91d63468e55f6cd' })), index.h("div", { key: 'c292064e09cc60d04b51e38596f4afbe209a2c11', part: "items", class: "bs-navigation-drawer__items" }, index.h("slot", { key: 'f5d8ad27a9aab5f5d9ea83c8c99f52bc2ff5c9d5' })))));
187
+ tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (index.h("div", { key: '967456673797619dfa73899581cab755be52af3b', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--full" }, index.h("bs-logo", { key: 'f549a0ae8684bd3a3769f1804ba75788eab0fdbb', variant: "full", background: this.logoBackground }))), this.showLogo && (index.h("div", { key: '89ae0f3c46e353f7495a0084d79dd053027ef1fe', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--mark" }, index.h("bs-logo", { key: '6f882163691596ddd61663a1f0988a5cc2c070e7', variant: "mark", background: this.logoBackground }))), index.h("div", { key: 'dc69df3f9231cd1108e9fa9cd5c19848cbcb63f7', class: "bs-navigation-drawer__title-row" }, index.h("span", { key: 'ae58f3e70c798282ad337666fbc2e45caa5c641f', part: "title", class: "bs-navigation-drawer__title" }, this.heading), this.collapsible && (index.h("button", { key: 'b44ab95a3631ff984565cfd2c1c37e37e4941bb1', type: "button", part: "collapse", class: "bs-navigation-drawer__collapse", "aria-label": this.collapsed ? this.expandLabel : this.collapseLabel, "aria-pressed": this.collapsed ? 'true' : 'false', onClick: this.onCollapseClick }, index.h(CaretLeftIcon, { key: '75a698b86b7dff676cc161989cc6d7b28805c63f' })))), index.h("div", { key: 'd34097102039aeebb803dc4aba6a1a0fbd8e5dfb', part: "search", class: "bs-navigation-drawer__search" }, index.h("slot", { key: 'b15dede4663c582b609208cbbb84d9cd5b62c2b5', name: "search" })), index.h("button", { key: '39f0d260eb12c28467a507bd37ed5c113a976746', type: "button", part: "search-trigger", class: "bs-navigation-drawer__search-trigger", "aria-label": this.searchLabel, onClick: this.onSearchTriggerClick }, index.h(SearchIcon, { key: '81d77be5b7a36c537096feed0a9ffdc6f3bdfa9f' })), index.h("div", { key: '8b0d86a6a0b5215fa6a076cba11d237af86706b4', part: "items", class: "bs-navigation-drawer__items" }, index.h("slot", { key: '75a1f8fe4eee6f05d70ca8ceb4437fcf7f62f463' })))));
188
188
  }
189
189
  static get watchers() { return {
190
190
  "collapsed": [{