PageSourceSearch

https://www.ebutilities.at/assets/Detail-DO9DYodK.js

js ebutilities.at collected 2026-09-25 04:28:09 UTC 3,752 bytes, 1 lines download raw bytes

1import{d as N,r as x,K as S,U as A,c as B,y as k,S as w,a0 as T,C as z,z as v,A as y,B as R,N as E,m as L,_ as M,g as O,h as e,G as r,H as $,k as H,q,n as I,l as b,o as D,i as U}from"./index-DmnRqbby.js";const G=N({props:{uid:{type:String,required:!0},title:{type:String,default:""}},setup(o){const s=T(),g=L(),l=x(!1),p=x(null),C=S([A.processAdmin]),m=B(()=>s.getters["responseCode/getResponseCodeCategoriesArray"]),u=t=>{const n=m.value.find(a=>a.value===t);return n!==void 0?n.title:""},c=async t=>{var n,a,h,_;l.value=!0;try{const i=await z.get("/response-codes/show/".concat(t));p.value=(n=i==null?void 0:i.data)!=null?n:[],d((h=(a=p.value)==null?void 0:a.description)!=null?h:"")}catch(i){v("RESPONSECODEDETAIL: loadResponseCodeData",R.DEBUG,y.ALERT,i.message),((_=i.response)==null?void 0:_.status)===404&&g.replace({name:"NotFound"}),s.dispatch("app/addNotification",{text:"Responsecode konnten nicht geladen werden:<br />".concat(i.message),type:E.ERROR})}finally{l.value=!1}},f=async()=>{if(!s.getters["responseCode/hasResponseCodeCategories"])try{await s.dispatch("responseCode/fetchResponseCodeCategoriesArray")}catch(t){v("RESPONSECODEDETAIL: onMounted/responseCode/fetchResponseCodeCategoriesArray",R.DEBUG,y.ALERT,t.message),s.dispatch("app/addNotification",{text:t.message,type:E.ERROR})}},d=(t="")=>{!t&&o.title?s.dispatch("app/setBreadcrumbDetailInfo",o.title):t&&s.dispatch("app/setBreadcrumbDetailInfo",t)};return k(async()=>{f(),c(o.uid),d()}),{isRequestingData:l,responseCode:p,getCategoryName:u,canEdit:C,sanitizeHTML:w}}}),K={class:"main-container"},P={class:"flex items-start"},V={class:"page-heading-text"},j={class:"pl-3 flex-1 flex justify-between items-center"},F={class:"content grid grid-cols-1 md:grid-cols-2 gap-x-6 bg-white md:px-[24px] py-[40px] sm:px-[0px]"},J={class:"form-field"},Q={class:"form-control"},W={class:"form-input"},X={class:"form-field"},Y={class:"form-control"},Z={class:"form-input"},ee={class:"form-field"},se={class:"form-control"},oe={class:"form-input"},te={class:"form-field md:col-span-2"},ne={class:"form-control"},ae={class:"flex-1"},ie=["innerHTML"];function de(o,s,g,l,p,C){var c,f,d,t,n,a;const m=b("feather"),u=b("router-link");return D(),O("div",K,[e("div",P,[e("h1",V," Responsecode "+r((c=o.responseCode)==null?void 0:c.code)+" - "+r((f=o.responseCode)==null?void 0:f.description),1),e("div",j,[s[0]||(s[0]=e("div",{class:"flex-1 hidden md:flex flex-nowrap"},null,-1)),o.canEdit?(D(),$(u,{key:0,to:{name:"ResponseCodeEditPage"},class:"p-[12px] rounded bg-[#990036] ml-4"},{default:H(()=>[U(m,{type:"edit",size:"20",class:"text-white"})]),_:1})):q("",!0)])]),e("div",{class:I(["consultant-block py-4 mb:pb-10",{"opacity-50":o.isRequestingData}])},[s[5]||(s[5]=e("div",{class:"rounded-t-[6px] py-[12px] px-[8px] sm:py-[10px] sm:px-[24px] bg-[#D9DCE5]"},[e("div",null,[e("h2",{class:"text-[18px] leading-[20px] md:text-[28px] md:leading-[32px] text-[#330012] font-bold"}," Stammdaten ")])],-1)),e("div",F,[e("div",J,[s[1]||(s[1]=e("span",{class:"form-label"},"Response Kategorie",-1)),e("div",Q,[e("span",W,r(o.getCategoryName((d=o.responseCode)==null?void 0:d.responsecategories)),1)])]),e("div",X,[s[2]||(s[2]=e("span",{class:"form-label"},"Bezeichnung",-1)),e("div",Y,[e("span",Z,r((t=o.responseCode)==null?void 0:t.description),1)])]),e("div",ee,[s[3]||(s[3]=e("span",{class:"form-label"},"Code",-1)),e("div",se,[e("span",oe,r((n=o.responseCode)==null?void 0:n.code),1)])]),e("div",te,[s[4]||(s[4]=e("span",{class:"form-label"},"Kurzbeschreibung",-1)),e("div",ne,[e("div",ae,[e("div",{class:"form-input richtext editor-output",innerHTML:o.sanitizeHTML((a=o.responseCode)==null?void 0:a.descriptionShort)},null,8,ie)])])])])],2)])}const le=M(G,[["render",de]]);export{le as default};

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.