@ckeditor/ckeditor5-track-changes 34.2.0 → 35.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +469 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +32 -32
- package/lang/translations/da.po +34 -34
- package/lang/translations/de.po +5 -5
- package/lang/translations/el.po +3 -3
- package/lang/translations/en-au.po +3 -3
- package/lang/translations/es.po +50 -50
- package/lang/translations/et.po +100 -100
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +10 -10
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +14 -14
- package/lang/translations/hr.po +4 -4
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +77 -77
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +77 -77
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +32 -32
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +18 -18
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +5 -5
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +55 -55
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tr.po +14 -14
- package/lang/translations/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +2 -2
- package/lang/translations/zh.po +66 -66
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dd2=['color','extendTemplate','formatDateTime','execute','join','innerText','ck-suggestion--accept','ck-annotation__actions','commentsListView','_model','isEnabled','author','createdAt','_descriptionElement','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','ck-annotation__main','Accept\x20suggestion','ck-suggestion','commentThreadInputView','<span\x20class=\x22ck-suggestion-type\x22>','innerHTML','change:description','push','split','map','\x22\x20title=\x22','setTemplate','ck-annotation__info-time','ck-suggestion-','_config','getTemplate','</span>','ck-annotation__user','time','content','_createButton','div','title','ck-suggestion__info','ck-suggestion--discard','querySelector','ck-comment__info-time','commentThread','bind','type','name','isActive','</p>','ck-annotation__info','span','render','ck-suggestion-wrapper','description','ck-suggestion__user','ck-annotation__info-name','ck-suggestion__info-name','acceptSuggestion','children','discardButton','ck-suggestion__actions','.ck-annotation__content-wrapper','\x22></span>','descriptionParts','check','fire','ck-suggestion--disabled-comments','acceptButton','element','discardSuggestion','ck-suggestion__main','userView','bindTemplate','locale','set','ck-annotation'];(function(_0x462b71,_0x2dd211){const _0xd36164=function(_0x48acbf){while(--_0x48acbf){_0x462b71['push'](_0x462b71['shift']());}};_0xd36164(++_0x2dd211);}(_0x2dd2,0x18b));const _0xd361=function(_0x462b71,_0x2dd211){_0x462b71=_0x462b71-0x0;let _0xd36164=_0x2dd2[_0x462b71];return _0xd36164;};import{getTranslation as _0x18f85f}from'../../utils/common-translations';import _0x566a69 from'./basesuggestionthreadview';import{ButtonView as _0x321ba3}from'ckeditor5/src/ui';import{icons as _0x5286f8}from'ckeditor5/src/core';import{trimHtml as _0x10d4b3,UserView as _0x119c87}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x566a69{constructor(_0x1cef99,_0x122748,_0x2ebefa,_0x23cfc0){super(_0x1cef99,_0x122748,_0x2ebefa,_0x23cfc0),this[_0xd361('0x35')](_0xd361('0x18'),''),this['bind'](_0xd361('0x18'))['to'](this,_0xd361('0x2a'),_0x1f577f=>_0x1f577f&&_0x1f577f[0x0]?_0x1f577f[0x0][_0xd361('0x18')]:''),this[_0xd361('0x17')](_0xd361('0x20'))['to'](this,'descriptionParts',this,_0xd361('0x1a'),(_0xf4c2ea,_0x13167e)=>{let _0x43062e='';for(const _0x481705 of _0xf4c2ea)_0x43062e+='<p>'+es(_0x481705[_0xd361('0xe')],_0x481705[_0xd361('0x37')])+_0xd361('0x1b');return _0x13167e?_0x43062e:_0x10d4b3(_0x43062e,{'limit':0x8c});}),this[_0xd361('0x44')]=null,this[_0xd361('0x2e')]=this[_0xd361('0xf')](_0x18f85f(_0x1cef99,_0xd361('0x47')),_0x5286f8[_0xd361('0x2b')],_0xd361('0x3d'),_0xd361('0x24')),this['discardButton']=this[_0xd361('0xf')](_0x18f85f(_0x1cef99,'Discard\x20suggestion'),_0x5286f8['cancel'],_0xd361('0x13'),_0xd361('0x30')),this[_0xd361('0x32')]=new _0x119c87(_0x1cef99,this[_0xd361('0x40')][_0xd361('0x42')]),this[_0xd361('0x32')][_0xd361('0x38')]({'attributes':{'class':[_0xd361('0x21'),_0xd361('0xc')]}}),this[_0xd361('0x6')](this[_0xd361('0xa')]());}[_0xd361('0xa')](){const _0x16d86e=this[_0xd361('0x33')],_0x4fc89e={'tag':'div','attributes':{'class':[_0xd361('0x1f'),_0x16d86e['if'](_0xd361('0x1a'),'ck-suggestion-wrapper--active'),_0x16d86e['to'](_0xd361('0x18'),_0x434e8=>_0xd361('0x8')+_0x434e8),this['_config']['disableComments']&&_0xd361('0x2d')],'data-suggestion-id':this[_0xd361('0x40')]['id'],'data-thread-id':this[_0xd361('0x40')][_0xd361('0x16')]['id'],'data-author-id':this[_0xd361('0x40')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0xd361('0x10'),'attributes':{'class':[_0xd361('0x48'),_0xd361('0x36')]},'children':[this[_0xd361('0x32')],{'tag':_0xd361('0x10'),'attributes':{'class':[_0xd361('0x31'),_0xd361('0x46')]},'children':[{'tag':_0xd361('0x10'),'attributes':{'class':[_0xd361('0x12'),_0xd361('0x1c')]},'children':[{'tag':_0xd361('0x1d'),'children':[{'text':this[_0xd361('0x32')][_0xd361('0x19')]}],'attributes':{'class':[_0xd361('0x23'),_0xd361('0x22')]}},{'tag':_0xd361('0xd'),'attributes':{'datetime':_0x16d86e['to'](_0xd361('0x43')),'class':[_0xd361('0x15'),_0xd361('0x7')]},'children':[{'text':_0x16d86e['to'](_0xd361('0x43'),_0x54a4f4=>this[_0xd361('0x9')][_0xd361('0x39')](_0x54a4f4))}]}]},{'tag':'div','attributes':{'class':[_0xd361('0x27'),_0xd361('0x3e')]},'children':[this[_0xd361('0x2e')],this[_0xd361('0x26')]]},{'tag':_0xd361('0x10'),'attributes':{'class':['ck-annotation__content-wrapper']}}]}]}]};return this[_0xd361('0x3f')]&&this['commentThreadInputView']&&_0x4fc89e[_0xd361('0x25')][_0xd361('0x2')](this[_0xd361('0x3f')],this[_0xd361('0x49')]),_0x4fc89e;}[_0xd361('0x1e')](){super[_0xd361('0x1e')](),this[_0xd361('0x44')]=this[_0xd361('0x2f')][_0xd361('0x14')](_0xd361('0x28')),this[_0xd361('0x44')]['innerHTML']=this[_0xd361('0x20')],this['on'](_0xd361('0x1'),(_0x42a47d,_0x15a030,_0x58ba94)=>{this['_descriptionElement'][_0xd361('0x0')]=_0x58ba94;});}[_0xd361('0xf')](_0x5227c1,_0x3cc74a,_0x124a2d,_0x25e60e){const _0xe6944d=new _0x321ba3(this[_0xd361('0x34')]);return _0xe6944d[_0xd361('0x35')]({'label':_0x5227c1,'icon':_0x3cc74a,'tooltip':!0x0}),_0xe6944d[_0xd361('0x38')]({'attributes':{'class':_0x124a2d}}),_0xe6944d['on'](_0xd361('0x3a'),()=>{this[_0xd361('0x2c')](_0x25e60e,this[_0xd361('0x40')]['id']);}),_0xe6944d['bind'](_0xd361('0x41'))['to'](this),_0xe6944d;}}function es(_0x429ecc,_0x18eb3a){let _0x4a5cd1='';return _0x4a5cd1+=_0x429ecc[_0xd361('0x3')]('*')[_0xd361('0x4')]((_0x37e15f,_0x31ac14)=>_0x31ac14%0x2!=0x0?_0xd361('0x4a')+ns(_0x37e15f)+_0xd361('0xb'):ns(_0x37e15f))[_0xd361('0x3b')](''),_0x18eb3a&&(_0x4a5cd1+=_0xd361('0x45')+_0x18eb3a['value']+_0xd361('0x5')+_0x18eb3a[_0xd361('0x11')]+_0xd361('0x29')),_0x4a5cd1;}function ns(_0x3de417){const _0x135644=document['createElement'](_0xd361('0x1d'));return _0x135644[_0xd361('0x3c')]=_0x3de417,_0x135644['innerHTML'];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x276e75,_0x2be3be,_0x4cacb2){const t=_0x276e75['t'];switch(_0x2be3be){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x4cacb2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4cacb2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4cacb2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4cacb2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4cacb2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4cacb2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4cacb2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4cacb2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4cacb2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4cacb2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4cacb2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4cacb2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4cacb2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4cacb2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4cacb2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4cacb2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4cacb2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4cacb2);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x4cacb2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4cacb2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4cacb2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4cacb2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4cacb2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4cacb2);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x4cacb2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4cacb2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4cacb2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4cacb2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4cacb2);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x4cacb2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4cacb2);case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x4cacb2);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x4cacb2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4cacb2);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x4cacb2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4cacb2);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x4cacb2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4cacb2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5068=['schema','createRange','createPositionAfter','length','createPositionAt','createPositionBefore','isTouching','end','push','isObject'];(function(_0x4513f3,_0x5068b9){const _0x1eb1d9=function(_0x3cfdd6){while(--_0x3cfdd6){_0x4513f3['push'](_0x4513f3['shift']());}};_0x1eb1d9(++_0x5068b9);}(_0x5068,0x186));const _0x1eb1=function(_0x4513f3,_0x5068b9){_0x4513f3=_0x4513f3-0x0;let _0x1eb1d9=_0x5068[_0x4513f3];return _0x1eb1d9;};export function getRangesOfBlockGroups(_0x4020cd,_0x4daafb){let _0x4b8ede,_0x476505=0x0;const _0x1189e7=[],_0x17cf6a=_0x4daafb[_0x1eb1('0x0')];for(;_0x476505<_0x4020cd[_0x1eb1('0x3')];){const _0x5df403=_0x4020cd[_0x476505],_0x27fac1=_0x4020cd[_0x476505+0x1];_0x4b8ede||(_0x4b8ede=_0x4daafb[_0x1eb1('0x5')](_0x5df403)),nn(_0x4daafb,_0x5df403,_0x27fac1)||(_0x1189e7[_0x1eb1('0x8')](_0x4daafb[_0x1eb1('0x1')](_0x4b8ede,_0x17cf6a[_0x1eb1('0x9')](_0x5df403)?_0x4daafb['createPositionAfter'](_0x5df403):_0x4daafb[_0x1eb1('0x4')](_0x5df403,_0x1eb1('0x7')))),_0x4b8ede=null),_0x476505++;}return _0x1189e7;}function nn(_0x58b27,_0x4d7ceb,_0x6bfeb2){if(!_0x6bfeb2)return!0x1;const _0x191e2f=_0x58b27[_0x1eb1('0x2')](_0x4d7ceb),_0x583540=_0x58b27[_0x1eb1('0x5')](_0x6bfeb2);return _0x191e2f[_0x1eb1('0x6')](_0x583540);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1eb5=['from','isCollapsed','isIntersecting','start','isTouching','getMarkers','getRange','add','isMultiRange'];(function(_0x263f93,_0x1eb5fa){const _0x35098f=function(_0x3e6a1b){while(--_0x3e6a1b){_0x263f93['push'](_0x263f93['shift']());}};_0x35098f(++_0x1eb5fa);}(_0x1eb5,0x104));const _0x3509=function(_0x263f93,_0x1eb5fa){_0x263f93=_0x263f93-0x0;let _0x35098f=_0x1eb5[_0x263f93];return _0x35098f;};export default function jt(_0x4644fa,_0x40e1ce){const _0x13f02b=Array[_0x3509('0x1')](_0x4644fa['getRanges']()),_0x598b87=new Set();for(const _0x23911f of _0x40e1ce)if(_0x23911f['isInContent'])for(const _0x1f08b5 of _0x13f02b)for(const _0x22d2ee of _0x23911f[_0x3509('0x6')]()){const _0x1c32dd=_0x22d2ee[_0x3509('0x7')]();(_0x1f08b5[_0x3509('0x3')](_0x1c32dd)||_0x4644fa[_0x3509('0x2')]&&!_0x23911f[_0x3509('0x0')]&&_0x23911f['next']&&_0x1c32dd['end'][_0x3509('0x5')](_0x1f08b5[_0x3509('0x4')]))&&_0x598b87[_0x3509('0x8')](_0x23911f);}return _0x598b87;}
|
package/src/utils/hashobject.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e70=['number','isArray','charCodeAt','object','toString','string','keys','boolean'];(function(_0x57a13f,_0x2e7098){const _0x19dcd4=function(_0x1d98f3){while(--_0x1d98f3){_0x57a13f['push'](_0x57a13f['shift']());}};_0x19dcd4(++_0x2e7098);}(_0x2e70,0x1d4));const _0x19dc=function(_0x57a13f,_0x2e7098){_0x57a13f=_0x57a13f-0x0;let _0x19dcd4=_0x2e70[_0x57a13f];return _0x19dcd4;};export default function pt(_0x5d4c57){let _0x38d98d=0x0,_0x3047fb=0x0;for(const _0x326b1a of oe(_0x5d4c57))_0x38d98d=(_0x38d98d<<0x5)-_0x38d98d+_0x326b1a,_0x38d98d&=_0x38d98d,[_0x38d98d,_0x3047fb]=[_0x3047fb,_0x38d98d];return ie(_0x38d98d)+ie(_0x3047fb);}function*ee(_0x49e213){_0x49e213?_0x19dc('0x3')==typeof _0x49e213?yield 0x1:Array[_0x19dc('0x5')](_0x49e213)?yield*function*(_0x3c9f22){for(const _0x1f5b04 of _0x3c9f22)yield*ee(_0x1f5b04);}(_0x49e213):_0x19dc('0x7')==typeof _0x49e213?yield*oe(_0x49e213):_0x19dc('0x1')==typeof _0x49e213?yield*te(_0x49e213):_0x19dc('0x4')==typeof _0x49e213&&(yield _0x49e213):yield 0x0;}function*oe(_0x49df6d){if(yield ne('{'),_0x49df6d){const _0x2c6721=Object[_0x19dc('0x2')](_0x49df6d)['sort']();for(const _0x4fe508 of _0x2c6721){yield*te(_0x4fe508),yield ne(':');const _0x3eb750=_0x49df6d[_0x4fe508];yield*ee(_0x3eb750);}}yield ne('}');}function*te(_0x1186c0){yield ne('\x22');for(const _0x1c39c8 of _0x1186c0)yield ne(_0x1c39c8);yield ne('\x22');}function ne(_0x43c710){return _0x43c710[_0x19dc('0x6')](0x0);}function ie(_0x1901fd){return(_0x1901fd*=Math['sign'](_0x1901fd))[_0x19dc('0x0')](0x24);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42e7=['content','map','type','value','color','isArray','\x20[color\x20'];(function(_0x130e76,_0x42e7b3){const _0x54e681=function(_0x164d22){while(--_0x164d22){_0x130e76['push'](_0x130e76['shift']());}};_0x54e681(++_0x42e7b3);}(_0x42e7,0xb4));const _0x54e6=function(_0x130e76,_0x42e7b3){_0x130e76=_0x130e76-0x0;let _0x54e681=_0x42e7[_0x130e76];return _0x54e681;};export function normalizeDescription(_0x36ecbb){return Array[_0x54e6('0x0')](_0x36ecbb)||(_0x36ecbb=[_0x36ecbb]),_0x36ecbb[_0x54e6('0x3')](_0x273099=>{const _0xd71049=_0x273099[_0x54e6('0x2')]['replace'](/\*/g,''),_0x2e6fb3=_0x273099[_0x54e6('0x6')]?_0x54e6('0x1')+_0x273099['color'][_0x54e6('0x5')]+']':'';return'['+_0x273099[_0x54e6('0x4')]+']\x20'+_0xd71049+_0x2e6fb3;})['join'](';\x20');}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x9304=['type','sort','deletion'];(function(_0x1f83e2,_0x93042f){var _0x4fa165=function(_0x3d1fa2){while(--_0x3d1fa2){_0x1f83e2['push'](_0x1f83e2['shift']());}};_0x4fa165(++_0x93042f);}(_0x9304,0xe8));var _0x4fa1=function(_0x1f83e2,_0x93042f){_0x1f83e2=_0x1f83e2-0x0;var _0x4fa165=_0x9304[_0x1f83e2];return _0x4fa165;};export default function ts(_0x4df677){return _0x4df677[_0x4fa1('0x0')]((_0xfd5a60,_0x4e6e4c)=>'deletion'==_0xfd5a60[_0x4fa1('0x2')]&&_0x4fa1('0x1')!=_0x4e6e4c[_0x4fa1('0x2')]?-0x1:_0x4fa1('0x1')!=_0xfd5a60['type']&&'deletion'==_0x4e6e4c[_0x4fa1('0x2')]?0x1:0x0);}
|