PageSourceSearch

https://farmlink.in/1514.4b497fb9afbbee4a.js

js farmlink.in collected 2026-09-26 07:55:08 UTC 15,917 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1514,3797],{81514:(v,b,d)=>{d.d(b,{b:()=>I});var s=d(15861),C=d(63797),t=d(41571),f=d(64377),a=d(48058),m=d(35705),p=d(36895);function M(e,r){1&e&&(t.TgZ(0,"h2",6),t._uU(1,"My order list"),t.qZA())}function g(e,r){if(1&e&&t._UZ(0,"img",10),2&e){const n=t.oxw(2);t.Q6J("src",n.db.product_img(n.db.website_settings.app_settings.no_order),t.LSH)}}function h(e,r){if(1&e&&(t.TgZ(0,"div",7),t.YNc(1,g,1,1,"img",8),t.TgZ(2,"h6",9),t._uU(3,"No Order Items!"),t.qZA(),t.TgZ(4,"p"),t._uU(5,"Sorry, Order list is empty!"),t.qZA()()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("ngIf",n.db.website_settings&&n.db.website_settings.app_settings)}}function O(e,r){if(1&e&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&e){const n=r.$implicit;t.xp6(1),t.Oqu(n)}}function l(e,r){if(1&e&&(t.TgZ(0,"div",16)(1,"div",17)(2,"div",18),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.ALo(6,"date"),t.qZA(),t.TgZ(7,"div"),t._UZ(8,"span",19),t._uU(9),t.qZA(),t.TgZ(10,"div"),t._UZ(11,"span",19),t._uU(12),t.qZA(),t.TgZ(13,"div",20),t._uU(14),t.ALo(15,"currency"),t.qZA(),t.TgZ(16,"div",20),t._uU(17),t.ALo(18,"currency"),t.qZA(),t.TgZ(19,"div",20),t._uU(20),t.ALo(21,"currency"),t.qZA(),t.TgZ(22,"div"),t._UZ(23,"span",19),t._uU(24),t.qZA()()()),2&e){const n=r.$implicit,o=t.oxw(3);t.MGl("routerLink","/my-profile/order/",n.name,""),t.xp6(3),t.Oqu(n.name),t.xp6(2),t.Oqu(t.xi3(6,29,n.creation,"dd-MMM-yyyy")),t.xp6(3),t.ekj("cancelled","Cancelled"==n.status)("success","Completed"==n.status)("shipped","Shipped"==n.status)("order_delivered","Delivered"==n.status)("placed","Placed"==n.status),t.xp6(1),t.Oqu(n.status),t.xp6(2),t.ekj("success","Paid"==n.payment_status)("pending","Pending"==n.payment_status),t.xp6(1),t.Oqu(n.payment_status),t.xp6(2),t.hij(" ",t.xi3(15,32,n.total_amount,o.db.website_settings.currency),""),t.xp6(3),t.hij(" ",t.xi3(18,35,n.paid_amount,o.db.website_settings.currency),""),t.xp6(3),t.hij(" ",t.xi3(21,38,n.total_refund_amount,o.db.website_settings.currency),""),t.xp6(3),t.ekj("success","Processed"==n.refund_status)("pending","Pending"==n.refund_status)("no_refund",null==n.refund_status),t.xp6(1),t.Oqu(n.refund_status?n.refund_status:"NA")}}function u(e,r){if(1&e&&(t.TgZ(0,"div",12)(1,"div",13),t.YNc(2,O,2,1,"div",14),t.qZA(),t.YNc(3,l,25,41,"div",15),t.qZA()),2&e){const n=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",n.order_column),t.xp6(1),t.Q6J("ngForOf",n.db.order_items)}}function P(e,r){if(1&e&&(t.TgZ(0,"p",30),t._uU(1,"Refund: "),t.TgZ(2,"span",26),t._uU(3),t.ALo(4,"currency"),t.qZA()()),2&e){const n=t.oxw().$implicit,o=t.oxw(3);t.xp6(3),t.Oqu(t.xi3(4,1,n.total_refund_amount,o.db.website_settings.currency))}}function Z(e,r){if(1&e&&(t.TgZ(0,"div",31),t._uU(1),t.qZA()),2&e){const n=t.oxw().$implicit,o=t.oxw(3);t.Tol(o.get_status_col(n.refund_status)),t.xp6(1),t.Oqu(n.refund_status)}}function T(e,r){if(1&e&&(t.TgZ(0,"ion-item",22)(1,"div",23)(2,"div",24)(3,"span",25),t._uU(4),t.qZA(),t.TgZ(5,"span",26),t._uU(6),t.ALo(7,"currency"),t.qZA()(),t.TgZ(8,"div",27)(9,"span",28),t._uU(10),t.ALo(11,"date"),t.qZA()(),t.TgZ(12,"div",29)(13,"p",30),t._uU(14,"Paid: "),t.TgZ(15,"span",26),t._uU(16),t.ALo(17,"currency"),t.qZA()(),t.TgZ(18,"div",31),t._uU(19),t.qZA()(),t.TgZ(20,"div",32),t.YNc(21,P,5,4,"p",33),t.YNc(22,Z,2,3,"div",34),t.qZA()()()),2&e){const n=r.$implicit,o=t.oxw(3);t.MGl("routerLink","/order-detail/",n.name,""),t.xp6(4),t.Oqu(n.name),t.xp6(2),t.Oqu(t.xi3(7,12,n.total_amount,o.db.website_settings.currency)),t.xp6(4),t.AsE("",t.xi3(11,15,n.creation,"dd-MMM-yyyy")," ",n.order_time,""),t.xp6(6),t.Oqu(t.xi3(17,18,n.paid_amount,o.db.website_settings.currency)),t.xp6(2),t.Tol(o.get_status_col(n.status)),t.xp6(1),t.AsE(" ","Placed"==n.status?"Order":""," ",n.status,""),t.xp6(2),t.Q6J("ngIf",n.total_refund_amount),t.xp6(1),t.Q6J("ngIf",n.refund_status)}}function A(e,r){if(1&e&&(t.TgZ(0,"div")(1,"ion-list"),t.YNc(2,T,23,21,"ion-item",21),t.qZA()()),2&e){const n=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",n.db.order_items)}}function y(e,r){1&e&&(t.TgZ(0,"ion-item",36)(1,"div",37)(2,"h6"),t._UZ(3,"ion-skeleton-text",38),t.qZA(),t.TgZ(4,"h6"),t._UZ(5,"ion-skeleton-text",38),t.qZA(),t.TgZ(6,"h6"),t._UZ(7,"ion-skeleton-text",38),t.qZA()(),t.TgZ(8,"div",39)(9,"p"),t._UZ(10,"ion-skeleton-text",40),t.qZA(),t.TgZ(11,"p"),t._UZ(12,"ion-skeleton-text",41),t.qZA()()()),2&e&&(t.xp6(3),t.Q6J("animated",!0),t.xp6(2),t.Q6J("animated",!0),t.xp6(2),t.Q6J("animated",!0),t.xp6(3),t.Q6J("animated",!0),t.xp6(2),t.Q6J("animated",!0))}function w(e,r){if(1&e&&(t.TgZ(0,"ion-list"),t.YNc(1,y,13,5,"ion-item",35),t.qZA()),2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",n.db.order_items)}}function U(e,r){if(1&e&&(t.TgZ(0,"div"),t.YNc(1,u,4,2,"div",11),t.YNc(2,A,3,1,"div",4),t.YNc(3,w,2,1,"ion-list",4),t.qZA()),2&e){const n=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!n.db.ismobile),t.xp6(1),t.Q6J("ngIf",n.db.ismobile&&n.show_order),t.xp6(1),t.Q6J("ngIf",!n.show_order&&n.db.ismobile)}}function E(e,r){if(1&e){const n=t.EpF();t.TgZ(0,"ion-infinite-scroll",42),t.NdJ("ionInfinite",function(i){t.CHM(n);const _=t.oxw();return t.KtG(_.loadData(i))}),t._UZ(1,"ion-infinite-scroll-content",43),t.qZA()}}let I=(()=>{var e;class r{constructor(o,i,_,c,x){this.db=o,this.platform=i,this.router=_,this.modalCtrl=c,this.route=x,this.page_no=1,this.order_sum=!0,this.hidelist=!0,this.no_products=!1,this.show_order=!1,this.order_column=["Order Id","Order Date","Order Status","Payment Status","Total Price","Paid Amount","Refund Amount","Refund Status"]}ngOnInit(){this.page_no=1,this.db.order_page_no=1,this.db.no_orders_products=!1,this.get_order_list(),this.db.ismobile=this.db.checkmobile(),this.db.ordered.subscribe(o=>{"ordered"==o&&this.get_order_list(),o&&"ordered"==o&&(this.db.no_orders_products=!1,this.get_order_list())})}get_status_col(o){if(o)return o.toLowerCase().replaceAll(" ","-")}doRefresh(o){this.db.order_page_no=1,this.get_order_list(),setTimeout(()=>{o.target.complete()},700)}func(){this.db.ismobile=this.db.checkmobile()}get_order_list(){this.db.order_lists({page_no:this.db.order_page_no,page_length:15}).subscribe(i=>{i.message&&0!=i.message.length?(this.db.website_settings.order_info=!1,this.show_order=!0,1==this.db.order_page_no&&(this.db.order_items=i.message),i.message.map(_=>{_.time=this.formatAMPM(new Date(_.creation)),1!=this.db.order_page_no&&this.db.order_items.push(_)})):(this.db.no_orders_products=!0,this.show_order=!0,1==this.db.order_page_no&&(this.db.website_settings.order_info=!0))})}formatAMPM(o){var i=o.getHours(),_=o.getMinutes(),c=i>=12?"pm":"am";return(i=(i%=12)||12)+":"+(_=_<10?"0"+_:_)+" "+c}opendetail(o){var i=this;return(0,s.Z)(function*(){const _=yield i.modalCtrl.create({component:C.T,cssClass:"order-detail-popup",componentProps:{order_detail:o}});i.db.modal=!0,yield _.present(),yield _.onWillDismiss().then(c=>{"reload"==c.data&&i.get_order_list()})})()}loadData(o){this.db.no_orders_products||(this.db.order_page_no=this.db.order_page_no+1,this.get_order_list()),setTimeout(()=>{o.target.complete()},400)}showHide(){this.hidelist=!this.hidelist}print(){window.print()}navigator_order_detail(o){1==this.db.website_settings.enable_multi_vendor?this.router.navigateByUrl("/my-profile/order/"+o.name):this.opendetail(o)}}return(e=r).\u0275fac=function(o){return new(o||e)(t.Y36(f.M),t.Y36(a.t4),t.Y36(m.F0),t.Y36(a.IN),t.Y36(m.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-orders"]],hostBindings:function(o,i){1&o&&t.NdJ("resize",function(c){return i.func(c)},!1,t.Jf7)},inputs:{page_no:"page_no"},decls:7,vars:4,consts:[[1,"container"],["slot","fixed","pullFactor","0.5","pullMin","100","pullMax","200",3,"ionRefresh"],["class","fnt-20  myAccount-titles",4,"ngIf"],["class","oops-icon1",4,"ngIf"],[4,"ngIf"],["threshold","300px",3,"ionInfinite",4,"ngIf"],[1,"fnt-20","myAccount-titles"],[1,"oops-icon1"],["class","icon","button","",3,"src",4,"ngIf"],[1,"m-0","fnt-12","oops-text"],["button","",1,"icon",3,"src"],["class","table__data ",4,"ngIf"],[1,"table__data"],[1,"table__container","d__flex","table__header"],[4,"ngFor","ngForOf"],["class","main-item mouse",3,"routerLink",4,"ngFor","ngForOf"],[1,"main-item","mouse",3,"routerLink"],[1,"table__container","d__flex","table__items"],[1,"order__id"],[1,"dot"],[1,"open_sans__font"],[3,"routerLink",4,"ngFor","ngForOf"],[3,"routerLink"],[1,"w-100","orders"],[1,"d__flex","just-s","order-mb","mb-5"],[1,"id__","medium_name"],[1,"medium_name","open_sans__font","price-color"],[1,"d__flex","just-s","order-date-mb","fnt-11","mb-5"],[1,"medium_name"],[1,"d__flex","just-s","status-mb","fnt-13","mb-5"],[1,"m-0","items_","medium_name"],[1,"fnt-13"],[1,"d__flex","just-s","status-mb","fnt-13"],["class","m-0 items_ medium_name",4,"ngIf"],["class","fnt-13",3,"class",4,"ngIf"],["class","skeleton","style","height:13vh",4,"ngFor","ngForOf"],[1,"skeleton",2,"height","13vh"],[1,"child1"],[2,"width","150px","height","15px",3,"animated"],[1,"child2"],[2,"width","115px","height","15px",3,"animated"],[2,"width","103px","height","15px","margin","40px 11px 0 11px",3,"animated"],["threshold","300px",3,"ionInfinite"],["loadingSpinner","bubbles","loadingText",""]],template:function(o,i){1&o&&(t.TgZ(0,"div",0)(1,"ion-refresher",1),t.NdJ("ionRefresh",function(c){return i.doRefresh(c)}),t._UZ(2,"ion-refresher-content"),t.qZA(),t.YNc(3,M,2,0,"h2",2),t.YNc(4,h,6,1,"div",3),t.YNc(5,U,4,3,"div",4),t.YNc(6,E,2,0,"ion-infinite-scroll",5),t.qZA()),2&o&&(t.xp6(3),t.Q6J("ngIf",!i.db.ismobile),t.xp6(1),t.Q6J("ngIf",i.db.website_settings.order_info),t.xp6(1),t.Q6J("ngIf",!i.db.website_settings.order_info&&0!=i.db.order_items.length),t.xp6(1),t.Q6J("ngIf",!i.db.no_orders_products&&!i.db.website_settings.order_info))},dependencies:[p.sg,p.O5,a.ju,a.MB,a.Ie,a.q_,a.nJ,a.Wo,a.CK,a.YI,m.rH,p.H9,p.uU],styles:['.container[_ngcontent-%COMP%]{position:relative}.table__header[_ngcontent-%COMP%]{padding:10px 0;background-color:#f5f5f5}.table__header[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{font-weight:500;color:#000}.table__items[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{color:#0e0e0e}.main-item[_ngcontent-%COMP%]{padding:15px 0;border-bottom:1px solid;border-color:var(--border)}.main-item[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]:hover, .main-item[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]:hover{--ion-item-color: var(--secondary-bg)}.table__data[_ngcontent-%COMP%], .container[_ngcontent-%COMP%]{height:100%;width:100%}.active-order[_ngcontent-%COMP%]{background:#f7f7f7}.image[_ngcontent-%COMP%]{width:100px}.image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:55px}.d-fl[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap}.d-fl[_ngcontent-%COMP%]   .items[_ngcontent-%COMP%]{width:33%}.d-fl[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:var(--secondary-text);font-size:14px;margin:0}.d-fl[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:15px;margin:10px 0;font-weight:500;color:var(--primary-text)}.container-2[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:26%}.mini-desc[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media only screen and (min-width: 768px){.table__container[_ngcontent-%COMP%]{font-size:14px}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(1){width:15%;padding-left:15px}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(2){width:15%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(3){width:15%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(4){width:20%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(5){width:15%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(6){width:15%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(7){width:15%}.table__container[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:nth-child(8){width:15%}.main-cont[_ngcontent-%COMP%]{width:40%;height:100%;overflow-y:auto;box-shadow:#0000004a 0 0 3px;transition:.5s}.mini-desc[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{text-align:right;padding:5px 13px}.d-fl[_ngcontent-%COMP%]   .items[_ngcontent-%COMP%]{width:33%}.pending[_ngcontent-%COMP%], .cancelled[_ngcontent-%COMP%]{background-color:#ff0000e3!important;color:#ff0000e3}.placed[_ngcontent-%COMP%]{background-color:#aaaeff26;color:#00f}}@media only screen and (max-width: 768px){.orders[_ngcontent-%COMP%]{padding:10px 0;margin:0 10px}.orders[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:0}.current[_ngcontent-%COMP%]{--color-checked: red}.past[_ngcontent-%COMP%]{--color-checked: #11ff00}ion-list[_ngcontent-%COMP%]{background:var(--second-white)}.cont2-head[_ngcontent-%COMP%]{display:none}ion-list[_ngcontent-%COMP%]{padding:0}.mini-desc[_ngcontent-%COMP%]   ion-label[_ngcontent-%COMP%]{padding:5px 10px;display:flex;justify-content:space-between}.d-fl[_ngcontent-%COMP%]   .items[_ngcontent-%COMP%]{width:50%}}.skeleton[_ngcontent-%COMP%]{display:flex;align-items:baseline}.skeleton[_ngcontent-%COMP%]   .child1[_ngcontent-%COMP%]{flex:0 0 calc(70% - 10px
1);padding:0 10px;position:relative}.skeleton[_ngcontent-%COMP%]   .child1[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{position:relative}.skeleton[_ngcontent-%COMP%]   .child1[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   ion-skeleton-text[_ngcontent-%COMP%]{position:absolute;top:30px}ion-item[_ngcontent-%COMP%]{--padding-start: 0;--padding-end: 0;--inner-padding-end: 0}.dot[_ngcontent-%COMP%]{height:10px;width:10px;display:inline-block;background:var(--primary-bg);border-radius:50%;margin-right:5px;opacity:.7}.success[_ngcontent-%COMP%], .order_delivered[_ngcontent-%COMP%]{color:#02b290;background-color:#02b290}.delivered[_ngcontent-%COMP%]{color:#02b290;background-color:#d0f3be}.shipped[_ngcontent-%COMP%]{background-color:#fed030}.packed[_ngcontent-%COMP%]{background:rgba(255,159,41,.1607843137);color:#f99315}.placed[_ngcontent-%COMP%]{background-color:#aaaeff26;color:#00f}.shipped[_ngcontent-%COMP%]{background-color:#a6b1bd38;color:#a6b1bd}.pending[_ngcontent-%COMP%], .cancelled[_ngcontent-%COMP%]{background-color:#ff000017;color:#ff0000e3;font-size:13px}.no_refund[_ngcontent-%COMP%]{background-color:#fed030}.completed[_ngcontent-%COMP%], .processed[_ngcontent-%COMP%]{font-size:13px;background-color:#d0f3be;color:#46961c}.ready-to-pack[_ngcontent-%COMP%]{background:rgba(0,150,136,.1098039216);color:#009688}.order-mb[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:500;color:#000}.order-mb[_ngcontent-%COMP%]   .id__[_ngcontent-%COMP%]{color:var(--gray-color)!important}.status-mb[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{opacity:.8;padding:1px 10px!important;border-radius:5px}.status-mb[_ngcontent-%COMP%]   .items_[_ngcontent-%COMP%]{color:#000}.status-mb[_ngcontent-%COMP%]   .items_count[_ngcontent-%COMP%]{color:var(--gray-color)}.price-color[_ngcontent-%COMP%]{font-weight:500}.order__id[_ngcontent-%COMP%]:after{content:""}.payment-pending[_ngcontent-%COMP%]{color:#ff6b00;background:#FFE0CA;border-radius:5px}.payment-paid[_ngcontent-%COMP%]{color:#01b141;background:#D1F5CE;border-radius:5px}']}),r})()},63797:(v,b,d)=>{d.d(b,{T:()=>M});var s=d(41571),C=d(35705),t=d(64377),f=d(36895),a=d(48058),m=d(92860),p=d(39567);let M=(()=>{var g;class h{constructor(l,u,P){this.router=l,this.db=u,this.location=P}ngOnInit(){}}return(g=h).\u0275fac=function(l){return new(l||g)(s.Y36(C.F0),s.Y36(t.M),s.Y36(f.S$))},g.\u0275cmp=s.Xpm({type:g,selectors:[["app-order-detail"]],inputs:{order_detail:"order_detail"},decls:3,vars:4,consts:[["title","Order Details",3,"no_home","no_cart"],[3,"ngClass"],[3,"order_detail"]],template:function(l,u){1&l&&(s._UZ(0,"app-header",0),s.TgZ(1,"ion-content",1),s._UZ(2,"app-orderdetail",2),s.qZA()),2&l&&(s.Q6J("no_home",!0)("no_cart",!0),s.xp6(1),s.Q6J("ngClass",u.db.ismobile?"mobile-bg":""),s.xp6(1),s.Q6J("order_detail",u.order_detail))},dependencies:[f.mk,a.W2,m.F,p.G],styles:[".mobile-bg[_ngcontent-%COMP%]{--background:var(--mobile_bg)}"]}),h})()}}]);

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.