1import{u as w,b as C,c as T,ap as D,d as S,e as v,f as A,aq as E,g as I}from"./index-cJrhAE3g.js";import{u as B}from"./analysis-D61EIXhY.js";import{T as R}from"./TableView-BzHi90cV.js";import{A as d,a as k}from"./AccordionContainer-CpmPaqpN.js";import{_ as M}from"./AnalysisTable.vue_vue_type_script_setup_true_lang-CPKeP9UB.js";import{_ as N}from"./AnalysisHeader.vue_vue_type_script_setup_true_lang-1XivSvMY.js";import{d as x,i as V,h as u,j as m,B as f,C as s,c,s as y,v as p,u as i,A as H}from"./vendor-vue-Bt0gNhgV.js";import"./vendor-moment-Bfy5ykKt.js";import"./MediaImageContainer-7wxhzVnf.js";import"./useImageLoader-DHe8cvIG.js";import"./tableThemeStore-D0--2hn3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"1037"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6749624e-2e4b-4c62-9df0-257c86b71d9d",e._sentryDebugIdIdentifier="sentry-dbid-6749624e-2e4b-4c62-9df0-257c86b71d9d")})()}catch{}const J=x({__name:"AnalysisInfo",props:{itemData:{},settingsByType:{}},setup(e){const{t:a}=w(),b=v(),{data:g}=B(),o=A(),h=V(()=>{const n=[],r=new Set(C(T(b.params.type.toString()),g.value));return(e.itemData?.analysis??[]).forEach(t=>{D(t.elements??{}).forEach(l=>r.add(l))}),r.forEach(t=>{n.push(o.accessor(l=>l.elements?.[t]??"-",{id:t,header:()=>u(N,{analysis:t,type:"PPM"})}))}),n.push(o.accessor("active",{header:a("Active"),cell:({row:t})=>u("input",{class:"form-check-input",type:"checkbox",disabled:!0,checked:t.original.active})}),o.accessor("name",{header:a("Name")}),o.accessor("comment",{header:a("Comment")})),n}),_=S({get data(){return i(e.itemData?.analysis??[])},get columns(){return h.value},getCoreRowModel:I(),getSortedRowModel:E()});return(n,r)=>(m(),f(k,null,{default:s(()=>[c(d,{open:!0},{header:s(()=>[y(p(i(a)("global.button.analysis_price_calculation")),1)]),accordionBody:s(()=>[c(M)]),_:1}),e.settingsByType.itemColumns.includes("analysis")&&e.itemData?.analysis?.length?(m(),f(d,{key:0,open:!0},{header:s(()=>[y(p(i(a)("global.button.lab_analyses")),1)]),accordionBody:s(()=>[c(R,{"is-table-header-class-disabled":"",table:i(_)},null,8,["table"])]),_:1})):H("",!0)]),_:1}))}});export{J as default}; 2//# sourceMappingURL=AnalysisInfo-CqBwqViy.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.