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