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