From 7cf565b3c91530b434bc72a7305981519044fd93 Mon Sep 17 00:00:00 2001 From: Goldenrash-lab <106916358+Goldenrash-lab@users.noreply.github.com> Date: Tue, 16 Jan 2024 09:20:10 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Goldenra?= =?UTF-8?q?sh-lab/project-codefusion@2470b0a895d90a4d045117834e0c19d92a7c8?= =?UTF-8?q?9ef=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.3f4f25f6.js => main.b1802e39.js} | 6 +++--- ...3f4f25f6.js.LICENSE.txt => main.b1802e39.js.LICENSE.txt} | 0 static/js/{main.3f4f25f6.js.map => main.b1802e39.js.map} | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.3f4f25f6.js => main.b1802e39.js} (99%) rename static/js/{main.3f4f25f6.js.LICENSE.txt => main.b1802e39.js.LICENSE.txt} (100%) rename static/js/{main.3f4f25f6.js.map => main.b1802e39.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index c4d855c..c5ad652 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/project-codefusion/static/css/main.2f034c44.css", - "main.js": "/project-codefusion/static/js/main.3f4f25f6.js", + "main.js": "/project-codefusion/static/js/main.b1802e39.js", "static/media/deskRegister.jpg": "/project-codefusion/static/media/deskRegister.75d916277e1e1072b976.jpg", "static/media/LoginFonIMac.jpg": "/project-codefusion/static/media/LoginFonIMac.3277a09b3c01d8359ca5.jpg", "static/media/tabletRegister.jpg": "/project-codefusion/static/media/tabletRegister.89c95658c5cf7f253023.jpg", @@ -23,10 +23,10 @@ "static/media/close.svg": "/project-codefusion/static/media/close.1c3795d4a77580438e0ee12c41c82e6b.svg", "static/media/slash.svg": "/project-codefusion/static/media/slash.0de4a54764962cd9ea4f00c124f2d44f.svg", "main.2f034c44.css.map": "/project-codefusion/static/css/main.2f034c44.css.map", - "main.3f4f25f6.js.map": "/project-codefusion/static/js/main.3f4f25f6.js.map" + "main.b1802e39.js.map": "/project-codefusion/static/js/main.b1802e39.js.map" }, "entrypoints": [ "static/css/main.2f034c44.css", - "static/js/main.3f4f25f6.js" + "static/js/main.b1802e39.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 555b383..e5ab205 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
0&&e.stroke()}}function u_(e,a,t){return t=t||.5,!a||e&&e.x>a.left-t&&e.x1&&void 0!==arguments[1]?arguments[1]:"x",i=$_(r),o=e.length,s=Array(o).fill(0),l=Array(o),c=Y_(e,0);for(a=0;a2&&void 0!==arguments[2]?arguments[2]:{},n=e.x!==t.x?-a:0,r=e.y!==t.y?-a:0,i=(e.x+e.w!==t.x+t.w?a:0)-n,o=(e.y+e.h!==t.y+t.h?a:0)-r;return{x:e.x+n,y:e.y+r,w:e.w+i,h:e.h+o,radius:e.radius}}(0,Cr.Z)(JE,"id","point"),(0,Cr.Z)(JE,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),(0,Cr.Z)(JE,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var oq=function(e){(0,d.Z)(t,e);var a=(0,h.Z)(t);function t(e){var n;return(0,c.Z)(this,t),(n=a.call(this)).options=void 0,n.horizontal=void 0,n.base=void 0,n.width=void 0,n.height=void 0,n.inflateAmount=void 0,e&&Object.assign((0,ii.Z)(n),e),n}return(0,u.Z)(t,[{key:"draw",value:function(e){var a,t=this.inflateAmount,n=this.options,r=n.borderColor,i=n.backgroundColor,o=tq(this),s=o.inner,l=o.outer,c=(a=l.radius).topLeft||a.topRight||a.bottomLeft||a.bottomRight?v_:rq;e.save(),l.w===s.w&&l.h===s.h||(e.beginPath(),c(e,iq(l,t,s)),e.clip(),c(e,iq(s,-t,l)),e.fillStyle=r,e.fill("evenodd")),e.beginPath(),c(e,iq(s,t)),e.fillStyle=i,e.fill(),e.restore()}},{key:"inRange",value:function(e,a,t){return nq(this,e,a,t)}},{key:"inXRange",value:function(e,a){return nq(this,e,null,a)}},{key:"inYRange",value:function(e,a){return nq(this,null,e,a)}},{key:"getCenterPoint",value:function(e){var a=this.getProps(["x","y","base","horizontal"],e),t=a.x,n=a.y,r=a.base,i=a.horizontal;return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}},{key:"getRange",value:function(e){return"x"===e?this.width/2:this.height/2}}]),t}(YC);(0,Cr.Z)(oq,"id","bar"),(0,Cr.Z)(oq,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),(0,Cr.Z)(oq,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var sq=function(e,a){var t=e.boxHeight,n=void 0===t?a:t,r=e.boxWidth,i=void 0===r?a:r;return e.usePointStyle&&(n=Math.min(n,a),i=e.pointStyleWidth||Math.min(i,a)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(a,n)}},lq=function(e){(0,d.Z)(t,e);var a=(0,h.Z)(t);function t(e){var n;return(0,c.Z)(this,t),(n=a.call(this))._added=!1,n.legendHitBoxes=[],n._hoveredItem=null,n.doughnutMode=!1,n.chart=e.chart,n.options=e.options,n.ctx=e.ctx,n.legendItems=void 0,n.columnSizes=void 0,n.lineWidths=void 0,n.maxHeight=void 0,n.maxWidth=void 0,n.top=void 0,n.bottom=void 0,n.left=void 0,n.right=void 0,n.height=void 0,n.width=void 0,n._margins=void 0,n.position=void 0,n.weight=void 0,n.fullSize=void 0,n}return(0,u.Z)(t,[{key:"update",value:function(e,a,t){this.maxWidth=e,this.maxHeight=a,this._margins=t,this.setDimensions(),this.buildLabels(),this.fit()}},{key:"setDimensions",value:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}},{key:"buildLabels",value:function(){var e=this,a=this.options.labels||{},t=Zj(a.generateLabels,[this.chart],this)||[];a.filter&&(t=t.filter((function(t){return a.filter(t,e.chart.data)}))),a.sort&&(t=t.sort((function(t,n){return a.sort(t,n,e.chart.data)}))),this.options.reverse&&t.reverse(),this.legendItems=t}},{key:"fit",value:function(){var e=this.options,a=this.ctx;if(e.display){var t,n,r=e.labels,i=E_(r.font),o=i.size,s=this._computeTitleHeight(),l=sq(r,o),c=l.boxWidth,u=l.itemHeight;a.font=i.string,this.isHorizontal()?(t=this.maxWidth,n=this._fitRows(s,o,c,u)+10):(n=this.maxHeight,t=this._fitCols(s,i,c,u)+10),this.width=Math.min(t,e.maxWidth||this.maxWidth),this.height=Math.min(n,e.maxHeight||this.maxHeight)}else this.width=this.height=0}},{key:"_fitRows",value:function(e,a,t,n){var r=this.ctx,i=this.maxWidth,o=this.options.labels.padding,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=n+o,u=e;r.textAlign="left",r.textBaseline="middle";var d=-1,h=-c;return this.legendItems.forEach((function(e,p){var m=t+a/2+r.measureText(e.text).width;(0===p||l[l.length-1]+m+2*o>i)&&(u+=c,l[l.length-(p>0?0:1)]=0,h+=c,d++),s[p]={left:0,top:h,row:d,width:m,height:n},l[l.length-1]+=m+o})),u}},{key:"_fitCols",value:function(e,a,t,n){var r=this.ctx,i=this.maxHeight,o=this.options.labels.padding,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=i-e,u=o,d=0,h=0,p=0,m=0;return this.legendItems.forEach((function(e,i){var f=function(e,a,t,n,r){var i=function(e,a,t,n){var r=e.text;r&&"string"!==typeof r&&(r=r.reduce((function(e,a){return e.length>a.length?e:a})));return a+t.size/2+n.measureText(r).width}(n,e,a,t),o=function(e,a,t){var n=e;"string"!==typeof a.text&&(n=cq(a,t));return n}(r,n,a.lineHeight);return{itemWidth:i,itemHeight:o}}(t,a,r,e,n),g=f.itemWidth,b=f.itemHeight;i>0&&h+b+2*o>c&&(u+=d+o,l.push({width:d,height:h}),p+=d+o,m++,d=h=0),s[i]={left:p,top:h,col:m,width:g,height:b},d=Math.max(d,g),h+=b+o})),u+=d,l.push({width:d,height:h}),u}},{key:"adjustHitBoxes",value:function(){if(this.options.display){var e=this._computeTitleHeight(),a=this.legendHitBoxes,t=this.options,n=t.align,r=t.labels.padding,i=fS(t.rtl,this.left,this.width);if(this.isHorizontal()){var o,s=0,l=Rz(n,this.left+r,this.right-this.lineWidths[s]),c=(0,j.Z)(a);try{for(c.s();!(o=c.n()).done;){var u=o.value;s!==u.row&&(s=u.row,l=Rz(n,this.left+r,this.right-this.lineWidths[s])),u.top+=this.top+e+r,u.left=i.leftForLtr(i.x(l),u.width),l+=u.width+r}}catch(g){c.e(g)}finally{c.f()}}else{var d,h=0,p=Rz(n,this.top+e+r,this.bottom-this.columnSizes[h].height),m=(0,j.Z)(a);try{for(m.s();!(d=m.n()).done;){var f=d.value;f.col!==h&&(h=f.col,p=Rz(n,this.top+e+r,this.bottom-this.columnSizes[h].height)),f.top=p,f.left+=this.left+r,f.left=i.leftForLtr(i.x(f.left),f.width),p+=f.height+r}}catch(g){m.e(g)}finally{m.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){if(this.options.display){var e=this.ctx;d_(e,this),this._draw(),h_(e)}}},{key:"_draw",value:function(){var e,a=this,t=this.options,n=this.columnSizes,r=this.lineWidths,i=this.ctx,o=t.align,s=t.labels,l=n_.color,c=fS(t.rtl,this.left,this.width),u=E_(s.font),d=s.padding,h=u.size,p=h/2;this.drawTitle(),i.textAlign=c.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;var m=sq(s,h),f=m.boxWidth,g=m.boxHeight,b=m.itemHeight,y=this.isHorizontal(),v=this._computeTitleHeight();e=y?{x:Rz(o,this.left+d,this.right-r[0]),y:this.top+d+v,line:0}:{x:this.left+d,y:Rz(o,this.top+v+d,this.bottom-n[0].height),line:0},gS(this.ctx,t.textDirection);var k=b+d;this.legendItems.forEach((function(m,w){i.strokeStyle=m.fontColor,i.fillStyle=m.fontColor;var x=i.measureText(m.text).width,j=c.textAlign(m.textAlign||(m.textAlign=s.textAlign)),z=f+p+x,_=e.x,S=e.y;if(c.setWidth(a.width),y?w>0&&_+z+d>a.right&&(S=e.y+=k,e.line++,_=e.x=Rz(o,a.left+d,a.right-r[e.line])):w>0&&S+k>a.bottom&&(_=e.x=_+n[e.line].width+d,e.line++,S=e.y=Rz(o,a.top+v+d,a.bottom-n[e.line].height)),function(e,a,t){if(!(isNaN(f)||f<=0||isNaN(g)||g<0)){i.save();var n=Ij(t.lineWidth,1);if(i.fillStyle=Ij(t.fillStyle,l),i.lineCap=Ij(t.lineCap,"butt"),i.lineDashOffset=Ij(t.lineDashOffset,0),i.lineJoin=Ij(t.lineJoin,"miter"),i.lineWidth=n,i.strokeStyle=Ij(t.strokeStyle,l),i.setLineDash(Ij(t.lineDash,[])),s.usePointStyle){var r={radius:g*Math.SQRT2/2,pointStyle:t.pointStyle,rotation:t.rotation,borderWidth:n},o=c.xPlus(e,f/2);c_(i,r,o,a+p,s.pointStyleWidth&&f)}else{var u=a+Math.max((h-g)/2,0),d=c.leftForLtr(e,f),m=S_(t.borderRadius);i.beginPath(),Object.values(m).some((function(e){return 0!==e}))?v_(i,{x:d,y:u,w:f,h:g,radius:m}):i.rect(d,u,f,g),i.fill(),0!==n&&i.stroke()}i.restore()}}(c.x(_),S,m),_=function(e,a,t,n){return e===(n?"left":"right")?t:"center"===e?(a+t)/2:a}(j,_+f+p,y?_+z:a.right,t.rtl),function(e,a,t){y_(i,t.text,e,a+b/2,u,{strikethrough:t.hidden,textAlign:c.textAlign(t.textAlign)})}(c.x(_),S,m),y)e.x+=z+d;else if("string"!==typeof m.text){var C=u.lineHeight;e.y+=cq(m,C)+d}else e.y+=k})),bS(this.ctx,t.textDirection)}},{key:"drawTitle",value:function(){var e=this.options,a=e.title,t=E_(a.font),n=C_(a.padding);if(a.display){var r,i=fS(e.rtl,this.left,this.width),o=this.ctx,s=a.position,c=t.size/2,u=n.top+c,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max.apply(Math,l(this.lineWidths)),r=this.top+u,d=Rz(e.align,d,this.right-h);else{var p=this.columnSizes.reduce((function(e,a){return Math.max(e,a.height)}),0);r=u+Rz(e.align,this.top,this.bottom-p-e.labels.padding-this._computeTitleHeight())}var m=Rz(s,d,d+h);o.textAlign=i.textAlign(Az(s)),o.textBaseline="middle",o.strokeStyle=a.color,o.fillStyle=a.color,o.font=t.string,y_(o,a.text,m,r,t)}}},{key:"_computeTitleHeight",value:function(){var e=this.options.title,a=E_(e.font),t=C_(e.padding);return e.display?a.lineHeight+t.height:0}},{key:"_getLegendItemAt",value:function(e,a){var t,n,r;if(Sz(e,this.left,this.right)&&Sz(a,this.top,this.bottom))for(r=this.legendHitBoxes,t=0;t=0&&(a[i].major=!0);return a}(e,i,o,t):i}var aO=function(e){(0,d.Z)(t,e);var a=(0,h.Z)(t);function t(e){var n;return(0,c.Z)(this,t),(n=a.call(this,e))._cache={data:[],labels:[],all:[]},n._unit="day",n._majorUnit=void 0,n._offsets={},n._normalized=!1,n._parseOpts=void 0,n}return(0,u.Z)(t,[{key:"init",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.time||(e.time={}),r=this._adapter=new sC._date(e.adapters.date);r.init(a),$j(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},si((0,p.Z)(t.prototype),"init",this).call(this,e),this._normalized=a.normalized}},{key:"parse",value:function(e,a){return void 0===e?null:Gq(this,e)}},{key:"beforeLayout",value:function(){si((0,p.Z)(t.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var e=this.options,a=this._adapter,t=e.time.unit||"day",n=this.getUserBounds(),r=n.min,i=n.max,o=n.minDefined,s=n.maxDefined;function l(e){o||isNaN(e.min)||(r=Math.min(r,e.min)),s||isNaN(e.max)||(i=Math.max(i,e.max))}o&&s||(l(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(this.getMinMax(!1))),r=Lj(r)&&!isNaN(r)?r:+a.startOf(Date.now(),t),i=Lj(i)&&!isNaN(i)?i:+a.endOf(Date.now(),t)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}},{key:"_getLabelBounds",value:function(){var e=this.getLabelTimestamps(),a=Number.POSITIVE_INFINITY,t=Number.NEGATIVE_INFINITY;return e.length&&(a=e[0],t=e[e.length-1]),{min:a,max:t}}},{key:"buildTicks",value:function(){var e=this.options,a=e.time,t=e.ticks,n="labels"===t.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);var r=this.min,i=function(e,a,t){for(var n=0,r=e.length;n