1import{a as pt}from"./chunk-2X54NDFM.js";import{b as st}from"./chunk-Q7RMEB3S.js";import"./chunk-6FLGCNCP.js";import{a as lt,b as mt}from"./chunk-HGUXD774.js";import{b as at,c as ot}from"./chunk-JELOGV5H.js";import"./chunk-WDJKFX77.js";import"./chunk-GHSYXSSY.js";import"./chunk-5BGXWJ7N.js";import{a as rt,b as nt}from"./chunk-HXGZAXA2.js";import"./chunk-N77KOLK4.js";import"./chunk-3FF52G7O.js";import"./chunk-44OGH5FE.js";import{a as J}from"./chunk-MAUWBJZS.js";import{d as tt,l as et,q as it}from"./chunk-5KEZDESY.js";import{a as Y,c as Z}from"./chunk-DOQDBSZ7.js";import{S as $}from"./chunk-5FQYNGSZ.js";import"./chunk-QL3EPI6E.js";import{a as Q}from"./chunk-VKLKMV4K.js";import{a as X}from"./chunk-35QDLGYT.js";import"./chunk-L4LMAGEJ.js";import{Tc as G,_ as x,la as R}from"./chunk-VS3TSIZI.js";import{Kb as V,ac as U,dc as q,f as L,j as W,u as j}from"./chunk-3VRW5VNG.js";import{d as D,e as H}from"./chunk-PNLMOTJC.js";import{$a as k,Bb as f,Cb as w,Dc as E,Fb as O,Kc as K,Qa as l,Qb as p,Rb as d,Sc as N,Va as c,Xb as S,Yb as h,Zb as C,_a as T,ca as _,cb as I,dc as B,eb as v,hc as u,ic as g,jb as s,jc as F,ma as P,na as M,nd as z,ra as b,tb as a,ub as o,zb as A}from"./chunk-DPQN2WG2.js";import"./chunk-WWX6BADO.js";var ct=(r,y,t)=>({itemsPerPage:r,currentPage:y,id:t});function ft(r,y){if(r&1){let t=A();a(0,"tr",10),f("click",function(){let e=P(t).$implicit,m=w();return M(m.onClickItem(e))}),a(1,"td",11),p(2),o(),a(3,"td"),p(4),u(5,"partyName"),u(6,"async"),o(),a(7,"td"),p(8),o(),a(9,"td"),p(10),o()()}if(r&2){let t=y.$implicit;l(2),d(t.id),l(2),d(g(6,6,g(5,4,t.partyId))),l(4),d(t.text),l(2),d(t.status)}}var dt=(()=>{class r extends pt{constructor(t,n,e){super("admin/partyShipmentTrackingStatus",U.Shipments,[{property:"id",labelKey:"field.identifier.abbr",hintKey:null,iconClass:null,visible:!0},{property:"partyId",labelKey:"field.party.label",hintKey:null,iconClass:null,visible:!0},{property:"text",labelKey:"field.text.label",hintKey:null,iconClass:null,visible:!0},{property:"status",labelKey:"field.status.label",hintKey:null,iconClass:null,visible:!0}],e),this.service=t,this.authenticationService=n,this.filterStatus=1,this.offset=0,this.limit=1e3}onSaveSettings(t){super.onSaveSettings(t),t.filterStatus=this.filterStatus,t.filterPartyId=this.filterPartyId}onLoadSettings(t){super.onLoadSettings(t),t&&(this.filterStatus=t.filterStatus,this.filterPartyId=t.filterPartyId)}onClickItem(t){this.loading=!0,this.authenticationService.switchParty(t.partyId).subscribe(n=>{this.loading=!1,this.router.navigate(["/party/setup/shipmentTrackingStatus",t.id])},n=>{this.alertService.error(n),this.loading=!1})}onLoad(){return this.service.get(this.offset,this.limit,this.filterPartyId,this.filterStatus)}transformItem(t){return t.match="",t}static{this.\u0275fac=function(n){return new(n||r)(c(lt),c(q),c(b))}}static{this.\u0275cmp=T({type:r,selectors:[["ng-component"]],standalone:!1,features:[I],decls:13,vars:18,consts:[["titleTranslateKey","nav.shipmentTrackingStatus","helpUri","help/admin/shipment-container-state/master",3,"loading"],[1,"row","form-group"],["name","filterPartyId",1,"col-sm-2",3,"ngModelChange","label","ngModel"],[1,"col-sm-10","adn-buttons-horizontal","text-right"],[3,"action"],[1,"table-responsive"],[1,"table","table-striped","table-bordered","table-sm"],["adn-master-table-header","",3,"sortColumnChange","sortOrderChange","columns","sortColumn","sortOrder"],["class","clickable",3,"click",4,"ngFor","ngForOf"],[3,"onPageChanged","onPageSizeChanged","limit","uri"],[1,"clickable",3,"click"],[1,"text-right"]],template:function(n,e){n&1&&(a(0,"app-panel",0)(1,"div",1)(2,"app-admin-party-lookup",2),u(3,"translate"),C("ngModelChange",function(i){return h(e.filterPartyId,i)||(e.filterPartyId=i),i}),o(),a(4,"div",3)(5,"app-button-search",4),f("action",function(){return e.onRefresh()}),o()()(),a(6,"div",5)(7,"table",6)(8,"thead",7),C("sortColumnChange",function(i){return h(e.sortColumn,i)||(e.sortColumn=i),i})("sortOrderChange",function(i){return h(e.sortOrder,i)||(e.sortOrder=i),i}),o(),a(9,"tbody"),v(10,ft,11,8,"tr",8),u(11,"paginate"),o()()(),a(12,"app-master-pagination",9),f("onPageChanged",function(i){return e.setPage(i)})("onPageSizeChanged",function(i){return e.setPageSize(i)}),o()()),n&2&&(s("loading",e.loading),l(2),O("label",g(3,9,"field.party.label")),S("ngModel",e.filterPartyId),l(6),s("columns",e.columns),S("sortColumn",e.sortColumn)("sortOrder",e.sortOrder),l(2),s("ngForOf",F(11,11,e.listItems,B(14,ct,e.pageSize,e.page,e.uri))),l(2),s("limit",e.limit)("uri",e.uri))},dependencies:[rt,E,L,W,x,tt,et,G,at,K,Y,D],encapsulation:2})}}return r})();var ht=[{path:"",component:dt}],Jt=(()=>{class r{static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275mod=k({type:r})}static{this.\u0275inj=_({imports:[st,nt,ot,V,N,R,$,Q,j,it,Z,J,X,mt,z.forChild(ht),H]})}}return r})();export{Jt as AdminPartyShipmentTrackingStatusModule};
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.