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