import{a as I}from"./chunk-4XLO6U6N.js";import{d as s,e as j}from"./chunk-5H5H6C4Y.js";import"./chunk-QEMINC2A.js";import"./chunk-P4KRQVGS.js";import"./chunk-HVLAIORG.js";import"./chunk-7NRTBDEV.js";import"./chunk-WTAT2E5Z.js";import"./chunk-4KB2I3K5.js";import"./chunk-4EEGS4SZ.js";import"./chunk-Y46LOK5X.js";import"./chunk-3PEMIHKH.js";import"./chunk-DFPET44C.js";import"./chunk-3SGEAGU4.js";import"./chunk-AXJC5PD4.js";import"./chunk-KX2PR432.js";import"./chunk-PCQVD4UN.js";import"./chunk-FUKRVTQR.js";import"./chunk-HMHHBN2H.js";import"./chunk-LTTEKZWN.js";import"./chunk-JD7XHN2Y.js";import"./chunk-PNYIEM2I.js";import{c as _}from"./chunk-WAKTITOT.js";import"./chunk-DIZJ6SFW.js";import"./chunk-NGFJDF4M.js";import"./chunk-DQXXLIFV.js";import{j as A,n as b}from"./chunk-BKF2JYPP.js";import"./chunk-OFEKULYN.js";import"./chunk-T3Q3DASN.js";import"./chunk-PYC6L6XB.js";import"./chunk-BEQYW66E.js";import{$b as f,Ab as p,Bb as c,Eb as h,Fd as L,Ld as V,Rb as u,_ as g,ac as C,ea as l,f as d,fd as D,ic as M,ob as m,rc as y,sc as v,tc as w}from"./chunk-LU6Q5ONP.js";import{a,b as r}from"./chunk-5VMFMKJR.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-34MSKTB5.js").then(e=>e.SubjectsModule)},{path:"idents",loadChildren:()=>import("./chunk-2AEVNKIO.js").then(e=>e.IdentsModule)},{path:"tax-rates",loadChildren:()=>import("./chunk-D5IQOQD7.js").then(e=>e.TaxRatesModule)},{path:"payment-methods",loadChildren:()=>import("./chunk-4SOPPTJJ.js").then(e=>e.PaymentMethodsModule)},{path:"delivery-methods",loadChildren:()=>import("./chunk-INYNBKEP.js").then(e=>e.DeliveryMethodsModule)},{path:"postal-codes",loadChildren:()=>import("./chunk-QFGZFPMJ.js").then(e=>e.PostalCodesModule)},{path:"locations",loadChildren:()=>import("./chunk-AYH64XPD.js").then(e=>e.LocationsModule)},{path:"document-texts",loadChildren:()=>import("./chunk-OYKWLA5P.js").then(e=>e.DocumentTextsModule)},{path:"measurement-units",loadChildren:()=>import("./chunk-RCFRCZJM.js").then(e=>e.MeasurementUnitsModule)},{path:"jobs",loadChildren:()=>import("./chunk-33MVP5DA.js").then(e=>e.JobsModule)},{path:"vehicles",loadChildren:()=>import("./chunk-AO43RORP.js").then(e=>e.VehiclesModule)}]}])]})}}return i})();export{E as CodeListsModule};
