PageSourceSearch

https://aeroportodilampedusa.it/build/assets/DashboardGiulia-kRoCt_P5.js

js aeroportodilampedusa.it collected 2026-10-08 05:45:25 UTC 3,639 bytes, 1 lines download raw bytes

1import{A as e,u as t,b as i,s as r}from"./AppLayoutSlot-CDy4PvwS.js";import{s as o}from"./index-wD2Oix_-.js";import s from"./DocCrud-CLjfIbc2.js";import{k as a,l as n,p as l,q as c,t as u,G as d,A as m,C as p,B as f,v as y,D as h,E as v,z as g,e as C}from"./Void-B0Nbu-Zs.js";import{s as w}from"./index-B8Z5o32v.js";import"./app-D1-efC5L.js";/* empty css                         */import"./ApplicationLogo-B1fiEkaQ.js";/* empty css                       */import"./index-DgbHJ1C9.js";const V={key:1,class:"la-wrapper"},k={class:"card"},D={class:"card-header"},j={key:0,class:"text-blue-400 pl-2"},b={class:"card-body"},x={class:"list-none p-0 m-0"},A=["href"],L={key:2,class:"la-wrapper"},_={class:"card"},B={class:"card-body"},I=a({components:{AppLayoutSlot:e,Editor:o,Button:w,DocCrud:s},inject:["Payload","Router"],provide(){return{CurrentView:C(()=>this.currentView)}},data:()=>({debug:!1,panels:{title:""},filteredDocs:[],currentView:""}),computed:{documents(){const{listDocsEnac:e}=this.Payload;return e.map(e=>{var t,i;const r=e.meta.find(e=>{var t;return"enac"===(null==(t=e.values)?void 0:t.label)});return{title:e.name,href:e.weburl,meta:e.meta,label:"enac",category:null==(i=null==(t=null==r?void 0:r.values)?void 0:t.category)?void 0:i.split("/")}})},category(){const e=this.documents.map(e=>e.category);return Array.from(new Set(e.map(JSON.stringify)),JSON.parse)},currentCategory(){return this.filteredDocs.length?this.filteredDocs[0].category.join("/"):null},remapMenu(){var e;return null==(e=this.Router)?void 0:e.map(e=>{const t=e.items.findIndex(e=>{var t,i;return null==(i=null==(t=null==e?void 0:e.flag)?void 0:t.toLowerCase())?void 0:i.includes("doc_interni")}),o=e.items.findIndex(e=>null==e?void 0:e.view);return t>-1&&(e.items[t].command=()=>this.onClickVoice("doc_interni"),e.items[t].items=i(this.category,e=>()=>{this.onClickVoiceDoc(e,"doc_interni")},{leafOnlyCommand:!1,sortFn:r})),o>-1&&(e.items[o].command=()=>this.onClickVoice(e.items[o].view)),e})}},methods:{viewCurrentIs(e){return!(!this.currentView||!e||0==this.currentView.length)&&this.currentView.toLowerCase()==e.toLowerCase()},filterDocumentsByCategory(e){return this.documents.filter(t=>t.category.join("/")===e.join("/"))},filterVoiceByCategory(e){return this.category.filter(t=>t.join("/")===e.join("/"))},onClickVoiceDoc(e,t){0!=this.filterDocumentsByCategory(e).length&&(this.filteredDocs=this.filterDocumentsByCategory(e),this.onClickVoice(t))},onClickVoice(e){this.currentView=e}},mounted(){const e="doc_interni";this.onClickVoiceDoc(this.category[0]),this.onClickVoice(e),t().setActiveMenuItem(e)}},[["render",function(e,t,i,r,o,s){const a=n("Void"),C=n("DocCrud"),w=n("AppLayoutSlot");return l(),c(w,{routerLocal:s.remapMenu},{default:u(()=>[o.debug?(l(),c(a,{key:0},{default:u(()=>[d(m(o.currentView),1)]),_:1})):p("",!0),s.viewCurrentIs("doc_interni")?(l(),f("div",V,[y("div",k,[y("div",D,[t[0]||(t[0]=y("h2",null,"Documenti scaricabili ",-1)),s.currentCategory?(l(),f("h3",j," ("+m(s.currentCategory)+")",1)):p("",!0)]),y("div",b,[y("ul",x,[(l(!0),f(h,null,v(o.filteredDocs,e=>(l(),f("li",{class:"flex items-center gap-2 py-1",key:e},[t[1]||(t[1]=y("i",{class:"fa-regular fa-file text-slate-700"},null,-1)),y("a",{href:e.href,class:"text-gray-800 hover:underline text-lg capitalize",target:"_blank"},m(e.title),9,A),t[2]||(t[2]=y("i",{class:"fa-solid fa-link text-blue-500 aml-auto"},null,-1))]))),128))])])])])):s.viewCurrentIs("doc_edit")?(l(),f("div",L,[y("div",_,[t[3]||(t[3]=y("div",{class:"card-header"},[y("h2",null,"Modifica documenti ")],-1)),y("div",B,[g(C)])])])):p("",!0)]),_:1},8,["routerLocal"])}]]);export{I 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.