Compare commits

..

2345 commits

Author SHA1 Message Date
Lea 4eebaab5e6
Enable mobile editing 2023-01-12 14:28:17 +01:00
papacarlo ddec589b37 Merge branch hotfix/v7.2.2 into master 2022-12-20 08:00:10 +00:00
Maxim Kadushkin 7b03f08adc [desktop] for bug 60014 2022-12-07 16:54:48 +03:00
Maxim Kadushkin 3208a4bdf2 [desktop] hide panel before "print" command 2022-12-07 16:48:55 +03:00
Maxim Kadushkin 9e608f168d [desktop] for bug 60014 2022-12-06 21:43:43 +03:00
Maxim Kadushkin f91bc6e50e [desktop] for bug 60025 2022-12-06 20:24:15 +03:00
maxkadushkin b5c282872d
Merge pull request #2105 from ONLYOFFICE/fix/bug-59971
For Bug 59971
2022-12-04 22:50:14 +03:00
Julia Radzhabova 37b37425af For Bug 59971 2022-12-04 16:56:12 +03:00
Maxim Kadushkin f7eccb611f [DE] fix bug 59971 2022-12-03 23:27:22 +03:00
Julia Radzhabova f453f92a32
Merge pull request #2102 from ONLYOFFICE/fix/translation
Update translation. Fix Bug 59947
2022-12-02 14:24:26 +03:00
Julia Radzhabova b6d7e60624 Update translation. Fix Bug 59947 2022-12-02 14:18:13 +03:00
Maxim Kadushkin 6b269291ae [all] hide "quick print" button for macos 2022-12-02 00:14:31 +03:00
Julia Radzhabova 9e80367822
Merge pull request #2098 from ONLYOFFICE/fix/bugfix
Fix Bug 59959
2022-11-30 22:00:24 +03:00
Julia Radzhabova 2bcb91c15c Fix Bug 59959 2022-11-30 21:53:27 +03:00
Maxim Kadushkin 215f2bf28d [desktop] debug 2022-11-30 21:18:32 +03:00
Maxim Kadushkin 6543e5bb49 [SSE PE] fix bug 59951 2022-11-30 15:36:56 +03:00
Julia Radzhabova 9940b59d38
Merge pull request #2095 from ONLYOFFICE/fix/bugfix
[SSE] Try printing in internal spreadsheet editor
2022-11-30 01:37:54 +03:00
Julia Radzhabova 2c48d5c8cb [SSE] Try printing in internal spreadsheet editor 2022-11-30 01:31:59 +03:00
Julia Radzhabova 1ef412c1ee
Merge pull request #2091 from ONLYOFFICE/fix/bugfix
[DE][PE] Fix Bug 59911
2022-11-28 14:13:07 +03:00
Julia Radzhabova 70d6ecb6dc [DE][PE] Fix Bug 59911 2022-11-28 14:06:48 +03:00
Julia Radzhabova 43617a9729
Merge pull request #2087 from ONLYOFFICE/fix/translation
Update translation. Fix Bug 59887
2022-11-25 17:37:42 +03:00
Julia Radzhabova 30d35b42eb Update translation. Fix Bug 59887 2022-11-25 17:31:35 +03:00
Maxim Kadushkin 7e7f519caf [desktop] refactoring 2022-11-22 19:28:54 +03:00
Julia Radzhabova 62d74b444c
Merge pull request #2077 from ONLYOFFICE/fix/quick-preview-warning
Show warning before first click on Quick print button
2022-11-22 01:15:13 +03:00
Julia Radzhabova 7d0ac791aa Show warning before first click on Quick print button 2022-11-22 00:56:54 +03:00
Maxim Kadushkin 8e25f9c027 [desktop] event on show 'quick print' button 2022-11-22 00:28:55 +03:00
Maxim Kadushkin 4fa78dad3a [desktop] 'file locked' message didn't open 2022-11-21 13:04:25 +03:00
Julia Radzhabova 58203c0989
Merge pull request #2071 from ONLYOFFICE/fix/quick-print
Change button's order
2022-11-18 19:17:19 +03:00
Julia Radzhabova aec1b4464d Change button's order 2022-11-18 19:09:50 +03:00
Julia Radzhabova c7f4687a2f
Merge pull request #2067 from ONLYOFFICE/fix/print-preview
Fix/print preview
2022-11-18 15:11:10 +03:00
Julia Radzhabova 7455c536ac Add translation 2022-11-18 15:03:47 +03:00
Julia Radzhabova 033c44d473 [DE][PE] Show error when printing several pages 2022-11-18 14:47:58 +03:00
Julia Radzhabova 81fcfb05f0
Merge pull request #2065 from ONLYOFFICE/fix/print-preview
[DE][PE] Send paper size preset
2022-11-17 22:52:56 +03:00
Julia Radzhabova 8eb8226da2 [DE][PE] Send paper size preset 2022-11-17 22:47:18 +03:00
Julia Radzhabova 6f59e5771b
Merge pull request #2063 from ONLYOFFICE/fix/print-preview
[PE] Send paper size for print preview
2022-11-17 12:55:47 +03:00
Julia Radzhabova 640edd8a79 [PE] Send paper size for print preview 2022-11-17 12:49:11 +03:00
Maxim Kadushkin b825310d30 [desktop] changed "read only" file opening 2022-11-16 19:04:46 +03:00
Julia Radzhabova 4c4da4113f
Merge pull request #2059 from ONLYOFFICE/fix/print-preview
[DE] Send settings for first printing page
2022-11-16 15:45:52 +03:00
Julia Radzhabova db925cd1e8 [DE] Send settings for first printing page 2022-11-16 15:38:00 +03:00
Julia Radzhabova d535175dc1
Merge pull request #2058 from ONLYOFFICE/fix/quick-print
Fix/quick print
2022-11-16 14:52:39 +03:00
Julia Radzhabova 1401b51648 Merge branch 'hotfix/v7.2.2' into fix/quick-print 2022-11-16 14:46:00 +03:00
Julia Radzhabova 629af711e2 [PE][SSE] Add quick print button 2022-11-16 14:28:07 +03:00
Julia Radzhabova d4de267db2 Add icons for quick print/print preview 2022-11-16 14:25:12 +03:00
Julia Radzhabova 1ba9ddf351 [DE] Quick print 2022-11-16 12:46:49 +03:00
Maxim Kadushkin 2d2958e07b Merge branch 'hotfix/v7.2.2' of https://github.com/ONLYOFFICE/web-apps into hotfix/v7.2.2 2022-11-16 00:08:44 +03:00
Maxim Kadushkin 72fd49401f [desktop] get def printer name 2022-11-16 00:08:16 +03:00
Julia Radzhabova d2a87abfb5
Merge pull request #2055 from ONLYOFFICE/fix/print-preview
Fix/print preview
2022-11-15 23:40:14 +03:00
Julia Radzhabova 2a128bc539 [DE] Add quick print button 2022-11-15 21:45:25 +03:00
Julia Radzhabova c4536c0807 [PE] Add paper size. Send print settings to sdk. Enable print preview only for desktop. 2022-11-15 17:54:09 +03:00
Julia Radzhabova 53298b4aab [DE] Fix translation 2022-11-15 17:47:41 +03:00
Julia Radzhabova 24830cb70b [DE] Send print settings to sdk. Enable print preview only for desktop. 2022-11-15 16:45:28 +03:00
maxkadushkin 50bf470a63
Merge pull request #2051 from ONLYOFFICE/fix/refactoringLocks
Refactoring locks
2022-11-14 18:07:03 +03:00
Oleg Korshul a715c720ca Refactoring locks 2022-11-14 18:00:11 +03:00
Julia Radzhabova 6656f45b04
Merge pull request #2038 from ONLYOFFICE/fix/bugfix
[SSE] Fix bug 59466
2022-11-08 16:59:43 +03:00
JuliaSvinareva c0493d45ab [SSE] Fix bug 59466 2022-11-08 16:53:16 +03:00
Julia Radzhabova d499edb1f3
Merge pull request #2036 from ONLYOFFICE/feature/print-preview
Feature/print preview
2022-11-07 23:17:04 +03:00
Julia Radzhabova fcaeb143ba
Merge pull request #2032 from ONLYOFFICE/fix/bugfix
Fix Bug 59592
2022-11-01 16:29:54 +03:00
Julia Radzhabova 1ac0d04f2e Fix Bug 59592 2022-11-01 16:13:30 +03:00
Julia Radzhabova 42b75058c5 [PE] Show print preview 2022-10-27 15:40:52 +03:00
Julia Radzhabova d4aed51fdf [DE] Print preview refactoring 2022-10-27 15:29:06 +03:00
Julia Radzhabova 591cf88d5e [DE] Disable page settings in print preview 2022-10-26 22:13:10 +03:00
Julia Radzhabova 3dffb8a7ba [DE] Fix print preview 2022-10-26 00:22:23 +03:00
Julia Radzhabova e0c8c84c72 [DE] Refactoring custom margins 2022-10-25 23:56:46 +03:00
Julia Radzhabova 0020e55ea0 [DE] Fix pages numbers for printing 2022-10-25 21:40:16 +03:00
Julia Radzhabova d8600b8a2a [DE] Refactoring print preview, hide preview for mac os 2022-10-24 19:02:05 +03:00
Julia Radzhabova 229e55811e [DE] Init preview div 2022-10-24 14:16:34 +03:00
Julia Radzhabova c0fea1c230 [DE] Add print preview panel 2022-10-21 23:22:16 +03:00
papacarlo 645ff855aa Merge branch hotfix/v7.2.1 into master 2022-10-20 13:12:05 +00:00
Oleg Korshul 36e8f4214c
Merge pull request #2014 from ONLYOFFICE/fix/bugfix
[DE][PE] Remove hieroglyphs settings
2022-10-17 11:05:11 +03:00
Julia Radzhabova a0b6f03c71 [DE][PE] Remove hieroglyphs settings 2022-10-17 11:00:51 +03:00
Julia Radzhabova 8a5e21bc46 [DE] Fix forms dicsonnect 2022-10-14 18:24:03 +03:00
Julia Radzhabova 30a620c94a [DE] Use new type for complex field 2022-10-14 18:24:03 +03:00
Julia Radzhabova 447e203174 For Bug 59377 2022-10-14 18:24:03 +03:00
Julia Radzhabova ebaf3f2b1a Update help 2022-10-14 17:43:03 +03:00
Oleg Korshul 0621ebf4fd
Merge pull request #2009 from ONLYOFFICE/fix/bug-52732
Fix/bug 52732
2022-10-14 14:46:12 +03:00
Oleg Korshul 8a98c718fa Refactoring 2022-10-14 14:31:55 +03:00
Julia Radzhabova 207bdece2a For Bug 52732 2022-10-14 13:36:10 +03:00
Julia Radzhabova 5f7bd9d805
Merge pull request #2007 from ONLYOFFICE/fix/de-formKey
[DE] Fix apply empty key (back to old value)
2022-10-13 19:59:41 +03:00
Julia Radzhabova 1a61da2ae2 [DE] Fix apply empty key (back to old value) 2022-10-13 19:40:33 +03:00
Maxim Kadushkin 567cfdcd5d [desktop] for bug 59316 2022-10-12 23:02:44 +03:00
Julia Radzhabova 677b629c66
Merge pull request #2004 from ONLYOFFICE/fix/fix-search
[SSE] Fix search
2022-10-12 18:44:23 +03:00
JuliaSvinareva f83b4e55b1 [SSE] Fix search 2022-10-12 18:38:21 +03:00
Maxim Kadushkin 659e7cec50 [desktop] for bug 59316 2022-10-11 22:12:02 +03:00
Julia Radzhabova eae06bd4c9
Merge pull request #2001 from ONLYOFFICE/fix/maxChangesSize
Fix/max changes size
2022-10-11 17:48:03 +03:00
Julia Radzhabova 8ac5578200
Merge pull request #1998 from ONLYOFFICE/fix/inputBug
Refactoring. Fix bug with preventing composition input.
2022-10-10 23:57:03 +03:00
Julia Radzhabova 01b47592b8
Merge pull request #1997 from ONLYOFFICE/fix/bug-59278
Fix Bug 59278
2022-10-10 23:10:27 +03:00
Oleg Korshul 20fa8d11c1 Fix typo 2022-10-10 22:34:05 +03:00
Oleg Korshul 6109598791 Refactoring. Fix bug with preventing composition input. 2022-10-10 22:26:42 +03:00
Julia Radzhabova 30d8937204 Fix Bug 59278 2022-10-10 19:17:57 +03:00
Maxim Kadushkin 1035069d92 [DE] fix bug 59315 2022-10-10 00:32:24 +03:00
maxkadushkin f0402ac0a2
Merge pull request #1994 from ONLYOFFICE/feature/update-colors-table-dark
Update colors-table-dark.less
2022-10-07 13:34:46 +03:00
Kirill Volkov abbc4fe786 Update colors-table-dark.less
Chabged component-disabled-opacity
2022-10-07 13:00:32 +03:00
Julia Radzhabova 144ef4639a [PE] Fix register events 2022-10-06 19:28:56 +03:00
Maxim Kadushkin 94ff1ea828 [stylesheets] refactoring 2022-10-06 17:36:13 +03:00
Julia Radzhabova f9153dbc2d [Mobile] Add asc_onConfirmAction event 2022-10-06 16:43:26 +03:00
maxkadushkin 3f1252330e
Merge pull request #1991 from ONLYOFFICE/feature/toolbar-top-border
Feature/toolbar top border
2022-10-06 14:38:11 +03:00
Maxim Kadushkin c517e82938 [themes] fix scaled scroll's shadow 2022-10-06 10:25:14 +03:00
Maxim Kadushkin 2389aa2af7 [themes] correct scroll's shadow 2022-10-05 21:22:34 +03:00
Maxim Kadushkin 4c11525cd5 [themes] top border for toolbar in "contrast" theme 2022-10-05 11:29:39 +03:00
Julia Radzhabova c5ae22a932 Add asc_onConfirmAction event 2022-10-04 21:53:31 +03:00
Julia Radzhabova 527633324b
Merge pull request #1990 from ONLYOFFICE/fix/alt-hints
[DE PE SSE] Change variable name to reset Use Alt Key setting
2022-10-03 16:10:37 +03:00
JuliaSvinareva e6638eb94f [DE PE SSE] Change variable name to reset Use Alt Key setting 2022-10-03 16:01:19 +03:00
maxkadushkin 4b0f1c5fd4
Merge pull request #1989 from ONLYOFFICE/fix/hints-on-mac
Fix/hints on mac
2022-09-30 19:30:44 +03:00
JuliaSvinareva 6afd3cbbdc [DE PE SSE] Don't show alt hints on mac by defaulf 2022-09-30 18:38:21 +03:00
Julia Radzhabova b04566d564
Merge pull request #1988 from ONLYOFFICE/fix/helps
Update help
2022-09-30 18:14:17 +03:00
Julia Radzhabova 71625ac383 Update help 2022-09-30 17:56:15 +03:00
Julia Radzhabova 8ec390ba26
Merge pull request #1985 from ONLYOFFICE/fix/bug-59139
[PE] Fix Bug 59139
2022-09-29 19:39:03 +03:00
Julia Radzhabova 977806268b [PE] Fix Bug 59139 2022-09-29 19:29:22 +03:00
JuliaSvinareva 079855bc39 [DE PE SSE] Fix preventing alt when alt hints are turned off 2022-09-29 13:19:20 +03:00
Julia Radzhabova 706601018c
Merge pull request #1984 from ONLYOFFICE/fix/bug-59148
Fix Bug 59148
2022-09-29 11:51:07 +03:00
Julia Radzhabova 429fce1cea Fix Bug 59148 2022-09-29 11:36:46 +03:00
Sergey Luzyanin 2888ff2fde
Merge pull request #1948 from ONLYOFFICE/fix/external-editors-data
Fix/external editors data
2022-09-28 19:35:50 +03:00
maxkadushkin 45a28bba09
Merge pull request #1983 from ONLYOFFICE/feature/for-hotfix-7-2-1
Feature/for hotfix 7 2 1
2022-09-27 10:32:35 +03:00
maxkadushkin 1c6e028da6
Merge pull request #1982 from ONLYOFFICE/fix/bug_59069
Fix/bug 59069
2022-09-26 13:58:38 +03:00
maxkadushkin 63d5a06051
Merge pull request #1981 from ONLYOFFICE/fix/bug_59087
Fix/bug 59087
2022-09-26 13:54:54 +03:00
Maxim Kadushkin b65826fc07 Merge branch 'release/v7.2.0' into feature/for-hotfix-7-2-1 2022-09-26 13:28:33 +03:00
Maxim Kadushkin 1a769c6b9a [desktop] open help center if there are no app help 2022-09-23 11:12:34 +03:00
papacarlo 612d5d04e5 Merge branch release/v7.2.0 into master 2022-09-22 12:22:50 +00:00
JuliaSvinareva 2da83c27aa [oform] Bug 59069 2022-09-20 14:37:44 +03:00
SergeyEzhin 068c9cd6b9
[DE mobile] Fix Bug 59110 (#1969)
* [DE mobile] Fix Bug 59110
2022-09-20 12:01:23 +03:00
SergeyEzhin 026c81ff9e [SSE mobile] Fix Bug 59094 2022-09-20 10:32:19 +03:00
JuliaSvinareva 3b295c0266 [DE] Fix bug 59087 2022-09-19 15:50:18 +03:00
Julia Radzhabova 661825ace9 Fix Bug 59097 2022-09-19 10:18:35 +03:00
Maxim Kadushkin 26efff7397 [mobile] fix bug 58272 2022-09-16 21:38:38 +03:00
Julia Radzhabova bc8bdf9b8b
Fix/bugfix (#1964)
* Fix document title on loading
2022-09-16 18:51:43 +03:00
Julia Radzhabova 7b4c5a0faf
Fix/translaion (#1963)
* Update translation
2022-09-16 18:51:24 +03:00
Maxim Kadushkin 778a58f118 [desktop] fix bug 59057 2022-09-16 17:04:57 +03:00
SergeyEzhin f90e8cb048 [DE PE SSE mobile] Fix Bug 59018 2022-09-15 12:44:57 +03:00
SergeyEzhin 1333da31a0 [DE PE SSE mobile] Fix Bug 58995 2022-09-15 12:44:57 +03:00
catbasilio 402ee61976
Merge pull request #1960 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-09-14 14:12:30 +03:00
Julia Radzhabova 4599933038 [Mobile] Update translation. Fix Bug 59033 2022-09-14 13:51:21 +03:00
Julia Radzhabova 44f85081d2 Update translation. Fix Bug 59029 2022-09-14 13:47:18 +03:00
Julia Radzhabova fe6f3b9820 Fix Bug 58979 2022-09-14 13:09:52 +03:00
Julia Radzhabova 6424f38e7d Fix translation 2022-09-13 20:55:12 +03:00
JuliaSvinareva e313e6ca6e [DE PE Embed] Bug 58292 2022-09-12 18:32:01 +03:00
JuliaSvinareva 33a05836db [DE PE embed] Fix bug 58292 2022-09-12 18:32:01 +03:00
Julia Radzhabova 0a8ce9502c Fix translation 2022-09-12 10:55:20 +03:00
Julia Radzhabova 05889fe8f2 [DE] Add new presets for multilevel lists 2022-09-12 10:48:05 +03:00
Maxim Kadushkin eacf21a118 [themes] correct skeleton's content mode 2022-09-09 23:51:37 +03:00
Julia Radzhabova 667d847235 [DE] Fix Bug 58964 2022-09-09 15:14:44 +03:00
Julia Radzhabova a3527da443 [DE] Move to next change after accept/reject from toolbar 2022-09-09 13:10:21 +03:00
Julia Radzhabova 670742ab67 [DE] Change accept/reject review changes 2022-09-09 13:10:21 +03:00
Julia Radzhabova 0c56678ce1 Add title parameter to config 2022-09-08 19:44:02 +03:00
Julia Radzhabova ab9aa0112f Fix external editors 2022-09-08 18:23:46 +03:00
Julia Radzhabova c14706e8b5 Fix sending data from frame 2022-09-08 18:07:45 +03:00
Julia Radzhabova 7090bd8ed6 Send data between external editors and general editor 2022-09-08 17:20:13 +03:00
catbasilio 189bca3111
Merge pull request #1947 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-09-08 16:52:27 +03:00
Julia Radzhabova 1ba3b15159 Fix Bug 58946 2022-09-08 16:43:10 +03:00
Julia Radzhabova 7f1d94b438 [DE] Add separator to the forms tab, fix fillForms mode 2022-09-08 16:25:00 +03:00
Maxim Kadushkin 23fe1bca42 [all] revert bug 58122 2022-09-08 16:23:01 +03:00
Julia Radzhabova 3dedbaf786 [Mobile] Bug 58827 2022-09-08 15:54:40 +03:00
Julia Radzhabova c5c9228380 Fix Bug 58827 2022-09-08 15:36:27 +03:00
Julia Radzhabova d89ed8113d
Merge pull request #1944 from ONLYOFFICE/fix/bugfix
Fix locking right panes
2022-09-07 23:23:53 +03:00
Julia Radzhabova 866d831ae2 Fix locking right panes 2022-09-07 23:02:43 +03:00
Julia Radzhabova 7bb35e8071
Merge pull request #1943 from ONLYOFFICE/fix/bugfix
[SSE] Fix locking chart settings
2022-09-07 20:30:38 +03:00
Julia Radzhabova 685ac13b54 [SSE] Fix locking chart settings 2022-09-07 20:23:40 +03:00
Julia Radzhabova 08f6dd339c
Merge pull request #1941 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-09-07 17:28:28 +03:00
Julia Radzhabova bfd2fc43d4 [Mobile] Update translation 2022-09-07 17:19:20 +03:00
Julia Radzhabova 7ed5fcd158 Update translation 2022-09-07 17:16:52 +03:00
Julia Radzhabova 3e7bc7ac15 [PE] Fix Bug 58916 2022-09-07 17:00:20 +03:00
maxkadushkin 1ccdbafac0
Merge pull request #1940 from ONLYOFFICE/feature/fix-bugs
[DE mobile] Fix Bug 58892
2022-09-06 18:50:17 +03:00
SergeyEzhin f3ca28486d [DE mobile] Fix Bug 58892 2022-09-06 17:16:34 +03:00
maxkadushkin 904e8ea272
Merge pull request #1939 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-09-05 17:33:02 +03:00
SergeyEzhin 49edd34bf9 [DE mobile] Fix Bug 58687 2022-09-05 17:16:23 +03:00
SergeyEzhin 6ac53939f4 [DE mobile] Fix Bug 58866 2022-09-05 16:49:02 +03:00
SergeyEzhin 91eb84b1a5 [DE mobile] Fix Bug 58673 2022-09-05 16:33:12 +03:00
SergeyEzhin 48364fe3ac [DE mobile] Fix Bug 58859 2022-09-05 16:22:22 +03:00
SergeyEzhin 0bf12a512b [DE PE SSE mobile] Fix Bug 58808 2022-09-05 16:06:18 +03:00
SergeyEzhin 47eeafdb82 [DE mobile] Fix Bug 58876 2022-09-05 16:01:44 +03:00
Maxim Kadushkin dd465dc183 [DE] fix bug 58855 2022-09-05 13:34:40 +03:00
Maxim Kadushkin 994a58c8b1 [desktop] fix bug 58765 2022-09-02 21:20:45 +03:00
Julia Radzhabova a583b7c660
Merge pull request #1938 from ONLYOFFICE/fix/translation
Fix translation
2022-09-02 17:32:07 +03:00
Julia Radzhabova 03b08f66ff Fix translation 2022-09-02 17:26:49 +03:00
Julia Radzhabova 68785c15c7 Fix translation 2022-09-02 16:55:29 +03:00
maxkadushkin 7fdea4c431
Merge pull request #1937 from ONLYOFFICE/feature/fix-bugs
[DE mobile] Fix Bug 58759
2022-09-02 16:03:40 +03:00
SergeyEzhin 5505fb3f47 [DE mobile] Fix Bug 58759 2022-09-02 15:16:02 +03:00
maxkadushkin 8824d7c2e2
Merge pull request #1936 from ONLYOFFICE/fix/Bug-51946
bug 51946
2022-09-02 14:43:59 +03:00
maxkadushkin 1f3ef9cad0
Merge pull request #1935 from ONLYOFFICE/fix/bug-58228
bug 58228
2022-09-02 14:43:21 +03:00
OVSharova dcfd33c6b8 fix bug 51946 2022-09-02 14:14:33 +03:00
Maxim Kadushkin cf63f9d025 [themes] fix bug 58801 2022-09-02 00:46:07 +03:00
Julia Radzhabova f9bd914de6
Merge pull request #1934 from ONLYOFFICE/fix/addTextForm
[DE] Set placeholder when add email/phone forms
2022-09-01 21:16:11 +03:00
Julia Radzhabova 90d92080ed
Merge pull request #1933 from ONLYOFFICE/fix/bugfix
Fix Bug 58379
2022-09-01 21:01:56 +03:00
Julia Radzhabova 0a9db1eb01 Fix Bug 58379 2022-09-01 20:56:11 +03:00
Julia Radzhabova bc41924978
Merge pull request #1932 from ONLYOFFICE/fix/translation
Fix/translation
2022-09-01 19:18:41 +03:00
Julia Radzhabova 8f74869195 For Bug 58375 2022-09-01 19:09:45 +03:00
Julia Radzhabova 5c220f02ed [Mobile] Update translaion 2022-09-01 18:48:28 +03:00
Julia Radzhabova 27aa5774ae Update translation 2022-09-01 18:42:02 +03:00
Julia Radzhabova 40c26705a5 [DE] Set placeholder when add email/phone forms 2022-09-01 17:56:51 +03:00
maxkadushkin 7a9b82681a
Merge pull request #1930 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-09-01 15:56:41 +03:00
SergeyEzhin ec48177e38 [DE mobile] Added fab for turning off reader mode 2022-09-01 14:17:56 +03:00
SergeyEzhin 099d789ed0 [DE mobile] Fix Bug 58785 2022-09-01 01:09:33 +03:00
Julia Radzhabova d322a28da0
Merge pull request #1928 from ONLYOFFICE/fix/fix-forms
[DE] Rename icons
2022-08-31 21:47:49 +03:00
Julia Radzhabova 668876eef4 [DE] Rename icons 2022-08-31 21:41:02 +03:00
maxkadushkin 694d83bc64
Merge pull request #1920 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-08-31 19:48:33 +03:00
Julia Radzhabova e0a12021ca
Merge pull request #1927 from ONLYOFFICE/fix/right-panel
Don't close right pane when editor is temporarily disconnected
2022-08-31 19:38:59 +03:00
Julia Radzhabova 7ad35050a0 Don't close right pane when editor is temporarily disconnected 2022-08-31 19:29:44 +03:00
maxkadushkin 038167bbff
Merge pull request #1926 from ONLYOFFICE/fix/bug-39134
For Bug 39134
2022-08-31 19:25:20 +03:00
Julia Radzhabova 2736cfed1b For Bug 39134 2022-08-31 19:16:36 +03:00
Julia Radzhabova b58e53f3fa
Merge pull request #1923 from ONLYOFFICE/feature/complex-forms
Feature/complex forms
2022-08-31 19:02:20 +03:00
Julia Radzhabova 8abdd4993e [DE] Disable max chars settings for form with mask 2022-08-31 18:54:03 +03:00
Julia Radzhabova 04d9d59b5c [DE] Do not add image form to complex form 2022-08-31 18:41:11 +03:00
Julia Radzhabova 521f6e80e0
Merge pull request #1924 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-08-31 16:51:48 +03:00
Julia Radzhabova a790b3322d Fix component styles in IE11 2022-08-31 16:43:49 +03:00
Julia Radzhabova af095f9d31 Fix for ie11 2022-08-31 16:15:09 +03:00
SergeyEzhin 06c7b64544 [DE mobile] Fix Bug 57755 2022-08-31 15:54:07 +03:00
Julia Radzhabova 2b9cc0f0bd [DE] Hide some settings for forms inside complex form 2022-08-31 14:31:51 +03:00
Julia Radzhabova 665012cebd [DE] Do not add complex form to complex form 2022-08-31 14:29:57 +03:00
Maxim Kadushkin e09d06b5cc [themes] for bug 58122 2022-08-31 11:08:06 +03:00
OVSharova 49be95dff3 fix bug 58228 2022-08-31 03:57:15 +03:00
Julia Radzhabova 4395af1008 [DE] Fix form settings 2022-08-30 21:54:42 +03:00
Maxim Kadushkin ac7d6a1dd1 [all] fix for IE 2022-08-30 21:33:28 +03:00
Julia Radzhabova 562cea6df6 [DE] Add icons 2022-08-30 16:57:55 +03:00
maxkadushkin 6f3414e98f
Merge pull request #1922 from ONLYOFFICE/feature/border-for-dark-theme-2
Border for dark theme
2022-08-30 16:43:54 +03:00
Julia Radzhabova b43b6ce74f [DE] Add error for wrong text field 2022-08-30 16:40:07 +03:00
OVSharova 66419325ce Add border to toolbar for dark theme 2022-08-30 16:01:34 +03:00
Julia Radzhabova 362b1b0dd2 [DE] Add translation 2022-08-30 15:17:26 +03:00
Julia Radzhabova d84dae68ac Refactoring 2022-08-30 15:10:30 +03:00
Julia Radzhabova 10aaea7958 [DE] Forms: add email, phone and complex field 2022-08-30 14:37:12 +03:00
Julia Radzhabova e0cc0d96e0 [DE] Forms: hide mask/regexp settings for some fields 2022-08-30 13:39:42 +03:00
Julia Radzhabova fae6b2ff5a
Merge pull request #1921 from ONLYOFFICE/fix/bug-58693
Fix Bug 58693
2022-08-30 13:32:03 +03:00
Julia Radzhabova 188898e1a7 [DE] Refactoring 2022-08-30 13:19:38 +03:00
Julia Radzhabova d855278570 Fix Bug 58693 2022-08-30 13:06:51 +03:00
Julia Radzhabova fd0b278f9d [DE] Add format settings for text field 2022-08-30 12:34:21 +03:00
Maxim Kadushkin 8a3abfeb47 [DE] for bug 58228 2022-08-30 00:31:40 +03:00
SergeyEzhin 367fdab130 [DE mobile] For Bug 58670 2022-08-29 22:37:59 +03:00
SergeyEzhin 77c8bd1d71 [DE mobile] Fix Bug 58748 2022-08-29 21:58:59 +03:00
Julia Radzhabova cdbcfb4e24
Merge pull request #1919 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-08-29 21:12:34 +03:00
JuliaSvinareva b4977d2a97 [embed] Fix bug 58605 2022-08-29 20:02:27 +03:00
JuliaSvinareva d826505f9b [embed] Fix bug 58743 2022-08-29 18:44:00 +03:00
Julia Radzhabova b3553013cf
Merge pull request #1918 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-08-29 17:02:37 +03:00
Julia Radzhabova fe64f41b88 Fix Bug 58457 2022-08-29 16:55:13 +03:00
Julia Radzhabova 0d9b07a6e4 Fix Bug 57826 2022-08-29 15:04:43 +03:00
maxkadushkin b797fe25a3
Merge pull request #1917 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-08-26 20:13:55 +03:00
SergeyEzhin d545f86c3b [DE mobile] Fix Bug 58662 2022-08-26 20:07:18 +03:00
SergeyEzhin 7efe1b6e15 [DE mobile] For Bug 58670 2022-08-26 19:39:33 +03:00
SergeyEzhin a83c32c793 [DE mobile] Correct opening snackbar 2022-08-26 19:24:26 +03:00
maxkadushkin 4b8abce439
Merge pull request #1916 from ONLYOFFICE/fix/fix-bugs
[SSE] Add updating of modified search results
2022-08-26 15:51:53 +03:00
SergeyEzhin 5c00b9fa57 [DE mobile] Corrected infinite doc placeholder 2022-08-26 14:17:55 +03:00
JuliaSvinareva f555773a1e [SSE] Add updating of modified search results 2022-08-26 13:45:08 +03:00
maxkadushkin 937f4d3e42
Merge pull request #1915 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-08-26 11:54:36 +03:00
maxkadushkin 1c6d91074f
Merge pull request #1914 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-08-26 10:46:10 +03:00
Maxim Kadushkin 89abc1b364 [forms] fix "tips" component for desktop 2022-08-26 00:32:01 +03:00
JuliaSvinareva 15b76b68b2 [SSE] Search empty cells only by enter 2022-08-25 21:37:10 +03:00
SergeyEzhin b71562f1a8 [DE mobile] Fix Bug 58668 2022-08-25 18:28:40 +03:00
SergeyEzhin 1c0465e27d [DE mobile] Fix Bug 58657 2022-08-25 16:17:10 +03:00
JuliaSvinareva 1f708c1d2f [SSE] Fix bug 58700 2022-08-25 15:21:09 +03:00
Julia Radzhabova 2e04d92d0b
Merge pull request #1913 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-08-24 21:36:19 +03:00
JuliaSvinareva 679ab93d2f [DE PE] Search: show results when document is changed 2022-08-24 21:13:50 +03:00
JuliaSvinareva d57f114315 [SSE] Fix search 2022-08-24 18:19:04 +03:00
SergeyEzhin f11da151d7 [DE mobile] Fix Bug 58673 2022-08-24 17:59:49 +03:00
SergeyEzhin 158cd48e0b [DE mobile] Fix Bug 58665 2022-08-24 17:36:14 +03:00
SergeyEzhin 63d942c238 [DE mobile] Turned on mobile view in start 2022-08-24 17:29:39 +03:00
Julia Radzhabova d6636e0592
Merge pull request #1903 from ONLYOFFICE/fix/pe-custom-path
Fix/pe custom path
2022-08-24 16:38:43 +03:00
JuliaSvinareva 8e5cffa29f [SSE] Fix bug 58632 2022-08-24 15:13:09 +03:00
JuliaSvinareva f6a25870be [SSE] Fix bug 58666 2022-08-24 13:48:59 +03:00
JuliaSvinareva e8ecd37bd6 [DE PE SSE] Fix bug 58591 2022-08-24 13:29:50 +03:00
maxkadushkin 70164ae210
Merge pull request #1910 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-08-24 13:00:59 +03:00
Julia Radzhabova 5245b4247d [PE] Enable parameters when set custom path animation 2022-08-24 01:50:17 +03:00
SergeyEzhin 7d6f4dbd8c [DE mobile] Add snackbar for android 2022-08-23 21:38:23 +03:00
maxkadushkin b3f1a3d677
Merge pull request #1911 from ONLYOFFICE/fix/fix-search
Fix/fix search
2022-08-23 19:08:11 +03:00
JuliaSvinareva d7187b9b8c [SSE] Search: fix scroll in results container 2022-08-23 18:30:49 +03:00
JuliaSvinareva 7e7e72e1f3 [SSE] Search: not replace when document is changed 2022-08-23 18:00:34 +03:00
JuliaSvinareva 7cb996c360 [SSE] Search: fix message when document is changed 2022-08-23 17:33:00 +03:00
SergeyEzhin e096d0cddb [DE mobile] Fix Bug 58658 2022-08-23 16:47:52 +03:00
SergeyEzhin 550c2cbcd2 [DE mobile] Fix Bug 58659 2022-08-23 15:31:59 +03:00
JuliaSvinareva b7ee795365 [SSE] Search: fix actions after query search, refactoring 2022-08-23 15:31:13 +03:00
Julia Radzhabova a77f70553b
Merge pull request #1908 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-08-23 15:26:02 +03:00
maxkadushkin 1689451752
Merge pull request #1907 from ONLYOFFICE/fix/hint-manager
Fix/hint manager
2022-08-23 15:11:19 +03:00
Julia Radzhabova 8662ab8fa4 Fix Bug 58635 + fix for hy language 2022-08-23 15:09:52 +03:00
Julia Radzhabova 352ff51e1a [PE] Fix Bug 58557 2022-08-23 14:29:21 +03:00
JuliaSvinareva db97a50ca5 [DE PE SSE] Fix getting of isDesktopApp 2022-08-23 12:57:19 +03:00
JuliaSvinareva 235af538e8 [SSE] Search: fix updating of selected item when new results are sent 2022-08-23 12:03:31 +03:00
JuliaSvinareva 749ba979f4 [SSE] Search: send selected result item 2022-08-22 18:48:47 +03:00
maxkadushkin a3812a8c3c
Merge pull request #1906 from ONLYOFFICE/feature/fix-bugs
[DE SSE mobile] Correct swiper pagination
2022-08-19 15:40:41 +03:00
SergeyEzhin 54c94998eb [DE SSE mobile] Correct swiper pagination 2022-08-19 15:27:42 +03:00
Maxim Kadushkin eebf427798 [mobile] fix "rtl" option getting 2022-08-18 18:20:17 +03:00
maxkadushkin f3c7f5cfc9
Merge pull request #1901 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-08-18 16:28:38 +03:00
JuliaSvinareva 39f5ce8539 [DE PE SSE] Fix tip position for desktop app 2022-08-17 21:06:56 +03:00
SergeyEzhin 21be71a26d [SSE mobile] Fix Bug 58519 2022-08-17 17:26:46 +03:00
SergeyEzhin e1c10bdbce [DE mobile] Fix Bug 58553 2022-08-17 15:21:43 +03:00
Julia Radzhabova dbf81d215e Merge branch 'release/v7.2.0' into fix/pe-custom-path 2022-08-17 11:45:52 +03:00
Julia Radzhabova 68249ee817
Merge pull request #1905 from ONLYOFFICE/feature-add-icons
add icons
2022-08-17 11:35:23 +03:00
Kirill Volkov 02f73bb277 add icons
Add icons for custom path animation
2022-08-17 11:25:00 +03:00
JuliaSvinareva a9a8d18b62 Merge branch 'release/v7.2.0' into fix/hint-manager 2022-08-17 11:22:51 +03:00
Julia Radzhabova 0318db3fc2
Merge pull request #1904 from ONLYOFFICE/fix/bugfix
Fix file renaming in Firefox (text selection) + Bug 58378
2022-08-17 02:07:15 +03:00
Julia Radzhabova 9e3da1a47e Fix file renaming in Firefox (text selection) + Bug 58378 2022-08-17 02:01:16 +03:00
Julia Radzhabova cb40109089 [PE] Add options for custom path 2022-08-17 01:35:12 +03:00
Julia Radzhabova 201f5b9b64
Merge pull request #1902 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix bug 58378
2022-08-16 18:55:07 +03:00
JuliaSvinareva f10e32be60 [DE PE SSE] Fix bug 58378 2022-08-16 18:46:19 +03:00
SergeyEzhin 3e76a33453 [DE mobile] Fix Bug 58380 2022-08-16 16:32:36 +03:00
SergeyEzhin 4967ec3263 [DE mobile] Fix Bug 58548 2022-08-16 16:22:20 +03:00
maxkadushkin 306fdd4f30
Merge pull request #1900 from ONLYOFFICE/feature/reader-mode
Feature/reader mode
2022-08-16 10:28:34 +03:00
SergeyEzhin 0d24b79e2e [DE mobile] Add restriction for view comments, context menu and short document title 2022-08-15 19:58:06 +03:00
Maxim Kadushkin fb1b85ce19 [forms] fix bug 58423 2022-08-12 21:35:04 +03:00
maxkadushkin b0b11f7eed
Merge pull request #1895 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-08-12 18:38:17 +03:00
Julia Radzhabova 90c15e4c0a
Merge pull request #1899 from ONLYOFFICE/fix/translation
Fix/translation
2022-08-12 17:31:38 +03:00
Julia Radzhabova 2d68439336 [Mobile] Update translation 2022-08-12 17:25:26 +03:00
Julia Radzhabova 6cd8c1a318 Update translation 2022-08-12 17:19:59 +03:00
Maxim Kadushkin 16f0e09949 [mobile] for bug 57560 2022-08-12 14:55:09 +03:00
Julia Radzhabova 1595ba125b
Merge pull request #1897 from ONLYOFFICE/fix/bugfix
Fix date.toLocaleString for invalid language
2022-08-12 00:48:15 +03:00
Julia Radzhabova fc154f4923 Fix date.toLocaleString for invalid language 2022-08-12 00:41:22 +03:00
Julia Radzhabova 8f88e5b12d [PE] Add custom path animation 2022-08-11 18:54:02 +03:00
SergeyEzhin 6ca40588d8 [DE mobile] Restriction of settings in reader mode and add mobile view 2022-08-11 18:39:56 +03:00
JuliaSvinareva d20b161909 Fix position of alt hints for desktop app 2022-08-11 10:44:16 +03:00
maxkadushkin e249c54bdb
Merge pull request #1892 from ONLYOFFICE/feature/fix-bugs
[DE PE SSE mobile] Fix Bug 58422
2022-08-11 09:51:07 +03:00
Julia Radzhabova 9f8af133ac
Merge pull request #1894 from ONLYOFFICE/fix/bugfix
[PE] Fix Bug 58462
2022-08-10 22:37:52 +03:00
Julia Radzhabova b77d633402 [PE] Fix Bug 58462 2022-08-10 22:29:53 +03:00
JuliaSvinareva dc284b212d [DE PE SSE] Fix bug 58434 2022-08-10 20:19:26 +03:00
Julia Radzhabova f07a4ec7fb
Merge pull request #1893 from ONLYOFFICE/fix/bugfix
Fix Bug 58328
2022-08-10 18:02:56 +03:00
SergeyEzhin e61d9657c0 [DE mobile] Add reader mode and change toolbar 2022-08-10 17:59:30 +03:00
Julia Radzhabova c11b0c102d Fix Bug 58328 2022-08-10 17:51:32 +03:00
Maxim Kadushkin 8428e51e6b [desktop] fix for system theme support 2022-08-10 00:55:36 +03:00
SergeyEzhin e8a57204a4 [DE PE SSE mobile] Fix Bug 58422 2022-08-09 19:31:04 +03:00
Maxim Kadushkin e9c2445afe [desktop] fix system theme applying 2022-08-09 18:26:01 +03:00
JuliaSvinareva b45ad86ace [DE PE SSE] Fix bug 58291 2022-08-09 18:19:31 +03:00
maxkadushkin 9ee7a7054f
Merge pull request #1891 from ONLYOFFICE/fix/bugfix
Fix Bug 58432
2022-08-09 15:12:33 +03:00
Julia Radzhabova c1541633e1 Fix Bug 58432 2022-08-09 14:59:50 +03:00
Maxim Kadushkin 84a35ed8b9 [deploy] fix bug 58442 2022-08-08 21:17:52 +03:00
Julia Radzhabova e51c80a284
Merge pull request #1889 from ONLYOFFICE/fix/bugfix
[DE] For Bug 47433: min zoom value = 10%
2022-08-08 14:06:31 +03:00
Julia Radzhabova 4001ad958c [PE] For Bug 47433 2022-08-08 14:00:14 +03:00
Julia Radzhabova c47703abfc [DE] For Bug 47433: min zoom value = 10% 2022-08-08 13:51:48 +03:00
Julia Radzhabova 40e5fa6dbf
Merge pull request #1888 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-08-08 00:20:56 +03:00
Julia Radzhabova 517835a6cd [Mobile] Update translation 2022-08-07 23:58:36 +03:00
Julia Radzhabova 18e8daf898
Rename zh-TW.json to zh-tw.json 2022-08-07 23:55:12 +03:00
Julia Radzhabova 8e05cb20d1
Rename pt-PT.json to pt-pt.json 2022-08-07 23:54:45 +03:00
Julia Radzhabova 66788a4d72 Update translation 2022-08-07 23:52:20 +03:00
Julia Radzhabova 4821cab7ee Fix Bug 57987 2022-08-07 23:38:31 +03:00
maxkadushkin 6b072a7e68
Merge pull request #1878 from ONLYOFFICE/feature/fix-bugs
[DE PE SSE mobile] Fix Bug 58287
2022-08-03 23:29:07 +03:00
SergeyEzhin 95fabab303 [DE mobile] Fix Bug 58050 2022-08-03 15:24:27 +03:00
Julia Radzhabova 6743f5b7a4
Merge pull request #1885 from ONLYOFFICE/fix/bugfix
Fix Bug 58353
2022-07-30 13:14:20 +03:00
Julia Radzhabova 11aadcd058 Fix Bug 58353 2022-07-30 13:08:15 +03:00
Julia Radzhabova d7da31bfad
Merge pull request #1884 from ONLYOFFICE/fix/translation
Fix/translation
2022-07-29 16:40:22 +03:00
Julia Radzhabova 06b7ad2adf [Mobile] Update translation 2022-07-29 16:35:01 +03:00
Julia Radzhabova fa6b8122e6 Update translation 2022-07-29 16:31:21 +03:00
Julia Radzhabova db25f52a41
Merge pull request #1882 from ONLYOFFICE/fix/plugins
Fix/plugins
2022-07-29 16:10:18 +03:00
Julia Radzhabova bed3ba49cd
Merge pull request #1883 from ONLYOFFICE/feature/direct-url
Set directUrl
2022-07-29 14:38:39 +03:00
Julia Radzhabova ed1187a2df Set directUrl 2022-07-29 13:44:00 +03:00
Julia Radzhabova f5065e33b9 Refactoring 2022-07-29 13:27:09 +03:00
Julia Radzhabova 17cdbebc04
Merge pull request #1881 from ONLYOFFICE/fix/bug-58322
Fix Bug 58322
2022-07-29 13:08:42 +03:00
Julia Radzhabova 5eb0125fce Fix Bug 58322 2022-07-29 13:01:05 +03:00
SergeyEzhin a02f73ce7a [DE mobile] Fix Bug 57989 2022-07-29 01:29:26 +03:00
Julia Radzhabova 793a308847
Merge pull request #1879 from ONLYOFFICE/fix/bugfix
Fix Bug 58329
2022-07-29 00:33:32 +03:00
Julia Radzhabova 0c9511419b Fix Bug 58329 2022-07-29 00:10:57 +03:00
Julia Radzhabova 00b63283bd Show back button in the header of the plugin dialog 2022-07-28 22:59:50 +03:00
Julia Radzhabova 7b7a579320 Handle loader parameter for plugins 2022-07-28 19:16:46 +03:00
Julia Radzhabova c161b84cfd Fix close button on 175% scale 2022-07-28 16:16:51 +03:00
SergeyEzhin b924cac46a [DE PE SSE mobile] Fix Bug 58287 2022-07-28 15:55:25 +03:00
maxkadushkin 36b3af56b8
Merge pull request #1873 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-07-28 12:46:52 +03:00
Julia Radzhabova 1a586a055c
Merge pull request #1876 from ONLYOFFICE/fix/bugfix
Fix translation
2022-07-27 18:46:16 +03:00
Julia Radzhabova 66171b77bf Fix translation 2022-07-27 18:40:47 +03:00
Julia Radzhabova 7991f899ac
Merge pull request #1875 from ONLYOFFICE/fix/bugfix
Rename pt-pt and zh-tw json
2022-07-27 18:29:45 +03:00
Julia Radzhabova b37004f2ea Rename pt-pt and zh-tw json 2022-07-27 18:23:40 +03:00
SergeyEzhin 662f6e05f5 [DE mobile] Fix Bug 58091 2022-07-27 15:36:36 +03:00
Julia Radzhabova b5e37f2aed
Merge pull request #1872 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 52634
2022-07-27 15:17:02 +03:00
Maxim Kadushkin 5a661caaf6 [desktop] fix markup for min size window 2022-07-27 00:12:51 +03:00
Julia Radzhabova 77bd151be0
Merge pull request #1874 from ONLYOFFICE/fix/bug-39134
Fix/bug 39134
2022-07-26 23:54:17 +03:00
Julia Radzhabova be6a97cf5f Remove test data 2022-07-26 23:45:51 +03:00
SergeyEzhin 0632518f84 [DE mobile] Fix Bug 58044 2022-07-26 23:16:45 +03:00
Julia Radzhabova 3536d0cf71 [SSE] Fix Bug 52634 2022-07-26 23:14:11 +03:00
SergeyEzhin 47e7fc1062 [DE mobile] Fix Bug 58050 2022-07-26 22:22:28 +03:00
Julia Radzhabova 3d6a2fd0be
Merge pull request #1871 from ONLYOFFICE/fix/bugfix
Fix Bug 58293
2022-07-26 21:21:57 +03:00
Julia Radzhabova 00848880c0 [DE] Add scroll to list menu 2022-07-26 21:15:38 +03:00
Julia Radzhabova ca6e904630 For test numbering 2022-07-26 20:58:53 +03:00
Julia Radzhabova 6a399a49a3 For Bug 39134 2022-07-26 20:49:50 +03:00
Julia Radzhabova 11ec0a349c Fix Bug 58293 2022-07-26 19:42:18 +03:00
SergeyEzhin cc74ab53e1 [SSE mobile] Fix Bug 58279 2022-07-26 15:18:15 +03:00
Julia Radzhabova c7722c4009
Merge pull request #1870 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-25 23:44:07 +03:00
Julia Radzhabova 8ed062a35d Fix Bug 58266 2022-07-25 23:29:49 +03:00
Julia Radzhabova e3499ad0b4 Fix Bug 58276 2022-07-25 23:17:10 +03:00
Julia Radzhabova 5ff1d0f48b [PE][SSE] Fix userLink icon in access right panel 2022-07-25 21:38:45 +03:00
Julia Radzhabova b662f8bdc7 [PE][SSE] Fix Bug 58271 2022-07-25 21:38:10 +03:00
Maxim Kadushkin daa36e10ed [all] fix logo on skeleton loader 2022-07-25 13:53:48 +03:00
Julia Radzhabova 388bf95abf
Merge pull request #1869 from ONLYOFFICE/fix/bugfix
[SSE] Set minimum zoom value to 10%
2022-07-25 13:35:47 +03:00
Julia Radzhabova 77365fe93d [SSE] Set minimum zoom value to 10% 2022-07-25 13:29:50 +03:00
Maxim Kadushkin 0417cd8dd3 Merge branch 'release/v7.2.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.2.0 2022-07-22 21:25:21 +03:00
Maxim Kadushkin bc60fbac77 [deploy] fix copy some assets to package 2022-07-22 21:24:57 +03:00
Julia Radzhabova 805691b9f5
Merge pull request #1867 from ONLYOFFICE/fix/bugfix
FIx Bug 58136
2022-07-22 21:13:28 +03:00
Julia Radzhabova 4d39466042
Merge pull request #1868 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-07-22 20:42:23 +03:00
Julia Radzhabova e015767597 FIx Bug 58136 2022-07-22 17:40:35 +03:00
JuliaSvinareva 55dda4ad47 [DE PE SSE] Fix bug 58193 2022-07-22 17:38:51 +03:00
Julia Radzhabova 773b3fcc64
Merge pull request #1866 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-22 17:23:57 +03:00
Julia Radzhabova f5f90b6948 Update translation 2022-07-22 17:18:16 +03:00
Julia Radzhabova d01c04938f Update translation 2022-07-22 17:08:43 +03:00
JuliaSvinareva f35f86c5bf [DE PE SSE] Fix search styles 2022-07-22 16:26:37 +03:00
JuliaSvinareva 4e91fb42a3 [DE PE SSE] Bug 55070 2022-07-22 15:35:24 +03:00
Julia Radzhabova 71c45112b1 [SSE] Refactoring autofilter dialog 2022-07-22 00:38:39 +03:00
Julia Radzhabova 5a8dac6e71
Merge pull request #1865 from ONLYOFFICE/fix/bugfix
[DE] Fix Bug 55309
2022-07-21 22:42:48 +03:00
Julia Radzhabova e9e7ee438a [DE] Fix Bug 55309 2022-07-21 21:24:44 +03:00
Maxim Kadushkin ecd29e789a [desktop] fix for system theme 2022-07-21 17:10:03 +03:00
Maxim Kadushkin 7c584932a0 [all] fix bug 58156 2022-07-21 00:22:51 +03:00
Julia Radzhabova 24b2153d40
Merge pull request #1863 from ONLYOFFICE/feature-change-icons
Changed icons
2022-07-20 17:07:27 +03:00
Kirill Volkov 02ffa3f480 Changed icons
Changed icon select-all and select-pivot
2022-07-20 15:54:58 +03:00
Julia Radzhabova 13df97c68f
Merge pull request #1862 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-07-19 21:17:34 +03:00
JuliaSvinareva d937172a52 [DE PE SSE] Fix bug 58193 2022-07-19 21:07:25 +03:00
JuliaSvinareva 65e7054b54 [DE PE SSE] Fix bug 58187 2022-07-19 20:15:53 +03:00
Julia Radzhabova db55d9bdec
Merge pull request #1861 from ONLYOFFICE/fix/bugfix
Fix prev. rev. (Bug 58177)
2022-07-19 19:46:09 +03:00
Julia Radzhabova a912f90ef5 Fix prev. rev. (Bug 58177) 2022-07-19 18:57:44 +03:00
Julia Radzhabova 42b903f3ec
Merge pull request #1860 from ONLYOFFICE/fix/bugfix
Fix Bug 58177
2022-07-19 18:28:35 +03:00
Julia Radzhabova 9a038b86fa Fix Bug 58177 2022-07-19 18:21:17 +03:00
Julia Radzhabova 40bdd4b160
Merge pull request #1859 from ONLYOFFICE/fix/compex-form
[DE] Add forms to compex forms
2022-07-19 16:41:02 +03:00
Julia Radzhabova c6079a7467 [DE] Add forms to compex forms 2022-07-19 15:57:22 +03:00
JuliaSvinareva 6c10117086 [DE PE] Fix bug 58181 2022-07-19 15:46:16 +03:00
Julia Radzhabova 221a7dcbff
Merge pull request #1858 from ONLYOFFICE/fix/bugfix
Fix Bug 58125
2022-07-18 22:59:03 +03:00
Julia Radzhabova be8613dc7f Fix Bug 58125 2022-07-18 22:30:11 +03:00
Julia Radzhabova 2b10181a65
Merge pull request #1857 from ONLYOFFICE/fix/bug_57270
Fix/bug 57270
2022-07-18 20:13:02 +03:00
JuliaSvinareva 6d7e7bc7a6 [SSE] Bug 57270 fix id 2022-07-18 19:40:20 +03:00
JuliaSvinareva 11110cd2ac [PE SSE] Fix bug 57270 2022-07-18 19:31:35 +03:00
Julia Radzhabova 327b4ae3f3
Merge pull request #1856 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-18 18:12:34 +03:00
Julia Radzhabova 5b1022ae0c Fix Bug 57916 2022-07-18 18:06:22 +03:00
Julia Radzhabova 36aad573b6 [Mobile] Update translation 2022-07-18 16:25:45 +03:00
Julia Radzhabova 881ff7a96d Update translation. Fix Bug 58007, fix Bug 56542 2022-07-18 16:20:00 +03:00
Julia Radzhabova d3f902979a [PE] Fix Bug 58137 2022-07-18 15:35:54 +03:00
Julia Radzhabova b754493691
Merge pull request #1855 from ONLYOFFICE/fix/fix-bugs
[embed] Fix bug 58131
2022-07-15 20:19:23 +03:00
JuliaSvinareva ade9cbd6b8 [embed] Fix bug 58131 2022-07-15 19:00:23 +03:00
Julia Radzhabova cd0be026e1
Merge pull request #1854 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-14 22:44:48 +03:00
Julia Radzhabova f817e0d722 Fix Bug 58113 2022-07-14 22:39:32 +03:00
Julia Radzhabova 9f9b75f227 Fix Bug 58111 2022-07-14 19:05:56 +03:00
Julia Radzhabova 3a86a6c41a
Merge pull request #1853 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-07-14 11:43:02 +03:00
JuliaSvinareva 22ef02834b [SSE] Fix bug 58085 2022-07-14 11:34:46 +03:00
Maxim Kadushkin 631460edf5 [all] correct external logo color theme dependency 2022-07-14 11:19:36 +03:00
Julia Radzhabova 9350a5e089
Merge pull request #1852 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-14 00:12:35 +03:00
Julia Radzhabova b680a27c2e Fix more section for plugins panel 2022-07-14 00:03:57 +03:00
Julia Radzhabova ab3bb5a4e3 Refactoring "more" section 2022-07-13 22:47:33 +03:00
Julia Radzhabova e5b7031495 Fix Bug 57974 2022-07-13 21:35:11 +03:00
Julia Radzhabova 634c0b6895 Fix more section (small browser size) 2022-07-13 19:30:38 +03:00
JuliaSvinareva e754875081 [SSE] Bug 58085 2022-07-13 17:23:03 +03:00
Maxim Kadushkin c6026fca56 [mobile] extended theme switching 2022-07-13 17:17:05 +03:00
Maxim Kadushkin 8099221efb [mobile] fix bug 58068 2022-07-13 17:15:18 +03:00
Maxim Kadushkin 7e9ccd694a [moblie] use prefix for localStorage items 2022-07-13 16:58:53 +03:00
Julia Radzhabova 55f2c25475 For Bug 57874 2022-07-13 16:34:48 +03:00
JuliaSvinareva 8fd396814c [SSE] Fix disabling of nav buttons in search panel 2022-07-13 16:33:36 +03:00
maxkadushkin 9093eab85f
Merge pull request #1851 from ONLYOFFICE/feature-change-color-table
Changed color tables.
2022-07-13 13:12:18 +03:00
Maxim Kadushkin 024adfe49c [all] fix support for new theme in editors 2022-07-13 13:02:39 +03:00
Julia Radzhabova a7b640b741 Fix Bug 57874 (fix More button for FireFox and IE11) 2022-07-13 12:08:54 +03:00
Julia Radzhabova 148c8a5891 Fix Bug 57454 2022-07-12 23:56:02 +03:00
JuliaSvinareva a3ce08a602 [SSE] Bug 58086 2022-07-12 16:42:56 +03:00
Kirill Volkov 18a49b3479 Changed color tables.
Changed some colors, and added dark-contrast color theme
2022-07-12 16:41:25 +03:00
JuliaSvinareva a2fb77792d [SSE] Bug 58086 2022-07-12 16:12:51 +03:00
JuliaSvinareva 097e2276cb [forms] Fix error when menu item was clicked 2022-07-12 16:00:10 +03:00
JuliaSvinareva 477c0431dd [forms] Fix icon color in dark mode 2022-07-12 15:55:52 +03:00
Julia Radzhabova 98a418f7e3
Merge pull request #1849 from ONLYOFFICE/fix/bug-45622
For Bug 45622
2022-07-12 14:16:06 +03:00
Julia Radzhabova 4e43a14ffd
Merge pull request #1850 from ONLYOFFICE/fix/bugfix
[SSE] Refactoring
2022-07-12 10:50:42 +03:00
Julia Radzhabova fe4ee5a4cb [SSE] Refactoring 2022-07-12 10:43:41 +03:00
Maxim Kadushkin f4aacf7030 [mobile] fix bug 57560 2022-07-12 10:41:09 +03:00
Maxim Kadushkin 06deb0f09d [themes] fix theme flashing when multiple editors open 2022-07-11 23:57:29 +03:00
Julia Radzhabova d1d3275331 Merge branch 'release/v7.2.0' into fix/bug-45622 2022-07-11 19:06:06 +03:00
Julia Radzhabova 2dfad6b6fa
Merge pull request #1848 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-07-11 18:54:40 +03:00
JuliaSvinareva 664daf1183 [PE] Don't show alt hints when preview is visible 2022-07-11 17:54:28 +03:00
Julia Radzhabova 8e6ad3b0c6 For Bug 45622 2022-07-11 17:23:58 +03:00
Julia Radzhabova 0ade982566
Merge pull request #1847 from ONLYOFFICE/fix/bugfix
Fix translation
2022-07-11 17:19:01 +03:00
Julia Radzhabova badb54db7f Fix translation 2022-07-11 17:10:16 +03:00
Julia Radzhabova 6a6042c457
Merge pull request #1846 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-07-11 14:46:53 +03:00
Julia Radzhabova ef1fc5d703 Update help 2022-07-11 14:36:26 +03:00
SergeyEzhin e0e426d40e [DE mobile] Fix Bug 57990 2022-07-11 15:10:16 +04:00
Julia Radzhabova de208a40b0 Fix Bug 57983 2022-07-11 13:02:57 +03:00
papacarlo 9026fc0c29 Merge branch hotfix/v7.1.1 into master 2022-07-11 09:02:50 +00:00
maxkadushkin a5917e5a36
Merge pull request #1844 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-07-11 11:10:15 +03:00
SergeyEzhin d1ca05f2e4
Merge branch 'release/v7.2.0' into feature/fix-bugs 2022-07-10 15:59:10 +04:00
SergeyEzhin 4894bfd853 [DE mobile] Fix Bug 57989 2022-07-10 15:41:33 +04:00
SergeyEzhin 3d66ce521b [DE mobile] Fix Bug 58008 2022-07-10 15:16:19 +04:00
SergeyEzhin 84f70be31d [DE mobile] Fix Bug 58004 2022-07-10 15:02:04 +04:00
SergeyEzhin 4d55d56aa5 [DE mobile] Fix Bug 58047 2022-07-10 14:52:20 +04:00
maxkadushkin e045c0f41c
Merge pull request #1843 from ONLYOFFICE/feature/fix-bugs
[DE PE SSE mobile] Fix Bug 57907
2022-07-08 14:44:14 +03:00
JuliaSvinareva 50ae0992d4 [SSE] Fix layout in search panel 2022-07-07 18:43:13 +03:00
Maxim Kadushkin 05c0ccbfc3 [desktop] debug external help link 2022-07-07 16:29:19 +03:00
SergeyEzhin ea5a4eb28e [DE PE SSE mobile] Fix Bug 57907 2022-07-07 11:54:12 +04:00
Maxim Kadushkin 75433b9a94 [desktop] fix help link 2022-07-07 00:12:45 +03:00
maxkadushkin c6b2d2b403
Merge pull request #1842 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix bug 57942
2022-07-05 14:44:48 +03:00
JuliaSvinareva 32a47d0866 [SSE] Fix bug 57942 2022-07-05 14:09:13 +03:00
maxkadushkin b6bda16dad
Merge pull request #1841 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-07-04 15:51:33 +03:00
SergeyEzhin cfdfe3f49a [PE SSE mobile] Fix Bug 56881 2022-07-04 15:34:24 +04:00
SergeyEzhin b5374af7ce [DE mobile] Added navigation store 2022-07-03 18:32:59 +04:00
SergeyEzhin 68a9a83041 [DE mobile] Fix Bug 57739 2022-07-03 18:31:33 +04:00
Julia Radzhabova 8ca7d5ca94
Merge pull request #1840 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-07-01 23:04:36 +03:00
JuliaSvinareva 26267635f9 [DE PE SSE] Fix bugs 57793, 57794 2022-07-01 19:04:21 +03:00
Julia Radzhabova 116375c46a
Merge pull request #1839 from ONLYOFFICE/fix/translation
Fix/translation
2022-07-01 18:51:23 +03:00
Julia Radzhabova 7bec2b7b13 [DE mobile] Fix translation for sdk 2022-07-01 18:36:31 +03:00
JuliaSvinareva b3803f0978 [DE PE SSE] Fix alt hint hiding by mouse down on menu items 2022-07-01 18:00:59 +03:00
Julia Radzhabova e05a09086b [Mobile] Update translation 2022-07-01 15:34:00 +03:00
Julia Radzhabova 74fbbcbc1e Update translation 2022-07-01 15:21:35 +03:00
Julia Radzhabova f56de4ea12
Merge pull request #1838 from ONLYOFFICE/fix/bug-57826
Fix  Bug 57826
2022-06-30 22:57:37 +03:00
JuliaSvinareva 0afcd11cfb [PE SSE] Add translations 2022-06-30 17:22:02 +03:00
Julia Radzhabova 92ee3ddbbb Fix Bug 57826 2022-06-30 15:57:33 +03:00
Julia Radzhabova a2cddc8deb
Merge pull request #1837 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 57817
2022-06-30 15:01:20 +03:00
Julia Radzhabova 67c6cbb90f [SSE] Fix Bug 57817 2022-06-30 14:41:55 +03:00
maxkadushkin 7bf7e8cc59
Merge pull request #1836 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-06-30 11:27:51 +03:00
SergeyEzhin 288ddae9f8 [DE mobile] For Bug 57739 2022-06-30 11:20:24 +04:00
SergeyEzhin 5c5ffb447a [DE mobile] Fix Bug 57841 2022-06-30 11:17:28 +04:00
Julia Radzhabova 1aa51adb56
Merge pull request #1835 from ONLYOFFICE/fix/bugfix
[DE][PE] Fix subscript/superscript
2022-06-29 21:38:42 +03:00
Julia Radzhabova 6c9af60c8d [DE][PE] Fix subscript/superscript 2022-06-29 21:33:05 +03:00
Julia Radzhabova 652a342983
Merge pull request #1833 from ONLYOFFICE/fix/select-cut-buttons
Fix/select cut buttons
2022-06-29 20:26:30 +03:00
SergeyEzhin b2fc41911a [DE mobile] Fix Bug 57859 2022-06-29 19:10:40 +04:00
SergeyEzhin 55f3b79061 For Bug 57739 2022-06-29 18:48:35 +04:00
Julia Radzhabova eaa7ff43c6 Fix translation 2022-06-29 17:17:43 +03:00
Julia Radzhabova 15e9c655f9 [SSE] Add cut and select all buttons to the toolbar 2022-06-29 14:34:58 +03:00
Julia Radzhabova 3dbd3ba7f7 [PE] Add cut and select all buttons to the toolbar 2022-06-29 13:53:43 +03:00
Julia Radzhabova 793f350a07 [DE] Add cut and select all buttons to the toolbar 2022-06-29 12:37:51 +03:00
Julia Radzhabova d0413a7115
Merge pull request #1832 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-06-28 23:30:27 +03:00
Julia Radzhabova ea3165e491 Fix Bug 57828 2022-06-28 23:23:39 +03:00
Julia Radzhabova 59ee428d0c [DE mobile] Fix Bug 57846 2022-06-28 21:31:03 +03:00
maxkadushkin 6e279d6b34
Merge pull request #1830 from ONLYOFFICE/feature/fix-bug-react
[SSE] Fix Bug 57805
2022-06-28 12:46:37 +03:00
maxkadushkin 48972b04e7
Merge pull request #1831 from ONLYOFFICE/fix/fix-bugs
[SSE] Bug 57795, 57797
2022-06-28 11:32:23 +03:00
ShimaginAndrey f7de33d2c8 [SSE] Fix Bug 57805 2022-06-28 10:18:17 +03:00
JuliaSvinareva e2889c06c3 [SSE] Bug 57795, 57797 2022-06-27 20:31:43 +03:00
Julia Radzhabova 200acbcc4f
Merge pull request #1829 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix replacing empty cells
2022-06-27 17:03:02 +03:00
JuliaSvinareva 31ba6dde66 [SSE] Fix replacing empty cells 2022-06-27 15:56:14 +03:00
Julia Radzhabova 9e9470315e
Merge pull request #1828 from ONLYOFFICE/fix/tips-translation
[SSE] Fix translation
2022-06-27 12:46:15 +03:00
Julia Radzhabova d4df9cfe48 [SSE] Fix translation 2022-06-27 12:27:54 +03:00
Julia Radzhabova 320d33f675
Merge pull request #1826 from ONLYOFFICE/fix/special-keys-tips
Fix/special keys tips
2022-06-27 12:23:24 +03:00
Julia Radzhabova d619ecfdc5
Merge pull request #1825 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-06-27 11:53:40 +03:00
JuliaSvinareva 02d81d88d3 [PE] Bug 57795, 57797 2022-06-27 11:41:34 +03:00
JuliaSvinareva e00199071e [DE PE mobile] Fix bug 57806 2022-06-27 01:44:32 +03:00
JuliaSvinareva 12002da31f [SSE] Fix bug 57792 2022-06-27 00:57:41 +03:00
Julia Radzhabova a57b309b16 Fix translation 2022-06-26 18:18:33 +03:00
Julia Radzhabova bd35c960e5 [Embed] Fix tooltips with special keys on Win/Mac, fix translation 2022-06-26 17:51:56 +03:00
Julia Radzhabova c39cee6880 Fix tooltips with special keys on Win/Mac, fix translation 2022-06-26 13:43:51 +03:00
JuliaSvinareva 45aea82e9f [DE] Bug 57795, 57797 2022-06-25 14:00:17 +03:00
Maxim Kadushkin e42018745a [mobile] fix bug 57796 2022-06-24 22:09:02 +03:00
SergeyEzhin 2c433a9621 [DE mobile] Fix Bug 57755 2022-06-24 20:39:29 +04:00
Julia Radzhabova 7a9876b22a
Merge pull request #1824 from ONLYOFFICE/fix/translation
Fix/translation
2022-06-24 14:09:17 +03:00
Julia Radzhabova 81ee3235a6 [Mobile] Update translation 2022-06-24 13:45:26 +03:00
Julia Radzhabova 7ed712e31b Update translation 2022-06-24 12:32:47 +03:00
Julia Radzhabova d75c7a45f1
Merge pull request #1823 from ONLYOFFICE/fix/bug-57734
Fix Bug 57734
2022-06-24 10:08:18 +03:00
Julia Radzhabova 3378fa50a1 Refactoring 2022-06-24 01:53:28 +03:00
Julia Radzhabova 1d6612ea78 Fix Bug 57734 2022-06-24 01:51:50 +03:00
Julia Radzhabova 3926dfc8ae
Merge pull request #1822 from ONLYOFFICE/fix/bug-57734
Refactoring navigation panel
2022-06-24 01:33:32 +03:00
Julia Radzhabova 2ff9f8537f Refactoring navigation panel 2022-06-23 22:12:36 +03:00
Julia Radzhabova 4c36aee79f
Merge pull request #1821 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-06-23 21:59:59 +03:00
JuliaSvinareva 3b557d5fbd [SSE] Fix bug 57759 2022-06-23 21:26:14 +03:00
JuliaSvinareva 832f9e76c1 [SSE] Fix bug 57758 2022-06-23 21:23:01 +03:00
JuliaSvinareva 932ea3b87d [DE] Fix bug 57754 2022-06-23 21:17:13 +03:00
Maxim Kadushkin cee46a080b [mobile] added build number to version 2022-06-23 18:51:52 +03:00
maxkadushkin 361161478b
Merge pull request #1815 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-06-23 11:13:03 +03:00
SergeyEzhin ff5b1cf090 [SSE mobile] Fix Bug 57699 2022-06-23 00:20:16 +04:00
Julia Radzhabova bf13a6f9eb
Merge pull request #1819 from ONLYOFFICE/fix/translation
Fix translation
2022-06-22 23:03:02 +03:00
Julia Radzhabova 7cf219c500 Fix translation 2022-06-22 21:54:06 +03:00
Julia Radzhabova 12df71d28c
Merge pull request #1817 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-06-22 21:46:00 +03:00
Julia Radzhabova 6bd9d991ee Fix plugins registration 2022-06-22 21:14:44 +03:00
Julia Radzhabova a78dceb1a3 Refactoring diagramm editor 2022-06-22 20:35:09 +03:00
Julia Radzhabova ac2b0546c9
Merge pull request #1813 from ONLYOFFICE/fix/bug-56175
[SSE] Fix Bug 56175
2022-06-22 13:43:14 +03:00
Julia Radzhabova b161cf23e1
Merge pull request #1816 from ONLYOFFICE/fix/bugfix
Refactoring
2022-06-22 12:59:00 +03:00
Julia Radzhabova f85aaa8955 Refactoring 2022-06-22 12:49:40 +03:00
Maxim Kadushkin 6fb230f393 [desktop] send hints for title's buttons 2022-06-22 12:20:17 +03:00
Maxim Kadushkin 05a3e13e47 [mobile] fix bug 57695 2022-06-22 10:35:55 +03:00
ShimaginAndrey 43018a168c [PE] Fix Bug 57708 2022-06-22 10:04:59 +03:00
ShimaginAndrey 618553a03d [DE PE] Fix Bug 57696 2022-06-22 09:33:01 +03:00
Julia Radzhabova 9b132e7a4f
Merge pull request #1814 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix alt hints in Advanced Settings
2022-06-21 22:40:30 +03:00
JuliaSvinareva 31c5c43e80 [SSE] Fix alt hints in Advanced Settings 2022-06-21 22:12:22 +03:00
Julia Radzhabova 80065ba3ec [SSE] Fix Bug 56175 2022-06-21 22:05:31 +03:00
Julia Radzhabova 5410b4e89a
Merge pull request #1812 from ONLYOFFICE/fix/bugfix
[SSE] Refactoring
2022-06-21 10:58:02 +03:00
Julia Radzhabova be66e0fcf0 [SSE] Refactoring 2022-06-21 10:42:57 +03:00
Julia Radzhabova e3114cfa83
Merge pull request #1808 from ONLYOFFICE/fix/form-width
Fix/form width
2022-06-20 23:21:13 +03:00
Julia Radzhabova df94b96b72
Merge pull request #1810 from ONLYOFFICE/fix/merge-hotfix
Fix/merge hotfix
2022-06-20 23:20:26 +03:00
Julia Radzhabova 9e9e35b2fc [DE] Add translation 2022-06-20 23:13:54 +03:00
Julia Radzhabova a08b4737d5 Refactoring 2022-06-20 23:09:49 +03:00
Julia Radzhabova 208eebcd14 Refactoring 2022-06-20 22:47:52 +03:00
Julia Radzhabova 51bac7324a Merge branch 'hotfix/v7.1.1' into fix/merge-hotfix 2022-06-20 21:59:40 +03:00
JuliaSvinareva fe0ab8706b [DE PE SSE] Add getStaticHint method instead of data-hint-desktop attr 2022-06-20 18:40:26 +03:00
ShimaginAndrey 02a88b340a [DE] Fix Bug 57472 2022-06-20 10:34:01 +03:00
Oleg Korshul cd7551f898 Fix typo 2022-06-18 15:57:26 +03:00
Julia Radzhabova a8cf3113f0 [DE] Forms: fix width rule 2022-06-17 17:08:45 +03:00
Julia Radzhabova 171e28af36
Merge pull request #1807 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix search
2022-06-17 16:56:04 +03:00
Julia Radzhabova 2af2ef0c6f
Merge pull request #1805 from ONLYOFFICE/fix/bug-43992
Fix/bug 43992
2022-06-17 15:31:15 +03:00
Julia Radzhabova f047d7ffe7 [Mobile] For bug 43992, 44992, 57181 2022-06-17 14:59:39 +03:00
JuliaSvinareva c31017def8 [DE PE SSE] Fix search 2022-06-17 14:35:25 +03:00
Julia Radzhabova ebd2481c59
Merge pull request #1803 from ONLYOFFICE/fix/ligatures
Fix/ligatures
2022-06-17 14:02:47 +03:00
Julia Radzhabova 5f51a2c7b1 Fix bug 2022-06-17 13:56:56 +03:00
Julia Radzhabova 22cdd218f2
Merge pull request #1801 from ONLYOFFICE/fix/bug-57103
For Bug 57103: fix document name resizing in edit mode
2022-06-17 11:11:22 +03:00
Julia Radzhabova 937fb92e2c [DE] Forms: add width rule option 2022-06-17 00:17:00 +03:00
Maxim Kadushkin 06ef607ed0 [build] fix bug 57560 2022-06-16 23:11:42 +03:00
Julia Radzhabova 69d47e82c9 Refactoring 2022-06-16 23:06:22 +03:00
Julia Radzhabova e1c6a8baf5 [DE] Add ligatures to text settings 2022-06-16 22:59:46 +03:00
Julia Radzhabova 0cd2fa52a6
Merge pull request #1802 from ONLYOFFICE/fix/bugfix
Fix radiobox in advanced settings (set value = false)
2022-06-16 20:51:28 +03:00
Julia Radzhabova 34b3a968d3 For Bug 43992, Bug 57181, Bug 44992 2022-06-16 20:50:54 +03:00
Julia Radzhabova d69654ea1f Fix radiobox in advanced settings (set value = false) 2022-06-16 18:21:34 +03:00
Julia Radzhabova 2db9b044c5
Merge pull request #1800 from ONLYOFFICE/feature/sse-get-link
Feature/sse get link
2022-06-16 14:42:26 +03:00
Julia Radzhabova 32166fefe7
Merge pull request #1799 from ONLYOFFICE/fix/translation
Fix/translation
2022-06-15 23:42:14 +03:00
Julia Radzhabova 5911d9f348 Add armenian language (hy-AM, Armenian (Armenia)) 2022-06-15 22:48:32 +03:00
Maxim Kadushkin 9027653d77 [build] correct common images path 2022-06-15 22:47:01 +03:00
Julia Radzhabova da98262a38 [Mobile] Update translation 2022-06-15 22:42:06 +03:00
Julia Radzhabova 906da95cd4 Update translation 2022-06-15 22:34:48 +03:00
Julia Radzhabova a86fe8a7f6 Refactoring show external message.
[SSE] Show tip when link is copies
2022-06-15 22:09:53 +03:00
Julia Radzhabova 75d6ab646f [SSE] Refactoring set action link event 2022-06-15 20:56:13 +03:00
Maxim Kadushkin 752038c2f4 [mobile] updated some modules (esm) 2022-06-15 20:35:06 +03:00
Julia Radzhabova ec328dd48e [SSE] Get link to cell's range from context menu 2022-06-15 17:35:51 +03:00
Maxim Kadushkin 57a17401bf [mobile] downgrade some libs to fix build crash 2022-06-15 15:47:05 +03:00
Maxim Kadushkin be0a6628e3 [build] removed unused libs 2022-06-15 00:17:30 +03:00
Maxim Kadushkin ddf0541ef2 Merge branch 'release/v7.2.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.2.0 2022-06-15 00:13:31 +03:00
Maxim Kadushkin 224482cd47 [mobile] update dependencies 2022-06-15 00:12:36 +03:00
Julia Radzhabova 02cff6f9d5
Merge pull request #1798 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-06-14 21:09:21 +03:00
JuliaSvinareva f8c92f4b70 [DE PE SSE] Fix open search using alt + key, fix repeated hints 2022-06-14 20:55:24 +03:00
Julia Radzhabova 83e174c0e1
Merge pull request #1797 from ONLYOFFICE/fix/jszip
Remove jszip, jszip-utils
2022-06-14 19:06:18 +03:00
Julia Radzhabova b176e9a862 Remove jszip, jszip-utils 2022-06-14 17:47:35 +03:00
Julia Radzhabova b188798121
Merge pull request #1791 from ONLYOFFICE/fix/form-search
Fix/form search
2022-06-14 13:32:51 +03:00
maxkadushkin bd299ddf4a
Merge pull request #1770 from ONLYOFFICE/feature/refactoring-help
refactoring for folder help
2022-06-14 11:26:36 +03:00
OVSharova 15dc19bc33 fix bugs 2022-06-13 18:33:25 +03:00
OVSharova f2e0c106d2 replacement img for PE 2022-06-13 17:40:14 +03:00
OVSharova 16e0580acc replacement img 2022-06-11 03:46:46 +03:00
OVSharova d3d9d42686 Merge branch 'feature/refactoring-help' of https://github.com/ONLYOFFICE/web-apps into feature/refactoring-help 2022-06-11 03:07:04 +03:00
OVSharova b1443b22f8 update helpsprite 2022-06-11 02:58:30 +03:00
JuliaSvinareva b372667e66 [DE PE SSE] Fix header of plugin panel 2022-06-10 18:55:12 +03:00
Julia Radzhabova 8009cfd918
Merge pull request #1795 from ONLYOFFICE/fix/translation
Fix/translation
2022-06-10 18:28:09 +03:00
Julia Radzhabova 57f3d5e436
Merge pull request #1796 from ONLYOFFICE/fix/bug-56817
For Bug 56817 (depends on Bug 49947)
2022-06-10 18:10:28 +03:00
Julia Radzhabova 713eb1f972 [Mobile] Update translation 2022-06-10 18:04:32 +03:00
Julia Radzhabova 33a09c8629 Update translation 2022-06-10 18:00:17 +03:00
JuliaSvinareva a7944cfa79 [SSE] Fix search in mail merge mode 2022-06-10 17:36:11 +03:00
Julia Radzhabova e1767db5f6 For Bug 56817 (depends on Bug 49947) 2022-06-10 16:03:03 +03:00
Julia Radzhabova 73e3b370a5 For Bug 57103: fix document name resizing in edit mode 2022-06-10 13:01:00 +03:00
Maxim Kadushkin 74721b22f1 [help] extended instructions 2022-06-10 12:49:32 +03:00
maxkadushkin 2e43d25387
Merge pull request #1794 from ONLYOFFICE/feature/update-react
Feature/update react
2022-06-09 23:47:46 +03:00
JuliaSvinareva 0c543de506 [DE PE SSE] Add data-hint-desktop attr 2022-06-09 23:39:37 +03:00
SergeyEzhin 6c79e087d7 Updated package.json 2022-06-09 18:14:39 +04:00
SergeyEzhin d3d7636b47 [DE PE SSE mobile] Updated react and react-dom 2022-06-09 18:11:49 +04:00
maxkadushkin c590641e42
Merge pull request #1790 from ONLYOFFICE/feature/desktop-external-help-support
Feature/desktop external help support
2022-06-09 16:03:48 +03:00
maxkadushkin 9d3508dc4b
Merge branch 'release/v7.2.0' into feature/desktop-external-help-support 2022-06-09 16:03:39 +03:00
JuliaSvinareva 287c956f50 [embed][forms] Add translations 2022-06-09 12:09:36 +03:00
Maxim Kadushkin 654f14192f [desktop] support for external help in SSE and PE 2022-06-09 10:39:27 +03:00
Maxim Kadushkin 42e2ae9277 [desktop] refactoring 2022-06-09 10:38:32 +03:00
Julia Radzhabova 36d8b85807
Merge pull request #1789 from ONLYOFFICE/fix/left-menu-refactoring
Fix/left menu refactoring
2022-06-09 00:40:33 +03:00
Julia Radzhabova 568a2d300b Refactoring 2022-06-09 00:31:42 +03:00
Julia Radzhabova 79428de692 Fix click on buttons when left menu is hidden 2022-06-09 00:09:42 +03:00
JuliaSvinareva 8955051b35 [forms] Make search 2022-06-09 00:07:07 +03:00
Julia Radzhabova 14442d55d8 Fix search panel when leftMenu is hidden 2022-06-08 23:31:46 +03:00
JuliaSvinareva 393a5fb7ee [DE PE SSE embed] Move search into context menu, fix icon-menu-sprite 2022-06-08 23:25:35 +03:00
Julia Radzhabova ee6448c8c5 [SSE] Refactoring left menu (show/hide) 2022-06-08 23:10:28 +03:00
Julia Radzhabova ad77c48841 [DE][PE] Refactoring left menu (show/hide) 2022-06-08 20:59:14 +03:00
Julia Radzhabova 83fb5c21a3 [DE] Refactoring left menu (show/hide) 2022-06-08 17:36:18 +03:00
Julia Radzhabova f8249a4106
Merge pull request #1788 from ONLYOFFICE/fix/bugfix
Add customer->phone info to About
2022-06-08 12:55:56 +03:00
Julia Radzhabova 87caaddd4c Add customer->phone info to About 2022-06-08 12:49:01 +03:00
OVSharova 272f4e8a92 fix bug 2022-06-08 04:30:29 +03:00
OVSharova f9c7cc34a2 moove symbols to common 2022-06-08 04:13:43 +03:00
OVSharova 7d5602841d images for sprite move to src 2022-06-08 02:07:10 +03:00
Julia Radzhabova 03afbac58f
[DE mobile] Fix Bug 57487 (#1787) 2022-06-07 23:51:27 +03:00
Maxim Kadushkin 6c8da1d7d9 [build] skip to copy some images for help 2022-06-07 19:41:41 +03:00
Maxim Kadushkin 836e3bd251 [build] skip to copy some images for help 2022-06-07 19:29:03 +03:00
JuliaSvinareva 218f6c4925 [forms] Add search bar 2022-06-07 17:57:01 +03:00
Maxim Kadushkin 251d07e1c9 [mobile] fix to support FF78 2022-06-07 12:54:06 +03:00
JuliaSvinareva a0be79bdee
[SSE] Bug 57488 (#1786) 2022-06-07 10:27:50 +03:00
Julia Radzhabova 434493654e
Merge pull request #1784 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-06-06 20:47:15 +03:00
Julia Radzhabova 821819c906 Merge branch 'release/v7.2.0' into fix/bugfix 2022-06-06 20:37:48 +03:00
Maxim Kadushkin 2a55a454c5 [themes] fix app launch 2022-06-06 19:26:24 +03:00
Maxim Kadushkin 74041ab373 [mobile] debug of app launch 2022-06-06 19:04:47 +03:00
Maxim Kadushkin 2fdde0255c [mobile] add missed source 2022-06-06 19:03:29 +03:00
Julia Radzhabova 6e34174770 [Mobile] Bug 57479 2022-06-06 17:16:42 +03:00
Julia Radzhabova f9cb4eca1a Fix Bug 57479 2022-06-06 17:08:14 +03:00
Julia Radzhabova fa26dae5ab
Merge pull request #1782 from ONLYOFFICE/fix/bug-42393
Fix/bug 42393
2022-06-06 14:39:03 +03:00
OVSharova 4c5913ad4d extract gif with plugins to shared directory 2022-06-06 04:17:16 +03:00
OVSharova 3cef4b1a74 department of general images 2022-06-06 03:38:37 +03:00
Maxim Kadushkin 415933f591 [deploy] update dependencies 2022-06-04 14:37:30 +03:00
maxkadushkin 3a6bdbf219
Merge pull request #1737 from ONLYOFFICE/dependabot/npm_and_yarn/build/sprites/handlebars-4.7.7
Bump handlebars from 4.5.3 to 4.7.7 in /build/sprites
2022-06-04 14:32:36 +03:00
maxkadushkin b3669e3750
Merge pull request #1739 from ONLYOFFICE/dependabot/npm_and_yarn/build/sprites/ajv-6.12.6
Bump ajv from 6.10.2 to 6.12.6 in /build/sprites
2022-06-04 14:30:43 +03:00
Maxim Kadushkin 72ab73d0f3 [deploy] updated grunt module 2022-06-04 14:16:09 +03:00
Maxim Kadushkin 730ea07cc6 [themes] fix for View tab 2022-06-03 22:03:29 +03:00
maxkadushkin 66dc610faf
[desktop] debug for hints 2022-06-03 20:23:13 +03:00
Julia Radzhabova f17c824f1e
[PE] Fix Bug 57473 (#1780) 2022-06-03 18:59:19 +03:00
Julia Radzhabova 955f60e672
Merge pull request #1779 from ONLYOFFICE/fix/translation
Fix/translation
2022-06-03 17:32:39 +03:00
Julia Radzhabova 0b824b9dcb Fix Bug 57473 2022-06-03 17:25:59 +03:00
Julia Radzhabova e4e7fb0c0d [Mobile] Update translation 2022-06-03 17:15:27 +03:00
Julia Radzhabova 3e5533fe06 Update translation 2022-06-03 16:45:02 +03:00
Julia Radzhabova 9566b6d0cc [PE][SSE] Fix Bug 42393 2022-06-03 15:32:57 +03:00
Maxim Kadushkin c97440e676 [themes] debug for support of external themes 2022-06-03 11:39:27 +03:00
Maxim Kadushkin b9ba820887 [desktop] support for external help files 2022-06-02 13:57:20 +03:00
Julia Radzhabova 704a251941
Merge pull request #1775 from ONLYOFFICE/fix/fix-bugs
[SSE] Change header of the Spelling panel
2022-06-02 11:42:07 +03:00
JuliaSvinareva d20c9f86a9 [SSE] Change header of the Spelling panel 2022-06-02 01:16:19 +03:00
Julia Radzhabova bb7f081dcf [DE] For Bug 42393 2022-06-01 22:49:52 +03:00
papacarlo da62161344 Merge branch hotfix/v7.1.1 into master 2022-06-01 16:22:07 +00:00
Julia Radzhabova 4afaf8178b
Merge pull request #1773 from ONLYOFFICE/feature/add-ole-sse
Feature/add ole sse
2022-06-01 17:23:45 +03:00
Maxim Kadushkin bdd98d2dbc [mobile] add missed source 2022-06-01 15:22:37 +03:00
Julia Radzhabova ec50606aa5 Merge branch 'release/v7.2.0' into feature/add-ole-sse 2022-06-01 14:31:53 +03:00
Julia Radzhabova 65d2d1796a [SSE] Fix visible area 2022-06-01 14:11:02 +03:00
Julia Radzhabova 9763753203
Merge pull request #1772 from ONLYOFFICE/feature/edit-ole-toolbar
Feature/edit ole toolbar
2022-06-01 13:02:35 +03:00
Julia Radzhabova 06a52933e7 [SSE] Fix hints for ole editor 2022-06-01 12:06:56 +03:00
Maxim Kadushkin 9a5a39ab0e [mobile] debug of app launch 2022-06-01 11:22:33 +03:00
Julia Radzhabova b4ebaa433c [SSE] Ole editor: fix status bar 2022-06-01 00:03:59 +03:00
Julia Radzhabova 15da5e2873 [SSE] Add translation 2022-05-31 23:48:59 +03:00
Julia Radzhabova 2523a493a9 [SSE] Change toolbar in ole editing 2022-05-31 23:46:19 +03:00
Julia Radzhabova 03cdfcfe56
Merge pull request #1771 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-05-31 20:47:10 +03:00
JuliaSvinareva acf7f5c9b7 [DE PE SSE] Fix hint manager 2022-05-31 18:13:34 +03:00
JuliaSvinareva a981170ba4 [DE] Fix closing of search by esc in mail merge mode 2022-05-31 16:50:11 +03:00
OVSharova ff75f55742 replacing img with div 2022-05-31 16:05:19 +03:00
Julia Radzhabova cbb8545bf7 [SSE] Change toolbar for ole editing 2022-05-31 11:34:43 +03:00
Julia Radzhabova 1d2737224f
Merge pull request #1769 from ONLYOFFICE/fix/fix-bugs
[DE] Fix search in edit mail merge mode
2022-05-30 20:55:47 +03:00
JuliaSvinareva 57443701d6 [DE] Fix search in edit mail merge mode 2022-05-30 20:46:20 +03:00
Julia Radzhabova 81e5847eb1
Merge pull request #1768 from ONLYOFFICE/fix/de-form-tag
[DE] Add tag for form fields
2022-05-30 19:21:38 +03:00
Julia Radzhabova 8a41cc0904 [DE] Add tag for form fields 2022-05-30 19:11:11 +03:00
OVSharova 974dbbe9c9 move images 2022-05-30 04:11:44 +03:00
OVSharova 2da1de0b03 Merge branch 'develop' into feature/refactoring-help 2022-05-30 02:37:40 +03:00
Julia Radzhabova ea86ef5c73 [SSE] Refactoring visible area 2022-05-27 23:21:27 +03:00
Maxim Kadushkin 98c2b08ec9 [mobile] fix bug 57315 2022-05-27 21:22:15 +03:00
Oleg Korshul fe1e736ae4 For bug 57315 2022-05-27 21:22:15 +03:00
Julia Radzhabova 63c83192b6 [SSE] Ole editor: edit visible area 2022-05-27 21:04:06 +03:00
Julia Radzhabova c946104829 Add translation 2022-05-27 19:38:33 +03:00
Julia Radzhabova 8b76a04826 [PE] Add ole object 2022-05-27 19:36:13 +03:00
Julia Radzhabova d5732f21a4 [DE] Add ole object 2022-05-27 19:36:09 +03:00
Julia Radzhabova 2cb80179dd Update help 2022-05-27 17:43:19 +03:00
Julia Radzhabova e9a0798327
Merge pull request #1766 from ONLYOFFICE/fix/translation
Fix/translation
2022-05-27 16:20:22 +03:00
Julia Radzhabova f36340aad9 [Mobile] Update translation 2022-05-27 16:12:00 +03:00
Julia Radzhabova 2baf5dc760 Add languages: ms (ms-MY, "Malay (Malaysia)"), eu (eu-ES, "Basque (Basque)) 2022-05-27 15:52:05 +03:00
Julia Radzhabova a1bb1a0715 Update translation 2022-05-27 15:34:24 +03:00
Julia Radzhabova f0481bbd77
Merge pull request #1765 from ONLYOFFICE/fix/bugfix
Fix Bug 57321
2022-05-27 12:31:39 +03:00
Julia Radzhabova 113545bea7 Fix Bug 57321 2022-05-26 22:36:49 +03:00
Julia Radzhabova b0608d6679
Merge pull request #1763 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix search
2022-05-26 18:01:37 +03:00
JuliaSvinareva 54ddb63473 [DE PE SSE] Fix search 2022-05-26 17:51:00 +03:00
Julia Radzhabova 4b56a2a2a3
Merge pull request #1762 from ONLYOFFICE/develop
Develop
2022-05-26 15:19:58 +03:00
Julia Radzhabova 9ec4b5c9ec
Merge pull request #1759 from ONLYOFFICE/feature/Bug_20653
Feature/bug 20653
2022-05-26 13:18:04 +03:00
Maxim Kadushkin 6fe2adf8fd [desktop] refactoring 2022-05-25 16:48:30 +03:00
Maxim Kadushkin 5afb147034 [mobile] refactoring 2022-05-25 14:58:36 +03:00
Julia Radzhabova f3b95b90c9 Refactoring 2022-05-25 13:18:22 +03:00
Julia Radzhabova 9ab5360cb0 Merge remote-tracking branch 'origin/develop' into develop 2022-05-25 13:14:04 +03:00
Julia Radzhabova 8657ca0658 Merge branch 'hotfix/v7.1.1' into develop 2022-05-25 13:13:03 +03:00
Maxim Kadushkin c28efe955a [all] debug for IE 2022-05-25 12:32:18 +03:00
Maxim Kadushkin 4ea3cd4141 Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2022-05-25 12:31:20 +03:00
JuliaSvinareva 78386d2d71 [PE embed] Hide search 2022-05-25 11:48:57 +03:00
JuliaSvinareva 4ba813f169
Merge branch 'develop' into feature/Bug_20653 2022-05-25 11:14:24 +03:00
Julia Radzhabova 4602929b60 Fix Bug 57313 2022-05-25 00:54:48 +03:00
Julia Radzhabova f12cc5c35e
Merge pull request #1758 from ONLYOFFICE/fix/bug-57315
Fix/bug 57315
2022-05-25 00:12:21 +03:00
Julia Radzhabova 554ffe8f51 [Mobile] Refactoring 2022-05-24 23:45:18 +03:00
Maxim Kadushkin 5aaffc94e4 Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2022-05-24 20:53:16 +03:00
Maxim Kadushkin b7c3927f94 [desktop] keydown event to app when hints is showed 2022-05-24 20:53:04 +03:00
Julia Radzhabova 50c5840755 [PE mobile][SSE mobile] Bug 57315 2022-05-24 20:43:30 +03:00
Julia Radzhabova c6437146a7 [DE mobile] Refactoring fonts list 2022-05-24 20:12:00 +03:00
Julia Radzhabova 8ad9c0296b
Merge pull request #1757 from ONLYOFFICE/fix/bugfix
[DE] Hide "Create new" for offline pdf/djvu/xps files
2022-05-24 19:29:03 +03:00
Julia Radzhabova bf0b45cef9 [DE mobile] Bug 57315 2022-05-24 18:42:12 +03:00
Julia Radzhabova 9281c8aec0 [DE] Hide "Create new" for offline pdf/djvu/xps files 2022-05-24 16:22:37 +03:00
JuliaSvinareva 1ea8e4c455 [SSE] Fix results hiding after replace all 2022-05-24 13:02:06 +03:00
JuliaSvinareva 7a8469925e [DE PE SSE] Fix search restarting 2022-05-24 12:46:59 +03:00
maxkadushkin 3225ab3d0a
Merge pull request #1724 from ONLYOFFICE/feature/rtl-support
Feature/rtl support
2022-05-24 10:56:34 +03:00
SergeyEzhin 6ba323697a
Merge branch 'develop' into feature/rtl-support 2022-05-24 11:48:11 +04:00
Maxim Kadushkin 1f15df4fee [desktop] connection hints with app 2022-05-24 00:13:42 +03:00
Maxim Kadushkin 1817bb2142 [embed] debug 2022-05-24 00:10:09 +03:00
maxkadushkin 4eb121d956
Merge pull request #1751 from ONLYOFFICE/feature/Bug_46685
[SSE mobile] Added cell styles view
2022-05-24 00:00:35 +03:00
maxkadushkin a8afe5ce92
Merge pull request #1755 from ONLYOFFICE/feature/Bug_46686
Feature/bug 46686
2022-05-23 23:59:55 +03:00
Julia Radzhabova a3d90a727a
Merge pull request #1756 from ONLYOFFICE/fix/bug-54642
Fix/bug 54642
2022-05-23 20:52:47 +03:00
Julia Radzhabova bd778681b3 [Mobile] Fix translation 2022-05-23 20:40:43 +03:00
Julia Radzhabova 55951deaf9 [Mobile] Update translation 2022-05-23 20:31:25 +03:00
Julia Radzhabova ab0d4a4982 [Mobile] For Bug 54642. Fix macros autostart 2022-05-23 19:16:02 +03:00
Julia Radzhabova 7a52d21254 [Mobile] For Bug 54642 2022-05-23 16:27:13 +03:00
SergeyEzhin fe4cc16171 [SSE mobile] Correct translation 2022-05-23 14:06:20 +04:00
SergeyEzhin b51fd11bf2 [DE mobile] Correct translation 2022-05-23 14:04:17 +04:00
SergeyEzhin 3a58c8e9f3 [DE mobile] Correct removing custom style 2022-05-20 18:46:54 +04:00
maxkadushkin 4f21c9eb56
Merge pull request #1754 from ONLYOFFICE/feature/fix-bug-react
[DE] Fix Bug 54137
2022-05-20 15:32:33 +03:00
maxkadushkin 1eba533dd9
Merge pull request #1750 from ONLYOFFICE/fix/bug-57175
Bug 57175
2022-05-20 14:13:58 +03:00
maxkadushkin 30d8c1b4f8
Merge pull request #1749 from ONLYOFFICE/fix/bug-57174
Bug 57174
2022-05-20 14:09:59 +03:00
JuliaSvinareva b68c5a7f0c [DE PE SSE] Fix search panel after show 2022-05-20 14:03:21 +03:00
Julia Radzhabova f2d4e4b2a3 [PE][SSE] Bug 54642: handle several macros requests 2022-05-20 13:24:17 +03:00
Julia Radzhabova fa5908bfa5 [DE] Fix style name (remove spaces) 2022-05-20 12:39:04 +03:00
Julia Radzhabova ad7418728a
Merge pull request #1753 from ONLYOFFICE/fix/bug-56735
Fix Bug 56735
2022-05-20 11:21:46 +03:00
Julia Radzhabova 1164206055 Fix Bug 56735 2022-05-20 00:01:09 +03:00
Julia Radzhabova a8a99875aa [DE] Bug 54642: handle several macros requests 2022-05-19 21:11:36 +03:00
Julia Radzhabova 6a0509e1ea
Merge pull request #1752 from ONLYOFFICE/fix/bug_56029
Fix/bug 56029
2022-05-19 19:36:08 +03:00
SergeyEzhin 757470702d [SSE mobile] Added cell styles view 2022-05-19 20:24:54 +04:00
Julia Radzhabova abd7a711b1 [DE PE SSE] Bug 56029: fix help 2022-05-19 19:20:36 +03:00
OVSharova 22384cf91e fix bug 2022-05-19 18:36:16 +03:00
OVSharova 4f9d1d36ba fix bug 2022-05-19 18:15:58 +03:00
Julia Radzhabova ef00b3c7b6 For Bug 54642 2022-05-19 17:54:49 +03:00
OVSharova 9050e375d2 fix bug 2022-05-19 17:18:05 +03:00
JuliaSvinareva 8a6b2a003c [DE PE SSE] Fix bug 56029 2022-05-19 17:12:28 +03:00
maxkadushkin 3eb8eb0201
Merge pull request #1748 from ONLYOFFICE/feature/canvas-icon-bull-numbers
Feature/canvas icon bull numbers
2022-05-19 12:56:02 +03:00
SergeyEzhin aaf5c48990 [DE mobile] Added creating and deleting custom styles 2022-05-18 20:21:46 +04:00
ShimaginAndrey 146f8348a8 [DE PE] Refactoring component - 'PageBulletsAndNumbers' 2022-05-18 16:05:36 +03:00
JuliaSvinareva 18211b280a
Merge pull request #1747 from ONLYOFFICE/fix/bug_55786
[DE PE SSE] Fix bug 55786
2022-05-18 14:36:10 +03:00
Julia Radzhabova 9357bc445a
Merge pull request #1746 from ONLYOFFICE/feature/pe-document-holder
Feature/pe document holder
2022-05-18 14:16:43 +03:00
Julia Radzhabova 38d6c01c35 [PE] Fix bugs 2022-05-18 13:49:22 +03:00
Julia Radzhabova 63c39b1e87 [PE] Refactoring context menu 2022-05-18 00:53:02 +03:00
Julia Radzhabova 4b22947f81 [PE] Refactoring context menu 2022-05-18 00:25:25 +03:00
JuliaSvinareva 2eda10c7f6 [DE PE SSE] Fix bug 55786 2022-05-17 18:55:18 +03:00
Maxim Kadushkin ba4e125ba1 [desktop] refactoring 2022-05-17 17:07:01 +03:00
Julia Radzhabova 4142f62895 [PE] DocumentHolder: separate view/controller 2022-05-17 15:29:01 +03:00
ShimaginAndrey c4d35e03a8 [DE PE] Render icons through canvas 2022-05-17 14:26:50 +03:00
maxkadushkin 42a1e0e1ee
Merge pull request #1745 from ONLYOFFICE/feature/hotfix-ver-7.1.1
Feature/hotfix ver 7.1.1
2022-05-17 11:49:02 +03:00
Julia Radzhabova a0b1880e8d
Merge pull request #1744 from ONLYOFFICE/fix/for-hotfix
Send permissions to sdk as is
2022-05-17 11:29:21 +03:00
Julia Radzhabova d113b0d474
Merge pull request #1743 from ONLYOFFICE/fix/binaryFontsSprite
Fix/binary fonts sprite
2022-05-16 21:18:43 +03:00
Julia Radzhabova e5b1a073f9
Merge pull request #1742 from ONLYOFFICE/fix/helps-hotfix
Fix/helps hotfix
2022-05-16 20:37:12 +03:00
Julia Radzhabova 6fcb7f478e Send permissions to sdk as is 2022-05-16 19:53:13 +03:00
Julia Radzhabova 5f743d0645 Fix help 2022-05-16 19:34:30 +03:00
JuliaSvinareva 614a9fa1cc [SSE] Add tooltips in search results 2022-05-16 19:30:18 +03:00
SergeyEzhin 30a5baea55 [DE mobile] Add creating new text style 2022-05-16 18:04:45 +04:00
Julia Radzhabova afcf5b68f7 Update help 2022-05-16 16:43:03 +03:00
Julia Radzhabova 40061edafa Merge branch 'release/v7.1.0' into develop 2022-05-15 11:25:31 +03:00
SergeyEzhin 3300e6c82c [DE mobile] Change view edit paragraph and add creating new text style 2022-05-14 20:52:55 +04:00
Oleg Korshul 378c4f3431 Move alphaMask generation to getImage method 2022-05-14 17:36:18 +03:00
Oleg Korshul 4ec247d6ce Refactoring 2022-05-14 16:34:00 +03:00
JuliaSvinareva 1e0e6b95d3 [SSE] Fix search 2022-05-13 20:53:11 +03:00
Oleg Korshul 4e1839eaf3 Add support binary format for fonts sprite 2022-05-13 20:44:32 +03:00
Julia Radzhabova b0c8e11fca Merge branch 'feature/pe-image-bullet' into develop 2022-05-13 14:01:51 +03:00
Julia Radzhabova ede44512e5 [PE][SSE] Fix updating tip for custom bullet 2022-05-13 13:47:53 +03:00
Julia Radzhabova fd386eea95 [PE][SSE] Fix custom bullets 2022-05-13 12:56:47 +03:00
Julia Radzhabova 5ab9ea3550 [PE][SSE] Change tooltip for custom bullet 2022-05-13 00:07:26 +03:00
Julia Radzhabova 0f883b3c4e [SSE] Draw custom bullents in context menu 2022-05-12 22:06:23 +03:00
Julia Radzhabova affb23683a [PE] Fix custom bullets 2022-05-12 19:10:31 +03:00
dependabot[bot] 3c6b0aa81c
Bump ajv from 6.10.2 to 6.12.6 in /build/sprites
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 14:42:43 +00:00
dependabot[bot] 610b24415f
Bump handlebars from 4.5.3 to 4.7.7 in /build/sprites
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 14:42:20 +00:00
papacarlo 8ab0cb8d10 Merge branch release/v7.1.0 into master 2022-05-12 13:21:07 +00:00
Julia Radzhabova 962c7193ee [PE] Draw custom bullets in toolbar 2022-05-12 14:07:13 +03:00
ShimaginAndrey 46d22a499f [DE PE SSE] Adding rtl icons and refactoring 2022-05-12 12:39:11 +03:00
Julia Radzhabova 4c7fffd844 [Mobile] Fix Bug 57115 2022-05-12 00:19:26 +03:00
Julia Radzhabova 764822fde2 [Header] FIx paddings on show/hide tabs 2022-05-11 23:48:55 +03:00
Julia Radzhabova 3495a86038 Fix compact header 2022-05-11 23:18:51 +03:00
Julia Radzhabova bc7d529819 Fix previous merge 2022-05-11 23:16:07 +03:00
Julia Radzhabova b5ab67917b
Merge pull request #1719 from ONLYOFFICE/feature/long_title
Long title and Bug 56759
2022-05-11 23:03:19 +03:00
Julia Radzhabova db1e6c4496 Refactoring header (show/hide buttons in header, resize) 2022-05-11 21:40:00 +03:00
JuliaSvinareva 3e2782e12f [SSE] Remove First sheet and Last sheet buttons in statusbar 2022-05-11 19:55:52 +03:00
ShimaginAndrey abae3c7a49 [DE] Fix Bug 54137 2022-05-11 16:49:23 +03:00
Julia Radzhabova 453c1e4e8d Refactoring 2022-05-11 16:08:38 +03:00
Julia Radzhabova 3202694bd9 Fix crypto icon 2022-05-11 16:08:19 +03:00
Julia Radzhabova 9bd6fc37cc
Fix Bug 57110 (#1734) 2022-05-11 14:37:44 +03:00
Julia Radzhabova 1d126c12c6 [Header] Fix hover when canRename = false 2022-05-11 13:51:36 +03:00
Maxim Kadushkin 2d167d2405 [all] fix locked rename state 2022-05-09 22:21:21 +03:00
Maxim Kadushkin 2993cc8bc5 Merge branch 'feature/long_title' of https://github.com/ONLYOFFICE/web-apps into feature/long_title 2022-05-09 20:04:04 +03:00
catbasilio c0ebd82c05
Merge pull request #1732 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-05-06 17:41:46 +03:00
Julia Radzhabova feb8ba0b56 [PE] Draw custom bullets 2022-05-06 17:27:45 +03:00
JuliaSvinareva 936d7d4c50
Merge pull request #1733 from ONLYOFFICE/fix/fix-input-message
Fix/fix input message
2022-05-06 15:50:59 +03:00
Julia Radzhabova 648f0bdec7 Fix for IE11 2022-05-06 11:52:33 +03:00
Julia Radzhabova 78e0cbaad7 Fix styles for IE11 2022-05-06 11:34:05 +03:00
Julia Radzhabova 6f22f43245 Fix Bug 57038 2022-05-06 11:33:48 +03:00
Julia Radzhabova 65e574112b [PE] Draw bullets 2022-05-06 10:34:00 +03:00
Julia Radzhabova 2e6142d4eb
Merge pull request #1731 from ONLYOFFICE/feature/de-document-holder
Feature/de document holder
2022-05-05 23:44:12 +03:00
Julia Radzhabova 06c04a7ac4 Fix bug 2022-05-05 21:28:29 +03:00
JuliaSvinareva a872878e9c [SSE] Fix bug 53573 2022-05-05 20:54:22 +03:00
Julia Radzhabova 97d3628998 Fix rename in header in view/edit and compactHeader mode 2022-05-05 19:18:30 +03:00
JuliaSvinareva ae3960ba0c [SSE] Fix bug 53571 2022-05-05 17:37:25 +03:00
Julia Radzhabova 7c7d91998f [DE] Refactoring context menu 2022-05-04 23:18:05 +03:00
Julia Radzhabova 6877a0ad81 [DE] Refactoring 2022-05-04 22:59:02 +03:00
Julia Radzhabova bfa0b138a5 Fix undo in comment mode 2022-05-04 22:34:10 +03:00
Julia Radzhabova 16587b4b44 [DE] Refactoring text and table context menu 2022-05-04 22:18:04 +03:00
maxkadushkin 0f986d9775
Merge pull request #1729 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-05-04 18:14:19 +03:00
maxkadushkin b5455d5825
Merge pull request #1730 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-05-04 18:02:35 +03:00
SergeyEzhin 83bf773cf6 [SSE mobile] Fix Bug 56968 2022-05-04 18:20:31 +04:00
Julia Radzhabova 4d3ce4c3da [DE] Refactoring context menu for image 2022-05-04 16:51:53 +03:00
Andrey Shimagin 5736d8f92e [PE] Fix Bug 56966 2022-05-04 16:25:00 +03:00
Andrey Shimagin 3f7dee3b9e [DE PE SSE] Fix Bug 56965 2022-05-04 10:45:58 +03:00
Maxim Kadushkin 748ea8a7a1 [embed] add searchbar to build script 2022-05-03 23:45:37 +03:00
OVSharova bc0c5738b1 fix bug left part 2022-05-01 19:51:49 +03:00
Julia Radzhabova ea6f831a8e Merge branch 'feature/outline-settings-menu' into develop 2022-04-29 16:29:50 +03:00
JuliaSvinareva f1744a3737 [DE PE SSE] Fix search 2022-04-29 16:07:59 +03:00
Julia Radzhabova 1697ee0baf [DE] Document holder refactoring 2022-04-29 15:55:24 +03:00
OVSharova 0c9179f8b5 additional style for #rib-doc-name 2022-04-29 15:47:20 +03:00
OVSharova afbcbcac63 rename for navigaton 2022-04-29 14:51:24 +03:00
Maxim Kadushkin 199903a1f7 [all] fix bug 56913, 56914 2022-04-29 14:49:28 +03:00
SergeyEzhin 4a3494641d [DE mobile] Fix Bug 56884 2022-04-29 15:19:21 +04:00
Andrey Shimagin b87cc3160f [DE PE SSE] Fix Bug 56881 2022-04-29 14:01:20 +03:00
OVSharova a8df71a54c Fix rib-doc-name 2022-04-29 01:33:39 +03:00
Julia Radzhabova 8ed2c5cab2 Refactoring 2022-04-29 00:06:04 +03:00
Julia Radzhabova 1ddc70848d Fix document title width 2022-04-28 21:36:08 +03:00
Julia Radzhabova 8e1096aa67
Merge pull request #1728 from ONLYOFFICE/feature/color-palette
Feature/color palette
2022-04-28 18:32:15 +03:00
Julia Radzhabova 7aa85ccc59 Change color palette for highlight color 2022-04-28 18:22:18 +03:00
Julia Radzhabova 7690bd393a [SSE] Set focus to palette on menu open 2022-04-28 17:18:06 +03:00
JuliaSvinareva aa91f6263c [embed] Add translations for search bar, fix deploy template 2022-04-28 17:17:06 +03:00
Julia Radzhabova 503fdc3db7 [SSE] Fix color palette in submenu (move with keys) 2022-04-28 15:09:38 +03:00
Julia Radzhabova 34a466c8c1 Color palette: fix keydown when recent colors changed 2022-04-28 13:49:17 +03:00
Julia Radzhabova ac5a4a1018 [Color palette] Hide recent color by default 2022-04-28 12:53:33 +03:00
Julia Radzhabova 6a2b8157ee
Merge pull request #1727 from ONLYOFFICE/release/v7.1.0
Fix context menu: don't update scroll or select items in parent menu …
2022-04-28 12:20:22 +03:00
Julia Radzhabova f5bfbf4e07 Fix opening 2022-04-28 12:18:40 +03:00
Julia Radzhabova 90e4b2485d
Fix context menu: don't update scroll or select items in parent menu when submenu show (#1725) 2022-04-28 11:56:30 +03:00
Julia Radzhabova 58100066f9 Merge branch 'release/v7.1.0' into develop 2022-04-28 11:40:02 +03:00
Oleg Korshul f7bc5f3e26
Merge pull request #1722 from ONLYOFFICE/feature/fix-bug-react
[PE SSE] Fix Bug 56868
2022-04-28 08:56:32 +03:00
Andrey Shimagin e948eb5461 [SSE] Fix Bug 56893 2022-04-28 08:43:22 +03:00
OVSharova ecda48303b refactoring 2022-04-28 06:46:03 +03:00
Julia Radzhabova 42578be4d4 [DE] Separate view and controller 2022-04-27 22:24:39 +03:00
JuliaSvinareva 4f5ed97786 [embed] Add search bar 2022-04-27 22:12:59 +03:00
SergeyEzhin 1611a819a4
Merge branch 'develop' into feature/rtl-support 2022-04-27 20:48:31 +04:00
SergeyEzhin 4991f3589f Merge and correction conflicts 2022-04-27 20:44:49 +04:00
Andrey Shimagin d4452051ee [SSE] Fix Bug 56893 2022-04-27 19:02:41 +03:00
Julia Radzhabova 88e00ac19a Add translation 2022-04-27 17:24:54 +03:00
Julia Radzhabova 0c383552ac [DE] Add pdf producer info 2022-04-27 17:24:54 +03:00
OVSharova 5001643573 fix line-height 2022-04-27 14:05:22 +03:00
OVSharova c6ef192dea restyle 2022-04-27 13:44:44 +03:00
Andrey Shimagin f394d8117f [PE SSE] Fix Bug 56868 2022-04-27 12:11:10 +03:00
Julia Radzhabova f046177e53 Fix coEditing=null 2022-04-27 11:49:50 +03:00
OVSharova 3fe450ef0b cursor for hover 2022-04-27 11:31:07 +03:00
OVSharova 5b424b2a25 change view 2022-04-27 11:16:33 +03:00
SergeyEzhin 1d452c9f76 [SSE mobile] Add import styles 2022-04-26 18:12:25 +04:00
Julia Radzhabova 9a4de82b56 Fix Bug 53892 2022-04-26 15:20:30 +03:00
Andrey Shimagin 3b9d9925e1 [PE] Correct import and change styles icons-rtl 2022-04-26 15:19:20 +03:00
Maxim Kadushkin d68e7f74b6 [common] changes for IE support 2022-04-26 14:51:39 +03:00
SergeyEzhin 72ef56710d [DE mobile] Correct local storage 2022-04-26 13:01:12 +04:00
SergeyEzhin 16eeb614fe [DE mobile] Correct import styles 2022-04-26 12:58:54 +04:00
Julia Radzhabova 5b2a65d2cb Fix empty custom colors 2022-04-25 22:29:30 +03:00
Julia Radzhabova 6442c8b619 Merge branch 'develop' into feature/color-palette 2022-04-25 21:27:49 +03:00
Julia Radzhabova bbb3b053f5 Color palette: fix custom color after clearing local storage 2022-04-25 21:24:07 +03:00
Maxim Kadushkin 2e04f94434 Merge branch 'feature/long_title' of https://github.com/ONLYOFFICE/web-apps into feature/long_title 2022-04-25 17:56:28 +03:00
Andrey Shimagin 15f7bb385b [PE] Adding LTR/RTL mode changes 2022-04-25 10:21:06 +03:00
Julia Radzhabova ad74306672 Fix keydown on palette 2022-04-23 19:42:31 +03:00
maxkadushkin c8e85d1d57
Merge pull request #1720 from ONLYOFFICE/feature/fix-bug-react
[SSE] Fix Bug 56629
2022-04-23 12:07:23 +03:00
Julia Radzhabova 748877a10d Сlose palette only when clicking on color 2022-04-23 00:14:48 +03:00
Julia Radzhabova 1d5ac86490 ThemeColorPalette: hide/show empty custom colors 2022-04-23 00:04:57 +03:00
Julia Radzhabova 736af63c30 Refactoring color palette (fix width, bugs 33599, 33600 2022-04-22 23:18:17 +03:00
Julia Radzhabova 4f85426deb Change layout for color palette 2022-04-22 21:34:30 +03:00
JuliaSvinareva b5ade7b338 [DE PE SSE] Fix alt-hints in search panel 2022-04-22 20:28:15 +03:00
OVSharova d2696ce618 fix bugs 2022-04-22 19:52:40 +03:00
Julia Radzhabova 0c09154162 [Mobile] Update translation 2022-04-22 19:36:41 +03:00
Julia Radzhabova e076c46ba8 Update translation 2022-04-22 19:33:46 +03:00
Julia Radzhabova a93e3d4844
Merge pull request #1721 from ONLYOFFICE/fix/translation
Fix/translation
2022-04-22 18:18:12 +03:00
Julia Radzhabova 5334d3e92f [Mobile] Update translation 2022-04-22 18:07:49 +03:00
Julia Radzhabova e9f6f0dd39 Update translation 2022-04-22 18:05:04 +03:00
SergeyEzhin e099633601 [DE mobile] Added direction change settings 2022-04-22 18:12:16 +04:00
OVSharova 40263d2201 refactoring 2022-04-22 16:12:15 +03:00
Andrey Shimagin 6c9db53785 [DE] Fix Bug 56792 2022-04-22 15:13:48 +03:00
Andrey Shimagin 7d094c88d5 [SSE] Fix Bug 56629 2022-04-22 13:52:29 +03:00
OVSharova bf2216ea8f refactoring 2022-04-22 02:48:59 +03:00
OVSharova 452b02bef4 setCanRename call reduction 2022-04-22 02:41:30 +03:00
OVSharova 4c665dbe42 Fix Bug 56759 2022-04-22 02:25:44 +03:00
OVSharova 206e87d7de refactoring 2022-04-22 02:15:25 +03:00
Julia Radzhabova 3a2ca8ba8f Fix styles for navigation 2022-04-21 21:04:44 +03:00
maxkadushkin e4de14e31b
Merge pull request #1717 from ONLYOFFICE/feature/extend-share-btns
Feature/extend share btns
2022-04-21 21:04:12 +03:00
Maxim Kadushkin a9f505ac28 Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2022-04-21 19:39:27 +03:00
Maxim Kadushkin 51dd5071a1 [all] refactoring header's icons 2022-04-21 19:36:42 +03:00
Sergey Konovalov 92bb952875
[WOPI] Add embedview action to discovery; For bug 56772 2022-04-21 18:30:42 +03:00
OVSharova 5d09a47150 fix bugs 2022-04-21 16:18:56 +03:00
Maxim Kadushkin 3da3008ae5 Merge branch 'develop' into feature/long_title 2022-04-21 14:38:37 +03:00
Andrey Shimagin 23529336df [PE] Change styles for RTL support v2 2022-04-21 14:18:44 +03:00
Julia Radzhabova 402af3bb95
Merge pull request #1716 from ONLYOFFICE/fix/bug_56326
Fix/bug 56326
2022-04-21 10:50:33 +03:00
Julia Radzhabova 34574c079b
Merge pull request #1715 from ONLYOFFICE/feature/mobile-live-view
Feature/mobile live view
2022-04-21 00:06:51 +03:00
Julia Radzhabova 4a66c76aeb [Mobile] Fix translation on loading (open as anonymous) 2022-04-20 23:46:40 +03:00
Julia Radzhabova a0437e9dbc [Mobile] Add live viewer, check license 2022-04-20 23:44:59 +03:00
Maxim Kadushkin 60b326c45d [all] fix bug 56758 2022-04-20 22:37:10 +03:00
Maxim Kadushkin 482ad6d2dd [all] remove unused icons 2022-04-20 22:36:39 +03:00
Julia Radzhabova 36fe63c076
Merge pull request #1714 from ONLYOFFICE/fix/translation
Fix/translation
2022-04-20 19:18:08 +03:00
Julia Radzhabova ea77aa4b74 [Mobile] Update translation 2022-04-20 18:54:22 +03:00
Julia Radzhabova 9fdb3c2edd Update translation 2022-04-20 18:51:51 +03:00
Julia Radzhabova add058bb46
Merge pull request #1713 from ONLYOFFICE/fix/bugfix
[DE forms] Refactoring
2022-04-20 18:29:45 +03:00
Julia Radzhabova b6215b8b12 [DE forms] Refactoring 2022-04-20 18:18:15 +03:00
Julia Radzhabova 639d19413b
Merge pull request #1712 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-20 18:05:06 +03:00
Julia Radzhabova 4166bff167 [PE] Change max delay 2022-04-20 17:58:33 +03:00
Julia Radzhabova 27839caa26 [PE] Fix Bug 55958: add autopreview option 2022-04-20 17:56:30 +03:00
Julia Radzhabova 0ced8a0c39 [PE] For Bug 55541: hide preview option 2022-04-20 17:49:38 +03:00
OVSharova 1b76671d18 fix bugs 2022-04-20 16:58:28 +03:00
JuliaSvinareva d8ea92fc40 [SSE] Bug 56326 2022-04-20 16:46:48 +03:00
Julia Radzhabova 5a730ffccd [DE] Set offline viewer for pdf/djvu/xps/oxps 2022-04-20 15:43:39 +03:00
maxkadushkin 991777e72f
Merge pull request #1707 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-04-20 15:00:14 +03:00
Andrey Shimagin 0a5733c381 Update parameters in section "permissions" for editComments 2022-04-20 14:41:58 +03:00
Julia Radzhabova cb8cf2b5be
Merge pull request #1711 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 54813
2022-04-20 13:05:42 +03:00
Julia Radzhabova 06edc84eed
Merge pull request #1708 from ONLYOFFICE/fix/input-field
Fix/input field
2022-04-20 12:57:09 +03:00
Julia Radzhabova a286c79662 [SSE] Fix Bug 54813 2022-04-20 12:53:44 +03:00
JuliaSvinareva 1f4f904829 [SSE] Bug 56326 2022-04-20 11:14:46 +03:00
Julia Radzhabova e7f97aabf2
Merge pull request #1709 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-20 10:54:44 +03:00
Julia Radzhabova ca5548dfc0
Merge pull request #1710 from ONLYOFFICE/feature/license-live-view
Feature/license live view
2022-04-19 23:36:03 +03:00
Julia Radzhabova c2f7e442d7 [DE] Don't show collaborative marks in live viewer 2022-04-19 23:20:29 +03:00
Julia Radzhabova 877e9123a0 [Forms] For Bug 56735: hide pwd button 2022-04-19 22:50:07 +03:00
Julia Radzhabova a5d2333889 Fix input field error 2022-04-19 21:33:57 +03:00
Julia Radzhabova 2f28161b7e Disable resize for shape inside smart arts. Resize smart arts proportionately. 2022-04-19 20:19:52 +03:00
Julia Radzhabova 483b17773d [DE] Fix aspect ratio (wrong proportion) 2022-04-19 19:59:43 +03:00
SergeyEzhin 158394342f [SSE mobile] Add rtl styles 2022-04-19 20:00:15 +04:00
Julia Radzhabova d7c2392049 Apply license for live viewer 2022-04-19 18:59:18 +03:00
SergeyEzhin 037f2b4293 [DE mobile] Add rtl styles 2022-04-19 19:17:20 +04:00
Andrey Shimagin b3d2bea619 [SSE] Fix Bug 56714 2022-04-19 17:04:38 +03:00
Andrey Shimagin 8682735906 [DE PE SSE] Fix Bug 56709 2022-04-19 15:54:18 +03:00
Julia Radzhabova a2b2c63bd1
Merge pull request #1706 from ONLYOFFICE/fix/bug_56693_new
Fix/bug 56693 new
2022-04-19 13:11:38 +03:00
JuliaSvinareva aecc43472d [SSE] Fix print settings 2022-04-19 12:54:31 +03:00
JuliaSvinareva 6d5c967499 [SSE] Bug 56693 2022-04-19 10:27:17 +03:00
JuliaSvinareva 942b25283f [SSE] Bug 56693 2022-04-18 23:47:29 +03:00
Julia Radzhabova 95234dd34b
Merge pull request #1705 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-18 20:45:55 +03:00
Julia Radzhabova 36e36d8faa [Mobile] Fix translation on loading (open as anonymous) 2022-04-18 20:16:27 +03:00
Julia Radzhabova 6cf1c83d66 Fix loading when coEditing parameter is null 2022-04-18 18:59:40 +03:00
Andrey Shimagin f0a725c94a [PE] Change styles for RTL support 2022-04-18 13:59:45 +03:00
Julia Radzhabova 5b6d93913c
Merge pull request #1704 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-04-18 13:33:21 +03:00
OVSharova 05ab7dab7d add style for scroll 2022-04-18 08:23:41 +03:00
JuliaSvinareva c76fe90d8e [DE] Fix bug 56119 2022-04-15 22:27:08 +03:00
SergeyEzhin 9cd94b8a44 [DE mobile] Add and change styles for rtl support 2022-04-15 19:48:15 +04:00
Julia Radzhabova d2a22367ac Merge branch 'release/v7.1.0' into develop 2022-04-15 18:00:00 +03:00
Julia Radzhabova e09ec750d8 [Mobile] Update translation 2022-04-15 17:43:30 +03:00
Julia Radzhabova c252a971b5 Update translation 2022-04-15 17:34:37 +03:00
Julia Radzhabova 4e521b0bc6
Merge pull request #1702 from ONLYOFFICE/fix/translation
Fix/translation
2022-04-15 17:15:35 +03:00
Julia Radzhabova d2f57bb278 [Mobile] Update translation 2022-04-15 17:06:44 +03:00
Andrey Shimagin 16c09f3b6a [PE] Add RTL-styles 2022-04-15 16:57:00 +03:00
Julia Radzhabova 68b60ef762 Update translation 2022-04-15 16:47:12 +03:00
Julia Radzhabova 5134413258
Merge pull request #1701 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-15 16:44:46 +03:00
Julia Radzhabova db07317d29 [DE] Fix Bug 55351 2022-04-15 16:37:38 +03:00
JuliaSvinareva 98991ae457 [SSE] Fix bug 53351 2022-04-15 15:14:34 +03:00
Maxim Kadushkin d00b66b3a6 [build] fix build 2022-04-15 13:46:31 +03:00
Julia Radzhabova 6b5b9b7cc2
Merge pull request #1700 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-04-15 13:11:56 +03:00
Julia Radzhabova 7c8aa8c28c [DE] For Bug 55351 2022-04-15 13:04:11 +03:00
JuliaSvinareva cd903664b0 [SSE] Bug 56578 2022-04-15 12:43:14 +03:00
JuliaSvinareva 7c35ce4104 [SSE] Bug 56578 2022-04-15 12:37:08 +03:00
Julia Radzhabova 9a384ac76d
Merge pull request #1699 from ONLYOFFICE/fix/bugfix
[DE] Bug 55346: change indents and word break
2022-04-15 11:54:29 +03:00
Julia Radzhabova 8a191b4735 [DE] Bug 55346: change indents and word break 2022-04-15 11:47:56 +03:00
Maxim Kadushkin f4c9bb8e0f [all] changed translations 2022-04-14 15:30:43 +03:00
OVSharova 6cf4f31d14 fix bug 2022-04-14 12:44:34 +03:00
OVSharova 579066ca77 resize navigation header 2022-04-14 12:00:40 +03:00
OVSharova 3c8cb5806b add python script 2022-04-14 06:01:17 +03:00
OVSharova 94f19901a1 add header 2022-04-14 04:00:17 +03:00
Julia Radzhabova d06eed0083
Merge pull request #1698 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-04-13 20:20:13 +03:00
JuliaSvinareva 0d58f79dc2 [SSE] Fix bug 56604 2022-04-13 18:02:21 +03:00
Julia Radzhabova 0a3f0b973b [PE][SSE] Fix list settings for different image bullets 2022-04-13 16:59:46 +03:00
maxkadushkin f8b317b69c
Merge pull request #1696 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-04-13 15:55:06 +03:00
maxkadushkin 97c461c555
Merge pull request #1697 from ONLYOFFICE/feature/add-theme-system
Feature/add theme system
2022-04-13 15:53:33 +03:00
Maxim Kadushkin 11ee072e85 [PE SSE] update translations 2022-04-13 15:44:36 +03:00
Maxim Kadushkin c1eda323e4 [DE] option to sync ui theme with system 2022-04-13 15:37:47 +03:00
Julia Radzhabova 97e7c43e93 [SSE] Add loading bullet from storage 2022-04-13 14:20:11 +03:00
JuliaSvinareva e4372346d4 [SSE] Fix bug 56583 2022-04-13 14:20:10 +03:00
Julia Radzhabova f80894376a Fix coEditing = null 2022-04-13 14:19:53 +03:00
Julia Radzhabova b58e49aea1 Change sending mode to sdk for live viewer 2022-04-13 13:48:25 +03:00
Julia Radzhabova 3a2c2513cf Fix loading if coEditing==null 2022-04-13 12:54:53 +03:00
Julia Radzhabova 0edf12b186 Set live viewer by default (for new license) 2022-04-13 12:23:17 +03:00
Julia Radzhabova 3bae3965b1 [PE] Fix different bullet types 2022-04-13 10:36:38 +03:00
JuliaSvinareva e57fed6bc8 [DE PE SSE] Remove unused code 2022-04-12 21:26:58 +03:00
Julia Radzhabova 81de52f79b [DE] Fix permission.comment=false 2022-04-12 18:31:21 +03:00
JuliaSvinareva 5696c4820d [DE PE SSE] Add translations for new search 2022-04-12 18:15:30 +03:00
JuliaSvinareva c9c77487b7 [DE PE SSE] Fix search 2022-04-12 17:08:08 +03:00
Andrey Shimagin 3b7233a5d2 [DE PE SSE] Fix Bug 55974 2022-04-12 12:16:37 +03:00
Andrey Shimagin dacbc17eca [DE] Fix Bug 56545 2022-04-12 10:33:52 +03:00
OVSharova 89f195e0fd refactoring 2022-04-12 09:54:42 +03:00
OVSharova da9b57c2d9 fix bug 2022-04-12 09:49:23 +03:00
Julia Radzhabova 5b7672aa70 [PE] Fix style for bullets list 2022-04-12 00:11:09 +03:00
Julia Radzhabova ff3081bb91 [PE] Draw preview for image bullets 2022-04-11 23:08:36 +03:00
SergeyEzhin a5af4c395c Adding rtlcss plugin 2022-04-11 21:19:48 +04:00
JuliaSvinareva cf2068b7cd [SSE] New search: add select results on sheet, fix replace, fix changing of results container height 2022-04-11 20:16:33 +03:00
Julia Radzhabova dd95cc20eb [PE] Refactoring bulleted list 2022-04-11 19:49:58 +03:00
maxkadushkin 4220962c40
Merge pull request #1695 from ONLYOFFICE/feature/terser-minify-util
Feature/terser minify util
2022-04-11 19:08:59 +03:00
Maxim Kadushkin f18ecb0add [deploy] update lock file after merge 2022-04-11 18:49:18 +03:00
Maxim Kadushkin 3f428141d9 Merge branch 'develop' into feature/terser-minify-util 2022-04-11 18:40:22 +03:00
Julia Radzhabova 0e3d49b47d
Merge pull request #1694 from ONLYOFFICE/fix/bug_56443
Fix/bug 56443
2022-04-11 11:45:57 +03:00
JuliaSvinareva f69eb8ddfa [SSE] Make results table in search panel 2022-04-10 23:30:24 +03:00
SergeyEzhin 0f4f400cec Changing config and adding rtl support 2022-04-08 18:50:26 +04:00
Julia Radzhabova 56f050de03
Merge pull request #1693 from ONLYOFFICE/feature/4-letters-lang
Feature/4 letters lang
2022-04-08 17:27:33 +03:00
Julia Radzhabova beb902336f Update id (Indonesian) language 2022-04-08 17:10:42 +03:00
Julia Radzhabova 23d164b015 Merge branch 'release/v7.1.0' into develop 2022-04-08 17:02:24 +03:00
Julia Radzhabova ef7fef6b28
Merge pull request #1691 from ONLYOFFICE/fix/translation
Fix/translation
2022-04-08 16:37:14 +03:00
Julia Radzhabova ff565dc7de Update translation 2022-04-08 16:22:39 +03:00
Julia Radzhabova 49078a7781 [Mobile] Update translation 2022-04-08 16:18:54 +03:00
Julia Radzhabova ea2b7b4b76 [Mobile] Add 4-letters languages: pt-pt, zh-tw 2022-04-08 16:03:51 +03:00
maxkadushkin 1dca274559
Merge pull request #1688 from ONLYOFFICE/fix/bug_51946
Bug 51946
2022-04-08 15:29:33 +03:00
Julia Radzhabova be75271c69 Add 4-letters languages: pt-pt, zh-tw, fix loading. 2022-04-08 15:21:09 +03:00
JuliaSvinareva 4e2c55959a [SSE] Bug 56443 2022-04-08 14:42:29 +03:00
Maxim Kadushkin 0b615353d0 [DE] compress some icons 2022-04-08 13:40:10 +03:00
JuliaSvinareva 98a995a6cc [SSE] Make result table in search panel 2022-04-08 13:36:38 +03:00
OVSharova af76fc5725 fix bug 2022-04-08 13:25:50 +03:00
Julia Radzhabova b1bca1b0ba [PE] Load bullet from image 2022-04-08 00:28:59 +03:00
JuliaSvinareva a3ed7dd01b [SSE] Bug 56443 2022-04-07 17:12:39 +03:00
Julia Radzhabova 6cd1b4acd3 [DE] Add icons for navigation list 2022-04-07 16:26:00 +03:00
Julia Radzhabova d51be57861
Merge pull request #1690 from ONLYOFFICE/feature/tof-add-text
Feature/tof add text
2022-04-07 15:35:18 +03:00
Julia Radzhabova d359eb9051 [DE] Change cls for icon 2022-04-07 15:17:53 +03:00
Julia Radzhabova 7352b055c2
Merge pull request #1689 from ONLYOFFICE/feature/add-icons-for-TOC-and-outline
Add icons for TOC and Outlane panel
2022-04-07 15:12:46 +03:00
Kirill Volkov 132db24cfb Changed icons name 2022-04-07 15:01:54 +03:00
Kirill Volkov da0627faa6 Add icons for TOC and Outlane panel 2022-04-07 14:01:27 +03:00
maxkadushkin 2ff1941cd2
Merge pull request #1660 from ONLYOFFICE/feature/svg-by-url
Svg by url
2022-04-07 10:03:29 +03:00
maxkadushkin 930e73890c
Merge pull request #1687 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2022-04-07 09:54:49 +03:00
maxkadushkin 4a84186fad
Merge pull request #1684 from ONLYOFFICE/feature/fix-bug-react
[DE PE] Fix Bug 56446
2022-04-07 09:54:07 +03:00
OVSharova 8322d4c19c fix bug 51946 2022-04-07 03:37:49 +03:00
OVSharova 67d02beed0 Merge branch 'develop' into fix/bug_51946 2022-04-07 03:30:34 +03:00
JuliaSvinareva 13a79663e6 [SSE] Make select range setting in search panel 2022-04-06 22:32:50 +03:00
OVSharova 88bba1bb91 add directiries 2022-04-06 21:25:34 +03:00
SergeyEzhin b0443d517b Removed flushSync 2022-04-06 20:09:57 +04:00
SergeyEzhin f505bdd807 [DE mobile] Correct paragraph settings 2022-04-06 20:07:58 +04:00
Julia Radzhabova fbbf4d1142
Merge pull request #1686 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-06 18:08:47 +03:00
Julia Radzhabova 0419ed8907 [PE] Fix Bug 56449 2022-04-06 17:47:50 +03:00
Julia Radzhabova f51a11d316 [DE] Fix Bug 56490 2022-04-06 17:25:01 +03:00
Julia Radzhabova 35d5c7b1f8 Merge branch 'feature/live-viewer' into develop
Refactoring advanced settings
2022-04-06 16:16:39 +03:00
Andrey Shimagin 6560c83db0 [SSE] Fix color text in Filter 2022-04-06 11:35:25 +03:00
Julia Radzhabova fdd92f2797 [PE][SSE] Load live viewer 2022-04-05 22:36:00 +03:00
Julia Radzhabova 7daad891f8
Merge pull request #1683 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-05 21:09:33 +03:00
Julia Radzhabova ba973981d7 [SSE] For Bug 41546 2022-04-05 20:18:15 +03:00
Julia Radzhabova 7e20c7eb94 [DE] Change text for empty list in the navigation panel in viewer. 2022-04-05 20:17:08 +03:00
Julia Radzhabova 0ad0d9fb2e Bug 41546 2022-04-05 19:04:05 +03:00
maxkadushkin 7aa1a8d161
Merge pull request #1680 from ONLYOFFICE/feature/fix-bugs
Correct style popover
2022-04-05 17:11:31 +03:00
papacarlo 3021dad626 Merge branch hotfix/v7.0.2 into release/v7.1.0 2022-04-05 12:27:11 +00:00
papacarlo bac4a0ec15 Merge branch hotfix/v7.0.2 into develop 2022-04-05 12:27:07 +00:00
Julia Radzhabova 5b98b5b183 Fix Bug 55810 2022-04-05 15:10:58 +03:00
Julia Radzhabova ba66b2522f Merge branch 'release/v7.1.0' into develop 2022-04-05 14:07:41 +03:00
Andrey Shimagin 9a8341b85a [DE PE] Fix Bug 56446 2022-04-05 13:47:46 +03:00
Julia Radzhabova 087d04aae3
Merge pull request #1681 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-04-05 13:14:42 +03:00
Julia Radzhabova bbf94ac3a1 [DE] For Bug 55810 2022-04-05 13:08:19 +03:00
Julia Radzhabova f4075fd6c8 Refactoring info tips 2022-04-05 11:28:35 +03:00
JuliaSvinareva 7dce541fca [SSE] New search: add select data range setting 2022-04-04 22:09:09 +03:00
SergeyEzhin 04dd7951f8 Correct style popover 2022-04-04 19:51:02 +04:00
Julia Radzhabova bdcaf157a1
Merge pull request #1679 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix bug 56426
2022-04-04 17:11:37 +03:00
JuliaSvinareva 44013eb572 [SSE] Fix bug 56426 2022-04-04 16:42:34 +03:00
Maxim Kadushkin dbd1055e0a [embed] extend share buttons 2022-04-04 11:23:45 +03:00
maxkadushkin 66f3884542
Merge pull request #1676 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-04-04 11:00:52 +03:00
maxkadushkin 223442c6e9
Merge pull request #1678 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-04-04 10:58:40 +03:00
OVSharova 90b1bdc89c delete old images 2022-04-04 01:37:47 +03:00
JuliaSvinareva 4444d1d687 [SSE] Add methods for auto search 2022-04-03 18:17:46 +03:00
JuliaSvinareva 9922a715c0 [PE] Add methods for auto search 2022-04-01 21:20:00 +03:00
Andrey Shimagin f4851c2cd1 Merge branch 'release/v7.1.0' into feature/fix-bug-react
# Conflicts:
#	apps/common/mobile/resources/less/common.less
2022-04-01 19:50:53 +03:00
Julia Radzhabova 1acbb35cb0
Merge pull request #1674 from ONLYOFFICE/feature-add-equation-icons
Add equatation icons
2022-04-01 18:28:51 +03:00
maxkadushkin d752c2650e
Merge pull request #1675 from ONLYOFFICE/feature/fix-search-keyboard
Fix keyboard search
2022-04-01 18:27:18 +03:00
Julia Radzhabova 1b5332c0b2
Merge pull request #1677 from ONLYOFFICE/fix/translation
Fix/translation
2022-04-01 18:18:26 +03:00
Julia Radzhabova c84abb1d8e [Mobile] Update translation 2022-04-01 18:10:50 +03:00
Julia Radzhabova 1c66413ee7 Update translation 2022-04-01 18:07:01 +03:00
OVSharova 0b12fbd422 fix bug 51946 2022-04-01 14:56:55 +03:00
Kirill Volkov 1788f2d4ef Add equatation icons
Add equatation icons for context menu
2022-04-01 14:39:58 +03:00
Andrey Shimagin fe43be62af Fix keyboard search 2022-04-01 14:39:20 +03:00
Julia Radzhabova 7c117994b8
Merge pull request #1673 from ONLYOFFICE/fix/pe-animation-lock
[PE] Fix lock animation tab
2022-04-01 13:22:20 +03:00
Julia Radzhabova 278467b74a [PE] Fix lock animation tab 2022-04-01 13:10:56 +03:00
Maxim Kadushkin f85c11b4aa [all] skip inlined svg 2022-03-31 23:54:28 +03:00
Julia Radzhabova 8d7da47db2
Merge pull request #1672 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-03-31 22:28:27 +03:00
JuliaSvinareva 9d0e5525a6 [SSE] Fix bug 56326 2022-03-31 22:19:38 +03:00
Julia Radzhabova c9517c709b
Merge pull request #1671 from ONLYOFFICE/fix/bugfix
Fix Bug 56388
2022-03-31 20:48:50 +03:00
Julia Radzhabova d660b56975 Fix Bug 56388 2022-03-31 20:29:11 +03:00
SergeyEzhin b8f6ae7d3a [DE PE SSE mobile] Fix Bug 53597 2022-03-31 20:38:01 +04:00
Julia Radzhabova 4341ea35c9
Merge pull request #1670 from ONLYOFFICE/feature/sse-edit-ole
Feature/sse edit ole
2022-03-31 18:25:43 +03:00
JuliaSvinareva aad4424ed8 [SSE] Fix bug 56380 2022-03-31 18:15:58 +03:00
OVSharova a2adc37a34 file-recent by url 2022-03-31 17:27:57 +03:00
maxkadushkin e19540a132
Merge pull request #1661 from ONLYOFFICE/feature/fix-load-docinfo
Fix loading doc-info for large pdf (show download progress)
2022-03-31 10:48:49 +03:00
OVSharova 1ca8657745 svg for menu create new 2022-03-31 08:54:36 +03:00
Julia Radzhabova a2aade26ef Update translation 2022-03-30 23:39:26 +03:00
Julia Radzhabova c4a91c0659
Merge pull request #1668 from ONLYOFFICE/fix/translation
[Mobile] Fix translation
2022-03-30 23:37:17 +03:00
Julia Radzhabova 6ee1794862 [Mobile] Fix translation 2022-03-30 23:27:30 +03:00
JuliaSvinareva 6f203af127 [DE] Search: add selection of results by nav buttons 2022-03-30 21:07:25 +03:00
Andrey Shimagin a71d39025b [DE PE] Fix Bug 56354 2022-03-30 20:22:57 +03:00
Julia Radzhabova 7a2ac7ce2d Merge branch 'release/v7.1.0' into develop 2022-03-30 20:12:33 +03:00
Julia Radzhabova 58c4729ddd
Merge pull request #1666 from ONLYOFFICE/fix/bugfix
Fix Bug 56383
2022-03-30 19:33:36 +03:00
SergeyEzhin e50ed3ebcc [common] Fix Bug 56305 2022-03-30 18:45:06 +04:00
Andrey Shimagin 2b5a7a0c6f Correct timer-func 2022-03-30 17:34:52 +03:00
maxkadushkin 3d419cd23a
Merge pull request #1665 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-03-30 16:59:18 +03:00
SergeyEzhin 36c64936b0 [DE mobile] Fix Bug 56312 2022-03-30 17:47:55 +04:00
SergeyEzhin a4d8b2b3ae [DE PE SSE mobile] Fix Bug 56323 2022-03-30 17:45:45 +04:00
SergeyEzhin 0aea122a82 [DE PE mobile] Fix Bug 54406 2022-03-30 17:45:07 +04:00
SergeyEzhin 8a04370f3a [DE mobile] Fix Bug 55941 2022-03-30 17:44:11 +04:00
Julia Radzhabova 2d04ab6994 Fix Bug 56383 2022-03-30 16:31:25 +03:00
Andrey Shimagin 43fe49e599 [DE PE] Fix Bug 56223 2022-03-30 14:19:41 +03:00
Andrey Shimagin a61ed63286 [DE PE] Fix Bug 56325 2022-03-30 13:46:31 +03:00
JuliaSvinareva 1ed6a7b830 [DE] Fix highlighting of search results 2022-03-29 20:49:35 +03:00
Julia Radzhabova 1413c13ded
Merge pull request #1663 from ONLYOFFICE/feature/bug-56224
Feature/bug 56224
2022-03-29 19:12:18 +03:00
Julia Radzhabova 821cfc8820
Merge pull request #1662 from ONLYOFFICE/fix/de-fix-smartart
[DE] Hide some text settings for smart arts
2022-03-29 17:56:56 +03:00
Julia Radzhabova eef1a4af56 [DE][PE] For Bug 56224 2022-03-29 17:51:33 +03:00
Julia Radzhabova 10d7f8c179 [DE] For Bug 56224 2022-03-29 14:26:21 +03:00
Julia Radzhabova 68397ea56b Get ole object 2022-03-29 11:08:54 +03:00
Andrey Shimagin 9a492900ab Fix loading doc-info for large pdf (show download progress) 2022-03-29 08:22:24 +03:00
Maxim Kadushkin f29df7bd0c [all] refactoring styles 2022-03-29 00:41:43 +03:00
Julia Radzhabova 320213a5ae
Merge pull request #1659 from ONLYOFFICE/fix/bugfix
Fix Bug 56341
2022-03-28 23:42:43 +03:00
Julia Radzhabova 6016025565 Fix Bug 56341 2022-03-28 23:35:43 +03:00
Julia Radzhabova 7e9c12061d [DE] Hide some text settings for smart arts 2022-03-28 22:45:34 +03:00
Julia Radzhabova 7268073d19 Edit sse ole object from right panel 2022-03-28 21:02:21 +03:00
Julia Radzhabova ac0e61182b [SSE] Edit ole objects 2022-03-28 19:41:59 +03:00
Julia Radzhabova 85321a07d4
Merge pull request #1657 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix bug 55909
2022-03-28 18:18:40 +03:00
Julia Radzhabova c4e2c87505
Merge pull request #1658 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-28 17:33:05 +03:00
Julia Radzhabova a4dd307dfe [DE][PE] Fix Bug 55663 2022-03-28 16:56:22 +03:00
maxkadushkin 730da9f345
Merge pull request #1656 from ONLYOFFICE/feature/add-info-pdf
Fix doc-info (pdf/xps/djvu)
2022-03-28 15:45:18 +03:00
Julia Radzhabova c19fd3b831 Disable flip for shape in smart art 2022-03-28 15:31:59 +03:00
maxkadushkin d655e79be8
Update DocumentInfo.jsx 2022-03-28 15:29:30 +03:00
maxkadushkin c9424d153d
Merge pull request #1649 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-03-28 14:50:32 +03:00
Julia Radzhabova 03b86016c5 Fix Bug 44511 2022-03-28 12:56:10 +03:00
Andrey Shimagin 345a86150b del console.log 2022-03-28 12:06:26 +03:00
OVSharova 815f4a5e1a update btn-doc-format 2022-03-28 05:32:04 +03:00
OVSharova 51c0fe6650 replace icon 2022-03-28 02:59:01 +03:00
JuliaSvinareva 58242acb91 [DE PE SSE] Fix bug 55909 2022-03-27 20:39:06 +03:00
Maxim Kadushkin 74c2e8aba0 [deploy] fix build 2022-03-27 18:40:33 +03:00
Andrey Shimagin 7e8e35122b Fix doc-info (pdf/xps/djvu) 2022-03-27 17:51:44 +03:00
Maxim Kadushkin 3c5fc2e301 [embed] added share buttons config 2022-03-26 01:11:32 +03:00
Julia Radzhabova f24977a10d
Merge pull request #1655 from ONLYOFFICE/fix/bugfix
Fix Bug 56281
2022-03-25 23:33:28 +03:00
Julia Radzhabova 912e101051 Fix Bug 56281 2022-03-25 22:18:53 +03:00
Julia Radzhabova 072012284e
Merge pull request #1654 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-25 19:21:00 +03:00
Julia Radzhabova e2706e11ca Fix Bug 44511 2022-03-25 19:01:07 +03:00
Julia Radzhabova 8c45826454 [Mobile] Update translation 2022-03-25 17:57:31 +03:00
Julia Radzhabova 89405f0e36 Update translation. Fix Bug 43628 2022-03-25 17:53:53 +03:00
Julia Radzhabova 614fafae5f [PE] Fix some emphasis effects (don't add, show applied effect only) 2022-03-25 17:47:17 +03:00
Julia Radzhabova 69c6e33e37
Merge pull request #1653 from ONLYOFFICE/fix/bugfix
[PE] Fix  Bug 56141
2022-03-25 12:58:57 +03:00
Julia Radzhabova 4a1ff1cdf4 [PE] Fix Bug 56141 2022-03-25 11:47:35 +03:00
Julia Radzhabova a5b73c927f
Merge pull request #1652 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-03-24 21:01:12 +03:00
JuliaSvinareva 1a4d696ba5 [SSE] Fix scroll in print preview when ctrl is pressed 2022-03-24 20:48:25 +03:00
JuliaSvinareva 74e1c01205 [DE PE SSE] Fix shape recents lang 2022-03-24 17:56:20 +03:00
Julia Radzhabova 49bd75e457 Merge branch 'release/v7.1.0' into develop 2022-03-24 16:35:28 +03:00
Julia Radzhabova 00ca582bc5
Merge pull request #1650 from ONLYOFFICE/fix/bugfix
Fix open diagram editor (when right panel in sse is closed)
2022-03-24 14:27:55 +03:00
Andrey Shimagin 2861432f62 [DE] Fix Bug 56226 2022-03-24 12:49:42 +03:00
Julia Radzhabova 92379a3a2d Fix open diagram editor (when right panel in sse is closed) 2022-03-24 12:34:07 +03:00
Julia Radzhabova 352d9d51fa
Merge pull request #1648 from ONLYOFFICE/feature-change-icon
Changed animation-repeat icon
2022-03-24 12:19:22 +03:00
Kirill Volkov 62b2f2407f Changed icon animation-repeat 2022-03-24 12:06:25 +03:00
OVSharova a53a2d1098 icon help 2022-03-24 03:20:01 +03:00
Julia Radzhabova a86b6d45ca
Merge pull request #1645 from ONLYOFFICE/feature/sse-edit-ole-objects
Feature/sse edit ole objects
2022-03-23 23:28:40 +03:00
Julia Radzhabova 09fa6f64b9
Merge pull request #1647 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 56225
2022-03-23 19:08:06 +03:00
Julia Radzhabova d452e6b67b [SSE] Fix Bug 56225 2022-03-23 18:53:40 +03:00
JuliaSvinareva c10d349a19 [DE PE] Fix new search 2022-03-23 16:20:51 +03:00
maxkadushkin 2799aea94f
Merge pull request #1641 from ONLYOFFICE/feature/correct-less-styles
Feature/correct less styles
2022-03-23 15:42:32 +03:00
Julia Radzhabova 576c9a871c
Merge pull request #1646 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-23 15:41:38 +03:00
Julia Radzhabova 56a9304306 [DE mobile] Fix Bug 56228 2022-03-23 15:22:53 +03:00
Julia Radzhabova 8d61730356 [DE mobile] Fix Bug 56219 2022-03-23 15:22:14 +03:00
Andrey Shimagin f75848d722 [SSE] Fix Bug 55829 2022-03-23 13:43:21 +03:00
Andrey Shimagin 619499c942 [SSE] Fix Bug 51255 2022-03-23 11:45:04 +03:00
Julia Radzhabova 9b0fcef925
Merge pull request #1644 from ONLYOFFICE/fix/pdf-info
Fix/pdf info
2022-03-23 10:51:48 +03:00
Julia Radzhabova 012205e9f1 [DE] Rename property for xps info 2022-03-22 22:38:33 +03:00
JuliaSvinareva c64539f2ab [DE] Fix auto search in left panel, fix search results 2022-03-22 21:41:18 +03:00
Julia Radzhabova 69c95bcb99 [DE] Show pdf/xps info 2022-03-22 19:30:09 +03:00
Julia Radzhabova 23b574e448
Merge pull request #1643 from ONLYOFFICE/fix/bug-56148
Bug 56148
2022-03-22 11:39:01 +03:00
JuliaSvinareva 25b48c032e [DE] For bug 56026 2022-03-21 20:39:25 +03:00
Julia Radzhabova ad26e55ef1
Merge pull request #1642 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-21 20:27:27 +03:00
Julia Radzhabova a8cd33fbdf Bug 56148 2022-03-21 20:25:43 +03:00
Julia Radzhabova 5618e7e590 Fix Bug 56147 2022-03-21 18:21:08 +03:00
Julia Radzhabova d6948d4445
Merge pull request #1640 from ONLYOFFICE/feature-change-icon-animation
Added and changed some animation icon
2022-03-21 15:30:13 +03:00
Julia Radzhabova 418df1187f [PE] Fix Bug 56140 2022-03-21 15:18:46 +03:00
Kirill Volkov 235ed91542 Merge branch 'feature-change-icon-animation' of https://github.com/ONLYOFFICE/web-apps into feature-change-icon-animation 2022-03-21 15:12:08 +03:00
Kirill Volkov 0923b9306f removed motion path custom icons 2022-03-21 15:11:12 +03:00
Andrey Shimagin 6753994332 Refactoring less-styles v2 2022-03-21 15:07:43 +03:00
Julia Radzhabova a3933b44c4 [PE] Change animation effects icons 2022-03-21 14:44:42 +03:00
Kirill Volkov f41ac4eaef Changed icons name 2022-03-21 14:40:21 +03:00
Andrey Shimagin 6902c6b58b Delete '_.less' 2022-03-21 14:37:49 +03:00
Kirill Volkov bb2e4297f8 Added and changed some animation icon
Сhanged color for Dark theme
2022-03-21 13:45:19 +03:00
Julia Radzhabova 21a0746dd9 Merge branch 'release/v7.1.0' into develop 2022-03-21 12:08:52 +03:00
OVSharova 3d4796314f Delete files 2022-03-21 07:21:49 +03:00
OVSharova f1496c9e37 Change links in PE 2022-03-21 07:19:43 +03:00
OVSharova d2fbf94976 Delete files 2022-03-21 06:06:51 +03:00
OVSharova da047e1eaa Change links in SSE 2022-03-21 06:03:46 +03:00
OVSharova f906543e87 Delete files 2022-03-21 04:04:20 +03:00
OVSharova 3ca7944460 Change links in DE 2022-03-21 03:34:33 +03:00
maxkadushkin 9f13fe19e0
Merge pull request #1632 from ONLYOFFICE/feature/correct-table-styles
[DE PE] Refactoring TableStyles
2022-03-20 21:28:48 +03:00
maxkadushkin 8ff886f1bd
Merge pull request #1638 from ONLYOFFICE/feature/fix-modules-version
Feature/fix modules version
2022-03-20 16:56:56 +03:00
Maxim Kadushkin 43c0fb8b0c [deploy] debug deploy modules for mobile 2022-03-20 01:08:02 +03:00
Maxim Kadushkin d54084cdbd [mobile] changed npm manifest lock file 2022-03-19 18:42:30 +03:00
Maxim Kadushkin 4c81f1f4c2 [mobile] fix deploy 2022-03-19 18:25:02 +03:00
Maxim Kadushkin 5c7b3ab04d [deploy] changed npm manifest files 2022-03-19 18:12:08 +03:00
Julia Radzhabova 883b955fff [SSE] Ole editor: change status bar and context menu 2022-03-18 21:41:25 +03:00
JuliaSvinareva 0cc9581c6d [DE] Make new search: add disabling of buttons, fix updating of current result number, fix styles 2022-03-18 19:18:11 +03:00
Julia Radzhabova 3f48ae2f05
Merge pull request #1637 from ONLYOFFICE/fix/translation
Fix/translation
2022-03-18 18:07:23 +03:00
Julia Radzhabova d2f00b22fd [Mobile] Update translation 2022-03-18 17:52:37 +03:00
Julia Radzhabova cb8f7dc3f3 Update translation. Bug 43628 2022-03-18 17:43:04 +03:00
Julia Radzhabova 3577d256cf
Merge pull request #1636 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-18 16:51:29 +03:00
Julia Radzhabova 4101181092 [PE] Fix duration for multiple animation 2022-03-18 16:43:44 +03:00
Julia Radzhabova cfab5abd36 [SSE mobile] For Bug 44858 2022-03-18 16:27:30 +03:00
Andrey Shimagin b44335d903 Refactoring less-styles v1 2022-03-18 15:29:00 +03:00
Julia Radzhabova 007f260583
Merge pull request #1635 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-18 14:56:01 +03:00
Julia Radzhabova 5147704a86 [SSE] Change position for table total menu 2022-03-18 14:47:11 +03:00
Julia Radzhabova 6730c16cee [SSE] For Bug 44858 2022-03-18 13:23:22 +03:00
Julia Radzhabova 331570ddc9
Merge pull request #1634 from ONLYOFFICE/fix/bugfix
[DE] Fix Bug 56026
2022-03-17 20:18:50 +03:00
Julia Radzhabova d3e8e72843 [DE] Fix Bug 56026 2022-03-17 19:57:30 +03:00
maxkadushkin 988eaa35ee
Merge pull request #1633 from ONLYOFFICE/fix/bugfix
Fix label width for different translations
2022-03-17 18:24:45 +03:00
Julia Radzhabova e56390e82b Fix label width for different translations 2022-03-17 16:59:35 +03:00
Andrey Shimagin 81f331fd2a [DE PE] Refactoring TableStyles 2022-03-17 13:55:10 +03:00
maxkadushkin ba2a62786d
Merge pull request #1628 from ONLYOFFICE/feature/fix-bug-react
[DE PE SSE] Fix Bug 55970
2022-03-17 11:17:00 +03:00
OVSharova acef87970d move images for documenteditor 2022-03-17 03:22:51 +03:00
JuliaSvinareva e7cc5fa105 [DE] New search: make auto search 2022-03-16 22:06:42 +03:00
Julia Radzhabova 55ced1f278
Merge pull request #1630 from ONLYOFFICE/fix/bugfix
Bug 43628: fix translation
2022-03-16 19:26:37 +03:00
Julia Radzhabova 692522b586
Merge pull request #1631 from ONLYOFFICE/fix/bug-56062
Bug 56062
2022-03-16 19:24:42 +03:00
Julia Radzhabova d840f1e9dd Bug 43628: fix translation 2022-03-16 19:19:07 +03:00
Julia Radzhabova 05996df295 [SSE] Add chart editing to ole editor 2022-03-16 18:39:50 +03:00
Julia Radzhabova da4c5b0e82 [SSE] Fix ole editor status bar 2022-03-16 17:40:53 +03:00
Julia Radzhabova 9503475e69 [SSE] Fix hints for ole editor 2022-03-16 16:24:14 +03:00
Maxim Kadushkin fed5f28bde [DE PE] fix bug 55977 2022-03-16 15:27:04 +03:00
Julia Radzhabova bd481f0b55 Fix hints in mail merge editor 2022-03-16 14:59:11 +03:00
Julia Radzhabova fc47f0f167 [SSE] Refactoring ole editor: add toolbar buttons 2022-03-16 14:17:25 +03:00
Julia Radzhabova bfec2495b8
Merge pull request #1629 from ONLYOFFICE/fix/bugfix
[PE] Fix Bug 55958
2022-03-16 12:10:05 +03:00
Julia Radzhabova e55935a801 Bug 56062 2022-03-16 12:09:44 +03:00
Julia Radzhabova b02c7be9c8 Fix focus in open dialog 2022-03-16 11:58:31 +03:00
Julia Radzhabova 4b8c86ee2f [PE] Fix Bug 55958 2022-03-16 11:44:06 +03:00
Julia Radzhabova 789266d14a
Merge pull request #1627 from ONLYOFFICE/fix/bugfix
[PE] Bug 56003
2022-03-15 18:17:42 +03:00
Julia Radzhabova a219bc4679 [PE] Bug 56003 2022-03-15 18:03:28 +03:00
Julia Radzhabova 7bea9234b5 Merge branch 'release/v7.1.0' into develop 2022-03-15 13:26:55 +03:00
Julia Radzhabova 115d33659b [DE] Disable add text to TOF button 2022-03-14 21:26:00 +03:00
JuliaSvinareva c56c0b47be [DE PE] Make new search: add nav buttons disabling 2022-03-14 21:22:14 +03:00
Julia Radzhabova 2fe8fb6cfa [DE] Add text to table of contents 2022-03-14 20:19:17 +03:00
Julia Radzhabova b0e59d6df8 [DE][DE mobile] Handle ComplexFieldEmptyTOC, ComplexFieldNoTOC errors 2022-03-14 16:36:33 +03:00
Julia Radzhabova 3eb7cad42f [DE] Remove header/footer 2022-03-14 15:42:42 +03:00
Julia Radzhabova 481151875d [DE] Handle ComplexFieldEmptyTOC error 2022-03-14 14:44:08 +03:00
Julia Radzhabova ca553d8017
Merge pull request #1625 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-14 13:31:55 +03:00
Julia Radzhabova 0422d98753 [DE][SSE] Change buttons order 2022-03-14 13:23:39 +03:00
Julia Radzhabova a5dfe42751 Don't show disconnect message on window close/reload 2022-03-14 13:11:07 +03:00
Andrey Shimagin e179f7576e [DE PE SSE] Fix Bug 55970 2022-03-14 12:35:05 +03:00
maxkadushkin 19bfe820b9
Merge pull request #1620 from ONLYOFFICE/feature/change-division-in-styles
change division in styles
2022-03-14 12:08:52 +03:00
maxkadushkin 8323ac2934
Merge pull request #1618 from ONLYOFFICE/feature/react-refactoring
Refactoring 'EditText'
2022-03-14 10:53:17 +03:00
Maxim Kadushkin 5fca9dce64 [all] correct CSP rules for mobile apps 2022-03-13 22:25:44 +03:00
Julia Radzhabova 19c72eea5c [PE][SSE] Don't show disconnect message on window close/reload 2022-03-11 21:40:53 +03:00
Julia Radzhabova 7a282063ef [PE] Edit ole objects 2022-03-11 17:20:24 +03:00
Julia Radzhabova 4972e47268
Merge pull request #1624 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-11 15:31:52 +03:00
JuliaSvinareva 4c4e478007 [DE] Make new search: add methods for results, fix scrolling 2022-03-11 15:28:57 +03:00
Julia Radzhabova 162d2ce0f9 [Mobile] Update translation 2022-03-11 15:25:08 +03:00
Julia Radzhabova 841084b651 Update translation. Fix Bug 55956 2022-03-11 15:20:54 +03:00
Julia Radzhabova 8cbbab296e [SSE] Fix search in mail merge editor 2022-03-11 15:08:43 +03:00
Julia Radzhabova 469c4108ef Fix Bug 55990 2022-03-11 15:05:15 +03:00
Julia Radzhabova fab188cb23 [SSE] Add mode 'editole' for ole objects 2022-03-11 13:58:15 +03:00
Julia Radzhabova 45186d4a0c [DE] Refactoring 2022-03-11 13:04:30 +03:00
OVSharova fe65d82e99 return back calc 2022-03-11 12:37:44 +03:00
maxkadushkin d36199c999
Merge pull request #1619 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2022-03-11 11:48:58 +03:00
SergeyEzhin 3de5972440
Merge branch 'release/v7.1.0' into feature/bug-fixes 2022-03-11 12:32:26 +04:00
maxkadushkin 9e8ebfc482
Merge pull request #1616 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-03-11 11:24:32 +03:00
Andrey Shimagin a9ae44d49a [DE PE SSE] Fix Bug 55974 2022-03-11 09:57:48 +03:00
Julia Radzhabova 35ff3ec0eb
Merge pull request #1623 from ONLYOFFICE/fix/bugfix
[PE] Fix Bug 55981
2022-03-10 20:27:07 +03:00
Julia Radzhabova e81e88f2a9 [PE] Fix Bug 55981 2022-03-10 20:08:30 +03:00
Julia Radzhabova 2992396482 [DE] Edit ole objects 2022-03-10 19:21:29 +03:00
Julia Radzhabova a9e204d145
Merge pull request #1622 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix bug 55725
2022-03-10 16:58:05 +03:00
JuliaSvinareva 8a1b0fe9e9 [SSE] Fix bug 55725 2022-03-10 16:38:08 +03:00
SergeyEzhin 93932c3997 After merge 2022-03-10 17:34:26 +04:00
SergeyEzhin a16c403e7f [DE PE SSE mobile] For Bug 47674 2022-03-10 17:32:02 +04:00
Julia Radzhabova f584fd95c2
Merge pull request #1621 from ONLYOFFICE/feature/sse-chart-log-scale
[SSE] Chart: add log scale settings
2022-03-10 16:09:18 +03:00
Julia Radzhabova fd72c1d2eb [PE] Fix merge release to develop 2022-03-10 14:55:03 +03:00
Andrey Shimagin 46dae57c43 [DE] Fix Bug 55964 2022-03-10 12:49:08 +03:00
SergeyEzhin d4d0888c23
Merge branch 'release/v7.1.0' into feature/bug-fixes 2022-03-10 12:20:01 +04:00
Andrey Shimagin 5a235e671e [DE] Fix Bug 55763 2022-03-10 09:38:12 +03:00
Andrey Shimagin 476494fc92 [PE] Fix Bug 55955 2022-03-10 09:12:14 +03:00
SergeyEzhin 14502e2895 [DE mobile] Fix Bug 55941 2022-03-10 00:47:50 +04:00
SergeyEzhin 027a1b3a3b [DE mobile] Fix Bug 55762 2022-03-10 00:32:42 +04:00
Julia Radzhabova b3c67e4291 [SSE] Chart: add log scale settings 2022-03-09 22:36:47 +03:00
JuliaSvinareva ec831ded6a [DE PE SSE] Make new search: hide search window when open search panel 2022-03-09 17:40:50 +03:00
JuliaSvinareva e77f9db33d [DE PE] Make new search: add Whole words only, change get/put methods in controllers 2022-03-09 17:39:03 +03:00
ShimaginAndrey f3d066abd1 Refactoring 'EditText' 2022-03-09 12:49:09 +03:00
Maxim Kadushkin 0ace27c7db [deploy] skip uglifyjs for some embed and requirejs modules 2022-03-09 11:14:41 +03:00
Maxim Kadushkin 42166e1f8f [deploy] changed uglifyjs to terser for main editors 2022-03-07 00:57:16 +03:00
SergeyEzhin 77dbb42e72 [DE PE SSE mobile] Fix Bug 53256 2022-03-06 02:36:26 +04:00
OVSharova 4c540dcf57 change styles 2022-03-05 20:04:12 +03:00
SergeyEzhin 66f544bfe1 [SSE mobile] Fix Bug 52861 2022-03-05 18:51:03 +04:00
JuliaSvinareva 37b0fd88d3 [DE PE] Make new search: add methods to update result current number 2022-03-05 15:44:01 +03:00
Julia Radzhabova 0137bb22a4 Revert commit 4d5cf5700e [4d5cf57]
(DE advanced settings without button apply)
2022-03-05 15:28:22 +03:00
Julia Radzhabova f9571ab875 [Mobile] Update translation 2022-03-05 14:30:59 +03:00
Julia Radzhabova 79593595b9
Merge pull request #1617 from ONLYOFFICE/fix/bugfix
[PE] Refactoring
2022-03-05 14:28:26 +03:00
Julia Radzhabova 6511cfe28a [PE] Refactoring 2022-03-05 14:21:18 +03:00
Julia Radzhabova 9a3a1f1228 [DE] Refactoring disconnect message on window close/reload 2022-03-05 14:16:34 +03:00
ShimaginAndrey af011765a4 [SSE] Fix Bug 55829 2022-03-05 14:03:50 +03:00
Julia Radzhabova b1a58e9f61 Merge branch 'release/v7.1.0' into develop 2022-03-05 13:05:49 +03:00
ShimaginAndrey c543f139eb [SSE] Fix Bug 55879 2022-03-05 11:01:45 +03:00
JuliaSvinareva 2c07d642e1 [SSE] Make new search: edit shortcut method 2022-03-04 22:33:45 +03:00
Julia Radzhabova 28bd751d82
Merge pull request #1614 from ONLYOFFICE/feature/InputField-with-Calendar
Feature/input field with calendar
2022-03-04 19:48:14 +03:00
Julia Radzhabova 3f9c482002 Refactoring InputFieldBtnCalendar 2022-03-04 19:33:09 +03:00
SergeyEzhin 83170b1a12 [SSE mobile] Fix Bug 55874 2022-03-04 20:12:14 +04:00
Julia Radzhabova 65f1dd6b07 Refactoring InputFieldBtn and InputFieldBtnCalendar components 2022-03-04 18:07:19 +03:00
JuliaSvinareva 8763262670 [DE] Make new search: fix opening after escape 2022-03-04 17:39:59 +03:00
JuliaSvinareva dbf08b77bc [PE] Make new search: edit shortcut method 2022-03-04 17:38:29 +03:00
papacarlo d1c7693830 Merge branch hotfix/v7.0.1 into master 2022-03-04 08:11:54 +00:00
maxkadushkin d2c5b7ff1d
Merge pull request #1611 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-03-03 23:46:20 +03:00
maxkadushkin 69d286d1d9
Merge pull request #1601 from ONLYOFFICE/feature/fix-selectors-users
Feature/fix selectors users
2022-03-03 23:44:07 +03:00
JuliaSvinareva f91f696cd6 [DE] Make new search: edit shortcut method 2022-03-03 21:55:36 +03:00
Julia Radzhabova d90a5cdd2f [DE] Don't show disconnect message on window close/reload 2022-03-03 21:39:40 +03:00
SergeyEzhin 6bec944f6f [SSE mobile] Fix Bug 55861 2022-03-03 21:21:54 +04:00
SergeyEzhin b58b501303 [SSE mobile] Fix Bug 55857 2022-03-03 21:02:08 +04:00
ShimaginAndrey 81258c1830 [PE] Fix Bug 55867 2022-03-03 17:49:55 +03:00
Julia Radzhabova 0a9bd26c32
Merge pull request #1610 from ONLYOFFICE/fix/bugfix
[DE] Fix Bug 55855
2022-03-03 17:45:45 +03:00
ShimaginAndrey 3aff08333f [DE PE SSE] Fix Bug 55865 2022-03-03 17:11:15 +03:00
Julia Radzhabova 073d8a4e74 [DE] Fix Bug 55855 2022-03-03 16:00:03 +03:00
ShimaginAndrey 37c1275b36 [SSE] Fix Bug 55814 2022-03-03 13:27:50 +03:00
Julia Radzhabova 2e075bcbd3
Merge pull request #1609 from ONLYOFFICE/fix/sse-bugs
[SSE] For Bug 48526
2022-03-03 12:57:47 +03:00
maxkadushkin 70dfae07ac
Merge pull request #1606 from ONLYOFFICE/feature/fix-reg-settings
Fix regSettings and refactoring
2022-03-03 10:40:18 +03:00
JuliaSvinareva 2bfe6b2d2c [DE PE SSE] New search: add filling find input, fix view mode 2022-03-02 21:48:37 +03:00
SergeyEzhin edfb2b9ae6 [DE mobile] Bug 55762 2022-03-02 21:33:03 +04:00
Julia Radzhabova 4d5cf5700e
Merge pull request #1608 from ONLYOFFICE/feature/DE-settings-without-button-Apply
DE advanced settings without button apply
2022-03-02 19:04:50 +03:00
Julia Radzhabova b97bce4693
Merge pull request #1607 from ONLYOFFICE/fix/fix-bugs
[DE] Fix bug 55820
2022-03-02 17:34:48 +03:00
OVSharova ad9beca9db Advancet Settings without button Apply 2022-03-02 17:30:09 +03:00
JuliaSvinareva a1467d131f [DE] Fix bug 55820 2022-03-02 14:45:35 +03:00
JuliaSvinareva 2ac854edc4 [DE PE SSE] New search: hide settings in view mode 2022-03-02 13:58:18 +03:00
ShimaginAndrey cc60ecdd54 Fix regSettings and refactoring 2022-03-02 13:09:22 +03:00
Maxim Kadushkin 6a637f32e8 [DE] debug deployment 2022-03-02 00:34:49 +03:00
Julia Radzhabova d7b920f97c [DE] Don't show disconnect message on window close/reload 2022-03-01 20:53:11 +03:00
SergeyEzhin 119d97a873 [SSE mobile] Fix Bug 55828 2022-03-01 20:31:53 +04:00
Julia Radzhabova a38dd40749
Merge pull request #1596 from ONLYOFFICE/feature/Update-advanced-settings
Update advanced settings
2022-03-01 17:57:33 +03:00
Julia Radzhabova 64208635dd
Merge pull request #1605 from ONLYOFFICE/fix/merge-hotfix
Fix/merge hotfix
2022-03-01 17:47:15 +03:00
ShimaginAndrey 8d6f5a396e [SSE] Correct selector 2022-03-01 17:43:46 +03:00
Julia Radzhabova 0b1b2508d5 Merge branch 'hotfix/v7.0.1' into fix/merge-hotfix
# Conflicts:
#	apps/documenteditor/forms/app/controller/ApplicationController.js
#	apps/documenteditor/main/app/controller/RightMenu.js
#	apps/spreadsheeteditor/mobile/src/view/settings/Settings.jsx
2022-03-01 17:38:57 +03:00
Julia Radzhabova db0b59354a
Merge pull request #1603 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-03-01 17:23:50 +03:00
Julia Radzhabova 0aff146ac0 Fix Bug 55816 2022-03-01 17:17:02 +03:00
Julia Radzhabova 0342820f94 [DE] Fix Bug 55812 2022-03-01 16:38:14 +03:00
OVSharova 8460de31ad Update view 2022-03-01 15:59:21 +03:00
maxkadushkin 9ced8e6376
Merge pull request #1602 from ONLYOFFICE/feature/fix-header-markup-for-xp
[all] fix markup for win xp
2022-03-01 15:37:42 +03:00
ShimaginAndrey 9fc7608193 [DE] Fix Bug 55763 2022-03-01 12:35:50 +03:00
Maxim Kadushkin 8410640633 [stylesheet] version of less up to 4.1.2 2022-03-01 11:30:22 +03:00
ShimaginAndrey c47fbe0ff9 [SSE] Add user selector 2022-03-01 10:51:08 +03:00
Julia Radzhabova 70f5a0ef62 Set asc_CDocInfo.put_СoEditingMode 2022-02-28 20:21:25 +03:00
JuliaSvinareva 3a774f6546 [PE SSE] New search: add search bar window 2022-02-28 17:41:00 +03:00
Julia Radzhabova 8c8a8c816b
Merge pull request #1600 from ONLYOFFICE/fix/translation
[Mobile] Update translation
2022-02-28 16:39:07 +03:00
Julia Radzhabova 004667bea9 [Mobile] Update translation 2022-02-28 16:29:41 +03:00
Julia Radzhabova 01beabe0b8
Merge pull request #1599 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-28 16:27:55 +03:00
Julia Radzhabova de669790d1 [SSE] Refactoring spellcheck panel 2022-02-28 16:21:11 +03:00
Julia Radzhabova eb5cc65702 [Mobile] Update translation 2022-02-28 16:14:31 +03:00
Julia Radzhabova 485e2f4c42
Merge pull request #1598 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-28 16:11:27 +03:00
OVSharova 336ff3681e fix bug delay 2022-02-28 15:56:05 +03:00
OVSharova ce2a9557d1 gradient for text 2022-02-28 11:56:31 +03:00
Julia Radzhabova f90820e887
Merge pull request #1597 from ONLYOFFICE/fix/translation
Fix/translation
2022-02-25 22:06:00 +03:00
Julia Radzhabova d283804675 [Mobile] Update translation 2022-02-25 21:55:27 +03:00
Julia Radzhabova 06f3f2c1e7 Update translation 2022-02-25 21:48:38 +03:00
JuliaSvinareva 468e51cc8e [PE] New search: add left panel, add controller 2022-02-25 16:55:46 +03:00
JuliaSvinareva 2de78cda79 [SSE] New search: make search options (2) 2022-02-25 15:31:15 +03:00
OVSharova 28eb8cac54 add menuCls 2022-02-25 14:31:23 +03:00
maxkadushkin 5bc18dce53
Merge pull request #1584 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2022-02-25 10:08:47 +03:00
maxkadushkin 3245a11beb
Merge pull request #1595 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-02-25 10:05:10 +03:00
maxkadushkin 42164b4ea4
Merge pull request #1577 from ONLYOFFICE/feature/Update-advanced-settings
Update advanced settings
2022-02-25 09:59:47 +03:00
OVSharova b635255954 fix bugs 2022-02-25 05:02:26 +03:00
Maxim Kadushkin 2241438fc7 [all] fix markup for win xp 2022-02-24 22:40:22 +03:00
JuliaSvinareva 92e95b1509 [SSE] New search: make search options 2022-02-24 21:46:22 +03:00
ShimaginAndrey 7bba5f4a04 Fix selectors users 2022-02-24 21:35:50 +03:00
Julia Radzhabova 99e2630c9e [SSE] For Bug 48526 2022-02-24 17:49:07 +03:00
ShimaginAndrey e3459aa8f0 [SSE] Fix Bug 55629 2022-02-24 17:10:26 +03:00
Maxim Kadushkin de1c5ba193 [mobile] fix bug 55742, 55744 2022-02-24 16:39:09 +03:00
Julia Radzhabova 84854bc475 Fix Bug 55735 2022-02-24 15:42:21 +03:00
Maxim Kadushkin 4ba266c6c7 [all] fix bug 55359 2022-02-24 13:10:27 +03:00
Julia Radzhabova 7f3feb26c9
Merge pull request #1594 from ONLYOFFICE/fix/fix-bugs
[DE] Fix bug 50062
2022-02-22 20:25:37 +03:00
JuliaSvinareva 368f7306e4 [SSE] New search: make left panel 2022-02-22 20:17:21 +03:00
Julia Radzhabova 8b88e76cb3
Merge pull request #1593 from ONLYOFFICE/fix/forms-plugins
[DE forms] Bug 54882: Load plugins
2022-02-22 18:51:04 +03:00
Julia Radzhabova 01c89dbd74 [DE forms] Load plugins 2022-02-22 18:23:37 +03:00
ShimaginAndrey 876ac7670d [SSE] Fix Bug 55656 2022-02-22 14:34:41 +03:00
JuliaSvinareva 2dced655d9 [DE] Fix bug 50062 2022-02-22 13:39:53 +03:00
Julia Radzhabova 55247cfbd4
Merge pull request #1592 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-22 13:38:52 +03:00
Julia Radzhabova 0e8b408303 Fix loader for fillForm mode in full editor (and fix open pdf files) 2022-02-22 13:24:16 +03:00
Julia Radzhabova 27e6b1f414 Fix Bug 55678 2022-02-22 13:19:33 +03:00
ShimaginAndrey 0a813a5d8d [DE] Fix Bug 55660 2022-02-22 12:48:00 +03:00
papacarlo 39060b92f5 Merge branch hotfix/v7.0.1 into master 2022-02-22 08:17:30 +00:00
SergeyEzhin c1c2e97770 [DE mobile] Fix Bug 55657 2022-02-22 01:19:45 +04:00
Julia Radzhabova 4dd6cca71d
Merge pull request #1590 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-21 22:05:37 +03:00
Julia Radzhabova 54482a5021 [PE] Fix ComboDataView when picker contains groups (animation) 2022-02-21 21:58:41 +03:00
Julia Radzhabova a0ce0f13c7 [PE] Fix Bug 55681 (fix default animation parameters) 2022-02-21 21:21:12 +03:00
Julia Radzhabova 63d3ab2968
Merge pull request #1589 from ONLYOFFICE/fix/pe-animation
[PE] Fix animation effects
2022-02-21 18:54:55 +03:00
Julia Radzhabova ad084e9656 [PE] Fix animation effects 2022-02-21 18:42:26 +03:00
Julia Radzhabova 2e000df201
Merge pull request #1588 from ONLYOFFICE/fix/bug_55635
[SSE] Bug 55635
2022-02-21 18:27:16 +03:00
Julia Radzhabova 9d15df25bc
Merge pull request #1587 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-02-21 18:03:36 +03:00
JuliaSvinareva 76c3e48f1e [SSE] Bug 55635 2022-02-21 17:50:25 +03:00
JuliaSvinareva 2bf17f6f5a [DE] New search: add methods in controller 2022-02-21 17:22:12 +03:00
SergeyEzhin 4ce698b9b9 [DE PE SSE mobile] For Bug 53998 2022-02-21 17:25:30 +04:00
maxkadushkin 3925fb7d49
Merge pull request #1586 from ONLYOFFICE/feature/fix-build-module-depends
Feature/fix build module depends
2022-02-20 01:46:08 +03:00
Maxim Kadushkin c489b65bf2 [deploy] fix bug 55493 2022-02-20 00:37:16 +03:00
OVSharova c6a9e1ccbc Fix bugs 2022-02-19 20:18:22 +03:00
OVSharova d220dba95c Fix bug DE 2022-02-19 17:14:05 +03:00
Julia Radzhabova b2bdae98da
Merge pull request #1585 from ONLYOFFICE/fix/translation
Fix/translation
2022-02-18 21:23:30 +03:00
Julia Radzhabova 30ff4d7191 [Mobile] Update translation 2022-02-18 21:15:43 +03:00
Julia Radzhabova 4bfaa5661b Update translation 2022-02-18 21:08:31 +03:00
Julia Radzhabova 330376c9b5
Merge pull request #1583 from ONLYOFFICE/fix/about
Fix about: empty customer logo
2022-02-18 18:28:44 +03:00
Julia Radzhabova 44700f5f9b Fix about: empty customer logo 2022-02-18 18:01:23 +03:00
SergeyEzhin 383c95fc22 [DE mobile] Fix Bug 55049 2022-02-18 17:11:14 +04:00
JuliaSvinareva 1ae0f643fb [SSE] Fix bug 55416 2022-02-18 15:53:23 +03:00
Julia Radzhabova 0ade2b58c9
Merge pull request #1581 from ONLYOFFICE/fix/pe-animation
[PE] Change Entrance -> Float In effect in the toolbar. Fix current l…
2022-02-18 15:38:05 +03:00
Julia Radzhabova 69ef78f019
Merge pull request #1582 from ONLYOFFICE/fix/svg-icons
Fix inline svg icons (scroll appears when window has small width)
2022-02-18 15:31:08 +03:00
Julia Radzhabova cf6ce3e212 [PE] Change Entrance -> Float In effect in the toolbar. Fix current level in the animation dialog. 2022-02-18 15:27:29 +03:00
JuliaSvinareva 159f0b13ec [SSE] Bug 55537 2022-02-18 15:23:47 +03:00
OVSharova 522b23b551 fix bug 2022-02-18 15:18:45 +03:00
Julia Radzhabova f8b74dc0ac
Merge pull request #1580 from ONLYOFFICE/feature/sse-nav-print
[SSE] Fix bug 55581
2022-02-18 11:49:44 +03:00
Julia Radzhabova 6499c38105
Merge pull request #1579 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-02-18 11:49:18 +03:00
JuliaSvinareva 5ba251964a [DE PE SSE] Fix hint manager 2022-02-18 11:37:15 +03:00
Julia Radzhabova d2dc2881cc Refactoring 2022-02-17 22:53:07 +03:00
Julia Radzhabova dc15c38338
Merge pull request #1578 from ONLYOFFICE/fix/bugfix
[Mobile] Handle permissions.userInfoGroups: hide cursors from users n…
2022-02-17 21:27:11 +03:00
Julia Radzhabova e49e68743c [Mobile] Handle permissions.userInfoGroups: hide cursors from users not in userInfoGroups 2022-02-17 21:16:35 +03:00
JuliaSvinareva f63ce8dc7f [SSE] Fix bug 55581 2022-02-17 20:37:31 +03:00
SergeyEzhin d150d4af7f [DE PE SSE mobile] Fix Bug 53998, Fix Bug 55470 2022-02-17 20:01:59 +04:00
OVSharova 0f990e649d mark del_ in locale 2022-02-17 17:39:54 +03:00
JuliaSvinareva cda3c71b2a [mobile] Fix bug 55615 2022-02-17 16:39:10 +03:00
OVSharova cc5ce1bfa3 add to local 2022-02-17 14:01:19 +03:00
Julia Radzhabova 52b9578299
Merge pull request #1576 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-17 12:51:35 +03:00
Julia Radzhabova aefae65811 FeaturesManager: change license for some settings 2022-02-17 12:40:10 +03:00
Julia Radzhabova b6eef2f865
Merge pull request #1574 from ONLYOFFICE/fix/chart-styles-load-v2
Fix/chart styles load v2
Bug 52347
2022-02-17 12:07:46 +03:00
Julia Radzhabova 0434a5eed8 [DE] Forms: add separators for text field settings 2022-02-17 11:48:07 +03:00
maxkadushkin 12b634323b
Merge pull request #1573 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-02-17 10:25:02 +03:00
OVSharova 06b3af8e7e refactoring 2022-02-17 01:02:01 +03:00
maxkadushkin cb326bee30
Merge pull request #1569 from ONLYOFFICE/feature/table-contents
Feature/table contents
2022-02-17 00:33:58 +03:00
Julia Radzhabova 47f847d3c2
Merge pull request #1575 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-16 23:06:38 +03:00
Julia Radzhabova 116e364efb [DE] Fix Bug 55089 2022-02-16 22:58:34 +03:00
Julia Radzhabova 566f58a09b Fix Bug 55294 2022-02-16 22:51:34 +03:00
Julia Radzhabova 071e3e31f3 [SSE] Chart styles refactoring in the chart type dialog 2022-02-16 22:50:11 +03:00
Julia Radzhabova 337741f8b0 [SSE] Chart styles refactoring 2022-02-16 22:28:39 +03:00
Julia Radzhabova 9e75d89bb2 [PE] Chart styles loading optimization 2022-02-16 22:08:04 +03:00
JuliaSvinareva ab5241d11a [DE] New search: add settings into search panel 2022-02-16 21:48:45 +03:00
Julia Radzhabova 88606283b7 [DE] Chart styles refactoring 2022-02-16 21:40:06 +03:00
SergeyEzhin 3be24a48bb [DE mobile] Correct tabs 2022-02-16 18:23:56 +04:00
Julia Radzhabova d2622e2f5a [DE] Refactoring drawing current chart style 2022-02-16 17:03:12 +03:00
SergeyEzhin 5966ec9279 After merge 2022-02-16 17:56:26 +04:00
SergeyEzhin 534392b9c2 [DE mobile] Some edits toc 2022-02-16 17:54:28 +04:00
Julia Radzhabova 412249db4f [DE] Chart styles optimization 2022-02-16 16:06:04 +03:00
Julia Radzhabova 45a6f2a286 [DE] Fix apply advanced settings 2022-02-16 14:18:23 +03:00
ShimaginAndrey 4549f3556b [DE PE SSE] Fix Bug 55534 2022-02-16 13:37:54 +03:00
maxkadushkin f65ac90534
Merge pull request #1570 from ONLYOFFICE/feature/bug-commit-move
Feature/bug commit move
2022-02-16 13:22:32 +03:00
Julia Radzhabova 47c582de47
Merge pull request #1572 from ONLYOFFICE/fix/pdf-download
Fix/pdf download
2022-02-16 13:02:13 +03:00
Julia Radzhabova 316e12098f [DE] Update translation 2022-02-16 12:30:41 +03:00
ShimaginAndrey 3e6bf06d0e [SSE] Fix Bug 55539 2022-02-16 12:17:56 +03:00
Maxim Kadushkin 65fc046284 [build] refresh build's plugins version 2022-02-16 11:38:14 +03:00
Julia Radzhabova 0da0ae7e67 [DE] Update translation 2022-02-16 11:30:36 +03:00
ShimaginAndrey 09eeb5ad4f [SSE] Fix Bug 54924 2022-02-16 11:05:41 +03:00
OVSharova 5ec92da4be Update for PE 2022-02-16 03:58:04 +03:00
OVSharova ddbf060303 Update for SE 2022-02-16 02:12:31 +03:00
Julia Radzhabova dbb5613fe4 Fix Bug 55064 2022-02-15 22:46:54 +03:00
Julia Radzhabova f52b50ae67 [DE] Use default settings for pdf download 2022-02-15 22:36:49 +03:00
Julia Radzhabova fa0679e09e
Merge pull request #1571 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix shape menu component
2022-02-15 21:50:42 +03:00
JuliaSvinareva bbdec163ad [DE PE SSE] Fix shape menu component 2022-02-15 20:23:15 +03:00
Julia Radzhabova 8632b2fd96 Fix inline svg icons (scroll appears when window has small width) 2022-02-15 16:52:38 +03:00
Julia Radzhabova 6118c6f232 Fix inline svg icons (scroll appears when window has small width) 2022-02-15 16:50:12 +03:00
SergeyEzhin fbefafdd40
Merge branch 'develop' into feature/table-contents 2022-02-15 17:03:31 +04:00
SergeyEzhin 486ccc7f01 [DE mobile] Correct styles navigation 2022-02-15 15:55:06 +04:00
Julia Radzhabova 6320fc1aae
Merge pull request #1567 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-15 13:59:07 +03:00
Julia Radzhabova 8ec3af8500 Add title for editor frame 2022-02-15 13:49:03 +03:00
Julia Radzhabova 17bbaa0d62
Merge pull request #1566 from ONLYOFFICE/fix/pe-table-styles
Fix/pe table styles
2022-02-15 13:41:58 +03:00
Julia Radzhabova 66aba2f599 [DE][PE][SSE] Hide text rect for crop images 2022-02-15 13:33:50 +03:00
Julia Radzhabova 356db1de10 [DE] Fix current table style 2022-02-15 13:31:14 +03:00
Julia Radzhabova 7f56681957 [PE] For Bug 52346: refactoring table styles loading 2022-02-15 13:30:50 +03:00
Maxim Kadushkin 41d3e37774 [all mobile] for bug 49275 2022-02-15 11:27:08 +03:00
maxkadushkin 6f26f84a68
Merge pull request #1554 from ONLYOFFICE/feature/button-feedback
[DE PE SSE] Fix Bug 49275
2022-02-15 11:01:32 +03:00
Julia Radzhabova 062d9d3d31 [DE] Load live viewer 2022-02-15 10:41:16 +03:00
maxkadushkin bd574ecb36
Merge pull request #1549 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-02-15 10:29:59 +03:00
maxkadushkin 6b9a3e2d24
Merge pull request #1563 from ONLYOFFICE/feature/update-movelist
[SSE] For Bug 47328
2022-02-15 10:18:40 +03:00
OVSharova 4748c7a6cd DE restyle 2022-02-15 02:32:33 +03:00
SergeyEzhin 51f7bb1617 [DE mobile] Corrected navigation view and fixed error 2022-02-14 23:50:42 +04:00
JuliaSvinareva e7b1f74f57 [DE] New search: make show search panel from search window 2022-02-14 19:16:04 +03:00
Julia Radzhabova ee15a53547
Merge pull request #1565 from ONLYOFFICE/feature/sse-switch-rowcol
Feature/sse switch rowcol
2022-02-14 16:10:21 +03:00
maxkadushkin d289d26bcb
Merge pull request #1545 from ONLYOFFICE/feature/bug-fixes
[DE mobile] Fix Bug 55393
2022-02-14 15:23:34 +03:00
maxkadushkin 02ca71358f
Merge pull request #1564 from ONLYOFFICE/feature/menu-item-checked
Change style for checked menu item with icon
2022-02-14 15:22:26 +03:00
ShimaginAndrey 3adfcfd9ce [SSE] Fix Bug 51255 2022-02-14 15:14:11 +03:00
ShimaginAndrey 2d0e40d9c5 [DE PE SSE] Fix Bug 54511
# Conflicts:
#	apps/common/mobile/resources/less/about.less
#	apps/common/mobile/resources/less/common.less
2022-02-14 15:12:22 +03:00
Julia Radzhabova c605a302b6
Merge pull request #1562 from ONLYOFFICE/fix/bugfix
Fix bug with page up/page down in textarea (Bug 39614)
2022-02-14 14:22:28 +03:00
OVSharova d239ff5831 Update for DE 2022-02-14 05:56:29 +03:00
Julia Radzhabova 090f89c9cb Fix bug with page up/page down in textarea (Bug 39614) 2022-02-13 16:40:08 +03:00
Julia Radzhabova 62e64eb5b2
Merge pull request #1561 from ONLYOFFICE/fix/loading-doc-info
[DE] Fix loading document info for large pdf files (show intermediate…
2022-02-13 13:41:17 +03:00
Julia Radzhabova f9b8beb312 [DE] Fix loading document info for large pdf files (show intermediate results) 2022-02-13 13:32:37 +03:00
Julia Radzhabova 1f15e65846
Merge pull request #1560 from ONLYOFFICE/fix/table-styles
[DE] Fix table styles loading
2022-02-12 23:26:33 +03:00
Julia Radzhabova 1902c2d1f6 [DE] Fix table styles loading 2022-02-12 23:19:38 +03:00
JuliaSvinareva c44fdfc61e Add icons for new search 2022-02-12 15:36:32 +03:00
JuliaSvinareva 9336d891d7 [DE] Make new search, add left panel 2022-02-12 15:35:16 +03:00
Julia Radzhabova 5e6752a8fe
Merge pull request #1559 from ONLYOFFICE/fix/fix-download-as
[DE] Download pdf/xps/oxps/djvu files using downloadAs api method
2022-02-11 22:32:52 +03:00
Julia Radzhabova c849c18ce2 [DE] Download pdf/xps/oxps/djvu files using downloadAs api method 2022-02-11 22:07:15 +03:00
SergeyEzhin 240c1bc05d [DE mobile] Edit icons and navigation view 2022-02-11 22:07:30 +04:00
Julia Radzhabova a22de5f9df
Merge pull request #1558 from ONLYOFFICE/fix/translation
Fix/translation
2022-02-11 18:56:58 +03:00
Julia Radzhabova d65ea6005f [Mobile] Update translation 2022-02-11 18:44:57 +03:00
Julia Radzhabova ca7f37b716 Update translation 2022-02-11 18:24:18 +03:00
Julia Radzhabova 18359ef56e
Merge pull request #1557 from ONLYOFFICE/fix/pdf-download
Fix/pdf download
2022-02-11 18:18:12 +03:00
Julia Radzhabova ce86232347 [DE] Close File menu when download original file 2022-02-11 18:05:13 +03:00
Julia Radzhabova c33d67f792 [DE] Fix downloading pdf/xps/oxps/djvu files 2022-02-11 17:54:01 +03:00
ShimaginAndrey 081018e328 [SSE] For Bug 47328 2022-02-11 16:44:55 +03:00
Julia Radzhabova c0ad3b9938
Merge pull request #1556 from ONLYOFFICE/feature-add-icons-format-for-download-as
added format icons djvu,xps,oxps
2022-02-11 14:56:53 +03:00
Kirill Volkov 6d0b6bbccf added format icons djvu,xps,oxps 2022-02-11 12:37:40 +03:00
ShimaginAndrey 5c211f016c [DE PE SSE] Fix Bug 49275 2022-02-11 09:56:54 +03:00
Julia Radzhabova e856207e21
Merge pull request #1553 from ONLYOFFICE/fix/fix-navigation
Fix/fix navigation
2022-02-10 23:04:01 +03:00
Julia Radzhabova 663d39b55c Refactoring styles loading 2022-02-10 22:44:44 +03:00
Julia Radzhabova ffee243d9e [DE] Refactoring navigation list: show full name, update tips on updating names 2022-02-10 22:42:09 +03:00
Julia Radzhabova 0d1bf63050
Merge pull request #1552 from ONLYOFFICE/fix/de-right-panel
Fix/de right panel
2022-02-10 19:37:21 +03:00
Julia Radzhabova ad0e2d6002 [DE] Show right panel after preview modes (form, review) 2022-02-10 19:28:29 +03:00
SergeyEzhin 6ca7553b3f [SSE mobile] Fix Bug 55252 2022-02-10 20:28:08 +04:00
Julia Radzhabova 501ef41868
Merge pull request #1551 from ONLYOFFICE/fix/for-hotfix
[DE] Fix right panel
2022-02-10 19:18:41 +03:00
Julia Radzhabova f812d0eade [DE] Fix right panel 2022-02-10 19:13:09 +03:00
Julia Radzhabova 40d983a66d [DE] Fix right panel 2022-02-10 18:56:58 +03:00
Julia Radzhabova aaeb854bbb
Merge pull request #1550 from ONLYOFFICE/fix/fix-bugs
[DE] Fix bug 55350
2022-02-10 18:26:38 +03:00
JuliaSvinareva c7b06d2a9c [DE] Fix bug 55350 2022-02-10 18:15:07 +03:00
ShimaginAndrey 8762bbb0ba [DE PE] Fix Bug 55447 2022-02-10 17:20:16 +03:00
Julia Radzhabova d53a59f79e
Merge pull request #1548 from ONLYOFFICE/fx/bugfix
[DE] Fix Bug 55409
2022-02-10 00:19:27 +03:00
Julia Radzhabova 9457ba1d01 [DE] Fix Bug 55409 2022-02-10 00:13:01 +03:00
Julia Radzhabova 7e59e1bfcc
Merge pull request #1547 from ONLYOFFICE/feature/bug-55292
Feature/bug 55292
2022-02-10 00:02:51 +03:00
Julia Radzhabova 2b00aa2285 [PE] Bug 55292: set appropriate tab when inserting image/table/chart 2022-02-09 23:24:31 +03:00
Julia Radzhabova d0301ddd49
Merge pull request #1546 from ONLYOFFICE/fix/scroll-context-menu
[DE][PE][SSE] Add scroll to context menu
2022-02-09 22:57:50 +03:00
Julia Radzhabova cc2b1309b7 [DE][PE][SSE] Add scroll to context menu 2022-02-09 22:51:43 +03:00
JuliaSvinareva d00d8c428d [DE] Make new search, add controller 2022-02-09 21:15:36 +03:00
Julia Radzhabova 9ee95bab6e
Merge pull request #1544 from ONLYOFFICE/fix/show-users-info
Add userInfo permissions: hide users not in permissions.userInfo groups
2022-02-09 18:35:30 +03:00
Julia Radzhabova ac1dcce854 permissions.userInfo->permissions.userInfoGroups 2022-02-09 18:14:19 +03:00
Julia Radzhabova 82fec34f74 Add userInfo permissions: hide users not in permissions.userInfo groups 2022-02-09 17:48:26 +03:00
SergeyEzhin 018cab4c08 [DE mobile] Fix Bug 55393 2022-02-09 18:31:08 +04:00
Julia Radzhabova e95f4f4457
Merge pull request #1543 from ONLYOFFICE/fix/bug-52346
Fix/bug 52346
2022-02-09 16:57:29 +03:00
Julia Radzhabova 0b93ca69e7 [DE] Bug 52346: draw current style 2022-02-09 15:45:30 +03:00
ShimaginAndrey 3f0f2cd2ab [SSE] Fix Bug 55407 2022-02-09 14:31:28 +03:00
ShimaginAndrey 4d5e925ede [SSE] Fix Bug 55304 2022-02-09 14:09:09 +03:00
Julia Radzhabova 45221869c7
Merge pull request #1541 from ONLYOFFICE/feature/header-share
Feature/header share
2022-02-09 00:45:17 +03:00
Julia Radzhabova cec7d71b04 [Header] Update translation for user button 2022-02-09 00:35:13 +03:00
Julia Radzhabova b222c556e4 [DE] Bug 52346 2022-02-09 00:13:56 +03:00
SergeyEzhin afa38a73bf [DE mobile] Changed styles in table of contents 2022-02-09 00:32:59 +04:00
Julia Radzhabova 2c6fd0f3ca
Merge pull request #1542 from ONLYOFFICE/fix/Bug_55411
[SSE] Bug 55411
2022-02-08 22:22:12 +03:00
Maxim Kadushkin 0f385eaa2c [DE] fix bug 51946 2022-02-08 19:29:32 +03:00
JuliaSvinareva 3613b107fc [SSE] Bug 55411 2022-02-08 19:22:28 +03:00
JuliaSvinareva 14cf16f201 [DE] Make new search bar 2022-02-08 19:03:44 +03:00
Julia Radzhabova 9ef458336c [SSE] Show view tab in view/commenting mode 2022-02-08 13:01:04 +03:00
maxkadushkin f8051d648c
Merge pull request #1540 from ONLYOFFICE/feature/fix-problem-with-title-file
Fix problem with title
2022-02-08 12:27:49 +03:00
maxkadushkin 44bcda87ed
Merge pull request #1538 from ONLYOFFICE/feature/fix-bug-react
Feature/fix bug react
2022-02-08 12:27:03 +03:00
maxkadushkin ac21d0419b
Merge pull request #1535 from ONLYOFFICE/feature/bug-fixes
[SSE mobile] Fix Bug 55374
2022-02-08 12:22:20 +03:00
Julia Radzhabova e0662ea7ed
Merge pull request #1539 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix print preview when there is nothing to print
2022-02-08 12:07:29 +03:00
ShimaginAndrey 7558acdd76 [SSE] Fix Bug 54930 2022-02-08 11:18:35 +03:00
JuliaSvinareva abbe7080d5 [SSE] Fix print preview when there is nothing to print 2022-02-08 00:04:34 +03:00
Julia Radzhabova 633b44b7bd [PE] Show View tab in view/commenting mode 2022-02-07 19:01:03 +03:00
Julia Radzhabova f2531c0ad7 [DE] Return separator in view tab 2022-02-07 18:55:42 +03:00
Julia Radzhabova fe722413f1
Merge pull request #1537 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-02-07 16:54:43 +03:00
JuliaSvinareva 1403deb086 [DE PE SSE] Fix bug 55342 2022-02-07 16:42:32 +03:00
Julia Radzhabova 7fce35c7d9
Merge pull request #1536 from ONLYOFFICE/fix/form-in-table
[DE] Change "remove" menu item for forms
2022-02-07 16:00:34 +03:00
Julia Radzhabova 1c6edcf780 [DE] Change "remove" menu item for forms 2022-02-07 15:50:32 +03:00
JuliaSvinareva e29e00b74e [DE] Fix bug 55354 2022-02-07 15:28:37 +03:00
SergeyEzhin ad63fe3e76 [SSE mobile] Fix Bug 55374 2022-02-07 15:28:38 +04:00
ShimaginAndrey 8c35514ced [SSE] Fix Bug 55357 2022-02-07 13:06:41 +03:00
Julia Radzhabova 41a4622fb5 [DE] Show View tab in view/commenting/fill form mode 2022-02-06 20:58:45 +03:00
maxkadushkin 0dd2e4bc8f
Merge pull request #1525 from ONLYOFFICE/feature/add-all-list
[SSE] Add tab 'All-list'
2022-02-06 19:00:17 +03:00
maxkadushkin 22a855c9e1
Merge pull request #1524 from ONLYOFFICE/feature/refactor-tab-color
Feature/refactor tab color
2022-02-06 18:59:01 +03:00
Julia Radzhabova a8a11d20db [SSE] Change buttons in the header 2022-02-06 14:50:17 +03:00
Julia Radzhabova c062a743ee [PE] Change buttons in the header 2022-02-05 22:20:13 +03:00
Maxim Kadushkin 5d2ea4b6d1 [desktop] for bug 55359 2022-02-05 17:30:52 +03:00
Maxim Kadushkin 207e67b724 [PE SSE mobile] for Bug 55043 2022-02-05 00:48:02 +03:00
SergeyEzhin b36d044620 [DE mobile] Change navigation view 2022-02-05 01:03:19 +04:00
Julia Radzhabova 39ecf9170b [DE] Fix header in loader 2022-02-04 23:47:04 +03:00
Julia Radzhabova e416bc2de4
Merge pull request #1533 from ONLYOFFICE/fix/fix-bugs-7-0
[DE PE SSE] Fix bug 55356
2022-02-04 22:40:57 +03:00
Julia Radzhabova 7259a3f82d [Header] Fix styles for user's initials 2022-02-04 21:14:12 +03:00
JuliaSvinareva 95291a2e06 [DE PE SSE] Fix bug 55356 2022-02-04 20:08:37 +03:00
JuliaSvinareva 85f994303f [DE] Fix bug 55348 2022-02-04 19:21:48 +03:00
ShimaginAndrey b6b95345c8 [DE PE SSE] Fix Bug 55355 2022-02-04 18:23:50 +03:00
Julia Radzhabova 44cd3a6ec1
Merge pull request #1532 from ONLYOFFICE/fix/translation
Fix/translation
2022-02-04 17:41:35 +03:00
Julia Radzhabova bee53ec94b [Mobile] Update translation 2022-02-04 17:31:55 +03:00
Julia Radzhabova ba25d38c45
Merge pull request #1531 from ONLYOFFICE/fix/bugfix
[DE] Refactoring TextAssociation types
2022-02-04 17:28:07 +03:00
Julia Radzhabova 81a7d8df36 Update translation 2022-02-04 17:26:53 +03:00
Julia Radzhabova 7f4cb6a262 [DE] Refactoring TextAssociation types 2022-02-04 17:21:07 +03:00
Julia Radzhabova 86a6b68d61 [Header] Refactoring style for share button 2022-02-04 17:09:03 +03:00
Julia Radzhabova 34e0c295e1 [Header] Refactoring sharing button 2022-02-04 14:51:13 +03:00
Julia Radzhabova b9d2c851d1 [Header] Show user's initials 2022-02-04 12:13:13 +03:00
Julia Radzhabova 06a0f34d49 [Header] Change icon for current user 2022-02-03 23:14:59 +03:00
Julia Radzhabova 4f4c02aefa
Merge pull request #1530 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix bug 55173
2022-02-03 20:08:37 +03:00
SergeyEzhin 4ffd60ce86 [DE mobile] Change styles in table of contents 2022-02-03 20:34:19 +04:00
Julia Radzhabova 175cdd9fb5 [DE] Remove settings button from header 2022-02-03 16:00:45 +03:00
ShimaginAndrey 9f185109b8 [DE] Fix Bug 55281 2022-02-03 15:56:38 +03:00
OVSharova 7541dac366 Fix bug 2022-02-03 15:06:09 +03:00
Julia Radzhabova 0d22731567 [Header] Refactoring 2022-02-03 13:51:38 +03:00
Julia Radzhabova 38b36d923d [Header] Refactoring 2022-02-03 13:30:01 +03:00
OVSharova 7315a797c6 add date:click for input wiyh calendar 2022-02-03 11:55:32 +03:00
OVSharova 7967d2043f Fix bug 2022-02-03 11:01:58 +03:00
Julia Radzhabova f2143c7de7 [DE] Don't show editing users in viewer 2022-02-03 00:46:51 +03:00
Julia Radzhabova 6e3665aeca [Header] Fix style for share button 2022-02-03 00:36:27 +03:00
Julia Radzhabova 5e36ba4ba7 Add icons for share button 2022-02-03 00:20:15 +03:00
Julia Radzhabova a149fb57c3 [DE] Add share and users buttons to header 2022-02-03 00:00:46 +03:00
Julia Radzhabova 210399a1ff
Merge pull request #1529 from ONLYOFFICE/fix/bugfix-pdf
[DE] Hide context menu when no selected text in pdf
2022-02-02 18:20:38 +03:00
Julia Radzhabova 2b5d415f43 [DE] Hide context menu when no selected text in pdf 2022-02-02 18:12:20 +03:00
Julia Radzhabova 8117d3532d [PE] Bug 55292 2022-02-02 17:46:48 +03:00
JuliaSvinareva f8e430f3a7 [DE PE SSE] Fix bug 55173 2022-02-02 16:37:30 +03:00
JuliaSvinareva 4a5ce7f6c4
Merge pull request #1528 from ONLYOFFICE/feature/Bug_49684
Feature/bug 49684
2022-02-02 12:09:10 +03:00
JuliaSvinareva 981391fe09 [PE] Fix focus of position settings in advanced settings 2022-02-02 11:37:18 +03:00
JuliaSvinareva 32f018a950 [PE] Fix placement settings in advanced settings (2) 2022-02-02 00:34:38 +03:00
Julia Radzhabova 7a88124070
Merge pull request #1527 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-02-01 20:13:03 +03:00
Julia Radzhabova c79aa4507e [DE] Fix Bug 41546 2022-02-01 20:04:34 +03:00
Julia Radzhabova 6c88c1c30d [PDF Viewer] Show context menu 2022-02-01 20:00:41 +03:00
SergeyEzhin 63db8da5d4 [DE mobile] Correct navigation view 2022-02-01 19:36:32 +04:00
Julia Radzhabova c89170ce29 Fix Bug 52904 2022-02-01 18:18:03 +03:00
SergeyEzhin 27343ca36a [DE mobile] Add refresh in context menu 2022-02-01 17:14:36 +04:00
Julia Radzhabova 6e30c19e1c
Merge pull request #1526 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-02-01 14:22:05 +03:00
JuliaSvinareva 74ba851ce5 [DE] Fix bug 55224 2022-02-01 14:13:15 +03:00
ShimaginAndrey eaa1e66d09 [SSE] Add tab 'All-list' 2022-02-01 12:29:01 +03:00
SergeyEzhin ddf8b23570 [DE mobile] Correct structure 2022-02-01 00:22:31 +04:00
OVSharova 8b4b87afac Variand without dialog window 2022-01-31 22:09:05 +03:00
JuliaSvinareva 6dc7f36d7b [DE PE SSE] Bug 55182 2022-01-31 19:58:24 +03:00
JuliaSvinareva 162e223f68 [PE] Fix placement settings in advanced settings 2022-01-31 17:38:57 +03:00
Julia Radzhabova ec4c366bef
Merge pull request #1523 from ONLYOFFICE/fix/translation
Fix/translation
2022-01-31 17:15:24 +03:00
Julia Radzhabova 1a016c81bc [Mobile] Update translation 2022-01-31 17:06:48 +03:00
maxkadushkin 0155bb4fea
Merge pull request #1522 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2022-01-31 16:29:58 +03:00
ShimaginAndrey 0d3f356c1c Correct flag 'isEdit' 2022-01-31 16:14:39 +03:00
Julia Radzhabova ce3dbefa74 Update translation 2022-01-31 16:11:43 +03:00
maxkadushkin 696fee1cbe
Merge pull request #1521 from ONLYOFFICE/feature/bug-fixes
[PE SSE mobile] Fix Bug 55043
2022-01-31 15:53:36 +03:00
maxkadushkin 45f830e266
Merge pull request #1520 from ONLYOFFICE/feature/Bug_50043
Bug 50043
2022-01-31 15:51:23 +03:00
ShimaginAndrey cf2f8820b9 [SSE] Fix Bug 55134, 55186 2022-01-31 15:26:01 +03:00
OVSharova 31f14b3e64 Variant with dialog window 2022-01-31 14:52:36 +03:00
ShimaginAndrey de614733c4 [SSE] Fix Bug 55113 2022-01-31 11:30:04 +03:00
ShimaginAndrey a0843eb240 [SSE] Correct icon in dark-theme 2022-01-31 11:10:05 +03:00
Maxim Kadushkin 52a2314f8e [all] in app vesion added build number 2022-01-31 00:54:36 +03:00
Maxim Kadushkin a402d2efdc [mobile] changed loading status order 2022-01-29 22:04:56 +03:00
SergeyEzhin c90c0ac259 [DE mobile] Add navigation and correct a table of contents 2022-01-29 17:57:41 +04:00
JuliaSvinareva ee84a1d160 [PE] Add placement tab in chart advanced settings, add position settings in shape advanced settings 2022-01-28 20:47:56 +03:00
JuliaSvinareva 472427df94 [PE] Add placement tab in table advanced settings 2022-01-28 17:01:31 +03:00
ShimaginAndrey ad71560b8d [SSE] Refactoring TabColor 2022-01-28 14:20:41 +03:00
Maxim Kadushkin c043d0c858 [mobile] fix bug 55103 2022-01-28 11:32:57 +03:00
ShimaginAndrey ab17a7161a [DE] Fix Bug 55111 2022-01-27 17:17:09 +03:00
SergeyEzhin fc1267c4dd [PE SSE mobile] Fix Bug 55043 2022-01-27 17:51:29 +04:00
ShimaginAndrey 3cb046e343 [SSE] Fix Bug 54924 2022-01-27 16:44:29 +03:00
OVSharova a98d599096 Fix Bug 50043 2022-01-27 14:36:04 +03:00
SergeyEzhin 98ffebb52d [DE mobile] Add editing a table of contents v.3 2022-01-27 02:10:44 +04:00
maxkadushkin 4f92a75911
Merge pull request #1516 from ONLYOFFICE/feature/add-tab-color
Feature/add tab color
2022-01-26 22:54:52 +03:00
maxkadushkin 4cb02aaf9c
Merge branch 'develop' into feature/add-tab-color 2022-01-26 22:46:47 +03:00
maxkadushkin ad011826f8
Merge pull request #1519 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2022-01-26 22:43:55 +03:00
maxkadushkin f74ed73317
Merge pull request #1500 from ONLYOFFICE/feature/bug-fixes
Fix Bug 54797
2022-01-26 22:39:07 +03:00
OVSharova 0e36454890 Fix Bug 50043 2022-01-26 18:00:09 +03:00
JuliaSvinareva 966722826f [PE] Make settings for relative positioning in image advanced settings 2022-01-26 17:25:10 +03:00
ShimaginAndrey 49e5d3ff6e [SSE] Correct icon 'add' 2022-01-25 21:08:58 +03:00
SergeyEzhin a183de4c6e [DE mobile] Add editing a table of contents v.2 2022-01-25 20:10:16 +04:00
Oleg Korshul 7d19d36a13
Merge pull request #1518 from ONLYOFFICE/feature/search-callback
Use callback in search function
2022-01-25 16:28:32 +03:00
OVSharova abb20fa371 Fix Bug 50043 2022-01-25 15:37:13 +03:00
Julia Radzhabova 9acf7e4d71 [DE mobile] Fix bug 2022-01-25 15:21:38 +03:00
Julia Radzhabova cde9f19aec Use callback in search function 2022-01-25 15:03:42 +03:00
ShimaginAndrey b70f1fc3ef [SSE] Fix Bug 54969 2022-01-25 12:37:36 +03:00
ShimaginAndrey 7a5d73624b [SSE] Fix Bug 54820 2022-01-25 11:38:18 +03:00
SergeyEzhin 6a3a566830 [DE mobile] Add editing a table of contents 2022-01-25 01:58:20 +04:00
JuliaSvinareva c6edf94028 [SSE] Fix bug 53571 2022-01-24 21:17:01 +03:00
Julia Radzhabova 041354c5da
Merge pull request #1517 from ONLYOFFICE/fix/bug-54910
[DE forms] Bug 54910
2022-01-24 19:15:26 +03:00
Julia Radzhabova a14533a9d4 [DE forms] Bug 54910 2022-01-24 19:07:47 +03:00
ShimaginAndrey 6bd49b1c79 [SSE] Correct routing 2022-01-24 17:18:12 +03:00
Julia Radzhabova 43b8f75ce1
Merge pull request #1515 from ONLYOFFICE/fix/bugfix
[PE] Refactoring
2022-01-24 12:36:44 +03:00
Julia Radzhabova fbe946719b [PE] Refactoring 2022-01-24 12:29:08 +03:00
Julia Radzhabova 462f90788c
Merge pull request #1514 from ONLYOFFICE/fix/bug-53978
[PE][DE] Bug 53978
2022-01-21 21:08:14 +03:00
Julia Radzhabova 573565ff68 [PE][DE] Bug 53978 2022-01-21 21:01:18 +03:00
Julia Radzhabova 0942617e8f
Merge pull request #1513 from ONLYOFFICE/fix/translation
Fix/translation
2022-01-21 20:58:56 +03:00
SergeyEzhin 7c56ea77a1 [DE mobile] Make adding table of contents 2022-01-21 21:51:34 +04:00
Julia Radzhabova c98e6c6aee [Mobile] Update translation 2022-01-21 20:48:59 +03:00
Julia Radzhabova b6d91237d4 Update translation 2022-01-21 20:35:02 +03:00
Julia Radzhabova 1e7a520230
Merge pull request #1512 from ONLYOFFICE/fix/merge-hotfix
Fix/merge hotfix
2022-01-21 20:18:50 +03:00
Julia Radzhabova 1ec8663648 Merge branch 'hotfix/v7.0.1' into fix/merge-hotfix 2022-01-21 20:00:17 +03:00
Julia Radzhabova d7c727d720
Merge pull request #1509 from ONLYOFFICE/fix/pe-merge-animation
Fix/pe merge animation
2022-01-21 19:11:54 +03:00
Julia Radzhabova b43c6e4037
Merge pull request #1510 from ONLYOFFICE/fix/bug-53978
[SSE][SSE mobile] Bug 53978
2022-01-21 19:08:05 +03:00
Julia Radzhabova d6640f40f7 Merge branch 'fix/group-animation-effects' into fix/pe-merge-animation 2022-01-21 18:58:53 +03:00
Julia Radzhabova d6bae44500 [SSE][SSE mobile] Bug 53978 2022-01-21 17:36:41 +03:00
Julia Radzhabova ebe6e0495f [PE] Fix custom animation 2022-01-21 16:56:42 +03:00
Julia Radzhabova d94b41692c [PE] Fix multiple animations 2022-01-21 16:28:57 +03:00
JuliaSvinareva a503275036 [DE] Fix bug 53514 2022-01-21 15:25:27 +03:00
Julia Radzhabova 32347caa7e
Merge pull request #1507 from ONLYOFFICE/fix/bugfix
[SSE] For Bug 55011
2022-01-21 14:43:16 +03:00
Julia Radzhabova 1ae9e9eb62 [SSE] For Bug 55011 2022-01-21 14:24:55 +03:00
Julia Radzhabova 931ad0b7ec
Merge pull request #1506 from ONLYOFFICE/fix/pe-animation
[PE] Fix bugs
2022-01-21 13:26:28 +03:00
Julia Radzhabova 44fd700fc3 [PE] Fix bugs 2022-01-21 13:19:13 +03:00
Julia Radzhabova 8aa3b4ef40
Merge pull request #1505 from ONLYOFFICE/fix/pe-transitions
[PE] Add icon to transitions tab
2022-01-21 13:17:16 +03:00
Julia Radzhabova c124383a0f [PE] Add icon to transitions tab 2022-01-21 12:37:24 +03:00
Julia Radzhabova c57670fc71
Merge pull request #1504 from ONLYOFFICE/fix/review-context-menu
Fix/review context menu
2022-01-21 12:13:41 +03:00
Julia Radzhabova 9b77089c73
Merge pull request #1503 from ONLYOFFICE/fix/pe-animation
Fix/pe animation
2022-01-21 12:04:20 +03:00
Julia Radzhabova 68dccf5337 [PE] Add icons 2022-01-21 11:25:04 +03:00
OVSharova 21a9d01568 Fix bug 2022-01-21 02:17:16 +03:00
Julia Radzhabova 547125cb82 [DE] Support review changes for selection 2022-01-21 00:39:02 +03:00
Julia Radzhabova 0d1549e56f [DE][DE mobile] Support review changes for selection 2022-01-21 00:11:12 +03:00
Julia Radzhabova 19960b2305 [PE] Fix bugs 2022-01-20 21:49:00 +03:00
Julia Radzhabova 194c8fc32c [PE] Animation: add icon for labels. Add Label component 2022-01-20 21:02:14 +03:00
OVSharova 475d42e02f Fix bug 2022-01-20 19:17:18 +03:00
Julia Radzhabova 9ad2488c51 [PE] Add icons for animation 2022-01-20 18:39:25 +03:00
Julia Radzhabova 7332c11d5a
Merge pull request #1502 from ONLYOFFICE/fix/pe-animation
[PE] Animation: support several effects with different subtypes
2022-01-20 13:56:17 +03:00
Julia Radzhabova fed5f742e3 [PE] Animation: support several effects with different subtypes 2022-01-20 13:22:41 +03:00
OVSharova 45863f9a2d add to en.json 2022-01-20 01:44:46 +03:00
OVSharova 91f1b77a6c Update for all effect families 2022-01-20 01:25:39 +03:00
Julia Radzhabova 39b929a779
Merge pull request #1501 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2022-01-19 23:32:39 +03:00
Julia Radzhabova ccec3e5a4b [PE] For Bug 52613 2022-01-19 23:16:19 +03:00
Julia Radzhabova 40d55acd90
Merge pull request #1493 from ONLYOFFICE/fix/Repeat-and-duration-for-animation
Repeat and duration for animation
2022-01-19 22:20:36 +03:00
Julia Radzhabova f54cc3e381 [PE] Animation dialog refactoring: support preview options, support focus 2022-01-19 22:11:48 +03:00
Maxim Kadushkin 6f83d76b57 Merge branch 'release/v7.1.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.1.0 2022-01-19 21:44:41 +03:00
Maxim Kadushkin 4ac9e13874 [DE] fix bug 49737 2022-01-19 21:43:54 +03:00
Julia Radzhabova 650e2d9e21 Merge remote-tracking branch 'origin/fix/Repeat-and-duration-for-animation' into fix/Repeat-and-duration-for-animation 2022-01-19 21:34:54 +03:00
Julia Radzhabova 3099b6befb [PE] Fix repeat and duration settings for animation 2022-01-19 21:34:20 +03:00
SergeyEzhin f11ea1159f For Bug 54797 2022-01-19 22:01:18 +04:00
SergeyEzhin d540b6d879 Fix Bug 54797 2022-01-19 21:33:47 +04:00
OVSharova d43ecdfce3 Fix bug 2022-01-19 19:38:23 +03:00
OVSharova 146363ddf9 Fix bug 2022-01-19 19:25:39 +03:00
Julia Radzhabova a81547d4ae
Merge pull request #1499 from ONLYOFFICE/fix/fix-mobile
[DE Mobile] disable editing for fill forms and commenting when no lic…
2022-01-19 18:44:57 +03:00
SergeyEzhin 48b682c54c [PE SSE mobile] Correct context menu 2022-01-19 18:43:11 +04:00
Julia Radzhabova 743cd8a42a [DE Mobile] disable editing for fill forms and commenting when no license (Bug 54910) 2022-01-19 16:08:03 +03:00
Julia Radzhabova 8d36662f15
Merge pull request #1498 from ONLYOFFICE/fix/mobile-bug-54910
Fix/mobile bug 54910
2022-01-19 15:19:42 +03:00
Julia Radzhabova aae998b37a
Merge pull request #1496 from ONLYOFFICE/fix/auto-filter-dlg
[SSE] Fix autofilter dialog
2022-01-19 15:19:29 +03:00
Julia Radzhabova b63cd1be82
Merge pull request #1497 from ONLYOFFICE/fix/for-mobile-hotfix
[Mobile] Show warning and disable editing for fill forms and commenti…
2022-01-19 15:19:07 +03:00
Julia Radzhabova 96efeeb77b [Mobile] Show warning and disable editing for fill forms and commenting when no license (Bug 54910) 2022-01-19 14:51:34 +03:00
Julia Radzhabova ba3bfa7b5a
Merge pull request #1495 from ONLYOFFICE/fix/bug-54910
Fix/bug 54910
2022-01-19 14:40:30 +03:00
Julia Radzhabova c4ea47a9e8
Merge pull request #1494 from ONLYOFFICE/fix/for-hotfix
Fix/for hotfix
2022-01-19 14:38:25 +03:00
Julia Radzhabova 9f16a3c4d3 [DE][PE][SSE] Disable comment, fillForms when no license in the restricted editing mode 2022-01-19 13:48:58 +03:00
Maxim Kadushkin 336e2c449f [forms] replace inlined variables 2022-01-19 13:29:41 +03:00
Maxim Kadushkin d53adf634d [build] refactoring 2022-01-19 13:29:25 +03:00
Julia Radzhabova 0f7cd84acf [DE forms] Disable edit buttons when no license (Bug 54910) 2022-01-19 13:17:01 +03:00
Julia Radzhabova 415d9651df [DE forms] Fix Bug 54910 2022-01-19 13:16:20 +03:00
Julia Radzhabova 5aada4b76b
Merge pull request #1492 from ONLYOFFICE/fix/fix-plugins
[mobile] Fix bug 54873
2022-01-19 12:45:58 +03:00
Julia Radzhabova cc14cd0009
Merge pull request #1491 from ONLYOFFICE/fix/fix-select-tools
[DE] Fix select and hand tools
2022-01-19 12:43:09 +03:00
JuliaSvinareva b5a1cf5bc5 [DE] Fix select and hand tools 2022-01-19 12:29:35 +03:00
OVSharova 63a2caff72 Add FamilyEffect 2022-01-19 05:32:55 +03:00
Julia Radzhabova 6b88441a1e [SSE] Add icons 2022-01-18 21:47:13 +03:00
Julia Radzhabova 302c220ccf [DE] Lock/unlock accept/reject buttons for selected text 2022-01-18 21:44:27 +03:00
SergeyEzhin 2c9e34c1be For Bug 54910 2022-01-18 22:09:05 +04:00
Julia Radzhabova f5cc227192
Merge pull request #1490 from ONLYOFFICE/feature/add-select-hand-tools
Feature/add select hand tools
2022-01-18 16:15:25 +03:00
JuliaSvinareva a8ddc013e8 [DE] Add translations 2022-01-18 15:21:19 +03:00
JuliaSvinareva d57395905f [DE] Add methods for select and hand tools 2022-01-18 15:16:33 +03:00
Julia Radzhabova 6e699abdae
Merge pull request #1489 from ONLYOFFICE/fix/bug-52613
[DE] Fix Bug 52613
2022-01-18 12:42:45 +03:00
Julia Radzhabova a593aa3180 [DE] Fix Bug 52613 2022-01-18 12:23:41 +03:00
Maxim Kadushkin 3b3f0ef297 [forms] replace inlined variables 2022-01-18 11:23:41 +03:00
Maxim Kadushkin 8395c4d481 [build] refactoring 2022-01-18 11:22:44 +03:00
OVSharova 3884581d0a Update duration an repeat fields 2022-01-18 02:55:01 +03:00
Maxim Kadushkin 9d65304e46 Merge branch 'release/v7.1.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.1.0 2022-01-17 23:20:23 +03:00
Maxim Kadushkin faa2649550 [DE PE] fix bug 54867 2022-01-17 23:18:20 +03:00
Julia Radzhabova e234730e70
Merge pull request #1488 from ONLYOFFICE/fix/bugfix
Fix Bug 54917
2022-01-17 22:58:07 +03:00
Julia Radzhabova cd39943c81 Fix Bug 54917 2022-01-17 22:45:48 +03:00
Julia Radzhabova 05b7bc4212
Merge pull request #1487 from ONLYOFFICE/fix/fix-shape-menu
[DE PE SSE] Fix shape menu
2022-01-17 21:11:47 +03:00
JuliaSvinareva 49e7293e2b [DE PE SSE] Fix shape menu 2022-01-17 19:44:25 +03:00
Julia Radzhabova 04d67d5612
Merge pull request #1486 from ONLYOFFICE/fix/bug-54910
Fix/bug 54910
2022-01-17 19:11:36 +03:00
Julia Radzhabova 3a887a330e [Mobile] Show warning and disable editing for fill forms and commenting when no license (Bug 54910) 2022-01-17 19:03:25 +03:00
Julia Radzhabova efa0ca0e65 [DE][PE][SSE] Disable comment, fillForms when no license in the restricted editing mode 2022-01-17 18:59:46 +03:00
Julia Radzhabova 87415ea802 [DE forms] Disable edit buttons when no license (Bug 54910) 2022-01-17 18:09:45 +03:00
maxkadushkin 0e9e20e0ea
Merge pull request #1477 from ONLYOFFICE/feature/fix-bugs
Feature/fix bugs
2022-01-17 17:43:05 +03:00
papacarlo adc2afabf5 Merge branch release/v7.0.0 into release/v7.1.0 2022-01-17 14:34:05 +00:00
papacarlo b43a9055b3 Merge branch release/v7.0.0 into develop 2022-01-17 14:34:00 +00:00
papacarlo 6ea745f969 Merge branch release/v7.0.0 into master 2022-01-17 14:33:54 +00:00
Julia Radzhabova f5c9860cb0
Merge pull request #1482 from ONLYOFFICE/fix/bug-54910
[DE forms] Fix Bug 54910
2022-01-17 12:29:58 +03:00
Julia Radzhabova 245275c571 [DE forms] Fix Bug 54910 2022-01-17 12:01:35 +03:00
Maxim Kadushkin 55cf98d14c [SSE] for bug 54915 2022-01-16 20:20:59 +03:00
Oleg Korshul 4803f2894a
Merge pull request #1481 from ONLYOFFICE/feature/bugfix-for-release-7-0
[mobile] added checking of extra addons for build
2022-01-15 16:40:52 +03:00
Maxim Kadushkin ba344265b3 [mobile] added checking of extra addons for build 2022-01-15 15:33:12 +03:00
Julia Radzhabova 77652d3ed4
Merge pull request #1480 from ONLYOFFICE/fix/auto-filter-dlg
[SSE] Fix autofilter dialog
2022-01-15 00:32:27 +03:00
Julia Radzhabova b2ea02033a [SSE] Fix autofilter dialog 2022-01-15 00:25:21 +03:00
Julia Radzhabova 02a84336c7 Change style for checked menu item with icon 2022-01-15 00:12:21 +03:00
JuliaSvinareva 283f1b435d [DE] Add icons for select and hand tools 2022-01-14 20:21:07 +03:00
JuliaSvinareva 44790a8858 [mobile] Fix bug 54873 2022-01-14 19:54:07 +03:00
Julia Radzhabova 96c3fafb7f
Merge pull request #1479 from ONLYOFFICE/fix/sse-view-reg-settings
[SSE] Show regional settings in viewer (Bug 54851)
2022-01-14 18:24:30 +03:00
Julia Radzhabova a1c702eadc
Merge pull request #1478 from ONLYOFFICE/fix/bugfix
[DE forms] Fix Bug 54897
2022-01-14 16:11:27 +03:00
Julia Radzhabova 4c47fcf862 [DE forms] Fix Bug 54897 2022-01-14 16:04:39 +03:00
Julia Radzhabova e31f5e0428
Merge pull request #1476 from ONLYOFFICE/fix/translation
Fix/translation
2022-01-14 15:52:26 +03:00
Julia Radzhabova e8963f24ba [DE mobile] Fix translation 2022-01-14 15:33:14 +03:00
Julia Radzhabova e88b25522e [Mobile] Update translation 2022-01-14 15:30:29 +03:00
SergeyEzhin c767b218ef [DE PE SSE mobile] Correct formats icons 2022-01-14 16:22:06 +04:00
Julia Radzhabova 9f09bde64e Update translation 2022-01-14 14:49:00 +03:00
Julia Radzhabova 4479a75b7c [Mobile] Update translation 2022-01-14 14:38:38 +03:00
Julia Radzhabova aa9b19879d Update translation 2022-01-14 14:02:27 +03:00
maxkadushkin 03488c6cb7
Merge pull request #1475 from ONLYOFFICE/feature/Bug_2883
Bug 12883
2022-01-14 12:44:54 +03:00
maxkadushkin 2521b7dd89
Merge pull request #1474 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2022-01-14 12:35:19 +03:00
Julia Radzhabova 309562657a
Merge pull request #1473 from ONLYOFFICE/feature/change-repeat-for-animation
Change repeat for animation
2022-01-14 11:58:42 +03:00
OVSharova da7f178202 Fix bug 2022-01-14 02:25:47 +03:00
OVSharova 318dc3c66f Update template 2022-01-14 01:51:26 +03:00
SergeyEzhin 2c64c74979 [DE PE SSE mobile] Change formats icons 2022-01-14 02:11:02 +04:00
Julia Radzhabova 6abc2ae930 [Vendor] Remove bs docs 2022-01-14 00:52:27 +03:00
Julia Radzhabova abe351d408 [SSE] Switch chart row/column from right panel 2022-01-13 23:59:39 +03:00
Julia Radzhabova 0cc5275625 [DE] Fix comment lock 2022-01-13 22:38:44 +03:00
Julia Radzhabova 1c17f8bd99 Merge branch 'feature/de-lock-refactoring' into develop 2022-01-13 22:13:24 +03:00
JuliaSvinareva bb978b5e90 [DE] Make select and hand tools 2022-01-13 21:18:42 +03:00
Julia Radzhabova f53869dd77
Merge pull request #1471 from ONLYOFFICE/fix/bug-54851
[SSE] Bug 54851
2022-01-13 19:59:26 +03:00
OVSharova f6d710dc3b Fix bug 2022-01-13 19:44:46 +03:00
Julia Radzhabova 23d8ac7730 [SSE] Show regional settings in viewer (Bug 54851) 2022-01-13 19:23:29 +03:00
OVSharova 30089e7a67 Add event paste 2022-01-13 19:13:44 +03:00
Julia Radzhabova b712c6a0ad [SSE] Bug 54851 2022-01-13 18:42:31 +03:00
JuliaSvinareva 489d352ae8
Merge pull request #1470 from ONLYOFFICE/feature/toolbar-buttons
Feature/toolbar buttons
2022-01-13 18:26:15 +03:00
OVSharova 5776e8329b Fix bug 2022-01-13 18:24:53 +03:00
JuliaSvinareva 3947c42aaf [DE PE SSE] Fix distance between toolbar buttons 2022-01-13 17:55:35 +03:00
JuliaSvinareva 1fbd9a4773 [DE PE SSE] Fix styles of toolbar buttons 2022-01-13 17:48:51 +03:00
Julia Radzhabova b5a19477b1 Merge branch 'release/v7.1.0' into develop 2022-01-13 17:47:19 +03:00
OVSharova eede2b9b06 Refactoring 2022-01-13 17:44:20 +03:00
JuliaSvinareva bb6e189217 [DE PE SSE] Change styles of buttons in toolbar 2022-01-13 16:35:36 +03:00
Julia Radzhabova a909192ff7
Merge pull request #1467 from ONLYOFFICE/fix/bug-54786
Fix/bug 54786
2022-01-13 14:48:39 +03:00
Julia Radzhabova c4c0af3e28
Merge pull request #1465 from ONLYOFFICE/feature/resize-toolbar
Feature/resize toolbar
2022-01-13 14:38:47 +03:00
Julia Radzhabova 15ab72745b [PE] Fix Bug 54786 2022-01-13 14:38:22 +03:00
Julia Radzhabova ffffa133a2 [PE] Fix Bug 54786 2022-01-13 14:31:49 +03:00
Julia Radzhabova e084f223d3 Change icon for More toolbar button 2022-01-13 12:12:24 +03:00
Maxim Kadushkin b4d1d247ed [all] refactoring 2022-01-13 12:01:19 +03:00
OVSharova 078c7123dd Add actions for cmbRepeat 2022-01-13 05:33:27 +03:00
OVSharova 46b8b04edf Add extention 2022-01-13 03:29:02 +03:00
Julia Radzhabova eee017bb0b
Merge pull request #1466 from ONLYOFFICE/fix/bugfix
[SSE embedded] Fix loader
2022-01-13 00:51:35 +03:00
Julia Radzhabova 27ae2f37a5 [SSE embedded] Fix loader 2022-01-13 00:45:29 +03:00
SergeyEzhin 789314a777 [DE mobile] Fix Bug 54001 2022-01-13 01:20:57 +04:00
SergeyEzhin a9f254522e [DE mobile] Fix Bug 54406 2022-01-13 01:05:31 +04:00
Julia Radzhabova d40f2cfaf1 [SSE] Fix pivot table styles on "more" toolbar panel 2022-01-12 23:44:22 +03:00
Julia Radzhabova b8ccb8533f Close button menu when resize toolbar 2022-01-12 21:46:26 +03:00
Julia Radzhabova 0f304cbd6e Merge branch 'develop' into feature/resize-toolbar 2022-01-12 19:49:52 +03:00
Julia Radzhabova c544e250c5
Merge pull request #1464 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2022-01-12 18:17:20 +03:00
JuliaSvinareva dde8ebb346 [DE PE SSE] Fix hide statusbar for customization in view tab 2022-01-12 17:41:48 +03:00
Julia Radzhabova c08ea9b7d4
Merge pull request #1463 from ONLYOFFICE/fix/wrapping
[DE] Add separators for wrapping menu
2022-01-12 17:04:27 +03:00
Julia Radzhabova b0326651d7 [DE] Add separators for wrapping menu 2022-01-12 16:54:46 +03:00
JuliaSvinareva cab404fc86
Merge pull request #1462 from ONLYOFFICE/feature/two-lines-buttons
Feature/two lines buttons
2022-01-12 15:47:44 +03:00
JuliaSvinareva 0d8f4526eb [DE PE SSE] Fix button styles in plugins panel 2022-01-12 15:37:06 +03:00
OVSharova eaab1e2fa3 Change numRepeat 2022-01-12 04:32:04 +03:00
OVSharova e648acfbfc Change for file rename 2022-01-12 02:10:08 +03:00
SergeyEzhin 7a08143234 [DE mobile] For Bug 54019 2022-01-12 02:49:22 +04:00
JuliaSvinareva c2d5af84c8 [DE] Fix disabling of dark document button in view tab 2022-01-12 01:32:04 +03:00
Julia Radzhabova 47b5e9d322
Merge pull request #1461 from ONLYOFFICE/fix/layout-manager
Use customization.layout section for hide statusBar, toolbar (instead…
2022-01-11 23:24:28 +03:00
Julia Radzhabova 28322d75f8 Use customization.layout section for hide statusBar, toolbar (instead of customizaton.statusBar, customizaton.toolbar parameters) 2022-01-11 22:59:57 +03:00
JuliaSvinareva a7c2add386 [DE PE SSE] Fix two lines buttons in toolbar 2022-01-11 17:52:59 +03:00
OVSharova c482be11c8 Trim file name 2022-01-11 03:35:54 +03:00
Julia Radzhabova de2b08f1bf
Merge pull request #1460 from ONLYOFFICE/release/v7.1.0
Release/v7.1.0
2022-01-10 22:10:12 +03:00
Julia Radzhabova aed49ae962
Merge pull request #1459 from ONLYOFFICE/fix/bug-54808
[SSE] Fix Bug 54808
2022-01-10 15:10:24 +03:00
Julia Radzhabova 429f0ee1f7 [SSE] Fix Bug 54808 2022-01-10 15:03:47 +03:00
Maxim Kadushkin 6803b3250d [forms] fix bug 54812 2022-01-10 14:46:38 +03:00
Julia Radzhabova 0d68ac8d7f
Merge pull request #1458 from ONLYOFFICE/fix/pe-animation
[PE] Fix animation init
2022-01-10 13:23:54 +03:00
Julia Radzhabova 5cb7f09c67 [PE] Fix animation init 2022-01-10 13:15:44 +03:00
Julia Radzhabova d6c254f5cf
Merge pull request #1457 from ONLYOFFICE/release/v7.0.0
Release/v7.0.0
2022-01-10 13:14:40 +03:00
Julia Radzhabova 175a09345d [DE] Fix undo-redo lock 2022-01-10 11:59:51 +03:00
Julia Radzhabova ab17495853
Merge pull request #1456 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2021-12-30 17:34:30 +03:00
JuliaSvinareva 38b2b53f19 [SSE] Add translation 2021-12-30 17:24:46 +03:00
JuliaSvinareva 71c275c0c8 [SSE] Remove unused code 2021-12-30 17:12:21 +03:00
Julia Radzhabova f405de5f39 [DE] Lock buttons in preview forms mode 2021-12-30 14:49:19 +03:00
Julia Radzhabova 0c1668aecc [DE] Lock protect tab 2021-12-30 12:10:23 +03:00
Julia Radzhabova b5d131193a
[DE] Fix help (#1455) 2021-12-30 12:00:58 +03:00
Julia Radzhabova e7e077c76d [DE] Lock toolbar on changing review display mode 2021-12-30 01:01:53 +03:00
ShimaginAndrey 1d9ef74b37 [SSE] Add 'Tab Color' in Sheets 2021-12-30 00:26:40 +03:00
SergeyEzhin a794193cb3
[DE PE SSE mobile] Fix Bug 54632 (#1454) 2021-12-29 20:22:43 +03:00
Julia Radzhabova b3e7cf5b5c [PE][SSE] Move enumLock to Common 2021-12-29 19:41:15 +03:00
Julia Radzhabova 0079474f37 [DE] Move enumLock to Common 2021-12-29 19:32:43 +03:00
JuliaSvinareva 2e49bc090c [DE PE SSE] Fix adding of breaks when caption is changed 2021-12-29 15:47:52 +03:00
catbasilio 711066e6d3
Merge pull request #1452 from ONLYOFFICE/feature/bugfix-for-release-7-0
Feature/bugfix for release 7 0
2021-12-29 14:11:04 +03:00
Julia Radzhabova 8a45637f32 [DE] Lock buttons on forms, references. view tabs 2021-12-29 13:14:42 +03:00
Maxim Kadushkin ca9f247794 Merge branch 'feature/bug-fixes' into feature/bugfix-for-release-7-0 2021-12-29 12:43:37 +03:00
SergeyEzhin 5d2d58c2ad [DE mobile] For Bug 54712 2021-12-29 12:05:11 +03:00
JuliaSvinareva 4084696900 [DE PE SSE] Make two line captions for buttons in toolbar 2021-12-28 18:18:18 +03:00
SergeyEzhin 36388f5360 [SSE mobile] Fix Bug 54703 2021-12-28 18:15:04 +03:00
Julia Radzhabova bb40bc8994 [DE] Refactoring toolbar locking: use lock option 2021-12-28 16:39:43 +03:00
OVSharova 09b6079ed4 Update title 2021-12-28 03:00:54 +03:00
JuliaSvinareva d5960dd972 [DE PE SSE] Make two line captions for buttons in toolbar 2021-12-27 21:18:15 +03:00
Julia Radzhabova 9cc7f48f46 Merge branch 'develop' into feature/resize-toolbar 2021-12-27 17:17:21 +03:00
Julia Radzhabova db8c10ddb3
Merge pull request #1449 from ONLYOFFICE/release/v7.1.0
Release/v7.1.0
2021-12-27 12:40:28 +03:00
Julia Radzhabova 6c458d295b Merge branch 'release/v7.0.0' into release/v7.1.0 2021-12-27 11:07:18 +03:00
Oleg Korshul 6e136ce5a9
Merge pull request #1447 from ONLYOFFICE/feature/bugfix-for-release-7-0
Feature/bugfix for release 7 0
2021-12-25 09:25:04 +03:00
Maxim Kadushkin db6b06735c Merge branch 'feature/bug-fixes' into release/v7.0.0 2021-12-25 00:40:09 +03:00
Julia Radzhabova fc6ea3d3da Update translation. Fix Bug 54697 2021-12-24 20:23:26 +03:00
SergeyEzhin fe5a8496cc [DE PE SSE mobile] Bug 54697 2021-12-24 20:10:23 +03:00
maxkadushkin bdd8958932
Merge pull request #1432 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2021-12-24 19:49:21 +03:00
ShimaginAndrey d47fb111df Merge branch 'develop' into feature/fix-bug-reactjs
# Conflicts:
#	apps/common/mobile/resources/less/about.less
#	apps/common/mobile/resources/less/common.less
2021-12-24 18:53:13 +03:00
Oleg Korshul 63c8a5a355
Merge pull request #1445 from ONLYOFFICE/fix/bugfix
[SSE] FIx Bug 54694
2021-12-24 18:21:19 +03:00
maxkadushkin a170b138cb
Merge pull request #1435 from ONLYOFFICE/feature/Bug_51255
[SSE] Fix Bug 51255
2021-12-24 18:10:38 +03:00
maxkadushkin 9564021a26
Merge pull request #1442 from ONLYOFFICE/feature/change-cell-styles
[DE PE SSE mobile] Change chart types
2021-12-24 18:07:43 +03:00
Julia Radzhabova 85957a5190 [Mobile] Update translation 2021-12-24 17:40:25 +03:00
Julia Radzhabova 2548540903 Update translation 2021-12-24 17:36:47 +03:00
Julia Radzhabova 89a66ab06a Merge branch 'release/v7.0.0' into develop 2021-12-24 17:32:14 +03:00
SergeyEzhin c2efc7b4a2 [common] Removed autofocus 2021-12-24 16:53:40 +03:00
Julia Radzhabova 03b29b84da [SSE] FIx Bug 54694 2021-12-24 16:41:19 +03:00
JuliaSvinareva e4044c00b2 [DE PE SSE] Make two line buttons in toolbar 2021-12-24 15:16:21 +03:00
Julia Radzhabova e71f0b7ec3 [PE] Fix Bug 54319 2021-12-24 13:25:05 +03:00
Julia Radzhabova 2d945cc041
Fix Bug 53592 (#1443) 2021-12-24 11:54:35 +03:00
Julia Radzhabova 4ca5bfc23d Merge branch 'develop' into feature/resize-toolbar 2021-12-23 23:36:05 +03:00
SergeyEzhin 1e5e794c6d [DE PE SSE mobile] Change chart types 2021-12-23 23:30:11 +03:00
Julia Radzhabova 442b37a0db [PE] Refactoring 2021-12-23 23:23:05 +03:00
Julia Radzhabova a69310886d
Merge pull request #1440 from ONLYOFFICE/feature/fix-animation
Fix animation
2021-12-23 23:14:00 +03:00
maxkadushkin a6b69ea60c
[desktop] fix bug 54653 (#1441) 2021-12-23 21:50:08 +03:00
OVSharova 9087ba72ae Fix dataHint for cmbStart 2021-12-23 20:10:50 +03:00
Julia Radzhabova ed50edff6c
[PE] For Bug 54609 (#1439) 2021-12-23 20:10:00 +03:00
Julia Radzhabova b685c527d6 [SSE] Refactoring toolbar resizing (fix pivot tab) 2021-12-23 19:10:00 +03:00
papacarlo 334e6e124b Merge branch hotfix/v6.4.3 into master 2021-12-23 15:12:50 +00:00
JuliaSvinareva 6c025e2381 [PE] Fix styles of insert shape component 2021-12-23 16:34:56 +03:00
OVSharova 8574ce4455 Fix bugs 2021-12-23 15:53:38 +03:00
catbasilio c4d2ddd032
Merge pull request #1436 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2021-12-23 15:18:31 +03:00
Julia Radzhabova 3f9aacd53f [SSE] Resize toolbar 2021-12-23 14:02:05 +03:00
OVSharova 5f81e7311a Fix bugs 2021-12-23 13:53:47 +03:00
JuliaSvinareva 98ad5de513 [DE PE SSE] Fix bug 54671 2021-12-23 12:51:26 +03:00
Julia Radzhabova 4d4bcdfb83 [PE] Handle asc_onShowAnimTab sdk method 2021-12-23 12:45:48 +03:00
OVSharova b955f70022 Revert "Update icons"
This reverts commit 4f49247e7d.
2021-12-23 11:15:03 +03:00
ShimaginAndrey 0dfcbd8b53 [SSE] Fix Bug 51255 2021-12-23 09:30:17 +03:00
JuliaSvinareva 66314773e9 [DE PE SSE] Fix bug 54670 2021-12-23 02:00:22 +03:00
Julia Radzhabova 0683307502 Refactoring 2021-12-23 01:25:34 +03:00
Julia Radzhabova 68c72207c8 [PE] Resize toolbar and show More button 2021-12-23 01:24:44 +03:00
Julia Radzhabova 9d3f995be1 [DE] Add caption for More button 2021-12-22 21:47:00 +03:00
Julia Radzhabova 5329959449 [DE] Resize refactoring 2021-12-22 21:39:04 +03:00
JuliaSvinareva b32d8fb121 Test two line buttons in toolbar 2021-12-22 19:25:25 +03:00
SergeyEzhin d036f96171 [DE PE SSE mobile] Fix Bug 54632 2021-12-22 18:37:54 +03:00
Julia Radzhabova 980a5b4c2b
Update help (#1433) 2021-12-22 18:23:28 +03:00
Julia Radzhabova 44562bd7d4 [DE] Fix resizing toolbar: bug when open combobox in toolbar (due to overflow:hidden) 2021-12-22 17:46:14 +03:00
maxkadushkin cebb400c34
Merge pull request #1431 from ONLYOFFICE/feature/change-cell-styles
[SSE mobile] Change styles slides
2021-12-22 13:16:25 +03:00
Julia Radzhabova c9e50231d1 [DE] Fix resize insert tab 2021-12-22 01:22:05 +03:00
Julia Radzhabova 96d2d081ed [DE] Fix toolbar resize 2021-12-22 00:27:30 +03:00
catbasilio d6cab36185
Merge pull request #1430 from ONLYOFFICE/feature/from-ver-6-4-3
Feature/from ver 6 4 3
2021-12-21 17:36:33 +03:00
ShimaginAndrey 21ae03d4b5 [DE] Fix Bug 54406 2021-12-21 16:09:32 +03:00
Julia Radzhabova fca5aa3e6a Merge branch 'develop' into feature/resize-toolbar 2021-12-21 12:15:00 +03:00
ShimaginAndrey b2a718a974 [DE PE SSE] Fix Bug 54511 2021-12-21 12:02:49 +03:00
OVSharova 1f2552c531 Update icons 2021-12-21 01:42:27 +03:00
OVSharova 4f49247e7d Update icons 2021-12-21 01:35:09 +03:00
SergeyEzhin da26003071 [SSE mobile] Change styles slides 2021-12-21 01:14:02 +03:00
Maxim Kadushkin e14be4baec Merge branch 'hotfix/v6.4.3' into release/v7.0.0 2021-12-21 00:06:03 +03:00
JuliaSvinareva 0d62988f44 [DE PE SSE] Fix hint manager 2021-12-20 20:36:55 +03:00
OVSharova c6c4b0339e Merge branch 'develop' into feature/fix-animation 2021-12-20 19:22:31 +03:00
OVSharova 20dff7b2fb Fix bugs 2021-12-20 19:07:49 +03:00
Julia Radzhabova ebb71c0e94 Change message when connection is lost 2021-12-20 18:47:05 +03:00
Maxim Kadushkin 2c70526032 [PE] for bug 53999 2021-12-20 18:19:40 +03:00
Maxim Kadushkin e638c321e7 [SSE] fix bug 53558 2021-12-20 18:05:02 +03:00
Julia Radzhabova 4b3577fa9a
Merge pull request #1429 from ONLYOFFICE/feature/pe-icons
Feature/pe icons
2021-12-20 17:32:47 +03:00
Julia Radzhabova 260b4e7ae1 [PE] Update animation icons 2021-12-20 17:24:52 +03:00
Julia Radzhabova 40bf6ae262
Merge pull request #1428 from ONLYOFFICE/feature/bug-45763
Feature/bug 45763
2021-12-20 17:05:47 +03:00
Julia Radzhabova b062b933d8 [SSE] Search in symbol combobox 2021-12-20 16:59:41 +03:00
Julia Radzhabova 20516f168d Update icons 2021-12-20 16:53:41 +03:00
Julia Radzhabova b8962989af [SSE] For Bug 45763 2021-12-20 16:30:22 +03:00
Julia Radzhabova 900de8fc1e [SSE] For Bug 45763 2021-12-20 16:20:48 +03:00
Julia Radzhabova e79216b581 Merge branch 'feature/animation_tab' into develop 2021-12-20 13:40:45 +03:00
JuliaSvinareva f58f86df86 [DE PE SSE] Fix prevent for alt + f4 2021-12-20 12:28:36 +03:00
Maxim Kadushkin 95ffddb860 [SSE] fix bug 54618 2021-12-20 12:17:16 +03:00
maxkadushkin a9f740f91a
Merge pull request #1426 from ONLYOFFICE/feature/add-move-sheet
[SSE] Add context menu for move-sheet
2021-12-20 11:49:38 +03:00
ShimaginAndrey b2071e7a1b [SSE] Add context menu for move-sheet 2021-12-19 15:38:19 +03:00
Maxim Kadushkin 745221087e [desktop] fix bug 53720 2021-12-19 00:41:06 +03:00
Maxim Kadushkin 18b1cd9e0e [desktop] for bug 54434 2021-12-18 22:21:59 +03:00
maxkadushkin 261a4dc56e
Merge pull request #1424 from ONLYOFFICE/feature/bug-fixes
Fix Bug 54548
2021-12-18 22:20:06 +03:00
Maxim Kadushkin 521ac275e2 [all] for bug 53110 2021-12-18 13:40:59 +03:00
Julia Radzhabova 9b5420e7b1 [PE] Animation: fix position for "Multiple" item. Remove custom effect from list for multiple effects 2021-12-18 00:16:39 +03:00
OVSharova 042f171f2f Update comboboxes in AnimationDiolog 2021-12-17 20:40:07 +03:00
Julia Radzhabova 057ecfd3c1
Merge pull request #1425 from ONLYOFFICE/feature/add-menu-zoom
Add zoom menu to forms
2021-12-17 18:52:40 +03:00
Julia Radzhabova ad1608e217 [PE] Remove unused icons 2021-12-17 18:44:27 +03:00
OVSharova e24c4b1c4d Fix bug 2021-12-17 18:39:03 +03:00
Julia Radzhabova 8de5cf1358 [Mobile] Update translation 2021-12-17 18:05:38 +03:00
OVSharova 52bdff7133 Add icons for animation 2021-12-17 17:53:49 +03:00
Julia Radzhabova bdd9cba9cf Update translation 2021-12-17 17:30:59 +03:00
SergeyEzhin a44492926c Fix Bug 54548 2021-12-17 18:09:16 +04:00
OVSharova b334b929ee Delete separator 2021-12-17 16:53:21 +03:00
Julia Radzhabova 0dd8b51b84 Merge remote-tracking branch 'origin/feature/animation_tab' into feature/animation_tab 2021-12-17 16:41:20 +03:00
Julia Radzhabova 8574d52daf [PE] Add icons for animation 2021-12-17 16:39:37 +03:00
OVSharova aa7d45adac Delete log 2021-12-17 16:25:12 +03:00
Julia Radzhabova 45dd83d387
Merge pull request #1423 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix alt hints
2021-12-17 14:29:28 +03:00
JuliaSvinareva c10ed30e3e [DE PE SSE] Fix alt hints 2021-12-17 14:22:47 +03:00
OVSharova 1ee58540b7 Add log messages 2021-12-17 13:43:31 +03:00
OVSharova 3734ee09bb Update for btnPreview 2021-12-17 13:24:50 +03:00
maxkadushkin a0112969ec
Merge pull request #1421 from ONLYOFFICE/feature/bug-hotfix
[DE PE SSE mobile] Fix Bug 54574
2021-12-17 13:10:10 +03:00
Julia Radzhabova 86719091e9
Merge pull request #1422 from ONLYOFFICE/fix/translation
Fix/translation
2021-12-17 13:03:46 +03:00
Julia Radzhabova 1429c2319d [Mobile] Update translaion 2021-12-17 12:57:55 +03:00
Julia Radzhabova 92203d5ad1 Update translation. Fix Bug 53892 2021-12-17 12:55:27 +03:00
SergeyEzhin 58d0e413ae [DE PE SSE mobile] Fix Bug 54574 2021-12-17 13:54:54 +04:00
JuliaSvinareva f0d7e1b859
Merge pull request #1420 from ONLYOFFICE/fix/bug_54241
Fix/bug 54241
2021-12-17 12:21:11 +03:00
Julia Radzhabova 5d9ab5ec3b Fix translation 2021-12-17 11:43:44 +03:00
JuliaSvinareva 7dd6e0fd34 [DE PE SSE] Bug 54241 2021-12-17 11:10:53 +03:00
maxkadushkin 4f671f5353
Merge pull request #1418 from ONLYOFFICE/feature/bug-hotfix
Correct toolbar title
2021-12-17 10:30:46 +03:00
OVSharova b829192ed3 Fix bug 2021-12-17 05:59:15 +03:00
OVSharova 356bde17f6 Update en.json 2021-12-17 05:48:13 +03:00
OVSharova ec255e2980 add items to locale 2021-12-17 05:10:34 +03:00
OVSharova 80d9da58c5 Fix bug 2021-12-17 05:04:24 +03:00
OVSharova 579357a0c6 Set move animations 2021-12-17 03:30:16 +03:00
SergeyEzhin 9fa762146e [SSE mobile] Bug 54574 2021-12-17 02:01:12 +04:00
JuliaSvinareva 8e34c3cf97 Fix bug 54011 2021-12-16 22:40:42 +03:00
Julia Radzhabova ef47b1dbd5 [DE] Fix toolbar resizing 2021-12-16 19:49:24 +03:00
maxkadushkin e763fc268f
[all] for bug 29734 2021-12-16 19:34:39 +03:00
Julia Radzhabova 0f8a993edb
Merge pull request #1419 from ONLYOFFICE/fix/help
Update help. Fix Bug 53488
2021-12-16 17:06:34 +03:00
Julia Radzhabova 3bd597ad69 Update help. Fix Bug 53488 2021-12-16 16:58:58 +03:00
Julia Radzhabova b97eb30141 [DE] Refactoring more button in toolbar 2021-12-16 16:50:25 +03:00
Maxim Kadushkin d944a9ea7e [all] for bug 29734 2021-12-16 15:29:43 +03:00
maxkadushkin 9bde6e467e
Merge pull request #1415 from ONLYOFFICE/feature/Bug_54480
Feature/bug 54480
2021-12-16 11:15:59 +03:00
JuliaSvinareva 51942c7e02 [DE PE SSE] Fix bug 54241 2021-12-15 18:46:10 +03:00
SergeyEzhin dc77d400cc Correct toolbar title 2021-12-15 19:02:22 +04:00
OVSharova 2b1d3d761b Add menu zoom 2021-12-15 16:43:21 +03:00
Maxim Kadushkin 03f0a24bfd [desktop] debug 2021-12-15 14:14:42 +03:00
Julia Radzhabova fd2fb44cfd
Merge pull request #1417 from ONLYOFFICE/fix/bugfix
[DE] Fix Bug 54535
2021-12-15 12:56:10 +03:00
JuliaSvinareva 9bc347afe2 [DE] Change icon 2021-12-15 12:55:33 +03:00
Julia Radzhabova 121f8cbbbe [DE] Fix Bug 54535 2021-12-15 12:45:39 +03:00
Julia Radzhabova bd51c09bc3 [DE] Try to combine different types of toolbar collapse 2021-12-15 12:19:41 +03:00
maxkadushkin 2871048bf0
Merge pull request #1414 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2021-12-15 11:15:55 +03:00
maxkadushkin afe935b4a5
Merge pull request #1416 from ONLYOFFICE/feature-add-icon
Add dark-mode icon
2021-12-15 11:14:34 +03:00
JuliaSvinareva 05961f64ad [DE] Bug 54241 2021-12-14 23:12:20 +03:00
Maxim Kadushkin 7dd910f13a Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2021-12-14 22:57:56 +03:00
Maxim Kadushkin f24dff7c11 [common] fix bug 29734 2021-12-14 22:57:24 +03:00
Kirill Volkov 47e76fb7c9 Add dark-mode icon 2021-12-14 22:49:02 +03:00
Maxim Kadushkin cac5671e26 [common] added missed script 2021-12-14 20:37:04 +03:00
SergeyEzhin bdd585b26e [SSE mobile] Correct dropdown list 2021-12-14 20:21:11 +04:00
ShimaginAndrey 85ce25f505 [SSE] Fix Bug 54510 2021-12-14 17:48:37 +03:00
Maxim Kadushkin 770433bd88 Merge branch 'release/v7.0.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.0.0 2021-12-14 17:31:59 +03:00
Maxim Kadushkin 140364aeab [desktop] for bug 54434 2021-12-14 17:06:36 +03:00
Julia Radzhabova 2c3440423d Refactoring 2021-12-14 16:46:44 +03:00
JuliaSvinareva feaa638c33 [DE PE SSE] Add translations 2021-12-14 14:58:36 +03:00
Julia Radzhabova 4bade4d583 Merge remote-tracking branch 'origin/develop' into develop 2021-12-14 14:34:52 +03:00
Julia Radzhabova 15f95b293b Merge branch 'feature/disconnect-warn' into develop 2021-12-14 14:33:20 +03:00
JuliaSvinareva 4b2f5bbcd8 [DE PE SSE] Fix changing of interface theme in view tab 2021-12-14 14:25:50 +03:00
ShimaginAndrey c2735e8606 [DE PE SSE] Fix Bug 54511 2021-12-14 14:20:12 +03:00
Julia Radzhabova f2200af147
Merge pull request #1411 from ONLYOFFICE/feature/download-pdf
[DE] Save pdf/xps to other formats
2021-12-14 14:18:20 +03:00
Julia Radzhabova 50e24ddff8 Refactoring disable components 2021-12-14 14:14:39 +03:00
Julia Radzhabova f6af5957fe [DE] Refactoring 2021-12-14 13:32:40 +03:00
JuliaSvinareva 558a18ce0a
Merge pull request #1413 from ONLYOFFICE/feature/tab-view
Feature/tab view
2021-12-14 13:31:27 +03:00
JuliaSvinareva e91a68a160 [DE PE SSE] View tab: fix zoom, add Show frozen panes shadow 2021-12-14 13:10:32 +03:00
Julia Radzhabova 25c5b79697 [DE][PE] Fix tabs order 2021-12-14 12:53:14 +03:00
Julia Radzhabova db7ba9e448 Use customization config for hiding view tab and navigation button in the toolbar 2021-12-14 12:06:29 +03:00
Julia Radzhabova 3dabc5a65c Show status message when connection is restored 2021-12-14 00:37:33 +03:00
Julia Radzhabova bc33cb4f42 Refactoring 2021-12-14 00:12:01 +03:00
Julia Radzhabova e5c0eef2a8 Fix placement of disconnection tip 2021-12-14 00:07:24 +03:00
Julia Radzhabova 54246a92a9
Merge pull request #1410 from ONLYOFFICE/fix/bugfix
[DE] Bug 54504
2021-12-13 20:55:50 +03:00
Julia Radzhabova ffadd710c4 [DE] Bug 54504 2021-12-13 20:47:52 +03:00
JuliaSvinareva d1d6d2eea6 [PE] Fix view tab 2021-12-13 20:13:34 +03:00
Julia Radzhabova 6e28d2778f Show tip on disconnect 2021-12-13 19:20:55 +03:00
Maxim Kadushkin bb7069283f [DE] fix bug 54491 2021-12-13 18:24:48 +03:00
JuliaSvinareva b20b3ceff5 [DE] Fix disable buttons in view tab 2021-12-13 16:50:36 +03:00
OVSharova 696d23deaa Add item to effects 2021-12-13 13:01:10 +03:00
OVSharova b9438d60f4 Fix bug 2021-12-13 12:36:36 +03:00
OVSharova 7dafcaa3d0 Fix bug 2021-12-13 12:20:15 +03:00
JuliaSvinareva 6633548659 [PE SSE] Add handlers to interface theme buttons in view tab 2021-12-12 20:44:54 +03:00
JuliaSvinareva 980cfb73f9 [DE] Add handler to dark mode button in view tab, change icons 2021-12-12 19:33:44 +03:00
SergeyEzhin 46099dc36f Fix Bug 53671 2021-12-12 18:35:05 +03:00
JuliaSvinareva b68e5b68f5 [SSE] Add handlers for show toolbar, combine statusbar buttons in view tab 2021-12-12 17:49:49 +03:00
JuliaSvinareva 0e75d15d57 [DE PE] Fix view tab 2021-12-12 16:46:42 +03:00
Maxim Kadushkin bba242344b [SSE PE] for bug 53181 2021-12-12 15:27:37 +03:00
Maxim Kadushkin 83d0296511 [DE] for bug 53181 2021-12-12 10:43:59 +03:00
Maxim Kadushkin 0945dc55ed [mobile] for bug 53182 2021-12-12 10:12:41 +03:00
OVSharova 0ccf126f15 Fix bug 2021-12-12 01:18:15 +03:00
OVSharova 0a49fe5815 Fix bugs 2021-12-12 01:09:16 +03:00
Julia Radzhabova 05c73a8c2d Merge branch 'feature/combo-data-view-refactoring' into develop 2021-12-11 19:24:01 +03:00
Julia Radzhabova 72d4d76172 Refactoring ComboDataView 2021-12-11 19:16:03 +03:00
Julia Radzhabova 0266eb5723
Merge pull request #1408 from ONLYOFFICE/fix/bugfix
[SSE] For  Bug 54487
2021-12-11 13:57:05 +03:00
Julia Radzhabova 0167225fe7 [SSE] For Bug 54487 2021-12-11 13:39:35 +03:00
SergeyEzhin ced7462a9d [SSE mobile] Add dropdown list 2021-12-11 02:22:09 +04:00
Maxim Kadushkin 100a69251e Merge branch 'feature-add-navigation-icon' into develop 2021-12-11 01:06:11 +03:00
Maxim Kadushkin 3b74a3dff3 Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop 2021-12-11 01:05:54 +03:00
OVSharova 517af51af2 Refactoring 2021-12-10 21:39:27 +03:00
JuliaSvinareva be3619a340 [PE] Add handlers to notes, rulers buttons in view tab 2021-12-10 20:09:53 +03:00
JuliaSvinareva 55cd0c22e5 [PE] Add handlers to show toolbar, statusbar buttons in view tab 2021-12-10 19:35:03 +03:00
Julia Radzhabova 3f2597d5cd Merge branch 'release/v7.0.0' into develop 2021-12-10 19:01:46 +03:00
Julia Radzhabova 019a366c08 [Mobile] Add az language 2021-12-10 18:23:18 +03:00
Julia Radzhabova 773d4e4895 [Mobile] Update translation 2021-12-10 18:17:52 +03:00
Julia Radzhabova 9699804783
Merge pull request #1407 from ONLYOFFICE/fix/translation
Fix/translation
2021-12-10 18:09:21 +03:00
Julia Radzhabova 0cbd309850 Add az language 2021-12-10 18:08:51 +03:00
Julia Radzhabova c8bfe46bdb Update translation 2021-12-10 18:07:40 +03:00
Julia Radzhabova b3ace8f668 [Mobile] Update translation 2021-12-10 17:53:11 +03:00
Julia Radzhabova 0880d71532 Update translation 2021-12-10 17:50:00 +03:00
Maxim Kadushkin dfc359f0ef Merge branch 'release/v7.0.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.0.0 2021-12-10 16:38:32 +03:00
Maxim Kadushkin 7680c381b0 [DE] for bug 54348, 53936 2021-12-10 16:38:15 +03:00
JuliaSvinareva d4b08a16ed [DE] Add handlers to show toolbar, statusbar, rulers buttons in view tab 2021-12-10 15:24:58 +03:00
maxkadushkin a909e7dc5b
Merge pull request #1403 from ONLYOFFICE/feature/bug-fixes
[DE mobile] Fix Bug 54281
2021-12-10 15:01:08 +03:00
maxkadushkin 8c00b49718
Merge pull request #1399 from ONLYOFFICE/feature/fix-bug-reactjs
[DE PE SSE] Fix Bug 53972
2021-12-10 14:59:41 +03:00
maxkadushkin eff237ea21
Merge pull request #1376 from ONLYOFFICE/feature/Bug_54137
[DE] Fix Bug 54137
2021-12-10 14:58:36 +03:00
Julia Radzhabova 61f6127e7b [DE] Save pdf/xps to other formats 2021-12-10 13:13:27 +03:00
OVSharova d9c9e17601 Edit template 2021-12-10 08:24:06 +03:00
OVSharova 931d281efa Fix dialog 2021-12-10 08:13:19 +03:00
Maxim Kadushkin 1d2a85f662 [desktop] send editor type to app 2021-12-10 00:42:53 +03:00
Julia Radzhabova d3d77cdcab
Merge pull request #1405 from ONLYOFFICE/fix/fix-bugs
[DE PE SSE] Fix bug 54471
2021-12-09 19:32:59 +03:00
JuliaSvinareva 581c42efd9 [DE PE SSE] Fix bug 54471 2021-12-09 19:24:10 +03:00
Julia Radzhabova 636ecb60da
Merge pull request #1404 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-09 18:30:21 +03:00
Julia Radzhabova 4bed1f8ed6 [DE] Fix Bug 53938 2021-12-09 18:23:59 +03:00
SergeyEzhin b43516d807 [DE mobile] Fix Bug 54281 2021-12-09 19:23:20 +04:00
JuliaSvinareva 66f0444bd0 [PE] Add handler to zoom buttons in view tab 2021-12-09 17:31:12 +03:00
Kirill Volkov af9bf2d5d4 Add big navigation icon 2021-12-09 16:50:28 +03:00
Julia Radzhabova 2f5db86f23 Fix Bug 54459 2021-12-09 16:31:25 +03:00
Julia Radzhabova 338b4aed62
Merge pull request #1401 from ONLYOFFICE/fix/bugfix
[DE][SSE] Remove feature check
2021-12-09 16:09:14 +03:00
JuliaSvinareva cd1f2105f2 [DE] Add handler to zoom buttons in view tab 2021-12-09 16:06:11 +03:00
Julia Radzhabova a696863e34 Fix Bug 54457 2021-12-09 13:54:03 +03:00
Julia Radzhabova a884f49120 [DE][SSE] Remove feature check 2021-12-09 13:50:52 +03:00
OVSharova 859f2174e6 Fix trigger button 2021-12-09 04:10:01 +03:00
Julia Radzhabova 39d99bc762 [PE] Fix lock animation tab. Fix fill settings/change effects. 2021-12-09 01:26:38 +03:00
JuliaSvinareva 4b29c97952 [DE] Add menu to interface theme button and dark document button in view tab 2021-12-08 23:54:07 +03:00
maxkadushkin 39731791c8
Merge pull request #1400 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2021-12-08 19:31:26 +03:00
SergeyEzhin 2dd106c435 [DE mobile] Fix Bug 54259 2021-12-08 19:47:16 +04:00
SergeyEzhin a9e619b4b8 [DE mobile] Fix Bug 54252 2021-12-08 19:31:18 +04:00
Maxim Kadushkin 87635fde48 [DE] fix bug 54348 2021-12-08 18:20:19 +03:00
JuliaSvinareva 4583e2014c [DE] Add handler for navigation button in view tab 2021-12-08 18:01:00 +03:00
SergeyEzhin bbda6562e7 [DE mobile] Fix Bug 54214 2021-12-08 18:38:33 +04:00
JuliaSvinareva 63e8983359 [SSE] Add buttons in view tab 2021-12-08 14:52:15 +03:00
JuliaSvinareva b69e53982e [PE] Add view tab 2021-12-08 14:31:11 +03:00
OVSharova 01cf4e1eb3 Add action from dialog 2021-12-08 04:28:30 +03:00
Julia Radzhabova df4926136c Merge branch 'release/v7.0.0' into develop 2021-12-07 23:49:59 +03:00
Julia Radzhabova afe26fc355 Fix merge 2021-12-07 23:45:12 +03:00
SergeyEzhin 02a98bc463 [SSE mobile] Correct edit view 2021-12-08 00:13:54 +04:00
Julia Radzhabova b4e3a2dfa9 Fix merge 2021-12-07 21:25:44 +03:00
JuliaSvinareva 4d1a464875 [DE] Add view tab 2021-12-07 21:18:48 +03:00
Maxim Kadushkin 4e69950665 [all] fix bug 54107 2021-12-07 20:56:14 +03:00
Julia Radzhabova 4ac91c3042
Merge pull request #1397 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-07 20:38:29 +03:00
Julia Radzhabova ddf2be862c [Embed] Fix Bug 54128 2021-12-07 20:28:43 +03:00
Julia Radzhabova 097f1c7fc1 [DE forms] Fix Bug 54317 2021-12-07 19:57:04 +03:00
Julia Radzhabova 86f10c9133 Merge branch 'release/v7.0.0' into develop 2021-12-07 18:49:59 +03:00
Julia Radzhabova 0afd388801
Merge pull request #1396 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2021-12-07 17:19:38 +03:00
JuliaSvinareva 4c9680bbd6 [SSE] Fix bug 53670 2021-12-07 17:09:44 +03:00
Julia Radzhabova 37ae8429b6
Merge pull request #1394 from ONLYOFFICE/fix/bugfix
[DE mobile] Fix Bug 54272
2021-12-07 15:56:57 +03:00
JuliaSvinareva 4b2fd93bd3 [SSE] Fix bug 54388 2021-12-07 15:52:12 +03:00
Julia Radzhabova 68093044d2 [DE mobile] Fix Bug 54272 2021-12-07 15:42:27 +03:00
Julia Radzhabova 4e3fcb38aa Merge remote-tracking branch 'origin/feature/animation_tab' into feature/animation_tab 2021-12-07 11:37:09 +03:00
Julia Radzhabova a981c11a80 [PE] Add additional animation 2021-12-07 11:36:30 +03:00
OVSharova 3072b41aa1 Merge branch 'feature/animation_tab' of https://github.com/ONLYOFFICE/web-apps into feature/animation_tab 2021-12-07 08:55:22 +03:00
OVSharova 6cf34a030d Add trigger 2021-12-07 08:40:03 +03:00
Julia Radzhabova 920d8a5b4f [PE] Add more effect menu item 2021-12-07 01:13:24 +03:00
Julia Radzhabova c1e74dda56 [PE] Refactoring 2021-12-07 01:08:39 +03:00
Julia Radzhabova b3e63cd8d3 [PE] Refactoring animation list 2021-12-07 00:46:00 +03:00
Maxim Kadushkin 33ca9138e8 [SSE PE] fix bug 54395 2021-12-07 00:39:18 +03:00
Julia Radzhabova a6a94faabf [PE] Refactoring transition tab: Fix Bug 54316, Fix Bug 54313. 2021-12-07 00:38:21 +03:00
Julia Radzhabova c31ab9a376
Merge pull request #1393 from ONLYOFFICE/fix/fix-bugs
[SSE] Fix bug 54386
2021-12-06 21:16:17 +03:00
JuliaSvinareva a26d99b9a9 [SSE] Fix bug 54386 2021-12-06 21:05:18 +03:00
Julia Radzhabova f217c12799
Merge pull request #1392 from ONLYOFFICE/fix/bugfix
[DE forms] Fix Bug 54379
2021-12-06 19:58:49 +03:00
Julia Radzhabova 2006aca37d [DE forms] Fix Bug 54379 2021-12-06 19:51:21 +03:00
Maxim Kadushkin 2e0693b760 Merge branch 'release/v7.0.0' of https://github.com/ONLYOFFICE/web-apps into release/v7.0.0 2021-12-06 19:16:48 +03:00
Maxim Kadushkin 4205a29bc3 [desktop] for bug 54387 2021-12-06 19:16:13 +03:00
Julia Radzhabova 24c3c61ac4
Merge pull request #1391 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-06 19:10:41 +03:00
Maxim Kadushkin a3c56ba8fb [desktop] for bug 54387 2021-12-06 19:09:36 +03:00
Julia Radzhabova 5ebfe910ce [PE] Fix hyperlink tip in preview mode 2021-12-06 19:02:47 +03:00
Julia Radzhabova 79ee683c1e [DE] Disable downloading some formats 2021-12-06 18:37:37 +03:00
Julia Radzhabova 1940f6dc12
Merge pull request #1390 from ONLYOFFICE/fix/forms
Fix/forms
2021-12-06 17:53:21 +03:00
Maxim Kadushkin 937a34812f [themes] fix bug 54349 2021-12-06 17:40:29 +03:00
Julia Radzhabova 7826bc75be
Merge pull request #1389 from ONLYOFFICE/fix/bugfix
[SSE] Fix Bug 54381: lock protect buttons when edit cell
2021-12-06 17:09:37 +03:00
Julia Radzhabova 5f50f8c475 [SSE] Fix Bug 54381: lock protect buttons when edit cell 2021-12-06 16:59:52 +03:00
Julia Radzhabova 4aabf72bfb
Merge pull request #1388 from ONLYOFFICE/fix/presentation
[PE] Refactoring transition tab: Fix Bug 54316, Fix Bug 54313.
2021-12-06 16:45:53 +03:00
Julia Radzhabova ec2ea6e364 [PE] Refactoring transition tab: Fix Bug 54316, Fix Bug 54313. 2021-12-06 16:30:56 +03:00
Maxim Kadushkin aac7806d0a [desktop] changed "close" event 2021-12-06 14:06:16 +03:00
Julia Radzhabova c9c85e324d
Merge pull request #1387 from ONLYOFFICE/fix/bugfix
[DE forms] Add onDocumentStateChange event
2021-12-06 12:11:30 +03:00
Julia Radzhabova ed471509c5 [DE forms] Add onDocumentStateChange event 2021-12-06 12:01:39 +03:00
Julia Radzhabova 269d3a0b9a
Merge pull request #1386 from ONLYOFFICE/fix/bug_50668_new
Fix/bug 50668 new
2021-12-06 10:44:55 +03:00
JuliaSvinareva 359d4d5e42 [SSE] Bug 50668 2021-12-06 10:26:05 +03:00
maxkadushkin 1d646849a0
Merge pull request #1377 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2021-12-06 09:49:43 +03:00
Julia Radzhabova 7be53fa5bb
Merge pull request #1385 from ONLYOFFICE/fix/bug-54327
Fix Bug 54327
2021-12-06 01:58:10 +03:00
Julia Radzhabova 4d1e132145 Fix Bug 54327 2021-12-06 01:50:14 +03:00
Maxim Kadushkin 93db03e848 [desktop] fix bug 54335 2021-12-05 20:15:56 +03:00
Maxim Kadushkin 025218b048 [desktop] fix theme applying 2021-12-05 17:42:14 +03:00
Julia Radzhabova db4d3ced1f [DE] Check forms feature 2021-12-05 12:12:27 +03:00
Julia Radzhabova f9ca39f6d1
Merge pull request #1384 from ONLYOFFICE/fix/presentation
[PE] Fix Bug 54127
2021-12-04 23:12:37 +03:00
Julia Radzhabova bc0564fe2e
Merge pull request #1383 from ONLYOFFICE/fix/de-forms
Fix/de forms
2021-12-04 23:11:40 +03:00
Julia Radzhabova a6d960003c
Merge pull request #1382 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-04 23:10:02 +03:00
Julia Radzhabova d39e4a41c4 Fix Bug 52178 2021-12-04 22:59:28 +03:00
Julia Radzhabova 39780baaef [DE] Fix Bug 54310 2021-12-04 21:37:54 +03:00
JuliaSvinareva d55a8f1d15 [SSE] Bug 50668 2021-12-04 20:39:09 +03:00
Julia Radzhabova 7713fd33a3 [PE] Fix Bug 54127 2021-12-04 13:42:21 +03:00
Julia Radzhabova 4aed655116 [DE] Fix Bug 53266 2021-12-04 13:37:47 +03:00
Maxim Kadushkin 982ef3d8ee [desktop] for bug 53720 2021-12-04 00:45:03 +03:00
maxkadushkin 836c8997cf
Update Themes.js 2021-12-04 00:10:35 +03:00
Julia Radzhabova 2013d31d11
Merge pull request #1381 from ONLYOFFICE/fix/translation
Fix/translation
2021-12-03 19:03:13 +03:00
maxkadushkin 1ffa8a3ddd
Merge pull request #1360 from ONLYOFFICE/fix/Bug-53886
Bug 53886
2021-12-03 18:14:43 +03:00
Julia Radzhabova 17de52c919 [Mobile] Update translation 2021-12-03 18:05:31 +03:00
Julia Radzhabova 0120d6aaba Update translation 2021-12-03 17:43:58 +03:00
Julia Radzhabova 504b44e385
Merge pull request #1379 from ONLYOFFICE/features/assets-update
New icons for table properties
2021-12-03 17:26:07 +03:00
Julia Radzhabova 26522d4036
Merge pull request #1380 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2021-12-03 17:16:09 +03:00
JuliaSvinareva 65e7b0cf47 [DE PE SSE] Fix bug 54253 2021-12-03 17:08:41 +03:00
ShimaginAndrey 06b42e69d0 [DE PE SSE] Fix Bug 53972 2021-12-03 16:53:09 +03:00
JuliaSvinareva d7cdb4f2ae [DE PE SSE] Fix bug 54321 2021-12-03 16:45:12 +03:00
JuliaSvinareva 238470577e [DE] Fix bug 54294 2021-12-03 16:36:34 +03:00
Maxim Kadushkin 21fe755801 [themes] fix bug 53610 2021-12-03 16:02:31 +03:00
JuliaSvinareva 1e55ff2377 [DE] Fix bug 54293 2021-12-03 15:48:02 +03:00
JuliaSvinareva ac013b0e10 [DE] Fix bug 54292 2021-12-03 15:44:07 +03:00
JuliaSvinareva bc0426e9b8 [DE PE SSE] Bug 54255 2021-12-03 15:38:00 +03:00
Evgeny Katyshev e7f335b455 New icons for table properties 2021-12-03 15:08:20 +03:00
SergeyEzhin 2f9b24887a Fix Bug 53671 2021-12-03 14:52:07 +04:00
Julia Radzhabova c8707f2bc5
Merge pull request #1378 from ONLYOFFICE/feature/combo-data-view-animation
Feature/combo data view animation
2021-12-03 12:28:09 +03:00
Julia Radzhabova 83a5f74c03 Merge branch 'feature/animation_tab' into feature/combo-data-view-animation 2021-12-03 12:13:31 +03:00
Julia Radzhabova 08ccff10ab Refactoring ComboDataView 2021-12-03 11:07:31 +03:00
OVSharova fbc521f76a Fix bugs and refactoring 2021-12-03 06:46:24 +03:00
Julia Radzhabova 645e5f8e4c [Common] ComboDataView: add groups for DataView, refactoring item template 2021-12-03 01:38:17 +03:00
Julia Radzhabova bac52377a5 [PE] Add animation effect 2021-12-03 01:36:15 +03:00
Julia Radzhabova 125ff2bc5f [PE] Fix animation effects list 2021-12-03 00:41:39 +03:00
Maxim Kadushkin ffbf529fe8 [desktop] fix bug 53610 2021-12-03 00:22:21 +03:00
SergeyEzhin 217ca16462 [SSE mobile] Correct long actions 2021-12-03 01:05:19 +04:00
Julia Radzhabova b217759f82 [Common] ComboDataView: add groups for DataView, refactoring item template 2021-12-02 23:42:54 +03:00
JuliaSvinareva fa8e0584b1 [DE PE SSE] Fix bug 54263 2021-12-02 19:47:03 +03:00
Julia Radzhabova 33c511c432
Merge pull request #1375 from ONLYOFFICE/fix/form-colors
Fix/form colors
2021-12-02 18:56:10 +03:00
Julia Radzhabova 012371a503 [DE] Fix lock/unlock form settings 2021-12-02 18:44:19 +03:00
Julia Radzhabova 8f61492e3b Fix Bug 54276 2021-12-02 15:17:36 +03:00
Julia Radzhabova a6b41b9c63 [DE forms] Fix Bug 53788 2021-12-02 14:57:27 +03:00
ShimaginAndrey 8bb21c7e04 [DE] Fix Bug 54137 2021-12-02 13:55:01 +03:00
Maxim Kadushkin 29330e4e33 [themes] fix button's icon opacity 2021-12-02 12:48:50 +03:00
Julia Radzhabova cafc7afb9e
Merge pull request #1374 from ONLYOFFICE/feature/assets-update
Day and night icons
2021-12-02 11:14:36 +03:00
evgenykatyshev a98b4b582c Day and night icons 2021-12-02 10:59:59 +03:00
Maxim Kadushkin e15e50d21e [forms] fix theme applying for desktop 2021-12-02 10:18:03 +03:00
Julia Radzhabova 2c3c790a63 [DE] Fix formats 2021-12-02 00:48:56 +03:00
Julia Radzhabova e72f0b5ab1
Merge pull request #1373 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-01 23:49:59 +03:00
Julia Radzhabova 45e2307939 [DE mobile] Bug 54272 2021-12-01 23:41:18 +03:00
Julia Radzhabova e4c94a6bfe [DE] For Bug 44173: disable wrapping only for picture content controls (not forms, Bug 54218) 2021-12-01 23:24:03 +03:00
Julia Radzhabova d9d367810f [DE] Fix Bug 54218 2021-12-01 23:22:38 +03:00
maxkadushkin 3df4bda6c4
Merge pull request #1363 from ONLYOFFICE/feature/func-window-hint
[SSE] Replacing alert on dialog window
2021-12-01 20:10:00 +03:00
maxkadushkin 07d626f6a1
Merge pull request #1372 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2021-12-01 20:08:23 +03:00
Maxim Kadushkin c7f78c67db [forms] changed events from desktop app 2021-12-01 19:46:32 +03:00
SergeyEzhin 01ba97c2f1 [SSE mobile] For Bug 53990 2021-12-01 19:53:02 +04:00
SergeyEzhin f7aeef5f23 [SSE mobile] Correct lock shape 2021-12-01 19:38:02 +04:00
Julia Radzhabova 2757411583 Fix Bug 54248 2021-12-01 18:27:40 +03:00
Maxim Kadushkin 77a87073b4 [forms] send editor type to desktop 2021-12-01 18:27:04 +03:00
ShimaginAndrey f1d606304a [DE] Fix Bug 53902 2021-12-01 14:22:17 +03:00
JuliaSvinareva f601862a87 [SSE] Fix validation of page number in print settings 2021-12-01 12:43:26 +03:00
Julia Radzhabova 96aaa1fb69
Merge pull request #1371 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-12-01 12:32:57 +03:00
Julia Radzhabova 37d3380967 [SSE] For Bug 53791 2021-12-01 12:24:07 +03:00
Julia Radzhabova 1ff958f7be [DE forms] Fix forms for desktop 2021-12-01 12:21:08 +03:00
Maxim Kadushkin ea5983d06b [forms] process "goback" option in desktop 2021-12-01 11:53:31 +03:00
OVSharova b304b01e9b add AnimationDialog 2021-12-01 08:08:41 +03:00
Maxim Kadushkin 2155d2f117 [desktop] debug 2021-12-01 00:57:22 +03:00
Maxim Kadushkin b78ebf3014 [desktop] keep messages from native on app launch 2021-12-01 00:56:25 +03:00
Maxim Kadushkin 01f96a456e [desktop] changed controller 2021-12-01 00:49:44 +03:00
Maxim Kadushkin 6bd108dd3a [SSE PE] for bug 53723 2021-11-30 20:13:56 +03:00
Julia Radzhabova e3e0b19b69
Merge pull request #1369 from ONLYOFFICE/fix/forms
Fix/forms
2021-11-30 17:25:49 +03:00
Julia Radzhabova 3e18d5191c
Merge pull request #1370 from ONLYOFFICE/fix/fix-bugs
Fix/fix bugs
2021-11-30 17:06:32 +03:00
JuliaSvinareva 49b2001f3d [DE PE SSE] Fix hide alt hints 2021-11-30 16:56:14 +03:00
Julia Radzhabova 863763a685 [SSE] Fix height of hidden sheet list 2021-11-30 16:35:42 +03:00
Julia Radzhabova d6471159ec [DE forms] Fix forms in desktop editor 2021-11-30 16:25:51 +03:00
Julia Radzhabova 8c554f9f67 [DE forms] Fix Bug 54217 2021-11-30 14:50:35 +03:00
Julia Radzhabova 126ff5e716 [DE forms] Change name of the Download button 2021-11-30 14:12:25 +03:00
Julia Radzhabova fda8076ec7 [DE forms] Open protected files 2021-11-30 13:44:18 +03:00
Julia Radzhabova ef18d41964 [DE forms] Fix Bug 54210: handle errors 2021-11-30 12:47:56 +03:00
ShimaginAndrey ed835111b8 [PE] Correct url themes 2021-11-30 11:39:57 +03:00
Maxim Kadushkin 73dea87360 [desktop] for bug 53723 2021-11-30 00:34:20 +03:00
Julia Radzhabova de72480047
Merge pull request #1368 from ONLYOFFICE/fix/bugfix
[DE forms] Download pdf using onRequestSaveAs event or saveAsUrl para…
2021-11-29 23:51:14 +03:00
Julia Radzhabova 6b89e899cb [DE forms] Download pdf using onRequestSaveAs event or saveAsUrl parameter 2021-11-29 23:39:18 +03:00
Julia Radzhabova 4afdde8879
Merge pull request #1367 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-29 19:57:08 +03:00
Julia Radzhabova 494673798c [DE forms] Open forms mode for viewing forms (not embedded). Fix Bug 54203, Bug 53943 2021-11-29 19:48:09 +03:00
Julia Radzhabova 424e094be7 [DE forms] Bug Bug 54141 2021-11-29 19:39:24 +03:00
Julia Radzhabova ea1741982b
Merge pull request #1366 from ONLYOFFICE/Bug-54141-1
Update icon-menu-sprite.svg
2021-11-29 19:28:27 +03:00
Julia Radzhabova fc7ed0f32c [DE forms] Bug 54141 2021-11-29 19:22:34 +03:00
Ilya Pershin 3cc96b8714
Update icon-menu-sprite.svg 2021-11-29 19:18:20 +03:00
Ilya Pershin 6512b0f254
Update icon-menu-sprite.svg
Add icons  Undo\Redo
2021-11-29 19:09:24 +03:00
JuliaSvinareva 97c43902d3 [DE PE] Fix bug 53810 2021-11-29 18:09:23 +03:00
Julia Radzhabova fe0756abdb
Merge pull request #1362 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-29 17:12:29 +03:00
Julia Radzhabova eb8d5b1160 [DE] Fix Bug 54194 2021-11-29 17:05:05 +03:00
Julia Radzhabova 198c278c29 [DE forms] Bug 53714 2021-11-29 15:02:22 +03:00
Julia Radzhabova f881e6ad8e [DE] Fix Bug 54199 2021-11-29 14:42:40 +03:00
Julia Radzhabova 4b364e3d23 For Bug 53791 2021-11-29 13:20:45 +03:00
Julia Radzhabova 0cb24d8f99 [DE forms] Fix Bug 53630 2021-11-29 12:49:04 +03:00
Julia Radzhabova 1c5b2fe382 [DE] Fix Bug 54185 2021-11-29 12:45:30 +03:00
maxkadushkin 6ccf918c26
Merge pull request #1361 from ONLYOFFICE/update-colors-table
Add accent button colors for all themes
2021-11-29 12:42:48 +03:00
evgenykatyshev 5d5717bb41 Add accent button colors for all themes 2021-11-29 12:22:21 +03:00
OVSharova ee55ea6bd9 Add actions 2021-11-29 11:40:47 +03:00
maxkadushkin cbc10ef0d1
Merge pull request #1351 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2021-11-29 11:17:59 +03:00
ShimaginAndrey a0672fbe61 [SSE] Replacing alert on dialog window 2021-11-28 20:37:18 +03:00
Julia Radzhabova 2aad186cdb [Mobile] Update translation 2021-11-26 18:11:24 +03:00
Julia Radzhabova ead3de7b22 Update translation 2021-11-26 18:03:35 +03:00
Julia Radzhabova 167c2b2e26
Merge pull request #1359 from ONLYOFFICE/fix/translation
Fix/translation
2021-11-26 17:51:42 +03:00
Julia Radzhabova 90365d5641 [Mobile] Update translation 2021-11-26 17:36:33 +03:00
Julia Radzhabova fa284ab2c7 Update translation 2021-11-26 17:29:54 +03:00
Julia Radzhabova 2498ffd30a
Merge pull request #1358 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-26 17:20:17 +03:00
Julia Radzhabova 25a4368e59 [SSE] Bug 53916 2021-11-26 17:12:28 +03:00
JuliaSvinareva 65515a7629 [SSE] Fix navigation buttons disable in print preview 2021-11-26 16:11:20 +03:00
Julia Radzhabova 4c26c97ef7 [SSE] Fix Bug 53916 2021-11-26 15:54:27 +03:00
Julia Radzhabova 592f1cfcd2 [DE] For Bug 53934 2021-11-26 14:18:23 +03:00
Julia Radzhabova c1b8e34f9e [Embedded][Forms] Fix Bug 54104 2021-11-26 14:10:44 +03:00
JuliaSvinareva 6299ae37d1 [SSE] Add translations for print preview 2021-11-26 13:51:11 +03:00
JuliaSvinareva caa7e0629f
Merge pull request #1357 from ONLYOFFICE/feature/sse-print
Feature/sse print
2021-11-26 13:30:25 +03:00
Julia Radzhabova 9e8e78ada2
Merge pull request #1356 from ONLYOFFICE/fix/bug_52232
[SSE] Fix bug 52232
2021-11-26 12:33:39 +03:00
JuliaSvinareva 267bb39e98 [SSE] Print preview: fix print and save buttons 2021-11-26 10:28:27 +03:00
JuliaSvinareva 81dcc267ef [SSE] Print preview: fix page navigation 2021-11-25 20:40:41 +03:00
JuliaSvinareva 20e9ad355a [SSE] Print preview: add resize 2021-11-25 19:41:19 +03:00
ShimaginAndrey f73b06d373 [DE PE SSE] Fix Bug 53972 2021-11-25 19:37:24 +03:00
JuliaSvinareva b0a69a7f1d [SSE] Print preview: add update name of preview sheet 2021-11-25 18:59:48 +03:00
Julia Radzhabova e434212883
Merge pull request #1355 from ONLYOFFICE/feature/filter-comments
Feature/filter comments
2021-11-25 18:27:29 +03:00
Julia Radzhabova 033a57d418 Add translation 2021-11-25 18:17:37 +03:00
ShimaginAndrey 70cf0f2578 [PE] Fix Bug 53999 v2 2021-11-25 18:02:51 +03:00
Julia Radzhabova a7924373ac
Merge pull request #1354 from ONLYOFFICE/fix/alt-key
Fix/alt key
2021-11-25 15:00:40 +03:00
JuliaSvinareva df9d25bddc [DE PE SSE] Fix bug 54067 2021-11-25 14:43:18 +03:00
JuliaSvinareva 75ddc2a5e0 [DE] Fix bug 54102 2021-11-25 14:30:43 +03:00
maxkadushkin 02f141629b
Merge pull request #1353 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2021-11-25 10:11:14 +03:00
Julia Radzhabova 83b2ef677b [Comments] Filter comments by group 2021-11-25 01:39:43 +03:00
Julia Radzhabova 5995a0045a [Comments] Fix sort 2021-11-25 00:43:25 +03:00
SergeyEzhin e1d90a205f [DE mobile] Fix Bug 53432 2021-11-25 00:57:37 +04:00
JuliaSvinareva ffc66e9818 [DE PE SSE] Fix bug 53882 2021-11-24 22:19:27 +03:00
JuliaSvinareva 49a92bd956 [SSE] Fix bug 52232 2021-11-24 22:06:49 +03:00
Julia Radzhabova 48dc9aefbe
Merge pull request #1352 from ONLYOFFICE/fix/bugfix
[SSE] Fix for translation
2021-11-24 21:37:10 +03:00
Julia Radzhabova f612437979 [SSE] Fix for translation 2021-11-24 21:29:08 +03:00
Julia Radzhabova d0f3011e6c [Comments] Fill user groups 2021-11-24 21:21:24 +03:00
Maxim Kadushkin 18107d2145 [forms] fix app stylesheet 2021-11-24 19:43:45 +03:00
SergeyEzhin 5fad9c2ccf [DE mobile] Fix Bug 53890 2021-11-24 19:29:19 +04:00
maxkadushkin a1770faac2
Merge pull request #1350 from ONLYOFFICE/fix/Bug-53885
Bug 53885
2021-11-24 18:04:45 +03:00
maxkadushkin 5e482af818
Merge pull request #1343 from ONLYOFFICE/feature/dropdown-list
[DE mobile] Added dropdown list and combobox
2021-11-24 18:01:58 +03:00
OVSharova 0376167d6d Bug 53886 2021-11-24 17:55:15 +03:00
Julia Radzhabova 29d5328bdd
Merge pull request #1349 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-24 17:27:02 +03:00
Julia Radzhabova 96cc359c08 Fix Bug 54072 2021-11-24 17:13:04 +03:00
Julia Radzhabova 23d46ccd95 [PE][SSE] Change type of version error 2021-11-24 16:36:01 +03:00
Julia Radzhabova 65532efefe Fix Bug 54069 2021-11-24 16:28:36 +03:00
Julia Radzhabova a6c8396d6a Fix Bug 54058 2021-11-24 16:08:14 +03:00
ShimaginAndrey fff7a34c53 [DE] Fix Bug 54054 2021-11-24 15:45:04 +03:00
Maxim Kadushkin bd89e046e7 [mobile] adapt skeleton for dark theme 2021-11-24 15:19:07 +03:00
Maxim Kadushkin c1a80a7f74 [all] fix bug 54037 2021-11-24 14:35:15 +03:00
ShimaginAndrey cea7c6c694 [PE] Fix Bug 53999 2021-11-24 14:18:02 +03:00
Julia Radzhabova 539f3d6fda
Merge pull request #1348 from ONLYOFFICE/fix/bugfix
[DE forms] Fix Bug 54030
2021-11-24 13:21:56 +03:00
Julia Radzhabova c71a252a0d [DE forms] Fix Bug 54030 2021-11-24 13:08:13 +03:00
Julia Radzhabova 9ffef82602
Merge pull request #1347 from ONLYOFFICE/fix/bugfix
Fix Bug 54038
2021-11-24 11:00:38 +03:00
Julia Radzhabova 31aed3acae Fix Bug 54038 2021-11-24 10:53:00 +03:00
OVSharova f86ccc0f93 Bug 53885 2021-11-24 09:52:29 +03:00
OVSharova 6835199df7 Bug 53886 2021-11-24 08:03:12 +03:00
Julia Radzhabova 82d14abd98
Merge pull request #1346 from ONLYOFFICE/fix/bugfix
Fix Bug 50498
2021-11-24 00:00:38 +03:00
Julia Radzhabova b90f49920d Fix Bug 50498 2021-11-23 23:30:41 +03:00
Julia Radzhabova ba6ae8d647
Merge pull request #1345 from ONLYOFFICE/fix/alt-key
Fix/alt key
2021-11-23 21:43:47 +03:00
JuliaSvinareva 35b6f67f7f [DE] Fix bug 54036 2021-11-23 21:29:53 +03:00
JuliaSvinareva f453c6a090 [DE PE SSE] Fix bug 54026 2021-11-23 21:13:26 +03:00
JuliaSvinareva 74d378b1d8 [DE PE SSE] Fix bug 54025 2021-11-23 20:29:56 +03:00
Maxim Kadushkin 3166525572 [themes] support for theme name localization 2021-11-23 20:10:50 +03:00
Julia Radzhabova b4550eea82
Merge pull request #1344 from ONLYOFFICE/fix/sse-slicer
[SSE] Fix slicer styles
2021-11-23 17:53:32 +03:00
Julia Radzhabova 66345944c7 [SSE] Fix slicer styles 2021-11-23 17:42:28 +03:00
ShimaginAndrey 8dd2081a7d [DE] Fix Bug 54001 2021-11-23 15:48:00 +03:00
SergeyEzhin 23f93d97b1 [DE mobile] Added dropdown list and combobox 2021-11-23 16:29:43 +04:00
Julia Radzhabova 929978fd50
Merge pull request #1342 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-23 14:51:37 +03:00
Julia Radzhabova 067181a056 [DE forms][Embedded] Fix Bug 53981 2021-11-23 14:35:22 +03:00
Julia Radzhabova 64f707bc5a [DE forms] Add translation 2021-11-23 13:41:03 +03:00
maxkadushkin 983c2a94a1
Merge pull request #1341 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
2021-11-23 10:58:38 +03:00
SergeyEzhin 2aca892017 [SSE mobile] Fix Bug 53990 2021-11-23 11:31:05 +04:00
OVSharova 641b860bde Change controller 2021-11-23 07:47:35 +03:00
Julia Radzhabova f7187db16a
Merge pull request #1340 from ONLYOFFICE/fix/bugfix
Fix/bugfix
2021-11-22 21:30:23 +03:00
Julia Radzhabova f01af017ad [SSE] For Bug 53952 2021-11-22 19:44:20 +03:00
SergeyEzhin bac52e24c6 [SSE mobile] Fix Bug 53987 2021-11-22 20:30:51 +04:00
Maxim Kadushkin 4a93e76ec4 [DE] show "dark mode" option for pdf/xps/djvu 2021-11-22 19:18:12 +03:00
Julia Radzhabova dde0ad7023 [DE] Fix Bug 53935 2021-11-22 18:05:05 +03:00
Julia Radzhabova be52573ca1 [SSE] Fix Bug 53952 2021-11-22 17:24:55 +03:00
Maxim Kadushkin 126eaf08e7 [all] fix bug 53971 2021-11-22 16:02:19 +03:00
Julia Radzhabova fd46abba46 [DE forms] Fix Bug 53869 2021-11-22 14:42:28 +03:00
Maxim Kadushkin 540a415826 [DE] apply document content mode in all opened tabs 2021-11-22 13:40:08 +03:00
JuliaSvinareva af7f3cd9df [DE PE SSE] Fix bug 53716 2021-11-22 13:00:38 +03:00
OVSharova 57937af17a add functions 2021-11-22 11:54:14 +03:00
maxkadushkin 85f7f03f0c
Merge pull request #1329 from ONLYOFFICE/feature/fix-bug-reactjs
Feature/fix bug reactjs
2021-11-22 11:13:19 +03:00
Julia Radzhabova a344ed7553
Merge pull request #1338 from ONLYOFFICE/fix/alt-key-for-diagram-editor
Fix/alt key for diagram editor
2021-11-19 21:47:15 +03:00
JuliaSvinareva 84acd68821 [SSE] Fix bug 53737 2021-11-19 21:17:33 +03:00
Maxim Kadushkin f7e367e617 [desktop] fix fill forms stylesheets 2021-11-19 20:29:36 +03:00
JuliaSvinareva 9dd64b7adf [DE PE SSE] Fix bug 53881 2021-11-19 20:09:35 +03:00
Julia Radzhabova 3e9469ccbe
Merge pull request #1337 from ONLYOFFICE/fix/bug-53753
[DE forms] Add dark mode
2021-11-19 17:43:40 +03:00
Julia Radzhabova dc9eff36e9 [DE forms] Add dark mode 2021-11-19 17:36:02 +03:00
JuliaSvinareva f37a5dad5e [DE PE SSE] Fix bug 53882 2021-11-19 16:52:29 +03:00
JuliaSvinareva 5f2d964632 [DE PE SSE] Fix bug 53880 2021-11-19 16:45:26 +03:00
Julia Radzhabova 1bad8b07d2
Merge pull request #1336 from ONLYOFFICE/fix/translation
Fix/translation
2021-11-19 16:25:40 +03:00
Julia Radzhabova 6f593a0549 [Mobile] Update translation 2021-11-19 15:59:08 +03:00
Julia Radzhabova 711c9f0f80 Update translation 2021-11-19 15:50:23 +03:00
ShimaginAndrey a84705121b [DE SSE] Fix Bug 53858 2021-11-19 12:18:02 +03:00
OVSharova 9961257432 Arrays for Animation 2021-11-19 01:24:54 +03:00
JuliaSvinareva 7257bca7b6 [SSE] Add alt hints to diagram editor (bug 53810) 2021-11-18 20:07:13 +03:00
ShimaginAndrey b1b9057c31 [PE] Fix Bug 53516 2021-11-17 15:28:57 +03:00
OVSharova 91dca660b0 Fill arrays 2021-11-16 03:49:39 +03:00
ShimaginAndrey d478d44bcd [PE] Fix Bug 53517 2021-11-15 14:37:24 +03:00
OVSharova c920f8b925 Fix arrays 2021-11-15 05:10:36 +03:00
JuliaSvinareva 6438d21602 [SSE] Add redrawing of preview when print settings are changed 2021-11-11 14:41:44 +03:00
JuliaSvinareva 14e367d6a9 [SSE] Fix input of page number for print menu 2021-11-11 13:32:26 +03:00
OVSharova 59a0eca4c9 Create effectData 2021-11-11 09:17:25 +03:00
OVSharova 35431e5e26 style as table 2021-11-01 04:39:41 +03:00
OVSharova 6c719bcf17 New variant 2021-10-29 04:15:38 +03:00
JuliaSvinareva ead08997a1 [SSE] Add update preview method 2021-10-28 14:27:51 +03:00
papacarlo d8875ec3b9 Merge branch hotfix/v6.4.2 into master 2021-10-28 07:33:15 +00:00
JuliaSvinareva eb08feee37 [SSE] Add methods for navigation in print preview 2021-10-27 20:22:23 +03:00
JuliaSvinareva ac93b3b4f2 [SSE] Add api methods for gridlines and headings 2021-10-27 14:11:23 +03:00
JuliaSvinareva 7cc2f854e8 [SSE] Add init and close print preview methods 2021-10-26 20:21:24 +03:00
OVSharova b9a3131e2c Refactoring 2021-10-25 11:59:30 +03:00
JuliaSvinareva 2f5805d3ac [SSE] Add number page and name of active sheet in print settings in file menu 2021-10-25 11:37:28 +03:00
OVSharova 205750bb82 Fix view 2021-10-24 03:14:52 +03:00
JuliaSvinareva a9d8043996 [SSE] Add alt-key hints, make preview navigation buttons in print settings 2021-10-22 21:17:45 +03:00
OVSharova 4b1d2b6dc3 Refactoring 2021-10-21 20:49:25 +03:00
JuliaSvinareva bd079d4209 [SSE] Add print gridlines and print headings in toolbar 2021-10-21 19:52:17 +03:00
JuliaSvinareva 79bf7d21bb [SSE] Open print with preview from toolbar, remove unused code 2021-10-21 16:01:30 +03:00
JuliaSvinareva 8e9d5dcea0 [SSE] Add handler for print button in print preview menu 2021-10-21 15:20:32 +03:00
JuliaSvinareva e232acc272 [SSE] Add handlers for print range and header/footer settings in file menu 2021-10-20 17:56:06 +03:00
JuliaSvinareva 02a400d75c [SSE] Make print with preview in file menu 2021-10-19 19:03:31 +03:00
OVSharova b09f44f94f Set Functions 2021-10-19 18:00:09 +03:00
JuliaSvinareva 095c0d624d [SSE] Make print with preview in file menu 2021-10-18 19:35:23 +03:00
JuliaSvinareva 225c669dd0 [SSE] Make print with preview in file menu 2021-10-18 11:21:30 +03:00
OVSharova c5170a238f Add tab 2021-10-15 04:15:43 +03:00
papacarlo 1851cae765 Merge branch hotfix/v6.4.2 into master 2021-10-14 10:24:08 +00:00
17436 changed files with 281411 additions and 176367 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@ Thumbs.db
.DS_Store
/deploy
build/node_modules
build/plugins/**/node_modules/
build/sprites/node_modules/
vendor/framework7-react/
apps/documenteditor/embed/resources/less/node_modules

View file

@ -56,6 +56,7 @@
edit: ["Group1", ""] // current user can edit comments made by users from Group1 and users without a group.
remove: ["Group1", ""] // current user can remove comments made by users from Group1 and users without a group.
},
userInfoGroups: ["Group1", ""], // show tooltips/cursors/info in header only for users in userInfoGroups groups. [""] - means users without group, [] - don't show any users, null/undefined/"" - show all users
protect: <can protect document> // default = true. show/hide protect tab or protect buttons
}
},
@ -114,6 +115,7 @@
address: 'New-York, 125f-25',
mail: 'support@gmail.com',
www: 'www.superpuper.com',
phone: '1234567890',
info: 'Some info',
logo: '',
logoDark: '', // logo for dark theme
@ -161,8 +163,11 @@
collaboration: false / true // collaboration tab
protect: false / true, // protect tab
plugins: false / true // plugins tab
view: {
navigation: false/true // navigation button in de
} / false / true, // view tab
save: false/true // save button on toolbar in
},
} / false / true, // use instead of customization.toolbar,
header: {
users: false/true // users list button
save: false/true // save button
@ -176,7 +181,7 @@
textLang: false/true // text language button in de/pe
docLang: false/true // document language button in de/pe
actionStatus: false/true // status of operation
}
} / false / true, // use instead of customization.statusBar
},
features: { // disable feature
spellcheck: {
@ -191,8 +196,8 @@
leftMenu: true, // must be deprecated. use layout.leftMenu instead
rightMenu: true, // must be deprecated. use layout.rightMenu instead
hideRightMenu: false, // hide or show right panel on first loading
toolbar: true,
statusBar: true,
toolbar: true, // must be deprecated. use layout.toolbar instead
statusBar: true, // must be deprecated. use layout.statusBar instead
autosave: true,
forcesave: false,
commentAuthorOnly: false, // must be deprecated. use permissions.editCommentAuthorOnly and permissions.deleteCommentAuthorOnly instead
@ -213,10 +218,12 @@
hideRulers: false // hide or show rulers on first loading (presentation or document editor)
hideNotes: false // hide or show notes panel on first loading (presentation editor)
uiTheme: 'theme-dark' // set interface theme: id or default-dark/default-light
integrationMode: "embed" // turn off scroll to frame
},
coEditing: {
mode: 'fast', // <coauthoring mode>, 'fast' or 'strict'. if 'fast' and 'customization.autosave'=false -> set 'customization.autosave'=true
change: true, // can change co-authoring mode
mode: 'fast', // <coauthoring mode>, 'fast' or 'strict'. if 'fast' and 'customization.autosave'=false -> set 'customization.autosave'=true. 'fast' - default for editor
// for viewer: 'strict' is default, offline viewer; 'fast' - live viewer, show changes from other users
change: true, // can change co-authoring mode. true - default for editor, false - default for viewer
},
plugins: {
autostart: ['asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}'],
@ -368,36 +375,6 @@
}
};
var _callLocalStorage = function(data) {
if (data.cmd == 'get') {
if (data.keys && data.keys.length) {
var af = data.keys.split(','), re = af[0];
for (i = 0; ++i < af.length;)
re += '|' + af[i];
re = new RegExp(re); k = {};
for (i in localStorage)
if (re.test(i)) k[i] = localStorage[i];
} else {
k = localStorage;
}
_sendCommand({
command: 'internalCommand',
data: {
type: 'localstorage',
keys: k
}
});
} else
if (data.cmd == 'set') {
var k = data.keys, i;
for (i in k) {
localStorage.setItem(i, k[i]);
}
}
};
var _onMessage = function(msg) {
if ( msg ) {
if ( msg.type === "onExternalPluginMessage" ) {
@ -412,8 +389,6 @@
if (msg.event === 'onRequestEditRights' && !handler) {
_applyEditRights(false, 'handler isn\'t defined');
} else if (msg.event === 'onInternalMessage' && msg.data && msg.data.type == 'localstorage') {
_callLocalStorage(msg.data.data);
} else {
if (msg.event === 'onAppReady') {
_onAppReady();
@ -516,6 +491,9 @@
if (target && _checkConfigParams()) {
iframe = createIframe(_config);
if (_config.editorConfig.customization && _config.editorConfig.customization.integrationMode==='embed')
window.AscEmbed && window.AscEmbed.initWorker(iframe);
if (iframe.src) {
var pathArray = iframe.src.split('/');
this.frameOrigin = pathArray[0] + '//' + pathArray[2];
@ -929,18 +907,10 @@
path_type;
path += app + "/";
if (config.document && typeof config.document.fileType === 'string' && config.document.fileType.toLowerCase() === 'oform') {
var canFillForms = !config.document.permissions
? true : (config.document.permissions.fillForms===undefined)
? (config.document.permissions.edit !== false) : config.document.permissions.fillForms;
path_type = (config.type === "mobile" || isSafari_mobile)
? "mobile" : (config.type === "embedded" || !canFillForms || config.editorConfig.mode === 'view')
? "embed" : "forms";
} else {
path_type = (config.type === "mobile" || isSafari_mobile)
? "mobile" : (config.type === "embedded")
? "embed" : "main";
}
? "embed" : (config.document && typeof config.document.fileType === 'string' && config.document.fileType.toLowerCase() === 'oform')
? "forms" : "main";
path += path_type;
var index = "/index.html";
@ -949,7 +919,7 @@
if ( typeof(customization) == 'object' && ( customization.toolbarNoTabs ||
(config.editorConfig.targetApp!=='desktop') && (customization.loaderName || customization.loaderLogo))) {
index = "/index_loader.html";
} else if (config.editorConfig.mode === 'editdiagram' || config.editorConfig.mode === 'editmerge')
} else if (config.editorConfig.mode === 'editdiagram' || config.editorConfig.mode === 'editmerge' || config.editorConfig.mode === 'editole')
index = "/index_internal.html";
}
@ -968,9 +938,11 @@
if (config.editorConfig.customization.loaderName !== 'none') params += "&customer=" + encodeURIComponent(config.editorConfig.customization.loaderName);
} else
params += "&customer={{APP_CUSTOMER_NAME}}";
if ( (typeof(config.editorConfig.customization) == 'object') && config.editorConfig.customization.loaderLogo) {
if (config.editorConfig.customization.loaderLogo !== '') params += "&logo=" + encodeURIComponent(config.editorConfig.customization.loaderLogo);
} else if ( (typeof(config.editorConfig.customization) == 'object') && config.editorConfig.customization.logo) {
if (typeof(config.editorConfig.customization) == 'object') {
if ( config.editorConfig.customization.loaderLogo && config.editorConfig.customization.loaderLogo !== '') {
params += "&logo=" + encodeURIComponent(config.editorConfig.customization.loaderLogo);
}
if ( config.editorConfig.customization.logo ) {
if (config.type=='embedded' && (config.editorConfig.customization.logo.image || config.editorConfig.customization.logo.imageEmbedded))
params += "&headerlogo=" + encodeURIComponent(config.editorConfig.customization.logo.image || config.editorConfig.customization.logo.imageEmbedded);
else if (config.type!='embedded' && (config.editorConfig.customization.logo.image || config.editorConfig.customization.logo.imageDark)) {
@ -979,8 +951,9 @@
}
}
}
}
if (config.editorConfig && (config.editorConfig.mode == 'editdiagram' || config.editorConfig.mode == 'editmerge'))
if (config.editorConfig && (config.editorConfig.mode == 'editdiagram' || config.editorConfig.mode == 'editmerge' || config.editorConfig.mode == 'editole'))
params += "&internal=true";
if (config.frameEditorId)
@ -995,8 +968,6 @@
if (config.editorConfig && config.editorConfig.customization && (config.editorConfig.customization.toolbar===false))
params += "&toolbar=false";
else if (config.document && config.document.permissions && (config.document.permissions.edit === false && config.document.permissions.fillForms ))
params += "&toolbar=true";
if (config.parentOrigin)
params += "&parentOrigin=" + config.parentOrigin;
@ -1016,10 +987,11 @@
iframe.align = "top";
iframe.frameBorder = 0;
iframe.name = "frameEditor";
config.title && (typeof config.title === 'string') && (iframe.title = config.title);
iframe.allowFullscreen = true;
iframe.setAttribute("allowfullscreen",""); // for IE11
iframe.setAttribute("onmousewheel",""); // for Safari on Mac
iframe.setAttribute("allow", "autoplay; camera; microphone; display-capture");
iframe.setAttribute("allow", "autoplay; camera; microphone; display-capture; clipboard-write;");
if (config.type == "mobile")
{

View file

@ -262,7 +262,7 @@ div {
var config = {
"width": "100%",
"height": "100%",
"type": "desktop",
"type": queryParams.embed==="1" ? "embedded" : "desktop",
"documentType": documentType,
"token": token,
"document": {
@ -302,7 +302,7 @@ div {
"uiTheme": queryParams.thm==="1" ? "default-light" : (queryParams.thm==="2" ? "default-dark" : undefined)
},
"coEditing": {
"mode": "fast",
"mode": userAuth.mode !== "view" ? "fast" : "strict",
"change": false
},
"wopi": {

View file

@ -57,6 +57,16 @@
$dlgShare.find('#btn-copyshort').on('click', copytext.bind(this, $dlgShare.find('#id-short-url')));
$dlgShare.find('.share-buttons > span').on('click', function(e){
if ( window.config ) {
const key = $(e.target).attr('data-name');
const btn = config.btnsShare[key];
if ( btn && btn.getUrl ) {
window.open(btn.getUrl(appConfig.shareUrl, appConfig.docTitle), btn.target || '',
btn.features || 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');
return;
}
}
var _url;
switch ($(e.target).attr('data-name')) {
case 'facebook':

View file

@ -36,6 +36,11 @@
!common.utils && (common.utils = {});
common.utils = new(function(){
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){
return regex.test(userAgent);
},
isMac = check(/macintosh|mac os x/);
return {
openLink: function(url) {
if (url) {
@ -100,7 +105,9 @@
return prop;
}
}
}
},
isMac : isMac
};
})();
}();

View file

@ -0,0 +1,77 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2020
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* SearchBar.js
*
* Created by Julia Svinareva on 27.04.2022
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
!window.common && (window.common = {});
!common.view && (common.view = {});
common.view.SearchBar = new(function() {
var tpl = '<div class="asc-window search-window" style="display: none;">' +
'<div class="body">{body}</div>' +
'</div>';
var tplBody = '<input type="text" id="search-bar-text" placeholder="{textFind}" autocomplete="off">' +
'<div class="tools">' +
'<button id="search-bar-back" class="svg-icon search-arrow-up"></button>' +
'<button id="search-bar-next" class="svg-icon search-arrow-down"></button>' +
'<button id="search-bar-close" class="svg-icon search-close"></button>' +
'</div>';
return {
create: function(parent) {
!parent && (parent = 'body');
var _$dlg = $(tpl
.replace(/\{body}/, tplBody)
.replace(/\{textFind}/, this.textFind))
.appendTo(parent)
.attr('id', 'dlg-search');
return _$dlg;
},
disableNavButtons: function (resultNumber, allResults) {
var disable = $('#search-bar-text').val() === '' || !allResults;
$('#search-bar-back').attr({disabled: disable});
$('#search-bar-next').attr({disabled: disable});
},
textFind: 'Find'
};
})();

View file

@ -73,6 +73,20 @@ common.view.modals = new(function() {
var _$dlg;
if (name == 'share') {
if ( window.config && window.config.btnsShare ) {
let _btns = [];
for (const key of Object.keys(config.btnsShare))
_btns.push(`<span class="svg big-${key}" data-name="${key}"></span>`);
if ( _btns ) {
let $sharebox = $(_tplbody_share);
$sharebox.find('.autotest').prevAll().remove();
$sharebox.eq(1).prepend(_btns.join(''));
_tplbody_share = $("<div>").append($sharebox).html();
}
}
_$dlg = $(tplDialog
.replace(/\{title}/, this.txtShare)
.replace(/\{body}/, _tplbody_share)

View file

@ -1,152 +1,220 @@
<svg width="380" height="40" viewBox="0 0 380 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="icon-menu-sprite Embedded Viewer">
<g id="view-settings">
<path id="Vector" d="M17 26H3V27H17V26Z" fill="white"/>
<path id="Vector_2" d="M17 30H3V31H17V30Z" fill="white"/>
<path id="Vector_3" d="M17 34H3V35H17V34Z" fill="white"/>
</g>
<g id="download">
<path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M31 22H30V33.2929L25.3536 28.6464L24.6465 29.3536L30.1465 34.8536L30.5 35.2071L30.8536 34.8536L36.3536 29.3536L35.6465 28.6464L31 33.2929V22Z" fill="white"/>
<rect id="Rectangle 88" x="24" y="36" width="13" height="1" fill="white"/>
</g>
<g id="share">
<path id="share_2" d="M56 25C56 26.1046 55.1046 27 54 27C53.4663 27 52.9815 26.791 52.6229 26.4503L47.9076 29.3974C47.9676 29.5875 48 29.79 48 30C48 30.21 47.9676 30.4125 47.9076 30.6026L52.6229 33.5497C52.9815 33.209 53.4663 33 54 33C55.1046 33 56 33.8954 56 35C56 36.1046 55.1046 37 54 37C52.8954 37 52 36.1046 52 35C52 34.79 52.0324 34.5875 52.0924 34.3974L47.3771 31.4503C47.0185 31.791 46.5337 32 46 32C44.8954 32 44 31.1046 44 30C44 28.8954 44.8954 28 46 28C46.5337 28 47.0185 28.209 47.3771 28.5497L52.0924 25.6026C52.0324 25.4125 52 25.21 52 25C52 23.8954 52.8954 23 54 23C55.1046 23 56 23.8954 56 25Z" fill="white"/>
</g>
<g id="embed ">
<g id="embed _2">
<path d="M67.8536 25.3536L67.1465 24.6465L62.293 29.5L67.1465 34.3536L67.8536 33.6465L63.7072 29.5L67.8536 25.3536Z" fill="white"/>
<path d="M72.1465 25.3536L72.8536 24.6465L77.7072 29.5L72.8536 34.3536L72.1465 33.6465L76.293 29.5L72.1465 25.3536Z" fill="white"/>
</g>
</g>
<g id="full-screen">
<path id="Rectangle 81 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M93 27H87V33H93V27ZM86 26V34H94V26H86Z" fill="white"/>
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M86 23H83V26H84V24H86V23Z" fill="white"/>
<path id="Subtract_2" fill-rule="evenodd" clip-rule="evenodd" d="M97 26L97 23L94 23L94 24L96 24L96 26L97 26Z" fill="white"/>
<path id="Subtract_3" fill-rule="evenodd" clip-rule="evenodd" d="M94 37L97 37L97 34L96 34L96 36L94 36L94 37Z" fill="white"/>
<path id="Subtract_4" fill-rule="evenodd" clip-rule="evenodd" d="M83 34L83 37L86 37L86 36L84 36L84 34L83 34Z" fill="white"/>
</g>
<g id="zoom-in">
<path id="Union_2" fill-rule="evenodd" clip-rule="evenodd" d="M111 25H110V30H105V31H110V36H111V31H116V30H111V25Z" fill="white"/>
</g>
<g id="zoom-out">
<rect id="Rectangle 44.8" x="135" y="30" width="1" height="10" transform="rotate(90 135 30)" fill="white"/>
</g>
<g id="scroll-to-first-sheet">
<path id="Vector 13 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M155 25L147 30L155 35V25Z" fill="white"/>
<path id="Rectangle 225" d="M145 25H146V35H145V25Z" fill="white"/>
</g>
<g id="scroll-to-last-sheet">
<path id="Vector 13 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M165 35L173 30L165 25V35Z" fill="white"/>
<path id="Rectangle 225 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M174 35H175V25H174V35Z" fill="white"/>
</g>
<g id="play">
<path id="Vector 8 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M185 23L198 30L185 37V23Z" fill="white"/>
</g>
<g id="pause">
<path id="Rectangle 81 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M205 25V35H209V25H205Z" fill="white"/>
<path id="Rectangle 81.1 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M211 25V35H215V25H211Z" fill="white"/>
</g>
<g id=" print">
<path id="Union_3" fill-rule="evenodd" clip-rule="evenodd" d="M226 24H234V26H226V24ZM225 26V24C225 23.4477 225.448 23 226 23H234C234.552 23 235 23.4477 235 24V26H237C237.552 26 238 26.4477 238 27V33C238 33.5523 237.552 34 237 34H235V36C235 36.5523 234.552 37 234 37H226C225.448 37 225 36.5523 225 36V34H223C222.448 34 222 33.5523 222 33V27C222 26.4477 222.448 26 223 26H225ZM225 33V31C225 30.4477 225.448 30 226 30H234C234.552 30 235 30.4477 235 31V33H237V27H234H226H223V33H225ZM225 28H224V29H225V28ZM234 31H226V36H234V31ZM227 32H233V33H227V32ZM233 34H227V35H233V34Z" fill="white"/>
</g>
<g id="clear-style">
<path id="Union_4" fill-rule="evenodd" clip-rule="evenodd" d="M253.268 24.5608C252.291 23.5845 250.708 23.5845 249.732 24.5608L243.561 30.7324C242.584 31.7087 242.584 33.2916 243.561 34.268L245.146 35.8537L245.293 36.0002L245.5 36.0002H249.5L249.707 36.0002L255 36.0002V35.0002H250.707L255.439 30.268C256.416 29.2916 256.416 27.7087 255.439 26.7324L253.268 24.5608ZM249.293 35.0002L252.793 31.5002L248.5 27.2073L244.268 31.4395C243.682 32.0253 243.682 32.9751 244.268 33.5609L245.707 35.0002L249.293 35.0002ZM249.207 26.5002L253.5 30.7931L254.732 29.5608C255.318 28.9751 255.318 28.0253 254.732 27.4395L252.561 25.268C251.975 24.6822 251.025 24.6822 250.439 25.268L249.207 26.5002Z" fill="white"/>
</g>
<g id="view-settings_2">
<path id="Vector_4" d="M17 6H3V7H17V6Z" fill="black"/>
<path id="Vector_5" d="M17 10H3V11H17V10Z" fill="black"/>
<path id="Vector_6" d="M17 14H3V15H17V14Z" fill="black"/>
</g>
<g id="download_2">
<path id="Union_5" fill-rule="evenodd" clip-rule="evenodd" d="M31 2H30V13.2929L25.3536 8.64645L24.6465 9.35355L30.1465 14.8536L30.5 15.2071L30.8536 14.8536L36.3536 9.35355L35.6465 8.64645L31 13.2929V2Z" fill="black"/>
<rect id="Rectangle 88_2" x="24" y="16" width="13" height="1" fill="black"/>
</g>
<g id="share_3">
<path id="share_4" d="M56 5C56 6.10457 55.1046 7 54 7C53.4663 7 52.9815 6.79098 52.6229 6.45034L47.9076 9.39737C47.9676 9.58754 48 9.78999 48 10C48 10.21 47.9676 10.4125 47.9076 10.6026L52.6229 13.5497C52.9815 13.209 53.4663 13 54 13C55.1046 13 56 13.8954 56 15C56 16.1046 55.1046 17 54 17C52.8954 17 52 16.1046 52 15C52 14.79 52.0324 14.5875 52.0924 14.3974L47.3771 11.4503C47.0185 11.791 46.5337 12 46 12C44.8954 12 44 11.1046 44 10C44 8.89543 44.8954 8 46 8C46.5337 8 47.0185 8.20902 47.3771 8.54966L52.0924 5.60264C52.0324 5.41246 52 5.21001 52 5C52 3.89543 52.8954 3 54 3C55.1046 3 56 3.89543 56 5Z" fill="black"/>
</g>
<g id="embed _3">
<g id="embed _4">
<path d="M67.8536 5.35359L67.1465 4.64648L62.293 9.50004L67.1465 14.3536L67.8536 13.6465L63.7072 9.50004L67.8536 5.35359Z" fill="black"/>
<path d="M72.1465 5.35359L72.8536 4.64648L77.7072 9.50004L72.8536 14.3536L72.1465 13.6465L76.293 9.50004L72.1465 5.35359Z" fill="black"/>
</g>
</g>
<g id="full-screen_2">
<path id="Rectangle 81 (Stroke)_3" fill-rule="evenodd" clip-rule="evenodd" d="M93 7H87V13H93V7ZM86 6V14H94V6H86Z" fill="black"/>
<path id="Subtract_5" fill-rule="evenodd" clip-rule="evenodd" d="M86 3H83V6H84V4H86V3Z" fill="black"/>
<path id="Subtract_6" fill-rule="evenodd" clip-rule="evenodd" d="M97 6L97 3L94 3L94 4L96 4L96 6L97 6Z" fill="black"/>
<path id="Subtract_7" fill-rule="evenodd" clip-rule="evenodd" d="M94 17L97 17L97 14L96 14L96 16L94 16L94 17Z" fill="black"/>
<path id="Subtract_8" fill-rule="evenodd" clip-rule="evenodd" d="M83 14L83 17L86 17L86 16L84 16L84 14L83 14Z" fill="black"/>
</g>
<g id="zoom-in_2">
<path id="Union_6" fill-rule="evenodd" clip-rule="evenodd" d="M111 5H110V10H105V11H110V16H111V11H116V10H111V5Z" fill="black"/>
</g>
<g id="zoom-out_2">
<rect id="Rectangle 44.8_2" x="135" y="10" width="1" height="10" transform="rotate(90 135 10)" fill="black"/>
</g>
<g id="scroll-to-first-sheet_2">
<path id="Vector 13 (Stroke)_3" fill-rule="evenodd" clip-rule="evenodd" d="M155 5L147 10L155 15V5Z" fill="black"/>
<path id="Rectangle 225_2" d="M145 5H146V15H145V5Z" fill="black"/>
</g>
<g id="scroll-to-last-sheet_2">
<path id="Vector 13 (Stroke)_4" fill-rule="evenodd" clip-rule="evenodd" d="M165 15L173 10L165 5V15Z" fill="black"/>
<path id="Rectangle 225 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M174 15H175V5H174V15Z" fill="black"/>
</g>
<g id="play_2">
<path id="Vector 8 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M185 3L198 10L185 17V3Z" fill="black"/>
</g>
<g id="pause_2">
<path id="Rectangle 81 (Stroke)_4" fill-rule="evenodd" clip-rule="evenodd" d="M205 5V15H209V5H205Z" fill="black"/>
<path id="Rectangle 81.1 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M211 5V15H215V5H211Z" fill="black"/>
</g>
<g id=" print_2">
<path id="Union_7" fill-rule="evenodd" clip-rule="evenodd" d="M226 4H234V6H226V4ZM225 6V4C225 3.44772 225.448 3 226 3H234C234.552 3 235 3.44772 235 4V6H237C237.552 6 238 6.44772 238 7V13C238 13.5523 237.552 14 237 14H235V16C235 16.5523 234.552 17 234 17H226C225.448 17 225 16.5523 225 16V14H223C222.448 14 222 13.5523 222 13V7C222 6.44772 222.448 6 223 6H225ZM225 13V11C225 10.4477 225.448 10 226 10H234C234.552 10 235 10.4477 235 11V13H237V7H234H226H223V13H225ZM225 8H224V9H225V8ZM234 11H226V16H234V11ZM227 12H233V13H227V12ZM233 14H227V15H233V14Z" fill="black"/>
</g>
<g id="clear-style_2">
<path id="Union_8" fill-rule="evenodd" clip-rule="evenodd" d="M253.268 4.56085C252.291 3.58454 250.708 3.58453 249.732 4.56085L243.561 10.7324C242.584 11.7087 242.584 13.2916 243.561 14.268L245.146 15.8537L245.293 16.0002L245.5 16.0002H249.5L249.707 16.0002L255 16.0002V15.0002H250.707L255.439 10.268C256.416 9.29164 256.416 7.70873 255.439 6.73242L253.268 4.56085ZM249.293 15.0002L252.793 11.5002L248.5 7.20729L244.268 11.4395C243.682 12.0253 243.682 12.9751 244.268 13.5609L245.707 15.0002L249.293 15.0002ZM249.207 6.50019L253.5 10.7931L254.732 9.56085C255.318 8.97506 255.318 8.02531 254.732 7.43953L252.561 5.26795C251.975 4.68217 251.025 4.68217 250.439 5.26795L249.207 6.50019Z" fill="black"/>
</g>
<g id="edit">
<path id="Vector_7" d="M263 34V37H266L274 29L271 26L263 34Z" fill="white"/>
<path id="Vector 2" d="M275 28L272 25L274 23H275L277 25V26L275 28Z" fill="white"/>
</g>
<g id="more-vertical">
<circle id="Ellipse" cx="290" cy="26" r="1" transform="rotate(90 290 26)" fill="white"/>
<circle id="Ellipse_2" cx="290" cy="30" r="1" transform="rotate(90 290 30)" fill="white"/>
<circle id="Ellipse_3" cx="290" cy="34" r="1" transform="rotate(90 290 34)" fill="white"/>
</g>
<g id="go-to-location">
<path id="Vector_8" d="M317 26H311V25C311 24.45 310.55 24 310 24H303C302.45 24 302 24.45 302 25V36C302 36.55 302.45 37 303 37H317C317.55 37 318 36.55 318 36V27C318 26.45 317.55 26 317 26ZM317 36H303V25H310V27H317V36Z" fill="white"/>
<path id="Union_9" fill-rule="evenodd" clip-rule="evenodd" d="M309.646 33.6465L310.354 34.3536L313.207 31.5L310.354 28.6465L309.646 29.3536L311.268 30.9747H306V31.9747H311.318L309.646 33.6465Z" fill="white"/>
</g>
<g id="arrow-down">
<path id="Union_10" fill-rule="evenodd" clip-rule="evenodd" d="M331 23H330V34.2929L325.354 29.6464L324.646 30.3536L330.146 35.8536L330.5 36.2071L330.854 35.8536L336.354 30.3536L335.646 29.6464L331 34.2929V23Z" fill="white"/>
</g>
<g id="edit_2">
<path id="Vector_9" d="M263 14V17H266L274 9L271 6L263 14Z" fill="black"/>
<path id="Vector 2_2" d="M275 8L272 5L274 3H275L277 5V6L275 8Z" fill="black"/>
</g>
<g id="more-vertical_2">
<circle id="Ellipse_4" cx="290" cy="6" r="1" transform="rotate(90 290 6)" fill="black"/>
<circle id="Ellipse_5" cx="290" cy="10" r="1" transform="rotate(90 290 10)" fill="black"/>
<circle id="Ellipse_6" cx="290" cy="14" r="1" transform="rotate(90 290 14)" fill="black"/>
</g>
<g id="go-to-location_2">
<path id="Vector_10" d="M317 6H311V5C311 4.45 310.55 4 310 4H303C302.45 4 302 4.45 302 5V16C302 16.55 302.45 17 303 17H317C317.55 17 318 16.55 318 16V7C318 6.45 317.55 6 317 6ZM317 16H303V5H310V7H317V16Z" fill="black"/>
<path id="Union_11" fill-rule="evenodd" clip-rule="evenodd" d="M309.646 13.6465L310.354 14.3536L313.207 11.5L310.354 8.64648L309.646 9.35359L311.268 10.9747H306V11.9747H311.318L309.646 13.6465Z" fill="black"/>
</g>
<g id="arrow-down_2">
<path id="Union_12" fill-rule="evenodd" clip-rule="evenodd" d="M331 3H330V14.2929L325.354 9.64645L324.646 10.3536L330.146 15.8536L330.5 16.2071L330.854 15.8536L336.354 10.3536L335.646 9.64645L331 14.2929V3Z" fill="black"/>
</g>
<g id="arrow-up">
<path id="Union_13" fill-rule="evenodd" clip-rule="evenodd" d="M350 36.207L351 36.207L351 24.9141L355.646 29.5606L356.354 28.8535L350.854 23.3535L350.5 22.9999L350.146 23.3535L344.646 28.8535L345.354 29.5606L350 24.9141L350 36.207Z" fill="white"/>
</g>
<g id="arrow-up_2">
<path id="Union_14" fill-rule="evenodd" clip-rule="evenodd" d="M350 16.207L351 16.207L351 4.91414L355.646 9.56059L356.354 8.85348L350.854 3.35348L350.5 2.99993L350.146 3.35348L344.646 8.85348L345.354 9.56059L350 4.91414L350 16.207Z" fill="black"/>
</g>
<g id="close">
<path id="Vector 73" d="M366 25L375 34M375 25L366 34" stroke="white" stroke-width="1.5"/>
</g>
<g id="close_2">
<path id="Vector 73_2" d="M366 5L375 14M375 5L366 14" stroke="black" stroke-width="1.5"/>
</g>
</g>
<svg width="580" height="40" viewBox="0 0 580 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="icon-menu-sprite Embedded Viewer">
<g id="view-settings">
<path id="Vector" d="M17 26H3V27H17V26Z" fill="white"/>
<path id="Vector_2" d="M17 30H3V31H17V30Z" fill="white"/>
<path id="Vector_3" d="M17 34H3V35H17V34Z" fill="white"/>
</g>
<g id="download">
<path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M31 22H30V33.2929L25.3536 28.6464L24.6465 29.3536L30.1465 34.8536L30.5 35.2071L30.8536 34.8536L36.3536 29.3536L35.6465 28.6464L31 33.2929V22Z" fill="white"/>
<rect id="Rectangle 88" x="24" y="36" width="13" height="1" fill="white"/>
</g>
<g id="share">
<path id="share_2" d="M56 25C56 26.1046 55.1046 27 54 27C53.4663 27 52.9815 26.791 52.6229 26.4503L47.9076 29.3974C47.9676 29.5875 48 29.79 48 30C48 30.21 47.9676 30.4125 47.9076 30.6026L52.6229 33.5497C52.9815 33.209 53.4663 33 54 33C55.1046 33 56 33.8954 56 35C56 36.1046 55.1046 37 54 37C52.8954 37 52 36.1046 52 35C52 34.79 52.0324 34.5875 52.0924 34.3974L47.3771 31.4503C47.0185 31.791 46.5337 32 46 32C44.8954 32 44 31.1046 44 30C44 28.8954 44.8954 28 46 28C46.5337 28 47.0185 28.209 47.3771 28.5497L52.0924 25.6026C52.0324 25.4125 52 25.21 52 25C52 23.8954 52.8954 23 54 23C55.1046 23 56 23.8954 56 25Z" fill="white"/>
</g>
<g id="embed ">
<g id="embed _2">
<path d="M67.8536 25.3536L67.1465 24.6465L62.293 29.5L67.1465 34.3536L67.8536 33.6465L63.7072 29.5L67.8536 25.3536Z" fill="white"/>
<path d="M72.1465 25.3536L72.8536 24.6465L77.7072 29.5L72.8536 34.3536L72.1465 33.6465L76.293 29.5L72.1465 25.3536Z" fill="white"/>
</g>
</g>
<g id="full-screen">
<path id="Rectangle 81 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M93 27H87V33H93V27ZM86 26V34H94V26H86Z" fill="white"/>
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M86 23H83V26H84V24H86V23Z" fill="white"/>
<path id="Subtract_2" fill-rule="evenodd" clip-rule="evenodd" d="M97 26L97 23L94 23L94 24L96 24L96 26L97 26Z" fill="white"/>
<path id="Subtract_3" fill-rule="evenodd" clip-rule="evenodd" d="M94 37L97 37L97 34L96 34L96 36L94 36L94 37Z" fill="white"/>
<path id="Subtract_4" fill-rule="evenodd" clip-rule="evenodd" d="M83 34L83 37L86 37L86 36L84 36L84 34L83 34Z" fill="white"/>
</g>
<g id="zoom-in">
<path id="Union_2" fill-rule="evenodd" clip-rule="evenodd" d="M111 25H110V30H105V31H110V36H111V31H116V30H111V25Z" fill="white"/>
</g>
<g id="zoom-out">
<rect id="Rectangle 44.8" x="135" y="30" width="1" height="10" transform="rotate(90 135 30)" fill="white"/>
</g>
<g id="scroll-to-first-sheet">
<path id="Vector 13 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M155 25L147 30L155 35V25Z" fill="white"/>
<path id="Rectangle 225" d="M145 25H146V35H145V25Z" fill="white"/>
</g>
<g id="scroll-to-last-sheet">
<path id="Vector 13 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M165 35L173 30L165 25V35Z" fill="white"/>
<path id="Rectangle 225 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M174 35H175V25H174V35Z" fill="white"/>
</g>
<g id="play">
<path id="Vector 8 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M185 23L198 30L185 37V23Z" fill="white"/>
</g>
<g id="pause">
<path id="Rectangle 81 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M205 25V35H209V25H205Z" fill="white"/>
<path id="Rectangle 81.1 (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M211 25V35H215V25H211Z" fill="white"/>
</g>
<g id=" print">
<path id="Union_3" fill-rule="evenodd" clip-rule="evenodd" d="M226 24H234V26H226V24ZM225 26V24C225 23.4477 225.448 23 226 23H234C234.552 23 235 23.4477 235 24V26H237C237.552 26 238 26.4477 238 27V33C238 33.5523 237.552 34 237 34H235V36C235 36.5523 234.552 37 234 37H226C225.448 37 225 36.5523 225 36V34H223C222.448 34 222 33.5523 222 33V27C222 26.4477 222.448 26 223 26H225ZM225 33V31C225 30.4477 225.448 30 226 30H234C234.552 30 235 30.4477 235 31V33H237V27H234H226H223V33H225ZM225 28H224V29H225V28ZM234 31H226V36H234V31ZM227 32H233V33H227V32ZM233 34H227V35H233V34Z" fill="white"/>
</g>
<g id="clear-style">
<path id="Union_4" fill-rule="evenodd" clip-rule="evenodd" d="M253.268 24.5608C252.291 23.5845 250.708 23.5845 249.732 24.5608L243.561 30.7324C242.584 31.7087 242.584 33.2916 243.561 34.268L245.146 35.8537L245.293 36.0002L245.5 36.0002H249.5L249.707 36.0002L255 36.0002V35.0002H250.707L255.439 30.268C256.416 29.2916 256.416 27.7087 255.439 26.7324L253.268 24.5608ZM249.293 35.0002L252.793 31.5002L248.5 27.2073L244.268 31.4395C243.682 32.0253 243.682 32.9751 244.268 33.5609L245.707 35.0002L249.293 35.0002ZM249.207 26.5002L253.5 30.7931L254.732 29.5608C255.318 28.9751 255.318 28.0253 254.732 27.4395L252.561 25.268C251.975 24.6822 251.025 24.6822 250.439 25.268L249.207 26.5002Z" fill="white"/>
</g>
<g id="view-settings_2">
<path id="Vector_4" d="M17 6H3V7H17V6Z" fill="black"/>
<path id="Vector_5" d="M17 10H3V11H17V10Z" fill="black"/>
<path id="Vector_6" d="M17 14H3V15H17V14Z" fill="black"/>
</g>
<g id="download_2">
<path id="Union_5" fill-rule="evenodd" clip-rule="evenodd" d="M31 2H30V13.2929L25.3536 8.64645L24.6465 9.35355L30.1465 14.8536L30.5 15.2071L30.8536 14.8536L36.3536 9.35355L35.6465 8.64645L31 13.2929V2Z" fill="black"/>
<rect id="Rectangle 88_2" x="24" y="16" width="13" height="1" fill="black"/>
</g>
<g id="share_3">
<path id="share_4" d="M56 5C56 6.10457 55.1046 7 54 7C53.4663 7 52.9815 6.79098 52.6229 6.45034L47.9076 9.39737C47.9676 9.58754 48 9.78999 48 10C48 10.21 47.9676 10.4125 47.9076 10.6026L52.6229 13.5497C52.9815 13.209 53.4663 13 54 13C55.1046 13 56 13.8954 56 15C56 16.1046 55.1046 17 54 17C52.8954 17 52 16.1046 52 15C52 14.79 52.0324 14.5875 52.0924 14.3974L47.3771 11.4503C47.0185 11.791 46.5337 12 46 12C44.8954 12 44 11.1046 44 10C44 8.89543 44.8954 8 46 8C46.5337 8 47.0185 8.20902 47.3771 8.54966L52.0924 5.60264C52.0324 5.41246 52 5.21001 52 5C52 3.89543 52.8954 3 54 3C55.1046 3 56 3.89543 56 5Z" fill="black"/>
</g>
<g id="embed _3">
<g id="embed _4">
<path d="M67.8536 5.35359L67.1465 4.64648L62.293 9.50004L67.1465 14.3536L67.8536 13.6465L63.7072 9.50004L67.8536 5.35359Z" fill="black"/>
<path d="M72.1465 5.35359L72.8536 4.64648L77.7072 9.50004L72.8536 14.3536L72.1465 13.6465L76.293 9.50004L72.1465 5.35359Z" fill="black"/>
</g>
</g>
<g id="full-screen_2">
<path id="Rectangle 81 (Stroke)_3" fill-rule="evenodd" clip-rule="evenodd" d="M93 7H87V13H93V7ZM86 6V14H94V6H86Z" fill="black"/>
<path id="Subtract_5" fill-rule="evenodd" clip-rule="evenodd" d="M86 3H83V6H84V4H86V3Z" fill="black"/>
<path id="Subtract_6" fill-rule="evenodd" clip-rule="evenodd" d="M97 6L97 3L94 3L94 4L96 4L96 6L97 6Z" fill="black"/>
<path id="Subtract_7" fill-rule="evenodd" clip-rule="evenodd" d="M94 17L97 17L97 14L96 14L96 16L94 16L94 17Z" fill="black"/>
<path id="Subtract_8" fill-rule="evenodd" clip-rule="evenodd" d="M83 14L83 17L86 17L86 16L84 16L84 14L83 14Z" fill="black"/>
</g>
<g id="zoom-in_2">
<path id="Union_6" fill-rule="evenodd" clip-rule="evenodd" d="M111 5H110V10H105V11H110V16H111V11H116V10H111V5Z" fill="black"/>
</g>
<g id="zoom-out_2">
<rect id="Rectangle 44.8_2" x="135" y="10" width="1" height="10" transform="rotate(90 135 10)" fill="black"/>
</g>
<g id="scroll-to-first-sheet_2">
<path id="Vector 13 (Stroke)_3" fill-rule="evenodd" clip-rule="evenodd" d="M155 5L147 10L155 15V5Z" fill="black"/>
<path id="Rectangle 225_2" d="M145 5H146V15H145V5Z" fill="black"/>
</g>
<g id="scroll-to-last-sheet_2">
<path id="Vector 13 (Stroke)_4" fill-rule="evenodd" clip-rule="evenodd" d="M165 15L173 10L165 5V15Z" fill="black"/>
<path id="Rectangle 225 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M174 15H175V5H174V15Z" fill="black"/>
</g>
<g id="play_2">
<path id="Vector 8 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M185 3L198 10L185 17V3Z" fill="black"/>
</g>
<g id="pause_2">
<path id="Rectangle 81 (Stroke)_4" fill-rule="evenodd" clip-rule="evenodd" d="M205 5V15H209V5H205Z" fill="black"/>
<path id="Rectangle 81.1 (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M211 5V15H215V5H211Z" fill="black"/>
</g>
<g id=" print_2">
<path id="Union_7" fill-rule="evenodd" clip-rule="evenodd" d="M226 4H234V6H226V4ZM225 6V4C225 3.44772 225.448 3 226 3H234C234.552 3 235 3.44772 235 4V6H237C237.552 6 238 6.44772 238 7V13C238 13.5523 237.552 14 237 14H235V16C235 16.5523 234.552 17 234 17H226C225.448 17 225 16.5523 225 16V14H223C222.448 14 222 13.5523 222 13V7C222 6.44772 222.448 6 223 6H225ZM225 13V11C225 10.4477 225.448 10 226 10H234C234.552 10 235 10.4477 235 11V13H237V7H234H226H223V13H225ZM225 8H224V9H225V8ZM234 11H226V16H234V11ZM227 12H233V13H227V12ZM233 14H227V15H233V14Z" fill="black"/>
</g>
<g id="clear-style_2">
<path id="Union_8" fill-rule="evenodd" clip-rule="evenodd" d="M253.268 4.56085C252.291 3.58454 250.708 3.58453 249.732 4.56085L243.561 10.7324C242.584 11.7087 242.584 13.2916 243.561 14.268L245.146 15.8537L245.293 16.0002L245.5 16.0002H249.5L249.707 16.0002L255 16.0002V15.0002H250.707L255.439 10.268C256.416 9.29164 256.416 7.70873 255.439 6.73242L253.268 4.56085ZM249.293 15.0002L252.793 11.5002L248.5 7.20729L244.268 11.4395C243.682 12.0253 243.682 12.9751 244.268 13.5609L245.707 15.0002L249.293 15.0002ZM249.207 6.50019L253.5 10.7931L254.732 9.56085C255.318 8.97506 255.318 8.02531 254.732 7.43953L252.561 5.26795C251.975 4.68217 251.025 4.68217 250.439 5.26795L249.207 6.50019Z" fill="black"/>
</g>
<g id="edit">
<path id="Vector_7" d="M263 34V37H266L274 29L271 26L263 34Z" fill="white"/>
<path id="Vector 2" d="M275 28L272 25L274 23H275L277 25V26L275 28Z" fill="white"/>
</g>
<g id="more-vertical">
<circle id="Ellipse" cx="290" cy="26" r="1" transform="rotate(90 290 26)" fill="white"/>
<circle id="Ellipse_2" cx="290" cy="30" r="1" transform="rotate(90 290 30)" fill="white"/>
<circle id="Ellipse_3" cx="290" cy="34" r="1" transform="rotate(90 290 34)" fill="white"/>
</g>
<g id="go-to-location">
<path id="Vector_8" d="M317 26H311V25C311 24.45 310.55 24 310 24H303C302.45 24 302 24.45 302 25V36C302 36.55 302.45 37 303 37H317C317.55 37 318 36.55 318 36V27C318 26.45 317.55 26 317 26ZM317 36H303V25H310V27H317V36Z" fill="white"/>
<path id="Union_9" fill-rule="evenodd" clip-rule="evenodd" d="M309.646 33.6465L310.354 34.3536L313.207 31.5L310.354 28.6465L309.646 29.3536L311.268 30.9747H306V31.9747H311.318L309.646 33.6465Z" fill="white"/>
</g>
<g id="arrow-down">
<path id="Union_10" fill-rule="evenodd" clip-rule="evenodd" d="M331 23H330V34.2929L325.354 29.6464L324.646 30.3536L330.146 35.8536L330.5 36.2071L330.854 35.8536L336.354 30.3536L335.646 29.6464L331 34.2929V23Z" fill="white"/>
</g>
<g id="edit_2">
<path id="Vector_9" d="M263 14V17H266L274 9L271 6L263 14Z" fill="black"/>
<path id="Vector 2_2" d="M275 8L272 5L274 3H275L277 5V6L275 8Z" fill="black"/>
</g>
<g id="more-vertical_2">
<circle id="Ellipse_4" cx="290" cy="6" r="1" transform="rotate(90 290 6)" fill="black"/>
<circle id="Ellipse_5" cx="290" cy="10" r="1" transform="rotate(90 290 10)" fill="black"/>
<circle id="Ellipse_6" cx="290" cy="14" r="1" transform="rotate(90 290 14)" fill="black"/>
</g>
<g id="go-to-location_2">
<path id="Vector_10" d="M317 6H311V5C311 4.45 310.55 4 310 4H303C302.45 4 302 4.45 302 5V16C302 16.55 302.45 17 303 17H317C317.55 17 318 16.55 318 16V7C318 6.45 317.55 6 317 6ZM317 16H303V5H310V7H317V16Z" fill="black"/>
<path id="Union_11" fill-rule="evenodd" clip-rule="evenodd" d="M309.646 13.6465L310.354 14.3536L313.207 11.5L310.354 8.64648L309.646 9.35359L311.268 10.9747H306V11.9747H311.318L309.646 13.6465Z" fill="black"/>
</g>
<g id="arrow-down_2">
<path id="Union_12" fill-rule="evenodd" clip-rule="evenodd" d="M331 3H330V14.2929L325.354 9.64645L324.646 10.3536L330.146 15.8536L330.5 16.2071L330.854 15.8536L336.354 10.3536L335.646 9.64645L331 14.2929V3Z" fill="black"/>
</g>
<g id="arrow-up">
<path id="Union_13" fill-rule="evenodd" clip-rule="evenodd" d="M350 36.207L351 36.207L351 24.9141L355.646 29.5606L356.354 28.8535L350.854 23.3535L350.5 22.9999L350.146 23.3535L344.646 28.8535L345.354 29.5606L350 24.9141L350 36.207Z" fill="white"/>
</g>
<g id="arrow-up_2">
<path id="Union_14" fill-rule="evenodd" clip-rule="evenodd" d="M350 16.207L351 16.207L351 4.91414L355.646 9.56059L356.354 8.85348L350.854 3.35348L350.5 2.99993L350.146 3.35348L344.646 8.85348L345.354 9.56059L350 4.91414L350 16.207Z" fill="black"/>
</g>
<g id="close">
<path id="Vector 73" d="M366 25L375 34M375 25L366 34" stroke="white" stroke-width="1.5"/>
</g>
<g id="close_2">
<path id="Vector 73_2" d="M366 5L375 14M375 5L366 14" stroke="black" stroke-width="1.5"/>
</g>
<g id="сut">
<circle id="Ellipse 103" cx="385.5" cy="13.5" r="2" stroke="black"/>
<circle id="Ellipse 104" cx="385.5" cy="6.5" r="2" stroke="black"/>
<path id="Rectangle 1552" d="M387.188 7.56689L398.446 14.0669V14.0669C398.17 14.5452 397.559 14.7091 397.08 14.4329L386.688 8.43292L387.188 7.56689Z" fill="black"/>
<path id="Rectangle 1553" d="M386.688 11.5669L397.08 5.56689C397.558 5.29075 398.17 5.45463 398.446 5.93292V5.93292L387.188 12.4329L386.688 11.5669Z" fill="black"/>
</g>
<g id="сut_2">
<circle id="Ellipse 103_2" cx="385.5" cy="33.5" r="2" stroke="white"/>
<circle id="Ellipse 104_2" cx="385.5" cy="26.5" r="2" stroke="white"/>
<path id="Rectangle 1552_2" d="M387.188 27.5669L398.446 34.0669V34.0669C398.17 34.5452 397.559 34.7091 397.08 34.4329L386.688 28.4329L387.188 27.5669Z" fill="white"/>
<path id="Rectangle 1553_2" d="M386.688 31.5669L397.08 25.5669C397.558 25.2908 398.17 25.4546 398.446 25.9329V25.9329L387.188 32.4329L386.688 31.5669Z" fill="white"/>
</g>
<g id="copy">
<path id="Union_27" fill-rule="evenodd" clip-rule="evenodd" d="M404 5H412V7H413V5C413 4.44772 412.552 4 412 4H404C403.448 4 403 4.44772 403 5V12C403 12.5523 403.448 13 404 13H406V12H404V5ZM411 6H405V7H411V6ZM408 9V16H416V9H408ZM408 8C407.448 8 407 8.44772 407 9V16C407 16.5523 407.448 17 408 17H416C416.552 17 417 16.5523 417 16V9C417 8.44772 416.552 8 416 8H408ZM406 8H405V9H406V8ZM405 10H406V11H405V10ZM415 11V10H409V11H415ZM415 12V13H409V12H415ZM415 15V14H409V15H415Z" fill="black"/>
</g>
<g id="copy_2">
<path id="Union_28" fill-rule="evenodd" clip-rule="evenodd" d="M404 25H412V27H413V25C413 24.4477 412.552 24 412 24H404C403.448 24 403 24.4477 403 25V32C403 32.5523 403.448 33 404 33H406V32H404V25ZM411 26H405V27H411V26ZM408 29V36H416V29H408ZM408 28C407.448 28 407 28.4477 407 29V36C407 36.5523 407.448 37 408 37H416C416.552 37 417 36.5523 417 36V29C417 28.4477 416.552 28 416 28H408ZM406 28H405V29H406V28ZM405 30H406V31H405V30ZM415 31V30H409V31H415ZM415 32V33H409V32H415ZM415 35V34H409V35H415Z" fill="white"/>
</g>
<g id="paste">
<path id="Union_29" fill-rule="evenodd" clip-rule="evenodd" d="M426 3H432V4H434C434.552 4 435 4.44772 435 5V7H434V5H432V6H426V5H424V12H426V13H424C423.448 13 423 12.5523 423 12V5C423 4.44772 423.448 4 424 4H426V3ZM436 16V9H428V16H436ZM428 8C427.448 8 427 8.44772 427 9V16C427 16.5523 427.448 17 428 17H436C436.552 17 437 16.5523 437 16V9C437 8.44772 436.552 8 436 8H428ZM429 11V10H435V11H429ZM435 12H429V13H435V12ZM429 15V14H435V15H429Z" fill="black"/>
</g>
<g id="paste_2">
<path id="Union_30" fill-rule="evenodd" clip-rule="evenodd" d="M426 23H432V24H434C434.552 24 435 24.4477 435 25V27H434V25H432V26H426V25H424V32H426V33H424C423.448 33 423 32.5523 423 32V25C423 24.4477 423.448 24 424 24H426V23ZM436 36V29H428V36H436ZM428 28C427.448 28 427 28.4477 427 29V36C427 36.5523 427.448 37 428 37H436C436.552 37 437 36.5523 437 36V29C437 28.4477 436.552 28 436 28H428ZM429 31V30H435V31H429ZM435 32H429V33H435V32ZM429 35V34H435V35H429Z" fill="white"/>
</g>
<g id="redo">
<path id="Vector" d="M469.1 7C471.1 7 473.2 8.3 474.5 9.5L477 7V14H470L472.5 11.5C471.7 10.2 469.9 9.1 468.2 9.1C465.7 9.1 462.8 10.8 462.5 13.2C462.9 9.7 465.5 7 469.1 7Z" fill="black"/>
</g>
<g id="redo_2">
<path id="Vector_2" d="M469.1 27C471.1 27 473.2 28.3 474.5 29.5L477 27V34H470L472.5 31.5C471.7 30.2 469.9 29.1 468.2 29.1C465.7 29.1 462.8 30.8 462.5 33.2C462.9 29.7 465.5 27 469.1 27Z" fill="white"/>
</g>
<g id="undo">
<path id="Vector_3" d="M450.9 7C448.9 7 446.8 8.3 445.5 9.5L443 7V14H450L447.5 11.5C448.3 10.2 450.1 9.1 451.8 9.1C454.3 9.1 457.2 10.8 457.5 13.2C457.1 9.7 454.5 7 450.9 7Z" fill="black"/>
</g>
<g id="undo_2">
<path id="Vector_4" d="M450.9 27C448.9 27 446.8 28.3 445.5 29.5L443 27V34H450L447.5 31.5C448.3 30.2 450.1 29.1 451.8 29.1C454.3 29.1 457.2 30.8 457.5 33.2C457.1 29.7 454.5 27 450.9 27Z" fill="white"/>
</g>
<g id="search">
<path id="Union_31" fill-rule="evenodd" clip-rule="evenodd" d="M493 8.5C493 10.9853 490.985 13 488.5 13C486.015 13 484 10.9853 484 8.5C484 6.01472 486.015 4 488.5 4C490.985 4 493 6.01472 493 8.5ZM492.02 12.7266C491.066 13.5217 489.839 14 488.5 14C485.462 14 483 11.5376 483 8.5C483 5.46243 485.462 3 488.5 3C491.538 3 494 5.46243 494 8.5C494 9.83875 493.522 11.0658 492.727 12.0195L496.854 16.1465L496.146 16.8536L492.02 12.7266Z" fill="black"/>
</g>
<g id="search_2">
<path id="Union_32" fill-rule="evenodd" clip-rule="evenodd" d="M493 28.5C493 30.9853 490.985 33 488.5 33C486.015 33 484 30.9853 484 28.5C484 26.0147 486.015 24 488.5 24C490.985 24 493 26.0147 493 28.5ZM492.02 32.7266C491.066 33.5217 489.839 34 488.5 34C485.462 34 483 31.5376 483 28.5C483 25.4624 485.462 23 488.5 23C491.538 23 494 25.4624 494 28.5C494 29.8387 493.522 31.0658 492.727 32.0195L496.854 36.1465L496.146 36.8536L492.02 32.7266Z" fill="white"/>
</g>
<g id="btn-sheet-view">
<path id="Union_33" fill-rule="evenodd" clip-rule="evenodd" d="M509.93 13C507.552 13 505.45 11.8151 504.184 10C505.45 8.18485 507.552 7 509.93 7C512.307 7 514.409 8.18486 515.675 10C514.409 11.8151 512.307 13 509.93 13ZM509.93 6C512.891 6 515.476 7.6088 516.859 10C515.476 12.3912 512.891 14 509.93 14C506.969 14 504.383 12.3912 503 10C504.383 7.60879 506.969 6 509.93 6ZM509.93 12C511.034 12 511.93 11.1046 511.93 10C511.93 8.89543 511.034 8 509.93 8C508.825 8 507.93 8.89543 507.93 10C507.93 11.1046 508.825 12 509.93 12Z" fill="black"/>
</g>
<g id="btn-sheet-view_2">
<path id="Union_34" fill-rule="evenodd" clip-rule="evenodd" d="M509.93 33C507.552 33 505.45 31.8151 504.184 30C505.45 28.1849 507.552 27 509.93 27C512.307 27 514.409 28.1849 515.675 30C514.409 31.8151 512.307 33 509.93 33ZM509.93 26C512.891 26 515.476 27.6088 516.859 30C515.476 32.3912 512.891 34 509.93 34C506.969 34 504.383 32.3912 503 30C504.383 27.6088 506.969 26 509.93 26ZM509.93 32C511.034 32 511.93 31.1046 511.93 30C511.93 28.8954 511.034 28 509.93 28C508.825 28 507.93 28.8954 507.93 30C507.93 31.1046 508.825 32 509.93 32Z" fill="white"/>
</g>
<g id="hide-password">
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M530.948 6.05196C530.638 6.01766 530.321 6 530 6C526.91 6 524.243 7.63505 523 10C523.439 10.8356 524.056 11.5801 524.807 12.1935L525.518 11.4821C524.979 11.055 524.519 10.5539 524.158 10C525.311 8.23092 527.473 7 530 7C530 7 530 7 530 7L530.948 6.05196ZM530 13C532.527 12.9999 534.689 11.769 535.842 10C535.481 9.44626 535.021 8.94525 534.482 8.51821L535.194 7.80682C535.944 8.42019 536.561 9.16455 537 10C535.757 12.3649 533.09 14 530 14C529.679 14 529.363 13.9824 529.052 13.9481L530 13Z" fill="black"/>
<path id="Vector 169" d="M525 15L535 5" stroke="black"/>
</g>
<g id="hide-password_2">
<path id="Subtract_2" fill-rule="evenodd" clip-rule="evenodd" d="M530.948 26.052C530.638 26.0177 530.321 26 530 26C526.91 26 524.243 27.6351 523 30C523.439 30.8356 524.056 31.5801 524.807 32.1935L525.518 31.4821C524.979 31.055 524.519 30.5539 524.158 30C525.311 28.2309 527.473 27 530 27C530 27 530 27 530 27L530.948 26.052ZM530 33C532.527 32.9999 534.689 31.769 535.842 30C535.481 29.4463 535.021 28.9453 534.482 28.5182L535.194 27.8068C535.944 28.4202 536.561 29.1646 537 30C535.757 32.3649 533.09 34 530 34C529.679 34 529.363 33.9824 529.052 33.9481L530 33Z" fill="white"/>
<path id="Vector 169_2" d="M525 35L535 25" stroke="white"/>
</g>
<g id="arrow-up">
<path id="Union_4" fill-rule="evenodd" clip-rule="evenodd" d="M550 6.29297L550.354 6.64652L555.854 12.1465L555.146 12.8536L550 7.70718L544.854 12.8536L544.146 12.1465L549.646 6.64652L550 6.29297Z" fill="black"/>
</g>
<g id="arrow-up_2">
<path id="Union_3" fill-rule="evenodd" clip-rule="evenodd" d="M550 26.293L550.354 26.6465L555.854 32.1465L555.146 32.8536L550 27.7072L544.854 32.8536L544.146 32.1465L549.646 26.6465L550 26.293Z" fill="white"/>
</g>
<g id="arrow-down">
<path id="Union_2" fill-rule="evenodd" clip-rule="evenodd" d="M570 13.7071L570.354 13.3536L575.854 7.85359L575.146 7.14648L570 12.2929L564.854 7.14648L564.146 7.85359L569.646 13.3536L570 13.7071Z" fill="black"/>
</g>
<g id="arrow-down_2">
<path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M570 33.7071L570.354 33.3536L575.854 27.8536L575.146 27.1465L570 32.2929L564.854 27.1465L564.146 27.8536L569.646 33.3536L570 33.7071Z" fill="white"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -503,7 +503,7 @@
@icon-height: 20px;
.svg-icon {
background: data-uri('../../../../common/embed/resources/img/icon-menu-sprite.svg') no-repeat;
background-size: @icon-width*19 @icon-height*2;
background-size: @icon-width*29 @icon-height*2;
&.download {
background-position: -@icon-width 0;
@ -557,6 +557,18 @@
&.more-vertical {
background-position: -@icon-width*14 0;
}
&.search-close {
background-position: -@icon-width*18 0;
}
&.search {
background-position: -@icon-width*24 0;
}
&.search-arrow-up {
background-position: -@icon-width*27 0;
}
&.search-arrow-down {
background-position: -@icon-width*28 0;
}
}
.mi-icon {
@ -786,3 +798,72 @@
}
}
}
#id-search {
button.active {
background-color: @btnActiveColor !important;
background-position: -@icon-width*19 -@icon-height;
}
}
.search-window {
width: 301px;
height: 54px;
z-index: 50;
position: fixed;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
border-radius: 5px;
border: solid 1px #CBCBCB;
.body {
width: 100%;
height: 100%;
border-radius: 5px;
background-color: #FFFFFF;
display: flex;
padding: 16px;
input {
width: 192px;
height: 22px;
border-radius: 2px;
box-shadow: none;
border: solid 1px #CFCFCF;
padding: 1px 3px;
color: #444444;
font-size: 11px;
&::placeholder {
color: #CFCFCF;
}
&:focus {
border-color: #848484;
outline: 0;
}
}
.tools {
display: flex;
button {
border: none;
margin-left: 7px;
cursor: pointer;
width: 20px;
height: 20px;
opacity: 0.8;
&:hover:not(:disabled) {
background-color: #d8dadc;
}
&:disabled {
opacity: 0.4;
cursor: default;
}
}
}
}
}

View file

@ -1,4 +1,4 @@
<svg width="440" height="40" viewBox="0 0 440 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg width="580" height="40" viewBox="0 0 580 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="icon-menu-sprite Embedded Viewer">
<g id="view-settings">
<path id="Vector" d="M17 26H3V27H17V26Z" fill="white"/>
@ -172,5 +172,49 @@
<g id="paste_2">
<path id="Union_30" fill-rule="evenodd" clip-rule="evenodd" d="M426 23H432V24H434C434.552 24 435 24.4477 435 25V27H434V25H432V26H426V25H424V32H426V33H424C423.448 33 423 32.5523 423 32V25C423 24.4477 423.448 24 424 24H426V23ZM436 36V29H428V36H436ZM428 28C427.448 28 427 28.4477 427 29V36C427 36.5523 427.448 37 428 37H436C436.552 37 437 36.5523 437 36V29C437 28.4477 436.552 28 436 28H428ZM429 31V30H435V31H429ZM435 32H429V33H435V32ZM429 35V34H435V35H429Z" fill="white"/>
</g>
<g id="redo">
<path id="Vector" d="M469.1 7C471.1 7 473.2 8.3 474.5 9.5L477 7V14H470L472.5 11.5C471.7 10.2 469.9 9.1 468.2 9.1C465.7 9.1 462.8 10.8 462.5 13.2C462.9 9.7 465.5 7 469.1 7Z" fill="black"/>
</g>
<g id="redo_2">
<path id="Vector_2" d="M469.1 27C471.1 27 473.2 28.3 474.5 29.5L477 27V34H470L472.5 31.5C471.7 30.2 469.9 29.1 468.2 29.1C465.7 29.1 462.8 30.8 462.5 33.2C462.9 29.7 465.5 27 469.1 27Z" fill="white"/>
</g>
<g id="undo">
<path id="Vector_3" d="M450.9 7C448.9 7 446.8 8.3 445.5 9.5L443 7V14H450L447.5 11.5C448.3 10.2 450.1 9.1 451.8 9.1C454.3 9.1 457.2 10.8 457.5 13.2C457.1 9.7 454.5 7 450.9 7Z" fill="black"/>
</g>
<g id="undo_2">
<path id="Vector_4" d="M450.9 27C448.9 27 446.8 28.3 445.5 29.5L443 27V34H450L447.5 31.5C448.3 30.2 450.1 29.1 451.8 29.1C454.3 29.1 457.2 30.8 457.5 33.2C457.1 29.7 454.5 27 450.9 27Z" fill="white"/>
</g>
<g id="search">
<path id="Union_31" fill-rule="evenodd" clip-rule="evenodd" d="M493 8.5C493 10.9853 490.985 13 488.5 13C486.015 13 484 10.9853 484 8.5C484 6.01472 486.015 4 488.5 4C490.985 4 493 6.01472 493 8.5ZM492.02 12.7266C491.066 13.5217 489.839 14 488.5 14C485.462 14 483 11.5376 483 8.5C483 5.46243 485.462 3 488.5 3C491.538 3 494 5.46243 494 8.5C494 9.83875 493.522 11.0658 492.727 12.0195L496.854 16.1465L496.146 16.8536L492.02 12.7266Z" fill="black"/>
</g>
<g id="search_2">
<path id="Union_32" fill-rule="evenodd" clip-rule="evenodd" d="M493 28.5C493 30.9853 490.985 33 488.5 33C486.015 33 484 30.9853 484 28.5C484 26.0147 486.015 24 488.5 24C490.985 24 493 26.0147 493 28.5ZM492.02 32.7266C491.066 33.5217 489.839 34 488.5 34C485.462 34 483 31.5376 483 28.5C483 25.4624 485.462 23 488.5 23C491.538 23 494 25.4624 494 28.5C494 29.8387 493.522 31.0658 492.727 32.0195L496.854 36.1465L496.146 36.8536L492.02 32.7266Z" fill="white"/>
</g>
<g id="btn-sheet-view">
<path id="Union_33" fill-rule="evenodd" clip-rule="evenodd" d="M509.93 13C507.552 13 505.45 11.8151 504.184 10C505.45 8.18485 507.552 7 509.93 7C512.307 7 514.409 8.18486 515.675 10C514.409 11.8151 512.307 13 509.93 13ZM509.93 6C512.891 6 515.476 7.6088 516.859 10C515.476 12.3912 512.891 14 509.93 14C506.969 14 504.383 12.3912 503 10C504.383 7.60879 506.969 6 509.93 6ZM509.93 12C511.034 12 511.93 11.1046 511.93 10C511.93 8.89543 511.034 8 509.93 8C508.825 8 507.93 8.89543 507.93 10C507.93 11.1046 508.825 12 509.93 12Z" fill="black"/>
</g>
<g id="btn-sheet-view_2">
<path id="Union_34" fill-rule="evenodd" clip-rule="evenodd" d="M509.93 33C507.552 33 505.45 31.8151 504.184 30C505.45 28.1849 507.552 27 509.93 27C512.307 27 514.409 28.1849 515.675 30C514.409 31.8151 512.307 33 509.93 33ZM509.93 26C512.891 26 515.476 27.6088 516.859 30C515.476 32.3912 512.891 34 509.93 34C506.969 34 504.383 32.3912 503 30C504.383 27.6088 506.969 26 509.93 26ZM509.93 32C511.034 32 511.93 31.1046 511.93 30C511.93 28.8954 511.034 28 509.93 28C508.825 28 507.93 28.8954 507.93 30C507.93 31.1046 508.825 32 509.93 32Z" fill="white"/>
</g>
<g id="hide-password">
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M530.948 6.05196C530.638 6.01766 530.321 6 530 6C526.91 6 524.243 7.63505 523 10C523.439 10.8356 524.056 11.5801 524.807 12.1935L525.518 11.4821C524.979 11.055 524.519 10.5539 524.158 10C525.311 8.23092 527.473 7 530 7C530 7 530 7 530 7L530.948 6.05196ZM530 13C532.527 12.9999 534.689 11.769 535.842 10C535.481 9.44626 535.021 8.94525 534.482 8.51821L535.194 7.80682C535.944 8.42019 536.561 9.16455 537 10C535.757 12.3649 533.09 14 530 14C529.679 14 529.363 13.9824 529.052 13.9481L530 13Z" fill="black"/>
<path id="Vector 169" d="M525 15L535 5" stroke="black"/>
</g>
<g id="hide-password_2">
<path id="Subtract_2" fill-rule="evenodd" clip-rule="evenodd" d="M530.948 26.052C530.638 26.0177 530.321 26 530 26C526.91 26 524.243 27.6351 523 30C523.439 30.8356 524.056 31.5801 524.807 32.1935L525.518 31.4821C524.979 31.055 524.519 30.5539 524.158 30C525.311 28.2309 527.473 27 530 27C530 27 530 27 530 27L530.948 26.052ZM530 33C532.527 32.9999 534.689 31.769 535.842 30C535.481 29.4463 535.021 28.9453 534.482 28.5182L535.194 27.8068C535.944 28.4202 536.561 29.1646 537 30C535.757 32.3649 533.09 34 530 34C529.679 34 529.363 33.9824 529.052 33.9481L530 33Z" fill="white"/>
<path id="Vector 169_2" d="M525 35L535 25" stroke="white"/>
</g>
<g id="arrow-up">
<path id="Union_4" fill-rule="evenodd" clip-rule="evenodd" d="M550 6.29297L550.354 6.64652L555.854 12.1465L555.146 12.8536L550 7.70718L544.854 12.8536L544.146 12.1465L549.646 6.64652L550 6.29297Z" fill="black"/>
</g>
<g id="arrow-up_2">
<path id="Union_3" fill-rule="evenodd" clip-rule="evenodd" d="M550 26.293L550.354 26.6465L555.854 32.1465L555.146 32.8536L550 27.7072L544.854 32.8536L544.146 32.1465L549.646 26.6465L550 26.293Z" fill="white"/>
</g>
<g id="arrow-down">
<path id="Union_2" fill-rule="evenodd" clip-rule="evenodd" d="M570 13.7071L570.354 13.3536L575.854 7.85359L575.146 7.14648L570 12.2929L564.854 7.14648L564.146 7.85359L569.646 13.3536L570 13.7071Z" fill="black"/>
</g>
<g id="arrow-down_2">
<path id="Union" fill-rule="evenodd" clip-rule="evenodd" d="M570 33.7071L570.354 33.3536L575.854 27.8536L575.146 27.1465L570 32.2929L564.854 27.1465L564.146 27.8536L569.646 33.3536L570 33.7071Z" fill="white"/>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

@ -5,6 +5,7 @@
@import "../../../../common/main/resources/less/colors-table.less";
@import "../../../../common/main/resources/less/colors-table-classic.less";
@import "../../../../common/main/resources/less/colors-table-dark.less";
@import "../../../../common/main/resources/less/colors-table-dark-contrast.less";
// Core variables and mixins
//@import "../../../../../vendor/bootstrap/less/variables.less";
@ -67,6 +68,7 @@
@import "../../../../common/main/resources/less/dropdown-submenu.less";
@import "../../../../common/main/resources/less/separator.less";
@import "../../../../common/main/resources/less/input.less";
@import "../../../../common/main/resources/less/combobox.less";
@import "../../../../common/main/resources/less/window.less";
@import "../../../../common/main/resources/less/loadmask.less";
@import "../../../../common/main/resources/less/dataview.less";
@ -78,6 +80,9 @@
@import "../../../../common/main/resources/less/calendar.less";
@import "../../../../common/main/resources/less/spinner.less";
@import "../../../../common/main/resources/less/checkbox.less";
@import "../../../../common/main/resources/less/opendialog.less";
@import "../../../../common/main/resources/less/advanced-settings-window.less";
@import "../../../../common/main/resources/less/searchdialog.less";
@toolbarBorderColor: @border-toolbar-ie;
@toolbarBorderColor: @border-toolbar;
@ -222,7 +227,7 @@
background: data-uri('../../../../common/main/resources/img/header/dark-logo_s.svg') no-repeat;
}
.theme-dark {
.theme-type-dark {
.brand-logo {
background: data-uri('../../../../common/main/resources/img/header/header-logo_s.svg') no-repeat;
}
@ -428,7 +433,7 @@
@icon-width: 20px;
@icon-height: 20px;
.theme-dark {
.theme-type-dark {
@neg-value: -@icon-height;
--icon-normal-top: @neg-value;
}
@ -436,7 +441,7 @@
.svg-icon {
background: data-uri('../../../../common/forms/resources/img/icon-menu-sprite.svg') no-repeat;
background-size: @icon-width*22 @icon-height*2;
background-size: @icon-width*29 @icon-height*2;
&.download {
background-position: -@icon-width 0;
@ -454,6 +459,14 @@
background-position: -@icon-width*4 0;
background-position: -@icon-width*4 @icon-normal-top;
}
&.zoom-in {
background-position: -@icon-width*5 0;
background-position: -@icon-width*5 @icon-normal-top;
}
&.zoom-out {
background-position: -@icon-width*6 0;
background-position: -@icon-width*6 @icon-normal-top;
}
&.zoom-up {
background-position: -@icon-width*5 -@icon-height;
}
@ -512,6 +525,38 @@
background-position: -@icon-width*21 0;
background-position: -@icon-width*21 @icon-normal-top;
}
&.undo {
background-position: -@icon-width*22 0;
background-position: -@icon-width*22 @icon-normal-top;
}
&.redo {
background-position: -@icon-width*23 0;
background-position: -@icon-width*23 @icon-normal-top;
}
&.search {
background-position: -@icon-width*24 0;
background-position: -@icon-width*24 @icon-normal-top;
}
&.btn-sheet-view {
background-position: -@icon-width*25 0;
background-position: -@icon-width*25 @icon-normal-top;
}
&.hide-password {
background-position: -@icon-width*26 0;
background-position: -@icon-width*26 @icon-normal-top;
}
&.search-close {
background-position: -@icon-width*18 0;
background-position: -@icon-width*18 @icon-normal-top;
}
&.search-arrow-up {
background-position: -@icon-width*27 0;
background-position: -@icon-width*27 @icon-normal-top;
}
&.search-arrow-down {
background-position: -@icon-width*28 0;
background-position: -@icon-width*28 @icon-normal-top;
}
}
.btn {
@ -590,11 +635,13 @@
display: inline-block;
line-height: 22px;
padding: 0 0 0 3px;
vertical-align: middle;
}
#page-number {
.masked {
cursor: pointer;
line-height: 22px;
}
}
@ -612,6 +659,32 @@
font-size: 11px;
}
.menu-zoom {
line-height: @line-height-base;
.title {
padding: 5px 5px 5px 28px;
float: left;
font-weight: normal;
font-size: 11px;
margin: 0px;
text-overflow: ellipsis;
}
.zoom {
padding: 5px 3px;
float: right;
min-width: 40px;
text-align: center;
font-weight: normal;
font-size: 11px;
padding-bottom: 0px;
}
.mi-icon {
margin: 0;
}
}
.font-size-small {
.fontsize(@font-size-small);
}
@ -623,3 +696,7 @@
.font-size-large {
.fontsize(@font-size-large);
}
.search-bar {
z-index: 50;
}

View file

@ -40,7 +40,8 @@ Common.Locale = new(function() {
var loadcallback,
apply = false,
defLang = '{{DEFAULT_LANG}}',
currentLang = defLang;
currentLang = defLang,
_4letterLangs = ['pt-pt', 'zh-tw'];
var _applyLocalization = function(callback) {
try {
@ -87,6 +88,10 @@ Common.Locale = new(function() {
return currentLang;
};
var _getDefaultLanguage = function() {
return defLang;
};
var _getLoadedLanguage = function() {
return loadedLang;
};
@ -99,11 +104,17 @@ Common.Locale = new(function() {
};
var _requireLang = function (l) {
var lang = (l || _getUrlParameterByName('lang') || defLang).split(/[\-_]/)[0];
typeof l != 'string' && (l = null);
var lang = (l || _getUrlParameterByName('lang') || defLang);
var idx4Letters = _4letterLangs.indexOf(lang.replace('_', '-').toLowerCase()); // try to load 4 letters language
lang = (idx4Letters<0) ? lang.split(/[\-_]/)[0] : _4letterLangs[idx4Letters];
currentLang = lang;
fetch('locale/' + lang + '.json')
.then(function(response) {
if (!response.ok) {
if (idx4Letters>=0) { // try to load 2-letters language
throw new Error('4letters error');
}
currentLang = defLang;
if (lang != defLang)
/* load default lang if fetch failed */
@ -127,6 +138,12 @@ Common.Locale = new(function() {
l10n = json || {};
apply && _applyLocalization();
}).catch(function(e) {
if ( /4letters/.test(e) ) {
return setTimeout(function(){
_requireLang(lang.split(/[\-_]/)[0]);
}, 0);
}
if ( !/loaded/.test(e) && currentLang != defLang && defLang && defLang.length < 3 ) {
return setTimeout(function(){
_requireLang(defLang)
@ -157,7 +174,8 @@ Common.Locale = new(function() {
return {
apply: _applyLocalization,
get: _get,
getCurrentLanguage: _getCurrentLanguage
getCurrentLanguage: _getCurrentLanguage,
getDefaultLanguage: _getDefaultLanguage
};
})();

View file

@ -210,8 +210,10 @@ define([
templateBtnIcon +
'</div>' +
'<div class="inner-box-caption">' +
'<span class="caption"><%= caption %></span>' +
'<span class="caption"><%= caption %>' +
'<i class="caret"></i>' +
'</span>' +
'<i class="caret compact-caret"></i>' +
'</div>' +
'</button>' +
'</div>';
@ -225,12 +227,38 @@ define([
'</button>' +
'<button type="button" class="btn <%= cls %> inner-box-caption dropdown-toggle" data-toggle="dropdown" data-hint="<%= dataHint %>" data-hint-direction="<%= dataHintDirection %>" data-hint-offset="<%= dataHintOffset %>" <% if (dataHintTitle) { %> data-hint-title="<%= dataHintTitle %>" <% } %>>' +
'<span class="btn-fixflex-vcenter">' +
'<span class="caption"><%= caption %></span>' +
'<span class="caption"><%= caption %>' +
'<i class="caret"></i>' +
'</span>' +
'<i class="caret compact-caret"></i>' +
'</span>' +
'</button>' +
'</div>';
var getWidthOfCaption = function (txt) {
var el = document.createElement('span');
el.style.fontSize = '11px';
el.style.fontFamily = 'Arial, Helvetica, "Helvetica Neue", sans-serif';
el.style.position = "absolute";
el.style.top = '-1000px';
el.style.left = '-1000px';
el.innerHTML = txt;
document.body.appendChild(el);
var result = el.offsetWidth;
document.body.removeChild(el);
return result;
};
var getShortText = function (txt, max) {
var lastIndex = txt.length - 1,
word = txt;
while (getWidthOfCaption(word) > max) {
word = txt.slice(0, lastIndex).trim() + '...';
lastIndex--;
}
return word;
};
Common.UI.Button = Common.UI.BaseView.extend({
options : {
id : null,
@ -320,6 +348,37 @@ define([
me.render(me.options.parentEl);
},
getCaptionWithBreaks: function (caption) {
var words = caption.split(' '),
newCaption = null,
maxWidth = 85 - 4;
if (words.length > 1) {
maxWidth = !!this.menu || this.split === true ? maxWidth - 10 : maxWidth;
if (words.length < 3) {
words[1] = getShortText(words[1], maxWidth);
newCaption = words[0] + '<br>' + words[1];
} else {
if (getWidthOfCaption(words[0] + ' ' + words[1]) < maxWidth) { // first and second words in first line
words[2] = getShortText(words[2], maxWidth);
newCaption = words[0] + ' ' + words[1] + '<br>' + words[2];
} else if (getWidthOfCaption(words[1] + ' ' + words[2]) < maxWidth) { // second and third words in second line
words[2] = getShortText(words[2], maxWidth);
newCaption = words[0] + '<br>' + words[1] + ' ' + words[2];
} else {
words[1] = getShortText(words[1] + ' ' + words[2], maxWidth);
newCaption = words[0] + '<br>' + words[1];
}
}
} else {
var width = getWidthOfCaption(caption);
newCaption = width < maxWidth ? caption : getShortText(caption, maxWidth);
if (!!this.menu || this.split === true) {
newCaption += '<br>';
}
}
return newCaption;
},
render: function(parentEl) {
var me = this;
@ -341,6 +400,10 @@ define([
} else {
this.template = _.template(templateHugeCaption);
}
var newCaption = this.getCaptionWithBreaks(this.caption);
if (newCaption) {
me.caption = newCaption;
}
}
me.cmpEl = $(this.template({
@ -748,15 +811,19 @@ define([
setCaption: function(caption) {
if (this.caption != caption) {
if ( /icon-top/.test(this.cls) && !!this.caption && /huge/.test(this.cls) ) {
var newCaption = this.getCaptionWithBreaks(caption);
this.caption = newCaption || caption;
} else
this.caption = caption;
if (this.rendered) {
var captionNode = this.cmpEl.find('.caption');
if (captionNode.length > 0) {
captionNode.text(caption);
captionNode.html(this.caption);
} else {
this.cmpEl.find('button:first').addBack().filter('button').text(caption);
this.cmpEl.find('button:first').addBack().filter('button').html(this.caption);
}
}
}

View file

@ -456,6 +456,13 @@ define([
}
},
focus: function () {
var me = this;
me.enableKeyEvents && me.monthPicker && _.delay(function() {
me.monthPicker.focus();
}, 10);
},
textJanuary: 'January',
textFebruary: 'February',
textMarch: 'March',

View file

@ -55,12 +55,15 @@ define([
getPicker: function(color, colors) {
if (!this.colorPicker) {
this.colorPicker = new Common.UI.ThemeColorPalette({
var config = {
el: this.cmpEl.find('#' + this.menu.id + '-color-menu'),
transparent: this.options.transparent,
value: color,
colors: colors
});
};
(this.options.transparent!==undefined) && (config['transparent'] = this.options.transparent);
(this.options.hideEmptyColors!==undefined) && (config['hideEmptyColors'] = this.options.hideEmptyColors);
this.colorPicker = new Common.UI.ThemeColorPalette(config);
this.colorPicker.on('select', _.bind(this.onColorSelect, this));
this.cmpEl.find('#' + this.menu.id + '-color-new').on('click', _.bind(this.addNewColor, this));
if (this.options.auto) {
@ -80,7 +83,7 @@ define([
getMenu: function(options) {
if (typeof this.menu !== 'object') {
options = options || this.options;
var height = options.paletteHeight || 240,
var height = options.paletteHeight ? options.paletteHeight + 'px' : 'auto',
id = Common.UI.getId(),
auto = [];
if (options.auto) {
@ -98,7 +101,8 @@ define([
cls: 'shifted-left',
additionalAlign: options.additionalAlign,
items: (options.additionalItems ? options.additionalItems : []).concat(auto).concat([
{ template: _.template('<div id="' + id + '-color-menu" style="width: 169px; height:' + height + 'px; margin: 10px;"></div>') },
{ template: _.template('<div id="' + id + '-color-menu" style="width: 164px; height:' + height + '; display: inline-block;"></div>') },
{caption: '--'},
{
id: id + '-color-new',
template: _.template('<a tabindex="-1" type="menuitem" style="">' + this.textNewColor + '</a>')

View file

@ -358,6 +358,9 @@ define([
Common.NotificationCenter.trigger('menu:hide', this, isFromInputControl);
if (this.options.takeFocusOnClose) {
var me = this;
(me._input && me._input.length>0 && !me.editable) && (me._input[0].selectionStart===me._input[0].selectionEnd) && setTimeout(function() {
me._input[0].selectionStart = me._input[0].selectionEnd = 0;
},1);
setTimeout(function(){me.focus();}, 1);
}
},
@ -545,6 +548,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
if (!this.rendered)

View file

@ -66,12 +66,12 @@ define([
spriteCols = 1,
applicationPixelRatio = Common.Utils.applicationPixelRatio();
if (typeof window['AscDesktopEditor'] === 'object') {
thumbs[0].path = window['AscDesktopEditor'].getFontsSprite('');
thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x');
thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x');
thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x');
thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x');
if ( Common.Controllers.Desktop.isActive() ) {
thumbs[0].path = Common.Controllers.Desktop.call('getFontsSprite');
thumbs[1].path = Common.Controllers.Desktop.call('getFontsSprite', '@1.25x');
thumbs[2].path = Common.Controllers.Desktop.call('getFontsSprite', '@1.5x');
thumbs[3].path = Common.Controllers.Desktop.call('getFontsSprite', '@1.75x');
thumbs[4].path = Common.Controllers.Desktop.call('getFontsSprite', '@2x');
}
var bestDistance = Math.abs(applicationPixelRatio-thumbs[0].ratio);
@ -88,6 +88,201 @@ define([
thumbCanvas.height = thumbs[thumbIdx].height;
thumbCanvas.width = thumbs[thumbIdx].width;
function CThumbnailLoader() {
this.supportBinaryFormat = !(Common.Controllers.Desktop.isActive() && !Common.Controllers.Desktop.isFeatureAvailable('isSupportBinaryFontsSprite'));
// наш формат - альфамаска с сжатием типа rle для полностью прозрачных пикселов
this.image = null;
this.binaryFormat = null;
this.data = null;
this.width = 0;
this.height = 0;
this.heightOne = 0;
this.count = 0;
this.offsets = null;
this.load = function(url, callback) {
if (!callback)
return;
if (!this.supportBinaryFormat) {
this.width = thumbs[thumbIdx].width;
this.heightOne = thumbs[thumbIdx].height;
this.image = new Image();
this.image.onload = callback;
this.image.src = thumbs[thumbIdx].path;
} else {
var me = this;
var xhr = new XMLHttpRequest();
xhr.open('GET', url + ".bin", true);
xhr.responseType = 'arraybuffer';
if (xhr.overrideMimeType)
xhr.overrideMimeType('text/plain; charset=x-user-defined');
else
xhr.setRequestHeader('Accept-Charset', 'x-user-defined');
xhr.onload = function() {
// TODO: check errors
me.binaryFormat = new Uint8Array(this.response);
callback();
};
xhr.send(null);
}
};
this.openBinary = function(arrayBuffer) {
//var t1 = performance.now();
var binaryAlpha = this.binaryFormat;
this.width = (binaryAlpha[0] << 24) | (binaryAlpha[1] << 16) | (binaryAlpha[2] << 8) | (binaryAlpha[3] << 0);
this.heightOne = (binaryAlpha[4] << 24) | (binaryAlpha[5] << 16) | (binaryAlpha[6] << 8) | (binaryAlpha[7] << 0);
this.count = (binaryAlpha[8] << 24) | (binaryAlpha[9] << 16) | (binaryAlpha[10] << 8) | (binaryAlpha[11] << 0);
this.height = this.count * this.heightOne;
var MAX_MEMORY_SIZE = 50000000;
var memorySize = 4 * this.width * this.height;
var isOffsets = (memorySize > MAX_MEMORY_SIZE) ? true : false;
if (!isOffsets)
this.data = new Uint8ClampedArray(memorySize);
else
this.offsets = new Array(this.count);
var binaryIndex = 12;
var binaryLen = binaryAlpha.length;
var index = 0;
var len0 = 0;
var tmpValue = 0;
if (!isOffsets) {
var imagePixels = this.data;
while (binaryIndex < binaryLen) {
tmpValue = binaryAlpha[binaryIndex++];
if (0 == tmpValue) {
len0 = binaryAlpha[binaryIndex++];
while (len0 > 0) {
len0--;
imagePixels[index] = imagePixels[index + 1] = imagePixels[index + 2] = 255;
imagePixels[index + 3] = 0; // this value is already 0.
index += 4;
}
} else {
imagePixels[index] = imagePixels[index + 1] = imagePixels[index + 2] = 255 - tmpValue;
imagePixels[index + 3] = tmpValue;
index += 4;
}
}
} else {
var module = this.width * this.heightOne;
var moduleCur = module - 1;
while (binaryIndex < binaryLen) {
tmpValue = binaryAlpha[binaryIndex++];
if (0 == tmpValue) {
len0 = binaryAlpha[binaryIndex++];
while (len0 > 0) {
len0--;
moduleCur++;
if (moduleCur === module) {
this.offsets[index++] = { pos : binaryIndex, len : len0 + 1 };
moduleCur = 0;
}
}
} else {
moduleCur++;
if (moduleCur === module) {
this.offsets[index++] = { pos : binaryIndex - 1, len : -1 };
moduleCur = 0;
}
}
}
}
if (!this.offsets)
delete this.binaryFormat;
//var t2 = performance.now();
//console.log(t2 - t1);
};
this.getImage = function(index, canvas, ctx) {
//var t1 = performance.now();
if (!canvas)
{
canvas = document.createElement("canvas");
canvas.width = this.width;
canvas.height = this.heightOne;
canvas.style.width = iconWidth + "px";
canvas.style.height = iconHeight + "px";
ctx = canvas.getContext("2d");
}
if (this.supportBinaryFormat) {
if (!this.data && !this.offsets) {
this.openBinary(this.binaryFormat);
}
var dataTmp = ctx.createImageData(this.width, this.heightOne);
var sizeImage = 4 * this.width * this.heightOne;
if (!this.offsets) {
dataTmp.data.set(new Uint8ClampedArray(this.data.buffer, index * sizeImage, sizeImage));
} else {
var binaryAlpha = this.binaryFormat;
var binaryIndex = this.offsets[index].pos;
var alphaChannel = 0;
var pixelsCount = this.width * this.heightOne;
var tmpValue = 0, len0 = 0;
var imagePixels = dataTmp.data;
if (-1 != this.offsets[index].len) {
/*
// this values is already 0.
for (var i = 0; i < this.offsets[index].len; i++) {
pixels[alphaChannel] = 0;
alphaChannel += 4;
}
*/
alphaChannel += 4 * this.offsets[index].len;
}
while (pixelsCount > 0) {
tmpValue = binaryAlpha[binaryIndex++];
if (0 == tmpValue) {
len0 = binaryAlpha[binaryIndex++];
if (len0 > pixelsCount)
len0 = pixelsCount;
while (len0 > 0) {
len0--;
imagePixels[alphaChannel] = imagePixels[alphaChannel + 1] = imagePixels[alphaChannel + 2] = 255;
imagePixels[alphaChannel + 3] = 0; // this value is already 0.
alphaChannel += 4;
pixelsCount--;
}
} else {
imagePixels[alphaChannel] = imagePixels[alphaChannel + 1] = imagePixels[alphaChannel + 2] = 255 - tmpValue;
imagePixels[alphaChannel + 3] = tmpValue;
alphaChannel += 4;
pixelsCount--;
}
}
}
ctx.putImageData(dataTmp, 0, 0);
} else {
ctx.clearRect(0, 0, this.width, this.heightOne);
ctx.drawImage(this.image, 0, -this.heightOne * index);
}
//var t2 = performance.now();
//console.log(t2 - t1);
return canvas;
};
}
return {
template: _.template([
'<div class="input-group combobox fonts <%= cls %>" id="<%= id %>" style="<%= style %>">',
@ -229,8 +424,10 @@ define([
me.onAfterHideMenu(e);
}, 10);
} else if (e.keyCode != Common.UI.Keys.RETURN && e.keyCode != Common.UI.Keys.CTRL && e.keyCode != Common.UI.Keys.SHIFT && e.keyCode != Common.UI.Keys.ALT && e.keyCode != Common.UI.Keys.TAB){
if (!this.isMenuOpen() && !e.ctrlKey)
if (!this.isMenuOpen() && !e.ctrlKey) {
this.openMenu();
(this.recent > 0) && this.flushVisibleFontsTiles();
}
if (e.keyCode == Common.UI.Keys.UP || e.keyCode == Common.UI.Keys.DOWN) {
_.delay(function() {
@ -303,10 +500,8 @@ define([
return img != null ? img[0].src : undefined;
}
thumbContext.clearRect(0, 0, thumbs[thumbIdx].width, thumbs[thumbIdx].height);
thumbContext.drawImage(this.spriteThumbs, 0, -thumbs[thumbIdx].height * Math.floor(opts.imgidx/spriteCols));
return thumbCanvas.toDataURL();
var index = Math.floor(opts.imgidx/spriteCols);
return this.spriteThumbs.getImage(index, thumbCanvas, thumbContext).toDataURL();
},
getImageWidth: function() {
@ -322,11 +517,8 @@ define([
},
loadSprite: function(callback) {
if (callback) {
this.spriteThumbs = new Image();
this.spriteThumbs.onload = callback;
this.spriteThumbs.src = thumbs[thumbIdx].path;
}
this.spriteThumbs = new CThumbnailLoader();
this.spriteThumbs.load(thumbs[thumbIdx].path, callback);
},
fillFonts: function(store, select) {
@ -455,6 +647,7 @@ define([
this.trigger('show:after', this, e);
this.flushVisibleFontsTiles();
this.updateVisibleFontsTiles(null, 0);
Common.Utils.isGecko && this.scroller && this.scroller.update();
} else {
Common.UI.ComboBox.prototype.onAfterShowMenu.apply(this, arguments);
}
@ -551,19 +744,8 @@ define([
for (j = 0; j < storeCount; ++j) {
if (from <= j && j < to) {
if (null === me.tiles[j]) {
var fontImage = document.createElement('canvas');
var context = fontImage.getContext('2d');
fontImage.height = thumbs[thumbIdx].height;
fontImage.width = thumbs[thumbIdx].width;
fontImage.style.width = iconWidth + 'px';
fontImage.style.height = iconHeight + 'px';
index = Math.floor(me.store.at(j).get('imgidx')/spriteCols);
context.clearRect(0, 0, thumbs[thumbIdx].width, thumbs[thumbIdx].height);
context.drawImage(me.spriteThumbs, 0, -thumbs[thumbIdx].height * index);
var fontImage = me.spriteThumbs.getImage(index);
me.tiles[j] = fontImage;
$(listItems[j]).get(0).appendChild(fontImage);

View file

@ -81,6 +81,7 @@ define([
this.style = this.options.style;
this.hint = this.options.hint;
this.store = this.options.store || new Common.UI.DataViewStore();
this.groups = this.options.groups;
this.itemWidth = this.options.itemWidth;
this.itemHeight = this.options.itemHeight;
this.menuMaxHeight = this.options.menuMaxHeight;
@ -92,18 +93,19 @@ define([
this.needFillComboView = false;
this.minWidth = this.options.minWidth;
this.delayRenderTips = this.options.delayRenderTips || false;
this.fieldPicker = new Common.UI.DataView({
cls: 'field-picker',
allowScrollbar: false,
itemTemplate : _.template([
this.itemTemplate = this.options.itemTemplate || _.template([
'<div class="style" id="<%= id %>">',
'<img src="<%= imageUrl %>" width="' + this.itemWidth + '" height="' + this.itemHeight + '"/>',
'<img src="<%= imageUrl %>" width="' + this.itemWidth + '" height="' + this.itemHeight + '" + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>',
'<% if (typeof title !== "undefined") {%>',
'<span class="title"><%= title %></span>',
'<% } %>',
'</div>'
].join('')),
].join(''));
this.fieldPicker = new Common.UI.DataView({
cls: 'field-picker',
allowScrollbar: false,
itemTemplate : this.itemTemplate,
delayRenderTips: this.delayRenderTips
});
@ -128,15 +130,9 @@ define([
restoreHeight: this.menuMaxHeight,
style: 'max-height: '+this.menuMaxHeight+'px;',
enableKeyEvents: this.options.enableKeyEvents,
groups: this.groups,
store: this.store,
itemTemplate : _.template([
'<div class="style" id="<%= id %>">',
'<img src="<%= imageUrl %>" width="' + this.itemWidth + '" height="' + this.itemHeight + '"/>',
'<% if (typeof title !== "undefined") {%>',
'<span class="title"><%= title %></span>',
'<% } %>',
'</div>'
].join('')),
itemTemplate : this.itemTemplate,
delayRenderTips: this.delayRenderTips
});
@ -259,6 +255,7 @@ define([
var picker = this.menuPicker;
if (picker) {
var record = picker.getSelectedRec();
this.itemMarginLeft = undefined;
this.fillComboView(record || picker.store.at(0), !!record, true);
picker.onResize();
@ -384,6 +381,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
if (!this.rendered)
@ -418,6 +416,9 @@ define([
if (forceFill || !me.fieldPicker.store.findWhere({'id': record.get('id')})){
if (me.itemMarginLeft===undefined) {
var div = $($(this.menuPicker.el).find('.inner > div:not(.grouped-data):not(.ps-scrollbar-x-rail):not(.ps-scrollbar-y-rail)')[0]);
if (!div || div.length<1) { // try to find items in groups
div = $($(this.menuPicker.el).find('.inner .group-items-container > div:not(.grouped-data):not(.ps-scrollbar-x-rail):not(.ps-scrollbar-y-rail)')[0]);
}
if (div.length > 0) {
me.itemMarginLeft = parseInt(div.css('margin-left'));
me.itemMarginRight = parseInt(div.css('margin-right'));
@ -458,6 +459,7 @@ define([
me.resumeEvents();
}
}
return me.fieldPicker.store.models; // return list of visible items
}
}
},

View file

@ -128,6 +128,39 @@ define([
recents = Common.localStorage.getItem(this.appPrefix + 'recent-shapes');
recents = recents ? JSON.parse(recents) : [];
// check lang
if (recents.length > 0) {
var isTranslated = _.findWhere(groups, {groupName: recents[0].groupName});
if (!isTranslated) {
for (var r = 0; r < recents.length; r++) {
var type = recents[r].data.shapeType,
record;
for (var g = 0; g < groups.length; g++) {
var store = groups[g].groupStore,
groupName = groups[g].groupName;
for (var i = 0; i < store.length; i++) {
if (store.at(i).get('data').shapeType === type) {
record = store.at(i).toJSON();
recents[r] = {
data: record.data,
tip: record.tip,
allowSelected: record.allowSelected,
selected: false,
groupName: groupName
};
break;
}
}
if (record) {
record = undefined;
break;
}
}
}
Common.localStorage.setItem(this.appPrefix + 'recent-shapes', JSON.stringify(recents));
}
}
if (recents.length < 12) {
var count = 12 - recents.length;
@ -439,6 +472,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
if (!this.rendered)

View file

@ -223,6 +223,7 @@ define([
listenStoreEvents: true,
allowScrollbar: true,
scrollAlwaysVisible: false,
minScrollbarLength: 40,
showLast: true,
useBSKeydown: false,
cls: ''
@ -272,10 +273,12 @@ define([
me.listenStoreEvents= (me.options.listenStoreEvents!==undefined) ? me.options.listenStoreEvents : true;
me.allowScrollbar = (me.options.allowScrollbar!==undefined) ? me.options.allowScrollbar : true;
me.scrollAlwaysVisible = me.options.scrollAlwaysVisible || false;
me.minScrollbarLength = me.options.minScrollbarLength || 40;
me.tabindex = me.options.tabindex || 0;
me.delayRenderTips = me.options.delayRenderTips || false;
if (me.parentMenu)
me.parentMenu.options.restoreHeight = (me.options.restoreHeight>0);
me.delaySelect = me.options.delaySelect || false;
me.rendered = false;
me.dataViewItems = [];
if (me.options.keyMoveDirection=='vertical')
@ -299,7 +302,8 @@ define([
this.cmpEl = $(this.template({
groups: me.groups ? me.groups.toJSON() : null,
style: me.style,
cls: me.cls
cls: me.cls,
options: me.options
}));
parentEl.html(this.cmpEl);
@ -308,7 +312,8 @@ define([
this.cmpEl.html(this.template({
groups: me.groups ? me.groups.toJSON() : null,
style: me.style,
cls: me.cls
cls: me.cls,
options: me.options
}));
}
@ -352,7 +357,7 @@ define([
this.scroller = new Common.UI.Scroller({
el: $(this.el).find('.inner').addBack().filter('.inner'),
useKeyboard: this.enableKeyEvents && !this.handleSelect,
minScrollbarLength : 40,
minScrollbarLength : this.minScrollbarLength,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible
});
@ -393,8 +398,9 @@ define([
rec.set({selected: false});
});
if (record)
if (record) {
record.set({selected: true});
}
} else {
if (record)
record.set({selected: !record.get('selected')});
@ -447,24 +453,35 @@ define([
}
}
var idx = _.indexOf(this.store.models, record);
if (innerEl) {
if (opts && opts.at == 0)
innerEl.prepend(view.render().el); else
if (opts && (typeof opts.at==='number') && opts.at >= 0) {
if (opts.at == 0) {
innerEl.prepend(view.render().el);
} else if (!(this.groups && this.groups.length > 0)) { // for dataview without groups
var innerDivs = innerEl.find('> div');
if (idx > 0)
$(innerDivs.get(idx - 1)).after(view.render().el);
else {
(innerDivs.length > 0) ? $(innerDivs[idx]).before(view.render().el) : innerEl.append(view.render().el);
}
} else
innerEl.append(view.render().el);
} else
innerEl.append(view.render().el);
(this.dataViewItems.length<1) && innerEl.find('.empty-text').remove();
var idx = _.indexOf(this.store.models, record);
this.dataViewItems = this.dataViewItems.slice(0, idx).concat(view).concat(this.dataViewItems.slice(idx));
var me = this,
view_el = $(view.el),
tip = record.get('tip');
if (tip) {
if (tip!==undefined && tip!==null) {
if (this.delayRenderTips)
view_el.one('mouseenter', function(){ // hide tooltip when mouse is over menu
view_el.attr('data-toggle', 'tooltip');
view_el.tooltip({
title : tip,
title : record.get('tip'), // use actual tip, because it can be changed
placement : 'cursor',
zIndex : me.tipZIndex
});
@ -473,7 +490,7 @@ define([
else {
view_el.attr('data-toggle', 'tooltip');
view_el.tooltip({
title : tip,
title : record.get('tip'), // use actual tip, because it can be changed
placement : 'cursor',
zIndex : me.tipZIndex
});
@ -506,7 +523,8 @@ define([
$(this.el).html(this.template({
groups: this.groups ? this.groups.toJSON() : null,
style: this.style,
cls: this.cls
cls: this.cls,
options: this.options
}));
if (!_.isUndefined(this.scroller)) {
@ -532,7 +550,7 @@ define([
this.scroller = new Common.UI.Scroller({
el: $(this.el).find('.inner').addBack().filter('.inner'),
useKeyboard: this.enableKeyEvents && !this.handleSelect,
minScrollbarLength : 40,
minScrollbarLength : this.minScrollbarLength,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible
});
@ -585,15 +603,31 @@ define([
window._event = e; // for FireFox only
if (this.showLast) this.selectRecord(record);
if (this.showLast) {
if (!this.delaySelect) {
this.selectRecord(record);
} else {
_.each(this.store.where({selected: true}), function(rec){
rec.set({selected: false});
});
if (record) {
setTimeout(_.bind(function () {
record.set({selected: true});
this.trigger('item:click', this, view, record, e);
}, this), 300);
}
}
}
this.lastSelectedRec = null;
var tip = view.$el.data('bs.tooltip');
if (tip) (tip.tip()).remove();
if (!this.isSuspendEvents) {
if (!this.delaySelect) {
this.trigger('item:click', this, view, record, e);
}
}
},
onDblClickItem: function(view, record, e) {
@ -760,6 +794,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
$(this.el).find('.inner').addBack().filter('.inner').toggleClass('disabled', disabled);
},
@ -770,6 +805,12 @@ define([
setEmptyText: function(emptyText) {
this.emptyText = emptyText;
if (this.store.length < 1) {
var el = $(this.el).find('.inner').addBack().filter('.inner').find('.empty-text td');
if ( el.length>0 )
el.text(this.emptyText);
}
},
alignPosition: function() {
@ -783,7 +824,7 @@ define([
paddings = parseInt(menuRoot.css('padding-top')) + parseInt(menuRoot.css('padding-bottom')),
menuH = menuRoot.outerHeight(),
top = parseInt(menuRoot.css('top')),
props = {minScrollbarLength : 40};
props = {minScrollbarLength : this.minScrollbarLength};
this.scrollAlwaysVisible && (props.alwaysVisibleY = this.scrollAlwaysVisible);
if (top + menuH > docH ) {
@ -805,14 +846,14 @@ define([
};
var el = $(this.dataViewItems[0].el),
itemW = el.outerWidth() + parseInt(el.css('margin-left')) + parseInt(el.css('margin-right')),
itemW = el.outerWidth() + parseFloat(el.css('margin-left')) + parseFloat(el.css('margin-right')),
offsetLeft = this.$el.offset().left,
offsetTop = el.offset().top,
prevtop = -1, topIdx = 0, leftIdx = 0;
for (var i=0; i<this.dataViewItems.length; i++) {
var top = $(this.dataViewItems[i].el).offset().top - offsetTop;
leftIdx = Math.floor(($(this.dataViewItems[i].el).offset().left - offsetLeft)/itemW);
leftIdx = Math.floor(($(this.dataViewItems[i].el).offset().left - offsetLeft)/itemW + 0.01);
if (top>prevtop) {
prevtop = top;
this._layoutParams.itemsIndexes.push([]);
@ -954,7 +995,7 @@ define([
this.scroller = new Common.UI.Scroller({
el: $(this.el).find('.inner').addBack().filter('.inner'),
useKeyboard: this.enableKeyEvents && !this.handleSelect,
minScrollbarLength : 40,
minScrollbarLength : this.minScrollbarLength,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible
});
@ -1046,7 +1087,7 @@ define([
this.scroller = new Common.UI.Scroller({
el: $(this.el).find('.inner').addBack().filter('.inner'),
useKeyboard: this.enableKeyEvents && !this.handleSelect,
minScrollbarLength : 40,
minScrollbarLength : this.minScrollbarLength,
wheelSpeed: 10,
alwaysVisibleY: this.scrollAlwaysVisible
});
@ -1234,6 +1275,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
$(this.el).find('.inner').addBack().filter('.inner').toggleClass('disabled', disabled);
},
@ -1253,7 +1295,7 @@ define([
paddings = parseInt(menuRoot.css('padding-top')) + parseInt(menuRoot.css('padding-bottom')),
menuH = menuRoot.outerHeight(),
top = parseInt(menuRoot.css('top')),
props = {minScrollbarLength : 40};
props = {minScrollbarLength : this.minScrollbarLength};
this.scrollAlwaysVisible && (props.alwaysVisibleY = this.scrollAlwaysVisible);
if (top + menuH > docH ) {
@ -1275,7 +1317,7 @@ define([
};
var el = this.dataViewItems[0].el,
itemW = el.outerWidth() + parseInt(el.css('margin-left')) + parseInt(el.css('margin-right')),
itemW = el.outerWidth() + parseFloat(el.css('margin-left')) + parseFloat(el.css('margin-right')),
offsetLeft = this.$el.offset().left,
offsetTop = el.offset().top,
prevtop = -1, topIdx = 0, leftIdx = 0;
@ -1363,6 +1405,39 @@ define([
me.recentShapes = recentArr;
// check lang
if (me.recentShapes.length > 0) {
var isTranslated = _.findWhere(me.groups, {groupName: me.recentShapes[0].groupName});
if (!isTranslated) {
for (var r = 0; r < me.recentShapes.length; r++) {
var type = me.recentShapes[r].data.shapeType,
record;
for (var g = 0; g < me.groups.length; g++) {
var store = me.groups[g].groupStore,
groupName = me.groups[g].groupName;
for (var i = 0; i < store.length; i++) {
if (store.at(i).get('data').shapeType === type) {
record = store.at(i).toJSON();
me.recentShapes[r] = {
data: record.data,
tip: record.tip,
allowSelected: record.allowSelected,
selected: false,
groupName: groupName
};
break;
}
}
if (record) {
record = undefined;
break;
}
}
}
Common.localStorage.setItem(this.appPrefix + 'recent-shapes', JSON.stringify(me.recentShapes));
}
}
// Add default recent
if (me.recentShapes.length < 12) {
@ -1419,7 +1494,7 @@ define([
var models = group.groupStore.models;
if (index > 0) {
for (var i = 0; i < models.length; i++) {
models.at(i).set({groupName: group.groupName})
models[i].set({groupName: group.groupName});
}
}
store.add(models);
@ -1555,11 +1630,8 @@ define([
selected: false,
groupName: groupName
};
me.recentShapes.unshift(model);
if (me.recentShapes.length > 12) {
me.recentShapes.splice(12, 1);
}
Common.localStorage.setItem(this.appPrefix + 'recent-shapes', JSON.stringify(me.recentShapes));
var arr = [model].concat(me.recentShapes.slice(0, 11));
Common.localStorage.setItem(this.appPrefix + 'recent-shapes', JSON.stringify(arr));
me.recentShapes = undefined;
},
updateRecents: function () {
@ -1580,7 +1652,18 @@ define([
if (recents.length > 0 && diff) {
me.recentShapes = recents;
me.groups[0].groupStore.reset(me.recentShapes);
var resentsStore = new Common.UI.DataViewStore();
_.each(me.recentShapes, function (recent) {
var model = {
data: {shapeType: recent.data.shapeType},
tip: recent.tip,
allowSelected: recent.allowSelected,
selected: recent.selected,
groupName: recent.groupName
};
resentsStore.push(model);
});
me.groups[0].groupStore = resentsStore;
var store = new Common.UI.DataViewStore();
_.each(me.groups, function (group) {

View file

@ -49,7 +49,7 @@ define([
Common.UI.DimensionPicker = Common.UI.BaseView.extend((function(){
return {
options: {
itemSize : 18,
itemSize : 20,
minRows : 5,
minColumns : 5,
maxRows : 20,

View file

@ -81,7 +81,7 @@ define([
template: _.template([
'<div class="input-field" style="<%= style %>">',
'<input ',
'type="text" ',
'type="<%= type %>" ',
'name="<%= name %>" ',
'spellcheck="<%= spellcheck %>" ',
'class="form-control <%= cls %>" ',
@ -164,8 +164,6 @@ define([
this._input.on('keydown', _.bind(this.onKeyDown, this));
this._input.on('keyup', _.bind(this.onKeyUp, this));
if (this.validateOnChange) this._input.on('input', _.bind(this.onInputChanging, this));
if (this.type=='password') this._input.on('input', _.bind(this.checkPasswordType, this));
if (this.maxLength) this._input.attr('maxlength', this.maxLength);
}
@ -190,15 +188,6 @@ define([
return this;
},
checkPasswordType: function(){
if(this.type == 'text') return;
if (this._input.val() !== '') {
(this._input.attr('type') !== 'password') && this._input.attr('type', 'password');
} else {
this._input.attr('type', 'text');
}
},
_doChange: function(e, extra) {
// skip processing for internally-generated synthetic event
// to avoid double processing
@ -299,6 +288,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
$(this.el).toggleClass('disabled', disabled);
disabled
@ -316,8 +306,6 @@ define([
if (this.rendered){
this._input.val(value);
}
(this.type=='password') && this.checkPasswordType();
},
getValue: function() {
@ -430,23 +418,25 @@ define([
validateOnBlur: true,
disabled: false,
editable: true,
iconCls: 'btn-select-range',
iconCls: 'toolbar__icon btn-select-range',
btnHint: ''
},
template: _.template([
'<div class="input-field input-field-btn" style="<%= style %>">',
'<input ',
'type="text" ',
'type=<%= type %> ',
'name="<%= name %>" ',
'spellcheck="<%= spellcheck %>" ',
'class="form-control <%= cls %>" ',
'placeholder="<%= placeHolder %>" ',
'value="<%= value %>"',
'data-hint="<%= dataHint %>"',
'data-hint-offset="<%= dataHintOffset %>"',
'data-hint-direction="<%= dataHintDirection %>"',
'>',
'<span class="input-error"></span>',
'<div class="select-button">' +
'<button type="button" class="btn btn-toolbar"><i class="icon toolbar__icon <%= iconCls %>"></i></button>' +
'</div>',
'</div>'
].join('')),
@ -464,8 +454,10 @@ define([
name : this.name,
placeHolder : this.placeHolder,
spellcheck : this.spellcheck,
iconCls : this.options.iconCls,
scope : me
scope : me,
dataHint : this.options.dataHint,
dataHintOffset: this.options.dataHintOffset,
dataHintDirection: this.options.dataHintDirection
}));
if (parentEl) {
@ -482,10 +474,12 @@ define([
var el = this.cmpEl;
this._button = new Common.UI.Button({
el: this.cmpEl.find('button'),
cls: 'btn-toolbar',
iconCls: this.options.iconCls,
hint: this.options.btnHint || ''
hint: this.options.btnHint || '',
menu: this.options.menu
});
this._button.render(this.cmpEl.find('.select-button'));
this._button.on('click', _.bind(this.onButtonClick, this));
this._input = this.cmpEl.find('input').addBack().filter('input');
@ -525,6 +519,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
$(this.el).toggleClass('disabled', disabled);
disabled
@ -554,6 +549,7 @@ define([
style: '',
value: '',
name: '',
type: 'password',
validation: null,
allowBlank: true,
placeHolder: '',
@ -564,7 +560,8 @@ define([
validateOnBlur: true,
disabled: false,
editable: true,
iconCls: 'btn-sheet-view',
showCls: 'toolbar__icon btn-sheet-view',
hideCls: 'toolbar__icon hide-password',
btnHint: '',
repeatInput: null,
showPwdOnClick: true
@ -573,6 +570,7 @@ define([
initialize : function(options) {
options = options || {};
options.btnHint = options.btnHint || this.textHintShowPwd;
options.iconCls = options.showCls || this.options.showCls;
Common.UI.InputFieldBtn.prototype.initialize.call(this, options);
@ -584,7 +582,6 @@ define([
Common.UI.InputFieldBtn.prototype.render.call(this, parentEl);
this._btnElm = this._button.$el;
this._input.on('input', _.bind(this.checkPasswordType, this));
if(this.options.showPwdOnClick)
this._button.on('click', _.bind(this.passwordClick, this));
else
@ -603,11 +600,19 @@ define([
this.passwordHide(e);
this.hidePwd = true;
}
var me = this;
var prevstart = me._input[0].selectionStart,
prevend = me._input[0].selectionEnd;
setTimeout(function () {
me.focus();
me._input[0].selectionStart = prevstart;
me._input[0].selectionEnd = prevend;
}, 1);
},
passwordShow: function (e) {
if (this.disabled) return;
this._button.setIconCls('hide-password');
this._button.setIconCls(this.options.hideCls);
this.type = 'text';
this._input.attr('type', this.type);
@ -626,13 +631,13 @@ define([
},
passwordHide: function (e) {
this._button.setIconCls('btn-sheet-view');
this._button.setIconCls(this.options.showCls);
this.type = 'password';
(this._input.val() !== '') && this._input.attr('type', this.type);
this._input.attr('type', this.type);
if(this.repeatInput) {
this.repeatInput.type = this.type;
(this.repeatInput._input.val() !== '') && this.repeatInput._input.attr('type', this.type);
this.repeatInput._input.attr('type', this.type);
}
if(this.options.showPwdOnClick) {
@ -641,10 +646,80 @@ define([
else {
this._btnElm.off('mouseup', this.passwordHide);
this._btnElm.off('mouseout', this.passwordHide);
var me = this;
var prevstart = me._input[0].selectionStart,
prevend = me._input[0].selectionEnd;
setTimeout(function () {
me.focus();
me._input[0].selectionStart = prevstart;
me._input[0].selectionEnd = prevend;
}, 1);
}
},
textHintShowPwd: 'Show password',
textHintHidePwd: 'Hide password'
}
})(), Common.UI.InputFieldBtnPassword || {}));
Common.UI.InputFieldBtnCalendar = Common.UI.InputFieldBtn.extend((function (){
return {
options: {
id: null,
cls: '',
style: '',
value: '',
type: 'date',
name: '',
validation: null,
allowBlank: true,
placeHolder: '',
blankError: null,
spellcheck: false,
maskExp: '',
validateOnChange: false,
validateOnBlur: true,
disabled: false,
editable: true,
iconCls: 'toolbar__icon btn-datetime',
btnHint: '',
menu: true
},
render: function (parentEl) {
var me = this;
Common.UI.InputFieldBtn.prototype.render.call(this, parentEl);
var id = 'id-' + Common.UI.getId() + 'input-field-datetime',
menu = new Common.UI.Menu({
menuAlign: 'tr-br',
style: 'border: none; padding: 0;',
items: [
{template: _.template('<div id="' + id + '" style=""></div>'), stopPropagation: true}
]
});
$('button', this._button.cmpEl).addClass('no-caret');
this._button.setMenu(menu);
this._button.menu.on('show:after', function(menu) {
if (!me.cmpCalendar) {
me.cmpCalendar = new Common.UI.Calendar({
el: me.cmpEl.find('#' + id),
enableKeyEvents: true,
firstday: 1
});
me.cmpCalendar.on('date:click', function (cmp, date) {
me.trigger('date:click', me, date);
menu.hide();
});
menu.alignPosition();
}
me.cmpCalendar.focus();
})
},
setDate: function(date) {
if (this.cmpCalendar && date && date instanceof Date && !isNaN(date))
this.cmpCalendar && this.cmpCalendar.setDate(date);
}
}
})());
});

View file

@ -0,0 +1,127 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2022
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* Label.js
*
* Created by Julia Radzhabova on 1/20/22
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
if (Common === undefined)
var Common = {};
define([
'common/main/lib/component/BaseView',
'underscore'
], function (base, _) {
'use strict';
Common.UI.Label = Common.UI.BaseView.extend({
options : {
id : null,
disabled : false,
cls : '',
iconCls : '',
style : '',
caption : ''
},
template : _.template('<label class="label-cmp <%= cls %>" style="<%= style %>">' +
'<% if ( iconCls ) { %>' +
'<i class="icon <%= iconCls %>"></i>' +
'<% } %>' +
'<span class="caption"><%= caption %></span>' +
'</label>'),
initialize : function(options) {
Common.UI.BaseView.prototype.initialize.call(this, options);
this.id = this.options.id || Common.UI.getId();
this.cls = this.options.cls;
this.iconCls = this.options.iconCls;
this.style = this.options.style;
this.disabled = this.options.disabled;
this.caption = this.options.caption;
this.template = this.options.template || this.template;
this.rendered = false;
if (this.options.el)
this.render();
},
render: function (parentEl) {
var me = this;
if (!me.rendered) {
var elem = this.template({
id : me.id,
cls : me.cls,
iconCls : me.iconCls,
style : me.style,
caption : me.caption
});
if (parentEl) {
this.setElement(parentEl, false);
parentEl.html(elem);
} else {
me.$el.html(elem);
}
this.$label = me.$el.find('.label-cmp');
this.rendered = true;
}
if (this.disabled)
this.setDisabled(this.disabled);
return this;
},
setDisabled: function(disabled) {
if (!this.rendered)
return;
disabled = (disabled===true);
if (disabled !== this.disabled) {
this.$label.toggleClass('disabled', disabled);
}
this.disabled = disabled;
},
isDisabled: function() {
return this.disabled;
}
});
});

View file

@ -59,7 +59,7 @@ define([
},
template: _.template([
'<div class="listview inner <%= cls %>"></div>'
'<div class="listview inner <%= cls %>" <% if (options.dataHint) { %> data-hint="<%= options.dataHint %>" <% } if (options.dataHintDirection) { %> data-hint-direction="<%= options.dataHintDirection %>" <% } if (options.dataHintOffset) { %> data-hint-offset="<%= options.dataHintOffset %>" <% } %>></div>'
].join('')),
onResetItems : function() {

View file

@ -377,12 +377,12 @@ define([
onBeforeShowMenu: function(e) {
Common.NotificationCenter.trigger('menu:show');
this.trigger('show:before', this, e);
this.alignPosition();
(e && e.target===e.currentTarget) && this.alignPosition();
},
onAfterShowMenu: function(e) {
this.trigger('show:after', this, e);
if (this.scroller) {
if (this.scroller && e && e.target===e.currentTarget) {
var menuRoot = this.menuRoot;
if (this.wheelSpeed===undefined) {
var item = menuRoot.find('> li:first'),
@ -651,7 +651,28 @@ define([
if (left < 0)
left = 0;
if (this.options.restoreHeight) {
if (this.options.restoreHeightAndTop) { // can change top position, if top<0 - then change menu height
var cg = Common.Utils.croppedGeometry();
docH = cg.height - 10;
menuRoot.css('max-height', 'none');
menuH = menuRoot.outerHeight();
if (top + menuH > docH + cg.top) {
top = docH - menuH;
}
if (top < cg.top)
top = cg.top;
if (top + menuH > docH + cg.top) {
menuRoot.css('max-height', (docH - top) + 'px');
(!this.scroller) && (this.scroller = new Common.UI.Scroller({
el: this.$el.find('> .dropdown-menu '),
minScrollbarLength: 30,
suppressScrollX: true,
alwaysVisibleY: this.scrollAlwaysVisible
}));
this.wheelSpeed = undefined;
}
this.scroller && this.scroller.update({alwaysVisibleY: this.scrollAlwaysVisible});
} else if (this.options.restoreHeight) {
if (typeof (this.options.restoreHeight) == "number") {
if (top + menuH > docH) {
menuRoot.css('max-height', (docH - top) + 'px');
@ -954,12 +975,12 @@ define([
onBeforeShowMenu: function(e) {
Common.NotificationCenter.trigger('menu:show');
this.trigger('show:before', this, e);
this.alignPosition();
(e && e.target===e.currentTarget) && this.alignPosition();
},
onAfterShowMenu: function(e) {
this.trigger('show:after', this, e);
if (this.scroller) {
if (this.scroller && e && e.target===e.currentTarget) {
this.scroller.update({alwaysVisibleY: this.scrollAlwaysVisible});
var menuRoot = this.menuRoot,
$selected = menuRoot.find('> li .checked');

View file

@ -301,6 +301,7 @@ define([
},
onItemMouseDown: function(e) {
Common.UI.HintManager && Common.UI.HintManager.clearHints();
if (e.which != 1) {
e.preventDefault();
e.stopPropagation();

View file

@ -147,8 +147,13 @@ define([
el.on('input', '.form-control', _.bind(this.onInput, this));
if (!this.options.allowDecimal)
el.on('keypress', '.form-control', _.bind(this.onKeyPress, this));
el.on('focus', 'input.form-control', function() {
setTimeout(function(){me.$input && me.$input.select();}, 1);
el.on('focus', 'input.form-control', function(e) {
setTimeout(function(){
if (me.$input) {
me.$input[0].selectionStart = 0;
me.$input[0].selectionEnd = me.$input.val().length;
}
}, 1);
});
Common.Utils.isGecko && el.on('blur', 'input.form-control', function() {
setTimeout(function(){
@ -206,6 +211,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
var el = this.$el || $(this.el);
if (disabled !== this.disabled) {
el.find('button').toggleClass('disabled', disabled);

View file

@ -52,6 +52,7 @@ define([
var $scrollL;
var optsFold = {timeout: 2000};
var config = {};
var btnsMore = [];
var onScrollTabs = function(opts, e) {
var sv = $boxTabs.scrollLeft();
@ -119,6 +120,7 @@ define([
Common.NotificationCenter.on('tab:visible', _.bind(function(action, visible){
this.setVisible(action, visible);
}, this));
Common.NotificationCenter.on('tab:resize', _.bind(this.onResizeTabs, this));
},
afterRender: function() {
@ -126,7 +128,9 @@ define([
$boxTabs = me.$('.tabs > ul');
me.$tabs = $boxTabs.find('> li');
me.$panels = me.$('.box-panels > .panel');
me.$boxpanels = me.$('.box-panels');
me.$panels = me.$boxpanels.find('> .panel');
optsFold.$bar = me.$('.toolbar');
var $scrollR = me.$('.tabs .scroll.right');
$scrollL = me.$('.tabs .scroll.left');
@ -226,7 +230,7 @@ define([
// optsFold.timer = setTimeout(this.collapse, optsFold.timeout);
},
onResize: function(e) {
onResizeTabs: function(e) {
if ( this.hasTabInvisible() ) {
if ( !$boxTabs.parent().hasClass('short') )
$boxTabs.parent().addClass('short');
@ -234,7 +238,11 @@ define([
if ( $boxTabs.parent().hasClass('short') ) {
$boxTabs.parent().removeClass('short');
}
},
onResize: function(e) {
this.onResizeTabs();
this.hideMoreBtns();
this.processPanelVisible();
},
@ -261,7 +269,7 @@ define([
me._timerSetTab = false;
}, 500);
me.setTab(tab);
me.processPanelVisible(null, true);
// me.processPanelVisible(null, true);
if ( !me.isFolded ) {
if ( me.dblclick_timer ) clearTimeout(me.dblclick_timer);
me.dblclick_timer = setTimeout(function () {
@ -286,11 +294,14 @@ define([
if ( tab ) {
me.$tabs.removeClass('active');
me.$panels.removeClass('active');
me.hideMoreBtns();
var panel = this.$panels.filter('[data-tab=' + tab + ']');
if ( panel.length ) {
this.lastPanel = tab;
panel.addClass('active');
me.setMoreButton(tab, panel);
me.processPanelVisible(null, true, true);
}
if ( panel.length ) {
@ -375,7 +386,7 @@ define([
* hide button's caption to decrease panel width
* ##adopt-panel-width
**/
processPanelVisible: function(panel, now) {
processPanelVisible: function(panel, now, force) {
var me = this;
if ( me._timer_id ) clearTimeout(me._timer_id);
@ -387,6 +398,7 @@ define([
_rightedge = data.rightedge,
_btns = data.buttons,
_flex = data.flex;
var more_section = $active.find('.more-box');
if ( !_rightedge ) {
_rightedge = $active.get(0).getBoundingClientRect().right;
@ -407,19 +419,22 @@ define([
data.flex = _flex;
}
if ( _rightedge > _maxright) {
if ( (_rightedge > _maxright)) {
if (!more_section.is(':visible') ) {
if (_flex.length>0) {
for (var i=0; i<_flex.length; i++) {
var item = _flex[i].el;
if (item.outerWidth() > parseInt(item.css('min-width')))
_rightedge = $active.get(0).getBoundingClientRect().right;
if (item.outerWidth() > parseInt(item.css('min-width'))) {
data.rightedge = _rightedge;
return;
else
} else
item.css('width', item.css('min-width'));
}
}
for (var i=_btns.length-1; i>=0; i--) {
var btn = _btns[i];
if ( !btn.hasClass('compactwidth') ) {
if ( !btn.hasClass('compactwidth') && !btn.hasClass('slot-btn-more')) {
btn.addClass('compactwidth');
_rightedge = $active.get(0).getBoundingClientRect().right;
if (_rightedge <= _maxright)
@ -427,7 +442,11 @@ define([
}
}
data.rightedge = _rightedge;
}
me.resizeToolbar(force);
} else {
more_section.is(':visible') && me.resizeToolbar(force);
if (!more_section.is(':visible')) {
for (var i=0; i<_btns.length; i++) {
var btn = _btns[i];
if ( btn.hasClass('compactwidth') ) {
@ -445,6 +464,8 @@ define([
for (var i=0; i<_flex.length; i++) {
var item = _flex[i];
item.el.css('width', item.width);
data.rightedge = $active.get(0).getBoundingClientRect().right;
}
}
}
}
@ -477,6 +498,303 @@ define([
this.$tabs.find('> a[data-tab=' + tab + ']').parent().css('display', visible ? '' : 'none');
this.onResize();
}
},
setMoreButton: function(tab, panel) {
var me = this;
if (!btnsMore[tab]) {
var top = panel.position().top;
var box = $('<div class="more-box" style="position: absolute;right: 0; top:'+ top +'px; padding-left: 12px;padding-right: 6px;display: none;">' +
'<div class="separator long" style="position: relative;display: table-cell;"></div>' +
'<div class="group" style=""><span class="btn-slot text x-huge slot-btn-more"></span></div>' +
'</div>');
panel.append(box);
btnsMore[tab] = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top dropdown-manual',
caption: Common.Locale.get("textMoreButton",{name:"Common.Translation", default: "More"}),
iconCls: 'toolbar__icon btn-more',
enableToggle: true
});
btnsMore[tab].render(box.find('.slot-btn-more'));
btnsMore[tab].on('toggle', function(btn, state, e) {
(state) ? me.onMoreShow(btn, e) : me.onMoreHide(btn, e);
Common.NotificationCenter.trigger('more:toggle', btn, state);
});
var moreContainer = $('<div class="dropdown-menu more-container" data-tab="' + tab + '"><div style="display: inline;"></div></div>');
optsFold.$bar.append(moreContainer);
btnsMore[tab].panel = moreContainer.find('div');
}
this.$moreBar = btnsMore[tab].panel;
},
resizeToolbar: function(reset) {
var $active = this.$panels.filter('.active'),
more_section = $active.find('.more-box'),
more_section_width = parseInt(more_section.css('width')) || 0,
box_controls_width = $active.parents('.box-controls').width(),
_maxright = box_controls_width,
_rightedge = $active.get(0).getBoundingClientRect().right,
delta = (this._prevBoxWidth) ? (_maxright - this._prevBoxWidth) : -1,
hideAllMenus = false;
this._prevBoxWidth = _maxright;
more_section.is(':visible') && (_maxright -= more_section_width);
if (this.$moreBar && this.$moreBar.parent().is(':visible')) {
this.$moreBar.parent().css('max-width', Common.Utils.innerWidth());
}
if ( (reset || delta<0) && (_rightedge > _maxright)) { // from toolbar to more section
if (!more_section.is(':visible') ) {
more_section.css('display', "");
_maxright -= parseInt(more_section.css('width'));
}
var last_separator = null,
last_group = null,
prevchild = this.$moreBar.children().filter("[data-hidden-tb-item!=true]");
if (prevchild.length>0) {
prevchild = $(prevchild[0]);
if (prevchild.hasClass('separator'))
last_separator = prevchild;
if (prevchild.hasClass('group') && prevchild.attr('group-state') == 'open')
last_group = prevchild;
}
var items = $active.find('> div:not(.more-box)');
var need_break = false;
for (var i=items.length-1; i>=0; i--) {
var item = $(items[i]);
if (!item.is(':visible') && !item.attr('hidden-on-resize')) { // move invisible items as is and set special attr
item.attr('data-hidden-tb-item', true);
this.$moreBar.prepend(item);
hideAllMenus = true;
} else if (item.hasClass('group')) {
_rightedge = $active.get(0).getBoundingClientRect().right;
if (_rightedge <= _maxright) // stop moving items
break;
var offset = item.offset(),
item_width = item.outerWidth(),
children = item.children();
if (!item.attr('inner-width') && item.attr('group-state') !== 'open') {
item.attr('inner-width', item_width);
for (var j=children.length-1; j>=0; j--) {
var child = $(children[j]);
child.attr('inner-width', child.outerWidth());
}
}
if ((offset.left > _maxright || children.length==1) && item.attr('group-state') != 'open') {
// move group
this.$moreBar.prepend(item);
if (last_separator) {
last_separator.css('display', '');
last_separator.removeAttr('hidden-on-resize');
}
hideAllMenus = true;
} else if ( offset.left+item_width > _maxright ) {
// move buttons from group
for (var j=children.length-1; j>=0; j--) {
var child = $(children[j]);
if (child.hasClass('elset')) {
this.$moreBar.prepend(item);
if (last_separator) {
last_separator.css('display', '');
last_separator.removeAttr('hidden-on-resize');
}
hideAllMenus = true;
break;
} else {
var child_offset = child.offset(),
child_width = child.outerWidth();
if (child_offset.left+child_width>_maxright) {
if (!last_group) {
last_group = $('<div></div>');
last_group.addClass(items[i].className);
var attrs = items[i].attributes;
for (var k = 0; k < attrs.length; k++) {
last_group.attr(attrs[k].name, attrs[k].value);
}
this.$moreBar.prepend(last_group);
if (last_separator) {
last_separator.css('display', '');
last_separator.removeAttr('hidden-on-resize');
}
}
last_group.prepend(child);
hideAllMenus = true;
} else {
need_break = true;
break;
}
}
}
if (item.children().length<1) { // all buttons are moved
item.remove();
last_group && last_group.removeAttr('group-state').attr('inner-width', item.attr('inner-width'));
last_group = null;
} else {
last_group && last_group.attr('group-state', 'open') && item.attr('group-state', 'open');
}
if (need_break)
break;
} else {
break;
}
last_separator = null;
} else if (item.hasClass('separator')) {
this.$moreBar.prepend(item);
item.css('display', 'none');
item.attr('hidden-on-resize', true);
last_separator = item;
hideAllMenus = true;
}
}
} else if ((reset || delta>0) && more_section.is(':visible')) {
var last_separator = null,
last_group = null,
prevchild = $active.find('> div:not(.more-box)');
var last_width = 0;
if (prevchild.length>0) {
prevchild = $(prevchild[prevchild.length-1]);
if (prevchild.hasClass('separator')) {
last_separator = prevchild;
last_width = parseInt(last_separator.css('margin-left')) + parseInt(last_separator.css('margin-right')) + 1;
}
if (prevchild.hasClass('group') && prevchild.attr('group-state') == 'open')
last_group = prevchild;
}
var items = this.$moreBar.children();
if (items.length>0) {
// from more panel to toolbar
for (var i=0; i<items.length; i++) {
var item = $(items[i]);
_rightedge = $active.get(0).getBoundingClientRect().right;
if (!item.is(':visible') && item.attr('data-hidden-tb-item')) { // move invisible items as is
item.removeAttr('data-hidden-tb-item');
more_section.before(item);
if (this.$moreBar.children().filter('.group').length == 0) {
this.hideMoreBtns();
more_section.css('display', "none");
}
} else if (item.hasClass('group')) {
var islast = false;
if (this.$moreBar.children().filter('.group').length == 1) {
_maxright = box_controls_width; // try to move last group
islast = true;
}
var item_width = parseInt(item.attr('inner-width') || 0);
if (_rightedge + last_width + item_width < _maxright && item.attr('group-state') != 'open') {
// move group
more_section.before(item);
if (last_separator) {
last_separator.css('display', '');
last_separator.removeAttr('hidden-on-resize');
}
if (this.$moreBar.children().filter('.group').length == 0) {
this.hideMoreBtns();
more_section.css('display', "none");
}
hideAllMenus = true;
} else if ( _rightedge + last_width < _maxright) {
// move buttons from group
var children = item.children();
_maxright = box_controls_width - more_section_width;
for (var j=0; j<children.length; j++) {
if (islast && j==children.length-1)
_maxright = box_controls_width; // try to move last item from last group
_rightedge = $active.get(0).getBoundingClientRect().right;
var child = $(children[j]);
if (child.hasClass('elset')) { // don't add group - no enough space
need_break = true;
break;
} else {
var child_width = parseInt(child.attr('inner-width') || 0) + (!last_group ? parseInt(item.css('padding-left')) : 0); // if new group is started add left-padding
if (_rightedge+last_width+child_width < _maxright) {
if (!last_group) {
last_group = $('<div></div>');
last_group.addClass(items[i].className);
var attrs = items[i].attributes;
for (var k = 0; k < attrs.length; k++) {
last_group.attr(attrs[k].name, attrs[k].value);
}
if (last_group.hasClass('flex')) { // need to update flex groups list
$active.data().flex = null;
}
more_section.before(last_group);
if (last_separator) {
last_separator.css('display', '');
last_separator.removeAttr('hidden-on-resize');
}
}
last_group.append(child);
hideAllMenus = true;
} else {
need_break = true;
break;
}
}
}
if (item.children().length<1) { // all buttons are moved
item.remove();
last_group && last_group.removeAttr('group-state').attr('inner-width', item.attr('inner-width'));
last_group = null;
if (this.$moreBar.children().filter('.group').length == 0) {
this.hideMoreBtns();
more_section.css('display', "none");
}
} else {
last_group && last_group.attr('group-state', 'open') && item.attr('group-state', 'open');
}
if (need_break)
break;
} else {
break;
}
last_separator = null; last_width = 0;
} else if (item.hasClass('separator')) {
more_section.before(item);
item.css('display', 'none');
item.attr('hidden-on-resize', true);
last_separator = item;
last_width = parseInt(last_separator.css('margin-left')) + parseInt(last_separator.css('margin-right')) + 1;
hideAllMenus = true;
}
}
} else {
this.hideMoreBtns();
more_section.css('display', "none");
}
}
hideAllMenus && Common.UI.Menu.Manager.hideAll();
},
onMoreHide: function(btn, e) {
var moreContainer = btn.panel.parent();
if (btn.pressed) {
btn.toggle(false, true);
}
if (moreContainer.is(':visible')) {
moreContainer.hide();
Common.NotificationCenter.trigger('edit:complete', this.toolbar, btn);
}
},
onMoreShow: function(btn, e) {
var moreContainer = btn.panel.parent(),
parentxy = moreContainer.parent().offset(),
target = btn.$el,
showxy = target.offset(),
right = Common.Utils.innerWidth() - (showxy.left - parentxy.left + target.width()),
top = showxy.top - parentxy.top + target.height() + 10;
moreContainer.css({right: right, left: 'auto', top : top, 'max-width': Common.Utils.innerWidth() + 'px'});
moreContainer.show();
},
hideMoreBtns: function() {
for (var btn in btnsMore) {
btnsMore[btn] && btnsMore[btn].toggle(false);
}
}
};
}()));

View file

@ -133,6 +133,7 @@ define([
if (!this.rendered)
return;
disabled = !!disabled;
if (disabled !== this.disabled) {
this.$label.toggleClass('disabled', disabled);
this.$radio.toggleClass('disabled', disabled);
@ -156,7 +157,7 @@ define([
setRawValue: function(value) {
var value = (value === true || value === 'true' || value === '1' || value === 1 );
$('input[type=radio][name=' + this.name + ']').removeClass('checked');
value && $('input[type=radio][name=' + this.name + ']').removeClass('checked');
this.$radio.toggleClass('checked', value);
this.$radio.prop('checked', value);
},

View file

@ -272,6 +272,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
if (disabled !== this.disabled)
this.cmpEl.toggleClass('disabled', disabled);
this.disabled = disabled;
@ -588,6 +589,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
if (disabled !== this.disabled)
this.cmpEl.toggleClass('disabled', disabled);
this.disabled = disabled;

View file

@ -50,7 +50,7 @@ define([
},
template: _.template([
'<div class="synch-tip-root <% if (!!scope.options.extCls) {print(scope.options.extCls + \" \");} %><%= scope.placement %>">',
'<div class="synch-tip-root <% if (!!scope.options.extCls) {print(scope.options.extCls + \" \");} %><%= scope.placement %>" style="<%= scope.style %>">',
'<div class="asc-synchronizetip">',
'<div class="tip-arrow <%= scope.placement %>"></div>',
'<div>',
@ -76,11 +76,13 @@ define([
this.target = this.options.target;
this.text = !_.isEmpty(this.options.text) ? this.options.text : this.textSynchronize;
this.textLink = !_.isEmpty(this.options.textLink) ? this.options.textLink : this.textDontShow;
this.placement = this.options.placement;
this.placement = this.options.placement; // if placement='target' and position is undefined show in top,left position of target, also use for arrow position
this.showLink = this.options.showLink;
this.showButton = this.options.showButton;
this.closable = this.options.closable;
this.textButton = this.options.textButton || '';
this.position = this.options.position; // show in the position relative to target
this.style = this.options.style || '';
},
render: function() {
@ -90,6 +92,8 @@ define([
this.cmpEl.find('.close').on('click', _.bind(function() { this.trigger('closeclick');}, this));
this.cmpEl.find('.show-link label').on('click', _.bind(function() { this.trigger('dontshowclick');}, this));
this.cmpEl.find('.btn-div').on('click', _.bind(function() { this.trigger('buttonclick');}, this));
this.closable && this.cmpEl.addClass('closable');
}
this.applyPlacement();
@ -115,12 +119,28 @@ define([
},
applyPlacement: function () {
var showxy = this.target.offset();
if (this.placement=='target') {
var target = this.target && this.target.length>0 ? this.target : $(document.body);
var showxy = target.offset();
if (this.placement=='target' && !this.position) {
this.cmpEl.css({top : showxy.top + 5 + 'px', left: showxy.left + 5 + 'px'});
return;
}
if (this.position && typeof this.position == 'object') {
var top = this.position.top, left = this.position.left, bottom = this.position.bottom, right = this.position.right;
if (bottom!==undefined || top!==undefined)
left = showxy.left + (target.width() - this.cmpEl.width())/2;
else
top = showxy.top + (target.height() - this.cmpEl.height())/2;
top = (top!==undefined) ? (top + 'px') : 'auto';
bottom = (bottom!==undefined) ? (bottom + 'px') : 'auto';
right = (right!==undefined) ? (right + 'px') : 'auto';
left = (left!==undefined) ? (left + 'px') : 'auto';
this.cmpEl.css({top : top, left: left, right: right, bottom: bottom});
return;
}
var placement = this.placement.split('-');
if (placement.length>0) {
var top, left, bottom, right;
@ -128,34 +148,40 @@ define([
if (pos=='top') {
bottom = Common.Utils.innerHeight() - showxy.top;
} else if (pos == 'bottom') {
top = showxy.top + this.target.height();
top = showxy.top + target.height();
} else if (pos == 'left') {
right = Common.Utils.innerWidth() - showxy.left;
} else if (pos == 'right') {
left = showxy.left + this.target.width();
left = showxy.left + target.width();
}
pos = placement[1];
if (pos=='top') {
bottom = Common.Utils.innerHeight() - showxy.top - this.target.height()/2;
bottom = Common.Utils.innerHeight() - showxy.top - target.height()/2;
} else if (pos == 'bottom') {
top = showxy.top + this.target.height()/2;
top = showxy.top + target.height()/2;
var height = this.cmpEl.height();
if (top+height>Common.Utils.innerHeight())
top = Common.Utils.innerHeight() - height - 10;
} else if (pos == 'left') {
right = Common.Utils.innerWidth() - showxy.left - this.target.width()/2;
right = Common.Utils.innerWidth() - showxy.left - target.width()/2;
} else if (pos == 'right') {
left = showxy.left + this.target.width()/2;
left = showxy.left + target.width()/2;
} else {
if (bottom!==undefined || top!==undefined)
left = showxy.left + (this.target.width() - this.cmpEl.width())/2;
left = showxy.left + (target.width() - this.cmpEl.width())/2;
else
top = showxy.top + (this.target.height() - this.cmpEl.height())/2;
top = showxy.top + (target.height() - this.cmpEl.height())/2;
}
top = (top!==undefined) ? (top + 'px') : 'auto';
bottom = (bottom!==undefined) ? (bottom + 'px') : 'auto';
left = (left!==undefined) ? (left + 'px') : 'auto';
right = (right!==undefined) ? (right + 'px') : 'auto';
if (left!==undefined) {
var width = this.cmpEl.width();
if (left+width>Common.Utils.innerWidth())
left = Common.Utils.innerWidth() - width - 10;
left = (left + 'px');
} else
left = 'auto';
this.cmpEl.css({top : top, left: left, right: right, bottom: bottom});
}
},

View file

@ -177,11 +177,11 @@ define([
lockDrag = true;
}
});
if (((this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1) && !(e.ctrlKey || e.metaKey)) || this.bar.isEditFormula) {
if (((this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1) && !(e.ctrlKey || (Common.Utils.isMac && e.altKey))) || this.bar.isEditFormula) {
lockDrag = true;
}
// move last selected sheet if all sheets are selected
if (this.bar.selectTabs.length === this.bar.tabs.length && this.bar.tabs.length > 1 && !e.ctrlKey && !e.metaKey) {
if (this.bar.selectTabs.length === this.bar.tabs.length && this.bar.tabs.length > 1 && !e.ctrlKey && !(Common.Utils.isMac && e.altKey)) {
lockDrag = false;
this.bar.$el.find('ul > li.selected').removeClass('selected');
}
@ -221,7 +221,7 @@ define([
if (!this.bar.isEditFormula) {
this.bar.$el.find('.mousemove').removeClass('mousemove right');
$(e.currentTarget).parent().addClass('mousemove');
event.dataTransfer.dropEffect = event.metaKey || event.ctrlKey ? 'copy' : 'move';
event.dataTransfer.dropEffect = (event.ctrlKey || Common.Utils.isMac && event.altKey) ? 'copy' : 'move';
} else {
event.dataTransfer.dropEffect = 'none';
}
@ -234,7 +234,7 @@ define([
if (!this.bar.isEditFormula) {
this.bar.$el.find('.mousemove').removeClass('mousemove right');
$(e.currentTarget).parent().addClass('mousemove');
event.dataTransfer.dropEffect = event.metaKey || event.ctrlKey ? 'copy' : 'move';
event.dataTransfer.dropEffect = (event.ctrlKey || Common.Utils.isMac && event.altKey) ? 'copy' : 'move';
} else {
event.dataTransfer.dropEffect = 'none';
}
@ -244,6 +244,9 @@ define([
$(e.currentTarget).parent().removeClass('mousemove right');
}, this),
dragend: $.proxy(function (e) {
if (Common.Utils.isMac && e.altKey) { // don't show alt hints after copy by drag and drop
this.bar.isDragDrop = true;
}
var event = e.originalEvent;
if (event.dataTransfer.dropEffect === 'move' && !event.dataTransfer.mozUserCancelled) {
this.bar.trigger('tab:dragend', true);
@ -253,10 +256,13 @@ define([
this.bar.$el.find('.mousemove').removeClass('mousemove right');
}, this),
drop: $.proxy(function (e) {
if (Common.Utils.isMac && e.altKey) { // don't show alt hints after copy by drag and drop
this.bar.isDragDrop = true;
}
var event = e.originalEvent,
index = $(event.currentTarget).data('index');
this.bar.$el.find('.mousemove').removeClass('mousemove right');
this.bar.trigger('tab:drop', event.dataTransfer, index, event.ctrlKey || event.metaKey);
this.bar.trigger('tab:drop', event.dataTransfer, index, (event.ctrlKey || Common.Utils.isMac && event.altKey));
this.bar.isDrop = true;
}, this)
});
@ -299,7 +305,7 @@ define([
}, this));
addEvent(this.$bar[0], 'dragenter', _.bind(function (event) {
if (!this.isEditFormula) {
event.dataTransfer.dropEffect = event.metaKey || event.ctrlKey ? 'copy' : 'move';
event.dataTransfer.dropEffect = (event.ctrlKey || Common.Utils.isMac && event.altKey) ? 'copy' : 'move';
} else {
event.dataTransfer.dropEffect = 'none';
}
@ -308,7 +314,7 @@ define([
if (event.preventDefault) {
event.preventDefault(); // Necessary. Allows us to drop.
}
event.dataTransfer.dropEffect = !this.isEditFormula ? (event.metaKey || event.ctrlKey ? 'copy' : 'move') : 'none';
event.dataTransfer.dropEffect = !this.isEditFormula ? ((event.ctrlKey || Common.Utils.isMac && event.altKey) ? 'copy' : 'move') : 'none';
!this.isEditFormula && this.tabs[this.tabs.length - 1].$el.addClass('mousemove right');
return false;
}, this));
@ -319,7 +325,10 @@ define([
addEvent(this.$bar[0], 'drop', _.bind(function (event) {
this.$el.find('.mousemove').removeClass('mousemove right');
if (this.isDrop === undefined) {
this.trigger('tab:drop', event.dataTransfer, 'last', event.ctrlKey || event.metaKey);
if (Common.Utils.isMac && event.altKey) { // don't show alt hints after copy by drag and drop
this.isDragDrop = true;
}
this.trigger('tab:drop', event.dataTransfer, 'last', (event.ctrlKey || Common.Utils.isMac && event.altKey));
} else {
this.isDrop = undefined;
}
@ -504,10 +513,10 @@ define([
},
setTabVisible: function(index, suppress) {
if (index <= 0 || index == 'first') {
if (index <= 0) {
this.$bar.scrollLeft(0);
this.checkInvisible(suppress);
} else if ( index >= (this.tabs.length - 1) || index == 'last') {
} else if ( index >= (this.tabs.length - 1)) {
var tab = this.tabs[this.tabs.length-1].$el;
if (this.$bar.find('.separator-item').length === 0) {
this.$bar.append('<li class="separator-item"><span></span></li>');
@ -601,7 +610,7 @@ define([
return false;
},
addDataHint: function (index) { //Hint Manager
addDataHint: function (index, dataHint) { //Hint Manager
var oldHintTab = this.$bar.find('[data-hint]');
if (oldHintTab.length > 0) {
oldHintTab.removeAttr('data-hint');
@ -610,7 +619,7 @@ define([
oldHintTab.removeAttr('data-hint-title');
}
var newHintTab = this.tabs[index].$el;
newHintTab.attr('data-hint', '0');
newHintTab.attr('data-hint', dataHint || '0');
newHintTab.attr('data-hint-direction', 'top');
newHintTab.attr('data-hint-offset', 'medium');
newHintTab.attr('data-hint-title', 'M');

View file

@ -183,6 +183,7 @@ define([
},
setDisabled: function(disabled) {
disabled = !!disabled;
this.disabled = disabled;
$(this.el).toggleClass('disabled', disabled);
disabled

View file

@ -52,7 +52,9 @@ define([
dynamiccolors: 10,
standardcolors: 10,
themecolors: 10,
columns: 10,
effects: 5,
hideEmptyColors: true,
allowReselect: true,
transparent: false,
value: '000000',
@ -62,7 +64,7 @@ define([
template :
_.template(
'<div style="padding: 8px 12px 12px;">' +
'<div style="padding: 4px 0 0 12px;">' +
'<% var me = this; var idx = 0; %>' +
'<% $(colors).each(function(num, item) { %>' +
'<% if (me.isBlankSeparator(item)) { %> <div class="palette-color-spacer" style="width:100%;height:8px;float:left;"></div>' +
@ -76,6 +78,9 @@ define([
'<em><span unselectable="on">&#160;</span></em>' +
'</a>' +
'<% } else if (me.isEffect(item)) { %>' +
'<% if (idx>0 && me.columns>0 && idx%me.columns===0) { %> ' +
'<div style="width:100%;height:0;float:left;"></div>' +
'<% } %>' +
'<a effectid="<%=item.effectId%>" effectvalue="<%=item.effectValue%>" class="palette-color-effect color-<%=item.color%>" style="background:#<%=item.color%>" idx="<%=idx++%>">' +
'<em><span style="background:#<%=item.color%>;" unselectable="on">&#160;</span></em>' +
'</a>' +
@ -85,9 +90,11 @@ define([
'<% }); %>' +
'</div>' +
'<% if (me.options.dynamiccolors!==undefined) { %>' +
'<div class="palette-color-spacer" style="width:100%;height:8px;float:left;"></div><div style="padding: 12px;">' +
'<div class="palette-color-dynamiccolors" style="padding: 4px 0 0 12px">' +
'<div class="palette-color-spacer" style="width:100%;height:8px;float:left;"></div>' +
'<div class="palette-color-caption" style="width:100%;float:left;font-size: 11px;"><%=me.textRecentColors%></div>' +
'<% for (var i=0; i<me.options.dynamiccolors; i++) { %>' +
'<a class="color-dynamic-<%=i%> dynamic-empty-color" color="" idx="<%=idx++%>">' +
'<a class="color-dynamic-<%=i%> dynamic-empty-color <%= me.emptyColorsClass %>" color="" idx="<%=idx++%>">' +
'<em><span unselectable="on">&#160;</span></em></a>' +
'<% } %>' +
'<% } %>' +
@ -103,10 +110,12 @@ define([
el = me.$el || $(this.el);
this.colors = me.options.colors || this.generateColorData(me.options.themecolors, me.options.effects, me.options.standardcolors, me.options.transparent);
this.columns = me.options.columns || 0;
this.enableKeyEvents= me.options.enableKeyEvents;
this.tabindex = me.options.tabindex || 0;
this.outerMenu = me.options.outerMenu;
this.lastSelectedIdx = -1;
this.emptyColorsClass = me.options.hideEmptyColors ? 'hidden' : '';
me.colorItems = [];
if (me.options.keyMoveDirection=='vertical')
@ -123,6 +132,15 @@ define([
this.updateColors(this.options.updateColorsArr[0], this.options.updateColorsArr[1]);
if (this.options.value)
this.select(this.options.value, true);
if (this.options.outerMenu && this.options.outerMenu.focusOnShow && this.options.outerMenu.menu) {
el.addClass('focused');
this.options.outerMenu.menu.on('show:after', function(menu) {
_.delay(function() {
me.showLastSelected();
me.focus();
}, 10);
});
}
this.updateCustomColors();
el.closest('.btn-group').on('show.bs.dropdown', _.bind(this.updateCustomColors, this));
el.closest('.dropdown-submenu').on('show.bs.dropdown', _.bind(this.updateCustomColors, this));
@ -171,15 +189,19 @@ define([
if (color) { // custom color was selected
color = color.toUpperCase();
selected.removeClass(this.selectedCls);
this.lastSelectedIdx = -1;
}
var colors = Common.localStorage.getItem('asc.'+Common.localStorage.getId()+'.colors.custom');
colors = colors ? colors.split(',') : [];
var i = -1, colorEl, c = colors.length < this.options.dynamiccolors ? colors.length : this.options.dynamiccolors;
if (this.options.hideEmptyColors && this._layoutParams && el.find('.dynamic-empty-color').length !== (this.options.dynamiccolors - c)) {// recalc indexed if change custom colors
this._layoutParams = undefined;
}
while (++i < c) {
colorEl = el.find('.color-dynamic-'+ i);
colorEl.removeClass('dynamic-empty-color').attr('color', colors[i]);
colorEl.removeClass('dynamic-empty-color').removeClass(this.emptyColorsClass).attr('color', colors[i]);
colorEl.find('span').css({
'background-color': '#'+colors[i]
});
@ -189,6 +211,16 @@ define([
color = undefined; //select only first found color
}
}
while (i < this.options.dynamiccolors) {
colorEl = el.find('.color-dynamic-'+ i);
colorEl.removeAttr('color');
colorEl.addClass('dynamic-empty-color').addClass(this.emptyColorsClass);
colorEl.find('span').css({
'background-color': 'transparent'
});
i++;
}
el.find('.palette-color-dynamiccolors').toggleClass(this.emptyColorsClass, c===0);
}
},
@ -197,7 +229,7 @@ define([
var target = $(e.target).closest('a');
var color, cmp;
if (target.length==0) return;
if (target.length==0) return false;
if (target.hasClass('color-transparent') ) {
me.clearSelection(true);
@ -265,12 +297,16 @@ define([
if (child.length==0) {
this.updateCustomColors();
child = el.find('.color-dynamic-' + (this.options.dynamiccolors - 1));
} else {
if (this.options.hideEmptyColors && this._layoutParams) // recalc indexed
this._layoutParams = undefined;
}
child.first().removeClass('dynamic-empty-color').addClass(this.selectedCls).attr('color', color[1]);
child.first().removeClass('dynamic-empty-color').removeClass(this.emptyColorsClass).addClass(this.selectedCls).attr('color', color[1]);
child.first().find('span').css({
'background-color': '#'+color[1]
});
el.find('.palette-color-dynamiccolors').removeClass(this.emptyColorsClass);
this.select(color[1], true);
}
},
@ -483,7 +519,7 @@ define([
var arr = [],
len = (themecolors>0 && effects>0) ? themecolors * effects : 0;
if (themecolors>0) {
arr = [this.textThemeColors, '-'];
arr = [this.textThemeColors];
for (var i=0; i<themecolors; i++)
arr.push({color: 'FFFFFF', effectId: 1});
@ -492,10 +528,10 @@ define([
arr.push({color: 'FFFFFF', effectId: 1});
if (standardcolors)
arr.push('-', '--', '-');
arr.push('-');
}
if (standardcolors) {
arr.push(this.textStandartColors, '-');
arr.push(this.textStandartColors);
if (transparent) {
arr.push('transparent');
standardcolors--;
@ -503,8 +539,6 @@ define([
for (var i=0; i<standardcolors; i++)
arr.push('FFFFFF');
}
if (this.options.dynamiccolors && (themecolors || standardcolors))
arr.push('-', '--');
return arr;
},
@ -640,6 +674,7 @@ define([
},
textThemeColors : 'Theme Colors',
textStandartColors : 'Standart Colors'
textStandartColors : 'Standard Colors',
textRecentColors : 'Recent Colors'
}, Common.UI.ThemeColorPalette || {}));
});

View file

@ -104,12 +104,17 @@
offset : opts.offset,
cls : opts.cls,
html : opts.html,
hideonclick : opts.hideonclick
hideonclick : opts.hideonclick,
keepvisible: opts.keepvisible
});
if (opts.hideonclick) {
var me = this;
var tip = this.$element.data('bs.tooltip');
if (tip) tip.tip().on('click', function() {tip.hide();});
if (tip) tip.tip().on('click', function() {
tip.hide();
me.trigger('tooltip:hideonclick', this);
});
}
this.$element.on('shown.bs.tooltip', _.bind(this.onTipShown, this));

View file

@ -212,19 +212,7 @@ define([
this.dataViewItems.push(view);
}
var name = record.get('name');
if (name.length > 37 - record.get('level')*2)
record.set('tip', name);
if (record.get('tip')) {
var view_el = $(view.el);
view_el.attr('data-toggle', 'tooltip');
view_el.tooltip({
title : record.get('tip'),
placement : 'cursor',
zIndex : this.tipZIndex
});
}
this.updateTip(view);
this.listenTo(view, 'change', this.onChangeItem);
this.listenTo(view, 'remove', this.onRemoveItem);
this.listenTo(view, 'click', this.onClickItem);
@ -247,31 +235,31 @@ define([
var isExpanded = !record.get('isExpanded');
record.set('isExpanded', isExpanded);
this.store[(isExpanded) ? 'expandSubItems' : 'collapseSubItems'](record);
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
} else
Common.UI.DataView.prototype.onClickItem.call(this, view, record, e);
},
expandAll: function() {
this.store.expandAll();
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
},
collapseAll: function() {
this.store.collapseAll();
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
},
expandToLevel: function(expandLevel) {
this.store.expandToLevel(expandLevel);
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
},
expandRecord: function(record) {
if (record) {
record.set('isExpanded', true);
this.store.expandSubItems(record);
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
}
},
@ -279,7 +267,7 @@ define([
if (record) {
record.set('isExpanded', false);
this.store.collapseSubItems(record);
this.scroller.update({minScrollbarLength: 40, alwaysVisibleY: this.scrollAlwaysVisible});
this.scroller.update({minScrollbarLength: this.minScrollbarLength, alwaysVisibleY: this.scrollAlwaysVisible});
}
},
@ -361,6 +349,51 @@ define([
focus: function() {
this.cmpEl && this.cmpEl.find('.treeview').focus();
},
updateTip: function(item) {
var record = item.model,
name = record.get('name'),
me = this;
if (name.length > 37 - record.get('level')*2)
record.set('tip', name);
else
record.set('tip', '');
var el = item.$el || $(item.el);
var tip = el.data('bs.tooltip');
if (tip) {
if (tip.dontShow===undefined)
tip.dontShow = true;
el.removeData('bs.tooltip');
}
if (record.get('tip')) {
el.attr('data-toggle', 'tooltip');
el.tooltip({
title : record.get('tip'),
placement : 'cursor',
zIndex : this.tipZIndex
});
if (this.delayRenderTips)
el.one('mouseenter', function(){
el.attr('data-toggle', 'tooltip');
el.tooltip({
title : record.get('tip'),
placement : 'cursor',
zIndex : me.tipZIndex
});
el.mouseenter();
});
else {
el.attr('data-toggle', 'tooltip');
el.tooltip({
title : record.get('tip'),
placement : 'cursor',
zIndex : me.tipZIndex
});
}
}
}
}
})());

View file

@ -241,7 +241,7 @@ define([
function _autoSize() {
if (this.initConfig.height == 'auto') {
var height = parseInt(this.$window.find('> .body').css('height'));
var height = Math.ceil(parseFloat(this.$window.find('> .body').css('height')));
this.initConfig.header && (height += parseInt(this.$window.find('> .header').css('height')));
this.$window.height(height);
}
@ -490,7 +490,8 @@ define([
if (options.width=='auto') {
text_cnt.height(Math.max(text.height(), icon_height) + ((check.length>0) ? (check.height() + parseInt(check.css('margin-top'))) : 0));
body.height(parseInt(text_cnt.css('height')) + parseInt(footer.css('height')));
window.setSize(text.position().left + text.width() + parseInt(text_cnt.css('padding-right')),
var span_el = check.find('span');
window.setSize(Math.max(text.width(), span_el.length>0 ? span_el.position().left + span_el.width() : 0) + text.position().left + parseInt(text_cnt.css('padding-right')),
parseInt(body.css('height')) + parseInt(header.css('height')));
} else {
text.css('white-space', 'normal');

View file

@ -85,6 +85,14 @@ define([
storeUsers: this.getApplication().getCollection('Common.Collections.Users'),
storeMessages: this.getApplication().getCollection('Common.Collections.ChatMessages')
});
this.panelChat.on('render:after', _.bind(this.onAfterRender, this));
},
onAfterRender: function(panel) {
var viewport = this.getApplication().getController('Viewport').getView('Viewport');
viewport.hlayout.on('layout:resizedrag', _.bind(function () {
panel && panel.updateScrolls();
}, this));
},
setMode: function(mode) {
@ -95,7 +103,7 @@ define([
if (this.mode.canCoAuthoring && this.mode.canChat)
this.api.asc_registerCallback('asc_onCoAuthoringChatReceiveMessage', _.bind(this.onReceiveMessage, this));
if ( !this.mode.isEditDiagram && !this.mode.isEditMailMerge ) {
if ( !this.mode.isEditDiagram && !this.mode.isEditMailMerge && !this.mode.isEditOle ) {
this.api.asc_registerCallback('asc_onAuthParticipantsChanged', _.bind(this.onUsersChanged, this));
this.api.asc_registerCallback('asc_onConnectionStateChanged', _.bind(this.onUserConnection, this));
this.api.asc_coAuthoringGetUsers();

View file

@ -103,7 +103,8 @@ define([
// work handlers
'comment:closeEditing': _.bind(this.closeEditing, this),
'comment:sort': _.bind(this.setComparator, this)
'comment:sort': _.bind(this.setComparator, this),
'comment:filtergroups': _.bind(this.setFilterGroups, this)
},
'Common.Views.ReviewPopover': {
@ -157,6 +158,7 @@ define([
}
this.groupCollection = [];
this.userGroups = []; // for filtering comments
this.view = this.createView('Common.Views.Comments', { store: this.collection });
this.view.render();
@ -695,14 +697,15 @@ define([
var end = true;
for (var i = this.collection.length - 1; i >= 0; --i) {
if (end) {
this.collection.at(i).set('last', true, {silent: true});
} else {
if (this.collection.at(i).get('last')) {
this.collection.at(i).set('last', false, {silent: true});
}
}
var item = this.collection.at(i);
if (end && !item.get('hide') && !item.get('filtered')) {
item.set('last', true, {silent: true});
end = false;
} else {
if (item.get('last')) {
item.set('last', false, {silent: true});
}
}
}
this.view.render();
this.view.update();
@ -820,6 +823,7 @@ define([
comment.set('userid', data.asc_getUserId());
comment.set('username', data.asc_getUserName());
comment.set('parsedName', AscCommon.UserInfoParser.getParsedName(data.asc_getUserName()));
comment.set('parsedGroups', AscCommon.UserInfoParser.getParsedGroups(data.asc_getUserName()));
comment.set('usercolor', (user) ? user.get('color') : null);
comment.set('resolved', data.asc_getSolved());
comment.set('quote', data.asc_getQuoteText());
@ -830,6 +834,14 @@ define([
comment.set('removable', (t.mode.canDeleteComments || (data.asc_getUserId() == t.currentUserId)) && AscCommon.UserInfoParser.canDeleteComment(data.asc_getUserName()));
comment.set('hide', !AscCommon.UserInfoParser.canViewComment(data.asc_getUserName()));
if (!comment.get('hide')) {
var usergroups = comment.get('parsedGroups');
t.fillUserGroups(usergroups);
var group = Common.Utils.InternalSettings.get(t.appPrefix + "comments-filtergroups");
var filter = !!group && (group!==-1) && (!usergroups || usergroups.length<1 || usergroups.indexOf(group)<0);
comment.set('filtered', filter);
}
replies = _.clone(comment.get('replys'));
replies.length = 0;
@ -1148,14 +1160,15 @@ define([
this.onUpdateFilter(this.filter, true);
for (i = this.collection.length - 1; i >= 0; --i) {
if (end) {
this.collection.at(i).set('last', true, {silent: true});
} else {
if (this.collection.at(i).get('last')) {
this.collection.at(i).set('last', false, {silent: true});
}
}
var item = this.collection.at(i);
if (end && !item.get('hide') && !item.get('filtered')) {
item.set('last', true, {silent: true});
end = false;
} else {
if (item.get('last')) {
item.set('last', false, {silent: true});
}
}
}
this.view.render();
@ -1306,6 +1319,7 @@ define([
userid : data.asc_getUserId(),
username : data.asc_getUserName(),
parsedName : AscCommon.UserInfoParser.getParsedName(data.asc_getUserName()),
parsedGroups : AscCommon.UserInfoParser.getParsedGroups(data.asc_getUserName()),
usercolor : (user) ? user.get('color') : null,
date : this.dateToLocaleTimeString(date),
quote : data.asc_getQuoteText(),
@ -1329,6 +1343,13 @@ define([
groupName : (groupname && groupname.length>1) ? groupname[1] : null
});
if (comment) {
if (!comment.get('hide')) {
var usergroups = comment.get('parsedGroups');
this.fillUserGroups(usergroups);
var group = Common.Utils.InternalSettings.get(this.appPrefix + "comments-filtergroups");
var filter = !!group && (group!==-1) && (!usergroups || usergroups.length<1 || usergroups.indexOf(group)<0);
comment.set('filtered', filter);
}
var replies = this.readSDKReplies(data);
if (replies.length) {
comment.set('replys', replies);
@ -1639,6 +1660,64 @@ define([
clearCollections: function() {
this.collection.reset();
this.groupCollection = [];
},
fillUserGroups: function(usergroups) {
if (!this.mode.canUseCommentPermissions) return;
var viewgroups = AscCommon.UserInfoParser.getCommentPermissions('view');
if (usergroups && usergroups.length>0) {
if (viewgroups)
usergroups = _.intersection(usergroups, viewgroups);
usergroups = _.uniq(this.userGroups.concat(usergroups));
}
if (this.view && this.view.buttonSort && _.difference(usergroups, this.userGroups).length>0) {
this.userGroups = usergroups;
var menu = this.view.buttonSort.menu;
menu.items[menu.items.length-1].setVisible(this.userGroups.length>0);
menu.items[menu.items.length-2].setVisible(this.userGroups.length>0);
menu = menu.items[menu.items.length-1].menu;
menu.removeAll();
var last = Common.Utils.InternalSettings.get(this.appPrefix + "comments-filtergroups");
menu.addItem(new Common.UI.MenuItem({
checkable: true,
checked: last===-1 || last===undefined,
toggleGroup: 'filtercomments',
caption: this.view.textAll,
value: -1
}));
this.userGroups.forEach(function(item){
menu.addItem(new Common.UI.MenuItem({
checkable: true,
checked: last === item,
toggleGroup: 'filtercomments',
caption: Common.Utils.String.htmlEncode(item),
value: item
}));
});
}
},
setFilterGroups: function (group) {
Common.Utils.InternalSettings.set(this.appPrefix + "comments-filtergroups", group);
var i, end = true;
for (i = this.collection.length - 1; i >= 0; --i) {
var item = this.collection.at(i);
if (!item.get('hide')) {
var usergroups = item.get('parsedGroups');
item.set('filtered', !!group && (group!==-1) && (!usergroups || usergroups.length<1 || usergroups.indexOf(group)<0), {silent: true});
}
if (end && !item.get('hide') && !item.get('filtered')) {
item.set('last', true, {silent: true});
end = false;
} else {
if (item.get('last')) {
item.set('last', false, {silent: true});
}
}
}
this.updateComments(true);
}
}, Common.Controllers.Comments || {}));

View file

@ -45,7 +45,8 @@ define([
version: '{{PRODUCT_VERSION}}',
eventloading: true,
titlebuttons: true,
uithemes: true
uithemes: true,
quickprint: true,
};
var native = window.desktop || window.AscDesktopEditor;
@ -60,8 +61,12 @@ define([
'btn-save-coauth': 'coauth',
'btn-synch': 'synch' };
var nativevars;
if ( !!native ) {
native.features = native.features || {};
nativevars = window.RendererProcessVariable;
window.on_native_message = function (cmd, param) {
if (/^style:change/.test(cmd)) {
var obj = JSON.parse(param);
@ -88,7 +93,12 @@ define([
Common.Utils.InternalSettings.set('window-inactive-area-top', obj.skiptoparea);
} else
if ( obj.lockthemes != undefined ) {
Common.UI.Themes.setAvailable(!obj.lockthemes);
// TODO: remove after 7.0.2. depricated. used is_win_xp variable instead
// Common.UI.Themes.setAvailable(!obj.lockthemes);
}
if ( obj.singlewindow !== undefined ) {
$('#box-document-title .hedset')[obj.singlewindow ? 'hide' : 'show']();
native.features.singlewindow = obj.singlewindow;
}
} else
if (/editor:config/.test(cmd)) {
@ -130,6 +140,10 @@ define([
if (!!_mr[1]) $('#app-title').show();
else if (!!_mr[2]) $('#app-title').hide();
}
} else
if (/althints:show/.test(cmd)) {
if ( /false|hide/.test(param) )
Common.NotificationCenter.trigger('hints:clear');
}
};
@ -153,7 +167,8 @@ define([
action: action,
icon: config.icon || undefined,
hint: config.btn.options.hint,
disabled: config.btn.isDisabled()
disabled: config.btn.isDisabled(),
visible: config.visible,
};
};
@ -180,11 +195,56 @@ define([
}
};
var _onHintsShow = function (visible, level) {
let info = {
visible: visible && !(level > 0),
};
if ( !!titlebuttons ) {
info.hints = {};
!!titlebuttons['print'] && (info.hints['print'] = titlebuttons['print'].btn.btnEl.attr('data-hint-title'));
!!titlebuttons['quickprint'] && (info.hints['quickprint'] = titlebuttons['quickprint'].btn.btnEl.attr('data-hint-title'));
!!titlebuttons['undo'] && (info.hints['undo'] = titlebuttons['undo'].btn.btnEl.attr('data-hint-title'));
!!titlebuttons['redo'] && (info.hints['redo'] = titlebuttons['redo'].btn.btnEl.attr('data-hint-title'));
!!titlebuttons['save'] && (info.hints['save'] = titlebuttons['save'].btn.btnEl.attr('data-hint-title'));
}
native.execCommand('althints:show', JSON.stringify(info));
}
var _onKeyDown = function (e) {
if ( Common.UI.HintManager.isHintVisible() ) {
native.execCommand('althints:keydown', JSON.stringify({code:e.keyCode}));
console.log('hint keydown', e.keyCode);
}
}
const _onApplySettings = function (menu) {
if ( !!titlebuttons.quickprint ) {
const var_name = window.SSE ? 'sse-settings-quick-print-button' :
window.PE ? 'pe-settings-quick-print-button' : 'de-settings-quick-print-button';
const is_btn_visible = Common.localStorage.getBool(var_name, false);
if ( titlebuttons.quickprint.visible != is_btn_visible ) {
titlebuttons.quickprint.visible = is_btn_visible;
const obj = {
visible: {
quickprint: is_btn_visible,
}
};
native.execCommand('title:button', JSON.stringify(obj));
}
}
}
return {
init: function (opts) {
_.extend(config, opts);
if ( config.isDesktopApp ) {
let is_win_xp = nativevars && nativevars.os === 'winxp';
Common.UI.Themes.setAvailable(!is_win_xp);
Common.NotificationCenter.on('app:ready', function (opts) {
_.extend(config, opts);
!!native && native.execCommand('doc:onready', '');
@ -194,9 +254,45 @@ define([
Common.NotificationCenter.on('document:ready', function () {
if ( config.isEdit ) {
var maincontroller = webapp.getController('Main');
if (maincontroller.api.asc_isReadOnly && maincontroller.api.asc_isReadOnly()) {
maincontroller.warningDocumentIsLocked();
function get_locked_message (t) {
switch (t) {
// case Asc.c_oAscLocalRestrictionType.Nosafe:
case Asc.c_oAscLocalRestrictionType.ReadOnly:
return Common.Locale.get("tipFileReadOnly",{name:"Common.Translation", default: "Document is read only. You can make changes and save its local copy later."});
default: return Common.Locale.get("tipFileLocked",{name:"Common.Translation", default: "Document is locked for editing. You can make changes and save its local copy later."});
}
}
const header = webapp.getController('Viewport').getView('Common.Views.Header');
const api = webapp.getController('Main').api;
const locktype = api.asc_getLocalRestrictions ? api.asc_getLocalRestrictions() : Asc.c_oAscLocalRestrictionType.None;
if ( Asc.c_oAscLocalRestrictionType.None !== locktype ) {
features.readonly = true;
header.setDocumentReadOnly(true);
api.asc_setLocalRestrictions(Asc.c_oAscLocalRestrictionType.None);
(new Common.UI.SynchronizeTip({
extCls: 'no-arrow',
placement: 'bottom',
target: $('.toolbar'),
text: get_locked_message(locktype),
showLink: false,
})).on('closeclick', function () {
this.close();
}).show();
native.execCommand('webapps:features', JSON.stringify(features));
api.asc_registerCallback('asc_onDocumentName', function () {
if ( features.readonly ) {
if ( api.asc_getLocalRestrictions() == Asc.c_oAscLocalRestrictionType.None ) {
features.readonly = false;
header.setDocumentReadOnly(false);
native.execCommand('webapps:features', JSON.stringify(features));
}
}
});
}
}
});
@ -208,7 +304,7 @@ define([
titlebuttons = {};
if ( mode.isEdit ) {
var header = webapp.getController('Viewport').getView('Common.Views.Header');
const header = webapp.getController('Viewport').getView('Common.Views.Header');
if (!!header.btnSave) {
titlebuttons['save'] = {btn: header.btnSave};
@ -219,6 +315,13 @@ define([
if (!!header.btnPrint)
titlebuttons['print'] = {btn: header.btnPrint};
if (!!header.btnPrintQuick) {
titlebuttons['quickprint'] = {
btn: header.btnPrintQuick,
visible: header.btnPrintQuick.isVisible(),
};
}
if (!!header.btnUndo)
titlebuttons['undo'] = {btn: header.btnUndo};
@ -240,28 +343,45 @@ define([
config.callback_editorconfig();
delete config.callback_editorconfig;
}
if ( native.features.singlewindow !== undefined ) {
$('#box-document-title .hedset')[native.features.singlewindow ? 'hide' : 'show']();
}
});
Common.NotificationCenter.on({
'modal:show': _onModalDialog.bind(this, 'open'),
'modal:close': _onModalDialog.bind(this, 'close')
, 'uitheme:changed' : function (name) {
'modal:close': _onModalDialog.bind(this, 'close'),
'modal:hide': _onModalDialog.bind(this, 'hide'),
'uitheme:changed' : function (name) {
if (Common.localStorage.getBool('ui-theme-use-system', false)) {
native.execCommand("uitheme:changed", JSON.stringify({name:'theme-system'}));
} else {
var theme = Common.UI.Themes.get(name);
if ( theme )
native.execCommand("uitheme:changed", JSON.stringify({name:name, type:theme.type}));
}
},
'hints:show': _onHintsShow.bind(this),
});
webapp.addListeners({
'FileMenu': {
'item:click': function (menu, action, isopts) {
if ( action == 'app:exit' ) {
native.execCommand('editor:event', JSON.stringify({action: 'close'}));
if ( action == 'file:exit' ) {
native.execCommand('editor:event', JSON.stringify({action: 'file:close'}));
menu.hide();
} else
if ( action == 'file:open' ) {
native.execCommand('editor:event', JSON.stringify({action: 'file:open'}));
menu.hide();
}
},
'settings:apply': _onApplySettings.bind(this),
},
}, {id: 'desktop'});
$(document).on('keydown', _onKeyDown.bind(this));
}
},
process: function (opts) {
@ -287,7 +407,7 @@ define([
},
requestClose: function () {
if ( config.isDesktopApp && !!native ) {
native.execCommand('editor:event', JSON.stringify({action:'close', url: config.customization.goback.url}));
native.execCommand('editor:event', JSON.stringify({action:'file:close', url: config.customization.goback.url}));
}
},
isActive: function () {
@ -297,6 +417,28 @@ define([
// return webapp.getController('Main').api.asc_isOffline();
return webapp.getController('Main').appOptions.isOffline;
},
isFeatureAvailable: function (feature) {
return !!native && !!native[feature];
},
call: function (name) {
if ( native[name] ) {
let args = [].slice.call(arguments, 1);
// return native[name](...args);
return native[name].apply(this, args);
}
},
helpUrl: function () {
if ( !!nativevars && nativevars.helpUrl ) {
var webapp = window.SSE ? 'spreadsheeteditor' :
window.PE ? 'presentationeditor' : 'documenteditor';
return nativevars.helpUrl + '/' + webapp + '/main/resources/help';
}
return undefined;
},
getDefaultPrinterName: function () {
return nativevars ? nativevars.defaultPrinterName : '';
},
};
};

View file

@ -142,6 +142,7 @@ define([
setApi: function(api) {
this.api = api;
this.api.asc_registerCallback('asc_onCloseChartEditor', _.bind(this.onDiagrammEditingDisabled, this));
this.api.asc_registerCallback('asc_sendFromGeneralToFrameEditor', _.bind(this.onSendFromGeneralToFrameEditor, this));
return this;
},
@ -185,7 +186,7 @@ define([
iconCls: 'warn',
buttons: ['ok'],
callback: _.bind(function(btn){
this.setControlsDisabled(false);
this.diagramEditorView.setControlsDisabled(false);
this.diagramEditorView.hide();
}, this)
});
@ -232,6 +233,9 @@ define([
y = parseInt(this.diagramEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.diagramEditorView.binding.drag({pageX:x, pageY:y});
}
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);
} else
this.diagramEditorView.fireEvent('internalmessage', this.diagramEditorView, eventData);
}
@ -243,13 +247,8 @@ define([
}
},
showExternalEditor: function () {
if ( externalEditor ) {
var value = Common.localStorage.getItem("ui-theme-id", "theme-light");
externalEditor.serviceCommand('theme:change', value);
}
this.diagramEditorView.show();
onSendFromGeneralToFrameEditor: function(data) {
externalEditor && externalEditor.serviceCommand('generalToFrameData', data);
},
warningTitle: 'Warning',

View file

@ -134,6 +134,7 @@ define([
setApi: function(api) {
this.api = api;
this.api.asc_registerCallback('asc_onCloseMergeEditor', _.bind(this.onMergeEditingDisabled, this));
this.api.asc_registerCallback('asc_sendFromGeneralToFrameEditor', _.bind(this.onSendFromGeneralToFrameEditor, this));
return this;
},
@ -170,7 +171,7 @@ define([
iconCls: 'warn',
buttons: ['ok'],
callback: _.bind(function(btn){
this.setControlsDisabled(false);
this.mergeEditorView.setControlsDisabled(false);
this.mergeEditorView.hide();
}, this)
});
@ -216,6 +217,9 @@ define([
y = parseInt(this.mergeEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.mergeEditorView.binding.drag({pageX:x, pageY:y});
}
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);
} else
this.mergeEditorView.fireEvent('internalmessage', this.mergeEditorView, eventData);
}
@ -227,6 +231,10 @@ define([
}
},
onSendFromGeneralToFrameEditor: function(data) {
externalEditor && externalEditor.serviceCommand('generalToFrameData', data);
},
warningTitle: 'Warning',
warningText: 'The object is disabled because of editing by another user.',
textClose: 'Close',

View file

@ -0,0 +1,261 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2022
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* ExternalOleEditor.js
*
* Created by Julia Radzhabova on 3/10/22
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
if (Common === undefined)
var Common = {};
Common.Controllers = Common.Controllers || {};
define([
'core',
'common/main/lib/view/ExternalOleEditor'
], function () { 'use strict';
Common.Controllers.ExternalOleEditor = Backbone.Controller.extend(_.extend((function() {
var appLang = '{{DEFAULT_LANG}}',
customization = undefined,
targetApp = '',
externalEditor = null,
isAppFirstOpened = true;
var createExternalEditor = function() {
!!customization && (customization.uiTheme = Common.localStorage.getItem("ui-theme-id", "theme-light"));
externalEditor = new DocsAPI.DocEditor('id-ole-editor-placeholder', {
width : '100%',
height : '100%',
documentType: 'cell',
document : {
url : '_chart_',
permissions : {
edit : true,
download: false
}
},
editorConfig: {
mode : 'editole',
targetApp : targetApp,
lang : appLang,
canCoAuthoring : false,
canBackToFolder : false,
canCreateNew : false,
customization : customization,
user : {id: ('uid-'+Date.now())}
},
events: {
'onAppReady' : function() {},
'onDocumentStateChange' : function() {},
'onError' : function() {},
'onInternalMessage' : _.bind(this.onInternalMessage, this)
}
});
Common.Gateway.on('processmouse', _.bind(this.onProcessMouse, this));
};
return {
views: ['Common.Views.ExternalOleEditor'],
initialize: function() {
this.addListeners({
'Common.Views.ExternalOleEditor': {
'setoledata': _.bind(this.setOleData, this),
'drag': _.bind(function(o, state){
externalEditor && externalEditor.serviceCommand('window:drag', state == 'start');
},this),
'show': _.bind(function(cmp){
var h = this.oleEditorView.getHeight(),
innerHeight = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
if (innerHeight>h && h<700 || innerHeight<h) {
h = Math.min(innerHeight, 700);
this.oleEditorView.setHeight(h);
}
if (externalEditor) {
externalEditor.serviceCommand('setAppDisabled',false);
if (isAppFirstOpened && this.oleEditorView._isExternalDocReady) {
isAppFirstOpened = false;
this.oleEditorView._oleData && this.setOleData();
}
if (this.needDisableEditing && this.oleEditorView._isExternalDocReady) {
this.onOleEditingDisabled();
}
externalEditor.attachMouseEvents();
} else {
createExternalEditor.apply(this);
}
this.isExternalEditorVisible = true;
this.isHandlerCalled = false;
}, this),
'hide': _.bind(function(cmp){
if (externalEditor) {
externalEditor.detachMouseEvents();
this.isExternalEditorVisible = false;
}
}, this)
}
});
},
onLaunch: function() {
this.oleEditorView = this.createView('Common.Views.ExternalOleEditor', {handler: _.bind(this.handler, this)});
},
setApi: function(api) {
this.api = api;
this.api.asc_registerCallback('asc_onCloseOleEditor', _.bind(this.onOleEditingDisabled, this));
this.api.asc_registerCallback('asc_sendFromGeneralToFrameEditor', _.bind(this.onSendFromGeneralToFrameEditor, this));
return this;
},
handler: function(result, value) {
if (this.isHandlerCalled) return;
this.isHandlerCalled = true;
if (this.oleEditorView._isExternalDocReady)
externalEditor && externalEditor.serviceCommand('queryClose',{mr:result});
else {
this.oleEditorView.hide();
this.isHandlerCalled = false;
}
},
setOleData: function() {
if (!isAppFirstOpened) {
externalEditor && externalEditor.serviceCommand('setOleData', this.oleEditorView._oleData);
this.oleEditorView._oleData = null;
}
},
loadConfig: function(data) {
if (data && data.config) {
if (data.config.lang) appLang = data.config.lang;
if (data.config.customization) customization = data.config.customization;
if (data.config.targetApp) targetApp = data.config.targetApp;
}
},
onOleEditingDisabled: function() {
if ( !this.oleEditorView.isVisible() || !this.oleEditorView._isExternalDocReady ) {
this.needDisableEditing = true;
return;
}
this.oleEditorView.setControlsDisabled(true);
Common.UI.alert({
title: this.warningTitle,
msg : this.warningText,
iconCls: 'warn',
buttons: ['ok'],
callback: _.bind(function(btn){
this.oleEditorView.setControlsDisabled(false);
this.oleEditorView.hide();
}, this)
});
this.needDisableEditing = false;
},
onInternalMessage: function(data) {
var eventData = data.data;
if (this.oleEditorView) {
if (eventData.type == 'documentReady') {
this.oleEditorView._isExternalDocReady = true;
this.isExternalEditorVisible && (isAppFirstOpened = false);
this.oleEditorView._oleData && this.setOleData();
if (this.needDisableEditing) {
this.onOleEditingDisabled();
}
} else
if (eventData.type == 'oleEditorReady') {
if (this.needDisableEditing===undefined)
this.oleEditorView.setControlsDisabled(false);
} else
if (eventData.type == "shortcut") {
if (eventData.data.key == 'escape')
this.oleEditorView.hide();
} else
if (eventData.type == "canClose") {
if (eventData.data.answer === true) {
if (externalEditor) {
externalEditor.serviceCommand('setAppDisabled',true);
if (eventData.data.mr == 'ok')
externalEditor.serviceCommand('getOleData');
}
this.oleEditorView.hide();
}
this.isHandlerCalled = false;
} else
if (eventData.type == "processMouse") {
if (eventData.data.event == 'mouse:up') {
this.oleEditorView.binding.dragStop();
} else
if (eventData.data.event == 'mouse:move') {
var x = parseInt(this.oleEditorView.$window.css('left')) + eventData.data.pagex,
y = parseInt(this.oleEditorView.$window.css('top')) + eventData.data.pagey + 34;
this.oleEditorView.binding.drag({pageX:x, pageY:y});
}
} else
if (eventData.type == "frameToGeneralData") {
this.api && this.api.asc_getInformationBetweenFrameAndGeneralEditor(eventData.data);
} else
this.oleEditorView.fireEvent('internalmessage', this.oleEditorView, eventData);
}
} ,
onProcessMouse: function(data) {
if (data.type == 'mouseup' && this.isExternalEditorVisible) {
externalEditor && externalEditor.serviceCommand('processmouse', data);
}
},
onSendFromGeneralToFrameEditor: function(data) {
externalEditor && externalEditor.serviceCommand('generalToFrameData', data);
},
warningTitle: 'Warning',
warningText: 'The object is disabled because of editing by another user.',
textClose: 'Close',
textAnonymous: 'Anonymous'
}
})(), Common.Controllers.ExternalOleEditor || {}));
});

View file

@ -44,6 +44,7 @@
* <button ... data-hint="1" data-hint-direction="right" data-hint-offset="big" data-hint-title="B">...</button>
* <label ... data-hint="1" data-hint-direction="bottom" data-hint-offset="medium" data-hint-title="L">...</label>
*
*
* Example usage with components:
*
* new Common.UI.Button({
@ -115,18 +116,30 @@ Common.UI.HintManager = new(function() {
_isComplete = false,
_isLockedKeyEvents = false,
_inputTimer,
_isDocReady = false;
_isDocReady = false,
_isEditDiagram = false,
_usedTitles = [],
_appPrefix,
_staticHints = { // for desktop buttons
"btnhome": 'K'
};
var _api;
var _setCurrentSection = function (btn) {
var _setCurrentSection = function (btn, section) {
if (section) {
_currentSection = section;
return;
}
if (btn === 'esc') {
if (_currentLevel === 0) {
_currentSection = document;
}
return;
}
if ($('#file-menu-panel').is(':visible')) {
if (_isEditDiagram) {
_currentSection = [$(window.parent.document).find('.advanced-settings-dlg:visible')[0], window.document];
} else if ($('#file-menu-panel').is(':visible')) {
_currentSection = $('#file-menu-panel');
} else {
_currentSection = (btn && btn.closest('.hint-section')) || document;
@ -142,7 +155,10 @@ Common.UI.HintManager = new(function() {
var _showHints = function () {
_inputLetters = '';
if (_currentHints.length === 0 || ($('#file-menu-panel').is(':visible') && _currentLevel === 1)) {
if (_currentLevel === 0) {
Common.NotificationCenter.trigger('toolbar:collapse');
}
if (_currentHints.length === 0 || ($('#file-menu-panel').is(':visible' || _isEditDiagram) && _currentLevel === 1)) {
_getHints();
}
if (_currentHints.length > 0) {
@ -159,21 +175,29 @@ Common.UI.HintManager = new(function() {
} else {
_hintVisible = false;
}
Common.NotificationCenter.trigger('hints:show', _hintVisible, _currentLevel);
};
var _hideHints = function() {
_hintVisible = false;
_currentHints && _currentHints.forEach(function(item) {
item.hide()
item.remove()
});
clearInterval(_inputTimer);
Common.NotificationCenter.trigger('hints:show', false);
};
var _nextLevel = function() {
var _nextLevel = function(level) {
_removeHints();
_currentHints.length = 0;
_currentControls.length = 0;
if (level !== undefined) {
_currentLevel = level;
} else {
_currentLevel++;
}
};
var _prevLevel = function() {
@ -184,51 +208,108 @@ Common.UI.HintManager = new(function() {
};
var _getLetters = function(countButtons) {
var arr = _arrAlphabet.slice();
arr[0] = _arrAlphabet[0] + _arrAlphabet[0];
for (var i = 1; arr.length < countButtons; i++) {
arr.push(_arrAlphabet[0] + _arrAlphabet[i]);
var arr = _arrAlphabet.slice(),
firstFreeLetter,
ind;
for (var i = 0; i < _arrAlphabet.length, !firstFreeLetter; i++) {
if (_usedTitles.indexOf(_arrAlphabet[i]) === -1) {
firstFreeLetter = _arrAlphabet[i];
ind = i;
}
}
arr[ind] = firstFreeLetter + _arrAlphabet[0];
for (var i = 0; arr.length < countButtons; i++) {
var addTip = firstFreeLetter + _arrAlphabet[i];
if (addTip !== arr[ind]) {
arr.push(firstFreeLetter + _arrAlphabet[i]);
}
}
return arr;
};
var _getLetterInUILanguage = function (letter) {
var l = letter;
if (_arrAlphabet.indexOf(l) === -1) {
var ind = _arrEnAlphabet.indexOf(l);
l = _arrAlphabet[ind];
}
return l;
};
var _isItemDisabled = function (item) {
return (item.hasClass('disabled') || item.parent().hasClass('disabled') || item.attr('disabled'));
};
var _getControls = function() {
_currentControls = [];
var arr = $(_currentSection).find('[data-hint=' + (_currentLevel) + ']').toArray();
_usedTitles = [];
var arr = [],
arrItemsWithTitle = [];
if (_.isArray(_currentSection)) {
_currentSection.forEach(function (section) {
arr = arr.concat($(section).find('[data-hint=' + (_currentLevel) + ']').toArray());
arrItemsWithTitle = arrItemsWithTitle.concat($(section).find('[data-hint-title][data-hint=' + (_currentLevel) + ']').toArray());
});
} else {
arr = $(_currentSection).find('[data-hint=' + (_currentLevel) + ']').toArray();
arrItemsWithTitle = $(_currentSection).find('[data-hint-title][data-hint=' + (_currentLevel) + ']').toArray();
}
var visibleItems = arr.filter(function (item) {
return $(item).is(':visible');
});
var visibleItemsWithTitle = $(_currentSection).find('[data-hint-title][data-hint=' + (_currentLevel) + ']').toArray().filter(function (item) {
var visibleItemsWithTitle = arrItemsWithTitle.filter(function (item) {
return $(item).is(':visible');
});
if (visibleItems.length === visibleItemsWithTitle.length) { // all buttons have data-hint-title
visibleItems.forEach(function (item) {
var el = $(item);
if (_lang !== 'en') {
var title = el.attr('data-hint-title').toLowerCase(),
firstLetter = title.substr(0, 1);
if (_arrAlphabet.indexOf(firstLetter) === -1) { // tip is in English
var newTip = '';
for (var i = 0; i < title.length; i++) {
var letter = title.substr(i, 1),
ind = _arrEnAlphabet.indexOf(letter);
newTip = newTip + _arrAlphabet[ind].toUpperCase();
}
el.attr('data-hint-title', newTip);
}
}
_currentControls.push(el);
});
return;
}
var _arrLetters = [];
var _arrLetters = [],
_usedLetters = [];
if (_currentLevel === 0) {
for (var key in _staticHints) {
var t = _staticHints[key].toLowerCase();
_usedTitles.push(t);
_usedLetters.push(_arrAlphabet.indexOf(t));
}
}
if (visibleItems.length > _arrAlphabet.length) {
_arrLetters = _getLetters(visibleItems.length);
visibleItemsWithTitle.forEach(function (item) {
var t = $(item).data('hint-title').toLowerCase();
t = _getLetterInUILanguage(t);
_usedTitles.push(t);
});
_arrLetters = _getLetters(visibleItems.length + (_currentLevel === 0 ? _.size(_staticHints) : 0));
} else {
_arrLetters = _arrAlphabet.slice();
}
var usedLetters = [];
if ($(_currentSection).find('[data-hint-title]').length > 0) {
if (arrItemsWithTitle.length > 0) {
visibleItems.forEach(function (item) {
var el = $(item);
var title = el.attr('data-hint-title');
if (title) {
var ind = _arrEnAlphabet.indexOf(title.toLowerCase());
if (ind === -1) { // we have already changed
usedLetters.push(_arrAlphabet.indexOf(title.toLowerCase()));
_usedLetters.push(_arrAlphabet.indexOf(title.toLowerCase()));
} else {
usedLetters.push(ind);
_usedLetters.push(ind);
if (_lang !== 'en') {
el.attr('data-hint-title', _arrLetters[ind].toUpperCase());
}
@ -239,7 +320,7 @@ Common.UI.HintManager = new(function() {
var index = 0;
visibleItems.forEach(function (item) {
var el = $(item);
while (usedLetters.indexOf(index) !== -1) {
while (_usedLetters.indexOf(index) !== -1) {
index++;
}
var title = el.attr('data-hint-title');
@ -252,10 +333,14 @@ Common.UI.HintManager = new(function() {
};
var _getHints = function() {
var docH = Common.Utils.innerHeight() - 20,
docW = Common.Utils.innerWidth(),
topSection = _currentLevel !== 0 && $(_currentSection).length > 0 ? $(_currentSection).offset().top : 0,
bottomSection = _currentLevel !== 0 && $(_currentSection).length > 0 ? topSection + $(_currentSection).height() : docH;
var docH = _isEditDiagram ? (window.parent.innerHeight * Common.Utils.zoom()) : (Common.Utils.innerHeight() - 20),
docW = _isEditDiagram ? (window.parent.innerWidth * Common.Utils.zoom()) : (Common.Utils.innerWidth()),
section = _isEditDiagram ? _currentSection[0] : _currentSection,
topSection = _currentLevel !== 0 && $(section).length > 0 && !_isEditDiagram ? $(section).offset().top : 0,
bottomSection = _currentLevel !== 0 && $(section).length > 0 && !_isEditDiagram ? topSection + $(section).height() : docH;
if ($(section).prop('id') === 'toolbar' && $(section).outerHeight() < $(section).find('.box-controls').outerHeight()) {
bottomSection += $(section).find('.box-controls').outerHeight();
}
if (_currentControls.length === 0)
_getControls();
@ -263,7 +348,8 @@ Common.UI.HintManager = new(function() {
if (!_isItemDisabled(item)) {
var leftBorder = 0,
rightBorder = docW;
if ($(_currentSection).prop('id') === 'toolbar' && ($(_currentSection).find('.toolbar-mask').length > 0 || item.closest('.group').find('.toolbar-group-mask').length > 0)) {
if (!_isEditDiagram && $(_currentSection).prop('id') === 'toolbar' && ($(_currentSection).find('.toolbar-mask').length > 0)
|| ($('#about-menu-panel').is(':visible') && item.closest('.hint-section').prop('id') === 'right-menu')) { // don't show right menu hints when about is visible
return;
}
if (window.SSE && item.parent().prop('id') === 'statusbar_bottom') {
@ -284,7 +370,7 @@ Common.UI.HintManager = new(function() {
var hint = $('<div style="" class="hint-div">' + item.attr('data-hint-title') + '</div>');
var direction = item.attr('data-hint-direction');
// exceptions
if (window.SSE && _currentSection.nodeType !== 9 &&
if (window.SSE && !_isEditDiagram && _currentSection.nodeType !== 9 &&
_currentSection.prop('id') === 'toolbar' && item.closest('.panel').attr('data-tab') === 'data') {
if (item.parent().hasClass('slot-sortdesc') || item.parent().hasClass('slot-btn-setfilter')) {
direction = 'top';
@ -344,8 +430,13 @@ Common.UI.HintManager = new(function() {
top: top,
left: left
});
if (_isEditDiagram && index < 2) {
hint.css('z-index', '1060');
$(window.parent.document.body).append(hint);
} else {
$(document.body).append(hint);
}
}
_currentHints.push(hint);
}
@ -359,7 +450,7 @@ Common.UI.HintManager = new(function() {
};
var _resetToDefault = function() {
_currentLevel = $('#file-menu-panel').is(':visible') ? 1 : 0;
_currentLevel = ($('#file-menu-panel').is(':visible') || _isEditDiagram) ? 1 : 0;
_setCurrentSection();
_currentHints.length = 0;
_currentControls.length = 0;
@ -367,6 +458,10 @@ Common.UI.HintManager = new(function() {
var _init = function(api) {
_api = api;
var filter = Common.localStorage.getKeysFilter();
_appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
Common.NotificationCenter.on({
'app:ready': function (mode) {
var lang = mode.lang ? mode.lang.toLowerCase() : 'en';
@ -383,11 +478,11 @@ Common.UI.HintManager = new(function() {
_clearHints();
});
$(document).on('keyup', function(e) {
if (e.keyCode == Common.UI.Keys.ALT && _needShow) {
if (e.keyCode == Common.UI.Keys.ALT && _needShow && !(window.SSE && window.SSE.getController('Statusbar').getIsDragDrop())) {
e.preventDefault();
if (!_hintVisible) {
$('input:focus').blur(); // to change value in inputField
_currentLevel = $('#file-menu-panel').is(':visible') ? 1 : 0;
_currentLevel = ($('#file-menu-panel').is(':visible') || _isEditDiagram) ? 1 : 0;
_setCurrentSection();
_showHints();
} else {
@ -407,19 +502,25 @@ Common.UI.HintManager = new(function() {
if (_hintVisible) {
e.preventDefault();
if (e.keyCode == Common.UI.Keys.ESC ) {
setTimeout(function () {
if (_currentLevel === 0) {
_hideHints();
_resetToDefault();
_lockedKeyEvents(false);
} else {
_prevLevel();
_setCurrentSection('esc');
_showHints();
}
}, 10);
} else {
var curLetter = null;
var curLetter = null,
match = false;
var keyCode = e.keyCode;
if (keyCode !== 16 && keyCode !== 17 && keyCode !== 18 && keyCode !== 91) {
curLetter = _lang === 'en' ? ((keyCode > 47 && keyCode < 58 || keyCode > 64 && keyCode < 91) ? String.fromCharCode(e.keyCode) : null) : e.key;
curLetter = _lang === 'en' ?
((keyCode > 47 && keyCode < 58 || keyCode > 64 && keyCode < 91) ? String.fromCharCode(e.keyCode) : null) :
(/[.*+?^${}()|[\]\\]/g.test(e.key) ? null : e.key);
}
if (curLetter) {
var curr;
@ -432,11 +533,18 @@ Common.UI.HintManager = new(function() {
_inputLetters = _inputLetters + curLetter.toUpperCase();
for (var i = 0; i < _currentControls.length; i++) {
var item = _currentControls[i];
if (!_isItemDisabled(item) && item.attr('data-hint-title') === _inputLetters) {
if (!_isItemDisabled(item)) {
var title = item.attr('data-hint-title'),
regExp = new RegExp('^' + _inputLetters + '');
if (regExp.test(title)) {
match = true;
}
if (title === _inputLetters) {
curr = item;
break;
}
}
}
if (curr) {
var tag = curr.prop("tagName").toLowerCase();
if (window.SSE && curr.parent().prop('id') === 'statusbar_bottom') {
@ -448,15 +556,21 @@ Common.UI.HintManager = new(function() {
curr.trigger(jQuery.Event('click', {which: 1}));
curr.focus();
_resetToDefault();
} else if (curr.hasClass('listview')) {
_hideHints();
curr.focus();
_resetToDefault();
} else {
_isComplete = false;
_hideHints();
if ($(_currentSection).prop('id') === 'toolbar' && ($(_currentSection).find('.toolbar-mask').length > 0 || curr.closest('.group').find('.toolbar-group-mask').length > 0)) {
if (!_isEditDiagram && $(_currentSection).prop('id') === 'toolbar' && ($(_currentSection).find('.toolbar-mask').length > 0)) {
_resetToDefault();
return;
}
var needOpenPanel = (curr.attr('content-target') && !$('#' + curr.attr('content-target')).is(':visible'));
if (!curr.attr('content-target') || needOpenPanel) { // need to open panel
var needOpenPanel = (curr.attr('content-target') && !$('#' + curr.attr('content-target')).is(':visible') ||
(curr.parent().prop('id') === 'slot-btn-chat' && !$('#left-panel-chat').is(':visible')) ||
(curr.parent().hasClass('ribtab') && !$('#toolbar').children('.toolbar').hasClass('expanded')));
if ((!curr.attr('content-target') && curr.parent().prop('id') !== 'slot-btn-chat') || needOpenPanel) { // need to open panel
if (!($('#file-menu-panel').is(':visible') && (curr.parent().prop('id') === 'fm-btn-info' && $('#panel-info').is(':visible') ||
curr.parent().prop('id') === 'fm-btn-settings' && $('#panel-settings').is(':visible')))) {
if (curr.attr('for')) { // to trigger event in checkbox
@ -470,7 +584,8 @@ Common.UI.HintManager = new(function() {
}
if (curr.prop('id') === 'btn-goback' || curr.closest('.btn-slot').prop('id') === 'slot-btn-options' ||
curr.closest('.btn-slot').prop('id') === 'slot-btn-mode' || curr.prop('id') === 'btn-favorite' || curr.parent().prop('id') === 'tlb-box-users' ||
curr.prop('id') === 'left-btn-thumbs' || curr.hasClass('scroll')) {
curr.prop('id') === 'left-btn-thumbs' || curr.hasClass('scroll') || curr.prop('id') === 'left-btn-about' ||
curr.prop('id') === 'left-btn-support' || curr.closest('.btn-slot').prop('id') === 'slot-btn-search') {
_resetToDefault();
return;
}
@ -482,20 +597,35 @@ Common.UI.HintManager = new(function() {
return;
}
if (!_isComplete) {
if (curr.parent().prop('id') === 'slot-btn-chat') {
_nextLevel(1);
_setCurrentSection(undefined, $('#left-menu.hint-section'));
} else if (curr.prop('id') === 'id-right-menu-signature') {
_nextLevel(2);
_setCurrentSection(curr);
} else {
_nextLevel();
_setCurrentSection(curr);
}
_showHints();
if (_currentHints.length < 1) {
_resetToDefault();
}
}
}
} else if (!match) {
_inputLetters = '';
}
}
}
}
_needShow = (e.keyCode == Common.UI.Keys.ALT && !Common.Utils.ModalWindow.isVisible() && _isDocReady);
_needShow = (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && !e.shiftKey && e.keyCode == Common.UI.Keys.ALT &&
!Common.Utils.ModalWindow.isVisible() && _isDocReady && _arrAlphabet.length > 0 &&
!(window.PE && $('#pe-preview').is(':visible')));
if (Common.Utils.InternalSettings.get(_appPrefix + "settings-show-alt-hints") && e.altKey && e.keyCode !== 115) {
e.preventDefault();
}
});
};
@ -507,7 +637,16 @@ Common.UI.HintManager = new(function() {
_arrAlphabet = langsJson[lang];
return _arrAlphabet;
};
return !_setAlphabet(lng) ? (!_setAlphabet(lng.split(/[\-_]/)[0]) ? _setAlphabet('en') : true) : true;
var loaded = !_setAlphabet(lng) ? (!_setAlphabet(lng.split(/[\-_]/)[0]) ? _setAlphabet('en') : true) : true;
if (loaded && _lang !== 'en') {
for (var key in _staticHints) {
var hint = _getLetterInUILanguage(_staticHints[key].toLowerCase());
if (hint) {
_staticHints[key] = hint.toUpperCase();
}
}
}
return loaded;
});
Common.Utils.loadConfig('../../common/main/resources/alphabetletters/qwertyletters.json', function (langsJson) {
_arrQwerty = langsJson[_lang];
@ -531,16 +670,35 @@ Common.UI.HintManager = new(function() {
if (isComplete) {
_isComplete = true;
}
if ($('.hint-div').length > 0) {
$('.hint-div').remove();
}
if ($('iframe').length > 0) {
try {
$('iframe').contents().find('.hint-div').remove();
} catch (e) {}
}
};
var _isHintVisible = function () {
return _hintVisible;
};
var _setMode = function (mode) {
_isEditDiagram = mode.isEditDiagram || mode.isEditMailMerge || mode.isEditOle;
};
var _getStaticHint = function (key) {
return _staticHints[key];
};
return {
init: _init,
setMode: _setMode,
clearHints: _clearHints,
needCloseFileMenu: _needCloseFileMenu,
isHintVisible: _isHintVisible
isHintVisible: _isHintVisible,
getStaticHint: _getStaticHint
}
})();

View file

@ -262,7 +262,7 @@ define([
store.where({isRevision: false}).forEach(function(item){
item.set('isVisible', needExpand);
});
this.panelHistory.viewHistoryList.scroller.update({minScrollbarLength: 40});
this.panelHistory.viewHistoryList.scroller.update({minScrollbarLength: this.panelHistory.viewHistoryList.minScrollbarLength});
this.panelHistory.btnExpand.cmpEl.text(needExpand ? this.panelHistory.textHideAll : this.panelHistory.textShowAll);
},

View file

@ -105,17 +105,19 @@ Common.UI.LayoutManager = new(function() {
* }
*/
Common.UI.FeaturesManager = new(function() {
var _config;
var _init = function(config) {
var _config,
_licensed;
var _init = function(config, licensed) {
_config = config;
_licensed = licensed;
};
var _canChange = function(name) {
return !(_config && typeof _config[name] === 'object' && _config[name] && _config[name].change===false);
var _canChange = function(name, force) {
return !((_licensed || force) && _config && typeof _config[name] === 'object' && _config[name] && _config[name].change===false);
};
var _getInitValue2 = function(name, defValue) {
if (_config && _config[name] !== undefined ) {
var _getInitValue2 = function(name, defValue, force) {
if ((_licensed || force) && _config && _config[name] !== undefined ) {
if (typeof _config[name] === 'object' && _config[name]) { // object and not null
if (_config[name].mode!==undefined)
return _config[name].mode;
@ -126,8 +128,8 @@ Common.UI.FeaturesManager = new(function() {
return defValue;
};
var _getInitValue = function(name) {
if (_config && _config[name] !== undefined ) {
var _getInitValue = function(name, force) {
if ((_licensed || force) && _config && _config[name] !== undefined ) {
if (typeof _config[name] === 'object' && _config[name]) { // object and not null
if (_config[name].mode!==undefined)
return _config[name].mode;

View file

@ -39,7 +39,8 @@
define([
'core',
'common/main/lib/collection/Plugins',
'common/main/lib/view/Plugins'
'common/main/lib/view/Plugins',
'common/main/lib/view/PluginDlg'
], function () {
'use strict';
@ -62,7 +63,7 @@ define([
'render:before' : function (toolbar) {
var appOptions = me.getApplication().getController('Main').appOptions;
if ( !appOptions.isEditMailMerge && !appOptions.isEditDiagram ) {
if ( !appOptions.isEditMailMerge && !appOptions.isEditDiagram && !appOptions.isEditOle ) {
var tab = {action: 'plugins', caption: me.panelPlugins.groupCaption, dataHintTitle: 'E', layoutname: 'toolbar-plugins'};
me.$toolbarPanelPlugins = me.panelPlugins.getPanel();
@ -161,6 +162,8 @@ define([
this.api.asc_registerCallback("asc_onPluginMouseMove", _.bind(this.onPluginMouseMove, this));
this.api.asc_registerCallback('asc_onPluginsReset', _.bind(this.resetPluginsList, this));
this.api.asc_registerCallback('asc_onPluginsInit', _.bind(this.onPluginsInit, this));
this.api.asc_registerCallback('asc_onPluginShowButton', _.bind(this.onPluginShowButton, this));
this.api.asc_registerCallback('asc_onPluginHideButton', _.bind(this.onPluginHideButton, this));
this.loadPlugins();
}
@ -203,17 +206,7 @@ define([
arr = [];
storePlugins.each(function(item){
var plugin = new Asc.CPlugin();
plugin.deserialize(item.attributes);
var variations = item.get('variations'),
variationsArr = [];
variations.forEach(function(itemVar){
var variation = new Asc.CPluginVariation();
variation.deserialize(itemVar.attributes);
variationsArr.push(variation);
});
plugin.set_Variations(variationsArr);
plugin.deserialize(item.get('original'));
item.set('pluginObj', plugin);
arr.push(plugin);
});
@ -251,6 +244,10 @@ define([
$('<div class="separator long"></div>').appendTo(me.$toolbarPanelPlugins);
_group = $('<div class="group"></div>');
rank_plugins = 0;
} else {
_group.appendTo(me.$toolbarPanelPlugins);
$('<div class="separator long invisible"></div>').appendTo(me.$toolbarPanelPlugins);
_group = $('<div class="group" style="padding-left: 0;"></div>');
}
var btn = me.panelPlugins.createPluginButton(model);
@ -386,6 +383,7 @@ define([
buttons: isCustomWindow ? undefined : newBtns,
toolcallback: _.bind(this.onToolClose, this),
help: !!help,
loader: plugin.get_Loader(),
modal: isModal!==undefined ? isModal : true
});
me.pluginDlg.on({
@ -404,6 +402,9 @@ define([
},
'help': function(){
help && window.open(help, '_blank');
},
'header:click': function(type){
me.api.asc_pluginButtonClick(type);
}
});
@ -463,6 +464,14 @@ define([
this.parsePlugins(pluginsdata)
},
onPluginShowButton: function(id) {
this.pluginDlg && this.pluginDlg.showButton(id);
},
onPluginHideButton: function(id) {
this.pluginDlg && this.pluginDlg.hideButton(id);
},
runAutoStartPlugins: function() {
if (this.autostart && this.autostart.length > 0) {
this.api.asc_pluginRun(this.autostart.shift(), 0, '');
@ -561,7 +570,8 @@ define([
visible: pluginVisible,
groupName: (item.group) ? item.group.name : '',
groupRank: (item.group) ? item.group.rank : 0,
minVersion: item.minVersion
minVersion: item.minVersion,
original: item
}));
}
});

View file

@ -100,6 +100,7 @@ define([
onLaunch: function () {
this.collection = this.getApplication().getCollection('Common.Collections.ReviewChanges');
this.userCollection = this.getApplication().getCollection('Common.Collections.Users');
this.viewmode = false;
this._state = {posx: -1000, posy: -1000, popoverVisible: false, previewMode: false, compareSettings: null, wsLock: false, wsProps: []};
@ -160,13 +161,23 @@ define([
this.document = data.doc;
},
SetDisabled: function(state) {
SetDisabled: function(state, reviewMode, fillFormMode) {
if (this.dlgChanges)
this.dlgChanges.close();
this.view && this.view.SetDisabled(state, this.langs, {comments: !!this._state.wsProps['Objects']});
if (reviewMode)
this.lockToolbar(Common.enumLock.previewReviewMode, state);
else if (fillFormMode)
this.lockToolbar(Common.enumLock.viewFormMode, state);
else
this.lockToolbar(Common.enumLock.viewMode, state);
this.setPreviewMode(state);
},
lockToolbar: function (causes, lock, opts) {
Common.Utils.lockControls(causes, lock, opts, this.view.getButtons());
},
setPreviewMode: function(mode) { //disable accept/reject in popover
if (this.viewmode === mode) return;
this.viewmode = mode;
@ -179,20 +190,50 @@ define([
});
},
onApiShowChange: function (sdkchange) {
isSelectedChangesLocked: function(changes, isShow) {
if (!changes || changes.length<1) return true;
if (isShow)
return changes[0].get('lock') || !changes[0].get('editable');
for (var i=0; i<changes.length; i++) {
var change = changes[i];
if (change.get('lock') || !change.get('editable'))
return true; // lock button if at least one change is locked
}
return false;
},
onApiShowChange: function (sdkchange, isShow) {
var btnlock = true,
changes;
if (this.appConfig.canReview && !this.appConfig.isReviewOnly) {
if (sdkchange && sdkchange.length>0) {
changes = this.readSDKChange(sdkchange);
btnlock = this.isSelectedChangesLocked(changes, isShow);
}
if (this._state.lock !== btnlock) {
Common.Utils.lockControls(Common.enumLock.reviewChangelock, btnlock, {array: [this.view.btnAccept, this.view.btnReject]});
if (this.dlgChanges) {
this.dlgChanges.btnAccept.setDisabled(btnlock);
this.dlgChanges.btnReject.setDisabled(btnlock);
}
this._state.lock = btnlock;
Common.Utils.InternalSettings.set(this.view.appPrefix + "accept-reject-lock", btnlock);
}
}
if (this.getPopover()) {
if (!this.appConfig.reviewHoverMode && sdkchange && sdkchange.length>0) {
if (!this.appConfig.reviewHoverMode && sdkchange && sdkchange.length>0 && isShow) { // show changes balloon only for current position, not selection
var i = 0,
changes = this.readSDKChange(sdkchange),
posX = sdkchange[0].get_X(),
posY = sdkchange[0].get_Y(),
animate = ( Math.abs(this._state.posx-posX)>0.001 || Math.abs(this._state.posy-posY)>0.001) || (sdkchange.length !== this._state.changes_length),
lock = (sdkchange[0].get_LockUserId()!==null),
lockUser = this.getUserName(sdkchange[0].get_LockUserId()),
editable = changes[0].get('editable');
lockUser = this.getUserName(sdkchange[0].get_LockUserId());
this.getPopover().hideTips();
this.popoverChanges.reset(changes);
this.popoverChanges.reset(changes || this.readSDKChange(sdkchange));
if (animate) {
if ( this.getPopover().isVisible() ) this.getPopover().hide();
@ -200,17 +241,6 @@ define([
}
this.getPopover().showReview(animate, lock, lockUser);
var btnlock = lock || !editable;
if (this.appConfig.canReview && !this.appConfig.isReviewOnly && this._state.lock !== btnlock) {
this.view.btnAccept.setDisabled(btnlock);
this.view.btnReject.setDisabled(btnlock);
if (this.dlgChanges) {
this.dlgChanges.btnAccept.setDisabled(btnlock);
this.dlgChanges.btnReject.setDisabled(btnlock);
}
this._state.lock = btnlock;
}
this._state.posx = posX;
this._state.posy = posY;
this._state.changes_length = sdkchange.length;
@ -257,6 +287,9 @@ define([
this.popover = Common.Views.ReviewPopover.prototype.getPopover({
reviewStore : this.popoverChanges,
renderTo : this.sdkViewName,
canRequestUsers: (this.appConfig) ? this.appConfig.canRequestUsers : undefined,
canRequestSendNotify: (this.appConfig) ? this.appConfig.canRequestSendNotify : undefined,
mentionShare: (this.appConfig) ? this.appConfig.mentionShare : true,
api: this.api
});
this.popover.setReviewStore(this.popoverChanges);
@ -517,7 +550,7 @@ define([
if (item.value === 'all') {
this.api.asc_AcceptAllChanges();
} else {
this.api.asc_AcceptChanges();
this.api.asc_AcceptChangesBySelection(true); // accept and move to the next change
}
} else {
this.api.asc_AcceptChanges(menu);
@ -532,7 +565,7 @@ define([
if (item.value === 'all') {
this.api.asc_RejectAllChanges();
} else {
this.api.asc_RejectChanges();
this.api.asc_RejectChangesBySelection(true); // reject and move to the next change
}
} else {
this.api.asc_RejectChanges(menu);
@ -580,7 +613,8 @@ define([
this.view.turnChanges(state, global);
if (userId && this.userCollection) {
var rec = this.userCollection.findOriginalUser(userId);
rec && this.showTips(Common.Utils.String.format(globalFlag ? this.textOnGlobal : this.textOffGlobal, AscCommon.UserInfoParser.getParsedName(rec.get('username'))));
rec && Common.NotificationCenter.trigger('showmessage', {msg: Common.Utils.String.format(globalFlag ? this.textOnGlobal : this.textOffGlobal, AscCommon.UserInfoParser.getParsedName(rec.get('username')))},
{timeout: 5000, hideCloseTip: true});
}
}
},
@ -764,33 +798,24 @@ define([
Common.NotificationCenter.trigger('editing:disable', disable, {
viewMode: false,
reviewMode: true,
fillFormwMode: false,
fillFormMode: false,
allowMerge: false,
allowSignature: false,
allowProtect: false,
rightMenu: {clear: true, disable: true},
rightMenu: {clear: disable, disable: true},
statusBar: true,
leftMenu: {disable: false, previewMode: true},
fileMenu: {protect: true},
navigation: {disable: false, previewMode: true},
comments: {disable: false, previewMode: true},
chat: false,
review: false,
review: true,
viewport: false,
documentHolder: true,
toolbar: true,
plugins: true
plugins: true,
protect: true
}, 'review');
if (this.view) {
this.view.$el.find('.no-group-mask.review').css('opacity', 1);
this.view.btnsDocLang && this.view.btnsDocLang.forEach(function(button) {
if ( button ) {
button.setDisabled(disable || !this.langs || this.langs.length<1);
}
}, this);
}
},
createToolbarPanel: function() {
@ -866,8 +891,8 @@ define([
}
me.onChangeProtectSheet();
if (me.view) {
me.view.btnCommentRemove && me.view.btnCommentRemove.setDisabled(!Common.localStorage.getBool(me.view.appPrefix + "settings-livecomment", true) || !!this._state.wsProps['Objects']);
me.view.btnCommentResolve && me.view.btnCommentResolve.setDisabled(!Common.localStorage.getBool(me.view.appPrefix + "settings-livecomment", true) || !!this._state.wsProps['Objects']);
me.lockToolbar(Common.enumLock.hideComments, !Common.localStorage.getBool(me.view.appPrefix + "settings-livecomment", true), {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
me.lockToolbar(Common.enumLock['Objects'], !!this._state.wsProps['Objects'], {array: [me.view.btnCommentRemove, me.view.btnCommentResolve]});
}
var val = Common.localStorage.getItem(me.view.appPrefix + "settings-review-hover-mode");
@ -879,44 +904,11 @@ define([
me.appConfig.reviewHoverMode = val;
},
showTips: function(strings) {
var me = this;
if (!strings.length) return;
if (typeof(strings)!='object') strings = [strings];
function showNextTip() {
var str_tip = strings.shift();
if (str_tip) {
me.tooltip.setTitle(str_tip);
me.tooltip.show();
me.tipTimeout = setTimeout(function () {
me.tooltip.hide();
}, 5000);
}
}
if (!this.tooltip) {
this.tooltip = new Common.UI.Tooltip({
owner: this.getApplication().getController('Toolbar').getView(),
hideonclick: true,
placement: 'bottom',
cls: 'main-info',
offset: 30
});
this.tooltip.on('tooltip:hide', function(cmp){
if (cmp==me.tooltip) {
clearTimeout(me.tipTimeout);
setTimeout(showNextTip, 300);
}
});
}
showNextTip();
},
applySettings: function(menu) {
this.view && this.view.turnSpelling( Common.localStorage.getBool(this.view.appPrefix + "settings-spellcheck", true) );
this.view && this.view.turnCoAuthMode( Common.localStorage.getBool(this.view.appPrefix + "settings-coauthmode", true) );
if ((this.appConfig.canReview || this.appConfig.canViewReview) && this.appConfig.reviewHoverMode)
this.onApiShowChange();
},
synchronizeChanges: function() {
@ -927,11 +919,7 @@ define([
setLanguages: function (array) {
this.langs = array;
this.view && this.view.btnsDocLang && this.view.btnsDocLang.forEach(function(button) {
if ( button ) {
button.setDisabled(this.langs.length<1);
}
}, this);
this.lockToolbar(Common.enumLock.noSpellcheckLangs, this.langs.length<1, {array: this.view.btnsDocLang});
},
onDocLanguage: function() {
@ -951,6 +939,7 @@ define([
onLostEditRights: function() {
this._readonlyRights = true;
this.view && this.view.onLostEditRights();
this.view && this.lockToolbar(Common.enumLock.cantShare, true, {array: [this.view.btnSharing]});
},
changeAccessRights: function(btn,event,opts) {
@ -982,7 +971,7 @@ define([
},
onCoAuthoringDisconnect: function() {
this.SetDisabled(true);
this.lockToolbar(Common.enumLock.lostConnect, true)
},
onUpdateUsers: function() {
@ -1000,15 +989,14 @@ define([
if (!item.asc_getView())
length++;
});
this.view.btnCompare.setDisabled(length>1 || this.viewmode);
Common.Utils.lockControls(Common.enumLock.hasCoeditingUsers, length>1, {array: [this.view.btnCompare]});
}
},
commentsShowHide: function(mode) {
if (!this.view) return;
var value = Common.Utils.InternalSettings.get(this.view.appPrefix + "settings-livecomment");
(value!==undefined) && this.view.btnCommentRemove && this.view.btnCommentRemove.setDisabled(mode != 'show' && !value || !!this._state.wsProps['Objects']);
(value!==undefined) && this.view.btnCommentResolve && this.view.btnCommentResolve.setDisabled(mode != 'show' && !value || !!this._state.wsProps['Objects']);
(value!==undefined) && this.lockToolbar(Common.enumLock.hideComments, mode != 'show' && !value, {array: [this.view.btnCommentRemove, this.view.btnCommentResolve]});
},
onChangeProtectSheet: function(props) {
@ -1020,11 +1008,7 @@ define([
this._state.wsLock = props ? props.wsLock : false;
if (!this.view) return;
var leftmenu = this.getApplication().getController('LeftMenu'),
isCommentsVisible = leftmenu && leftmenu.isCommentsVisible();
var value = Common.Utils.InternalSettings.get(this.view.appPrefix + "settings-livecomment");
(value!==undefined) && this.view.btnCommentRemove && this.view.btnCommentRemove.setDisabled(!isCommentsVisible && !value || !!this._state.wsProps['Objects']);
(value!==undefined) && this.view.btnCommentResolve && this.view.btnCommentResolve.setDisabled(!isCommentsVisible && !value || !!this._state.wsProps['Objects']);
this.lockToolbar(Common.enumLock['Objects'], !!this._state.wsProps['Objects'], {array: [this.view.btnCommentRemove, this.view.btnCommentResolve]});
},
textInserted: '<b>Inserted:</b>',

View file

@ -11,7 +11,16 @@ define([
Common.UI.Themes = new (function(locale) {
!locale && (locale = {});
const THEME_TYPE_LIGHT = 'light';
const THEME_TYPE_DARK = 'dark';
const THEME_TYPE_SYSTEM = 'system';
var themes_map = {
'theme-system': {
text: locale.txtThemeSystem || 'Same as system',
type: THEME_TYPE_SYSTEM,
source: 'static',
},
'theme-light': {
text: locale.txtThemeLight || 'Light',
type: 'light',
@ -27,13 +36,20 @@ define([
type: 'dark',
source: 'static',
},
'theme-contrast-dark': {
text: locale.txtThemeContrastDark || 'Dark Contrast',
type: 'dark',
source: 'static',
},
}
if ( !!window.currentLoaderTheme ) {
themes_map[currentLoaderTheme.id] = {};
if ( !themes_map[currentLoaderTheme.id] )
themes_map[currentLoaderTheme.id] = currentLoaderTheme;
window.currentLoaderTheme = undefined;
}
var is_dark_mode_allowed = true;
var id_default_light_theme = 'theme-classic-light',
id_default_dark_theme = 'theme-dark';
@ -42,6 +58,10 @@ define([
"toolbar-header-spreadsheet",
"toolbar-header-presentation",
"text-toolbar-header-on-background-document",
"text-toolbar-header-on-background-spreadsheet",
"text-toolbar-header-on-background-presentation",
"background-normal",
"background-toolbar",
"background-toolbar-additional",
@ -53,6 +73,7 @@ define([
"background-loader",
"background-accent-button",
"background-contrast-popover",
"shadow-contrast-popover",
"highlight-button-hover",
"highlight-button-pressed",
@ -102,6 +123,7 @@ define([
"canvas-page-border",
"canvas-ruler-background",
"canvas-ruler-border",
"canvas-ruler-margins-background",
"canvas-ruler-mark",
"canvas-ruler-handle-border",
@ -174,10 +196,13 @@ define([
}
var parse_themes_object = function (obj) {
var curr_lang = Common.Locale.getCurrentLanguage(),
theme_label;
if ( !!obj.themes && obj.themes instanceof Array ) {
obj.themes.forEach(function (item) {
if ( !!item.id ) {
themes_map[item.id] = {text: item.name, type: item.type};
theme_label = !item.l10n || !item.l10n[curr_lang] ? item.name : item.l10n[curr_lang];
themes_map[item.id] = {text: theme_label, type: item.type};
write_theme_css(create_colors_css(item.id, item.colors));
} else
if ( typeof item == 'string' ) {
@ -186,9 +211,12 @@ define([
});
} else
if ( obj.id ) {
themes_map[obj.id] = {text: obj.name, type: obj.type};
theme_label = !obj.l10n || !obj.l10n[curr_lang] ? obj.name : obj.l10n[curr_lang];
themes_map[obj.id] = {text: theme_label, type: obj.type};
write_theme_css( create_colors_css(obj.id, obj.colors) );
}
Common.NotificationCenter.trigger('uitheme:countchanged');
}
var get_themes_config = function (url) {
@ -228,6 +256,7 @@ define([
var on_document_ready = function (el) {
// get_themes_config('../../common/main/resources/themes/themes.json');
if ( !Common.Controllers.Desktop.isActive() || !Common.Controllers.Desktop.isOffline() )
get_themes_config('../../../../themes.json');
}
@ -244,13 +273,43 @@ define([
return objtheme;
}
var on_document_open = function (data) {
if ( !!this.api.asc_setContentDarkMode && this.isDarkTheme() ) {
this.api.asc_setContentDarkMode(this.isContentThemeDark());
}
};
const is_theme_type_system = function (id) { return themes_map[id].type == THEME_TYPE_SYSTEM; }
const get_system_theme_type = function () { return window.matchMedia('(prefers-color-scheme: dark)').matches ? THEME_TYPE_DARK : THEME_TYPE_LIGHT; }
const get_system_default_theme = function () {
const id = get_system_theme_type() == THEME_TYPE_DARK ?
id_default_dark_theme : id_default_light_theme;
return {id: id, info: themes_map[id]};
};
const on_system_theme_dark = function (mql) {
if (Common.localStorage.getBool('ui-theme-use-system', false)) {
this.setTheme('theme-system');
}
};
return {
init: function (api) {
var me = this;
Common.Gateway.on('opendocument', on_document_open.bind(this));
$(window).on('storage', function (e) {
if ( e.key == 'ui-theme' || e.key == 'ui-theme-id' ) {
me.setTheme(e.originalEvent.newValue, true);
if ( !!e.originalEvent.newValue ) {
if (Common.localStorage.getBool('ui-theme-use-system', false)) {
me.setTheme('theme-system');
} else me.setTheme(e.originalEvent.newValue, true);
}
} else
if ( e.key == 'content-theme' ) {
me.setContentTheme(e.originalEvent.newValue, true);
console.log('changed content', e.originalEvent.newValue);
}
})
@ -289,10 +348,8 @@ define([
obj.name = theme_name;
api.asc_setSkin(obj);
if ( !!this.api.asc_setContentDarkMode && this.isDarkTheme() ) {
this.api.asc_setContentDarkMode(this.isContentThemeDark());
}
if ( !(Common.Utils.isIE10 || Common.Utils.isIE11) )
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', on_system_theme_dark.bind(this));
Common.NotificationCenter.on('document:ready', on_document_ready.bind(this));
},
@ -313,6 +370,9 @@ define([
},
currentThemeId: function () {
if ( Common.localStorage.getBool('ui-theme-use-system', false) )
return 'theme-system';
var t = Common.localStorage.getItem('ui-theme') || Common.localStorage.getItem('ui-theme-id');
var id = get_ui_theme_name(t);
return !!themes_map[id] ? id : id_default_light_theme;
@ -326,14 +386,31 @@ define([
return themes_map[this.defaultThemeId(type)]
},
isDarkTheme: function () {
return themes_map[this.currentThemeId()].type == 'dark';
isDarkTheme: function (id) {
!id && (id = this.currentThemeId());
return (is_theme_type_system(id) ? get_system_default_theme().info.type : themes_map[id].type) == THEME_TYPE_DARK;
},
isContentThemeDark: function () {
return Common.localStorage.getItem("content-theme") == 'dark';
},
setContentTheme: function (mode, force) {
var set_dark = mode == 'dark';
if ( set_dark && !this.isDarkTheme() )
return;
if ( set_dark != this.isContentThemeDark() || force ) {
if ( this.api.asc_setContentDarkMode )
this.api.asc_setContentDarkMode(set_dark);
if ( Common.localStorage.getItem('content-theme') != mode )
Common.localStorage.setItem('content-theme', mode);
Common.NotificationCenter.trigger('contenttheme:dark', set_dark);
}
},
toggleContentTheme: function () {
var is_current_dark = this.isContentThemeDark();
is_current_dark ? Common.localStorage.setItem('content-theme', 'light') : Common.localStorage.setItem('content-theme', 'dark');
@ -344,14 +421,44 @@ define([
Common.NotificationCenter.trigger('contenttheme:dark', !is_current_dark);
},
setTheme: function (obj, force) {
var id = get_ui_theme_name(obj);
if ( (this.currentThemeId() != id || force) && !!themes_map[id] ) {
setTheme: function (obj) {
if ( !obj ) return;
var id = get_ui_theme_name(obj),
refresh_only = arguments[1];
if ( !refresh_only && is_theme_type_system(this.currentThemeId()) ) {
// TODO: need refactoring. for bug 58801
if ( get_system_default_theme().id == id ) {
Common.localStorage.setBool('ui-theme-use-system', false);
Common.localStorage.setItem('ui-theme-id', '');
Common.localStorage.setItem('ui-theme-id', id);
Common.NotificationCenter.trigger('uitheme:changed', id);
return;
}
}
if ( is_theme_type_system(id) ) {
if ( get_system_default_theme().id == this.currentThemeId() ) {
Common.localStorage.setBool('ui-theme-use-system', true);
Common.localStorage.setItem('ui-theme-id', '');
Common.localStorage.setItem('ui-theme-id', id);
Common.NotificationCenter.trigger('uitheme:changed', id);
return;
}
Common.localStorage.setBool('ui-theme-use-system', true);
id = get_system_default_theme().id;
} else {
Common.localStorage.setBool('ui-theme-use-system', false);
}
if ( (this.currentThemeId() != id || refresh_only) && !!themes_map[id] ) {
document.body.className = document.body.className.replace(/theme-[\w-]+\s?/gi, '').trim();
document.body.classList.add(id, 'theme-type-' + themes_map[id].type);
if ( this.api ) {
if ( this.api.asc_setContentDarkMode )
if ( this.api.asc_setContentDarkMode && is_dark_mode_allowed )
if ( themes_map[id].type == 'light' ) {
this.api.asc_setContentDarkMode(false);
} else {
@ -370,15 +477,18 @@ define([
var theme_obj = {
id: id,
type: obj.type,
text: themes_map[id].text,
};
if ( themes_map[id].source != 'static' ) {
theme_obj.colors = obj;
}
if ( !refresh_only )
Common.localStorage.setItem('ui-theme', JSON.stringify(theme_obj));
}
if ( !refresh_only )
Common.localStorage.setItem('ui-theme-id', id);
Common.NotificationCenter.trigger('uitheme:changed', id);
}

View file

@ -36,7 +36,8 @@
return _MAP[x] || x.toUpperCase().charCodeAt(0);
},
_downKeys = [];
var locked;
var locked,
propagate;
for(k=1;k<20;k++) _MAP['f'+k] = 111+k;
@ -116,6 +117,8 @@
// call the handler and stop the event if neccessary
if((handler.mods.length == 0 && !_mods[16] && !_mods[18] && !_mods[17] && !_mods[91]) || modifiersMatch){
if(locked===true || handler.locked || handler.method(event, handler)===false){
if (locked===true && propagate || handler.locked && handler.propagate)
continue;
if(event.preventDefault) event.preventDefault();
else event.returnValue = false;
if(event.stopPropagation) event.stopPropagation();
@ -188,8 +191,8 @@
if (keys.length > 1) {
mods = getMods(keys);
key = keys[keys.length - 1];
}
(keys.length > 0) && (key = keys[keys.length - 1]);
key = code(key);
@ -301,8 +304,8 @@
if (keys.length > 1) {
mods = getMods(keys);
key = keys[keys.length - 1];
}
(keys.length > 0) && (key = keys[keys.length - 1]);
key = code(key);
@ -320,12 +323,23 @@
}
}
function suspend(key, scope) {
key ? setKeyOptions(key, scope, 'locked', true) : (locked = true);
function suspend(key, scope, pass) {
if (key) {
setKeyOptions(key, scope, 'locked', true)
pass && setKeyOptions(key, scope, 'propagate', true)
} else {
locked = true;
pass && (propagate = true);
}
}
function resume(key, scope) {
key ? setKeyOptions(key, scope, 'locked', false) : (locked = false);
if (key) {
setKeyOptions(key, scope, 'locked', false)
setKeyOptions(key, scope, 'propagate', false)
} else {
locked = propagate = false;
}
}
// set window.key and window.key.set/get/deleteScope, and the default filter

View file

@ -128,8 +128,9 @@ function patchDropDownKeyDown(e) {
var mnu = $('> [role=menu]', li),
$subitems = mnu.find('> li:not(.divider):not(.disabled):visible > a'),
$dataviews = mnu.find('> li:not(.divider):not(.disabled):visible .dataview'),
$palette = mnu.find('> li:not(.divider):not(.disabled):visible .theme-colorpalette.focused'),
$internal_menu = mnu.find('> li:not(.divider):not(.disabled):visible ul.internal-menu');
if ($subitems.length>0 && $dataviews.length<1 && $internal_menu.length<1)
if ($subitems.length>0 && $dataviews.length<1 && $internal_menu.length<1 && $palette.length<1)
($subitems.index($subitems.filter(':focus'))<0) && $subitems.eq(0).focus();
}, 250);
}

View file

@ -57,6 +57,7 @@ define([
userid : 0,
username : 'Guest',
parsedName : 'Guest',
parsedGroups : undefined,
usercolor : null,
date : undefined,
quote : '',
@ -79,6 +80,7 @@ define([
hideAddReply : false,
scope : null,
hide : false,
filtered : false,
hint : false,
dummy : undefined,
editable : true,

View file

@ -210,6 +210,7 @@
currentPageX;
$scrollbarX.bind('mousedown' + eventClassName, function (e) {
Common.NotificationCenter.trigger('hints:clear');
currentPageX = e.pageX;
currentLeft = $scrollbarX.position().left;
$scrollbarXRail.addClass('in-scrolling');
@ -240,6 +241,7 @@
currentPageY;
$scrollbarY.bind('mousedown' + eventClassName, function (e) {
Common.NotificationCenter.trigger('hints:clear');
currentPageY = e.pageY;
currentTop = $scrollbarY.position().top;
$scrollbarYRail.addClass('in-scrolling');

View file

@ -66,17 +66,18 @@
<div class="padding-small">
<label class="header"><%= scope.textReplaceText %></label>
</div>
<div class="padding-large">
<div class="padding-small">
<div class="padding-small" id="id-autocorrect-dialog-chk-quotes"></div>
<div class="padding-small" id="id-autocorrect-dialog-chk-hyphens"></div>
<div id="id-autocorrect-dialog-chk-hyperlink"></div>
<div class="padding-small" id="id-autocorrect-dialog-chk-hyperlink"></div>
<div class="padding-small" id="id-autocorrect-dialog-chk-double-space"></div>
</div>
<div class="padding-small">
<label class="header"><%= scope.textApplyText %></label>
</div>
<div class="padding-large">
<div class="padding-small">
<div class="padding-small" id="id-autocorrect-dialog-chk-bulleted"></div>
<div id="id-autocorrect-dialog-chk-numbered"></div>
<div class="padding-small" id="id-autocorrect-dialog-chk-numbered"></div>
</div>
</div>
</div>
@ -85,14 +86,14 @@
<div class="padding-small">
<label class="header"><%= scope.textReplaceText %></label>
</div>
<div class="padding-large">
<div id="id-autocorrect-dialog-chk-hyperlink"></div>
<div class="padding-small">
<div class="padding-small" id="id-autocorrect-dialog-chk-hyperlink"></div>
</div>
<div class="padding-small">
<label class="header"><%= scope.textApplyAsWork %></label>
</div>
<div class="padding-large">
<div id="id-autocorrect-dialog-chk-new-rows"></div>
<div class="padding-small">
<div class="padding-small" id="id-autocorrect-dialog-chk-new-rows"></div>
</div>
</div>
</div>
@ -101,7 +102,7 @@
<div class="padding-small">
<div id="id-autocorrect-dialog-chk-fl-sentence"></div>
</div>
<div class="padding-large">
<div class="padding-small">
<div id="id-autocorrect-dialog-chk-fl-cells"></div>
</div>
</div>

View file

@ -1,4 +1,4 @@
<% if (!hide) { %>
<% if (!hide && !filtered) { %>
<div id="<%= id %>" class="user-comment-item">
<!-- comment block -->

View file

@ -7,8 +7,8 @@
<div class="inner-ct">
<textarea id="comment-msg-new" class="user-select textarea-control" placeholder="<%=textEnterCommentHint%>" maxlength="<%=maxCommLength%>" data-hint="1" data-hint-direction="left-top"></textarea>
</div>
<button class="btn add normal dlg-btn primary" data-hint="1" data-hint-direction="bottom" data-hint-offset="big"><%=textAddComment%></button>
<button class="btn cancel normal dlg-btn" data-hint="1" data-hint-direction="bottom" data-hint-offset="big"><%=textCancel%></button>
<button class="btn add normal dlg-btn primary" data-hint="1" data-hint-direction="bottom" data-hint-offset="big" style="width: auto;min-width: 86px;"><%=textAddComment%></button>
<button class="btn cancel normal dlg-btn" data-hint="1" data-hint-direction="bottom" data-hint-offset="big" style="width: auto;min-width: 86px;"><%=textCancel%></button>
</div>
<div id="comments-header" class="">
<label><%=textComments%></label>

View file

@ -0,0 +1,63 @@
<div id="search-box" class="layout-ct vbox search-panel">
<div id="search-header">
<label id="search-adv-title"></label>
<div id="search-btn-close"></div>
</div>
<div id="search-adv-settings">
<table cols="1">
<tbody>
<tr>
<td class="padding-small"><div id="search-adv-text"></div></td>
</tr>
<tr class="edit-setting">
<td class="padding-large"><div id="search-adv-replace-text"></div></td>
</tr>
<tr>
<td class="padding-large">
<label id="search-adv-results-number" style="display: inline-block;">
<%= scope.textSearchResults %>
</label>
<div class="search-nav-btns">
<div id="search-adv-back"></div>
<div id="search-adv-next"></div>
</div>
</td>
</tr>
<tr class="edit-setting">
<td class="padding-large">
<button type="button" class="btn btn-text-default" id="search-adv-replace" data-hint="1" data-hint-direction="bottom" data-hint-offset="big"><%= scope.textReplace %></button>
<button type="button" class="btn btn-text-default" id="search-adv-replace-all" data-hint="1" data-hint-direction="bottom" data-hint-offset="big"><%= scope.textReplaceAll %></button>
</td>
</tr>
<tr class="search-options-block">
<td class="padding-large">
<div id="open-search-options" data-hint="1" data-hint-direction="left" data-hint-offset="0, -15">
<div class="search-options-caret img-commonctrl"></div>
<div class="search-options-txt"><%= scope.textSearchOptions %></div>
</div>
<div id="search-options">
<label class="input-label"><%= scope.textWithin %></label>
<div id="search-adv-cmb-within"></div>
<div id="search-adv-select-range"></div>
<label class="input-label"><%= scope.textSearch %></label>
<div id="search-adv-cmb-search"></div>
<label class="input-label"><%= scope.textLookIn %></label>
<div id="search-adv-cmb-look-in"></div>
</div>
</td>
</tr>
<tr>
<td class="padding-small"><div id="search-adv-case-sensitive"></div></td>
</tr>
<!---<tr>
<td class="padding-small"><div id="search-adv-use-regexp"></div></td>
</tr>-->
<tr>
<td class="padding-large"><div id="search-adv-match-word"></div></td>
</tr>
</tbody>
</table>
</div>
<div id="search-results" class="ps-container oo">
</div>
</div>

View file

@ -52,13 +52,13 @@ define(['gateway'], function () {
Common.Gateway.on('internalcommand', ongetstore);
var _refresh = function() {
if (!_lsAllowed)
Common.Gateway.internalMessage('localstorage', {cmd:'get', keys:_filter});
// if (!_lsAllowed)
// Common.Gateway.internalMessage('localstorage', {cmd:'get', keys:_filter});
};
var _save = function() {
if (!_lsAllowed)
Common.Gateway.internalMessage('localstorage', {cmd:'set', keys:_store});
// if (!_lsAllowed)
// Common.Gateway.internalMessage('localstorage', {cmd:'set', keys:_store});
};
var _setItem = function(name, value, just) {
@ -72,14 +72,15 @@ define(['gateway'], function () {
} else {
_store[name] = value;
if (just===true) {
Common.Gateway.internalMessage('localstorage', {
cmd:'set',
keys: {
name: value
}
});
}
// if (just===true) {
// TDDO: remove after ver 7.2. using external local storage is depricated
// Common.Gateway.internalMessage('localstorage', {
// cmd:'set',
// keys: {
// name: value
// }
// });
// }
}
};

View file

@ -148,8 +148,8 @@ Common.util = Common.util||{};
}
},
suspendEvents: function(key,scope) {
window.key.suspend(key,scope);
suspendEvents: function(key,scope,propagate) {
window.key.suspend(key,scope,propagate);
},
resumeEvents: function(key,scope) {

View file

@ -109,13 +109,16 @@
var me = this;
Common.NotificationCenter.on({'layout:changed': function(e){
if (!me.options.hideonclick && me.tip().is(':visible'))
if (!me.options.keepvisible && !me.options.hideonclick && me.tip().is(':visible'))
me.hide();
}});
this.isDesktopApp = Common.Controllers.Desktop.isActive();
},
mousemove: function (e) {
this.targetXY = [e.clientX*Common.Utils.zoom(), e.clientY*Common.Utils.zoom()];
var x = e.clientX*Common.Utils.zoom(),
y = e.clientY*Common.Utils.zoom();
this.targetXY = [x, this.isDesktopApp ? Math.max(y, 14) : y];
},
leave: function(obj) {

View file

@ -597,4 +597,776 @@ define(function(){ 'use strict';
textValue: 'Value is'
}
})(), Common.define.conditionalData || {});
Common.define.effectData = _.extend(new (function () {
return {
textEntrance: 'Entrance Effect',
textEmphasis: 'Emphasis Effect',
textExit: 'Exit Effect',
textPath: 'Motion Path',
textAppear: 'Appear',
textFade: 'Fade',
textFlyIn: 'Fly in',
textFloatIn: 'Float In',
textSplit: 'Split',
textWipe: 'Wipe',
textShape: 'Shape',
textWheel: 'Wheel',
textRandomBars: 'Random Bars ',
textGrowTurn: 'Grow & Turn',
textZoom: 'Zoom',
textSwivel: 'Swivel',
textBounce: 'Bounce',
textPulse: 'Pulse',
textColorPulse: 'Color Pulse',
textTeeter: 'Teeter',
textSpin: 'Spin',
textGrowShrink: 'Grow/Shrink',
textShrinkTurn: 'Shrink & Turn',
textDesaturate: 'Desaturate',
textDarken: 'Darken',
textLighten: 'Lighten',
textTransparency: 'Transparency',
textObjectColor: 'Object Color',
textComplementaryColor: 'Complementary Color',
textComplementaryColor2: 'Complementary Color 2',
textLineColor: 'Line Color',
textFillColor: 'Fill Color',
textBrushColor: 'Brush Color',
textFontColor: 'Font Color',
textUnderline: 'Underline',
textBoldFlash: 'Bold Flash',
textBoldReveal: 'Bold Reveal',
textWave: 'Wave',
textDisappear: 'Disappear',
textFlyOut: 'Fly Out',
textFloatOut: 'Float Out',
textBasic: 'Basic',
textSubtle: 'Subtle',
textModerate: 'Moderate',
textExciting: 'Exciting',
textLinesCurves: 'Lines Curves',
textSpecial: 'Special',
textBox: 'Box',
textCircle: 'Circle',
textPlus: 'Plus',
textDiamond: 'Diamond',
textDissolveIn: 'Dissolve In',
textBlinds: 'Blinds',
textCheckerboard: 'Checkerboard',
textPeekIn: 'Peek In',
textStrips: 'Strips',
textExpand: 'Expand',
textBasicZoom: 'Basic Zoom',
textCompress: 'Compress',
textFloatUp: 'Float Up',
textRiseUp: 'Rise Up',
textStretch: 'Stretch',
textCenterRevolve: 'Center Revolve',
textFloatDown: 'Float Down',
textSpinner: 'Spinner',
textBasicSwivel: 'Basic Swivel',
textBoomerang: 'Boomerang',
textCredits: 'Credits',
textCuverUp: 'Cuver Up',
textDrop: 'Drop',
textFloat: 'Float',
textPinwheel: 'Pinwheel',
textSpiralIn: 'Spiral In',
textWhip: 'Whip',
textGrowWithColor: 'Grow With Color',
textShimmer: 'Shimmer',
textBlink: 'Blink',
textDissolveOut: 'Dissolve Out',
textPeekOut: 'Peek Out',
textContrast: 'Contrast',
textCollapse: 'Collapse',
textSinkDown: 'Sink Down',
textCurveDown: 'CurveDown',
textSpiralOut: 'Spiral Out',
textContrastingColor: 'Contrasting Color',
textPointStar4: '4 Point Star',
textPointStar5: '5 Point Star',
textPointStar6: '6 Point Star',
textPointStar8: '8 Point Star',
textCrescentMoon: 'Crescent Moon',
textEqualTriangle: 'Equal Triangle',
textFootball: 'Football',
textHeart: 'Heart',
textHexagon: 'Hexagon',
textOctagon: 'Octagon',
textParallelogram: 'Parallelogram',
textPentagon: 'Pentagon',
textSquare: 'Square',
textTeardrop: 'Teardrop',
textTrapezoid: 'Trapezoid',
textArcDown: 'Arc Down',
textArcLeft: 'Arc Left',
textArcRight: 'Arc Right',
textArcUp: 'Arc Up',
textBounceLeft: 'Bounce Left',
textBounceRight: 'Bounce Right',
textCurvyLeft: 'Curvy Left',
textCurvyRight: 'Curvy Right',
textDecayingWave: 'Decaying Wave',
textDiagonalDownRight: 'Diagonal Down Right',
textDiagonalUpRight: 'Diagonal Up Right',
textDown: 'Down',
textFunnel: 'Funnel',
textHeartbeat: 'Heartbeat',
textLeft: 'Left',
textRight: 'Right',
textSCurve1: 'S Curve 1',
textSCurve2: 'S Curve 2',
textSineWave: 'Sine Wave',
textSpiralLeft: 'Spiral Left',
textSpiralRight: 'Spiral Right',
textSpring: 'Spring:',
textStairsDown: 'Stairs Down',
textTurnDown: 'Turn Down',
textTurnDownRight: 'Turn Down Right',
textTurnUp: 'Turn Up',
textTurnUpRight: 'Turn Up Right',
textUp: 'Up',
textZigzag: 'Zigzag',
textBean: 'Bean',
textCurvedSquare: 'CurvedSquare',
textCurvedX: 'Curved X',
textCurvyStar: 'Curvy Star',
textFigureFour: 'Figure 8 Four',
textHorizontalFigure: 'Horizontal Figure 8',
textInvertedSquare: 'Inverted Square',
textInvertedTriangle: 'Inverted Triangle',
textLoopDeLoop: 'Loop de Loop',
textNeutron: 'Neutron',
textPeanut: 'Peanut',
textPointStar: 'Point Star',
textSwoosh: 'Swoosh',
textVerticalFigure: 'Vertical Figure 8',
textRightTriangle: 'Right Triangle',
textAcross: 'Across',
textFromBottom: 'From Bottom',
textFromBottomLeft: 'From Bottom-Left',
textFromLeft: 'From Left',
textFromTopLeft: 'From Top-Left',
textFromTop: 'From Top',
textFromTopRight: 'From Top-Right',
textFromRight: 'From Right',
textFromBottomRight: 'From Bottom-Right',
textLeftDown: ' Left Down',
textLeftUp: ' Left Up',
textRightDown: ' Right Down',
textRightUp: ' Right Up',
textObjectCenter: 'Object Center',
textSlideCenter: 'Slide Center',
textInFromScreenCenter: 'In From Screen Center',
textOutFromScreenBottom: 'Out From Screen Bottom',
textInSlightly: 'In Slightly',
textInToScreenBottom: 'In To Screen Bottom',
textOutToScreenCenter: 'Out To Screen Center',
textOutSlightly: 'Out Slightly',
textToBottom: 'To Bottom',
textToBottomLeft: 'To Bottom-Left',
textToLeft: 'To Left',
textToTopLeft: 'To Top-Left',
textToTop: 'To Top',
textToTopRight: 'To Top-Right',
textToRight: 'To Right',
textToBottomRight: 'To Bottom-Right',
textSpoke1: '1 Spoke',
textSpoke2: '2 Spokes',
textSpoke3: '3 Spokes',
textSpoke4: '4 Spokes',
textSpoke8: '8 Spokes',
textCustomPath: 'Custom Path',
textHorizontalIn: 'Horizontal In',
textHorizontalOut: 'Horizontal Out',
textVerticalIn: 'Vertical In',
textVerticalOut: 'Vertical Out',
textVertical: 'Vertical',
textHorizontal: 'Horizontal',
textIn: 'In',
textOut: 'Out',
textWedge: 'Wedge',
textFlip: 'Flip',
textLines: 'Lines',
textArcs: 'Arcs',
textTurns: 'Turns',
textShapes: 'Shapes',
textLoops: 'Loops',
textPathCurve: 'Curve',
textPathLine: 'Line',
textPathScribble: 'Scribble',
getEffectGroupData: function () {
return [
{id: 'menu-effect-group-entrance', value: AscFormat.PRESET_CLASS_ENTR, caption: this.textEntrance, iconClsCustom: 'animation-entrance-custom'},
{id: 'menu-effect-group-emphasis', value: AscFormat.PRESET_CLASS_EMPH, caption: this.textEmphasis, iconClsCustom: 'animation-emphasis-custom'},
{id: 'menu-effect-group-exit', value: AscFormat.PRESET_CLASS_EXIT, caption: this.textExit, iconClsCustom: 'animation-exit-custom'},
{id: 'menu-effect-group-path', value: AscFormat.PRESET_CLASS_PATH, caption: this.textPath, iconClsCustom: 'animation-motion-paths-custom'}
];
},
getEffectData: function () {
return [
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_APPEAR, iconCls: 'animation-entrance-appear', displayValue: this.textAppear},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_FADE, iconCls: 'animation-entrance-fade', displayValue: this.textFade},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_FLY_IN_FROM, iconCls: 'animation-entrance-fly-in', displayValue: this.textFlyIn},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_FLOAT_UP, iconCls: 'animation-entrance-float-in', displayValue: this.textFloatIn, familyEffect: 'entrfloat'},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_SPLIT, iconCls: 'animation-entrance-split', displayValue: this.textSplit},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_WIPE_FROM, iconCls: 'animation-entrance-wipe', displayValue: this.textWipe},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_CIRCLE, iconCls: 'animation-entrance-shape', displayValue: this.textShape, familyEffect: 'entrshape'},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_WHEEL, iconCls: 'animation-entrance-wheel', displayValue: this.textWheel},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_RANDOM_BARS, iconCls: 'animation-entrance-random-bars', displayValue: this.textRandomBars},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_GROW_AND_TURN, iconCls: 'animation-entrance-grow-turn', displayValue: this.textGrowTurn},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_ZOOM, iconCls: 'animation-entrance-zoom', displayValue: this.textZoom},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_SWIVEL, iconCls: 'animation-entrance-swivel', displayValue: this.textSwivel},
{group: 'menu-effect-group-entrance', value: AscFormat.ENTRANCE_BOUNCE, iconCls: 'animation-entrance-bounce', displayValue: this.textBounce},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_PULSE, iconCls: 'animation-emphasis-pulse', displayValue: this.textPulse},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_COLOR_PULSE, iconCls: 'animation-emphasis-color-pulse', displayValue: this.textColorPulse},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_TEETER, iconCls: 'animation-emphasis-teeter', displayValue: this.textTeeter},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_SPIN, iconCls: 'animation-emphasis-spin', displayValue: this.textSpin},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_GROW_SHRINK, iconCls: 'animation-emphasis-grow-or-shrink', displayValue: this.textGrowShrink},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_DESATURATE, iconCls: 'animation-emphasis-desaturate', displayValue: this.textDesaturate},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_CONTRASTING_DARKEN, iconCls: 'animation-emphasis-darken', displayValue: this.textDarken},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_LIGHTEN, iconCls: 'animation-emphasis-lighten', displayValue: this.textLighten},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_TRANSPARENCY, iconCls: 'animation-emphasis-transparency', displayValue: this.textTransparency},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_OBJECT_COLOR, iconCls: 'animation-emphasis-object-color', displayValue: this.textObjectColor},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_COMPLEMENTARY_COLOR, iconCls: 'animation-emphasis-complementary-color', displayValue: this.textComplementaryColor},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_LINE_COLOR, iconCls: 'animation-emphasis-line-color', displayValue: this.textLineColor},
{group: 'menu-effect-group-emphasis', value: AscFormat.EMPHASIS_FILL_COLOR, iconCls: 'animation-emphasis-fill-color', displayValue: this.textFillColor},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_DISAPPEAR, iconCls: 'animation-exit-disappear', displayValue: this.textDisappear},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_FADE, iconCls: 'animation-exit-fade', displayValue: this.textFade},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_FLY_OUT_TO, iconCls: 'animation-exit-fly-out', displayValue: this.textFlyOut},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_FLOAT_DOWN, iconCls: 'animation-exit-float-out', displayValue: this.textFloatOut, familyEffect: 'exitfloat'},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_SPLIT, iconCls: 'animation-exit-split', displayValue: this.textSplit},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_WIPE_FROM, iconCls: 'animation-exit-wipe', displayValue: this.textWipe},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_CIRCLE, iconCls: 'animation-exit-shape', displayValue: this.textShape, familyEffect: 'shape'},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_WHEEL, iconCls: 'animation-exit-wheel', displayValue: this.textWheel},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_RANDOM_BARS, iconCls: 'animation-exit-random-bars', displayValue: this.textRandomBars},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_SHRINK_AND_TURN, iconCls: 'animation-exit-shrink-turn', displayValue: this.textShrinkTurn},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_ZOOM, iconCls: 'animation-exit-zoom', displayValue: this.textZoom},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_SWIVEL, iconCls: 'animation-exit-swivel', displayValue: this.textSwivel},
{group: 'menu-effect-group-exit', value: AscFormat.EXIT_BOUNCE, iconCls: 'animation-exit-bounce', displayValue: this.textBounce},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_DOWN, iconCls: 'animation-motion-paths-lines', displayValue: this.textLines, familyEffect: 'pathlines'},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_ARC_DOWN, iconCls: 'animation-motion-paths-arcs', displayValue: this.textArcs, familyEffect: 'patharcs'},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_TURN_DOWN, iconCls: 'animation-motion-paths-turns', displayValue: this.textTurns, familyEffect: 'pathturns'},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_CIRCLE, iconCls: 'animation-motion-paths-shapes', displayValue: this.textShapes, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_HORIZONTAL_FIGURE_8_FOUR, iconCls: 'animation-motion-paths-loops', displayValue: this.textLoops, familyEffect: 'pathloops'},
{group: 'menu-effect-group-path', value: AscFormat.MOTION_CUSTOM_PATH, iconCls: 'animation-motion-paths-custom-path', displayValue: this.textCustomPath}
];
},
getLevelEffect: function (isPath) {
if (!isPath)
return [
{id: 'menu-effect-level-basic', displayValue: this.textBasic},
{id: 'menu-effect-level-subtle', displayValue: this.textSubtle},
{id: 'menu-effect-level-moderate', displayValue: this.textModerate},
{id: 'menu-effect-level-exciting', displayValue: this.textExciting}
];
else
return [
{id: 'menu-effect-level-basic', displayValue: this.textBasic},
{id: 'menu-effect-level-lines_curves', displayValue: this.textSubtle},
{id: 'menu-effect-level-special', displayValue: this.textModerate}
];
},
getEffectFullData: function () {
return [
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_APPEAR, displayValue: this.textAppear},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_BLINDS, displayValue: this.textBlinds},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_BOX, displayValue: this.textBox, familyEffect: 'entrshape'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_CHECKERBOARD, displayValue: this.textCheckerboard},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_CIRCLE, displayValue: this.textCircle, familyEffect: 'entrshape'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_DIAMOND, displayValue: this.textDiamond, familyEffect: 'entrshape'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_DISSOLVE_IN, displayValue: this.textDissolveIn},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_FLY_IN_FROM, displayValue: this.textFlyIn},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_PEEK_IN_FROM, displayValue: this.textPeekIn},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_PLUS, displayValue: this.textPlus, familyEffect: 'entrshape'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_RANDOM_BARS, displayValue: this.textRandomBars},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_SPLIT, displayValue: this.textSplit},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_STRIPS, displayValue: this.textStrips},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_WEDGE, displayValue: this.textWedge},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_WHEEL, displayValue: this.textWheel},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-basic', value: AscFormat.ENTRANCE_WIPE_FROM, displayValue: this.textWipe},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-subtle', value: AscFormat.ENTRANCE_EXPAND, displayValue: this.textExpand},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-subtle', value: AscFormat.ENTRANCE_FADE, displayValue: this.textFade},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-subtle', value: AscFormat.ENTRANCE_SWIVEL, displayValue: this.textSwivel},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-subtle', value: AscFormat.ENTRANCE_ZOOM, displayValue: this.textZoom},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_BASIC_ZOOM, displayValue: this.textBasicZoom},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_CENTER_REVOLVE, displayValue: this.textCenterRevolve},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_CENTER_COMPRESS, displayValue: this.textCompress},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_FLOAT_DOWN, displayValue: this.textFloatDown, familyEffect: 'entrfloat'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_FLOAT_UP, displayValue: this.textFloatUp, familyEffect: 'entrfloat'},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_GROW_AND_TURN, displayValue: this.textGrowTurn},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_RISE_UP, displayValue: this.textRiseUp},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_SPINNER, displayValue: this.textSpinner},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-moderate', value: AscFormat.ENTRANCE_STRETCH, displayValue: this.textStretch},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_BASIC_SWIVEL, displayValue: this.textBasicSwivel},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_BOOMERANG, displayValue: this.textBoomerang},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_BOUNCE, displayValue: this.textBounce},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_CREDITS, displayValue: this.textCredits},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_CURVE_UP, displayValue: this.textCuverUp},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_DROP, displayValue: this.textDrop},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_FLIP, displayValue: this.textFlip},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_FLOAT, displayValue: this.textFloat},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_PINWHEEL, displayValue: this.textPinwheel},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_SPIRAL_IN, displayValue: this.textSpiralIn},
{group: 'menu-effect-group-entrance', level: 'menu-effect-level-exciting', value: AscFormat.ENTRANCE_WHIP, displayValue: this.textWhip},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_FILL_COLOR, displayValue: this.textFillColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_GROW_SHRINK, displayValue: this.textGrowShrink},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_FONT_COLOR, displayValue: this.textFontColor, notsupported: true},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_LINE_COLOR, displayValue: this.textLineColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_SPIN, displayValue: this.textSpin},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-basic', value: AscFormat.EMPHASIS_TRANSPARENCY, displayValue: this.textTransparency},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_BOLD_FLASH, displayValue: this.textBoldFlash, notsupported: true},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_COMPLEMENTARY_COLOR, displayValue: this.textComplementaryColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_COMPLEMENTARY_COLOR_2, displayValue: this.textComplementaryColor2},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_CONTRASTING_COLOR, displayValue: this.textContrastingColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_CONTRASTING_DARKEN, displayValue: this.textDarken},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_DESATURATE, displayValue: this.textDesaturate},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_LIGHTEN, displayValue: this.textLighten},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_OBJECT_COLOR, displayValue: this.textObjectColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_PULSE, displayValue: this.textPulse},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_UNDERLINE, displayValue: this.textUnderline, notsupported: true},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-subtle', value: AscFormat.EMPHASIS_BRUSH_COLOR, displayValue: this.textBrushColor, notsupported: true},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-moderate', value: AscFormat.EMPHASIS_COLOR_PULSE, displayValue: this.textColorPulse},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-moderate', value: AscFormat.EMPHASIS_GROW_WITH_COLOR, displayValue: this.textGrowWithColor},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-moderate', value: AscFormat.EMPHASIS_SHIMMER, displayValue: this.textShimmer},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-moderate', value: AscFormat.EMPHASIS_TEETER, displayValue: this.textTeeter},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-exciting', value: AscFormat.EMPHASIS_BLINK, displayValue: this.textBlink},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-exciting', value: AscFormat.EMPHASIS_BOLD_REVEAL, displayValue: this.textBoldReveal, notsupported: true},
{group: 'menu-effect-group-emphasis', level: 'menu-effect-level-exciting', value: AscFormat.EMPHASIS_WAVE, displayValue: this.textWave, notsupported: true},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_BLINDS, displayValue: this.textBlinds},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_BOX, displayValue: this.textBox, familyEffect: 'shape'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_CHECKERBOARD, displayValue: this.textCheckerboard},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_CIRCLE, displayValue: this.textCircle, familyEffect: 'shape'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_DIAMOND, displayValue: this.textDiamond, familyEffect: 'shape'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_DISAPPEAR, displayValue: this.textDisappear},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_DISSOLVE_OUT, displayValue: this.textDissolveOut},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_FLY_OUT_TO, displayValue: this.textFlyOut},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_PEEK_OUT_TO, displayValue: this.textPeekOut},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_PLUS, displayValue: this.textPlus, familyEffect: 'shape'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_RANDOM_BARS, displayValue: this.textRandomBars},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_SPLIT, displayValue: this.textSplit},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_STRIPS, displayValue: this.textStrips},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_WEDGE, displayValue: this.textWedge},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_WHEEL, displayValue: this.textWheel},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-basic', value: AscFormat.EXIT_WIPE_FROM, displayValue: this.textWipe},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-subtle', value: AscFormat.EXIT_CONTRACT, displayValue: this.textContrast},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-subtle', value: AscFormat.EXIT_FADE, displayValue: this.textFade},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-subtle', value: AscFormat.EXIT_SWIVEL, displayValue: this.textSwivel},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-subtle', value: AscFormat.EXIT_ZOOM, displayValue: this.textZoom},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_BASIC_ZOOM, displayValue: this.textBasicZoom},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_CENTER_REVOLVE, displayValue: this.textCenterRevolve},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_COLLAPSE, displayValue: this.textCollapse},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_FLOAT_DOWN, displayValue: this.textFloatDown, familyEffect: 'exitfloat'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_FLOAT_UP, displayValue: this.textFloatUp, familyEffect: 'exitfloat'},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_SHRINK_AND_TURN, displayValue: this.textShrinkTurn},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_SINK_DOWN, displayValue: this.textSinkDown},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_SPINNER, displayValue: this.textSpinner},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-moderate', value: AscFormat.EXIT_STRETCHY, displayValue: this.textStretch},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_BASIC_SWIVEL, displayValue: this.textBasicSwivel},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_BOOMERANG, displayValue: this.textBoomerang},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_BOUNCE, displayValue: this.textBounce},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_CREDITS, displayValue: this.textCredits},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_CURVE_DOWN, displayValue: this.textCurveDown},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_DROP, displayValue: this.textDrop},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_FLIP, displayValue: this.textFlip},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_FLOAT, displayValue: this.textFloat},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_PINWHEEL, displayValue: this.textPinwheel},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_SPIRAL_OUT, displayValue: this.textSpiralOut},
{group: 'menu-effect-group-exit', level: 'menu-effect-level-exciting', value: AscFormat.EXIT_WHIP, displayValue: this.textWhip},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PATH_4_POINT_STAR, displayValue: this.textPointStar4},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PATH_5_POINT_STAR, displayValue: this.textPointStar5},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PATH_6_POINT_STAR, displayValue: this.textPointStar6},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PATH_8_POINT_STAR, displayValue: this.textPointStar8},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_CIRCLE, displayValue: this.textCircle, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_CRESCENT_MOON, displayValue: this.textCrescentMoon},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_DIAMOND, displayValue: this.textDiamond, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_EQUAL_TRIANGLE, displayValue: this.textEqualTriangle, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_FOOTBALL, displayValue: this.textFootball},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_HEART, displayValue: this.textHeart},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_HEXAGON, displayValue: this.textHexagon, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_OCTAGON, displayValue: this.textOctagon, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PARALLELOGRAM, displayValue: this.textParallelogram, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_PENTAGON, displayValue: this.textPentagon, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_RIGHT_TRIANGLE, displayValue: this.textRightTriangle, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_SQUARE, displayValue: this.textSquare, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_TEARDROP, displayValue: this.textTeardrop},
{group: 'menu-effect-group-path', level: 'menu-effect-level-basic', value: AscFormat.MOTION_TRAPEZOID, displayValue: this.textTrapezoid, familyEffect: 'pathshapes'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_ARC_DOWN, displayValue: this.textArcDown, familyEffect: 'patharcs'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_ARC_LEFT, displayValue: this.textArcLeft, familyEffect: 'patharcs'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_ARC_RIGHT, displayValue: this.textArcRight, familyEffect: 'patharcs'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_ARC_UP, displayValue: this.textArcUp, familyEffect: 'patharcs'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_BOUNCE_LEFT, displayValue: this.textBounceLeft},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_BOUNCE_RIGHT, displayValue: this.textBounceRight},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_CURVY_LEFT, displayValue: this.textCurvyLeft},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_CURVY_RIGHT, displayValue: this.textCurvyRight},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_DECAYING_WAVE, displayValue: this.textDecayingWave},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_DIAGONAL_DOWN_RIGHT, displayValue: this.textDiagonalDownRight},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_DIAGONAL_UP_RIGHT, displayValue: this.textDiagonalUpRight},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_DOWN, displayValue: this.textDown, familyEffect: 'pathlines'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_FUNNEL, displayValue: this.textFunnel},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_HEARTBEAT, displayValue: this.textHeartbeat},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_LEFT, displayValue: this.textLeft, familyEffect: 'pathlines'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_RIGHT, displayValue: this.textRight, familyEffect: 'pathlines'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_S_CURVE_1, displayValue: this.textSCurve1},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_S_CURVE_2, displayValue: this.textSCurve2},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_SINE_WAVE, displayValue: this.textSineWave},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_SINE_SPIRAL_LEFT, displayValue: this.textSpiralLeft},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_SINE_SPIRAL_RIGHT, displayValue: this.textSpiralRight},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_SPRING, displayValue: this.textSpring},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_STAIRS_DOWN, displayValue: this.textStairsDown},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_TURN_DOWN, displayValue: this.textTurnDown, familyEffect: 'pathturns'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_TURN_DOWN_RIGHT, displayValue: this.textTurnDownRight, familyEffect: 'pathturns'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_TURN_UP, displayValue: this.textTurnUp, familyEffect: 'pathturns'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_TURN_UP_RIGHT, displayValue: this.textTurnUpRight, familyEffect: 'pathturns'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_UP, displayValue: this.textUp, familyEffect: 'pathlines'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_WAVE, displayValue: this.textWave},
{group: 'menu-effect-group-path', level: 'menu-effect-level-lines_curves', value: AscFormat.MOTION_ZIGZAG, displayValue: this.textZigzag},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_BEAN, displayValue: this.textBean},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_CURVED_SQUARE, displayValue: this.textCurvedSquare},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_CURVED_X, displayValue: this.textCurvedX},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_CURVY_STAR, displayValue: this.textCurvyStar},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_FIGURE_8_FOUR, displayValue: this.textFigureFour},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_HORIZONTAL_FIGURE_8_FOUR, displayValue: this.textHorizontalFigure, familyEffect: 'pathloops'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_INVERTED_SQUARE, displayValue: this.textInvertedSquare},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_INVERTED_TRIANGLE, displayValue: this.textInvertedTriangle},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_LOOP_DE_LOOP, displayValue: this.textLoopDeLoop, familyEffect: 'pathloops'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_NEUTRON, displayValue: this.textNeutron},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_PEANUT, displayValue: this.textPeanut},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_POINTY_STAR, displayValue: this.textPointStar},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_SWOOSH, displayValue: this.textSwoosh},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_VERTICAL_FIGURE_8, displayValue: this.textVerticalFigure, familyEffect: 'pathloops'},
{group: 'menu-effect-group-path', level: 'menu-effect-level-special', value: AscFormat.MOTION_CUSTOM_PATH, displayValue: this.textCustomPath, notsupported: true}
];
},
getEffectOptionsData: function (group, type) {
switch (group) {
case 'menu-effect-group-entrance':
switch (type) {
case AscFormat.ENTRANCE_BLINDS:
return [
{value: AscFormat.ENTRANCE_BLINDS_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.ENTRANCE_BLINDS_VERTICAL, caption: this.textVertical}
];
case AscFormat.ENTRANCE_BOX:
return [
{value: AscFormat.ENTRANCE_BOX_IN, caption: this.textIn, defvalue: true},
{value: AscFormat.ENTRANCE_BOX_OUT, caption: this.textOut}
];
case AscFormat.ENTRANCE_CHECKERBOARD:
return [
{value: AscFormat.ENTRANCE_CHECKERBOARD_ACROSS, caption: this.textAcross, defvalue: true},
{value: AscFormat.ENTRANCE_CHECKERBOARD_DOWN, caption: this.textDown}
];
case AscFormat.ENTRANCE_CIRCLE:
return [
{value: AscFormat.ENTRANCE_CIRCLE_IN, caption: this.textIn, defvalue: true},
{value: AscFormat.ENTRANCE_CIRCLE_OUT, caption: this.textOut}
];
case AscFormat.ENTRANCE_DIAMOND:
return [
{value: AscFormat.ENTRANCE_DIAMOND_IN, caption: this.textIn, defvalue: true},
{value: AscFormat.ENTRANCE_DIAMOND_OUT, caption: this.textOut}
];
case AscFormat.ENTRANCE_FLY_IN_FROM:
return [
{value: AscFormat.ENTRANCE_FLY_IN_FROM_BOTTOM, caption: this.textFromBottom, defvalue: true},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_BOTTOM_LEFT, caption: this.textFromBottomLeft},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_LEFT, caption: this.textFromLeft},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_TOP_LEFT, caption: this.textFromTopLeft},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_TOP, caption: this.textFromTop},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_TOP_RIGHT, caption: this.textFromTopRight},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_RIGHT, caption: this.textFromRight},
{value: AscFormat.ENTRANCE_FLY_IN_FROM_BOTTOM_RIGHT, caption: this.textFromBottomRight}
];
case AscFormat.ENTRANCE_PEEK_IN_FROM:
return [
{value: AscFormat.ENTRANCE_PEEK_IN_FROM_BOTTOM, caption: this.textFromBottom, defvalue: true},
{value: AscFormat.ENTRANCE_PEEK_IN_FROM_LEFT, caption: this.textFromLeft},
{value: AscFormat.ENTRANCE_PEEK_IN_FROM_RIGHT, caption: this.textFromRight},
{value: AscFormat.ENTRANCE_PEEK_IN_FROM_TOP, caption: this.textFromTop}
];
case AscFormat.ENTRANCE_PLUS:
return [
{value: AscFormat.ENTRANCE_PLUS_IN, caption: this.textIn, defvalue: true},
{value: AscFormat.ENTRANCE_PLUS_OUT, caption: this.textOut}
];
case AscFormat.ENTRANCE_RANDOM_BARS:
return [
{value: AscFormat.ENTRANCE_RANDOM_BARS_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.ENTRANCE_RANDOM_BARS_VERTICAL, caption: this.textVertical}
];
case AscFormat.ENTRANCE_SPLIT:
return [
{value: AscFormat.ENTRANCE_SPLIT_HORIZONTAL_IN, caption: this.textHorizontalIn},
{value: AscFormat.ENTRANCE_SPLIT_HORIZONTAL_OUT, caption: this.textHorizontalOut},
{value: AscFormat.ENTRANCE_SPLIT_VERTICAL_IN, caption: this.textVerticalIn, defvalue: true},
{value: AscFormat.ENTRANCE_SPLIT_VERTICAL_OUT, caption: this.textVerticalOut}
];
case AscFormat.ENTRANCE_STRIPS:
return [
{value: AscFormat.ENTRANCE_STRIPS_LEFT_DOWN, caption: this.textLeftDown, defvalue: true},
{value: AscFormat.ENTRANCE_STRIPS_LEFT_UP, caption: this.textLeftUp},
{value: AscFormat.ENTRANCE_STRIPS_RIGHT_DOWN, caption: this.textRightDown},
{value: AscFormat.ENTRANCE_STRIPS_RIGHT_UP, caption: this.textRightUp}
];
case AscFormat.ENTRANCE_WHEEL:
return [
{value: AscFormat.ENTRANCE_WHEEL_1_SPOKE, caption: this.textSpoke1, defvalue: true},
{value: AscFormat.ENTRANCE_WHEEL_2_SPOKES, caption: this.textSpoke2},
{value: AscFormat.ENTRANCE_WHEEL_3_SPOKES, caption: this.textSpoke3},
{value: AscFormat.ENTRANCE_WHEEL_4_SPOKES, caption: this.textSpoke4},
{value: AscFormat.ENTRANCE_WHEEL_8_SPOKES, caption: this.textSpoke8}
];
case AscFormat.ENTRANCE_WIPE_FROM:
return [
{value: AscFormat.ENTRANCE_WIPE_FROM_BOTTOM, caption: this.textFromBottom, defvalue: true},
{value: AscFormat.ENTRANCE_WIPE_FROM_LEFT, caption: this.textFromLeft},
{value: AscFormat.ENTRANCE_WIPE_FROM_RIGHT, caption: this.textFromRight},
{value: AscFormat.ENTRANCE_WIPE_FROM_TOP, caption: this.textFromTop}
];
case AscFormat.ENTRANCE_ZOOM:
return [
{value: AscFormat.ENTRANCE_ZOOM_OBJECT_CENTER, caption: this.textObjectCenter, defvalue: true},
{value: AscFormat.ENTRANCE_ZOOM_SLIDE_CENTER, caption: this.textSlideCenter}
];
case AscFormat.ENTRANCE_BASIC_ZOOM:
return [
{value: AscFormat.ENTRANCE_BASIC_ZOOM_IN, caption: this.textIn, defvalue: true},
{value: AscFormat.ENTRANCE_BASIC_ZOOM_IN_FROM_SCREEN_CENTER, caption: this.textInFromScreenCenter},
{value: AscFormat.ENTRANCE_BASIC_ZOOM_IN_SLIGHTLY, caption: this.textInSlightly},
{value: AscFormat.ENTRANCE_BASIC_ZOOM_OUT, caption: this.textOut},
{value: AscFormat.ENTRANCE_BASIC_ZOOM_OUT_FROM_SCREEN_BOTTOM, caption: this.textOutFromScreenBottom},
{value: AscFormat.ENTRANCE_BASIC_ZOOM_OUT_SLIGHTLY, caption: this.textOutSlightly}
];
case AscFormat.ENTRANCE_STRETCH:
return [
{value: AscFormat.ENTRANCE_STRETCH_ACROSS, caption: this.textAcross, defvalue: true},
{value: AscFormat.ENTRANCE_STRETCH_FROM_BOTTOM, caption: this.textFromBottom},
{value: AscFormat.ENTRANCE_STRETCH_FROM_LEFT, caption: this.textFromLeft},
{value: AscFormat.ENTRANCE_STRETCH_FROM_RIGHT, caption: this.textFromRight},
{value: AscFormat.ENTRANCE_STRETCH_FROM_TOP, caption: this.textFromTop}
];
case AscFormat.ENTRANCE_BASIC_SWIVEL:
return [
{value: AscFormat.ENTRANCE_BASIC_SWIVEL_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.ENTRANCE_BASIC_SWIVEL_VERTICAL, caption: this.textVertical}
];
default:
return undefined;
}
break;
case 'menu-effect-group-exit':
switch (type){
case AscFormat.EXIT_BLINDS:
return [
{value: AscFormat.EXIT_BLINDS_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.EXIT_BLINDS_VERTICAL, caption: this.textVertical}
];
case AscFormat.EXIT_BOX:
return [
{value: AscFormat.EXIT_BOX_IN, caption: this.textIn},
{value: AscFormat.EXIT_BOX_OUT, caption: this.textOut, defvalue: true}
];
case AscFormat.EXIT_CHECKERBOARD:
return [
{value: AscFormat.EXIT_CHECKERBOARD_ACROSS, caption: this.textAcross, defvalue: true},
{value: AscFormat.EXIT_CIRCLE_OUT, caption: this.textUp}
];
case AscFormat.EXIT_CIRCLE:
return [
{value: AscFormat.EXIT_CIRCLE_IN, caption: this.textIn},
{value: AscFormat.EXIT_CIRCLE_OUT, caption: this.textOut, defvalue: true}
];
case AscFormat.EXIT_DIAMOND:
return [
{value: AscFormat.EXIT_DIAMOND_IN, caption: this.textIn},
{value: AscFormat.EXIT_DIAMOND_OUT, caption: this.textOut, defvalue: true}
];
case AscFormat.EXIT_FLY_OUT_TO:
return [
{value: AscFormat.EXIT_FLY_OUT_TO_BOTTOM, caption: this.textToBottom, defvalue: true},
{value: AscFormat.EXIT_FLY_OUT_TO_BOTTOM_LEFT, caption: this.textToBottomLeft},
{value: AscFormat.EXIT_FLY_OUT_TO_LEFT, caption: this.textToLeft},
{value: AscFormat.EXIT_FLY_OUT_TO_TOP_LEFT, caption: this.textToTopLeft},
{value: AscFormat.EXIT_FLY_OUT_TO_TOP, caption: this.textToTop},
{value: AscFormat.EXIT_FLY_OUT_TO_TOP_RIGHT, caption: this.textToTopRight},
{value: AscFormat.EXIT_FLY_OUT_TO_RIGHT, caption: this.textToRight},
{value: AscFormat.EXIT_FLY_OUT_TO_BOTTOM_RIGHT, caption: this.textToBottomRight}
];
case AscFormat.EXIT_PEEK_OUT_TO:
return [
{value: AscFormat.EXIT_PEEK_OUT_TO_BOTTOM, caption: this.textToBottom, defvalue: true},
{value: AscFormat.EXIT_PEEK_OUT_TO_LEFT, caption: this.textToLeft},
{value: AscFormat.EXIT_PEEK_OUT_TO_RIGHT, caption: this.textToRight},
{value: AscFormat.EXIT_PEEK_OUT_TO_TOP, caption: this.textToTop}
];
case AscFormat.EXIT_PLUS:
return [
{value: AscFormat.EXIT_PLUS_IN, caption: this.textIn},
{value: AscFormat.EXIT_PLUS_OUT, caption: this.textOut, defvalue: true}
];
case AscFormat.EXIT_RANDOM_BARS:
return [
{value: AscFormat.EXIT_RANDOM_BARS_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.EXIT_RANDOM_BARS_VERTICAL, caption: this.textVertical}
];
case AscFormat.EXIT_SPLIT:
return [
{value: AscFormat.EXIT_SPLIT_HORIZONTAL_IN, caption: this.textHorizontalIn},
{value: AscFormat.EXIT_SPLIT_HORIZONTAL_OUT, caption: this.textHorizontalOut},
{value: AscFormat.EXIT_SPLIT_VERTICAL_IN, caption: this.textVerticalIn, defvalue: true},
{value: AscFormat.EXIT_SPLIT_VERTICAL_OUT, caption: this.textVerticalOut}
];
case AscFormat.EXIT_STRIPS:
return [
{value: AscFormat.EXIT_STRIPS_LEFT_DOWN, caption: this.textLeftDown, defvalue: true},
{value: AscFormat.EXIT_STRIPS_LEFT_UP, caption: this.textLeftUp},
{value: AscFormat.EXIT_STRIPS_RIGHT_DOWN, caption: this.textRightDown},
{value: AscFormat.EXIT_STRIPS_RIGHT_UP, caption: this.textRightUp}
];
case AscFormat.EXIT_WHEEL:
return [
{value: AscFormat.EXIT_WHEEL_1_SPOKE, caption: this.textSpoke1, defvalue: true},
{value: AscFormat.EXIT_WHEEL_2_SPOKES, caption: this.textSpoke2},
{value: AscFormat.EXIT_WHEEL_3_SPOKES, caption: this.textSpoke3},
{value: AscFormat.EXIT_WHEEL_4_SPOKES, caption: this.textSpoke4},
{value: AscFormat.EXIT_WHEEL_8_SPOKES, caption: this.textSpoke8}
];
case AscFormat.EXIT_WIPE_FROM:
return [
{value: AscFormat.EXIT_WIPE_FROM_BOTTOM, caption: this.textFromBottom, defvalue: true},
{value: AscFormat.EXIT_WIPE_FROM_LEFT, caption: this.textFromLeft},
{value: AscFormat.EXIT_WIPE_FROM_RIGHT, caption: this.textFromRight},
{value: AscFormat.EXIT_WIPE_FROM_TOP, caption: this.textFromTop}
];
case AscFormat.EXIT_ZOOM:
return [
{value: AscFormat.EXIT_ZOOM_OBJECT_CENTER, caption: this.textObjectCenter, defvalue: true},
{value: AscFormat.EXIT_ZOOM_SLIDE_CENTER, caption: this.textSlideCenter}
];
case AscFormat.EXIT_BASIC_ZOOM:
return [
{value: AscFormat.EXIT_BASIC_ZOOM_OUT, caption: this.textOut, defvalue: true},
{value: AscFormat.EXIT_BASIC_ZOOM_OUT_TO_SCREEN_CENTER, caption: this.textOutToScreenCenter},
{value: AscFormat.EXIT_BASIC_ZOOM_OUT_SLIGHTLY, caption: this.textOutSlightly},
{value: AscFormat.EXIT_BASIC_ZOOM_IN, caption: this.textIn},
{value: AscFormat.EXIT_BASIC_ZOOM_IN_TO_SCREEN_BOTTOM, caption: this.textInToScreenBottom},
{value: AscFormat.EXIT_BASIC_ZOOM_IN_SLIGHTLY, caption: this.textInSlightly}
];
case AscFormat.EXIT_COLLAPSE:
return [
{value: AscFormat.EXIT_COLLAPSE_ACROSS, caption: this.textAcross, defvalue: true},
{value: AscFormat.EXIT_COLLAPSE_TO_BOTTOM, caption: this.textToBottom},
{value: AscFormat.EXIT_COLLAPSE_TO_LEFT, caption: this.textToLeft},
{value: AscFormat.EXIT_COLLAPSE_TO_RIGHT, caption: this.textToRight},
{value: AscFormat.EXIT_COLLAPSE_TO_TOP, caption: this.textToTop}
];
case AscFormat.EXIT_BASIC_SWIVEL:
return [
{value: AscFormat.EXIT_BASIC_SWIVEL_HORIZONTAL, caption: this.textHorizontal, defvalue: true},
{value: AscFormat.EXIT_BASIC_SWIVEL_VERTICAL, caption: this.textVertical}
];
default:
return undefined;
}
break;
case 'menu-effect-group-path':
switch (type) {
case AscFormat.MOTION_CUSTOM_PATH:
return [
{value: AscFormat.MOTION_CUSTOM_PATH_CURVE, caption: this.textPathCurve, isCustom: true},
{value: AscFormat.MOTION_CUSTOM_PATH_LINE, caption: this.textPathLine, isCustom: true},
{value: AscFormat.MOTION_CUSTOM_PATH_SCRIBBLE, caption: this.textPathScribble, isCustom: true}
];
}
break;
default:
return undefined;
}
},
getSimilarEffectsArray: function (familyEffect) {
switch (familyEffect){
case 'shape':
return [
{value: AscFormat.EXIT_CIRCLE, caption: this.textCircle},
{value: AscFormat.EXIT_BOX, caption: this.textBox},
{value: AscFormat.EXIT_DIAMOND, caption: this.textDiamond},
{value: AscFormat.EXIT_PLUS, caption: this.textPlus}
];
case 'entrshape':
return [
{value: AscFormat.ENTRANCE_CIRCLE, caption: this.textCircle},
{value: AscFormat.ENTRANCE_BOX, caption: this.textBox},
{value: AscFormat.ENTRANCE_DIAMOND, caption: this.textDiamond},
{value: AscFormat.ENTRANCE_PLUS, caption: this.textPlus}
];
case 'pathlines':
return[
{value: AscFormat.MOTION_DOWN, caption: this.textDown},
{value: AscFormat.MOTION_LEFT, caption: this.textLeft},
{value: AscFormat.MOTION_RIGHT, caption: this.textRight},
{value: AscFormat.MOTION_UP, caption: this.textUp}
];
case 'patharcs':
return [
{value: AscFormat.MOTION_ARC_DOWN, caption: this.textArcDown},
{value: AscFormat.MOTION_ARC_LEFT, caption: this.textArcLeft},
{value: AscFormat.MOTION_ARC_RIGHT, caption: this.textArcRight},
{value: AscFormat.MOTION_ARC_UP, caption: this.textArcUp}
];
case 'pathturns':
return [
{value: AscFormat.MOTION_TURN_DOWN, caption: this.textTurnDown},
{value: AscFormat.MOTION_TURN_DOWN_RIGHT, caption: this.textTurnDownRight},
{value: AscFormat.MOTION_TURN_UP, caption: this.textTurnUp},
{value: AscFormat.MOTION_TURN_UP_RIGHT, caption: this.textTurnUpRight}
];
case 'pathshapes':
return [
{value: AscFormat.MOTION_CIRCLE, caption: this.textCircle},
{value: AscFormat.MOTION_DIAMOND, caption: this.textDiamond},
{value: AscFormat.MOTION_EQUAL_TRIANGLE, caption: this.textEqualTriangle},
{value: AscFormat.MOTION_HEXAGON, caption: this.textHexagon},
{value: AscFormat.MOTION_OCTAGON, caption: this.textOctagon},
{value: AscFormat.MOTION_PARALLELOGRAM, caption: this.textParallelogram},
{value: AscFormat.MOTION_PENTAGON, caption: this.textPentagon},
{value: AscFormat.MOTION_RIGHT_TRIANGLE, caption: this.textRightTriangle},
{value: AscFormat.MOTION_SQUARE, caption: this.textSquare},
{value: AscFormat.MOTION_TRAPEZOID, caption: this.textTrapezoid}
];
case 'pathloops':
return [
{value: AscFormat.MOTION_HORIZONTAL_FIGURE_8_FOUR, caption: this.textHorizontalFigure},
{value: AscFormat.MOTION_VERTICAL_FIGURE_8, caption: this.textVerticalFigure},
{value: AscFormat.MOTION_LOOP_DE_LOOP, caption: this.textLoopDeLoop}
];
case 'entrfloat':
return [
{value: AscFormat.ENTRANCE_FLOAT_UP, caption: this.textFloatUp},
{value: AscFormat.ENTRANCE_FLOAT_DOWN, caption: this.textFloatDown}
];
case 'exitfloat':
return [
{value: AscFormat.EXIT_FLOAT_UP, caption: this.textFloatUp},
{value: AscFormat.EXIT_FLOAT_DOWN, caption: this.textFloatDown}
];
default:
return [];
}
}
}
})(), Common.define.effectData || {});
});

View file

@ -0,0 +1,22 @@
if ( window.AscDesktopEditor ) {
window.desktop = window.AscDesktopEditor;
desktop.features = {};
window.native_message_cmd = [];
window.on_native_message = function (cmd, param) {
if ( /window:features/.test(cmd) ) {
var obj = JSON.parse(param);
if ( obj.singlewindow !== undefined ) {
desktop.features.singlewindow = obj.singlewindow;
}
} else
window.native_message_cmd[cmd] = param;
}
if ( !!window.RendererProcessVariable ) {
desktop.theme = window.RendererProcessVariable.theme;
}
window.desktop.execCommand('webapps:entry', (window.features && JSON.stringify(window.features)) || '');
}

View file

@ -31,4 +31,10 @@ if ( !window.fetch ) {
return target;
};
}
if (typeof Object.getOwnPropertySymbols != 'function') {
Object.getOwnPropertySymbols = function(target) {
return [];
};
}
}

View file

@ -52,8 +52,8 @@ var checkLocalStorage = (function () {
}
})();
if ( window.desktop && !!window.RendererProcessVariable ) {
var theme = window.RendererProcessVariable.theme
if ( window.desktop ) {
var theme = desktop.theme
if ( theme ) {
if ( !theme.id && !!theme.type ) {
@ -62,8 +62,14 @@ if ( window.desktop && !!window.RendererProcessVariable ) {
}
if ( theme.id ) {
// params.uitheme = undefined;
if ( theme.id == 'theme-system' ) {
localStorage.setItem("ui-theme-use-system", "1");
localStorage.removeItem("ui-theme-id");
delete params.uitheme;
} else {
localStorage.setItem("ui-theme-id", theme.id);
}
localStorage.removeItem("ui-theme");
}
}
@ -82,9 +88,11 @@ if ( !!params.uitheme && checkLocalStorage && !localStorage.getItem("ui-theme-id
}
var ui_theme_name = checkLocalStorage && localStorage.getItem("ui-theme-id") ? localStorage.getItem("ui-theme-id") : params.uitheme;
var ui_theme_type;
if ( !ui_theme_name ) {
if ( window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ) {
ui_theme_name = 'theme-dark';
ui_theme_type = 'dark';
checkLocalStorage && localStorage.removeItem("ui-theme");
}
}
@ -93,10 +101,12 @@ if ( !!ui_theme_name ) {
}
if ( checkLocalStorage ) {
var content_theme = localStorage.getItem("content-theme");
let current_theme = localStorage.getItem("ui-theme");
if ( !!current_theme && /type":\s*"dark/.test(current_theme) || ui_theme_type == 'dark' ) {
document.body.classList.add("theme-type-dark");
let content_theme = localStorage.getItem("content-theme");
if ( content_theme == 'dark' ) {
var current_theme = localStorage.getItem("ui-theme");
if ( !!current_theme && /type":\s*"dark/.test(current_theme) ) {
document.body.classList.add("content-theme-dark");
}
}

View file

@ -1,5 +1,9 @@
+function init_themes() {
if ( localStorage.getItem("ui-theme-use-system") == '1' ) {
localStorage.removeItem("ui-theme-id");
}
var objtheme = localStorage.getItem("ui-theme");
if ( typeof(objtheme) == 'string' &&
objtheme.startsWith("{") && objtheme.endsWith("}") )

View file

@ -193,13 +193,18 @@ var utils = new(function() {
me.innerHeight = window.innerHeight * me.zoom;
me.applicationPixelRatio = scale.applicationPixelRatio || scale.devicePixelRatio;
};
checkSizeIE = function() {
me.innerWidth = window.innerWidth;
me.innerHeight = window.innerHeight;
};
me.zoom = 1;
me.applicationPixelRatio = 1;
me.innerWidth = window.innerWidth;
me.innerHeight = window.innerHeight;
if ( isIE )
if ( isIE ) {
$(document.body).addClass('ie');
else {
$(window).on('resize', checkSizeIE);
} else {
checkSize();
$(window).on('resize', checkSize);
}
@ -436,7 +441,7 @@ var metrics = new(function() {
}
})();
Common.Utils.Metric = _extend_object(Common.Utils.Metric, metrics);
Common.Utils.Metric = _extend_object(metrics, Common.Utils.Metric);
Common.Utils.RGBColor = function(colorString) {
var r, g, b;
@ -603,8 +608,12 @@ Common.Utils.RGBColor = function(colorString) {
}
};
Common.Utils.String = new (function() {
var utilsString = new (function() {
return {
textCtrl: 'Ctrl',
textShift: 'Shift',
textAlt: 'Alt',
format: function(format) {
var args = _.toArray(arguments).slice(1);
if (args.length && typeof args[0] == 'object')
@ -648,7 +657,7 @@ Common.Utils.String = new (function() {
return Common.Utils.String.format(template, string.replace(/\+(?=\S)/g, '').replace(/Ctrl|ctrl/g, '⌘').replace(/Alt|alt/g, '⌥').replace(/Shift|shift/g, '⇧'));
}
return Common.Utils.String.format(template, string);
return Common.Utils.String.format(template, string.replace(/Ctrl|ctrl/g, this.textCtrl).replace(/Alt|alt/g, this.textAlt).replace(/Shift|shift/g, this.textShift));
},
parseFloat: function(string) {
@ -680,6 +689,8 @@ Common.Utils.String = new (function() {
}
})();
Common.Utils.String = _extend_object(utilsString, Common.Utils.String);
Common.Utils.isBrowserSupported = function() {
return !((Common.Utils.ieVersion != 0 && Common.Utils.ieVersion < 10.0) ||
(Common.Utils.safariVersion != 0 && Common.Utils.safariVersion < 5.0) ||
@ -881,7 +892,7 @@ Common.Utils.lockControls = function(causes, lock, opts, defControls) {
opts.merge && (controls = _.union(defControls,controls));
function doLock(cmp, cause) {
if ( cmp && _.contains(cmp.options.lock, cause) ) {
if ( cmp && cmp.options && _.contains(cmp.options.lock, cause) ) {
var index = cmp.keepState.indexOf(cause);
if (lock) {
if (index < 0) {
@ -968,7 +979,7 @@ Common.Utils.warningDocumentIsLocked = function (opts) {
callback: function(btn){
if (btn == 'edit') {
if ( opts.disablefunc ) opts.disablefunc(false);
app.getController('Main').api.asc_setIsReadOnly(false);
app.getController('Main').api.asc_setLocalRestrictions(Asc.c_oAscLocalRestrictionType.None);
}
}
});
@ -986,8 +997,9 @@ jQuery.fn.extend({
var _el = document.getElementById(id.substring(1));
if ( !_el ) {
parent = parent || this;
if ( parent instanceof jQuery ) {
if ( parent && parent.length > 0 ) {
parent.each(function (i, node) {
if (node.querySelectorAll) {
_el = node.querySelectorAll(id);
if ( _el.length == 0 ) {
if ( ('#' + node.id) == id ) {
@ -999,12 +1011,15 @@ jQuery.fn.extend({
_el = _el[0];
return false;
}
}
})
} else {
if (parent && parent.querySelectorAll) {
_el = parent.querySelectorAll(id);
if ( _el && _el.length ) return _el[0];
}
}
}
return _el;
},

View file

@ -126,6 +126,12 @@ define([
'<a href="mailto:" id="id-about-company-mail"></a>',
'</td>',
'</tr>',
'<tr>',
'<td align="center" class="padding-small">',
'<label class="asc-about-desc-name">' + this.txtTel + '</label>',
'<label class="asc-about-desc" id="id-about-company-tel"></label>',
'</td>',
'</tr>',
'<tr>',
'<td align="center" class="padding-small">',
'<a href="" target="_blank" id="id-about-company-url"></a>',
@ -177,6 +183,7 @@ define([
this.lblCompanyMail = _$l.findById('#id-about-company-mail');
this.lblCompanyUrl = _$l.findById('#id-about-company-url');
this.lblCompanyLic = _$l.findById('#id-about-company-lic');
this.lblCompanyTel = _$l.findById('#id-about-company-tel');
this.$el.html(_$l);
this.$el.addClass('about-dlg');
@ -224,6 +231,11 @@ define([
this.lblCompanyMail.attr('href', "mailto:"+value).text(value) :
this.lblCompanyMail.parents('tr').addClass('hidden');
value = customer.phone;
value && value.length ?
this.lblCompanyTel.text(value) :
this.lblCompanyTel.parents('tr').addClass('hidden');
if ((value = customer.www) && value.length) {
var http = !/^https?:\/{2}/i.test(value) ? "http:\/\/" : '';
this.lblCompanyUrl.attr('href', http+value).text(value);
@ -235,10 +247,10 @@ define([
this.lblCompanyLic.parents('tr').addClass('hidden');
value = Common.UI.Themes.isDarkTheme() ? (customer.logoDark || customer.logo) : (customer.logo || customer.logoDark);
value.length ?
value && value.length ?
this.divCompanyLogo.html('<img src="'+value+'" style="max-width:216px; max-height: 35px;" />') :
this.divCompanyLogo.parents('tr').addClass('hidden');
value.length && Common.NotificationCenter.on('uitheme:changed', this.changeLogo.bind(this));
value && value.length && Common.NotificationCenter.on('uitheme:changed', this.changeLogo.bind(this));
} else {
this.cntLicenseeInfo.addClass('hidden');
this.cntLicensorInfo.addClass('margin-bottom');

View file

@ -325,6 +325,16 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-numbered", checked);
me.api.asc_SetAutomaticNumberedLists(checked);
});
this.chDoubleSpaces = new Common.UI.CheckBox({
el: panelAutoFormat.find('#id-autocorrect-dialog-chk-double-space'),
labelText: this.textDoubleSpaces,
value: Common.Utils.InternalSettings.get(this.appPrefix + "settings-autoformat-double-space")
}).on('change', function(field, newValue, oldValue, eOpts){
var checked = (field.getValue()==='checked');
Common.localStorage.setBool(me.appPrefix + "settings-autoformat-double-space", checked);
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-double-space", checked);
me.api.asc_SetAutoCorrectDoubleSpaceWithPeriod(checked);
});
// AutoCorrect
this.chFLSentence = new Common.UI.CheckBox({
el: $window.find('#id-autocorrect-dialog-chk-fl-sentence'),
@ -841,7 +851,8 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
textAutoCorrect: 'AutoCorrect',
textFLSentence: 'Capitalize first letter of sentences',
textHyperlink: 'Internet and network paths with hyperlinks',
textFLCells: 'Capitalize first letter of table cells'
textFLCells: 'Capitalize first letter of table cells',
textDoubleSpaces: 'Add period with double-space'
}, Common.Views.AutoCorrectDialog || {}))
});

View file

@ -136,7 +136,7 @@ define([
this.txtMessage.on('keydown', _.bind(this._onKeyDown, this));
this.setupLayout();
this.trigger('render:after', this);
return this;
},

View file

@ -377,7 +377,21 @@ define([
visible: this.appPrefix==='de-',
checked: Common.localStorage.getItem(this.appPrefix + "comments-sort") === 'position-desc',
toggleGroup: 'sortcomments'
}
},
{
caption: '--',
visible: false
},
this.menuFilterGroups = new Common.UI.MenuItem({
caption: this.mniFilterGroups,
checkable: false,
visible: false,
menu: new Common.UI.Menu({
menuAlign: 'tl-tr',
style: 'min-width: auto;',
items: []
})
})
]
})
});
@ -394,6 +408,7 @@ define([
this.buttonCancel.on('click', _.bind(this.onClickCancelDocumentComment, this));
this.buttonClose.on('click', _.bind(this.onClickClosePanel, this));
this.buttonSort.menu.on('item:toggle', _.bind(this.onSortClick, this));
this.menuFilterGroups.menu.on('item:toggle', _.bind(this.onFilterGroupsClick, this));
this.txtComment = $('#comment-msg-new', this.el);
this.txtComment.keydown(function (event) {
@ -428,7 +443,8 @@ define([
textReply: me.textReply,
textClose: me.textClose,
maxCommLength: Asc.c_oAscMaxCellOrCommentLength
}))
})),
emptyText: me.txtEmpty
});
var addtooltip = function (dataview, view, record) {
@ -477,7 +493,7 @@ define([
},
updateScrolls: function () {
if (this.commentsView && this.commentsView.scroller) {
this.commentsView.scroller.update({minScrollbarLength: 40, alwaysVisibleY: true});
this.commentsView.scroller.update({minScrollbarLength: this.commentsView.minScrollbarLength, alwaysVisibleY: true});
}
},
@ -791,7 +807,7 @@ define([
},
pickEMail: function (commentId, message) {
var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._]+\.[A-Z]+\b/gi);
var arr = Common.Utils.String.htmlEncode(message).match(/\B[@+][A-Z0-9._%+-]+@[A-Z0-9._-]+\.[A-Z]+\b/gi);
arr = _.map(arr, function(str){
return str.slice(1, str.length);
});
@ -812,6 +828,10 @@ define([
state && this.fireEvent('comment:sort', [item.value]);
},
onFilterGroupsClick: function(menu, item, state) {
state && this.fireEvent('comment:filtergroups', [item.value]);
},
onClickClosePanel: function() {
Common.NotificationCenter.trigger('leftmenu:change', 'hide');
},
@ -839,6 +859,9 @@ define([
mniDateDesc: 'Newest',
mniDateAsc: 'Oldest',
textClosePanel: 'Close comments',
textViewResolved: 'You have not permission for reopen comment'
textViewResolved: 'You have not permission for reopen comment',
mniFilterGroups: 'Filter by Group',
textAll: 'All',
txtEmpty: 'There are no comments in the document.'
}, Common.Views.Comments || {}))
});

View file

@ -62,8 +62,8 @@ define([
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-diagram-editor-apply" class="btn normal dlg-btn primary custom" result="ok">' + this.textSave + '</button>',
'<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn" result="cancel">' + this.textClose + '</button>',
'<button id="id-btn-diagram-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-diagram-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');

View file

@ -61,8 +61,8 @@ define([
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-merge-editor-apply" class="btn normal dlg-btn primary custom" result="ok">' + this.textSave + '</button>',
'<button id="id-btn-merge-editor-cancel" class="btn normal dlg-btn disabled" result="cancel">' + this.textClose + '</button>',
'<button id="id-btn-merge-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-merge-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');

View file

@ -0,0 +1,164 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2022
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* ExternalOleEditor.js
*
* Created by Julia Radzhabova on 3/10/22
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
define([
'common/main/lib/component/Window'
], function () { 'use strict';
Common.Views.ExternalOleEditor = Common.UI.Window.extend(_.extend({
initialize : function(options) {
var _options = {};
var _inner_height = Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top');
_.extend(_options, {
title: this.textTitle,
width: 910,
height: (_inner_height - 700)<0 ? _inner_height : 700,
cls: 'advanced-settings-dlg',
header: true,
toolclose: 'hide',
toolcallback: _.bind(this.onToolClose, this)
}, options);
this.template = [
'<div id="id-ole-editor-container" class="box" style="height:' + (_options.height-85) + 'px;">',
'<div id="id-ole-editor-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<div class="separator horizontal"></div>',
'<div class="footer" style="text-align: center;">',
'<button id="id-btn-ole-editor-apply" class="btn normal dlg-btn primary custom" result="ok" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textSave + '</button>',
'<button id="id-btn-ole-editor-cancel" class="btn normal dlg-btn" result="cancel" data-hint="1" data-hint-direction="bottom" data-hint-offset="big">' + this.textClose + '</button>',
'</div>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.handler = _options.handler;
this._oleData = null;
this._isNewOle = true;
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.btnSave = new Common.UI.Button({
el: $('#id-btn-ole-editor-apply'),
disabled: true
});
this.btnCancel = new Common.UI.Button({
el: $('#id-btn-ole-editor-cancel')
});
this.$window.find('.dlg-btn').on('click', _.bind(this.onDlgBtnClick, this));
},
show: function() {
this.setPlaceholder();
Common.UI.Window.prototype.show.apply(this, arguments);
},
setOleData: function(data) {
this._oleData = data;
if (this._isExternalDocReady)
this.fireEvent('setoledata', this);
},
setEditMode: function(mode) {
this._isNewOle = !mode;
},
isEditMode: function() {
return !this._isNewOle;
},
setControlsDisabled: function(disable) {
this.btnSave.setDisabled(disable);
this.btnCancel.setDisabled(disable);
(disable) ? this.$window.find('.tool.close').addClass('disabled') : this.$window.find('.tool.close').removeClass('disabled');
},
onDlgBtnClick: function(event) {
if ( this.handler ) {
this.handler.call(this, event.currentTarget.attributes['result'].value);
return;
}
this.hide();
},
onToolClose: function() {
if ( this.handler ) {
this.handler.call(this, 'cancel');
return;
}
this.hide();
},
setHeight: function(height) {
if (height >= 0) {
var min = parseInt(this.$window.css('min-height'));
height < min && (height = min);
this.$window.height(height);
var header_height = (this.initConfig.header) ? parseInt(this.$window.find('> .header').css('height')) : 0;
this.$window.find('> .body').css('height', height-header_height);
this.$window.find('> .body > .box').css('height', height-85);
var top = (Common.Utils.innerHeight() - Common.Utils.InternalSettings.get('window-inactive-area-top') - parseInt(height)) / 2;
var left = (Common.Utils.innerWidth() - parseInt(this.initConfig.width)) / 2;
this.$window.css('left',left);
this.$window.css('top', Common.Utils.InternalSettings.get('window-inactive-area-top') + top);
}
},
setPlaceholder: function(placeholder) {
this._placeholder = placeholder;
},
getPlaceholder: function() {
return this._placeholder;
},
textSave: 'Save & Exit',
textClose: 'Close',
textTitle: 'Spreadsheet Editor'
}, Common.Views.ExternalOleEditor || {}));
});

View file

@ -52,7 +52,7 @@ define([
Common.Views.Header = Backbone.View.extend(_.extend(function(){
var storeUsers, appConfig;
var $userList, $panelUsers, $btnUsers;
var $userList, $panelUsers, $btnUsers, $btnUserName, $labelDocName;
var _readonlyRights = false;
var templateUserItem =
@ -74,38 +74,47 @@ define([
var templateRightBox = '<section>' +
'<section id="box-doc-name">' +
// '<input type="text" id="rib-doc-name" spellcheck="false" data-can-copy="false" style="pointer-events: none;" disabled="disabled">' +
'<label id="rib-doc-name" />' +
//'<label id="rib-doc-name" />' +
'<input id="rib-doc-name" autofill="off" autocomplete="off"/></input>' +
'</section>' +
'<section style="display: inherit;">' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-hbtn-edit"></div>' +
'<div class="btn-slot" id="slot-hbtn-print"></div>' +
'<div class="btn-slot" id="slot-hbtn-print-quick"></div>' +
'<div class="btn-slot" id="slot-hbtn-download"></div>' +
'</div>' +
'<div class="hedset" data-layout-name="header-users">' +
// '<span class="btn-slot text" id="slot-btn-users"></span>' +
'<section id="tlb-box-users" class="box-cousers dropdown"">' +
'<div class="btn-users" data-hint="0" data-hint-direction="bottom" data-hint-offset="big">' +
'<i class="icon toolbar__icon icon--inverse btn-users"></i>' +
'<label class="caption">&plus;</label>' +
'<section id="tlb-box-users" class="box-cousers dropdown">' +
'<div class="btn-users dropdown-toggle" data-toggle="dropdown" data-hint="0" data-hint-direction="bottom" data-hint-offset="big">' +
'<div class="inner-box-icon">' +
'<svg class=""><use xlink:href="#svg-icon-users"></use></svg>' +
'</div>' +
'<label class="caption"></label>' +
'</div>' +
'<div class="cousers-menu dropdown-menu">' +
'<label id="tlb-users-menu-descr"><%= tipUsers %></label>' +
'<div class="cousers-list"></div>' +
'<label id="tlb-change-rights" class="link"><%= txtAccessRights %></label>' +
'</div>' +
'</section>'+
'</div>' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-share"></div>' +
'</div>' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-mode"></div>' +
'<div class="btn-slot" id="slot-btn-back"></div>' +
'<div class="btn-slot" id="slot-btn-favorite"></div>' +
'<div class="btn-slot" id="slot-btn-options"></div>' +
'<div class="btn-slot" id="slot-btn-search"></div>' +
'</div>' +
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-user-name"></div>' +
'<div class="btn-current-user btn-header hidden">' +
'<i class="icon toolbar__icon icon--inverse btn-user"></i>' +
// '<div class="btn-slot slot-btn-user-name"></div>' +
'<button type="button" class="btn btn-header slot-btn-user-name hidden">' +
'<div class="color-user-name"></div>' +
'</button>' +
'<div class="btn-current-user hidden">' +
'<div class="color-user-name"></div>' +
'</div>' +
'</div>' +
'</section>' +
@ -120,19 +129,29 @@ define([
'<div class="hedset">' +
'<div class="btn-slot" id="slot-btn-dt-save" data-layout-name="header-save"></div>' +
'<div class="btn-slot" id="slot-btn-dt-print"></div>' +
'<div class="btn-slot" id="slot-btn-dt-print-quick"></div>' +
'<div class="btn-slot" id="slot-btn-dt-undo"></div>' +
'<div class="btn-slot" id="slot-btn-dt-redo"></div>' +
'</div>' +
'<div class="lr-separator" id="id-box-doc-name">' +
'<label id="title-doc-name" />' +
// '<label id="title-doc-name" /></label>' +
'<input id="title-doc-name" autofill="off" autocomplete="off"/></input>' +
'</div>' +
'<div class="hedset">' +
// '<div class="btn-slot slot-btn-user-name"></div>' +
'<button type="button" class="btn btn-header slot-btn-user-name hidden">' +
'<div class="color-user-name"></div>' +
'</button>' +
'<div class="btn-current-user hidden">' +
'<div class="color-user-name"></div>' +
'</div>' +
'</div>' +
'<label id="title-user-name"></label>' +
'</section>';
function onResetUsers(collection, opts) {
var usercount = collection.getVisibleEditingCount();
if ( $userList ) {
if ( usercount > 1 || usercount > 0 && appConfig && !appConfig.isEdit && !appConfig.isRestrictedEdit) {
if (usercount > 1 && appConfig && (appConfig.isEdit || appConfig.isRestrictedEdit)) {
$userList.html(templateUserList({
users: collection.chain().filter(function(item){return item.get('online') && !item.get('view') && !item.get('hidden')}).groupBy(function(item) {return item.get('idOriginal');}).value(),
usertpl: _.template(templateUserItem),
@ -163,46 +182,23 @@ define([
function applyUsers(count, originalCount) {
if (!$btnUsers) return;
var has_edit_users = count > 1 || count > 0 && appConfig && !appConfig.isEdit && !appConfig.isRestrictedEdit; // has other user(s) who edit document
var has_edit_users = count > 1 && appConfig && (appConfig.isEdit || appConfig.isRestrictedEdit); // has other user(s) who edit document
if ( has_edit_users ) {
$btnUsers
.attr('data-toggle', 'dropdown')
.addClass('dropdown-toggle')
.menu = true;
$panelUsers['show']();
$btnUsers.find('.caption').html(originalCount);
} else {
$btnUsers
.removeAttr('data-toggle')
.removeClass('dropdown-toggle')
.menu = false;
$panelUsers[(!_readonlyRights && appConfig && (appConfig.sharingSettingsUrl && appConfig.sharingSettingsUrl.length || appConfig.canRequestSharingSettings)) ? 'show' : 'hide']();
}
$btnUsers.find('.caption')
.css({'font-size': ((has_edit_users) ? '12px' : '14px'),
'margin-top': ((has_edit_users) ? '0' : '-1px')})
.html((has_edit_users) ? originalCount : '&plus;');
var usertip = $btnUsers.data('bs.tooltip');
if ( usertip ) {
usertip.options.title = (has_edit_users) ? usertip.options.titleExt : usertip.options.titleNorm;
usertip.setContent();
$panelUsers['hide']();
}
updateDocNamePosition(appConfig);
}
function onLostEditRights() {
_readonlyRights = true;
$panelUsers && $panelUsers.find('#tlb-change-rights').hide();
$btnUsers && !$btnUsers.menu && $panelUsers.hide();
this.btnShare && this.btnShare.setVisible(false);
updateDocNamePosition(appConfig);
}
function onUsersClick(e) {
if ( !$btnUsers.menu ) {
$panelUsers.removeClass('open');
Common.NotificationCenter.trigger('collaboration:sharing');
} else {
var usertip = $btnUsers.data('bs.tooltip');
if ( usertip ) {
if ( usertip.dontShow===undefined)
@ -211,26 +207,59 @@ define([
usertip.hide();
}
}
function updateDocNamePosition(config) {
if ( $labelDocName && config) {
var $parent = $labelDocName.parent();
if (!config.isEdit) {
var _left_width = $parent.position().left,
_right_width = $parent.next().outerWidth();
$parent.css('padding-left', _left_width < _right_width ? Math.max(2, _right_width - _left_width) : 2);
$parent.css('padding-right', _left_width < _right_width ? 2 : Math.max(2, _left_width - _right_width));
} else if (!(config.customization && config.customization.compactHeader)) {
var _left_width = $parent.position().left,
_right_width = $parent.next().outerWidth(),
outerWidth = $labelDocName.outerWidth(),
cssWidth = $labelDocName[0].style.width;
cssWidth = cssWidth ? parseFloat(cssWidth) : outerWidth;
if (cssWidth - outerWidth > 0.1) {
$parent.css('padding-left', _left_width < _right_width ? Math.max(2, $parent.outerWidth() - 2 - cssWidth) : 2);
$parent.css('padding-right', _left_width < _right_width ? 2 : Math.max(2, $parent.outerWidth() - 2 - cssWidth));
} else {
$parent.css('padding-left', _left_width < _right_width ? Math.max(2, Math.min(_right_width - _left_width + 2, $parent.outerWidth() - 2 - cssWidth)) : 2);
$parent.css('padding-right', _left_width < _right_width ? 2 : Math.max(2, Math.min(_left_width - _right_width + 2, $parent.outerWidth() - 2 - cssWidth)));
}
}
if (!(config.customization && config.customization.toolbarHideFileName) && (!config.isEdit || config.customization && config.customization.compactHeader)) {
var basis = parseFloat($parent.css('padding-left') || 0) + parseFloat($parent.css('padding-right') || 0) + parseInt($labelDocName.css('min-width') || 50); // 2px - box-shadow
config.isCrypted && (basis += 20);
$parent.css('flex-basis', Math.ceil(basis) + 'px');
$parent.closest('.extra.right').css('flex-basis', Math.ceil(basis) + $parent.next().outerWidth() + 'px');
Common.NotificationCenter.trigger('tab:resize');
}
}
}
function onResize() {
if (appConfig && appConfig.isEdit && !(appConfig.customization && appConfig.customization.compactHeader)) {
updateDocNamePosition(appConfig);
}
}
function onAppShowed(config) {
if ( this.labelDocName ) {
// config.isCrypted =true; //delete fore merge!
if ( $labelDocName ) {
if ( config.isCrypted ) {
this.labelDocName.before(
'<div class="inner-box-icon crypted">' +
$labelDocName.before(
'<div class="inner-box-icon crypted hidden">' +
'<svg class="icon"><use xlink:href="#svg-icon-crypted"></use></svg>' +
'</div>');
this.imgCrypted = $labelDocName.parent().find('.crypted');
this._showImgCrypted = true;
}
if (!config.isEdit || !config.customization || !config.customization.compactHeader) {
var $parent = this.labelDocName.parent();
var _left_width = $parent.position().left,
_right_width = $parent.next().outerWidth();
if ( _left_width < _right_width )
this.labelDocName.parent().css('padding-left', _right_width - _left_width);
else this.labelDocName.parent().css('padding-right', _left_width - _right_width);
}
updateDocNamePosition(config);
}
}
@ -250,6 +279,15 @@ define([
Common.NotificationCenter.trigger('markfavorite', !me.options.favorite);
});
if (me.btnShare) {
me.btnShare.on('click', function (e) {
Common.NotificationCenter.trigger('collaboration:sharing');
});
me.btnShare.updateHint(me.tipAccessRights);
me.btnShare.setVisible(!_readonlyRights && appConfig && (appConfig.sharingSettingsUrl && appConfig.sharingSettingsUrl.length || appConfig.canRequestSharingSettings));
updateDocNamePosition(appConfig);
}
if ( me.logo )
me.logo.children(0).on('click', function (e) {
var _url = !!me.branding && !!me.branding.logo && (me.branding.logo.url!==undefined) ?
@ -272,33 +310,17 @@ define([
var editingUsers = storeUsers.getVisibleEditingCount();
$btnUsers.tooltip({
title: (editingUsers > 1 || editingUsers>0 && !appConfig.isEdit && !appConfig.isRestrictedEdit) ? me.tipViewUsers : me.tipAccessRights,
titleNorm: me.tipAccessRights,
titleExt: me.tipViewUsers,
title: me.tipUsers,
placement: 'bottom',
html: true
});
$btnUsers.on('click', onUsersClick.bind(me));
var $labelChangeRights = $panelUsers.find('#tlb-change-rights');
$labelChangeRights.on('click', function(e) {
$panelUsers.removeClass('open');
Common.NotificationCenter.trigger('collaboration:sharing');
});
$labelChangeRights[(!mode.isOffline && (mode.sharingSettingsUrl && mode.sharingSettingsUrl.length || mode.canRequestSharingSettings))?'show':'hide']();
$panelUsers[(editingUsers > 1 || editingUsers > 0 && !appConfig.isEdit && !appConfig.isRestrictedEdit || !mode.isOffline && (mode.sharingSettingsUrl && mode.sharingSettingsUrl.length || mode.canRequestSharingSettings)) ? 'show' : 'hide']();
$panelUsers[(editingUsers > 1 && appConfig && (appConfig.isEdit || appConfig.isRestrictedEdit)) ? 'show' : 'hide']();
updateDocNamePosition(appConfig);
}
if (appConfig.user.guest && appConfig.canRenameAnonymous) {
if (me.labelUserName) {
me.labelUserName.addClass('clickable');
me.labelUserName.on('click', function (e) {
Common.NotificationCenter.trigger('user:rename');
});
} else if (me.btnUserName) {
if (me.btnUserName) {
me.btnUserName.on('click', function (e) {
Common.NotificationCenter.trigger('user:rename');
});
@ -312,6 +334,13 @@ define([
});
}
if ( me.btnPrintQuick ) {
me.btnPrintQuick.updateHint(me.tipPrintQuick);
me.btnPrintQuick.on('click', function (e) {
me.fireEvent('print-quick', me);
});
}
if ( me.btnSave ) {
me.btnSave.updateHint(me.tipSave + Common.Utils.String.platformKey('Ctrl+S'));
me.btnSave.on('click', function (e) {
@ -349,47 +378,69 @@ define([
}
}
if ( me.btnOptions )
me.btnOptions.updateHint(me.tipViewSettings);
if (me.btnSearch)
me.btnSearch.updateHint(me.tipSearch + Common.Utils.String.platformKey('Ctrl+F'));
if (appConfig.isEdit && !(appConfig.customization && appConfig.customization.compactHeader))
Common.NotificationCenter.on('window:resize', onResize);
}
function onFocusDocName(e){
var me = this;
me.imgCrypted && me.imgCrypted.toggleClass('hidden', true);
me.isSaveDocName =false;
if(me.withoutExt) return;
var name = me.cutDocName($labelDocName.val());
me.withoutExt = true;
_.delay(function(){
me.setDocTitle(name);
$labelDocName.select();
},100);
}
function onDocNameKeyDown(e) {
var me = this;
var name = me.labelDocName.val();
var name = $labelDocName.val();
if ( e.keyCode == Common.UI.Keys.RETURN ) {
name = name.trim();
if ( !_.isEmpty(name) && me.documentCaption !== name ) {
if ( !_.isEmpty(name) && me.cutDocName(me.documentCaption) !== name ) {
me.isSaveDocName =true;
if ( /[\t*\+:\"<>?|\\\\/]/gim.test(name) ) {
_.defer(function() {
Common.UI.error({
msg: (new Common.Views.RenameDialog).txtInvalidName + "*+:\"<>?|\/"
, callback: function() {
_.delay(function() {
me.labelDocName.focus();
$labelDocName.focus();
me.isSaveDocName =true;
}, 50);
}
});
me.labelDocName.blur();
})
} else {
Common.Gateway.requestRename(name);
} else
if(me.withoutExt) {
name = me.cutDocName(name);
me.options.wopi ? me.api.asc_wopi_renameFile(name) : Common.Gateway.requestRename(name);
name += me.fileExtention;
me.withoutExt = false;
me.setDocTitle(name);
Common.NotificationCenter.trigger('edit:complete', me);
}
} else {
Common.NotificationCenter.trigger('edit:complete', me);
}
} else
if ( e.keyCode == Common.UI.Keys.ESC ) {
me.labelDocName.val(me.documentCaption);
Common.NotificationCenter.trigger('edit:complete', this);
} else {
me.labelDocName.attr('size', name.length > 10 ? name.length : 10);
_.delay(function(){
me.setDocTitle();
},10);
}
}
function onContentThemeChangedToDark(isdark) {
}
return {
options: {
branding: {},
@ -419,7 +470,6 @@ define([
id: 'btn-goback',
cls: 'btn-header',
iconCls: 'toolbar__icon icon--inverse btn-goback',
split: true,
dataHint: '0',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
@ -432,17 +482,15 @@ define([
reset : onResetUsers
});
me.btnOptions = new Common.UI.Button({
me.btnSearch = new Common.UI.Button({
cls: 'btn-header no-caret',
iconCls: 'toolbar__icon icon--inverse btn-ic-options',
menu: true,
iconCls: 'toolbar__icon icon--inverse btn-menu-search',
enableToggle: true,
dataHint: '0',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
});
me.mnuZoom = {options: {value: 100}};
me.btnFavorite = new Common.UI.Button({
id: 'btn-favorite',
cls: 'btn-header',
@ -454,10 +502,10 @@ define([
Common.NotificationCenter.on({
'app:ready': function(mode) {Common.Utils.asyncCall(onAppReady, me, mode);},
'app:face': function(mode) {Common.Utils.asyncCall(onAppShowed, me, mode);}
'app:face': function(mode) {Common.Utils.asyncCall(onAppShowed, me, mode);},
'tab:visible': function() {Common.Utils.asyncCall(updateDocNamePosition, me, appConfig);},
'collaboration:sharingdeny': function(mode) {Common.Utils.asyncCall(onLostEditRights, me, mode);}
});
Common.NotificationCenter.on('collaboration:sharingdeny', onLostEditRights);
Common.NotificationCenter.on('contenttheme:dark', onContentThemeChangedToDark.bind(this));
Common.NotificationCenter.on('uitheme:changed', this.changeLogo.bind(this));
},
@ -477,7 +525,7 @@ define([
disabled: disabled === true,
dataHint:'0',
dataHintDirection: hintDirection ? hintDirection : (config.isDesktopApp ? 'right' : 'left'),
dataHintOffset: hintOffset ? hintOffset : (config.isDesktopApp ? '10, -10' : '10, 10'),
dataHintOffset: hintOffset ? hintOffset : (config.isDesktopApp ? '10, -18' : '10, 10'),
dataHintTitle: hintTitle
})).render(slot);
}
@ -498,21 +546,19 @@ define([
if ( role == 'right' ) {
var $html = $(_.template(templateRightBox)({
tipUsers: this.labelCoUsersDescr,
txtAccessRights: this.txtAccessRights
textShare: this.textShare
}));
if ( !me.labelDocName ) {
me.labelDocName = $html.find('#rib-doc-name');
if ( !$labelDocName ) {
$labelDocName = $html.find('#rib-doc-name');
if ( me.documentCaption ) {
me.labelDocName.text(me.documentCaption);
setTimeout(function() { me.setDocTitle(me.documentCaption); }, 50);
}
} else {
$html.find('#rib-doc-name').hide();
}
if ( !_.isUndefined(this.options.canRename) ) {
this.setCanRename(this.options.canRename);
}
this.setCanRename(!!this.options.canRename);
if ( this.options.canBack === true ) {
me.btnGoBack.render($html.find('#slot-btn-back'));
@ -535,59 +581,90 @@ define([
if ( config.canPrint )
this.btnPrint = createTitleButton('toolbar__icon icon--inverse btn-print', $html.findById('#slot-hbtn-print'), undefined, 'bottom', 'big', 'P');
if ( config.canQuickPrint )
this.btnPrintQuick = createTitleButton('toolbar__icon icon--inverse btn-quick-print', $html.findById('#slot-hbtn-print-quick'), undefined, 'bottom', 'big', 'Q');
if ( config.canEdit && config.canRequestEditRights )
this.btnEdit = createTitleButton('toolbar__icon icon--inverse btn-edit', $html.findById('#slot-hbtn-edit'), undefined, 'bottom', 'big');
}
me.btnOptions.render($html.find('#slot-btn-options'));
me.btnSearch.render($html.find('#slot-btn-search'));
if (!config.isEdit || config.customization && !!config.customization.compactHeader) {
if (config.user.guest && config.canRenameAnonymous)
me.btnUserName = createTitleButton('toolbar__icon icon--inverse btn-user', $html.findById('#slot-btn-user-name'), undefined, 'bottom', 'big' );
else {
if (config.user.guest && config.canRenameAnonymous) {
me.btnUserName = new Common.UI.Button({
el: $html.findById('.slot-btn-user-name'),
cls: 'btn-header',
dataHint:'0',
dataHintDirection: 'bottom',
dataHintOffset: 'big',
visible: true
});
me.btnUserName.cmpEl.removeClass('hidden');
} else {
me.elUserName = $html.find('.btn-current-user');
me.elUserName.removeClass('hidden');
}
$btnUserName = $html.find('.color-user-name');
me.setUserName(me.options.userName);
}
if (!_readonlyRights && config && (config.sharingSettingsUrl && config.sharingSettingsUrl.length || config.canRequestSharingSettings)) {
me.btnShare = new Common.UI.Button({
cls: 'btn-header btn-header-share',
iconCls: 'toolbar__icon icon--inverse btn-users-share',
caption: me.textShare,
dataHint: '0',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
});
me.btnShare.render($html.find('#slot-btn-share'));
} else {
$html.find('#slot-btn-share').hide();
}
$userList = $html.find('.cousers-list');
$panelUsers = $html.find('.box-cousers');
$btnUsers = $html.find('.btn-users');
$btnUsers = $panelUsers.find('> .btn-users');
$panelUsers.hide();
return $html;
} else
if ( role == 'title' ) {
var $html = $(_.template(templateTitleBox)());
!!me.labelDocName && me.labelDocName.hide().off(); // hide document title if it was created in right box
me.labelDocName = $html.find('#title-doc-name');
me.labelDocName.text( me.documentCaption );
!!$labelDocName && $labelDocName.hide().off(); // hide document title if it was created in right box
$labelDocName = $html.find('#title-doc-name');
setTimeout(function() { me.setDocTitle(me.documentCaption); }, 50);
me.labelUserName = $('> #title-user-name', $html);
me.options.wopi && $labelDocName.attr('maxlength', me.options.wopi.FileNameMaxLength);
if (config.user.guest && config.canRenameAnonymous) {
me.btnUserName = new Common.UI.Button({
el: $html.findById('.slot-btn-user-name'),
cls: 'btn-header',
dataHint:'0',
dataHintDirection: 'bottom',
dataHintOffset: 'big',
visible: true
});
me.btnUserName.cmpEl.removeClass('hidden');
}
else {
me.elUserName = $html.find('.btn-current-user');
me.elUserName.removeClass('hidden');
}
$btnUserName = $html.find('.color-user-name');
me.setUserName(me.options.userName);
if ( config.canPrint && config.isEdit ) {
me.btnPrint = createTitleButton('toolbar__icon icon--inverse btn-print', $html.findById('#slot-btn-dt-print'), true, undefined, undefined, 'P');
}
if ( config.canQuickPrint && config.isEdit )
me.btnPrintQuick = createTitleButton('toolbar__icon icon--inverse btn-quick-print', $html.findById('#slot-btn-dt-print-quick'), true, undefined, undefined, 'Q');
me.btnSave = createTitleButton('toolbar__icon icon--inverse btn-save', $html.findById('#slot-btn-dt-save'), true, undefined, undefined, 'S');
me.btnUndo = createTitleButton('toolbar__icon icon--inverse btn-undo', $html.findById('#slot-btn-dt-undo'), true, undefined, undefined, 'Z');
me.btnRedo = createTitleButton('toolbar__icon icon--inverse btn-redo', $html.findById('#slot-btn-dt-redo'), true, undefined, undefined, 'Y');
if ( me.btnSave.$icon.is('svg') ) {
me.btnSave.$icon.addClass('icon-save btn-save');
var _create_use = function (extid, intid) {
var _use = document.createElementNS('http://www.w3.org/2000/svg', 'use');
_use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', extid);
_use.setAttribute('id', intid);
return $(_use);
};
_create_use('#svg-btn-save-coauth', 'coauth').appendTo(me.btnSave.$icon);
_create_use('#svg-btn-save-sync', 'sync').appendTo(me.btnSave.$icon);
}
return $html;
}
},
@ -628,14 +705,14 @@ define([
!value && (value = '');
this.documentCaption = value;
var idx = this.documentCaption.lastIndexOf('.');
if (idx>0)
this.fileExtention = this.documentCaption.substring(idx);
this.isModified && (value += '*');
if ( this.labelDocName ) {
this.labelDocName.text( value );
// this.labelDocName.attr('size', value.length);
this.setCanRename(true);
this.readOnly && (value += ' (' + this.textReadOnly + ')');
if ( $labelDocName ) {
this.setDocTitle( value );
}
return value;
},
@ -649,7 +726,7 @@ define([
var _name = this.documentCaption;
changed && (_name += '*');
this.labelDocName.text(_name);
this.setDocTitle(_name);
},
setCanBack: function (value, text) {
@ -657,7 +734,7 @@ define([
this.btnGoBack[value ? 'show' : 'hide']();
if (value)
this.btnGoBack.updateHint((text && typeof text == 'string') ? text : this.textBack);
updateDocNamePosition(appConfig);
return this;
},
@ -670,7 +747,7 @@ define([
this.btnFavorite[value!==undefined && value!==null ? 'show' : 'hide']();
this.btnFavorite.changeIcon(!!value ? {next: 'btn-in-favorite'} : {curr: 'btn-in-favorite'});
this.btnFavorite.updateHint(!value ? this.textAddFavorite : this.textRemoveFavorite);
updateDocNamePosition(appConfig);
return this;
},
@ -679,12 +756,10 @@ define([
},
setCanRename: function (rename) {
rename = false;
var me = this;
me.options.canRename = rename;
if ( me.labelDocName ) {
var label = me.labelDocName;
if ( $labelDocName ) {
var label = $labelDocName;
if ( rename ) {
label.removeAttr('disabled').tooltip({
title: me.txtRename,
@ -693,8 +768,20 @@ define([
label.on({
'keydown': onDocNameKeyDown.bind(this),
'focus': onFocusDocName.bind(this),
'blur': function (e) {
me.imgCrypted && me.imgCrypted.toggleClass('hidden', false);
Common.Utils.isGecko && (label[0].selectionStart = label[0].selectionEnd = 0);
if(!me.isSaveDocName) {
me.withoutExt = false;
me.setDocTitle(me.documentCaption);
}
},
'paste': function (e) {
setTimeout(function() {
var name = me.cutDocName($labelDocName.val());
me.setDocTitle(name);
});
}
});
@ -711,12 +798,37 @@ define([
}
},
cutDocName: function(name) {
if(name.length <= this.fileExtention.length) return name;
var idx =name.length - this.fileExtention.length;
return (name.substring(idx) == this.fileExtention) ? name.substring(0, idx) : name ;
},
setDocTitle: function(name){
var width = this.getTextWidth(name || $labelDocName.val());
(width>=0) && $labelDocName.width(width);
name && (width>=0) && $labelDocName.val(name);
if (this._showImgCrypted && width>=0) {
this.imgCrypted.toggleClass('hidden', false);
this._showImgCrypted = false;
}
(width>=0) && onResize();
},
getTextWidth: function(text) {
if (!this._testCanvas ) {
var font = ($labelDocName.css('font-size') + ' ' + $labelDocName.css('font-family')).trim();
if (font) {
var canvas = document.createElement("canvas");
this._testCanvas = canvas.getContext('2d');
this._testCanvas.font = font;
}
}
return this._testCanvas ? this._testCanvas.measureText(text).width : -1;
},
setUserName: function(name) {
if ( !!this.labelUserName ) {
if ( !!name ) {
this.labelUserName.text(name).show();
} else this.labelUserName.hide();
} else {
this.options.userName = name;
if ( this.btnUserName ) {
this.btnUserName.updateHint(name);
@ -727,8 +839,7 @@ define([
html: true
});
}
}
$btnUserName && $btnUserName.text(this.getInitials(name));
return this;
},
@ -737,24 +848,23 @@ define([
return this.btnSave;
else if (type == 'users')
return $panelUsers;
else if (type == 'share')
return this.btnShare;
},
lockHeaderBtns: function (alias, lock) {
var me = this;
if ( alias == 'users' ) {
if ( lock )
$btnUsers.addClass('disabled').attr('disabled', 'disabled'); else
$btnUsers.removeClass('disabled').removeAttr('disabled');
} else if ( alias == 'rename-user' ) {
if (me.labelUserName) {
if ( lock ) {
me.labelUserName.removeClass('clickable');
me.labelUserName.addClass('disabled');
$btnUsers.addClass('disabled').attr('disabled', 'disabled');
} else {
me.labelUserName.addClass('clickable');
me.labelUserName.removeClass('disabled');
$btnUsers.removeClass('disabled').removeAttr('disabled');
}
} else if (me.btnUserName) {
if (me.btnShare) {
me.btnShare.setDisabled(lock);
}
} else if ( alias == 'rename-user' ) {
if (me.btnUserName) {
me.btnUserName.setDisabled(lock);
}
} else {
@ -775,20 +885,26 @@ define([
switch ( alias ) {
case 'undo': _lockButton(me.btnUndo); break;
case 'redo': _lockButton(me.btnRedo); break;
case 'opts': _lockButton(me.btnOptions); break;
default: break;
}
}
},
fakeMenuItem: function() {
return {
conf: {checked: false, disabled: false},
setChecked: function (val) { this.conf.checked = val; },
isChecked: function () { return this.conf.checked; },
setDisabled: function (val) { this.conf.disabled = val; },
isDisabled: function () { return this.conf.disabled; }
};
getInitials: function(name) {
var fio = name.split(' ');
var initials = fio[0].substring(0, 1).toUpperCase();
for (var i = fio.length-1; i>0; i--) {
if (fio[i][0]!=='(' && fio[i][0]!==')') {
initials += fio[i].substring(0, 1).toUpperCase();
break;
}
}
return initials;
},
setDocumentReadOnly: function (readonly) {
this.readOnly = readonly;
this.setDocumentCaption(this.documentCaption);
},
textBack: 'Go to Documents',
@ -797,6 +913,7 @@ define([
tipAccessRights: 'Manage document access rights',
labelCoUsersDescr: 'Document is currently being edited by several users.',
tipViewUsers: 'View users and manage document access rights',
tipUsers: 'View users',
tipDownload: 'Download file',
tipPrint: 'Print file',
tipGoEdit: 'Edit current file',
@ -811,7 +928,11 @@ define([
tipViewSettings: 'View Settings',
textRemoveFavorite: 'Remove from Favorites',
textAddFavorite: 'Mark as favorite',
textHideNotes: 'Hide Notes'
textHideNotes: 'Hide Notes',
tipSearch: 'Search',
textShare: 'Share',
tipPrintQuick: 'Quick print',
textReadOnly: 'Read only'
}
}(), Common.Views.Header || {}))
});

View file

@ -68,11 +68,14 @@ define([
initialize: function(options) {
_.extend(this, options);
Common.UI.BaseView.prototype.initialize.call(this, arguments);
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
},
render: function(el) {
el = el || this.el;
$(el).html(this.template({scope: this})).width( (parseInt(Common.localStorage.getItem('de-mainmenu-width')) || MENU_SCALE_PART) - SCALE_MIN);
$(el).html(this.template({scope: this})).width( (parseInt(Common.localStorage.getItem(this.appPrefix + 'mainmenu-width')) || MENU_SCALE_PART) - SCALE_MIN);
this.viewHistoryList = new Common.UI.DataView({
el: $('#history-list'),
@ -110,7 +113,7 @@ define([
for(var i=1; i<revisions.length; i++)
revisions[i].set('isVisible', isExpanded);
}
this.scroller.update({minScrollbarLength: 40});
this.scroller.update({minScrollbarLength: this.minScrollbarLength});
} else
Common.UI.DataView.prototype.onClickItem.call(this, view, record, e);
me.btnExpand.cmpEl.text(me.storeHistory.hasCollapsed() ? me.textShowAll : me.textHideAll);

View file

@ -48,7 +48,7 @@ define([
Common.Views.InsertTableDialog = Common.UI.Window.extend(_.extend({
options: {
width: 230,
height: 156,
height: 157,
style: 'min-width: 230px;',
cls: 'modal-dlg',
split: false,

View file

@ -50,11 +50,18 @@ define([
'common/main/lib/view/SymbolTableDialog'
], function () { 'use strict';
var _BulletTypes = {};
_BulletTypes.none = -1;
_BulletTypes.symbol = 0;
_BulletTypes.image = 2;
_BulletTypes.newSymbol = 1;
_BulletTypes.newImage = -2;
Common.Views.ListSettingsDialog = Common.UI.Window.extend(_.extend({
options: {
type: 0, // 0 - markers, 1 - numbers
width: 280,
height: 255,
width: 285,
height: 261,
style: 'min-width: 240px;',
cls: 'modal-dlg',
split: false,
@ -80,9 +87,18 @@ define([
'<td style="padding-right: 5px;padding-bottom: 8px;min-width: 50px;">',
'<label class="text">' + this.txtType + '</label>',
'</td>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 100px;">',
'<div id="id-dlg-list-numbering-format" class="input-group-nr" style="width: 100px;"></div>',
'<div id="id-dlg-list-bullet-format" class="input-group-nr" style="width: 100px;"></div>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 105px;">',
'<div id="id-dlg-list-numbering-format" class="input-group-nr" style="width: 105px;"></div>',
'<div id="id-dlg-list-bullet-format" class="input-group-nr" style="width: 105px;"></div>',
'</td>',
'<td style="padding-bottom: 8px;"></td>',
'</tr>',
'<tr class="image">',
'<td style="padding-right: 5px;padding-bottom: 8px;min-width: 50px;">',
'<label class="text">' + this.txtImport + '</label>',
'</td>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 105px;">',
'<div id="id-dlg-list-image" style="width: 105px;"></div>',
'</td>',
'<td style="padding-bottom: 8px;"></td>',
'</tr>',
@ -90,7 +106,7 @@ define([
'<td style="padding-right: 5px;padding-bottom: 8px;min-width: 50px;">',
'<label class="text">' + this.txtSize + '</label>',
'</td>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 100px;">',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 105px;">',
'<div id="id-dlg-list-size"></div>',
'</td>',
'<td style="padding-bottom: 8px;">',
@ -101,16 +117,16 @@ define([
'<td style="padding-right: 5px;padding-bottom: 8px;min-width: 50px;">',
'<label class="text" style="white-space: nowrap;">' + this.txtStart + '</label>',
'</td>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 100px;">',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 105px;">',
'<div id="id-dlg-list-start"></div>',
'</td>',
'<td style="padding-bottom: 8px;"></td>',
'</tr>',
'<tr>',
'<tr class="color">',
'<td style="padding-right: 5px;padding-bottom: 8px;min-width: 50px;">',
'<label class="text">' + this.txtColor + '</label>',
'</td>',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 100px;">',
'<td style="padding-right: 5px;padding-bottom: 8px;width: 105px;">',
'<div id="id-dlg-list-color"></div>',
'</td>',
'<td style="padding-bottom: 8px;"></td>',
@ -123,6 +139,8 @@ define([
this.props = options.props;
this.options.tpl = _.template(this.template)(this.options);
this.color = '000000';
this.storage = !!options.storage;
this.api = options.api;
Common.UI.Window.prototype.initialize.call(this, this.options);
},
@ -179,7 +197,9 @@ define([
[
'<% _.each(items, function(item) { %>',
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem">',
'<%= item.displayValue %><% if (item.value === 0) { %><span style="font-family:<%=item.font%>;"><%=item.symbol%></span><% } %>',
'<%= item.displayValue %>',
'<% if (item.value === 0) { %><span style="font-family:<%=item.font%>;"><%=item.symbol%></span>',
'<% } else if (item.value === 2) { %><span id="id-dlg-list-bullet-image-preview" style="width:12px; height: 12px; margin-left: 4px; margin-bottom: 1px;display: inline-block; vertical-align: middle;"></span><% } %>',
'</a></li>',
'<% }); %>'
];
@ -195,28 +215,36 @@ define([
this.cmbBulletFormat = new Common.UI.ComboBoxCustom({
el : $('#id-dlg-list-bullet-format'),
menuStyle : 'min-width: 100%;max-height: 183px;',
style : "width: 100px;",
style : "width: 105px;",
editable : false,
takeFocusOnClose: true,
template : _.template(template.join('')),
itemsTemplate: _.template(itemsTemplate.join('')),
data : [
{ displayValue: this.txtNone, value: -1 },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "•", font: 'Arial' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "o", font: 'Courier New' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "§", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "v", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "Ø", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "ü", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "w", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: 0, symbol: "", font: 'Arial' },
{ displayValue: this.txtNewBullet, value: 1 }
{ displayValue: this.txtNone, value: _BulletTypes.none },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "•", font: 'Arial' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "o", font: 'Courier New' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "§", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "v", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "Ø", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "ü", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "w", font: 'Wingdings' },
{ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: "", font: 'Arial' },
{ displayValue: this.txtNewBullet, value: _BulletTypes.newSymbol },
{ displayValue: this.txtNewImage, value: _BulletTypes.newImage }
],
updateFormControl: function(record) {
var formcontrol = $(this.el).find('.form-control');
if (record) {
if (record.get('value')==0)
if (record.get('value')===_BulletTypes.symbol)
formcontrol[0].innerHTML = record.get('displayValue') + '<span style="font-family:' + (record.get('font') || 'Arial') + '">' + record.get('symbol') + '</span>';
else if (record.get('value')===_BulletTypes.image) {
formcontrol[0].innerHTML = record.get('displayValue') + '<span id="id-dlg-list-bullet-combo-preview" style="width:12px; height: 12px; margin-left: 2px; margin-bottom: 1px;display: inline-block; vertical-align: middle;"></span>';
var bullet = new Asc.asc_CBullet();
bullet.asc_fillBulletImage(me.imageProps.id);
bullet.drawSquareImage('id-dlg-list-bullet-combo-preview');
} else if (record.get('value')===_BulletTypes.newImage)
formcontrol[0].innerHTML = me.txtImage;
else
formcontrol[0].innerHTML = record.get('displayValue');
} else
@ -227,7 +255,9 @@ define([
this.cmbBulletFormat.selectRecord(rec);
this.bulletProps = {symbol: rec.get('symbol'), font: rec.get('font')};
this.cmbBulletFormat.on('selected', _.bind(function (combo, record) {
if (record.value === 1) {
this.imageControls.toggleClass('hidden', !(record.value === _BulletTypes.image || record.value === _BulletTypes.newImage));
this.colorControls.toggleClass('hidden', record.value === _BulletTypes.image || record.value === _BulletTypes.newImage);
if (record.value === _BulletTypes.newSymbol) {
var me = this,
props = me.bulletProps,
handler = function(dlg, result, settings) {
@ -242,10 +272,17 @@ define([
}
}
var store = combo.store;
if (!store.findWhere({value: 0, symbol: props.symbol, font: props.font}))
store.add({ displayValue: me.txtSymbol + ': ', value: 0, symbol: props.symbol, font: props.font }, {at: store.length-1});
if (!store.findWhere({value: _BulletTypes.symbol, symbol: props.symbol, font: props.font})) {
var idx = store.indexOf(store.findWhere({value: _BulletTypes.image}));
if (idx<0)
idx = store.indexOf(store.findWhere({value: _BulletTypes.newSymbol}));
store.add({ displayValue: me.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: props.symbol, font: props.font }, {at: idx});
}
if (me.imageProps)
me.imageProps.redraw = true;
combo.setData(store.models);
combo.selectRecord(combo.store.findWhere({value: 0, symbol: props.symbol, font: props.font}));
combo.selectRecord(combo.store.findWhere({value: _BulletTypes.symbol, symbol: props.symbol, font: props.font}));
},
win = new Common.Views.SymbolTableDialog({
api: me.options.api,
@ -258,7 +295,11 @@ define([
});
win.show();
win.on('symbol:dblclick', handler);
} else if (record.value == -1) {
} else if (record.value == _BulletTypes.newImage) { // new image
} else if (record.value == _BulletTypes.image) { // image
if (this._changedProps)
this._changedProps.asc_fillBulletImage(this.imageProps.id);
} else if (record.value == _BulletTypes.none) {
if (this._changedProps)
this._changedProps.asc_putListType(0, record.value);
} else {
@ -271,12 +312,14 @@ define([
this._changedProps.asc_putSymbol(this.bulletProps.symbol);
}
}
this.btnOk.setDisabled(record.value === _BulletTypes.newImage);
}, this));
this.cmbBulletFormat.on('show:after', _.bind(this.onBulletFormatOpen, this));
this.spnSize = new Common.UI.MetricSpinner({
el : $window.find('#id-dlg-list-size'),
step : 1,
width : 100,
width : 105,
value : 100,
defaultUnit : '',
maxValue : 400,
@ -302,7 +345,7 @@ define([
this.spnStart = new Common.UI.MetricSpinner({
el : $window.find('#id-dlg-list-start'),
step : 1,
width : 100,
width : 105,
value : 1,
defaultUnit : '',
maxValue : 32767,
@ -314,7 +357,32 @@ define([
}
});
me.numberingControls = $window.find('.numbering');
this.btnSelectImage = new Common.UI.Button({
parentEl: $('#id-dlg-list-image'),
cls: 'btn-text-menu-default',
caption: this.textSelect,
style: 'width: 100%;',
menu: new Common.UI.Menu({
style: 'min-width: 105px;',
maxHeight: 200,
additionalAlign: this.menuAddAlign,
items: [
{caption: this.textFromFile, value: 0},
{caption: this.textFromUrl, value: 1},
{caption: this.textFromStorage, value: 2}
]
})
});
this.btnSelectImage.menu.on('item:click', _.bind(this.onImageSelect, this));
this.btnSelectImage.menu.items[2].setVisible(this.storage);
this.btnOk = new Common.UI.Button({
el: $window.find('.primary')
});
me.numberingControls = $window.find('tr.numbering');
me.imageControls = $window.find('tr.image');
me.colorControls = $window.find('tr.color');
var el = $window.find('table tr:first() td:first()');
el.width(Math.max($window.find('.numbering .text').width(), el.width()));
@ -323,12 +391,52 @@ define([
},
getFocusedComponents: function() {
return [this.cmbNumFormat, this.cmbBulletFormat, this.spnSize, this.spnStart, this.btnColor];
return [this.cmbNumFormat, this.cmbBulletFormat, this.btnSelectImage, this.spnSize, this.spnStart, this.btnColor];
},
afterRender: function() {
this.updateThemeColors();
this._setDefaults(this.props);
var me = this;
var onApiImageLoaded = function(bullet) {
me.imageProps = {id: bullet.asc_getImageId(), redraw: true};
if (me._changedProps)
me._changedProps.asc_fillBulletImage(me.imageProps.id);
// add or update record for image to btnBulletFormat and select it
var store = me.cmbBulletFormat.store;
if (!store.findWhere({value: _BulletTypes.image})) {
var idx = store.indexOf(store.findWhere({value: _BulletTypes.newSymbol}));
store.add({ displayValue: me.txtImage + ':', value: _BulletTypes.image }, {at: idx});
}
me.cmbBulletFormat.setData(store.models);
me.cmbBulletFormat.selectRecord(me.cmbBulletFormat.store.findWhere({value: _BulletTypes.image}));
me.btnOk.setDisabled(false);
};
this.api.asc_registerCallback('asc_onBulletImageLoaded', onApiImageLoaded);
var insertImageFromStorage = function(data) {
if (data && data._urls && data.c=='bullet') {
(new Asc.asc_CBullet()).asc_putImageUrl(data._urls[0], data.token);
}
};
Common.NotificationCenter.on('storage:image-insert', insertImageFromStorage);
this.on('close', function(obj){
me.api.asc_unregisterCallback('asc_onBulletImageLoaded', onApiImageLoaded);
Common.NotificationCenter.off('storage:image-insert', insertImageFromStorage);
});
},
onBulletFormatOpen: function(combo) {
var store = combo.store,
rec = store.findWhere({value: _BulletTypes.image});
if (rec && this.imageProps.redraw) {
var bullet = new Asc.asc_CBullet();
bullet.asc_fillBulletImage(this.imageProps.id);
bullet.drawSquareImage('id-dlg-list-bullet-image-preview');
this.imageProps.redraw = false;
}
},
updateThemeColors: function() {
@ -347,9 +455,14 @@ define([
},
ShowHideElem: function(value) {
var isImage = value==0 && (this.cmbBulletFormat.getValue()===_BulletTypes.image || this.cmbBulletFormat.getValue()===_BulletTypes.newImage ||
(this.cmbBulletFormat.getValue()===undefined || this.cmbBulletFormat.getValue()==='') && this.originalType === AscFormat.BULLET_TYPE_BULLET_BLIP);
this.numberingControls.toggleClass('hidden', value==0);
this.imageControls.toggleClass('hidden', !isImage);
this.colorControls.toggleClass('hidden', isImage);
this.cmbNumFormat.setVisible(value==1);
this.cmbBulletFormat.setVisible(value==0);
this.btnOk.setDisabled(isImage && (this.cmbBulletFormat.getValue()===_BulletTypes.newImage));
var me = this;
_.delay(function(){
if (value)
@ -362,18 +475,28 @@ define([
_handleInput: function(state) {
if (this.options.handler)
{
if (state == 'ok' && this.btnOk.isDisabled()) {
return;
}
var type = this.btnBullet.pressed ? 0 : 1;
if (this.originalType == AscFormat.BULLET_TYPE_BULLET_NONE) {
this._changedProps = new Asc.asc_CBullet();
this._changedProps.asc_putColor(Common.Utils.ThemeColor.getRgbColor(this.color));
this._changedProps.asc_putSize(this.spnSize.getNumberValue());
if (type==0 && this.cmbBulletFormat.getValue()===_BulletTypes.image && this.imageProps) {//image
this._changedProps.asc_fillBulletImage(this.imageProps.id);
} else {
this._changedProps.asc_putColor(Common.Utils.ThemeColor.getRgbColor(this.color));
}
}
if (this.originalType == AscFormat.BULLET_TYPE_BULLET_NONE ||
this.originalType == AscFormat.BULLET_TYPE_BULLET_CHAR && type==1 || this.originalType == AscFormat.BULLET_TYPE_BULLET_AUTONUM && type==0) { // changed list type
(this.originalType == AscFormat.BULLET_TYPE_BULLET_CHAR || this.originalType == AscFormat.BULLET_TYPE_BULLET_BLIP) && type==1 ||
this.originalType == AscFormat.BULLET_TYPE_BULLET_AUTONUM && type==0) { // changed list type
if (type==0) {//markers
if (this.cmbBulletFormat.getValue()==-1) {
if (this.cmbBulletFormat.getValue()==_BulletTypes.none) {
this._changedProps.asc_putListType(0, -1);
} else if (this.cmbBulletFormat.getValue()==_BulletTypes.image) {
} else {
this._changedProps.asc_putFont(this.bulletProps.font);
this._changedProps.asc_putSymbol(this.bulletProps.symbol);
@ -432,16 +555,28 @@ define([
if (this.originalType == AscFormat.BULLET_TYPE_BULLET_NONE) {
this.cmbNumFormat.setValue(-1);
this.cmbBulletFormat.setValue(-1);
this.cmbBulletFormat.setValue(_BulletTypes.none);
type = this.type;
} else if (this.originalType == AscFormat.BULLET_TYPE_BULLET_CHAR) {
var symbol = bullet.asc_getSymbol();
if (symbol) {
this.bulletProps = {symbol: symbol, font: bullet.asc_getFont()};
if (!this.cmbBulletFormat.store.findWhere({value: 0, symbol: this.bulletProps.symbol, font: this.bulletProps.font}))
this.cmbBulletFormat.store.add({ displayValue: this.txtSymbol + ': ', value: 0, symbol: this.bulletProps.symbol, font: this.bulletProps.font }, {at: this.cmbBulletFormat.store.length-1});
if (!this.cmbBulletFormat.store.findWhere({value: _BulletTypes.symbol, symbol: this.bulletProps.symbol, font: this.bulletProps.font}))
this.cmbBulletFormat.store.add({ displayValue: this.txtSymbol + ': ', value: _BulletTypes.symbol, symbol: this.bulletProps.symbol, font: this.bulletProps.font }, {at: this.cmbBulletFormat.store.length-2});
this.cmbBulletFormat.setData(this.cmbBulletFormat.store.models);
this.cmbBulletFormat.selectRecord(this.cmbBulletFormat.store.findWhere({value: 0, symbol: this.bulletProps.symbol, font: this.bulletProps.font}));
this.cmbBulletFormat.selectRecord(this.cmbBulletFormat.store.findWhere({value: _BulletTypes.symbol, symbol: this.bulletProps.symbol, font: this.bulletProps.font}));
} else
this.cmbBulletFormat.setValue('');
this._changedProps = bullet;
type = 0;
} else if (this.originalType == AscFormat.BULLET_TYPE_BULLET_BLIP) {
var id = bullet.asc_getImageId();
if (id) {
this.imageProps = {id: id, redraw: true};
if (!this.cmbBulletFormat.store.findWhere({value: _BulletTypes.image}))
this.cmbBulletFormat.store.add({ displayValue: this.txtImage + ':', value: _BulletTypes.image}, {at: this.cmbBulletFormat.store.length-2});
this.cmbBulletFormat.setData(this.cmbBulletFormat.store.models);
this.cmbBulletFormat.selectRecord(this.cmbBulletFormat.store.findWhere({value: _BulletTypes.image}));
} else
this.cmbBulletFormat.setValue('');
this._changedProps = bullet;
@ -458,7 +593,7 @@ define([
}
} else {// different bullet types
this.cmbNumFormat.setValue(-1);
this.cmbBulletFormat.setValue(-1);
this.cmbBulletFormat.setValue(_BulletTypes.none);
this._changedProps = new Asc.asc_CBullet();
type = this.type;
}
@ -468,6 +603,26 @@ define([
this.ShowHideElem(type);
},
onImageSelect: function(menu, item) {
if (item.value==1) {
var me = this;
(new Common.Views.ImageFromUrlDialog({
handler: function(result, value) {
if (result == 'ok') {
var checkUrl = value.replace(/ /g, '');
if (!_.isEmpty(checkUrl)) {
(new Asc.asc_CBullet()).asc_putImageUrl(checkUrl);
}
}
}
})).show();
} else if (item.value==2) {
Common.NotificationCenter.trigger('storage:image-load', 'bullet');
} else {
(new Asc.asc_CBullet()).asc_showFileDialog();
}
},
txtTitle: 'List Settings',
txtSize: 'Size',
txtColor: 'Color',
@ -478,6 +633,13 @@ define([
txtType: 'Type',
txtNone: 'None',
txtNewBullet: 'New bullet',
txtSymbol: 'Symbol'
txtSymbol: 'Symbol',
txtNewImage: 'New image',
txtImage: 'Image',
txtImport: 'Import',
textSelect: 'Select From',
textFromUrl: 'From URL',
textFromFile: 'From File',
textFromStorage: 'From Storage'
}, Common.Views.ListSettingsDialog || {}))
});

View file

@ -183,6 +183,8 @@ define([
_options.tpl = _.template(this.template)(_options);
this._previewTdWidth = [];
this._previewTdMaxLength = 0;
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function () {
@ -203,6 +205,8 @@ define([
this.inputPwd = new Common.UI.InputFieldBtnPassword({
el: $('#id-password-txt'),
type: 'password',
showCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' btn-sheet-view',
hideCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' hide-password',
validateOnBlur: false,
showPwdOnClick: true,
validation : function(value) {
@ -417,6 +421,9 @@ define([
},
updatePreview: function() {
this._previewTdWidth = [];
this._previewTdMaxLength = 0;
var encoding = (this.cmbEncoding && !this.cmbEncoding.isDisabled()) ? this.cmbEncoding.getValue() :
((this.settings && this.settings.asc_getCodePage()) ? this.settings.asc_getCodePage() : 0);
var delimiter = this.cmbDelimiter ? this.cmbDelimiter.getValue() : null,
@ -484,17 +491,28 @@ define([
if (this.type == Common.Utils.importTextType.CSV || this.type == Common.Utils.importTextType.Paste || this.type == Common.Utils.importTextType.Columns || this.type == Common.Utils.importTextType.Data) {
var maxlength = 0;
for (var i=0; i<data.length; i++) {
if (data[i].length>maxlength)
maxlength = data[i].length;
var str = data[i] || '';
if (str.length>maxlength)
maxlength = str.length;
}
this._previewTdMaxLength = Math.max(this._previewTdMaxLength, maxlength);
var tpl = '<table>';
for (var i=0; i<data.length; i++) {
var str = data[i] || '';
tpl += '<tr style="vertical-align: top;">';
for (var j=0; j<data[i].length; j++) {
tpl += '<td>' + Common.Utils.String.htmlEncode(data[i][j]) + '</td>';
for (var j=0; j<str.length; j++) {
var style = '';
if (i==0 && this._previewTdWidth[j]) { // set td style only for first tr
style = 'style="min-width:' + this._previewTdWidth[j] + 'px;"';
}
for (j=data[i].length; j<maxlength; j++) {
tpl += '<td></td>';
tpl += '<td '+ style +'>' + Common.Utils.String.htmlEncode(str[j]) + '</td>';
}
for (j=str.length; j<this._previewTdMaxLength; j++) {
var style = '';
if (i==0 && this._previewTdWidth[j]) { // set td style only for first tr
style = 'style="min-width:' + this._previewTdWidth[j] + 'px;"';
}
tpl += '<td '+ style +'></td>';
}
tpl += '</tr>';
}
@ -502,12 +520,21 @@ define([
} else {
var tpl = '<table>';
for (var i=0; i<data.length; i++) {
tpl += '<tr style="vertical-align: top;"><td>' + Common.Utils.String.htmlEncode(data[i]) + '</td></tr>';
var str = data[i] || '';
tpl += '<tr style="vertical-align: top;"><td>' + Common.Utils.String.htmlEncode(str) + '</td></tr>';
}
tpl += '</table>';
}
this.previewPanel.html(tpl);
if (data.length>0) {
var me = this;
(this._previewTdWidth.length===0) && this.previewScrolled.scrollLeft(0);
this.previewPanel.find('tr:first td').each(function(index, el){
me._previewTdWidth[index] = Math.max(Math.max(Math.ceil($(el).outerWidth()), 30), me._previewTdWidth[index] || 0);
});
}
this.scrollerX = new Common.UI.Scroller({
el: this.previewPanel,
suppressScrollY: true,
@ -518,7 +545,9 @@ define([
onCmbDelimiterSelect: function(combo, record){
this.inputDelimiter.setVisible(record.value == -1);
(record.value == -1) && this.inputDelimiter.cmpEl.find('input').focus();
var me = this;
if (record.value == -1)
setTimeout(function(){me.inputDelimiter.focus();}, 10);
if (this.preview)
this.updatePreview();
},

View file

@ -0,0 +1,216 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2022
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* User: Julia.Radzhabova
* Date: 17.05.16
* Time: 15:38
*/
if (Common === undefined)
var Common = {};
Common.Views = Common.Views || {};
define([
'common/main/lib/util/utils',
'common/main/lib/component/BaseView',
'common/main/lib/component/Layout',
'common/main/lib/component/Window'
], function (template) {
'use strict';
Common.Views.PluginDlg = Common.UI.Window.extend(_.extend({
initialize : function(options) {
var _options = {};
_.extend(_options, {
header: true,
enableKeyEvents: false
}, options);
var header_footer = (_options.buttons && _.size(_options.buttons)>0) ? 85 : 34;
if (!_options.header) header_footer -= 34;
this.bordersOffset = 40;
_options.width = (Common.Utils.innerWidth()-this.bordersOffset*2-_options.width)<0 ? Common.Utils.innerWidth()-this.bordersOffset*2: _options.width;
_options.height += header_footer;
_options.height = (Common.Utils.innerHeight()-this.bordersOffset*2-_options.height)<0 ? Common.Utils.innerHeight()-this.bordersOffset*2: _options.height;
_options.cls += ' advanced-settings-dlg';
this.template = [
'<div id="id-plugin-container" class="box" style="height:' + (_options.height-header_footer) + 'px;">',
'<div id="id-plugin-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<% if ((typeof buttons !== "undefined") && _.size(buttons) > 0) { %>',
'<div class="separator horizontal"></div>',
'<% } %>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.url = options.url || '';
this.loader = (options.loader!==undefined) ? options.loader : true;
this.frameId = options.frameId || 'plugin_iframe';
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.$window.find('> .body').css({height: 'auto', overflow: 'hidden'});
this.boxEl = this.$window.find('.body > .box');
this._headerFooterHeight = (this.options.buttons && _.size(this.options.buttons)>0) ? 85 : 34;
if (!this.options.header) this._headerFooterHeight -= 34;
this._headerFooterHeight += ((parseInt(this.$window.css('border-top-width')) + parseInt(this.$window.css('border-bottom-width'))));
this.$window.find('.header').prepend($('<div class="tools left hidden"></div>'));
var iframe = document.createElement("iframe");
iframe.id = this.frameId;
iframe.name = 'pluginFrameEditor';
iframe.width = '100%';
iframe.height = '100%';
iframe.align = "top";
iframe.frameBorder = 0;
iframe.scrolling = "no";
iframe.allow = "camera; microphone; display-capture";
iframe.onload = _.bind(this._onLoad,this);
var me = this;
if (this.loader) {
setTimeout(function(){
if (me.isLoaded) return;
me.loadMask = new Common.UI.LoadMask({owner: $('#id-plugin-placeholder')});
me.loadMask.setTitle(me.textLoading);
me.loadMask.show();
if (me.isLoaded) me.loadMask.hide();
}, 500);
}
iframe.src = this.url;
$('#id-plugin-placeholder').append(iframe);
this.on('resizing', function(args){
me.boxEl.css('height', parseInt(me.$window.css('height')) - me._headerFooterHeight);
});
var onMainWindowResize = function(){
me.onWindowResize();
};
$(window).on('resize', onMainWindowResize);
this.on('close', function() {
$(window).off('resize', onMainWindowResize);
});
},
_onLoad: function() {
this.isLoaded = true;
if (this.loadMask)
this.loadMask.hide();
},
setInnerSize: function(width, height) {
var maxHeight = Common.Utils.innerHeight(),
maxWidth = Common.Utils.innerWidth(),
borders_width = (parseInt(this.$window.css('border-left-width')) + parseInt(this.$window.css('border-right-width'))),
bordersOffset = this.bordersOffset*2;
if (maxHeight - bordersOffset<height + this._headerFooterHeight)
height = maxHeight - bordersOffset - this._headerFooterHeight;
if (maxWidth - bordersOffset<width + borders_width)
width = maxWidth - bordersOffset - borders_width;
this.boxEl.css('height', height);
Common.UI.Window.prototype.setHeight.call(this, height + this._headerFooterHeight);
Common.UI.Window.prototype.setWidth.call(this, width + borders_width);
this.$window.css('left',(maxWidth - width - borders_width) / 2);
this.$window.css('top',(maxHeight - height - this._headerFooterHeight) / 2);
},
onWindowResize: function() {
var main_width = Common.Utils.innerWidth(),
main_height = Common.Utils.innerHeight(),
win_width = this.getWidth(),
win_height = this.getHeight(),
bordersOffset = (this.resizable) ? 0 : this.bordersOffset;
if (win_height<main_height-bordersOffset*2+0.1 && win_width<main_width-bordersOffset*2+0.1) {
var left = this.getLeft(),
top = this.getTop();
if (top<bordersOffset) this.$window.css('top', bordersOffset);
else if (top+win_height>main_height-bordersOffset)
this.$window.css('top', main_height-bordersOffset - win_height);
if (left<bordersOffset) this.$window.css('left', bordersOffset);
else if (left+win_width>main_width-bordersOffset)
this.$window.css('left', main_width-bordersOffset-win_width);
} else {
if (win_height>main_height-bordersOffset*2) {
this.setHeight(Math.max(main_height-bordersOffset*2, this.initConfig.minheight));
this.boxEl.css('height', Math.max(main_height-bordersOffset*2, this.initConfig.minheight) - this._headerFooterHeight);
this.$window.css('top', bordersOffset);
}
if (win_width>main_width-bordersOffset*2) {
this.setWidth(Math.max(main_width-bordersOffset*2, this.initConfig.minwidth));
this.$window.css('left', bordersOffset);
}
}
},
showButton: function(id) {
var header = this.$window.find('.header .tools.left');
if (id=='back') {
var btn = header.find('#id-plugindlg-' + id);
if (btn.length<1) {
btn = $('<div id="id-plugindlg-' + id + '" class="tool help" style="font-size:20px;">←</div>');
btn.on('click', _.bind(function() {
this.fireEvent('header:click',id);
}, this));
header.prepend(btn);
}
btn.show();
header.removeClass('hidden');
}
},
hideButton: function(id) {
var header = this.$window.find('.header .tools.left');
if (id=='back') {
var btn = header.find('#id-plugindlg-' + id);
if (btn.length>0) {
btn.hide();
}
}
},
textLoading : 'Loading'
}, Common.Views.PluginDlg || {}));
});

View file

@ -60,11 +60,11 @@ define([
'</div>',
'</div>',
'<div id="current-plugin-box" class="layout-ct vbox hidden">',
'<div id="current-plugin-frame" class="">',
'</div>',
'<div id="current-plugin-header">',
'<label></label>',
'<div id="id-plugin-close" class="tool close"></div>',
'</div>',
'<div id="current-plugin-frame" class="">',
'<div id="id-plugin-close" class="close"></div>',
'</div>',
'</div>',
'<div id="plugins-mask" style="display: none;">'
@ -111,6 +111,13 @@ define([
this.currentPluginPanel = $('#current-plugin-box');
this.currentPluginFrame = $('#current-plugin-frame');
this.pluginClose = new Common.UI.Button({
parentEl: $('#id-plugin-close'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-close',
hint: this.textClosePanel
});
this.pluginMenu = new Common.UI.Menu({
menuAlign : 'tr-br',
items: []
@ -426,141 +433,8 @@ define([
textLoading: 'Loading',
textStart: 'Start',
textStop: 'Stop',
groupCaption: 'Plugins'
groupCaption: 'Plugins',
textClosePanel: 'Close plugin'
}, Common.Views.Plugins || {}));
Common.Views.PluginDlg = Common.UI.Window.extend(_.extend({
initialize : function(options) {
var _options = {};
_.extend(_options, {
header: true,
enableKeyEvents: false
}, options);
var header_footer = (_options.buttons && _.size(_options.buttons)>0) ? 85 : 34;
if (!_options.header) header_footer -= 34;
this.bordersOffset = 40;
_options.width = (Common.Utils.innerWidth()-this.bordersOffset*2-_options.width)<0 ? Common.Utils.innerWidth()-this.bordersOffset*2: _options.width;
_options.height += header_footer;
_options.height = (Common.Utils.innerHeight()-this.bordersOffset*2-_options.height)<0 ? Common.Utils.innerHeight()-this.bordersOffset*2: _options.height;
_options.cls += ' advanced-settings-dlg';
this.template = [
'<div id="id-plugin-container" class="box" style="height:' + (_options.height-header_footer) + 'px;">',
'<div id="id-plugin-placeholder" style="width: 100%;height: 100%;"></div>',
'</div>',
'<% if ((typeof buttons !== "undefined") && _.size(buttons) > 0) { %>',
'<div class="separator horizontal"></div>',
'<% } %>'
].join('');
_options.tpl = _.template(this.template)(_options);
this.url = options.url || '';
this.frameId = options.frameId || 'plugin_iframe';
Common.UI.Window.prototype.initialize.call(this, _options);
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.$window.find('> .body').css({height: 'auto', overflow: 'hidden'});
this.boxEl = this.$window.find('.body > .box');
this._headerFooterHeight = (this.options.buttons && _.size(this.options.buttons)>0) ? 85 : 34;
if (!this.options.header) this._headerFooterHeight -= 34;
this._headerFooterHeight += ((parseInt(this.$window.css('border-top-width')) + parseInt(this.$window.css('border-bottom-width'))));
var iframe = document.createElement("iframe");
iframe.id = this.frameId;
iframe.name = 'pluginFrameEditor';
iframe.width = '100%';
iframe.height = '100%';
iframe.align = "top";
iframe.frameBorder = 0;
iframe.scrolling = "no";
iframe.allow = "camera; microphone; display-capture";
iframe.onload = _.bind(this._onLoad,this);
var me = this;
setTimeout(function(){
if (me.isLoaded) return;
me.loadMask = new Common.UI.LoadMask({owner: $('#id-plugin-placeholder')});
me.loadMask.setTitle(me.textLoading);
me.loadMask.show();
if (me.isLoaded) me.loadMask.hide();
}, 500);
iframe.src = this.url;
$('#id-plugin-placeholder').append(iframe);
this.on('resizing', function(args){
me.boxEl.css('height', parseInt(me.$window.css('height')) - me._headerFooterHeight);
});
var onMainWindowResize = function(){
me.onWindowResize();
};
$(window).on('resize', onMainWindowResize);
this.on('close', function() {
$(window).off('resize', onMainWindowResize);
});
},
_onLoad: function() {
this.isLoaded = true;
if (this.loadMask)
this.loadMask.hide();
},
setInnerSize: function(width, height) {
var maxHeight = Common.Utils.innerHeight(),
maxWidth = Common.Utils.innerWidth(),
borders_width = (parseInt(this.$window.css('border-left-width')) + parseInt(this.$window.css('border-right-width'))),
bordersOffset = this.bordersOffset*2;
if (maxHeight - bordersOffset<height + this._headerFooterHeight)
height = maxHeight - bordersOffset - this._headerFooterHeight;
if (maxWidth - bordersOffset<width + borders_width)
width = maxWidth - bordersOffset - borders_width;
this.boxEl.css('height', height);
Common.UI.Window.prototype.setHeight.call(this, height + this._headerFooterHeight);
Common.UI.Window.prototype.setWidth.call(this, width + borders_width);
this.$window.css('left',(maxWidth - width - borders_width) / 2);
this.$window.css('top',(maxHeight - height - this._headerFooterHeight) / 2);
},
onWindowResize: function() {
var main_width = Common.Utils.innerWidth(),
main_height = Common.Utils.innerHeight(),
win_width = this.getWidth(),
win_height = this.getHeight(),
bordersOffset = (this.resizable) ? 0 : this.bordersOffset;
if (win_height<main_height-bordersOffset*2+0.1 && win_width<main_width-bordersOffset*2+0.1) {
var left = this.getLeft(),
top = this.getTop();
if (top<bordersOffset) this.$window.css('top', bordersOffset);
else if (top+win_height>main_height-bordersOffset)
this.$window.css('top', main_height-bordersOffset - win_height);
if (left<bordersOffset) this.$window.css('left', bordersOffset);
else if (left+win_width>main_width-bordersOffset)
this.$window.css('left', main_width-bordersOffset-win_width);
} else {
if (win_height>main_height-bordersOffset*2) {
this.setHeight(Math.max(main_height-bordersOffset*2, this.initConfig.minheight));
this.boxEl.css('height', Math.max(main_height-bordersOffset*2, this.initConfig.minheight) - this._headerFooterHeight);
this.$window.css('top', bordersOffset);
}
if (win_width>main_width-bordersOffset*2) {
this.setWidth(Math.max(main_width-bordersOffset*2, this.initConfig.minwidth));
this.$window.css('left', bordersOffset);
}
}
},
textLoading : 'Loading'
}, Common.Views.PluginDlg || {}));
});

View file

@ -54,6 +54,26 @@ define([
], function () {
'use strict';
if (!Common.enumLock)
Common.enumLock = {};
var enumLock = {
noSpellcheckLangs: 'no-spellcheck-langs',
isReviewOnly: 'review-only',
reviewChangelock: 'review-change-lock',
hasCoeditingUsers: 'has-coediting-users',
previewReviewMode: 'preview-review-mode', // display mode on Collaboration tab
viewFormMode: 'view-form-mode', // view form mode on Forms tab
viewMode: 'view-mode', // view mode on disconnect, version history etc (used for locking buttons not in toolbar)
hideComments: 'hide-comments', // no live comments and left panel is closed
cantShare: 'cant-share'
};
for (var key in enumLock) {
if (enumLock.hasOwnProperty(key)) {
Common.enumLock[key] = enumLock[key];
}
}
Common.Views.ReviewChanges = Common.UI.BaseView.extend(_.extend((function(){
var template =
'<section id="review-changes-panel" class="panel" data-tab="review">' +
@ -229,44 +249,52 @@ define([
Common.UI.BaseView.prototype.initialize.call(this, options);
this.appConfig = options.mode;
this.lockedControls = [];
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
var _set = Common.enumLock;
if ( this.appConfig.canReview ) {
this.btnAccept = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtAccept,
split: !this.appConfig.canUseReviewPermissions,
iconCls: 'toolbar__icon btn-review-save',
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnAccept);
this.btnReject = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtReject,
split: !this.appConfig.canUseReviewPermissions,
iconCls: 'toolbar__icon btn-review-deny',
lock: [_set.reviewChangelock, _set.isReviewOnly, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnReject);
if (this.appConfig.canFeatureComparison)
if (this.appConfig.canFeatureComparison) {
this.btnCompare = new Common.UI.Button({
cls : 'btn-toolbar x-huge icon-top',
caption : this.txtCompare,
split : true,
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtCompare,
split: true,
iconCls: 'toolbar__icon btn-compare',
lock: [_set.hasCoeditingUsers, _set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnCompare);
}
this.btnTurnOn = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-review',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
caption: this.txtTurnon,
split: !this.appConfig.isReviewOnly,
enableToggle: true,
@ -275,25 +303,30 @@ define([
dataHintOffset: 'small'
});
this.btnsTurnReview = [this.btnTurnOn];
this.lockedControls.push(this.btnTurnOn);
}
if (this.appConfig.canViewReview) {
this.btnPrev = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-review-prev',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
caption: this.txtPrev,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnPrev);
this.btnNext = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-review-next',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.lostConnect],
caption: this.txtNext,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnNext);
if (!this.appConfig.isRestrictedEdit && !(this.appConfig.customization && this.appConfig.customization.review && this.appConfig.customization.review.hideReviewDisplay)) {// hide Display mode option for fillForms and commenting mode
var menuTemplate = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><div><%= caption %></div>' +
@ -303,6 +336,7 @@ define([
this.btnReviewView = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-reviewview',
lock: [_set.viewFormMode, _set.lostConnect],
caption: this.txtView,
menu: new Common.UI.Menu({
cls: 'ppm-toolbar',
@ -349,6 +383,7 @@ define([
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnReviewView);
}
}
@ -356,23 +391,27 @@ define([
this.btnSharing = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-sharing',
lock: [_set.viewFormMode, _set.cantShare, _set.lostConnect],
caption: this.txtSharing,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnSharing);
}
if (this.appConfig.isEdit && !this.appConfig.isOffline && this.appConfig.canCoAuthoring && this.appConfig.canChangeCoAuthoring) {
this.btnCoAuthMode = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-coedit',
lock: [_set.viewFormMode, _set.lostConnect],
caption: this.txtCoAuthMode,
menu: true,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnCoAuthMode);
}
this.btnsSpelling = [];
@ -382,23 +421,27 @@ define([
this.btnHistory = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-history',
lock: [_set.lostConnect],
caption: this.txtHistory,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnHistory);
}
if (this.appConfig.canCoAuthoring && this.appConfig.canChat) {
this.btnChat = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
iconCls: 'toolbar__icon btn-ic-chat',
lock: [_set.lostConnect],
caption: this.txtChat,
enableToggle: true,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnChat);
}
if ( this.appConfig.canCoAuthoring && this.appConfig.canComments ) {
@ -407,19 +450,23 @@ define([
caption: this.txtCommentRemove,
split: true,
iconCls: 'toolbar__icon btn-rem-comment',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnCommentRemove);
this.btnCommentResolve = new Common.UI.Button({
cls: 'btn-toolbar x-huge icon-top',
caption: this.txtCommentResolve,
split: true,
iconCls: 'toolbar__icon btn-resolve-all',
lock: [_set.previewReviewMode, _set.viewFormMode, _set.hideComments, _set['Objects'], _set.lostConnect],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'small'
});
this.lockedControls.push(this.btnCommentResolve);
}
Common.NotificationCenter.on('app:ready', this.onAppReady.bind(this));
@ -524,8 +571,7 @@ define([
me.btnCompare.updateHint(me.tipCompare);
}
me.btnAccept.setDisabled(config.isReviewOnly);
me.btnReject.setDisabled(config.isReviewOnly);
Common.Utils.lockControls(Common.enumLock.isReviewOnly, config.isReviewOnly, {array: [me.btnAccept, me.btnReject]});
}
if (me.appConfig.canViewReview) {
me.btnPrev.updateHint(me.hintPrev);
@ -685,6 +731,7 @@ define([
var button = new Common.UI.Button({
cls : 'btn-toolbar',
iconCls : 'toolbar__icon btn-ic-review',
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.lostConnect],
hintAnchor : 'top',
hint : this.tipReview,
split : !this.appConfig.isReviewOnly,
@ -724,13 +771,14 @@ define([
});
this.btnsTurnReview.push(button);
this.lockedControls.push(button);
return button;
} else
if ( type == 'spelling' ) {
button = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-ic-docspell',
lock: [Common.enumLock.viewMode, Common.enumLock.viewFormMode, Common.enumLock.previewReviewMode],
hintAnchor : 'top',
hint: this.tipSetSpelling,
enableToggle: true,
@ -740,25 +788,30 @@ define([
visible: Common.UI.FeaturesManager.canChange('spellcheck')
});
this.btnsSpelling.push(button);
this.lockedControls.push(button);
return button;
} else if (type == 'doclang' && parent == 'statusbar' ) {
button = new Common.UI.Button({
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-ic-doclang',
lock: [Common.enumLock.viewMode, Common.enumLock.previewReviewMode, Common.enumLock.viewFormMode, Common.enumLock.noSpellcheckLangs, Common.enumLock.lostConnect],
hintAnchor : 'top',
hint: this.tipSetDocLang,
disabled: true,
dataHint: '0',
dataHintDirection: 'top',
dataHintOffset: 'small'
});
this.btnsDocLang.push(button);
this.lockedControls.push(button);
Common.Utils.lockControls(Common.enumLock.noSpellcheckLangs, true, {array: [button]});
return button;
}
},
getButtons: function() {
return this.lockedControls;
},
getUserName: function (username) {
return Common.Utils.String.htmlEncode(AscCommon.UserInfoParser.getParsedName(username));
},
@ -814,34 +867,8 @@ define([
}
},
SetDisabled: function (state, langs, protectProps) {
this.btnsSpelling && this.btnsSpelling.forEach(function(button) {
if ( button ) {
button.setDisabled(state);
}
}, this);
this.btnsDocLang && this.btnsDocLang.forEach(function(button) {
if ( button ) {
button.setDisabled(state || langs && langs.length<1);
}
}, this);
this.btnsTurnReview && this.btnsTurnReview.forEach(function(button) {
if ( button ) {
button.setDisabled(state);
}
}, this);
// this.btnChat && this.btnChat.setDisabled(state);
this.btnCommentRemove && this.btnCommentRemove.setDisabled(state || !Common.Utils.InternalSettings.get(this.appPrefix + "settings-livecomment") || protectProps && protectProps.comments);
this.btnCommentResolve && this.btnCommentResolve.setDisabled(state || !Common.Utils.InternalSettings.get(this.appPrefix + "settings-livecomment") || protectProps && protectProps.comments);
},
onLostEditRights: function() {
this._readonlyRights = true;
if (!this.rendered)
return;
this.btnSharing && this.btnSharing.setDisabled(true);
},
txtAccept: 'Accept',
@ -947,6 +974,9 @@ define([
this.popoverChanges = this.options.popoverChanges;
this.mode = this.options.mode;
var filter = Common.localStorage.getKeysFilter();
this.appPrefix = (filter && filter.length) ? filter.split(',')[0] : '';
Common.UI.Window.prototype.initialize.call(this, this.options);
},
@ -973,7 +1003,7 @@ define([
cls : 'btn-toolbar',
caption : this.txtAccept,
split : true,
disabled : this.mode.isReviewOnly,
disabled : this.mode.isReviewOnly || !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"),
menu : this.mode.canUseReviewPermissions ? false : new Common.UI.Menu({
items: [
this.mnuAcceptCurrent = new Common.UI.MenuItem({
@ -993,7 +1023,7 @@ define([
cls : 'btn-toolbar',
caption : this.txtReject,
split : true,
disabled : this.mode.isReviewOnly,
disabled : this.mode.isReviewOnly || !!Common.Utils.InternalSettings.get(this.appPrefix + "accept-reject-lock"),
menu : this.mode.canUseReviewPermissions ? false : new Common.UI.Menu({
items: [
this.mnuRejectCurrent = new Common.UI.MenuItem({

View file

@ -0,0 +1,201 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* SearchBar.js
*
* Created by Julia Svinareva on 03.02.2022
* Copyright (c) 2022 Ascensio System SIA. All rights reserved.
*
*/
define([
'common/main/lib/component/Window',
'common/main/lib/component/Button'
], function () {
'use strict';
Common.UI.SearchBar = Common.UI.Window.extend(_.extend({
options: {
modal: false,
width: 328,
height: 54,
header: false,
cls: 'search-bar',
alias: 'SearchBar',
showOpenPanel: true,
toolclose: 'hide'
},
initialize : function(options) {
_.extend(this.options, options || {});
this.template = [
'<div class="box">',
'<input type="text" id="search-bar-text" class="input-field form-control" maxlength="255" placeholder="'+this.textFind+'" autocomplete="off">',
'<div class="tools">',
'<div id="search-bar-back"></div>',
'<div id="search-bar-next"></div>',
this.options.showOpenPanel ? '<div id="search-bar-open-panel"></div>' : '',
'<div id="search-bar-close"></div>',
'</div>',
'</div>'
].join('');
this.options.tpl = _.template(this.template)(this.options);
this.iconType = this.options.iconType;
Common.UI.Window.prototype.initialize.call(this, this.options);
Common.NotificationCenter.on('layout:changed', _.bind(this.onLayoutChanged, this));
$(window).on('resize', _.bind(this.onLayoutChanged, this));
},
render: function() {
Common.UI.Window.prototype.render.call(this);
this.inputSearch = this.$window.find('#search-bar-text');
this.inputSearch.on('input', _.bind(function () {
this.disableNavButtons();
this.fireEvent('search:input', [this.inputSearch.val()]);
}, this)).on('keydown', _.bind(function (e) {
this.fireEvent('search:keydown', [this.inputSearch.val(), e]);
}, this));
this.btnBack = new Common.UI.Button({
parentEl: $('#search-bar-back'),
cls: 'btn-toolbar',
iconCls: this.iconType === 'svg' ? 'svg-icon search-arrow-up' : 'toolbar__icon btn-arrow-up',
hint: this.tipPreviousResult
});
this.btnBack.on('click', _.bind(this.onBtnNextClick, this, 'back'));
this.btnNext = new Common.UI.Button({
parentEl: $('#search-bar-next'),
cls: 'btn-toolbar',
iconCls: this.iconType === 'svg' ? 'svg-icon search-arrow-down' : 'toolbar__icon btn-arrow-down',
hint: this.tipNextResult
});
this.btnNext.on('click', _.bind(this.onBtnNextClick, this, 'next'));
if (this.options.showOpenPanel) {
this.btnOpenPanel = new Common.UI.Button({
parentEl: $('#search-bar-open-panel'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon more-vertical',
hint: this.tipOpenAdvancedSettings
});
this.btnOpenPanel.on('click', _.bind(this.onOpenPanel, this));
}
this.btnClose = new Common.UI.Button({
parentEl: $('#search-bar-close'),
cls: 'btn-toolbar',
iconCls: this.iconType === 'svg' ? 'svg-icon search-close' : 'toolbar__icon btn-close',
hint: this.tipCloseSearch
});
this.btnClose.on('click', _.bind(function () {
this.hide();
}, this))
this.on('animate:before', _.bind(this.focus, this));
Common.NotificationCenter.on('search:updateresults', _.bind(this.disableNavButtons, this));
return this;
},
show: function(text) {
var top = ($('#app-title').length > 0 ? $('#app-title').height() : 0) + $('#toolbar').height() + 2,
left = Common.Utils.innerWidth() - ($('#right-menu').is(':visible') ? $('#right-menu').width() : 0) - this.options.width - 32;
Common.UI.Window.prototype.show.call(this, left, top);
this.disableNavButtons();
if (text) {
this.inputSearch.val(text);
this.fireEvent('search:input', [text]);
} else {
this.inputSearch.val('');
window.SSE && this.fireEvent('search:input', ['', true]);
}
this.focus();
},
focus: function() {
var me = this;
setTimeout(function(){
me.inputSearch.focus();
me.inputSearch.select();
}, 10);
},
setText: function (text) {
this.inputSearch.val(text);
this.fireEvent('search:input', [text]);
},
getSettings: function() {
return {
};
},
onLayoutChanged: function () {
var top = $('#app-title').height() + $('#toolbar').height() + 2,
left = Common.Utils.innerWidth() - ($('#right-menu').is(':visible') ? $('#right-menu').width() : 0) - this.options.width - 32;
this.$window.css({left: left, top: top});
},
onBtnNextClick: function(action) {
this.fireEvent('search:'+action, [this.inputSearch.val(), false]);
},
onOpenPanel: function () {
this.hide();
this.fireEvent('search:show', [true, this.inputSearch.val()]);
},
disableNavButtons: function (resultNumber, allResults) {
var disable = (this.inputSearch.val() === '' && !window.SSE) || !allResults;
this.btnBack.setDisabled(disable);
this.btnNext.setDisabled(disable);
},
textFind: 'Find',
tipPreviousResult: 'Previous result',
tipNextResult: 'Next result',
tipOpenAdvancedSettings: 'Open advanced settings',
tipCloseSearch: 'Close search'
}, Common.UI.SearchBar || {}));
});

View file

@ -171,7 +171,7 @@
this.txtSearch.on('keydown', null, 'search', _.bind(this.onKeyPress, this));
this.txtReplace.on('keydown', null, 'replace', _.bind(this.onKeyPress, this));
this.on('animate:before', _.bind(this.focus, this));
this.on('animate:before', _.bind(this.onAnimateBefore, this));
return this;
},
@ -191,14 +191,18 @@
this.focus();
},
focus: function() {
var me = this;
focus: function(type) {
var field = (type==='replace') ? this.txtReplace : this.txtSearch;
setTimeout(function(){
me.txtSearch.focus();
me.txtSearch.select();
field.focus();
field.select();
}, 10);
},
onAnimateBefore: function() {
this.focus();
},
onKeyPress: function(event) {
if (!this.isLocked()) {
if (event.keyCode == Common.UI.Keys.RETURN) {

View file

@ -0,0 +1,445 @@
/*
*
* (c) Copyright Ascensio System SIA 2010-2019
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
* street, Riga, Latvia, EU, LV-1050.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* User: Julia.Svinareva
* Date: 11.02.2022
*/
define([
'text!common/main/lib/template/SearchPanel.template',
'common/main/lib/util/utils',
'common/main/lib/component/BaseView',
'common/main/lib/component/Layout'
], function (template) {
'use strict';
Common.Views.SearchPanel = Common.UI.BaseView.extend(_.extend({
el: '#left-panel-search',
template: _.template(template),
initialize: function(options) {
_.extend(this, options);
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.mode = false;
window.SSE && (this.extendedOptions = Common.localStorage.getBool('sse-search-options-extended', true));
},
render: function(el) {
var me = this;
if (!this.rendered) {
el = el || this.el;
$(el).html(this.template({
scope: this
}));
this.$el = $(el);
this.inputText = new Common.UI.InputField({
el: $('#search-adv-text'),
placeHolder: this.textFind,
allowBlank: true,
validateOnBlur: false,
style: 'width: 100%;',
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
});
this.inputText._input.on('input', _.bind(function () {
this.fireEvent('search:input', [this.inputText._input.val()]);
}, this)).on('keydown', _.bind(function (e) {
this.fireEvent('search:keydown', [this.inputText._input.val(), e]);
}, this));
this.inputReplace = new Common.UI.InputField({
el: $('#search-adv-replace-text'),
placeHolder: this.textReplaceWith,
allowBlank: true,
validateOnBlur: false,
style: 'width: 100%;',
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
});
this.inputReplace._input.on('keydown', _.bind(function (e) {
if (e.keyCode === Common.UI.Keys.RETURN && !this.btnReplace.isDisabled()) {
this.onReplaceClick('replace');
}
}, this));
this.btnBack = new Common.UI.Button({
parentEl: $('#search-adv-back'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-arrow-up',
hint: this.tipPreviousResult,
dataHint: '1',
dataHintDirection: 'bottom'
});
this.btnBack.on('click', _.bind(this.onBtnNextClick, this, 'back'));
this.btnNext = new Common.UI.Button({
parentEl: $('#search-adv-next'),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-arrow-down',
hint: this.tipNextResult,
dataHint: '1',
dataHintDirection: 'bottom'
});
this.btnNext.on('click', _.bind(this.onBtnNextClick, this, 'next'));
this.btnReplace = new Common.UI.Button({
el: $('#search-adv-replace')
});
this.btnReplace.on('click', _.bind(this.onReplaceClick, this, 'replace'));
this.btnReplaceAll = new Common.UI.Button({
el: $('#search-adv-replace-all')
});
this.btnReplaceAll.on('click', _.bind(this.onReplaceClick, this, 'replaceall'));
this.$reaultsNumber = $('#search-adv-results-number');
this.updateResultsNumber('no-results');
this.chCaseSensitive = new Common.UI.CheckBox({
el: $('#search-adv-case-sensitive'),
labelText: this.textCaseSensitive,
value: false,
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
}).on('change', function(field) {
me.fireEvent('search:options', ['case-sensitive', field.getValue() === 'checked']);
});
/*this.chUseRegExp = new Common.UI.CheckBox({
el: $('#search-adv-use-regexp'),
labelText: this.textMatchUsingRegExp,
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
}).on('change', function(field) {
me.fireEvent('search:options', ['regexp', field.getValue() === 'checked']);
});*/
this.chMatchWord = new Common.UI.CheckBox({
el: $('#search-adv-match-word'),
labelText: window.SSE ? this.textItemEntireCell : this.textWholeWords,
value: false,
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
}).on('change', function(field) {
me.fireEvent('search:options', ['match-word', field.getValue() === 'checked']);
});
this.buttonClose = new Common.UI.Button({
parentEl: $('#search-btn-close', this.$el),
cls: 'btn-toolbar',
iconCls: 'toolbar__icon btn-close',
hint: this.textCloseSearch,
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'medium'
});
this.buttonClose.on('click', _.bind(this.onClickClosePanel, this));
this.$resultsContainer = $('#search-results');
this.$resultsContainer.hide();
Common.NotificationCenter.on('search:updateresults', _.bind(this.disableNavButtons, this));
if (window.SSE) {
this.cmbWithin = new Common.UI.ComboBox({
el: $('#search-adv-cmb-within'),
menuStyle: 'min-width: 100%;',
style: "width: 219px;",
editable: false,
cls: 'input-group-nr',
data: [
{ value: 0, displayValue: this.textSheet },
{ value: 1, displayValue: this.textWorkbook },
{ value: 2, displayValue: this.textSpecificRange}
],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
}).on('selected', function(combo, record) {
me.fireEvent('search:options', ['within', record.value]);
});
this.inputSelectRange = new Common.UI.InputFieldBtn({
el: $('#search-adv-select-range'),
placeHolder: this.textSelectDataRange,
allowBlank: true,
validateOnChange: true,
validateOnBlur: true,
style: "width: 219px; margin-top: 8px",
disabled: true,
dataHint: '1',
dataHintDirection: 'left',
dataHintOffset: 'small'
}).on('keyup:after', function(input, e) {
me.fireEvent('search:options', ['range', input.getValue(), e.keyCode !== Common.UI.Keys.RETURN]);
});
this.inputSelectRange.$el.hide();
this.cmbSearch = new Common.UI.ComboBox({
el: $('#search-adv-cmb-search'),
menuStyle: 'min-width: 100%;',
style: "width: 219px;",
editable: false,
cls: 'input-group-nr',
data: [
{ value: 0, displayValue: this.textByRows },
{ value: 1, displayValue: this.textByColumns }
],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
}).on('selected', function(combo, record) {
me.fireEvent('search:options', ['search', !record.value]);
});
this.cmbLookIn = new Common.UI.ComboBox({
el: $('#search-adv-cmb-look-in'),
menuStyle: 'min-width: 100%;',
style: "width: 219px;",
editable: false,
cls: 'input-group-nr',
data: [
{ value: 0, displayValue: this.textFormulas },
{ value: 1, displayValue: this.textValues }
],
dataHint: '1',
dataHintDirection: 'bottom',
dataHintOffset: 'big'
}).on('selected', function(combo, record) {
me.fireEvent('search:options', ['lookIn', !record.value]);
});
this.$searchOptionsBlock = $('.search-options-block');
this.$searchOptionsBlock.show();
$('#open-search-options').on('click', _.bind(this.expandSearchOptions, this));
if (!this.extendedOptions) {
this.$searchOptionsBlock.addClass('no-expand');
}
this.cmbWithin.setValue(0);
this.cmbSearch.setValue(0);
this.cmbLookIn.setValue(0);
var tableTemplate = '<div class="search-table">' +
'<div class="header-items">' +
'<div class="header-item">' + this.textSheet + '</div>' +
'<div class="header-item">' + this.textName + '</div>' +
'<div class="header-item">' + this.textCell + '</div>' +
'<div class="header-item">' + this.textValue + '</div>' +
'<div class="header-item">' + this.textFormula + '</div>' +
'</div>' +
'<div class="ps-container oo search-items"></div>' +
'</div>',
$resultTable = $(tableTemplate).appendTo(this.$resultsContainer);
this.$resultsContainer.scroller = new Common.UI.Scroller({
el: $resultTable.find('.search-items'),
includePadding: true,
useKeyboard: true,
minScrollbarLength: 40,
alwaysVisibleY: true
});
} else {
this.$resultsContainer.scroller = new Common.UI.Scroller({
el: this.$resultsContainer,
includePadding: true,
useKeyboard: true,
minScrollbarLength: 40,
alwaysVisibleY: true
});
}
Common.NotificationCenter.on('window:resize', function() {
me.updateResultsContainerHeight();
});
}
this.rendered = true;
this.trigger('render:after', this);
return this;
},
show: function () {
Common.UI.BaseView.prototype.show.call(this,arguments);
this.fireEvent('show', this );
this.updateResultsContainerHeight();
},
hide: function () {
Common.UI.BaseView.prototype.hide.call(this,arguments);
this.fireEvent('hide', this );
},
focus: function(type) {
var me = this,
el = type === 'replace' ? me.inputReplace.$el : (type === 'range' ? me.inputSelectRange.$el : me.inputText.$el);
setTimeout(function(){
el.find('input').focus();
el.find('input').select();
}, 10);
},
setSearchMode: function (mode) {
if (this.mode !== mode) {
this.$el.find('.edit-setting')[mode !== 'no-replace' ? 'show' : 'hide']();
this.$el.find('#search-adv-title').text(mode !== 'no-replace' ? this.textFindAndReplace : this.textFind);
this.mode = mode;
}
},
ChangeSettings: function(props) {
},
updateResultsContainerHeight: function () {
if (this.$resultsContainer) {
this.$resultsContainer.outerHeight($('#search-box').outerHeight() - $('#search-header').outerHeight() - $('#search-adv-settings').outerHeight());
this.$resultsContainer.scroller.update({alwaysVisibleY: true});
}
},
updateResultsNumber: function (current, count) {
var text;
if (count > 300) {
text = this.textTooManyResults;
} else {
text = current === 'no-results' ? this.textNoSearchResults :
(current === 'stop' ? this.textSearchHasStopped :
(current === 'content-changed' ? (this.textContentChanged + ' ' + Common.Utils.String.format(this.textSearchAgain, '<a class="search-again">','</a>')) :
(!count ? this.textNoMatches : Common.Utils.String.format(this.textSearchResults, current + 1, count))));
}
if (current === 'content-changed') {
var me = this;
this.$reaultsNumber.html(text);
this.$reaultsNumber.find('.search-again').on('click', function () {
me.fireEvent('search:next', [me.inputText.getValue(), true]);
});
} else {
this.$reaultsNumber.text(text);
}
this.updateResultsContainerHeight();
!window.SSE && this.disableReplaceButtons(!count);
},
onClickClosePanel: function() {
Common.NotificationCenter.trigger('leftmenu:change', 'hide');
this.fireEvent('hide', this );
},
onBtnNextClick: function (action) {
this.fireEvent('search:'+action, [this.inputText.getValue(), true]);
},
onReplaceClick: function (action) {
this.fireEvent('search:'+action, [this.inputText.getValue(), this.inputReplace.getValue()]);
},
getSettings: function() {
return {
textsearch: this.inputText.getValue(),
matchcase: this.chCaseSensitive.checked,
matchword: this.chMatchWord.checked
};
},
expandSearchOptions: function () {
this.extendedOptions = !this.extendedOptions;
this.$searchOptionsBlock[this.extendedOptions ? 'removeClass' : 'addClass']('no-expand');
Common.localStorage.setBool('sse-search-options-extended', this.extendedOptions);
this.updateResultsContainerHeight();
},
setFindText: function (val) {
this.inputText.setValue(val);
},
clearResultsNumber: function () {
this.updateResultsNumber('no-results');
},
disableNavButtons: function (resultNumber, allResults) {
var disable = (this.inputText._input.val() === '' && !window.SSE) || !allResults;
this.btnBack.setDisabled(disable);
this.btnNext.setDisabled(disable);
},
disableReplaceButtons: function (disable) {
this.btnReplace.setDisabled(disable);
this.btnReplaceAll.setDisabled(disable);
},
textFind: 'Find',
textFindAndReplace: 'Find and replace',
textCloseSearch: 'Close search',
textReplace: 'Replace',
textReplaceAll: 'Replace All',
textSearchResults: 'Search results: {0}/{1}',
textReplaceWith: 'Replace with',
textCaseSensitive: 'Case sensitive',
textMatchUsingRegExp: 'Match using regular expressions',
textWholeWords: 'Whole words only',
textWithin: 'Within',
textSelectDataRange: 'Select Data range',
textSearch: 'Search',
textLookIn: 'Look in',
textSheet: 'Sheet',
textWorkbook: 'Workbook',
textSpecificRange: 'Specific range',
textByRows: 'By rows',
textByColumns: 'By columns',
textFormulas: 'Formulas',
textValues: 'Values',
textSearchOptions: 'Search options',
textNoMatches: 'No matches',
textNoSearchResults: 'No search results',
textItemEntireCell: 'Entire cell contents',
textTooManyResults: 'There are too many results to show here',
tipPreviousResult: 'Previous result',
tipNextResult: 'Next result',
textName: 'Name',
textCell: 'Cell',
textValue: 'Value',
textFormula: 'Formula',
textSearchHasStopped: 'Search has stopped',
textContentChanged: 'Document changed.',
textSearchAgain: '{0}Perform new search{1} for accurate results.'
}, Common.Views.SearchPanel || {}));
});

View file

@ -430,7 +430,7 @@ define([
'<table cols="1" style="width: 100%;">',
'<tr>',
'<td style="padding-bottom: 16px;">',
'<div id="symbol-table-scrollable-div" style="position: relative;height:'+ (this.options.height-302 + 38*(this.special ? 0 : 1)) + 'px;">',
'<div id="symbol-table-scrollable-div" style="position: relative;height:'+ (this.options.height-304 + 38*(this.special ? 0 : 1)) + 'px;">',
'<div style="width: 100%;">',
'<div id="id-preview">',
'<div>',
@ -476,7 +476,7 @@ define([
'</tr>',
'<tr>',
'<td>',
'<div id="symbol-table-special-list" class="no-borders" style="width:100%; height: '+ (this.options.height-156 + 38*(this.special ? 0 : 1)) + 'px;"></div>',
'<div id="symbol-table-special-list" class="no-borders" style="width:100%; height: '+ (this.options.height-157 + 38*(this.special ? 0 : 1)) + 'px;"></div>',
'</td>',
'</tr>',
'</table>',
@ -1104,7 +1104,7 @@ define([
},
getMaxHeight: function(){
return this.symbolTablePanel.innerHeight();
return this.symbolTablePanel.innerHeight()-2;
},
getRowsCount: function() {
@ -1436,8 +1436,8 @@ define([
this.curSize = {resize: false, width: size[0], height: size[1]};
} else if (this.curSize.resize) {
this._preventUpdateScroll = false;
this.curSize.height = size[1] - 302 + 38*(this.special ? 0 : 1);
var rows = Math.max(1, ((this.curSize.height/CELL_HEIGHT) >> 0)),
this.curSize.height = size[1] - 304 + 38*(this.special ? 0 : 1);
var rows = Math.max(1, (((this.curSize.height-2)/CELL_HEIGHT) >> 0)),
height = rows*CELL_HEIGHT;
this.symbolTablePanel.css({'height': this.curSize.height + 'px'});
@ -1447,7 +1447,7 @@ define([
this.updateView(undefined, undefined, undefined, true);
this.specialList.cmpEl.height(size[1] - 156 + 38*(this.special ? 0 : 1));
this.specialList.cmpEl.height(size[1] - 157 + 38*(this.special ? 0 : 1));
!this.special && (size[1] += 38);
var valJson = JSON.stringify(size);
@ -1465,16 +1465,16 @@ define([
this.curSize.resize = true;
this.curSize.width = size[0];
this.curSize.height = size[1] - 302 + 38*(this.special ? 0 : 1);
this.curSize.height = size[1] - 304 + 38*(this.special ? 0 : 1);
var rows = Math.max(1, ((this.curSize.height/CELL_HEIGHT) >> 0)),
var rows = Math.max(1, (((this.curSize.height-2)/CELL_HEIGHT) >> 0)),
height = rows*CELL_HEIGHT;
this.symbolTablePanel.css({'height': this.curSize.height + 'px'});
this.previewPanel.css({'height': height + 'px'});
this.previewScrolled.css({'height': height + 'px'});
this.specialList.cmpEl.height(size[1] - 156 + 38*(this.special ? 0 : 1));
this.specialList.cmpEl.height(size[1] - 157 + 38*(this.special ? 0 : 1));
this.updateView(undefined, undefined, undefined, true);
}

View file

@ -1,4 +1,4 @@
{
"en": ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"],
"ru": ["а", "б", "в", "г", "д", "е", "ё", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "э", "ю", "я"]
"ru": ["а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "э", "ю", "я"]
}

View file

@ -1,5 +1,5 @@
{
"en": ["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "z", "x", "c", "v", "b", "n", "m"],
"en": ["q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "z", "x", "c", "v", "b", "n", "m", ",", "."],
"ru": ["й", "ц", "у", "к", "е", "н", "г", "ш", "щ", "з", "х", "ъ", "ф", "ы", "в", "а", "п", "р", "о", "л", "д", "ж", "э", "я", "ч", "с", "м", "и", "т", "ь", "б", "ю"],
"de": ["q", "w", "e", "r", "t", "z", "u", "i", "o", "p", "ü", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ö", "ä", "z", "x", "c", "v", "b", "n", "m"],
"fr": ["a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "w", "x", "c", "v", "b", "n"]

View file

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

View file

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View file

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Some files were not shown because too many files have changed in this diff Show more