1import{a as P,b as R}from"./chunk-J7JE2EQD.js";import{a as k}from"./chunk-6XI7S3RA.js";import{a as U}from"./chunk-ISHNJZSC.js";import"./chunk-YFIAQJPQ.js";import"./chunk-IEXKFMST.js";import{a as N}from"./chunk-TJ2RPHDE.js";import"./chunk-42PWSBZH.js";import{a as O}from"./chunk-W43W277V.js";import"./chunk-REFOKVQ3.js";import"./chunk-PHSUILHB.js";import"./chunk-GEJVJ6FM.js";import"./chunk-UEA4PA7T.js";import{a as G}from"./chunk-XTZ52YXP.js";import{d as D,g as B}from"./chunk-V5NVW3RX.js";import"./chunk-PLYFBI5N.js";import{a as A,c as j}from"./chunk-OXS72IC2.js";import{a as L}from"./chunk-OJ3TPV6K.js";import"./chunk-TWCCQXBO.js";import{a as V}from"./chunk-WX4CQOYH.js";import{b as M}from"./chunk-VJFTX4QI.js";import{b as w,f as I}from"./chunk-JS7PJXRN.js";import{Ba as C,oa as H}from"./chunk-H5QLA7CR.js";import"./chunk-PUEGCG5U.js";import{$ as f,Ia as s,Ma as e,Qa as u,_b as h,ab as d,fa as c,ga as m,gd as x,h as n,nb as p,nd as _,ob as v,pd as T,tb as S,wb as b,wc as y}from"./chunk-B55Z224L.js";var Q=(F,t)=>({tab:F,tabsType:t}),o=class o{constructor(t,r,i,a,l,g,q,z,K,W,Y,J,X){this._bookingV2Service=t;this._quoteV2Service=r;this.location=i;this._translate=a;this._lang=l;this._router=g;this._sharedDataService=q;this._helperService=z;this._userAuthService=K;this._modelService=W;this._dashboardService=Y;this._activityLogService=J;this._navigatService=X}_bookingV2Service;_quoteV2Service;location;_translate;_lang;_router;_sharedDataService;_helperService;_userAuthService;_modelService;_dashboardService;_activityLogService;_navigatService;_platformService=f(_);VGMTABSDATA=R;vgmBodyHeadConfig=P;activeTabIndex=0;ngOnInit(){this._userAuthService.getAuthUserData(),this._sharedDataService.updateDashBoardNavStatus(!0),this.activeTabIndex=this._dashboardService.getActiveTab()}activityLogVGM(){this.activityLog("headersubmitVGM"),this._navigatService.navigateWithLang(this,V.SUBMIT_VGM)}openLoginPopup(){}onTabSelected(t){this.activeTabIndex=t,this.activeTabIndex===1?this.vgmBodyHeadConfig.bodyHead.subHeading="Submit VGM online for the following bookings":this.vgmBodyHeadConfig.bodyHead.subHeading="Submit Verified Gross Mass declaration or VGM for your confirmed bookings.",this._dashboardService.setActiveTab(this.activeTabIndex)}activityLog(t,r){return{exitLog:r,jsonLogKey:t}}ngOnDestroy(){this._dashboardService.setActiveTab(0)}static \u0275fac=function(r){return new(r||o)(e(D),e(G),e(y),e(T),e(w),e(x),e(O),e(L),e(B),e(M),e(U),e(j),e(I))};static \u0275cmp=u({type:o,selectors:[["app-vgm-list"]],decls:5,vars:6,consts:[["tab",""],[1,"dashboard-layout","bg-grey-20","viewport-height"],[3,"submit","body"],[1,"dashboard-common-tabs"],[3,"tabSelected","body","activeTabIndex"]],template:function(r,i){if(r&1){let a=S();p(0,"div",1)(1,"app-body-head",2),b("submit",function(){return c(a),m(i.activityLogVGM())}),v(),p(2,"div",3)(3,"sw-tabs",4,0),b("tabSelected",function(g){return c(a),m(i.onTabSelected(g))}),v()()()}r&2&&(s(),d("body",i.vgmBodyHeadConfig.bodyHead),s(2),d("body",h(3,Q,i._modelService.translateObject(i.VGMTABSDATA.tab),i.VGMTABSDATA.tabsType))("activeTabIndex",i.activeTabIndex))},dependencies:[C,H,k],styles:[`body .small-input-search input.input-control{height:28px;min-height:28px;max-width:183px;box-shadow:0 2px 4px #00000026;border-radius:10px;border:0;background:#fff;font-weight:600;font-size:14px;color:#000}@media(max-width:1024px){body .small-input-search input.input-control{max-width:150px}}.dashboard-tabs{margin:20px 0;position:relative;width:95vw;left:-25px}@media(max-width:1024px){.dashboard-tabs{left:-20px}}@media(max-width:767px){.dashboard-tabs{width:100vw;left:-10px}}@media(max-width:767px){::ng-deep .vgm-submitted-table{margin-top:30px}}.dashboard-common-tabs .tabs-navs{margin:20px 0;position:relative;width:95vw;left:-25px}@media(max-width:1024px){.dashboard-common-tabs .tabs-navs{left:-20px}}@media(max-width:767px){.dashboard-common-tabs .tabs-navs{width:100vw;left:-10px}} 2`],encapsulation:2})};n([N()],o.prototype,"openLoginPopup",1),n([A()],o.prototype,"activityLog",1);var E=o;export{E as VgmListComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.