Skip to content

Commit

Permalink
chore: build and documentation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 22, 2024
1 parent 407ecfc commit 93655ee
Show file tree
Hide file tree
Showing 50 changed files with 146 additions and 150 deletions.
38 changes: 18 additions & 20 deletions dist/maidr.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,9 @@ class Constants {
/**
* Base URL for the API calls to backend services.
*/
// baseURL = 'https://maidr-service.azurewebsites.net/api/';
baseURL = 'http://localhost:7071/api/';
baseURL = 'https://maidr-service.azurewebsites.net/api/';

// code = '?code=I8Aa2PlPspjQ8Hks0QzGyszP8_i2-XJ3bq7Xh8-ykEe4AzFuYn_QWA%3D%3D';
code = '';
code = '?code=I8Aa2PlPspjQ8Hks0QzGyszP8_i2-XJ3bq7Xh8-ykEe4AzFuYn_QWA%3D%3D';

clientToken = null;

Expand Down Expand Up @@ -1275,6 +1273,21 @@ class Menu {
}),
]);

// if email_auth_key has a value, show the delete button
constants.events.push([
document.getElementById('email_auth_key'),
'input',
function (e) {
if (e.target.value) {
document
.getElementById('delete_email_key')
.classList.remove('hidden');
} else {
document.getElementById('delete_email_key').classList.add('hidden');
}
},
]);

