diff --git a/source/dist/style.css b/source/dist/style.css index a02d1c3..e48d676 100644 --- a/source/dist/style.css +++ b/source/dist/style.css @@ -1 +1 @@ -.logo[data-v-356919e0]{position:absolute;display:flex;align-items:center;justify-content:center;height:var(--4d516391);width:var(--4d516391);overflow:hidden;border-radius:50%;background-color:var(--sl-color-neutral-0);box-shadow:var(--9cfd9e6a);& sl-icon[data-v-356919e0]{height:var(--08327592);width:var(--08327592);aspect-ratio:1;color:var(--vi-background-color);animation:zoom-356919e0 3.3s ease-in-out 0s infinite alternate}}@keyframes zoom-356919e0{0%{scale:.75}to{scale:1}}.loader[data-v-356919e0]{font-size:var(--602facef);--indicator-color: var(--0a642916);--track-color: var(--sl-color-neutral-0);--track-width: var(--3a404d66);z-index:1}.loading[data-v-356919e0]{position:absolute;width:100%;height:100%;display:inline-grid;justify-items:center;align-items:center}.v-enter-active[data-v-356919e0],.v-leave-active[data-v-356919e0]{transition:opacity .5s ease}.v-enter-from[data-v-356919e0],.v-leave-to[data-v-356919e0]{opacity:0}.viur-shop-cart-card-img[data-v-3f1dae7a]{aspect-ratio:1}.viur-shop-cart-card[data-v-3f1dae7a]{margin-bottom:var(--sl-spacing-x-large);&[data-v-3f1dae7a]::part(header){border-bottom:none;padding-top:0;padding-right:0}&[data-v-3f1dae7a]::part(image){flex-basis:25%;max-width:250px}&[data-v-3f1dae7a]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}&[data-v-3f1dae7a]::part(group){padding:var(--sl-spacing-small) 0}}.viur-shop-cart-card-body-row[data-v-3f1dae7a]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-card-body-info[data-v-3f1dae7a]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-card-descr[data-v-3f1dae7a]{margin-bottom:auto}.viur-shop-cart-card-body-footer[data-v-3f1dae7a]{display:flex;flex-direction:row;gap:var(--sl-spacing-2x-small);margin-top:var(--sl-spacing-large)}.amount-input[data-v-3f1dae7a]{width:5em}.viur-shop-cart-card-price-wrap[data-v-3f1dae7a]{display:flex;flex-direction:column;.viur-shop-cart-card-small-print[data-v-3f1dae7a] {font-size: .75em; margin-left: auto;}}.viur-shop-cart-card-price[data-v-3f1dae7a]{font-size:1.3em}.viur-shop-cart-card-price-label[data-v-3f1dae7a]{color:var(--ignt-color-primary);font-weight:600;margin-bottom:10px;font-size:1em;margin-left:auto}.viur-shop-cart-wrap[data-v-3acab40a]{flex-direction:row;gap:var(--sl-spacing-x-large);align-items:flex-start}.viur-shop-cart-sidebar-btn-wrap[data-v-3acab40a]{display:flex;flex-direction:column;margin-top:var(--sl-spacing-large);sl-button[data-v-3acab40a] {margin-bottom: var(--sl-spacing-x-small);}}sl-alert[data-v-3acab40a]{margin-top:var(--sl-spacing-medium);margin-bottom:var(--sl-spacing-medium)}.viur-shop-cart-controlbar[data-v-3acab40a]{width:100%;display:flex;justify-content:space-between;align-items:center;sl-input[data-v-3acab40a] {flex: 1; &[data-v-3acab40a]::part(base) {margin-bottom: 0;}}}.viur-shop-cart-button-list[data-v-3acab40a]{display:flex;flex-direction:row;gap:10px;&.left[data-v-3acab40a]{flex:1;margin-right:10px}}.search[data-v-3acab40a]{flex:1 1 100%;margin-left:10px}.article-combobox[data-v-3acab40a]{float:left;width:75ch}.viur-shop-cart-card-img[data-v-3acab40a]{aspect-ratio:1}.viur-shop-cart-selection[data-v-3acab40a]{flex:1}.cart-wrap[data-v-3acab40a]{display:flex;flex-direction:column;width:100%}.soma-input[data-v-3acab40a]{display:grid;grid-template-columns:120px 1fr;align-items:center}.soma-label[data-v-3acab40a]{display:flex;flex-direction:row;align-items:center;sl-icon[data-v-3acab40a] {margin-left: 5px; background-color: @highlightColor; color: #fff; aspect-ratio: 1; border-radius: 50%; padding: .3em; font-size: .6em; cursor: pointer;}}sl-tooltip[data-v-3acab40a]{&[data-v-3acab40a]::part(body){line-height:1.2;font-weight:400;padding:10px}}.cart-tab[data-v-3acab40a]{sl-tab[data-v-3acab40a] {width: 25%; &[data-v-3acab40a]::part(base) {width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; color: var(--sl-color-neutral-400);} &[aria-selected="true"][data-v-3acab40a]::part(base) {color: var(--ignt-color-primary) !important;}}}.cart-status-text[data-v-3acab40a]{font-size:.8em;color:inherit;text-align:center;margin-top:.6em;white-space:initial}.search-box[data-v-3acab40a]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;margin-bottom:30px;sl-button[data-v-3acab40a] {&[data-v-3acab40a]::part(base) {height: 100%;}} @media (--ignt-mq-max-break-medium) {flex-wrap: wrap;}}.article-combobox[data-v-3acab40a]{flex:1 1 100%;margin-bottom:10px;&[data-v-3acab40a]::part(base){margin-bottom:0}@media (--ignt-mq-max-break-medium){margin-bottom:0}}.comission-box[data-v-3acab40a]{margin-right:10px;&[data-v-3acab40a]::part(base){margin-bottom:0}@media (--ignt-mq-max-break-medium){flex:1}}.search-amt[data-v-3acab40a]{margin-right:10px;&[data-v-3acab40a]::part(base){margin-bottom:0;width:80px}}.viur-shop-cart-headline[data-v-3acab40a]{&[data-v-3acab40a]::part(base){background-color:transparent;transition:all ease .3s;border-bottom:1px solid transparent;height:auto}[data-v-3acab40a] .input--focused {border-bottom: 1px solid var(--sl-color-primary-500) !important;} &[data-v-3acab40a]::part(input) {color: var(--sl-color-primary-500); font-weight: 300; text-transform: uppercase; font-size: 1.85em; padding: .1em 0; height: auto;} &[data-v-3acab40a]::part(suffix) {pointer-events: none; width: 1.5em; margin-left: -1em; font-size: 1.5em;} &[data-v-3acab40a]:hover {&[data-v-3acab40a]::part(base) {border-bottom: 1px solid var(--sl-color-primary-500);}}}.viur-shop-cart-descr[data-v-3acab40a]{margin-top:10px;&[data-v-3acab40a]::part(base){background-color:transparent;transition:all ease .3s;border-bottom:1px solid transparent;margin-bottom:0}&[data-v-3acab40a]::part(input){padding:.1em 0;height:auto;color:var(--ignt-color-text)}&[data-v-3acab40a]::part(suffix){pointer-events:none;width:1.5em;margin-left:-1em;font-size:1.5em}&[data-v-3acab40a]:hover{&[data-v-3acab40a]::part(base){border-bottom:1px solid var(--ignt-color-text)}}}sl-menu-item[data-v-3acab40a]{&[data-v-3acab40a]::part(base){padding:.2em .9em .2em .8em}&[data-v-3acab40a]::part(checked-icon){display:none}&[data-v-3acab40a]::part(prefix){margin-right:10px}&[data-v-3acab40a]::part(suffix){margin-right:-1.5em}}.primary-icon[data-v-3acab40a]{color:var(--ignt-color-primary)}.delete-icon[data-v-3acab40a]{color:@warnColor}.dots[data-v-3acab40a]{color:var(--ignt-color-primary);width:1.5em;height:100%;font-size:1em;padding:.4em}.viur-shop-cart-sidebar-info-line[data-v-3acab40a]{display:flex;flex-direction:row;flex-wrap:nowrap;margin:var(--sl-spacing-2x-small) 0;&.total[data-v-3acab40a]{font-weight:600;border-top:1px solid var(--sl-color-neutral-300);border-bottom:1px solid var(--sl-color-neutral-300);padding:var(--sl-spacing-x-small) 0;margin:var(--sl-spacing-small) 0}span[data-v-3acab40a] {margin-right: auto;}}.viur-shop-cart-card[data-v-3acab40a]{margin-bottom:var(--sl-spacing-x-large);&[data-v-3acab40a]::part(header){border-bottom:none;padding-top:0;padding-right:0}&[data-v-3acab40a]::part(image){flex-basis:25%;max-width:250px}&[data-v-3acab40a]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}&[data-v-3acab40a]::part(group){padding:var(--sl-spacing-small) 0}}.viur-shop-cart-card-body-row[data-v-3acab40a]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-card-body-info[data-v-3acab40a]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-card-descr[data-v-3acab40a]{margin-bottom:auto}.viur-shop-cart-card-body-footer[data-v-3acab40a]{display:flex;flex-direction:row;gap:var(--sl-spacing-2x-small);margin-top:var(--sl-spacing-large)}.amount-input[data-v-3acab40a]{width:5em}.viur-shop-cart-card-price-wrap[data-v-3acab40a]{display:flex;flex-direction:column;.viur-shop-cart-card-small-print[data-v-3acab40a] {font-size: .75em; margin-left: auto;}}.viur-shop-cart-card-price[data-v-3acab40a]{font-size:1.3em}.viur-shop-cart-card-price-label[data-v-3acab40a]{color:var(--ignt-color-primary);font-weight:600;margin-bottom:10px;font-size:1em;margin-left:auto}.viur-shop-cart-sidebar-btn-wrap[data-v-65081a13]{display:flex;flex-direction:column;margin-top:var(--sl-spacing-large);sl-button[data-v-65081a13] {margin-bottom: var(--sl-spacing-x-small);}}sl-alert[data-v-65081a13]{margin-top:var(--sl-spacing-medium);margin-bottom:var(--sl-spacing-medium)}sl-tooltip[data-v-65081a13]{&[data-v-65081a13]::part(body){line-height:1.2;font-weight:400;padding:10px}}sl-menu-item[data-v-65081a13]{&[data-v-65081a13]::part(base){padding:.2em .9em .2em .8em}&[data-v-65081a13]::part(checked-icon){display:none}&[data-v-65081a13]::part(prefix){margin-right:10px}&[data-v-65081a13]::part(suffix){margin-right:-1.5em}}.viur-shop-cart-sidebar-info-line[data-v-65081a13]{display:flex;flex-direction:row;flex-wrap:nowrap;margin:var(--sl-spacing-2x-small) 0;span[data-v-65081a13] {margin-right: auto;} &.total[data-v-65081a13] {font-weight: 600; border-top: 1px solid var(--sl-color-neutral-300); border-bottom: 1px solid var(--sl-color-neutral-300); padding: var(--sl-spacing-x-small) 0; margin: var(--sl-spacing-small) 0;}}.viur-shop-cart-mini-card[data-v-65081a13]{margin-bottom:var(--sl-spacing-x-large);&[data-v-65081a13]::part(header){border-bottom:none;padding-top:0;padding-right:0}&[data-v-65081a13]::part(image){flex-basis:25%;max-width:90px}&[data-v-65081a13]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}&[data-v-65081a13]::part(group){padding:var(--sl-spacing-small) 0}}.viur-shop-cart-mini-card-body-row[data-v-65081a13]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-mini-card-body-info[data-v-65081a13]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-mini-card-info-wrap[data-v-65081a13]{display:flex;flex-wrap:nowrap;gap:var(--sl-spacing-medium)}.viur-shop-cart-mini-card-info[data-v-65081a13]{display:flex;flex-direction:row;flex-wrap:nowrap;span[data-v-65081a13] {margin-right: var(--sl-spacing-x-small); font-weight: 600;}}.viur-shop-cart-address-wrap[data-v-65081a13]{display:grid;grid-template-columns:1fr 1fr;gap:var(--sl-spacing-x-large);margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-address-headline[data-v-65081a13]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;font-weight:600}.viur-shop-cart-payment[data-v-65081a13]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;margin-bottom:var(--sl-spacing-x-large);span[data-v-65081a13] {font-weight: 600;}}.viur-shop-wrap[data-v-f09670ea]{flex-direction:row;gap:var(--sl-spacing-x-large);align-items:flex-start}.viur-shop-sidebar[data-v-f09670ea]{display:flex;flex-direction:column;background-color:var(--sl-color-neutral-100);min-width:300px;padding:var(--sl-spacing-medium);position:sticky;top:0}.viur-shop-order-tab[data-v-f09670ea]{sl-tab[data-v-f09670ea] {width: 25%; &[data-v-f09670ea]::part(base) {width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; color: var(--sl-color-neutral-400);} &[aria-selected="true"][data-v-f09670ea]::part(base) {color: var(--ignt-color-primary) !important;}}}.viur-shop-order-step[data-v-f09670ea]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;@media (--ignt-mq-max-break-small){justify-content:center}sl-icon[data-v-f09670ea] {font-size: 2.5em; margin-bottom: 10px; @media (--ignt-mq-max-break-small) {display: none;}}}.viur-shop-order-tab-check[data-v-f09670ea]{position:absolute;right:-.5em;@media (--ignt-mq-max-break-small){font-size:.7em;right:-.35em;top:calc(50% - .35em)}}.viur-shop-order-status-text[data-v-f09670ea]{font-size:.8em;color:inherit;text-align:center;margin-top:.6em;white-space:initial}.viur-shop-form-footer[data-v-f09670ea]{display:flex;justify-content:space-between;margin-top:var(--sl-spacing-large)}.flex-end[data-v-f09670ea]{justify-content:flex-end}.viur-shop-item-card-card[data-v-739d7cc8]{width:100%;&[data-v-739d7cc8]::part(header){padding:var(--sl-spacing-medium) 0}&[data-v-739d7cc8]::part(body){padding:var(--sl-spacing-medium) 0}&[data-v-739d7cc8]::part(footer){padding:var(--sl-spacing-medium) 0}&[data-v-739d7cc8]:hover{.viur-shop-item-card-add-to-cart-btn[data-v-739d7cc8] {opacity: 1;} .viur-shop-item-card-headline[data-v-739d7cc8] {color: var(--sl-color-primary-500);} .viur-shop-item-card-image[data-v-739d7cc8] {transform: scale(1.02);}}}.viur-shop-item-card-footer[data-v-739d7cc8]{display:flex;flex-direction:row;align-items:center;width:100%}.viur-shop-item-card-add-to-cart-btn[data-v-739d7cc8]{transition:all ease .3s;margin-right:var(--sl-spacing-medium);opacity:0}.viur-shop-item-card-add-to-favourites-btn[data-v-739d7cc8]{margin-left:auto}.viur-shop-item-card-image[data-v-739d7cc8]{aspect-ratio:1;object-fit:cover;transition:all ease .3s}.viur-shop-item-card-headline[data-v-739d7cc8]{font-size:1.1em;font-weight:700;color:var(--ignt-basic-color-text);margin-bottom:var(--sl-spacing-2x-small);transition:all ease .3s}.viur-shop-item-card-subline[data-v-739d7cc8]{color:var(--ignt-basic-color-text);margin-bottom:var(--sl-spacing-2x-small)}.viur-shop-item-card-price[data-v-739d7cc8]{font-size:1.1em;font-weight:700;color:var(--ignt-basic-color-text);margin-left:auto}.viur-shop-category-view-list[data-v-73273cad]{display:grid;width:100%;grid-gap:var(--sl-spacing-medium);grid-template-columns:repeat(4,1fr)}.viur-shop-loading-wrap[data-v-73273cad]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;sl-spinner[data-v-73273cad] {font-size: 3.5em; --track-width: 4px;}}.btn-wrap[data-v-8846cc7a]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;margin-top:var(--sl-spacing-x-large)} +.logo[data-v-46c45785]{position:absolute;display:flex;align-items:center;justify-content:center;height:var(--93747d92);width:var(--93747d92);overflow:hidden;border-radius:50%;background-color:var(--sl-color-neutral-0);box-shadow:var(--284424e5)}.logo[data-v-46c45785] sl-icon[data-v-46c45785]{height:var(--6485ca5e);width:var(--6485ca5e);aspect-ratio:1;color:var(--vi-background-color);animation:zoom-46c45785 3.3s ease-in-out 0s infinite alternate}@keyframes zoom-46c45785{0%{scale:.75}to{scale:1}}.loader[data-v-46c45785]{font-size:var(--5d833915);--indicator-color: var(--d5b3feca);--track-color: var(--sl-color-neutral-0);--track-width: var(--2050b700);z-index:1}.loading[data-v-46c45785]{position:absolute;width:100%;height:100%;display:inline-grid;justify-items:center;align-items:center}.v-enter-active[data-v-46c45785],.v-leave-active[data-v-46c45785]{transition:opacity .5s ease}.v-enter-from[data-v-46c45785],.v-leave-to[data-v-46c45785]{opacity:0}.viur-shop-cart-card-img[data-v-0e24135f]{aspect-ratio:1}.viur-shop-cart-card[data-v-0e24135f]{margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-card[data-v-0e24135f][data-v-0e24135f]::part(header){border-bottom:none;padding-top:0;padding-right:0}.viur-shop-cart-card[data-v-0e24135f][data-v-0e24135f]::part(image){flex-basis:25%;max-width:250px}.viur-shop-cart-card[data-v-0e24135f][data-v-0e24135f]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}.viur-shop-cart-card[data-v-0e24135f][data-v-0e24135f]::part(group){padding:var(--sl-spacing-small) 0}.viur-shop-cart-card-body-row[data-v-0e24135f]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-card-body-info[data-v-0e24135f]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-card-descr[data-v-0e24135f]{margin-bottom:auto}.viur-shop-cart-card-body-footer[data-v-0e24135f]{display:flex;flex-direction:row;gap:var(--sl-spacing-2x-small);margin-top:var(--sl-spacing-large)}.amount-input[data-v-0e24135f]{width:5em}.viur-shop-cart-card-price-wrap[data-v-0e24135f]{display:flex;flex-direction:column}.viur-shop-cart-card-price-wrap[data-v-0e24135f] .viur-shop-cart-card-small-print[data-v-0e24135f]{font-size:.75em;margin-left:auto}.viur-shop-cart-card-price[data-v-0e24135f]{font-size:1.3em}.viur-shop-cart-card-price-label[data-v-0e24135f]{color:var(--ignt-color-primary);font-weight:600;margin-bottom:10px;font-size:1em;margin-left:auto}.viur-shop-cart-wrap[data-v-7aae4815]{flex-direction:row;gap:var(--sl-spacing-x-large);align-items:flex-start}.viur-shop-cart-sidebar-btn-wrap[data-v-7aae4815]{display:flex;flex-direction:column;margin-top:var(--sl-spacing-large)}.viur-shop-cart-sidebar-btn-wrap[data-v-7aae4815] sl-button[data-v-7aae4815]{margin-bottom:var(--sl-spacing-x-small)}sl-alert[data-v-7aae4815]{margin-top:var(--sl-spacing-medium);margin-bottom:var(--sl-spacing-medium)}.viur-shop-cart-controlbar[data-v-7aae4815]{width:100%;display:flex;justify-content:space-between;align-items:center}.viur-shop-cart-controlbar[data-v-7aae4815] sl-input[data-v-7aae4815]{flex:1}.viur-shop-cart-controlbar[data-v-7aae4815] sl-input[data-v-7aae4815][data-v-7aae4815]::part(base){margin-bottom:0}.viur-shop-cart-button-list[data-v-7aae4815]{display:flex;flex-direction:row;gap:10px}.viur-shop-cart-button-list[data-v-7aae4815].left[data-v-7aae4815]{flex:1;margin-right:10px}.search[data-v-7aae4815]{flex:1 1 100%;margin-left:10px}.article-combobox[data-v-7aae4815]{float:left;width:75ch}.viur-shop-cart-card-img[data-v-7aae4815]{aspect-ratio:1}.viur-shop-cart-selection[data-v-7aae4815]{flex:1}.cart-wrap[data-v-7aae4815]{display:flex;flex-direction:column;width:100%}.soma-input[data-v-7aae4815]{display:grid;grid-template-columns:120px 1fr;align-items:center}.soma-label[data-v-7aae4815]{display:flex;flex-direction:row;align-items:center}.soma-label[data-v-7aae4815] sl-icon[data-v-7aae4815]{margin-left:5px;background-color:@highlightColor;color:#fff;aspect-ratio:1;border-radius:50%;padding:.3em;font-size:.6em;cursor:pointer}sl-tooltip[data-v-7aae4815][data-v-7aae4815]::part(body){line-height:1.2;font-weight:400;padding:10px}.cart-tab[data-v-7aae4815] sl-tab[data-v-7aae4815]{width:25%}.cart-tab[data-v-7aae4815] sl-tab[data-v-7aae4815][data-v-7aae4815]::part(base){width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;color:var(--sl-color-neutral-400)}.cart-tab[data-v-7aae4815] sl-tab[data-v-7aae4815][aria-selected=true][data-v-7aae4815]::part(base){color:var(--ignt-color-primary)!important}.cart-status-text[data-v-7aae4815]{font-size:.8em;color:inherit;text-align:center;margin-top:.6em;white-space:initial}.search-box[data-v-7aae4815]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;margin-bottom:30px}.search-box[data-v-7aae4815] sl-button[data-v-7aae4815][data-v-7aae4815]::part(base){height:100%}@media (--ignt-mq-max-break-medium){.search-box[data-v-7aae4815]{flex-wrap:wrap}}.article-combobox[data-v-7aae4815]{flex:1 1 100%;margin-bottom:10px}.article-combobox[data-v-7aae4815][data-v-7aae4815]::part(base){margin-bottom:0}@media (--ignt-mq-max-break-medium){.article-combobox[data-v-7aae4815]{margin-bottom:0}}.comission-box[data-v-7aae4815]{margin-right:10px}.comission-box[data-v-7aae4815][data-v-7aae4815]::part(base){margin-bottom:0}@media (--ignt-mq-max-break-medium){.comission-box[data-v-7aae4815]{flex:1}}.search-amt[data-v-7aae4815]{margin-right:10px}.search-amt[data-v-7aae4815][data-v-7aae4815]::part(base){margin-bottom:0;width:80px}.viur-shop-cart-headline[data-v-7aae4815][data-v-7aae4815]::part(base){background-color:transparent;transition:all ease .3s;border-bottom:1px solid transparent;height:auto}.viur-shop-cart-headline[data-v-7aae4815] [data-v-7aae4815] .input--focused{border-bottom:1px solid var(--sl-color-primary-500)!important}.viur-shop-cart-headline[data-v-7aae4815][data-v-7aae4815]::part(input){color:var(--sl-color-primary-500);font-weight:300;text-transform:uppercase;font-size:1.85em;padding:.1em 0;height:auto}.viur-shop-cart-headline[data-v-7aae4815][data-v-7aae4815]::part(suffix){pointer-events:none;width:1.5em;margin-left:-1em;font-size:1.5em}.viur-shop-cart-headline[data-v-7aae4815][data-v-7aae4815]:hover[data-v-7aae4815]::part(base){border-bottom:1px solid var(--sl-color-primary-500)}.viur-shop-cart-descr[data-v-7aae4815]{margin-top:10px}.viur-shop-cart-descr[data-v-7aae4815][data-v-7aae4815]::part(base){background-color:transparent;transition:all ease .3s;border-bottom:1px solid transparent;margin-bottom:0}.viur-shop-cart-descr[data-v-7aae4815][data-v-7aae4815]::part(input){padding:.1em 0;height:auto;color:var(--ignt-color-text)}.viur-shop-cart-descr[data-v-7aae4815][data-v-7aae4815]::part(suffix){pointer-events:none;width:1.5em;margin-left:-1em;font-size:1.5em}.viur-shop-cart-descr[data-v-7aae4815][data-v-7aae4815]:hover[data-v-7aae4815]::part(base){border-bottom:1px solid var(--ignt-color-text)}sl-menu-item[data-v-7aae4815][data-v-7aae4815]::part(base){padding:.2em .9em .2em .8em}sl-menu-item[data-v-7aae4815][data-v-7aae4815]::part(checked-icon){display:none}sl-menu-item[data-v-7aae4815][data-v-7aae4815]::part(prefix){margin-right:10px}sl-menu-item[data-v-7aae4815][data-v-7aae4815]::part(suffix){margin-right:-1.5em}.primary-icon[data-v-7aae4815]{color:var(--ignt-color-primary)}.delete-icon[data-v-7aae4815]{color:@warnColor}.dots[data-v-7aae4815]{color:var(--ignt-color-primary);width:1.5em;height:100%;font-size:1em;padding:.4em}.viur-shop-cart-sidebar-info-line[data-v-7aae4815]{display:flex;flex-direction:row;flex-wrap:nowrap;margin:var(--sl-spacing-2x-small) 0}.viur-shop-cart-sidebar-info-line[data-v-7aae4815].total[data-v-7aae4815]{font-weight:600;border-top:1px solid var(--sl-color-neutral-300);border-bottom:1px solid var(--sl-color-neutral-300);padding:var(--sl-spacing-x-small) 0;margin:var(--sl-spacing-small) 0}.viur-shop-cart-sidebar-info-line[data-v-7aae4815] span[data-v-7aae4815]{margin-right:auto}.viur-shop-cart-card[data-v-7aae4815]{margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-card[data-v-7aae4815][data-v-7aae4815]::part(header){border-bottom:none;padding-top:0;padding-right:0}.viur-shop-cart-card[data-v-7aae4815][data-v-7aae4815]::part(image){flex-basis:25%;max-width:250px}.viur-shop-cart-card[data-v-7aae4815][data-v-7aae4815]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}.viur-shop-cart-card[data-v-7aae4815][data-v-7aae4815]::part(group){padding:var(--sl-spacing-small) 0}.viur-shop-cart-card-body-row[data-v-7aae4815]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-card-body-info[data-v-7aae4815]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-card-descr[data-v-7aae4815]{margin-bottom:auto}.viur-shop-cart-card-body-footer[data-v-7aae4815]{display:flex;flex-direction:row;gap:var(--sl-spacing-2x-small);margin-top:var(--sl-spacing-large)}.amount-input[data-v-7aae4815]{width:5em}.viur-shop-cart-card-price-wrap[data-v-7aae4815]{display:flex;flex-direction:column}.viur-shop-cart-card-price-wrap[data-v-7aae4815] .viur-shop-cart-card-small-print[data-v-7aae4815]{font-size:.75em;margin-left:auto}.viur-shop-cart-card-price[data-v-7aae4815]{font-size:1.3em}.viur-shop-cart-card-price-label[data-v-7aae4815]{color:var(--ignt-color-primary);font-weight:600;margin-bottom:10px;font-size:1em;margin-left:auto}.viur-shop-cart-sidebar-btn-wrap[data-v-75e70e9a]{display:flex;flex-direction:column;margin-top:var(--sl-spacing-large)}.viur-shop-cart-sidebar-btn-wrap[data-v-75e70e9a] sl-button[data-v-75e70e9a]{margin-bottom:var(--sl-spacing-x-small)}sl-alert[data-v-75e70e9a]{margin-top:var(--sl-spacing-medium);margin-bottom:var(--sl-spacing-medium)}sl-tooltip[data-v-75e70e9a][data-v-75e70e9a]::part(body){line-height:1.2;font-weight:400;padding:10px}sl-menu-item[data-v-75e70e9a][data-v-75e70e9a]::part(base){padding:.2em .9em .2em .8em}sl-menu-item[data-v-75e70e9a][data-v-75e70e9a]::part(checked-icon){display:none}sl-menu-item[data-v-75e70e9a][data-v-75e70e9a]::part(prefix){margin-right:10px}sl-menu-item[data-v-75e70e9a][data-v-75e70e9a]::part(suffix){margin-right:-1.5em}.viur-shop-cart-sidebar-info-line[data-v-75e70e9a]{display:flex;flex-direction:row;flex-wrap:nowrap;margin:var(--sl-spacing-2x-small) 0}.viur-shop-cart-sidebar-info-line[data-v-75e70e9a] span[data-v-75e70e9a]{margin-right:auto}.viur-shop-cart-sidebar-info-line[data-v-75e70e9a].total[data-v-75e70e9a]{font-weight:600;border-top:1px solid var(--sl-color-neutral-300);border-bottom:1px solid var(--sl-color-neutral-300);padding:var(--sl-spacing-x-small) 0;margin:var(--sl-spacing-small) 0}.viur-shop-cart-mini-card[data-v-75e70e9a]{margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-mini-card[data-v-75e70e9a][data-v-75e70e9a]::part(header){border-bottom:none;padding-top:0;padding-right:0}.viur-shop-cart-mini-card[data-v-75e70e9a][data-v-75e70e9a]::part(image){flex-basis:25%;max-width:90px}.viur-shop-cart-mini-card[data-v-75e70e9a][data-v-75e70e9a]::part(body){display:flex;flex:1;padding-top:0;padding-bottom:0;padding-right:0}.viur-shop-cart-mini-card[data-v-75e70e9a][data-v-75e70e9a]::part(group){padding:var(--sl-spacing-small) 0}.viur-shop-cart-mini-card-body-row[data-v-75e70e9a]{display:grid;grid-template-columns:1fr auto auto;gap:var(--sl-spacing-large);flex:1}.viur-shop-cart-mini-card-body-info[data-v-75e70e9a]{display:flex;flex-direction:column;height:100%}.viur-shop-cart-mini-card-info-wrap[data-v-75e70e9a]{display:flex;flex-wrap:nowrap;gap:var(--sl-spacing-medium)}.viur-shop-cart-mini-card-info[data-v-75e70e9a]{display:flex;flex-direction:row;flex-wrap:nowrap}.viur-shop-cart-mini-card-info[data-v-75e70e9a] span[data-v-75e70e9a]{margin-right:var(--sl-spacing-x-small);font-weight:600}.viur-shop-cart-address-wrap[data-v-75e70e9a]{display:grid;grid-template-columns:1fr 1fr;gap:var(--sl-spacing-x-large);margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-address-headline[data-v-75e70e9a]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;font-weight:600}.viur-shop-cart-payment[data-v-75e70e9a]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;margin-bottom:var(--sl-spacing-x-large)}.viur-shop-cart-payment[data-v-75e70e9a] span[data-v-75e70e9a]{font-weight:600}.viur-shop-wrap[data-v-61488015]{flex-direction:row;gap:var(--sl-spacing-x-large);align-items:flex-start}.viur-shop-sidebar[data-v-61488015]{display:flex;flex-direction:column;background-color:var(--sl-color-neutral-100);min-width:300px;padding:var(--sl-spacing-medium);position:sticky;top:0}.viur-shop-order-tab[data-v-61488015] sl-tab[data-v-61488015]{width:25%}.viur-shop-order-tab[data-v-61488015] sl-tab[data-v-61488015][data-v-61488015]::part(base){width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;color:var(--sl-color-neutral-400)}.viur-shop-order-tab[data-v-61488015] sl-tab[data-v-61488015][aria-selected=true][data-v-61488015]::part(base){color:var(--ignt-color-primary)!important}.viur-shop-order-step[data-v-61488015]{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}@media (--ignt-mq-max-break-small){.viur-shop-order-step[data-v-61488015]{justify-content:center}}.viur-shop-order-step[data-v-61488015] sl-icon[data-v-61488015]{font-size:2.5em;margin-bottom:10px}@media (--ignt-mq-max-break-small){.viur-shop-order-step[data-v-61488015] sl-icon[data-v-61488015]{display:none}}.viur-shop-order-tab-check[data-v-61488015]{position:absolute;right:-.5em}@media (--ignt-mq-max-break-small){.viur-shop-order-tab-check[data-v-61488015]{font-size:.7em;right:-.35em;top:calc(50% - .35em)}}.viur-shop-order-status-text[data-v-61488015]{font-size:.8em;color:inherit;text-align:center;margin-top:.6em;white-space:initial}.viur-shop-form-footer[data-v-61488015]{display:flex;justify-content:space-between;margin-top:var(--sl-spacing-large)}.flex-end[data-v-61488015]{justify-content:flex-end}.viur-shop-item-card-card[data-v-dc32dd0b]{width:100%}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]::part(header){padding:var(--sl-spacing-medium) 0}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]::part(body){padding:var(--sl-spacing-medium) 0}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]::part(footer){padding:var(--sl-spacing-medium) 0}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]:hover .viur-shop-item-card-add-to-cart-btn[data-v-dc32dd0b]{opacity:1}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]:hover .viur-shop-item-card-headline[data-v-dc32dd0b]{color:var(--sl-color-primary-500)}.viur-shop-item-card-card[data-v-dc32dd0b][data-v-dc32dd0b]:hover .viur-shop-item-card-image[data-v-dc32dd0b]{transform:scale(1.02)}.viur-shop-item-card-footer[data-v-dc32dd0b]{display:flex;flex-direction:row;align-items:center;width:100%}.viur-shop-item-card-add-to-cart-btn[data-v-dc32dd0b]{transition:all ease .3s;margin-right:var(--sl-spacing-medium);opacity:0}.viur-shop-item-card-add-to-favourites-btn[data-v-dc32dd0b]{margin-left:auto}.viur-shop-item-card-image[data-v-dc32dd0b]{aspect-ratio:1;object-fit:cover;transition:all ease .3s}.viur-shop-item-card-headline[data-v-dc32dd0b]{font-size:1.1em;font-weight:700;color:var(--ignt-basic-color-text);margin-bottom:var(--sl-spacing-2x-small);transition:all ease .3s}.viur-shop-item-card-subline[data-v-dc32dd0b]{color:var(--ignt-basic-color-text);margin-bottom:var(--sl-spacing-2x-small)}.viur-shop-item-card-price[data-v-dc32dd0b]{font-size:1.1em;font-weight:700;color:var(--ignt-basic-color-text);margin-left:auto}.viur-shop-category-view-list[data-v-532e5cf3]{display:grid;width:100%;grid-gap:var(--sl-spacing-medium);grid-template-columns:repeat(4,1fr)}.viur-shop-loading-wrap[data-v-532e5cf3]{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center}.viur-shop-loading-wrap[data-v-532e5cf3] sl-spinner[data-v-532e5cf3]{font-size:3.5em;--track-width: 4px}.btn-wrap[data-v-36ccc280]{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;margin-top:var(--sl-spacing-x-large)} diff --git a/source/dist/viur-shop-components.es.js b/source/dist/viur-shop-components.es.js index e33cc52..63873a4 100644 --- a/source/dist/viur-shop-components.es.js +++ b/source/dist/viur-shop-components.es.js @@ -1,17 +1,14 @@ -import { reactive, computed, useCssVars, resolveComponent, openBlock, createBlock, Transition, withCtx, createElementBlock, createVNode, createElementVNode, createCommentVNode, Fragment, createTextVNode, toDisplayString, onBeforeMount, pushScopeId, popScopeId, ref, renderList, unref, Teleport, resolveDynamicComponent, mergeProps, normalizeClass, withDirectives, vShow, shallowRef } from "vue"; -import { Request } from "@viur/vue-utils"; -import { defineStore } from "pinia"; -import { ViURShopClient } from "@viur/viur-shop-client"; +import { reactive as R, computed as C, useCssVars as L, resolveComponent as v, openBlock as c, createBlock as N, Transition as M, withCtx as f, createElementBlock as k, createVNode as l, createElementVNode as e, createCommentVNode as B, Fragment as x, createTextVNode as i, toDisplayString as S, onBeforeMount as E, pushScopeId as T, popScopeId as j, ref as P, renderList as q, unref as z, Teleport as Q, resolveDynamicComponent as X, mergeProps as Y, normalizeClass as ee, withDirectives as te, vShow as se, shallowRef as ae } from "vue"; +import { Request as U } from "@viur/vue-utils"; +import { defineStore as oe } from "pinia"; +import { ViURShopClient as ne } from "@viur/viur-shop-client"; import "vue-router"; -var Loader_vue_vue_type_style_index_0_scoped_true_lang = ""; -var _export_sfc = (sfc, props) => { - const target = sfc.__vccOpts || sfc; - for (const [key, val] of props) { - target[key] = val; - } - return target; -}; -const __default__ = { +const O = (t, n) => { + const o = t.__vccOpts || t; + for (const [p, s] of n) + o[p] = s; + return o; +}, K = { props: { size: { type: String, @@ -19,7 +16,7 @@ const __default__ = { }, active: { type: Boolean, - default: true + default: !0 }, logo: { default: "logo-cube.svg", @@ -30,265 +27,209 @@ const __default__ = { type: String } }, - setup(props, context) { - const state = reactive({ - trackWidth: computed(() => { - return `${props.size / 30}rem`; - }), - outerSize: computed(() => { - return `calc(${props.size}rem + ${state.trackWidth})`; - }), - spinnerSize: computed(() => { - return `${props.size}rem`; - }), - logoSize: computed(() => { - return `calc(${props.size}rem - ${state.trackWidth} * 10)`; - }), - shadow: computed(() => { - return `0px 0px ${props.size / 6}rem 0 color-mix(in hsl, var(--sl-color-neutral-1000), 80% transparent)`; - }) + setup(t, n) { + const o = R({ + trackWidth: C(() => `${t.size / 30}rem`), + outerSize: C(() => `calc(${t.size}rem + ${o.trackWidth})`), + spinnerSize: C(() => `${t.size}rem`), + logoSize: C(() => `calc(${t.size}rem - ${o.trackWidth} * 10)`), + shadow: C(() => `0px 0px ${t.size / 6}rem 0 color-mix(in hsl, var(--sl-color-neutral-1000), 80% transparent)`) }); - return { state }; + return { state: o }; } -}; -const __injectCSSVars__ = () => { - useCssVars((_ctx) => ({ - "4d516391": _ctx.state.outerSize, - "9cfd9e6a": _ctx.state.shadow, - "08327592": _ctx.state.logoSize, - "602facef": _ctx.state.spinnerSize, - "0a642916": _ctx.color, - "3a404d66": _ctx.state.trackWidth +}, Z = () => { + L((t) => ({ + "93747d92": t.state.outerSize, + "284424e5": t.state.shadow, + "6485ca5e": t.state.logoSize, + "5d833915": t.state.spinnerSize, + d5b3feca: t.color, + "2050b700": t.state.trackWidth })); -}; -const __setup__ = __default__.setup; -__default__.setup = __setup__ ? (props, ctx) => { - __injectCSSVars__(); - return __setup__(props, ctx); -} : __injectCSSVars__; -const _sfc_main$6 = __default__; -const _hoisted_1$4 = { +}, H = K.setup; +K.setup = H ? (t, n) => (Z(), H(t, n)) : Z; +const re = { key: 0, class: "loading" -}; -const _hoisted_2$4 = { class: "logo" }; -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_sl_spinner = resolveComponent("sl-spinner"); - const _component_sl_icon = resolveComponent("sl-icon"); - return openBlock(), createBlock(Transition, null, { - default: withCtx(() => [ - $props.active ? (openBlock(), createElementBlock("div", _hoisted_1$4, [ - createVNode(_component_sl_spinner, { class: "loader" }), - createElementVNode("div", _hoisted_2$4, [ - createVNode(_component_sl_icon, { src: $props.logo }, null, 8, ["src"]) +}, ie = { class: "logo" }; +function le(t, n, o, p, s, d) { + const $ = v("sl-spinner"), b = v("sl-icon"); + return c(), N(M, null, { + default: f(() => [ + o.active ? (c(), k("div", re, [ + l($, { class: "loader" }), + e("div", ie, [ + l(b, { src: o.logo }, null, 8, ["src"]) ]) - ])) : createCommentVNode("", true) + ])) : B("", !0) ]), _: 1 }); } -var Loader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render], ["__scopeId", "data-v-356919e0"]]); -const useCartStore = defineStore("cartstore", () => { - const shopClient = new ViURShopClient({ +const ce = /* @__PURE__ */ O(K, [["render", le], ["__scopeId", "data-v-46c45785"]]), G = oe("cartstore", () => { + const t = new ne({ host_url: window.location.origin === "http://localhost:8081" ? "http://localhost:8080" : window.location.origin - }); - const state = reactive({ + }), n = R({ basketRootNode: {}, whishlistRootNodes: [], children: {}, structure: { address: {}, cart: {} } }); - async function init() { - await getRootNodes(); + async function o() { + await s(); } - async function getChildren(parentKey) { - let resp = await shopClient.cart_list({ cart_key: parentKey }); - return resp; + async function p(r) { + return await t.cart_list({ cart_key: r }); } - async function getRootNodes() { - let resp = await shopClient.cart_list(); - resp.forEach((rootNode) => { - if (rootNode.is_root_node) { - if (rootNode.cart_type === "basket") { - state.basketRootNode = rootNode; - } else { - state.whishlistRootNodes.push(rootNode); - } - } + async function s() { + (await t.cart_list()).forEach((a) => { + a.is_root_node && (a.cart_type === "basket" ? n.basketRootNode = a : n.whishlistRootNodes.push(a)); }); } - async function addToCart(articleKey, cartKey) { - let resp = await shopClient.article_add({ - article_key: articleKey, - parent_cart_key: cartKey + async function d(r, a) { + let _ = await t.article_add({ + article_key: r, + parent_cart_key: a }); - console.log("addToCart", resp); + console.log("addToCart", _); } - async function getArticleView(articleKey, cartKey) { - let article = await shopClient.article_view({ - article_key: articleKey, - parent_cart_key: cartKey + async function $(r, a) { + let _ = await t.article_view({ + article_key: r, + parent_cart_key: a }); - console.log("getArticleView", article); + console.log("getArticleView", _); } - async function removeItem(articleKey, cartKey) { - let resp = await shopClient.article_remove({ - article_key: articleKey, - parent_cart_key: cartKey + async function b(r, a) { + let _ = await t.article_remove({ + article_key: r, + parent_cart_key: a }); - console.log("remove Resp", resp); + console.log("remove Resp", _); } - async function updateItem(articleKey, cartKey, quantity) { - let resp = await shopClient.article_update({ - article_key: articleKey, - parent_cart_key: cartKey, - quantity, + async function m(r, a, _) { + let h = await t.article_update({ + article_key: r, + parent_cart_key: a, + quantity: _, quantity_mode: "replace" }); - console.log("update Resp", resp); + console.log("update Resp", h); } - async function getAdressStructure() { - let addSkel = await shopClient.address_structure(); - state.structure.address = addSkel.addSkel; - console.log("adress add", state.structure.address); + async function y() { + let r = await t.address_structure(); + n.structure.address = r.addSkel, console.log("adress add", n.structure.address); } return { - state, - addToCart, - getArticleView, - removeItem, - updateItem, - init, - getAdressStructure, - getChildren + state: n, + addToCart: d, + getArticleView: $, + removeItem: b, + updateItem: m, + init: o, + getAdressStructure: y, + getChildren: p }; -}); -const _sfc_main$5 = { +}), de = { __name: "CartNode", props: { - node: { type: Object, required: true } + node: { type: Object, required: !0 } }, - setup(__props) { - reactive({}); - return (_ctx, _cache) => { - return openBlock(), createElementBlock(Fragment, null, [ - createTextVNode(" cartnode "), - createElementVNode("pre", null, toDisplayString(__props.node.name), 1) - ], 64); - }; + setup(t) { + return R({}), (n, o) => (c(), k(x, null, [ + i(" cartnode "), + e("pre", null, S(t.node.name), 1) + ], 64)); } -}; -var CartLeaf_vue_vue_type_style_index_0_scoped_true_lang = ""; -const _withScopeId$3 = (n) => (pushScopeId("data-v-3f1dae7a"), n = n(), popScopeId(), n); -const _hoisted_1$3 = ["src"]; -const _hoisted_2$3 = { +}, F = (t) => (T("data-v-0e24135f"), t = t(), j(), t), ue = ["src"], _e = { class: "viur-shop-cart-card-header", slot: "header" -}; -const _hoisted_3$3 = { class: "viur-shop-cart-card-headline headline" }; -const _hoisted_4$3 = { class: "viur-shop-cart-card-body-row" }; -const _hoisted_5$2 = { class: "viur-shop-cart-card-body-info" }; -const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-card-descr" }, [ - /* @__PURE__ */ createTextVNode(" Version: 900x900x2000 "), - /* @__PURE__ */ createElementVNode("br"), - /* @__PURE__ */ createTextVNode(" Farbe: Chromoptik "), - /* @__PURE__ */ createElementVNode("br"), - /* @__PURE__ */ createTextVNode(" Glasart: Klar hell mit Edelglasbeschichtung"), - /* @__PURE__ */ createElementVNode("br"), - /* @__PURE__ */ createTextVNode(" Anschlag: Beidseitig variabel"), - /* @__PURE__ */ createElementVNode("br"), - /* @__PURE__ */ createTextVNode(" Griff: Stangengriff Exklusiv (56) ") -], -1)); -const _hoisted_7$2 = { class: "viur-shop-cart-card-body-footer" }; -const _hoisted_8$2 = { class: "viur-shop-cart-card-body-amount" }; -const _hoisted_9$2 = { +}, he = { class: "viur-shop-cart-card-headline headline" }, pe = { class: "viur-shop-cart-card-body-row" }, me = { class: "viur-shop-cart-card-body-info" }, fe = /* @__PURE__ */ F(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-card-descr" }, [ + /* @__PURE__ */ i(" Version: 900x900x2000 "), + /* @__PURE__ */ e("br"), + /* @__PURE__ */ i(" Farbe: Chromoptik "), + /* @__PURE__ */ e("br"), + /* @__PURE__ */ i(" Glasart: Klar hell mit Edelglasbeschichtung"), + /* @__PURE__ */ e("br"), + /* @__PURE__ */ i(" Anschlag: Beidseitig variabel"), + /* @__PURE__ */ e("br"), + /* @__PURE__ */ i(" Griff: Stangengriff Exklusiv (56) ") +], -1)), ve = { class: "viur-shop-cart-card-body-footer" }, be = { class: "viur-shop-cart-card-body-amount" }, ye = { class: "viur-shop-cart-card-price-wrap", slot: "footer" -}; -const _hoisted_10$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-card-price-label" }, "Preis", -1)); -const _hoisted_11$2 = { class: "viur-shop-cart-card-price" }; -const _hoisted_12$2 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-card-small-print" }, "Brutto / Stk.", -1)); -const _sfc_main$4 = { +}, ke = /* @__PURE__ */ F(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-card-price-label" }, "Preis", -1)), ge = { class: "viur-shop-cart-card-price" }, we = /* @__PURE__ */ F(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-card-small-print" }, "Brutto / Stk.", -1)), $e = { __name: "CartLeaf", props: { - leaf: { type: Object, required: true }, - node: { type: Object, required: true } + leaf: { type: Object, required: !0 }, + node: { type: Object, required: !0 } }, emits: ["updateItem", "removeItem"], - setup(__props, { emit: __emit }) { - const props = __props; - const emit = __emit; - const state = reactive({ + setup(t, { emit: n }) { + const o = t, p = n, s = R({ leaf: {} }); - function getImage(image) { - if (image !== void 0) - return Request.downloadUrlFor(image); - return "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"; + function d(m) { + return m !== void 0 ? U.downloadUrlFor(m) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"; } - function updateItem(item, articleKey, node, quantity) { - emit("updateItem", { - item, - articleKey, - node, - quantity + function $(m, y, r, a) { + p("updateItem", { + item: m, + articleKey: y, + node: r, + quantity: a }); } - function removeItem(item, articleKey, node) { - emit("removeItem", { item, articleKey, node }); + function b(m, y, r) { + p("removeItem", { item: m, articleKey: y, node: r }); } - onBeforeMount(() => { - state.leaf = props.leaf; - }); - return (_ctx, _cache) => { - const _component_sl_icon = resolveComponent("sl-icon"); - const _component_sl_button = resolveComponent("sl-button"); - const _component_sl_input = resolveComponent("sl-input"); - const _component_sl_card = resolveComponent("sl-card"); - return openBlock(), createElementBlock(Fragment, null, [ - createTextVNode(" cartleafe "), - createVNode(_component_sl_card, { + return E(() => { + s.leaf = o.leaf; + }), (m, y) => { + const r = v("sl-icon"), a = v("sl-button"), _ = v("sl-input"), h = v("sl-card"); + return c(), k(x, null, [ + i(" cartleafe "), + l(h, { horizontal: "", class: "viur-shop-cart-card" }, { - default: withCtx(() => [ - createElementVNode("img", { + default: f(() => [ + e("img", { class: "viur-shop-cart-card-img", slot: "image", - src: getImage(state.leaf.shop_image ? state.leaf.shop_image : void 0) - }, null, 8, _hoisted_1$3), - createElementVNode("div", _hoisted_2$3, [ - createElementVNode("h4", _hoisted_3$3, toDisplayString(state.leaf.shop_name) + " | " + toDisplayString(__props.leaf.shop_art_no_or_gtin), 1) + src: d(s.leaf.shop_image ? s.leaf.shop_image : void 0) + }, null, 8, ue), + e("div", _e, [ + e("h4", he, S(s.leaf.shop_name) + " | " + S(t.leaf.shop_art_no_or_gtin), 1) ]), - createElementVNode("div", _hoisted_4$3, [ - createElementVNode("div", _hoisted_5$2, [ - _hoisted_6$2, - createElementVNode("div", _hoisted_7$2, [ - createVNode(_component_sl_button, { + e("div", pe, [ + e("div", me, [ + fe, + e("div", ve, [ + l(a, { size: "small", outline: "", class: "viur-shop-cart-card-add-to-favourites-btn", variant: "primary", title: "Add to favourites" }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(r, { name: "heart", slot: "prefix" }) ]), _: 1 }), - createVNode(_component_sl_button, { + l(a, { size: "small", outline: "", class: "viur-shop-cart-card-delete-btn", variant: "primary", title: "Remove from cart", - onClick: _cache[0] || (_cache[0] = ($event) => removeItem(state.leaf, state.leaf.article.dest.key, __props.node)) + onClick: y[0] || (y[0] = (I) => b(s.leaf, s.leaf.article.dest.key, t.node)) }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(r, { name: "trash", slot: "prefix" }) @@ -297,27 +238,27 @@ const _sfc_main$4 = { }) ]) ]), - createElementVNode("div", _hoisted_8$2, [ - createVNode(_component_sl_input, { + e("div", be, [ + l(_, { class: "amount-input", type: "number", label: "Anzahl", placeholder: "Number", min: "0", - modelValue: state.leaf.quantity, - "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => state.leaf.quantity = $event), - onInput: _cache[2] || (_cache[2] = ($event) => updateItem( - state.leaf, - state.leaf.article.dest.key, - __props.node, - state.leaf.quantity + modelValue: s.leaf.quantity, + "onUpdate:modelValue": y[1] || (y[1] = (I) => s.leaf.quantity = I), + onInput: y[2] || (y[2] = (I) => $( + s.leaf, + s.leaf.article.dest.key, + t.node, + s.leaf.quantity )) }, null, 8, ["modelValue"]) ]), - createElementVNode("div", _hoisted_9$2, [ - _hoisted_10$2, - createElementVNode("div", _hoisted_11$2, toDisplayString(state.leaf.price.retail) + " \u20AC ", 1), - _hoisted_12$2 + e("div", ye, [ + ke, + e("div", ge, S(s.leaf.price.retail) + " € ", 1), + we ]) ]) ]), @@ -326,157 +267,91 @@ const _sfc_main$4 = { ], 64); }; } -}; -var CartLeaf = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3f1dae7a"]]); -var CartView_vue_vue_type_style_index_0_scoped_true_lang = ""; -const _withScopeId$2 = (n) => (pushScopeId("data-v-6c25a013"), n = n(), popScopeId(), n); -const _hoisted_1$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("p", null, "M\xF6chten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)); -const _hoisted_2$2 = { +}, Ie = /* @__PURE__ */ O($e, [["__scopeId", "data-v-0e24135f"]]), V = (t) => (T("data-v-7aae4815"), t = t(), j(), t), Ce = /* @__PURE__ */ V(() => /* @__PURE__ */ e("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Se = { class: "footer-wrap", slot: "footer" -}; -const _hoisted_3$2 = { key: 0 }; -const _hoisted_4$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)); -const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_6$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_7$1 = { class: "viur-shop-cart-sidebar-info-line" }; -const _hoisted_8$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "Zwischensumme", -1)); -const _hoisted_9$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-sidebar-info-line" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Rabatt"), - /* @__PURE__ */ createTextVNode(" 0 \u20AC ") -], -1)); -const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-sidebar-info-line" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Versandkosten"), - /* @__PURE__ */ createTextVNode(" 0 \u20AC ") -], -1)); -const _hoisted_11$1 = { class: "viur-shop-cart-sidebar-info-line total" }; -const _hoisted_12$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", null, "Gesamt:", -1)); -const _hoisted_13$1 = { class: "viur-shop-cart-sidebar-btn-wrap" }; -const _sfc_main$3 = { +}, Ne = { key: 0 }, ze = /* @__PURE__ */ V(() => /* @__PURE__ */ e("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)), xe = /* @__PURE__ */ V(() => /* @__PURE__ */ e("br", null, null, -1)), Re = /* @__PURE__ */ V(() => /* @__PURE__ */ e("br", null, null, -1)), Ve = { class: "viur-shop-cart-sidebar-info-line" }, Be = /* @__PURE__ */ V(() => /* @__PURE__ */ e("span", null, "Zwischensumme", -1)), qe = /* @__PURE__ */ V(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-sidebar-info-line" }, [ + /* @__PURE__ */ e("span", null, "Rabatt"), + /* @__PURE__ */ i(" 0 € ") +], -1)), Oe = /* @__PURE__ */ V(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-sidebar-info-line" }, [ + /* @__PURE__ */ e("span", null, "Versandkosten"), + /* @__PURE__ */ i(" 0 € ") +], -1)), Ae = { class: "viur-shop-cart-sidebar-info-line total" }, Ee = /* @__PURE__ */ V(() => /* @__PURE__ */ e("span", null, "Gesamt:", -1)), Te = { class: "viur-shop-cart-sidebar-btn-wrap" }, je = { __name: "CartView", props: { mode: { type: String, default: "basket" }, - cartKey: { type: String, required: true }, - sidebar: { type: Boolean, default: true } + cartKey: { type: String, required: !0 }, + sidebar: { type: Boolean, default: !0 } }, - setup(__props) { - const props = __props; - const cartStore = useCartStore(); - const confirm = ref(null); - const state = reactive({ - cartIsInit: computed(() => { - return cartStore.state.basketRootNode ? true : false; - }), - itemsIsInit: computed(() => { - return true; - }), + setup(t) { + const n = t, o = G(), p = P(null), s = R({ + cartIsInit: C(() => !!o.state.basketRootNode), + itemsIsInit: C(() => !0), images: {}, currentItem: {}, currentNode: {}, nodes: [], leaves: {} }); - computed(() => { - return props.mode === "basket" ? cartStore.state.basket : props.cartKey; - }); - async function onConfirm() { - await cartStore.updateItem( - state.currentItem.article.dest.key, - state.currentNode.key, + C(() => n.mode === "basket" ? o.state.basket : n.cartKey); + async function d() { + await o.updateItem( + s.currentItem.article.dest.key, + s.currentNode.key, 0 - ); - await updateCart(); - confirm.value.hide(); + ), await y(), p.value.hide(); } - async function updateItem(e) { - console.log("updateItem :", e); - if (e.quantity === 0) { - confirm.value.show(); - state.currentItem = e.item; - state.currentNode = e.node; - } else { - await cartStore.updateItem(e.articleKey, e.node.key, e.quantity); - await cartStore.init(); - } + async function $(a) { + console.log("updateItem :", a), a.quantity === 0 ? (p.value.show(), s.currentItem = a.item, s.currentNode = a.node) : (await o.updateItem(a.articleKey, a.node.key, a.quantity), await o.init()); } - function removeItem(e) { - console.log("removeItem :", e); - confirm.value.show(); - state.currentItem = e.item; - state.currentNode = e.node; + function b(a) { + console.log("removeItem :", a), p.value.show(), s.currentItem = a.item, s.currentNode = a.node; } - async function onDialogHide() { - state.leaves[state.currentNode.key].forEach((item) => { - if (item.key === state.currentItem.key) { - item.quantity = 1; - } - }); - state.currentItem = {}; - state.currentNode = {}; + async function m() { + s.leaves[s.currentNode.key].forEach((a) => { + a.key === s.currentItem.key && (a.quantity = 1); + }), s.currentItem = {}, s.currentNode = {}; } - async function updateCart() { - state.nodes = []; - state.leaves = {}; - await cartStore.init(); - await getChildren(); + async function y() { + s.nodes = [], s.leaves = {}, await o.init(), await r(); } - async function getChildren(parentKey = props.cartKey) { - console.log("debug getChildren parentKey from comp: ", parentKey); - const children = await cartStore.getChildren(parentKey); - console.log("getChildren children: ", children); - children.forEach(async (child) => { - if (child.skel_type === "node") { - state.nodes.push(child); - await getChildren(child.key); - } else { - if (!Object.keys(state.leaves).includes(parentKey)) { - state.leaves[parentKey] = []; - } - state.leaves[parentKey].push(child); - } + async function r(a = n.cartKey) { + console.log("debug getChildren parentKey from comp: ", a); + const _ = await o.getChildren(a); + console.log("getChildren children: ", _), _.forEach(async (h) => { + h.skel_type === "node" ? (s.nodes.push(h), await r(h.key)) : (Object.keys(s.leaves).includes(a) || (s.leaves[a] = []), s.leaves[a].push(h)); }); } - onBeforeMount(async () => { - await cartStore.init(); - await getChildren(); - if (props.mode === "basket") { - state.nodes.push(cartStore.state.basketRootNode); - } - console.log("state.nodes test", state.nodes); - console.log("state.leaves", state.leaves); - }); - return (_ctx, _cache) => { - const _component_sl_spinner = resolveComponent("sl-spinner"); - const _component_sl_button = resolveComponent("sl-button"); - const _component_sl_dialog = resolveComponent("sl-dialog"); - const _component_sl_input = resolveComponent("sl-input"); - const _component_sl_icon = resolveComponent("sl-icon"); - return !__props.cartKey.length ? (openBlock(), createBlock(_component_sl_spinner, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [ - createVNode(_component_sl_dialog, { + return E(async () => { + await o.init(), await r(), n.mode === "basket" && s.nodes.push(o.state.basketRootNode), console.log("state.nodes test", s.nodes), console.log("state.leaves", s.leaves); + }), (a, _) => { + const h = v("sl-spinner"), I = v("sl-button"), D = v("sl-dialog"), W = v("sl-input"), g = v("sl-icon"); + return t.cartKey.length ? (c(), k(x, { key: 1 }, [ + l(D, { ref_key: "confirm", - ref: confirm, - onSlHide: onDialogHide + ref: p, + onSlHide: m }, { - default: withCtx(() => [ - _hoisted_1$2, - createElementVNode("div", _hoisted_2$2, [ - createVNode(_component_sl_button, { + default: f(() => [ + Ce, + e("div", Se, [ + l(I, { variant: "danger", - onClick: _cache[0] || (_cache[0] = ($event) => confirm.value.hide()), + onClick: _[0] || (_[0] = (w) => p.value.hide()), size: "medium" }, { - default: withCtx(() => [ - createTextVNode(" Abbrechen ") + default: f(() => [ + i(" Abbrechen ") ]), _: 1 }), - createVNode(_component_sl_button, { + l(I, { variant: "success", - onClick: onConfirm, + onClick: d, size: "medium" }, { - default: withCtx(() => [ - createTextVNode(" Aus Warenkorb entfernen ") + default: f(() => [ + i(" Aus Warenkorb entfernen ") ]), _: 1 }) @@ -484,177 +359,116 @@ const _sfc_main$3 = { ]), _: 1 }, 512), - (openBlock(true), createElementBlock(Fragment, null, renderList(state.nodes, (node) => { - return openBlock(), createElementBlock("div", null, [ - Object.keys(state.leaves).includes(node.key) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [ - createVNode(_sfc_main$5, { node }, null, 8, ["node"]), - (openBlock(true), createElementBlock(Fragment, null, renderList(state.leaves[node.key], (leaf) => { - return openBlock(), createBlock(CartLeaf, { - key: leaf.key, - leaf, - node, - onRemoveItem: removeItem, - onUpdateItem: updateItem - }, null, 8, ["leaf", "node"]); - }), 128)) - ], 64)) : createCommentVNode("", true) - ]); - }), 256)), - __props.sidebar ? (openBlock(), createElementBlock("div", _hoisted_3$2, [ - _hoisted_4$2, - _hoisted_5$1, - createVNode(_component_sl_input, { label: "Rabattcode eingeben" }), - _hoisted_6$1, - createElementVNode("div", _hoisted_7$1, [ - _hoisted_8$1, - createTextVNode(" --> " + toDisplayString(__props.mode === "basket" ? unref(cartStore).state.basketRootNode.total : unref(cartStore).state.whishlistRootNodes[__props.cartKey].total) + " \u20AC ", 1) + (c(!0), k(x, null, q(s.nodes, (w) => (c(), k("div", null, [ + Object.keys(s.leaves).includes(w.key) ? (c(), k(x, { key: 0 }, [ + l(de, { node: w }, null, 8, ["node"]), + (c(!0), k(x, null, q(s.leaves[w.key], (A) => (c(), N(Ie, { + key: A.key, + leaf: A, + node: w, + onRemoveItem: b, + onUpdateItem: $ + }, null, 8, ["leaf", "node"]))), 128)) + ], 64)) : B("", !0) + ]))), 256)), + t.sidebar ? (c(), k("div", Ne, [ + ze, + xe, + l(W, { label: "Rabattcode eingeben" }), + Re, + e("div", Ve, [ + Be, + i(" --> " + S(t.mode === "basket" ? z(o).state.basketRootNode.total : z(o).state.whishlistRootNodes[t.cartKey].total) + " € ", 1) ]), - _hoisted_9$1, - _hoisted_10$1, - createElementVNode("div", _hoisted_11$1, [ - _hoisted_12$1, - createTextVNode(" " + toDisplayString(__props.mode === "basket" ? unref(cartStore).state.basketRootNode.total : unref(cartStore).state.whishlistRootNodes[__props.cartKey].total) + " \u20AC ", 1) + qe, + Oe, + e("div", Ae, [ + Ee, + i(" " + S(t.mode === "basket" ? z(o).state.basketRootNode.total : z(o).state.whishlistRootNodes[t.cartKey].total) + " € ", 1) ]), - createElementVNode("div", _hoisted_13$1, [ - createVNode(_component_sl_button, { + e("div", Te, [ + l(I, { variant: "info", size: "small" }, { - default: withCtx(() => [ - createTextVNode(" Jetzt Bestellen ") + default: f(() => [ + i(" Jetzt Bestellen ") ]), _: 1 }), - createVNode(_component_sl_button, { + l(I, { size: "small", variant: "primary" }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(g, { name: "paypal", slot: "prefix" }), - createTextVNode(" Paypal ") + i(" Paypal ") ]), _: 1 }) ]) - ])) : createCommentVNode("", true) - ], 64)); + ])) : B("", !0) + ], 64)) : (c(), N(h, { key: 0 })); }; } -}; -var CartView = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-6c25a013"]]); -var ConfirmView_vue_vue_type_style_index_0_scoped_true_lang = ""; -const _withScopeId$1 = (n) => (pushScopeId("data-v-65081a13"), n = n(), popScopeId(), n); -const _hoisted_1$1 = { +}, J = /* @__PURE__ */ O(je, [["__scopeId", "data-v-7aae4815"]]), u = (t) => (T("data-v-75e70e9a"), t = t(), j(), t), De = { key: 1, class: "list" -}; -const _hoisted_2$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung pr\xFCfen", -1)); -const _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_4$1 = { class: "viur-shop-cart-address-wrap" }; -const _hoisted_5 = { class: "viur-shop-cart-address" }; -const _hoisted_6 = { class: "viur-shop-cart-address-headline" }; -const _hoisted_7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_10 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_11 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_12 = { class: "viur-shop-cart-address" }; -const _hoisted_13 = { class: "viur-shop-cart-address-headline" }; -const _hoisted_14 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_15 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_17 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_18 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_19 = { class: "viur-shop-cart-payment" }; -const _hoisted_20 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-payment-method" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Zahlungsmethode:"), - /* @__PURE__ */ createTextVNode(" Paypal ") -], -1)); -const _hoisted_21 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)); -const _hoisted_22 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_23 = ["src"]; -const _hoisted_24 = { +}, We = /* @__PURE__ */ u(() => /* @__PURE__ */ e("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Ue = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Ke = { class: "viur-shop-cart-address-wrap" }, Ge = { class: "viur-shop-cart-address" }, Fe = { class: "viur-shop-cart-address-headline" }, Ze = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), He = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Pe = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Je = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Le = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Me = { class: "viur-shop-cart-address" }, Qe = { class: "viur-shop-cart-address-headline" }, Xe = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), Ye = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), et = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), tt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), st = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), at = { class: "viur-shop-cart-payment" }, ot = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-payment-method" }, [ + /* @__PURE__ */ e("span", null, "Zahlungsmethode:"), + /* @__PURE__ */ i(" Paypal ") +], -1)), nt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), rt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), it = ["src"], lt = { class: "viur-shop-cart-mini-cart-header", slot: "header" -}; -const _hoisted_25 = { class: "viur-shop-cart-mini-headline headline" }; -const _hoisted_26 = { class: "viur-shop-cart-mini-card-body-row" }; -const _hoisted_27 = { class: "viur-shop-cart-mini-card-body-info" }; -const _hoisted_28 = { class: "viur-shop-cart-mini-card-info-wrap" }; -const _hoisted_29 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-mini-card-info" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Anzahl: "), - /* @__PURE__ */ createTextVNode(" 1 ") -], -1)); -const _hoisted_30 = { class: "viur-shop-cart-mini-card-info" }; -const _hoisted_31 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "Preis: ", -1)); -const _hoisted_32 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)); -const _hoisted_33 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("br", null, null, -1)); -const _hoisted_34 = { class: "viur-shop-cart-sidebar-info-line" }; -const _hoisted_35 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "Zwischensumme", -1)); -const _hoisted_36 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-sidebar-info-line" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Rabatt"), - /* @__PURE__ */ createTextVNode(" 0 \u20AC ") -], -1)); -const _hoisted_37 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "viur-shop-cart-sidebar-info-line" }, [ - /* @__PURE__ */ createElementVNode("span", null, "Versandkosten"), - /* @__PURE__ */ createTextVNode(" 0 \u20AC ") -], -1)); -const _hoisted_38 = { class: "viur-shop-cart-sidebar-info-line total" }; -const _hoisted_39 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", null, "Gesamt:", -1)); -const _hoisted_40 = { class: "viur-shop-cart-sidebar-btn-wrap" }; -const _sfc_main$2 = { +}, ct = { class: "viur-shop-cart-mini-headline headline" }, dt = { class: "viur-shop-cart-mini-card-body-row" }, ut = { class: "viur-shop-cart-mini-card-body-info" }, _t = { class: "viur-shop-cart-mini-card-info-wrap" }, ht = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-mini-card-info" }, [ + /* @__PURE__ */ e("span", null, "Anzahl: "), + /* @__PURE__ */ i(" 1 ") +], -1)), pt = { class: "viur-shop-cart-mini-card-info" }, mt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("span", null, "Preis: ", -1)), ft = /* @__PURE__ */ u(() => /* @__PURE__ */ e("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), vt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("br", null, null, -1)), bt = { class: "viur-shop-cart-sidebar-info-line" }, yt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("span", null, "Zwischensumme", -1)), kt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-sidebar-info-line" }, [ + /* @__PURE__ */ e("span", null, "Rabatt"), + /* @__PURE__ */ i(" 0 € ") +], -1)), gt = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "viur-shop-cart-sidebar-info-line" }, [ + /* @__PURE__ */ e("span", null, "Versandkosten"), + /* @__PURE__ */ i(" 0 € ") +], -1)), wt = { class: "viur-shop-cart-sidebar-info-line total" }, $t = /* @__PURE__ */ u(() => /* @__PURE__ */ e("span", null, "Gesamt:", -1)), It = { class: "viur-shop-cart-sidebar-btn-wrap" }, Ct = { __name: "ConfirmView", - setup(__props) { - const cartStore = useCartStore(); - const state = reactive({ - cartIsInit: computed(() => { - return cartStore.state.basket.length ? true : false; - }), - itemsIsInit: computed(() => { - return cartStore.state.carts[cartStore.state.basket].items ? true : false; - }), + setup(t) { + const n = G(), o = R({ + cartIsInit: C(() => !!n.state.basket.length), + itemsIsInit: C(() => !!n.state.carts[n.state.basket].items), images: {}, - showOrderButton: false + showOrderButton: !1 }); - function getImage(item) { - Request.get(`/json/dk_variante/view/${item}`).then(async (resp) => { - let data = await resp.json(); - data = data.values; - let imageUrl = data.dk_artikel.dest.image ? Request.downloadUrlFor(data.dk_artikel.dest.image) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"; - state.images[item] = imageUrl; - }); - return state.images[item]; + function p(d) { + return U.get(`/json/dk_variante/view/${d}`).then(async ($) => { + let b = await $.json(); + b = b.values; + let m = b.dk_artikel.dest.image ? U.downloadUrlFor(b.dk_artikel.dest.image) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"; + o.images[d] = m; + }), o.images[d]; } - function onTosAccept(e) { - if (e.target.checked) - state.showOrderButton = true; - if (!e.target.checked) - state.showOrderButton = false; + function s(d) { + d.target.checked && (o.showOrderButton = !0), d.target.checked || (o.showOrderButton = !1); } - onBeforeMount(async () => { - await cartStore.init(); - }); - return (_ctx, _cache) => { - const _component_sl_icon = resolveComponent("sl-icon"); - const _component_sl_button = resolveComponent("sl-button"); - const _component_sl_card = resolveComponent("sl-card"); - const _component_sl_checkbox = resolveComponent("sl-checkbox"); - return !state.cartIsInit ? (openBlock(), createBlock(Loader, { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1$1, [ - _hoisted_2$1, - _hoisted_3$1, - createElementVNode("div", _hoisted_4$1, [ - createElementVNode("div", _hoisted_5, [ - createElementVNode("div", _hoisted_6, [ - createTextVNode(" Versandadresse "), - createVNode(_component_sl_button, { + return E(async () => { + await n.init(); + }), (d, $) => { + const b = v("sl-icon"), m = v("sl-button"), y = v("sl-card"), r = v("sl-checkbox"); + return o.cartIsInit ? (c(), k("div", De, [ + We, + Ue, + e("div", Ke, [ + e("div", Ge, [ + e("div", Fe, [ + i(" Versandadresse "), + l(m, { outline: "", size: "small" }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(b, { name: "pencil", slot: "prefix" }) @@ -662,26 +476,26 @@ const _sfc_main$2 = { _: 1 }) ]), - createTextVNode(" Roland Brose"), - _hoisted_7, - createTextVNode(" Speicherstra\xDFe 33"), - _hoisted_8, - createTextVNode(" 44147 Dortmund, DE"), - _hoisted_9, - _hoisted_10, - createTextVNode(" rb@mausbrand.de"), - _hoisted_11, - createTextVNode(" 0231 21 34 68 90 ") + i(" Roland Brose"), + Ze, + i(" Speicherstraße 33"), + He, + i(" 44147 Dortmund, DE"), + Pe, + Je, + i(" rb@mausbrand.de"), + Le, + i(" 0231 21 34 68 90 ") ]), - createElementVNode("div", _hoisted_12, [ - createElementVNode("div", _hoisted_13, [ - createTextVNode(" Rechnungsadresse "), - createVNode(_component_sl_button, { + e("div", Me, [ + e("div", Qe, [ + i(" Rechnungsadresse "), + l(m, { outline: "", size: "small" }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(b, { name: "pencil", slot: "prefix" }) @@ -689,26 +503,26 @@ const _sfc_main$2 = { _: 1 }) ]), - createTextVNode(" Roland Brose"), - _hoisted_14, - createTextVNode(" Speicherstra\xDFe 33"), - _hoisted_15, - createTextVNode(" 44147 Dortmund, DE"), - _hoisted_16, - _hoisted_17, - createTextVNode(" rb@mausbrand.de"), - _hoisted_18, - createTextVNode(" 0231 21 34 68 90 ") + i(" Roland Brose"), + Xe, + i(" Speicherstraße 33"), + Ye, + i(" 44147 Dortmund, DE"), + et, + tt, + i(" rb@mausbrand.de"), + st, + i(" 0231 21 34 68 90 ") ]) ]), - createElementVNode("div", _hoisted_19, [ - _hoisted_20, - createVNode(_component_sl_button, { + e("div", at, [ + ot, + l(m, { outline: "", size: "small" }, { - default: withCtx(() => [ - createVNode(_component_sl_icon, { + default: f(() => [ + l(b, { name: "pencil", slot: "prefix" }) @@ -716,269 +530,278 @@ const _sfc_main$2 = { _: 1 }) ]), - _hoisted_21, - _hoisted_22, - (openBlock(true), createElementBlock(Fragment, null, renderList(unref(cartStore).state.carts[unref(cartStore).state.basket].items, (item) => { - return openBlock(), createBlock(_component_sl_card, { - horizontal: "", - class: "viur-shop-cart-mini-card" - }, { - default: withCtx(() => [ - createElementVNode("img", { - class: "viur-shop-cart-mini-card-img", - slot: "image", - src: getImage(item.article.dest.key) - }, null, 8, _hoisted_23), - createElementVNode("div", _hoisted_24, [ - createElementVNode("h4", _hoisted_25, toDisplayString(item.article.dest.shop_name) + " | 425018", 1) - ]), - createElementVNode("div", _hoisted_26, [ - createElementVNode("div", _hoisted_27, [ - createElementVNode("div", _hoisted_28, [ - _hoisted_29, - createElementVNode("div", _hoisted_30, [ - _hoisted_31, - createTextVNode(" " + toDisplayString(item.article.dest.shop_price_recommended) + " \u20AC ", 1) - ]) + nt, + rt, + (c(!0), k(x, null, q(z(n).state.carts[z(n).state.basket].items, (a) => (c(), N(y, { + horizontal: "", + class: "viur-shop-cart-mini-card" + }, { + default: f(() => [ + e("img", { + class: "viur-shop-cart-mini-card-img", + slot: "image", + src: p(a.article.dest.key) + }, null, 8, it), + e("div", lt, [ + e("h4", ct, S(a.article.dest.shop_name) + " | 425018", 1) + ]), + e("div", dt, [ + e("div", ut, [ + e("div", _t, [ + ht, + e("div", pt, [ + mt, + i(" " + S(a.article.dest.shop_price_recommended) + " € ", 1) ]) ]) ]) - ]), - _: 2 - }, 1024); - }), 256)), - (openBlock(), createBlock(Teleport, { to: "#order_sidebar" }, [ - _hoisted_32, - _hoisted_33, - createElementVNode("div", _hoisted_34, [ - _hoisted_35, - createTextVNode(" " + toDisplayString(unref(cartStore).state.carts[unref(cartStore).state.basket].info.total) + " \u20AC ", 1) + ]) ]), - _hoisted_36, - _hoisted_37, - createElementVNode("div", _hoisted_38, [ - _hoisted_39, - createTextVNode(" " + toDisplayString(unref(cartStore).state.carts[unref(cartStore).state.basket].info.total) + " \u20AC ", 1) + _: 2 + }, 1024))), 256)), + (c(), N(Q, { to: "#order_sidebar" }, [ + ft, + vt, + e("div", bt, [ + yt, + i(" " + S(z(n).state.carts[z(n).state.basket].info.total) + " € ", 1) ]), - createVNode(_component_sl_checkbox, { onSlChange: onTosAccept }, { - default: withCtx(() => [ - createTextVNode(" Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ") + kt, + gt, + e("div", wt, [ + $t, + i(" " + S(z(n).state.carts[z(n).state.basket].info.total) + " € ", 1) + ]), + l(r, { onSlChange: s }, { + default: f(() => [ + i(" Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ") ]), _: 1 }), - createElementVNode("div", _hoisted_40, [ - createVNode(_component_sl_button, { - variant: state.showOrderButton ? "info" : "disabled", + e("div", It, [ + l(m, { + variant: o.showOrderButton ? "info" : "disabled", size: "small", - disabled: !state.showOrderButton + disabled: !o.showOrderButton }, { - default: withCtx(() => [ - createTextVNode(" Zahlungspflichtig bestellen ") + default: f(() => [ + i(" Zahlungspflichtig bestellen ") ]), _: 1 }, 8, ["variant", "disabled"]) ]) ])) - ])); + ])) : (c(), N(ce, { key: 0 })); }; } -}; -var ConfirmView = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-65081a13"]]); -var OrderView_vue_vue_type_style_index_0_scoped_true_lang = ""; -const _withScopeId = (n) => (pushScopeId("data-v-f09670ea"), n = n(), popScopeId(), n); -const _hoisted_1 = { class: "bind viur-shop-wrap" }; -const _hoisted_2 = { class: "viur-shop-order-step" }; -const _hoisted_3 = { class: "viur-shop-order-status-text" }; -const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { +}, St = /* @__PURE__ */ O(Ct, [["__scopeId", "data-v-75e70e9a"]]), Nt = (t) => (T("data-v-61488015"), t = t(), j(), t), zt = { class: "bind viur-shop-wrap" }, xt = { class: "viur-shop-order-step" }, Rt = { class: "viur-shop-order-status-text" }, Vt = /* @__PURE__ */ Nt(() => /* @__PURE__ */ e("div", { class: "viur-shop-sidebar", id: "order_sidebar" -}, null, -1)); -const _sfc_main$1 = { +}, null, -1)), Bt = { __name: "OrderView", props: { tabs: { type: Object, - required: true + required: !0 } }, emits: ["tabChange"], - setup(__props, { emit: __emit }) { - const props = __props; - const emit = __emit; - const state = reactive({ - tabNames: computed(() => sortTabs(props.tabs)), - isFirstTab: (index) => { - if (index === 0) { - return true; - } - return false; - } - }); - const tabGroup = ref(null); - function sortTabs(tabs) { - let sortedArray = []; - let outputArray = []; - for (const tab in tabs) { - if (tabs[tab].position) { - sortedArray.push([tab, tabs[tab].position]); - } else { - sortedArray.push([tab, 0]); - } - } - sortedArray.sort((a, b) => { - return a[1] - b[1]; - }); - sortedArray.forEach((tab) => { - outputArray.push(tab[0]); - }); - return outputArray; + setup(t, { emit: n }) { + const o = t, p = n, s = R({ + tabNames: C(() => $(o.tabs)), + isFirstTab: (r) => r === 0 + }), d = P(null); + function $(r) { + let a = [], _ = []; + for (const h in r) + r[h].position ? a.push([h, r[h].position]) : a.push([h, 0]); + return a.sort((h, I) => h[1] - I[1]), a.forEach((h) => { + _.push(h[0]); + }), _; } - function onTabChange(e) { - emit("tabChange", e); + function b(r) { + p("tabChange", r); } - function prevTab(tabName) { - tabGroup.value.show(tabName); + function m(r) { + d.value.show(r); } - function nextTab(tabName) { - tabGroup.value.show(tabName); + function y(r) { + d.value.show(r); } - return (_ctx, _cache) => { - const _component_sl_icon = resolveComponent("sl-icon"); - const _component_sl_tab = resolveComponent("sl-tab"); - const _component_sl_button = resolveComponent("sl-button"); - const _component_sl_tab_panel = resolveComponent("sl-tab-panel"); - const _component_sl_tab_group = resolveComponent("sl-tab-group"); - return openBlock(), createElementBlock("div", _hoisted_1, [ - createVNode(_component_sl_tab_group, { + return (r, a) => { + const _ = v("sl-icon"), h = v("sl-tab"), I = v("sl-button"), D = v("sl-tab-panel"), W = v("sl-tab-group"); + return c(), k("div", zt, [ + l(W, { class: "viur-shop-order-tab", noScrollControls: "", - onSlTabShow: onTabChange, + onSlTabShow: b, ref_key: "tabGroup", - ref: tabGroup + ref: d }, { - default: withCtx(() => [ - (openBlock(true), createElementBlock(Fragment, null, renderList(state.tabNames, (tab, index) => { - return openBlock(), createBlock(_component_sl_tab, { - slot: "nav", - panel: tab, - key: tab, - disabled: __props.tabs[tab].disabled - }, { - default: withCtx(() => [ - createElementVNode("div", _hoisted_2, [ - createVNode(_component_sl_icon, { - name: __props.tabs[tab].icon.name, - library: __props.tabs[tab].icon.library - }, null, 8, ["name", "library"]), - createElementVNode("div", _hoisted_3, toDisplayString(index + 1) + ". " + toDisplayString(__props.tabs[tab].displayName), 1) - ]), - index < state.tabNames.length - 1 ? (openBlock(), createBlock(_component_sl_icon, { - key: 0, - name: "chevron-right", - class: "viur-shop-order-tab-check" - })) : createCommentVNode("", true) + default: f(() => [ + (c(!0), k(x, null, q(s.tabNames, (g, w) => (c(), N(h, { + slot: "nav", + panel: g, + key: g, + disabled: t.tabs[g].disabled + }, { + default: f(() => [ + e("div", xt, [ + l(_, { + name: t.tabs[g].icon.name, + library: t.tabs[g].icon.library + }, null, 8, ["name", "library"]), + e("div", Rt, S(w + 1) + ". " + S(t.tabs[g].displayName), 1) ]), - _: 2 - }, 1032, ["panel", "disabled"]); - }), 128)), - (openBlock(true), createElementBlock(Fragment, null, renderList(state.tabNames, (tab, index) => { - return openBlock(), createBlock(_component_sl_tab_panel, { - name: tab, - key: tab - }, { - default: withCtx(() => [ - (openBlock(), createBlock(resolveDynamicComponent(__props.tabs[tab].component), mergeProps({ ref_for: true }, __props.tabs[tab].props ? __props.tabs[tab].props : ""), null, 16)), - index !== state.tabNames.length - 1 ? (openBlock(), createElementBlock("div", { - key: 0, - class: normalizeClass(["viur-shop-form-footer", { "flex-end": state.isFirstTab(index) }]) - }, [ - withDirectives(createVNode(_component_sl_button, { - type: "submit", - onClick: ($event) => prevTab(state.tabNames[index - 1]) - }, { - default: withCtx(() => [ - createTextVNode(" Zur\xFCck ") - ]), - _: 2 - }, 1032, ["onClick"]), [ - [vShow, index !== 0] + w < s.tabNames.length - 1 ? (c(), N(_, { + key: 0, + name: "chevron-right", + class: "viur-shop-order-tab-check" + })) : B("", !0) + ]), + _: 2 + }, 1032, ["panel", "disabled"]))), 128)), + (c(!0), k(x, null, q(s.tabNames, (g, w) => (c(), N(D, { + name: g, + key: g + }, { + default: f(() => [ + (c(), N(X(t.tabs[g].component), Y({ ref_for: !0 }, t.tabs[g].props ? t.tabs[g].props : ""), null, 16)), + w !== s.tabNames.length - 1 ? (c(), k("div", { + key: 0, + class: ee(["viur-shop-form-footer", { "flex-end": s.isFirstTab(w) }]) + }, [ + te(l(I, { + type: "submit", + onClick: (A) => m(s.tabNames[w - 1]) + }, { + default: f(() => [ + i(" Zurück ") ]), - createVNode(_component_sl_button, { - type: "submit", - variant: "primary", - onClick: ($event) => nextTab(state.tabNames[index + 1]) - }, { - default: withCtx(() => [ - createTextVNode(" Weiter ") - ]), - _: 2 - }, 1032, ["onClick"]) - ], 2)) : createCommentVNode("", true) - ]), - _: 2 - }, 1032, ["name"]); - }), 128)) + _: 2 + }, 1032, ["onClick"]), [ + [se, w !== 0] + ]), + l(I, { + type: "submit", + variant: "primary", + onClick: (A) => y(s.tabNames[w + 1]) + }, { + default: f(() => [ + i(" Weiter ") + ]), + _: 2 + }, 1032, ["onClick"]) + ], 2)) : B("", !0) + ]), + _: 2 + }, 1032, ["name"]))), 128)) ]), _: 1 }, 512), - _hoisted_4 + Vt ]); }; } -}; -var OrderView = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f09670ea"]]); -var ItemCard_vue_vue_type_style_index_0_scoped_true_lang = ""; -var CategoryView_vue_vue_type_style_index_0_scoped_true_lang = ""; -var OrderComplete_vue_vue_type_style_index_0_scoped_true_lang = ""; -const _sfc_main = { +}, qt = /* @__PURE__ */ O(Bt, [["__scopeId", "data-v-61488015"]]), Ot = { __name: "ExampleUsage", - setup(__props) { - const cartStore = useCartStore(); - const rootNode = computed( - () => cartStore.state.basketRootNode.key ? cartStore.state.basketRootNode.key : "" - ); - const state = reactive({ + setup(t) { + const n = G(), o = C( + () => n.state.basketRootNode.key ? n.state.basketRootNode.key : "" + ), p = R({ rootNode: {}, tabs: { cart: { - component: shallowRef(CartView), + component: ae(J), props: { - sidebar: true, + sidebar: !0, mode: "basket", - cartKey: rootNode + cartKey: o }, + // cartKey (on initial call has to be a root node) is a required prop, make sure that cartStore.init() is called before cart is mounted displayName: "Warenkorb", icon: { name: "cart", library: "hsk" }, position: 2, - disabled: false, + disabled: !1, atShow: null, atHide: null } + // confirm: { + // component: shallowRef(ConfirmView), + // props: {}, + // displayName: "Bestellung prüfen", + // icon: { name: "order-check", library: "hsk" }, + // position: 5, + // disabled: false, + // atShow: null, + // atHide: null, + // }, + // order: { + // component: shallowRef(CategoryView), + // props: { + // listHandler: ListRequest("categorystore", { + // module: "variante", + // params: { type: "dk", limit: 99 }, + // }), + // }, + // displayName: "Artikel Bestellen", + // icon: { name: "cart-add", library: "hsk" }, + // position: 1, + // disabled: false, + // atShow: null, + // atHide: null, + // }, + // orderComplete: { + // component: shallowRef(OrderComplete), + // props: {}, + // displayName: "Bestellung Abgeschlossen", + // icon: { name: "order-confirmed", library: "hsk" }, + // position: 6, + // disabled: true, + // atShow: null, + // atHide: null, + // }, + // userInfo: { + // component: shallowRef(UserInformation), + // props: {}, + // displayName: "Daten Eingeben", + // icon: { name: "user", library: "hsk" }, + // position: 3, + // disabled: false, + // atShow: null, + // atHide: null, + // }, + // userInfoMulti: { + // component: shallowRef(UserInfoMulti), + // props: {}, + // displayName: "Daten Eingeben (Multi)", + // icon: { name: "user", library: "hsk" }, + // position: 4, + // disabled: false, + // atShow: null, + // atHide: null, + // }, } }); - function handleTabs(e) { - if ((e == null ? void 0 : e.detail.name) === "confirm") { - state.tabs.orderComplete.disabled = false; - } + function s(d) { + (d == null ? void 0 : d.detail.name) === "confirm" && (p.tabs.orderComplete.disabled = !1); } - onBeforeMount(async () => { - await cartStore.init(); - await cartStore.getAdressStructure(); - console.log("debug init exampleusage :", cartStore.state.basketRootNode); - }); - return (_ctx, _cache) => { - return openBlock(), createBlock(OrderView, { - tabs: state.tabs, - onTabChange: handleTabs - }, null, 8, ["tabs"]); - }; + return E(async () => { + await n.init(), await n.getAdressStructure(), console.log("debug init exampleusage :", n.state.basketRootNode); + }), (d, $) => (c(), N(qt, { + tabs: p.tabs, + onTabChange: s + }, null, 8, ["tabs"])); } -}; -const ViurShopComponents = { - install(app) { - app.component("CartView", CartView); - app.component("ExampleUsage", _sfc_main); - app.component("ConfirmView", ConfirmView); +}, Wt = { + install(t) { + t.component("CartView", J), t.component("ExampleUsage", Ot), t.component("ConfirmView", St); } }; -export { CartView, ConfirmView, _sfc_main as ExampleUsage, ViurShopComponents as default, useCartStore }; +export { + J as CartView, + St as ConfirmView, + Ot as ExampleUsage, + Wt as default, + G as useCartStore +}; diff --git a/source/dist/viur-shop-components.umd.js b/source/dist/viur-shop-components.umd.js index 6ffcedb..e5a93fc 100644 --- a/source/dist/viur-shop-components.umd.js +++ b/source/dist/viur-shop-components.umd.js @@ -1 +1 @@ -(function(f,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue"),require("@viur/vue-utils"),require("pinia"),require("@viur/viur-shop-client"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@viur/vue-utils","pinia","@viur/viur-shop-client","vue-router"],e):(f=typeof globalThis!="undefined"?globalThis:f||self,e(f.ViurShopComponents={},f.Vue,f.ViurVueUtils,f.Pinia,f.ViurShopClient))})(this,function(f,e,w,q,D){"use strict";var ct="",y=(t,r)=>{const n=t.__vccOpts||t;for(const[_,o]of r)n[_]=o;return n};const C={props:{size:{type:String,default:"2"},active:{type:Boolean,default:!0},logo:{default:"logo-cube.svg",type:String},color:{default:"var(--sl-color-primary-500)",type:String}},setup(t,r){const n=e.reactive({trackWidth:e.computed(()=>`${t.size/30}rem`),outerSize:e.computed(()=>`calc(${t.size}rem + ${n.trackWidth})`),spinnerSize:e.computed(()=>`${t.size}rem`),logoSize:e.computed(()=>`calc(${t.size}rem - ${n.trackWidth} * 10)`),shadow:e.computed(()=>`0px 0px ${t.size/6}rem 0 color-mix(in hsl, var(--sl-color-neutral-1000), 80% transparent)`)});return{state:n}}},T=()=>{e.useCssVars(t=>({"4d516391":t.state.outerSize,"9cfd9e6a":t.state.shadow,"08327592":t.state.logoSize,"602facef":t.state.spinnerSize,"0a642916":t.color,"3a404d66":t.state.trackWidth}))},I=C.setup;C.setup=I?(t,r)=>(T(),I(t,r)):T;const O=C,A={key:0,class:"loading"},F={class:"logo"};function j(t,r,n,_,o,l){const u=e.resolveComponent("sl-spinner"),p=e.resolveComponent("sl-icon");return e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[n.active?(e.openBlock(),e.createElementBlock("div",A,[e.createVNode(u,{class:"loader"}),e.createElementVNode("div",F,[e.createVNode(p,{src:n.logo},null,8,["src"])])])):e.createCommentVNode("",!0)]),_:1})}var W=y(O,[["render",j],["__scopeId","data-v-356919e0"]]);const g=q.defineStore("cartstore",()=>{const t=new D.ViURShopClient({host_url:window.location.origin==="http://localhost:8081"?"http://localhost:8080":window.location.origin}),r=e.reactive({basketRootNode:{},whishlistRootNodes:[],children:{},structure:{address:{},cart:{}}});async function n(){await o()}async function _(s){return await t.cart_list({cart_key:s})}async function o(){(await t.cart_list()).forEach(a=>{a.is_root_node&&(a.cart_type==="basket"?r.basketRootNode=a:r.whishlistRootNodes.push(a))})}async function l(s,a){let i=await t.article_add({article_key:s,parent_cart_key:a});console.log("addToCart",i)}async function u(s,a){let i=await t.article_view({article_key:s,parent_cart_key:a});console.log("getArticleView",i)}async function p(s,a){let i=await t.article_remove({article_key:s,parent_cart_key:a});console.log("remove Resp",i)}async function m(s,a,i){let d=await t.article_update({article_key:s,parent_cart_key:a,quantity:i,quantity_mode:"replace"});console.log("update Resp",d)}async function h(){let s=await t.address_structure();r.structure.address=s.addSkel,console.log("adress add",r.structure.address)}return{state:r,addToCart:l,getArticleView:u,removeItem:p,updateItem:m,init:n,getAdressStructure:h,getChildren:_}}),L={__name:"CartNode",props:{node:{type:Object,required:!0}},setup(t){return e.reactive({}),(r,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(" cartnode "),e.createElementVNode("pre",null,e.toDisplayString(t.node.name),1)],64))}};var lt="";const x=t=>(e.pushScopeId("data-v-3f1dae7a"),t=t(),e.popScopeId(),t),M=["src"],K={class:"viur-shop-cart-card-header",slot:"header"},U={class:"viur-shop-cart-card-headline headline"},G={class:"viur-shop-cart-card-body-row"},P={class:"viur-shop-cart-card-body-info"},Z=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-descr"},[e.createTextVNode(" Version: 900x900x2000 "),e.createElementVNode("br"),e.createTextVNode(" Farbe: Chromoptik "),e.createElementVNode("br"),e.createTextVNode(" Glasart: Klar hell mit Edelglasbeschichtung"),e.createElementVNode("br"),e.createTextVNode(" Anschlag: Beidseitig variabel"),e.createElementVNode("br"),e.createTextVNode(" Griff: Stangengriff Exklusiv (56) ")],-1)),H={class:"viur-shop-cart-card-body-footer"},J={class:"viur-shop-cart-card-body-amount"},Q={class:"viur-shop-cart-card-price-wrap",slot:"footer"},X=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-price-label"},"Preis",-1)),Y={class:"viur-shop-cart-card-price"},v=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-small-print"},"Brutto / Stk.",-1));var ee=y({__name:"CartLeaf",props:{leaf:{type:Object,required:!0},node:{type:Object,required:!0}},emits:["updateItem","removeItem"],setup(t,{emit:r}){const n=t,_=r,o=e.reactive({leaf:{}});function l(m){return m!==void 0?w.Request.downloadUrlFor(m):"https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"}function u(m,h,s,a){_("updateItem",{item:m,articleKey:h,node:s,quantity:a})}function p(m,h,s){_("removeItem",{item:m,articleKey:h,node:s})}return e.onBeforeMount(()=>{o.leaf=n.leaf}),(m,h)=>{const s=e.resolveComponent("sl-icon"),a=e.resolveComponent("sl-button"),i=e.resolveComponent("sl-input"),d=e.resolveComponent("sl-card");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(" cartleafe "),e.createVNode(d,{horizontal:"",class:"viur-shop-cart-card"},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"viur-shop-cart-card-img",slot:"image",src:l(o.leaf.shop_image?o.leaf.shop_image:void 0)},null,8,M),e.createElementVNode("div",K,[e.createElementVNode("h4",U,e.toDisplayString(o.leaf.shop_name)+" | "+e.toDisplayString(t.leaf.shop_art_no_or_gtin),1)]),e.createElementVNode("div",G,[e.createElementVNode("div",P,[Z,e.createElementVNode("div",H,[e.createVNode(a,{size:"small",outline:"",class:"viur-shop-cart-card-add-to-favourites-btn",variant:"primary",title:"Add to favourites"},{default:e.withCtx(()=>[e.createVNode(s,{name:"heart",slot:"prefix"})]),_:1}),e.createVNode(a,{size:"small",outline:"",class:"viur-shop-cart-card-delete-btn",variant:"primary",title:"Remove from cart",onClick:h[0]||(h[0]=b=>p(o.leaf,o.leaf.article.dest.key,t.node))},{default:e.withCtx(()=>[e.createVNode(s,{name:"trash",slot:"prefix"})]),_:1})])]),e.createElementVNode("div",J,[e.createVNode(i,{class:"amount-input",type:"number",label:"Anzahl",placeholder:"Number",min:"0",modelValue:o.leaf.quantity,"onUpdate:modelValue":h[1]||(h[1]=b=>o.leaf.quantity=b),onInput:h[2]||(h[2]=b=>u(o.leaf,o.leaf.article.dest.key,t.node,o.leaf.quantity))},null,8,["modelValue"])]),e.createElementVNode("div",Q,[X,e.createElementVNode("div",Y,e.toDisplayString(o.leaf.price.retail)+" \u20AC ",1),v])])]),_:1})],64)}}},[["__scopeId","data-v-3f1dae7a"]]),dt="";const k=t=>(e.pushScopeId("data-v-6c25a013"),t=t(),e.popScopeId(),t),te=k(()=>e.createElementVNode("p",null,"M\xF6chten Sie den Artikel wirklich aus dem Warenkorb entfernen?",-1)),oe={class:"footer-wrap",slot:"footer"},ae={key:0},ne=k(()=>e.createElementVNode("h2",{class:"viur-shop-cart-sidebar-headline headline"},"Zusammenfassung",-1)),re=k(()=>e.createElementVNode("br",null,null,-1)),se=k(()=>e.createElementVNode("br",null,null,-1)),ce={class:"viur-shop-cart-sidebar-info-line"},le=k(()=>e.createElementVNode("span",null,"Zwischensumme",-1)),ie=k(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Rabatt"),e.createTextVNode(" 0 \u20AC ")],-1)),de=k(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Versandkosten"),e.createTextVNode(" 0 \u20AC ")],-1)),_e={class:"viur-shop-cart-sidebar-info-line total"},me=k(()=>e.createElementVNode("span",null,"Gesamt:",-1)),pe={class:"viur-shop-cart-sidebar-btn-wrap"};var B=y({__name:"CartView",props:{mode:{type:String,default:"basket"},cartKey:{type:String,required:!0},sidebar:{type:Boolean,default:!0}},setup(t){const r=t,n=g(),_=e.ref(null),o=e.reactive({cartIsInit:e.computed(()=>!!n.state.basketRootNode),itemsIsInit:e.computed(()=>!0),images:{},currentItem:{},currentNode:{},nodes:[],leaves:{}});e.computed(()=>r.mode==="basket"?n.state.basket:r.cartKey);async function l(){await n.updateItem(o.currentItem.article.dest.key,o.currentNode.key,0),await h(),_.value.hide()}async function u(a){console.log("updateItem :",a),a.quantity===0?(_.value.show(),o.currentItem=a.item,o.currentNode=a.node):(await n.updateItem(a.articleKey,a.node.key,a.quantity),await n.init())}function p(a){console.log("removeItem :",a),_.value.show(),o.currentItem=a.item,o.currentNode=a.node}async function m(){o.leaves[o.currentNode.key].forEach(a=>{a.key===o.currentItem.key&&(a.quantity=1)}),o.currentItem={},o.currentNode={}}async function h(){o.nodes=[],o.leaves={},await n.init(),await s()}async function s(a=r.cartKey){console.log("debug getChildren parentKey from comp: ",a);const i=await n.getChildren(a);console.log("getChildren children: ",i),i.forEach(async d=>{d.skel_type==="node"?(o.nodes.push(d),await s(d.key)):(Object.keys(o.leaves).includes(a)||(o.leaves[a]=[]),o.leaves[a].push(d))})}return e.onBeforeMount(async()=>{await n.init(),await s(),r.mode==="basket"&&o.nodes.push(n.state.basketRootNode),console.log("state.nodes test",o.nodes),console.log("state.leaves",o.leaves)}),(a,i)=>{const d=e.resolveComponent("sl-spinner"),b=e.resolveComponent("sl-button"),S=e.resolveComponent("sl-dialog"),$=e.resolveComponent("sl-input"),V=e.resolveComponent("sl-icon");return t.cartKey.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(S,{ref_key:"confirm",ref:_,onSlHide:m},{default:e.withCtx(()=>[te,e.createElementVNode("div",oe,[e.createVNode(b,{variant:"danger",onClick:i[0]||(i[0]=N=>_.value.hide()),size:"medium"},{default:e.withCtx(()=>[e.createTextVNode(" Abbrechen ")]),_:1}),e.createVNode(b,{variant:"success",onClick:l,size:"medium"},{default:e.withCtx(()=>[e.createTextVNode(" Aus Warenkorb entfernen ")]),_:1})])]),_:1},512),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.nodes,N=>(e.openBlock(),e.createElementBlock("div",null,[Object.keys(o.leaves).includes(N.key)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(L,{node:N},null,8,["node"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.leaves[N.key],E=>(e.openBlock(),e.createBlock(ee,{key:E.key,leaf:E,node:N,onRemoveItem:p,onUpdateItem:u},null,8,["leaf","node"]))),128))],64)):e.createCommentVNode("",!0)]))),256)),t.sidebar?(e.openBlock(),e.createElementBlock("div",ae,[ne,re,e.createVNode($,{label:"Rabattcode eingeben"}),se,e.createElementVNode("div",ce,[le,e.createTextVNode(" --> "+e.toDisplayString(t.mode==="basket"?e.unref(n).state.basketRootNode.total:e.unref(n).state.whishlistRootNodes[t.cartKey].total)+" \u20AC ",1)]),ie,de,e.createElementVNode("div",_e,[me,e.createTextVNode(" "+e.toDisplayString(t.mode==="basket"?e.unref(n).state.basketRootNode.total:e.unref(n).state.whishlistRootNodes[t.cartKey].total)+" \u20AC ",1)]),e.createElementVNode("div",pe,[e.createVNode(b,{variant:"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(" Jetzt Bestellen ")]),_:1}),e.createVNode(b,{size:"small",variant:"primary"},{default:e.withCtx(()=>[e.createVNode(V,{name:"paypal",slot:"prefix"}),e.createTextVNode(" Paypal ")]),_:1})])])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(d,{key:0}))}}},[["__scopeId","data-v-6c25a013"]]),mt="";const c=t=>(e.pushScopeId("data-v-65081a13"),t=t(),e.popScopeId(),t),he={key:1,class:"list"},fe=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-headline headline"},"Bestellung pr\xFCfen",-1)),Ve=c(()=>e.createElementVNode("br",null,null,-1)),Ne={class:"viur-shop-cart-address-wrap"},ue={class:"viur-shop-cart-address"},be={class:"viur-shop-cart-address-headline"},ke=c(()=>e.createElementVNode("br",null,null,-1)),ye=c(()=>e.createElementVNode("br",null,null,-1)),ge=c(()=>e.createElementVNode("br",null,null,-1)),Ee=c(()=>e.createElementVNode("br",null,null,-1)),we=c(()=>e.createElementVNode("br",null,null,-1)),Ce={class:"viur-shop-cart-address"},xe={class:"viur-shop-cart-address-headline"},Be=c(()=>e.createElementVNode("br",null,null,-1)),Se=c(()=>e.createElementVNode("br",null,null,-1)),$e=c(()=>e.createElementVNode("br",null,null,-1)),Te=c(()=>e.createElementVNode("br",null,null,-1)),Ie=c(()=>e.createElementVNode("br",null,null,-1)),ze={class:"viur-shop-cart-payment"},Re=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-payment-method"},[e.createElementVNode("span",null,"Zahlungsmethode:"),e.createTextVNode(" Paypal ")],-1)),qe=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-headline headline"},"Warenkorb",-1)),De=c(()=>e.createElementVNode("br",null,null,-1)),Oe=["src"],Ae={class:"viur-shop-cart-mini-cart-header",slot:"header"},Fe={class:"viur-shop-cart-mini-headline headline"},je={class:"viur-shop-cart-mini-card-body-row"},We={class:"viur-shop-cart-mini-card-body-info"},Le={class:"viur-shop-cart-mini-card-info-wrap"},Me=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-mini-card-info"},[e.createElementVNode("span",null,"Anzahl: "),e.createTextVNode(" 1 ")],-1)),Ke={class:"viur-shop-cart-mini-card-info"},Ue=c(()=>e.createElementVNode("span",null,"Preis: ",-1)),Ge=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-sidebar-headline headline"},"Jetzt Bestellen",-1)),Pe=c(()=>e.createElementVNode("br",null,null,-1)),Ze={class:"viur-shop-cart-sidebar-info-line"},He=c(()=>e.createElementVNode("span",null,"Zwischensumme",-1)),Je=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Rabatt"),e.createTextVNode(" 0 \u20AC ")],-1)),Qe=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Versandkosten"),e.createTextVNode(" 0 \u20AC ")],-1)),Xe={class:"viur-shop-cart-sidebar-info-line total"},Ye=c(()=>e.createElementVNode("span",null,"Gesamt:",-1)),ve={class:"viur-shop-cart-sidebar-btn-wrap"};var z=y({__name:"ConfirmView",setup(t){const r=g(),n=e.reactive({cartIsInit:e.computed(()=>!!r.state.basket.length),itemsIsInit:e.computed(()=>!!r.state.carts[r.state.basket].items),images:{},showOrderButton:!1});function _(l){return w.Request.get(`/json/dk_variante/view/${l}`).then(async u=>{let p=await u.json();p=p.values;let m=p.dk_artikel.dest.image?w.Request.downloadUrlFor(p.dk_artikel.dest.image):"https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";n.images[l]=m}),n.images[l]}function o(l){l.target.checked&&(n.showOrderButton=!0),l.target.checked||(n.showOrderButton=!1)}return e.onBeforeMount(async()=>{await r.init()}),(l,u)=>{const p=e.resolveComponent("sl-icon"),m=e.resolveComponent("sl-button"),h=e.resolveComponent("sl-card"),s=e.resolveComponent("sl-checkbox");return n.cartIsInit?(e.openBlock(),e.createElementBlock("div",he,[fe,Ve,e.createElementVNode("div",Ne,[e.createElementVNode("div",ue,[e.createElementVNode("div",be,[e.createTextVNode(" Versandadresse "),e.createVNode(m,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(p,{name:"pencil",slot:"prefix"})]),_:1})]),e.createTextVNode(" Roland Brose"),ke,e.createTextVNode(" Speicherstra\xDFe 33"),ye,e.createTextVNode(" 44147 Dortmund, DE"),ge,Ee,e.createTextVNode(" rb@mausbrand.de"),we,e.createTextVNode(" 0231 21 34 68 90 ")]),e.createElementVNode("div",Ce,[e.createElementVNode("div",xe,[e.createTextVNode(" Rechnungsadresse "),e.createVNode(m,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(p,{name:"pencil",slot:"prefix"})]),_:1})]),e.createTextVNode(" Roland Brose"),Be,e.createTextVNode(" Speicherstra\xDFe 33"),Se,e.createTextVNode(" 44147 Dortmund, DE"),$e,Te,e.createTextVNode(" rb@mausbrand.de"),Ie,e.createTextVNode(" 0231 21 34 68 90 ")])]),e.createElementVNode("div",ze,[Re,e.createVNode(m,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(p,{name:"pencil",slot:"prefix"})]),_:1})]),qe,De,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r).state.carts[e.unref(r).state.basket].items,a=>(e.openBlock(),e.createBlock(h,{horizontal:"",class:"viur-shop-cart-mini-card"},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"viur-shop-cart-mini-card-img",slot:"image",src:_(a.article.dest.key)},null,8,Oe),e.createElementVNode("div",Ae,[e.createElementVNode("h4",Fe,e.toDisplayString(a.article.dest.shop_name)+" | 425018",1)]),e.createElementVNode("div",je,[e.createElementVNode("div",We,[e.createElementVNode("div",Le,[Me,e.createElementVNode("div",Ke,[Ue,e.createTextVNode(" "+e.toDisplayString(a.article.dest.shop_price_recommended)+" \u20AC ",1)])])])])]),_:2},1024))),256)),(e.openBlock(),e.createBlock(e.Teleport,{to:"#order_sidebar"},[Ge,Pe,e.createElementVNode("div",Ze,[He,e.createTextVNode(" "+e.toDisplayString(e.unref(r).state.carts[e.unref(r).state.basket].info.total)+" \u20AC ",1)]),Je,Qe,e.createElementVNode("div",Xe,[Ye,e.createTextVNode(" "+e.toDisplayString(e.unref(r).state.carts[e.unref(r).state.basket].info.total)+" \u20AC ",1)]),e.createVNode(s,{onSlChange:o},{default:e.withCtx(()=>[e.createTextVNode(" Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ")]),_:1}),e.createElementVNode("div",ve,[e.createVNode(m,{variant:n.showOrderButton?"info":"disabled",size:"small",disabled:!n.showOrderButton},{default:e.withCtx(()=>[e.createTextVNode(" Zahlungspflichtig bestellen ")]),_:1},8,["variant","disabled"])])]))])):(e.openBlock(),e.createBlock(W,{key:0}))}}},[["__scopeId","data-v-65081a13"]]),ht="";const et=t=>(e.pushScopeId("data-v-f09670ea"),t=t(),e.popScopeId(),t),tt={class:"bind viur-shop-wrap"},ot={class:"viur-shop-order-step"},at={class:"viur-shop-order-status-text"},nt=et(()=>e.createElementVNode("div",{class:"viur-shop-sidebar",id:"order_sidebar"},null,-1));var rt=y({__name:"OrderView",props:{tabs:{type:Object,required:!0}},emits:["tabChange"],setup(t,{emit:r}){const n=t,_=r,o=e.reactive({tabNames:e.computed(()=>u(n.tabs)),isFirstTab:s=>s===0}),l=e.ref(null);function u(s){let a=[],i=[];for(const d in s)s[d].position?a.push([d,s[d].position]):a.push([d,0]);return a.sort((d,b)=>d[1]-b[1]),a.forEach(d=>{i.push(d[0])}),i}function p(s){_("tabChange",s)}function m(s){l.value.show(s)}function h(s){l.value.show(s)}return(s,a)=>{const i=e.resolveComponent("sl-icon"),d=e.resolveComponent("sl-tab"),b=e.resolveComponent("sl-button"),S=e.resolveComponent("sl-tab-panel"),$=e.resolveComponent("sl-tab-group");return e.openBlock(),e.createElementBlock("div",tt,[e.createVNode($,{class:"viur-shop-order-tab",noScrollControls:"",onSlTabShow:p,ref_key:"tabGroup",ref:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabNames,(V,N)=>(e.openBlock(),e.createBlock(d,{slot:"nav",panel:V,key:V,disabled:t.tabs[V].disabled},{default:e.withCtx(()=>[e.createElementVNode("div",ot,[e.createVNode(i,{name:t.tabs[V].icon.name,library:t.tabs[V].icon.library},null,8,["name","library"]),e.createElementVNode("div",at,e.toDisplayString(N+1)+". "+e.toDisplayString(t.tabs[V].displayName),1)]),N(e.openBlock(),e.createBlock(S,{name:V,key:V},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tabs[V].component),e.mergeProps({ref_for:!0},t.tabs[V].props?t.tabs[V].props:""),null,16)),N!==o.tabNames.length-1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["viur-shop-form-footer",{"flex-end":o.isFirstTab(N)}])},[e.withDirectives(e.createVNode(b,{type:"submit",onClick:E=>m(o.tabNames[N-1])},{default:e.withCtx(()=>[e.createTextVNode(" Zur\xFCck ")]),_:2},1032,["onClick"]),[[e.vShow,N!==0]]),e.createVNode(b,{type:"submit",variant:"primary",onClick:E=>h(o.tabNames[N+1])},{default:e.withCtx(()=>[e.createTextVNode(" Weiter ")]),_:2},1032,["onClick"])],2)):e.createCommentVNode("",!0)]),_:2},1032,["name"]))),128))]),_:1},512),nt])}}},[["__scopeId","data-v-f09670ea"]]),Vt="",Nt="",ut="";const R={__name:"ExampleUsage",setup(t){const r=g(),n=e.computed(()=>r.state.basketRootNode.key?r.state.basketRootNode.key:""),_=e.reactive({rootNode:{},tabs:{cart:{component:e.shallowRef(B),props:{sidebar:!0,mode:"basket",cartKey:n},displayName:"Warenkorb",icon:{name:"cart",library:"hsk"},position:2,disabled:!1,atShow:null,atHide:null}}});function o(l){(l==null?void 0:l.detail.name)==="confirm"&&(_.tabs.orderComplete.disabled=!1)}return e.onBeforeMount(async()=>{await r.init(),await r.getAdressStructure(),console.log("debug init exampleusage :",r.state.basketRootNode)}),(l,u)=>(e.openBlock(),e.createBlock(rt,{tabs:_.tabs,onTabChange:o},null,8,["tabs"]))}},st={install(t){t.component("CartView",B),t.component("ExampleUsage",R),t.component("ConfirmView",z)}};f.CartView=B,f.ConfirmView=z,f.ExampleUsage=R,f.default=st,f.useCartStore=g,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); +(function(f,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@viur/vue-utils"),require("pinia"),require("@viur/viur-shop-client"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","@viur/vue-utils","pinia","@viur/viur-shop-client","vue-router"],e):(f=typeof globalThis<"u"?globalThis:f||self,e(f.ViurShopComponents={},f.Vue,f.ViurVueUtils,f.Pinia,f.ViurShopClient))})(this,function(f,e,w,q,D){"use strict";const y=(t,r)=>{const n=t.__vccOpts||t;for(const[m,o]of r)n[m]=o;return n},C={props:{size:{type:String,default:"2"},active:{type:Boolean,default:!0},logo:{default:"logo-cube.svg",type:String},color:{default:"var(--sl-color-primary-500)",type:String}},setup(t,r){const n=e.reactive({trackWidth:e.computed(()=>`${t.size/30}rem`),outerSize:e.computed(()=>`calc(${t.size}rem + ${n.trackWidth})`),spinnerSize:e.computed(()=>`${t.size}rem`),logoSize:e.computed(()=>`calc(${t.size}rem - ${n.trackWidth} * 10)`),shadow:e.computed(()=>`0px 0px ${t.size/6}rem 0 color-mix(in hsl, var(--sl-color-neutral-1000), 80% transparent)`)});return{state:n}}},T=()=>{e.useCssVars(t=>({"93747d92":t.state.outerSize,"284424e5":t.state.shadow,"6485ca5e":t.state.logoSize,"5d833915":t.state.spinnerSize,d5b3feca:t.color,"2050b700":t.state.trackWidth}))},I=C.setup;C.setup=I?(t,r)=>(T(),I(t,r)):T;const O={key:0,class:"loading"},A={class:"logo"};function F(t,r,n,m,o,l){const b=e.resolveComponent("sl-spinner"),_=e.resolveComponent("sl-icon");return e.openBlock(),e.createBlock(e.Transition,null,{default:e.withCtx(()=>[n.active?(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(b,{class:"loader"}),e.createElementVNode("div",A,[e.createVNode(_,{src:n.logo},null,8,["src"])])])):e.createCommentVNode("",!0)]),_:1})}const j=y(C,[["render",F],["__scopeId","data-v-46c45785"]]),g=q.defineStore("cartstore",()=>{const t=new D.ViURShopClient({host_url:window.location.origin==="http://localhost:8081"?"http://localhost:8080":window.location.origin}),r=e.reactive({basketRootNode:{},whishlistRootNodes:[],children:{},structure:{address:{},cart:{}}});async function n(){await o()}async function m(s){return await t.cart_list({cart_key:s})}async function o(){(await t.cart_list()).forEach(a=>{a.is_root_node&&(a.cart_type==="basket"?r.basketRootNode=a:r.whishlistRootNodes.push(a))})}async function l(s,a){let i=await t.article_add({article_key:s,parent_cart_key:a});console.log("addToCart",i)}async function b(s,a){let i=await t.article_view({article_key:s,parent_cart_key:a});console.log("getArticleView",i)}async function _(s,a){let i=await t.article_remove({article_key:s,parent_cart_key:a});console.log("remove Resp",i)}async function p(s,a,i){let d=await t.article_update({article_key:s,parent_cart_key:a,quantity:i,quantity_mode:"replace"});console.log("update Resp",d)}async function h(){let s=await t.address_structure();r.structure.address=s.addSkel,console.log("adress add",r.structure.address)}return{state:r,addToCart:l,getArticleView:b,removeItem:_,updateItem:p,init:n,getAdressStructure:h,getChildren:m}}),W={__name:"CartNode",props:{node:{type:Object,required:!0}},setup(t){return e.reactive({}),(r,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(" cartnode "),e.createElementVNode("pre",null,e.toDisplayString(t.node.name),1)],64))}},x=t=>(e.pushScopeId("data-v-0e24135f"),t=t(),e.popScopeId(),t),M=["src"],K={class:"viur-shop-cart-card-header",slot:"header"},L={class:"viur-shop-cart-card-headline headline"},U={class:"viur-shop-cart-card-body-row"},G={class:"viur-shop-cart-card-body-info"},P=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-descr"},[e.createTextVNode(" Version: 900x900x2000 "),e.createElementVNode("br"),e.createTextVNode(" Farbe: Chromoptik "),e.createElementVNode("br"),e.createTextVNode(" Glasart: Klar hell mit Edelglasbeschichtung"),e.createElementVNode("br"),e.createTextVNode(" Anschlag: Beidseitig variabel"),e.createElementVNode("br"),e.createTextVNode(" Griff: Stangengriff Exklusiv (56) ")],-1)),Z={class:"viur-shop-cart-card-body-footer"},H={class:"viur-shop-cart-card-body-amount"},J={class:"viur-shop-cart-card-price-wrap",slot:"footer"},Q=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-price-label"},"Preis",-1)),X={class:"viur-shop-cart-card-price"},Y=x(()=>e.createElementVNode("div",{class:"viur-shop-cart-card-small-print"},"Brutto / Stk.",-1)),v=y({__name:"CartLeaf",props:{leaf:{type:Object,required:!0},node:{type:Object,required:!0}},emits:["updateItem","removeItem"],setup(t,{emit:r}){const n=t,m=r,o=e.reactive({leaf:{}});function l(p){return p!==void 0?w.Request.downloadUrlFor(p):"https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80"}function b(p,h,s,a){m("updateItem",{item:p,articleKey:h,node:s,quantity:a})}function _(p,h,s){m("removeItem",{item:p,articleKey:h,node:s})}return e.onBeforeMount(()=>{o.leaf=n.leaf}),(p,h)=>{const s=e.resolveComponent("sl-icon"),a=e.resolveComponent("sl-button"),i=e.resolveComponent("sl-input"),d=e.resolveComponent("sl-card");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(" cartleafe "),e.createVNode(d,{horizontal:"",class:"viur-shop-cart-card"},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"viur-shop-cart-card-img",slot:"image",src:l(o.leaf.shop_image?o.leaf.shop_image:void 0)},null,8,M),e.createElementVNode("div",K,[e.createElementVNode("h4",L,e.toDisplayString(o.leaf.shop_name)+" | "+e.toDisplayString(t.leaf.shop_art_no_or_gtin),1)]),e.createElementVNode("div",U,[e.createElementVNode("div",G,[P,e.createElementVNode("div",Z,[e.createVNode(a,{size:"small",outline:"",class:"viur-shop-cart-card-add-to-favourites-btn",variant:"primary",title:"Add to favourites"},{default:e.withCtx(()=>[e.createVNode(s,{name:"heart",slot:"prefix"})]),_:1}),e.createVNode(a,{size:"small",outline:"",class:"viur-shop-cart-card-delete-btn",variant:"primary",title:"Remove from cart",onClick:h[0]||(h[0]=k=>_(o.leaf,o.leaf.article.dest.key,t.node))},{default:e.withCtx(()=>[e.createVNode(s,{name:"trash",slot:"prefix"})]),_:1})])]),e.createElementVNode("div",H,[e.createVNode(i,{class:"amount-input",type:"number",label:"Anzahl",placeholder:"Number",min:"0",modelValue:o.leaf.quantity,"onUpdate:modelValue":h[1]||(h[1]=k=>o.leaf.quantity=k),onInput:h[2]||(h[2]=k=>b(o.leaf,o.leaf.article.dest.key,t.node,o.leaf.quantity))},null,8,["modelValue"])]),e.createElementVNode("div",J,[Q,e.createElementVNode("div",X,e.toDisplayString(o.leaf.price.retail)+" € ",1),Y])])]),_:1})],64)}}},[["__scopeId","data-v-0e24135f"]]),u=t=>(e.pushScopeId("data-v-7aae4815"),t=t(),e.popScopeId(),t),ee=u(()=>e.createElementVNode("p",null,"Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?",-1)),te={class:"footer-wrap",slot:"footer"},oe={key:0},ae=u(()=>e.createElementVNode("h2",{class:"viur-shop-cart-sidebar-headline headline"},"Zusammenfassung",-1)),ne=u(()=>e.createElementVNode("br",null,null,-1)),re=u(()=>e.createElementVNode("br",null,null,-1)),se={class:"viur-shop-cart-sidebar-info-line"},ce=u(()=>e.createElementVNode("span",null,"Zwischensumme",-1)),le=u(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Rabatt"),e.createTextVNode(" 0 € ")],-1)),ie=u(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Versandkosten"),e.createTextVNode(" 0 € ")],-1)),de={class:"viur-shop-cart-sidebar-info-line total"},me=u(()=>e.createElementVNode("span",null,"Gesamt:",-1)),pe={class:"viur-shop-cart-sidebar-btn-wrap"},B=y({__name:"CartView",props:{mode:{type:String,default:"basket"},cartKey:{type:String,required:!0},sidebar:{type:Boolean,default:!0}},setup(t){const r=t,n=g(),m=e.ref(null),o=e.reactive({cartIsInit:e.computed(()=>!!n.state.basketRootNode),itemsIsInit:e.computed(()=>!0),images:{},currentItem:{},currentNode:{},nodes:[],leaves:{}});e.computed(()=>r.mode==="basket"?n.state.basket:r.cartKey);async function l(){await n.updateItem(o.currentItem.article.dest.key,o.currentNode.key,0),await h(),m.value.hide()}async function b(a){console.log("updateItem :",a),a.quantity===0?(m.value.show(),o.currentItem=a.item,o.currentNode=a.node):(await n.updateItem(a.articleKey,a.node.key,a.quantity),await n.init())}function _(a){console.log("removeItem :",a),m.value.show(),o.currentItem=a.item,o.currentNode=a.node}async function p(){o.leaves[o.currentNode.key].forEach(a=>{a.key===o.currentItem.key&&(a.quantity=1)}),o.currentItem={},o.currentNode={}}async function h(){o.nodes=[],o.leaves={},await n.init(),await s()}async function s(a=r.cartKey){console.log("debug getChildren parentKey from comp: ",a);const i=await n.getChildren(a);console.log("getChildren children: ",i),i.forEach(async d=>{d.skel_type==="node"?(o.nodes.push(d),await s(d.key)):(Object.keys(o.leaves).includes(a)||(o.leaves[a]=[]),o.leaves[a].push(d))})}return e.onBeforeMount(async()=>{await n.init(),await s(),r.mode==="basket"&&o.nodes.push(n.state.basketRootNode),console.log("state.nodes test",o.nodes),console.log("state.leaves",o.leaves)}),(a,i)=>{const d=e.resolveComponent("sl-spinner"),k=e.resolveComponent("sl-button"),S=e.resolveComponent("sl-dialog"),$=e.resolveComponent("sl-input"),N=e.resolveComponent("sl-icon");return t.cartKey.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(S,{ref_key:"confirm",ref:m,onSlHide:p},{default:e.withCtx(()=>[ee,e.createElementVNode("div",te,[e.createVNode(k,{variant:"danger",onClick:i[0]||(i[0]=V=>m.value.hide()),size:"medium"},{default:e.withCtx(()=>[e.createTextVNode(" Abbrechen ")]),_:1}),e.createVNode(k,{variant:"success",onClick:l,size:"medium"},{default:e.withCtx(()=>[e.createTextVNode(" Aus Warenkorb entfernen ")]),_:1})])]),_:1},512),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.nodes,V=>(e.openBlock(),e.createElementBlock("div",null,[Object.keys(o.leaves).includes(V.key)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(W,{node:V},null,8,["node"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.leaves[V.key],E=>(e.openBlock(),e.createBlock(v,{key:E.key,leaf:E,node:V,onRemoveItem:_,onUpdateItem:b},null,8,["leaf","node"]))),128))],64)):e.createCommentVNode("",!0)]))),256)),t.sidebar?(e.openBlock(),e.createElementBlock("div",oe,[ae,ne,e.createVNode($,{label:"Rabattcode eingeben"}),re,e.createElementVNode("div",se,[ce,e.createTextVNode(" --> "+e.toDisplayString(t.mode==="basket"?e.unref(n).state.basketRootNode.total:e.unref(n).state.whishlistRootNodes[t.cartKey].total)+" € ",1)]),le,ie,e.createElementVNode("div",de,[me,e.createTextVNode(" "+e.toDisplayString(t.mode==="basket"?e.unref(n).state.basketRootNode.total:e.unref(n).state.whishlistRootNodes[t.cartKey].total)+" € ",1)]),e.createElementVNode("div",pe,[e.createVNode(k,{variant:"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(" Jetzt Bestellen ")]),_:1}),e.createVNode(k,{size:"small",variant:"primary"},{default:e.withCtx(()=>[e.createVNode(N,{name:"paypal",slot:"prefix"}),e.createTextVNode(" Paypal ")]),_:1})])])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(d,{key:0}))}}},[["__scopeId","data-v-7aae4815"]]),c=t=>(e.pushScopeId("data-v-75e70e9a"),t=t(),e.popScopeId(),t),_e={key:1,class:"list"},he=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-headline headline"},"Bestellung prüfen",-1)),fe=c(()=>e.createElementVNode("br",null,null,-1)),Ne={class:"viur-shop-cart-address-wrap"},Ve={class:"viur-shop-cart-address"},be={class:"viur-shop-cart-address-headline"},ke=c(()=>e.createElementVNode("br",null,null,-1)),ue=c(()=>e.createElementVNode("br",null,null,-1)),ye=c(()=>e.createElementVNode("br",null,null,-1)),ge=c(()=>e.createElementVNode("br",null,null,-1)),Ee=c(()=>e.createElementVNode("br",null,null,-1)),we={class:"viur-shop-cart-address"},Ce={class:"viur-shop-cart-address-headline"},xe=c(()=>e.createElementVNode("br",null,null,-1)),Be=c(()=>e.createElementVNode("br",null,null,-1)),Se=c(()=>e.createElementVNode("br",null,null,-1)),$e=c(()=>e.createElementVNode("br",null,null,-1)),Te=c(()=>e.createElementVNode("br",null,null,-1)),Ie={class:"viur-shop-cart-payment"},ze=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-payment-method"},[e.createElementVNode("span",null,"Zahlungsmethode:"),e.createTextVNode(" Paypal ")],-1)),Re=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-headline headline"},"Warenkorb",-1)),qe=c(()=>e.createElementVNode("br",null,null,-1)),De=["src"],Oe={class:"viur-shop-cart-mini-cart-header",slot:"header"},Ae={class:"viur-shop-cart-mini-headline headline"},Fe={class:"viur-shop-cart-mini-card-body-row"},je={class:"viur-shop-cart-mini-card-body-info"},We={class:"viur-shop-cart-mini-card-info-wrap"},Me=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-mini-card-info"},[e.createElementVNode("span",null,"Anzahl: "),e.createTextVNode(" 1 ")],-1)),Ke={class:"viur-shop-cart-mini-card-info"},Le=c(()=>e.createElementVNode("span",null,"Preis: ",-1)),Ue=c(()=>e.createElementVNode("h2",{class:"viur-shop-cart-sidebar-headline headline"},"Jetzt Bestellen",-1)),Ge=c(()=>e.createElementVNode("br",null,null,-1)),Pe={class:"viur-shop-cart-sidebar-info-line"},Ze=c(()=>e.createElementVNode("span",null,"Zwischensumme",-1)),He=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Rabatt"),e.createTextVNode(" 0 € ")],-1)),Je=c(()=>e.createElementVNode("div",{class:"viur-shop-cart-sidebar-info-line"},[e.createElementVNode("span",null,"Versandkosten"),e.createTextVNode(" 0 € ")],-1)),Qe={class:"viur-shop-cart-sidebar-info-line total"},Xe=c(()=>e.createElementVNode("span",null,"Gesamt:",-1)),Ye={class:"viur-shop-cart-sidebar-btn-wrap"},z=y({__name:"ConfirmView",setup(t){const r=g(),n=e.reactive({cartIsInit:e.computed(()=>!!r.state.basket.length),itemsIsInit:e.computed(()=>!!r.state.carts[r.state.basket].items),images:{},showOrderButton:!1});function m(l){return w.Request.get(`/json/dk_variante/view/${l}`).then(async b=>{let _=await b.json();_=_.values;let p=_.dk_artikel.dest.image?w.Request.downloadUrlFor(_.dk_artikel.dest.image):"https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";n.images[l]=p}),n.images[l]}function o(l){l.target.checked&&(n.showOrderButton=!0),l.target.checked||(n.showOrderButton=!1)}return e.onBeforeMount(async()=>{await r.init()}),(l,b)=>{const _=e.resolveComponent("sl-icon"),p=e.resolveComponent("sl-button"),h=e.resolveComponent("sl-card"),s=e.resolveComponent("sl-checkbox");return n.cartIsInit?(e.openBlock(),e.createElementBlock("div",_e,[he,fe,e.createElementVNode("div",Ne,[e.createElementVNode("div",Ve,[e.createElementVNode("div",be,[e.createTextVNode(" Versandadresse "),e.createVNode(p,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(_,{name:"pencil",slot:"prefix"})]),_:1})]),e.createTextVNode(" Roland Brose"),ke,e.createTextVNode(" Speicherstraße 33"),ue,e.createTextVNode(" 44147 Dortmund, DE"),ye,ge,e.createTextVNode(" rb@mausbrand.de"),Ee,e.createTextVNode(" 0231 21 34 68 90 ")]),e.createElementVNode("div",we,[e.createElementVNode("div",Ce,[e.createTextVNode(" Rechnungsadresse "),e.createVNode(p,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(_,{name:"pencil",slot:"prefix"})]),_:1})]),e.createTextVNode(" Roland Brose"),xe,e.createTextVNode(" Speicherstraße 33"),Be,e.createTextVNode(" 44147 Dortmund, DE"),Se,$e,e.createTextVNode(" rb@mausbrand.de"),Te,e.createTextVNode(" 0231 21 34 68 90 ")])]),e.createElementVNode("div",Ie,[ze,e.createVNode(p,{outline:"",size:"small"},{default:e.withCtx(()=>[e.createVNode(_,{name:"pencil",slot:"prefix"})]),_:1})]),Re,qe,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r).state.carts[e.unref(r).state.basket].items,a=>(e.openBlock(),e.createBlock(h,{horizontal:"",class:"viur-shop-cart-mini-card"},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"viur-shop-cart-mini-card-img",slot:"image",src:m(a.article.dest.key)},null,8,De),e.createElementVNode("div",Oe,[e.createElementVNode("h4",Ae,e.toDisplayString(a.article.dest.shop_name)+" | 425018",1)]),e.createElementVNode("div",Fe,[e.createElementVNode("div",je,[e.createElementVNode("div",We,[Me,e.createElementVNode("div",Ke,[Le,e.createTextVNode(" "+e.toDisplayString(a.article.dest.shop_price_recommended)+" € ",1)])])])])]),_:2},1024))),256)),(e.openBlock(),e.createBlock(e.Teleport,{to:"#order_sidebar"},[Ue,Ge,e.createElementVNode("div",Pe,[Ze,e.createTextVNode(" "+e.toDisplayString(e.unref(r).state.carts[e.unref(r).state.basket].info.total)+" € ",1)]),He,Je,e.createElementVNode("div",Qe,[Xe,e.createTextVNode(" "+e.toDisplayString(e.unref(r).state.carts[e.unref(r).state.basket].info.total)+" € ",1)]),e.createVNode(s,{onSlChange:o},{default:e.withCtx(()=>[e.createTextVNode(" Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ")]),_:1}),e.createElementVNode("div",Ye,[e.createVNode(p,{variant:n.showOrderButton?"info":"disabled",size:"small",disabled:!n.showOrderButton},{default:e.withCtx(()=>[e.createTextVNode(" Zahlungspflichtig bestellen ")]),_:1},8,["variant","disabled"])])]))])):(e.openBlock(),e.createBlock(j,{key:0}))}}},[["__scopeId","data-v-75e70e9a"]]),ve=t=>(e.pushScopeId("data-v-61488015"),t=t(),e.popScopeId(),t),et={class:"bind viur-shop-wrap"},tt={class:"viur-shop-order-step"},ot={class:"viur-shop-order-status-text"},at=ve(()=>e.createElementVNode("div",{class:"viur-shop-sidebar",id:"order_sidebar"},null,-1)),nt=y({__name:"OrderView",props:{tabs:{type:Object,required:!0}},emits:["tabChange"],setup(t,{emit:r}){const n=t,m=r,o=e.reactive({tabNames:e.computed(()=>b(n.tabs)),isFirstTab:s=>s===0}),l=e.ref(null);function b(s){let a=[],i=[];for(const d in s)s[d].position?a.push([d,s[d].position]):a.push([d,0]);return a.sort((d,k)=>d[1]-k[1]),a.forEach(d=>{i.push(d[0])}),i}function _(s){m("tabChange",s)}function p(s){l.value.show(s)}function h(s){l.value.show(s)}return(s,a)=>{const i=e.resolveComponent("sl-icon"),d=e.resolveComponent("sl-tab"),k=e.resolveComponent("sl-button"),S=e.resolveComponent("sl-tab-panel"),$=e.resolveComponent("sl-tab-group");return e.openBlock(),e.createElementBlock("div",et,[e.createVNode($,{class:"viur-shop-order-tab",noScrollControls:"",onSlTabShow:_,ref_key:"tabGroup",ref:l},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabNames,(N,V)=>(e.openBlock(),e.createBlock(d,{slot:"nav",panel:N,key:N,disabled:t.tabs[N].disabled},{default:e.withCtx(()=>[e.createElementVNode("div",tt,[e.createVNode(i,{name:t.tabs[N].icon.name,library:t.tabs[N].icon.library},null,8,["name","library"]),e.createElementVNode("div",ot,e.toDisplayString(V+1)+". "+e.toDisplayString(t.tabs[N].displayName),1)]),V(e.openBlock(),e.createBlock(S,{name:N,key:N},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tabs[N].component),e.mergeProps({ref_for:!0},t.tabs[N].props?t.tabs[N].props:""),null,16)),V!==o.tabNames.length-1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["viur-shop-form-footer",{"flex-end":o.isFirstTab(V)}])},[e.withDirectives(e.createVNode(k,{type:"submit",onClick:E=>p(o.tabNames[V-1])},{default:e.withCtx(()=>[e.createTextVNode(" Zurück ")]),_:2},1032,["onClick"]),[[e.vShow,V!==0]]),e.createVNode(k,{type:"submit",variant:"primary",onClick:E=>h(o.tabNames[V+1])},{default:e.withCtx(()=>[e.createTextVNode(" Weiter ")]),_:2},1032,["onClick"])],2)):e.createCommentVNode("",!0)]),_:2},1032,["name"]))),128))]),_:1},512),at])}}},[["__scopeId","data-v-61488015"]]),R={__name:"ExampleUsage",setup(t){const r=g(),n=e.computed(()=>r.state.basketRootNode.key?r.state.basketRootNode.key:""),m=e.reactive({rootNode:{},tabs:{cart:{component:e.shallowRef(B),props:{sidebar:!0,mode:"basket",cartKey:n},displayName:"Warenkorb",icon:{name:"cart",library:"hsk"},position:2,disabled:!1,atShow:null,atHide:null}}});function o(l){(l==null?void 0:l.detail.name)==="confirm"&&(m.tabs.orderComplete.disabled=!1)}return e.onBeforeMount(async()=>{await r.init(),await r.getAdressStructure(),console.log("debug init exampleusage :",r.state.basketRootNode)}),(l,b)=>(e.openBlock(),e.createBlock(nt,{tabs:m.tabs,onTabChange:o},null,8,["tabs"]))}},rt={install(t){t.component("CartView",B),t.component("ExampleUsage",R),t.component("ConfirmView",z)}};f.CartView=B,f.ConfirmView=z,f.ExampleUsage=R,f.default=rt,f.useCartStore=g,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); diff --git a/source/package-lock.json b/source/package-lock.json index 2b8ce79..1a7a3eb 100644 --- a/source/package-lock.json +++ b/source/package-lock.json @@ -1,34 +1,34 @@ { "name": "@viur/shop-components", - "version": "0.0.1-dev.31", + "version": "0.0.1-dev.32", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@viur/shop-components", - "version": "0.0.1-dev.31", + "version": "0.0.1-dev.32", "license": "MIT", "dependencies": { - "@viur/ignite": "^5.0.2", - "@viur/shoelace": "^1.0.6-v2.15.0", + "@viur/ignite": "^5.1.2", + "@viur/shoelace": "^1.0.6-v2.15.1", "@viur/viur-shop-client": "^0.1.0-dev.9", - "@viur/vue-utils": "^1.4.5", + "@viur/vue-utils": "^1.4.10", "pinia": "^2.1.7", - "vue": "^3.4.27", - "vue-router": "^4.3.2" + "vue": "^3.4.31", + "vue-router": "^4.4.0" }, "devDependencies": { - "@vitejs/plugin-vue": "^1.0.0", - "postcss-custom-media": "^10.0.0", - "postcss-nesting": "^12.0.0", - "prettier": "^3.2.5", - "vite": "^2.0.0" + "@vitejs/plugin-vue": "^5.0.5", + "postcss-custom-media": "^10.0.7", + "postcss-nesting": "^12.1.5", + "prettier": "^3.3.2", + "vite": "^5.3.3" } }, "node_modules/@babel/parser": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", - "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", + "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", "bin": { "parser": "bin/babel-parser.js" }, @@ -459,9 +459,9 @@ } }, "node_modules/@codemirror/autocomplete": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.16.0.tgz", - "integrity": "sha512-P/LeCTtZHRTCU4xQsa89vSKWecYv1ZqwzOd5topheGRf+qtacFgBeIMQi3eL8Kt/BUNvxUWkx+5qP2jlGoARrg==", + "version": "6.17.0", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.17.0.tgz", + "integrity": "sha512-fdfj6e6ZxZf8yrkMHUSJJir7OJkHkZKaOZGzLWIYp2PZ3jd+d+UjG8zVPqJF6d3bKxkhvXTPan/UZ1t7Bqm0gA==", "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", @@ -476,13 +476,13 @@ } }, "node_modules/@codemirror/commands": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.5.0.tgz", - "integrity": "sha512-rK+sj4fCAN/QfcY9BEzYMgp4wwL/q5aj/VfNSoH1RWPF9XS/dUwBkvlL3hpWgEjOqlpdN1uLC9UkjJ4tmyjJYg==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", + "integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", "dependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.0.0", + "@codemirror/view": "^6.27.0", "@lezer/common": "^1.1.0" } }, @@ -496,9 +496,9 @@ } }, "node_modules/@codemirror/language": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.1.tgz", - "integrity": "sha512-5GrXzrhq6k+gL5fjkAwt90nYDmjlzTIJV8THnxNFtNKWotMIlzzN+CpqxqwXOECnUdOndmSeWntVrVcv5axWRQ==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", + "integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.23.0", @@ -509,9 +509,9 @@ } }, "node_modules/@codemirror/lint": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.7.1.tgz", - "integrity": "sha512-rELba6QJD20/bNXWP/cKTGLrwVEcpa2ViwULCV03ONcY1Je85++7sczVRUlnE4TJMjatx3IJTz6HX4NXi+moXw==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", + "integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", "dependencies": { "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", @@ -534,9 +534,9 @@ "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==" }, "node_modules/@codemirror/view": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.26.3.tgz", - "integrity": "sha512-gmqxkPALZjkgSxIeeweY/wGQXBfwTUaLs8h7OKtSwfbj9Ct3L11lD+u1sS7XHppxFQoMDiMDp07P9f3I2jWOHw==", + "version": "6.28.4", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.28.4.tgz", + "integrity": "sha512-QScv95fiviSQ/CaVGflxAvvvDy/9wi0RFyDl4LkHHWiMr/UPebyuTspmYSeN5Nx6eujcPYwsQzA6ZIZucKZVHQ==", "dependencies": { "@codemirror/state": "^6.4.0", "style-mod": "^4.1.0", @@ -544,9 +544,9 @@ } }, "node_modules/@csstools/cascade-layer-name-parser": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-1.0.11.tgz", - "integrity": "sha512-yhsonEAhaWRQvHFYhSzOUobH2Ev++fMci+ppFRagw0qVSPlcPV4FnNmlwpM/b2BM10ZeMRkVV4So6YRswD0O0w==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-1.0.12.tgz", + "integrity": "sha512-iNCCOnaoycAfcIot3v/orjkTol+j8+Z5xgpqxUpZSdqeaxCADQZtldHhlvzDipmi7OoWdcJUO6DRZcnkMSBEIg==", "dev": true, "funding": [ { @@ -562,14 +562,14 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.3", - "@csstools/css-tokenizer": "^2.3.1" + "@csstools/css-parser-algorithms": "^2.7.0", + "@csstools/css-tokenizer": "^2.3.2" } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.3.tgz", - "integrity": "sha512-xI/tL2zxzEbESvnSxwFgwvy5HS00oCXxL4MLs6HUiDcYfwowsoQaABKxUElp1ARITrINzBnsECOc1q0eg2GOrA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.7.0.tgz", + "integrity": "sha512-qvBMcOU/uWFCH/VO0MYe0AMs0BGMWAt6FTryMbFIKYtZtVnqTZtT8ktv5o718llkaGZWomJezJZjq3vJDHeJNQ==", "dev": true, "funding": [ { @@ -585,13 +585,13 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.3.1" + "@csstools/css-tokenizer": "^2.3.2" } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.1.tgz", - "integrity": "sha512-iMNHTyxLbBlWIfGtabT157LH9DUx9X8+Y3oymFEuMj8HNc+rpE3dPFGFgHjpKfjeFDjLjYIAIhXPGvS2lKxL9g==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.3.3.tgz", + "integrity": "sha512-fTaF0vRcXVJ4cmwg8nHofydDjitKMDBzC8cCu+O/Lg13C4PdkC15GVjGpbmWauOOnhomVSTg5I5LpLJFJE2Hfw==", "dev": true, "funding": [ { @@ -608,9 +608,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.11.tgz", - "integrity": "sha512-uox5MVhvNHqitPP+SynrB1o8oPxPMt2JLgp5ghJOWf54WGQ5OKu47efne49r1SWqs3wRP8xSWjnO9MBKxhB1dA==", + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.12.tgz", + "integrity": "sha512-t1/CdyVJzOQUiGUcIBXRzTAkWTFPxiPnoKwowKW2z9Uj78c2bBWI/X94BeVfUwVq1xtCjD7dnO8kS6WONgp8Jw==", "dev": true, "funding": [ { @@ -626,8 +626,8 @@ "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.3", - "@csstools/css-tokenizer": "^2.3.1" + "@csstools/css-parser-algorithms": "^2.7.0", + "@csstools/css-tokenizer": "^2.3.2" } }, "node_modules/@csstools/selector-resolve-nested": { @@ -682,6 +682,86 @@ "node": ">=14" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/darwin-x64": { "version": "0.19.12", "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", @@ -697,10 +777,90 @@ "node": ">=12" } }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/linux-loong64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz", - "integrity": "sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "cpu": [ "loong64" ], @@ -713,6 +873,70 @@ "node": ">=12" } }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/linux-x64": { "version": "0.19.12", "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", @@ -728,27 +952,123 @@ "node": ">=12" } }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@floating-ui/core": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.2.tgz", - "integrity": "sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==", + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.4.tgz", + "integrity": "sha512-a4IowK4QkXl4SCWTGUR0INAfEOX3wtsYw3rKK5InQEHMGObkR8Xk44qYQD9P4r6HHw0iIfK6GUKECmY8sTkqRA==", "dependencies": { - "@floating-ui/utils": "^0.2.0" + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/dom": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz", - "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.7.tgz", + "integrity": "sha512-wmVfPG5o2xnKDU4jx/m4w5qva9FWHcnZ8BvzEe90D/RpwsJaTAVYPEPdQ8sbr/N8zZTAHlZUTQdqg8ZUbzHmng==", "dependencies": { - "@floating-ui/core": "^1.0.0", - "@floating-ui/utils": "^0.2.0" + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.4" } }, "node_modules/@floating-ui/utils": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz", - "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.4.tgz", + "integrity": "sha512-dWO2pw8hhi+WrXq1YJy2yCuWoL20PddgGaqTgVe4cOS9Q6qklXCiA1tJEqX6BEwRNSCP84/afac9hd4MS+zEUA==" }, "node_modules/@intlify/core-base": { "version": "9.13.1", @@ -820,9 +1140,9 @@ } }, "node_modules/@lezer/lr": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.0.tgz", - "integrity": "sha512-Wst46p51km8gH0ZUmeNrtpRYmdlRHUpN1DQd3GFAyKANi8WVz8c2jHYTf1CVScFaCjQw1iO3ZZdqGDxQPRErTg==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.1.tgz", + "integrity": "sha512-CHsKq8DMKBf9b3yXPDIU4DbH+ZJd/sJdYOW2llbW/HudP5u0VS6Bfq1hLYfgU7uAYGFIyGGQIsSOXGPEErZiJw==", "dependencies": { "@lezer/common": "^1.0.0" } @@ -848,14 +1168,222 @@ "@lit-labs/ssr-dom-shim": "^1.2.0" } }, - "node_modules/@shoelace-style/animations": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@shoelace-style/animations/-/animations-1.1.0.tgz", - "integrity": "sha512-Be+cahtZyI2dPKRm8EZSx3YJQ+jLvEcn3xzRP7tM4tqBnvd/eW/64Xh0iOf0t2w5P8iJKfdBbpVNE9naCaOf2g==", - "funding": { - "type": "individual", - "url": "https://github.com/sponsors/claviska" - } + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", + "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", + "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", + "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", + "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", + "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", + "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", + "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", + "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", + "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", + "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", + "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", + "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", + "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", + "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", + "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", + "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@shoelace-style/animations": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@shoelace-style/animations/-/animations-1.1.0.tgz", + "integrity": "sha512-Be+cahtZyI2dPKRm8EZSx3YJQ+jLvEcn3xzRP7tM4tqBnvd/eW/64Xh0iOf0t2w5P8iJKfdBbpVNE9naCaOf2g==", + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/claviska" + } }, "node_modules/@shoelace-style/localize": { "version": "3.1.2", @@ -867,6 +1395,12 @@ "resolved": "https://registry.npmjs.org/@tinymce/tinymce-webcomponent/-/tinymce-webcomponent-2.1.0.tgz", "integrity": "sha512-71pMNHqk2iDEagrrBH+zuUAtgrHaDGDIlgnJsLfA3nHlk8FyhM6eCtPAEwUQtFh0sgPRrx1VNuz/JRawQUdL/g==" }, + "node_modules/@types/estree": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "dev": true + }, "node_modules/@types/prop-types": { "version": "15.7.12", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", @@ -874,9 +1408,9 @@ "peer": true }, "node_modules/@types/react": { - "version": "18.3.2", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.2.tgz", - "integrity": "sha512-Btgg89dAnqD4vV7R3hlwOxgqobUQKgx3MmrQRi0yYbs/P0ym8XozIAlkqVilPqHQwXs4e9Tf63rrCgl58BcO4w==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", "peer": true, "dependencies": { "@types/prop-types": "*", @@ -899,15 +1433,16 @@ "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==" }, "node_modules/@vitejs/plugin-vue": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.10.2.tgz", - "integrity": "sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.0.5.tgz", + "integrity": "sha512-LOjm7XeIimLBZyzinBQ6OSm3UBCNVCpLkxGC0oWmm2YPzVZoxMsdvNVimLTBzpAnR9hl/yn1SHGuRfe6/Td9rQ==", "dev": true, "engines": { - "node": ">=12.0.0" + "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "vite": "^2.5.10" + "vite": "^5.0.0", + "vue": "^3.2.25" } }, "node_modules/@viur/ckeditor5-build-classic": { @@ -942,14 +1477,14 @@ } }, "node_modules/@viur/ignite": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@viur/ignite/-/ignite-5.0.2.tgz", - "integrity": "sha512-Wiv+l4712cHus1yeqH/+ivIKl/Amx597JHR+YZjgCZTJmpQA3JUpYLpGYphdU1NkslSiEkc5W4KJxqbz9sh4dQ==" + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@viur/ignite/-/ignite-5.1.2.tgz", + "integrity": "sha512-j1Q2D2bj2PqhtuRRR4ZTtDdRsbvmDBwWb/jhuPwl/SimXZ9tQEw/qWD1hCwHuKFcZKjjM5yZsQ37C08rYGcP9g==" }, "node_modules/@viur/shoelace": { - "version": "1.0.6-v2.15.0", - "resolved": "https://registry.npmjs.org/@viur/shoelace/-/shoelace-1.0.6-v2.15.0.tgz", - "integrity": "sha512-wZ/AFKV7DCkieILVmr90EHXt+e14NgI3VMNkiJf8ymTMYertBAz11emjOajbKo30vObcXK7nN0Ynn/xeDiZl6Q==", + "version": "1.0.6-v2.15.1", + "resolved": "https://registry.npmjs.org/@viur/shoelace/-/shoelace-1.0.6-v2.15.1.tgz", + "integrity": "sha512-KcSiQxCPYlCg6tFZS1/6jLtIYb8uod4elSr/6QUD8pWSyDckCVHLbRce1CtZ+mhP9nuygjVOTsytzhy/Uo2u3w==", "dependencies": { "@codemirror/autocomplete": "^6.0.0", "@codemirror/commands": "^6.0.0", @@ -992,11 +1527,11 @@ "integrity": "sha512-DbQ7FS3VXWlehWKvPFmWkBmxyA9XSiFyUDhN/XyM9nQ+OXoaD1fgnogxZJvrTNQLFySRiDCcUZcQm8yCQzjDeg==" }, "node_modules/@viur/vue-components": { - "version": "1.3.9", - "resolved": "https://registry.npmjs.org/@viur/vue-components/-/vue-components-1.3.9.tgz", - "integrity": "sha512-5rRVNvrwKA5dmi31jAipeYvPzu4N3pRbIgrCO815fNR1VRBUfS5BuJh7QS8Se/MK+YmxEAaab4O7MTbWZcZyKw==", + "version": "1.4.7", + "resolved": "https://registry.npmjs.org/@viur/vue-components/-/vue-components-1.4.7.tgz", + "integrity": "sha512-kH8fWtB7JaM12KeTevp6ZhCr2KN2Z5GpuIAK/tPG+JyG8sQE9RdEhEZrBiTfeXr2ap8BQmNEV1YK9g8NLoTfow==", "dependencies": { - "@viur/vue-utils": "^1.4.5", + "@viur/vue-utils": "^1.4.10", "@vueuse/core": "^10.5.0", "logics-js": "^0.3.7", "pinia-plugin-persistedstate": "^3.1.0", @@ -1005,9 +1540,9 @@ } }, "node_modules/@viur/vue-utils": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/@viur/vue-utils/-/vue-utils-1.4.5.tgz", - "integrity": "sha512-QhwVurDaaouIIgMT6x53mG/iVn4ugEAfWYtYGF7oIDPocUBpLRCr6oqRWjK7QozM976k/I5G3jP8zIYftuHV0w==", + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@viur/vue-utils/-/vue-utils-1.4.10.tgz", + "integrity": "sha512-CkB25Gd8Kc52YtdHzRlige4DlPYZVaiEOHjtiSTgPanu86cemYWZmBOacBwkIkicLRmabnqJ/CWIfqz1WJfDgA==", "dependencies": { "@ckeditor/ckeditor5-vue": "^5.1.0", "@viur/ckeditor5-build-classic": "^1.0.2-v38.0.1", @@ -1020,36 +1555,36 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.27.tgz", - "integrity": "sha512-E+RyqY24KnyDXsCuQrI+mlcdW3ALND6U7Gqa/+bVwbcpcR3BRRIckFoz7Qyd4TTlnugtwuI7YgjbvsLmxb+yvg==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.31.tgz", + "integrity": "sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg==", "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/shared": "3.4.27", + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.31", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" } }, "node_modules/@vue/compiler-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.27.tgz", - "integrity": "sha512-kUTvochG/oVgE1w5ViSr3KUBh9X7CWirebA3bezTbB5ZKBQZwR2Mwj9uoSKRMFcz4gSMzzLXBPD6KpCLb9nvWw==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.31.tgz", + "integrity": "sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ==", "dependencies": { - "@vue/compiler-core": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-core": "3.4.31", + "@vue/shared": "3.4.31" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.27.tgz", - "integrity": "sha512-nDwntUEADssW8e0rrmE0+OrONwmRlegDA1pD6QhVeXxjIytV03yDqTey9SBDiALsvAd5U4ZrEKbMyVXhX6mCGA==", - "dependencies": { - "@babel/parser": "^7.24.4", - "@vue/compiler-core": "3.4.27", - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.31.tgz", + "integrity": "sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ==", + "dependencies": { + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.31", + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", "postcss": "^8.4.38", @@ -1057,125 +1592,82 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.27.tgz", - "integrity": "sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.31.tgz", + "integrity": "sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA==", "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.31", + "@vue/shared": "3.4.31" } }, "node_modules/@vue/devtools-api": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.1.tgz", - "integrity": "sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==" + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz", + "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==" }, "node_modules/@vue/reactivity": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.27.tgz", - "integrity": "sha512-kK0g4NknW6JX2yySLpsm2jlunZJl2/RJGZ0H9ddHdfBVHcNzxmQ0sS0b09ipmBoQpY8JM2KmUw+a6sO8Zo+zIA==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.31.tgz", + "integrity": "sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q==", "dependencies": { - "@vue/shared": "3.4.27" + "@vue/shared": "3.4.31" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.27.tgz", - "integrity": "sha512-7aYA9GEbOOdviqVvcuweTLe5Za4qBZkUY7SvET6vE8kyypxVgaT1ixHLg4urtOlrApdgcdgHoTZCUuTGap/5WA==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.31.tgz", + "integrity": "sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw==", "dependencies": { - "@vue/reactivity": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/reactivity": "3.4.31", + "@vue/shared": "3.4.31" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.27.tgz", - "integrity": "sha512-ScOmP70/3NPM+TW9hvVAz6VWWtZJqkbdf7w6ySsws+EsqtHvkhxaWLecrTorFxsawelM5Ys9FnDEMt6BPBDS0Q==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.31.tgz", + "integrity": "sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw==", "dependencies": { - "@vue/runtime-core": "3.4.27", - "@vue/shared": "3.4.27", + "@vue/reactivity": "3.4.31", + "@vue/runtime-core": "3.4.31", + "@vue/shared": "3.4.31", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.27.tgz", - "integrity": "sha512-dlAMEuvmeA3rJsOMJ2J1kXU7o7pOxgsNHVr9K8hB3ImIkSuBrIdy0vF66h8gf8Tuinf1TK3mPAz2+2sqyf3KzA==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.31.tgz", + "integrity": "sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA==", "dependencies": { - "@vue/compiler-ssr": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-ssr": "3.4.31", + "@vue/shared": "3.4.31" }, "peerDependencies": { - "vue": "3.4.27" + "vue": "3.4.31" } }, "node_modules/@vue/shared": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.27.tgz", - "integrity": "sha512-DL3NmY2OFlqmYYrzp39yi3LDkKxa5vZVwxWdQ3rG0ekuWscHraeIbnI8t+aZK7qhYqEqWKTUdijadunb9pnrgA==" + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.31.tgz", + "integrity": "sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA==" }, "node_modules/@vueuse/core": { - "version": "10.9.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.9.0.tgz", - "integrity": "sha512-/1vjTol8SXnx6xewDEKfS0Ra//ncg4Hb0DaZiwKf7drgfMsKFExQ+FnnENcN6efPen+1kIzhLQoGSy0eDUVOMg==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.0.tgz", + "integrity": "sha512-x3sD4Mkm7PJ+pcq3HX8PLPBadXCAlSDR/waK87dz0gQE+qJnaaFhc/dZVfJz+IUYzTMVGum2QlR7ImiJQN4s6g==", "dependencies": { "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.9.0", - "@vueuse/shared": "10.9.0", - "vue-demi": ">=0.14.7" + "@vueuse/metadata": "10.11.0", + "@vueuse/shared": "10.11.0", + "vue-demi": ">=0.14.8" }, "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/@vueuse/core/node_modules/vue-demi": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", - "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/@vueuse/metadata": { - "version": "10.9.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.9.0.tgz", - "integrity": "sha512-iddNbg3yZM0X7qFY2sAotomgdHK7YJ6sKUvQqbvwnf7TmaVPxS4EJydcNsVejNdS8iWCtDk+fYXr7E32nyTnGA==", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared": { - "version": "10.9.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.9.0.tgz", - "integrity": "sha512-Uud2IWncmAfJvRaFYzv5OHDli+FbOzxiVEQdLCKQKLyhz94PIyFC3CHcH7EDMwIn8NPtD06+PNbC/PiO0LGLtw==", - "dependencies": { - "vue-demi": ">=0.14.7" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared/node_modules/vue-demi": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", - "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", + "version": "0.14.8", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.8.tgz", + "integrity": "sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==", "hasInstallScript": true, "bin": { "vue-demi-fix": "bin/vue-demi-fix.js", @@ -1197,457 +1689,215 @@ } } }, - "node_modules/ckeditor5": { - "version": "38.1.1", - "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-38.1.1.tgz", - "integrity": "sha512-KE6H2WGLlhlI4F//AZn+fv52DhbwAeVv+ZeSIsa5gC81/3ZCzuYc3+IMur/70IBE9Gze8gKwFP9elh/TIaQ5Hw==", - "dependencies": { - "@ckeditor/ckeditor5-clipboard": "38.1.1", - "@ckeditor/ckeditor5-core": "38.1.1", - "@ckeditor/ckeditor5-engine": "38.1.1", - "@ckeditor/ckeditor5-enter": "38.1.1", - "@ckeditor/ckeditor5-paragraph": "38.1.1", - "@ckeditor/ckeditor5-select-all": "38.1.1", - "@ckeditor/ckeditor5-typing": "38.1.1", - "@ckeditor/ckeditor5-ui": "38.1.1", - "@ckeditor/ckeditor5-undo": "38.1.1", - "@ckeditor/ckeditor5-upload": "38.1.1", - "@ckeditor/ckeditor5-utils": "38.1.1", - "@ckeditor/ckeditor5-watchdog": "38.1.1", - "@ckeditor/ckeditor5-widget": "38.1.1" - }, - "engines": { - "node": ">=16.0.0", - "npm": ">=5.7.1" - } - }, - "node_modules/codemirror": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", - "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", - "dependencies": { - "@codemirror/autocomplete": "^6.0.0", - "@codemirror/commands": "^6.0.0", - "@codemirror/language": "^6.0.0", - "@codemirror/lint": "^6.0.0", - "@codemirror/search": "^6.0.0", - "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.0.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/color-parse": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.2.tgz", - "integrity": "sha512-RI7s49/8yqDj3fECFZjUI1Yi0z/Gq1py43oNJivAIIDSyJiOZLfYCRQEgn8HEVAj++PcRe8AnL2XF0fRJ3BTnA==", - "dependencies": { - "color-name": "^1.0.0" - } - }, - "node_modules/composed-offset-position": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/composed-offset-position/-/composed-offset-position-0.0.4.tgz", - "integrity": "sha512-vMlvu1RuNegVE0YsCDSV/X4X10j56mq7PCIyOKK74FxkXzGLwhOUmdkJLSdOBOMwWycobGUMgft2lp+YgTe8hw==" - }, - "node_modules/crelt": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", - "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" - }, - "node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/esbuild": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.54.tgz", - "integrity": "sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/linux-loong64": "0.14.54", - "esbuild-android-64": "0.14.54", - "esbuild-android-arm64": "0.14.54", - "esbuild-darwin-64": "0.14.54", - "esbuild-darwin-arm64": "0.14.54", - "esbuild-freebsd-64": "0.14.54", - "esbuild-freebsd-arm64": "0.14.54", - "esbuild-linux-32": "0.14.54", - "esbuild-linux-64": "0.14.54", - "esbuild-linux-arm": "0.14.54", - "esbuild-linux-arm64": "0.14.54", - "esbuild-linux-mips64le": "0.14.54", - "esbuild-linux-ppc64le": "0.14.54", - "esbuild-linux-riscv64": "0.14.54", - "esbuild-linux-s390x": "0.14.54", - "esbuild-netbsd-64": "0.14.54", - "esbuild-openbsd-64": "0.14.54", - "esbuild-sunos-64": "0.14.54", - "esbuild-windows-32": "0.14.54", - "esbuild-windows-64": "0.14.54", - "esbuild-windows-arm64": "0.14.54" - } - }, - "node_modules/esbuild-android-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz", - "integrity": "sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-android-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz", - "integrity": "sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz", - "integrity": "sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz", - "integrity": "sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz", - "integrity": "sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz", - "integrity": "sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-32": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz", - "integrity": "sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz", - "integrity": "sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz", - "integrity": "sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/esbuild-linux-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz", - "integrity": "sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@vueuse/metadata": { + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.0.tgz", + "integrity": "sha512-kQX7l6l8dVWNqlqyN3ePW3KmjCQO3ZMgXuBMddIu83CmucrsBfXlH+JoviYyRBws/yLTQO8g3Pbw+bdIoVm4oQ==", + "funding": { + "url": "https://github.com/sponsors/antfu" } }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz", - "integrity": "sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/@vueuse/shared": { + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.0.tgz", + "integrity": "sha512-fyNoIXEq3PfX1L3NkNhtVQUSRtqYwJtJg+Bp9rIzculIZWHTkKSysujrOk2J+NrRulLTQH9+3gGSfYLWSEWU1A==", + "dependencies": { + "vue-demi": ">=0.14.8" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" } }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz", - "integrity": "sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], + "node_modules/@vueuse/shared/node_modules/vue-demi": { + "version": "0.14.8", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.8.tgz", + "integrity": "sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==", + "hasInstallScript": true, + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, "engines": { "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } } }, - "node_modules/esbuild-linux-riscv64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz", - "integrity": "sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], + "node_modules/ckeditor5": { + "version": "38.1.1", + "resolved": "https://registry.npmjs.org/ckeditor5/-/ckeditor5-38.1.1.tgz", + "integrity": "sha512-KE6H2WGLlhlI4F//AZn+fv52DhbwAeVv+ZeSIsa5gC81/3ZCzuYc3+IMur/70IBE9Gze8gKwFP9elh/TIaQ5Hw==", + "dependencies": { + "@ckeditor/ckeditor5-clipboard": "38.1.1", + "@ckeditor/ckeditor5-core": "38.1.1", + "@ckeditor/ckeditor5-engine": "38.1.1", + "@ckeditor/ckeditor5-enter": "38.1.1", + "@ckeditor/ckeditor5-paragraph": "38.1.1", + "@ckeditor/ckeditor5-select-all": "38.1.1", + "@ckeditor/ckeditor5-typing": "38.1.1", + "@ckeditor/ckeditor5-ui": "38.1.1", + "@ckeditor/ckeditor5-undo": "38.1.1", + "@ckeditor/ckeditor5-upload": "38.1.1", + "@ckeditor/ckeditor5-utils": "38.1.1", + "@ckeditor/ckeditor5-watchdog": "38.1.1", + "@ckeditor/ckeditor5-widget": "38.1.1" + }, "engines": { - "node": ">=12" + "node": ">=16.0.0", + "npm": ">=5.7.1" } }, - "node_modules/esbuild-linux-s390x": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz", - "integrity": "sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/codemirror": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", + "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/commands": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/search": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" } }, - "node_modules/esbuild-netbsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz", - "integrity": "sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, "engines": { - "node": ">=12" + "node": ">=7.0.0" } }, - "node_modules/esbuild-openbsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz", - "integrity": "sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==", - "cpu": [ - "x64" - ], + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/color-parse": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.4.2.tgz", + "integrity": "sha512-RI7s49/8yqDj3fECFZjUI1Yi0z/Gq1py43oNJivAIIDSyJiOZLfYCRQEgn8HEVAj++PcRe8AnL2XF0fRJ3BTnA==", + "dependencies": { + "color-name": "^1.0.0" + } + }, + "node_modules/composed-offset-position": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/composed-offset-position/-/composed-offset-position-0.0.4.tgz", + "integrity": "sha512-vMlvu1RuNegVE0YsCDSV/X4X10j56mq7PCIyOKK74FxkXzGLwhOUmdkJLSdOBOMwWycobGUMgft2lp+YgTe8hw==" + }, + "node_modules/crelt": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==" + }, + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, - "optional": true, - "os": [ - "openbsd" - ], + "bin": { + "cssesc": "bin/cssesc" + }, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/esbuild-sunos-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz", - "integrity": "sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "engines": { - "node": ">=12" + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/esbuild-windows-32": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz", - "integrity": "sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==", - "cpu": [ - "ia32" - ], + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, - "optional": true, - "os": [ - "win32" - ], + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, "engines": { "node": ">=12" - } - }, - "node_modules/esbuild-windows-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz", - "integrity": "sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==", + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/esbuild/node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "cpu": [ "x64" ], "dev": true, "optional": true, "os": [ - "win32" + "darwin" ], "engines": { "node": ">=12" } }, - "node_modules/esbuild-windows-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz", - "integrity": "sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==", + "node_modules/esbuild/node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "cpu": [ - "arm64" + "x64" ], "dev": true, "optional": true, "os": [ - "win32" + "linux" ], "engines": { "node": ">=12" @@ -1672,51 +1922,15 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", - "dev": true, - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/leaflet": { "version": "1.9.4", "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.9.4.tgz", "integrity": "sha512-nxS1ynzJOmOlHp+iL3FyWqK89GtNL8U8rvlMOsQdTTssxZwCXh8N2NB3GDQOL+YR3XnWyZAxwQixURb+FA74PA==" }, "node_modules/lit": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.3.tgz", - "integrity": "sha512-l4slfspEsnCcHVRTvaP7YnkTZEZggNFywLEIhQaGhYDczG+tu/vlgm/KaWIEjIp+ZyV20r2JnZctMb8LeLCG7Q==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.4.tgz", + "integrity": "sha512-q6qKnKXHy2g1kjBaNfcoLlgbI3+aSOZ9Q4tiGa9bGYXq5RBXxkVTqTIVmP2VWMp29L4GyvCFm8ZQ2o56eUAMyA==", "dependencies": { "@lit/reactive-element": "^2.0.4", "lit-element": "^4.0.4", @@ -1724,9 +1938,9 @@ } }, "node_modules/lit-element": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.5.tgz", - "integrity": "sha512-iTWskWZEtn9SyEf4aBG6rKT8GABZMrTWop1+jopsEOgEcugcXJGKuX5bEbkq9qfzY+XB4MAgCaSPwnNpdsNQ3Q==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.6.tgz", + "integrity": "sha512-U4sdJ3CSQip7sLGZ/uJskO5hGiqtlpxndsLr6mt3IQIjheg93UKYeGQjWMRql1s/cXNOaRrCzC2FQwjIwSUqkg==", "dependencies": { "@lit-labs/ssr-dom-shim": "^1.2.0", "@lit/reactive-element": "^2.0.4", @@ -1734,9 +1948,9 @@ } }, "node_modules/lit-html": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.3.tgz", - "integrity": "sha512-FwIbqDD8O/8lM4vUZ4KvQZjPPNx7V1VhT7vmRB8RBAO0AU6wuTVdoXiu2CivVjEGdugvcbPNBLtPE1y0ifplHA==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.4.tgz", + "integrity": "sha512-yKKO2uVv7zYFHlWMfZmqc+4hkmSbFp8jgjdZY9vvR9jr4J8fH6FUMXhr+ljfELgmjpvlF7Z1SJ5n5/Jeqtc9YA==", "dependencies": { "@types/trusted-types": "^2.0.2" } @@ -1776,12 +1990,6 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, "node_modules/path-to-regexp": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", @@ -1826,9 +2034,9 @@ } }, "node_modules/pinia/node_modules/vue-demi": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", - "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", + "version": "0.14.8", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.8.tgz", + "integrity": "sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q==", "hasInstallScript": true, "bin": { "vue-demi-fix": "bin/vue-demi-fix.js", @@ -1851,9 +2059,9 @@ } }, "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.39", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.39.tgz", + "integrity": "sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw==", "funding": [ { "type": "opencollective", @@ -1870,7 +2078,7 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "source-map-js": "^1.2.0" }, "engines": { @@ -1878,9 +2086,9 @@ } }, "node_modules/postcss-custom-media": { - "version": "10.0.6", - "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-10.0.6.tgz", - "integrity": "sha512-BjihQoIO4Wjqv9fQNExSJIim8UAmkhLxuJnhJsLTRFSba1y1MhxkJK5awsM//6JJ+/Tu5QUxf624RQAvKHv6SA==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-10.0.7.tgz", + "integrity": "sha512-o2k5nnvRZhF36pr1fGFM7a1EMTcNdKNO70Tp1g2lfpYgiwIctR7ic4acBCDHBMYRcQ8mFlaBB1QsEywqrSIaFQ==", "dev": true, "funding": [ { @@ -1893,10 +2101,10 @@ } ], "dependencies": { - "@csstools/cascade-layer-name-parser": "^1.0.11", - "@csstools/css-parser-algorithms": "^2.6.3", - "@csstools/css-tokenizer": "^2.3.1", - "@csstools/media-query-list-parser": "^2.1.11" + "@csstools/cascade-layer-name-parser": "^1.0.12", + "@csstools/css-parser-algorithms": "^2.7.0", + "@csstools/css-tokenizer": "^2.3.2", + "@csstools/media-query-list-parser": "^2.1.12" }, "engines": { "node": "^14 || ^16 || >=18" @@ -1906,9 +2114,9 @@ } }, "node_modules/postcss-nesting": { - "version": "12.1.4", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.4.tgz", - "integrity": "sha512-CcHOq94K137E+U4Ommu7pexcpp0Tjm24zl4UcqWs1oSLAr5cLI+jLrqQ5h/bdjhMX6cMbzunyustVNnvrzF8Zg==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.5.tgz", + "integrity": "sha512-N1NgI1PDCiAGWPTYrwqm8wpjv0bgDmkYHH72pNsqTCv9CObxjxftdYu6AKtGN+pnJa7FQjMm3v4sp8QJbFsYdQ==", "dev": true, "funding": [ { @@ -1923,7 +2131,7 @@ "dependencies": { "@csstools/selector-resolve-nested": "^1.1.0", "@csstools/selector-specificity": "^3.1.1", - "postcss-selector-parser": "^6.0.13" + "postcss-selector-parser": "^6.1.0" }, "engines": { "node": "^14 || ^16 || >=18" @@ -1933,9 +2141,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", + "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -1946,9 +2154,9 @@ } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", + "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -1965,35 +2173,38 @@ "resolved": "https://registry.npmjs.org/qr-creator/-/qr-creator-1.0.0.tgz", "integrity": "sha512-C0cqfbS1P5hfqN4NhsYsUXePlk9BO+a45bAQ3xLYjBL3bOIFzoVEjs79Fado9u9BPBD3buHi3+vY+C8tHh4qMQ==" }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "node_modules/rollup": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", + "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", "dev": true, "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" + "@types/estree": "1.0.5" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/rollup": { - "version": "2.77.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.77.3.tgz", - "integrity": "sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==", - "dev": true, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=10.0.0" + "node": ">=18.0.0", + "npm": ">=8.0.0" }, "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.18.0", + "@rollup/rollup-android-arm64": "4.18.0", + "@rollup/rollup-darwin-arm64": "4.18.0", + "@rollup/rollup-darwin-x64": "4.18.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", + "@rollup/rollup-linux-arm-musleabihf": "4.18.0", + "@rollup/rollup-linux-arm64-gnu": "4.18.0", + "@rollup/rollup-linux-arm64-musl": "4.18.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", + "@rollup/rollup-linux-riscv64-gnu": "4.18.0", + "@rollup/rollup-linux-s390x-gnu": "4.18.0", + "@rollup/rollup-linux-x64-gnu": "4.18.0", + "@rollup/rollup-linux-x64-musl": "4.18.0", + "@rollup/rollup-win32-arm64-msvc": "4.18.0", + "@rollup/rollup-win32-ia32-msvc": "4.18.0", + "@rollup/rollup-win32-x64-msvc": "4.18.0", "fsevents": "~2.3.2" } }, @@ -2015,18 +2226,6 @@ "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz", "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==" }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -2039,52 +2238,70 @@ "integrity": "sha512-z2YZusTFC6KnLERx1cgoIRX2CjPRP0W75N+3CC6gbvdX5Ch47rZkEMGO2Xnf+IEmi3RiFLxS18gayMA27iU7Kg==" }, "node_modules/vite": { - "version": "2.9.18", - "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.18.tgz", - "integrity": "sha512-sAOqI5wNM9QvSEE70W3UGMdT8cyEn0+PmJMTFvTB8wB0YbYUWw3gUbY62AOyrXosGieF2htmeLATvNxpv/zNyQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.3.tgz", + "integrity": "sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==", "dev": true, "dependencies": { - "esbuild": "^0.14.27", - "postcss": "^8.4.13", - "resolve": "^1.22.0", - "rollup": ">=2.59.0 <2.78.0" + "esbuild": "^0.21.3", + "postcss": "^8.4.39", + "rollup": "^4.13.0" }, "bin": { "vite": "bin/vite.js" }, "engines": { - "node": ">=12.2.0" + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" }, "optionalDependencies": { - "fsevents": "~2.3.2" + "fsevents": "~2.3.3" }, "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", "less": "*", + "lightningcss": "^1.21.0", "sass": "*", - "stylus": "*" + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" }, "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, "less": { "optional": true }, + "lightningcss": { + "optional": true + }, "sass": { "optional": true }, "stylus": { "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true } } }, "node_modules/vue": { - "version": "3.4.27", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.27.tgz", - "integrity": "sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==", + "version": "3.4.31", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.31.tgz", + "integrity": "sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==", "dependencies": { - "@vue/compiler-dom": "3.4.27", - "@vue/compiler-sfc": "3.4.27", - "@vue/runtime-dom": "3.4.27", - "@vue/server-renderer": "3.4.27", - "@vue/shared": "3.4.27" + "@vue/compiler-dom": "3.4.31", + "@vue/compiler-sfc": "3.4.31", + "@vue/runtime-dom": "3.4.31", + "@vue/server-renderer": "3.4.31", + "@vue/shared": "3.4.31" }, "peerDependencies": { "typescript": "*" @@ -2127,9 +2344,9 @@ } }, "node_modules/vue-router": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.3.2.tgz", - "integrity": "sha512-hKQJ1vDAZ5LVkKEnHhmm1f9pMiWIBNGF5AwU67PdH7TyXCj/a4hTccuUuYCAMgJK6rO/NVYtQIEN3yL8CECa7Q==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.0.tgz", + "integrity": "sha512-HB+t2p611aIZraV2aPSRNXf0Z/oLZFrlygJm+sZbdJaW6lcFqEDQwnzUBXn+DApw+/QzDU/I9TeWx9izEjTmsA==", "dependencies": { "@vue/devtools-api": "^6.5.1" }, diff --git a/source/package.json b/source/package.json index 421fc47..8cd4696 100644 --- a/source/package.json +++ b/source/package.json @@ -1,6 +1,6 @@ { "name": "@viur/shop-components", - "version": "0.0.1-dev.31", + "version": "0.0.1-dev.32", "description": "Frontend Vue components for the shop module of ViUR", "repository": { "type": "git", @@ -28,19 +28,19 @@ "watch": "vite build --watch" }, "dependencies": { - "@viur/ignite": "^5.0.2", - "@viur/shoelace": "^1.0.6-v2.15.0", + "@viur/ignite": "^5.1.2", + "@viur/shoelace": "^1.0.6-v2.15.1", "@viur/viur-shop-client": "^0.1.0-dev.9", - "@viur/vue-utils": "^1.4.5", + "@viur/vue-utils": "^1.4.10", "pinia": "^2.1.7", - "vue": "^3.4.27", - "vue-router": "^4.3.2" + "vue": "^3.4.31", + "vue-router": "^4.4.0" }, "devDependencies": { - "postcss-custom-media": "^10.0.0", - "postcss-nesting": "^12.0.0", - "prettier": "^3.2.5", - "vite": "^2.0.0", - "@vitejs/plugin-vue": "^1.0.0" + "postcss-custom-media": "^10.0.7", + "postcss-nesting": "^12.1.5", + "prettier": "^3.3.2", + "vite": "^5.3.3", + "@vitejs/plugin-vue": "^5.0.5" } -} \ No newline at end of file +}