@stenajs-webui/panels 22.3.0 → 22.4.1
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/cards/product-card/LargePrice.d.ts +5 -0
- package/dist/components/cards/product-card/ProductCard.d.ts +9 -0
- package/dist/components/cards/product-card/ProductCardContentItem.d.ts +16 -0
- package/dist/components/cards/product-card/ProductCardContentItemSkeletor.d.ts +6 -0
- package/dist/components/cards/product-card/SelectedProductCard.d.ts +6 -0
- package/dist/components/cards/product-summary-card/ProductSummaryCard.d.ts +16 -0
- package/dist/components/cards/product-summary-card/ProductSummaryCardSkeletor.d.ts +6 -0
- package/dist/components/image-carousel/ImageCarousel.d.ts +25 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.es.js +938 -466
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/utils/UseDeviceSize.d.ts +8 -0
- package/package.json +10 -8
package/dist/index.es.js
CHANGED
|
@@ -1,529 +1,536 @@
|
|
|
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
|
-
import { jsx as
|
|
3
|
-
import { ActionMenu as
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as
|
|
6
|
-
import { useBoolean as
|
|
7
|
-
import { ControlledPopover as
|
|
8
|
-
import { Checkbox as
|
|
9
|
-
import
|
|
10
|
-
import { cssColor as
|
|
11
|
-
|
|
12
|
-
|
|
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}._productCard_19x6b_1{max-width:560px}@media (max-width: 768px){._productCard_19x6b_1{max-width:unset}}")),document.head.appendChild(r)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import { jsx as e, Fragment as M, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { ActionMenu as ue, ActionMenuContext as ke, stenaAngleDown as he, PrimaryButton as pe, SecondaryButton as I, FlatButton as E, stenaHamburger as me, BaseButton as Ie, stenaBellFilled as Se, TextInputButton as Ne, stenaTimes as Me, stenaUserCircle as Re, CircledIcon as G, CloseButton as ge, MenuButton as T, Icon as X, stenaMail as ze, Card as je, CardBody as Fe, stenaTripFerryXl as Pe, Spinner as J, StenaFlag as Ae, stenaAngleLeftDouble as be, stenaPin as $e, IconMenuButton as Y, IconMenuButtonLink as Le, MenuButtonLink as De, Tag as We, ShimmerBox as R, stenaAngleLeft as re, stenaAngleRight as oe, stenaSearchPlus as He, stenaSearchMinus as Ue, stenaTimesThick as qe } from "@stenajs-webui/elements";
|
|
4
|
+
import * as Ee from "react";
|
|
5
|
+
import { useRef as Q, useMemo as U, forwardRef as ee, createContext as Ge, useContext as Oe, useState as H, useCallback as le } from "react";
|
|
6
|
+
import { useBoolean as fe, Row as c, Indent as y, Column as p, Heading as z, Box as d, Text as f, Space as x, SeparatorLine as Ve, getDataProps as ne, Spacing as Ke, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as xe, BlockKeyboardEvents as Te } from "@stenajs-webui/core";
|
|
7
|
+
import { ControlledPopover as ve, Popover as Ce, Tooltip as _e } from "@stenajs-webui/tooltip";
|
|
8
|
+
import { Checkbox as ye, TextInput as Xe } from "@stenajs-webui/forms";
|
|
9
|
+
import v from "classnames";
|
|
10
|
+
import { cssColor as m } from "@stenajs-webui/theme";
|
|
11
|
+
import { useMediaQuery as N } from "react-responsive";
|
|
12
|
+
import ae from "yet-another-react-lightbox";
|
|
13
|
+
import Je from "yet-another-react-lightbox/plugins/inline";
|
|
14
|
+
import Ye from "yet-another-react-lightbox/plugins/captions";
|
|
15
|
+
import en from "yet-another-react-lightbox/plugins/counter";
|
|
16
|
+
import nn from "yet-another-react-lightbox/plugins/zoom";
|
|
17
|
+
import "yet-another-react-lightbox/styles.css";
|
|
18
|
+
const te = ({
|
|
19
|
+
renderItems: n,
|
|
13
20
|
placement: t = "bottom",
|
|
14
|
-
buttonComponent:
|
|
15
|
-
rightIcon:
|
|
16
|
-
menuWidth:
|
|
17
|
-
menuTop:
|
|
21
|
+
buttonComponent: i,
|
|
22
|
+
rightIcon: o = he,
|
|
23
|
+
menuWidth: l,
|
|
24
|
+
menuTop: a,
|
|
18
25
|
onClick: s,
|
|
19
26
|
disableArrow: u = !1,
|
|
20
27
|
buttonRef: g,
|
|
21
|
-
appendTo:
|
|
22
|
-
zIndex:
|
|
23
|
-
disableTrapFocus:
|
|
24
|
-
...
|
|
28
|
+
appendTo: b,
|
|
29
|
+
zIndex: C,
|
|
30
|
+
disableTrapFocus: B = !1,
|
|
31
|
+
...k
|
|
25
32
|
}) => {
|
|
26
|
-
const [
|
|
27
|
-
s == null || s(
|
|
33
|
+
const [S, w, _, j] = fe(!1), F = Q(null), P = g ?? F, O = U(() => ({ open: w, close: _ }), [w, _]), L = (A) => {
|
|
34
|
+
s == null || s(A), j();
|
|
28
35
|
};
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
|
|
36
|
+
return /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
37
|
+
ve,
|
|
31
38
|
{
|
|
32
|
-
renderTrigger: (
|
|
33
|
-
|
|
39
|
+
renderTrigger: (A) => /* @__PURE__ */ e(
|
|
40
|
+
i,
|
|
34
41
|
{
|
|
35
|
-
rightIcon: u ? void 0 :
|
|
36
|
-
...
|
|
37
|
-
ref:
|
|
38
|
-
onClick:
|
|
39
|
-
...
|
|
42
|
+
rightIcon: u ? void 0 : o,
|
|
43
|
+
...k,
|
|
44
|
+
ref: P,
|
|
45
|
+
onClick: L,
|
|
46
|
+
...A
|
|
40
47
|
}
|
|
41
48
|
),
|
|
42
49
|
hideArrow: !0,
|
|
43
50
|
disablePadding: !0,
|
|
44
|
-
open:
|
|
45
|
-
onRequestClose:
|
|
51
|
+
open: S,
|
|
52
|
+
onRequestClose: _,
|
|
46
53
|
placement: t,
|
|
47
|
-
appendTo:
|
|
48
|
-
zIndex:
|
|
49
|
-
children:
|
|
50
|
-
|
|
54
|
+
appendTo: b,
|
|
55
|
+
zIndex: C,
|
|
56
|
+
children: S && /* @__PURE__ */ e(
|
|
57
|
+
ue,
|
|
51
58
|
{
|
|
52
|
-
width:
|
|
53
|
-
top:
|
|
54
|
-
trapFocus: !
|
|
55
|
-
children: /* @__PURE__ */
|
|
59
|
+
width: l,
|
|
60
|
+
top: a,
|
|
61
|
+
trapFocus: !B,
|
|
62
|
+
children: /* @__PURE__ */ e(ke.Provider, { value: O, children: n(_) })
|
|
56
63
|
}
|
|
57
64
|
)
|
|
58
65
|
}
|
|
59
66
|
) });
|
|
60
|
-
},
|
|
61
|
-
renderMenu:
|
|
67
|
+
}, xt = (n) => /* @__PURE__ */ e(te, { buttonComponent: pe, ...n }), vt = (n) => /* @__PURE__ */ e(te, { buttonComponent: I, ...n }), tn = (n) => /* @__PURE__ */ e(te, { buttonComponent: E, ...n }), rn = "1px solid var(--lhds-color-ui-300)", Ct = ({
|
|
68
|
+
renderMenu: n,
|
|
62
69
|
...t
|
|
63
|
-
}) => /* @__PURE__ */
|
|
64
|
-
|
|
70
|
+
}) => /* @__PURE__ */ e(
|
|
71
|
+
Ce,
|
|
65
72
|
{
|
|
66
73
|
trigger: "click",
|
|
67
|
-
renderTrigger: (
|
|
74
|
+
renderTrigger: (i) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ r(
|
|
68
75
|
c,
|
|
69
76
|
{
|
|
70
77
|
spacing: 0.5,
|
|
71
78
|
indent: !0,
|
|
72
79
|
alignItems: "center",
|
|
73
|
-
border:
|
|
80
|
+
border: rn,
|
|
74
81
|
borderRadius: "4px",
|
|
75
82
|
children: [
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ e(ye, { ...t }),
|
|
84
|
+
/* @__PURE__ */ e(y, { num: 0.5 }),
|
|
85
|
+
/* @__PURE__ */ e(E, { size: "small", leftIcon: he, ...i })
|
|
79
86
|
]
|
|
80
87
|
}
|
|
81
88
|
) }),
|
|
82
89
|
hideArrow: !0,
|
|
83
90
|
disablePadding: !0,
|
|
84
91
|
placement: "bottom-start",
|
|
85
|
-
children: ({ onRequestClose:
|
|
92
|
+
children: ({ onRequestClose: i }) => /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(ue, { children: n(i) }) })
|
|
86
93
|
}
|
|
87
|
-
),
|
|
88
|
-
navBar:
|
|
89
|
-
},
|
|
90
|
-
className:
|
|
94
|
+
), on = "_navBar_kzibd_1", ln = {
|
|
95
|
+
navBar: on
|
|
96
|
+
}, an = ({
|
|
97
|
+
className: n,
|
|
91
98
|
onClick: t
|
|
92
|
-
}) => /* @__PURE__ */
|
|
93
|
-
|
|
99
|
+
}) => /* @__PURE__ */ e(
|
|
100
|
+
E,
|
|
94
101
|
{
|
|
95
|
-
leftIcon:
|
|
96
|
-
className:
|
|
102
|
+
leftIcon: me,
|
|
103
|
+
className: n,
|
|
97
104
|
onClick: t
|
|
98
105
|
}
|
|
99
|
-
),
|
|
100
|
-
left:
|
|
106
|
+
), _t = ({
|
|
107
|
+
left: n,
|
|
101
108
|
className: t,
|
|
102
|
-
showMenuButton:
|
|
103
|
-
children:
|
|
104
|
-
right:
|
|
105
|
-
center:
|
|
109
|
+
showMenuButton: i = !1,
|
|
110
|
+
children: o,
|
|
111
|
+
right: l,
|
|
112
|
+
center: a,
|
|
106
113
|
onClickMenuButton: s
|
|
107
114
|
}) => {
|
|
108
|
-
const u =
|
|
109
|
-
return /* @__PURE__ */
|
|
115
|
+
const u = a ? 1 : void 0;
|
|
116
|
+
return /* @__PURE__ */ r(
|
|
110
117
|
c,
|
|
111
118
|
{
|
|
112
119
|
justifyContent: "space-between",
|
|
113
|
-
className:
|
|
120
|
+
className: v(ln.navBar, t),
|
|
114
121
|
children: [
|
|
115
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ r(
|
|
116
123
|
c,
|
|
117
124
|
{
|
|
118
125
|
flex: u,
|
|
119
126
|
justifyContent: "flex-start",
|
|
120
127
|
alignItems: "center",
|
|
121
128
|
children: [
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
/* @__PURE__ */
|
|
124
|
-
|
|
129
|
+
/* @__PURE__ */ r(c, { width: "86px", alignItems: "center", children: [
|
|
130
|
+
/* @__PURE__ */ e(y, {}),
|
|
131
|
+
i && /* @__PURE__ */ e(an, { onClick: s })
|
|
125
132
|
] }),
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
/* @__PURE__ */
|
|
133
|
+
n && /* @__PURE__ */ r(M, { children: [
|
|
134
|
+
n,
|
|
135
|
+
/* @__PURE__ */ e(y, { num: 2 })
|
|
129
136
|
] }),
|
|
130
|
-
|
|
131
|
-
|
|
137
|
+
o && /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: Ee.Children.map(o, (g, b) => /* @__PURE__ */ r(M, { children: [
|
|
138
|
+
b > 0 && /* @__PURE__ */ e(y, {}),
|
|
132
139
|
g
|
|
133
140
|
] })) }) })
|
|
134
141
|
]
|
|
135
142
|
}
|
|
136
143
|
),
|
|
137
|
-
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
|
|
140
|
-
/* @__PURE__ */
|
|
144
|
+
a && /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: a }),
|
|
145
|
+
/* @__PURE__ */ r(c, { justifyContent: "flex-end", alignItems: "center", flex: u, children: [
|
|
146
|
+
l,
|
|
147
|
+
/* @__PURE__ */ e(y, { num: 2 })
|
|
141
148
|
] })
|
|
142
149
|
]
|
|
143
150
|
}
|
|
144
151
|
);
|
|
145
|
-
},
|
|
146
|
-
navBarButton:
|
|
147
|
-
selected:
|
|
148
|
-
},
|
|
149
|
-
function({ selected:
|
|
150
|
-
return /* @__PURE__ */
|
|
151
|
-
|
|
152
|
+
}, cn = "_navBarButton_b3x3w_1", sn = "_selected_b3x3w_14", ce = {
|
|
153
|
+
navBarButton: cn,
|
|
154
|
+
selected: sn
|
|
155
|
+
}, dn = ee(
|
|
156
|
+
function({ selected: n, className: t, ...i }, o) {
|
|
157
|
+
return /* @__PURE__ */ e(
|
|
158
|
+
E,
|
|
152
159
|
{
|
|
153
|
-
...
|
|
154
|
-
ref:
|
|
155
|
-
className:
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
...i,
|
|
161
|
+
ref: o,
|
|
162
|
+
className: v(
|
|
163
|
+
ce.navBarButton,
|
|
164
|
+
n && ce.selected,
|
|
158
165
|
t
|
|
159
166
|
)
|
|
160
167
|
}
|
|
161
168
|
);
|
|
162
169
|
}
|
|
163
|
-
),
|
|
164
|
-
content:
|
|
170
|
+
), yt = (n) => /* @__PURE__ */ e(z, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), wt = ({
|
|
171
|
+
content: n,
|
|
165
172
|
children: t,
|
|
166
|
-
appendTo:
|
|
167
|
-
zIndex:
|
|
168
|
-
...
|
|
173
|
+
appendTo: i,
|
|
174
|
+
zIndex: o,
|
|
175
|
+
...l
|
|
169
176
|
}) => {
|
|
170
|
-
const [
|
|
171
|
-
return /* @__PURE__ */
|
|
172
|
-
|
|
177
|
+
const [a, , s, u] = fe(!1);
|
|
178
|
+
return /* @__PURE__ */ e(
|
|
179
|
+
ve,
|
|
173
180
|
{
|
|
174
|
-
renderTrigger: (g) => /* @__PURE__ */
|
|
175
|
-
open:
|
|
181
|
+
renderTrigger: (g) => /* @__PURE__ */ e(dn, { ...l, ...g, onClick: u }),
|
|
182
|
+
open: a,
|
|
176
183
|
onRequestClose: s,
|
|
177
|
-
zIndex:
|
|
178
|
-
appendTo:
|
|
179
|
-
children: /* @__PURE__ */
|
|
180
|
-
|
|
184
|
+
zIndex: o,
|
|
185
|
+
appendTo: i,
|
|
186
|
+
children: /* @__PURE__ */ r(d, { children: [
|
|
187
|
+
n && n({ close: s }),
|
|
181
188
|
t
|
|
182
189
|
] })
|
|
183
190
|
}
|
|
184
191
|
);
|
|
185
|
-
},
|
|
186
|
-
navBarNotificationButton:
|
|
187
|
-
unread:
|
|
188
|
-
icon:
|
|
189
|
-
shake:
|
|
190
|
-
},
|
|
191
|
-
count:
|
|
192
|
+
}, un = "_navBarNotificationButton_1wt3y_1", hn = "_unread_1wt3y_23", pn = "_icon_1wt3y_23", mn = "_shake_1wt3y_1", $ = {
|
|
193
|
+
navBarNotificationButton: un,
|
|
194
|
+
unread: hn,
|
|
195
|
+
icon: pn,
|
|
196
|
+
shake: mn
|
|
197
|
+
}, Bt = ee(function({
|
|
198
|
+
count: n,
|
|
192
199
|
unread: t = !1,
|
|
193
|
-
className:
|
|
194
|
-
labelClassName:
|
|
195
|
-
iconClassName:
|
|
196
|
-
icon:
|
|
200
|
+
className: i,
|
|
201
|
+
labelClassName: o,
|
|
202
|
+
iconClassName: l,
|
|
203
|
+
icon: a = Se,
|
|
197
204
|
...s
|
|
198
205
|
}, u) {
|
|
199
|
-
const g =
|
|
200
|
-
return /* @__PURE__ */
|
|
201
|
-
|
|
206
|
+
const g = n > 1;
|
|
207
|
+
return /* @__PURE__ */ e(
|
|
208
|
+
Ie,
|
|
202
209
|
{
|
|
203
210
|
...s,
|
|
204
211
|
ref: u,
|
|
205
|
-
leftIcon:
|
|
206
|
-
className:
|
|
207
|
-
|
|
208
|
-
t &&
|
|
209
|
-
g &&
|
|
210
|
-
|
|
212
|
+
leftIcon: a,
|
|
213
|
+
className: v(
|
|
214
|
+
$.navBarNotificationButton,
|
|
215
|
+
t && $.unread,
|
|
216
|
+
g && $.hasCount,
|
|
217
|
+
i
|
|
211
218
|
),
|
|
212
|
-
label: g ? String(
|
|
213
|
-
labelClassName:
|
|
214
|
-
iconClassName:
|
|
219
|
+
label: g ? String(n) : void 0,
|
|
220
|
+
labelClassName: v(o, $.label),
|
|
221
|
+
iconClassName: v(l, $.icon)
|
|
215
222
|
}
|
|
216
223
|
);
|
|
217
|
-
}),
|
|
218
|
-
navBarSearchFieldInput:
|
|
219
|
-
navBarSearchFieldWrapper:
|
|
220
|
-
withButton:
|
|
221
|
-
clearButton:
|
|
222
|
-
},
|
|
223
|
-
placeholder:
|
|
224
|
+
}), gn = "_navBarSearchFieldInput_1rp8g_1", bn = "_navBarSearchFieldWrapper_1rp8g_12", fn = "_withButton_1rp8g_24", xn = "_clearButton_1rp8g_33", D = {
|
|
225
|
+
navBarSearchFieldInput: gn,
|
|
226
|
+
navBarSearchFieldWrapper: bn,
|
|
227
|
+
withButton: fn,
|
|
228
|
+
clearButton: xn
|
|
229
|
+
}, kt = ({
|
|
230
|
+
placeholder: n = "Search",
|
|
224
231
|
className: t,
|
|
225
|
-
wrapperClassName:
|
|
226
|
-
showClearButton:
|
|
227
|
-
onClickClearButton:
|
|
228
|
-
value:
|
|
232
|
+
wrapperClassName: i,
|
|
233
|
+
showClearButton: o,
|
|
234
|
+
onClickClearButton: l,
|
|
235
|
+
value: a,
|
|
229
236
|
...s
|
|
230
|
-
}) => /* @__PURE__ */
|
|
231
|
-
|
|
237
|
+
}) => /* @__PURE__ */ e(
|
|
238
|
+
Xe,
|
|
232
239
|
{
|
|
233
|
-
wrapperClassName:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
240
|
+
wrapperClassName: v(
|
|
241
|
+
D.navBarSearchFieldWrapper,
|
|
242
|
+
o ? D.withButton : void 0,
|
|
243
|
+
i
|
|
237
244
|
),
|
|
238
|
-
className:
|
|
239
|
-
placeholder:
|
|
240
|
-
value:
|
|
241
|
-
buttonRight:
|
|
242
|
-
|
|
245
|
+
className: v(D.navBarSearchFieldInput, t),
|
|
246
|
+
placeholder: n,
|
|
247
|
+
value: a,
|
|
248
|
+
buttonRight: a && o ? /* @__PURE__ */ e(
|
|
249
|
+
Ne,
|
|
243
250
|
{
|
|
244
|
-
className:
|
|
245
|
-
icon:
|
|
251
|
+
className: D.clearButton,
|
|
252
|
+
icon: Me,
|
|
246
253
|
variant: "error",
|
|
247
|
-
onClick:
|
|
254
|
+
onClick: l
|
|
248
255
|
}
|
|
249
256
|
) : void 0,
|
|
250
257
|
...s
|
|
251
258
|
}
|
|
252
|
-
),
|
|
253
|
-
navBarUserButton:
|
|
254
|
-
},
|
|
255
|
-
className:
|
|
259
|
+
), vn = "_navBarUserButton_10f9z_1", Cn = {
|
|
260
|
+
navBarUserButton: vn
|
|
261
|
+
}, It = ({
|
|
262
|
+
className: n,
|
|
256
263
|
username: t,
|
|
257
|
-
initials:
|
|
258
|
-
icon:
|
|
259
|
-
responsiveIconOnly:
|
|
260
|
-
...
|
|
261
|
-
}) => /* @__PURE__ */
|
|
262
|
-
|
|
264
|
+
initials: i,
|
|
265
|
+
icon: o = Re,
|
|
266
|
+
responsiveIconOnly: l = i == null,
|
|
267
|
+
...a
|
|
268
|
+
}) => /* @__PURE__ */ e(
|
|
269
|
+
tn,
|
|
263
270
|
{
|
|
264
|
-
...
|
|
265
|
-
className:
|
|
266
|
-
leftIcon: t != null ?
|
|
267
|
-
label:
|
|
268
|
-
forceRound:
|
|
269
|
-
responsiveIconOnly:
|
|
271
|
+
...a,
|
|
272
|
+
className: v(Cn.navBarUserButton, n),
|
|
273
|
+
leftIcon: t != null ? o : void 0,
|
|
274
|
+
label: i ?? t,
|
|
275
|
+
forceRound: i != null,
|
|
276
|
+
responsiveIconOnly: l,
|
|
270
277
|
disableArrow: !0
|
|
271
278
|
}
|
|
272
|
-
),
|
|
273
|
-
unreadDot:
|
|
274
|
-
dot:
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
] }),
|
|
279
|
-
text:
|
|
279
|
+
), _n = "_unreadDot_l8bni_1", yn = "_dot_l8bni_4", se = {
|
|
280
|
+
unreadDot: _n,
|
|
281
|
+
dot: yn
|
|
282
|
+
}, wn = ({ children: n }) => /* @__PURE__ */ r("div", { className: se.unreadDot, children: [
|
|
283
|
+
n,
|
|
284
|
+
/* @__PURE__ */ e("div", { className: se.dot })
|
|
285
|
+
] }), we = ({
|
|
286
|
+
text: n,
|
|
280
287
|
timestamp: t,
|
|
281
|
-
icon:
|
|
282
|
-
iconAriaLabel:
|
|
283
|
-
contentLeft:
|
|
284
|
-
contentRight:
|
|
288
|
+
icon: i,
|
|
289
|
+
iconAriaLabel: o,
|
|
290
|
+
contentLeft: l,
|
|
291
|
+
contentRight: a,
|
|
285
292
|
onClose: s,
|
|
286
293
|
unread: u = !1,
|
|
287
294
|
variant: g,
|
|
288
|
-
iconBackgroundColor:
|
|
295
|
+
iconBackgroundColor: b
|
|
289
296
|
}) => {
|
|
290
|
-
const
|
|
291
|
-
|
|
297
|
+
const C = i ? /* @__PURE__ */ e(
|
|
298
|
+
G,
|
|
292
299
|
{
|
|
293
300
|
size: "small",
|
|
294
|
-
icon:
|
|
295
|
-
"aria-label":
|
|
296
|
-
backgroundColor:
|
|
301
|
+
icon: i,
|
|
302
|
+
"aria-label": o,
|
|
303
|
+
backgroundColor: b || Bn(u, g)
|
|
297
304
|
}
|
|
298
305
|
) : void 0;
|
|
299
|
-
return /* @__PURE__ */
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
|
|
302
|
-
!
|
|
303
|
-
/* @__PURE__ */
|
|
304
|
-
/* @__PURE__ */
|
|
305
|
-
t && /* @__PURE__ */
|
|
306
|
+
return /* @__PURE__ */ r(c, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
|
|
307
|
+
/* @__PURE__ */ r(c, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
|
|
308
|
+
l && /* @__PURE__ */ e(d, { minHeight: 20, justifyContent: "center", children: l }),
|
|
309
|
+
!l && C && (u ? /* @__PURE__ */ e(wn, { children: C }) : C),
|
|
310
|
+
/* @__PURE__ */ r(d, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
|
|
311
|
+
/* @__PURE__ */ e(f, { variant: "bold", children: n }),
|
|
312
|
+
t && /* @__PURE__ */ e(
|
|
306
313
|
f,
|
|
307
314
|
{
|
|
308
315
|
size: "small",
|
|
309
|
-
color:
|
|
316
|
+
color: m(
|
|
310
317
|
u ? "--lhds-color-blue-600" : "--lhds-color-ui-600"
|
|
311
318
|
),
|
|
312
319
|
children: t
|
|
313
320
|
}
|
|
314
321
|
)
|
|
315
322
|
] }),
|
|
316
|
-
|
|
323
|
+
a
|
|
317
324
|
] }),
|
|
318
|
-
s && /* @__PURE__ */
|
|
325
|
+
s && /* @__PURE__ */ e(
|
|
319
326
|
d,
|
|
320
327
|
{
|
|
321
328
|
flex: "none",
|
|
322
329
|
justifyContent: "center",
|
|
323
330
|
height: "calc(20px + 2 * var(--swui-metrics-spacing))",
|
|
324
|
-
children: /* @__PURE__ */
|
|
331
|
+
children: /* @__PURE__ */ e(ge, { onClick: s })
|
|
325
332
|
}
|
|
326
333
|
)
|
|
327
334
|
] });
|
|
328
|
-
},
|
|
329
|
-
if (!(!
|
|
335
|
+
}, Bn = (n, t) => {
|
|
336
|
+
if (!(!n && t === "standard"))
|
|
330
337
|
return "--lhds-color-ui-50";
|
|
331
|
-
},
|
|
332
|
-
notification:
|
|
333
|
-
body:
|
|
334
|
-
standard:
|
|
335
|
-
unread:
|
|
336
|
-
danger:
|
|
337
|
-
},
|
|
338
|
-
variant:
|
|
338
|
+
}, kn = "_notification_1hao0_1", In = "_body_1hao0_7", Sn = "_standard_1hao0_13", Nn = "_unread_1hao0_14", Mn = "_danger_1hao0_19", W = {
|
|
339
|
+
notification: kn,
|
|
340
|
+
body: In,
|
|
341
|
+
standard: Sn,
|
|
342
|
+
unread: Nn,
|
|
343
|
+
danger: Mn
|
|
344
|
+
}, St = ({
|
|
345
|
+
variant: n = "standard",
|
|
339
346
|
children: t,
|
|
340
|
-
unread:
|
|
341
|
-
...
|
|
342
|
-
}) => /* @__PURE__ */
|
|
347
|
+
unread: i,
|
|
348
|
+
...o
|
|
349
|
+
}) => /* @__PURE__ */ r(
|
|
343
350
|
"div",
|
|
344
351
|
{
|
|
345
|
-
className:
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
352
|
+
className: v(
|
|
353
|
+
W.notification,
|
|
354
|
+
W[n],
|
|
355
|
+
i && W.unread
|
|
349
356
|
),
|
|
350
357
|
children: [
|
|
351
|
-
/* @__PURE__ */
|
|
352
|
-
t && /* @__PURE__ */
|
|
358
|
+
/* @__PURE__ */ e(we, { ...o, unread: i, variant: n }),
|
|
359
|
+
t && /* @__PURE__ */ e(p, { className: W.body, children: t })
|
|
353
360
|
]
|
|
354
361
|
}
|
|
355
|
-
),
|
|
356
|
-
notificationList:
|
|
357
|
-
},
|
|
358
|
-
children:
|
|
359
|
-
}) => /* @__PURE__ */
|
|
360
|
-
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
] }),
|
|
363
|
-
clickable:
|
|
364
|
-
nonClickable:
|
|
365
|
-
},
|
|
366
|
-
onClick:
|
|
362
|
+
), Rn = "_notificationList_1rkvu_1", zn = {
|
|
363
|
+
notificationList: Rn
|
|
364
|
+
}, Nt = ({
|
|
365
|
+
children: n
|
|
366
|
+
}) => /* @__PURE__ */ r("div", { className: zn.notificationList, children: [
|
|
367
|
+
n,
|
|
368
|
+
/* @__PURE__ */ e("div", {})
|
|
369
|
+
] }), jn = "_clickable_1ijxc_1", Fn = "_nonClickable_1ijxc_27", V = {
|
|
370
|
+
clickable: jn,
|
|
371
|
+
nonClickable: Fn
|
|
372
|
+
}, Mt = ({
|
|
373
|
+
onClick: n,
|
|
367
374
|
onClickAriaLabel: t,
|
|
368
|
-
children:
|
|
369
|
-
width:
|
|
370
|
-
maxWidth:
|
|
371
|
-
...
|
|
372
|
-
}) => /* @__PURE__ */
|
|
375
|
+
children: i,
|
|
376
|
+
width: o = 264,
|
|
377
|
+
maxWidth: l,
|
|
378
|
+
...a
|
|
379
|
+
}) => /* @__PURE__ */ r(
|
|
373
380
|
d,
|
|
374
381
|
{
|
|
375
382
|
borderRadius: 8,
|
|
376
|
-
background:
|
|
383
|
+
background: m("--lhds-color-ui-50"),
|
|
377
384
|
shadow: "popover",
|
|
378
|
-
width:
|
|
379
|
-
maxWidth:
|
|
385
|
+
width: o,
|
|
386
|
+
maxWidth: l,
|
|
380
387
|
role: "alert",
|
|
381
388
|
position: "relative",
|
|
382
389
|
children: [
|
|
383
|
-
/* @__PURE__ */
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
/* @__PURE__ */
|
|
390
|
+
/* @__PURE__ */ e(d, { className: v({ [V.nonClickable]: n }), children: /* @__PURE__ */ e(we, { ...a }) }),
|
|
391
|
+
i && /* @__PURE__ */ r(d, { indent: 3, className: v({ [V.nonClickable]: n }), children: [
|
|
392
|
+
i,
|
|
393
|
+
/* @__PURE__ */ e(x, { num: 2 })
|
|
387
394
|
] }),
|
|
388
|
-
|
|
395
|
+
n && /* @__PURE__ */ e(
|
|
389
396
|
"button",
|
|
390
397
|
{
|
|
391
|
-
onClick:
|
|
392
|
-
className:
|
|
398
|
+
onClick: n,
|
|
399
|
+
className: V.clickable,
|
|
393
400
|
"aria-label": t
|
|
394
401
|
}
|
|
395
402
|
)
|
|
396
403
|
]
|
|
397
404
|
}
|
|
398
|
-
),
|
|
399
|
-
({ contentLeft:
|
|
400
|
-
|
|
405
|
+
), Pn = ee(
|
|
406
|
+
({ contentLeft: n, contentRight: t, collapsed: i = !1, ...o }, l) => /* @__PURE__ */ e(
|
|
407
|
+
T,
|
|
401
408
|
{
|
|
402
|
-
ref:
|
|
409
|
+
ref: l,
|
|
403
410
|
expandable: !0,
|
|
404
|
-
expanded: !
|
|
405
|
-
selected: !
|
|
406
|
-
left:
|
|
411
|
+
expanded: !i,
|
|
412
|
+
selected: !i,
|
|
413
|
+
left: n,
|
|
407
414
|
right: t,
|
|
408
|
-
...
|
|
415
|
+
...o
|
|
409
416
|
}
|
|
410
417
|
)
|
|
411
|
-
),
|
|
412
|
-
children:
|
|
413
|
-
}) => /* @__PURE__ */
|
|
414
|
-
value:
|
|
418
|
+
), Rt = ({
|
|
419
|
+
children: n
|
|
420
|
+
}) => /* @__PURE__ */ e(p, { gap: 1, children: n }), zt = ({
|
|
421
|
+
value: n,
|
|
415
422
|
onValueChange: t,
|
|
416
|
-
onChange:
|
|
417
|
-
indeterminate:
|
|
418
|
-
checkboxDisabled:
|
|
419
|
-
...
|
|
420
|
-
}) => /* @__PURE__ */
|
|
421
|
-
|
|
423
|
+
onChange: i,
|
|
424
|
+
indeterminate: o,
|
|
425
|
+
checkboxDisabled: l,
|
|
426
|
+
...a
|
|
427
|
+
}) => /* @__PURE__ */ e(
|
|
428
|
+
Pn,
|
|
422
429
|
{
|
|
423
|
-
contentLeft: /* @__PURE__ */
|
|
424
|
-
|
|
430
|
+
contentLeft: /* @__PURE__ */ e(
|
|
431
|
+
ye,
|
|
425
432
|
{
|
|
426
|
-
value:
|
|
427
|
-
indeterminate:
|
|
433
|
+
value: n,
|
|
434
|
+
indeterminate: o,
|
|
428
435
|
onValueChange: t,
|
|
429
|
-
onChange:
|
|
430
|
-
disabled:
|
|
436
|
+
onChange: i,
|
|
437
|
+
disabled: l,
|
|
431
438
|
onClick: (s) => s.stopPropagation()
|
|
432
439
|
}
|
|
433
440
|
),
|
|
434
|
-
...
|
|
441
|
+
...a
|
|
435
442
|
}
|
|
436
|
-
),
|
|
437
|
-
sidebarMenuCollapsibleGroupBox:
|
|
438
|
-
},
|
|
439
|
-
/* @__PURE__ */
|
|
440
|
-
/* @__PURE__ */
|
|
441
|
-
/* @__PURE__ */
|
|
442
|
-
] }),
|
|
443
|
-
text:
|
|
443
|
+
), An = "_sidebarMenuCollapsibleGroupBox_ikek9_1", $n = {
|
|
444
|
+
sidebarMenuCollapsibleGroupBox: An
|
|
445
|
+
}, Ln = ({ children: n }) => /* @__PURE__ */ e("div", { className: $n.sidebarMenuCollapsibleGroupBox, children: n }), jt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n }) }), Ft = ({ text: n = "No content" }) => /* @__PURE__ */ r(p, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
446
|
+
/* @__PURE__ */ e(X, { icon: ze, color: m("--lhds-color-ui-500") }),
|
|
447
|
+
/* @__PURE__ */ e(x, {}),
|
|
448
|
+
/* @__PURE__ */ e(f, { size: "small", color: m("--lhds-color-ui-500"), children: n })
|
|
449
|
+
] }), Dn = ({
|
|
450
|
+
text: n,
|
|
444
451
|
heading: t,
|
|
445
|
-
children:
|
|
446
|
-
buttons:
|
|
447
|
-
icon:
|
|
448
|
-
headingLevel:
|
|
452
|
+
children: i,
|
|
453
|
+
buttons: o,
|
|
454
|
+
icon: l = Pe,
|
|
455
|
+
headingLevel: a = "h3",
|
|
449
456
|
...s
|
|
450
457
|
}) => {
|
|
451
|
-
const u = !
|
|
452
|
-
return /* @__PURE__ */
|
|
453
|
-
/* @__PURE__ */
|
|
454
|
-
/* @__PURE__ */
|
|
455
|
-
/* @__PURE__ */
|
|
458
|
+
const u = !n && !t ? "Something unexpected happened." : n;
|
|
459
|
+
return /* @__PURE__ */ e(je, { ...s, children: /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ r(p, { spacing: 1, gap: 3, alignItems: "center", children: [
|
|
460
|
+
/* @__PURE__ */ r(p, { alignItems: "center", children: [
|
|
461
|
+
/* @__PURE__ */ e(x, { num: 1 }),
|
|
462
|
+
/* @__PURE__ */ e(G, { icon: l, size: "xl" })
|
|
456
463
|
] }),
|
|
457
|
-
t && /* @__PURE__ */
|
|
458
|
-
u && /* @__PURE__ */
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
/* @__PURE__ */
|
|
462
|
-
|
|
464
|
+
t && /* @__PURE__ */ e(z, { as: a, children: t }),
|
|
465
|
+
u && /* @__PURE__ */ e(f, { children: u }),
|
|
466
|
+
i,
|
|
467
|
+
o && /* @__PURE__ */ r(d, { children: [
|
|
468
|
+
/* @__PURE__ */ e(x, { num: 2 }),
|
|
469
|
+
o
|
|
463
470
|
] })
|
|
464
471
|
] }) }) });
|
|
465
|
-
},
|
|
472
|
+
}, Pt = (n) => /* @__PURE__ */ e(
|
|
466
473
|
d,
|
|
467
474
|
{
|
|
468
475
|
width: "100%",
|
|
469
476
|
height: "100%",
|
|
470
477
|
justifyContent: "center",
|
|
471
478
|
alignItems: "center",
|
|
472
|
-
children: /* @__PURE__ */
|
|
479
|
+
children: /* @__PURE__ */ e(Dn, { ...n })
|
|
473
480
|
}
|
|
474
|
-
),
|
|
475
|
-
text:
|
|
476
|
-
}) => /* @__PURE__ */
|
|
477
|
-
/* @__PURE__ */
|
|
478
|
-
/* @__PURE__ */
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
] }),
|
|
481
|
+
), Wn = ({
|
|
482
|
+
text: n = "Loading..."
|
|
483
|
+
}) => /* @__PURE__ */ r(d, { alignItems: "center", children: [
|
|
484
|
+
/* @__PURE__ */ e(J, { size: "small" }),
|
|
485
|
+
/* @__PURE__ */ e(x, { num: 4 }),
|
|
486
|
+
/* @__PURE__ */ e(z, { variant: "h4", children: n })
|
|
487
|
+
] }), At = (n) => /* @__PURE__ */ e(
|
|
481
488
|
d,
|
|
482
489
|
{
|
|
483
490
|
width: "100%",
|
|
484
491
|
height: "100%",
|
|
485
492
|
justifyContent: "center",
|
|
486
493
|
alignItems: "center",
|
|
487
|
-
children: /* @__PURE__ */
|
|
494
|
+
children: /* @__PURE__ */ e(Wn, { ...n })
|
|
488
495
|
}
|
|
489
|
-
),
|
|
490
|
-
renderBreadCrumbs:
|
|
496
|
+
), $t = ({
|
|
497
|
+
renderBreadCrumbs: n,
|
|
491
498
|
renderPageHeading: t,
|
|
492
|
-
renderTabs:
|
|
493
|
-
children:
|
|
494
|
-
}) => /* @__PURE__ */
|
|
495
|
-
/* @__PURE__ */
|
|
496
|
-
|
|
497
|
-
/* @__PURE__ */
|
|
498
|
-
|
|
499
|
+
renderTabs: i,
|
|
500
|
+
children: o
|
|
501
|
+
}) => /* @__PURE__ */ r(d, { shadow: "bottom", background: m("--lhds-color-ui-50"), gap: 2, children: [
|
|
502
|
+
/* @__PURE__ */ r(d, { indent: 3, children: [
|
|
503
|
+
n && /* @__PURE__ */ r(c, { spacing: 1, alignItems: "center", children: [
|
|
504
|
+
/* @__PURE__ */ e(c, { width: "64px", height: "16px" }),
|
|
505
|
+
n()
|
|
499
506
|
] }),
|
|
500
507
|
t == null ? void 0 : t(),
|
|
501
|
-
|
|
502
|
-
|
|
508
|
+
i && /* @__PURE__ */ e(x, {}),
|
|
509
|
+
i == null ? void 0 : i()
|
|
503
510
|
] }),
|
|
504
|
-
|
|
505
|
-
] }),
|
|
506
|
-
icon:
|
|
511
|
+
o
|
|
512
|
+
] }), Lt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Dt = ({
|
|
513
|
+
icon: n,
|
|
507
514
|
heading: t,
|
|
508
|
-
headingLevel:
|
|
509
|
-
contentLeft:
|
|
510
|
-
contentRight:
|
|
511
|
-
}) => /* @__PURE__ */
|
|
512
|
-
/* @__PURE__ */
|
|
513
|
-
/* @__PURE__ */
|
|
514
|
-
/* @__PURE__ */
|
|
515
|
+
headingLevel: i = "h2",
|
|
516
|
+
contentLeft: o,
|
|
517
|
+
contentRight: l
|
|
518
|
+
}) => /* @__PURE__ */ r(c, { alignItems: "center", gap: 2, height: "64px", children: [
|
|
519
|
+
/* @__PURE__ */ r(c, { alignItems: "center", children: [
|
|
520
|
+
/* @__PURE__ */ e(c, { width: "64px", alignItems: "center", children: n && /* @__PURE__ */ e(G, { icon: n }) }),
|
|
521
|
+
/* @__PURE__ */ e(z, { variant: "h3", as: i, children: t })
|
|
515
522
|
] }),
|
|
516
|
-
/* @__PURE__ */
|
|
517
|
-
/* @__PURE__ */
|
|
518
|
-
] }),
|
|
519
|
-
sidebarMenu:
|
|
520
|
-
sidebarItems:
|
|
521
|
-
scrollContainer:
|
|
522
|
-
},
|
|
523
|
-
stenaFlag:
|
|
524
|
-
},
|
|
525
|
-
/* @__PURE__ */
|
|
526
|
-
/* @__PURE__ */
|
|
523
|
+
/* @__PURE__ */ e(c, { alignItems: "center", children: o }),
|
|
524
|
+
/* @__PURE__ */ e(c, { style: { marginLeft: "auto" }, alignItems: "center", children: l })
|
|
525
|
+
] }), Hn = "_sidebarMenu_1bx5w_1", Un = "_sidebarItems_1bx5w_38", qn = "_scrollContainer_1bx5w_48", K = {
|
|
526
|
+
sidebarMenu: Hn,
|
|
527
|
+
sidebarItems: Un,
|
|
528
|
+
scrollContainer: qn
|
|
529
|
+
}, En = "_stenaFlag_108h7_1", Gn = {
|
|
530
|
+
stenaFlag: En
|
|
531
|
+
}, On = ({ onClick: n }) => /* @__PURE__ */ r(p, { background: m("--lhds-color-ui-50"), children: [
|
|
532
|
+
/* @__PURE__ */ e(x, {}),
|
|
533
|
+
/* @__PURE__ */ r(
|
|
527
534
|
c,
|
|
528
535
|
{
|
|
529
536
|
justifyContent: "space-between",
|
|
@@ -532,61 +539,61 @@ const $ = ({
|
|
|
532
539
|
indent: 1,
|
|
533
540
|
minHeight: "48px",
|
|
534
541
|
children: [
|
|
535
|
-
/* @__PURE__ */
|
|
536
|
-
/* @__PURE__ */
|
|
542
|
+
/* @__PURE__ */ e(ge, { onClick: n }),
|
|
543
|
+
/* @__PURE__ */ e(Ae, { className: Gn.stenaFlag })
|
|
537
544
|
]
|
|
538
545
|
}
|
|
539
546
|
)
|
|
540
|
-
] }),
|
|
541
|
-
isPinned:
|
|
547
|
+
] }), Vn = ({
|
|
548
|
+
isPinned: n,
|
|
542
549
|
onClick: t,
|
|
543
|
-
label:
|
|
544
|
-
}) => /* @__PURE__ */
|
|
545
|
-
className:
|
|
550
|
+
label: i
|
|
551
|
+
}) => /* @__PURE__ */ e(T, { onClick: t, label: i ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? be : $e }), Wt = ({
|
|
552
|
+
className: n,
|
|
546
553
|
children: t,
|
|
547
|
-
onCloseClick:
|
|
548
|
-
pinButtonVisible:
|
|
549
|
-
onClickPinButton:
|
|
550
|
-
bottomItems:
|
|
554
|
+
onCloseClick: i,
|
|
555
|
+
pinButtonVisible: o,
|
|
556
|
+
onClickPinButton: l,
|
|
557
|
+
bottomItems: a,
|
|
551
558
|
isPinned: s,
|
|
552
559
|
...u
|
|
553
|
-
}) => /* @__PURE__ */
|
|
554
|
-
/* @__PURE__ */
|
|
555
|
-
/* @__PURE__ */
|
|
556
|
-
|
|
560
|
+
}) => /* @__PURE__ */ r(d, { ...u, className: v(K.sidebarMenu, n), children: [
|
|
561
|
+
/* @__PURE__ */ e(On, { onClick: i }),
|
|
562
|
+
/* @__PURE__ */ e(d, { className: K.scrollContainer, children: /* @__PURE__ */ r(
|
|
563
|
+
p,
|
|
557
564
|
{
|
|
558
|
-
className:
|
|
565
|
+
className: K.sidebarItems,
|
|
559
566
|
justifyContent: "space-between",
|
|
560
567
|
flex: 1,
|
|
561
568
|
gap: 1,
|
|
562
569
|
indent: 1,
|
|
563
570
|
children: [
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
(
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
571
|
+
/* @__PURE__ */ e(p, { gap: 1, children: t }),
|
|
572
|
+
(a || o) && /* @__PURE__ */ r(p, { gap: 1, children: [
|
|
573
|
+
a,
|
|
574
|
+
o && /* @__PURE__ */ e(
|
|
575
|
+
Vn,
|
|
569
576
|
{
|
|
570
577
|
isPinned: s,
|
|
571
|
-
onClick:
|
|
578
|
+
onClick: l
|
|
572
579
|
}
|
|
573
580
|
),
|
|
574
|
-
/* @__PURE__ */
|
|
581
|
+
/* @__PURE__ */ e(x, {})
|
|
575
582
|
] })
|
|
576
583
|
]
|
|
577
584
|
}
|
|
578
585
|
) })
|
|
579
|
-
] }),
|
|
580
|
-
label:
|
|
586
|
+
] }), q = Ge(!1), ie = () => Oe(q), Kn = ({
|
|
587
|
+
label: n,
|
|
581
588
|
...t
|
|
582
|
-
}) => /* @__PURE__ */
|
|
583
|
-
closeButtonVisible:
|
|
589
|
+
}) => /* @__PURE__ */ e(_e, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(Y, { ...t }) }), Ht = ({
|
|
590
|
+
closeButtonVisible: n,
|
|
584
591
|
onClickCloseButton: t,
|
|
585
|
-
onClickMenuButton:
|
|
586
|
-
children:
|
|
587
|
-
bottomItems:
|
|
588
|
-
closeButtonTitle:
|
|
589
|
-
}) => /* @__PURE__ */
|
|
592
|
+
onClickMenuButton: i,
|
|
593
|
+
children: o,
|
|
594
|
+
bottomItems: l,
|
|
595
|
+
closeButtonTitle: a = "Unpin menu"
|
|
596
|
+
}) => /* @__PURE__ */ r(
|
|
590
597
|
d,
|
|
591
598
|
{
|
|
592
599
|
position: "fixed",
|
|
@@ -597,18 +604,18 @@ const $ = ({
|
|
|
597
604
|
spacing: 1,
|
|
598
605
|
gap: 1,
|
|
599
606
|
shadow: "popover",
|
|
600
|
-
background:
|
|
607
|
+
background: m("--lhds-color-ui-50"),
|
|
601
608
|
children: [
|
|
602
|
-
/* @__PURE__ */
|
|
603
|
-
/* @__PURE__ */
|
|
604
|
-
/* @__PURE__ */
|
|
605
|
-
/* @__PURE__ */
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
+
/* @__PURE__ */ e(Y, { onClick: i, icon: me }),
|
|
610
|
+
/* @__PURE__ */ r(p, { justifyContent: "space-between", flex: 1, gap: 1, children: [
|
|
611
|
+
/* @__PURE__ */ e(p, { gap: 1, children: /* @__PURE__ */ e(q.Provider, { value: !0, children: o }) }),
|
|
612
|
+
/* @__PURE__ */ e(p, { gap: 1, children: (l || n) && /* @__PURE__ */ r(q.Provider, { value: !0, children: [
|
|
613
|
+
l,
|
|
614
|
+
n && /* @__PURE__ */ e(
|
|
615
|
+
Kn,
|
|
609
616
|
{
|
|
610
|
-
icon:
|
|
611
|
-
label:
|
|
617
|
+
icon: be,
|
|
618
|
+
label: a,
|
|
612
619
|
onClick: t
|
|
613
620
|
}
|
|
614
621
|
)
|
|
@@ -616,70 +623,70 @@ const $ = ({
|
|
|
616
623
|
] })
|
|
617
624
|
]
|
|
618
625
|
}
|
|
619
|
-
),
|
|
620
|
-
label:
|
|
621
|
-
}) =>
|
|
622
|
-
/* @__PURE__ */
|
|
623
|
-
/* @__PURE__ */
|
|
624
|
-
] }),
|
|
625
|
-
label:
|
|
626
|
+
), Zn = ({
|
|
627
|
+
label: n
|
|
628
|
+
}) => ie() ? null : /* @__PURE__ */ r(d, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
629
|
+
/* @__PURE__ */ e(x, {}),
|
|
630
|
+
/* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n })
|
|
631
|
+
] }), Qn = ({
|
|
632
|
+
label: n,
|
|
626
633
|
leftIcon: t,
|
|
627
|
-
...
|
|
628
|
-
}) => t == null ? null : /* @__PURE__ */
|
|
629
|
-
children:
|
|
634
|
+
...i
|
|
635
|
+
}) => t == null ? null : /* @__PURE__ */ e(_e, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...i }) }), Ut = (n) => ie() ? /* @__PURE__ */ e(Qn, { ...n }) : /* @__PURE__ */ e(De, { ...n }), Tn = ({
|
|
636
|
+
children: n,
|
|
630
637
|
label: t,
|
|
631
|
-
icon:
|
|
632
|
-
popupMinWidth:
|
|
633
|
-
}) => /* @__PURE__ */
|
|
634
|
-
|
|
638
|
+
icon: i,
|
|
639
|
+
popupMinWidth: o = "200px"
|
|
640
|
+
}) => /* @__PURE__ */ e(
|
|
641
|
+
Ce,
|
|
635
642
|
{
|
|
636
|
-
renderTrigger: (
|
|
643
|
+
renderTrigger: (l) => /* @__PURE__ */ e(Y, { icon: i, ...l }),
|
|
637
644
|
placement: "right-start",
|
|
638
645
|
trigger: ["hover", "focus"],
|
|
639
646
|
disablePadding: !0,
|
|
640
|
-
children: /* @__PURE__ */
|
|
647
|
+
children: /* @__PURE__ */ e(
|
|
641
648
|
d,
|
|
642
649
|
{
|
|
643
|
-
minWidth:
|
|
650
|
+
minWidth: o,
|
|
644
651
|
shadow: "popover",
|
|
645
652
|
spacing: 1,
|
|
646
653
|
indent: 1,
|
|
647
654
|
gap: 2,
|
|
648
|
-
children: /* @__PURE__ */
|
|
649
|
-
/* @__PURE__ */
|
|
650
|
-
|
|
655
|
+
children: /* @__PURE__ */ r(q.Provider, { value: !1, children: [
|
|
656
|
+
/* @__PURE__ */ e(Zn, { label: t }),
|
|
657
|
+
n
|
|
651
658
|
] })
|
|
652
659
|
}
|
|
653
660
|
)
|
|
654
661
|
}
|
|
655
|
-
),
|
|
656
|
-
children:
|
|
662
|
+
), qt = ({
|
|
663
|
+
children: n,
|
|
657
664
|
label: t,
|
|
658
|
-
leftIcon:
|
|
659
|
-
className:
|
|
660
|
-
initialExpand:
|
|
665
|
+
leftIcon: i,
|
|
666
|
+
className: o,
|
|
667
|
+
initialExpand: l = !1
|
|
661
668
|
}) => {
|
|
662
|
-
const [
|
|
663
|
-
return
|
|
664
|
-
|
|
669
|
+
const [a, s] = H(l);
|
|
670
|
+
return ie() ? i == null ? null : /* @__PURE__ */ e(Tn, { label: t, icon: i, children: n }) : /* @__PURE__ */ e(
|
|
671
|
+
T,
|
|
665
672
|
{
|
|
666
673
|
label: t,
|
|
667
|
-
onClick: () => s(!
|
|
668
|
-
leftIcon:
|
|
669
|
-
className:
|
|
674
|
+
onClick: () => s(!a),
|
|
675
|
+
leftIcon: i,
|
|
676
|
+
className: o,
|
|
670
677
|
expandable: !0,
|
|
671
|
-
expanded:
|
|
672
|
-
selected:
|
|
673
|
-
children: /* @__PURE__ */
|
|
678
|
+
expanded: a,
|
|
679
|
+
selected: a,
|
|
680
|
+
children: /* @__PURE__ */ e(Ln, { children: n })
|
|
674
681
|
}
|
|
675
682
|
);
|
|
676
|
-
},
|
|
677
|
-
|
|
683
|
+
}, Et = (n) => /* @__PURE__ */ e(
|
|
684
|
+
Ve,
|
|
678
685
|
{
|
|
679
|
-
color:
|
|
680
|
-
...
|
|
686
|
+
color: m("--lhds-color-ui-400"),
|
|
687
|
+
...n
|
|
681
688
|
}
|
|
682
|
-
),
|
|
689
|
+
), Gt = ({ numItemsSelected: n, label: t, afterLabelContent: i, rightContent: o }) => /* @__PURE__ */ r(
|
|
683
690
|
c,
|
|
684
691
|
{
|
|
685
692
|
indent: 3,
|
|
@@ -688,64 +695,529 @@ const $ = ({
|
|
|
688
695
|
minHeight: "56px",
|
|
689
696
|
justifyContent: "space-between",
|
|
690
697
|
alignItems: "center",
|
|
691
|
-
background:
|
|
698
|
+
background: m("--silver-lighter"),
|
|
692
699
|
flex: 1,
|
|
693
700
|
borderRadius: "var(--swui-border-radius)",
|
|
694
701
|
children: [
|
|
695
|
-
/* @__PURE__ */
|
|
696
|
-
|
|
697
|
-
/* @__PURE__ */
|
|
698
|
-
/* @__PURE__ */
|
|
699
|
-
/* @__PURE__ */
|
|
702
|
+
/* @__PURE__ */ r(c, { alignItems: "center", gap: 2, children: [
|
|
703
|
+
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ r(M, { children: [
|
|
704
|
+
/* @__PURE__ */ e(f, { children: n }),
|
|
705
|
+
/* @__PURE__ */ e(x, {}),
|
|
706
|
+
/* @__PURE__ */ r(f, { children: [
|
|
700
707
|
"item",
|
|
701
|
-
|
|
708
|
+
n === 1 ? "" : "s",
|
|
702
709
|
" selected"
|
|
703
710
|
] })
|
|
704
|
-
] }) : t != null ? /* @__PURE__ */
|
|
705
|
-
|
|
711
|
+
] }) : t != null ? /* @__PURE__ */ e(M, { children: typeof t == "string" ? /* @__PURE__ */ e(f, { children: t }) : t }) : null }) : null,
|
|
712
|
+
i && /* @__PURE__ */ e(c, { children: i })
|
|
706
713
|
] }),
|
|
707
|
-
/* @__PURE__ */
|
|
714
|
+
/* @__PURE__ */ e(c, { gap: 2, children: o })
|
|
708
715
|
]
|
|
709
716
|
}
|
|
710
|
-
),
|
|
717
|
+
), Ot = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Xn = "_productCard_19x6b_1", Jn = {
|
|
718
|
+
productCard: Xn
|
|
719
|
+
}, Vt = ({
|
|
720
|
+
renderSelectedProductCard: n,
|
|
721
|
+
renderEditButton: t,
|
|
722
|
+
children: i,
|
|
723
|
+
loading: o,
|
|
724
|
+
shadow: l,
|
|
725
|
+
...a
|
|
726
|
+
}) => /* @__PURE__ */ r(
|
|
727
|
+
p,
|
|
728
|
+
{
|
|
729
|
+
"data-comp": "ProductCard",
|
|
730
|
+
className: Jn.productCard,
|
|
731
|
+
shadow: l ? "box" : void 0,
|
|
732
|
+
background: m("--moln"),
|
|
733
|
+
borderRadius: "24px",
|
|
734
|
+
overflow: "hidden",
|
|
735
|
+
position: o ? "relative" : void 0,
|
|
736
|
+
...ne(a),
|
|
737
|
+
children: [
|
|
738
|
+
n == null ? void 0 : n(),
|
|
739
|
+
/* @__PURE__ */ e(p, { gap: 2, children: i }),
|
|
740
|
+
t && /* @__PURE__ */ r(p, { children: [
|
|
741
|
+
/* @__PURE__ */ e(c, { indent: 2, justifyContent: "flex-end", children: t() }),
|
|
742
|
+
/* @__PURE__ */ e(Ke, {})
|
|
743
|
+
] }),
|
|
744
|
+
o && /* @__PURE__ */ e(
|
|
745
|
+
d,
|
|
746
|
+
{
|
|
747
|
+
top: 0,
|
|
748
|
+
bottom: 0,
|
|
749
|
+
left: 0,
|
|
750
|
+
right: 0,
|
|
751
|
+
position: "absolute",
|
|
752
|
+
justifyContent: "center",
|
|
753
|
+
alignItems: "center",
|
|
754
|
+
background: "rgba(255, 255, 255, 0.7)",
|
|
755
|
+
children: /* @__PURE__ */ e(J, {})
|
|
756
|
+
}
|
|
757
|
+
)
|
|
758
|
+
]
|
|
759
|
+
}
|
|
760
|
+
), Yn = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Kt = ({
|
|
761
|
+
description: n,
|
|
762
|
+
subDescription: t,
|
|
763
|
+
descriptionTags: i,
|
|
764
|
+
capacityTag: o,
|
|
765
|
+
offerCodeTag: l,
|
|
766
|
+
priceText: a,
|
|
767
|
+
title: s,
|
|
768
|
+
subTitle: u,
|
|
769
|
+
renderImage: g,
|
|
770
|
+
children: b,
|
|
771
|
+
headingLevel: C
|
|
772
|
+
}) => {
|
|
773
|
+
const B = i == null ? !1 : Array.isArray(i) ? i.length > 0 : !Ze(i);
|
|
774
|
+
return /* @__PURE__ */ r(p, { children: [
|
|
775
|
+
g == null ? void 0 : g(),
|
|
776
|
+
/* @__PURE__ */ r(d, { gap: 2, spacing: 4, indent: 4, background: m("--moln"), children: [
|
|
777
|
+
/* @__PURE__ */ r(d, { gap: 0.5, children: [
|
|
778
|
+
/* @__PURE__ */ r(
|
|
779
|
+
c,
|
|
780
|
+
{
|
|
781
|
+
justifyContent: "space-between",
|
|
782
|
+
alignItems: "flex-start",
|
|
783
|
+
gap: 2,
|
|
784
|
+
children: [
|
|
785
|
+
/* @__PURE__ */ e(z, { variant: "h3", as: C, children: s }),
|
|
786
|
+
/* @__PURE__ */ r(c, { gap: 2, children: [
|
|
787
|
+
l && /* @__PURE__ */ e(p, { justifyContent: "center", children: l }),
|
|
788
|
+
/* @__PURE__ */ e(Yn, { children: a })
|
|
789
|
+
] })
|
|
790
|
+
]
|
|
791
|
+
}
|
|
792
|
+
),
|
|
793
|
+
u && /* @__PURE__ */ e(f, { variant: "bold", color: m("--silver-dark"), children: u })
|
|
794
|
+
] }),
|
|
795
|
+
(B || o) && /* @__PURE__ */ r(p, { children: [
|
|
796
|
+
/* @__PURE__ */ r(c, { gap: 1, flexWrap: "wrap", children: [
|
|
797
|
+
i,
|
|
798
|
+
o && /* @__PURE__ */ e(We, { label: o, variant: "passive" })
|
|
799
|
+
] }),
|
|
800
|
+
/* @__PURE__ */ e(x, {})
|
|
801
|
+
] }),
|
|
802
|
+
n && /* @__PURE__ */ r(p, { children: [
|
|
803
|
+
/* @__PURE__ */ e(f, { children: n }),
|
|
804
|
+
/* @__PURE__ */ e(x, {})
|
|
805
|
+
] }),
|
|
806
|
+
t && /* @__PURE__ */ r(p, { children: [
|
|
807
|
+
/* @__PURE__ */ e(f, { children: t }),
|
|
808
|
+
/* @__PURE__ */ e(x, {})
|
|
809
|
+
] }),
|
|
810
|
+
b
|
|
811
|
+
] })
|
|
812
|
+
] });
|
|
813
|
+
}, Zt = ({ renderImage: n }) => /* @__PURE__ */ r(p, { children: [
|
|
814
|
+
n == null ? void 0 : n(),
|
|
815
|
+
/* @__PURE__ */ r(d, { gap: 3, spacing: 4, indent: 4, background: m("--moln"), children: [
|
|
816
|
+
/* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
|
|
817
|
+
c,
|
|
818
|
+
{
|
|
819
|
+
justifyContent: "space-between",
|
|
820
|
+
alignItems: "flex-start",
|
|
821
|
+
gap: 2,
|
|
822
|
+
children: /* @__PURE__ */ e(
|
|
823
|
+
R,
|
|
824
|
+
{
|
|
825
|
+
width: "50px",
|
|
826
|
+
height: "2.8rem",
|
|
827
|
+
borderRadius: "8px"
|
|
828
|
+
}
|
|
829
|
+
)
|
|
830
|
+
}
|
|
831
|
+
) }),
|
|
832
|
+
/* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(R, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
|
|
833
|
+
/* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(R, { width: "150px", height: "1.4rem", borderRadius: "8px" }) }),
|
|
834
|
+
/* @__PURE__ */ e(x, {})
|
|
835
|
+
] })
|
|
836
|
+
] }), Qt = ({
|
|
837
|
+
label: n,
|
|
838
|
+
children: t
|
|
839
|
+
}) => /* @__PURE__ */ r(d, { background: m("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
|
|
840
|
+
/* @__PURE__ */ e(z, { variant: "h3", as: "h2", color: "white", children: n }),
|
|
841
|
+
t
|
|
842
|
+
] }), Tt = ({
|
|
843
|
+
title: n,
|
|
844
|
+
variant: t = "normal",
|
|
845
|
+
loading: i,
|
|
846
|
+
iconLeft: o,
|
|
847
|
+
compactIconLeft: l,
|
|
848
|
+
renderButton: a,
|
|
849
|
+
renderOfferCodeTag: s,
|
|
850
|
+
renderMandatoryTag: u,
|
|
851
|
+
renderContentLeftOfButton: g,
|
|
852
|
+
children: b,
|
|
853
|
+
...C
|
|
854
|
+
}) => {
|
|
855
|
+
const { fontSizeRatio: B } = Qe(), k = N({
|
|
856
|
+
query: "(max-width: 460px)"
|
|
857
|
+
}), w = N({
|
|
858
|
+
query: "(max-width: 360px)"
|
|
859
|
+
}) || k && B > 1.2, _ = i ? "normal" : t, j = nt(_), F = m("--moln"), P = et(_);
|
|
860
|
+
return /* @__PURE__ */ r(
|
|
861
|
+
d,
|
|
862
|
+
{
|
|
863
|
+
"data-comp": "ProductSummaryCard",
|
|
864
|
+
borderRadius: "16px",
|
|
865
|
+
shadow: "box",
|
|
866
|
+
overflow: "hidden",
|
|
867
|
+
position: i ? "relative" : void 0,
|
|
868
|
+
...ne(C),
|
|
869
|
+
children: [
|
|
870
|
+
/* @__PURE__ */ r(c, { flex: 1, children: [
|
|
871
|
+
!w && /* @__PURE__ */ e(d, { flex: 2, justifyContent: "center", background: j, children: o && /* @__PURE__ */ e(X, { color: P, icon: o, size: 73 }) }),
|
|
872
|
+
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: F, children: /* @__PURE__ */ r(p, { gap: 2, children: [
|
|
873
|
+
n && /* @__PURE__ */ r(c, { justifyContent: "space-between", children: [
|
|
874
|
+
/* @__PURE__ */ r(c, { gap: 2, alignItems: "center", children: [
|
|
875
|
+
w && l && /* @__PURE__ */ e(G, { icon: l, size: "medium" }),
|
|
876
|
+
/* @__PURE__ */ e(f, { variant: "bold", size: "large", children: n })
|
|
877
|
+
] }),
|
|
878
|
+
_ == "normal" && (s == null ? void 0 : s())
|
|
879
|
+
] }),
|
|
880
|
+
/* @__PURE__ */ e(p, { style: { opacity: i ? 0 : void 0 }, children: b }),
|
|
881
|
+
u && /* @__PURE__ */ e(c, { style: { opacity: i ? 0 : void 0 }, children: u() }),
|
|
882
|
+
/* @__PURE__ */ e("div", {}),
|
|
883
|
+
/* @__PURE__ */ r(
|
|
884
|
+
c,
|
|
885
|
+
{
|
|
886
|
+
justifyContent: "space-between",
|
|
887
|
+
alignItems: "center",
|
|
888
|
+
gap: 2,
|
|
889
|
+
flexWrap: "wrap",
|
|
890
|
+
children: [
|
|
891
|
+
(g == null ? void 0 : g()) ?? /* @__PURE__ */ e("div", {}),
|
|
892
|
+
a == null ? void 0 : a()
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
)
|
|
896
|
+
] }) })
|
|
897
|
+
] }),
|
|
898
|
+
i && /* @__PURE__ */ e(
|
|
899
|
+
d,
|
|
900
|
+
{
|
|
901
|
+
top: 0,
|
|
902
|
+
bottom: 0,
|
|
903
|
+
left: 0,
|
|
904
|
+
right: 0,
|
|
905
|
+
position: "absolute",
|
|
906
|
+
justifyContent: "center",
|
|
907
|
+
alignItems: "center",
|
|
908
|
+
background: "rgba(255, 255, 255, 0.7)",
|
|
909
|
+
children: /* @__PURE__ */ e(J, {})
|
|
910
|
+
}
|
|
911
|
+
)
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
);
|
|
915
|
+
}, et = (n) => {
|
|
916
|
+
switch (n) {
|
|
917
|
+
case "edit":
|
|
918
|
+
return m("--moln");
|
|
919
|
+
case "upgrade":
|
|
920
|
+
return m("--moln");
|
|
921
|
+
case "normal":
|
|
922
|
+
return m("--mussla");
|
|
923
|
+
default:
|
|
924
|
+
xe(n);
|
|
925
|
+
}
|
|
926
|
+
}, nt = (n) => {
|
|
927
|
+
switch (n) {
|
|
928
|
+
case "edit":
|
|
929
|
+
return m("--mussla");
|
|
930
|
+
case "upgrade":
|
|
931
|
+
return m("--mussla");
|
|
932
|
+
case "normal":
|
|
933
|
+
return m("--silver-lighter");
|
|
934
|
+
default:
|
|
935
|
+
xe(n);
|
|
936
|
+
}
|
|
937
|
+
}, Xt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
|
|
938
|
+
d,
|
|
939
|
+
{
|
|
940
|
+
borderRadius: "16px",
|
|
941
|
+
shadow: "box",
|
|
942
|
+
overflow: "hidden",
|
|
943
|
+
...ne(t),
|
|
944
|
+
children: /* @__PURE__ */ r(c, { flex: 1, children: [
|
|
945
|
+
/* @__PURE__ */ e(
|
|
946
|
+
d,
|
|
947
|
+
{
|
|
948
|
+
flex: 2,
|
|
949
|
+
justifyContent: "center",
|
|
950
|
+
background: m("--silver-lighter"),
|
|
951
|
+
children: n && /* @__PURE__ */ e(X, { color: m("--mussla"), icon: n, size: 73 })
|
|
952
|
+
}
|
|
953
|
+
),
|
|
954
|
+
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: m("--moln"), children: /* @__PURE__ */ r(p, { gap: 2, children: [
|
|
955
|
+
/* @__PURE__ */ e(
|
|
956
|
+
R,
|
|
957
|
+
{
|
|
958
|
+
width: "180px",
|
|
959
|
+
height: "2.8rem",
|
|
960
|
+
borderRadius: "8px"
|
|
961
|
+
}
|
|
962
|
+
),
|
|
963
|
+
/* @__PURE__ */ e(R, { width: "50px", height: "2.0rem", borderRadius: "8px" }),
|
|
964
|
+
/* @__PURE__ */ e(
|
|
965
|
+
R,
|
|
966
|
+
{
|
|
967
|
+
width: "150px",
|
|
968
|
+
height: "1.4rem",
|
|
969
|
+
borderRadius: "8px"
|
|
970
|
+
}
|
|
971
|
+
)
|
|
972
|
+
] }) })
|
|
973
|
+
] })
|
|
974
|
+
}
|
|
975
|
+
), de = [
|
|
976
|
+
"small-mobile",
|
|
977
|
+
"mobile",
|
|
978
|
+
"tablet",
|
|
979
|
+
"tablet-wide",
|
|
980
|
+
"desktop"
|
|
981
|
+
], Be = () => {
|
|
982
|
+
const n = N({
|
|
983
|
+
query: "(max-width: 768px)"
|
|
984
|
+
}), t = N({
|
|
985
|
+
query: "(max-width: 395px)"
|
|
986
|
+
}), i = N({
|
|
987
|
+
query: "(max-width: 1024px)"
|
|
988
|
+
}), o = N({
|
|
989
|
+
query: "(max-width: 1160px)"
|
|
990
|
+
});
|
|
991
|
+
return { deviceSize: t ? "small-mobile" : n ? "mobile" : i ? "tablet" : o ? "tablet-wide" : "desktop" };
|
|
992
|
+
}, tt = (n, t) => n === t || de.indexOf(n) > de.indexOf(t), Jt = (n) => {
|
|
993
|
+
const { deviceSize: t } = Be();
|
|
994
|
+
return {
|
|
995
|
+
visible: U(
|
|
996
|
+
() => tt(t, n),
|
|
997
|
+
[t, n]
|
|
998
|
+
)
|
|
999
|
+
};
|
|
1000
|
+
}, Yt = ({
|
|
1001
|
+
images: n,
|
|
1002
|
+
altLabelPrevious: t,
|
|
1003
|
+
altLabelZoomIn: i,
|
|
1004
|
+
altLabelZoomOut: o,
|
|
1005
|
+
altLabelNext: l,
|
|
1006
|
+
altLabelClose: a
|
|
1007
|
+
}) => {
|
|
1008
|
+
const s = Q(null), u = Q(null), { deviceSize: g } = Be(), b = g !== "mobile", [C, B] = H(!1), [k, S] = H(0), [w, _] = H(0), j = le(() => {
|
|
1009
|
+
_(k), B(!0);
|
|
1010
|
+
}, [k]), F = le(() => {
|
|
1011
|
+
S(w), B(!1);
|
|
1012
|
+
}, [w]), P = ({ index: h }) => S(h), O = ({ index: h }) => _(h), L = U(() => n.map(Z), [n]), A = U(
|
|
1013
|
+
() => n.map(
|
|
1014
|
+
(h) => h.fullscreenImage ? Z({
|
|
1015
|
+
...h.fullscreenImage,
|
|
1016
|
+
description: h.description,
|
|
1017
|
+
title: h.title
|
|
1018
|
+
}) : Z(h)
|
|
1019
|
+
),
|
|
1020
|
+
[n]
|
|
1021
|
+
);
|
|
1022
|
+
return /* @__PURE__ */ r(Te, { blockedKeys: "Escape", children: [
|
|
1023
|
+
/* @__PURE__ */ e(
|
|
1024
|
+
ae,
|
|
1025
|
+
{
|
|
1026
|
+
controller: { ref: s },
|
|
1027
|
+
index: k,
|
|
1028
|
+
slides: L,
|
|
1029
|
+
plugins: [Je],
|
|
1030
|
+
on: {
|
|
1031
|
+
view: P,
|
|
1032
|
+
click: j
|
|
1033
|
+
},
|
|
1034
|
+
carousel: {
|
|
1035
|
+
padding: 0,
|
|
1036
|
+
spacing: 0,
|
|
1037
|
+
imageFit: "cover"
|
|
1038
|
+
},
|
|
1039
|
+
render: {
|
|
1040
|
+
buttonPrev: () => n.length > 1 && /* @__PURE__ */ e(y, { className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
|
|
1041
|
+
I,
|
|
1042
|
+
{
|
|
1043
|
+
"aria-label": t,
|
|
1044
|
+
leftIcon: re,
|
|
1045
|
+
onClick: () => {
|
|
1046
|
+
var h;
|
|
1047
|
+
return (h = s.current) == null ? void 0 : h.prev();
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
) }),
|
|
1051
|
+
buttonNext: () => n.length > 1 && /* @__PURE__ */ e(y, { className: "yarl__navigation_next", children: /* @__PURE__ */ e(
|
|
1052
|
+
I,
|
|
1053
|
+
{
|
|
1054
|
+
"aria-label": l,
|
|
1055
|
+
leftIcon: oe,
|
|
1056
|
+
onClick: () => {
|
|
1057
|
+
var h;
|
|
1058
|
+
return (h = s.current) == null ? void 0 : h.next();
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
) })
|
|
1062
|
+
},
|
|
1063
|
+
styles: {
|
|
1064
|
+
button: {
|
|
1065
|
+
filter: "none"
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
inline: {
|
|
1069
|
+
style: {
|
|
1070
|
+
width: "100%",
|
|
1071
|
+
maxWidth: "900px",
|
|
1072
|
+
aspectRatio: "3 / 2",
|
|
1073
|
+
margin: "0 auto"
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
),
|
|
1078
|
+
/* @__PURE__ */ e(
|
|
1079
|
+
ae,
|
|
1080
|
+
{
|
|
1081
|
+
open: C,
|
|
1082
|
+
close: F,
|
|
1083
|
+
index: w,
|
|
1084
|
+
plugins: [nn, en, Ye],
|
|
1085
|
+
slides: A ?? L,
|
|
1086
|
+
on: { view: O },
|
|
1087
|
+
animation: { fade: 0 },
|
|
1088
|
+
controller: {
|
|
1089
|
+
closeOnPullDown: !0,
|
|
1090
|
+
closeOnBackdropClick: !0,
|
|
1091
|
+
ref: u
|
|
1092
|
+
},
|
|
1093
|
+
counter: {
|
|
1094
|
+
container: {
|
|
1095
|
+
style: {
|
|
1096
|
+
filter: "none",
|
|
1097
|
+
color: "white",
|
|
1098
|
+
fontSize: "2.0rem",
|
|
1099
|
+
fontFamily: "Stena Sans"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
render: {
|
|
1104
|
+
buttonZoom: (h) => b && /* @__PURE__ */ r(c, { gap: 1, indent: 2, children: [
|
|
1105
|
+
/* @__PURE__ */ e(
|
|
1106
|
+
I,
|
|
1107
|
+
{
|
|
1108
|
+
"aria-label": i,
|
|
1109
|
+
leftIcon: He,
|
|
1110
|
+
size: "large",
|
|
1111
|
+
onClick: () => h.zoomIn()
|
|
1112
|
+
}
|
|
1113
|
+
),
|
|
1114
|
+
/* @__PURE__ */ e(
|
|
1115
|
+
I,
|
|
1116
|
+
{
|
|
1117
|
+
"aria-label": o,
|
|
1118
|
+
leftIcon: Ue,
|
|
1119
|
+
size: "large",
|
|
1120
|
+
onClick: () => h.zoomOut()
|
|
1121
|
+
}
|
|
1122
|
+
)
|
|
1123
|
+
] }),
|
|
1124
|
+
buttonPrev: () => n.length > 1 && b && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
|
|
1125
|
+
I,
|
|
1126
|
+
{
|
|
1127
|
+
"aria-label": t,
|
|
1128
|
+
leftIcon: re,
|
|
1129
|
+
size: "large",
|
|
1130
|
+
onClick: () => {
|
|
1131
|
+
var h;
|
|
1132
|
+
return (h = u.current) == null ? void 0 : h.prev();
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
) }),
|
|
1136
|
+
buttonNext: () => n.length > 1 && b && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
|
|
1137
|
+
I,
|
|
1138
|
+
{
|
|
1139
|
+
"aria-label": l,
|
|
1140
|
+
leftIcon: oe,
|
|
1141
|
+
size: "large",
|
|
1142
|
+
onClick: () => {
|
|
1143
|
+
var h;
|
|
1144
|
+
return (h = u.current) == null ? void 0 : h.next();
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
) }),
|
|
1148
|
+
buttonClose: () => /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(
|
|
1149
|
+
pe,
|
|
1150
|
+
{
|
|
1151
|
+
variant: "danger",
|
|
1152
|
+
"aria-label": a,
|
|
1153
|
+
leftIcon: qe,
|
|
1154
|
+
size: "large",
|
|
1155
|
+
onClick: () => {
|
|
1156
|
+
var h;
|
|
1157
|
+
return (h = u.current) == null ? void 0 : h.close();
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
) })
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
)
|
|
1164
|
+
] });
|
|
1165
|
+
}, Z = (n) => ({
|
|
1166
|
+
src: n.url,
|
|
1167
|
+
width: n.width,
|
|
1168
|
+
height: n.height,
|
|
1169
|
+
alt: n.description,
|
|
1170
|
+
title: n.title,
|
|
1171
|
+
description: n.description
|
|
1172
|
+
});
|
|
711
1173
|
export {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
1174
|
+
tn as ActionMenuFlatButton,
|
|
1175
|
+
xt as ActionMenuPrimaryButton,
|
|
1176
|
+
vt as ActionMenuSecondaryButton,
|
|
1177
|
+
Ct as CheckboxMenu,
|
|
1178
|
+
Pn as Collapsible,
|
|
1179
|
+
Ft as CollapsibleEmptyContent,
|
|
1180
|
+
jt as CollapsibleGroupHeading,
|
|
1181
|
+
Rt as CollapsibleList,
|
|
1182
|
+
zt as CollapsibleWithCheckbox,
|
|
1183
|
+
Dn as ErrorPanel,
|
|
1184
|
+
Pt as ErrorScreen,
|
|
1185
|
+
Yt as ImageCarousel,
|
|
1186
|
+
Wn as LoadingPanel,
|
|
1187
|
+
At as LoadingScreen,
|
|
1188
|
+
_t as NavBar,
|
|
1189
|
+
dn as NavBarButton,
|
|
1190
|
+
yt as NavBarHeading,
|
|
1191
|
+
Bt as NavBarNotificationButton,
|
|
1192
|
+
wt as NavBarPopoverButton,
|
|
1193
|
+
kt as NavBarSearchField,
|
|
1194
|
+
It as NavBarUserButton,
|
|
1195
|
+
St as Notification,
|
|
1196
|
+
we as NotificationHeader,
|
|
1197
|
+
Nt as NotificationList,
|
|
1198
|
+
$t as PageHeader,
|
|
1199
|
+
Lt as PageHeaderRow,
|
|
1200
|
+
Dt as PageHeading,
|
|
1201
|
+
Vt as ProductCard,
|
|
1202
|
+
Kt as ProductCardContentItem,
|
|
1203
|
+
Zt as ProductCardContentItemSkeletor,
|
|
1204
|
+
Tt as ProductSummaryCard,
|
|
1205
|
+
Xt as ProductSummaryCardSkeletor,
|
|
1206
|
+
Ot as SelectedItemsActionsPadding,
|
|
1207
|
+
Gt as SelectedItemsActionsPanel,
|
|
1208
|
+
Qt as SelectedProductCard,
|
|
1209
|
+
Wt as SidebarMenu,
|
|
1210
|
+
qt as SidebarMenuCollapsible,
|
|
1211
|
+
Ln as SidebarMenuCollapsibleGroupBox,
|
|
1212
|
+
Zn as SidebarMenuHeading,
|
|
1213
|
+
Ut as SidebarMenuLink,
|
|
1214
|
+
Et as SidebarMenuSeparator,
|
|
1215
|
+
Ht as SidebarRailMenu,
|
|
1216
|
+
Mt as Toast,
|
|
1217
|
+
wn as UnreadDot,
|
|
1218
|
+
Bn as getIconBgColorFromVariant,
|
|
1219
|
+
tt as isDeviceSameOrLarger,
|
|
1220
|
+
Be as useDeviceSize,
|
|
1221
|
+
Jt as useLayoutVisibility
|
|
750
1222
|
};
|
|
751
1223
|
//# sourceMappingURL=index.es.js.map
|