@ganpatiinfo/gids-core-web 21.0.0 → 22.0.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 (103) hide show
  1. package/dist/gids-header-navigation.js +1 -1
  2. package/dist-bundled/es/gids-action-bar.js +5 -5
  3. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  4. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  5. package/dist-bundled/es/gids-bar-chart.js +1 -1
  6. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  7. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  8. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  9. package/dist-bundled/es/gids-calendar.js +6 -6
  10. package/dist-bundled/es/gids-carousel.js +1 -1
  11. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  12. package/dist-bundled/es/gids-chart.js +6 -6
  13. package/dist-bundled/es/gids-chevron-button.js +1 -1
  14. package/dist-bundled/es/gids-dot.js +1 -1
  15. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  16. package/dist-bundled/es/gids-dropdown-picker.js +1 -1
  17. package/dist-bundled/es/gids-dropdown.js +1 -1
  18. package/dist-bundled/es/gids-expansion.js +1 -1
  19. package/dist-bundled/es/gids-field.js +1 -1
  20. package/dist-bundled/es/gids-filter.js +1 -1
  21. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  22. package/dist-bundled/es/gids-header-navigation.js +48 -61
  23. package/dist-bundled/es/gids-icon.js +1 -1
  24. package/dist-bundled/es/gids-input.js +1 -1
  25. package/dist-bundled/es/gids-line-chart.js +1 -1
  26. package/dist-bundled/es/gids-md-table.js +1 -1
  27. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  28. package/dist-bundled/es/gids-password-field.js +4 -4
  29. package/dist-bundled/es/gids-pie-chart.js +1 -1
  30. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  31. package/dist-bundled/es/gids-profile-menu.js +1 -1
  32. package/dist-bundled/es/gids-profile.js +3 -3
  33. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  34. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  35. package/dist-bundled/es/gids-sidebar.js +3 -3
  36. package/dist-bundled/es/gids-text-field.js +4 -4
  37. package/dist-bundled/es/gids-transfer-list.js +3 -3
  38. package/dist-bundled/es/{p--kh67-_Z-BBhYy4ZX.js → p--kh67-_Z-B-vf_gng.js} +3 -3
  39. package/dist-bundled/es/{p-B2flLE0s-UXdlvRVr.js → p-B2flLE0s-SMg7vg1a.js} +1 -1
  40. package/dist-bundled/es/{p-BAqWcL0K-DRjKDzoa.js → p-BAqWcL0K-DNkV1R_C.js} +1 -1
  41. package/dist-bundled/es/{p-BCbovLBE-DfkhIEts.js → p-BCbovLBE-CDxKiOtS.js} +1 -1
  42. package/dist-bundled/es/{p-BIxBMTG9-Bs6G0Wvv.js → p-BIxBMTG9-Ctr342ff.js} +2 -2
  43. package/dist-bundled/es/{p-BQT5yy5L-DhdgFXTM.js → p-BQT5yy5L-C1C_zTi-.js} +1 -1
  44. package/dist-bundled/es/{p-B_FEFM5I-WvEFe7I_.js → p-B_FEFM5I-JoBieRfG.js} +1 -1
  45. package/dist-bundled/es/{p-B_St7yaX-Dq9UwiaA.js → p-B_St7yaX-Da4DWjGh.js} +3 -3
  46. package/dist-bundled/es/{p-CAjDiWIc-BieYBjHk.js → p-CAjDiWIc-C9dOa7FT.js} +1 -1
  47. package/dist-bundled/es/{p-CV1-78HB-DGkn3SPO.js → p-CV1-78HB-C0k_l_CT.js} +1 -1
  48. package/dist-bundled/es/{p-D0RJMGGj-DSjGfUhB.js → p-D0RJMGGj-BflZ9l8y.js} +1 -1
  49. package/dist-bundled/es/{p-DKSnGphd-EpxzqjUA.js → p-DKSnGphd-CZSPfB-N.js} +3 -3
  50. package/dist-bundled/es/{p-DLRj-mUX-B_ACFGx6.js → p-DLRj-mUX-BapdQYpI.js} +1 -1
  51. package/dist-bundled/es/{p-DMxvWIj1-DPw-ITMY.js → p-DMxvWIj1-BxbvrlFL.js} +1 -1
  52. package/dist-bundled/es/{p-DZ1ZcTMe-tnPOECry.js → p-DZ1ZcTMe-W8kofPko.js} +1 -1
  53. package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-Do_VlNHg-Ck03dQOR.js} +1 -1
  54. package/dist-bundled/es/{p-DrxfD2yZ-Juydw__6.js → p-DrxfD2yZ-Cetyr3S9.js} +2 -2
  55. package/dist-bundled/es/{p-Ds5IzXj3-BC_F0-JJ.js → p-Ds5IzXj3-B2o0ML2C.js} +2 -2
  56. package/dist-bundled/es/{p-DzOOjiNH-Wm7KbI3O.js → p-DzOOjiNH-CqI4E-mj.js} +1 -1
  57. package/dist-bundled/es/{p-E13ycS5K-D-yK6pqz.js → p-E13ycS5K-BBDydae3.js} +1 -1
  58. package/dist-bundled/es/{p-TfH966_e-tyxLyzL3.js → p-TfH966_e-BzZRV8Rj.js} +4 -4
  59. package/dist-bundled/es/{p-_W77iniK-DZ9pVDuI.js → p-_W77iniK-ChKfEOp3.js} +1 -1
  60. package/dist-bundled/es/{p-bfWlRsx_-B9hzkHIt.js → p-bfWlRsx_-CNZjBYOE.js} +2 -2
  61. package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
  62. package/dist-bundled/es/{p-kWyyLyT3-DhHcKhR9.js → p-kWyyLyT3-VhX9LNzT.js} +2 -2
  63. package/dist-bundled/es/{p-mv_7K1EM-lPgJqpPI.js → p-mv_7K1EM-U3yKC45e.js} +1 -1
  64. package/dist-bundled/es/{p-tEbUT3n3-CWq8ErgN.js → p-tEbUT3n3-Byef6fQN.js} +2 -2
  65. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  66. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  67. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  68. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  69. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  70. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  71. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  72. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  73. package/dist-bundled/umd/gids-carousel.umd.js +2 -2
  74. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  75. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  76. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  77. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  78. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  79. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  80. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  81. package/dist-bundled/umd/gids-expansion.umd.js +2 -2
  82. package/dist-bundled/umd/gids-field.umd.js +2 -2
  83. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  84. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  85. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  86. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  87. package/dist-bundled/umd/gids-input.umd.js +2 -2
  88. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  89. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  90. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  91. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  92. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  93. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  94. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  95. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  96. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  97. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  98. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  99. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  100. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  101. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  102. package/package.json +5 -5
  103. package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,h as n,c as i}from"./p-B4hcsDH0.js";import{GidsHeaderNavigationWebUtils as s}from"@ganpatiinfo/gids-web-shared";import{G as d}from"./p-iQRr_fAH.js";import{G as h}from"./p-BRNvHMdK.js";import{c as r}from"./p-ChV9xqsO.js";import{d as o}from"./p-B_St7yaX.js";const{getGidsHeaderNavigationClassNames:u}=s,p=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.type="gap",this.selectionType="single-deselection-not-allowed",this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[],this.expandedMenuIdsState=[],this.onNavigationItemPress=({event:e,itemIndex:t})=>{this.handleSelectionsAndExpansions(e),this.onHeaderNavigationItemChange&&this.onHeaderNavigationItemChange({...e,navMenuItemIndex:t})},this.onNavigationMenuItemChange=({event:e,itemIndex:t})=>{e?.menuItemSelected?(this.selectedItemIdsState=[e.itemId],this.selectedMenuItemIdsState=[e.menuItemId]):(this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[]),this.onHeaderNavigationItemChange&&this.onHeaderNavigationItemChange({...e,navMenuItemIndex:t})},this.handleDocumentClick=e=>{!this.expandedMenuIdsState||this.expandedMenuIdsState.length<=0||e.composedPath().includes(this.hostElement)||(this.expandedMenuIdsState=[])},this.handleSelectionsAndExpansions=e=>{this.expandedMenuIdsState=e?.hasMenu&&e?.menuExpanded&&e?.menuId&&""!==e.menuId?[e.menuId]:[],e?.hasMenu||(e?.itemSelected?(this.selectedItemIdsState=[e.itemId],this.selectedMenuItemIdsState=[]):(this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[]))},this.isThisMenuExpanded=e=>{const t=this?.expandedMenuIdsState??[];if(!e||""===e)return!1;if(!t||t.length<=0)return!1;const a=t.findIndex((t=>t===e));return null!=a&&-1!==a},this.isThisNavigationItemSelected=e=>{const t=this?.selectedItemIdsState??[];if(!e||""===e)return!1;if(!t||t.length<=0)return!1;const a=t.findIndex((t=>t===e));return null!=a&&-1!==a},this.getSelectedMenuItemId=()=>{const e=this?.selectedMenuItemIdsState??[];if(e.length>0)return e[0]},this.initializeDefaultSelection=()=>{const e=this?.navMenus??[];if(!this.defaultNavItemId||!e||e.length<=0)return;const t=e.find((e=>e?.id===this.defaultNavItemId));if(!t)return;if(this.selectedItemIdsState=[t.id],this.selectedMenuItemIdsState=[],!this.defaultNavMenuId)return void this.onHeaderNavigationItemChange?.({itemId:t.id,itemSelected:!0,hasMenu:!!t.menuId,menuId:t.menuId,menuExpanded:!1});if(t.menuId!==this.defaultNavMenuId)return;if(!this.defaultNavMenuItemId)return void this.onHeaderNavigationItemChange?.({itemId:t.id,itemSelected:!0,hasMenu:!0,menuId:t.menuId,menuExpanded:!1});const a=t?.menuItems??[];if(a.length<=0)return;let n,i=-1,s=-1;a.some(((e,t)=>{const a=(e?.data??[]).findIndex((e=>e?.id===this.defaultNavMenuItemId));return-1!==a&&(n=e.data[a],i=t,s=a,!0)})),n?(this.selectedItemIdsState=[t.id],this.selectedMenuItemIdsState=[n.id],this.onHeaderNavigationItemChange?.({itemId:t.id,itemLabel:t.label,itemSelected:!0,hasMenu:!0,menuId:t.menuId,menuExpanded:!1,menuItemTitle:n.title,menuItemValue:n.value,menuItemId:n.id,menuItemSectionIndex:i,menuItemIndex:s,menuItemSelected:!0,selectionType:this.selectionType})):this.onHeaderNavigationItemChange?.({itemId:t.id,itemSelected:!0,hasMenu:!0,menuId:t.menuId,menuExpanded:!1})}}appearanceChanged(e){this.appearance=e}selectionAppearanceChanged(e){this.selectionAppearance=e}borderRadiusChanged(e){this.borderRadius=e}shadowChanged(e){this.applyShadow=e}sizeChanged(e){this.size=e}separatorsChanged(e){this.applySeparators=e}modeChanged(e){this.mode=e}defaultNavItemIdChanged(){this.initializeDefaultSelection()}defaultNavMenuIdChanged(){this.initializeDefaultSelection()}defaultNavMenuItemIdChanged(){this.initializeDefaultSelection()}navMenusChanged(e){this.navMenus=e,this.initializeDefaultSelection()}typeChanged(e){this.type=e}connectedCallback(){}componentWillLoad(){this.initializeDefaultSelection()}componentDidLoad(){document.addEventListener("click",this.handleDocumentClick)}disconnectedCallback(){document.removeEventListener("click",this.handleDocumentClick)}render(){const e=this?.appearance??"default",t=this?.selectionAppearance??"default",a=this?.applyShadow??!1,s=this?.applySeparators??!1,o=this?.borderRadius??"none",p=this?.mode??"wrap",m=this?.type??"gap",l=this?.size??"md",c=this?.navMenus??[],g=this?.selectionType??"single-deselection-not-allowed",I=u({mode:p,type:m});return n(i,{key:"4c2f041f0778abfa694bf7afb03d78fc42461f90",class:I},c.map(((i,u)=>n("div",{key:""+(u+1),class:r("gids-header-navigation__item-container-gap",{"gids-header-navigation__item-container-standard":"standard"===m})},n("gids-header-navigation-item",{...i,id:i.id,menuId:i?.menuId,menuItems:i?.menuItems??[],label:i?.label,size:l,appearance:e,selectionAppearance:t,applyShadow:a,borderRadius:o,expanded:this.isThisMenuExpanded(i?.menuId),selected:this.isThisNavigationItemSelected(i?.id),selectedMenuItemId:this.getSelectedMenuItemId(),selectionType:g,onPressNavigationItem:e=>this.onNavigationItemPress({event:e,itemIndex:u}),onMenuItemChange:e=>this.onNavigationMenuItemChange({event:e,itemIndex:u})},i?.leadingIconName&&"(none)"!==i.leadingIconName?n(d,{slot:"headerNavItemLeadingIcon",name:i.leadingIconName,size:"xl"!==l?l:"lg",alt:"",appearance:"regular"}):void 0),s&&u<c.length-1?n(h,{orientation:"vertical"}):void 0))))}get hostElement(){return this}static get watchers(){return{appearance:[{appearanceChanged:0}],selectionAppearance:[{selectionAppearanceChanged:0}],borderRadius:[{borderRadiusChanged:0}],applyShadow:[{shadowChanged:0}],size:[{sizeChanged:0}],applySeparators:[{separatorsChanged:0}],mode:[{modeChanged:0}],defaultNavItemId:[{defaultNavItemIdChanged:0}],defaultNavMenuId:[{defaultNavMenuIdChanged:0}],defaultNavMenuItemId:[{defaultNavMenuItemIdChanged:0}],navMenus:[{navMenusChanged:0}],type:[{typeChanged:0}]}}static get style(){return".gids-header-navigation{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-gap{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-standard{gap:var(--gids-gap-0)}.gids-header-navigation--type-standard{gap:var(--gids-gap-0)}"}},[0,"gids-header-navigation",{appearance:[1],selectionAppearance:[1,"selection-appearance"],type:[1],selectionType:[1,"selection-type"],defaultNavItemId:[1,"default-nav-item-id"],defaultNavMenuId:[1,"default-nav-menu-id"],defaultNavMenuItemId:[1,"default-nav-menu-item-id"],applyShadow:[4,"apply-shadow"],applySeparators:[4,"apply-separators"],borderRadius:[1,"border-radius"],mode:[1],size:[1],navMenus:[16],onHeaderNavigationItemChange:[16],selectedItemIdsState:[32],selectedMenuItemIdsState:[32],expandedMenuIdsState:[32]},void 0,{appearance:[{appearanceChanged:0}],selectionAppearance:[{selectionAppearanceChanged:0}],borderRadius:[{borderRadiusChanged:0}],applyShadow:[{shadowChanged:0}],size:[{sizeChanged:0}],applySeparators:[{separatorsChanged:0}],mode:[{modeChanged:0}],defaultNavItemId:[{defaultNavItemIdChanged:0}],defaultNavMenuId:[{defaultNavMenuIdChanged:0}],defaultNavMenuItemId:[{defaultNavMenuItemIdChanged:0}],navMenus:[{navMenusChanged:0}],type:[{typeChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["gids-header-navigation","gids-header-navigation-item"].forEach((t=>{switch(t){case"gids-header-navigation":customElements.get(e(t))||customElements.define(e(t),p);break;case"gids-header-navigation-item":customElements.get(e(t))||o()}}))}m();const l=p,c=m;export{l as GidsHeaderNavigation,c as defineCustomElement}
1
+ import{t as e,p as a,H as t,h as n,c as s}from"./p-B4hcsDH0.js";import{GidsHeaderNavigationWebUtils as i}from"@ganpatiinfo/gids-web-shared";import{G as d}from"./p-iQRr_fAH.js";import{G as h}from"./p-BRNvHMdK.js";import{c as r}from"./p-ChV9xqsO.js";import{d as o}from"./p-B_St7yaX.js";const{getGidsHeaderNavigationClassNames:p}=i,g=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.type="gap",this.selectionType="single-deselection-not-allowed",this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[],this.expandedMenuIdsState=[],this.onNavigationItemPress=({event:e,itemIndex:a})=>{this.handleSelectionsAndExpansions(e),this.onHeaderNavigationItemChange&&this.onHeaderNavigationItemChange({...e,navMenuItemIndex:a})},this.onNavigationMenuItemChange=({event:e,itemIndex:a})=>{e?.menuItemSelected?(this.selectedItemIdsState=[e.itemId],this.selectedMenuItemIdsState=[e.menuItemId]):(this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[]),this.onHeaderNavigationItemChange&&this.onHeaderNavigationItemChange({...e,navMenuItemIndex:a})},this.handleDocumentClick=e=>{!this.expandedMenuIdsState||this.expandedMenuIdsState.length<=0||e.composedPath().includes(this.hostElement)||(this.expandedMenuIdsState=[])},this.handleSelectionsAndExpansions=e=>{this.expandedMenuIdsState=e?.hasMenu&&e?.menuExpanded&&e?.menuId&&""!==e.menuId?[e.menuId]:[],e?.hasMenu||(e?.itemSelected?(this.selectedItemIdsState=[e.itemId],this.selectedMenuItemIdsState=[]):(this.selectedItemIdsState=[],this.selectedMenuItemIdsState=[]))},this.isThisMenuExpanded=e=>{const a=this?.expandedMenuIdsState??[];if(!e||""===e)return!1;if(!a||a.length<=0)return!1;const t=a.findIndex((a=>a===e));return null!=t&&-1!==t},this.isThisNavigationItemSelected=e=>{const a=this?.selectedItemIdsState??[];if(!e||""===e)return!1;if(!a||a.length<=0)return!1;const t=a.findIndex((a=>a===e));return null!=t&&-1!==t},this.getSelectedMenuItemId=()=>{const e=this?.selectedMenuItemIdsState??[];if(e.length>0)return e[0]},this.initializeDefaultSelection=()=>{this.selectedItemIdsState=this?.defaultNavItemId?[this.defaultNavItemId]:[],this.selectedMenuItemIdsState=this?.defaultNavMenuItemId?[this.defaultNavMenuItemId]:[]}}appearanceChanged(e){this.appearance=e}selectionAppearanceChanged(e){this.selectionAppearance=e}borderRadiusChanged(e){this.borderRadius=e}shadowChanged(e){this.applyShadow=e}sizeChanged(e){this.size=e}separatorsChanged(e){this.applySeparators=e}modeChanged(e){this.mode=e}defaultNavItemIdChanged(){this.initializeDefaultSelection()}defaultNavMenuIdChanged(){this.initializeDefaultSelection()}defaultNavMenuItemIdChanged(){this.initializeDefaultSelection()}navMenusChanged(e){this.navMenus=e,this.initializeDefaultSelection()}typeChanged(e){this.type=e}connectedCallback(){}componentWillLoad(){this.initializeDefaultSelection()}componentDidLoad(){document.addEventListener("click",this.handleDocumentClick)}disconnectedCallback(){document.removeEventListener("click",this.handleDocumentClick)}render(){const e=this?.appearance??"default",a=this?.selectionAppearance??"default",t=this?.applyShadow??!1,i=this?.applySeparators??!1,o=this?.borderRadius??"none",g=this?.mode??"wrap",l=this?.type??"gap",c=this?.size??"md",u=this?.navMenus??[],m=this?.selectionType??"single-deselection-not-allowed",v=p({mode:g,type:l});return n(s,{key:"2c22b5282ab8c0799fc19bcd26fbb506dfa93488",class:v},u.map(((s,p)=>n("div",{key:""+(p+1),class:r("gids-header-navigation__item-container-gap",{"gids-header-navigation__item-container-standard":"standard"===l})},n("gids-header-navigation-item",{...s,id:s.id,menuId:s?.menuId,menuItems:s?.menuItems??[],label:s?.label,size:c,appearance:e,selectionAppearance:a,applyShadow:t,borderRadius:o,expanded:this.isThisMenuExpanded(s?.menuId),selected:this.isThisNavigationItemSelected(s?.id),selectedMenuItemId:this.getSelectedMenuItemId(),selectionType:m,onPressNavigationItem:e=>this.onNavigationItemPress({event:e,itemIndex:p}),onMenuItemChange:e=>this.onNavigationMenuItemChange({event:e,itemIndex:p})},s?.leadingIconName&&"(none)"!==s.leadingIconName?n(d,{slot:"headerNavItemLeadingIcon",name:s.leadingIconName,size:"xl"!==c?c:"lg",alt:"",appearance:"regular"}):void 0),i&&p<u.length-1?n(h,{orientation:"vertical"}):void 0))))}get hostElement(){return this}static get watchers(){return{appearance:[{appearanceChanged:0}],selectionAppearance:[{selectionAppearanceChanged:0}],borderRadius:[{borderRadiusChanged:0}],applyShadow:[{shadowChanged:0}],size:[{sizeChanged:0}],applySeparators:[{separatorsChanged:0}],mode:[{modeChanged:0}],defaultNavItemId:[{defaultNavItemIdChanged:0}],defaultNavMenuId:[{defaultNavMenuIdChanged:0}],defaultNavMenuItemId:[{defaultNavMenuItemIdChanged:0}],navMenus:[{navMenusChanged:0}],type:[{typeChanged:0}]}}static get style(){return".gids-header-navigation{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-gap{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-standard{gap:var(--gids-gap-0)}.gids-header-navigation--type-standard{gap:var(--gids-gap-0)}"}},[0,"gids-header-navigation",{appearance:[1],selectionAppearance:[1,"selection-appearance"],type:[1],selectionType:[1,"selection-type"],defaultNavItemId:[1,"default-nav-item-id"],defaultNavMenuId:[1,"default-nav-menu-id"],defaultNavMenuItemId:[1,"default-nav-menu-item-id"],applyShadow:[4,"apply-shadow"],applySeparators:[4,"apply-separators"],borderRadius:[1,"border-radius"],mode:[1],size:[1],navMenus:[16],onHeaderNavigationItemChange:[16],selectedItemIdsState:[32],selectedMenuItemIdsState:[32],expandedMenuIdsState:[32]},void 0,{appearance:[{appearanceChanged:0}],selectionAppearance:[{selectionAppearanceChanged:0}],borderRadius:[{borderRadiusChanged:0}],applyShadow:[{shadowChanged:0}],size:[{sizeChanged:0}],applySeparators:[{separatorsChanged:0}],mode:[{modeChanged:0}],defaultNavItemId:[{defaultNavItemIdChanged:0}],defaultNavMenuId:[{defaultNavMenuIdChanged:0}],defaultNavMenuItemId:[{defaultNavMenuItemIdChanged:0}],navMenus:[{navMenusChanged:0}],type:[{typeChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["gids-header-navigation","gids-header-navigation-item"].forEach((a=>{switch(a){case"gids-header-navigation":customElements.get(e(a))||customElements.define(e(a),g);break;case"gids-header-navigation-item":customElements.get(e(a))||o()}}))}l();const c=g,u=l;export{c as GidsHeaderNavigation,u as defineCustomElement}
@@ -1,10 +1,10 @@
1
1
  import { L as J, q as x, u as K, D as s } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { r as $ } from "./p-CV1-78HB-DGkn3SPO.js";
3
- import { i as E, a as G } from "./p-CAjDiWIc-BieYBjHk.js";
4
- import { i as N } from "./p-DLRj-mUX-B_ACFGx6.js";
2
+ import { r as $ } from "./p-CV1-78HB-C0k_l_CT.js";
3
+ import { i as E, a as G } from "./p-CAjDiWIc-C9dOa7FT.js";
4
+ import { i as N } from "./p-DLRj-mUX-BapdQYpI.js";
5
5
  import { o as H } from "./p-Dg_WeHpV-DehzGL6g.js";
6
- import { d as L } from "./p-iQRr_fAH-ClfWEu03.js";
7
- import { a as Q } from "./p-BAqWcL0K-DRjKDzoa.js";
6
+ import { d as L } from "./p-iQRr_fAH-Dvv1n8QD.js";
7
+ import { a as Q } from "./p-BAqWcL0K-DNkV1R_C.js";
8
8
  import { o as U } from "./p-DQQhGF5N-mCqb5VTE.js";
9
9
  import { c as X } from "./clsx-OuTLNxxd.js";
10
10
  const Y = (t) => X("gids-action-bar", t), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1,4 +1,4 @@
1
- import { o as t, d as e } from "./p-_W77iniK-DZ9pVDuI.js";
1
+ import { o as t, d as e } from "./p-_W77iniK-ChKfEOp3.js";
2
2
  const o = t, s = e;
3
3
  export {
4
4
  o as GidsActivityGauge,
@@ -1,4 +1,4 @@
1
- import { b as o, _ as e } from "./p-D0RJMGGj-DSjGfUhB.js";
1
+ import { b as o, _ as e } from "./p-D0RJMGGj-BflZ9l8y.js";
2
2
  const s = o, d = e;
3
3
  export {
4
4
  s as GidsAdvancedTooltip,
@@ -1,4 +1,4 @@
1
- import { g as r, h as t } from "./p-BIxBMTG9-Bs6G0Wvv.js";
1
+ import { g as r, h as t } from "./p-BIxBMTG9-Ctr342ff.js";
2
2
  const o = r, s = t;
3
3
  export {
4
4
  o as GidsBarChart,
@@ -1,4 +1,4 @@
1
- import { m as e, u as a } from "./p-TfH966_e-tyxLyzL3.js";
1
+ import { m as e, u as a } from "./p-TfH966_e-BzZRV8Rj.js";
2
2
  const m = e, n = a;
3
3
  export {
4
4
  m as GidsCalendarHeaderPanel,
@@ -1,4 +1,4 @@
1
- import { c as s, l as t } from "./p-DrxfD2yZ-Juydw__6.js";
1
+ import { c as s, l as t } from "./p-DrxfD2yZ-Cetyr3S9.js";
2
2
  const o = s, n = t;
3
3
  export {
4
4
  o as GidsCalendarMonthList,
@@ -1,4 +1,4 @@
1
- import { c as e, m as r } from "./p-Ds5IzXj3-BC_F0-JJ.js";
1
+ import { c as e, m as r } from "./p-Ds5IzXj3-B2o0ML2C.js";
2
2
  const t = e, a = r;
3
3
  export {
4
4
  t as GidsCalendarYearList,
@@ -1,10 +1,10 @@
1
1
  import { L as P, u as D, D as d, q as c } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { r as S, u as M } from "./p-TfH966_e-tyxLyzL3.js";
3
- import { l as N } from "./p-DrxfD2yZ-Juydw__6.js";
4
- import { m as Y } from "./p-Ds5IzXj3-BC_F0-JJ.js";
5
- import { g as k } from "./p-B_FEFM5I-WvEFe7I_.js";
6
- import { h as w } from "./p-BQT5yy5L-DhdgFXTM.js";
7
- import { d as x } from "./p-DMxvWIj1-DPw-ITMY.js";
2
+ import { r as S, u as M } from "./p-TfH966_e-BzZRV8Rj.js";
3
+ import { l as N } from "./p-DrxfD2yZ-Cetyr3S9.js";
4
+ import { m as Y } from "./p-Ds5IzXj3-B2o0ML2C.js";
5
+ import { g as k } from "./p-B_FEFM5I-JoBieRfG.js";
6
+ import { h as w } from "./p-BQT5yy5L-C1C_zTi-.js";
7
+ import { d as x } from "./p-DMxvWIj1-BxbvrlFL.js";
8
8
  import { c as p } from "./clsx-OuTLNxxd.js";
9
9
  const _ = ({ disabled: e, selected: t, today: a, cellType: n, dot: r }, l) => p("gids-calendar-cell", {
10
10
  "gids-calendar-cell--selected": t && !e && !a,
@@ -1,5 +1,5 @@
1
1
  import { L as v, u as h, D as a, P as p, q as _ } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { d as m } from "./p-iQRr_fAH-ClfWEu03.js";
2
+ import { d as m } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { c as u } from "./clsx-OuTLNxxd.js";
4
4
  const x = (t) => u("gids-carousel-control", t), b = ({ size: t = "md" }) => {
5
5
  switch (t) {
@@ -1,4 +1,4 @@
1
- import { o as e, l as t } from "./p-E13ycS5K-D-yK6pqz.js";
1
+ import { o as e, l as t } from "./p-E13ycS5K-BBDydae3.js";
2
2
  const m = e, r = t;
3
3
  export {
4
4
  m as GidsChartLegendItem,
@@ -1,13 +1,13 @@
1
1
  import { L as u, u as m, D as i, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { r as h, c as y, b, a as T, C } from "./p-CZ_9Mt3B-BIYkPAXM.js";
3
- import { d as v } from "./p-_W77iniK-DZ9pVDuI.js";
4
- import { _ as f } from "./p-D0RJMGGj-DSjGfUhB.js";
5
- import { h as k } from "./p-BIxBMTG9-Bs6G0Wvv.js";
3
+ import { d as v } from "./p-_W77iniK-ChKfEOp3.js";
4
+ import { _ as f } from "./p-D0RJMGGj-BflZ9l8y.js";
5
+ import { h as k } from "./p-BIxBMTG9-Ctr342ff.js";
6
6
  import { o as _ } from "./p-DnRuhvRw-Beh0bANh.js";
7
- import { l as A } from "./p-E13ycS5K-D-yK6pqz.js";
7
+ import { l as A } from "./p-E13ycS5K-BBDydae3.js";
8
8
  import { h as E } from "./p-83YZrIJw-Cu-e6WD3.js";
9
- import { c as P } from "./p-DKSnGphd-EpxzqjUA.js";
10
- import { c as D } from "./p-B2flLE0s-UXdlvRVr.js";
9
+ import { c as P } from "./p-DKSnGphd-CZSPfB-N.js";
10
+ import { c as D } from "./p-B2flLE0s-SMg7vg1a.js";
11
11
  import { d as x } from "./p-4zKS6zkg-CujzUjb6.js";
12
12
  import { c as G } from "./clsx-OuTLNxxd.js";
13
13
  const I = (e) => G("gids-chart", e), L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1,6 +1,6 @@
1
1
  import { L as r, u as d, z as l, D as s, q as a } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as c } from "./p-B2zUuNXz-BLBgQDu7.js";
3
- import { d as h } from "./p-iQRr_fAH-ClfWEu03.js";
3
+ import { d as h } from "./p-iQRr_fAH-Dvv1n8QD.js";
4
4
  import { c as g } from "./clsx-OuTLNxxd.js";
5
5
  const u = ({ size: e }, o) => g("gids-chevron-button", {
6
6
  // 'gids-chevron-button--xs': size === 'xs', // By default xs
@@ -1,4 +1,4 @@
1
- import { h as o, g as t } from "./p-B_FEFM5I-WvEFe7I_.js";
1
+ import { h as o, g as t } from "./p-B_FEFM5I-JoBieRfG.js";
2
2
  const s = o, m = t;
3
3
  export {
4
4
  s as GidsDot,
@@ -1,9 +1,9 @@
1
1
  import { L as n, u as d, D as s, q as a } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { s as r } from "./p-BkxmRN-4-DSiXCW8b.js";
3
- import { l } from "./p-tEbUT3n3-CWq8ErgN.js";
4
- import { h } from "./p-mv_7K1EM-lPgJqpPI.js";
5
- import { r as u } from "./p-DzOOjiNH-Wm7KbI3O.js";
6
- import { g as c } from "./p-iQRr_fAH-ClfWEu03.js";
3
+ import { l } from "./p-tEbUT3n3-Byef6fQN.js";
4
+ import { h } from "./p-mv_7K1EM-U3yKC45e.js";
5
+ import { r as u } from "./p-DzOOjiNH-CqI4E-mj.js";
6
+ import { g as c } from "./p-iQRr_fAH-Dvv1n8QD.js";
7
7
  const i = n(class extends d {
8
8
  constructor(e) {
9
9
  super(), e !== !1 && this.__registerHost(), this.internals = this.attachInternals(), this.appearance = "default", this.expanded = !1, this.#e = c(), this.handleSelectionChange = (t) => {
@@ -1,4 +1,4 @@
1
- import { r, h as o } from "./p-BQT5yy5L-DhdgFXTM.js";
1
+ import { r, h as o } from "./p-BQT5yy5L-C1C_zTi-.js";
2
2
  const s = r, t = o;
3
3
  export {
4
4
  s as GidsDropdownPicker,
@@ -1,4 +1,4 @@
1
- import { c as o, l as t } from "./p-tEbUT3n3-CWq8ErgN.js";
1
+ import { c as o, l as t } from "./p-tEbUT3n3-Byef6fQN.js";
2
2
  const s = o, m = t;
3
3
  export {
4
4
  s as GidsDropdown,
@@ -1,5 +1,5 @@
1
1
  import { L as o, u as r, D as i, P as l, q as a } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { d as g } from "./p-iQRr_fAH-ClfWEu03.js";
2
+ import { d as g } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { e as p } from "./p-ChV9xqsO-CJSPCx6p.js";
4
4
  import { c as h } from "./clsx-OuTLNxxd.js";
5
5
  const c = ({ expanded: e }, n) => h("gids-expansion", {
@@ -1,4 +1,4 @@
1
- import { d as e, h as m } from "./p-mv_7K1EM-lPgJqpPI.js";
1
+ import { d as e, h as m } from "./p-mv_7K1EM-U3yKC45e.js";
2
2
  const s = e, t = m;
3
3
  export {
4
4
  s as GidsField,
@@ -1,4 +1,4 @@
1
- import { r, a as e } from "./p-BAqWcL0K-DRjKDzoa.js";
1
+ import { r, a as e } from "./p-BAqWcL0K-DNkV1R_C.js";
2
2
  const t = r, o = e;
3
3
  export {
4
4
  t as GidsFilter,
@@ -1,4 +1,4 @@
1
- import { l as e, h as t } from "./p-B_St7yaX-Dq9UwiaA.js";
1
+ import { l as e, h as t } from "./p-B_St7yaX-Da4DWjGh.js";
2
2
  const o = e, i = t;
3
3
  export {
4
4
  o as GidsHeaderNavigationItem,
@@ -1,79 +1,66 @@
1
- import { L as f, u as M, D as r, P as S, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { d as C } from "./p-iQRr_fAH-ClfWEu03.js";
1
+ import { L as f, u as C, D as s, P as M, q as r } from "./p-B4hcsDH0-CPqEc-vc.js";
2
+ import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { r as N } from "./p-BRNvHMdK-CqGtfAsn.js";
4
4
  import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
5
- import { h as x } from "./p-B_St7yaX-Dq9UwiaA.js";
5
+ import { h as x } from "./p-B_St7yaX-Da4DWjGh.js";
6
6
  import { c as b } from "./clsx-OuTLNxxd.js";
7
- const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
7
+ const z = ({ mode: t, type: e }, a) => b("gids-header-navigation", {
8
8
  // Modes
9
9
  // 'gids-header-navigation--mode-wrap': mode === 'wrap', // Default so not needed
10
- "gids-header-navigation--mode-scroll": a === "scroll",
10
+ "gids-header-navigation--mode-scroll": t === "scroll",
11
11
  // Types
12
12
  // 'gids-header-navigation--type-gap': type === 'gap', // Default so not needed
13
13
  "gids-header-navigation--type-standard": e === "standard"
14
- }, t), z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
+ }, a), w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
15
  __proto__: null,
16
- getGidsHeaderNavigationClassNames: E
17
- }, Symbol.toStringTag, { value: "Module" })), { getGidsHeaderNavigationClassNames: w } = z, g = f(class extends M {
18
- constructor(a) {
19
- super(), a !== !1 && this.__registerHost(), this.type = "gap", this.selectionType = "single-deselection-not-allowed", this.selectedItemIdsState = [], this.selectedMenuItemIdsState = [], this.expandedMenuIdsState = [], this.onNavigationItemPress = ({ event: e, itemIndex: t }) => {
20
- this.handleSelectionsAndExpansions(e), this.onHeaderNavigationItemChange && this.onHeaderNavigationItemChange({ ...e, navMenuItemIndex: t });
21
- }, this.onNavigationMenuItemChange = ({ event: e, itemIndex: t }) => {
22
- e?.menuItemSelected ? (this.selectedItemIdsState = [e.itemId], this.selectedMenuItemIdsState = [e.menuItemId]) : (this.selectedItemIdsState = [], this.selectedMenuItemIdsState = []), this.onHeaderNavigationItemChange && this.onHeaderNavigationItemChange({ ...e, navMenuItemIndex: t });
16
+ getGidsHeaderNavigationClassNames: z
17
+ }, Symbol.toStringTag, { value: "Module" })), { getGidsHeaderNavigationClassNames: E } = w, m = f(class extends C {
18
+ constructor(t) {
19
+ super(), t !== !1 && this.__registerHost(), this.type = "gap", this.selectionType = "single-deselection-not-allowed", this.selectedItemIdsState = [], this.selectedMenuItemIdsState = [], this.expandedMenuIdsState = [], this.onNavigationItemPress = ({ event: e, itemIndex: a }) => {
20
+ this.handleSelectionsAndExpansions(e), this.onHeaderNavigationItemChange && this.onHeaderNavigationItemChange({ ...e, navMenuItemIndex: a });
21
+ }, this.onNavigationMenuItemChange = ({ event: e, itemIndex: a }) => {
22
+ e?.menuItemSelected ? (this.selectedItemIdsState = [e.itemId], this.selectedMenuItemIdsState = [e.menuItemId]) : (this.selectedItemIdsState = [], this.selectedMenuItemIdsState = []), this.onHeaderNavigationItemChange && this.onHeaderNavigationItemChange({ ...e, navMenuItemIndex: a });
23
23
  }, this.handleDocumentClick = (e) => {
24
24
  !this.expandedMenuIdsState || this.expandedMenuIdsState.length <= 0 || e.composedPath().includes(this.hostElement) || (this.expandedMenuIdsState = []);
25
25
  }, this.handleSelectionsAndExpansions = (e) => {
26
26
  this.expandedMenuIdsState = e?.hasMenu && e?.menuExpanded && e?.menuId && e.menuId !== "" ? [e.menuId] : [], e?.hasMenu || (e?.itemSelected ? (this.selectedItemIdsState = [e.itemId], this.selectedMenuItemIdsState = []) : (this.selectedItemIdsState = [], this.selectedMenuItemIdsState = []));
27
27
  }, this.isThisMenuExpanded = (e) => {
28
- const t = this?.expandedMenuIdsState ?? [];
29
- if (!e || e === "" || !t || t.length <= 0) return !1;
30
- const d = t.findIndex(((n) => n === e));
28
+ const a = this?.expandedMenuIdsState ?? [];
29
+ if (!e || e === "" || !a || a.length <= 0) return !1;
30
+ const d = a.findIndex(((i) => i === e));
31
31
  return d != null && d !== -1;
32
32
  }, this.isThisNavigationItemSelected = (e) => {
33
- const t = this?.selectedItemIdsState ?? [];
34
- if (!e || e === "" || !t || t.length <= 0) return !1;
35
- const d = t.findIndex(((n) => n === e));
33
+ const a = this?.selectedItemIdsState ?? [];
34
+ if (!e || e === "" || !a || a.length <= 0) return !1;
35
+ const d = a.findIndex(((i) => i === e));
36
36
  return d != null && d !== -1;
37
37
  }, this.getSelectedMenuItemId = () => {
38
38
  const e = this?.selectedMenuItemIdsState ?? [];
39
39
  if (e.length > 0) return e[0];
40
40
  }, this.initializeDefaultSelection = () => {
41
- const e = this?.navMenus ?? [];
42
- if (!this.defaultNavItemId || !e || e.length <= 0) return;
43
- const t = e.find(((s) => s?.id === this.defaultNavItemId));
44
- if (!t) return;
45
- if (this.selectedItemIdsState = [t.id], this.selectedMenuItemIdsState = [], !this.defaultNavMenuId) return void this.onHeaderNavigationItemChange?.({ itemId: t.id, itemSelected: !0, hasMenu: !!t.menuId, menuId: t.menuId, menuExpanded: !1 });
46
- if (t.menuId !== this.defaultNavMenuId) return;
47
- if (!this.defaultNavMenuItemId) return void this.onHeaderNavigationItemChange?.({ itemId: t.id, itemSelected: !0, hasMenu: !0, menuId: t.menuId, menuExpanded: !1 });
48
- const d = t?.menuItems ?? [];
49
- if (d.length <= 0) return;
50
- let n, u = -1, l = -1;
51
- d.some(((s, h) => {
52
- const o = (s?.data ?? []).findIndex(((I) => I?.id === this.defaultNavMenuItemId));
53
- return o !== -1 && (n = s.data[o], u = h, l = o, !0);
54
- })), n ? (this.selectedItemIdsState = [t.id], this.selectedMenuItemIdsState = [n.id], this.onHeaderNavigationItemChange?.({ itemId: t.id, itemLabel: t.label, itemSelected: !0, hasMenu: !0, menuId: t.menuId, menuExpanded: !1, menuItemTitle: n.title, menuItemValue: n.value, menuItemId: n.id, menuItemSectionIndex: u, menuItemIndex: l, menuItemSelected: !0, selectionType: this.selectionType })) : this.onHeaderNavigationItemChange?.({ itemId: t.id, itemSelected: !0, hasMenu: !0, menuId: t.menuId, menuExpanded: !1 });
41
+ this.selectedItemIdsState = this?.defaultNavItemId ? [this.defaultNavItemId] : [], this.selectedMenuItemIdsState = this?.defaultNavMenuItemId ? [this.defaultNavMenuItemId] : [];
55
42
  };
56
43
  }
57
- appearanceChanged(a) {
58
- this.appearance = a;
44
+ appearanceChanged(t) {
45
+ this.appearance = t;
59
46
  }
60
- selectionAppearanceChanged(a) {
61
- this.selectionAppearance = a;
47
+ selectionAppearanceChanged(t) {
48
+ this.selectionAppearance = t;
62
49
  }
63
- borderRadiusChanged(a) {
64
- this.borderRadius = a;
50
+ borderRadiusChanged(t) {
51
+ this.borderRadius = t;
65
52
  }
66
- shadowChanged(a) {
67
- this.applyShadow = a;
53
+ shadowChanged(t) {
54
+ this.applyShadow = t;
68
55
  }
69
- sizeChanged(a) {
70
- this.size = a;
56
+ sizeChanged(t) {
57
+ this.size = t;
71
58
  }
72
- separatorsChanged(a) {
73
- this.applySeparators = a;
59
+ separatorsChanged(t) {
60
+ this.applySeparators = t;
74
61
  }
75
- modeChanged(a) {
76
- this.mode = a;
62
+ modeChanged(t) {
63
+ this.mode = t;
77
64
  }
78
65
  defaultNavItemIdChanged() {
79
66
  this.initializeDefaultSelection();
@@ -84,11 +71,11 @@ const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
84
71
  defaultNavMenuItemIdChanged() {
85
72
  this.initializeDefaultSelection();
86
73
  }
87
- navMenusChanged(a) {
88
- this.navMenus = a, this.initializeDefaultSelection();
74
+ navMenusChanged(t) {
75
+ this.navMenus = t, this.initializeDefaultSelection();
89
76
  }
90
- typeChanged(a) {
91
- this.type = a;
77
+ typeChanged(t) {
78
+ this.type = t;
92
79
  }
93
80
  connectedCallback() {
94
81
  }
@@ -102,8 +89,8 @@ const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
102
89
  document.removeEventListener("click", this.handleDocumentClick);
103
90
  }
104
91
  render() {
105
- const a = this?.appearance ?? "default", e = this?.selectionAppearance ?? "default", t = this?.applyShadow ?? !1, d = this?.applySeparators ?? !1, n = this?.borderRadius ?? "none", u = this?.mode ?? "wrap", l = this?.type ?? "gap", s = this?.size ?? "md", h = this?.navMenus ?? [], o = this?.selectionType ?? "single-deselection-not-allowed", I = w({ mode: u, type: l });
106
- return r(S, { key: "4c2f041f0778abfa694bf7afb03d78fc42461f90", class: I }, h.map(((i, m) => r("div", { key: "" + (m + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": l === "standard" }) }, r("gids-header-navigation-item", { ...i, id: i.id, menuId: i?.menuId, menuItems: i?.menuItems ?? [], label: i?.label, size: s, appearance: a, selectionAppearance: e, applyShadow: t, borderRadius: n, expanded: this.isThisMenuExpanded(i?.menuId), selected: this.isThisNavigationItemSelected(i?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: o, onPressNavigationItem: (c) => this.onNavigationItemPress({ event: c, itemIndex: m }), onMenuItemChange: (c) => this.onNavigationMenuItemChange({ event: c, itemIndex: m }) }, i?.leadingIconName && i.leadingIconName !== "(none)" ? r(C, { slot: "headerNavItemLeadingIcon", name: i.leadingIconName, size: s !== "xl" ? s : "lg", alt: "", appearance: "regular" }) : void 0), d && m < h.length - 1 ? r(N, { orientation: "vertical" }) : void 0))));
92
+ const t = this?.appearance ?? "default", e = this?.selectionAppearance ?? "default", a = this?.applyShadow ?? !1, d = this?.applySeparators ?? !1, i = this?.borderRadius ?? "none", g = this?.mode ?? "wrap", u = this?.type ?? "gap", l = this?.size ?? "md", c = this?.navMenus ?? [], I = this?.selectionType ?? "single-deselection-not-allowed", v = E({ mode: g, type: u });
93
+ return s(M, { key: "2c22b5282ab8c0799fc19bcd26fbb506dfa93488", class: v }, c.map(((n, o) => s("div", { key: "" + (o + 1), class: y("gids-header-navigation__item-container-gap", { "gids-header-navigation__item-container-standard": u === "standard" }) }, s("gids-header-navigation-item", { ...n, id: n.id, menuId: n?.menuId, menuItems: n?.menuItems ?? [], label: n?.label, size: l, appearance: t, selectionAppearance: e, applyShadow: a, borderRadius: i, expanded: this.isThisMenuExpanded(n?.menuId), selected: this.isThisNavigationItemSelected(n?.id), selectedMenuItemId: this.getSelectedMenuItemId(), selectionType: I, onPressNavigationItem: (h) => this.onNavigationItemPress({ event: h, itemIndex: o }), onMenuItemChange: (h) => this.onNavigationMenuItemChange({ event: h, itemIndex: o }) }, n?.leadingIconName && n.leadingIconName !== "(none)" ? s(S, { slot: "headerNavItemLeadingIcon", name: n.leadingIconName, size: l !== "xl" ? l : "lg", alt: "", appearance: "regular" }) : void 0), d && o < c.length - 1 ? s(N, { orientation: "vertical" }) : void 0))));
107
94
  }
108
95
  get hostElement() {
109
96
  return this;
@@ -115,20 +102,20 @@ const E = ({ mode: a, type: e }, t) => b("gids-header-navigation", {
115
102
  return ".gids-header-navigation{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-gap{display:flex;gap:var(--gids-gap-200)}.gids-header-navigation__item-container-standard{gap:var(--gids-gap-0)}.gids-header-navigation--type-standard{gap:var(--gids-gap-0)}";
116
103
  }
117
104
  }, [0, "gids-header-navigation", { appearance: [1], selectionAppearance: [1, "selection-appearance"], type: [1], selectionType: [1, "selection-type"], defaultNavItemId: [1, "default-nav-item-id"], defaultNavMenuId: [1, "default-nav-menu-id"], defaultNavMenuItemId: [1, "default-nav-menu-item-id"], applyShadow: [4, "apply-shadow"], applySeparators: [4, "apply-separators"], borderRadius: [1, "border-radius"], mode: [1], size: [1], navMenus: [16], onHeaderNavigationItemChange: [16], selectedItemIdsState: [32], selectedMenuItemIdsState: [32], expandedMenuIdsState: [32] }, void 0, { appearance: [{ appearanceChanged: 0 }], selectionAppearance: [{ selectionAppearanceChanged: 0 }], borderRadius: [{ borderRadiusChanged: 0 }], applyShadow: [{ shadowChanged: 0 }], size: [{ sizeChanged: 0 }], applySeparators: [{ separatorsChanged: 0 }], mode: [{ modeChanged: 0 }], defaultNavItemId: [{ defaultNavItemIdChanged: 0 }], defaultNavMenuId: [{ defaultNavMenuIdChanged: 0 }], defaultNavMenuItemId: [{ defaultNavMenuItemIdChanged: 0 }], navMenus: [{ navMenusChanged: 0 }], type: [{ typeChanged: 0 }] }]);
118
- function v() {
119
- typeof customElements < "u" && ["gids-header-navigation", "gids-header-navigation-item"].forEach(((a) => {
120
- switch (a) {
105
+ function p() {
106
+ typeof customElements < "u" && ["gids-header-navigation", "gids-header-navigation-item"].forEach(((t) => {
107
+ switch (t) {
121
108
  case "gids-header-navigation":
122
- customElements.get(p(a)) || customElements.define(p(a), g);
109
+ customElements.get(r(t)) || customElements.define(r(t), m);
123
110
  break;
124
111
  case "gids-header-navigation-item":
125
- customElements.get(p(a)) || x();
112
+ customElements.get(r(t)) || x();
126
113
  }
127
114
  }));
128
115
  }
129
- v();
130
- const R = g, L = v;
116
+ p();
117
+ const T = m, L = p;
131
118
  export {
132
- R as GidsHeaderNavigation,
119
+ T as GidsHeaderNavigation,
133
120
  L as defineCustomElement
134
121
  };
@@ -1,4 +1,4 @@
1
- import { n as o, d as e } from "./p-DMxvWIj1-DPw-ITMY.js";
1
+ import { n as o, d as e } from "./p-DMxvWIj1-BxbvrlFL.js";
2
2
  const s = o, t = e;
3
3
  export {
4
4
  s as GidsIcon,
@@ -1,4 +1,4 @@
1
- import { l as r, r as s } from "./p-DzOOjiNH-Wm7KbI3O.js";
1
+ import { l as r, r as s } from "./p-DzOOjiNH-CqI4E-mj.js";
2
2
  const e = r, o = s;
3
3
  export {
4
4
  e as GidsInput,
@@ -1,4 +1,4 @@
1
- import { g as e, c as s } from "./p-DKSnGphd-EpxzqjUA.js";
1
+ import { g as e, c as s } from "./p-DKSnGphd-CZSPfB-N.js";
2
2
  const o = e, r = s;
3
3
  export {
4
4
  o as GidsLineChart,
@@ -1,6 +1,6 @@
1
1
  import { L as q, u as M, D as d, P as E, F as $, q as I } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { o as K } from "./p-BsC3-MVH-j4fPhip5.js";
3
- import { d as S } from "./p-iQRr_fAH-ClfWEu03.js";
3
+ import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
4
4
  import { o as J } from "./p-Dg_WeHpV-DehzGL6g.js";
5
5
  import { c as B } from "./clsx-OuTLNxxd.js";
6
6
  const F = (e) => !!(e?.buttonLabel && e.buttonLabel !== "" || e?.leadingIconName && e.leadingIconName !== "" || e?.trailingIconName && e.trailingIconName !== ""), Q = ({ cellActionButton: e, neededIconType: a = "leading" }) => a === "trailing" ? {
@@ -1,7 +1,7 @@
1
1
  import { L as C, u as y, D as o, F as w, q as f } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as x } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { e as N, n as g } from "./p-CVtNa0cL-sSVeJsR3.js";
4
- import { d as p } from "./p-iQRr_fAH-ClfWEu03.js";
4
+ import { d as p } from "./p-iQRr_fAH-Dvv1n8QD.js";
5
5
  import { o as u } from "./p-Dg_WeHpV-DehzGL6g.js";
6
6
  import { c as h } from "./clsx-OuTLNxxd.js";
7
7
  const Q = ({ appearance: t }, e) => h("gids-notification-container", {
@@ -1,11 +1,11 @@
1
1
  import { L as S, u as P, z as w, C as x, D as i, F as T, q as h } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as C } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { s as F } from "./p-BkxmRN-4-DSiXCW8b.js";
4
- import { r as L } from "./p-Do_VlNHg-_g7lcvwR.js";
4
+ import { r as L } from "./p-Do_VlNHg-Ck03dQOR.js";
5
5
  import { o as O } from "./p-Dg_WeHpV-DehzGL6g.js";
6
- import { g as k, d as j } from "./p-iQRr_fAH-ClfWEu03.js";
7
- import { h as z } from "./p-mv_7K1EM-lPgJqpPI.js";
8
- import { r as E } from "./p-DzOOjiNH-Wm7KbI3O.js";
6
+ import { g as k, d as j } from "./p-iQRr_fAH-Dvv1n8QD.js";
7
+ import { h as z } from "./p-mv_7K1EM-U3yKC45e.js";
8
+ import { r as E } from "./p-DzOOjiNH-CqI4E-mj.js";
9
9
  import { c as g } from "./clsx-OuTLNxxd.js";
10
10
  const G = (e) => {
11
11
  switch (e) {
@@ -1,4 +1,4 @@
1
- import { n as e, c as t } from "./p-B2flLE0s-UXdlvRVr.js";
1
+ import { n as e, c as t } from "./p-B2flLE0s-SMg7vg1a.js";
2
2
  const r = e, s = t;
3
3
  export {
4
4
  r as GidsPieChart,
@@ -1,4 +1,4 @@
1
- import { _ as e, y as o } from "./p-BCbovLBE-DfkhIEts.js";
1
+ import { _ as e, y as o } from "./p-BCbovLBE-CDxKiOtS.js";
2
2
  const s = e, t = o;
3
3
  export {
4
4
  s as GidsProfileMenuHeader,
@@ -1,4 +1,4 @@
1
- import { c as e, p as o } from "./p--kh67-_Z-BBhYy4ZX.js";
1
+ import { c as e, p as o } from "./p--kh67-_Z-B-vf_gng.js";
2
2
  const p = e, r = o;
3
3
  export {
4
4
  p as GidsProfileMenu,
@@ -1,8 +1,8 @@
1
1
  import { L as z, u as B, D as o, P as L, q as f } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { m as R, l as j, y as G } from "./p-BCbovLBE-DfkhIEts.js";
2
+ import { m as R, l as j, y as G } from "./p-BCbovLBE-CDxKiOtS.js";
3
3
  import { p as $ } from "./p-CcKHKwS0-Bw63tTOA.js";
4
- import { d as b } from "./p-iQRr_fAH-ClfWEu03.js";
5
- import { p as q } from "./p--kh67-_Z-BBhYy4ZX.js";
4
+ import { d as b } from "./p-iQRr_fAH-Dvv1n8QD.js";
5
+ import { p as q } from "./p--kh67-_Z-B-vf_gng.js";
6
6
  import { c as N } from "./clsx-OuTLNxxd.js";
7
7
  const O = ({ profileControlAppearance: e, profileControlBorderRadius: i, profileControlShadow: r, expanded: a }, l) => N("gids-profile", {
8
8
  // Appearances
@@ -1,4 +1,4 @@
1
- import { m as e, g as m } from "./p-bfWlRsx_-B9hzkHIt.js";
1
+ import { m as e, g as m } from "./p-bfWlRsx_-CNZjBYOE.js";
2
2
  const o = e, r = m;
3
3
  export {
4
4
  o as GidsSidebarItem,
@@ -1,4 +1,4 @@
1
- import { G as e, P as o } from "./p-kWyyLyT3-DhHcKhR9.js";
1
+ import { G as e, P as o } from "./p-kWyyLyT3-VhX9LNzT.js";
2
2
  const s = e, t = o;
3
3
  export {
4
4
  s as GidsSidebarMenu,
@@ -1,11 +1,11 @@
1
1
  import { L as O, u as G, D as a, P as j, q as r } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { p as q } from "./p-CcKHKwS0-Bw63tTOA.js";
3
3
  import { o as X } from "./p-BsC3-MVH-j4fPhip5.js";
4
- import { d as S } from "./p-iQRr_fAH-ClfWEu03.js";
5
- import { A as B, S as F, y as J, P as K } from "./p-kWyyLyT3-DhHcKhR9.js";
4
+ import { d as S } from "./p-iQRr_fAH-Dvv1n8QD.js";
5
+ import { A as B, S as F, y as J, P as K } from "./p-kWyyLyT3-VhX9LNzT.js";
6
6
  import { r as p } from "./p-BRNvHMdK-CqGtfAsn.js";
7
7
  import { h as Q } from "./p-DpvdbdZ--C7QlXxK2.js";
8
- import { g as R } from "./p-bfWlRsx_-B9hzkHIt.js";
8
+ import { g as R } from "./p-bfWlRsx_-CNZjBYOE.js";
9
9
  import { c as U } from "./clsx-OuTLNxxd.js";
10
10
  const V = ({ appearance: e, height: i }, t) => U("gids-sidebar", {
11
11
  // Appearances
@@ -1,10 +1,10 @@
1
1
  import { L as u, u as h, z as c, C as f, D as i, q as s } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { i as b } from "./p-B2zUuNXz-BLBgQDu7.js";
3
3
  import { s as m } from "./p-BkxmRN-4-DSiXCW8b.js";
4
- import { r as p } from "./p-Do_VlNHg-_g7lcvwR.js";
5
- import { h as g } from "./p-mv_7K1EM-lPgJqpPI.js";
6
- import { r as x } from "./p-DzOOjiNH-Wm7KbI3O.js";
7
- import { g as _ } from "./p-iQRr_fAH-ClfWEu03.js";
4
+ import { r as p } from "./p-Do_VlNHg-Ck03dQOR.js";
5
+ import { h as g } from "./p-mv_7K1EM-U3yKC45e.js";
6
+ import { r as x } from "./p-DzOOjiNH-CqI4E-mj.js";
7
+ import { g as _ } from "./p-iQRr_fAH-Dvv1n8QD.js";
8
8
  const v = (e, t) => {
9
9
  if (!(e === void 0 || t === void 0))
10
10
  return `${e} / ${Math.max(t, 0)}`;
@@ -1,10 +1,10 @@
1
1
  import { L as y, u as _, D as a, P as b, q as p } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { p as T } from "./p-C-Lpfqcg-DIuBhXzX.js";
3
- import { b as L, _ as x } from "./p-CV1-78HB-DGkn3SPO.js";
3
+ import { b as L, _ as x } from "./p-CV1-78HB-C0k_l_CT.js";
4
4
  import { r as C } from "./p-BRNvHMdK-CqGtfAsn.js";
5
- import { i as f } from "./p-DZ1ZcTMe-tnPOECry.js";
5
+ import { i as f } from "./p-DZ1ZcTMe-W8kofPko.js";
6
6
  import { o as d } from "./p-Dg_WeHpV-DehzGL6g.js";
7
- import { d as g } from "./p-iQRr_fAH-ClfWEu03.js";
7
+ import { d as g } from "./p-iQRr_fAH-Dvv1n8QD.js";
8
8
  import { c } from "./clsx-OuTLNxxd.js";
9
9
  const H = ({ type: t }, e) => c("gids-menu-group", {
10
10
  "gids-menu-group--default": t === "default",
@@ -1,8 +1,8 @@
1
1
  import { q as h, L as f, u as p, D as d, P as g } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { b as P } from "./p-CV1-78HB-DGkn3SPO.js";
3
- import { i as M, a as b } from "./p-CAjDiWIc-BieYBjHk.js";
2
+ import { b as P } from "./p-CV1-78HB-C0k_l_CT.js";
3
+ import { i as M, a as b } from "./p-CAjDiWIc-C9dOa7FT.js";
4
4
  import { r as u } from "./p-BRNvHMdK-CqGtfAsn.js";
5
- import { y as v } from "./p-BCbovLBE-DfkhIEts.js";
5
+ import { y as v } from "./p-BCbovLBE-CDxKiOtS.js";
6
6
  import { c as x } from "./clsx-OuTLNxxd.js";
7
7
  const S = (i) => x("gids-profile-menu", i), V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
8
  __proto__: null,
@@ -1,7 +1,7 @@
1
1
  import { q as a, L as _, u as m, D as t } from "./p-B4hcsDH0-CPqEc-vc.js";
2
2
  import { p as b } from "./p-C-Lpfqcg-DIuBhXzX.js";
3
3
  import { o as u } from "./p-DnRuhvRw-Beh0bANh.js";
4
- import { l as v } from "./p-E13ycS5K-D-yK6pqz.js";
4
+ import { l as v } from "./p-E13ycS5K-BBDydae3.js";
5
5
  import { c as x } from "./clsx-OuTLNxxd.js";
6
6
  const f = ({ breakpoint: e }, r) => x("gids-pie-chart", {
7
7
  "gids-pie-chart--breakpoint-mobile": e === "mobile"
@@ -1,5 +1,5 @@
1
1
  import { q as f, L as g, u as v, D as c } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { d as p } from "./p-iQRr_fAH-ClfWEu03.js";
2
+ import { d as p } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { o as I } from "./p-DQQhGF5N-mCqb5VTE.js";
4
4
  import { c as y } from "./clsx-OuTLNxxd.js";
5
5
  const S = ({ expanded: h }, e) => y("gids-filter", {
@@ -1,5 +1,5 @@
1
1
  import { D as i, q as h, L as f, u as v, P as u } from "./p-B4hcsDH0-CPqEc-vc.js";
2
- import { d as _ } from "./p-iQRr_fAH-ClfWEu03.js";
2
+ import { d as _ } from "./p-iQRr_fAH-Dvv1n8QD.js";
3
3
  import { e as y } from "./p-ChV9xqsO-CJSPCx6p.js";
4
4
  import { p as b } from "./p-CcKHKwS0-Bw63tTOA.js";
5
5
  import { c } from "./clsx-OuTLNxxd.js";