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