PageSourceSearch

https://www.fischfang-profi.de/chunk-PU2ZQSWO.js

js fischfang-profi.de collected 2026-10-04 08:25:25 UTC 16,307 bytes, 5 lines download raw bytes

1import{a as W,b as B,c as Y,d as q,f as H}from"./chunk-KHXFPVS5.js";import{c as E}from"./chunk-S722EQDX.js";import{d as z,e as T,f as j,g as Z,l as ee}from"./chunk-UKMQ4W75.js";import{b as P}from"./chunk-72MR3KVR.js";import{a as se,b as le}from"./chunk-FFCAW5YQ.js";import{d as re}from"./chunk-OLDNUVTE.js";import"./chunk-JU3TO6RJ.js";import{A as ie,I as ne,J as ae,y as te}from"./chunk-PTUDKQ56.js";import"./chunk-XO34745F.js";import"./chunk-UU43USFJ.js";import"./chunk-KFI4BH7Z.js";import"./chunk-RHJP53MN.js";import{a as A,b as V}from"./chunk-VHZ74JVA.js";import{N as O,P as L}from"./chunk-LCXSRYFK.js";import"./chunk-3JD6X4AI.js";import"./chunk-PUT3LL7V.js";import"./chunk-YTBY7HZT.js";import"./chunk-B3EJ5XO7.js";import{d as oe}from"./chunk-BMB7LTWC.js";import{d as X}from"./chunk-WQYQHVLV.js";import{Hb as J,Jb as G,Lb as y,Mb as C,Nb as x,Ob as b,Pb as i,Qb as n,Rb as c,T as N,Y as $,_a as s,aa as R,ac as I,cc as w,hb as p,n as h,nb as g,rc as a,sc as l,ta as d,tc as D,uc as k,va as F,wc as K,xc as U,yc as Q}from"./chunk-PRJEUGFE.js";import"./chunk-HZ6M6AS2.js";var u=(()=>{class r{#e;constructor(e,t){this.httpClinet=e,this.helperService=t,this.#e=oe.api+"dashboard",this.ebayshopdataSig=d([{data:[]}]),this.ebayNettoDataSig=d([{data:[]}]),this.storeNettoDataSig=d([{data:[]}]),this.monthDataSig=d({lables:[],datasets:[]}),this.months=["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],this.courrentYearSig=d(Number(new Date(Date.now()).getFullYear().toString())),this.yearsSig=d([new Date(Date.now()).getFullYear().toString()])}getJahres(){return this.httpClinet.get(this.#e+"/years").pipe(N(e=>{if(e&&e.length>0){let t=[];e.forEach(o=>{t.push(o.years)}),this.yearsSig.set(t)}}))}getEbayShopData(e){return e||(e=new Date(Date.now()).getFullYear().toString()),this.httpClinet.get(this.#e+"/eals/"+e).pipe(N(t=>{this.ebayshopdataSig.set(t)}))}getEbayNettoData(e){return e||(e=new Date(Date.now()).getFullYear().toString()),this.httpClinet.get(this.#e+"/ebay-netto/"+e).pipe(N(t=>{this.ebayNettoDataSig.set(t)}))}getStoreNettoData(e){return e||(e=new Date(Date.now()).getFullYear().toString()),this.httpClinet.get(this.#e+"/shop-netto/"+e).pipe(N(t=>{this.storeNettoDataSig.set(t)}))}getMonthData(e){return e||(e=new Date(Date.now()).getFullYear().toString()),this.httpClinet.get(this.#e+"/months/"+e).pipe(N(t=>{this.courrentYearSig.set(Number(e)),this.monthDataSig.set(t)}))}getMonthDetailEbay(e,t,o,m){return this.httpClinet.get(this.#e+"/ebay-month/"+t+"/"+e+"/"+o+"/"+m)}getMonthDetailShop(e,t,o,m){return this.httpClinet.get(this.#e+"/shop-month/"+t+"/"+e+"/"+o+"/"+m)}static{this.\u0275fac=function(t){return new(t||r)(R(X),R(P))}}static{this.\u0275prov=$({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();var me=(()=>{class r{constructor(e){this.service=e,this.pieChartOptions={responsive:!0,plugins:{legend:{labels:{font:{size:12},boxWidth:10},position:"top",align:"start"}}},this.pieChartLabels=[["Ebay Kost"],["Shipping"],["MwSt"],["Advertising"],["Ware"],["Gewin"]],this.pieChartDatasets=this.service.ebayNettoDataSig,this.pieChartLegend=!0,this.pieChartPlugins=[]}static{this.\u0275fac=function(t){return new(t||r)(p(u))}}static{this.\u0275cmp=g({type:r,selectors:[["app-ebay-netto"]],decls:4,vars:6,consts:[[2,"max-width","350px","max-height","350px"],["baseChart","",3,"type","datasets","labels","options","plugins","legend"]],template:function(t,o){t&1&&(i(0,"div"),a(1,` Ebay Netto:
2`),n(),i(2,"div",0),c(3,"canvas",1),n()),t&2&&(s(3),b("type","pie")("datasets",o.pieChartDatasets())("labels",o.pieChartLabels)("options",o.pieChartOptions)("plugins",o.pieChartPlugins)("legend",o.pieChartLegend))},dependencies:[E],encapsulation:2})}}return r})();var de=(()=>{class r{constructor(e){this.service=e,this.pieChartOptions={responsive:!0,plugins:{legend:{labels:{font:{size:12},boxWidth:10},position:"top",align:"start"}}},this.pieChartLabels=[["Ebay sales"],["Shop sales"]],this.pieChartDatasets=this.service.ebayshopdataSig,this.pieChartLegend=!0,this.pieChartPlugins=[]}static{this.\u0275fac=function(t){return new(t||r)(p(u))}}static{this.\u0275cmp=g({type:r,selectors:[["app-ebay-shop"]],decls:4,vars:6,consts:[[2,"max-width","350px","max-height","350px"],["baseChart","",3,"type","datasets","labels","options","plugins","legend"]
2],template:function(t,o){t&1&&(i(0,"div"),a(1,` Umsatz:
3`),n(),i(2,"div",0),c(3,"canvas",1),n()),t&2&&(s(3),b("type","pie")("datasets",o.pieChartDatasets())("labels",o.pieChartLabels)("options",o.pieChartOptions)("plugins",o.pieChartPlugins)("legend",o.pieChartLegend))},dependencies:[E],encapsulation:2,changeDetection:0})}}return r})();function ye(r,v){if(r&1&&(i(0,"div",7)(1,"div",6)(2,"span"),a(3,"Name: "),n(),i(4,"span"),a(5),n()(),i(6,"div",6)(7,"span"),a(8,"Menge: "),n(),i(9,"span"),a(10),n()(),i(11,"div",6)(12,"span"),a(13,"Preis (Verkauf): "),n(),i(14,"span"),a(15),n()(),i(16,"div",6)(17,"span"),a(18,"Preis (Einkauf): "),n(),i(19,"span"),a(20),n()(),i(21,"div",6)(22,"span"),a(23,"Netto: "),n(),i(24,"span",10),a(25),n()()()),r&2){let e=v.$implicit,t=w(2);s(5),l(e.title),s(5),l(e.quantity),s(5),l(e.price),s(5),l(t.getWholesalePrice(e).toFixed(2)),s(5),l(t.getNettoPerItem(e).toFixed(2))}}function Ce(r,v){if(r&1&&(i(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header",5)(2,"mat-panel-title")(3,"div",6),a(4),i(5,"span"),a(6," Bestellnummer: "),n(),i(7,"span"),a(8),n()()(),i(9,"mat-panel-description")(10,"div",7)(11,"div",6)(12,"span"),a(13,"Gesamt: "),n(),i(14,"span"),a(15),n()(),i(16,"div",6)(17,"span"),a(18,"Ebay Geb\xFChren: "),n(),i(19,"span",8),a(20),n()(),i(21,"div",6)(22,"span"),a(23,"Versandkosten: "),n(),i(24,"span",9),a(25),n()(),i(26,"div",6)(27,"span"),a(28,"Ebay Werbekosten: "),n(),i(29,"span",9),a(30),n()(),i(31,"div",6)(32,"span"),a(33,"Netto: "),n(),i(34,"span",10),a(35),n()()()()(),C(36,ye,26,5,"div",7,y),n()),r&2){let e=v.$implicit,t=w();s(4),D("Id: ",e.id," "),s(4),l(e.orderId),s(7),l(e.total),s(5),l(e.ebay_fee),s(5),l(t.getShipping(e.shipping,e.discon)),s(5),l(e.adv_const?e.adv_const:"0.00"),s(5),D(" ",t.getNetto(e)),s(),x(e.products)}}var he=(()=>{class r{constructor(e,t,o,m){this.service=e,this.data=t,this.helper=o,this.dialRef=m,this.yearSig=d(0),this.monthSig=d(""),this.ebayData=d([]),t&&(this.yearSig.set(this.data.year),this.monthSig.set(this.service.months[this.data.month]),F(()=>{h(this.service.getMonthDetailEbay(this.data.month+1,this.data.year,this.helper.pageNrSig(),this.helper.artikelProSiteSig())).then(S=>{this.ebayData.set(S)})}),this.helper.artikelProSiteSig()===0&&this.helper.artikelProSiteSig.set(100))}close(){this.dialRef.close()}getShipping(e,t){return(Number(e)+Number(t)).toFixed(2)}getNetto(e){let t=Number(e.total)-Number(e.ebay_fee)-Number(e.discon)-Number(e.shipping)-(e.adv_const?Number(e.adv_const):0);for(let o=0;o<e.products.length;o++)t-=Number(e.products[o].peuro)*Number(e.products[o].quantity_at_once)*Number(e.products[o].quantity);return t.toFixed(2)}getNettoPerItem(e){return Number(e.price)-Number(e.quantity_at_once)*Number(e.peuro)*Number(e.quantity)}getWholesalePrice(e){return Number(e.quantity_at_once)*Number(e.peuro)*Number(e.quantity)}static{this.\u0275fac=function(t){return new(t||r)(p(u),p(j),p(P),p(T))}}static{this.\u0275cmp=g({type:r,selectors:[["app-ebay-details"]],decls:12,vars:2,consts:[[1,"contentDialog"],["matDialogTitle","",1,"headerDialog"],["mat-fab","","aria-label","Icon button with a close icon",3,"click"],["matDialogContent","",1,"bodyDialog"],["hideToggle","",1,"panel"],[1,"title"],[1,"item"],[1,"items"],[2,"color","crimson"],[2,"color","coral"],[2,"color","green"]],template:function(t,o){t&1&&(i(0,"div",0)(1,"div",1)(2,"div")(3,"h4"),a(4),n()(),i(5,"div")(6,"button",2),I("click",function(){return o.close()}),i(7,"mat-icon"),a(8,"close"),n()()()(),i(9,"div",3),C(10,Ce,38,7,"mat-expansion-panel",4,y),n()()),t&2&&(s(4),k("Ebay Transaktionen f\xFCr ",o.monthSig()," : ",o.yearSig()),s(6),x(o.ebayData()))},dependencies:[H,W,B,q,Y,V,A,L,O],styles:[".items[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1rem;justify-content:space-between}.item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:.3rem}.title[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:1rem}"],changeDetection:0})}}return r})();function xe(r,v){r&1&&c(0,"hr")}function De(r,v){if(r&1&&(i(0,"div",7)(1,"div",6)(2,"span"),a(3,"Name: "),n(),i(4,"span"),a(5),n()(),i(6,"div",6)(7,"span"),a(8,"Menge: "),n(),i(9,"span"),a(10),n()(),i(11,"div",6)(12,"span"),a(13,"Preis (Verkauf): "),n(),i(14,"span"),a(15),n()(),i(16,"div",6)(17,"span"),a(18,"Preis (Einkauf): "),n(),i(19,"span"),a(20),n()(),i(21,"div",6)(22,"span"),a(23,"Rabat: "),n(),i(24,"span"),a(25),n()(),i(26,"div",6)(27,"span"),a(28,"MwSt: "),n(),i(29,"span"),a(30),n()(),i(31,"div",6)(32,"span"),a(33,"Netto: "),n(),i(34,"span",9),a(35),n()()(),J(36,xe,1,0,"hr")),r&2){let e=v.$implicit,t=v.$index,o=v.$count,m=w(2);s(5),l(e.name),s(5),l(e.squantity),s(5),l(e.verkauf_price),s(5),l(m.getWholesalePrice(e).toFixed(2)),s(5),l(e.verkauf_rabat),s(5),l(e.verkauf_steuer),s(5),l(m.getNettoPerItem(e).toFixed(2)),s(),G(t!==o-1?36:-1)}}function Ee(r,v){if(r&1&&(i(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header",5)(2,"mat-panel-title")(3,"div",6),a(4),n()(),i(5,"mat-panel-description")(6,"div",7)(7,"div",6)(8,"span"),a(9,"Total: "),n(),i(10,"span"),a(11),n()(),i(12,"div",6)(13,"span"),a(14,"Versandkost: "),n(),i(15,"span",8),a(16),n()(),i(17,"div",6)(18,"span"),a(19,"MwSt: "),n(),i(20,"span"),a(21),n()(),i(22,"div",6)(23,"span"),a(24,"Netto: "),n(),i(25,"span",9),a(26),n()()()()(),C(27,De,37,8,null,null,y),n()),r&2){let e=v.$implicit,t=w();s(4),D("Id: ",e.id," "),s(7),l(e.total),s(5),l(e.shipping),s(5),l(e.tax),s(5),D(" ",t.getTotalNetto(e).toFixed(2)),s(),x(e.produkts)}}var ge=(()=>
3{class r{constructor(e,t,o,m){this.service=e,this.data=t,this.dialRef=o,this.helper=m,this.yearSig=d(0),this.monthSig=d(""),this.shopData=d([]),this.data&&(this.yearSig.set(this.data.year),this.monthSig.set(this.service.months[this.data.month]),F(()=>{h(this.service.getMonthDetailShop(this.data.month+1,this.data.year,this.helper.pageNrSig(),this.helper.artikelProSiteSig())).then(S=>{this.shopData.set(S)})}),this.helper.artikelProSiteSig()===0&&this.helper.artikelProSiteSig.set(100))}close(){this.dialRef.close()}getTotalNetto(e){let t=Number(e.total)-Number(e.shipping)-Number(e.tax);return e.produkts.forEach(o=>{t-=Number(o.verkauf_rabat),t-=Number(o.peuro)*Number(o.squantity)*Number(o.menge)}),t}getNettoPerItem(e){return(Number(e.verkauf_price)-Number(e.verkauf_rabat)-Number(e.verkauf_steuer)-Number(e.peuro)*Number(e.squantity))*Number(e.menge)}getWholesalePrice(e){return Number(e.peuro)*Number(e.squantity)*Number(e.menge)}static{this.\u0275fac=function(t){return new(t||r)(p(u),p(j),p(T),p(P))}}static{this.\u0275cmp=g({type:r,selectors:[["app-shop-details"]],decls:12,vars:2,consts:[[1,"contentDialog"],["matDialogTitle","",1,"headerDialog"],["mat-fab","","aria-label","Icon button with a close icon",3,"click"],["matDialogContent","",1,"bodyDialog"],["hideToggle","",1,"panel"],[1,"title"],[1,"item"],[1,"items"],[2,"color","coral"],[2,"color","green"]],template:function(t,o){t&1&&(i(0,"div",0)(1,"div",1)(2,"div")(3,"h4"),a(4),n()(),i(5,"div")(6,"button",2),I("click",function(){return o.close()}),i(7,"mat-icon"),a(8,"close"),n()()()(),i(9,"div",3),C(10,Ee,29,5,"mat-expansion-panel",4,y),n()()),t&2&&(s(4),k("Shop Transations f\xFCr ",o.monthSig()," : ",o.yearSig()),s(6),x(o.shopData()))},dependencies:[H,W,B,q,Y,V,A,L,O],styles:[".items[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1rem;justify-content:space-between}.item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:.3rem}.title[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start}.panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;margin:.2rem}"],changeDetection:0})}}return r})();var ue=(()=>{class r{constructor(e,t){this.service=e,this.dialog=t,this.barChartLegend=!0,this.barChartPlugins=[],this.barChartData=this.service.monthDataSig,this.barChartOptions={responsive:!0,maintainAspectRatio:!0,plugins:{legend:{labels:{font:{size:12},boxWidth:10},position:"top",align:"center"}},onClick:(o,m,S)=>{if(m[0].datasetIndex===0){let f=new z;f.minHeight="100%",f.minWidth="100%",f.panelClass="contentDialog",f.data={year:this.service.courrentYearSig(),month:m[0].index},this.dialog.open(he,f)}else{let f=new z;f.minHeight="100%",f.minWidth="100%",f.panelClass="contentDialog",f.data={year:this.service.courrentYearSig(),month:m[0].index},this.dialog.open(ge,f)}}}}static{this.\u0275fac=function(t){return new(t||r)(p(u),p(Z))}}static{this.\u0275cmp=g({type:r,selectors:[["app-shop-months"]],decls:4,vars:5,consts:[[1,"chart"],["baseChart","",3,"data","options","plugins","legend","type"]],template:function(t,o){t&1&&(i(0,"div"),a(1,` Monatilich
4`),n(),i(2,"div",0),c(3,"canvas",1),n()),t&2&&(s(3),b("data",o.barChartData())("options",o.barChartOptions)("plugins",o.barChartPlugins)("legend",o.barChartLegend)("type","bar"))},dependencies:[E,ee],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin:auto;width:80vw;height:30vh}"],changeDetection:0})}}return r})();var ve=(()=>{class r{constructor(e){this.service=e,this.pieChartOptions={responsive:!0,plugins:{legend:{labels:{font:{size:12},boxWidth:10},position:"top",align:"start"}}},this.pieChartLabels=[["Sales"],["Shipping"],["MwSt"],["Ware"],["Netto"]],this.pieChartDatasets=this.service.storeNettoDataSig,this.pieChartLegend=!0,this.pieChartPlugins=[]}static{this.\u0275fac=function(t){return new(t||r)(p(u))}}static{this.\u0275cmp=g({type:r,selectors:[["app-shop-netto"]],decls:4,vars:6,consts:[[2,"max-width","350px","max-height","350px"],["baseChart","",3,"type","datasets","labels","options","plugins","legend"]],template:function(t,o){t&1&&(i(0,"div"),a(1,` Shop Netto:
5`),n(),i(2,"div",0),c(3,"canvas",1),n()),t&2&&(s(3),b("type","pie")("datasets",o.pieChartDatasets())("labels",o.pieChartL
5abels)("options",o.pieChartOptions)("plugins",o.pieChartPlugins)("legend",o.pieChartLegend))},dependencies:[E],encapsulation:2,changeDetection:0})}}return r})();function Me(r,v){if(r&1&&(i(0,"mat-option",3),a(1),n()),r&2){let e=v.$implicit;b("value",e),s(),D(" ",e," ")}}var St=(()=>{class r{constructor(e){this.service=e,this.selectedValue=new Date(Date.now()).getFullYear().toString(),this.items=this.service.yearsSig}ngOnInit(){this.getCharts()}async getCharts(){await h(this.service.getJahres()).then(e=>{this.selectedValue=e[0].years}),await h(this.service.getEbayShopData(this.selectedValue)),await h(this.service.getEbayNettoData(this.selectedValue)),await h(this.service.getStoreNettoData(this.selectedValue)),await h(this.service.getMonthData(this.selectedValue))}async onSelectedYearChange(e){await h(this.service.getEbayShopData(e)),await h(this.service.getEbayNettoData(e)),await h(this.service.getStoreNettoData(e)),await h(this.service.getMonthData(e))}static{this.\u0275fac=function(t){return new(t||r)(p(u))}}static{this.\u0275cmp=g({type:r,selectors:[["app-admin"]],decls:17,vars:1,consts:[[1,"content"],[1,"select"],["name","item",3,"valueChange","selectionChange","value"],[3,"value"],[1,"pies"],[1,"item"],[1,"bar"]],template:function(t,o){t&1&&(i(0,"div",0)(1,"div",1)(2,"mat-form-field")(3,"mat-label"),a(4,"Select Jear"),n(),i(5,"mat-select",2),Q("valueChange",function(S){return U(o.selectedValue,S)||(o.selectedValue=S),S}),I("selectionChange",function(S){return o.onSelectedYearChange(S.value)}),C(6,Me,2,2,"mat-option",3,y),n()()(),i(8,"div",4)(9,"div",5),c(10,"app-ebay-shop"),n(),i(11,"div",5),c(12,"app-ebay-netto"),n(),i(13,"div",5),c(14,"app-shop-netto"),n()(),i(15,"div",6),c(16,"app-shop-months"),n()()),t&2&&(s(5),K("value",o.selectedValue),s(),x(o.items()))},dependencies:[me,de,ue,ve,le,ne,ie,se,re,ae,te],styles:[".content[_ngcontent-%COMP%]{display:flex;flex-direction:column;top:10px}.pies[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;height:50%;gap:1rem;margin-top:.5rem;margin-bottom:.5rem;max-width:100%}"],changeDetection:0})}}return r})();export{St as AdminComponent};

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.