import{r as c,b as s,j as e,I as o,c as f}from"./iframe-DWAOYMhp.js";const r={trash:{class:"fa fa-trash-alt",functionality:"Rimuovi elemento"},pencil:{class:"fas fa-pencil-alt 	",functionality:"Modifica elemento"},question:{class:"fa fa-question-circle",functionality:"Visualizza informazioni"},esclamation:{class:"fa fa-exclamation-circle",functionality:"Feedback negativo, Step wizard in errore"},eye:{class:"fa fa-eye",functionality:"Visualizza nel dettaglio l'elemento"},chevronDown:{class:"fa fa-chevron-down",functionality:"Espandi/Riduci la riga"},plus:{class:"fa fa-plus",functionality:"Aggiungi elementi"},plusCircle:{class:"fa fa-plus-circle",functionality:"Espandi elemento"},download:{class:"fa fa-download",functionality:"Scarica elemento"},triangle:{class:"fa fa-exclamation-triangle",functionality:"Attenzione (warning). Il conflitto/errore è visualizzabile tramite tooltip al click sull'icona"},euro:{class:"fas fa-euro-sign",functionality:"Visualizza pagamenti"},fileText:{class:"far fa-file-alt",functionality:"Visualizza provvedimenti"},filePdf:{class:"fa fa-file-pdf",functionality:"Scarica .PDF"},fileDoc:{class:"fa fa-file-word",functionality:"Scarica .DOC"},fileExcel:{class:"fa fa-file-excel",functionality:"Scarica .XLS"},filePowerpoint:{class:"fa fa-file-powerpoint",functionality:"Scarica .PPT"},star:{class:"fa fa-star",functionality:"Aggiungi/rimuovi dai preferiti. Selezionabile e deselezionabile come una checkbox"},paperclip:{class:"fa fa-paperclip",functionality:"Presenza di allegati"}},p=()=>(c.useEffect(()=>{const a="custom-webkit-script",t=()=>{const l=document.getElementById(a);l&&l.remove();const i=document.createElement("script");i.id=a,i.src="https://linneoclass.it/app/webkit/unico/static-webkit/js/custom-webkit.js",i.type="text/javascript",i.async=!0,document.head.appendChild(i)};t();const n=s.getChannel();return n.on("storyRendered",t),()=>{n.off("storyRendered",t)}},[]),e.jsx(o,{children:Object.entries(r).map((a,t)=>e.jsx(f,{name:a[1].class,children:e.jsx("span",{className:a[1].class,"data-toggle":"tooltip","data-original-title":a[1].functionality,"data-placement":"top",children:e.jsx("span",{className:"sr-only",children:a[1].functionality})})}))}));export{p as I,r as S};
