@stenajs-webui/panels 21.43.1 → 21.44.0
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/CollapsibleEmptyContent.d.ts +3 -3
- package/dist/components/sidebar-menu/items/SidebarMenuCollapsibleGroupBox.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +151 -148
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.es.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){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{transform-origin:top center;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)}@keyframes _shake_1wt3y_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{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)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){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{transform-origin:top center;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)}@keyframes _shake_1wt3y_1{0%{transform:rotate(0)}7%{transform:rotate(20deg)}15%{transform:rotate(-20deg)}22%{transform:rotate(16deg)}30%{transform:rotate(-16deg)}38%{transform:rotate(6deg)}42%{transform:rotate(-6deg)}46%{transform:rotate(2deg)}to{transform:rotate(0)}}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{line-height:2.7rem;color:var(--lhds-color-ui-800)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1::placeholder{color:var(--lhds-color-blue-600)}._navBarSearchFieldInput_1rp8g_1._navBarSearchFieldInput_1rp8g_1{padding:0 var(--swui-metrics-indent)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{background:var(--lhds-color-ui-200);border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:hover{border-color:transparent}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12{padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12._withButton_1rp8g_24{padding-right:1px}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12:focus-within{color:var(--lhds-color-ui-800);background:var(--lhds-color-ui-50)}._navBarSearchFieldWrapper_1rp8g_12._navBarSearchFieldWrapper_1rp8g_12 ._clearButton_1rp8g_33{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}._sidebarMenuCollapsibleGroupBox_ikek9_1{background:var(--lhds-color-ui-200);border-radius:var(--swui-border-radius);gap:var(--swui-metrics-space);display:flex;flex-direction:column;padding:var(--swui-metrics-space);--current-text-size: var(--swui-font-size-small)}._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
2
|
import { jsx as n, Fragment as v, jsxs as o } from "react/jsx-runtime";
|
|
3
|
-
import { ActionMenu as
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as wn, useMemo as Nn, forwardRef as A, createContext as kn, useContext as
|
|
6
|
-
import { useBoolean as X, Row as s, Indent as x, Column as h, Heading as
|
|
3
|
+
import { ActionMenu as G, ActionMenuContext as an, stenaAngleDown as W, PrimaryButton as ln, SecondaryButton as cn, FlatButton as k, stenaHamburger as E, BaseButton as sn, stenaBellFilled as dn, TextInputButton as un, stenaTimes as hn, stenaUserCircle as pn, CircledIcon as j, CloseButton as q, MenuButton as L, Icon as gn, stenaMail as mn, Card as bn, CardBody as fn, stenaTripFerryXl as Bn, Spinner as _n, StenaFlag as vn, stenaAngleLeftDouble as O, stenaPin as Cn, IconMenuButton as P, IconMenuButtonLink as xn, MenuButtonLink as yn } from "@stenajs-webui/elements";
|
|
4
|
+
import * as In from "react";
|
|
5
|
+
import { useRef as wn, useMemo as Nn, forwardRef as A, createContext as kn, useContext as Mn, useState as Sn } from "react";
|
|
6
|
+
import { useBoolean as X, Row as s, Indent as x, Column as h, Heading as M, Box as u, Text as b, Space as m, SeparatorLine as Rn } from "@stenajs-webui/core";
|
|
7
7
|
import { ControlledPopover as J, Popover as K, Tooltip as Q } from "@stenajs-webui/tooltip";
|
|
8
8
|
import { Checkbox as V, TextInput as Fn } from "@stenajs-webui/forms";
|
|
9
9
|
import g from "classnames";
|
|
10
|
-
import { cssColor as
|
|
10
|
+
import { cssColor as f } from "@stenajs-webui/theme";
|
|
11
11
|
const $ = ({
|
|
12
12
|
renderItems: e,
|
|
13
13
|
placement: t = "bottom",
|
|
14
14
|
buttonComponent: r,
|
|
15
|
-
rightIcon: i =
|
|
15
|
+
rightIcon: i = W,
|
|
16
16
|
menuWidth: a,
|
|
17
17
|
menuTop: l,
|
|
18
18
|
onClick: c,
|
|
19
19
|
disableArrow: d = !1,
|
|
20
20
|
buttonRef: p,
|
|
21
|
-
appendTo:
|
|
22
|
-
zIndex:
|
|
21
|
+
appendTo: B,
|
|
22
|
+
zIndex: _,
|
|
23
23
|
...Z
|
|
24
24
|
}) => {
|
|
25
|
-
const [H, T,
|
|
26
|
-
c == null || c(
|
|
25
|
+
const [H, T, y, nn] = X(!1), en = wn(null), tn = p ?? en, rn = Nn(() => ({ open: T, close: y }), [T, y]), on = (S) => {
|
|
26
|
+
c == null || c(S), nn();
|
|
27
27
|
};
|
|
28
28
|
return /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(
|
|
29
29
|
J,
|
|
30
30
|
{
|
|
31
|
-
renderTrigger: (
|
|
31
|
+
renderTrigger: (S) => /* @__PURE__ */ n(
|
|
32
32
|
r,
|
|
33
33
|
{
|
|
34
34
|
rightIcon: d ? void 0 : i,
|
|
35
35
|
...Z,
|
|
36
36
|
ref: tn,
|
|
37
37
|
onClick: on,
|
|
38
|
-
...
|
|
38
|
+
...S
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
41
|
hideArrow: !0,
|
|
42
42
|
disablePadding: !0,
|
|
43
43
|
open: H,
|
|
44
|
-
onRequestClose:
|
|
44
|
+
onRequestClose: y,
|
|
45
45
|
placement: t,
|
|
46
|
-
appendTo:
|
|
47
|
-
zIndex:
|
|
48
|
-
children: H && /* @__PURE__ */ n(
|
|
46
|
+
appendTo: B,
|
|
47
|
+
zIndex: _,
|
|
48
|
+
children: H && /* @__PURE__ */ n(G, { width: a, top: l, trapFocus: !0, children: /* @__PURE__ */ n(an.Provider, { value: rn, children: e(y) }) })
|
|
49
49
|
}
|
|
50
50
|
) });
|
|
51
|
-
},
|
|
51
|
+
}, Pe = (e) => /* @__PURE__ */ n($, { buttonComponent: ln, ...e }), Ae = (e) => /* @__PURE__ */ n($, { buttonComponent: cn, ...e }), jn = (e) => /* @__PURE__ */ n($, { buttonComponent: k, ...e }), Ln = "1px solid var(--lhds-color-ui-300)", $e = ({
|
|
52
52
|
renderMenu: e,
|
|
53
53
|
...t
|
|
54
54
|
}) => /* @__PURE__ */ n(
|
|
@@ -66,14 +66,14 @@ const $ = ({
|
|
|
66
66
|
children: [
|
|
67
67
|
/* @__PURE__ */ n(V, { ...t }),
|
|
68
68
|
/* @__PURE__ */ n(x, { num: 0.5 }),
|
|
69
|
-
/* @__PURE__ */ n(k, { size: "small", leftIcon:
|
|
69
|
+
/* @__PURE__ */ n(k, { size: "small", leftIcon: W, ...r })
|
|
70
70
|
]
|
|
71
71
|
}
|
|
72
72
|
) }),
|
|
73
73
|
hideArrow: !0,
|
|
74
74
|
disablePadding: !0,
|
|
75
75
|
placement: "bottom-start",
|
|
76
|
-
children: ({ onRequestClose: r }) => /* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(
|
|
76
|
+
children: ({ onRequestClose: r }) => /* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(G, { children: e(r) }) })
|
|
77
77
|
}
|
|
78
78
|
), Pn = "_navBar_kzibd_1", An = {
|
|
79
79
|
navBar: Pn
|
|
@@ -83,11 +83,11 @@ const $ = ({
|
|
|
83
83
|
}) => /* @__PURE__ */ n(
|
|
84
84
|
k,
|
|
85
85
|
{
|
|
86
|
-
leftIcon:
|
|
86
|
+
leftIcon: E,
|
|
87
87
|
className: e,
|
|
88
88
|
onClick: t
|
|
89
89
|
}
|
|
90
|
-
),
|
|
90
|
+
), ze = ({
|
|
91
91
|
left: e,
|
|
92
92
|
className: t,
|
|
93
93
|
showMenuButton: r = !1,
|
|
@@ -118,8 +118,8 @@ const $ = ({
|
|
|
118
118
|
e,
|
|
119
119
|
/* @__PURE__ */ n(x, { num: 2 })
|
|
120
120
|
] }),
|
|
121
|
-
i && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children:
|
|
122
|
-
|
|
121
|
+
i && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: In.Children.map(i, (p, B) => /* @__PURE__ */ o(v, { children: [
|
|
122
|
+
B > 0 && /* @__PURE__ */ n(x, {}),
|
|
123
123
|
p
|
|
124
124
|
] })) }) })
|
|
125
125
|
]
|
|
@@ -151,7 +151,7 @@ const $ = ({
|
|
|
151
151
|
}
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
),
|
|
154
|
+
), He = (e) => /* @__PURE__ */ n(M, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), Te = ({
|
|
155
155
|
content: e,
|
|
156
156
|
children: t,
|
|
157
157
|
appendTo: r,
|
|
@@ -173,12 +173,12 @@ const $ = ({
|
|
|
173
173
|
] })
|
|
174
174
|
}
|
|
175
175
|
);
|
|
176
|
-
}, Un = "_navBarNotificationButton_1wt3y_1", Dn = "_unread_1wt3y_23",
|
|
176
|
+
}, Un = "_navBarNotificationButton_1wt3y_1", Dn = "_unread_1wt3y_23", Gn = "_icon_1wt3y_23", Wn = "_shake_1wt3y_1", C = {
|
|
177
177
|
navBarNotificationButton: Un,
|
|
178
178
|
unread: Dn,
|
|
179
|
-
icon:
|
|
180
|
-
shake:
|
|
181
|
-
},
|
|
179
|
+
icon: Gn,
|
|
180
|
+
shake: Wn
|
|
181
|
+
}, Ue = A(function({
|
|
182
182
|
count: e,
|
|
183
183
|
unread: t = !1,
|
|
184
184
|
className: r,
|
|
@@ -205,12 +205,12 @@ const $ = ({
|
|
|
205
205
|
iconClassName: g(a, C.icon)
|
|
206
206
|
}
|
|
207
207
|
);
|
|
208
|
-
}),
|
|
209
|
-
navBarSearchFieldInput:
|
|
210
|
-
navBarSearchFieldWrapper:
|
|
211
|
-
withButton:
|
|
208
|
+
}), En = "_navBarSearchFieldInput_1rp8g_1", qn = "_navBarSearchFieldWrapper_1rp8g_12", On = "_withButton_1rp8g_24", Xn = "_clearButton_1rp8g_33", I = {
|
|
209
|
+
navBarSearchFieldInput: En,
|
|
210
|
+
navBarSearchFieldWrapper: qn,
|
|
211
|
+
withButton: On,
|
|
212
212
|
clearButton: Xn
|
|
213
|
-
},
|
|
213
|
+
}, De = ({
|
|
214
214
|
placeholder: e = "Search",
|
|
215
215
|
className: t,
|
|
216
216
|
wrapperClassName: r,
|
|
@@ -222,17 +222,17 @@ const $ = ({
|
|
|
222
222
|
Fn,
|
|
223
223
|
{
|
|
224
224
|
wrapperClassName: g(
|
|
225
|
-
|
|
226
|
-
i ?
|
|
225
|
+
I.navBarSearchFieldWrapper,
|
|
226
|
+
i ? I.withButton : void 0,
|
|
227
227
|
r
|
|
228
228
|
),
|
|
229
|
-
className: g(
|
|
229
|
+
className: g(I.navBarSearchFieldInput, t),
|
|
230
230
|
placeholder: e,
|
|
231
231
|
value: l,
|
|
232
232
|
buttonRight: l && i ? /* @__PURE__ */ n(
|
|
233
233
|
un,
|
|
234
234
|
{
|
|
235
|
-
className:
|
|
235
|
+
className: I.clearButton,
|
|
236
236
|
icon: hn,
|
|
237
237
|
variant: "error",
|
|
238
238
|
onClick: a
|
|
@@ -242,7 +242,7 @@ const $ = ({
|
|
|
242
242
|
}
|
|
243
243
|
), Jn = "_navBarUserButton_10f9z_1", Kn = {
|
|
244
244
|
navBarUserButton: Jn
|
|
245
|
-
},
|
|
245
|
+
}, Ge = ({
|
|
246
246
|
className: e,
|
|
247
247
|
username: t,
|
|
248
248
|
initials: r,
|
|
@@ -276,28 +276,28 @@ const $ = ({
|
|
|
276
276
|
onClose: c,
|
|
277
277
|
unread: d = !1,
|
|
278
278
|
variant: p,
|
|
279
|
-
iconBackgroundColor:
|
|
279
|
+
iconBackgroundColor: B
|
|
280
280
|
}) => {
|
|
281
|
-
const
|
|
281
|
+
const _ = r ? /* @__PURE__ */ n(
|
|
282
282
|
j,
|
|
283
283
|
{
|
|
284
284
|
size: "small",
|
|
285
285
|
icon: r,
|
|
286
286
|
"aria-label": i,
|
|
287
|
-
backgroundColor:
|
|
287
|
+
backgroundColor: B || Zn(d, p)
|
|
288
288
|
}
|
|
289
289
|
) : void 0;
|
|
290
290
|
return /* @__PURE__ */ o(s, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
|
|
291
291
|
/* @__PURE__ */ o(s, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
|
|
292
292
|
a && /* @__PURE__ */ n(u, { minHeight: 20, justifyContent: "center", children: a }),
|
|
293
|
-
!a &&
|
|
293
|
+
!a && _ && (d ? /* @__PURE__ */ n(Yn, { children: _ }) : _),
|
|
294
294
|
/* @__PURE__ */ o(u, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
|
|
295
|
-
/* @__PURE__ */ n(
|
|
295
|
+
/* @__PURE__ */ n(b, { variant: "bold", children: e }),
|
|
296
296
|
t && /* @__PURE__ */ n(
|
|
297
|
-
|
|
297
|
+
b,
|
|
298
298
|
{
|
|
299
299
|
size: "small",
|
|
300
|
-
color:
|
|
300
|
+
color: f(
|
|
301
301
|
d ? "--lhds-color-blue-600" : "--lhds-color-ui-600"
|
|
302
302
|
),
|
|
303
303
|
children: t
|
|
@@ -312,7 +312,7 @@ const $ = ({
|
|
|
312
312
|
flex: "none",
|
|
313
313
|
justifyContent: "center",
|
|
314
314
|
height: "calc(20px + 2 * var(--swui-metrics-spacing))",
|
|
315
|
-
children: /* @__PURE__ */ n(
|
|
315
|
+
children: /* @__PURE__ */ n(q, { onClick: c })
|
|
316
316
|
}
|
|
317
317
|
)
|
|
318
318
|
] });
|
|
@@ -325,7 +325,7 @@ const $ = ({
|
|
|
325
325
|
standard: te,
|
|
326
326
|
unread: re,
|
|
327
327
|
danger: ie
|
|
328
|
-
},
|
|
328
|
+
}, We = ({
|
|
329
329
|
variant: e = "standard",
|
|
330
330
|
children: t,
|
|
331
331
|
unread: r,
|
|
@@ -345,7 +345,7 @@ const $ = ({
|
|
|
345
345
|
}
|
|
346
346
|
), oe = "_notificationList_1rkvu_1", ae = {
|
|
347
347
|
notificationList: oe
|
|
348
|
-
},
|
|
348
|
+
}, Ee = ({
|
|
349
349
|
children: e
|
|
350
350
|
}) => /* @__PURE__ */ o("div", { className: ae.notificationList, children: [
|
|
351
351
|
e,
|
|
@@ -353,7 +353,7 @@ const $ = ({
|
|
|
353
353
|
] }), le = "_clickable_1ijxc_1", ce = "_nonClickable_1ijxc_27", R = {
|
|
354
354
|
clickable: le,
|
|
355
355
|
nonClickable: ce
|
|
356
|
-
},
|
|
356
|
+
}, qe = ({
|
|
357
357
|
onClick: e,
|
|
358
358
|
onClickAriaLabel: t,
|
|
359
359
|
children: r,
|
|
@@ -364,7 +364,7 @@ const $ = ({
|
|
|
364
364
|
u,
|
|
365
365
|
{
|
|
366
366
|
borderRadius: 8,
|
|
367
|
-
background:
|
|
367
|
+
background: f("--lhds-color-ui-50"),
|
|
368
368
|
shadow: "popover",
|
|
369
369
|
width: i,
|
|
370
370
|
maxWidth: a,
|
|
@@ -386,11 +386,7 @@ const $ = ({
|
|
|
386
386
|
)
|
|
387
387
|
]
|
|
388
388
|
}
|
|
389
|
-
), se = (
|
|
390
|
-
/* @__PURE__ */ n(gn, { icon: mn, color: b("--lhds-color-ui-500") }),
|
|
391
|
-
/* @__PURE__ */ n(m, {}),
|
|
392
|
-
/* @__PURE__ */ n(f, { size: "small", color: b("--lhds-color-ui-500"), children: "No content" })
|
|
393
|
-
] }), de = A(
|
|
389
|
+
), se = A(
|
|
394
390
|
function({
|
|
395
391
|
label: t,
|
|
396
392
|
contentLeft: r,
|
|
@@ -400,14 +396,14 @@ const $ = ({
|
|
|
400
396
|
disabled: c = !1,
|
|
401
397
|
children: d,
|
|
402
398
|
autoFocus: p = !1,
|
|
403
|
-
...
|
|
404
|
-
},
|
|
399
|
+
...B
|
|
400
|
+
}, _) {
|
|
405
401
|
return /* @__PURE__ */ n(
|
|
406
402
|
L,
|
|
407
403
|
{
|
|
408
|
-
...
|
|
404
|
+
...B,
|
|
409
405
|
autoFocus: p,
|
|
410
|
-
ref:
|
|
406
|
+
ref: _,
|
|
411
407
|
label: t,
|
|
412
408
|
onClick: l,
|
|
413
409
|
disabled: c,
|
|
@@ -416,13 +412,13 @@ const $ = ({
|
|
|
416
412
|
selected: !a,
|
|
417
413
|
left: r,
|
|
418
414
|
right: i,
|
|
419
|
-
children: d
|
|
415
|
+
children: d
|
|
420
416
|
}
|
|
421
417
|
);
|
|
422
418
|
}
|
|
423
|
-
),
|
|
419
|
+
), Oe = ({
|
|
424
420
|
children: e
|
|
425
|
-
}) => /* @__PURE__ */ n(h, { gap: 1, children: e }),
|
|
421
|
+
}) => /* @__PURE__ */ n(h, { gap: 1, children: e }), Xe = ({
|
|
426
422
|
value: e,
|
|
427
423
|
onValueChange: t,
|
|
428
424
|
onChange: r,
|
|
@@ -430,7 +426,7 @@ const $ = ({
|
|
|
430
426
|
checkboxDisabled: a,
|
|
431
427
|
...l
|
|
432
428
|
}) => /* @__PURE__ */ n(
|
|
433
|
-
|
|
429
|
+
se,
|
|
434
430
|
{
|
|
435
431
|
contentLeft: /* @__PURE__ */ n(
|
|
436
432
|
V,
|
|
@@ -445,59 +441,65 @@ const $ = ({
|
|
|
445
441
|
),
|
|
446
442
|
...l
|
|
447
443
|
}
|
|
448
|
-
),
|
|
444
|
+
), de = "_sidebarMenuCollapsibleGroupBox_ikek9_1", ue = {
|
|
445
|
+
sidebarMenuCollapsibleGroupBox: de
|
|
446
|
+
}, he = ({ children: e }) => /* @__PURE__ */ n("div", { className: ue.sidebarMenuCollapsibleGroupBox, children: e }), Je = ({ children: e }) => /* @__PURE__ */ n(u, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e }) }), Ke = ({ text: e = "No content" }) => /* @__PURE__ */ o(h, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
447
|
+
/* @__PURE__ */ n(gn, { icon: mn, color: f("--lhds-color-ui-500") }),
|
|
448
|
+
/* @__PURE__ */ n(m, {}),
|
|
449
|
+
/* @__PURE__ */ n(b, { size: "small", color: f("--lhds-color-ui-500"), children: e })
|
|
450
|
+
] }), pe = ({
|
|
449
451
|
text: e,
|
|
450
452
|
heading: t,
|
|
451
453
|
children: r,
|
|
452
454
|
buttons: i,
|
|
453
|
-
icon: a =
|
|
455
|
+
icon: a = Bn,
|
|
454
456
|
headingLevel: l = "h3",
|
|
455
457
|
...c
|
|
456
458
|
}) => {
|
|
457
459
|
const d = !e && !t ? "Something unexpected happened." : e;
|
|
458
|
-
return /* @__PURE__ */ n(
|
|
460
|
+
return /* @__PURE__ */ n(bn, { ...c, children: /* @__PURE__ */ n(fn, { children: /* @__PURE__ */ o(h, { spacing: 1, gap: 3, alignItems: "center", children: [
|
|
459
461
|
/* @__PURE__ */ o(h, { alignItems: "center", children: [
|
|
460
462
|
/* @__PURE__ */ n(m, { num: 1 }),
|
|
461
463
|
/* @__PURE__ */ n(j, { icon: a, size: "xl" })
|
|
462
464
|
] }),
|
|
463
|
-
t && /* @__PURE__ */ n(
|
|
464
|
-
d && /* @__PURE__ */ n(
|
|
465
|
+
t && /* @__PURE__ */ n(M, { as: l, children: t }),
|
|
466
|
+
d && /* @__PURE__ */ n(b, { children: d }),
|
|
465
467
|
r,
|
|
466
468
|
i && /* @__PURE__ */ o(u, { children: [
|
|
467
469
|
/* @__PURE__ */ n(m, { num: 2 }),
|
|
468
470
|
i
|
|
469
471
|
] })
|
|
470
472
|
] }) }) });
|
|
471
|
-
},
|
|
473
|
+
}, Qe = (e) => /* @__PURE__ */ n(
|
|
472
474
|
u,
|
|
473
475
|
{
|
|
474
476
|
width: "100%",
|
|
475
477
|
height: "100%",
|
|
476
478
|
justifyContent: "center",
|
|
477
479
|
alignItems: "center",
|
|
478
|
-
children: /* @__PURE__ */ n(
|
|
480
|
+
children: /* @__PURE__ */ n(pe, { ...e })
|
|
479
481
|
}
|
|
480
|
-
),
|
|
482
|
+
), ge = ({
|
|
481
483
|
text: e = "Loading..."
|
|
482
484
|
}) => /* @__PURE__ */ o(u, { alignItems: "center", children: [
|
|
483
|
-
/* @__PURE__ */ n(
|
|
485
|
+
/* @__PURE__ */ n(_n, { size: "small" }),
|
|
484
486
|
/* @__PURE__ */ n(m, { num: 4 }),
|
|
485
|
-
/* @__PURE__ */ n(
|
|
486
|
-
] }),
|
|
487
|
+
/* @__PURE__ */ n(M, { variant: "h4", children: e })
|
|
488
|
+
] }), Ve = (e) => /* @__PURE__ */ n(
|
|
487
489
|
u,
|
|
488
490
|
{
|
|
489
491
|
width: "100%",
|
|
490
492
|
height: "100%",
|
|
491
493
|
justifyContent: "center",
|
|
492
494
|
alignItems: "center",
|
|
493
|
-
children: /* @__PURE__ */ n(
|
|
495
|
+
children: /* @__PURE__ */ n(ge, { ...e })
|
|
494
496
|
}
|
|
495
|
-
),
|
|
497
|
+
), Ye = ({
|
|
496
498
|
renderBreadCrumbs: e,
|
|
497
499
|
renderPageHeading: t,
|
|
498
500
|
renderTabs: r,
|
|
499
501
|
children: i
|
|
500
|
-
}) => /* @__PURE__ */ o(u, { shadow: "bottom", background:
|
|
502
|
+
}) => /* @__PURE__ */ o(u, { shadow: "bottom", background: f("--lhds-color-ui-50"), gap: 2, children: [
|
|
501
503
|
/* @__PURE__ */ o(u, { indent: 3, children: [
|
|
502
504
|
e && /* @__PURE__ */ o(s, { spacing: 1, alignItems: "center", children: [
|
|
503
505
|
/* @__PURE__ */ n(s, { width: "64px", height: "16px" }),
|
|
@@ -508,7 +510,7 @@ const $ = ({
|
|
|
508
510
|
r == null ? void 0 : r()
|
|
509
511
|
] }),
|
|
510
512
|
i
|
|
511
|
-
] }),
|
|
513
|
+
] }), Ze = (e) => /* @__PURE__ */ n(s, { indent: 3, spacing: !0, ...e }), nt = ({
|
|
512
514
|
icon: e,
|
|
513
515
|
heading: t,
|
|
514
516
|
headingLevel: r = "h2",
|
|
@@ -517,17 +519,17 @@ const $ = ({
|
|
|
517
519
|
}) => /* @__PURE__ */ o(s, { alignItems: "center", gap: 2, height: "64px", children: [
|
|
518
520
|
/* @__PURE__ */ o(s, { alignItems: "center", children: [
|
|
519
521
|
/* @__PURE__ */ n(s, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(j, { icon: e }) }),
|
|
520
|
-
/* @__PURE__ */ n(
|
|
522
|
+
/* @__PURE__ */ n(M, { variant: "h3", as: r, children: t })
|
|
521
523
|
] }),
|
|
522
524
|
/* @__PURE__ */ n(s, { alignItems: "center", children: i }),
|
|
523
525
|
/* @__PURE__ */ n(s, { style: { marginLeft: "auto" }, alignItems: "center", children: a })
|
|
524
|
-
] }),
|
|
525
|
-
sidebarMenu:
|
|
526
|
-
sidebarItems:
|
|
527
|
-
scrollContainer:
|
|
528
|
-
},
|
|
529
|
-
stenaFlag:
|
|
530
|
-
},
|
|
526
|
+
] }), me = "_sidebarMenu_1bx5w_1", be = "_sidebarItems_1bx5w_38", fe = "_scrollContainer_1bx5w_48", F = {
|
|
527
|
+
sidebarMenu: me,
|
|
528
|
+
sidebarItems: be,
|
|
529
|
+
scrollContainer: fe
|
|
530
|
+
}, Be = "_stenaFlag_108h7_1", _e = {
|
|
531
|
+
stenaFlag: Be
|
|
532
|
+
}, ve = ({ onClick: e }) => /* @__PURE__ */ o(h, { background: f("--lhds-color-ui-50"), children: [
|
|
531
533
|
/* @__PURE__ */ n(m, {}),
|
|
532
534
|
/* @__PURE__ */ o(
|
|
533
535
|
s,
|
|
@@ -538,16 +540,16 @@ const $ = ({
|
|
|
538
540
|
indent: 1,
|
|
539
541
|
minHeight: "48px",
|
|
540
542
|
children: [
|
|
541
|
-
/* @__PURE__ */ n(
|
|
542
|
-
/* @__PURE__ */ n(vn, { className:
|
|
543
|
+
/* @__PURE__ */ n(q, { onClick: e }),
|
|
544
|
+
/* @__PURE__ */ n(vn, { className: _e.stenaFlag })
|
|
543
545
|
]
|
|
544
546
|
}
|
|
545
547
|
)
|
|
546
|
-
] }),
|
|
548
|
+
] }), Ce = ({
|
|
547
549
|
isPinned: e,
|
|
548
550
|
onClick: t,
|
|
549
551
|
label: r
|
|
550
|
-
}) => /* @__PURE__ */ n(L, { onClick: t, label: r ?? (e ? "Unpin menu" : "Pin menu"), leftIcon: e ?
|
|
552
|
+
}) => /* @__PURE__ */ n(L, { onClick: t, label: r ?? (e ? "Unpin menu" : "Pin menu"), leftIcon: e ? O : Cn }), et = ({
|
|
551
553
|
className: e,
|
|
552
554
|
children: t,
|
|
553
555
|
onCloseClick: r,
|
|
@@ -557,7 +559,7 @@ const $ = ({
|
|
|
557
559
|
isPinned: c,
|
|
558
560
|
...d
|
|
559
561
|
}) => /* @__PURE__ */ o(u, { ...d, className: g(F.sidebarMenu, e), children: [
|
|
560
|
-
/* @__PURE__ */ n(
|
|
562
|
+
/* @__PURE__ */ n(ve, { onClick: r }),
|
|
561
563
|
/* @__PURE__ */ n(u, { className: F.scrollContainer, children: /* @__PURE__ */ o(
|
|
562
564
|
h,
|
|
563
565
|
{
|
|
@@ -571,7 +573,7 @@ const $ = ({
|
|
|
571
573
|
(l || i) && /* @__PURE__ */ o(h, { gap: 1, children: [
|
|
572
574
|
l,
|
|
573
575
|
i && /* @__PURE__ */ n(
|
|
574
|
-
|
|
576
|
+
Ce,
|
|
575
577
|
{
|
|
576
578
|
isPinned: c,
|
|
577
579
|
onClick: a
|
|
@@ -582,13 +584,13 @@ const $ = ({
|
|
|
582
584
|
]
|
|
583
585
|
}
|
|
584
586
|
) })
|
|
585
|
-
] }), N = kn(!1), z = () =>
|
|
587
|
+
] }), N = kn(!1), z = () => Mn(N), xe = ({
|
|
586
588
|
label: e,
|
|
587
589
|
...t
|
|
588
590
|
}) => /* @__PURE__ */ n(Q, { label: e + ` <Tooltip label={label2} placement={"right"} visible>
|
|
589
591
|
<IconMenuButton {...menuButtonLinkProps} />
|
|
590
592
|
</Tooltip>
|
|
591
|
-
`, placement: "right", visible: !0, children: /* @__PURE__ */ n(P, { ...t }) }),
|
|
593
|
+
`, placement: "right", visible: !0, children: /* @__PURE__ */ n(P, { ...t }) }), tt = ({
|
|
592
594
|
closeButtonVisible: e,
|
|
593
595
|
onClickCloseButton: t,
|
|
594
596
|
onClickMenuButton: r,
|
|
@@ -606,17 +608,17 @@ const $ = ({
|
|
|
606
608
|
spacing: 1,
|
|
607
609
|
gap: 1,
|
|
608
610
|
shadow: "popover",
|
|
609
|
-
background:
|
|
611
|
+
background: f("--lhds-color-ui-50"),
|
|
610
612
|
children: [
|
|
611
|
-
/* @__PURE__ */ n(P, { onClick: r, icon:
|
|
613
|
+
/* @__PURE__ */ n(P, { onClick: r, icon: E }),
|
|
612
614
|
/* @__PURE__ */ o(h, { justifyContent: "space-between", flex: 1, gap: 1, children: [
|
|
613
615
|
/* @__PURE__ */ n(h, { gap: 1, children: /* @__PURE__ */ n(N.Provider, { value: !0, children: i }) }),
|
|
614
616
|
/* @__PURE__ */ n(h, { gap: 1, children: (a || e) && /* @__PURE__ */ o(N.Provider, { value: !0, children: [
|
|
615
617
|
a,
|
|
616
618
|
e && /* @__PURE__ */ n(
|
|
617
|
-
|
|
619
|
+
xe,
|
|
618
620
|
{
|
|
619
|
-
icon:
|
|
621
|
+
icon: O,
|
|
620
622
|
label: l,
|
|
621
623
|
onClick: t
|
|
622
624
|
}
|
|
@@ -625,16 +627,16 @@ const $ = ({
|
|
|
625
627
|
] })
|
|
626
628
|
]
|
|
627
629
|
}
|
|
628
|
-
),
|
|
630
|
+
), ye = ({
|
|
629
631
|
label: e
|
|
630
632
|
}) => z() ? null : /* @__PURE__ */ o(u, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
631
633
|
/* @__PURE__ */ n(m, {}),
|
|
632
|
-
/* @__PURE__ */ n(
|
|
633
|
-
] }),
|
|
634
|
+
/* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e })
|
|
635
|
+
] }), Ie = ({
|
|
634
636
|
label: e,
|
|
635
637
|
leftIcon: t,
|
|
636
638
|
...r
|
|
637
|
-
}) => t == null ? null : /* @__PURE__ */ n(Q, { label: e, placement: "right", children: /* @__PURE__ */ n(xn, { icon: t, ...r }) }),
|
|
639
|
+
}) => t == null ? null : /* @__PURE__ */ n(Q, { label: e, placement: "right", children: /* @__PURE__ */ n(xn, { icon: t, ...r }) }), rt = (e) => z() ? /* @__PURE__ */ n(Ie, { ...e }) : /* @__PURE__ */ n(yn, { ...e }), we = ({
|
|
638
640
|
children: e,
|
|
639
641
|
label: t,
|
|
640
642
|
icon: r,
|
|
@@ -655,21 +657,21 @@ const $ = ({
|
|
|
655
657
|
indent: 1,
|
|
656
658
|
gap: 2,
|
|
657
659
|
children: /* @__PURE__ */ o(N.Provider, { value: !1, children: [
|
|
658
|
-
/* @__PURE__ */ n(
|
|
660
|
+
/* @__PURE__ */ n(ye, { label: t }),
|
|
659
661
|
e
|
|
660
662
|
] })
|
|
661
663
|
}
|
|
662
664
|
)
|
|
663
665
|
}
|
|
664
|
-
),
|
|
666
|
+
), it = ({
|
|
665
667
|
children: e,
|
|
666
668
|
label: t,
|
|
667
669
|
leftIcon: r,
|
|
668
670
|
className: i,
|
|
669
671
|
initialExpand: a = !1
|
|
670
672
|
}) => {
|
|
671
|
-
const [l, c] =
|
|
672
|
-
return z() ? r == null ? null : /* @__PURE__ */ n(
|
|
673
|
+
const [l, c] = Sn(a);
|
|
674
|
+
return z() ? r == null ? null : /* @__PURE__ */ n(we, { label: t, icon: r, children: e }) : /* @__PURE__ */ n(
|
|
673
675
|
L,
|
|
674
676
|
{
|
|
675
677
|
label: t,
|
|
@@ -679,16 +681,16 @@ const $ = ({
|
|
|
679
681
|
expandable: !0,
|
|
680
682
|
expanded: l,
|
|
681
683
|
selected: l,
|
|
682
|
-
children: e
|
|
684
|
+
children: /* @__PURE__ */ n(he, { children: e })
|
|
683
685
|
}
|
|
684
686
|
);
|
|
685
|
-
},
|
|
687
|
+
}, ot = (e) => /* @__PURE__ */ n(
|
|
686
688
|
Rn,
|
|
687
689
|
{
|
|
688
|
-
color:
|
|
690
|
+
color: f("--lhds-color-ui-400"),
|
|
689
691
|
...e
|
|
690
692
|
}
|
|
691
|
-
),
|
|
693
|
+
), at = ({ numItemsSelected: e, label: t, afterLabelContent: r, rightContent: i }) => /* @__PURE__ */ o(
|
|
692
694
|
s,
|
|
693
695
|
{
|
|
694
696
|
indent: 3,
|
|
@@ -697,62 +699,63 @@ const $ = ({
|
|
|
697
699
|
minHeight: "56px",
|
|
698
700
|
justifyContent: "space-between",
|
|
699
701
|
alignItems: "center",
|
|
700
|
-
background:
|
|
702
|
+
background: f("--silver-lighter"),
|
|
701
703
|
flex: 1,
|
|
702
704
|
borderRadius: "var(--swui-border-radius)",
|
|
703
705
|
children: [
|
|
704
706
|
/* @__PURE__ */ o(s, { alignItems: "center", gap: 2, children: [
|
|
705
707
|
e != null || t != null ? /* @__PURE__ */ n(s, { alignItems: "center", children: e != null ? /* @__PURE__ */ o(v, { children: [
|
|
706
|
-
/* @__PURE__ */ n(
|
|
708
|
+
/* @__PURE__ */ n(b, { children: e }),
|
|
707
709
|
/* @__PURE__ */ n(m, {}),
|
|
708
|
-
/* @__PURE__ */ o(
|
|
710
|
+
/* @__PURE__ */ o(b, { children: [
|
|
709
711
|
"item",
|
|
710
712
|
e === 1 ? "" : "s",
|
|
711
713
|
" selected"
|
|
712
714
|
] })
|
|
713
|
-
] }) : t != null ? /* @__PURE__ */ n(v, { children: typeof t == "string" ? /* @__PURE__ */ n(
|
|
715
|
+
] }) : t != null ? /* @__PURE__ */ n(v, { children: typeof t == "string" ? /* @__PURE__ */ n(b, { children: t }) : t }) : null }) : null,
|
|
714
716
|
r && /* @__PURE__ */ n(s, { children: r })
|
|
715
717
|
] }),
|
|
716
718
|
/* @__PURE__ */ n(s, { gap: 2, children: i })
|
|
717
719
|
]
|
|
718
720
|
}
|
|
719
|
-
),
|
|
721
|
+
), lt = ({ children: e }) => /* @__PURE__ */ n(s, { spacing: 0.5, indent: 0.5, flex: 1, children: e });
|
|
720
722
|
export {
|
|
721
723
|
jn as ActionMenuFlatButton,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
724
|
+
Pe as ActionMenuPrimaryButton,
|
|
725
|
+
Ae as ActionMenuSecondaryButton,
|
|
726
|
+
$e as CheckboxMenu,
|
|
727
|
+
se as Collapsible,
|
|
728
|
+
Ke as CollapsibleEmptyContent,
|
|
729
|
+
Je as CollapsibleGroupHeading,
|
|
730
|
+
Oe as CollapsibleList,
|
|
731
|
+
Xe as CollapsibleWithCheckbox,
|
|
732
|
+
pe as ErrorPanel,
|
|
733
|
+
Qe as ErrorScreen,
|
|
734
|
+
ge as LoadingPanel,
|
|
735
|
+
Ve as LoadingScreen,
|
|
736
|
+
ze as NavBar,
|
|
735
737
|
Tn as NavBarButton,
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
738
|
+
He as NavBarHeading,
|
|
739
|
+
Ue as NavBarNotificationButton,
|
|
740
|
+
Te as NavBarPopoverButton,
|
|
741
|
+
De as NavBarSearchField,
|
|
742
|
+
Ge as NavBarUserButton,
|
|
743
|
+
We as Notification,
|
|
742
744
|
Y as NotificationHeader,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
745
|
+
Ee as NotificationList,
|
|
746
|
+
Ye as PageHeader,
|
|
747
|
+
Ze as PageHeaderRow,
|
|
748
|
+
nt as PageHeading,
|
|
749
|
+
lt as SelectedItemsActionsPadding,
|
|
750
|
+
at as SelectedItemsActionsPanel,
|
|
751
|
+
et as SidebarMenu,
|
|
752
|
+
it as SidebarMenuCollapsible,
|
|
753
|
+
he as SidebarMenuCollapsibleGroupBox,
|
|
754
|
+
ye as SidebarMenuHeading,
|
|
755
|
+
rt as SidebarMenuLink,
|
|
756
|
+
ot as SidebarMenuSeparator,
|
|
757
|
+
tt as SidebarRailMenu,
|
|
758
|
+
qe as Toast,
|
|
756
759
|
Yn as UnreadDot,
|
|
757
760
|
Zn as getIconBgColorFromVariant
|
|
758
761
|
};
|