import{a as I}from"./chunk-EPNXFLH5.js";import{d as s,e as j}from"./chunk-FU5RC46E.js";import"./chunk-CITYLIQ2.js";import"./chunk-RSSSMYIM.js";import"./chunk-RYVXMKI7.js";import"./chunk-JV7HMPM7.js";import"./chunk-77EBS4NN.js";import"./chunk-CX35JBUF.js";import{c as _}from"./chunk-KB3WCNL5.js";import"./chunk-EV4NRATK.js";import"./chunk-CBK2CW43.js";import"./chunk-4UVTLMGZ.js";import"./chunk-KPTIOXNM.js";import"./chunk-PZHJ5CIW.js";import"./chunk-DNQDWJLY.js";import"./chunk-MJMWESWV.js";import"./chunk-RMQMBDCA.js";import"./chunk-4SAKVPN5.js";import"./chunk-TZ5EQW7H.js";import"./chunk-SU74KE7C.js";import"./chunk-7AC745CZ.js";import"./chunk-H2CU6EEU.js";import"./chunk-GK2ZGAUD.js";import"./chunk-4TDNJBFX.js";import"./chunk-NUAVJ2U7.js";import"./chunk-VSYEEAYL.js";import"./chunk-RD7SHR2D.js";import"./chunk-OEBXBRYJ.js";import{j as A,p as b}from"./chunk-QVLAHW2O.js";import"./chunk-TI6NUUOB.js";import"./chunk-B46M6TSS.js";import{$b as u,Ac as v,Bc as w,Kb as p,Lb as c,Md as L,Ob as h,Sd as V,a,b as r,hc as f,ic as C,la as g,nd as D,qc as M,ra as l,t as d,yb as m,zc as y}from"./chunk-PGS4AHIT.js";V();g();D();var x=(()=>{class i extends I{constructor(e){super(),this.helpService=e,this.destroy$=new d,this.pageMeta={title:"CodeLists"},this.mainHeaderDef={viewTitle:"\u0160ifranti",viewActions:[]},this.mainOptionsDef={navigation:[{id:"subjects",label:"Menu_Subjects",link:"./subjects",featureId:"CodeLists.Subject.Access"},{id:"idents",label:"Menu_Idents",link:"./idents",featureId:"CodeLists.Products.Access"},{id:"tax-rates",label:"Menu_TaxRates",link:"./tax-rates",featureId:"CodeLists.Taxes.Access"},{id:"payment-methods",label:"Menu_PaymentTypes",link:"./payment-methods",featureId:"CodeLists.PaymentTypes.Access"},{id:"locations",label:"Location",link:"./locations",featureId:"CodeLists.Location.Access"},{id:"postal-codes",label:"Menu_PostCodes",link:"./postal-codes",featureId:"CodeLists.Posts.Access"}]}}ngOnInit(){this.helpService.setHelpUrls({help:"",example:"",video:""}),window.__codeListsComponent=this}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),delete window.__codeListsComponent}onActivate(e){setTimeout(()=>{this.loadActionsFromChildComponent(e)},100)}loadActionsFromChildComponent(e){if(e&&typeof e.getViewActions=="function"){let t=e.getViewActions();if(t&&Array.isArray(t)){this.mainHeaderDef=r(a({},this.mainHeaderDef),{viewActions:t});return}}this.mainHeaderDef=r(a({},this.mainHeaderDef),{viewActions:[]})}static{this.\u0275fac=function(t){return new(t||i)(m(_))}}static{this.\u0275cmp=p({type:i,selectors:[["app-code-lists"]],viewQuery:function(t,o){if(t&1&&y(s,5),t&2){let n;v(n=w())&&(o.mainViewComponent=n.first)}},standalone:!1,features:[h],decls:2,vars:2,consts:[[3,"headerDef","optionsDef"],[3,"activate"]],template:function(t,o){t&1&&(f(0,"paw-main-view",0)(1,"router-outlet",1),M("activate",function(T){return o.onActivate(T)}),C()()),t&2&&u("headerDef",o.mainHeaderDef)("optionsDef",o.mainOptionsDef)},dependencies:[s,A],encapsulation:2})}}return i})();D();var E=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=c({type:i})}static{this.\u0275inj=l({imports:[L,j,b.forChild([{path:"",component:x,children:[{path:"",redirectTo:"subjects",pathMatch:"full"},{path:"subjects",loadChildren:()=>import("./chunk-7ZHOJPII.js").then(e=>e.SubjectsModule)},{path:"idents",loadChildren:()=>import("./chunk-6DBYQKB5.js").then(e=>e.IdentsModule)},{path:"tax-rates",loadChildren:()=>import("./chunk-KO4RYR7C.js").then(e=>e.TaxRatesModule)},{path:"payment-methods",loadChildren:()=>import("./chunk-RWKHIH5K.js").then(e=>e.PaymentMethodsModule)},{path:"delivery-methods",loadChildren:()=>import("./chunk-Z7XA65NU.js").then(e=>e.DeliveryMethodsModule)},{path:"postal-codes",loadChildren:()=>import("./chunk-M7ADCQZJ.js").then(e=>e.PostalCodesModule)},{path:"locations",loadChildren:()=>import("./chunk-PIL3RI7P.js").then(e=>e.LocationsModule)},{path:"document-texts",loadChildren:()=>import("./chunk-EKJPCYAB.js").then(e=>e.DocumentTextsModule)},{path:"measurement-units",loadChildren:()=>import("./chunk-SJSE743A.js").then(e=>e.MeasurementUnitsModule)},{path:"jobs",loadChildren:()=>import("./chunk-MQOOVUIQ.js").then(e=>e.JobsModule)},{path:"vehicles",loadChildren:()=>import("./chunk-BR77LCKG.js").then(e=>e.VehiclesModule)}]}])]})}}return i})();export{E as CodeListsModule};
