@stenajs-webui/panels 19.0.0-next.5 → 19.0.0-next.7
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,447 +1,434 @@
|
|
|
1
|
-
(function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode('._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--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 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._sidebarMenuButton_d43s4_1{--swui-nav-bar-side-menu-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-side-menu-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-side-menu-button-background-color-hover: var( --lhds-color-ui-100 );--swui-nav-bar-side-menu-button-background-color-focus: var( --lhds-color-ui-200 );--swui-nav-bar-side-menu-button-background-color-active: var( --lhds-color-ui-200 );--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_d43s4_1:hover{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-hover )}._sidebarMenuButton_d43s4_1:focus-visible{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-focus )}._sidebarMenuButton_d43s4_1:active{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-active )}._sidebarMenuButton_d43s4_1 ._icon_d43s4_55 path{fill:var(--swui-nav-bar-side-menu-button-text-color)}._navBarButton_18iz9_1{--swui-nav-bar-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-button-background-color-focus: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-active: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-200);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-100 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-300 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-200 );--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_18iz9_1._selected_18iz9_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_17zoz_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var(--lhds-color-ui-400);--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_17zoz_1._hasCount_17zoz_58{width:56px}._navBarNotificationButton_17zoz_1._unread_17zoz_62{--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_17zoz_1._unread_17zoz_62._hasCount_17zoz_58 ._icon_17zoz_77{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_17zoz_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_17zoz_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_rcj0j_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_rcj0j_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_rcj0j_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-50);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_rcj0j_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_1cwhm_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-user-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-active: var(--lhds-color-ui-200);--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_1cwhm_1._initials_1cwhm_31{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_tg9i7_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--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-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active );background-color:var(--current-background-color);height:100vh}._sidebarMenu_tg9i7_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_tg9i7_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._stenaFlag_108h7_1{height:32px}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { ActionMenu as Y, ActionMenuContext as de, stenaAngleDown as
|
|
3
|
-
import * as
|
|
4
|
-
import { useRef as
|
|
5
|
-
import { useBoolean as
|
|
1
|
+
(function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode('._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--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 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_18iz9_1{--swui-nav-bar-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-button-background-color-focus: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-active: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-200);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-100 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-300 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-200 );--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_18iz9_1._selected_18iz9_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_8ej1j_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var(--lhds-color-ui-400);--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-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_8ej1j_1._unread_8ej1j_54{--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_8ej1j_1._unread_8ej1j_54._hasCount_8ej1j_68 ._icon_8ej1j_69{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_8ej1j_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_8ej1j_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_rcj0j_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_rcj0j_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_rcj0j_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-50);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_rcj0j_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_1cwhm_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-user-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-active: var(--lhds-color-ui-200);--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_1cwhm_1._initials_1cwhm_31{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_tg9i7_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--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-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active );background-color:var(--current-background-color);height:100vh}._sidebarMenu_tg9i7_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_tg9i7_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._stenaFlag_108h7_1{height:32px}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { ActionMenu as Y, ActionMenuContext as de, stenaAngleDown as $, PrimaryButton as ue, SecondaryButton as he, FlatButton as _, stenaHamburger as pe, stenaBellFilled as ge, Icon as F, stenaSearch as me, stenaUserCircle as fe, stenaTimes as Z, stenaMail as be, stenaAngleUp as ve, Banner as _e, Spinner as Ce, CircledIcon as xe, StenaFlag as Be, MenuButtonLink as ye, MenuButton as ke } from "@stenajs-webui/elements";
|
|
3
|
+
import * as ee from "react";
|
|
4
|
+
import { useRef as Ne, useMemo as Ie, forwardRef as we, useState as Se } from "react";
|
|
5
|
+
import { useBoolean as D, Column as S, Box as d, Row as i, Indent as x, Heading as U, Clickable as V, Txt as J, Space as b, Text as B, SeparatorLine as ne, exhaustSwitchCaseElseThrow as te } from "@stenajs-webui/core";
|
|
6
6
|
import { Popover as R } from "@stenajs-webui/tooltip";
|
|
7
|
-
import { jsx as e, jsxs as
|
|
8
|
-
import { Checkbox as re, TextInput as
|
|
7
|
+
import { jsx as e, jsxs as o, Fragment as m } from "react/jsx-runtime";
|
|
8
|
+
import { Checkbox as re, TextInput as je } from "@stenajs-webui/forms";
|
|
9
9
|
import h from "classnames";
|
|
10
|
-
import { cssColor as
|
|
11
|
-
import { faChevronDown as Ie } from "@fortawesome/free-solid-svg-icons";
|
|
12
|
-
import { faChevronUp as Me } from "@fortawesome/free-solid-svg-icons/faChevronUp";
|
|
10
|
+
import { cssColor as f } from "@stenajs-webui/theme";
|
|
13
11
|
import { CSSTransition as Ee } from "react-transition-group";
|
|
14
|
-
|
|
15
|
-
const V = ({
|
|
12
|
+
const W = ({
|
|
16
13
|
renderItems: n,
|
|
17
14
|
placement: t = "bottom",
|
|
18
|
-
buttonComponent:
|
|
19
|
-
rightIcon:
|
|
20
|
-
portalTarget:
|
|
21
|
-
zIndex:
|
|
15
|
+
buttonComponent: r,
|
|
16
|
+
rightIcon: a = $,
|
|
17
|
+
portalTarget: l = "parent",
|
|
18
|
+
zIndex: c,
|
|
22
19
|
menuWidth: u,
|
|
23
20
|
menuTop: p,
|
|
24
|
-
onClick:
|
|
21
|
+
onClick: v,
|
|
25
22
|
disableArrow: y = !1,
|
|
26
|
-
...
|
|
23
|
+
...A
|
|
27
24
|
}) => {
|
|
28
|
-
const [
|
|
25
|
+
const [j, E, g, H] = D(!1), k = Ne(null), P = {
|
|
29
26
|
name: "focusManager",
|
|
30
27
|
defaultValue: !0,
|
|
31
28
|
fn({
|
|
32
|
-
popper:
|
|
29
|
+
popper: I
|
|
33
30
|
}) {
|
|
34
|
-
let
|
|
35
|
-
const
|
|
36
|
-
C.key === "Escape" && (
|
|
31
|
+
let M = !1;
|
|
32
|
+
const G = (C) => {
|
|
33
|
+
C.key === "Escape" && (M = !0, g()), (C.key === "Enter" || C.key === " ") && (M = !0);
|
|
37
34
|
};
|
|
38
35
|
return {
|
|
39
36
|
onCreate() {
|
|
40
|
-
|
|
37
|
+
I.addEventListener("keydown", G);
|
|
41
38
|
},
|
|
42
39
|
onDestroy() {
|
|
43
|
-
|
|
40
|
+
I.removeEventListener("keydown", G);
|
|
44
41
|
},
|
|
45
42
|
onMount() {
|
|
46
43
|
var C;
|
|
47
|
-
|
|
44
|
+
M = !1, (C = I.querySelector("button:not([disabled]), a[href]")) == null || C.focus();
|
|
48
45
|
},
|
|
49
46
|
onHide() {
|
|
50
|
-
k.current &&
|
|
47
|
+
k.current && M && k.current.focus();
|
|
51
48
|
}
|
|
52
49
|
};
|
|
53
50
|
}
|
|
54
|
-
},
|
|
55
|
-
open:
|
|
51
|
+
}, N = Ie(() => ({
|
|
52
|
+
open: E,
|
|
56
53
|
close: g
|
|
57
|
-
}), [
|
|
58
|
-
|
|
54
|
+
}), [E, g]), z = (I) => {
|
|
55
|
+
v == null || v(I), H();
|
|
59
56
|
};
|
|
60
57
|
return /* @__PURE__ */ e(R, {
|
|
61
58
|
disablePadding: !0,
|
|
62
|
-
visible:
|
|
59
|
+
visible: j,
|
|
63
60
|
onClickOutside: g,
|
|
64
61
|
placement: t,
|
|
65
|
-
content:
|
|
62
|
+
content: j && /* @__PURE__ */ e(Y, {
|
|
66
63
|
width: u,
|
|
67
64
|
top: p,
|
|
68
65
|
trapFocus: !0,
|
|
69
66
|
children: /* @__PURE__ */ e(de.Provider, {
|
|
70
|
-
value:
|
|
67
|
+
value: N,
|
|
71
68
|
children: n(g)
|
|
72
69
|
})
|
|
73
70
|
}),
|
|
74
71
|
arrow: !1,
|
|
75
|
-
appendTo:
|
|
76
|
-
zIndex:
|
|
77
|
-
plugins: [
|
|
72
|
+
appendTo: l,
|
|
73
|
+
zIndex: c,
|
|
74
|
+
plugins: [P],
|
|
78
75
|
lazy: !0,
|
|
79
|
-
children: /* @__PURE__ */ e(
|
|
80
|
-
rightIcon: y ? void 0 :
|
|
81
|
-
...
|
|
76
|
+
children: /* @__PURE__ */ e(r, {
|
|
77
|
+
rightIcon: y ? void 0 : a,
|
|
78
|
+
...A,
|
|
82
79
|
ref: k,
|
|
83
|
-
onClick:
|
|
80
|
+
onClick: z
|
|
84
81
|
})
|
|
85
82
|
});
|
|
86
|
-
},
|
|
87
|
-
buttonComponent:
|
|
83
|
+
}, Sn = (n) => /* @__PURE__ */ e(W, {
|
|
84
|
+
buttonComponent: ue,
|
|
88
85
|
...n
|
|
89
|
-
}),
|
|
90
|
-
buttonComponent:
|
|
86
|
+
}), jn = (n) => /* @__PURE__ */ e(W, {
|
|
87
|
+
buttonComponent: he,
|
|
91
88
|
...n
|
|
92
|
-
}),
|
|
93
|
-
buttonComponent:
|
|
89
|
+
}), Me = (n) => /* @__PURE__ */ e(W, {
|
|
90
|
+
buttonComponent: _,
|
|
94
91
|
...n
|
|
95
|
-
}),
|
|
92
|
+
}), Fe = "1px solid var(--lhds-color-ui-300)", En = ({
|
|
96
93
|
renderMenu: n,
|
|
97
94
|
...t
|
|
98
95
|
}) => {
|
|
99
|
-
const [
|
|
96
|
+
const [r, a, l] = D(!1);
|
|
100
97
|
return /* @__PURE__ */ e(R, {
|
|
101
|
-
onClickOutside:
|
|
98
|
+
onClickOutside: l,
|
|
102
99
|
arrow: !1,
|
|
103
|
-
visible:
|
|
100
|
+
visible: r,
|
|
104
101
|
disablePadding: !0,
|
|
105
|
-
content: n ? /* @__PURE__ */ e(
|
|
102
|
+
content: n ? /* @__PURE__ */ e(S, {
|
|
106
103
|
children: /* @__PURE__ */ e(Y, {
|
|
107
|
-
children: n(
|
|
104
|
+
children: n(l)
|
|
108
105
|
})
|
|
109
106
|
}) : void 0,
|
|
110
107
|
placement: "bottom-start",
|
|
111
|
-
children: /* @__PURE__ */ e(
|
|
108
|
+
children: /* @__PURE__ */ e(d, {
|
|
112
109
|
display: "inline-block",
|
|
113
|
-
children: /* @__PURE__ */
|
|
110
|
+
children: /* @__PURE__ */ o(i, {
|
|
114
111
|
spacing: 0.5,
|
|
115
112
|
indent: !0,
|
|
116
113
|
alignItems: "center",
|
|
117
|
-
border:
|
|
114
|
+
border: Fe,
|
|
118
115
|
borderRadius: "4px",
|
|
119
116
|
children: [/* @__PURE__ */ e(re, {
|
|
120
117
|
...t
|
|
121
|
-
}), /* @__PURE__ */ e(b, {
|
|
122
|
-
num: 0.5
|
|
123
118
|
}), /* @__PURE__ */ e(x, {
|
|
119
|
+
num: 0.5
|
|
120
|
+
}), /* @__PURE__ */ e(_, {
|
|
124
121
|
size: "small",
|
|
125
|
-
onClick:
|
|
126
|
-
leftIcon:
|
|
122
|
+
onClick: a,
|
|
123
|
+
leftIcon: $
|
|
127
124
|
})]
|
|
128
125
|
})
|
|
129
126
|
})
|
|
130
127
|
});
|
|
131
128
|
}, Re = "_navBar_kzibd_1", Ae = {
|
|
132
129
|
navBar: Re
|
|
133
|
-
}, He = "_sidebarMenuButton_d43s4_1", Pe = "_icon_d43s4_55", J = {
|
|
134
|
-
sidebarMenuButton: He,
|
|
135
|
-
icon: Pe
|
|
136
130
|
}, ae = ({
|
|
137
131
|
className: n,
|
|
138
132
|
onClick: t
|
|
139
|
-
}) => /* @__PURE__ */ e(
|
|
140
|
-
|
|
141
|
-
className:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
icon: me
|
|
145
|
-
})
|
|
146
|
-
}), Tn = ({
|
|
133
|
+
}) => /* @__PURE__ */ e(_, {
|
|
134
|
+
leftIcon: pe,
|
|
135
|
+
className: n,
|
|
136
|
+
onClick: t
|
|
137
|
+
}), Mn = ({
|
|
147
138
|
left: n,
|
|
148
139
|
className: t,
|
|
149
|
-
showMenuButton:
|
|
150
|
-
menuButtonVisibility: r = "visible",
|
|
140
|
+
showMenuButton: r = !1,
|
|
151
141
|
children: a,
|
|
152
|
-
right:
|
|
153
|
-
center:
|
|
154
|
-
onClickMenuButton:
|
|
142
|
+
right: l,
|
|
143
|
+
center: c,
|
|
144
|
+
onClickMenuButton: u
|
|
155
145
|
}) => {
|
|
156
|
-
const
|
|
157
|
-
return /* @__PURE__ */
|
|
146
|
+
const p = c ? 1 : void 0;
|
|
147
|
+
return /* @__PURE__ */ o(i, {
|
|
158
148
|
justifyContent: "space-between",
|
|
159
149
|
className: h(Ae.navBar, t),
|
|
160
|
-
children: [/* @__PURE__ */
|
|
161
|
-
flex:
|
|
150
|
+
children: [/* @__PURE__ */ o(i, {
|
|
151
|
+
flex: p,
|
|
162
152
|
justifyContent: "flex-start",
|
|
163
153
|
alignItems: "center",
|
|
164
|
-
children: [
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
})
|
|
168
|
-
onClick:
|
|
169
|
-
})
|
|
170
|
-
})
|
|
171
|
-
|
|
172
|
-
}), n ? /* @__PURE__ */ c(m, {
|
|
173
|
-
children: [n, /* @__PURE__ */ e(b, {
|
|
154
|
+
children: [/* @__PURE__ */ o(i, {
|
|
155
|
+
width: "86px",
|
|
156
|
+
alignItems: "center",
|
|
157
|
+
children: [/* @__PURE__ */ e(x, {}), r && /* @__PURE__ */ e(ae, {
|
|
158
|
+
onClick: u
|
|
159
|
+
})]
|
|
160
|
+
}), n && /* @__PURE__ */ o(m, {
|
|
161
|
+
children: [n, /* @__PURE__ */ e(x, {
|
|
174
162
|
num: 2
|
|
175
163
|
})]
|
|
176
|
-
}) : /* @__PURE__ */ e(b, {
|
|
177
|
-
num: 2
|
|
178
164
|
}), a && /* @__PURE__ */ e(m, {
|
|
179
|
-
children: /* @__PURE__ */ e(
|
|
165
|
+
children: /* @__PURE__ */ e(i, {
|
|
180
166
|
justifyContent: "center",
|
|
181
167
|
alignItems: "center",
|
|
182
|
-
children:
|
|
183
|
-
children: [
|
|
168
|
+
children: ee.Children.map(a, (v, y) => /* @__PURE__ */ o(m, {
|
|
169
|
+
children: [y > 0 && /* @__PURE__ */ e(x, {}), v]
|
|
184
170
|
}))
|
|
185
171
|
})
|
|
186
172
|
})]
|
|
187
|
-
}),
|
|
173
|
+
}), c && /* @__PURE__ */ e(i, {
|
|
188
174
|
justifyContent: "center",
|
|
189
175
|
alignItems: "center",
|
|
190
|
-
children:
|
|
191
|
-
}), /* @__PURE__ */
|
|
176
|
+
children: c
|
|
177
|
+
}), /* @__PURE__ */ o(i, {
|
|
192
178
|
justifyContent: "flex-end",
|
|
193
179
|
alignItems: "center",
|
|
194
|
-
flex:
|
|
195
|
-
children: [
|
|
180
|
+
flex: p,
|
|
181
|
+
children: [l, /* @__PURE__ */ e(x, {
|
|
196
182
|
num: 2
|
|
197
183
|
})]
|
|
198
184
|
})]
|
|
199
185
|
});
|
|
200
|
-
},
|
|
201
|
-
navBarButton:
|
|
202
|
-
selected:
|
|
203
|
-
},
|
|
186
|
+
}, He = "_navBarButton_18iz9_1", Pe = "_selected_18iz9_36", K = {
|
|
187
|
+
navBarButton: He,
|
|
188
|
+
selected: Pe
|
|
189
|
+
}, ze = ({
|
|
204
190
|
selected: n,
|
|
205
191
|
className: t,
|
|
206
|
-
...
|
|
207
|
-
}) => /* @__PURE__ */ e(
|
|
208
|
-
...
|
|
192
|
+
...r
|
|
193
|
+
}) => /* @__PURE__ */ e(_, {
|
|
194
|
+
...r,
|
|
209
195
|
className: h(K.navBarButton, n && K.selected, t)
|
|
210
|
-
}),
|
|
196
|
+
}), Fn = (n) => /* @__PURE__ */ e(U, {
|
|
211
197
|
whiteSpace: "nowrap",
|
|
212
|
-
|
|
198
|
+
variant: "h4",
|
|
199
|
+
as: "h1",
|
|
213
200
|
...n
|
|
214
|
-
}),
|
|
201
|
+
}), Rn = ({
|
|
215
202
|
content: n,
|
|
216
203
|
children: t,
|
|
217
|
-
...
|
|
204
|
+
...r
|
|
218
205
|
}) => {
|
|
219
|
-
const [
|
|
206
|
+
const [a, , l, c] = D(!1);
|
|
220
207
|
return /* @__PURE__ */ e(R, {
|
|
221
|
-
onClickOutside:
|
|
208
|
+
onClickOutside: l,
|
|
222
209
|
triggerTarget: document.body,
|
|
223
|
-
visible:
|
|
224
|
-
content: /* @__PURE__ */
|
|
210
|
+
visible: a,
|
|
211
|
+
content: /* @__PURE__ */ o(m, {
|
|
225
212
|
children: [n && n({
|
|
226
|
-
close:
|
|
213
|
+
close: l
|
|
227
214
|
}), t]
|
|
228
215
|
}),
|
|
229
|
-
children: /* @__PURE__ */ e(
|
|
230
|
-
...
|
|
231
|
-
onClick:
|
|
216
|
+
children: /* @__PURE__ */ e(ze, {
|
|
217
|
+
...r,
|
|
218
|
+
onClick: c
|
|
232
219
|
})
|
|
233
220
|
});
|
|
234
|
-
},
|
|
235
|
-
navBarNotificationButton:
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
icon:
|
|
239
|
-
shake:
|
|
240
|
-
},
|
|
221
|
+
}, Oe = "_navBarNotificationButton_8ej1j_1", Te = "_unread_8ej1j_54", Le = "_hasCount_8ej1j_68", $e = "_icon_8ej1j_69", De = "_shake_8ej1j_1", w = {
|
|
222
|
+
navBarNotificationButton: Oe,
|
|
223
|
+
unread: Te,
|
|
224
|
+
hasCount: Le,
|
|
225
|
+
icon: $e,
|
|
226
|
+
shake: De
|
|
227
|
+
}, An = ({
|
|
241
228
|
count: n,
|
|
242
229
|
unread: t = !1,
|
|
243
|
-
className:
|
|
244
|
-
labelClassName:
|
|
245
|
-
iconClassName:
|
|
246
|
-
icon:
|
|
230
|
+
className: r,
|
|
231
|
+
labelClassName: a,
|
|
232
|
+
iconClassName: l,
|
|
233
|
+
icon: c = ge,
|
|
247
234
|
...u
|
|
248
235
|
}) => {
|
|
249
236
|
const p = n > 0;
|
|
250
|
-
return /* @__PURE__ */ e(
|
|
237
|
+
return /* @__PURE__ */ e(_, {
|
|
251
238
|
...u,
|
|
252
|
-
leftIcon:
|
|
253
|
-
className: h(t &&
|
|
239
|
+
leftIcon: c,
|
|
240
|
+
className: h(t && w.unread, p && w.hasCount, w.navBarNotificationButton, r),
|
|
254
241
|
label: p ? String(n) : void 0,
|
|
255
|
-
labelClassName: h(
|
|
256
|
-
iconClassName: h(
|
|
242
|
+
labelClassName: h(a, w.label),
|
|
243
|
+
iconClassName: h(l, w.icon)
|
|
257
244
|
});
|
|
258
|
-
},
|
|
259
|
-
navBarSearchFieldInput:
|
|
260
|
-
navBarSearchField:
|
|
261
|
-
},
|
|
245
|
+
}, Ue = "_navBarSearchFieldInput_rcj0j_1", Ve = "_navBarSearchField_rcj0j_1", Q = {
|
|
246
|
+
navBarSearchFieldInput: Ue,
|
|
247
|
+
navBarSearchField: Ve
|
|
248
|
+
}, Hn = ({
|
|
262
249
|
placeholder: n = "Search...",
|
|
263
250
|
className: t,
|
|
264
|
-
wrapperClassName:
|
|
265
|
-
...
|
|
266
|
-
}) => /* @__PURE__ */ e(
|
|
267
|
-
wrapperClassName: h(Q.navBarSearchField,
|
|
251
|
+
wrapperClassName: r,
|
|
252
|
+
...a
|
|
253
|
+
}) => /* @__PURE__ */ e(je, {
|
|
254
|
+
wrapperClassName: h(Q.navBarSearchField, r),
|
|
268
255
|
className: h(Q.navBarSearchFieldInput, t),
|
|
269
256
|
placeholder: n,
|
|
270
|
-
contentRight: /* @__PURE__ */ e(
|
|
271
|
-
children: /* @__PURE__ */ e(
|
|
272
|
-
icon:
|
|
257
|
+
contentRight: /* @__PURE__ */ e(V, {
|
|
258
|
+
children: /* @__PURE__ */ e(F, {
|
|
259
|
+
icon: me
|
|
273
260
|
})
|
|
274
261
|
}),
|
|
275
|
-
...
|
|
276
|
-
}),
|
|
277
|
-
navBarUserButton:
|
|
278
|
-
initials:
|
|
279
|
-
},
|
|
262
|
+
...a
|
|
263
|
+
}), We = "_navBarUserButton_1cwhm_1", qe = "_initials_1cwhm_31", X = {
|
|
264
|
+
navBarUserButton: We,
|
|
265
|
+
initials: qe
|
|
266
|
+
}, Pn = ({
|
|
280
267
|
className: n,
|
|
281
268
|
username: t,
|
|
282
|
-
initials:
|
|
283
|
-
icon:
|
|
284
|
-
iconClassName:
|
|
285
|
-
...
|
|
286
|
-
}) => /* @__PURE__ */ e(
|
|
287
|
-
...
|
|
269
|
+
initials: r,
|
|
270
|
+
icon: a = fe,
|
|
271
|
+
iconClassName: l,
|
|
272
|
+
...c
|
|
273
|
+
}) => /* @__PURE__ */ e(Me, {
|
|
274
|
+
...c,
|
|
288
275
|
className: h({
|
|
289
|
-
[X.initials]:
|
|
276
|
+
[X.initials]: r != null
|
|
290
277
|
}, X.navBarUserButton, n),
|
|
291
|
-
leftIcon: t != null ?
|
|
292
|
-
label:
|
|
278
|
+
leftIcon: t != null ? a : void 0,
|
|
279
|
+
label: r != null ? r : t,
|
|
293
280
|
disableArrow: !0
|
|
294
|
-
}),
|
|
281
|
+
}), oe = ({
|
|
295
282
|
text: n,
|
|
296
283
|
timestamp: t,
|
|
297
|
-
icon:
|
|
298
|
-
iconAriaLabel:
|
|
299
|
-
iconColor:
|
|
300
|
-
contentLeft:
|
|
284
|
+
icon: r,
|
|
285
|
+
iconAriaLabel: a,
|
|
286
|
+
iconColor: l,
|
|
287
|
+
contentLeft: c,
|
|
301
288
|
contentRight: u,
|
|
302
289
|
onClose: p
|
|
303
|
-
}) => /* @__PURE__ */
|
|
290
|
+
}) => /* @__PURE__ */ o(i, {
|
|
304
291
|
alignItems: "flex-start",
|
|
305
292
|
indent: !0,
|
|
306
293
|
spacing: !0,
|
|
307
|
-
children: [/* @__PURE__ */
|
|
294
|
+
children: [/* @__PURE__ */ o(i, {
|
|
308
295
|
indent: 2,
|
|
309
296
|
spacing: !0,
|
|
310
297
|
gap: 2,
|
|
311
298
|
flex: 1,
|
|
312
299
|
alignItems: "flex-start",
|
|
313
|
-
children: [
|
|
300
|
+
children: [c && /* @__PURE__ */ e(d, {
|
|
314
301
|
minHeight: 20,
|
|
315
302
|
justifyContent: "center",
|
|
316
|
-
children:
|
|
317
|
-
}), !
|
|
318
|
-
icon:
|
|
303
|
+
children: c
|
|
304
|
+
}), !c && r && /* @__PURE__ */ e(F, {
|
|
305
|
+
icon: r,
|
|
319
306
|
size: 20,
|
|
320
|
-
color:
|
|
321
|
-
"aria-label":
|
|
322
|
-
}), /* @__PURE__ */
|
|
307
|
+
color: l,
|
|
308
|
+
"aria-label": a
|
|
309
|
+
}), /* @__PURE__ */ o(d, {
|
|
323
310
|
minHeight: 20,
|
|
324
311
|
justifyContent: "center",
|
|
325
312
|
flex: 1,
|
|
326
313
|
gap: 0.5,
|
|
327
|
-
children: [/* @__PURE__ */ e(
|
|
314
|
+
children: [/* @__PURE__ */ e(J, {
|
|
328
315
|
variant: "bold",
|
|
329
316
|
children: n
|
|
330
|
-
}), t && /* @__PURE__ */ e(
|
|
317
|
+
}), t && /* @__PURE__ */ e(J, {
|
|
331
318
|
size: "small",
|
|
332
|
-
color:
|
|
319
|
+
color: f("--lhds-color-ui-600"),
|
|
333
320
|
children: t
|
|
334
321
|
})]
|
|
335
322
|
}), u]
|
|
336
|
-
}), p && /* @__PURE__ */ e(
|
|
323
|
+
}), p && /* @__PURE__ */ e(d, {
|
|
337
324
|
flex: "none",
|
|
338
325
|
justifyContent: "center",
|
|
339
326
|
style: {
|
|
340
327
|
height: "calc(20px + 2 * var(--swui-metrics-spacing))"
|
|
341
328
|
},
|
|
342
|
-
children: /* @__PURE__ */ e(
|
|
343
|
-
leftIcon:
|
|
329
|
+
children: /* @__PURE__ */ e(_, {
|
|
330
|
+
leftIcon: Z,
|
|
344
331
|
onClick: p,
|
|
345
332
|
"aria-label": "Close"
|
|
346
333
|
})
|
|
347
334
|
})]
|
|
348
|
-
}),
|
|
335
|
+
}), zn = ({
|
|
349
336
|
children: n,
|
|
350
337
|
...t
|
|
351
|
-
}) => /* @__PURE__ */
|
|
338
|
+
}) => /* @__PURE__ */ o(S, {
|
|
352
339
|
background: "var(--lhds-color-ui-50)",
|
|
353
340
|
borderRadius: "var(--swui-border-radius)",
|
|
354
|
-
children: [/* @__PURE__ */ e(
|
|
341
|
+
children: [/* @__PURE__ */ e(oe, {
|
|
355
342
|
...t
|
|
356
|
-
}), n && /* @__PURE__ */
|
|
343
|
+
}), n && /* @__PURE__ */ o(S, {
|
|
357
344
|
indent: 3,
|
|
358
|
-
children: [n, /* @__PURE__ */ e(
|
|
345
|
+
children: [n, /* @__PURE__ */ e(b, {
|
|
359
346
|
num: 2
|
|
360
347
|
})]
|
|
361
348
|
})]
|
|
362
|
-
}),
|
|
363
|
-
clickable:
|
|
364
|
-
nonClickable:
|
|
365
|
-
},
|
|
349
|
+
}), Ge = "_clickable_1ijxc_1", Je = "_nonClickable_1ijxc_27", O = {
|
|
350
|
+
clickable: Ge,
|
|
351
|
+
nonClickable: Je
|
|
352
|
+
}, On = ({
|
|
366
353
|
onClick: n,
|
|
367
354
|
onClickAriaLabel: t,
|
|
368
|
-
children:
|
|
369
|
-
width:
|
|
370
|
-
maxWidth:
|
|
371
|
-
...
|
|
372
|
-
}) => /* @__PURE__ */
|
|
355
|
+
children: r,
|
|
356
|
+
width: a = 264,
|
|
357
|
+
maxWidth: l,
|
|
358
|
+
...c
|
|
359
|
+
}) => /* @__PURE__ */ o(d, {
|
|
373
360
|
borderRadius: 8,
|
|
374
|
-
background:
|
|
361
|
+
background: f("--lhds-color-ui-50"),
|
|
375
362
|
shadow: "popover",
|
|
376
|
-
width:
|
|
377
|
-
maxWidth:
|
|
363
|
+
width: a,
|
|
364
|
+
maxWidth: l,
|
|
378
365
|
role: "alert",
|
|
379
366
|
position: "relative",
|
|
380
|
-
children: [/* @__PURE__ */ e(
|
|
367
|
+
children: [/* @__PURE__ */ e(d, {
|
|
381
368
|
className: h({
|
|
382
|
-
[
|
|
369
|
+
[O.nonClickable]: n
|
|
383
370
|
}),
|
|
384
|
-
children: /* @__PURE__ */ e(
|
|
385
|
-
...
|
|
371
|
+
children: /* @__PURE__ */ e(oe, {
|
|
372
|
+
...c
|
|
386
373
|
})
|
|
387
|
-
}),
|
|
374
|
+
}), r && /* @__PURE__ */ o(d, {
|
|
388
375
|
indent: 3,
|
|
389
376
|
className: h({
|
|
390
|
-
[
|
|
377
|
+
[O.nonClickable]: n
|
|
391
378
|
}),
|
|
392
|
-
children: [
|
|
379
|
+
children: [r, /* @__PURE__ */ e(b, {
|
|
393
380
|
num: 2
|
|
394
381
|
})]
|
|
395
382
|
}), n && /* @__PURE__ */ e("button", {
|
|
396
383
|
onClick: n,
|
|
397
|
-
className:
|
|
384
|
+
className: O.clickable,
|
|
398
385
|
"aria-label": t
|
|
399
386
|
})]
|
|
400
|
-
}),
|
|
401
|
-
collapsible:
|
|
402
|
-
header:
|
|
403
|
-
indicator:
|
|
404
|
-
headerText:
|
|
405
|
-
label:
|
|
406
|
-
contentLeft:
|
|
407
|
-
contentRight:
|
|
408
|
-
content:
|
|
409
|
-
groupHeading:
|
|
410
|
-
contentEnter:
|
|
411
|
-
contentEnterActive:
|
|
412
|
-
contentExitDone:
|
|
413
|
-
},
|
|
387
|
+
}), Ke = "_collapsible_1nroa_1", Qe = "_header_1nroa_46", Xe = "_indicator_1nroa_59", Ye = "_headerText_1nroa_103", Ze = "_label_1nroa_114", en = "_contentLeft_1nroa_123", nn = "_contentRight_1nroa_124", tn = "_content_1nroa_123", rn = "_groupHeading_1nroa_155", an = "_contentEnter_1nroa_180", on = "_contentEnterActive_1nroa_184", ln = "_contentExitDone_1nroa_189", s = {
|
|
388
|
+
collapsible: Ke,
|
|
389
|
+
header: Qe,
|
|
390
|
+
indicator: Xe,
|
|
391
|
+
headerText: Ye,
|
|
392
|
+
label: Ze,
|
|
393
|
+
contentLeft: en,
|
|
394
|
+
contentRight: nn,
|
|
395
|
+
content: tn,
|
|
396
|
+
groupHeading: rn,
|
|
397
|
+
contentEnter: an,
|
|
398
|
+
contentEnterActive: on,
|
|
399
|
+
contentExitDone: ln
|
|
400
|
+
}, q = () => /* @__PURE__ */ o(S, {
|
|
414
401
|
indent: !0,
|
|
415
402
|
spacing: !0,
|
|
416
403
|
flex: 1,
|
|
417
404
|
alignItems: "center",
|
|
418
|
-
children: [/* @__PURE__ */ e(
|
|
419
|
-
icon:
|
|
420
|
-
color:
|
|
421
|
-
}), /* @__PURE__ */ e(
|
|
405
|
+
children: [/* @__PURE__ */ e(F, {
|
|
406
|
+
icon: be,
|
|
407
|
+
color: f("--lhds-color-ui-500")
|
|
408
|
+
}), /* @__PURE__ */ e(b, {}), /* @__PURE__ */ e(B, {
|
|
422
409
|
size: "small",
|
|
423
|
-
color:
|
|
410
|
+
color: f("--lhds-color-ui-500"),
|
|
424
411
|
children: "No content"
|
|
425
412
|
})]
|
|
426
|
-
}),
|
|
413
|
+
}), le = ({
|
|
427
414
|
contentLeft: n,
|
|
428
415
|
contentRight: t,
|
|
429
|
-
className:
|
|
430
|
-
children:
|
|
431
|
-
...
|
|
432
|
-
}) => /* @__PURE__ */
|
|
433
|
-
className: h(s.content,
|
|
434
|
-
...
|
|
416
|
+
className: r,
|
|
417
|
+
children: a,
|
|
418
|
+
...l
|
|
419
|
+
}) => /* @__PURE__ */ o("div", {
|
|
420
|
+
className: h(s.content, r),
|
|
421
|
+
...l,
|
|
435
422
|
children: [n && /* @__PURE__ */ e("div", {
|
|
436
423
|
className: s.contentLeft,
|
|
437
424
|
children: n
|
|
438
|
-
}),
|
|
425
|
+
}), a != null ? a : /* @__PURE__ */ e(q, {}), t && /* @__PURE__ */ e("div", {
|
|
439
426
|
className: s.contentRight,
|
|
440
427
|
children: t
|
|
441
428
|
})]
|
|
442
|
-
}),
|
|
443
|
-
const t = parseFloat(n),
|
|
444
|
-
switch (
|
|
429
|
+
}), cn = (n) => {
|
|
430
|
+
const t = parseFloat(n), r = n.match(/m?s/);
|
|
431
|
+
switch (r == null ? void 0 : r[0]) {
|
|
445
432
|
case "s":
|
|
446
433
|
return t * 1e3;
|
|
447
434
|
case "ms":
|
|
@@ -449,40 +436,40 @@ const V = ({
|
|
|
449
436
|
default:
|
|
450
437
|
return 0;
|
|
451
438
|
}
|
|
452
|
-
},
|
|
439
|
+
}, sn = we(function({
|
|
453
440
|
label: t,
|
|
454
|
-
contentLeft:
|
|
455
|
-
contentRight:
|
|
456
|
-
collapsed:
|
|
457
|
-
onClick:
|
|
441
|
+
contentLeft: r,
|
|
442
|
+
contentRight: a,
|
|
443
|
+
collapsed: l = !1,
|
|
444
|
+
onClick: c,
|
|
458
445
|
className: u,
|
|
459
446
|
disabled: p = !1,
|
|
460
|
-
unmountOnCollapse:
|
|
447
|
+
unmountOnCollapse: v = !1,
|
|
461
448
|
mountOnEnter: y = !0,
|
|
462
|
-
icon:
|
|
463
|
-
iconCollapsed:
|
|
464
|
-
iconSize:
|
|
449
|
+
icon: A = ve,
|
|
450
|
+
iconCollapsed: j = $,
|
|
451
|
+
iconSize: E = 16,
|
|
465
452
|
children: g,
|
|
466
|
-
autoFocus:
|
|
453
|
+
autoFocus: H = !1,
|
|
467
454
|
...k
|
|
468
|
-
},
|
|
469
|
-
const
|
|
470
|
-
return /* @__PURE__ */
|
|
455
|
+
}, P) {
|
|
456
|
+
const N = ee.useRef(null), z = N.current ? cn(getComputedStyle(N.current).getPropertyValue("--swui-collapsible-animation-time")) : void 0;
|
|
457
|
+
return /* @__PURE__ */ o("div", {
|
|
471
458
|
className: h(s.collapsible, u),
|
|
472
|
-
"aria-expanded": !
|
|
473
|
-
ref:
|
|
459
|
+
"aria-expanded": !l,
|
|
460
|
+
ref: N,
|
|
474
461
|
...k,
|
|
475
|
-
children: [/* @__PURE__ */
|
|
462
|
+
children: [/* @__PURE__ */ o(V, {
|
|
476
463
|
disableFocusHighlight: !0,
|
|
477
464
|
disableOpacityOnClick: !0,
|
|
478
465
|
className: s.header,
|
|
479
|
-
onClick:
|
|
466
|
+
onClick: c,
|
|
480
467
|
disabled: p,
|
|
481
|
-
autoFocus:
|
|
482
|
-
ref:
|
|
483
|
-
children: [
|
|
468
|
+
autoFocus: H,
|
|
469
|
+
ref: P,
|
|
470
|
+
children: [r && /* @__PURE__ */ e("div", {
|
|
484
471
|
className: s.contentLeft,
|
|
485
|
-
children:
|
|
472
|
+
children: r
|
|
486
473
|
}), /* @__PURE__ */ e("div", {
|
|
487
474
|
className: s.label,
|
|
488
475
|
children: /* @__PURE__ */ e(B, {
|
|
@@ -490,19 +477,19 @@ const V = ({
|
|
|
490
477
|
className: s.headerText,
|
|
491
478
|
children: t
|
|
492
479
|
})
|
|
493
|
-
}),
|
|
480
|
+
}), a && /* @__PURE__ */ e("div", {
|
|
494
481
|
className: s.contentRight,
|
|
495
|
-
children:
|
|
496
|
-
}), /* @__PURE__ */ e(
|
|
497
|
-
icon:
|
|
482
|
+
children: a
|
|
483
|
+
}), /* @__PURE__ */ e(F, {
|
|
484
|
+
icon: l ? j : A,
|
|
498
485
|
className: s.indicator,
|
|
499
|
-
size:
|
|
486
|
+
size: E,
|
|
500
487
|
fixedWidth: !0
|
|
501
488
|
})]
|
|
502
489
|
}), /* @__PURE__ */ e(Ee, {
|
|
503
|
-
in: !
|
|
490
|
+
in: !l,
|
|
504
491
|
timeout: {
|
|
505
|
-
enter:
|
|
492
|
+
enter: z
|
|
506
493
|
},
|
|
507
494
|
classNames: {
|
|
508
495
|
enter: s.contentEnter,
|
|
@@ -512,197 +499,207 @@ const V = ({
|
|
|
512
499
|
exitDone: s.contentExitDone
|
|
513
500
|
},
|
|
514
501
|
mountOnEnter: y,
|
|
515
|
-
unmountOnExit:
|
|
502
|
+
unmountOnExit: v,
|
|
516
503
|
children: /* @__PURE__ */ e("div", {
|
|
517
504
|
role: "region",
|
|
518
|
-
children: g != null ? g : /* @__PURE__ */ e(
|
|
519
|
-
children: /* @__PURE__ */ e(
|
|
505
|
+
children: g != null ? g : /* @__PURE__ */ e(le, {
|
|
506
|
+
children: /* @__PURE__ */ e(q, {})
|
|
520
507
|
})
|
|
521
508
|
})
|
|
522
509
|
})]
|
|
523
510
|
});
|
|
524
|
-
}),
|
|
511
|
+
}), Tn = ({
|
|
525
512
|
value: n,
|
|
526
513
|
onValueChange: t,
|
|
527
|
-
onChange:
|
|
528
|
-
indeterminate:
|
|
529
|
-
checkboxDisabled:
|
|
530
|
-
...
|
|
531
|
-
}) => /* @__PURE__ */ e(
|
|
514
|
+
onChange: r,
|
|
515
|
+
indeterminate: a,
|
|
516
|
+
checkboxDisabled: l,
|
|
517
|
+
...c
|
|
518
|
+
}) => /* @__PURE__ */ e(sn, {
|
|
532
519
|
contentLeft: /* @__PURE__ */ e(re, {
|
|
533
520
|
value: n,
|
|
534
|
-
indeterminate:
|
|
521
|
+
indeterminate: a,
|
|
535
522
|
onValueChange: t,
|
|
536
|
-
onChange:
|
|
537
|
-
disabled:
|
|
523
|
+
onChange: r,
|
|
524
|
+
disabled: l,
|
|
538
525
|
onClick: (u) => u.stopPropagation()
|
|
539
526
|
}),
|
|
540
|
-
...
|
|
541
|
-
}),
|
|
527
|
+
...c
|
|
528
|
+
}), Ln = ({
|
|
542
529
|
contentLeft: n,
|
|
543
530
|
contentRight: t,
|
|
544
|
-
className:
|
|
545
|
-
onClick:
|
|
546
|
-
children:
|
|
547
|
-
...
|
|
548
|
-
}) => /* @__PURE__ */
|
|
531
|
+
className: r,
|
|
532
|
+
onClick: a,
|
|
533
|
+
children: l,
|
|
534
|
+
...c
|
|
535
|
+
}) => /* @__PURE__ */ o(V, {
|
|
549
536
|
disableFocusHighlight: !0,
|
|
550
537
|
disableOpacityOnClick: !0,
|
|
551
|
-
className: h(s.content,
|
|
552
|
-
onClick:
|
|
553
|
-
...
|
|
538
|
+
className: h(s.content, r),
|
|
539
|
+
onClick: a,
|
|
540
|
+
...c,
|
|
554
541
|
children: [n && /* @__PURE__ */ e("div", {
|
|
555
542
|
className: s.contentLeft,
|
|
556
543
|
children: n
|
|
557
|
-
}),
|
|
544
|
+
}), l != null ? l : /* @__PURE__ */ e(q, {}), t && /* @__PURE__ */ e("div", {
|
|
558
545
|
className: s.contentRight,
|
|
559
546
|
children: t
|
|
560
547
|
})]
|
|
561
|
-
}),
|
|
548
|
+
}), $n = ({
|
|
562
549
|
className: n,
|
|
563
550
|
...t
|
|
564
|
-
}) => /* @__PURE__ */ e(
|
|
551
|
+
}) => /* @__PURE__ */ e(le, {
|
|
565
552
|
className: h(s.groupHeading, n),
|
|
566
553
|
...t
|
|
567
|
-
}),
|
|
554
|
+
}), dn = ({
|
|
568
555
|
text: n = "Something unexpected happened."
|
|
569
|
-
}) => /* @__PURE__ */ e(
|
|
556
|
+
}) => /* @__PURE__ */ e(d, {
|
|
570
557
|
justifyContent: "center",
|
|
571
558
|
alignItems: "center",
|
|
572
559
|
children: /* @__PURE__ */ e(_e, {
|
|
573
560
|
variant: "error",
|
|
574
561
|
headerText: n
|
|
575
562
|
})
|
|
576
|
-
}),
|
|
563
|
+
}), Dn = (n) => /* @__PURE__ */ e(d, {
|
|
577
564
|
width: "100%",
|
|
578
565
|
height: "100%",
|
|
579
566
|
justifyContent: "center",
|
|
580
567
|
alignItems: "center",
|
|
581
|
-
children: /* @__PURE__ */ e(
|
|
568
|
+
children: /* @__PURE__ */ e(dn, {
|
|
582
569
|
...n
|
|
583
570
|
})
|
|
584
|
-
}),
|
|
571
|
+
}), un = ({
|
|
585
572
|
text: n = "Loading..."
|
|
586
|
-
}) => /* @__PURE__ */
|
|
573
|
+
}) => /* @__PURE__ */ o(d, {
|
|
587
574
|
alignItems: "center",
|
|
588
|
-
children: [/* @__PURE__ */ e(
|
|
575
|
+
children: [/* @__PURE__ */ e(Ce, {
|
|
589
576
|
size: "small"
|
|
590
|
-
}), /* @__PURE__ */ e(
|
|
577
|
+
}), /* @__PURE__ */ e(b, {
|
|
591
578
|
num: 4
|
|
592
|
-
}), /* @__PURE__ */ e(
|
|
579
|
+
}), /* @__PURE__ */ e(U, {
|
|
593
580
|
variant: "h4",
|
|
594
581
|
children: n
|
|
595
582
|
})]
|
|
596
|
-
}),
|
|
583
|
+
}), Un = (n) => /* @__PURE__ */ e(d, {
|
|
597
584
|
width: "100%",
|
|
598
585
|
height: "100%",
|
|
599
586
|
justifyContent: "center",
|
|
600
587
|
alignItems: "center",
|
|
601
|
-
children: /* @__PURE__ */ e(
|
|
588
|
+
children: /* @__PURE__ */ e(un, {
|
|
602
589
|
...n
|
|
603
590
|
})
|
|
604
|
-
}),
|
|
591
|
+
}), Vn = ({
|
|
605
592
|
renderBreadCrumbs: n,
|
|
606
593
|
renderPageHeading: t,
|
|
607
|
-
renderTabs:
|
|
608
|
-
children:
|
|
609
|
-
}) => /* @__PURE__ */
|
|
594
|
+
renderTabs: r,
|
|
595
|
+
children: a
|
|
596
|
+
}) => /* @__PURE__ */ o(d, {
|
|
610
597
|
shadow: "box",
|
|
611
|
-
background:
|
|
612
|
-
|
|
598
|
+
background: f("--lhds-color-ui-50"),
|
|
599
|
+
gap: 2,
|
|
600
|
+
children: [/* @__PURE__ */ o(d, {
|
|
613
601
|
indent: 3,
|
|
614
|
-
children: [n && /* @__PURE__ */
|
|
615
|
-
spacing: 1
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
602
|
+
children: [n && /* @__PURE__ */ o(i, {
|
|
603
|
+
spacing: 1,
|
|
604
|
+
alignItems: "center",
|
|
605
|
+
children: [/* @__PURE__ */ e(i, {
|
|
606
|
+
width: "64px",
|
|
607
|
+
height: "16px"
|
|
608
|
+
}), n()]
|
|
609
|
+
}), t == null ? void 0 : t(), r == null ? void 0 : r()]
|
|
610
|
+
}), a && /* @__PURE__ */ o(m, {
|
|
611
|
+
children: [!r && n && /* @__PURE__ */ e(b, {}), /* @__PURE__ */ e(ne, {}), a]
|
|
620
612
|
})]
|
|
621
|
-
}),
|
|
613
|
+
}), Wn = (n) => /* @__PURE__ */ e(i, {
|
|
622
614
|
indent: 3,
|
|
623
615
|
spacing: !0,
|
|
624
616
|
...n
|
|
625
|
-
}),
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
variant: o = "standard",
|
|
633
|
-
contentLeft: r,
|
|
634
|
-
contentRight: a
|
|
635
|
-
}) => /* @__PURE__ */ c(d, {
|
|
636
|
-
spacing: gn[o],
|
|
617
|
+
}), qn = ({
|
|
618
|
+
icon: n,
|
|
619
|
+
heading: t,
|
|
620
|
+
headingLevel: r = "h2",
|
|
621
|
+
contentLeft: a,
|
|
622
|
+
contentRight: l
|
|
623
|
+
}) => /* @__PURE__ */ o(i, {
|
|
637
624
|
alignItems: "center",
|
|
638
625
|
gap: 2,
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
as: t,
|
|
642
|
-
children: n
|
|
643
|
-
}), /* @__PURE__ */ e(d, {
|
|
626
|
+
height: "64px",
|
|
627
|
+
children: [/* @__PURE__ */ o(i, {
|
|
644
628
|
alignItems: "center",
|
|
645
|
-
children:
|
|
646
|
-
|
|
629
|
+
children: [/* @__PURE__ */ e(i, {
|
|
630
|
+
width: "64px",
|
|
631
|
+
alignItems: "center",
|
|
632
|
+
children: n && /* @__PURE__ */ e(xe, {
|
|
633
|
+
icon: n
|
|
634
|
+
})
|
|
635
|
+
}), /* @__PURE__ */ e(U, {
|
|
636
|
+
variant: "h3",
|
|
637
|
+
as: r,
|
|
638
|
+
children: t
|
|
639
|
+
})]
|
|
640
|
+
}), /* @__PURE__ */ e(i, {
|
|
641
|
+
alignItems: "center",
|
|
642
|
+
children: a
|
|
643
|
+
}), /* @__PURE__ */ e(i, {
|
|
647
644
|
style: {
|
|
648
645
|
marginLeft: "auto"
|
|
649
646
|
},
|
|
650
647
|
alignItems: "center",
|
|
651
|
-
children:
|
|
648
|
+
children: l
|
|
652
649
|
})]
|
|
653
|
-
}),
|
|
654
|
-
sidebarMenu:
|
|
655
|
-
},
|
|
656
|
-
stenaFlag:
|
|
657
|
-
},
|
|
650
|
+
}), hn = "_sidebarMenu_tg9i7_1", T = {
|
|
651
|
+
sidebarMenu: hn
|
|
652
|
+
}, pn = "_stenaFlag_108h7_1", gn = {
|
|
653
|
+
stenaFlag: pn
|
|
654
|
+
}, mn = ({
|
|
658
655
|
onClick: n
|
|
659
|
-
}) => /* @__PURE__ */
|
|
656
|
+
}) => /* @__PURE__ */ o(i, {
|
|
660
657
|
justifyContent: "space-between",
|
|
661
658
|
alignItems: "center",
|
|
662
659
|
flex: 1,
|
|
663
660
|
indent: 1,
|
|
664
661
|
minHeight: "48px",
|
|
665
|
-
children: [/* @__PURE__ */ e(
|
|
666
|
-
leftIcon:
|
|
662
|
+
children: [/* @__PURE__ */ e(_, {
|
|
663
|
+
leftIcon: Z,
|
|
667
664
|
onClick: n,
|
|
668
665
|
variant: "danger"
|
|
669
|
-
}), /* @__PURE__ */ e(
|
|
670
|
-
className:
|
|
666
|
+
}), /* @__PURE__ */ e(Be, {
|
|
667
|
+
className: gn.stenaFlag
|
|
671
668
|
})]
|
|
672
|
-
}),
|
|
669
|
+
}), fn = ({
|
|
673
670
|
className: n,
|
|
674
671
|
children: t,
|
|
675
|
-
onCloseClick:
|
|
676
|
-
collapsed:
|
|
677
|
-
variant:
|
|
678
|
-
...
|
|
679
|
-
}) => /* @__PURE__ */
|
|
672
|
+
onCloseClick: r,
|
|
673
|
+
collapsed: a = !1,
|
|
674
|
+
variant: l = "standard",
|
|
675
|
+
...c
|
|
676
|
+
}) => /* @__PURE__ */ o(d, {
|
|
680
677
|
indent: 1,
|
|
681
|
-
className: h(
|
|
678
|
+
className: h(T.sidebarMenu, a ? T.collapsed : null, n),
|
|
682
679
|
style: {
|
|
683
680
|
["--swui-sidebar-menu-item-height"]: "40px"
|
|
684
681
|
},
|
|
685
|
-
"data-collapsed":
|
|
686
|
-
...
|
|
687
|
-
children: [/* @__PURE__ */ e(
|
|
682
|
+
"data-collapsed": a || void 0,
|
|
683
|
+
...c,
|
|
684
|
+
children: [/* @__PURE__ */ e(b, {
|
|
688
685
|
num: 1
|
|
689
|
-
}), /* @__PURE__ */ e(
|
|
690
|
-
onClick:
|
|
691
|
-
}), /* @__PURE__ */ e(
|
|
692
|
-
className:
|
|
686
|
+
}), /* @__PURE__ */ e(mn, {
|
|
687
|
+
onClick: r
|
|
688
|
+
}), /* @__PURE__ */ e(d, {
|
|
689
|
+
className: T.sidebarMenuContent,
|
|
693
690
|
height: "100%",
|
|
694
691
|
background: "var(--current-background-color)",
|
|
695
|
-
children: /* @__PURE__ */ e(
|
|
692
|
+
children: /* @__PURE__ */ e(S, {
|
|
696
693
|
flex: 1,
|
|
697
694
|
gap: 1,
|
|
698
695
|
children: t
|
|
699
696
|
})
|
|
700
697
|
})]
|
|
701
|
-
}),
|
|
698
|
+
}), Gn = ({
|
|
702
699
|
variant: n,
|
|
703
700
|
onClickMenuButton: t,
|
|
704
|
-
children:
|
|
705
|
-
}) => /* @__PURE__ */
|
|
701
|
+
children: r
|
|
702
|
+
}) => /* @__PURE__ */ o(fn, {
|
|
706
703
|
collapsed: !0,
|
|
707
704
|
position: "fixed",
|
|
708
705
|
left: 0,
|
|
@@ -710,87 +707,87 @@ const V = ({
|
|
|
710
707
|
variant: n,
|
|
711
708
|
children: [/* @__PURE__ */ e(ae, {
|
|
712
709
|
onClick: t
|
|
713
|
-
}),
|
|
714
|
-
}),
|
|
710
|
+
}), r]
|
|
711
|
+
}), L = (n) => /* @__PURE__ */ e(ye, {
|
|
715
712
|
...n
|
|
716
|
-
}),
|
|
713
|
+
}), ce = ({
|
|
717
714
|
label: n
|
|
718
|
-
}) => /* @__PURE__ */
|
|
715
|
+
}) => /* @__PURE__ */ o(d, {
|
|
719
716
|
height: "32px",
|
|
720
717
|
justifyContent: "center",
|
|
721
718
|
indent: 1,
|
|
722
|
-
children: [/* @__PURE__ */ e(
|
|
719
|
+
children: [/* @__PURE__ */ e(b, {}), /* @__PURE__ */ e(B, {
|
|
723
720
|
variant: "overline",
|
|
724
721
|
size: "smaller",
|
|
725
722
|
children: n
|
|
726
723
|
})]
|
|
727
|
-
}),
|
|
728
|
-
color:
|
|
724
|
+
}), ie = (n) => /* @__PURE__ */ e(ne, {
|
|
725
|
+
color: f("--lhds-color-ui-400"),
|
|
729
726
|
...n
|
|
730
|
-
}),
|
|
727
|
+
}), bn = ({
|
|
731
728
|
children: n,
|
|
732
729
|
label: t,
|
|
733
|
-
leftIcon:
|
|
734
|
-
className:
|
|
735
|
-
initialExpand:
|
|
730
|
+
leftIcon: r,
|
|
731
|
+
className: a,
|
|
732
|
+
initialExpand: l = !1
|
|
736
733
|
}) => {
|
|
737
|
-
const [
|
|
738
|
-
return /* @__PURE__ */ e(
|
|
734
|
+
const [c, u] = Se(l);
|
|
735
|
+
return /* @__PURE__ */ e(ke, {
|
|
739
736
|
label: t,
|
|
740
|
-
onClick: () => u(!
|
|
741
|
-
leftIcon:
|
|
742
|
-
className:
|
|
737
|
+
onClick: () => u(!c),
|
|
738
|
+
leftIcon: r,
|
|
739
|
+
className: a,
|
|
743
740
|
expandable: !0,
|
|
744
|
-
expanded:
|
|
745
|
-
selected:
|
|
741
|
+
expanded: c,
|
|
742
|
+
selected: c,
|
|
746
743
|
children: n
|
|
747
744
|
});
|
|
748
|
-
},
|
|
745
|
+
}, se = (n) => n.map((t, r) => {
|
|
749
746
|
switch (t.type) {
|
|
750
747
|
case "heading":
|
|
751
|
-
return /* @__PURE__ */ e(
|
|
748
|
+
return /* @__PURE__ */ e(ce, {
|
|
752
749
|
label: t.label
|
|
753
|
-
},
|
|
750
|
+
}, r);
|
|
754
751
|
case "separator":
|
|
755
|
-
return /* @__PURE__ */ e(
|
|
752
|
+
return /* @__PURE__ */ e(ie, {}, r);
|
|
756
753
|
case "link": {
|
|
757
754
|
const {
|
|
758
|
-
type:
|
|
759
|
-
...
|
|
755
|
+
type: a,
|
|
756
|
+
...l
|
|
760
757
|
} = t;
|
|
761
|
-
return /* @__PURE__ */ e(
|
|
762
|
-
...
|
|
763
|
-
},
|
|
758
|
+
return /* @__PURE__ */ e(L, {
|
|
759
|
+
...l
|
|
760
|
+
}, r);
|
|
764
761
|
}
|
|
765
762
|
case "grouped":
|
|
766
|
-
return /* @__PURE__ */ e(
|
|
763
|
+
return /* @__PURE__ */ e(bn, {
|
|
767
764
|
leftIcon: t.leftIcon,
|
|
768
765
|
label: t.label,
|
|
769
766
|
initialExpand: !0,
|
|
770
|
-
children:
|
|
771
|
-
},
|
|
767
|
+
children: se(t.items)
|
|
768
|
+
}, r);
|
|
772
769
|
default:
|
|
773
|
-
return
|
|
770
|
+
return te(t);
|
|
774
771
|
}
|
|
775
|
-
}),
|
|
772
|
+
}), Jn = (n, {
|
|
776
773
|
popupMinWidth: t
|
|
777
|
-
}) => n.map((
|
|
778
|
-
switch (
|
|
774
|
+
}) => n.map((r, a) => {
|
|
775
|
+
switch (r.type) {
|
|
779
776
|
case "heading":
|
|
780
777
|
return null;
|
|
781
778
|
case "separator":
|
|
782
|
-
return /* @__PURE__ */ e(
|
|
779
|
+
return /* @__PURE__ */ e(ie, {}, a);
|
|
783
780
|
case "link": {
|
|
784
781
|
const {
|
|
785
|
-
type:
|
|
786
|
-
label:
|
|
782
|
+
type: l,
|
|
783
|
+
label: c,
|
|
787
784
|
...u
|
|
788
|
-
} =
|
|
789
|
-
return /* @__PURE__ */ e(
|
|
790
|
-
title:
|
|
791
|
-
label:
|
|
785
|
+
} = r;
|
|
786
|
+
return /* @__PURE__ */ e(L, {
|
|
787
|
+
title: c,
|
|
788
|
+
label: c,
|
|
792
789
|
...u
|
|
793
|
-
},
|
|
790
|
+
}, a);
|
|
794
791
|
}
|
|
795
792
|
case "grouped":
|
|
796
793
|
return /* @__PURE__ */ e("div", {
|
|
@@ -802,44 +799,44 @@ const V = ({
|
|
|
802
799
|
trigger: "focusin mouseenter click",
|
|
803
800
|
disablePadding: !0,
|
|
804
801
|
lazy: !0,
|
|
805
|
-
content: /* @__PURE__ */
|
|
802
|
+
content: /* @__PURE__ */ o(d, {
|
|
806
803
|
minWidth: t,
|
|
807
804
|
background: "var(--lhds-color-blue-500)",
|
|
808
|
-
children: [/* @__PURE__ */ e(
|
|
809
|
-
label:
|
|
810
|
-
}),
|
|
805
|
+
children: [/* @__PURE__ */ e(ce, {
|
|
806
|
+
label: r.label
|
|
807
|
+
}), se(r.items)]
|
|
811
808
|
}),
|
|
812
|
-
children: /* @__PURE__ */ e(
|
|
813
|
-
title:
|
|
814
|
-
label:
|
|
815
|
-
leftIcon:
|
|
809
|
+
children: /* @__PURE__ */ e(L, {
|
|
810
|
+
title: r.label,
|
|
811
|
+
label: r.label,
|
|
812
|
+
leftIcon: r.leftIcon
|
|
816
813
|
})
|
|
817
814
|
})
|
|
818
|
-
},
|
|
815
|
+
}, a);
|
|
819
816
|
default:
|
|
820
|
-
return
|
|
817
|
+
return te(r);
|
|
821
818
|
}
|
|
822
|
-
}),
|
|
819
|
+
}), vn = `1px solid ${f("--lhds-color-orange-400")}`, Kn = ({
|
|
823
820
|
numItemsSelected: n,
|
|
824
821
|
label: t,
|
|
825
|
-
afterLabelContent:
|
|
826
|
-
rightContent:
|
|
827
|
-
}) => /* @__PURE__ */
|
|
822
|
+
afterLabelContent: r,
|
|
823
|
+
rightContent: a
|
|
824
|
+
}) => /* @__PURE__ */ o(i, {
|
|
828
825
|
indent: 3,
|
|
829
826
|
spacing: !0,
|
|
830
827
|
minHeight: "56px",
|
|
831
828
|
justifyContent: "space-between",
|
|
832
829
|
alignItems: "center",
|
|
833
|
-
borderTop:
|
|
834
|
-
background:
|
|
835
|
-
children: [/* @__PURE__ */
|
|
830
|
+
borderTop: vn,
|
|
831
|
+
background: f("--lhds-color-orange-50"),
|
|
832
|
+
children: [/* @__PURE__ */ o(i, {
|
|
836
833
|
alignItems: "center",
|
|
837
834
|
children: [n != null || t != null ? /* @__PURE__ */ e(m, {
|
|
838
|
-
children: n != null ? /* @__PURE__ */
|
|
835
|
+
children: n != null ? /* @__PURE__ */ o(m, {
|
|
839
836
|
children: [/* @__PURE__ */ e(B, {
|
|
840
837
|
variant: "bold",
|
|
841
838
|
children: n
|
|
842
|
-
}), /* @__PURE__ */ e(
|
|
839
|
+
}), /* @__PURE__ */ e(b, {}), /* @__PURE__ */ o(B, {
|
|
843
840
|
children: ["item", n === 1 ? "" : "s", " selected"]
|
|
844
841
|
})]
|
|
845
842
|
}) : t != null ? /* @__PURE__ */ e(m, {
|
|
@@ -847,51 +844,51 @@ const V = ({
|
|
|
847
844
|
children: t
|
|
848
845
|
}) : t
|
|
849
846
|
}) : null
|
|
850
|
-
}) : null,
|
|
851
|
-
children: [/* @__PURE__ */ e(
|
|
852
|
-
children:
|
|
847
|
+
}) : null, r ? /* @__PURE__ */ o(m, {
|
|
848
|
+
children: [/* @__PURE__ */ e(x, {}), /* @__PURE__ */ e(d, {
|
|
849
|
+
children: r
|
|
853
850
|
})]
|
|
854
851
|
}) : null]
|
|
855
|
-
}), /* @__PURE__ */ e(
|
|
856
|
-
children:
|
|
852
|
+
}), /* @__PURE__ */ e(d, {
|
|
853
|
+
children: a
|
|
857
854
|
})]
|
|
858
855
|
});
|
|
859
856
|
export {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
857
|
+
Me as ActionMenuFlatButton,
|
|
858
|
+
Sn as ActionMenuPrimaryButton,
|
|
859
|
+
jn as ActionMenuSecondaryButton,
|
|
860
|
+
En as CheckboxMenu,
|
|
861
|
+
sn as Collapsible,
|
|
862
|
+
Ln as CollapsibleClickableContent,
|
|
863
|
+
le as CollapsibleContent,
|
|
864
|
+
q as CollapsibleEmptyContent,
|
|
865
|
+
$n as CollapsibleGroupHeading,
|
|
866
|
+
Tn as CollapsibleWithCheckbox,
|
|
867
|
+
dn as ErrorPanel,
|
|
868
|
+
Dn as ErrorScreen,
|
|
869
|
+
un as LoadingPanel,
|
|
870
|
+
Un as LoadingScreen,
|
|
871
|
+
Mn as NavBar,
|
|
872
|
+
ze as NavBarButton,
|
|
873
|
+
Fn as NavBarHeading,
|
|
874
|
+
An as NavBarNotificationButton,
|
|
875
|
+
Rn as NavBarPopoverButton,
|
|
876
|
+
Hn as NavBarSearchField,
|
|
877
|
+
Pn as NavBarUserButton,
|
|
878
|
+
zn as Notification,
|
|
879
|
+
Vn as PageHeader,
|
|
880
|
+
Wn as PageHeaderRow,
|
|
881
|
+
qn as PageHeading,
|
|
882
|
+
Kn as SelectedItemsActionsPanel,
|
|
883
|
+
fn as SidebarMenu,
|
|
884
|
+
bn as SidebarMenuCollapsible,
|
|
885
|
+
ce as SidebarMenuHeading,
|
|
886
|
+
L as SidebarMenuLink,
|
|
887
|
+
ie as SidebarMenuSeparator,
|
|
888
|
+
Gn as SidebarRailMenu,
|
|
889
|
+
On as Toast,
|
|
890
|
+
cn as mapCSSTime,
|
|
891
|
+
se as renderItemsExpanded,
|
|
892
|
+
Jn as renderItemsInRail
|
|
896
893
|
};
|
|
897
894
|
//# sourceMappingURL=index.es.js.map
|