@ckeditor/ckeditor5-track-changes 0.0.0-nightly-next-20260115.0 → 0.0.0-nightly-20260116.0
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 +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +3 -3
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +164 -0
- package/lang/translations/af.po +714 -0
- package/lang/translations/ar.po +822 -0
- package/lang/translations/ast.po +714 -0
- package/lang/translations/az.po +714 -0
- package/lang/translations/be.po +741 -0
- package/lang/translations/bg.po +714 -0
- package/lang/translations/bn.po +740 -0
- package/lang/translations/bs.po +741 -0
- package/lang/translations/ca.po +714 -0
- package/lang/translations/cs.po +741 -0
- package/lang/translations/da.po +714 -0
- package/lang/translations/de-ch.po +714 -0
- package/lang/translations/de.po +714 -0
- package/lang/translations/el.po +714 -0
- package/lang/translations/en-au.po +714 -0
- package/lang/translations/en-gb.po +714 -0
- package/lang/translations/en.po +714 -0
- package/lang/translations/eo.po +714 -0
- package/lang/translations/es-co.po +714 -0
- package/lang/translations/es.po +714 -0
- package/lang/translations/et.po +714 -0
- package/lang/translations/eu.po +714 -0
- package/lang/translations/fa.po +687 -0
- package/lang/translations/fi.po +714 -0
- package/lang/translations/fr.po +714 -0
- package/lang/translations/gl.po +714 -0
- package/lang/translations/gu.po +714 -0
- package/lang/translations/he.po +714 -0
- package/lang/translations/hi.po +714 -0
- package/lang/translations/hr.po +741 -0
- package/lang/translations/hu.po +714 -0
- package/lang/translations/hy.po +714 -0
- package/lang/translations/id.po +687 -0
- package/lang/translations/it.po +714 -0
- package/lang/translations/ja.po +687 -0
- package/lang/translations/jv.po +714 -0
- package/lang/translations/kk.po +714 -0
- package/lang/translations/km.po +687 -0
- package/lang/translations/kn.po +714 -0
- package/lang/translations/ko.po +687 -0
- package/lang/translations/ku.po +714 -0
- package/lang/translations/lt.po +741 -0
- package/lang/translations/lv.po +741 -0
- package/lang/translations/ms.po +687 -0
- package/lang/translations/nb.po +714 -0
- package/lang/translations/ne.po +714 -0
- package/lang/translations/nl.po +714 -0
- package/lang/translations/no.po +714 -0
- package/lang/translations/oc.po +714 -0
- package/lang/translations/pl.po +741 -0
- package/lang/translations/pt-br.po +714 -0
- package/lang/translations/pt.po +714 -0
- package/lang/translations/ro.po +741 -0
- package/lang/translations/ru.po +743 -0
- package/lang/translations/si.po +714 -0
- package/lang/translations/sk.po +741 -0
- package/lang/translations/sl.po +768 -0
- package/lang/translations/sq.po +714 -0
- package/lang/translations/sr-latn.po +741 -0
- package/lang/translations/sr.po +741 -0
- package/lang/translations/sv.po +714 -0
- package/lang/translations/th.po +687 -0
- package/lang/translations/ti.po +714 -0
- package/lang/translations/tk.po +714 -0
- package/lang/translations/tr.po +714 -0
- package/lang/translations/tt.po +687 -0
- package/lang/translations/ug.po +687 -0
- package/lang/translations/uk.po +741 -0
- package/lang/translations/ur.po +714 -0
- package/lang/translations/uz.po +714 -0
- package/lang/translations/vi.po +687 -0
- package/lang/translations/zh-cn.po +687 -0
- package/lang/translations/zh.po +687 -0
- package/package.json +60 -36
- package/{dist → src}/augmentation.d.ts +1 -5
- package/src/augmentation.js +23 -0
- package/{dist → src}/commands/acceptsuggestioncommand.d.ts +1 -5
- package/src/commands/acceptsuggestioncommand.js +23 -0
- package/{dist → src}/commands/discardsuggestioncommand.d.ts +1 -5
- package/src/commands/discardsuggestioncommand.js +23 -0
- package/{dist → src}/commands/executeonallsuggestionscommand.d.ts +1 -5
- package/src/commands/executeonallsuggestionscommand.js +23 -0
- package/{dist → src}/commands/executeonselectedsuggestionscommand.d.ts +1 -5
- package/src/commands/executeonselectedsuggestionscommand.js +23 -0
- package/{dist → src}/commands/previewfinalcontentcommand.d.ts +1 -5
- package/src/commands/previewfinalcontentcommand.js +23 -0
- package/{dist → src}/commands/trackchangescommand.d.ts +1 -5
- package/src/commands/trackchangescommand.js +23 -0
- package/{dist → src}/index.d.ts +0 -4
- package/src/index.js +23 -0
- package/{dist → src}/integrations/ai.d.ts +1 -5
- package/src/integrations/ai.js +23 -0
- package/{dist → src}/integrations/aiassistant.d.ts +1 -5
- package/src/integrations/aiassistant.js +23 -0
- package/{dist → src}/integrations/aiquickactions.d.ts +1 -5
- package/src/integrations/aiquickactions.js +23 -0
- package/{dist → src}/integrations/alignment.d.ts +1 -5
- package/src/integrations/alignment.js +23 -0
- package/{dist → src}/integrations/basicstyles.d.ts +1 -5
- package/src/integrations/basicstyles.js +23 -0
- package/{dist → src}/integrations/blockquote.d.ts +1 -5
- package/src/integrations/blockquote.js +23 -0
- package/{dist → src}/integrations/bookmark.d.ts +1 -5
- package/src/integrations/bookmark.js +23 -0
- package/{dist → src}/integrations/casechange.d.ts +1 -5
- package/src/integrations/casechange.js +23 -0
- package/{dist → src}/integrations/ckbox.d.ts +1 -5
- package/src/integrations/ckbox.js +23 -0
- package/{dist → src}/integrations/codeblock.d.ts +1 -5
- package/src/integrations/codeblock.js +23 -0
- package/{dist → src}/integrations/comments.d.ts +1 -5
- package/src/integrations/comments.js +23 -0
- package/{dist → src}/integrations/deletecommand.d.ts +2 -6
- package/src/integrations/deletecommand.js +23 -0
- package/{dist → src}/integrations/emoji.d.ts +1 -5
- package/src/integrations/emoji.js +23 -0
- package/{dist → src}/integrations/entercommand.d.ts +2 -6
- package/src/integrations/entercommand.js +23 -0
- package/{dist → src}/integrations/findandreplace.d.ts +1 -5
- package/src/integrations/findandreplace.js +23 -0
- package/{dist → src}/integrations/font.d.ts +1 -5
- package/src/integrations/font.js +23 -0
- package/{dist → src}/integrations/footnotes.d.ts +1 -5
- package/src/integrations/footnotes.js +23 -0
- package/{dist → src}/integrations/formatpainter.d.ts +1 -5
- package/src/integrations/formatpainter.js +23 -0
- package/{dist → src}/integrations/heading.d.ts +1 -5
- package/src/integrations/heading.js +23 -0
- package/{dist → src}/integrations/highlight.d.ts +1 -5
- package/src/integrations/highlight.js +23 -0
- package/{dist → src}/integrations/horizontalline.d.ts +1 -5
- package/src/integrations/horizontalline.js +23 -0
- package/{dist → src}/integrations/htmlembed.d.ts +1 -5
- package/src/integrations/htmlembed.js +23 -0
- package/{dist → src}/integrations/image.d.ts +1 -5
- package/src/integrations/image.js +23 -0
- package/{dist → src}/integrations/imagereplace.d.ts +1 -5
- package/src/integrations/imagereplace.js +23 -0
- package/{dist → src}/integrations/imagestyle.d.ts +1 -5
- package/src/integrations/imagestyle.js +23 -0
- package/{dist → src}/integrations/importword.d.ts +1 -5
- package/src/integrations/importword.js +23 -0
- package/{dist → src}/integrations/indent.d.ts +1 -5
- package/src/integrations/indent.js +23 -0
- package/{dist → src}/integrations/inputcommand.d.ts +2 -6
- package/src/integrations/inputcommand.js +23 -0
- package/{dist → src}/integrations/legacylist.d.ts +1 -5
- package/src/integrations/legacylist.js +23 -0
- package/{dist → src}/integrations/legacylistproperties.d.ts +1 -5
- package/src/integrations/legacylistproperties.js +23 -0
- package/{dist → src}/integrations/lineheight.d.ts +1 -5
- package/src/integrations/lineheight.js +23 -0
- package/{dist → src}/integrations/link.d.ts +1 -5
- package/src/integrations/link.js +23 -0
- package/{dist → src}/integrations/list.d.ts +1 -5
- package/src/integrations/list.js +23 -0
- package/{dist → src}/integrations/listproperties.d.ts +1 -5
- package/src/integrations/listproperties.js +23 -0
- package/{dist → src}/integrations/mediaembed.d.ts +1 -5
- package/src/integrations/mediaembed.js +23 -0
- package/{dist → src}/integrations/mention.d.ts +1 -5
- package/src/integrations/mention.js +23 -0
- package/{dist → src}/integrations/mergefields.d.ts +1 -5
- package/src/integrations/mergefields.js +23 -0
- package/{dist → src}/integrations/multilevellist.d.ts +1 -5
- package/src/integrations/multilevellist.js +23 -0
- package/{dist → src}/integrations/pagebreak.d.ts +1 -5
- package/src/integrations/pagebreak.js +23 -0
- package/{dist → src}/integrations/paragraph.d.ts +1 -5
- package/src/integrations/paragraph.js +23 -0
- package/{dist → src}/integrations/removeformat.d.ts +1 -5
- package/src/integrations/removeformat.js +23 -0
- package/{dist → src}/integrations/replacesourcecommand.d.ts +1 -5
- package/src/integrations/replacesourcecommand.js +23 -0
- package/{dist → src}/integrations/restrictededitingmode.d.ts +1 -5
- package/src/integrations/restrictededitingmode.js +23 -0
- package/{dist → src}/integrations/shiftentercommand.d.ts +1 -5
- package/src/integrations/shiftentercommand.js +23 -0
- package/{dist → src}/integrations/standardeditingmode.d.ts +1 -5
- package/src/integrations/standardeditingmode.js +23 -0
- package/{dist → src}/integrations/style.d.ts +1 -5
- package/src/integrations/style.js +23 -0
- package/{dist → src}/integrations/table.d.ts +1 -5
- package/src/integrations/table.js +23 -0
- package/{dist → src}/integrations/tablecaption.d.ts +1 -5
- package/src/integrations/tablecaption.js +23 -0
- package/{dist → src}/integrations/tableclipboard.d.ts +1 -5
- package/src/integrations/tableclipboard.js +24 -0
- package/{dist → src}/integrations/tablecolumnresize.d.ts +2 -6
- package/src/integrations/tablecolumnresize.js +23 -0
- package/{dist → src}/integrations/tableheadings.d.ts +1 -5
- package/src/integrations/tableheadings.js +23 -0
- package/{dist → src}/integrations/tablelayout.d.ts +1 -5
- package/src/integrations/tablelayout.js +23 -0
- package/{dist → src}/integrations/tablemergesplit.d.ts +1 -5
- package/src/integrations/tablemergesplit.js +23 -0
- package/{dist → src}/integrations/tableofcontents.d.ts +1 -5
- package/src/integrations/tableofcontents.js +23 -0
- package/{dist → src}/integrations/tableproperties.d.ts +2 -6
- package/src/integrations/tableproperties.js +23 -0
- package/{dist → src}/integrations/template.d.ts +1 -5
- package/src/integrations/template.js +23 -0
- package/{dist → src}/integrations/title.d.ts +1 -5
- package/src/integrations/title.js +23 -0
- package/{dist → src}/integrations/undo.d.ts +1 -5
- package/src/integrations/undo.js +23 -0
- package/{dist → src}/integrations/uploadcare.d.ts +1 -5
- package/src/integrations/uploadcare.js +23 -0
- package/{dist → src}/integrations/utils.d.ts +1 -5
- package/src/integrations/utils.js +23 -0
- package/{dist → src}/suggestion.d.ts +4 -8
- package/src/suggestion.js +24 -0
- package/{dist → src}/suggestiondescriptionfactory.d.ts +2 -6
- package/src/suggestiondescriptionfactory.js +23 -0
- package/{dist → src}/trackchanges.d.ts +2 -6
- package/src/trackchanges.js +23 -0
- package/{dist → src}/trackchangesconfig.d.ts +0 -4
- package/src/trackchangesconfig.js +23 -0
- package/{dist → src}/trackchangesdata.d.ts +1 -5
- package/src/trackchangesdata.js +23 -0
- package/{dist → src}/trackchangesediting.d.ts +4 -7
- package/src/trackchangesediting.js +23 -0
- package/{dist → src}/trackchangespreview.d.ts +2 -6
- package/src/trackchangespreview.js +23 -0
- package/{dist → src}/trackchangesui.d.ts +2 -6
- package/src/trackchangesui.js +23 -0
- package/{dist → src}/ui/suggestioncontroller.d.ts +3 -7
- package/src/ui/suggestioncontroller.js +24 -0
- package/{dist → src}/ui/view/basesuggestionthreadview.d.ts +4 -8
- package/src/ui/view/basesuggestionthreadview.js +23 -0
- package/{dist → src}/ui/view/suggestionthreadview.d.ts +3 -7
- package/src/ui/view/suggestionthreadview.js +23 -0
- package/{dist → src}/ui/view/suggestionview.d.ts +3 -7
- package/src/ui/view/suggestionview.js +23 -0
- package/{dist → src}/ui/view/trackchangespreviewview.d.ts +0 -4
- package/src/ui/view/trackchangespreviewview.js +23 -0
- package/{dist → src}/utils/common-translations.d.ts +1 -5
- package/src/utils/common-translations.js +23 -0
- package/{dist → src}/utils/utils.d.ts +2 -6
- package/src/utils/utils.js +23 -0
- package/theme/trackchangespreview.css +22 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x4084(_0x294550,_0x14bfd2){const _0x1018ff=_0x1018();return _0x4084=function(_0x4084b5,_0xc4319e){_0x4084b5=_0x4084b5-0xff;let _0x5819b0=_0x1018ff[_0x4084b5];return _0x5819b0;},_0x4084(_0x294550,_0x14bfd2);}const _0x172322=_0x4084;(function(_0x1abf13,_0xaeaaaf){const _0xdd5fcc=_0x4084,_0xf74384=_0x1abf13();while(!![]){try{const _0x1c0980=parseInt(_0xdd5fcc(0x100))/0x1*(-parseInt(_0xdd5fcc(0x11b))/0x2)+-parseInt(_0xdd5fcc(0x107))/0x3*(parseInt(_0xdd5fcc(0x103))/0x4)+-parseInt(_0xdd5fcc(0x112))/0x5+-parseInt(_0xdd5fcc(0x110))/0x6*(parseInt(_0xdd5fcc(0x106))/0x7)+-parseInt(_0xdd5fcc(0xff))/0x8*(-parseInt(_0xdd5fcc(0x116))/0x9)+-parseInt(_0xdd5fcc(0x11d))/0xa+parseInt(_0xdd5fcc(0x10b))/0xb*(parseInt(_0xdd5fcc(0x11c))/0xc);if(_0x1c0980===_0xaeaaaf)break;else _0xf74384['push'](_0xf74384['shift']());}catch(_0x453f62){_0xf74384['push'](_0xf74384['shift']());}}}(_0x1018,0x4bcc8));import{Plugin as _0x5d0abe}from'ckeditor5/src/core.js';function _0x1018(){const _0x5b215d=['1072yGmUNp','104NYQOkM','uploadcareImageReplace','TrackChangesEditing','2374132amxJCt','editor','afterInit','469966aMzsFY','3PdHQnK','UploadcareImageEdit','type','uploadcareImageId','328350Oemkny','Uploadcare','registerDescriptionCallback','enableCommand','uploadcare','6nrSuuH','key','938265VZrwqL','enableDefaultAttributesIntegration','format','has','18072AXkMun','attribute','get','descriptionFactory','uploadcareImageEdit','4748DChmWs','684MEkqDv','5648300EToChZ','plugins'];_0x1018=function(){return _0x5b215d;};return _0x1018();}export class TrackChangesUploadcare extends _0x5d0abe{[_0x172322(0x105)](){const _0x15f2f6=_0x172322,_0x2704ab=this[_0x15f2f6(0x104)],_0x33a882=_0x2704ab[_0x15f2f6(0x11e)][_0x15f2f6(0x118)](_0x15f2f6(0x102));_0x2704ab[_0x15f2f6(0x11e)][_0x15f2f6(0x115)](_0x15f2f6(0x10c))&&(_0x33a882[_0x15f2f6(0x10e)](_0x15f2f6(0x10f)),_0x2704ab[_0x15f2f6(0x11e)][_0x15f2f6(0x115)](_0x15f2f6(0x108))&&(_0x33a882[_0x15f2f6(0x10e)](_0x15f2f6(0x11a)),_0x33a882[_0x15f2f6(0x113)](_0x15f2f6(0x101)),_0x33a882[_0x15f2f6(0x119)][_0x15f2f6(0x10d)](_0x28addd=>{const _0x1edeac=_0x15f2f6;if(_0x1edeac(0x117)!=_0x28addd[_0x1edeac(0x109)])return;const {data:_0x59cbfa}=_0x28addd;return _0x59cbfa&&_0x1edeac(0x10a)==_0x59cbfa[_0x1edeac(0x111)]?{'type':_0x1edeac(0x114),'content':''}:void 0x0;})));}}
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import type { ModelRange, Model } from '@ckeditor/ckeditor5-engine';
|
|
5
|
+
import type { ModelRange, Model } from 'ckeditor5/src/engine.js';
|
|
10
6
|
/**
|
|
11
7
|
* Searches given `range` and returns all sub-ranges containing items with given `attributeKey`.
|
|
12
8
|
*/
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x227f(){const _0x5d86a3=['565884qFrIOg','3826536dNxACl','hasAttribute','4bnZbMA','push','1204152PjzFPa','10682260DNrAdD','createRangeOn','1697095WjsPrj','826GsagGw','1236npEBxg','9GChPej','113565GKBmkL','getItems'];_0x227f=function(){return _0x5d86a3;};return _0x227f();}(function(_0x3964ab,_0x34e3d8){const _0x3da62c=_0x36df,_0xac535a=_0x3964ab();while(!![]){try{const _0x15bb48=-parseInt(_0x3da62c(0x1fb))/0x1+parseInt(_0x3da62c(0x1ef))/0x2+-parseInt(_0x3da62c(0x1f4))/0x3*(-parseInt(_0x3da62c(0x1f2))/0x4)+parseInt(_0x3da62c(0x1f7))/0x5+-parseInt(_0x3da62c(0x1f9))/0x6*(parseInt(_0x3da62c(0x1f8))/0x7)+parseInt(_0x3da62c(0x1f0))/0x8*(parseInt(_0x3da62c(0x1fa))/0x9)+-parseInt(_0x3da62c(0x1f5))/0xa;if(_0x15bb48===_0x34e3d8)break;else _0xac535a['push'](_0xac535a['shift']());}catch(_0x296e23){_0xac535a['push'](_0xac535a['shift']());}}}(_0x227f,0x4841b));function _0x36df(_0x753cef,_0x15ba60){const _0x227f72=_0x227f();return _0x36df=function(_0x36df6b,_0x3d0b61){_0x36df6b=_0x36df6b-0x1ee;let _0x3bd1e9=_0x227f72[_0x36df6b];return _0x3bd1e9;},_0x36df(_0x753cef,_0x15ba60);}export function getRangesWithAttribute(_0x281e33,_0x59f800,_0x16667c){const _0x42bd17=_0x36df,_0x33c984=[];for(const _0x52e514 of _0x59f800[_0x42bd17(0x1ee)]())_0x52e514[_0x42bd17(0x1f1)](_0x281e33)&&_0x33c984[_0x42bd17(0x1f3)](_0x16667c[_0x42bd17(0x1f6)](_0x52e514));return _0x33c984;}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,13 +6,13 @@
|
|
|
10
6
|
* @module track-changes/suggestion
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { ModelElement, type Marker, type Model, type ModelRange, type ModelItem } from '
|
|
14
|
-
import type { User } from '
|
|
9
|
+
import { ModelElement, type Marker, type Model, type ModelRange, type ModelItem } from 'ckeditor5/src/engine.js';
|
|
10
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
15
11
|
import type { CommentThread } from '@ckeditor/ckeditor5-comments';
|
|
16
12
|
import type { SuggestionFormatData, SuggestionAttributeData } from './trackchangesediting.js';
|
|
17
13
|
declare const Suggestion_base: {
|
|
18
|
-
new (): import("
|
|
19
|
-
prototype: import("
|
|
14
|
+
new (): import("ckeditor5/src/utils.js").Observable;
|
|
15
|
+
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
20
16
|
};
|
|
21
17
|
/**
|
|
22
18
|
* Represents a singular suggestion that is tracked by track changes plugin.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x21deae=_0x3930;(function(_0x6441bb,_0x10d30a){const _0x3ffd99=_0x3930,_0xba241f=_0x6441bb();while(!![]){try{const _0x25306a=parseInt(_0x3ffd99(0x1cc))/0x1+-parseInt(_0x3ffd99(0x1a3))/0x2*(-parseInt(_0x3ffd99(0x1b8))/0x3)+-parseInt(_0x3ffd99(0x1a6))/0x4+-parseInt(_0x3ffd99(0x1c1))/0x5*(parseInt(_0x3ffd99(0x1b1))/0x6)+-parseInt(_0x3ffd99(0x187))/0x7*(parseInt(_0x3ffd99(0x1d4))/0x8)+-parseInt(_0x3ffd99(0x1ae))/0x9*(parseInt(_0x3ffd99(0x19a))/0xa)+parseInt(_0x3ffd99(0x1c5))/0xb;if(_0x25306a===_0x10d30a)break;else _0xba241f['push'](_0xba241f['shift']());}catch(_0x271f71){_0xba241f['push'](_0xba241f['shift']());}}}(_0xc304,0x99a4b));function _0xc304(){const _0x6d91f3=['markers','_onDiscard','setAttribute','isExternal','_originalSuggestionId','getFirstMarker','clear','attributes','2237310cjtlhP','map','_onAttributesChange','split','31642237hDgtCV','reduce','_onAccept','_model','onDiscard','isIntersecting','length','751650KJFnjp','getRange','toJSON','filter','hasComments','discard','authoredAt','creator','1905672IYHlkc','set','_markerNames','next','createdAt','isIntersectingWithRange','isInContent','35LdUkwr','push','type','getMarkerNames','substr','getItems','getFirstRange','commentThread','getMarkers','accept','addMarker','end','get','head','addMarkerName','removeMarker','delete','author','previous','290xfZncH','subType','_isDataLoaded','getContainedElement','originalSuggestionId','data','suggestion:','removeAttribute','isMultiRange','764766wpMwCU','from','getRanges','4246852AsIoWL','onAccept','onAttributesChange','addRange','nodeAfter','nodeBefore','decorate','_saved','72495HwRjJt','@external','add','12soJVrf','size','getAllAdjacentSuggestions','start','removeMarkers','getMultiRangeId','change','3uAOJqH'];_0xc304=function(){return _0x6d91f3;};return _0xc304();}import{ModelElement as _0x3634cb}from'ckeditor5/src/engine.js';function _0x3930(_0x586809,_0x3087b3){const _0xc30499=_0xc304();return _0x3930=function(_0x393055,_0x55a6ee){_0x393055=_0x393055-0x182;let _0x326457=_0xc30499[_0x393055];return _0x326457;},_0x3930(_0x586809,_0x3087b3);}import{ObservableMixin as _0x43fbe3,uid as _0x3be3ab}from'ckeditor5/src/utils.js';import{cloneDeep as _0x53f464,isEqual as _0x45166d,set as _0x4fcd0a,unset as _0x3ed7d5}from'es-toolkit/compat';export class Suggestion extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x43fbe3(){['id'];[_0x21deae(0x189)];[_0x21deae(0x19b)];[_0x21deae(0x198)];[_0x21deae(0x1d3)];[_0x21deae(0x1bc)];[_0x21deae(0x19f)];[_0x21deae(0x184)];[_0x21deae(0x1bd)];[_0x21deae(0x19c)]=!0x1;[_0x21deae(0x1c8)];[_0x21deae(0x1c7)];[_0x21deae(0x1ba)];[_0x21deae(0x1c3)];[_0x21deae(0x182)];constructor(_0x552b66,_0x599d37){const _0x4e54d6=_0x21deae;super(),this['id']=_0x599d37['id'],this[_0x4e54d6(0x189)]=_0x599d37[_0x4e54d6(0x189)],this[_0x4e54d6(0x19b)]=_0x599d37[_0x4e54d6(0x19b)]||null,this[_0x4e54d6(0x198)]=_0x599d37[_0x4e54d6(0x198)],this[_0x4e54d6(0x1d3)]=_0x599d37[_0x4e54d6(0x1d3)]||_0x599d37[_0x4e54d6(0x198)],this[_0x4e54d6(0x1bc)]=Boolean(_0x599d37[_0x4e54d6(0x1c0)]&&_0x599d37[_0x4e54d6(0x1c0)][_0x4e54d6(0x1af)]),this[_0x4e54d6(0x19f)]=null,this[_0x4e54d6(0x1bd)]=_0x599d37[_0x4e54d6(0x19e)]||null,this[_0x4e54d6(0x1c8)]=_0x552b66,this[_0x4e54d6(0x1c7)]=_0x599d37[_0x4e54d6(0x1a7)],this[_0x4e54d6(0x1ba)]=_0x599d37[_0x4e54d6(0x1c9)],this[_0x4e54d6(0x1c3)]=_0x599d37[_0x4e54d6(0x1a8)],this[_0x4e54d6(0x182)]=new Set(),this[_0x4e54d6(0x184)]=null,this[_0x4e54d6(0x1d5)](_0x4e54d6(0x1d2),null),this[_0x4e54d6(0x1d5)](_0x4e54d6(0x1c0),_0x599d37[_0x4e54d6(0x1c0)]||{}),this[_0x4e54d6(0x1d5)](_0x4e54d6(0x199),null),this[_0x4e54d6(0x1d5)](_0x4e54d6(0x183),null),this[_0x4e54d6(0x1d5)](_0x4e54d6(0x18e),null),this[_0x4e54d6(0x1d5)](_0x4e54d6(0x1ad),!0x1),this[_0x4e54d6(0x1ac)](_0x4e54d6(0x190)),this[_0x4e54d6(0x1ac)](_0x4e54d6(0x1d1));}get[_0x21deae(0x194)](){const _0x502f1b=_0x21deae;let _0x15ab59=this;for(;_0x15ab59[_0x502f1b(0x199)];)_0x15ab59=_0x15ab59[_0x502f1b(0x199)];return _0x15ab59;}get[_0x21deae(0x1d0)](){const _0x31b5f3=_0x21deae;return!!this[_0x31b5f3(0x18e)]&&this[_0x31b5f3(0x18e)][_0x31b5f3(0x1cb)]>0x0;}get[_0x21deae(0x1a2)](){const _0x1740b4=_0x21deae;if(0x0==this[_0x1740b4(0x182)][_0x1740b4(0x1b2)])return!0x1;return 0x6==Array[_0x1740b4(0x1a4)](this[_0x1740b4(0x182)])[0x0][_0x1740b4(0x1c4)](':')[_0x1740b4(0x1cb)];}get[_0x21deae(0x186)](){const _0x18ecf0=_0x21deae;return null!==this[_0x18ecf0(0x1be)]();}[_0x21deae(0x195)](_0x5e0bf6){const _0x3d1b98=_0x21deae;this[_0x3d1b98(0x182)][_0x3d1b98(0x1b0)](_0x5e0bf6);}[_0x21deae(0x18a)](){const _0x168bf8=_0x21deae;return Array[_0x168bf8(0x1a4)](this[_0x168bf8(0x182)]);}[_0x21deae(0x18f)](){const _0x11d2e3=_0x21deae;return this[_0x11d2e3(0x18a)]()[_0x11d2e3(0x1c2)](_0x1eccd2=>this[_0x11d2e3(0x1c8)][_0x11d2e3(0x1b9)][_0x11d2e3(0x193)](_0x1eccd2))[_0x11d2e3(0x1cf)](_0x4761e6=>_0x4761e6);}[_0x21deae(0x1be)](){const _0x36748b=_0x21deae;return this[_0x36748b(0x18f)]()[0x0]||null;}[_0x21deae(0x1b5)](){const _0x1bb811=_0x21deae;this[_0x1bb811(0x1c8)][_0x1bb811(0x1b7)](_0x1be5df=>{const _0x3a5a76=_0x1bb811;for(const _0x1daf62 of this[_0x3a5a76(0x18f)]())_0x1be5df[_0x3a5a76(0x196)](_0x1daf62);}),this[_0x1bb811(0x182)][_0x1bb811(0x1bf)]();}[_0x21deae(0x196)](_0x2d1038){const _0x253fd1=_0x21deae;this[_0x253fd1(0x1c8)][_0x253fd1(0x1b7)](_0x4eb320=>{const _0x5f0c6c=_0x253fd1;_0x4eb320[_0x5f0c6c(0x196)](_0x2d1038);}),this[_0x253fd1(0x182)][_0x253fd1(0x197)](_0x2d1038);}[_0x21deae(0x1a9)](_0x495e57){const _0x55a523=_0x21deae,_0x3f0669=_0x55a523(0x1a0)+this[_0x55a523(0x189)]+':'+this[_0x55a523(0x19b)]+':'+this['id']+':'+this[_0x55a523(0x1d3)]['id']+':'+Suggestion[_0x55a523(0x1b6)]();this[_0x55a523(0x195)](_0x3f0669),this[_0x55a523(0x1c8)][_0x55a523(0x1b7)](_0xdd2547=>{const _0x2ccb52=_0x55a523;_0xdd2547[_0x2ccb52(0x191)](_0x3f0669,{'range':_0x495e57,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x21deae(0x185)](_0x11ccba){const _0x76733a=_0x21deae;for(const _0x40b098 of this[_0x76733a(0x1a5)]())if(_0x40b098[_0x76733a(0x1ca)](_0x11ccba))return!0x0;return!0x1;}[_0x21deae(0x1a5)](){const _0x199239=_0x21deae;return this[_0x199239(0x18f)]()[_0x199239(0x1c2)](_0xaef1b4=>_0xaef1b4[_0x199239(0x1cd)]());}[_0x21deae(0x18c)](){const _0x122ad5=_0x21deae;return this[_0x122ad5(0x1a5)]()[_0x122ad5(0x1c6)]((_0x1b5c2b,_0x4d3e29)=>[..._0x1b5c2b,..._0x4d3e29[_0x122ad5(0x18c)]()],[]);}[_0x21deae(0x18d)](){const _0x209ea8=_0x21deae;return this[_0x209ea8(0x1be)]()?.[_0x209ea8(0x1cd)]()||null;}[_0x21deae(0x19d)](){const _0x4d81b4=_0x21deae,_0x2f9dda=this[_0x4d81b4(0x1a5)]();if(0x1!=_0x2f9dda[_0x4d81b4(0x1cb)])return null;const _0x5b8212=_0x2f9dda[0x0],_0x2a1d66=_0x5b8212[_0x4d81b4(0x1b4)][_0x4d81b4(0x1aa)],_0x3c40ba=_0x5b8212[_0x4d81b4(0x192)][_0x4d81b4(0x1ab)];return _0x2a1d66 instanceof _0x3634cb?_0x2a1d66!=_0x3c40ba?null:_0x2a1d66:null;}[_0x21deae(0x190)](){const _0x1d9b54=_0x21deae;this[_0x1d9b54(0x1c7)](this[_0x1d9b54(0x1a5)](),this[_0x1d9b54(0x19f)],this[_0x1d9b54(0x1c0)]),this[_0x1d9b54(0x1b5)]();}[_0x21deae(0x1d1)](){const _0x2fb839=_0x21deae;this[_0x2fb839(0x1ba)](this[_0x2fb839(0x1a5)](),this[_0x2fb839(0x19f)],this[_0x2fb839(0x1c0)]),this[_0x2fb839(0x1b5)]();}[_0x21deae(0x1b3)](){const _0x5a4441=_0x21deae,_0x5e2b4b=[];let _0x413345=this[_0x5a4441(0x194)];for(;_0x413345;)_0x5e2b4b[_0x5a4441(0x188)](_0x413345),_0x413345=_0x413345[_0x5a4441(0x183)];return _0x5e2b4b;}[_0x21deae(0x1bb)](_0x4cc365,_0x179f62){const _0x2608b1=_0x21deae,_0x577387=_0x53f464(this[_0x2608b1(0x1c0)]);_0x4fcd0a(_0x577387,_0x4cc365,_0x179f62),_0x45166d(_0x577387,this[_0x2608b1(0x1c0)])||(this[_0x2608b1(0x1c0)]=_0x577387,this[_0x2608b1(0x1c3)](_0x577387));}[_0x21deae(0x1a1)](_0x3fa2ad){const _0x244131=_0x21deae,_0x5d5508=_0x53f464(this[_0x244131(0x1c0)]);_0x3ed7d5(_0x5d5508,_0x3fa2ad),_0x45166d(_0x5d5508,this[_0x244131(0x1c0)])||(this[_0x244131(0x1c0)]=_0x5d5508,this[_0x244131(0x1c3)](this[_0x244131(0x1c0)]));}[_0x21deae(0x1ce)](){const _0x52302c=_0x21deae;return{'id':this['id'],'type':this[_0x52302c(0x19b)]?this[_0x52302c(0x189)]+':'+this[_0x52302c(0x19b)]:this[_0x52302c(0x189)],'authorId':this[_0x52302c(0x1d3)]['id'],'createdAt':this[_0x52302c(0x184)],'hasComments':this[_0x52302c(0x1d0)],'data':this[_0x52302c(0x19f)],'attributes':this[_0x52302c(0x1c0)]};}static[_0x21deae(0x1b6)](){const _0x2b9452=_0x21deae;return _0x3be3ab()[_0x2b9452(0x18b)](0x1,0x5);}}
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
|
-
*/
|
|
9
|
-
import { type Locale, type PriorityString } from '@ckeditor/ckeditor5-utils';
|
|
10
|
-
import type { ModelSchema, ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
5
|
+
import { type Locale, type PriorityString } from 'ckeditor5/src/utils.js';
|
|
6
|
+
import type { ModelSchema, ModelElement } from 'ckeditor5/src/engine.js';
|
|
11
7
|
import { type Suggestion } from './suggestion.js';
|
|
12
8
|
/**
|
|
13
9
|
* Creates descriptions for suggestions and suggestions chains.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x24ff20=_0x25e0;(function(_0xf76c1e,_0x38345d){const _0x665bea=_0x25e0,_0x4ff19e=_0xf76c1e();while(!![]){try{const _0x1f2565=parseInt(_0x665bea(0x197))/0x1+parseInt(_0x665bea(0x153))/0x2+parseInt(_0x665bea(0x175))/0x3*(-parseInt(_0x665bea(0x162))/0x4)+parseInt(_0x665bea(0x14f))/0x5*(parseInt(_0x665bea(0x172))/0x6)+-parseInt(_0x665bea(0x18e))/0x7*(parseInt(_0x665bea(0x16b))/0x8)+-parseInt(_0x665bea(0x157))/0x9+-parseInt(_0x665bea(0x158))/0xa*(-parseInt(_0x665bea(0x168))/0xb);if(_0x1f2565===_0x38345d)break;else _0x4ff19e['push'](_0x4ff19e['shift']());}catch(_0x425c96){_0x4ff19e['push'](_0x4ff19e['shift']());}}}(_0x2e06,0x9fdb7));import{getTranslation as _0x48f2fa}from'./utils/common-translations.js';function _0x2e06(){const _0x17dcd4=['pop','subType','getItemLabel','insertion','getWalker','key','start','_handleInsertRemoveSuggestionDescription','elementEnd','ELEMENT_SPACE','Container','removeFormat','attribute','*Split:*\x20%0','text','nodeAfter','data','isObject','*Insert:*\x20%0','length','_handleCustomCallbackDescription','_resolveDescriptionItems','5SCqmoy','*Set\x20format:*\x20%0','newValue','get','1518084yTSzyq','skip','_handleAttributeSuggestionDescription','elementStart','10946601pqDLjr','1615430XywuGe','isEmpty','addContainer','REPLACE_TEXT','checkChild','_itemLabels','removeContainer','$text','push','nextSibling','4240596tgcKQP','addFormat','match','set','_handleRenameSuggestionDescription','_schema','77uYXwQQ','join','removeEmptyContainer','200abXSuF','replace','item','end','removeObject','isEqual','_customCallbacks','3298242InyOOZ','$textProxy','_itemLabelsCallbacks','3RLzrvr','*Merge:*\x20%0','previousSibling','addEmptyContainer','getFirstRange','softBreak','_locale','indexOf','_attributeLabels','label','*Remove\x20format:*\x20%0','map','$1\x20$2','registerAttributeLabel','has','registerDescriptionCallback','addObject','add','matchingCallback','registerElementLabel','*Change\x20to:*\x20%0','type','deletion','quantity','element','123235KIShBd','Object','getDescriptions','function','isInContent','name','format','normal','EmptyContainer','931788PDJqWk','*Remove:*\x20%0','remove','_addDescriptionItems'];_0x2e06=function(){return _0x17dcd4;};return _0x2e06();}import{priorities as _0x402b96,insertToPriorityArray as _0x3d0adc}from'ckeditor5/src/utils.js';function _0x25e0(_0x1b1767,_0x21c416){const _0x2e0627=_0x2e06();return _0x25e0=function(_0x25e0cf,_0x4e6090){_0x25e0cf=_0x25e0cf-0x148;let _0x1a5bc4=_0x2e0627[_0x25e0cf];return _0x1a5bc4;},_0x25e0(_0x1b1767,_0x21c416);}import{renameAttributeKey as _0x4c07de}from'./trackchangesediting.js';export class SuggestionDescriptionFactory{[_0x24ff20(0x171)];[_0x24ff20(0x15d)];[_0x24ff20(0x174)];[_0x24ff20(0x17d)];[_0x24ff20(0x167)];[_0x24ff20(0x17b)];constructor(_0x5119ca,_0x3b1661){const _0x2d51b8=_0x24ff20;this[_0x2d51b8(0x171)]=[],this[_0x2d51b8(0x15d)]=new Map(),this[_0x2d51b8(0x174)]=[],this[_0x2d51b8(0x17d)]=new Map(),this[_0x2d51b8(0x167)]=_0x5119ca,this[_0x2d51b8(0x17b)]=_0x3b1661;}[_0x24ff20(0x190)](_0x180e70){const _0x210bd4=_0x24ff20,_0x263e4d=[],_0x39ea3b=new Set(),_0x536fb0=new Set();for(let _0xd28f42=0x0;_0xd28f42<_0x180e70[_0x210bd4(0x14c)];_0xd28f42++){const _0x422f51=_0x180e70[_0xd28f42];if(!_0x422f51[_0x210bd4(0x192)])continue;const _0x65ba0f=this[_0x210bd4(0x14d)](_0x422f51);if(_0x65ba0f){if(null!=_0x422f51[_0x210bd4(0x19c)]){if(_0x39ea3b[_0x210bd4(0x183)](_0x422f51[_0x210bd4(0x19c)]))continue;_0x39ea3b[_0x210bd4(0x186)](_0x422f51[_0x210bd4(0x19c)]);}_0x263e4d[_0x210bd4(0x160)](_0x65ba0f);}else{if(_0x210bd4(0x1a7)==_0x422f51[_0x210bd4(0x18a)]){const _0x309f48=_0x422f51[_0x210bd4(0x149)][_0x210bd4(0x1a0)];if(_0x536fb0[_0x210bd4(0x183)](_0x309f48))continue;_0x536fb0[_0x210bd4(0x186)](_0x422f51[_0x210bd4(0x149)][_0x210bd4(0x1a0)]),_0x309f48==_0x4c07de?this[_0x210bd4(0x166)](_0x263e4d,_0x422f51):this[_0x210bd4(0x155)](_0x263e4d,_0x422f51);continue;}_0x210bd4(0x19e)!=_0x422f51[_0x210bd4(0x18a)]&&_0x210bd4(0x18b)!=_0x422f51[_0x210bd4(0x18a)]||this[_0x210bd4(0x1a2)](_0x263e4d,_0x422f51,_0x180e70[_0xd28f42+0x1]);}}return this[_0x210bd4(0x14e)](_0x263e4d);}[_0x24ff20(0x184)](_0x1cedd3){const _0x2700ca=_0x24ff20;this[_0x2700ca(0x171)][_0x2700ca(0x160)](_0x1cedd3);}[_0x24ff20(0x188)](_0xa7f71e,_0x5a2e27,_0x193760=_0x402b96[_0x24ff20(0x195)]){const _0x19adab=_0x24ff20;_0x19adab(0x191)==typeof _0xa7f71e?_0x3d0adc(this[_0x19adab(0x174)],{'matchingCallback':_0xa7f71e,'label':_0x5a2e27,'priority':_0x193760}):this[_0x19adab(0x15d)][_0x19adab(0x165)](_0xa7f71e,_0x5a2e27);}[_0x24ff20(0x182)](_0x2997bc,_0x2e54d9){const _0x1efdfc=_0x24ff20;this[_0x1efdfc(0x17d)][_0x1efdfc(0x165)](_0x2997bc,_0x2e54d9);}[_0x24ff20(0x19d)](_0x36752f,_0x488046=0x1){const _0x5ad9f9=_0x24ff20;let _0x1972df;for(const _0x43a569 of this[_0x5ad9f9(0x174)])if(_0x43a569[_0x5ad9f9(0x187)](_0x36752f)){_0x1972df=_0x43a569[_0x5ad9f9(0x17e)];break;}return _0x1972df||(_0x1972df=this[_0x5ad9f9(0x15d)][_0x5ad9f9(0x152)](_0x36752f[_0x5ad9f9(0x193)])),_0x1972df?_0x1972df(_0x488046):0x1!==_0x488046?_0x488046+'\x20'+_0x36752f[_0x5ad9f9(0x193)]+'s':''+_0x36752f[_0x5ad9f9(0x193)];}[_0x24ff20(0x19a)](_0x6d5af7,_0x1a0374){const _0x71d5ce=_0x24ff20,_0x42b303=_0x1a0374[_0x71d5ce(0x179)]()[_0x71d5ce(0x19f)](),_0x4f9da3=_0x71d5ce(0x19e)==_0x1a0374[_0x71d5ce(0x18a)]?_0x71d5ce(0x186):_0x71d5ce(0x199);for(const _0x1503b3 of _0x42b303){const _0x52a4d5=_0x1503b3[_0x71d5ce(0x16d)],_0xd9fb50=_0x6d5af7[_0x6d5af7[_0x71d5ce(0x14c)]-0x1];if(_0x52a4d5['is'](_0x71d5ce(0x173)))_0xd9fb50&&_0xd9fb50[_0x71d5ce(0x18a)][_0x71d5ce(0x17c)](_0x71d5ce(0x1a5))>-0x1&&_0x6d5af7[_0x71d5ce(0x19b)](),_0xd9fb50&&_0x71d5ce(0x1a9)==_0xd9fb50[_0x71d5ce(0x18a)]?_0xd9fb50[_0x4f9da3]+=_0x52a4d5[_0x71d5ce(0x149)]:_0x6d5af7[_0x71d5ce(0x160)]({'type':_0x71d5ce(0x1a9),'add':_0x71d5ce(0x186)==_0x4f9da3?_0x52a4d5[_0x71d5ce(0x149)]:'','remove':_0x71d5ce(0x199)==_0x4f9da3?_0x52a4d5[_0x71d5ce(0x149)]:''});else{if(this[_0x71d5ce(0x167)][_0x71d5ce(0x14a)](_0x52a4d5)){const _0x503148=_0x52a4d5;if(_0xd9fb50&&_0xd9fb50[_0x71d5ce(0x18a)][_0x71d5ce(0x17c)](_0x71d5ce(0x1a5))>-0x1&&_0x6d5af7[_0x71d5ce(0x19b)](),_0x71d5ce(0x1a3)==_0x1503b3[_0x71d5ce(0x18a)])continue;_0xd9fb50&&_0xd9fb50[_0x71d5ce(0x18a)]==_0x4f9da3+_0x71d5ce(0x18f)&&_0xd9fb50[_0x71d5ce(0x18d)][_0x71d5ce(0x193)]==_0x503148[_0x71d5ce(0x193)]?_0xd9fb50[_0x71d5ce(0x18c)]++:_0x6d5af7[_0x71d5ce(0x160)]({'type':_0x4f9da3+_0x71d5ce(0x18f),'element':_0x503148,'quantity':0x1}),_0x42b303[_0x71d5ce(0x154)](_0x448e02=>!(_0x71d5ce(0x1a3)==_0x448e02[_0x71d5ce(0x18a)]&&_0x448e02[_0x71d5ce(0x16d)]==_0x52a4d5));}else{if(this[_0x71d5ce(0x167)][_0x71d5ce(0x15c)](_0x52a4d5,_0x71d5ce(0x15f))||_0x52a4d5['is'](_0x71d5ce(0x18d),_0x71d5ce(0x17a))){const _0x487a9d=_0x52a4d5;if(_0x71d5ce(0x186)==_0x4f9da3&&_0x71d5ce(0x156)==_0x1503b3[_0x71d5ce(0x18a)]||_0x71d5ce(0x199)==_0x4f9da3&&_0x71d5ce(0x1a3)==_0x1503b3[_0x71d5ce(0x18a)])continue;if(_0xd9fb50&&-0x1==_0xd9fb50[_0x71d5ce(0x18a)][_0x71d5ce(0x17c)](_0x71d5ce(0x1a5))){_0x71d5ce(0x1a9)==_0xd9fb50[_0x71d5ce(0x18a)]&&(_0xd9fb50[_0x4f9da3]+='\x0a');continue;}let _0x1a1eda;if(_0x1a1eda=_0x71d5ce(0x186)==_0x4f9da3?_0x487a9d[_0x71d5ce(0x161)]&&!this[_0x71d5ce(0x167)][_0x71d5ce(0x14a)](_0x487a9d[_0x71d5ce(0x161)])?_0x487a9d[_0x71d5ce(0x161)]:null:_0x487a9d[_0x71d5ce(0x177)]&&!this[_0x71d5ce(0x167)][_0x71d5ce(0x14a)](_0x487a9d[_0x71d5ce(0x177)])?_0x487a9d[_0x71d5ce(0x177)]:null,_0x487a9d[_0x71d5ce(0x159)]||_0x1a1eda&&_0x1a1eda[_0x71d5ce(0x159)]){const _0x3506ac=_0x1a1eda&&_0x1a1eda[_0x71d5ce(0x159)]?_0x1a1eda:_0x487a9d;_0xd9fb50&&_0xd9fb50[_0x71d5ce(0x18a)]==_0x4f9da3+_0x71d5ce(0x196)&&_0xd9fb50[_0x71d5ce(0x18d)][_0x71d5ce(0x193)]==_0x3506ac[_0x71d5ce(0x193)]?_0xd9fb50[_0x71d5ce(0x18c)]++:_0x6d5af7[_0x71d5ce(0x160)]({'type':_0x4f9da3+_0x71d5ce(0x196),'element':_0x3506ac,'quantity':0x1});}else _0x6d5af7[_0x71d5ce(0x160)]({'type':_0x4f9da3+_0x71d5ce(0x1a5),'element':_0x487a9d});}}}}}[_0x24ff20(0x14e)](_0x2b5e98){const _0x175e44=_0x24ff20,_0x498192=this[_0x175e44(0x17b)],_0x1c2038=[],_0x5ae9e5=[],_0x558856=[];for(const _0x11fc95 of _0x2b5e98)switch(_0x11fc95[_0x175e44(0x18a)]){case _0x175e44(0x1a9):if(_0x11fc95[_0x175e44(0x186)]=_0x11fc95[_0x175e44(0x186)][_0x175e44(0x16c)](/(\S)\u000A+(\S)/g,_0x175e44(0x181))[_0x175e44(0x16c)](/\u000A/g,''),_0x11fc95[_0x175e44(0x199)]=_0x11fc95[_0x175e44(0x199)][_0x175e44(0x16c)](/(\S)\u000A+(\S)/g,_0x175e44(0x181))[_0x175e44(0x16c)](/\u000A/g,''),''!=_0x11fc95[_0x175e44(0x186)]&&''!=_0x11fc95[_0x175e44(0x199)]){_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x16c),'content':_0x48f2fa(_0x498192,_0x175e44(0x15b),['\x22'+_0x11fc95[_0x175e44(0x199)]+'\x22','\x22'+_0x11fc95[_0x175e44(0x186)]+'\x22'])});continue;}if(null!=_0x11fc95[_0x175e44(0x186)][_0x175e44(0x164)](/^ +$/)){_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x19e),'content':_0x48f2fa(_0x498192,_0x175e44(0x14b),_0x48f2fa(_0x498192,_0x175e44(0x1a4),_0x11fc95[_0x175e44(0x186)][_0x175e44(0x14c)]))});continue;}if(null!=_0x11fc95[_0x175e44(0x199)][_0x175e44(0x164)](/^ +$/)){_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x18b),'content':_0x48f2fa(_0x498192,_0x175e44(0x198),_0x48f2fa(_0x498192,_0x175e44(0x1a4),_0x11fc95[_0x175e44(0x199)][_0x175e44(0x14c)]))});continue;}if(''!=_0x11fc95[_0x175e44(0x186)]){_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x19e),'content':_0x48f2fa(_0x498192,_0x175e44(0x14b),'\x22'+_0x11fc95[_0x175e44(0x186)]+'\x22')});continue;}_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x18b),'content':_0x48f2fa(_0x498192,_0x175e44(0x198),'\x22'+_0x11fc95[_0x175e44(0x199)]+'\x22')});continue;case _0x175e44(0x178):case _0x175e44(0x185):_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x19e),'content':_0x48f2fa(_0x498192,_0x175e44(0x14b),this[_0x175e44(0x19d)](_0x11fc95[_0x175e44(0x18d)],_0x11fc95[_0x175e44(0x18c)]))});continue;case _0x175e44(0x16a):case _0x175e44(0x16f):_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x18b),'content':_0x48f2fa(_0x498192,_0x175e44(0x198),this[_0x175e44(0x19d)](_0x11fc95[_0x175e44(0x18d)],_0x11fc95[_0x175e44(0x18c)]))});continue;case _0x175e44(0x15a):_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x19e),'content':_0x48f2fa(_0x498192,_0x175e44(0x1a8),this[_0x175e44(0x19d)](_0x11fc95[_0x175e44(0x18d)],_0x11fc95[_0x175e44(0x18c)]))});continue;case _0x175e44(0x15e):_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x18b),'content':_0x48f2fa(_0x498192,_0x175e44(0x176),this[_0x175e44(0x19d)](_0x11fc95[_0x175e44(0x18d)],_0x11fc95[_0x175e44(0x18c)]))});continue;case _0x175e44(0x163):_0x5ae9e5[_0x175e44(0x160)](_0x11fc95[_0x175e44(0x1a0)]);continue;case _0x175e44(0x1a6):_0x558856[_0x175e44(0x160)](_0x11fc95[_0x175e44(0x1a0)]);continue;default:_0x1c2038[_0x175e44(0x160)](_0x11fc95);}if(_0x5ae9e5[_0x175e44(0x14c)]){const _0x1c7e8e=_0x5ae9e5[_0x175e44(0x180)](_0x2ea6a5=>this[_0x175e44(0x17d)][_0x175e44(0x183)](_0x2ea6a5)?this[_0x175e44(0x17d)][_0x175e44(0x152)](_0x2ea6a5):_0x2ea6a5)[_0x175e44(0x169)](',\x20');_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x194),'content':_0x48f2fa(this[_0x175e44(0x17b)],_0x175e44(0x150),_0x1c7e8e)});}if(_0x558856[_0x175e44(0x14c)]){const _0x612dbf=_0x558856[_0x175e44(0x180)](_0x5dda29=>this[_0x175e44(0x17d)][_0x175e44(0x183)](_0x5dda29)?this[_0x175e44(0x17d)][_0x175e44(0x152)](_0x5dda29):_0x5dda29)[_0x175e44(0x169)](',\x20');_0x1c2038[_0x175e44(0x160)]({'type':_0x175e44(0x194),'content':_0x48f2fa(this[_0x175e44(0x17b)],_0x175e44(0x17f),_0x612dbf)});}return _0x1c2038;}[_0x24ff20(0x14d)](_0x2ef427){const _0x45b382=_0x24ff20;for(const _0x32d8f9 of this[_0x45b382(0x171)]){const _0x5eaac1=_0x32d8f9(_0x2ef427);if(_0x5eaac1&&_0x45b382(0x18a)in _0x5eaac1)return _0x5eaac1;}}[_0x24ff20(0x155)](_0x5a7903,_0x24436f){const _0x402b76=_0x24ff20,_0x4ba9fb=_0x24436f[_0x402b76(0x149)],_0x42457b=void 0x0===_0x4ba9fb[_0x402b76(0x151)]?_0x402b76(0x1a6):_0x402b76(0x163);_0x5a7903[_0x402b76(0x160)]({'type':_0x42457b,'key':_0x4ba9fb[_0x402b76(0x1a0)]});}[_0x24ff20(0x166)](_0x34fff1,_0x5992e1){const _0x2dd76c=_0x24ff20;_0x34fff1[_0x2dd76c(0x160)]({'type':_0x2dd76c(0x194),'content':_0x48f2fa(this[_0x2dd76c(0x17b)],_0x2dd76c(0x189),this[_0x2dd76c(0x19d)](_0x5992e1[_0x2dd76c(0x179)]()[_0x2dd76c(0x1a1)][_0x2dd76c(0x148)],0x1))});}[_0x24ff20(0x1a2)](_0x58c743,_0x23e85f,_0x4f0356){const _0x2a3096=_0x24ff20;if(this[_0x2a3096(0x19a)](_0x58c743,_0x23e85f),_0x4f0356&&_0x4f0356[_0x2a3096(0x179)]()&&!_0x23e85f[_0x2a3096(0x179)]()[_0x2a3096(0x16e)][_0x2a3096(0x170)](_0x4f0356[_0x2a3096(0x179)]()[_0x2a3096(0x1a1)])){const _0x4011c0=_0x58c743[_0x58c743[_0x2a3096(0x14c)]-0x1],_0x31fd7d=_0x2a3096(0x19e)==_0x23e85f[_0x2a3096(0x18a)]?_0x2a3096(0x186):_0x2a3096(0x199);_0x4011c0&&_0x2a3096(0x1a9)==_0x4011c0[_0x2a3096(0x18a)]&&(_0x4011c0[_0x31fd7d]+='\x0a');}}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,10 +6,10 @@
|
|
|
10
6
|
* @module track-changes/trackchanges
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
10
|
import { TrackChangesUI } from './trackchangesui.js';
|
|
15
11
|
import { TrackChangesEditing } from './trackchangesediting.js';
|
|
16
|
-
import '
|
|
12
|
+
import 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
17
13
|
import type { Suggestion, SuggestionJSON } from './suggestion.js';
|
|
18
14
|
/**
|
|
19
15
|
* A plugin that provides track changes mode for the editor. In track changes mode, all insertions are visually marked and all deletions
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x1ae767=_0x214f;function _0x214f(_0x5d3aac,_0x2b3753){var _0x3974d1=_0x3974();return _0x214f=function(_0x214feb,_0x17aecd){_0x214feb=_0x214feb-0x149;var _0x2c64f5=_0x3974d1[_0x214feb];return _0x2c64f5;},_0x214f(_0x5d3aac,_0x2b3753);}(function(_0x32201a,_0xbadd41){var _0x3752ea=_0x214f,_0x40b1b9=_0x32201a();while(!![]){try{var _0x1e5358=-parseInt(_0x3752ea(0x14f))/0x1*(parseInt(_0x3752ea(0x155))/0x2)+parseInt(_0x3752ea(0x15b))/0x3*(parseInt(_0x3752ea(0x153))/0x4)+-parseInt(_0x3752ea(0x151))/0x5*(-parseInt(_0x3752ea(0x150))/0x6)+parseInt(_0x3752ea(0x15f))/0x7+parseInt(_0x3752ea(0x14a))/0x8*(-parseInt(_0x3752ea(0x14e))/0x9)+-parseInt(_0x3752ea(0x15c))/0xa+-parseInt(_0x3752ea(0x160))/0xb;if(_0x1e5358===_0xbadd41)break;else _0x40b1b9['push'](_0x40b1b9['shift']());}catch(_0x668171){_0x40b1b9['push'](_0x40b1b9['shift']());}}}(_0x3974,0xd8693));import{Plugin as _0x74c35d}from'ckeditor5/src/core.js';import{TrackChangesUI as _0x43e398}from'./trackchangesui.js';import{TrackChangesEditing as _0x206fbc}from'./trackchangesediting.js';function _0x3974(){var _0x1cd662=['TrackChanges','11900602bzMoyu','3836404RWnxpK','get','plugins','81912dxdPHf','adapter','getSuggestion','pluginName','747KzeOIo','1582JOUvYk','3603858PmlXmD','5BLoOHG','editor','36644sYpUTI','getSuggestions','338pGPKeH','isPremiumPlugin','requires','Comments','addSuggestionData','isOfficialPlugin','543RRuPqK','16064920GGWVok','addSuggestion'];_0x3974=function(){return _0x1cd662;};return _0x3974();}import'ckeditor5-collaboration/src/collaboration-core.js';export class TrackChanges extends _0x74c35d{static get[_0x1ae767(0x157)](){var _0x2abb61=_0x1ae767;return[_0x206fbc,_0x43e398,_0x2abb61(0x158)];}static get[_0x1ae767(0x14d)](){var _0x42fb0a=_0x1ae767;return _0x42fb0a(0x15e);}static get[_0x1ae767(0x15a)](){return!0x0;}static get[_0x1ae767(0x156)](){return!0x0;}set[_0x1ae767(0x14b)](_0x43c84c){var _0x47ec20=_0x1ae767;this[_0x47ec20(0x152)][_0x47ec20(0x149)][_0x47ec20(0x161)](_0x206fbc)[_0x47ec20(0x14b)]=_0x43c84c;}get[_0x1ae767(0x14b)](){var _0x71e2d5=_0x1ae767;return this[_0x71e2d5(0x152)][_0x71e2d5(0x149)][_0x71e2d5(0x161)](_0x206fbc)[_0x71e2d5(0x14b)];}[_0x1ae767(0x15d)](_0xeb378a){var _0xfb4a0e=_0x1ae767;return this[_0xfb4a0e(0x152)][_0xfb4a0e(0x149)][_0xfb4a0e(0x161)](_0x206fbc)[_0xfb4a0e(0x159)](_0xeb378a);}[_0x1ae767(0x154)]({skipNotAttached:_0x283602=!0x1,toJSON:_0x3ea364=!0x1}={}){var _0x3b0842=_0x1ae767;return this[_0x3b0842(0x152)][_0x3b0842(0x149)][_0x3b0842(0x161)](_0x206fbc)[_0x3b0842(0x154)]({'skipNotAttached':_0x283602,'toJSON':_0x3ea364});}[_0x1ae767(0x14c)](_0x22b03a){var _0x124aaa=_0x1ae767;return this[_0x124aaa(0x152)][_0x124aaa(0x149)][_0x124aaa(0x161)](_0x206fbc)[_0x124aaa(0x14c)](_0x22b03a);}}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,7 +6,7 @@
|
|
|
10
6
|
* @module track-changes/trackchangesdata
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin, type Editor } from '
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
14
10
|
import { TrackChangesEditing } from './trackchangesediting.js';
|
|
15
11
|
/**
|
|
16
12
|
* This plugin returns the editor data with accepted or discarded suggestions without modifying the editor content.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x1d7b5c=_0x3441;(function(_0x181521,_0xcd7947){const _0x20efbf=_0x3441,_0x4cf275=_0x181521();while(!![]){try{const _0x5d38b2=parseInt(_0x20efbf(0x12c))/0x1*(-parseInt(_0x20efbf(0x133))/0x2)+-parseInt(_0x20efbf(0x134))/0x3+parseInt(_0x20efbf(0x11b))/0x4+-parseInt(_0x20efbf(0x112))/0x5+-parseInt(_0x20efbf(0x128))/0x6+-parseInt(_0x20efbf(0x110))/0x7*(parseInt(_0x20efbf(0x10a))/0x8)+parseInt(_0x20efbf(0x120))/0x9*(parseInt(_0x20efbf(0x127))/0xa);if(_0x5d38b2===_0xcd7947)break;else _0x4cf275['push'](_0x4cf275['shift']());}catch(_0x26f156){_0x4cf275['push'](_0x4cf275['shift']());}}}(_0x1ec6,0xadd6d));function _0x3441(_0x1d9309,_0x37514d){const _0x1ec6ff=_0x1ec6();return _0x3441=function(_0x344104,_0x17154e){_0x344104=_0x344104-0x108;let _0x20f563=_0x1ec6ff[_0x344104];return _0x20f563;},_0x3441(_0x1d9309,_0x37514d);}import{Plugin as _0x428aa9}from'ckeditor5/src/core.js';function _0x1ec6(){const _0x150d64=['destroy','get','6371952RDiIDh','getFullData','useAnonymousUser','div','users','track-changes-data-invalid-editor-creator','7uMxmjI','getDataWithAcceptedSuggestions','3836465YVGDDc','getRootsAttributes','constructor','getCommentThreads','getUser','createDocumentFragment','function','requires','join','4956684cMKrnT','TrackChangesData','create','isPremiumPlugin','addUser','11126097TAnhNK','isOfficialPlugin','reduce','result','push','TrackChangesDataGetter','plugins','30mcJniS','5151522kOgcir','document','getDataWithDiscardedSuggestions','init','23zArEXl','editor','pluginName','model','end','data','discardAllSuggestions','87790mePtNs','2411598qTLYeo','acceptAllSuggestions','CommentsRepository','execute','Users','_adapter','define','trackChangesData','set','config','getSuggestions','addCommentThread','editorCreator','Pagination','name','map','addSuggestionData','createElement','TrackChangesEditing','appendChild','rootsAttributes','trackChangesData.editorCreator','fromCharCode','getRootNames','remove'];_0x1ec6=function(){return _0x150d64;};return _0x1ec6();}import{CKEditorError as _0x44e22b}from'ckeditor5/src/utils.js';import{TrackChangesEditing as _0x4ebe73}from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x3bfc4e}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x1d7b5c(0x141)];export class TrackChangesData extends _0x428aa9{static get[_0x1d7b5c(0x119)](){return[_0x4ebe73];}static get[_0x1d7b5c(0x12e)](){const _0x1841cc=_0x1d7b5c;return _0x1841cc(0x11c);}static get[_0x1d7b5c(0x121)](){return!0x0;}static get[_0x1d7b5c(0x11e)](){return!0x0;}[_0x1d7b5c(0x12b)](){const _0x3cbad9=_0x1d7b5c,_0x5a257d=this[_0x3cbad9(0x12d)];if(_0x5a257d[_0x3cbad9(0x13d)][_0x3cbad9(0x13a)](_0x3cbad9(0x149),_0x207b95=>{const _0xc3ef56=_0x3cbad9,_0xccc034=_0x5a257d[_0xc3ef56(0x12f)][_0xc3ef56(0x129)][_0xc3ef56(0x14b)]()[_0xc3ef56(0x122)]((_0x29540c,_0x36051d)=>(_0x29540c[_0x36051d]='',_0x29540c),{});return _0x5a257d[_0xc3ef56(0x114)][_0xc3ef56(0x11d)](_0xccc034,_0x207b95);}),_0x3cbad9(0x118)!=typeof _0x5a257d[_0x3cbad9(0x13d)][_0x3cbad9(0x109)](_0x3cbad9(0x13b))[_0x3cbad9(0x140)])throw new _0x44e22b(_0x3cbad9(0x10f));}[_0x1d7b5c(0x111)](_0x2c5527){const _0x36937d=_0x1d7b5c;return P(this[_0x36937d(0x12d)],!0x0,_0x2c5527);}[_0x1d7b5c(0x12a)](_0x60225c){const _0x264899=_0x1d7b5c;return P(this[_0x264899(0x12d)],!0x1,_0x60225c);}}export class TrackChangesDataGetter extends _0x428aa9{[_0x1d7b5c(0x123)];static get[_0x1d7b5c(0x12e)](){const _0x9db8e8=_0x1d7b5c;return _0x9db8e8(0x125);}static get[_0x1d7b5c(0x121)](){return!0x0;}static get[_0x1d7b5c(0x11e)](){return!0x0;}constructor(_0x56a846){const _0x55f957=_0x1d7b5c;function _0x23e776(_0x4da47c){const _0x38f944=_0x3441;return _0x4da47c[_0x38f944(0x143)](_0x481039=>String[_0x38f944(0x14a)](_0x481039))[_0x38f944(0x11a)]('');}super(_0x56a846),this[_0x55f957(0x123)]=_0x55f957(0x130),_0x56a846[_0x23e776([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23e776([0x76,0x69,0x65,0x77])][_0x23e776([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23e776([0x61,0x75,0x74,0x6f]),_0x56a846[_0x23e776([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x23e776([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23e776([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x23e776([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x23e776([0x6f,0x6b])});}[_0x1d7b5c(0x12b)](){const _0x42f28f=_0x1d7b5c;this[_0x42f28f(0x12d)][_0x42f28f(0x126)][_0x42f28f(0x109)](_0x42f28f(0x136))[_0x42f28f(0x139)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x42f28f(0x12d)][_0x42f28f(0x126)][_0x42f28f(0x109)](_0x42f28f(0x146))[_0x42f28f(0x139)]=null;}}function k(_0x5a62c4){const _0x534a61=_0x1d7b5c;return void 0x0!==_0x5a62c4[_0x534a61(0x113)];}async function P(_0x3aedd4,_0x25eae9,_0x4fbfd5){const _0x18bd75=_0x1d7b5c,_0x2462fa=_0x3bfc4e(_0x3aedd4,p);_0x2462fa[_0x18bd75(0x126)][_0x18bd75(0x124)](_0x4ebe73,TrackChangesDataGetter),_0x2462fa[_0x18bd75(0x148)]=k(_0x3aedd4)?_0x3aedd4[_0x18bd75(0x113)]():void 0x0;const _0x59f6d4=document[_0x18bd75(0x117)](),_0x164ee7=_0x3aedd4[_0x18bd75(0x13d)][_0x18bd75(0x109)](_0x18bd75(0x13b))[_0x18bd75(0x140)],_0x5275bb=await _0x164ee7(_0x2462fa,()=>function(_0x1a8d43){const _0x112c05=_0x18bd75,_0x247d2e=document[_0x112c05(0x145)](_0x112c05(0x10d));return _0x1a8d43[_0x112c05(0x147)](_0x247d2e),_0x247d2e;}(_0x59f6d4));!function(_0xd9a468,_0x2f956f){const _0x12c7e8=_0x18bd75,_0x41d360=_0xd9a468[_0x12c7e8(0x12f)][_0x12c7e8(0x129)][_0x12c7e8(0x14b)]()[_0x12c7e8(0x122)]((_0x2f5a67,_0x1056c3)=>(_0x2f5a67[_0x1056c3]=_0xd9a468[_0x12c7e8(0x131)][_0x12c7e8(0x109)]({'rootName':_0x1056c3}),_0x2f5a67),{}),_0x5e703e=_0xd9a468[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x138))[_0x12c7e8(0x10e)][_0x12c7e8(0x143)](_0x1fcca5=>({'id':_0x1fcca5['id'],'name':_0x1fcca5[_0x12c7e8(0x142)]})),_0x4bfd44=_0xd9a468[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x146))[_0x12c7e8(0x13e)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x22c24a=_0xd9a468[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x136))[_0x12c7e8(0x115)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5c098a=_0x2f956f[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x138)),_0x3a60bb=_0x2f956f[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x146)),_0x120459=_0x2f956f[_0x12c7e8(0x126)][_0x12c7e8(0x109)](_0x12c7e8(0x136));for(const _0x4ed9b1 of _0x120459[_0x12c7e8(0x115)]())_0x4ed9b1[_0x12c7e8(0x14c)]();for(const _0x6c4938 of _0x5e703e)_0x5c098a[_0x12c7e8(0x116)](_0x6c4938['id'])||_0x5c098a[_0x12c7e8(0x11f)](_0x6c4938);_0x5c098a['me']||_0x5c098a[_0x12c7e8(0x10c)]();for(const _0x57afd6 of _0x22c24a)_0x120459[_0x12c7e8(0x13f)](_0x57afd6);for(const _0x14c2ad of _0x4bfd44)_0x3a60bb[_0x12c7e8(0x144)](_0x14c2ad);_0x2f956f[_0x12c7e8(0x131)][_0x12c7e8(0x13c)](_0x41d360);}(_0x3aedd4,_0x5275bb),_0x5275bb[_0x18bd75(0x137)](_0x25eae9?_0x18bd75(0x135):_0x18bd75(0x132));const _0x5b1b5e=k(_0x5275bb)?_0x5275bb[_0x18bd75(0x10b)](_0x4fbfd5):_0x5275bb[_0x18bd75(0x131)][_0x18bd75(0x109)](_0x4fbfd5);return await _0x5275bb[_0x18bd75(0x108)](),_0x5b1b5e;}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -10,9 +6,9 @@
|
|
|
10
6
|
* @module track-changes/trackchangesediting
|
|
11
7
|
* @publicApi
|
|
12
8
|
*/
|
|
13
|
-
import { Plugin, PendingActions, type Editor } from '
|
|
14
|
-
import { type ModelRange, type ModelElement } from '
|
|
15
|
-
import { Users, DocumentCompare
|
|
9
|
+
import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { type ModelRange, type ModelElement } from 'ckeditor5/src/engine.js';
|
|
11
|
+
import { Users, DocumentCompare } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
16
12
|
import { TrackChangesCommand } from './commands/trackchangescommand.js';
|
|
17
13
|
import { Suggestion, type SuggestionJSON } from './suggestion.js';
|
|
18
14
|
import { SuggestionDescriptionFactory } from './suggestiondescriptionfactory.js';
|
|
@@ -76,6 +72,7 @@ import { TrackChangesTableCaption } from './integrations/tablecaption.js';
|
|
|
76
72
|
import { TrackChangesTableProperties } from './integrations/tableproperties.js';
|
|
77
73
|
import { TrackChangesLineHeight } from './integrations/lineheight.js';
|
|
78
74
|
import type { SuggestionData, TrackChangesAdapter } from './trackchanges.js';
|
|
75
|
+
import { SuggestionsConversion } from '@ckeditor/ckeditor5-collaboration-core';
|
|
79
76
|
/**
|
|
80
77
|
* Provides editing part of the {@link module:track-changes/trackchanges~TrackChanges track changes plugin}.
|
|
81
78
|
*/
|