@stenajs-webui/panels 23.13.1 → 23.13.2
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/nav-bar/NavBarLink.d.ts +2 -4
- package/dist/index.es.js +190 -190
- 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,9 +1,9 @@
|
|
|
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)}._nav-bar-link_14nt6_1{box-sizing:border-box;min-height:var(--swui-button-height-medium);height:var(--swui-button-height-medium);letter-spacing:var(--swui-field-letter-spacing);text-decoration:none;padding:var(--swui-button-padding-vertical, 6px) var(--swui-button-padding-horizontal, 16px);border-radius:var(--swui-max-border-radius);outline:none;font-size:var(--swui-font-size-medium);line-height:var(--swui-line-height);font-weight:var(--swui-font-weight-text-bold);font-family:var(--swui-font-buttons);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;color:var(--swui-text-action-color);background:transparent;border:1px solid transparent}._nav-bar-link_14nt6_1:hover{background:var(--lhds-color-ui-100)}._nav-bar-link_14nt6_1:focus-visible{outline:var(--swui-focus-outline);background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1:active{background:var(--lhds-color-ui-200)}._nav-bar-link_14nt6_1._selected_14nt6_38{background:var(--lhds-color-blue-200)}._nav-bar-link_14nt6_1._selected_14nt6_38:hover{background:var(--lhds-color-blue-100)}._nav-bar-link_14nt6_1._selected_14nt6_38:focus-visible{background:var(--lhds-color-blue-300)}._nav-bar-link_14nt6_1._selected_14nt6_38:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-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_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_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}}._productSummaryCardImage_1knc7_1{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.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)}})();
|
|
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)}._navBarLink_1u1b2_1:hover{background:var(--lhds-color-ui-100)}._navBarLink_1u1b2_1:focus-visible{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1:active{background:var(--lhds-color-ui-200)}._navBarLink_1u1b2_1._selected_1u1b2_14{background:var(--lhds-color-blue-200)}._navBarLink_1u1b2_1._selected_1u1b2_14:hover{background:var(--lhds-color-blue-100)}._navBarLink_1u1b2_1._selected_1u1b2_14:focus-visible{background:var(--lhds-color-blue-300)}._navBarLink_1u1b2_1._selected_1u1b2_14:active{background:var(--lhds-color-blue-200)}._navBarNotificationButton_1nfdy_1{--current-background-color: var(--lhds-color-ui-400);--current-outline-color: var(--core-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_1nfdy_1:hover{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1:active{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23 ._icon_1nfdy_23{transform-origin:top center;animation:_shake_1nfdy_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23{--current-background-color: var(--lhds-color-red-500);--current-outline-color: var(--lhds-color-red-500)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:hover{--current-background-color: var(--lhds-color-red-600);--current-outline-color: var(--lhds-color-red-600)}._navBarNotificationButton_1nfdy_1._unread_1nfdy_23:active{--current-background-color: var(--lhds-color-red-700);--current-outline-color: var(--lhds-color-red-700)}._navBarNotificationButton_1nfdy_1:focus-visible{outline:var(--swui-focus-outline);outline-color:var(--current-outline-color);outline-offset:var(--swui-focus-outline-width)}@keyframes _shake_1nfdy_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}}._productSummaryCardImage_1knc7_1{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.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
2
|
import { jsx as e, Fragment as z, jsxs as i } from "react/jsx-runtime";
|
|
3
|
-
import { ActionMenu as re, ActionMenuContext as
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as Z, useMemo as j, forwardRef as H, createContext as
|
|
6
|
-
import { useBoolean as ue, Column as u, Row as c, Indent as w,
|
|
3
|
+
import { ActionMenu as re, ActionMenuContext as Ce, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, FlatButtonLink as Be, BaseButton as we, stenaBellFilled as ye, TextInputButton as Ie, stenaTimes as _e, stenaUserCircle as Se, MenuButton as D, Icon as K, stenaMail as ke, Card as Re, CardBody as Me, CircledIcon as E, stenaTripFerryXl as Ne, ScreenSpinner as Pe, CloseButton as Fe, StenaFlag as ze, stenaAngleLeftDouble as ae, stenaPin as je, IconMenuButton as V, IconMenuButtonLink as Le, MenuButtonLink as Ae, Spinner as ce, Tag as Te, ShimmerBox as N, stenaTimesThick as $e, stenaAngleRight as se, stenaAngleLeft as de, stenaSearchPlus as Oe, stenaSearchMinus as Ee } from "@stenajs-webui/elements";
|
|
4
|
+
import * as He from "react";
|
|
5
|
+
import { useRef as Z, useMemo as j, forwardRef as H, createContext as We, useContext as qe, useState as T, useCallback as J, useEffect as Ue } from "react";
|
|
6
|
+
import { useBoolean as ue, Column as u, Row as c, Indent as w, Heading as P, Box as d, Text as v, Space as B, getDataProps as L, SeparatorLine as Ge, pluralFormatter as De, selectPluralRule as Ke, Spacing as Ve, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as he, BlockKeyboardEvents as Xe } from "@stenajs-webui/core";
|
|
7
7
|
import { ControlledPopover as pe, Popover as me, Tooltip as ge } from "@stenajs-webui/tooltip";
|
|
8
8
|
import { Checkbox as be, TextInput as Je } from "@stenajs-webui/forms";
|
|
9
9
|
import y from "classnames";
|
|
@@ -29,7 +29,7 @@ const Q = ({
|
|
|
29
29
|
disableTrapFocus: x = !1,
|
|
30
30
|
...I
|
|
31
31
|
}) => {
|
|
32
|
-
const [S, k,
|
|
32
|
+
const [S, k, C, _] = ue(!1), m = Z(null), W = g ?? m, q = j(() => ({ open: k, close: C }), [k, C]), xe = (U) => {
|
|
33
33
|
s?.(U), _();
|
|
34
34
|
};
|
|
35
35
|
return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
|
|
@@ -48,7 +48,7 @@ const Q = ({
|
|
|
48
48
|
hideArrow: !0,
|
|
49
49
|
disablePadding: !0,
|
|
50
50
|
open: S,
|
|
51
|
-
onRequestClose:
|
|
51
|
+
onRequestClose: C,
|
|
52
52
|
placement: t,
|
|
53
53
|
appendTo: b,
|
|
54
54
|
zIndex: f,
|
|
@@ -58,12 +58,12 @@ const Q = ({
|
|
|
58
58
|
width: l,
|
|
59
59
|
top: a,
|
|
60
60
|
trapFocus: !x,
|
|
61
|
-
children: /* @__PURE__ */ e(
|
|
61
|
+
children: /* @__PURE__ */ e(Ce.Provider, { value: q, children: n(C) })
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
65
|
) });
|
|
66
|
-
},
|
|
66
|
+
}, mt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), gt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), rn = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), on = "1px solid var(--lhds-color-ui-300)", bt = ({
|
|
67
67
|
renderMenu: n,
|
|
68
68
|
...t
|
|
69
69
|
}) => /* @__PURE__ */ e(
|
|
@@ -102,7 +102,7 @@ const Q = ({
|
|
|
102
102
|
className: n,
|
|
103
103
|
onClick: t
|
|
104
104
|
}
|
|
105
|
-
),
|
|
105
|
+
), ft = ({
|
|
106
106
|
left: n,
|
|
107
107
|
className: t,
|
|
108
108
|
showMenuButton: r = !1,
|
|
@@ -133,7 +133,7 @@ const Q = ({
|
|
|
133
133
|
n,
|
|
134
134
|
/* @__PURE__ */ e(w, { num: 2 })
|
|
135
135
|
] }),
|
|
136
|
-
o && /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children:
|
|
136
|
+
o && /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: He.Children.map(o, (g, b) => /* @__PURE__ */ i(z, { children: [
|
|
137
137
|
b > 0 && /* @__PURE__ */ e(w, {}),
|
|
138
138
|
g
|
|
139
139
|
] })) }) })
|
|
@@ -166,25 +166,25 @@ const Q = ({
|
|
|
166
166
|
}
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
|
-
), hn = "
|
|
170
|
-
|
|
171
|
-
selected:
|
|
172
|
-
},
|
|
173
|
-
function({ selected: t,
|
|
169
|
+
), hn = "_navBarLink_1u1b2_1", pn = "_selected_1u1b2_14", ee = {
|
|
170
|
+
navBarLink: hn,
|
|
171
|
+
selected: pn
|
|
172
|
+
}, vt = H(
|
|
173
|
+
function({ selected: t, className: r, ...o }, l) {
|
|
174
174
|
return /* @__PURE__ */ e(
|
|
175
|
-
|
|
175
|
+
Be,
|
|
176
176
|
{
|
|
177
|
-
|
|
177
|
+
...o,
|
|
178
|
+
ref: l,
|
|
178
179
|
className: y(
|
|
179
|
-
ee
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
)
|
|
183
|
-
...l
|
|
180
|
+
ee.navBarLink,
|
|
181
|
+
t && ee.selected,
|
|
182
|
+
r
|
|
183
|
+
)
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
|
-
),
|
|
187
|
+
), xt = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), Ct = ({
|
|
188
188
|
content: n,
|
|
189
189
|
children: t,
|
|
190
190
|
appendTo: r,
|
|
@@ -206,22 +206,22 @@ const Q = ({
|
|
|
206
206
|
] })
|
|
207
207
|
}
|
|
208
208
|
);
|
|
209
|
-
},
|
|
210
|
-
navBarNotificationButton:
|
|
211
|
-
unread:
|
|
212
|
-
icon:
|
|
213
|
-
},
|
|
209
|
+
}, mn = "_navBarNotificationButton_1nfdy_1", gn = "_unread_1nfdy_23", bn = "_icon_1nfdy_23", F = {
|
|
210
|
+
navBarNotificationButton: mn,
|
|
211
|
+
unread: gn,
|
|
212
|
+
icon: bn
|
|
213
|
+
}, Bt = H(function({
|
|
214
214
|
count: n,
|
|
215
215
|
unread: t = !1,
|
|
216
216
|
className: r,
|
|
217
217
|
labelClassName: o,
|
|
218
218
|
iconClassName: l,
|
|
219
|
-
icon: a =
|
|
219
|
+
icon: a = ye,
|
|
220
220
|
...s
|
|
221
221
|
}, h) {
|
|
222
222
|
const g = n > 1;
|
|
223
223
|
return /* @__PURE__ */ e(
|
|
224
|
-
|
|
224
|
+
we,
|
|
225
225
|
{
|
|
226
226
|
...s,
|
|
227
227
|
ref: h,
|
|
@@ -237,12 +237,12 @@ const Q = ({
|
|
|
237
237
|
iconClassName: y(l, F.icon)
|
|
238
238
|
}
|
|
239
239
|
);
|
|
240
|
-
}),
|
|
241
|
-
navBarSearchFieldInput:
|
|
242
|
-
navBarSearchFieldWrapper:
|
|
243
|
-
withButton:
|
|
244
|
-
clearButton:
|
|
245
|
-
},
|
|
240
|
+
}), fn = "_navBarSearchFieldInput_1rp8g_1", vn = "_navBarSearchFieldWrapper_1rp8g_12", xn = "_withButton_1rp8g_24", Cn = "_clearButton_1rp8g_33", A = {
|
|
241
|
+
navBarSearchFieldInput: fn,
|
|
242
|
+
navBarSearchFieldWrapper: vn,
|
|
243
|
+
withButton: xn,
|
|
244
|
+
clearButton: Cn
|
|
245
|
+
}, wt = ({
|
|
246
246
|
placeholder: n = "Search",
|
|
247
247
|
className: t,
|
|
248
248
|
wrapperClassName: r,
|
|
@@ -254,45 +254,45 @@ const Q = ({
|
|
|
254
254
|
Je,
|
|
255
255
|
{
|
|
256
256
|
wrapperClassName: y(
|
|
257
|
-
|
|
258
|
-
o ?
|
|
257
|
+
A.navBarSearchFieldWrapper,
|
|
258
|
+
o ? A.withButton : void 0,
|
|
259
259
|
r
|
|
260
260
|
),
|
|
261
|
-
className: y(
|
|
261
|
+
className: y(A.navBarSearchFieldInput, t),
|
|
262
262
|
placeholder: n,
|
|
263
263
|
value: a,
|
|
264
264
|
buttonRight: a && o ? /* @__PURE__ */ e(
|
|
265
|
-
|
|
265
|
+
Ie,
|
|
266
266
|
{
|
|
267
|
-
className:
|
|
268
|
-
icon:
|
|
267
|
+
className: A.clearButton,
|
|
268
|
+
icon: _e,
|
|
269
269
|
variant: "error",
|
|
270
270
|
onClick: l
|
|
271
271
|
}
|
|
272
272
|
) : void 0,
|
|
273
273
|
...s
|
|
274
274
|
}
|
|
275
|
-
),
|
|
276
|
-
navBarUserButton:
|
|
277
|
-
},
|
|
275
|
+
), Bn = "_navBarUserButton_10f9z_1", wn = {
|
|
276
|
+
navBarUserButton: Bn
|
|
277
|
+
}, yt = ({
|
|
278
278
|
className: n,
|
|
279
279
|
username: t,
|
|
280
280
|
initials: r,
|
|
281
|
-
icon: o =
|
|
281
|
+
icon: o = Se,
|
|
282
282
|
responsiveIconOnly: l = r == null,
|
|
283
283
|
...a
|
|
284
284
|
}) => /* @__PURE__ */ e(
|
|
285
285
|
rn,
|
|
286
286
|
{
|
|
287
287
|
...a,
|
|
288
|
-
className: y(
|
|
288
|
+
className: y(wn.navBarUserButton, n),
|
|
289
289
|
leftIcon: t != null ? o : void 0,
|
|
290
290
|
label: r ?? t,
|
|
291
291
|
forceRound: r != null,
|
|
292
292
|
responsiveIconOnly: l,
|
|
293
293
|
disableArrow: !0
|
|
294
294
|
}
|
|
295
|
-
),
|
|
295
|
+
), yn = H(
|
|
296
296
|
({ contentLeft: n, contentRight: t, collapsed: r = !1, ...o }, l) => /* @__PURE__ */ e(
|
|
297
297
|
D,
|
|
298
298
|
{
|
|
@@ -305,9 +305,9 @@ const Q = ({
|
|
|
305
305
|
...o
|
|
306
306
|
}
|
|
307
307
|
)
|
|
308
|
-
),
|
|
308
|
+
), It = ({
|
|
309
309
|
children: n
|
|
310
|
-
}) => /* @__PURE__ */ e(u, { gap: 1, children: n }),
|
|
310
|
+
}) => /* @__PURE__ */ e(u, { gap: 1, children: n }), _t = ({
|
|
311
311
|
value: n,
|
|
312
312
|
onValueChange: t,
|
|
313
313
|
onChange: r,
|
|
@@ -315,7 +315,7 @@ const Q = ({
|
|
|
315
315
|
checkboxDisabled: l,
|
|
316
316
|
...a
|
|
317
317
|
}) => /* @__PURE__ */ e(
|
|
318
|
-
|
|
318
|
+
yn,
|
|
319
319
|
{
|
|
320
320
|
contentLeft: /* @__PURE__ */ e(
|
|
321
321
|
be,
|
|
@@ -330,36 +330,36 @@ const Q = ({
|
|
|
330
330
|
),
|
|
331
331
|
...a
|
|
332
332
|
}
|
|
333
|
-
),
|
|
334
|
-
sidebarMenuCollapsibleGroupBox:
|
|
335
|
-
},
|
|
336
|
-
/* @__PURE__ */ e(K, { icon:
|
|
333
|
+
), In = "_sidebarMenuCollapsibleGroupBox_ikek9_1", _n = {
|
|
334
|
+
sidebarMenuCollapsibleGroupBox: In
|
|
335
|
+
}, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: _n.sidebarMenuCollapsibleGroupBox, children: n }), St = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(v, { variant: "overline", size: "smaller", children: n }) }), kt = ({ text: n = "No content" }) => /* @__PURE__ */ i(u, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
|
|
336
|
+
/* @__PURE__ */ e(K, { icon: ke, color: p("--lhds-color-ui-500") }),
|
|
337
337
|
/* @__PURE__ */ e(B, {}),
|
|
338
|
-
/* @__PURE__ */ e(
|
|
339
|
-
] }),
|
|
338
|
+
/* @__PURE__ */ e(v, { size: "small", color: p("--lhds-color-ui-500"), children: n })
|
|
339
|
+
] }), kn = ({
|
|
340
340
|
text: n,
|
|
341
341
|
heading: t,
|
|
342
342
|
children: r,
|
|
343
343
|
buttons: o,
|
|
344
|
-
icon: l =
|
|
344
|
+
icon: l = Ne,
|
|
345
345
|
headingLevel: a = "h3",
|
|
346
346
|
...s
|
|
347
347
|
}) => {
|
|
348
348
|
const h = !n && !t ? "Something unexpected happened." : n;
|
|
349
|
-
return /* @__PURE__ */ e(
|
|
349
|
+
return /* @__PURE__ */ e(Re, { ...s, children: /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ i(u, { spacing: 1, gap: 3, alignItems: "center", children: [
|
|
350
350
|
/* @__PURE__ */ i(u, { alignItems: "center", children: [
|
|
351
351
|
/* @__PURE__ */ e(B, { num: 1 }),
|
|
352
352
|
/* @__PURE__ */ e(E, { icon: l, size: "xl" })
|
|
353
353
|
] }),
|
|
354
354
|
t && /* @__PURE__ */ e(P, { as: a, children: t }),
|
|
355
|
-
h && /* @__PURE__ */ e(
|
|
355
|
+
h && /* @__PURE__ */ e(v, { textAlign: "center", children: h }),
|
|
356
356
|
r,
|
|
357
357
|
o && /* @__PURE__ */ i(d, { children: [
|
|
358
358
|
/* @__PURE__ */ e(B, { num: 2 }),
|
|
359
359
|
/* @__PURE__ */ e(d, { gap: 2, children: o })
|
|
360
360
|
] })
|
|
361
361
|
] }) }) });
|
|
362
|
-
},
|
|
362
|
+
}, Rt = (n) => /* @__PURE__ */ e(
|
|
363
363
|
d,
|
|
364
364
|
{
|
|
365
365
|
width: "100%",
|
|
@@ -367,18 +367,18 @@ const Q = ({
|
|
|
367
367
|
spacing: 6,
|
|
368
368
|
justifyContent: "center",
|
|
369
369
|
alignItems: "center",
|
|
370
|
-
children: /* @__PURE__ */ e(
|
|
370
|
+
children: /* @__PURE__ */ e(kn, { ...n })
|
|
371
371
|
}
|
|
372
|
-
),
|
|
372
|
+
), Rn = ({
|
|
373
373
|
text: n,
|
|
374
374
|
...t
|
|
375
|
-
}) => /* @__PURE__ */ i(d, { alignItems: "center", ...
|
|
376
|
-
/* @__PURE__ */ e(
|
|
375
|
+
}) => /* @__PURE__ */ i(d, { alignItems: "center", ...L(t), children: [
|
|
376
|
+
/* @__PURE__ */ e(Pe, {}),
|
|
377
377
|
n && /* @__PURE__ */ i(z, { children: [
|
|
378
378
|
/* @__PURE__ */ e(B, { num: 4 }),
|
|
379
379
|
/* @__PURE__ */ e(P, { variant: "h4", children: n })
|
|
380
380
|
] })
|
|
381
|
-
] }),
|
|
381
|
+
] }), Mt = (n) => /* @__PURE__ */ e(
|
|
382
382
|
d,
|
|
383
383
|
{
|
|
384
384
|
width: "100%",
|
|
@@ -386,9 +386,9 @@ const Q = ({
|
|
|
386
386
|
spacing: 6,
|
|
387
387
|
justifyContent: "center",
|
|
388
388
|
alignItems: "center",
|
|
389
|
-
children: /* @__PURE__ */ e(
|
|
389
|
+
children: /* @__PURE__ */ e(Rn, { ...n })
|
|
390
390
|
}
|
|
391
|
-
),
|
|
391
|
+
), Nt = ({
|
|
392
392
|
renderBreadCrumbs: n,
|
|
393
393
|
renderPageHeading: t,
|
|
394
394
|
renderTabs: r,
|
|
@@ -401,7 +401,7 @@ const Q = ({
|
|
|
401
401
|
r?.()
|
|
402
402
|
] }),
|
|
403
403
|
o
|
|
404
|
-
] }),
|
|
404
|
+
] }), Pt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Ft = ({
|
|
405
405
|
icon: n,
|
|
406
406
|
heading: t,
|
|
407
407
|
headingLevel: r = "h2",
|
|
@@ -414,10 +414,10 @@ const Q = ({
|
|
|
414
414
|
] }),
|
|
415
415
|
/* @__PURE__ */ e(c, { alignItems: "center", children: o }),
|
|
416
416
|
/* @__PURE__ */ e(c, { style: { marginLeft: "auto" }, alignItems: "center", children: l })
|
|
417
|
-
] }),
|
|
418
|
-
selectionRow:
|
|
419
|
-
iconColumn:
|
|
420
|
-
},
|
|
417
|
+
] }), Mn = "_selectionRow_1njaw_1", Nn = "_iconColumn_1njaw_9", ne = {
|
|
418
|
+
selectionRow: Mn,
|
|
419
|
+
iconColumn: Nn
|
|
420
|
+
}, zt = ({
|
|
421
421
|
icon: n,
|
|
422
422
|
heading: t,
|
|
423
423
|
description: r,
|
|
@@ -425,7 +425,7 @@ const Q = ({
|
|
|
425
425
|
htmlFor: l,
|
|
426
426
|
circledIconVariant: a,
|
|
427
427
|
...s
|
|
428
|
-
}) => /* @__PURE__ */ i("div", { className: ne.selectionRow, ...
|
|
428
|
+
}) => /* @__PURE__ */ i("div", { className: ne.selectionRow, ...L(s), children: [
|
|
429
429
|
/* @__PURE__ */ i(c, { gap: 2, children: [
|
|
430
430
|
n && /* @__PURE__ */ e(
|
|
431
431
|
d,
|
|
@@ -438,17 +438,17 @@ const Q = ({
|
|
|
438
438
|
}
|
|
439
439
|
),
|
|
440
440
|
/* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ i(u, { gap: 0.5, children: [
|
|
441
|
-
/* @__PURE__ */ e(
|
|
442
|
-
typeof r == "string" ? /* @__PURE__ */ e(
|
|
441
|
+
/* @__PURE__ */ e(v, { variant: "bold", children: t }),
|
|
442
|
+
typeof r == "string" ? /* @__PURE__ */ e(v, { color: p("--silver-dark"), children: r }) : r
|
|
443
443
|
] }) })
|
|
444
444
|
] }),
|
|
445
445
|
o
|
|
446
|
-
] }),
|
|
447
|
-
sidebarMenu:
|
|
448
|
-
sidebarItems:
|
|
449
|
-
scrollContainer:
|
|
450
|
-
},
|
|
451
|
-
stenaFlag:
|
|
446
|
+
] }), Pn = "_sidebarMenu_1bx5w_1", Fn = "_sidebarItems_1bx5w_38", zn = "_scrollContainer_1bx5w_48", G = {
|
|
447
|
+
sidebarMenu: Pn,
|
|
448
|
+
sidebarItems: Fn,
|
|
449
|
+
scrollContainer: zn
|
|
450
|
+
}, jn = "_stenaFlag_108h7_1", Ln = {
|
|
451
|
+
stenaFlag: jn
|
|
452
452
|
}, An = ({ onClick: n }) => /* @__PURE__ */ i(u, { background: p("--lhds-color-ui-50"), children: [
|
|
453
453
|
/* @__PURE__ */ e(B, {}),
|
|
454
454
|
/* @__PURE__ */ i(
|
|
@@ -460,16 +460,16 @@ const Q = ({
|
|
|
460
460
|
indent: 1,
|
|
461
461
|
minHeight: "48px",
|
|
462
462
|
children: [
|
|
463
|
-
/* @__PURE__ */ e(
|
|
464
|
-
/* @__PURE__ */ e(
|
|
463
|
+
/* @__PURE__ */ e(Fe, { onClick: n }),
|
|
464
|
+
/* @__PURE__ */ e(ze, { className: Ln.stenaFlag })
|
|
465
465
|
]
|
|
466
466
|
}
|
|
467
467
|
)
|
|
468
|
-
] }),
|
|
468
|
+
] }), Tn = ({
|
|
469
469
|
isPinned: n,
|
|
470
470
|
onClick: t,
|
|
471
471
|
label: r
|
|
472
|
-
}) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae :
|
|
472
|
+
}) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae : je }), jt = ({
|
|
473
473
|
className: n,
|
|
474
474
|
children: t,
|
|
475
475
|
onCloseClick: r,
|
|
@@ -493,7 +493,7 @@ const Q = ({
|
|
|
493
493
|
(a || o) && /* @__PURE__ */ i(u, { gap: 1, children: [
|
|
494
494
|
a,
|
|
495
495
|
o && /* @__PURE__ */ e(
|
|
496
|
-
|
|
496
|
+
Tn,
|
|
497
497
|
{
|
|
498
498
|
isPinned: s,
|
|
499
499
|
onClick: l
|
|
@@ -504,10 +504,10 @@ const Q = ({
|
|
|
504
504
|
]
|
|
505
505
|
}
|
|
506
506
|
) })
|
|
507
|
-
] }), $ =
|
|
507
|
+
] }), $ = We(!1), X = () => qe($), $n = ({
|
|
508
508
|
label: n,
|
|
509
509
|
...t
|
|
510
|
-
}) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }),
|
|
510
|
+
}) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), Lt = ({
|
|
511
511
|
closeButtonVisible: n,
|
|
512
512
|
onClickCloseButton: t,
|
|
513
513
|
onClickMenuButton: r,
|
|
@@ -533,7 +533,7 @@ const Q = ({
|
|
|
533
533
|
/* @__PURE__ */ e(u, { gap: 1, children: (l || n) && /* @__PURE__ */ i($.Provider, { value: !0, children: [
|
|
534
534
|
l,
|
|
535
535
|
n && /* @__PURE__ */ e(
|
|
536
|
-
|
|
536
|
+
$n,
|
|
537
537
|
{
|
|
538
538
|
icon: ae,
|
|
539
539
|
label: a,
|
|
@@ -544,16 +544,16 @@ const Q = ({
|
|
|
544
544
|
] })
|
|
545
545
|
]
|
|
546
546
|
}
|
|
547
|
-
),
|
|
547
|
+
), On = ({
|
|
548
548
|
label: n
|
|
549
549
|
}) => X() ? null : /* @__PURE__ */ i(d, { height: "32px", justifyContent: "center", indent: 1, children: [
|
|
550
550
|
/* @__PURE__ */ e(B, {}),
|
|
551
|
-
/* @__PURE__ */ e(
|
|
552
|
-
] }),
|
|
551
|
+
/* @__PURE__ */ e(v, { variant: "overline", size: "smaller", children: n })
|
|
552
|
+
] }), En = ({
|
|
553
553
|
label: n,
|
|
554
554
|
leftIcon: t,
|
|
555
555
|
...r
|
|
556
|
-
}) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(
|
|
556
|
+
}) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...r }) }), At = (n) => X() ? /* @__PURE__ */ e(En, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), Hn = ({
|
|
557
557
|
children: n,
|
|
558
558
|
label: t,
|
|
559
559
|
icon: r,
|
|
@@ -574,13 +574,13 @@ const Q = ({
|
|
|
574
574
|
indent: 1,
|
|
575
575
|
gap: 2,
|
|
576
576
|
children: /* @__PURE__ */ i($.Provider, { value: !1, children: [
|
|
577
|
-
/* @__PURE__ */ e(
|
|
577
|
+
/* @__PURE__ */ e(On, { label: t }),
|
|
578
578
|
n
|
|
579
579
|
] })
|
|
580
580
|
}
|
|
581
581
|
)
|
|
582
582
|
}
|
|
583
|
-
),
|
|
583
|
+
), Tt = ({
|
|
584
584
|
children: n,
|
|
585
585
|
label: t,
|
|
586
586
|
leftIcon: r,
|
|
@@ -588,7 +588,7 @@ const Q = ({
|
|
|
588
588
|
initialExpand: l = !1
|
|
589
589
|
}) => {
|
|
590
590
|
const [a, s] = T(l);
|
|
591
|
-
return X() ? r == null ? null : /* @__PURE__ */ e(
|
|
591
|
+
return X() ? r == null ? null : /* @__PURE__ */ e(Hn, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
|
|
592
592
|
D,
|
|
593
593
|
{
|
|
594
594
|
label: t,
|
|
@@ -598,16 +598,16 @@ const Q = ({
|
|
|
598
598
|
expandable: !0,
|
|
599
599
|
expanded: a,
|
|
600
600
|
selected: a,
|
|
601
|
-
children: /* @__PURE__ */ e(
|
|
601
|
+
children: /* @__PURE__ */ e(Sn, { children: n })
|
|
602
602
|
}
|
|
603
603
|
);
|
|
604
|
-
},
|
|
604
|
+
}, $t = (n) => /* @__PURE__ */ e(
|
|
605
605
|
Ge,
|
|
606
606
|
{
|
|
607
607
|
color: p("--lhds-color-ui-400"),
|
|
608
608
|
...n
|
|
609
609
|
}
|
|
610
|
-
),
|
|
610
|
+
), Wn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Ot = ({
|
|
611
611
|
numItemsSelected: n,
|
|
612
612
|
label: t,
|
|
613
613
|
selectedLabel: r = {
|
|
@@ -618,7 +618,7 @@ const Q = ({
|
|
|
618
618
|
rightContent: l,
|
|
619
619
|
localeId: a = "en-GB"
|
|
620
620
|
}) => {
|
|
621
|
-
const s =
|
|
621
|
+
const s = Wn(
|
|
622
622
|
n,
|
|
623
623
|
r,
|
|
624
624
|
a
|
|
@@ -637,16 +637,16 @@ const Q = ({
|
|
|
637
637
|
borderRadius: "var(--swui-border-radius)",
|
|
638
638
|
children: [
|
|
639
639
|
/* @__PURE__ */ i(c, { alignItems: "center", gap: 2, children: [
|
|
640
|
-
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(
|
|
640
|
+
n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(v, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(v, { children: t }) : t : null }) : null,
|
|
641
641
|
o && /* @__PURE__ */ e(c, { children: o })
|
|
642
642
|
] }),
|
|
643
643
|
/* @__PURE__ */ e(c, { gap: 2, children: l })
|
|
644
644
|
]
|
|
645
645
|
}
|
|
646
646
|
);
|
|
647
|
-
},
|
|
648
|
-
productCard:
|
|
649
|
-
},
|
|
647
|
+
}, Et = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), qn = "_productCard_19x6b_1", Un = {
|
|
648
|
+
productCard: qn
|
|
649
|
+
}, Ht = ({
|
|
650
650
|
renderSelectedProductCard: n,
|
|
651
651
|
renderEditButton: t,
|
|
652
652
|
children: r,
|
|
@@ -657,13 +657,13 @@ const Q = ({
|
|
|
657
657
|
u,
|
|
658
658
|
{
|
|
659
659
|
"data-comp": "ProductCard",
|
|
660
|
-
className:
|
|
660
|
+
className: Un.productCard,
|
|
661
661
|
shadow: l ? "box" : void 0,
|
|
662
662
|
background: p("--moln"),
|
|
663
663
|
borderRadius: "24px",
|
|
664
664
|
overflow: "hidden",
|
|
665
665
|
position: o ? "relative" : void 0,
|
|
666
|
-
...
|
|
666
|
+
...L(a),
|
|
667
667
|
children: [
|
|
668
668
|
n?.(),
|
|
669
669
|
/* @__PURE__ */ e(u, { gap: 2, children: r }),
|
|
@@ -687,7 +687,7 @@ const Q = ({
|
|
|
687
687
|
)
|
|
688
688
|
]
|
|
689
689
|
}
|
|
690
|
-
),
|
|
690
|
+
), Gn = ({ children: n }) => /* @__PURE__ */ e(v, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Wt = ({
|
|
691
691
|
description: n,
|
|
692
692
|
subDescription: t,
|
|
693
693
|
descriptionTags: r,
|
|
@@ -715,32 +715,32 @@ const Q = ({
|
|
|
715
715
|
/* @__PURE__ */ e(P, { variant: "h3", as: f, children: s }),
|
|
716
716
|
/* @__PURE__ */ i(c, { gap: 2, children: [
|
|
717
717
|
l && /* @__PURE__ */ e(u, { justifyContent: "center", children: l }),
|
|
718
|
-
/* @__PURE__ */ e(
|
|
718
|
+
/* @__PURE__ */ e(Gn, { children: a })
|
|
719
719
|
] })
|
|
720
720
|
]
|
|
721
721
|
}
|
|
722
722
|
),
|
|
723
|
-
h && /* @__PURE__ */ e(
|
|
723
|
+
h && /* @__PURE__ */ e(v, { variant: "bold", color: p("--silver-dark"), children: h })
|
|
724
724
|
] }),
|
|
725
725
|
(x || o) && /* @__PURE__ */ i(u, { children: [
|
|
726
726
|
/* @__PURE__ */ i(c, { gap: 1, flexWrap: "wrap", children: [
|
|
727
727
|
r,
|
|
728
|
-
o && /* @__PURE__ */ e(
|
|
728
|
+
o && /* @__PURE__ */ e(Te, { label: o, variant: "passive" })
|
|
729
729
|
] }),
|
|
730
730
|
/* @__PURE__ */ e(B, {})
|
|
731
731
|
] }),
|
|
732
732
|
n && /* @__PURE__ */ i(u, { children: [
|
|
733
|
-
/* @__PURE__ */ e(
|
|
733
|
+
/* @__PURE__ */ e(v, { children: n }),
|
|
734
734
|
/* @__PURE__ */ e(B, {})
|
|
735
735
|
] }),
|
|
736
736
|
t && /* @__PURE__ */ i(u, { children: [
|
|
737
|
-
/* @__PURE__ */ e(
|
|
737
|
+
/* @__PURE__ */ e(v, { children: t }),
|
|
738
738
|
/* @__PURE__ */ e(B, {})
|
|
739
739
|
] }),
|
|
740
740
|
b
|
|
741
741
|
] })
|
|
742
742
|
] });
|
|
743
|
-
},
|
|
743
|
+
}, qt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
|
|
744
744
|
n?.(),
|
|
745
745
|
/* @__PURE__ */ i(d, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
|
|
746
746
|
/* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
|
|
@@ -762,13 +762,13 @@ const Q = ({
|
|
|
762
762
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
|
|
763
763
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
|
|
764
764
|
] })
|
|
765
|
-
] }),
|
|
765
|
+
] }), Ut = ({
|
|
766
766
|
label: n,
|
|
767
767
|
children: t
|
|
768
768
|
}) => /* @__PURE__ */ i(d, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
|
|
769
769
|
/* @__PURE__ */ e(P, { variant: "h3", as: "h2", color: "white", children: n }),
|
|
770
770
|
t
|
|
771
|
-
] }),
|
|
771
|
+
] }), Gt = ({
|
|
772
772
|
title: n,
|
|
773
773
|
variant: t = "normal",
|
|
774
774
|
loading: r,
|
|
@@ -784,9 +784,9 @@ const Q = ({
|
|
|
784
784
|
}) => {
|
|
785
785
|
const { fontSizeRatio: I } = Qe(), S = M({
|
|
786
786
|
query: "(max-width: 460px)"
|
|
787
|
-
}),
|
|
787
|
+
}), C = M({
|
|
788
788
|
query: "(max-width: 360px)"
|
|
789
|
-
}) || S && I > 1.2, _ = r ? "normal" : t, m =
|
|
789
|
+
}) || S && I > 1.2, _ = r ? "normal" : t, m = Kn(_), W = p("--moln"), q = Dn(_);
|
|
790
790
|
return /* @__PURE__ */ i(
|
|
791
791
|
d,
|
|
792
792
|
{
|
|
@@ -795,18 +795,18 @@ const Q = ({
|
|
|
795
795
|
shadow: "box",
|
|
796
796
|
overflow: "hidden",
|
|
797
797
|
position: r ? "relative" : void 0,
|
|
798
|
-
...
|
|
798
|
+
...L(x),
|
|
799
799
|
children: [
|
|
800
800
|
/* @__PURE__ */ i(c, { flex: 1, children: [
|
|
801
|
-
!
|
|
801
|
+
!C && /* @__PURE__ */ i(d, { flex: 2, justifyContent: "center", background: m, children: [
|
|
802
802
|
a?.(),
|
|
803
803
|
o && /* @__PURE__ */ e(K, { color: q, icon: o, size: 73 })
|
|
804
804
|
] }),
|
|
805
805
|
/* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: W, children: /* @__PURE__ */ i(u, { gap: 2, children: [
|
|
806
806
|
n && /* @__PURE__ */ i(c, { justifyContent: "space-between", children: [
|
|
807
807
|
/* @__PURE__ */ i(c, { gap: 2, alignItems: "center", children: [
|
|
808
|
-
|
|
809
|
-
/* @__PURE__ */ e(
|
|
808
|
+
C && l && /* @__PURE__ */ e(E, { icon: l, size: "medium" }),
|
|
809
|
+
/* @__PURE__ */ e(v, { variant: "bold", size: "large", children: n })
|
|
810
810
|
] }),
|
|
811
811
|
_ == "normal" && h?.()
|
|
812
812
|
] }),
|
|
@@ -845,7 +845,7 @@ const Q = ({
|
|
|
845
845
|
]
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
|
-
},
|
|
848
|
+
}, Dn = (n) => {
|
|
849
849
|
switch (n) {
|
|
850
850
|
case "edit":
|
|
851
851
|
return p("--moln");
|
|
@@ -856,7 +856,7 @@ const Q = ({
|
|
|
856
856
|
default:
|
|
857
857
|
he(n);
|
|
858
858
|
}
|
|
859
|
-
},
|
|
859
|
+
}, Kn = (n) => {
|
|
860
860
|
switch (n) {
|
|
861
861
|
case "edit":
|
|
862
862
|
return p("--mussla");
|
|
@@ -867,15 +867,15 @@ const Q = ({
|
|
|
867
867
|
default:
|
|
868
868
|
he(n);
|
|
869
869
|
}
|
|
870
|
-
},
|
|
871
|
-
productSummaryCardImage:
|
|
872
|
-
},
|
|
870
|
+
}, Vn = "_productSummaryCardImage_1knc7_1", Zn = {
|
|
871
|
+
productSummaryCardImage: Vn
|
|
872
|
+
}, Dt = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Zn.productSummaryCardImage }), Kt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
|
|
873
873
|
d,
|
|
874
874
|
{
|
|
875
875
|
borderRadius: "16px",
|
|
876
876
|
shadow: "box",
|
|
877
877
|
overflow: "hidden",
|
|
878
|
-
...
|
|
878
|
+
...L(t),
|
|
879
879
|
children: /* @__PURE__ */ i(c, { flex: 1, children: [
|
|
880
880
|
/* @__PURE__ */ e(
|
|
881
881
|
d,
|
|
@@ -913,7 +913,7 @@ const Q = ({
|
|
|
913
913
|
"tablet",
|
|
914
914
|
"tablet-wide",
|
|
915
915
|
"desktop"
|
|
916
|
-
],
|
|
916
|
+
], ve = () => {
|
|
917
917
|
const n = M({
|
|
918
918
|
query: "(max-width: 768px)"
|
|
919
919
|
}), t = M({
|
|
@@ -924,15 +924,15 @@ const Q = ({
|
|
|
924
924
|
query: "(max-width: 1160px)"
|
|
925
925
|
});
|
|
926
926
|
return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
|
|
927
|
-
},
|
|
928
|
-
const { deviceSize: t } =
|
|
927
|
+
}, Qn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Vt = (n) => {
|
|
928
|
+
const { deviceSize: t } = ve();
|
|
929
929
|
return {
|
|
930
930
|
visible: j(
|
|
931
|
-
() =>
|
|
931
|
+
() => Qn(t, n),
|
|
932
932
|
[t, n]
|
|
933
933
|
)
|
|
934
934
|
};
|
|
935
|
-
},
|
|
935
|
+
}, Xn = ({
|
|
936
936
|
isOpen: n,
|
|
937
937
|
initialIndex: t,
|
|
938
938
|
onUpdateIndex: r,
|
|
@@ -944,9 +944,9 @@ const Q = ({
|
|
|
944
944
|
onRequestClose: g,
|
|
945
945
|
images: b
|
|
946
946
|
}) => {
|
|
947
|
-
const f = Z(null), { deviceSize: x } =
|
|
947
|
+
const f = Z(null), { deviceSize: x } = ve(), I = x !== "mobile", [S, k] = T(t ?? 0), C = ({ index: m }) => {
|
|
948
948
|
k(m), r?.(m);
|
|
949
|
-
}, _ = j(() => b.map((m) =>
|
|
949
|
+
}, _ = j(() => b.map((m) => Jn(m)), [b]);
|
|
950
950
|
return /* @__PURE__ */ e(
|
|
951
951
|
fe,
|
|
952
952
|
{
|
|
@@ -955,7 +955,7 @@ const Q = ({
|
|
|
955
955
|
index: S,
|
|
956
956
|
plugins: [en, nn, tn],
|
|
957
957
|
slides: _,
|
|
958
|
-
on: { view:
|
|
958
|
+
on: { view: C },
|
|
959
959
|
animation: { fade: 0 },
|
|
960
960
|
controller: {
|
|
961
961
|
closeOnPullDown: !0,
|
|
@@ -978,7 +978,7 @@ const Q = ({
|
|
|
978
978
|
R,
|
|
979
979
|
{
|
|
980
980
|
"aria-label": l,
|
|
981
|
-
leftIcon:
|
|
981
|
+
leftIcon: Oe,
|
|
982
982
|
size: "large",
|
|
983
983
|
onClick: () => m.zoomIn()
|
|
984
984
|
}
|
|
@@ -987,7 +987,7 @@ const Q = ({
|
|
|
987
987
|
R,
|
|
988
988
|
{
|
|
989
989
|
"aria-label": a,
|
|
990
|
-
leftIcon:
|
|
990
|
+
leftIcon: Ee,
|
|
991
991
|
size: "large",
|
|
992
992
|
onClick: () => m.zoomOut()
|
|
993
993
|
}
|
|
@@ -1016,7 +1016,7 @@ const Q = ({
|
|
|
1016
1016
|
{
|
|
1017
1017
|
variant: "danger",
|
|
1018
1018
|
"aria-label": h,
|
|
1019
|
-
leftIcon:
|
|
1019
|
+
leftIcon: $e,
|
|
1020
1020
|
size: "large",
|
|
1021
1021
|
onClick: () => f.current?.close()
|
|
1022
1022
|
}
|
|
@@ -1024,14 +1024,14 @@ const Q = ({
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
);
|
|
1027
|
-
},
|
|
1027
|
+
}, Jn = (n) => ({
|
|
1028
1028
|
src: n.url,
|
|
1029
1029
|
width: n.width,
|
|
1030
1030
|
height: n.height,
|
|
1031
1031
|
alt: n.alt,
|
|
1032
1032
|
title: n.title,
|
|
1033
1033
|
description: n.description
|
|
1034
|
-
}),
|
|
1034
|
+
}), Zt = ({
|
|
1035
1035
|
images: n,
|
|
1036
1036
|
initialIndex: t,
|
|
1037
1037
|
altLabelPrevious: r,
|
|
@@ -1045,10 +1045,10 @@ const Q = ({
|
|
|
1045
1045
|
}, []), S = J(() => {
|
|
1046
1046
|
b(!1);
|
|
1047
1047
|
}, []), k = ({ index: m }) => x(m);
|
|
1048
|
-
|
|
1048
|
+
Ue(() => {
|
|
1049
1049
|
x(t ?? 0);
|
|
1050
1050
|
}, [t]);
|
|
1051
|
-
const
|
|
1051
|
+
const C = j(() => n.map(Yn), [n]), _ = j(() => n.map(
|
|
1052
1052
|
(m) => m.fullscreenImage ? {
|
|
1053
1053
|
...m,
|
|
1054
1054
|
url: m.fullscreenImage.url,
|
|
@@ -1062,7 +1062,7 @@ const Q = ({
|
|
|
1062
1062
|
{
|
|
1063
1063
|
controller: { ref: h },
|
|
1064
1064
|
index: f,
|
|
1065
|
-
slides:
|
|
1065
|
+
slides: C,
|
|
1066
1066
|
plugins: [Ye],
|
|
1067
1067
|
on: {
|
|
1068
1068
|
view: k,
|
|
@@ -1107,7 +1107,7 @@ const Q = ({
|
|
|
1107
1107
|
}
|
|
1108
1108
|
),
|
|
1109
1109
|
g && /* @__PURE__ */ e(
|
|
1110
|
-
|
|
1110
|
+
Xn,
|
|
1111
1111
|
{
|
|
1112
1112
|
isOpen: !0,
|
|
1113
1113
|
onRequestClose: S,
|
|
@@ -1122,7 +1122,7 @@ const Q = ({
|
|
|
1122
1122
|
}
|
|
1123
1123
|
)
|
|
1124
1124
|
] });
|
|
1125
|
-
},
|
|
1125
|
+
}, Yn = (n) => ({
|
|
1126
1126
|
src: n.url,
|
|
1127
1127
|
width: n.width,
|
|
1128
1128
|
height: n.height,
|
|
@@ -1132,50 +1132,50 @@ const Q = ({
|
|
|
1132
1132
|
});
|
|
1133
1133
|
export {
|
|
1134
1134
|
rn as ActionMenuFlatButton,
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1135
|
+
mt as ActionMenuPrimaryButton,
|
|
1136
|
+
gt as ActionMenuSecondaryButton,
|
|
1137
|
+
bt as CheckboxMenu,
|
|
1138
|
+
yn as Collapsible,
|
|
1139
|
+
kt as CollapsibleEmptyContent,
|
|
1140
|
+
St as CollapsibleGroupHeading,
|
|
1141
|
+
It as CollapsibleList,
|
|
1142
|
+
_t as CollapsibleWithCheckbox,
|
|
1143
|
+
kn as ErrorPanel,
|
|
1144
|
+
Rt as ErrorScreen,
|
|
1145
|
+
Xn as FullscreenImageCarousel,
|
|
1146
|
+
Zt as ImageCarousel,
|
|
1147
|
+
Rn as LoadingPanel,
|
|
1148
|
+
Mt as LoadingScreen,
|
|
1149
|
+
ft as NavBar,
|
|
1150
1150
|
un as NavBarButton,
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1151
|
+
xt as NavBarHeading,
|
|
1152
|
+
vt as NavBarLink,
|
|
1153
|
+
Bt as NavBarNotificationButton,
|
|
1154
|
+
Ct as NavBarPopoverButton,
|
|
1155
|
+
wt as NavBarSearchField,
|
|
1156
|
+
yt as NavBarUserButton,
|
|
1157
|
+
Nt as PageHeader,
|
|
1158
|
+
Pt as PageHeaderRow,
|
|
1159
|
+
Ft as PageHeading,
|
|
1160
|
+
Ht as ProductCard,
|
|
1161
|
+
Wt as ProductCardContentItem,
|
|
1162
|
+
qt as ProductCardContentItemSkeletor,
|
|
1163
|
+
Gt as ProductSummaryCard,
|
|
1164
|
+
Dt as ProductSummaryCardImage,
|
|
1165
|
+
Kt as ProductSummaryCardSkeletor,
|
|
1166
|
+
Et as SelectedItemsActionsPadding,
|
|
1167
|
+
Ot as SelectedItemsActionsPanel,
|
|
1168
|
+
Ut as SelectedProductCard,
|
|
1169
|
+
zt as SelectionRow,
|
|
1170
|
+
jt as SidebarMenu,
|
|
1171
|
+
Tt as SidebarMenuCollapsible,
|
|
1172
|
+
Sn as SidebarMenuCollapsibleGroupBox,
|
|
1173
|
+
On as SidebarMenuHeading,
|
|
1174
1174
|
At as SidebarMenuLink,
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1175
|
+
$t as SidebarMenuSeparator,
|
|
1176
|
+
Lt as SidebarRailMenu,
|
|
1177
|
+
Qn as isDeviceSameOrLarger,
|
|
1178
|
+
ve as useDeviceSize,
|
|
1179
|
+
Vt as useLayoutVisibility
|
|
1180
1180
|
};
|
|
1181
1181
|
//# sourceMappingURL=index.es.js.map
|