// Skill level other events
constants.events.push([
document.getElementById('skill_level'),
Expand Down Expand Up @@ -1518,15 +1531,6 @@ class Menu {

// hide verify button
document.getElementById('verify').classList.add('hidden');

// remove listener on enter
document
.getElementById('email_auth_key')
.removeEventListener('keydown', function (event) {
if (event.key === 'Enter') {
document.getElementById('verify').click();
}
});
}

isEmailTriggered = false;
Expand Down Expand Up @@ -1885,15 +1889,9 @@ class ChatLLM {
function (e) {
document.getElementById('email_auth_key').value = '';
document.getElementById('email_auth_key').disabled = false;
document.getElementById('delete_email_key').classList.add('hidden');
constants.clientToken = '';
document.getElementById('verify').classList.remove('hidden');
document
.getElementById('email_auth_key')
.addEventListener('keydown', function (event) {
if (event.key === 'Enter') {
document.getElementById('verify').click();
}
});
},
]);
constants.events.push([
Expand Down
2 changes: 1 addition & 1 deletion dist/maidr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/AdvancedUserSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ <h4 class="name" id="playTone"><span class="type-signature"></span>playTone<span
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/AudioProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BTSModes.html
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BarChart.html
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ <h4 class="name" id="UnSelectPrevious"><span class="type-signature"></span>UnSel
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BasicChartProperties.html
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BoxPlot.html
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/BoxplotRect.html
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ <h4 class="name" id="UpdateRect"><span class="type-signature"></span>UpdateRect<
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
24 changes: 12 additions & 12 deletions docs/ChatLLM.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h4 class="name" id="ChatLLM"><span class="type-signature"></span>new ChatLLM<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1728">line 1728</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1732">line 1732</a>
</li></ul></dd>


Expand Down Expand Up @@ -200,7 +200,7 @@ <h4 class="name" id="ConvertSVGtoJPG"><span class="type-signature">(async) </spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2805">line 2805</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2803">line 2803</a>
</li></ul></dd>


Expand Down Expand Up @@ -288,7 +288,7 @@ <h4 class="name" id="CopyChatHistory"><span class="type-signature"></span>CopyCh

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1943">line 1943</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1941">line 1941</a>
</li></ul></dd>


Expand Down Expand Up @@ -427,7 +427,7 @@ <h4 class="name" id="CreateComponent"><span class="type-signature"></span>Create

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1752">line 1752</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1756">line 1756</a>
</li></ul></dd>


Expand Down Expand Up @@ -512,7 +512,7 @@ <h4 class="name" id="GetDefaultPrompt"><span class="type-signature"></span>GetDe

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2852">line 2852</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2850">line 2850</a>
</li></ul></dd>


Expand Down Expand Up @@ -595,7 +595,7 @@ <h4 class="name" id="KillAllWaitingSounds"><span class="type-signature"></span>K

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2188">line 2188</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2186">line 2186</a>
</li></ul></dd>


Expand Down Expand Up @@ -678,7 +678,7 @@ <h4 class="name" id="ProcessLLMResponse"><span class="type-signature"></span>Pro

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2214">line 2214</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2212">line 2212</a>
</li></ul></dd>


Expand Down Expand Up @@ -782,7 +782,7 @@ <h4 class="name" id="ResetLLM"><span class="type-signature"></span>ResetLLM<span

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2732">line 2732</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2730">line 2730</a>
</li></ul></dd>


Expand Down Expand Up @@ -865,7 +865,7 @@ <h4 class="name" id="SetEvents"><span class="type-signature"></span>SetEvents<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1801">line 1801</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line1805">line 1805</a>
</li></ul></dd>


Expand Down Expand Up @@ -969,7 +969,7 @@ <h4 class="name" id="Toggle"><span class="type-signature"></span>Toggle<span cla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2769">line 2769</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2767">line 2767</a>
</li></ul></dd>


Expand Down Expand Up @@ -1124,7 +1124,7 @@ <h4 class="name" id="fakeLLMResponseData"><span class="type-signature"></span>fa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2273">line 2273</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line2271">line 2271</a>
</li></ul></dd>


Expand Down Expand Up @@ -1197,7 +1197,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
26 changes: 13 additions & 13 deletions docs/Constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h4 class="name" id="baseURL"><span class="type-signature"></span>baseURL<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line652">line 652</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line651">line 651</a>
</li></ul></dd>


Expand Down Expand Up @@ -784,7 +784,7 @@ <h4 class="name" id="ColorInvert"><span class="type-signature"></span>ColorInver

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line750">line 750</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line748">line 748</a>
</li></ul></dd>


Expand Down Expand Up @@ -944,7 +944,7 @@ <h4 class="name" id="ConvertHexToRGBString"><span class="type-signature"></span>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line717">line 717</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line715">line 715</a>
</li></ul></dd>


Expand Down Expand Up @@ -1099,7 +1099,7 @@ <h4 class="name" id="ConvertRGBStringToHex"><span class="type-signature"></span>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line734">line 734</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line732">line 732</a>
</li></ul></dd>


Expand Down Expand Up @@ -1254,7 +1254,7 @@ <h4 class="name" id="GetBetterColor"><span class="type-signature"></span>GetBett

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line764">line 764</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line762">line 762</a>
</li></ul></dd>


Expand Down Expand Up @@ -1414,7 +1414,7 @@ <h4 class="name" id="GetStyleArrayFromString"><span class="type-signature"></spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line789">line 789</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line787">line 787</a>
</li></ul></dd>


Expand Down Expand Up @@ -1569,7 +1569,7 @@ <h4 class="name" id="GetStyleStringFromArray"><span class="type-signature"></spa

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line799">line 799</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line797">line 797</a>
</li></ul></dd>


Expand Down Expand Up @@ -1724,7 +1724,7 @@ <h4 class="name" id="KillAutoplay"><span class="type-signature"></span>KillAutop

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line664">line 664</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line662">line 662</a>
</li></ul></dd>


Expand Down Expand Up @@ -1828,7 +1828,7 @@ <h4 class="name" id="KillSepPlay"><span class="type-signature"></span>KillSepPla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line674">line 674</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line672">line 672</a>
</li></ul></dd>


Expand Down Expand Up @@ -1932,7 +1932,7 @@ <h4 class="name" id="SpeedDown"><span class="type-signature"></span>SpeedDown<sp

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line697">line 697</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line695">line 695</a>
</li></ul></dd>


Expand Down Expand Up @@ -2036,7 +2036,7 @@ <h4 class="name" id="SpeedReset"><span class="type-signature"></span>SpeedReset<

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line708">line 708</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line706">line 706</a>
</li></ul></dd>


Expand Down Expand Up @@ -2140,7 +2140,7 @@ <h4 class="name" id="SpeedUp"><span class="type-signature"></span>SpeedUp<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line686">line 686</a>
<a href="constants.js.html">constants.js</a>, <a href="constants.js.html#line684">line 684</a>
</li></ul></dd>


Expand Down Expand Up @@ -2213,7 +2213,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/Control.html
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/DebugSettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h5>Type:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 14:50:07 GMT+0000 (Coordinated Universal Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a> on Fri Nov 22 2024 15:25:00 GMT+0000 (Coordinated Universal Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
Loading

0 comments on commit 93655ee

Please sign in to comment.