feat: assistant - minify js, add option UI

This commit is contained in:
Azgaar 2024-09-01 16:32:06 +02:00
parent 6a0ee5827e
commit cb34491a17
4 changed files with 31 additions and 41 deletions

View file

@ -1835,6 +1835,16 @@
<td></td>
</tr>
<tr data-tip="Toggle Azgaar Assistant (help bubble on the bottom right corner)">
<td></td>
<td>Azgaar assistant</td>
<td>
<select id="azgaarAssistant" data-stored="azgaarAssistant">
<option value="show" selected>Show</option>
<option value="hide">Hide</option>
</td>
</tr>
<tr data-tip="Select speech synthesis voice to pronounce generated names">
<td></td>
<td>Speaker voice</td>
@ -8097,46 +8107,5 @@
<script defer src="modules/io/load.js?v=1.100.00"></script>
<script defer src="modules/io/cloud.js?v=1.99.00"></script>
<script defer src="modules/io/export.js?v=1.99.14"></script>
<script defer>
window.__ow = window.__ow || {};
window.__ow.organizationId = "7bb02e70-bcef-4861-a4e6-d259b0d10e24";
window.__ow.integration_name = "manual_settings";
window.__ow.product_name = "openwidget";
(function (n, t, c) {
function i(n) {
return e._h ? e._h.apply(null, n) : e._q.push(n);
}
var e = {
_q: [],
_h: null,
_v: "2.0",
on: function () {
i(["on", c.call(arguments)]);
},
once: function () {
i(["once", c.call(arguments)]);
},
off: function () {
i(["off", c.call(arguments)]);
},
get: function () {
if (!e._h) throw new Error("[OpenWidget] You can't use getters before load.");
return i(["get", c.call(arguments)]);
},
call: function () {
i(["call", c.call(arguments)]);
},
init: function () {
var n = t.createElement("script");
(n.async = !0),
(n.type = "text/javascript"),
(n.src = "https://cdn.openwidget.com/openwidget.js"),
t.head.appendChild(n);
}
};
!n.__ow.asyncInit && e.init(), (n.OpenWidget = n.OpenWidget || e);
})(window, document, [].slice);
</script>
</body>
</html>