2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
import{a as re}from"./chunk-CQKJN64S.js";import{a as oe}from"./chunk-YEESETR2.js";import{c as J,d as U,e as K,f as Q,g as X,h as Y,k as Z,l as $,m as ee,n as te,p as ie,t as ne}from"./chunk-UDFQV3WY.js";import{i as q}from"./chunk-ZEULGWAI.js";import{a as H}from"./chunk-MBEC6LK4.js";import{Eb as r,Fa as d,Fb as v,Gb as E,Jb as h,Kb as f,Lb as x,Oa as D,Ob as R,R as m,Rb as A,S as u,T as C,Ta as P,U as k,Ya as y,ca as _,db as b,fb as M,hb as N,ib as F,jb as p,kb as i,lb as o,mb as S,nb as W,ob as j,pc as B,qb as w,qc as L,rb as g,rc as O,sb as c,sc as z,xc as G}from"./chunk-TVKQFRWX.js";import{a as I,b as T}from"./chunk-DAQOROHW.js";var le=()=>({"background-color":"#00843B","border-color":"#00843B"}),se=()=>({}),de=(a,t,e)=>({"bg-green-50 border-green-500 text-green-700":a,"bg-red-50 border-red-500 text-red-700":t,"bg-blue-50 border-blue-500 text-blue-700":e}),ce=(a,t)=>t.id;function me(a,t){a&1&&(i(0,"div",8),S(1,"div",13),o())}function ue(a,t){a&1&&(i(0,"div",8),C(),i(1,"svg",14),S(2,"path",15),o(),k(),i(3,"p",3),r(4,"Aucun ajout pour le moment"),o()())}function pe(a,t){if(a&1){let e=w();i(0,"tr")(1,"td")(2,"div",21)(3,"p",22),r(4),o(),i(5,"p",23),r(6),o()()(),i(7,"td")(8,"span",24),r(9),o()(),i(10,"td")(11,"span",25),r(12),o()(),i(13,"td")(14,"span",24),r(15),o()(),i(16,"td",17)(17,"div",26)(18,"button",27),g("click",function(){let n=m(e).$implicit,l=c(2);return u(l.editDocument(n))}),C(),i(19,"svg",28),S(20,"path",29),o()(),k(),i(21,"button",30),g("click",function(){let n=m(e).$implicit,l=c(2);return u(l.deleteDocument(n))}),C(),i(22,"svg",31),S(23,"path",32),o()()()()()}if(a&2){let e=t.$implicit;d(4),v(e.name),d(2),v(e.description),d(3),v(e.acronym),d(3),v(e.type),d(3),v(e.address)}}function ge(a,t){if(a&1){let e=w();W(0),i(1,"button",33),g("click",function(){let n=m(e).$implicit,l=c(2);return u(l.goToPage(n))}),r(2),o(),j()}if(a&2){let e=t.$implicit,s=c(2);d(),p("ngClass",s.currentPage()===e?"px-3 py-1 border rounded text-white":"px-3 py-1 border border-gray-300 rounded hover:bg-gray-100 transition-colors")("ngStyle",s.currentPage()===e?R(3,le):R(4,se)),d(),E(" ",e," ")}}function _e(a,t){if(a&1){let e=w();i(0,"div",9)(1,"table",16)(2,"thead")(3,"tr")(4,"th"),r(5,"Nom"),o(),i(6,"th"),r(7,"Acronyme"),o(),i(8,"th"),r(9,"Type"),o(),i(10,"th"),r(11,"Adresse"),o(),i(12,"th",17),r(13,"Actions"),o()()(),i(14,"tbody"),N(15,pe,24,5,"tr",null,ce),o()(),i(17,"div",18)(18,"button",19),g("click",function(){m(e);let n=c();return u(n.prevPage())}),r(19," \xAB Pr\xE9c\xE9dent "),o(),y(20,ge,3,5,"ng-container",20),i(21,"button",19),g("click",function(){m(e);let n=c();return u(n.nextPage())}),r(22," Suivant \xBB "),o()()()}if(a&2){let e=c();d(15),F(e.documents()),d(3),p("disabled",e.currentPage()===1),d(2),p("ngForOf",e.pages()),d(),p("disabled",e.currentPage()===e.totalPages())}}function he(a,t){if(a&1&&(i(0,"option",65),r(1),o()),a&2){let e=t.$implicit;p("value",e.id),d(),E(" ",e.nomGeneral," ")}}function fe(a,t){if(a&1&&(i(0,"option",66),r(1),o()),a&2){let e=t.$implicit;p("ngValue",e.id),d(),E(" ",e.nom," ")}}function xe(a,t){if(a&1){let e=w();i(0,"span",67),r(1),i(2,"button",68),g("click",function(){let n=m(e).$implicit,l=c(2);return u(l.removeDomain(n))}),r(3," \xD7 "),o()()}if(a&2){let e=t.$implicit,s=c(2);d(),E(" ",s.getDomainName(e)," ")}}function Se(a,t){a&1&&S(0,"div",64)}function ve(a,t){if(a&1){let e=w();i(0,"div",10)(1,"div",34)(2,"div",35)(3,"h2",36),r(4),o()(),i(5,"form",37),g("ngSubmit",function(){m(e);let n=c();return u(n.saveDocument())}),i(6,"div")(7,"label",38),r(8,"Minist\xE8re"),i(9,"span",39),r(10,"*"),o()(),i(11,"select",40),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.ministereId,n)||(l.form.ministereId=n),u(n)}),i(12,"option",41),r(13,"-- S\xE9lectionner --"),o(),y(14,he,2,2,"option",42),o()(),i(15,"div",43)(16,"div")(17,"label",38),r(18,"Type Structure"),i(19,"span",39),r(20,"*"),o()(),i(21,"select",44),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.type,n)||(l.form.type=n),u(n)}),i(22,"option",45),r(23,"AGENCE"),o(),i(24,"option",46),r(25,"ETABLISSEMENT"),o(),i(26,"option",47),r(27,"PROJET"),o()()(),i(28,"div")(29,"label",38),r(30,"Nom Complet "),i(31,"span",39),r(32,"*"),o()(),i(33,"input",48),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.name,n)||(l.form.name=n),u(n)}),o()()(),i(34,"div",43)(35,"div")(36,"label",38),r(37,"Acronyme "),i(38,"span",39),r(39,"*"),o()(),i(40,"input",49),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.acronym,n)||(l.form.acronym=n),u(n)}),o()(),i(41,"div")(42,"label",38),r(43,"Description"),o(),i(44,"textarea",50),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.description,n)||(l.form.description=n),u(n)}),o()()(),i(45,"div")(46,"label",38),r(47,"Domaines "),i(48,"span",39),r(49,"*"),o()(),i(50,"select",51),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.domaineIds,n)||(l.form.domaineIds=n),u(n)}),y(51,fe,2,2,"option",52),o(),i(52,"div",53),y(53,xe,4,1,"span",54),o()(),i(54,"div",43)(55,"div")(56,"label",38),r(57,"Contact"),i(58,"span",39),r(59,"*"),o()(),i(60,"input",55),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.phone,n)||(l.form.phone=n),u(n)}),o()(),i(61,"div")(62,"label",38),r(63,"Email"),i(64,"span",39),r(65,"*"),o()(),i(66,"input",56),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.email,n)||(l.form.email=n),u(n)}),o()()(),i(67,"div",43)(68,"div")(69,"label",38),r(70,"Adresse"),i(71,"span",39),r(72,"*"),o()(),i(73,"input",57),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.address,n)||(l.form.address=n),u(n)}),o()(),i(74,"div")(75,"label",38),r(76,"Website"),i(77,"span",39),r(78,"*"),o()(),i(79,"input",58),x("ngModelChange",function(n){m(e);let l=c();return f(l.form.website,n)||(l.form.website=n),u(n)}),o()()(),i(80,"div")(81,"label",38),r(82,"Fichier joint (PDF)"),i(83,"span",59),r(84,"*"),o()(),i(85,"input",60),g("change",function(n){m(e);let l=c();return u(l.onFileSelected(n))}),o()(),i(86,"div",61)(87,"button",62),g("click",function(){m(e);let n=c();return u(n.closeModal())}),r(88,"Annuler"),o(),i(89,"button",63),b(90,Se,1,0,"div",64),r(91),o()()()()()}if(a&2){let e=c();d(4),v(e.editingDocument()?"Modifier ":"Nouveau "),d(7),h("ngModel",e.form.ministereId),d(3),p("ngForOf",e.projects()),d(7),h("ngModel",e.form.type),d(12),h("ngModel",e.form.name),d(7),h("ngModel",e.form.acronym),d(4),h("ngModel",e.form.description),d(6),h("ngModel",e.form.domaineIds),d(),p("ngForOf",e.domains()),d(2),p("ngForOf",e.form.domaineIds),d(7),h("ngModel",e.form.phone),d(6),h("ngModel",e.form.email),d(7),h("ngModel",e.form.address),d(6),h("ngModel",e.form.website),d(10),p("disabled",e.saving()),d(),M(e.saving()?90:-1),d(),E(" ",e.editingDocument()?"Mettre \xE0 jour":"Cr\xE9er"," ")}}function Ce(a,t){a&1&&(C(),i(0,"svg",72),S(1,"path",73),o())}function we(a,t){a&1&&(C(),i(0,"svg",72),S(1,"path",74),o())}function ye(a,t){a&1&&(C(),i(0,"svg",72),S(1,"path",75),o())}function be(a,t){if(a&1&&(i(0,"div",11)(1,"div",69),y(2,Ce,2,0,"svg",70)(3,we,2,0,"svg",70)(4,ye,2,0,"svg",70),i(5,"span",71),r(6),o()()()),a&2){let e=c();d(),p("ngClass",A(5,de,e.notification().type==="success",e.notification().type==="error",e.notification().type==="info")),d(),p("ngIf",e.notification().type==="success"),d(),p("ngIf",e.notification().type==="error"),d(),p("ngIf",e.notification().type==="info"),d(2),v(e.notification().message)}}function Me(a,t){if(a&1){let e=w();i(0,"div",12)(1,"div",76)(2,"h3",77),r(3,"Confirmation"),o(),i(4,"p",78),r(5),o(),i(6,"div",79)(7,"button",80),g("click",function(){m(e);let n=c();return u(n.closeConfirmModal())}),r(8," Annuler "),o(),i(9,"button",81),g("click",function(){m(e);let n=c();return u(n.confirmModal().onConfirm())}),r(10," Supprimer "),o()()()()}if(a&2){let e=c();d(5),v(e.confirmModal().message)}}var ae=class a{constructor(t,e){this.apiService=t;this.minService=e}API_URL=H.FileUrl;notification=_({show:!1,message:"",type:"success"});projects=_([]);domains=_([]);documents=_([]);loading=_(!0);showModal=_(!1);editingDocument=_(null);saving=_(!1);selectedImage=null;selectedFile=null;currentPage=_(1);pageSize=7;totalPages=_(1);form={type:"",phone:"",name:"",acronym:"",description:"",address:"",website:"",ministereId:0,email:"",domaineIds:[]};ngOnInit(){this.loadDocuments(),this.loadProjects(),this.loadDomaines()}loadDocuments(t=0){this.loading.set(!0),this.apiService.getAlltruc(t,this.pageSize).subscribe({next:e=>{e.success&&(this.documents.set(e.data.content),this.totalPages.set(e.data.totalPages),this.currentPage.set(t+1)),this.loading.set(!1)},error:()=>this.loading.set(!1)})}nextPage(){this.currentPage()<this.totalPages()&&this.loadDocuments(this.currentPage())}prevPage(){this.currentPage()>1&&this.loadDocuments(this.currentPage()-2)}goToPage(t){this.loadDocuments(t-1)}pages(){return Array.from({length:this.totalPages()},(t,e)=>e+1)}openModal(){this.form={type:"",phone:"",name:"",acronym:"",description:"",address:"",website:"",ministereId:0,email:"",domaineIds:[]},this.selectedFile=null,this.editingDocument.set(null),this.showModal.set(!0)}openModal1(){this.form={type:"",phone:"",name:"",acronym:"",description:"",address:"",website:"",ministereId:0,email:"",domaineIds:[]},this.editingDocument.set(null),this.showModal.set(!0)}closeModal(){this.showModal.set(!1),this.editingDocument.set(null)}editDocument1(t){this.form={type:t.type,name:t.name,ministereId:t.ministereId,address:t.address,description:t.description,phone:t.phone,acronym:t.acronym,website:t.website,email:t.email,domaineIds:t.domaineIds},this.editingDocument.set(t),this.showModal.set(!0)}editDocument(t){this.form={type:t.type,name:t.name,ministereId:t.ministereId,address:t.address,description:t.description,phone:t.phone,acronym:t.acronym,website:t.website,email:t.email,domaineIds:t.domaineIds},this.editingDocument.set(t),this.showModal.set(!0)}loadProjects(){this.minService.getAllMins().subscribe({next:t=>{console.log("RESPONSE =",t),this.projects.set(t.data.content),console.log("PROJECTS =",this.projects())},error:t=>{console.error("Erreur API",t)}})}loadDomaines(){this.loading.set(!0),this.apiService.getAllTypes().subscribe({next:t=>{console.log("RESPONSE =",t),this.domains.set(t.data.content),console.log("PROJECTS =",this.domains()),this.totalPages.set(Math.ceil(t.data.content.length/this.pageSize)),this.currentPage.set(1),this.loading.set(!1)},error:t=>{console.error("Erreur API",t),this.loading.set(!1)}})}getDomainName(t){let e=this.domains().find(s=>s.id===t);return e?e.nom:""}removeDomain(t){this.form.domaineIds=this.form.domaineIds.filter(e=>e!==t)}onFileSelected(t){let e=t.target;if(!e.files||e.files.length===0){this.selectedFile=null;return}let s=e.files[0];if(!s.type.startsWith("image/")){alert("Pour une actualit\xE9, veuillez s\xE9lectionner une image"),e.value="",this.selectedFile=null;return}this.selectedFile=s}saveDocument(){if(!this.form.name)return;let e=this.projects().find(V=>V.id==this.form.ministereId)?.nomGeneral;this.saving.set(!0);let s=this.editingDocument(),n={type:this.form.type,name:this.form.name,phone:this.form.phone,email:this.form.email,acronym:this.form.acronym,ministereId:this.form.ministereId,address:this.form.address,website:this.form.website,description:this.form.description,domaineIds:this.form.domaineIds};console.log(n);let l=new FormData;l.append("structure",new Blob([JSON.stringify(n)],{type:"application/json"})),this.selectedFile&&l.append("logo",this.selectedFile),(s?this.apiService.updatetruc(s.id,l):this.apiService.createStruc(l)).subscribe({next:V=>{this.loadDocuments(),this.closeModal(),this.saving.set(!1),this.showNotification(s?"Document mis \xE0 jour avec succ\xE8s":"Document cr\xE9\xE9 avec succ\xE8s","success")},error:V=>{console.error("Erreur lors de la sauvegarde",V),this.saving.set(!1),this.showNotification("Erreur lors de la sauvegarde","error")}})}formatDate(t){return t?new Date(t).toLocaleDateString("fr-FR"):""}showNotification(t,e="success",s=2e3){this.notification.set({show:!0,message:t,type:e}),setTimeout(()=>this.notification.update(n=>T(I({},n),{show:!1})),s)}confirmModal=_({show:!1,message:"",onConfirm:()=>{}});openConfirmModal(t,e){this.confirmModal.set({show:!0,message:t,onConfirm:e})}closeConfirmModal(){this.confirmModal.update(t=>T(I({},t),{show:!1}))}deleteDocument(t){this.openConfirmModal(`Voulez-vous vraiment supprimer l'article "${t.name}" ?`,()=>{this.apiService.deletetruc(t.id).subscribe({next:()=>{this.loadDocuments(),this.closeConfirmModal(),this.showNotification("Article supprim\xE9 avec succ\xE8s","success")},error:()=>{this.showNotification("Erreur lors de la suppression","error"),this.closeConfirmModal()}})})}getImageUrl(t){return console.log(t),t?this.API_URL+t:null}static \u0275fac=function(e){return new(e||a)(D(re),D(oe))};static \u0275cmp=P({type:a,selectors:[["app-structure-rattaches"]],decls:18,vars:4,consts:[[1,"space-y-6"],[1,"flex","flex-col","sm:flex-row","sm:items-center","sm:justify-between","gap-4"],[1,"text-2xl","font-bold","text-neutral-900"],[1,"text-neutral-500"],[1,"btn-primary",2,"background-color","#00843B",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-5","h-5","mr-2"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M12 6v6m0 0v6m0-6h6m-6 0H6"],[1,"card","p-0"],[1,"p-8","text-center"],[1,"table-container"],[1,"fixed","inset-0","bg-black/50","flex","items-center","justify-center","z-50","p-4"],[1,"fixed","top-4","right-4","z-50","pointer-events-none"],[1,"fixed","inset-0","bg-black/30","flex","items-center","justify-center","z-50","p-4"],[1,"spinner","w-8","h-8","mx-auto"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-12","h-12","text-neutral-300","mx-auto","mb-4"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"],[1,"table"],[1,"text-right"],[1,"flex","justify-end","items-center","mt-2","px-6","py-2","gap-2","border-t","border-gray-200","bg-gray-50","rounded-b-lg"],[1,"px-3","py-1","border","border-gray-300","rounded","hover:bg-gray-100","disabled:opacity-50","transition-colors",3,"click","disabled"],[4,"ngFor","ngForOf"],[1,"max-w-xs"],[1,"font-medium","text-neutral-900","truncate"],[1,"text-xs","text-neutral-400","truncate"],[1,""],[1,"badge-primary"],[1,"flex","justify-end","gap-2"],["title","Modifier",1,"flex","items-center","justify-center","p-2","border-2","border-green-500","rounded-full","bg-white","hover:bg-green-50","transition-colors",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-green-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"],["title","Supprimer",1,"flex","items-center","justify-center","p-2","border-2","border-red-500","rounded-full","bg-white","hover:bg-red-50","transition-colors",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-4","h-4","text-red-500"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"],[3,"click","ngClass","ngStyle"],[1,"bg-white","rounded-2xl","shadow-xl","w-full","max-w-3xl","max-h-[90vh]","overflow-y-auto"],[1,"p-6","border-b","border-neutral-200"],[1,"text-xl","font-semibold","text-neutral-900"],[1,"p-6","space-y-5",3,"ngSubmit"],[1,"label"],[1,"text-danger-500"],["name","ministereId","required","",1,"input",3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-6"],["name","type","required","",1,"input",3,"ngModelChange","ngModel"],["value","AGENCE"],["value","ETABLISSEMENT"],["value","PROJET"],["type","text","name","name","required","",1,"input",3,"ngModelChange","ngModel"],["type","text","name","acronym","required","",1,"input",3,"ngModelChange","ngModel"],["name","description","rows","2",1,"input","resize-none",3,"ngModelChange","ngModel"],["multiple","","name","domaineIds","required","",1,"input","max-h-60","overflow-y-auto",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"flex","flex-wrap","gap-2","mt-2"],["class","bg-green-100 text-green-800 px-2 py-1 rounded-full text-sm flex items-center gap-1",4,"ngFor","ngForOf"],["type","tel","name","phone","required","",1,"input",3,"ngModelChange","ngModel"],["type","email","name","email","required","",1,"input",3,"ngModelChange","ngModel"],["type","tel","name","address","required","",1,"input",3,"ngModelChange","ngModel"],["type","email","name","website","required","",1,"input",3,"ngModelChange","ngModel"],[1,"text-red-500"],["type","file","accept","image/*",1,"input",3,"change"],[1,"flex","justify-end","gap-3","pt-4","border-t","border-neutral-200"],["type","button",1,"px-4","py-2","rounded-lg","border","border-red-500","text-red-500","hover:bg-red-50","transition-colors","font-medium",3,"click"],["type","submit",1,"btn-primary",3,"disabled"],[1,"spinner","w-4","h-4","mr-2"],[3,"value"],[3,"ngValue"],[1,"bg-green-100","text-green-800","px-2","py-1","rounded-full","text-sm","flex","items-center","gap-1"],["type","button",1,"ml-1","text-green-600","hover:text-red-500",3,"click"],[1,"pointer-events-auto","border-l-4","rounded-lg","shadow-lg","p-6","max-w-sm","w-full","flex","items-center","gap-4","animate-fade-in",3,"ngClass"],["class","w-6 h-6 flex-shrink-0","fill","none","stroke","currentColor","viewBox","0 0 24 24",4,"ngIf"],[1,"text-sm","font-medium"],["fill","none","stroke","currentColor","viewBox","0 0 24 24",1,"w-6","h-6","flex-shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M5 13l4 4L19 7"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M6 18L18 6M6 6l12 12"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M13 16h-1v-4h-1m1-4h.01M12 20a8 8 0 100-16 8 8 0 000 16z"],[1,"bg-white","rounded-2xl","shadow-xl","w-full","max-w-md","p-6","space-y-4"],[1,"text-lg","font-semibold","text-neutral-900"],[1,"text-neutral-700"],[1,"flex","justify-end","gap-3","mt-4"],[1,"px-4","py-2","rounded-lg","border","border-gray-300","text-gray-700","hover:bg-gray-100","transition-colors","font-medium",3,"click"],[1,"px-4","py-2","rounded-lg","bg-red-600","text-white","hover:bg-red-700","transition-colors","font-medium",3,"click"]],template:function(e,s){e&1&&(i(0,"div",0)(1,"div",1)(2,"div")(3,"h1",2),r(4,"Structures Rattach\xE9es"),o(),i(5,"p",3),r(6,"G\xE9rez les Structures Rattach\xE9es au Minist\xE8re"),o()(),i(7,"button",4),g("click",function(){return s.openModal()}),C(),i(8,"svg",5),S(9,"path",6),o(),r(10," Nouvelle Structure "),o()(),k(),i(11,"div",7),b(12,me,2,0,"div",8)(13,ue,5,0,"div",8)(14,_e,23,3,"div",9),o(),b(15,ve,92,17,"div",10),o(),b(16,be,7,9,"div",11),b(17,Me,11,1,"div",12)),e&2&&(d(12),M(s.loading()?12:s.documents().length===0?13:14),d(3),M(s.showModal()?15:-1),d(),M(s.notification().show?16:-1),d(),M(s.confirmModal().show?17:-1))},dependencies:[G,B,L,O,z,ne,Y,$,te,J,Z,ee,U,K,ie,X,Q,q],encapsulation:2})};export{ae as StructureRattachesComponent};
|