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