@stenajs-webui/panels 17.34.0 → 18.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.
package/dist/index.es.js CHANGED
@@ -1,495 +1,533 @@
1
- (function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode('._navBar_1qp30_1{--swui-navbar-background-color: var(--lhds-color-blue-500);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );background-color:var(--swui-navbar-background-color)}._sidebarMenuButton_1x4z8_1{--swui-nav-bar-side-menu-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-side-menu-button-background-color: var(--lhds-color-blue-500);--swui-nav-bar-side-menu-button-background-color-hover: var( --lhds-color-blue-600 );--swui-nav-bar-side-menu-button-background-color-focus: var( --lhds-color-blue-600 );--swui-nav-bar-side-menu-button-background-color-active: var( --lhds-color-blue-700 );--current-background-color: var( --swui-nav-bar-side-menu-button-background-color );display:flex;align-items:center;justify-content:center;line-height:10px;background-color:var(--current-background-color);color:var(--swui-nav-bar-side-menu-button-text-color);cursor:pointer;height:var(--swui-nav-bar-height);width:var(--swui-nav-bar-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuButton_1x4z8_1:hover{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-hover )}._sidebarMenuButton_1x4z8_1:focus-visible{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-focus )}._sidebarMenuButton_1x4z8_1:active{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-active )}._sidebarMenuButton_1x4z8_1 ._icon_1x4z8_55{color:var(--swui-nav-bar-side-menu-button-text-color)}._navBarButton_1xy53_1{--swui-nav-bar-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-blue-900);--swui-nav-bar-button-background-color-focus: var(--lhds-color-blue-700);--swui-nav-bar-button-background-color-active: var(--lhds-color-blue-800);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-700 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-800 );--swui-flat-button-text-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-text-color-active: var(--swui-nav-bar-button-text-color);--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-active )}._navBarButton_1xy53_1._selected_1xy53_36{--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color-selected );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-selected-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-selected-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-selected-active )}._navBarNotificationButton_1wchp_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-hover: var( --lhds-color-blue-900 );--swui-nav-bar-notification-button-background-color-focus: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-active: var( --lhds-color-blue-800 );--swui-nav-bar-notification-button-background-color-unread: var( --lhds-color-red-500 );--swui-nav-bar-notification-button-background-color-unread-hover: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-focus: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-active: var( --lhds-color-red-800 );--swui-flat-button-text-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-icon-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-text-color-active: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-active );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px;--swui-nav-bar-notification-shake-count: 3;transition:.5s width;width:32px}._navBarNotificationButton_1wchp_1._hasCount_1wchp_60{width:56px}._navBarNotificationButton_1wchp_1._unread_1wchp_64{--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color-unread );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-unread-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-unread-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-unread-active )}._navBarNotificationButton_1wchp_1._unread_1wchp_64._hasCount_1wchp_60 ._icon_1wchp_79{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_1wchp_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_1wchp_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_1wchp_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes _shake_1wchp_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}._navBarSearchFieldInput_4knxd_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_4knxd_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_4knxd_1{--swui-textinput-animation-time: var(--swui-animation-time-fast);--swui-textinput-placeholder-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-blue-600);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_4knxd_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-icon-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._navBarUserButton_1gxfr_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color: var(--lhds-color-blue-700);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-blue-900);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-blue-700);--swui-nav-bar-user-button-background-color-active: var( --lhds-color-blue-800 );--swui-flat-button-text-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-text-color-active: var( --swui-nav-bar-user-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-user-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-user-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-user-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-user-button-background-color-active );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px}._navBarUserButton_1gxfr_1._initials_1gxfr_33{width:32px}._collapsible_1nroa_1{--swui-collapsible-animation-time: var(--swui-animation-time-fast);--swui-collapsible-expanded-line-background-color: var( --swui-primary-action-color );--swui-collapsible-header-text-color: var(--lhds-color-ui-900);--swui-collapsible-header-background-color: var(--swui-white);--swui-collapsible-header-background-color-hover: var(--lhds-color-blue-100);--swui-collapsible-header-background-color-active: var(--lhds-color-blue-100);--swui-collapsible-header-border-color: var(--lhds-color-ui-300);--swui-collapsible-header-border-color-focus: var( --swui-primary-action-color );--swui-collapsible-header-focus-shadow: var(--swui-field-focus-shadow);--swui-collapsible-header-content-margin: calc( var(--swui-metrics-indent) * 2 );--swui-collapsible-header-font-weight: var(--swui-font-weight-text-bold);--swui-collapsible-header-indicator-color: var(--swui-primary-action-color);--swui-collapsible-header-indicator-color-collapsed: var(--lhds-color-ui-500);--swui-collapsible-header-indicator-color-hover: var( --swui-primary-action-color );--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0;--swui-collapsible-content-background-color: var(--lhds-color-ui-100);--swui-collapsible-content-border-color: var(--lhds-color-ui-300);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2);--swui-collapsible-groupheading-font-size: var(--swui-font-size-smaller);--swui-collapsible-groupheading-text-color: var(--lhds-color-ui-600);--swui-collapsible-min-height: 40px}._collapsible_1nroa_1 ._header_1nroa_46{background-color:var(--swui-collapsible-header-background-color);width:100%;text-align:left;min-height:var(--swui-collapsible-min-height);box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--swui-collapsible-header-border-color);padding:var(--swui-collapsible-header-padding)}._collapsible_1nroa_1 ._header_1nroa_46 ._indicator_1nroa_59{transition:all var(--swui-collapsible-animation-time) ease-in-out;margin-left:var(--swui-collapsible-header-content-margin);color:var(--swui-collapsible-header-indicator-color)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active){background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active) ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 ._header_1nroa_46:active{background:var(--swui-collapsible-header-background-color-active)}._collapsible_1nroa_1 ._header_1nroa_46:disabled{cursor:not-allowed}._collapsible_1nroa_1{position:relative}._collapsible_1nroa_1:before{content:"";position:absolute;width:2px;background:var(--swui-collapsible-expanded-line-background-color);top:0;bottom:0;left:0;z-index:1}._collapsible_1nroa_1 ._headerText_1nroa_103{font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1[aria-expanded=false]{--swui-collapsible-expanded-line-background-color: transparent}._collapsible_1nroa_1[aria-expanded=false] ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-collapsed)}._collapsible_1nroa_1 ._label_1nroa_114{margin-right:auto}._collapsible_1nroa_1 ._label_1nroa_114 span{--current-line-height: 1;font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1 ._contentLeft_1nroa_123,._collapsible_1nroa_1 ._contentRight_1nroa_124{display:flex}._collapsible_1nroa_1 ._contentLeft_1nroa_123 button,._collapsible_1nroa_1 ._contentRight_1nroa_124 button{cursor:pointer}._collapsible_1nroa_1 ._contentLeft_1nroa_123{margin-right:var(--swui-collapsible-header-content-margin)}._collapsible_1nroa_1 ._contentRight_1nroa_124{margin-left:auto}._collapsible_1nroa_1 ._content_1nroa_123{display:flex;align-items:center;justify-content:stretch;background:var(--swui-collapsible-content-background-color);padding:var(--swui-collapsible-content-padding);min-height:var(--swui-collapsible-min-height);box-sizing:border-box}._collapsible_1nroa_1 ._content_1nroa_123:last-child{border-bottom:1px solid var(--swui-collapsible-content-border-color)}._collapsible_1nroa_1 ._content_1nroa_123._groupHeading_1nroa_155{border:none;font-size:var(--swui-collapsible-groupheading-font-size);font-family:var(--swui-font-primary);color:var(--swui-collapsible-groupheading-text-color);text-transform:uppercase;font-weight:var(--swui-font-weight-text-bold);letter-spacing:.1rem}._collapsible_1nroa_1 ._content_1nroa_123 [data-hidden=true]{display:none}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hover=true]{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._contentEnter_1nroa_180{opacity:0}._collapsible_1nroa_1 ._contentEnterActive_1nroa_184{opacity:1;transition:opacity var(--swui-collapsible-animation-time) ease-in-out}._collapsible_1nroa_1 ._contentExitDone_1nroa_189{display:none}._collapsible_1nroa_1 button._content_1nroa_123{font-family:var(--swui-font-primary);font-size:inherit;width:100%;text-align:left}._collapsible_1nroa_1 button._content_1nroa_123:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 button._content_1nroa_123:not(:disabled):hover{background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 button._content_1nroa_123:disabled{cursor:not-allowed}._collapsible_1nroa_1 button._content_1nroa_123:focus-within [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-background-color: var( --swui-collapsible-content-background-color );--swui-collapsible-header-font-weight: normal}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 4);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 6)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 6);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 8)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 8);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 10)}._sidebarMenu_hch18_1{--swui-sidebar-menu-separator-color: var(--lhds-color-blue-700);--swui-sidebar-menu-text-color: var(--swui-white);--swui-sidebar-menu-icon-color: var(--swui-white);--swui-sidebar-menu-background-color: var(--lhds-color-blue-500);--swui-sidebar-menu-background-color-hover: var(--lhds-color-blue-700);--swui-sidebar-menu-background-color-focus: var(--lhds-color-blue-700);--swui-sidebar-menu-background-color-active: var(--lhds-color-blue-600);--swui-sidebar-menu-item-selected: var(--lhds-color-blue-800);--swui-sidebar-menu-content-padding: var(--swui-metrics-indent) var(--swui-metrics-indent) var(--swui-metrics-indent) 0;--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-item-selected: var(--swui-sidebar-menu-item-selected);--current-content-padding: var(--swui-sidebar-menu-content-padding);background-color:var(--current-background-color);height:100vh}._sidebarMenu_hch18_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_hch18_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._sidebarMenuCloseButton_1j21u_1{--swui-sidebar-menu-close-button-text-color: var(--lhds-color-ui-50);--swui-sidebar-menu-close-button-background-color: var(--lhds-color-blue-500);--swui-sidebar-menu-close-button-background-color-hover: var( --lhds-color-blue-600 );--swui-sidebar-menu-close-button-background-color-focus: var( --lhds-color-blue-600 );--swui-sidebar-menu-close-button-background-color-active: var( --lhds-color-blue-500 );--current-background-color: var( --swui-sidebar-menu-close-button-background-color );display:flex;align-items:center;justify-content:flex-start;line-height:10px;background-color:var(--current-background-color);color:var(--swui-sidebar-menu-close-button-text-color);cursor:pointer;height:var(--swui-sidebar-menu-item-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuCloseButton_1j21u_1:hover{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-hover )}._sidebarMenuCloseButton_1j21u_1:focus{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-focus )}._sidebarMenuCloseButton_1j21u_1:active{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-active )}._sidebarMenuCloseButton_1j21u_1 ._iconWrapper_1j21u_55{justify-content:center;align-items:center;width:var(--swui-sidebar-menu-item-height);height:var(--swui-sidebar-menu-item-height)}._sidebarMenuCloseButton_1j21u_1 ._icon_1j21u_55{color:var(--swui-sidebar-menu-close-button-text-color)}._label_mnp0f_1{font-size:var(--current-text-size, var(--swui-font-size-medium));line-height:var(--current-line-height, var(--swui-line-height-medium));font-weight:var(--swui-button-font-weight);font-family:var(--swui-font-buttons);color:var(--current-text-color)}._icon_mnp0f_9{color:var(--current-text-color);font-size:1.6rem}._spinner_mnp0f_14{color:var(--current-text-color)}._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18{width:var(--swui-sidebar-menu-item-height);margin-right:0}._button_mnp0f_23{border:0;padding:0;background:var(--current-background-color)}[data-collapsed] [aria-expanded=true] ._button_mnp0f_23,._button_mnp0f_23:hover{background:var(--current-background-color-hover)}._button_mnp0f_23:focus{outline:none}._button_mnp0f_23:focus-visible{background:var(--current-background-color-active)}._button_mnp0f_23:active{background:var(--current-background-color-active)}._button_mnp0f_23._selected_mnp0f_45{background:var(--current-item-selected)}._sidebarMenuHeading_kvpq5_1{--swui-sidebar-menu-heading-text-color: var(--lhds-color-ui-300);text-transform:uppercase}._sidebarMenuCollapsible_1jwhs_1{--swui-collapsible-header-text-color: var(--current-text-color);--swui-collapsible-header-background-color: var(--current-background-color);--swui-collapsible-header-background-color-hover: var( --current-background-color-hover );--swui-collapsible-header-background-color-active: var( --current-background-color-active );--swui-collapsible-header-indicator-color: var(--current-text-color);--swui-collapsible-header-indicator-color-collapsed: var( --current-text-color );--swui-collapsible-header-indicator-color-hover: var(--current-text-color);--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 0;--swui-collapsible-header-content-margin: 0;--swui-collapsible-collapsible-link-padding: var(--swui-metrics-indent) var(--swui-metrics-indent) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4);--swui-collapsible-header-border-color: transparent;--swui-collapsible-min-height: var(--swui-sidebar-menu-item-height)}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { ActionMenu as ne, ActionMenuContext as he, stenaAngleDown as te, PrimaryButton as pe, SecondaryButton as me, FlatButton as D, stenaBell as fe, Icon as R, stenaSearch as ge, stenaUserCircle as be, Banner as ve, Spinner as _e, ButtonContent as Ce } from "@stenajs-webui/elements";
3
- import * as L from "react";
4
- import { useRef as Be, useMemo as oe, forwardRef as xe, useState as we } from "react";
5
- import { useBoolean as U, Column as $, Box as d, Row as p, Indent as b, Heading as Z, Clickable as P, Text as C, Space as w, SeparatorLine as re, exhaustSwitchCaseElseThrow as ae } from "@stenajs-webui/core";
6
- import { Popover as O } from "@stenajs-webui/tooltip";
1
+ (function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode('._navBar_1qp30_1{--swui-navbar-background-color: var(--lhds-color-blue-500);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );background-color:var(--swui-navbar-background-color)}._sidebarMenuButton_1x4z8_1{--swui-nav-bar-side-menu-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-side-menu-button-background-color: var(--lhds-color-blue-500);--swui-nav-bar-side-menu-button-background-color-hover: var( --lhds-color-blue-600 );--swui-nav-bar-side-menu-button-background-color-focus: var( --lhds-color-blue-600 );--swui-nav-bar-side-menu-button-background-color-active: var( --lhds-color-blue-700 );--current-background-color: var( --swui-nav-bar-side-menu-button-background-color );display:flex;align-items:center;justify-content:center;line-height:10px;background-color:var(--current-background-color);color:var(--swui-nav-bar-side-menu-button-text-color);cursor:pointer;height:var(--swui-nav-bar-height);width:var(--swui-nav-bar-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuButton_1x4z8_1:hover{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-hover )}._sidebarMenuButton_1x4z8_1:focus-visible{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-focus )}._sidebarMenuButton_1x4z8_1:active{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-active )}._sidebarMenuButton_1x4z8_1 ._icon_1x4z8_55{color:var(--swui-nav-bar-side-menu-button-text-color)}._navBarButton_1xy53_1{--swui-nav-bar-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-blue-900);--swui-nav-bar-button-background-color-focus: var(--lhds-color-blue-700);--swui-nav-bar-button-background-color-active: var(--lhds-color-blue-800);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-700 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-800 );--swui-flat-button-text-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-text-color-active: var(--swui-nav-bar-button-text-color);--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-active )}._navBarButton_1xy53_1._selected_1xy53_36{--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color-selected );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-selected-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-selected-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-selected-active )}._navBarNotificationButton_1wchp_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-hover: var( --lhds-color-blue-900 );--swui-nav-bar-notification-button-background-color-focus: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-active: var( --lhds-color-blue-800 );--swui-nav-bar-notification-button-background-color-unread: var( --lhds-color-red-500 );--swui-nav-bar-notification-button-background-color-unread-hover: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-focus: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-active: var( --lhds-color-red-800 );--swui-flat-button-text-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-icon-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-text-color-active: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-active );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px;--swui-nav-bar-notification-shake-count: 3;transition:.5s width;width:32px}._navBarNotificationButton_1wchp_1._hasCount_1wchp_60{width:56px}._navBarNotificationButton_1wchp_1._unread_1wchp_64{--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color-unread );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-unread-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-unread-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-unread-active )}._navBarNotificationButton_1wchp_1._unread_1wchp_64._hasCount_1wchp_60 ._icon_1wchp_79{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_1wchp_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_1wchp_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_1wchp_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes _shake_1wchp_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}._navBarSearchFieldInput_4knxd_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_4knxd_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_4knxd_1{--swui-textinput-animation-time: var(--swui-animation-time-fast);--swui-textinput-placeholder-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-blue-600);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_4knxd_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-icon-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._navBarUserButton_1gxfr_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color: var(--lhds-color-blue-700);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-blue-900);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-blue-700);--swui-nav-bar-user-button-background-color-active: var( --lhds-color-blue-800 );--swui-flat-button-text-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-text-color-active: var( --swui-nav-bar-user-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-user-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-user-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-user-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-user-button-background-color-active );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px}._navBarUserButton_1gxfr_1._initials_1gxfr_33{width:32px}._clickable_1ijxc_1{--swui-toast-border-color: transparent;--swui-toast-item-border-color-hover: var(--lhds-color-blue-500);--current-border-color: var(--swui-toast-border-color);border-width:1px;border-style:solid;border-color:var(--current-border-color);position:absolute;top:0;left:0;right:0;bottom:0;border-radius:8px;background-color:transparent;width:100%;cursor:pointer}._clickable_1ijxc_1:hover{--current-border-color: var(--swui-toast-item-border-color-hover)}._nonClickable_1ijxc_27{position:relative;z-index:1;pointer-events:none}._nonClickable_1ijxc_27 a,._nonClickable_1ijxc_27 button{pointer-events:auto}._collapsible_1nroa_1{--swui-collapsible-animation-time: var(--swui-animation-time-fast);--swui-collapsible-expanded-line-background-color: var( --swui-primary-action-color );--swui-collapsible-header-text-color: var(--lhds-color-ui-900);--swui-collapsible-header-background-color: var(--swui-white);--swui-collapsible-header-background-color-hover: var(--lhds-color-blue-100);--swui-collapsible-header-background-color-active: var(--lhds-color-blue-100);--swui-collapsible-header-border-color: var(--lhds-color-ui-300);--swui-collapsible-header-border-color-focus: var( --swui-primary-action-color );--swui-collapsible-header-focus-shadow: var(--swui-field-focus-shadow);--swui-collapsible-header-content-margin: calc( var(--swui-metrics-indent) * 2 );--swui-collapsible-header-font-weight: var(--swui-font-weight-text-bold);--swui-collapsible-header-indicator-color: var(--swui-primary-action-color);--swui-collapsible-header-indicator-color-collapsed: var(--lhds-color-ui-500);--swui-collapsible-header-indicator-color-hover: var( --swui-primary-action-color );--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0;--swui-collapsible-content-background-color: var(--lhds-color-ui-100);--swui-collapsible-content-border-color: var(--lhds-color-ui-300);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2);--swui-collapsible-groupheading-font-size: var(--swui-font-size-smaller);--swui-collapsible-groupheading-text-color: var(--lhds-color-ui-600);--swui-collapsible-min-height: 40px}._collapsible_1nroa_1 ._header_1nroa_46{background-color:var(--swui-collapsible-header-background-color);width:100%;text-align:left;min-height:var(--swui-collapsible-min-height);box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--swui-collapsible-header-border-color);padding:var(--swui-collapsible-header-padding)}._collapsible_1nroa_1 ._header_1nroa_46 ._indicator_1nroa_59{transition:all var(--swui-collapsible-animation-time) ease-in-out;margin-left:var(--swui-collapsible-header-content-margin);color:var(--swui-collapsible-header-indicator-color)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active){background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active) ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 ._header_1nroa_46:active{background:var(--swui-collapsible-header-background-color-active)}._collapsible_1nroa_1 ._header_1nroa_46:disabled{cursor:not-allowed}._collapsible_1nroa_1{position:relative}._collapsible_1nroa_1:before{content:"";position:absolute;width:2px;background:var(--swui-collapsible-expanded-line-background-color);top:0;bottom:0;left:0;z-index:1}._collapsible_1nroa_1 ._headerText_1nroa_103{font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1[aria-expanded=false]{--swui-collapsible-expanded-line-background-color: transparent}._collapsible_1nroa_1[aria-expanded=false] ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-collapsed)}._collapsible_1nroa_1 ._label_1nroa_114{margin-right:auto}._collapsible_1nroa_1 ._label_1nroa_114 span{--current-line-height: 1;font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1 ._contentLeft_1nroa_123,._collapsible_1nroa_1 ._contentRight_1nroa_124{display:flex}._collapsible_1nroa_1 ._contentLeft_1nroa_123 button,._collapsible_1nroa_1 ._contentRight_1nroa_124 button{cursor:pointer}._collapsible_1nroa_1 ._contentLeft_1nroa_123{margin-right:var(--swui-collapsible-header-content-margin)}._collapsible_1nroa_1 ._contentRight_1nroa_124{margin-left:auto}._collapsible_1nroa_1 ._content_1nroa_123{display:flex;align-items:center;justify-content:stretch;background:var(--swui-collapsible-content-background-color);padding:var(--swui-collapsible-content-padding);min-height:var(--swui-collapsible-min-height);box-sizing:border-box}._collapsible_1nroa_1 ._content_1nroa_123:last-child{border-bottom:1px solid var(--swui-collapsible-content-border-color)}._collapsible_1nroa_1 ._content_1nroa_123._groupHeading_1nroa_155{border:none;font-size:var(--swui-collapsible-groupheading-font-size);font-family:var(--swui-font-primary);color:var(--swui-collapsible-groupheading-text-color);text-transform:uppercase;font-weight:var(--swui-font-weight-text-bold);letter-spacing:.1rem}._collapsible_1nroa_1 ._content_1nroa_123 [data-hidden=true]{display:none}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hover=true]{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._contentEnter_1nroa_180{opacity:0}._collapsible_1nroa_1 ._contentEnterActive_1nroa_184{opacity:1;transition:opacity var(--swui-collapsible-animation-time) ease-in-out}._collapsible_1nroa_1 ._contentExitDone_1nroa_189{display:none}._collapsible_1nroa_1 button._content_1nroa_123{font-family:var(--swui-font-primary);font-size:inherit;width:100%;text-align:left}._collapsible_1nroa_1 button._content_1nroa_123:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 button._content_1nroa_123:not(:disabled):hover{background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 button._content_1nroa_123:disabled{cursor:not-allowed}._collapsible_1nroa_1 button._content_1nroa_123:focus-within [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-background-color: var( --swui-collapsible-content-background-color );--swui-collapsible-header-font-weight: normal}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 4);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 6)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 6);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 8)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 8);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 10)}._sidebarMenu_hch18_1{--swui-sidebar-menu-separator-color: var(--lhds-color-blue-700);--swui-sidebar-menu-text-color: var(--swui-white);--swui-sidebar-menu-icon-color: var(--swui-white);--swui-sidebar-menu-background-color: var(--lhds-color-blue-500);--swui-sidebar-menu-background-color-hover: var(--lhds-color-blue-700);--swui-sidebar-menu-background-color-focus: var(--lhds-color-blue-700);--swui-sidebar-menu-background-color-active: var(--lhds-color-blue-600);--swui-sidebar-menu-item-selected: var(--lhds-color-blue-800);--swui-sidebar-menu-content-padding: var(--swui-metrics-indent) var(--swui-metrics-indent) var(--swui-metrics-indent) 0;--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-item-selected: var(--swui-sidebar-menu-item-selected);--current-content-padding: var(--swui-sidebar-menu-content-padding);background-color:var(--current-background-color);height:100vh}._sidebarMenu_hch18_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_hch18_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._sidebarMenuCloseButton_1j21u_1{--swui-sidebar-menu-close-button-text-color: var(--lhds-color-ui-50);--swui-sidebar-menu-close-button-background-color: var(--lhds-color-blue-500);--swui-sidebar-menu-close-button-background-color-hover: var( --lhds-color-blue-600 );--swui-sidebar-menu-close-button-background-color-focus: var( --lhds-color-blue-600 );--swui-sidebar-menu-close-button-background-color-active: var( --lhds-color-blue-500 );--current-background-color: var( --swui-sidebar-menu-close-button-background-color );display:flex;align-items:center;justify-content:flex-start;line-height:10px;background-color:var(--current-background-color);color:var(--swui-sidebar-menu-close-button-text-color);cursor:pointer;height:var(--swui-sidebar-menu-item-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuCloseButton_1j21u_1:hover{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-hover )}._sidebarMenuCloseButton_1j21u_1:focus{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-focus )}._sidebarMenuCloseButton_1j21u_1:active{--current-background-color: var( --swui-sidebar-menu-close-button-background-color-active )}._sidebarMenuCloseButton_1j21u_1 ._iconWrapper_1j21u_55{justify-content:center;align-items:center;width:var(--swui-sidebar-menu-item-height);height:var(--swui-sidebar-menu-item-height)}._sidebarMenuCloseButton_1j21u_1 ._icon_1j21u_55{color:var(--swui-sidebar-menu-close-button-text-color)}._label_mnp0f_1{font-size:var(--current-text-size, var(--swui-font-size-medium));line-height:var(--current-line-height, var(--swui-line-height-medium));font-weight:var(--swui-button-font-weight);font-family:var(--swui-font-buttons);color:var(--current-text-color)}._icon_mnp0f_9{color:var(--current-text-color);font-size:1.6rem}._spinner_mnp0f_14{color:var(--current-text-color)}._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18._leftWrapper_mnp0f_18{width:var(--swui-sidebar-menu-item-height);margin-right:0}._button_mnp0f_23{border:0;padding:0;background:var(--current-background-color)}[data-collapsed] [aria-expanded=true] ._button_mnp0f_23,._button_mnp0f_23:hover{background:var(--current-background-color-hover)}._button_mnp0f_23:focus{outline:none}._button_mnp0f_23:focus-visible{background:var(--current-background-color-active)}._button_mnp0f_23:active{background:var(--current-background-color-active)}._button_mnp0f_23._selected_mnp0f_45{background:var(--current-item-selected)}._sidebarMenuHeading_kvpq5_1{--swui-sidebar-menu-heading-text-color: var(--lhds-color-ui-300);text-transform:uppercase}._sidebarMenuCollapsible_1jwhs_1{--swui-collapsible-header-text-color: var(--current-text-color);--swui-collapsible-header-background-color: var(--current-background-color);--swui-collapsible-header-background-color-hover: var( --current-background-color-hover );--swui-collapsible-header-background-color-active: var( --current-background-color-active );--swui-collapsible-header-indicator-color: var(--current-text-color);--swui-collapsible-header-indicator-color-collapsed: var( --current-text-color );--swui-collapsible-header-indicator-color-hover: var(--current-text-color);--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 0;--swui-collapsible-header-content-margin: 0;--swui-collapsible-collapsible-link-padding: var(--swui-metrics-indent) var(--swui-metrics-indent) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4);--swui-collapsible-header-border-color: transparent;--swui-collapsible-min-height: var(--swui-sidebar-menu-item-height)}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { ActionMenu as re, ActionMenuContext as me, stenaAngleDown as oe, PrimaryButton as be, SecondaryButton as ge, FlatButton as $, stenaBell as fe, Icon as A, stenaSearch as _e, stenaUserCircle as ve, stenaTimes as Ce, Banner as xe, Spinner as Be, ButtonContent as Ne } from "@stenajs-webui/elements";
3
+ import * as I from "react";
4
+ import { useRef as we, useMemo as ye, forwardRef as ke, useState as Me } from "react";
5
+ import { useBoolean as U, Column as L, Box as c, Row as p, Indent as g, Heading as Z, Clickable as q, Txt as X, Space as k, Text as S, SeparatorLine as ae, exhaustSwitchCaseElseThrow as ie } from "@stenajs-webui/core";
6
+ import { Popover as T } from "@stenajs-webui/tooltip";
7
7
  import { jsx as e, jsxs as i, Fragment as m } from "react/jsx-runtime";
8
- import { Checkbox as ie, TextInput as Ne } from "@stenajs-webui/forms";
9
- import h from "classnames";
10
- import { cssColor as M } from "@stenajs-webui/theme";
11
- import { formatDistance as ye } from "date-fns";
12
- import { faChevronDown as ke } from "@fortawesome/free-solid-svg-icons";
13
- import { faChevronUp as Me } from "@fortawesome/free-solid-svg-icons/faChevronUp";
14
- import { CSSTransition as Se } from "react-transition-group";
15
- import { faInbox as Le } from "@fortawesome/free-solid-svg-icons/faInbox";
16
- const q = ({
8
+ import { Checkbox as se, TextInput as Se } from "@stenajs-webui/forms";
9
+ import d from "classnames";
10
+ import { cssColor as B } from "@stenajs-webui/theme";
11
+ import { faChevronDown as Ie } from "@fortawesome/free-solid-svg-icons";
12
+ import { faChevronUp as Le } from "@fortawesome/free-solid-svg-icons/faChevronUp";
13
+ import { CSSTransition as Ee } from "react-transition-group";
14
+ import { faInbox as Fe } from "@fortawesome/free-solid-svg-icons/faInbox";
15
+ const V = ({
17
16
  renderItems: n,
18
- placement: o = "bottom",
17
+ placement: r = "bottom",
19
18
  buttonComponent: t,
20
- rightIcon: r = te,
19
+ rightIcon: o = oe,
21
20
  portalTarget: a = "parent",
22
21
  zIndex: s,
23
- menuWidth: c,
24
- menuTop: u,
25
- onClick: f,
22
+ menuWidth: u,
23
+ menuTop: h,
24
+ onClick: _,
26
25
  disableArrow: v = !1,
27
- ..._
26
+ ...f
28
27
  }) => {
29
- const [B, x, g, I] = U(!1), N = Be(null), E = {
28
+ const [C, x, b, E] = U(!1), N = we(null), F = {
30
29
  name: "focusManager",
31
30
  defaultValue: !0,
32
31
  fn({
33
32
  popper: H
34
33
  }) {
35
- let j = !1;
36
- const K = (S) => {
37
- S.key === "Escape" && (j = !0, g()), (S.key === "Enter" || S.key === " ") && (j = !0);
34
+ let P = !1;
35
+ const Q = (M) => {
36
+ M.key === "Escape" && (P = !0, b()), (M.key === "Enter" || M.key === " ") && (P = !0);
38
37
  };
39
38
  return {
40
39
  onCreate() {
41
- H.addEventListener("keydown", K);
40
+ H.addEventListener("keydown", Q);
42
41
  },
43
42
  onDestroy() {
44
- H.removeEventListener("keydown", K);
43
+ H.removeEventListener("keydown", Q);
45
44
  },
46
45
  onMount() {
47
- var S;
48
- j = !1, (S = H.querySelector("button:not([disabled]), a[href]")) == null || S.focus();
46
+ var M;
47
+ P = !1, (M = H.querySelector("button:not([disabled]), a[href]")) == null || M.focus();
49
48
  },
50
49
  onHide() {
51
- N.current && j && N.current.focus();
50
+ N.current && P && N.current.focus();
52
51
  }
53
52
  };
54
53
  }
55
- }, y = oe(() => ({
54
+ }, w = ye(() => ({
56
55
  open: x,
57
- close: g
58
- }), [x, g]), F = (H) => {
59
- f == null || f(H), I();
56
+ close: b
57
+ }), [x, b]), j = (H) => {
58
+ _ == null || _(H), E();
60
59
  };
61
- return /* @__PURE__ */ e(O, {
60
+ return /* @__PURE__ */ e(T, {
62
61
  disablePadding: !0,
63
- visible: B,
64
- onClickOutside: g,
65
- placement: o,
66
- content: B && /* @__PURE__ */ e(ne, {
62
+ visible: C,
63
+ onClickOutside: b,
64
+ placement: r,
65
+ content: C && /* @__PURE__ */ e(re, {
67
66
  variant: "outlined",
68
- width: c,
69
- top: u,
67
+ width: u,
68
+ top: h,
70
69
  trapFocus: !0,
71
- children: /* @__PURE__ */ e(he.Provider, {
72
- value: y,
73
- children: n(g)
70
+ children: /* @__PURE__ */ e(me.Provider, {
71
+ value: w,
72
+ children: n(b)
74
73
  })
75
74
  }),
76
75
  arrow: !1,
77
76
  appendTo: a,
78
77
  zIndex: s,
79
- plugins: [E],
78
+ plugins: [F],
80
79
  lazy: !0,
81
80
  children: /* @__PURE__ */ e(t, {
82
- rightIcon: v ? void 0 : r,
83
- ..._,
81
+ rightIcon: v ? void 0 : o,
82
+ ...f,
84
83
  ref: N,
85
- onClick: F
84
+ onClick: j
86
85
  })
87
86
  });
88
- }, Vn = (n) => /* @__PURE__ */ e(q, {
89
- buttonComponent: pe,
87
+ }, Kn = (n) => /* @__PURE__ */ e(V, {
88
+ buttonComponent: be,
90
89
  ...n
91
- }), Gn = (n) => /* @__PURE__ */ e(q, {
92
- buttonComponent: me,
90
+ }), Qn = (n) => /* @__PURE__ */ e(V, {
91
+ buttonComponent: ge,
93
92
  ...n
94
- }), Ie = (n) => /* @__PURE__ */ e(q, {
95
- buttonComponent: D,
93
+ }), je = (n) => /* @__PURE__ */ e(V, {
94
+ buttonComponent: $,
96
95
  ...n
97
- }), Ee = "1px solid var(--lhds-color-ui-300)", Jn = ({
96
+ }), He = "1px solid var(--lhds-color-ui-300)", Xn = ({
98
97
  renderMenu: n,
99
- ...o
98
+ ...r
100
99
  }) => {
101
- const [t, r, a] = U(!1);
102
- return /* @__PURE__ */ e(O, {
100
+ const [t, o, a] = U(!1);
101
+ return /* @__PURE__ */ e(T, {
103
102
  onClickOutside: a,
104
103
  arrow: !1,
105
104
  visible: t,
106
105
  disablePadding: !0,
107
- content: n ? /* @__PURE__ */ e($, {
108
- children: /* @__PURE__ */ e(ne, {
106
+ content: n ? /* @__PURE__ */ e(L, {
107
+ children: /* @__PURE__ */ e(re, {
109
108
  children: n(a)
110
109
  })
111
110
  }) : void 0,
112
111
  placement: "bottom-start",
113
112
  variant: "outlined",
114
- children: /* @__PURE__ */ e(d, {
113
+ children: /* @__PURE__ */ e(c, {
115
114
  display: "inline-block",
116
115
  children: /* @__PURE__ */ i(p, {
117
116
  spacing: 0.5,
118
117
  indent: !0,
119
118
  alignItems: "center",
120
- border: Ee,
119
+ border: He,
121
120
  borderRadius: "4px",
122
- children: [/* @__PURE__ */ e(ie, {
123
- ...o
124
- }), /* @__PURE__ */ e(b, {
121
+ children: [/* @__PURE__ */ e(se, {
122
+ ...r
123
+ }), /* @__PURE__ */ e(g, {
125
124
  num: 0.5
126
- }), /* @__PURE__ */ e(D, {
125
+ }), /* @__PURE__ */ e($, {
127
126
  size: "small",
128
- onClick: r,
129
- leftIcon: te
127
+ onClick: o,
128
+ leftIcon: oe
130
129
  })]
131
130
  })
132
131
  })
133
132
  });
134
- }, Fe = "_navBar_1qp30_1", He = {
135
- navBar: Fe
136
- }, Ae = "_sidebarMenuButton_1x4z8_1", Re = "_icon_1x4z8_55", Q = {
133
+ }, Re = "_navBar_1qp30_1", $e = {
134
+ navBar: Re
135
+ }, Ae = "_sidebarMenuButton_1x4z8_1", Pe = "_icon_1x4z8_55", Y = {
137
136
  sidebarMenuButton: Ae,
138
- icon: Re
139
- }, $e = (n) => /* @__PURE__ */ L.createElement("svg", {
137
+ icon: Pe
138
+ }, Te = (n) => /* @__PURE__ */ I.createElement("svg", {
140
139
  xmlns: "http://www.w3.org/2000/svg",
141
140
  width: 16,
142
141
  height: 16,
143
142
  viewBox: "0 0 24 24",
144
143
  ...n
145
- }, /* @__PURE__ */ L.createElement("path", {
144
+ }, /* @__PURE__ */ I.createElement("path", {
146
145
  fill: "#FFF",
147
146
  fillRule: "evenodd",
148
147
  d: "M22,5 L2,5 C2.11992373,5 2,4.85076158 2,5 L2,3 C2,3.14923842 2.11992373,3 2,3 L22,3 C21.8800763,3 22,3.14923842 22,3 L22,5 C22,4.85076158 21.8800763,5 22,5 Z M22,13 L2,13 C2.11992373,13 2,12.8507616 2,13 L2,11 C2,11.1492384 2.11992373,11 2,11 L22,11 C21.8800763,11 22,11.1492384 22,11 L22,13 C22,12.8507616 21.8800763,13 22,13 Z M22,21 L2,21 C2.11992373,21 2,20.8507616 2,21 L2,19 C2,19.1492384 2.11992373,19 2,19 L22,19 C21.8800763,19 22,19.1492384 22,19 L22,21 C22,20.8507616 21.8800763,21 22,21 Z"
149
- })), se = ({
148
+ })), ce = ({
150
149
  className: n,
151
- onClick: o
150
+ onClick: r
152
151
  }) => /* @__PURE__ */ e("button", {
153
- onClick: o,
154
- className: h(Q.sidebarMenuButton, n),
155
- children: /* @__PURE__ */ e($e, {
156
- className: Q.icon
152
+ onClick: r,
153
+ className: d(Y.sidebarMenuButton, n),
154
+ children: /* @__PURE__ */ e(Te, {
155
+ className: Y.icon
157
156
  })
158
- }), je = {
157
+ }), Oe = {
159
158
  compact: 40,
160
159
  standard: 48,
161
160
  relaxed: 64
162
- }, ce = (n) => je[n] + "px", Kn = ({
161
+ }, le = (n) => Oe[n] + "px", Yn = ({
163
162
  left: n,
164
- className: o,
163
+ className: r,
165
164
  showMenuButton: t = !1,
166
- menuButtonVisibility: r = "visible",
165
+ menuButtonVisibility: o = "visible",
167
166
  children: a,
168
167
  right: s,
169
- center: c,
170
- variant: u = "standard",
171
- onClickMenuButton: f
168
+ center: u,
169
+ variant: h = "standard",
170
+ onClickMenuButton: _
172
171
  }) => {
173
- const v = c ? 1 : void 0, _ = ce(u);
172
+ const v = u ? 1 : void 0, f = le(h);
174
173
  return /* @__PURE__ */ i(p, {
175
- height: _,
176
- minHeight: _,
174
+ height: f,
175
+ minHeight: f,
177
176
  justifyContent: "space-between",
178
177
  style: {
179
- ["--swui-nav-bar-height"]: _
178
+ ["--swui-nav-bar-height"]: f
180
179
  },
181
- className: h(He.navBar, o),
180
+ className: d($e.navBar, r),
182
181
  children: [/* @__PURE__ */ i(p, {
183
182
  flex: v,
184
183
  justifyContent: "flex-start",
185
184
  alignItems: "center",
186
185
  children: [t ? /* @__PURE__ */ i(m, {
187
- children: [r === "hidden" ? /* @__PURE__ */ e(d, {
186
+ children: [o === "hidden" ? /* @__PURE__ */ e(c, {
188
187
  width: "var(--swui-nav-bar-height)"
189
- }) : /* @__PURE__ */ e(se, {
190
- onClick: f
191
- }), /* @__PURE__ */ e(b, {})]
192
- }) : /* @__PURE__ */ e(b, {
188
+ }) : /* @__PURE__ */ e(ce, {
189
+ onClick: _
190
+ }), /* @__PURE__ */ e(g, {})]
191
+ }) : /* @__PURE__ */ e(g, {
193
192
  num: 2
194
193
  }), n ? /* @__PURE__ */ i(m, {
195
- children: [n, /* @__PURE__ */ e(b, {
194
+ children: [n, /* @__PURE__ */ e(g, {
196
195
  num: 2
197
196
  })]
198
- }) : /* @__PURE__ */ e(b, {
197
+ }) : /* @__PURE__ */ e(g, {
199
198
  num: 2
200
199
  }), a && /* @__PURE__ */ e(m, {
201
200
  children: /* @__PURE__ */ e(p, {
202
201
  justifyContent: "center",
203
202
  alignItems: "center",
204
- children: L.Children.map(a, (B, x) => /* @__PURE__ */ i(m, {
205
- children: [x > 0 && /* @__PURE__ */ e(b, {}), B]
203
+ children: I.Children.map(a, (C, x) => /* @__PURE__ */ i(m, {
204
+ children: [x > 0 && /* @__PURE__ */ e(g, {}), C]
206
205
  }))
207
206
  })
208
207
  })]
209
- }), c && /* @__PURE__ */ e(p, {
208
+ }), u && /* @__PURE__ */ e(p, {
210
209
  justifyContent: "center",
211
210
  alignItems: "center",
212
- children: c
211
+ children: u
213
212
  }), /* @__PURE__ */ i(p, {
214
213
  justifyContent: "flex-end",
215
214
  alignItems: "center",
216
215
  flex: v,
217
- children: [s, /* @__PURE__ */ e(b, {
216
+ children: [s, /* @__PURE__ */ e(g, {
218
217
  num: 2
219
218
  })]
220
219
  })]
221
220
  });
222
- }, De = "_navBarButton_1xy53_1", Pe = "_selected_1xy53_36", X = {
223
- navBarButton: De,
224
- selected: Pe
225
- }, Oe = ({
221
+ }, We = "_navBarButton_1xy53_1", ze = "_selected_1xy53_36", ee = {
222
+ navBarButton: We,
223
+ selected: ze
224
+ }, De = ({
226
225
  selected: n,
227
- className: o,
226
+ className: r,
228
227
  ...t
229
- }) => /* @__PURE__ */ e(D, {
228
+ }) => /* @__PURE__ */ e($, {
230
229
  ...t,
231
- className: h(X.navBarButton, n && X.selected, o)
232
- }), Qn = (n) => /* @__PURE__ */ e(Z, {
230
+ className: d(ee.navBarButton, n && ee.selected, r)
231
+ }), et = (n) => /* @__PURE__ */ e(Z, {
233
232
  whiteSpace: "nowrap",
234
233
  color: "#fff",
235
234
  ...n
236
- }), Xn = ({
235
+ }), nt = ({
237
236
  content: n,
238
- children: o,
237
+ children: r,
239
238
  ...t
240
239
  }) => {
241
- const [r, a, s] = U(!1);
242
- return /* @__PURE__ */ e(O, {
240
+ const [o, a, s] = U(!1);
241
+ return /* @__PURE__ */ e(T, {
243
242
  onClickOutside: s,
244
243
  triggerTarget: document.body,
245
- visible: r,
244
+ visible: o,
246
245
  content: /* @__PURE__ */ i(m, {
247
246
  children: [n && n({
248
247
  close: s
249
- }), o]
248
+ }), r]
250
249
  }),
251
- children: /* @__PURE__ */ e(Oe, {
250
+ children: /* @__PURE__ */ e(De, {
252
251
  ...t,
253
252
  onClick: a
254
253
  })
255
254
  });
256
- }, Te = "_navBarNotificationButton_1wchp_1", We = "_hasCount_1wchp_60", ze = "_unread_1wchp_64", Ue = "_icon_1wchp_79", Ze = "_shake_1wchp_1", A = {
257
- navBarNotificationButton: Te,
258
- hasCount: We,
259
- unread: ze,
260
- icon: Ue,
261
- shake: Ze
262
- }, Yn = ({
255
+ }, Ue = "_navBarNotificationButton_1wchp_1", Ze = "_hasCount_1wchp_60", qe = "_unread_1wchp_64", Ve = "_icon_1wchp_79", Ge = "_shake_1wchp_1", R = {
256
+ navBarNotificationButton: Ue,
257
+ hasCount: Ze,
258
+ unread: qe,
259
+ icon: Ve,
260
+ shake: Ge
261
+ }, tt = ({
263
262
  count: n,
264
- unread: o = !1,
263
+ unread: r = !1,
265
264
  className: t,
266
- labelClassName: r,
265
+ labelClassName: o,
267
266
  iconClassName: a,
268
267
  icon: s = fe,
269
- ...c
268
+ ...u
270
269
  }) => {
271
- const u = n > 0;
272
- return /* @__PURE__ */ e(D, {
273
- ...c,
270
+ const h = n > 0;
271
+ return /* @__PURE__ */ e($, {
272
+ ...u,
274
273
  leftIcon: s,
275
- className: h({
276
- [A.unread]: o
274
+ className: d({
275
+ [R.unread]: r
277
276
  }, {
278
- [A.hasCount]: u
279
- }, A.navBarNotificationButton, t),
280
- label: u ? String(n) : void 0,
281
- labelClassName: h(r, A.label),
282
- iconClassName: h(a, A.icon)
277
+ [R.hasCount]: h
278
+ }, R.navBarNotificationButton, t),
279
+ label: h ? String(n) : void 0,
280
+ labelClassName: d(o, R.label),
281
+ iconClassName: d(a, R.icon)
283
282
  });
284
- }, qe = "_navBarSearchFieldInput_4knxd_1", Ve = "_navBarSearchField_4knxd_1", Y = {
285
- navBarSearchFieldInput: qe,
286
- navBarSearchField: Ve
287
- }, et = ({
283
+ }, Je = "_navBarSearchFieldInput_4knxd_1", Ke = "_navBarSearchField_4knxd_1", ne = {
284
+ navBarSearchFieldInput: Je,
285
+ navBarSearchField: Ke
286
+ }, rt = ({
288
287
  placeholder: n = "Search...",
289
- className: o,
288
+ className: r,
290
289
  wrapperClassName: t,
291
- ...r
292
- }) => /* @__PURE__ */ e(Ne, {
293
- wrapperClassName: h(Y.navBarSearchField, t),
294
- className: h(Y.navBarSearchFieldInput, o),
290
+ ...o
291
+ }) => /* @__PURE__ */ e(Se, {
292
+ wrapperClassName: d(ne.navBarSearchField, t),
293
+ className: d(ne.navBarSearchFieldInput, r),
295
294
  placeholder: n,
296
- contentRight: /* @__PURE__ */ e(P, {
297
- children: /* @__PURE__ */ e(R, {
298
- icon: ge
295
+ contentRight: /* @__PURE__ */ e(q, {
296
+ children: /* @__PURE__ */ e(A, {
297
+ icon: _e
299
298
  })
300
299
  }),
301
- ...r
302
- }), Ge = "_navBarUserButton_1gxfr_1", Je = "_initials_1gxfr_33", ee = {
303
- navBarUserButton: Ge,
304
- initials: Je
305
- }, nt = ({
300
+ ...o
301
+ }), Qe = "_navBarUserButton_1gxfr_1", Xe = "_initials_1gxfr_33", te = {
302
+ navBarUserButton: Qe,
303
+ initials: Xe
304
+ }, ot = ({
306
305
  className: n,
307
- username: o,
306
+ username: r,
308
307
  initials: t,
309
- icon: r = be,
308
+ icon: o = ve,
310
309
  iconClassName: a,
311
310
  ...s
312
- }) => /* @__PURE__ */ e(Ie, {
311
+ }) => /* @__PURE__ */ e(je, {
313
312
  ...s,
314
- className: h({
315
- [ee.initials]: t != null
316
- }, ee.navBarUserButton, n),
317
- leftIcon: o != null ? r : void 0,
318
- label: t != null ? t : o,
313
+ className: d({
314
+ [te.initials]: t != null
315
+ }, te.navBarUserButton, n),
316
+ leftIcon: r != null ? o : void 0,
317
+ label: t != null ? t : r,
319
318
  disableArrow: !0
320
- }), Ke = {
321
- notificationBg: "#eaeaea",
322
- notificationHoverBg: "#eeeeee",
323
- notificationDismissedBg: "#ffffff",
324
- notificationDismissedHoverBg: "#f4f4f4"
325
- }, tt = ({
326
- onClick: n,
327
- icon: o,
328
- iconColor: t,
329
- title: r,
330
- text: a,
331
- content: s,
332
- date: c,
333
- dismissed: u,
334
- theme: f = Ke
335
- }) => {
336
- const v = oe(() => {
337
- if (c)
338
- return `${ye(c, new Date())} ago`;
339
- }, [c]);
340
- return /* @__PURE__ */ e(P, {
341
- onClick: n,
319
+ }), de = ({
320
+ text: n,
321
+ timestamp: r,
322
+ icon: t,
323
+ iconAriaLabel: o,
324
+ iconColor: a,
325
+ contentLeft: s,
326
+ contentRight: u,
327
+ onClose: h
328
+ }) => /* @__PURE__ */ i(p, {
329
+ alignItems: "flex-start",
330
+ indent: !0,
331
+ spacing: !0,
332
+ children: [/* @__PURE__ */ i(p, {
333
+ indent: 2,
334
+ spacing: !0,
335
+ gap: 2,
336
+ flex: 1,
337
+ alignItems: "flex-start",
338
+ children: [s && /* @__PURE__ */ e(c, {
339
+ minHeight: 20,
340
+ justifyContent: "center",
341
+ children: s
342
+ }), !s && t && /* @__PURE__ */ e(A, {
343
+ icon: t,
344
+ size: 20,
345
+ color: a,
346
+ "aria-label": o
347
+ }), /* @__PURE__ */ i(c, {
348
+ minHeight: 20,
349
+ justifyContent: "center",
350
+ flex: 1,
351
+ gap: 0.5,
352
+ children: [/* @__PURE__ */ e(X, {
353
+ variant: "bold",
354
+ children: n
355
+ }), r && /* @__PURE__ */ e(X, {
356
+ size: "small",
357
+ color: B("--lhds-color-ui-600"),
358
+ children: r
359
+ })]
360
+ }), u]
361
+ }), h && /* @__PURE__ */ e(c, {
362
+ flex: "none",
363
+ justifyContent: "center",
342
364
  style: {
343
- textAlign: "left"
365
+ height: "calc(20px + 2 * var(--swui-metrics-spacing))"
344
366
  },
345
- children: /* @__PURE__ */ e(d, {
346
- background: u ? f.notificationDismissedBg : f.notificationBg,
347
- hoverBackground: u ? f.notificationDismissedHoverBg : f.notificationHoverBg,
348
- spacing: !0,
349
- indent: !0,
350
- children: /* @__PURE__ */ i(p, {
351
- width: "250px",
352
- children: [o && /* @__PURE__ */ e(p, {
353
- width: "34px",
354
- alignItems: "center",
355
- children: /* @__PURE__ */ e(R, {
356
- icon: o,
357
- color: t
358
- })
359
- }), /* @__PURE__ */ i($, {
360
- flex: 1,
361
- children: [r && /* @__PURE__ */ i(m, {
362
- children: [/* @__PURE__ */ e(C, {
363
- children: r
364
- }), /* @__PURE__ */ e(w, {
365
- half: !0
366
- })]
367
- }), a && /* @__PURE__ */ i(m, {
368
- children: [/* @__PURE__ */ e(C, {
369
- size: "small",
370
- children: a
371
- }), /* @__PURE__ */ e(w, {
372
- half: !0
373
- })]
374
- }), s && /* @__PURE__ */ i(m, {
375
- children: [s, /* @__PURE__ */ e(w, {
376
- half: !0
377
- })]
378
- }), /* @__PURE__ */ e(C, {
379
- size: "small",
380
- color: M("--swui-text-disabled-color"),
381
- children: v
382
- })]
383
- })]
384
- })
367
+ children: /* @__PURE__ */ e($, {
368
+ leftIcon: Ce,
369
+ onClick: h,
370
+ "aria-label": "Close"
385
371
  })
386
- });
387
- }, Qe = "_collapsible_1nroa_1", Xe = "_header_1nroa_46", Ye = "_indicator_1nroa_59", en = "_headerText_1nroa_103", nn = "_label_1nroa_114", tn = "_contentLeft_1nroa_123", on = "_contentRight_1nroa_124", rn = "_content_1nroa_123", an = "_groupHeading_1nroa_155", sn = "_contentEnter_1nroa_180", cn = "_contentEnterActive_1nroa_184", ln = "_contentExitDone_1nroa_189", l = {
388
- collapsible: Qe,
389
- header: Xe,
390
- indicator: Ye,
391
- headerText: en,
392
- label: nn,
393
- contentLeft: tn,
394
- contentRight: on,
395
- content: rn,
396
- groupHeading: an,
397
- contentEnter: sn,
398
- contentEnterActive: cn,
399
- contentExitDone: ln
400
- }, V = () => /* @__PURE__ */ i($, {
372
+ })]
373
+ }), at = ({
374
+ children: n,
375
+ background: r,
376
+ ...t
377
+ }) => /* @__PURE__ */ i(L, {
378
+ background: r,
379
+ children: [/* @__PURE__ */ e(de, {
380
+ ...t
381
+ }), n && /* @__PURE__ */ i(L, {
382
+ indent: 3,
383
+ children: [n, /* @__PURE__ */ e(k, {
384
+ num: 2
385
+ })]
386
+ })]
387
+ }), Ye = "_clickable_1ijxc_1", en = "_nonClickable_1ijxc_27", O = {
388
+ clickable: Ye,
389
+ nonClickable: en
390
+ }, it = ({
391
+ onClick: n,
392
+ onClickAriaLabel: r,
393
+ children: t,
394
+ width: o = 264,
395
+ maxWidth: a,
396
+ ...s
397
+ }) => /* @__PURE__ */ i(c, {
398
+ borderRadius: 8,
399
+ background: B("--lhds-color-ui-50"),
400
+ shadow: "popover",
401
+ width: o,
402
+ maxWidth: a,
403
+ role: "alert",
404
+ position: "relative",
405
+ children: [/* @__PURE__ */ e(c, {
406
+ className: d({
407
+ [O.nonClickable]: n
408
+ }),
409
+ children: /* @__PURE__ */ e(de, {
410
+ ...s
411
+ })
412
+ }), t && /* @__PURE__ */ i(c, {
413
+ indent: 3,
414
+ className: d({
415
+ [O.nonClickable]: n
416
+ }),
417
+ children: [t, /* @__PURE__ */ e(k, {
418
+ num: 2
419
+ })]
420
+ }), n && /* @__PURE__ */ e("button", {
421
+ onClick: n,
422
+ className: O.clickable,
423
+ "aria-label": r
424
+ })]
425
+ }), nn = "_collapsible_1nroa_1", tn = "_header_1nroa_46", rn = "_indicator_1nroa_59", on = "_headerText_1nroa_103", an = "_label_1nroa_114", sn = "_contentLeft_1nroa_123", cn = "_contentRight_1nroa_124", ln = "_content_1nroa_123", dn = "_groupHeading_1nroa_155", un = "_contentEnter_1nroa_180", hn = "_contentEnterActive_1nroa_184", pn = "_contentExitDone_1nroa_189", l = {
426
+ collapsible: nn,
427
+ header: tn,
428
+ indicator: rn,
429
+ headerText: on,
430
+ label: an,
431
+ contentLeft: sn,
432
+ contentRight: cn,
433
+ content: ln,
434
+ groupHeading: dn,
435
+ contentEnter: un,
436
+ contentEnterActive: hn,
437
+ contentExitDone: pn
438
+ }, G = () => /* @__PURE__ */ i(L, {
401
439
  indent: !0,
402
440
  spacing: !0,
403
441
  flex: 1,
404
442
  alignItems: "center",
405
- children: [/* @__PURE__ */ e(R, {
406
- icon: Le,
407
- color: M("--lhds-color-ui-500")
408
- }), /* @__PURE__ */ e(w, {}), /* @__PURE__ */ e(C, {
443
+ children: [/* @__PURE__ */ e(A, {
444
+ icon: Fe,
445
+ color: B("--lhds-color-ui-500")
446
+ }), /* @__PURE__ */ e(k, {}), /* @__PURE__ */ e(S, {
409
447
  size: "small",
410
- color: M("--lhds-color-ui-500"),
448
+ color: B("--lhds-color-ui-500"),
411
449
  children: "No content"
412
450
  })]
413
- }), G = ({
451
+ }), J = ({
414
452
  contentLeft: n,
415
- contentRight: o,
453
+ contentRight: r,
416
454
  className: t,
417
- children: r,
455
+ children: o,
418
456
  ...a
419
457
  }) => /* @__PURE__ */ i("div", {
420
- className: h(l.content, t),
458
+ className: d(l.content, t),
421
459
  ...a,
422
460
  children: [n && /* @__PURE__ */ e("div", {
423
461
  className: l.contentLeft,
424
462
  children: n
425
- }), r != null ? r : /* @__PURE__ */ e(V, {}), o && /* @__PURE__ */ e("div", {
463
+ }), o != null ? o : /* @__PURE__ */ e(G, {}), r && /* @__PURE__ */ e("div", {
426
464
  className: l.contentRight,
427
- children: o
465
+ children: r
428
466
  })]
429
- }), dn = (n) => {
430
- const o = parseFloat(n), t = n.match(/m?s/);
467
+ }), mn = (n) => {
468
+ const r = parseFloat(n), t = n.match(/m?s/);
431
469
  switch (t == null ? void 0 : t[0]) {
432
470
  case "s":
433
- return o * 1e3;
471
+ return r * 1e3;
434
472
  case "ms":
435
- return o;
473
+ return r;
436
474
  default:
437
475
  return 0;
438
476
  }
439
- }, le = xe(function({
440
- label: o,
477
+ }, ue = ke(function({
478
+ label: r,
441
479
  contentLeft: t,
442
- contentRight: r,
480
+ contentRight: o,
443
481
  collapsed: a = !1,
444
482
  onClick: s,
445
- className: c,
446
- disabled: u = !1,
447
- unmountOnCollapse: f = !1,
483
+ className: u,
484
+ disabled: h = !1,
485
+ unmountOnCollapse: _ = !1,
448
486
  mountOnEnter: v = !0,
449
- icon: _ = Me,
450
- iconCollapsed: B = ke,
487
+ icon: f = Le,
488
+ iconCollapsed: C = Ie,
451
489
  iconSize: x = 8,
452
- children: g,
453
- autoFocus: I = !1,
490
+ children: b,
491
+ autoFocus: E = !1,
454
492
  ...N
455
- }, E) {
456
- const y = L.useRef(null), F = y.current ? dn(getComputedStyle(y.current).getPropertyValue("--swui-collapsible-animation-time")) : void 0;
493
+ }, F) {
494
+ const w = I.useRef(null), j = w.current ? mn(getComputedStyle(w.current).getPropertyValue("--swui-collapsible-animation-time")) : void 0;
457
495
  return /* @__PURE__ */ i("div", {
458
- className: h(l.collapsible, c),
496
+ className: d(l.collapsible, u),
459
497
  "aria-expanded": !a,
460
- ref: y,
498
+ ref: w,
461
499
  ...N,
462
- children: [/* @__PURE__ */ i(P, {
500
+ children: [/* @__PURE__ */ i(q, {
463
501
  disableFocusHighlight: !0,
464
502
  disableOpacityOnClick: !0,
465
503
  className: l.header,
466
504
  onClick: s,
467
- disabled: u,
468
- autoFocus: I,
469
- ref: E,
505
+ disabled: h,
506
+ autoFocus: E,
507
+ ref: F,
470
508
  children: [t && /* @__PURE__ */ e("div", {
471
509
  className: l.contentLeft,
472
510
  children: t
473
511
  }), /* @__PURE__ */ e("div", {
474
512
  className: l.label,
475
- children: /* @__PURE__ */ e(C, {
513
+ children: /* @__PURE__ */ e(S, {
476
514
  color: "var(--swui-collapsible-header-text-color)",
477
515
  className: l.headerText,
478
- children: o
516
+ children: r
479
517
  })
480
- }), r && /* @__PURE__ */ e("div", {
518
+ }), o && /* @__PURE__ */ e("div", {
481
519
  className: l.contentRight,
482
- children: r
483
- }), /* @__PURE__ */ e(R, {
484
- icon: a ? B : _,
520
+ children: o
521
+ }), /* @__PURE__ */ e(A, {
522
+ icon: a ? C : f,
485
523
  className: l.indicator,
486
524
  size: x,
487
525
  fixedWidth: !0
488
526
  })]
489
- }), /* @__PURE__ */ e(Se, {
527
+ }), /* @__PURE__ */ e(Ee, {
490
528
  in: !a,
491
529
  timeout: {
492
- enter: F
530
+ enter: j
493
531
  },
494
532
  classNames: {
495
533
  enter: l.contentEnter,
@@ -499,125 +537,125 @@ const q = ({
499
537
  exitDone: l.contentExitDone
500
538
  },
501
539
  mountOnEnter: v,
502
- unmountOnExit: f,
540
+ unmountOnExit: _,
503
541
  children: /* @__PURE__ */ e("div", {
504
542
  role: "region",
505
- children: g != null ? g : /* @__PURE__ */ e(G, {
506
- children: /* @__PURE__ */ e(V, {})
543
+ children: b != null ? b : /* @__PURE__ */ e(J, {
544
+ children: /* @__PURE__ */ e(G, {})
507
545
  })
508
546
  })
509
547
  })]
510
548
  });
511
- }), ot = ({
549
+ }), st = ({
512
550
  value: n,
513
- onValueChange: o,
551
+ onValueChange: r,
514
552
  onChange: t,
515
- indeterminate: r,
553
+ indeterminate: o,
516
554
  ...a
517
- }) => /* @__PURE__ */ e(le, {
518
- contentLeft: /* @__PURE__ */ e(ie, {
555
+ }) => /* @__PURE__ */ e(ue, {
556
+ contentLeft: /* @__PURE__ */ e(se, {
519
557
  value: n,
520
- indeterminate: r,
521
- onValueChange: o,
558
+ indeterminate: o,
559
+ onValueChange: r,
522
560
  onChange: t,
523
561
  onClick: (s) => s.stopPropagation()
524
562
  }),
525
563
  ...a
526
- }), rt = ({
564
+ }), ct = ({
527
565
  contentLeft: n,
528
- contentRight: o,
566
+ contentRight: r,
529
567
  className: t,
530
- onClick: r,
568
+ onClick: o,
531
569
  children: a,
532
570
  ...s
533
- }) => /* @__PURE__ */ i(P, {
571
+ }) => /* @__PURE__ */ i(q, {
534
572
  disableFocusHighlight: !0,
535
573
  disableOpacityOnClick: !0,
536
- className: h(l.content, t),
537
- onClick: r,
574
+ className: d(l.content, t),
575
+ onClick: o,
538
576
  ...s,
539
577
  children: [n && /* @__PURE__ */ e("div", {
540
578
  className: l.contentLeft,
541
579
  children: n
542
- }), a != null ? a : /* @__PURE__ */ e(V, {}), o && /* @__PURE__ */ e("div", {
580
+ }), a != null ? a : /* @__PURE__ */ e(G, {}), r && /* @__PURE__ */ e("div", {
543
581
  className: l.contentRight,
544
- children: o
582
+ children: r
545
583
  })]
546
- }), at = ({
584
+ }), lt = ({
547
585
  className: n,
548
- ...o
549
- }) => /* @__PURE__ */ e(G, {
550
- className: h(l.groupHeading, n),
551
- ...o
552
- }), un = ({
586
+ ...r
587
+ }) => /* @__PURE__ */ e(J, {
588
+ className: d(l.groupHeading, n),
589
+ ...r
590
+ }), bn = ({
553
591
  text: n = "Something unexpected happened."
554
- }) => /* @__PURE__ */ e(d, {
592
+ }) => /* @__PURE__ */ e(c, {
555
593
  justifyContent: "center",
556
594
  alignItems: "center",
557
- children: /* @__PURE__ */ e(ve, {
595
+ children: /* @__PURE__ */ e(xe, {
558
596
  variant: "error",
559
597
  headerText: n
560
598
  })
561
- }), it = (n) => /* @__PURE__ */ e(d, {
599
+ }), dt = (n) => /* @__PURE__ */ e(c, {
562
600
  width: "100%",
563
601
  height: "100%",
564
602
  justifyContent: "center",
565
603
  alignItems: "center",
566
- children: /* @__PURE__ */ e(un, {
604
+ children: /* @__PURE__ */ e(bn, {
567
605
  ...n
568
606
  })
569
- }), hn = ({
607
+ }), gn = ({
570
608
  text: n = "Loading..."
571
- }) => /* @__PURE__ */ i(d, {
609
+ }) => /* @__PURE__ */ i(c, {
572
610
  alignItems: "center",
573
- children: [/* @__PURE__ */ e(_e, {
611
+ children: [/* @__PURE__ */ e(Be, {
574
612
  size: "small"
575
- }), /* @__PURE__ */ e(w, {
613
+ }), /* @__PURE__ */ e(k, {
576
614
  num: 4
577
615
  }), /* @__PURE__ */ e(Z, {
578
616
  variant: "h4",
579
617
  children: n
580
618
  })]
581
- }), st = (n) => /* @__PURE__ */ e(d, {
619
+ }), ut = (n) => /* @__PURE__ */ e(c, {
582
620
  width: "100%",
583
621
  height: "100%",
584
622
  justifyContent: "center",
585
623
  alignItems: "center",
586
- children: /* @__PURE__ */ e(hn, {
624
+ children: /* @__PURE__ */ e(gn, {
587
625
  ...n
588
626
  })
589
- }), ct = ({
627
+ }), ht = ({
590
628
  renderBreadCrumbs: n,
591
- renderPageHeading: o,
629
+ renderPageHeading: r,
592
630
  renderTabs: t,
593
- children: r
594
- }) => /* @__PURE__ */ i(d, {
631
+ children: o
632
+ }) => /* @__PURE__ */ i(c, {
595
633
  shadow: "box",
596
- background: M("--lhds-color-ui-50"),
597
- children: [/* @__PURE__ */ i(d, {
634
+ background: B("--lhds-color-ui-50"),
635
+ children: [/* @__PURE__ */ i(c, {
598
636
  indent: 3,
599
637
  children: [n && /* @__PURE__ */ e(p, {
600
638
  spacing: 1.25,
601
639
  children: n()
602
- }), o == null ? void 0 : o(), t == null ? void 0 : t()]
603
- }), r && /* @__PURE__ */ i(m, {
604
- children: [!t && n && /* @__PURE__ */ e(w, {}), /* @__PURE__ */ e(re, {}), r]
640
+ }), r == null ? void 0 : r(), t == null ? void 0 : t()]
641
+ }), o && /* @__PURE__ */ i(m, {
642
+ children: [!t && n && /* @__PURE__ */ e(k, {}), /* @__PURE__ */ e(ae, {}), o]
605
643
  })]
606
- }), lt = (n) => /* @__PURE__ */ e(p, {
644
+ }), pt = (n) => /* @__PURE__ */ e(p, {
607
645
  indent: 3,
608
646
  spacing: !0,
609
647
  ...n
610
- }), pn = {
648
+ }), fn = {
611
649
  compact: 1,
612
650
  standard: 1.5,
613
651
  relaxed: 2
614
- }, dt = ({
652
+ }, mt = ({
615
653
  heading: n,
616
- variant: o = "standard",
654
+ variant: r = "standard",
617
655
  contentLeft: t,
618
- contentRight: r
656
+ contentRight: o
619
657
  }) => /* @__PURE__ */ i(p, {
620
- spacing: pn[o],
658
+ spacing: fn[r],
621
659
  alignItems: "center",
622
660
  gap: 2,
623
661
  children: [/* @__PURE__ */ e(Z, {
@@ -631,253 +669,253 @@ const q = ({
631
669
  marginLeft: "auto"
632
670
  },
633
671
  alignItems: "center",
634
- children: r
672
+ children: o
635
673
  })]
636
- }), mn = "_sidebarMenu_hch18_1", T = {
637
- sidebarMenu: mn
638
- }, fn = "_sidebarMenuCloseButton_1j21u_1", gn = "_iconWrapper_1j21u_55", bn = "_icon_1j21u_55", W = {
639
- sidebarMenuCloseButton: fn,
640
- iconWrapper: gn,
641
- icon: bn
642
- }, vn = (n) => /* @__PURE__ */ L.createElement("svg", {
674
+ }), _n = "_sidebarMenu_hch18_1", W = {
675
+ sidebarMenu: _n
676
+ }, vn = "_sidebarMenuCloseButton_1j21u_1", Cn = "_iconWrapper_1j21u_55", xn = "_icon_1j21u_55", z = {
677
+ sidebarMenuCloseButton: vn,
678
+ iconWrapper: Cn,
679
+ icon: xn
680
+ }, Bn = (n) => /* @__PURE__ */ I.createElement("svg", {
643
681
  width: "16px",
644
682
  height: "16px",
645
683
  viewBox: "0 0 16 16",
646
684
  xmlns: "http://www.w3.org/2000/svg",
647
685
  ...n
648
- }, /* @__PURE__ */ L.createElement("path", {
686
+ }, /* @__PURE__ */ I.createElement("path", {
649
687
  d: "M0.928932188,0.928932188 C1.31945648,0.538407896 1.95262146,0.538407896 2.34314575,0.928932188 L2.34314575,0.928932188 L8.00003897,6.58503897 L13.6568542,0.928932188 C14.0473785,0.538407896 14.6805435,0.538407896 15.0710678,0.928932188 C15.4615921,1.31945648 15.4615921,1.95262146 15.0710678,2.34314575 L9.41503897,8.00003897 L15.0710678,13.6568542 C15.4315518,14.0173382 15.4592813,14.5845693 15.1542564,14.9768605 L15.0710678,15.0710678 C14.6805435,15.4615921 14.0473785,15.4615921 13.6568542,15.0710678 L13.6568542,15.0710678 L8.00003897,9.41503897 L2.34314575,15.0710678 C1.95262146,15.4615921 1.31945648,15.4615921 0.928932188,15.0710678 C0.538407896,14.6805435 0.538407896,14.0473785 0.928932188,13.6568542 L6.58503897,8.00003897 L0.928932188,2.34314575 C0.568448227,1.98266179 0.540718691,1.41543073 0.845743582,1.02313953 Z",
650
688
  id: "Combined-Shape",
651
689
  fill: "#FFFFFF"
652
- })), _n = ({
690
+ })), Nn = ({
653
691
  className: n,
654
- onClick: o
692
+ onClick: r
655
693
  }) => /* @__PURE__ */ e("button", {
656
- onClick: o,
657
- className: h(W.sidebarMenuCloseButton, n),
658
- children: /* @__PURE__ */ e(d, {
659
- className: W.iconWrapper,
660
- children: /* @__PURE__ */ e(vn, {
661
- className: W.icon
694
+ onClick: r,
695
+ className: d(z.sidebarMenuCloseButton, n),
696
+ children: /* @__PURE__ */ e(c, {
697
+ className: z.iconWrapper,
698
+ children: /* @__PURE__ */ e(Bn, {
699
+ className: z.icon
662
700
  })
663
701
  })
664
- }), J = (n) => /* @__PURE__ */ e(re, {
665
- color: M("--lhds-color-blue-600"),
702
+ }), K = (n) => /* @__PURE__ */ e(ae, {
703
+ color: B("--lhds-color-blue-600"),
666
704
  ...n
667
- }), Cn = ({
705
+ }), wn = ({
668
706
  className: n,
669
- children: o,
707
+ children: r,
670
708
  onCloseClick: t,
671
- collapsed: r = !1,
709
+ collapsed: o = !1,
672
710
  hideCloseButton: a = !1,
673
711
  variant: s = "standard",
674
- ...c
712
+ ...u
675
713
  }) => {
676
- const u = ce(s);
677
- return /* @__PURE__ */ i(d, {
678
- className: h(T.sidebarMenu, r ? T.collapsed : null, n),
714
+ const h = le(s);
715
+ return /* @__PURE__ */ i(c, {
716
+ className: d(W.sidebarMenu, o ? W.collapsed : null, n),
679
717
  style: {
680
- ["--swui-sidebar-menu-item-height"]: u,
681
- ["--swui-nav-bar-height"]: u
718
+ ["--swui-sidebar-menu-item-height"]: h,
719
+ ["--swui-nav-bar-height"]: h
682
720
  },
683
- "data-collapsed": r || void 0,
684
- ...c,
721
+ "data-collapsed": o || void 0,
722
+ ...u,
685
723
  children: [!a && /* @__PURE__ */ i(m, {
686
- children: [/* @__PURE__ */ e(_n, {
724
+ children: [/* @__PURE__ */ e(Nn, {
687
725
  onClick: t
688
- }), /* @__PURE__ */ e(J, {}), /* @__PURE__ */ e(w, {})]
689
- }), /* @__PURE__ */ e(d, {
690
- className: T.sidebarMenuContent,
726
+ }), /* @__PURE__ */ e(K, {}), /* @__PURE__ */ e(k, {})]
727
+ }), /* @__PURE__ */ e(c, {
728
+ className: W.sidebarMenuContent,
691
729
  height: "100%",
692
730
  background: "var(--current-background-color)",
693
- children: /* @__PURE__ */ e($, {
731
+ children: /* @__PURE__ */ e(L, {
694
732
  flex: 1,
695
- children: o
733
+ children: r
696
734
  })
697
735
  })]
698
736
  });
699
- }, ut = ({
737
+ }, bt = ({
700
738
  variant: n,
701
- onClickMenuButton: o,
739
+ onClickMenuButton: r,
702
740
  children: t
703
- }) => /* @__PURE__ */ i(Cn, {
741
+ }) => /* @__PURE__ */ i(wn, {
704
742
  collapsed: !0,
705
743
  position: "fixed",
706
744
  left: 0,
707
745
  top: 0,
708
746
  hideCloseButton: !0,
709
747
  variant: n,
710
- children: [/* @__PURE__ */ e(se, {
711
- onClick: o
748
+ children: [/* @__PURE__ */ e(ce, {
749
+ onClick: r
712
750
  }), t]
713
- }), Bn = "_label_mnp0f_1", xn = "_icon_mnp0f_9", wn = "_spinner_mnp0f_14", Nn = "_leftWrapper_mnp0f_18", yn = "_button_mnp0f_23", kn = "_selected_mnp0f_45", k = {
714
- label: Bn,
715
- icon: xn,
716
- spinner: wn,
717
- leftWrapper: Nn,
718
- button: yn,
719
- selected: kn
720
- }, Mn = ({
751
+ }), yn = "_label_mnp0f_1", kn = "_icon_mnp0f_9", Mn = "_spinner_mnp0f_14", Sn = "_leftWrapper_mnp0f_18", In = "_button_mnp0f_23", Ln = "_selected_mnp0f_45", y = {
752
+ label: yn,
753
+ icon: kn,
754
+ spinner: Mn,
755
+ leftWrapper: Sn,
756
+ button: In,
757
+ selected: Ln
758
+ }, En = ({
721
759
  activeClassName: n,
722
- ...o
760
+ ...r
723
761
  }) => /* @__PURE__ */ e("button", {
724
- ...o
725
- }), z = ({
762
+ ...r
763
+ }), D = ({
726
764
  className: n,
727
- children: o,
765
+ children: r,
728
766
  selected: t,
729
- indent: r,
767
+ indent: o,
730
768
  label: a,
731
769
  loading: s,
732
- left: c,
733
- leftIcon: u,
734
- right: f,
770
+ left: u,
771
+ leftIcon: h,
772
+ right: _,
735
773
  rightIcon: v,
736
- success: _,
737
- width: B,
738
- renderLink: x = Mn,
739
- style: g,
740
- ...I
774
+ success: f,
775
+ width: C,
776
+ renderLink: x = En,
777
+ style: b,
778
+ ...E
741
779
  }) => {
742
- const N = c || u || s || _, E = h(k.button, t ? k.selected : void 0, n), y = {
743
- ...g,
744
- width: B,
780
+ const N = u || h || s || f, F = d(y.button, t ? y.selected : void 0, n), w = {
781
+ ...b,
782
+ width: C,
745
783
  height: "var(--swui-sidebar-menu-item-height)"
746
- }, F = /* @__PURE__ */ i(p, {
784
+ }, j = /* @__PURE__ */ i(p, {
747
785
  spacing: 1,
748
786
  flex: 1,
749
787
  alignItems: "center",
750
- children: [!N && /* @__PURE__ */ e(b, {}), r && /* @__PURE__ */ e(b, {
788
+ children: [!N && /* @__PURE__ */ e(g, {}), o && /* @__PURE__ */ e(g, {
751
789
  num: 3.5
752
- }), /* @__PURE__ */ e(Ce, {
790
+ }), /* @__PURE__ */ e(Ne, {
753
791
  label: a,
754
792
  loading: s,
755
- left: c,
756
- leftIcon: u,
757
- right: f,
793
+ left: u,
794
+ leftIcon: h,
795
+ right: _,
758
796
  rightIcon: v,
759
- success: _,
760
- labelClassName: k.label,
761
- spinnerClassName: k.spinner,
762
- iconClassName: h(k.icon),
763
- leftWrapperClassName: k.leftWrapper
797
+ success: f,
798
+ labelClassName: y.label,
799
+ spinnerClassName: y.spinner,
800
+ iconClassName: d(y.icon),
801
+ leftWrapperClassName: y.leftWrapper
764
802
  })]
765
803
  });
766
804
  return /* @__PURE__ */ e(m, {
767
805
  children: x({
768
- ...I,
769
- activeClassName: k.selected,
770
- className: E,
771
- children: F,
772
- style: y
806
+ ...E,
807
+ activeClassName: y.selected,
808
+ className: F,
809
+ children: j,
810
+ style: w
773
811
  })
774
812
  });
775
- }, Sn = "_sidebarMenuHeading_kvpq5_1", Ln = {
776
- sidebarMenuHeading: Sn
777
- }, de = ({
813
+ }, Fn = "_sidebarMenuHeading_kvpq5_1", jn = {
814
+ sidebarMenuHeading: Fn
815
+ }, he = ({
778
816
  className: n,
779
- label: o,
817
+ label: r,
780
818
  contentLeft: t,
781
- contentRight: r,
819
+ contentRight: o,
782
820
  ...a
783
- }) => /* @__PURE__ */ e(d, {
821
+ }) => /* @__PURE__ */ e(c, {
784
822
  spacing: 2,
785
823
  indent: 2,
786
- children: /* @__PURE__ */ e(G, {
787
- className: Ln.sidebarMenuHeading,
824
+ children: /* @__PURE__ */ e(J, {
825
+ className: jn.sidebarMenuHeading,
788
826
  contentLeft: t,
789
- contentRight: r,
790
- children: /* @__PURE__ */ e(C, {
827
+ contentRight: o,
828
+ children: /* @__PURE__ */ e(S, {
791
829
  variant: "overline",
792
830
  color: "var(--swui-sidebar-menu-heading-text-color)",
793
831
  ...a,
794
- children: o
832
+ children: r
795
833
  })
796
834
  })
797
- }), In = "_sidebarMenuCollapsible_1jwhs_1", En = {
798
- sidebarMenuCollapsible: In
799
- }, Fn = ({
835
+ }), Hn = "_sidebarMenuCollapsible_1jwhs_1", Rn = {
836
+ sidebarMenuCollapsible: Hn
837
+ }, $n = ({
800
838
  children: n,
801
- label: o,
839
+ label: r,
802
840
  leftIcon: t
803
841
  }) => {
804
- const [r, a] = we(!1);
805
- return /* @__PURE__ */ e(d, {
842
+ const [o, a] = Me(!1);
843
+ return /* @__PURE__ */ e(c, {
806
844
  background: "var(--current-background-color)",
807
- children: /* @__PURE__ */ e(le, {
808
- className: En.sidebarMenuCollapsible,
809
- label: o,
810
- collapsed: r,
811
- onClick: () => a(!r),
812
- contentLeft: t ? /* @__PURE__ */ e(d, {
845
+ children: /* @__PURE__ */ e(ue, {
846
+ className: Rn.sidebarMenuCollapsible,
847
+ label: r,
848
+ collapsed: o,
849
+ onClick: () => a(!o),
850
+ contentLeft: t ? /* @__PURE__ */ e(c, {
813
851
  width: "var(--swui-sidebar-menu-item-height)",
814
852
  alignItems: "center",
815
853
  justifyContent: "center",
816
- children: /* @__PURE__ */ e(R, {
854
+ children: /* @__PURE__ */ e(A, {
817
855
  icon: t,
818
856
  size: 16,
819
857
  color: "var(--current-text-color)",
820
858
  "data-hover": !0
821
859
  })
822
- }) : /* @__PURE__ */ e(b, {
860
+ }) : /* @__PURE__ */ e(g, {
823
861
  num: 1
824
862
  }),
825
- children: /* @__PURE__ */ e($, {
863
+ children: /* @__PURE__ */ e(L, {
826
864
  flex: 1,
827
865
  children: n
828
866
  })
829
867
  })
830
868
  });
831
- }, ue = (n, o = !1) => n.map((t, r) => {
869
+ }, pe = (n, r = !1) => n.map((t, o) => {
832
870
  switch (t.type) {
833
871
  case "heading":
834
- return /* @__PURE__ */ e(de, {
872
+ return /* @__PURE__ */ e(he, {
835
873
  label: t.label
836
- }, r);
874
+ }, o);
837
875
  case "separator":
838
- return /* @__PURE__ */ e(J, {}, r);
876
+ return /* @__PURE__ */ e(K, {}, o);
839
877
  case "link": {
840
878
  const {
841
879
  type: a,
842
880
  ...s
843
881
  } = t;
844
- return /* @__PURE__ */ e(z, {
845
- indent: o,
882
+ return /* @__PURE__ */ e(D, {
883
+ indent: r,
846
884
  ...s
847
- }, r);
885
+ }, o);
848
886
  }
849
887
  case "grouped":
850
- return /* @__PURE__ */ e(Fn, {
888
+ return /* @__PURE__ */ e($n, {
851
889
  leftIcon: t.leftIcon,
852
890
  label: t.label,
853
- children: ue(t.items, !0)
854
- }, r);
891
+ children: pe(t.items, !0)
892
+ }, o);
855
893
  default:
856
- return ae(t);
894
+ return ie(t);
857
895
  }
858
- }), ht = (n, {
859
- popupMinWidth: o
860
- }) => n.map((t, r) => {
896
+ }), gt = (n, {
897
+ popupMinWidth: r
898
+ }) => n.map((t, o) => {
861
899
  switch (t.type) {
862
900
  case "heading":
863
901
  return null;
864
902
  case "separator":
865
- return /* @__PURE__ */ e(J, {}, r);
903
+ return /* @__PURE__ */ e(K, {}, o);
866
904
  case "link": {
867
905
  const {
868
906
  type: a,
869
907
  label: s,
870
- ...c
908
+ ...u
871
909
  } = t;
872
- return /* @__PURE__ */ e(z, {
910
+ return /* @__PURE__ */ e(D, {
873
911
  title: s,
874
912
  width: "var(--swui-sidebar-menu-item-height)",
875
- ...c
876
- }, r);
913
+ ...u
914
+ }, o);
877
915
  }
878
916
  case "grouped":
879
917
  return /* @__PURE__ */ e("div", {
880
- children: /* @__PURE__ */ e(O, {
918
+ children: /* @__PURE__ */ e(T, {
881
919
  appendTo: "parent",
882
920
  arrow: !1,
883
921
  offset: [0, 0],
@@ -885,97 +923,97 @@ const q = ({
885
923
  trigger: "focusin mouseenter click",
886
924
  disablePadding: !0,
887
925
  lazy: !0,
888
- content: /* @__PURE__ */ i(d, {
889
- minWidth: o,
926
+ content: /* @__PURE__ */ i(c, {
927
+ minWidth: r,
890
928
  background: "var(--lhds-color-blue-500)",
891
- children: [/* @__PURE__ */ e(de, {
929
+ children: [/* @__PURE__ */ e(he, {
892
930
  label: t.label
893
- }), ue(t.items)]
931
+ }), pe(t.items)]
894
932
  }),
895
- children: /* @__PURE__ */ e(z, {
933
+ children: /* @__PURE__ */ e(D, {
896
934
  title: t.label,
897
935
  width: "var(--swui-sidebar-menu-item-height)",
898
936
  leftIcon: t.leftIcon
899
937
  })
900
938
  })
901
- }, r);
939
+ }, o);
902
940
  default:
903
- return ae(t);
941
+ return ie(t);
904
942
  }
905
- }), Hn = `1px solid ${M("--lhds-color-orange-400")}`, pt = ({
943
+ }), An = `1px solid ${B("--lhds-color-orange-400")}`, ft = ({
906
944
  numItemsSelected: n,
907
- label: o,
945
+ label: r,
908
946
  afterLabelContent: t,
909
- rightContent: r
947
+ rightContent: o
910
948
  }) => /* @__PURE__ */ i(p, {
911
949
  indent: 3,
912
950
  spacing: !0,
913
951
  minHeight: "56px",
914
952
  justifyContent: "space-between",
915
953
  alignItems: "center",
916
- borderTop: Hn,
917
- background: M("--lhds-color-orange-50"),
954
+ borderTop: An,
955
+ background: B("--lhds-color-orange-50"),
918
956
  children: [/* @__PURE__ */ i(p, {
919
957
  alignItems: "center",
920
- children: [n != null || o != null ? /* @__PURE__ */ e(m, {
958
+ children: [n != null || r != null ? /* @__PURE__ */ e(m, {
921
959
  children: n != null ? /* @__PURE__ */ i(m, {
922
- children: [/* @__PURE__ */ e(C, {
960
+ children: [/* @__PURE__ */ e(S, {
923
961
  variant: "bold",
924
962
  children: n
925
- }), /* @__PURE__ */ e(w, {}), /* @__PURE__ */ i(C, {
963
+ }), /* @__PURE__ */ e(k, {}), /* @__PURE__ */ i(S, {
926
964
  children: ["item", n === 1 ? "" : "s", " selected"]
927
965
  })]
928
- }) : o != null ? /* @__PURE__ */ e(m, {
929
- children: typeof o == "string" ? /* @__PURE__ */ e(C, {
930
- children: o
931
- }) : o
966
+ }) : r != null ? /* @__PURE__ */ e(m, {
967
+ children: typeof r == "string" ? /* @__PURE__ */ e(S, {
968
+ children: r
969
+ }) : r
932
970
  }) : null
933
971
  }) : null, t ? /* @__PURE__ */ i(m, {
934
- children: [/* @__PURE__ */ e(b, {}), /* @__PURE__ */ e(d, {
972
+ children: [/* @__PURE__ */ e(g, {}), /* @__PURE__ */ e(c, {
935
973
  children: t
936
974
  })]
937
975
  }) : null]
938
- }), /* @__PURE__ */ e(d, {
939
- children: r
976
+ }), /* @__PURE__ */ e(c, {
977
+ children: o
940
978
  })]
941
979
  });
942
980
  export {
943
- Ie as ActionMenuFlatButton,
944
- Vn as ActionMenuPrimaryButton,
945
- Gn as ActionMenuSecondaryButton,
946
- Jn as CheckboxMenu,
947
- le as Collapsible,
948
- rt as CollapsibleClickableContent,
949
- G as CollapsibleContent,
950
- V as CollapsibleEmptyContent,
951
- at as CollapsibleGroupHeading,
952
- ot as CollapsibleWithCheckbox,
953
- un as ErrorPanel,
954
- it as ErrorScreen,
955
- hn as LoadingPanel,
956
- st as LoadingScreen,
957
- Kn as NavBar,
958
- Oe as NavBarButton,
959
- Qn as NavBarHeading,
960
- Yn as NavBarNotificationButton,
961
- Xn as NavBarPopoverButton,
962
- et as NavBarSearchField,
963
- nt as NavBarUserButton,
964
- tt as Notification,
965
- ct as PageHeader,
966
- lt as PageHeaderRow,
967
- dt as PageHeading,
968
- pt as SelectedItemsActionsPanel,
969
- Cn as SidebarMenu,
970
- Fn as SidebarMenuCollapsible,
971
- de as SidebarMenuHeading,
972
- z as SidebarMenuLink,
973
- J as SidebarMenuSeparator,
974
- ut as SidebarRailMenu,
975
- Ke as defaultNotificationTheme,
976
- Mn as defaultRenderLink,
977
- dn as mapCSSTime,
978
- ue as renderItemsExpanded,
979
- ht as renderItemsInRail
981
+ je as ActionMenuFlatButton,
982
+ Kn as ActionMenuPrimaryButton,
983
+ Qn as ActionMenuSecondaryButton,
984
+ Xn as CheckboxMenu,
985
+ ue as Collapsible,
986
+ ct as CollapsibleClickableContent,
987
+ J as CollapsibleContent,
988
+ G as CollapsibleEmptyContent,
989
+ lt as CollapsibleGroupHeading,
990
+ st as CollapsibleWithCheckbox,
991
+ bn as ErrorPanel,
992
+ dt as ErrorScreen,
993
+ gn as LoadingPanel,
994
+ ut as LoadingScreen,
995
+ Yn as NavBar,
996
+ De as NavBarButton,
997
+ et as NavBarHeading,
998
+ tt as NavBarNotificationButton,
999
+ nt as NavBarPopoverButton,
1000
+ rt as NavBarSearchField,
1001
+ ot as NavBarUserButton,
1002
+ at as Notification,
1003
+ ht as PageHeader,
1004
+ pt as PageHeaderRow,
1005
+ mt as PageHeading,
1006
+ ft as SelectedItemsActionsPanel,
1007
+ wn as SidebarMenu,
1008
+ $n as SidebarMenuCollapsible,
1009
+ he as SidebarMenuHeading,
1010
+ D as SidebarMenuLink,
1011
+ K as SidebarMenuSeparator,
1012
+ bt as SidebarRailMenu,
1013
+ it as Toast,
1014
+ En as defaultRenderLink,
1015
+ mn as mapCSSTime,
1016
+ pe as renderItemsExpanded,
1017
+ gt as renderItemsInRail
980
1018
  };
981
1019
  //# sourceMappingURL=index.es.js.map