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