Update to 2.4.3

This commit is contained in:
Oleg Korshul
2025-08-25 18:13:05 +03:00
parent 718bfe5225
commit 56752a9fcb
9 changed files with 29 additions and 6 deletions

View File

@ -17,7 +17,7 @@
},
"guid" : "asc.{9DC93CDB-B576-4F0C-B55E-FCC9C48DD007}",
"version": "2.4.2",
"version": "2.4.3",
"minVersion" : "8.2.0",
"variations" : [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,3 +1,12 @@
<svg width="120" height="60" viewBox="0 0 120 60" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M57.0089 6.00013C51.7978 6.00013 47.1681 9.31061 45.5543 14.1968C43.8982 14.5336 42.3338 15.2145 40.9652 16.1942C39.5967 17.1739 38.4553 18.43 37.617 19.8788C35.0035 24.3352 35.6003 29.9377 39.1016 33.7574C38.0206 36.9568 38.3916 40.4579 40.118 43.355C42.7155 47.8272 47.9421 50.1192 53.0566 49.0527C54.1764 50.2996 55.5528 51.2965 57.0939 51.9772C58.6351 52.6578 60.3057 53.0065 61.9942 52.9999C67.2053 52.9999 71.8351 49.6894 73.4488 44.8032C76.8044 44.1186 79.6923 42.0494 81.3701 39.1213C83.9997 34.6648 83.4029 29.0624 79.9021 25.2426V25.2269C80.4361 23.6454 80.6217 21.9697 80.4464 20.3119C80.2711 18.654 79.7391 17.0522 78.8858 15.6135C76.2876 11.157 71.0605 8.86452 65.9626 9.93098C64.8376 8.68738 63.4576 7.69383 61.914 7.01616C60.3704 6.33849 58.6984 5.99216 57.0089 6.00013ZM57.0089 9.05627L56.9929 9.07206C59.0903 9.07206 61.107 9.78829 62.7202 11.1097C62.6556 11.1412 62.5264 11.2208 62.4298 11.2687L52.944 16.6642C52.4598 16.9349 52.1694 17.4441 52.1694 18.0013V30.6703L48.0878 28.3467V17.8739C48.0869 15.5378 49.026 13.2969 50.6987 11.6435C52.3714 9.99003 54.641 9.05985 57.0089 9.05627ZM68.4361 12.7446C70.0081 12.7416 71.553 13.1481 72.9147 13.923C74.2763 14.6979 75.4065 15.8137 76.191 17.1576C77.2234 18.9403 77.6104 21.0253 77.2554 23.0466C77.1908 22.9986 77.0622 22.9355 76.981 22.8875L67.4952 17.4757C67.2565 17.3426 66.987 17.2726 66.7129 17.2726C66.4387 17.2726 66.1692 17.3426 65.9306 17.4757L54.8149 23.8102V19.1625L63.9944 13.9261C65.3441 13.1541 66.876 12.7464 68.4361 12.744V12.7446ZM44.9741 17.5552V28.6806C44.9741 29.2378 45.2645 29.7313 45.7487 30.0177L56.8477 36.3364L52.7496 38.6757L43.5861 33.4551C41.5383 32.2843 40.0451 30.3596 39.4342 28.1037C38.8233 25.8477 39.1447 23.4448 40.3278 21.4223C41.3714 19.6376 43.0152 18.2699 44.9741 17.5552ZM66.237 20.3085L75.4164 25.5291C79.6918 27.9643 81.1432 33.344 78.6748 37.5619L78.6908 37.5777C77.6424 39.3604 75.9967 40.7291 74.0445 41.4296V30.3037C74.0445 29.7465 73.7541 29.2372 73.2699 28.9671L62.1549 22.6321L66.237 20.3085ZM59.4933 24.1446L64.1722 26.8184V32.1501L59.4933 34.8239L54.8149 32.1501V26.8184L59.4933 24.1446ZM66.8498 28.3467L70.9313 30.6703V41.1273C70.9313 45.9977 66.9304 49.9449 62.0102 49.9449V49.9291C59.9289 49.9291 57.8961 49.2129 56.2989 47.8921C56.3635 47.8605 56.5087 47.7804 56.5893 47.7325L66.0752 42.337C66.5594 42.0663 66.8658 41.557 66.8492 40.9999L66.8498 28.3467ZM64.1876 35.1904V39.8375L55.0082 45.0582C50.7328 47.4776 45.2799 46.0451 42.8116 41.843H42.8276C41.7792 40.0761 41.4076 37.9753 41.7626 35.954C41.8272 36.002 41.9564 36.0651 42.037 36.1131L51.5228 41.5249C51.7615 41.6581 52.031 41.728 52.3051 41.728C52.5793 41.728 52.8488 41.6581 53.0874 41.5249L64.1876 35.1904Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M44.8728 14.0599C43.589 14.0599 42.5482 15.103 42.5482 16.3897V43.1556C42.5482 44.4423 43.589 45.4854 44.8728 45.4854H74.1263C75.4101 45.4854 76.4508 44.4423 76.4508 43.1556V30.2834C76.4508 29.5114 77.0753 28.8856 77.8455 28.8856C78.6158 28.8856 79.2403 29.5114 79.2403 30.2834V43.1556C79.2403 45.9864 76.9506 48.2812 74.1263 48.2812H44.8728C42.0484 48.2812 39.7588 45.9864 39.7588 43.1556V16.3897C39.7588 13.559 42.0484 11.2642 44.8728 11.2642H59.4995C60.2698 11.2642 60.8943 11.89 60.8943 12.662C60.8943 13.4341 60.2698 14.0599 59.4995 14.0599H44.8728Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M78.3294 11.4107L75.043 5L71.7566 11.4107L65.3604 14.7045L71.7566 17.9984L75.043 24.4091L78.3294 17.9984L84.7256 14.7045L78.3294 11.4107ZM79.6391 14.7045L76.603 13.141L75.043 10.098L73.483 13.141L70.4468 14.7045L73.483 16.2681L75.043 19.3111L76.603 16.2681L79.6391 14.7045Z" fill="white"/>
<path d="M78.8652 34.1138H84.7229C85.4281 34.1138 85.9998 34.6855 85.9998 35.3907V35.3907C85.9998 36.0959 85.4281 36.6676 84.7229 36.6676H78.8652V34.1138Z" fill="white"/>
<path d="M40.1343 34.1138H34.2766C33.5714 34.1138 32.9997 34.6855 32.9997 35.3907V35.3907C32.9997 36.0959 33.5714 36.6676 34.2766 36.6676H40.1343V34.1138Z" fill="white"/>
<path d="M40.1343 21.3447H34.2766C33.5714 21.3447 32.9997 21.9164 32.9997 22.6216V22.6216C32.9997 23.3269 33.5714 23.8986 34.2766 23.8986H40.1343V21.3447Z" fill="white"/>
<path d="M52.3657 11.6396L52.3657 6.27373C52.3657 5.5701 52.9361 4.9997 53.6398 4.9997V4.9997C54.3434 4.9997 54.9138 5.5701 54.9138 6.27373L54.9138 11.6396L52.3657 11.6396Z" fill="white"/>
<path d="M64.0859 47.9043L64.0859 53.781C64.0859 54.4846 64.6563 55.055 65.36 55.055V55.055C66.0636 55.055 66.634 54.4846 66.634 53.781L66.634 47.9043L64.0859 47.9043Z" fill="white"/>
<path d="M51.3462 47.9043L51.3462 53.781C51.3462 54.4846 51.9166 55.055 52.6202 55.055V55.055C53.3238 55.055 53.8942 54.4846 53.8942 53.781L53.8942 47.9043L51.3462 47.9043Z" fill="white"/>
<path d="M66.0202 38.0978V22.3662H67.9101V38.0978H66.0202ZM63.9302 38.0978V36.2549L65.2642 36.4797H68.666L70.0001 36.2549V38.0978H63.9302ZM63.9302 24.2091V22.3662H70.0001V24.2091L68.666 23.9843H65.2642L63.9302 24.2091Z" fill="white"/>
<path d="M48 38.0978L53.892 22.3662H56.0265L61.9185 38.0978H59.784L59.2504 36.2999L55.2483 25.1979L55.0482 23.7596H54.8703L54.6702 25.1979L50.6681 36.2999L50.1345 38.0978H48ZM50.7126 33.5581V31.8052H59.1615V33.5581H50.7126Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -38,7 +38,7 @@ let summarizationWindow = null;
let translateSettingsWindow = null;
let helperWindow = null;
window.addSupportAgentMode = function() {
window.addSupportAgentMode = function(editorVersion) {
var agentHistory = [];
var agentDebug = false;
@ -46,6 +46,8 @@ window.addSupportAgentMode = function() {
window.EditorHelper = new EditorHelperImpl();
}
var is91 = editorVersion >= 9001000;
window.Asc.plugin.attachEditorEvent("onKeyDown", function(e) {
if (e.keyCode === 27 && helperWindow) {
helperWindow.close();
@ -56,9 +58,21 @@ window.addSupportAgentMode = function() {
let isCtrl = e.ctrlKey || e.metaKey;
let isClearHistory = isCtrl && e.altKey;
let codeShow = 191; // '/'
if (e.keyCode === codeShow && isCtrl && !helperWindow) {
let isAgentShow = false;
if (isCtrl)
{
if (is91)
{
isAgentShow = e.key === "/";
}
else
{
isAgentShow = e.keyCode === 191 || e.keyCode === 111;
}
}
if (isAgentShow && isCtrl && !helperWindow) {
if (isClearHistory)
agentHistory = [];
@ -392,7 +406,7 @@ async function initWithTranslate(counter) {
}
if (editorVersion >= 9000004)
window.addSupportAgentMode();
window.addSupportAgentMode(editorVersion);
}
}