@ckeditor/ckeditor5-revision-history 44.1.0 → 44.2.0-alpha.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/revision-history.js +2 -2
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +6 -3
- package/dist/index.css +43 -18
- package/dist/index.js +7 -7
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +34 -9
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/changeitem.d.ts +1 -1
- package/src/changeitem.js +3 -3
- package/src/editor/revisionviewereditor.d.ts +1 -1
- package/src/editor/revisionviewereditor.js +3 -3
- package/src/editor/revisionviewereditorui.d.ts +1 -1
- package/src/editor/revisionviewereditorui.js +2 -2
- package/src/editor/revisionviewereditoruiview.d.ts +1 -1
- package/src/editor/revisionviewereditoruiview.js +2 -2
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/revision.d.ts +1 -1
- package/src/revision.js +3 -3
- package/src/revisiondiff.d.ts +1 -1
- package/src/revisiondiff.js +2 -2
- package/src/revisionhistory.d.ts +18 -1
- package/src/revisionhistory.js +2 -2
- package/src/revisionhistoryadapter.d.ts +1 -1
- package/src/revisionhistoryadapter.js +1 -1
- package/src/revisionhistoryconfig.d.ts +1 -1
- package/src/revisionhistoryconfig.js +1 -1
- package/src/revisionsrepository.d.ts +1 -1
- package/src/revisionsrepository.js +2 -2
- package/src/revisiontracker.d.ts +1 -1
- package/src/revisiontracker.js +2 -2
- package/src/revisionviewer.d.ts +1 -1
- package/src/revisionviewer.js +2 -2
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
- package/src/ui/revision/revisionauthorview.d.ts +1 -1
- package/src/ui/revision/revisionauthorview.js +2 -2
- package/src/ui/revision/revisionnameview.d.ts +1 -1
- package/src/ui/revision/revisionnameview.js +2 -2
- package/src/ui/revision/revisionview.d.ts +1 -1
- package/src/ui/revision/revisionview.js +3 -3
- package/src/ui/revision/subrevisioncollapserview.d.ts +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +2 -2
- package/src/ui/revision/subrevisionview.d.ts +1 -1
- package/src/ui/revision/subrevisionview.js +2 -2
- package/src/ui/revision/utils.d.ts +1 -1
- package/src/ui/revision/utils.js +2 -2
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
- package/src/ui/revisionssidebar/utils.d.ts +1 -1
- package/src/ui/revisionssidebar/utils.js +2 -2
- package/src/ui/revisionviewer/changedetailsview.d.ts +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +2 -2
- package/src/ui/revisionviewer/changesnavigationview.d.ts +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +2 -2
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
- package/src/ui/revisionviewer/revisionviewerui.d.ts +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/theme/changesnavigation.css +1 -1
- package/theme/revision/revision.css +1 -1
- package/theme/revision/revisionactions.css +1 -1
- package/theme/revision/revisionauthor.css +1 -1
- package/theme/revision/revisionname.css +1 -1
- package/theme/revision/subrevision.css +1 -1
- package/theme/revision/subrevisioncollapser.css +1 -1
- package/theme/revisionhistorysaverevisionform.css +1 -1
- package/theme/revisionssidebar/revisionssidebar.css +1 -1
- package/theme/revisionssidebar/revisionssidebarheader.css +25 -2
- package/theme/revisionssidebar/revisionssidebartimeperiod.css +1 -1
- package/theme/revisionviewer.css +1 -1
- package/theme/revisionviewerloadingoverlay.css +3 -1
- package/dist/augmentation.d.ts +0 -33
- package/dist/changeitem.d.ts +0 -62
- package/dist/editor/revisionviewereditor.d.ts +0 -31
- package/dist/editor/revisionviewereditorui.d.ts +0 -32
- package/dist/editor/revisionviewereditoruiview.d.ts +0 -47
- package/dist/index.d.ts +0 -20
- package/dist/revision.d.ts +0 -157
- package/dist/revisiondiff.d.ts +0 -28
- package/dist/revisionhistory.d.ts +0 -111
- package/dist/revisionhistoryadapter.d.ts +0 -68
- package/dist/revisionhistoryconfig.d.ts +0 -75
- package/dist/revisionsrepository.d.ts +0 -64
- package/dist/revisiontracker.d.ts +0 -141
- package/dist/revisionviewer.d.ts +0 -119
- package/dist/ui/revision/createrevisionactionsdropdown.d.ts +0 -17
- package/dist/ui/revision/revisionauthorview.d.ts +0 -18
- package/dist/ui/revision/revisionnameview.d.ts +0 -34
- package/dist/ui/revision/revisionview.d.ts +0 -99
- package/dist/ui/revision/subrevisioncollapserview.d.ts +0 -25
- package/dist/ui/revision/subrevisionview.d.ts +0 -38
- package/dist/ui/revision/utils.d.ts +0 -9
- package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +0 -61
- package/dist/ui/revisionhistory/revisionhistoryui.d.ts +0 -38
- package/dist/ui/revisionssidebar/revisionssidebar.d.ts +0 -56
- package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +0 -20
- package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +0 -33
- package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +0 -48
- package/dist/ui/revisionssidebar/utils.d.ts +0 -13
- package/dist/ui/revisionviewer/changedetailsview.d.ts +0 -26
- package/dist/ui/revisionviewer/changesnavigationview.d.ts +0 -44
- package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +0 -38
- package/dist/ui/revisionviewer/revisionviewerui.d.ts +0 -40
- package/dist/utils/common-translations.d.ts +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ccd9f,_0x46e36b){const _0x14f86c=_0x2e16,_0x4983e1=_0x5ccd9f();while(!![]){try{const _0x15bfda=parseInt(_0x14f86c(0xef))/0x1*(parseInt(_0x14f86c(0xf7))/0x2)+parseInt(_0x14f86c(0x102))/0x3+parseInt(_0x14f86c(0xe2))/0x4+parseInt(_0x14f86c(0xee))/0x5+-parseInt(_0x14f86c(0xf5))/0x6+parseInt(_0x14f86c(0xe0))/0x7*(-parseInt(_0x14f86c(0xe7))/0x8)+-parseInt(_0x14f86c(0x108))/0x9*(parseInt(_0x14f86c(0x104))/0xa);if(_0x15bfda===_0x46e36b)break;else _0x4983e1['push'](_0x4983e1['shift']());}catch(_0x530291){_0x4983e1['push'](_0x4983e1['shift']());}}}(_0x4cbe,0x89ab6));import{View as _0x4039e7,ButtonView as _0x30a039,ToolbarSeparatorView as _0x2724a9}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a3594}from'../../utils/common-translations.js';function _0x4cbe(){const _0x1ba375=['EDIT_X_OF_Y_REVISIONS','_statusText','6320096RiCVrc','ck-revision-history-ui','isNavigationMode','currentChangeNumber','bind','set','fire','1889275MYfDuj','165721HIeYst','NUMBER_OF_CHANGES','setTemplate','span','ck-revision-history-ui__changes-navigation__wrapper','forward','1238922wnjDXu','numberOfChanges','4RJPnvU','isReady','ck-hidden','bindTemplate','X_OF_Y_CHANGES','isEnabled','Show\x20next\x20change','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','No\x20changes','div','3054666PrzCKO','Total','140kSJAvZ','ck-revision-history-ui__changes-navigation__navigation','backward','execute','225864CYMlbR','Show\x20previous\x20change','isForwardNavigationEnabled','7CMvzoe','ck-revision-history-ui__changes-navigation','736872lVIEzO','_isStatusLabelVisible','Loading...'];_0x4cbe=function(){return _0x1ba375;};return _0x4cbe();}import _0x56cb9d from'../../../theme/icons/arrow-up.svg';import _0x9f1c9e from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x2e16(_0x7616dd,_0x386d53){const _0x4cbea8=_0x4cbe();return _0x2e16=function(_0x2e1603,_0x2f3866){_0x2e1603=_0x2e1603-0xe0;let _0x394ead=_0x4cbea8[_0x2e1603];return _0x394ead;},_0x2e16(_0x7616dd,_0x386d53);}export default class oi extends _0x4039e7{constructor(_0x6eb538){const _0x4317f9=_0x2e16;super(_0x6eb538);const _0x1204bb=this[_0x4317f9(0xfa)],_0x12b6e0=new _0x30a039(_0x6eb538),_0x59a761=new _0x30a039(_0x6eb538);this[_0x4317f9(0xec)](_0x4317f9(0xe9),!0x1),this[_0x4317f9(0xec)](_0x4317f9(0xf8),!0x1),this[_0x4317f9(0xec)](_0x4317f9(0xea),0x0),this[_0x4317f9(0xec)](_0x4317f9(0xf6),0x0),this[_0x4317f9(0xec)](_0x4317f9(0x10a),!0x1),this[_0x4317f9(0xec)](_0x4317f9(0xfe),!0x1),this[_0x4317f9(0xeb)](_0x4317f9(0xe3))['to'](this,_0x4317f9(0xf8),this,_0x4317f9(0xf6),(_0x3b4a02,_0x5bfe69)=>_0x3b4a02&&_0x5bfe69>0x0),this[_0x4317f9(0xeb)](_0x4317f9(0xe6))['to'](this,_0x4317f9(0xf8),this,_0x4317f9(0xea),this,_0x4317f9(0xf6),this,_0x4317f9(0xe9),(_0x15123a,_0x22e6ea,_0x2c401d,_0x16c93c)=>{const _0x22f842=_0x4317f9;if(!_0x15123a)return _0x5a3594(_0x6eb538,_0x22f842(0xe4));if(!_0x2c401d)return _0x5a3594(_0x6eb538,_0x22f842(0x100));const _0x125996=_0x5a3594(_0x6eb538,_0x22f842(0xf0),_0x2c401d);return _0x16c93c?_0x5a3594(_0x6eb538,_0x22f842(0xfb),[_0x22e6ea+0x1,_0x2c401d]):_0x125996;}),_0x12b6e0[_0x4317f9(0xec)]({'label':_0x5a3594(_0x6eb538,_0x4317f9(0x109)),'tooltip':!0x0,'icon':_0x56cb9d}),_0x59a761[_0x4317f9(0xec)]({'label':_0x5a3594(_0x6eb538,_0x4317f9(0xfd)),'tooltip':!0x0,'icon':_0x9f1c9e}),_0x12b6e0[_0x4317f9(0xeb)](_0x4317f9(0xfc))['to'](this,_0x4317f9(0xfe)),_0x59a761[_0x4317f9(0xeb)](_0x4317f9(0xfc))['to'](this,_0x4317f9(0x10a)),_0x12b6e0['on'](_0x4317f9(0x107),()=>this[_0x4317f9(0xed)](_0x4317f9(0x107),_0x4317f9(0x106))),_0x59a761['on'](_0x4317f9(0x107),()=>this[_0x4317f9(0xed)](_0x4317f9(0x107),_0x4317f9(0xf4))),this[_0x4317f9(0xf1)]({'tag':_0x4317f9(0x101),'attributes':{'class':['ck',_0x4317f9(0xe8),_0x4317f9(0xe1)]},'children':[{'tag':_0x4317f9(0xf2),'attributes':{'class':[_0x4317f9(0xf3)]},'children':[{'tag':_0x4317f9(0xf2),'attributes':{'class':[_0x4317f9(0xff),_0x1204bb['if'](_0x4317f9(0xe3),_0x4317f9(0xf9),_0x19cdbe=>!_0x19cdbe)]},'children':[{'text':_0x1204bb['to'](_0x4317f9(0xe9),_0x115af5=>_0x115af5?_0x5a3594(_0x6eb538,_0x4317f9(0xe5))+':\x20':_0x5a3594(_0x6eb538,_0x4317f9(0x103))+':\x20')}]},{'text':_0x1204bb['to'](_0x4317f9(0xe6))}]},new _0x2724a9(),{'tag':_0x4317f9(0x101),'attributes':{'class':[_0x4317f9(0x105)]},'children':[_0x12b6e0,_0x59a761]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a7ea1=_0x4ff0;(function(_0x17fd66,_0x30eae4){const _0xc8d24c=_0x4ff0,_0x39336e=_0x17fd66();while(!![]){try{const _0xc7a18b=parseInt(_0xc8d24c(0x16b))/0x1+parseInt(_0xc8d24c(0x177))/0x2*(parseInt(_0xc8d24c(0x171))/0x3)+parseInt(_0xc8d24c(0x174))/0x4+-parseInt(_0xc8d24c(0x166))/0x5+parseInt(_0xc8d24c(0x17a))/0x6+parseInt(_0xc8d24c(0x16d))/0x7*(-parseInt(_0xc8d24c(0x16a))/0x8)+parseInt(_0xc8d24c(0x175))/0x9;if(_0xc7a18b===_0x30eae4)break;else _0x39336e['push'](_0x39336e['shift']());}catch(_0x339457){_0x39336e['push'](_0x39336e['shift']());}}}(_0x50f2,0x68be4));import{Plugin as _0x172909}from'ckeditor5/src/core.js';const le=_0x4a7ea1(0x16e);import'../../../theme/revisionviewerloadingoverlay.css';function _0x4ff0(_0x175646,_0x5594d4){const _0x50f215=_0x50f2();return _0x4ff0=function(_0x4ff04d,_0x3366f5){_0x4ff04d=_0x4ff04d-0x164;let _0x3b3daa=_0x50f215[_0x4ff04d];return _0x3b3daa;},_0x4ff0(_0x175646,_0x5594d4);}function _0x50f2(){const _0x359175=['1682991PUALHE','change','10jJdvqi','view','roots','2435004VJTJMF','isPremiumPlugin','editor','show','3408065XHLKgw','removeClass','hide','pluginName','216DJCRti','96851wUrsLm','addClass','27097YgPoLV','ck-editor__editable__loading-overlay','RevisionViewerLoadingOverlay','isOfficialPlugin','205647ZJwRRz','editing','document','730916fGatIb'];_0x50f2=function(){return _0x359175;};return _0x50f2();}export default class ge extends _0x172909{static get[_0x4a7ea1(0x169)](){const _0x466840=_0x4a7ea1;return _0x466840(0x16f);}static get[_0x4a7ea1(0x170)](){return!0x0;}static get[_0x4a7ea1(0x17b)](){return!0x0;}[_0x4a7ea1(0x165)](){const _0x4a3629=_0x4a7ea1,_0x548954=this[_0x4a3629(0x164)][_0x4a3629(0x172)][_0x4a3629(0x178)];_0x548954[_0x4a3629(0x176)](_0x152c2b=>{const _0x2d4367=_0x4a3629;for(const _0x34679a of _0x548954[_0x2d4367(0x173)][_0x2d4367(0x179)])_0x152c2b[_0x2d4367(0x16c)](le,_0x34679a);});}[_0x4a7ea1(0x168)](){const _0x209761=_0x4a7ea1,_0x461ca3=this[_0x209761(0x164)][_0x209761(0x172)][_0x209761(0x178)];_0x461ca3[_0x209761(0x176)](_0x5e1ba4=>{const _0x24dc42=_0x209761;for(const _0x5cdb80 of _0x461ca3[_0x24dc42(0x173)][_0x24dc42(0x179)])_0x5e1ba4[_0x24dc42(0x167)](le,_0x5cdb80);});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41c5e4=_0x2b0c;(function(_0x3d3068,_0x476a40){const _0x1227fb=_0x2b0c,_0x13ca25=_0x3d3068();while(!![]){try{const _0x6f0396=-parseInt(_0x1227fb(0xc3))/0x1*(parseInt(_0x1227fb(0xcc))/0x2)+-parseInt(_0x1227fb(0xd0))/0x3*(parseInt(_0x1227fb(0xc9))/0x4)+parseInt(_0x1227fb(0xc5))/0x5*(-parseInt(_0x1227fb(0xf2))/0x6)+-parseInt(_0x1227fb(0xf3))/0x7+-parseInt(_0x1227fb(0xe1))/0x8*(-parseInt(_0x1227fb(0xe2))/0x9)+-parseInt(_0x1227fb(0xdc))/0xa+parseInt(_0x1227fb(0xe9))/0xb*(parseInt(_0x1227fb(0xd7))/0xc);if(_0x6f0396===_0x476a40)break;else _0x13ca25['push'](_0x13ca25['shift']());}catch(_0x9f7520){_0x13ca25['push'](_0x13ca25['shift']());}}}(_0x49a9,0xd9524));import{icons as _0x15f874,Plugin as _0x2e143d}from'ckeditor5/src/core.js';function _0x2b0c(_0x32eb48,_0x1f3b95){const _0x49a986=_0x49a9();return _0x2b0c=function(_0x2b0c8a,_0x25a0c0){_0x2b0c8a=_0x2b0c8a-0xc2;let _0x3068a5=_0x49a986[_0x2b0c8a];return _0x3068a5;},_0x2b0c(_0x32eb48,_0x1f3b95);}import{ButtonView as _0x3bcc38}from'ckeditor5/src/ui.js';function _0x49a9(){const _0xc70b9e=['set','closeRevisionViewerCallback','showNextChange','showPreviousChange','16104FPKnJw','1890jsjLHn','ck-revision-history-ui__back-to-editing','commands','hide','RevisionViewerUI','restoreRevision','Restore\x20this\x20revision','22THtkMU','pluginName','plugins','isPremiumPlugin','isBackwardNavigationEnabled','exitToEditing','add','componentFactory','change:isReady','1618872kQqfiM','12210681gEYOuQ','config','isOfficialPlugin','3EYgyyZ','editor','15ZXfotJ','init','currentChangeNumber','changesNavigation','4EEnrQL','isForwardNavigationEnabled','listenTo','283170nYfRvh','requires','bind','numberOfChanges','466347GwQsop','Back\x20to\x20editing','get','isEnabled','undo','isNavigationMode','isReady','25771740gpeVCF','forward','execute','show','revisionHistory','6938490IyxYOO'];_0x49a9=function(){return _0xc70b9e;};return _0x49a9();}import _0x326d33 from'./changesnavigationview.js';import _0x55e3f4 from'./../../revisionviewer.js';import _0x56114d from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x5c3641}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class g extends _0x2e143d{static get[_0x41c5e4(0xea)](){const _0x1fd058=_0x41c5e4;return _0x1fd058(0xe6);}static get[_0x41c5e4(0xc2)](){return!0x0;}static get[_0x41c5e4(0xec)](){return!0x0;}static get[_0x41c5e4(0xcd)](){return[_0x55e3f4,_0x56114d];}[_0x41c5e4(0xc6)](){const _0x462e5c=_0x41c5e4,_0x1a8322=this[_0x462e5c(0xc4)],_0x39b629=_0x1a8322[_0x462e5c(0xeb)][_0x462e5c(0xd2)](_0x55e3f4),_0x3734f9=_0x1a8322[_0x462e5c(0xeb)][_0x462e5c(0xd2)](_0x56114d);_0x1a8322['ui'][_0x462e5c(0xf0)][_0x462e5c(0xef)](_0x462e5c(0xee),_0x49901e=>{const _0x2b2129=_0x462e5c,_0x114c8d=new _0x3bcc38(_0x49901e);return _0x114c8d[_0x2b2129(0xdd)]({'label':_0x5c3641(_0x49901e,_0x2b2129(0xd1)),'icon':_0x15f874[_0x2b2129(0xd4)],'withText':!0x0,'tooltip':!0x0,'class':_0x2b2129(0xe3)}),this[_0x2b2129(0xcb)](_0x114c8d,_0x2b2129(0xd9),()=>{const _0x280f2f=_0x2b2129;_0x1a8322[_0x280f2f(0xf4)][_0x280f2f(0xd2)](_0x280f2f(0xdb))[_0x280f2f(0xde)]();}),_0x114c8d;}),_0x1a8322['ui'][_0x462e5c(0xf0)][_0x462e5c(0xef)](_0x462e5c(0xe7),_0x49ca53=>{const _0x240b16=_0x462e5c,_0x4775ab=new _0x3bcc38(_0x49ca53);return _0x4775ab[_0x240b16(0xdd)]({'label':_0x5c3641(_0x49ca53,_0x240b16(0xe8)),'withText':!0x0,'tooltip':!0x0}),_0x4775ab[_0x240b16(0xce)](_0x240b16(0xd3))['to'](_0x1a8322[_0x240b16(0xe4)][_0x240b16(0xd2)](_0x240b16(0xe7))),this[_0x240b16(0xcb)](_0x4775ab,_0x240b16(0xd9),()=>_0x1a8322[_0x240b16(0xd9)](_0x240b16(0xe7))),_0x4775ab;}),_0x1a8322['ui'][_0x462e5c(0xf0)][_0x462e5c(0xef)](_0x462e5c(0xc8),_0x3216d5=>{const _0x5bed9e=_0x462e5c,_0x1e63dd=new _0x326d33(_0x3216d5),_0x3811f6=_0x1a8322[_0x5bed9e(0xe4)][_0x5bed9e(0xd2)](_0x5bed9e(0xe0)),_0x4fa1fb=_0x1a8322[_0x5bed9e(0xe4)][_0x5bed9e(0xd2)](_0x5bed9e(0xdf));return _0x1e63dd[_0x5bed9e(0xce)](_0x5bed9e(0xed))['to'](_0x3811f6,_0x5bed9e(0xd3)),_0x1e63dd[_0x5bed9e(0xce)](_0x5bed9e(0xca))['to'](_0x4fa1fb,_0x5bed9e(0xd3)),_0x1e63dd[_0x5bed9e(0xce)](_0x5bed9e(0xd6),_0x5bed9e(0xc7),_0x5bed9e(0xcf),_0x5bed9e(0xd5))['to'](_0x39b629),this[_0x5bed9e(0xcb)](_0x1e63dd,_0x5bed9e(0xd9),(_0x3b5afc,_0x3e1eed)=>{const _0x47a2a7=_0x5bed9e;_0x1a8322[_0x47a2a7(0xd9)](_0x47a2a7(0xd8)===_0x3e1eed?_0x47a2a7(0xdf):_0x47a2a7(0xe0));}),_0x1e63dd;}),_0x3734f9[_0x462e5c(0xda)](),_0x39b629['on'](_0x462e5c(0xf1),(_0x1ead57,_0x2eaaed,_0x3e6ce9)=>{const _0xcdee9f=_0x462e5c;_0x3e6ce9?_0x3734f9[_0xcdee9f(0xe5)]():_0x3734f9[_0xcdee9f(0xda)]();});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2025, 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
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x19896a,_0x316331,_0x46ae09){const t=_0x19896a['t'];switch(_0x316331){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x46ae09);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x46ae09);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,12 +3,35 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
.ck.ck-revision-history-sidebar__header {
|
|
11
|
-
|
|
11
|
+
/*
|
|
12
|
+
The height of the sidebar header is calculated to match the height of the editor toolbar.
|
|
13
|
+
The total editor toolbar height is set to `auto`, so we need to calculate its size based on the elements inside.
|
|
14
|
+
|
|
15
|
+
The editor toolbar height is affected by 2 main variables and takes the height of whichever is bigger:
|
|
16
|
+
- Toolbar button height, which is a combination of `--ck-ui-component-min-height`, `--ck-icon-size` and `--ck-spacing-small`.
|
|
17
|
+
- Toolbar separator height, which is a combination of `--ck-icon-size` and `--ck-spacing-small`.
|
|
18
|
+
|
|
19
|
+
The toolbar button height is calculated as below:
|
|
20
|
+
- `var(--ck-ui-component-min-height)` <- The minimum height of the toolbar button.
|
|
21
|
+
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
22
|
+
- `1px` <- Top border.
|
|
23
|
+
|
|
24
|
+
The toolbar separator height is calculated as below:
|
|
25
|
+
- `var(--ck-icon-size) + 2 * var(--ck-spacing-small)` <- The line separator height.
|
|
26
|
+
- `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
|
|
27
|
+
- `1px` <- Top border.
|
|
28
|
+
|
|
29
|
+
See https://github.com/cksource/ckeditor5-commercial/issues/6929.
|
|
30
|
+
*/
|
|
31
|
+
--header-height: max(
|
|
32
|
+
calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
|
|
33
|
+
calc(var(--ck-icon-size) + 2 * var(--ck-spacing-small) + 2 * var(--ck-spacing-small) + 1px)
|
|
34
|
+
);
|
|
12
35
|
|
|
13
36
|
height: var(--header-height);
|
|
14
37
|
min-height: var(--header-height);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/revisionviewer.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
|
|
59
59
|
&::before, &::after {
|
|
60
60
|
visibility: visible;
|
|
61
|
+
/* Some widgets (e.g. Image) has z-index set to 1. Overlay needs a higher value to cover them correctly. */
|
|
62
|
+
z-index: 2;
|
|
61
63
|
opacity: .8;
|
|
62
64
|
transition-delay: var(--ck-revision-history-loading-overlay-transition-delay);
|
|
63
65
|
}
|
package/dist/augmentation.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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 { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface EditorConfig {
|
|
12
|
-
/**
|
|
13
|
-
* The configuration of the revision history feature.
|
|
14
|
-
* Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
|
|
15
|
-
*/
|
|
16
|
-
revisionHistory?: RevisionHistoryConfig;
|
|
17
|
-
}
|
|
18
|
-
interface PluginsMap {
|
|
19
|
-
[RevisionHistory.pluginName]: RevisionHistory;
|
|
20
|
-
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
21
|
-
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
22
|
-
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
23
|
-
[RevisionTracker.pluginName]: RevisionTracker;
|
|
24
|
-
[RevisionViewer.pluginName]: RevisionViewer;
|
|
25
|
-
[RevisionsSidebar.pluginName]: RevisionsSidebar;
|
|
26
|
-
[RevisionViewerUI.pluginName]: RevisionViewerUI;
|
|
27
|
-
}
|
|
28
|
-
interface CommandsMap {
|
|
29
|
-
restoreRevision: RestoreRevisionCommand;
|
|
30
|
-
showPreviousChange: ShowChangeCommand<'backward'>;
|
|
31
|
-
showNextChange: ShowChangeCommand<'forward'>;
|
|
32
|
-
}
|
|
33
|
-
}
|
package/dist/changeitem.d.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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 { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
10
|
-
declare const ChangeItem_base: {
|
|
11
|
-
new (): import("ckeditor5/src/utils.js").Observable;
|
|
12
|
-
prototype: import("ckeditor5/src/utils.js").Observable;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Represents a singular change entry in the revision or in the revisions comparison.
|
|
16
|
-
*/
|
|
17
|
-
export default class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
|
|
18
|
-
/**
|
|
19
|
-
* Unique change item id.
|
|
20
|
-
*/
|
|
21
|
-
readonly id: string;
|
|
22
|
-
/**
|
|
23
|
-
* User who created the change.
|
|
24
|
-
*/
|
|
25
|
-
readonly author: User;
|
|
26
|
-
/**
|
|
27
|
-
* Change type.
|
|
28
|
-
*/
|
|
29
|
-
readonly type: string;
|
|
30
|
-
/**
|
|
31
|
-
* Additional details about the change.
|
|
32
|
-
*/
|
|
33
|
-
readonly data: Record<string, unknown>;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the root which contains the change.
|
|
36
|
-
*/
|
|
37
|
-
readonly rootName: string;
|
|
38
|
-
/**
|
|
39
|
-
* The date when the change was created.
|
|
40
|
-
*
|
|
41
|
-
* @observable
|
|
42
|
-
*/
|
|
43
|
-
readonly createdAt: Date;
|
|
44
|
-
constructor(data: ChangeItemInput);
|
|
45
|
-
toJSON(): ChangeItemJSON;
|
|
46
|
-
}
|
|
47
|
-
export interface ChangeItemInput {
|
|
48
|
-
id?: string;
|
|
49
|
-
author: User;
|
|
50
|
-
type: string;
|
|
51
|
-
data: Record<string, unknown>;
|
|
52
|
-
createdAt: Date;
|
|
53
|
-
rootName: string;
|
|
54
|
-
}
|
|
55
|
-
export interface ChangeItemJSON {
|
|
56
|
-
id: string;
|
|
57
|
-
authorId: string;
|
|
58
|
-
type: string;
|
|
59
|
-
data: Record<string, unknown>;
|
|
60
|
-
createdAt: Date;
|
|
61
|
-
}
|
|
62
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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
|
-
/**
|
|
10
|
-
* @module revision-history/editor/revisionviewereditor
|
|
11
|
-
*/
|
|
12
|
-
import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
|
|
13
|
-
import RevisionViewerEditorUI from './revisionviewereditorui.js';
|
|
14
|
-
declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
|
|
15
|
-
/**
|
|
16
|
-
* Editor class used to show revision comparisons.
|
|
17
|
-
*/
|
|
18
|
-
export default class RevisionViewerEditor extends /* #__PURE__ -- @preserve */ RevisionViewerEditor_base {
|
|
19
|
-
get ui(): RevisionViewerEditorUI;
|
|
20
|
-
/**
|
|
21
|
-
* @param sourceElement Editor source element.
|
|
22
|
-
* @param config Editor configuration.
|
|
23
|
-
*/
|
|
24
|
-
constructor(sourceElement: HTMLElement, config?: EditorConfig);
|
|
25
|
-
/**
|
|
26
|
-
* @inheritDoc
|
|
27
|
-
*/
|
|
28
|
-
destroy(): Promise<unknown>;
|
|
29
|
-
static create(sourceElement: HTMLElement, config?: EditorConfig): Promise<RevisionViewerEditor>;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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
|
-
/**
|
|
10
|
-
* @module revision-history/editor/revisionviewereditorui
|
|
11
|
-
*/
|
|
12
|
-
import type { Editor } from 'ckeditor5/src/core.js';
|
|
13
|
-
import { EditorUI } from 'ckeditor5/src/ui.js';
|
|
14
|
-
import type RevisionViewerEditorUIView from './revisionviewereditoruiview.js';
|
|
15
|
-
export default class RevisionViewerEditorUI extends EditorUI {
|
|
16
|
-
get view(): RevisionViewerEditorUIView;
|
|
17
|
-
constructor(editor: Editor, view: RevisionViewerEditorUIView);
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
get element(): HTMLElement | null;
|
|
22
|
-
/**
|
|
23
|
-
* Initializes the UI.
|
|
24
|
-
*
|
|
25
|
-
* @param replacementElement The DOM element that will be the source for the created editor.
|
|
26
|
-
*/
|
|
27
|
-
init(replacementElement: HTMLElement): void;
|
|
28
|
-
/**
|
|
29
|
-
* @inheritDoc
|
|
30
|
-
*/
|
|
31
|
-
destroy(): void;
|
|
32
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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
|
-
/**
|
|
10
|
-
* @module revision-history/editor/revisionviewereditoruiview
|
|
11
|
-
*/
|
|
12
|
-
import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from 'ckeditor5/src/ui.js';
|
|
13
|
-
import type { EditingView } from 'ckeditor5/src/engine.js';
|
|
14
|
-
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
15
|
-
import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
|
|
16
|
-
export default class RevisionViewerEditorUIView extends BoxedEditorUIView {
|
|
17
|
-
/**
|
|
18
|
-
* Sticky panel view instance. This is a parent view of a {@link #toolbar}
|
|
19
|
-
* that makes toolbar sticky.
|
|
20
|
-
*/
|
|
21
|
-
readonly stickyPanel: StickyPanelView;
|
|
22
|
-
/**
|
|
23
|
-
* Toolbar view instance.
|
|
24
|
-
*/
|
|
25
|
-
readonly toolbar: ToolbarView;
|
|
26
|
-
get editable(): InlineEditableUIView;
|
|
27
|
-
/**
|
|
28
|
-
* Creates an instance of the classic editor UI view.
|
|
29
|
-
*
|
|
30
|
-
* @param locale The {@link module:core/editor/editor~Editor#locale} instance.
|
|
31
|
-
* @param editingView The editing view instance this view is related to.
|
|
32
|
-
* @param options Configuration options for the view instance.
|
|
33
|
-
*/
|
|
34
|
-
constructor(locale: Locale, editingView: EditingView, options?: RevisionViewerEditorUIViewOptions);
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
render(): void;
|
|
39
|
-
}
|
|
40
|
-
export interface RevisionViewerEditorUIViewOptions {
|
|
41
|
-
/**
|
|
42
|
-
* When set `true` enables automatic items grouping
|
|
43
|
-
* in the main {@link module:editor-classic/classiceditoruiview~ClassicEditorUIView#toolbar toolbar}.
|
|
44
|
-
* See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
|
|
45
|
-
*/
|
|
46
|
-
shouldToolbarGroupWhenFull?: boolean;
|
|
47
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, 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
|
-
export { default as Revision } from './revision.js';
|
|
10
|
-
export { default as RevisionHistory } from './revisionhistory.js';
|
|
11
|
-
export { default as RevisionsRepository } from './revisionsrepository.js';
|
|
12
|
-
export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
|
|
13
|
-
export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
|
|
14
|
-
export { default as RevisionTracker } from './revisiontracker.js';
|
|
15
|
-
export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
|
|
16
|
-
export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
|
|
17
|
-
export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
|
|
18
|
-
export type { RevisionData } from './revision.js';
|
|
19
|
-
export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
|
|
20
|
-
import './augmentation.js';
|