@uxland/primary-shell 7.40.1 → 7.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as s, d as e, x as t, z as r, P as n, b as o, v as l, Q as c, n as g, o as m, p, m as v, c as P, u as E, f as h, q as u, e as R, w as S, g as d, j as y, s as w, l as C, y as M } from "./index-Dnyofefj.js";
1
+ import { E as s, d as e, x as t, z as r, P as n, b as o, v as l, Q as c, n as g, o as m, p, m as v, c as P, u as E, f as h, q as u, e as R, w as S, g as d, j as y, s as w, l as C, y as M } from "./index-ayzo4OJo.js";
2
2
  export {
3
3
  s as EcapEventManager,
4
4
  e as ExitShell,
@@ -406,7 +406,7 @@ Registered bindings:`,re.forEach(function(oe){var ne="Object";oe.implementationT
406
406
  </div>
407
407
  `;var __getOwnPropDesc$f=Object.getOwnPropertyDescriptor,__decorateClass$t=(X,W,J,te)=>{for(var re=te>1?void 0:te?__getOwnPropDesc$f(W,J):W,oe=X.length-1,ne;oe>=0;oe--)(ne=X[oe])&&(re=ne(re)||re);return re};let ActivityHistoryIsGroupingBusy=class extends h$p{render(){return template$n()}};ActivityHistoryIsGroupingBusy.styles=i$T`
408
408
  ${r$L(styles$l)}
409
- `,ActivityHistoryIsGroupingBusy=__decorateClass$t([t$w("activity-history-is-grouping-busy")],ActivityHistoryIsGroupingBusy);function shouldShowRole(X){return!X.professional?.speciality?.description}const hasItemDivider=(X,W)=>{const J=W.findIndex(te=>te.id===X.id);return J===-1?!1:J===W.length-1?!0:!X.diagnostics?.length},mergeHistoryItemsAndSubgroups=X=>{const W=X?.items.map(te=>({type:"item",date:new Date(te.date),item:te})),J=X?.subGroups.map(te=>({type:"subGroup",date:te?.items.length?new Date(te.items[0].date):new Date(0),subGroup:te}));return[...W,...J].sort((te,re)=>re.date.getTime()-te.date.getTime())},notFound="data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.9'%20d='M135.132%2057.43C96.9221%2047.658%2083.3815%20-29.7048%2026.9734%2012.5083C-13.0511%2042.4595%2011.4691%20115.499%2061.6878%20107.019C92.0822%20101.867%2087.3917%20101.341%20113.129%20115.244C139.231%20129.308%20167.972%20136.397%20195.855%20111.436C210.28%2098.5179%20215.939%2067.0352%20201.939%2050.7417C184.388%2030.3592%20158.485%2063.4098%20135.132%2057.43Z'%20fill='%23EFF7FF'/%3e%3cellipse%20cx='120.5'%20cy='143.5'%20rx='52.5'%20ry='3.5'%20fill='%23F5F5F5'/%3e%3cpath%20d='M121.387%2080.2184C121.995%2079.5948%20122.563%2078.953%20123.09%2078.2959L134.396%2089.3383C135.09%2090.0177%20134.851%2091.389%20133.861%2092.4024C132.872%2093.4159%20131.505%2093.6888%20130.811%2093.0094L119.505%2081.967C120.148%2081.424%20120.777%2080.8407%20121.385%2080.2171L121.387%2080.2184Z'%20fill='%231D1D1D'/%3e%3cpath%20opacity='0.6'%20d='M121.127%2079.9896C132.157%2068.6986%20131.888%2050.5485%20120.527%2039.4502C109.166%2028.3519%2091.0149%2028.5081%2079.9849%2039.799C68.955%2051.09%2069.2233%2069.2401%2080.5843%2080.3385C91.9453%2091.4368%20110.097%2091.2806%20121.127%2079.9896Z'%20fill='%238FC2F5'/%3e%3cpath%20d='M78.0382%2083.0622C90.8729%2095.6382%20111.378%2095.4578%20123.835%2082.6609C136.293%2069.8625%20135.986%2049.2932%20123.15%2036.7173C110.316%2024.1413%2089.8107%2024.3217%2077.3538%2037.1186C64.8956%2049.9169%2065.2022%2070.4862%2078.0382%2083.0622ZM80.642%2080.387C69.289%2069.264%2069.0172%2051.0692%2080.037%2039.749C91.0569%2028.4288%20109.194%2028.2694%20120.547%2039.3938C131.9%2050.5182%20132.171%2068.713%20121.152%2080.0332C110.132%2091.3534%2091.9949%2091.5128%2080.642%2080.3884V80.387Z'%20fill='%237BACFC'/%3e%3cpath%20d='M169.953%20128.522L171.714%20126.696C173.474%20124.871%20173.421%20121.964%20171.595%20120.205L135.013%2084.9265C133.187%2083.1661%20130.281%2083.2205%20128.522%2085.0451L126.761%2086.8711C125.001%2088.6957%20125.055%2091.6028%20126.88%2093.3619L163.462%20128.64C165.287%20130.401%20168.194%20130.346%20169.953%20128.522Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.35'%20d='M88.8399%2071.2315C96.506%2079.2245%20101.258%2078.1642%20100.757%2082.4547C100.256%2086.7452%2091.398%2085.7448%2082.7698%2076.0396C74.1415%2066.3344%2075.0893%2054.9166%2079.8491%2055.2485C84.6089%2055.5803%2080.129%2062.1492%2088.8399%2071.2315Z'%20fill='white'/%3e%3c/svg%3e",template$m=X=>ke$1`
409
+ `,ActivityHistoryIsGroupingBusy=__decorateClass$t([t$w("activity-history-is-grouping-busy")],ActivityHistoryIsGroupingBusy);function shouldShowRole(X){return!X.professional?.speciality?.description}const hasItemDivider=(X,W)=>{const J=W.findIndex(te=>te.id===X.id);return J===-1?!1:J===W.length-1?!0:!X.diagnostics?.length},mergeHistoryItemsAndSubgroups=X=>{const W=X?.items.map(te=>({type:"item",date:new Date(te.date),item:te})),J=X?.subGroups.map(te=>({type:"subGroup",date:te?.items.length?new Date(te.items[0].date):new Date(0),subGroup:te}));return[...W,...J].sort((te,re)=>re.date.getTime()-te.date.getTime())},template$m=X=>ke$1`
410
410
  <div class="container">
411
411
  <activity-history-full-data-error></activity-history-full-data-error>
412
412
  <activity-history-partial-data-error></activity-history-partial-data-error>
@@ -454,12 +454,12 @@ Registered bindings:`,re.forEach(function(oe){var ne="Object";oe.implementationT
454
454
  ${X.searchString?.length>1?ke$1`
455
455
  <dss-user-feedback
456
456
  class="feedback"
457
- imagesrc=${notFound}
457
+ status="empty"
458
458
  title=${translate("noResults")}>
459
459
  </dss-user-feedback>
460
460
  `:X.isAnyCollectionBusy?ke$1`<activity-history-is-grouping-busy></activity-history-is-grouping-busy>`:X._canShowNoDataMessage?ke$1`<dss-user-feedback
461
461
  class="feedback"
462
- imagesrc=${notFound}
462
+ status="empty"
463
463
  title=${translate("noData.title")}
464
464
  description=${translate("noData.description")}>
465
465
  </dss-user-feedback>`:D$4}`,visitHeaderTemplate=(X,W,J)=>W?ke$1`
@@ -490,11 +490,11 @@ ${X.searchString?.length>1?ke$1`
490
490
  </div>
491
491
  `},styles$k=".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";var __defProp$n=Object.defineProperty,__getOwnPropDesc$d=Object.getOwnPropertyDescriptor,__decorateClass$r=(X,W,J,te)=>{for(var re=te>1?void 0:te?__getOwnPropDesc$d(W,J):W,oe=X.length-1,ne;oe>=0;oe--)(ne=X[oe])&&(re=(te?ne(W,J,re):ne(re))||re);return te&&re&&__defProp$n(W,J,re),re};let ActiveFiltersHeader=class extends h$p{render(){return ke$1`${template$l(this)}`}};ActiveFiltersHeader.styles=i$T`
492
492
  ${r$L(styles$k)}
493
- `,__decorateClass$r([connectedProperty(activityHistorySearchStringSelector)],ActiveFiltersHeader.prototype,"searchString",2),__decorateClass$r([connectedProperty(areCustomFiltersActive)],ActiveFiltersHeader.prototype,"areCustomFiltersActive",2),__decorateClass$r([connectedProperty(areCommonFiltersActive)],ActiveFiltersHeader.prototype,"areCommonFiltersActive",2),__decorateClass$r([connectedProperty(areDiagnosticFiltersActive)],ActiveFiltersHeader.prototype,"areDiagnosticFiltersActive",2),__decorateClass$r([connectedProperty(areUpFiltersActive)],ActiveFiltersHeader.prototype,"areUpFiltersActive",2),ActiveFiltersHeader=__decorateClass$r([t$w("active-filters-header")],ActiveFiltersHeader);const styles$j=":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}",showError="data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e",template$k=X=>ke$1`
493
+ `,__decorateClass$r([connectedProperty(activityHistorySearchStringSelector)],ActiveFiltersHeader.prototype,"searchString",2),__decorateClass$r([connectedProperty(areCustomFiltersActive)],ActiveFiltersHeader.prototype,"areCustomFiltersActive",2),__decorateClass$r([connectedProperty(areCommonFiltersActive)],ActiveFiltersHeader.prototype,"areCommonFiltersActive",2),__decorateClass$r([connectedProperty(areDiagnosticFiltersActive)],ActiveFiltersHeader.prototype,"areDiagnosticFiltersActive",2),__decorateClass$r([connectedProperty(areUpFiltersActive)],ActiveFiltersHeader.prototype,"areUpFiltersActive",2),ActiveFiltersHeader=__decorateClass$r([t$w("active-filters-header")],ActiveFiltersHeader);const styles$j=":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}",template$k=X=>ke$1`
494
494
  ${X.isAllDataFailedToLoad?renderErrorFeedback(X):D$4}
495
495
  `,renderErrorFeedback=X=>ke$1`
496
496
  <div class="container">
497
- <dss-user-feedback imagealt=${translate("error.imageAlt")} variant="default" size="lg" imagesrc=${showError} title=${translate("error.title")} description=${translate("error.general.title")} hasdetails="" detailslabel=${translate("error.viewDetails")}>
497
+ <dss-user-feedback status="error" variant="default" size="lg" title=${translate("error.title")} description=${translate("error.general.title")} hasdetails="" detailslabel=${translate("error.viewDetails")}>
498
498
  <div slot="details">
499
499
  ${X.errorMessages.length>0?ke$1`<div>${X.errorMessages.map(W=>ke$1`<div>${W.message}</div>`)}</div>`:translate("error.general.noInfo")}
500
500
  </div>