From 17ca99cf8a56b49ceead28d5836b742956c171e4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 Mar 2024 18:09:16 +0000 Subject: [PATCH] chore: build and documentation for release --- dist/maidr.js | 2 +- dist/maidr.min.js | 2 +- docs/Audio.html | 2 +- docs/BarChart.html | 2 +- docs/BoxPlot.html | 2 +- docs/BoxplotRect.html | 2 +- docs/ChatLLM.html | 2 +- docs/Constants.html | 2 +- docs/Constants_ConvertHexToRGBString.html | 2 +- docs/Constants_ConvertRGBStringToHex.html | 2 +- docs/Constants_GetStyleArrayFromString.html | 2 +- docs/Constants_GetStyleStringFromArray.html | 2 +- docs/Control.html | 2 +- docs/Description.html | 2 +- docs/Display.html | 2 +- docs/HeatMap.html | 2 +- docs/HeatMapRect.html | 2 +- docs/Helper.html | 2 +- docs/Histogram.html | 2 +- docs/Layer0Point.html | 2 +- docs/Layer1Point.html | 2 +- docs/LinePlot.html | 2 +- docs/LogError.html | 2 +- docs/Menu.html | 2 +- docs/Point.html | 2 +- docs/Position.html | 2 +- docs/Resources.html | 2 +- docs/Review.html | 2 +- docs/ScatterPlot.html | 2 +- docs/Segmented.html | 2 +- docs/Tracker.html | 2 +- docs/audio.js.html | 2 +- docs/barplot.js.html | 2 +- docs/boxplot.js.html | 2 +- docs/constants.js.html | 2 +- docs/controls.js.html | 2 +- docs/display.js.html | 4 ++-- docs/global.html | 2 +- docs/heatmap.js.html | 2 +- docs/histogram.js.html | 2 +- docs/index.html | 2 +- docs/init.js.html | 2 +- docs/lineplot.js.html | 2 +- docs/scatterplot.js.html | 2 +- docs/segmented.js.html | 2 +- 45 files changed, 46 insertions(+), 46 deletions(-) diff --git a/dist/maidr.js b/dist/maidr.js index e0a780352..bb10e960d 100644 --- a/dist/maidr.js +++ b/dist/maidr.js @@ -3275,7 +3275,7 @@ class Display { textTerse += ' '; } // val - if (plot.plotData[plotPos][sectionKey] != null && !isOutlier) { + if (plot.plotData[plotPos][sectionKey] == null && !isOutlier) { textTerse += 'empty'; textVerbose += 'empty'; } else { diff --git a/dist/maidr.min.js b/dist/maidr.min.js index 33c390595..06bb1d60d 100644 --- a/dist/maidr.min.js +++ b/dist/maidr.min.js @@ -1 +1 @@ -class Constants{chart_container_id="chart-container";main_container_id="maidr-container";braille_container_id="braille-div";braille_input_id="braille-input";info_id="info";announcement_container_id="announcements";end_chime_id="end_chime";container_id="container";project_id="maidr";review_id_container="review_container";review_id="review";reviewSaveSpot;reviewSaveBrailleMode;chartId="";events=[];postLoadEvents=[];constructor(){}textMode="verbose";brailleMode="off";sonifMode="on";reviewMode="off";minX=0;maxX=0;minY=0;maxY=0;plotId="";chartType="";navigation=1;MAX_FREQUENCY=1e3;MIN_FREQUENCY=200;NULL_FREQUENCY=100;combinedVolMin=.25;combinedVolMax=1.25;MAX_SPEED=500;MIN_SPEED=50;DEFAULT_SPEED=250;INTERVAL=20;AUTOPLAY_DURATION=5e3;vol=.5;MAX_VOL=30;autoPlayRate=this.DEFAULT_SPEED;colorSelected="#03C809";brailleDisplayLength=32;showRect=1;hasRect=1;hasSmooth=1;duration=.3;outlierDuration=.06;autoPlayOutlierRate=50;autoPlayPointsRate=50;colorUnselected="#595959";isTracking=1;visualBraille=!1;globalMinMax=!0;ariaMode="assertive";openAIAuthKey=null;geminiAuthKey=null;LLMmaxResponseTokens=1e3;playLLMWaitingSound=!0;LLMDetail="high";LLMModel="openai";LLMSystemMessage="You are a helpful assistant describing the chart to a blind person. ";skillLevel="basic";skillLevelOther="";showDisplay=1;showDisplayInBraille=1;showDisplayInAutoplay=0;outlierInterval=null;isMac=navigator.userAgent.toLowerCase().includes("mac");control=this.isMac?"Cmd":"Ctrl";alt=this.isMac?"option":"Alt";home=this.isMac?"fn + Left arrow":"Home";end=this.isMac?"fn + Right arrow":"End";keypressInterval=2e3;tabMovement=null;debugLevel=3;canPlayEndChime=!1;manualData=!0;KillAutoplay(){this.autoplayId&&(clearInterval(this.autoplayId),this.autoplayId=null)}KillSepPlay(){this.sepPlayId&&(clearInterval(this.sepPlayId),this.sepPlayId=null)}SpeedUp(){constants.autoPlayRate-this.INTERVAL>this.MIN_SPEED&&(constants.autoPlayRate-=this.INTERVAL)}SpeedDown(){constants.autoPlayRate+this.INTERVAL<=this.MAX_SPEED&&(constants.autoPlayRate+=this.INTERVAL)}SpeedReset(){constants.autoPlayRate=constants.DEFAULT_SPEED}ConvertHexToRGBString(t){return"rgb("+parseInt(t.slice(1,3),16)+","+parseInt(t.slice(3,5),16)+","+parseInt(t.slice(5,7),16)+")"}ConvertRGBStringToHex(t){let e=t.replace(/[^\d,]/g,"").split(",");return"#"+e[0].toString(16).padStart(2,"0")+e[1].toString(16).padStart(2,"0")+e[2].toString(16).padStart(2,"0")}ColorInvert(t){let e=t.replace(/[^\d,]/g,"").split(",");return"rgb("+(255-e[0])+","+(255-e[1])+","+(255-e[2])+")"}GetBetterColor(t){-1!==t.indexOf("#")&&(t=this.ConvertHexToRGBString(t));let e=this.ColorInvert(t),n=e.replace(/[^\d,]/g,"").split(",");return n[1]n[0]-10&&n[2]n[0]-10&&(n[0]>86||n[0]<169)&&(e=this.colorSelected),e}GetStyleArrayFromString(t){return t.replaceAll(" ","").split(/[:;]/)}GetStyleStringFromArray(t){let e="";for(let n=0;n