PageSourceSearch

https://nearb.pl/app/3391.b3ecb1a2bfcb00dcab69.js

js nearb.pl collected 2026-10-02 00:05:36 UTC 15,338 bytes, 1 lines download raw bytes

1(self.webpackChunkloocalio=self.webpackChunkloocalio||[]).push([[3391],{94506:(t,e,n)=>{"use strict";n.d(e,{r:()=>l});var o=n(79765),i=n(46782),a=n(37716),c=n(46289),r=n(19657);const s=["*"];let l=(()=>{class t{constructor(t){this.platformService=t,this.platformWidth="xl",this.destroy$=new o.xQ}ngOnInit(){this.platformService.width$.pipe((0,i.R)(this.destroy$)).subscribe(t=>{this.platformWidth=t})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}isPlatformWidthDense(){return this.platformService.isWidth("lt-md",this.platformWidth)}}return t.\u0275fac=function(e){return new(e||t)(a.Y36(c.m))},t.\u0275cmp=a.Xpm({type:t,selectors:[["loc-card-crud"]],hostVars:2,hostBindings:function(t,e){2&t&&a.ekj("loc-card-crud--dense",e.isPlatformWidthDense())},inputs:{platformWidth:"platformWidth"},ngContentSelectors:s,decls:2,vars:0,template:function(t,e){1&t&&(a.F$t(),a.TgZ(0,"loc-list"),a.Hsn(1),a.qZA())},directives:[r.n],styles:[".loc-card-crud--dense[_nghost-%COMP%]     .loc-card-crud__container{max-width:100%;margin:0;border-radius:0;border:none;box-shadow:none}  .loc-card-crud__container{max-width:700px;margin:16px}  .loc-card-crud__container ion-card-content{padding:16px 0}  .loc-card-crud__container ion-searchbar{--box-shadow:none;--border-radius:6px;padding:16px}  .loc-card-crud__container ion-searchbar   .searchbar-input-container{border:1px solid #0000001a;border-radius:6px;box-shadow:none}  .loc-card-crud__header{--background:#00000005;--inner-padding-top:8px;--inner-padding-bottom:8px}  .loc-card-crud__header ion-label h2{font-weight:500}  .loc-card-crud__header ion-label p{opacity:.8;font-size:13px}"]}),t})()},19657:(t,e,n)=>{"use strict";n.d(e,{n:()=>a});var o=n(37716);const i=["*"];let a=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Xpm({type:t,selectors:[["loc-list"]],ngContentSelectors:i,decls:1,vars:0,template:function(t,e){1&t&&(o.F$t(),o.Hsn(0))},styles:["[_nghost-%COMP%]     mat-form-field:not(.mat-paginator-page-size-select){padding:0 16px;width:100%}[_nghost-%COMP%]     mat-form-field:not(.mat-paginator-page-size-select) .mat-form-field-suffix{top:0!important}[_nghost-%COMP%]     ion-item-divider{margin-bottom:20px;background-color:#00000008;text-transform:uppercase;font-size:13px;font-weight:500;letter-spacing:1px}[_nghost-%COMP%]     ion-item-divider ion-button[slot=end]{margin-right:16px}[_nghost-%COMP%]     ion-reorder[slot=start]{margin-right:20px}[_nghost-%COMP%]     ion-list ion-item ion-label h3{font-weight:500}[_nghost-%COMP%]     ion-list ion-item ion-label p{opacity:.8;font-size:13px}[_nghost-%COMP%]     .loc-list__actions{margin-bottom:20px;margin-top:10px}[_nghost-%COMP%]     .loc-list__block-button{margin-bottom:16px;padding-left:16px}[_nghost-%COMP%]     .loc-list__right-inline-button{margin-left:-14px;margin-top:-31px}"]}),t})()},93391:(t,e,n)=>{"use strict";n.r(e),n.d(e,{OrdersGuideCrudPageModule:()=>ct});var o=n(38583),i=n(3679),a=n(94490),c=n(63423),r=n(79765),s=n(46782),l=n(37716),d=n(46289),g=n(94506),u=n(35618),p=n(99692),h=n(11494),m=n(66682),f=n(54395),b=n(87519),_=n(93342),x=n(5304),Z=n(68939),C=n(26215),w=n(25917);class y{constructor(t){this.ordersGuideService=t,this.companiesSubject=new C.X([]),this.loadingSubject=new C.X(!1),this.loading$=this.loadingSubject.asObservable(),this.totalItemsCountSubject=new C.X(0),this.totalItemsCount$=this.totalItemsCountSubject.asObservable()}connect(t){return this.companiesSubject.asObservable()}disconnect(t){this.companiesSubject.complete(),this.loadingSubject.complete(),this.totalItemsCountSubject.complete()}loadCompanies(t){this.loadingSubject.next(!0),this.ordersGuideService.getOrdersGuide(t||null).pipe((0,x.K)(()=>(0,w.of)([])),(0,Z.x)(()=>this.loadingSubject.next(!1))).subscribe(t=>{this.totalItemsCountSubject.next(t.meta.total),this.companiesSubject.next(t.data)})}}var k=n(94693),O=n(95038),S=n(83348),v=n(32789),P=n(92406);function A(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1,"Id"),l.qZA())}function M(t,e){if(1&t&&(l.TgZ(0,"td",20),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.xp6(1),l.Oqu(t.id)}}function q(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1,"Imi\u0119"),l.qZA())}const I=function(t){return["/panel/orders-guide",t]};function T(t,e){if(1&t&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(2,I,t.id)),l.xp6(1),l.hij(" ",t.name," ")}}function D(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1,"Nazwisko"),l.qZA())}function Y(t,e){if(1&t&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(2,I,t.id)),l.xp6(1),l.hij(" ",t.surname," ")}}function Q(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1,"Email"),l.qZA())}function N(t,e){if(1&t&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(2,I,t.id)),l.xp6(1),l.hij(" ",t.email," ")}}function U(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1,"Metoda wysy\u0142ki"),l.qZA())}function $(t,e){if(1&t&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(2,I,t.id)),l.xp6(1),l.hij(" ",t.delivery," ")}}function j(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1," Metoda p\u0142atno\u015bci "),l.qZA())}function z(t,e){if(1&t&&(l.TgZ(0,"td",21),l._uU(1),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(2,I,t.id)),l.xp6(1),l.hij(" ",t.payment_method," ")}}function J(t,e){1&t&&(l.TgZ(0,"th",19),l._uU(1," Status p\u0142atno\u015bci "),l.qZA())}function W(t,e){1&t&&(l.TgZ(0,"ion-badge",26),l._uU(1," Nowe "),l.qZA())}function G(t,e){1&t&&(l.TgZ(0,"ion-badge",27),l._uU(1," Op\u0142acone "),l.qZA())}function B(t,e){1&t&&(l.TgZ(0,"ion-badge",28),l._uU(1," Anulowane "),l.qZA())}function L(t,e){1&t&&(l.TgZ(0,"ion-badge",29),l._uU(1," Oczekuje na p\u0142atno\u015b\u
10107 "),l.qZA())}function H(t,e){if(1&t&&(l.TgZ(0,"td",21),l.YNc(1,W,2,0,"ion-badge",22),l.YNc(2,G,2,0,"ion-badge",23),l.YNc(3,B,2,0,"ion-badge",24),l.YNc(4,L,2,0,"ion-badge",25),l.qZA()),2&t){const t=e.$implicit;l.Q6J("routerLink",l.VKq(5,I,t.id)),l.xp6(1),l.Q6J("ngIf","new"===t.status),l.xp6(1),l.Q6J("ngIf","paid"===t.status),l.xp6(1),l.Q6J("ngIf","cancelled"===t.status),l.xp6(1),l.Q6J("ngIf","pending"===t.status)}}function R(t,e){1&t&&(l.TgZ(0,"th",30),l._uU(1,"Akcje"),l.qZA())}function V(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"td",31),l.TgZ(1,"div",32),l.TgZ(2,"ion-button",33),l.NdJ("click",function(){return!0}),l._UZ(3,"ion-icon",34),l.qZA(),l.TgZ(4,"ion-button",35),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw().delete(e.id)}),l._UZ(5,"ion-icon",36),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=e.$implicit;l.xp6(2),l.Q6J("routerLink",l.VKq(1,I,t.id))}}function X(t,e){1&t&&l._UZ(0,"tr",37)}function K(t,e){1&t&&l._UZ(0,"tr",38)}function E(t,e){1&t&&(l.TgZ(0,"div",39),l._UZ(1,"ion-spinner"),l.qZA())}const F=function(){return[5,10,20]};let tt=(()=>{class t{constructor(t,e,n){this.ordersGuideService=t,this.alertsService=e,this.loadingService=n,this.displayedColumns=["name","surname","email","delivery","payment_method","status","actions"],this.destroy$=new r.xQ}get searchInput(){return this._searchInput}set searchInput(t){t.ionChange.pipe((0,s.R)(this.destroy$),(0,f.b)(700),(0,b.x)(),(0,_.b)(()=>{this.paginator&&(this.paginator.pageIndex=0),this.fetchData()})).subscribe(),this._searchInput=t}ngOnInit(){this.dataSource=new y(this.ordersGuideService)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngAfterViewInit(){this.fetchData(),this.paginator._intl.itemsPerPageLabel="",this.sort.sortChange.subscribe(()=>this.paginator.pageIndex=0),(0,m.T)(this.sort.sortChange,this.paginator.page).pipe((0,_.b)(()=>this.fetchData())).subscribe()}fetchData(){this.sort&&this.paginator&&this.dataSource.loadCompanies({filter:this.searchInput?this.searchInput.value:"",sortOrder:this.sort.direction,sortField:this.sort.active,pageNumber:this.paginator.pageIndex,pageSize:this.paginator.pageSize})}delete(t){console.log("orderGuideId",t),this.alertsService.showDeleteAlert(()=>{this.loadingService.showLoadingAlert(),this.ordersGuideService.deleteOrderGuide(t).subscribe(t=>{console.log(t),this.dataSource=new y(this.ordersGuideService),this.fetchData(),this.loadingService.closeLoadingAlert()})})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(k.A),l.Y36(O.m),l.Y36(S.b))},t.\u0275cmp=l.Xpm({type:t,selectors:[["loc-orders-guide-table"]],viewQuery:function(t,e){if(1&t&&(l.Gf(p.NW,5),l.Gf(h.YE,5)),2&t){let t;l.iGM(t=l.CRH())&&(e.paginator=t.first),l.iGM(t=l.CRH())&&(e.sort=t.first)}},inputs:{searchInput:"searchInput"},decls:32,vars:13,consts:[[1,"table-container"],["mat-table","","matSort","","aria-label","Elements","matSortDisableClear","",1,"full-width-table",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name","xsticky",""],["class","loc-table__link-cell","mat-cell","","style","font-weight: 500 !important",3,"routerLink",4,"matCellDef"],["matColumnDef","surname","xsticky",""],["matColumnDef","email","xsticky",""],["matColumnDef","delivery","xsticky",""],["matColumnDef","payment_method","xsticky",""],["matColumnDef","status","xsticky",""],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["class","loc-table__actions-cell","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","pxc-table__spinner",4,"ngIf"],[3,"length","pageSize","pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["mat-cell","",1,"loc-table__link-cell",2,"font-weight","500 !important",3,"routerLink"],["class","loc-badge loc-badge--new","mode","ios",4,"ngIf"],["class","loc-badge loc-badge--paid","mode","ios",4,"ngIf"],["class","loc-badge loc-badge--cancelled","mode","ios",4,"ngIf"],["class","loc-badge loc-badge--pending","mode","ios",4,"ngIf"],["mode","ios",1,"loc-badge","loc-badge--new"],["mode","ios",1,"loc-badge","loc-badge--paid"],["mode","ios",1,"loc-badge","loc-badge--cancelled"],["mode","ios",1,"loc-badge","loc-badge--pending"],["mat-header-cell",""],["mat-cell","",1,"loc-table__actions-cell"],[1,"loc-table__actions"],["fill","clear","color","dark",3,"routerLink","click"],["pxcIcon","mdi@pencil","slot","icon-only"],["fill","clear","color","dark",3,"click"],["pxcIcon","mdi@delete","slot","icon-only"],["mat-header-row",""],["mat-row",""],[1,"pxc-table__spinner"]],template:function(t,e){1&t&&(l.TgZ(0,"div",0),l.TgZ(1,"table",1),l.ynx(2,2),l.YNc(3,A,2,0,"th",3),l.YNc(4,M,2,1,"td",4),l.BQk(),l.ynx(5,5),l.YNc(6,q,2,0,"th",3),l.YNc(7,T,2,4,"td",6),l.BQk(),l.ynx(8,7),l.YNc(9,D,2,0,"th",3),l.YNc(10,Y,2,4,"td",6),l.BQk(),l.ynx(11,8),l.YNc(12,Q,2,0,"th",3),l.YNc(13,N,2,4,"td",6),l.BQk(),l.ynx(14,9),l.YNc(15,U,2,0,"th",3),l.YNc(16,$,2,4,"td",6),l.BQk(),l.ynx(17,10),l.YNc(18,j,2,0,"th",3),l.YNc(19,z,2,4,"td",6),l.BQk(),l.ynx(20,11),l.YNc(21,J,2,0,"th",3),l.YNc(22,H,5,7,"td",6),l.BQk(),l.ynx(23,12),l.YNc(24,R,2,0,"th",13),l.YNc(25,V,6,3,"td",14),l.BQk(),l.YNc(26,X,1,0,"tr",15),l.YNc(27,K,1,0,"tr",16),l.qZA(),l.qZA(),l.YNc(28,E,2,0,"div",17),l.ALo(29,"async"),l._UZ(30,"mat-paginator",18),l.ALo(31,"async")),2&t&&(l.xp6(1),l.Q6J("dataSource",e.dataSource),l.xp6(25),l.Q6J("matHeaderRowDef",e.displayedColumns)("matHeaderRowDefSticky",!0),l.xp6(1),l.Q6J("matRowDefColumns",e.displayedColumns),l.xp6(1),l.Q6J("ngIf",l.lcZ(29,8,e.dataSource.loading$)),l.xp6(2),l.Q6J("length",l.lcZ(31,10,e.dataSource.totalItemsCount$))("pageSize",10)("pageSizeOptions",l.DdM(12,F)))},directives:[v.BZ,h.YE,v.w1,v.fO,v.Dz,v.as,v.nj,o.O5,p.NW,v.ge,h.nU,v.ev,a.YI,c.rH,a.yp,a.YG,a.gu,P.a,v.XQ,v.Gk,a.PQ],pipes:[o.Ov],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.table-container[_ngcontent-%COMP%]{height:calc(100% - 56px);width:100%;max-width:100%;overflow:auto}th[_ngcontent-%COMP%]{padding:10px 10px 10px 20px!important;text-align:left!important}td[_ngcontent-%COMP%]{padding:20px!important}th[_ngcontent-%COMP%]{font-weight:600!important;color:#000c;background-color:#ececec!important}mat-paginator[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{box-shadow:inset 0 1px 0 #0000000d}mat-paginator[_ngcontent-%COMP%]{background-color:#00000005}.loc-badge[_ngcontent-%COMP%]{font-weight:400;text-transform:uppercase;letter-spacing:.3px}.loc-badge--active[_ngcontent-%COMP%]{background-color:green}.loc-badge--waiting[_ngcontent-%COMP%]{background-color:red}.loc-badge--gold[_ngcontent-%COMP%]{background-color:#c9ac07}.loc-badge--orange[_ngcontent-%COMP%]{background-color:#c77700}.loc-badge--primary[_ngcontent-%COMP%]{background-color:var(--ion-color-primary)}.loc-badge--gray[_ngcontent-%COMP%]{background-color:#494949}.loc-badge--custom[_ngcontent-%COMP%]{background-color:#8b4513}.loc-table__link-cell[_ngcontent-%COMP%]{cursor:pointer}.loc-badge--new[_ngcontent-%COMP%]{background-color:#ff4500}.loc-badge--paid[_ngcontent-%COMP%]{background-color:green}.loc-badge--cancelled[_ngcontent-%COMP%]{background-color:grey}.loc-badge--pending[_ngcontent-%COMP%]{background-color:maroon}tr[_ngcontent-%COMP%]:hover{background-color:#00000008}.loc-table__actions-cell[_ngcontent-%COMP%]{padding:0 10px 0 0!important}.loc-table__actions[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:row;place-content:flex-start;align-items:center;box-sizing:border-box}.loc-table__actions[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]{font-size:11px;
1--padding-start:8px;--padding-end:8px;--padding-bottom:15px;--padding-top:15px}"]}),t})();const et=[{path:"",component:(()=>{class t{constructor(t){this.platformService=t,this.platformWidth="xl",this.destroy$=new r.xQ}ngOnInit(){this.platformService.width$.pipe((0,s.R)(this.destroy$)).subscribe(t=>{this.platformWidth=t})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}isPlatformWidthDense(){return this.platformService.isWidth("lt-md",this.platformWidth)}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(d.m))},t.\u0275cmp=l.Xpm({type:t,selectors:[["loc-orders-guide-crud"]],hostVars:2,hostBindings:function(t,e){2&t&&l.ekj("loc-orders-guide-crud--dense",e.isPlatformWidthDense())},inputs:{platformWidth:"platformWidth"},decls:13,vars:1,consts:[["slot","start"],[1,"loc-card-crud__container"],["fxLayoutAlign","start center"],["placeholder","Szukaj"],["searchInput",""],[3,"searchInput"]],template:function(t,e){if(1&t&&(l.TgZ(0,"ion-header"),l.TgZ(1,"ion-toolbar"),l.TgZ(2,"ion-buttons",0),l._UZ(3,"ion-menu-button"),l.qZA(),l.TgZ(4,"ion-title"),l._uU(5,"Zam\xf3wienia przewodnika"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(6,"ion-content"),l.TgZ(7,"loc-card-crud"),l.TgZ(8,"ion-card",1),l.TgZ(9,"div",2),l._UZ(10,"ion-searchbar",3,4),l.qZA(),l._UZ(12,"loc-orders-guide-table",5),l.qZA(),l.qZA(),l.qZA()),2&t){const t=l.MAs(11);l.xp6(12),l.Q6J("searchInput",t)}},directives:[a.Gu,a.sr,a.Sm,a.fG,a.wd,a.W2,g.r,a.PM,u.Wh,a.VI,a.j9,tt],styles:[".loc-card-crud__container[_ngcontent-%COMP%]{max-width:1500px}ion-searchbar[_ngcontent-%COMP%]{width:auto}"]}),t})()}];let nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[c.Bz.forChild(et)],c.Bz]}),t})();var ot=n(15566),it=n(21482),at=n(84419);let ct=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[o.ez,i.u5,a.Pc,nt,v.p0,p.TU,h.JX,ot.o9,c.Bz,it.i,at.p]]}),t})()}}]);

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.