import{a as C}from"./chunk-ND7AH7GF.js";import"./chunk-THKS2M3R.js";import{a as v}from"./chunk-54NLPTVP.js";import{d as M}from"./chunk-C2WGQZZS.js";import"./chunk-4NKYXKKW.js";import"./chunk-LNWF7VZ2.js";import"./chunk-T6NRFYFX.js";import"./chunk-RQCMKSAN.js";import"./chunk-JI65IOIM.js";import{I as f}from"./chunk-57DG2VC5.js";import"./chunk-NMMBNW5X.js";import"./chunk-5IDV7BCW.js";import"./chunk-CVFNZXIB.js";import"./chunk-EU5XKS65.js";import"./chunk-XALE2GEX.js";import"./chunk-GJIGZB63.js";import"./chunk-TOJME4VO.js";import"./chunk-2CD72B3Z.js";import"./chunk-4TDNJBFX.js";import"./chunk-4LZAXRJQ.js";import"./chunk-XHRSSCXW.js";import"./chunk-5VDVFGVW.js";import{j as h,p as u}from"./chunk-NLMVBXFK.js";import"./chunk-BUHB7MLU.js";import"./chunk-KUS3L5XF.js";import{Eb as s,Fb as a,Fd as p,Ib as d,cc as m,dc as l,la as n,lc as c,sb as r}from"./chunk-J476KISY.js";var y=(()=>{class i extends v{constructor(e){super(),this.deliveryMethodsService=e,this.pageMeta={title:"DeliveryMethods"},this.mainHeaderDef={},this.mainOptionsDef={navigation:[]}}ngOnInit(){}ngOnDestroy(){this.deliveryMethodsService.unset()}onActivate(e){if(e&&typeof e.getViewActions=="function"){let t=e.getViewActions();if(t&&Array.isArray(t)){this.mainHeaderDef.viewActions=t,setTimeout(()=>{let o=window.__codeListsComponent;o&&o.loadActionsFromChildComponent(this)},150);return}}e&&"mainHeaderDef"in e?(this.mainHeaderDef=e.mainHeaderDef,setTimeout(()=>{let t=window.__codeListsComponent;t&&t.loadActionsFromChildComponent(this)},0)):(this.mainHeaderDef.viewActions=[],setTimeout(()=>{let t=window.__codeListsComponent;t&&t.loadActionsFromChildComponent(this)},0))}getViewActions(){return this.mainHeaderDef.viewActions||[]}static{this.\u0275fac=function(t){return new(t||i)(r(C))}}static{this.\u0275cmp=s({type:i,selectors:[["paw-delivery-methods-main"]],standalone:!1,features:[d],decls:1,vars:0,consts:[[3,"activate"]],template:function(t,o){t&1&&(m(0,"router-outlet",0),c("activate",function(D){return o.onActivate(D)}),l())},dependencies:[h],encapsulation:2})}}return i})();var S=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=a({type:i})}static{this.\u0275inj=n({imports:[p,M,f,u.forChild([{path:"",component:y,children:[{path:"",loadChildren:()=>import("./chunk-URYJS4EG.js").then(e=>e.DeliveryMethodsFormModule)},{path:"create",loadChildren:()=>import("./chunk-URYJS4EG.js").then(e=>e.DeliveryMethodsFormModule)},{path:"edit/:id",loadChildren:()=>import("./chunk-URYJS4EG.js").then(e=>e.DeliveryMethodsFormModule)}]}])]})}}return i})();export{S as DeliveryMethodsMainModule};
