@ckeditor/ckeditor5-collaboration-core 45.2.1 → 46.0.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/dist/index.js +1 -1
- 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/package.json +11 -11
- package/src/augmentation.d.ts +2 -2
- package/src/collaborationhistory.d.ts +2 -2
- package/src/collaborationoperation.d.ts +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +16 -16
- package/src/index.js +1 -1
- package/src/legacyerrors.js +1 -1
- package/src/permissions.d.ts +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.d.ts +1 -1
- package/src/suggestions/view/ariadescriptionview.js +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +1 -1
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.d.ts +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.d.ts +9 -10
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.d.ts +1 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.d.ts +1 -1
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.d.ts +1 -1
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.d.ts +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.d.ts +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/sanitizeEditorConfig.d.ts +1 -1
- package/src/utils/sanitizeEditorConfig.js +1 -1
- package/src/utils/setupthreadkeyboardnavigation.d.ts +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +1 -1
- package/src/utils/surroundingmarkersdetector.d.ts +1 -1
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.d.ts +1 -1
- package/src/utils/trim-html.js +1 -1
package/src/augmentation.d.ts
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import type { LocaleConfig, Users, Permissions } from './index.js';
|
6
|
-
import type { RealTimeCollaborationConfig,
|
6
|
+
import type { RealTimeCollaborationConfig, CollaborationUsersConfig } from './config.js';
|
7
7
|
declare module '@ckeditor/ckeditor5-core' {
|
8
8
|
interface EditorConfig {
|
9
9
|
/**
|
@@ -13,7 +13,7 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
13
13
|
/**
|
14
14
|
* The users plugin configuration.
|
15
15
|
*/
|
16
|
-
users?:
|
16
|
+
users?: CollaborationUsersConfig;
|
17
17
|
/**
|
18
18
|
* The configuration of the real time collaboration feature.
|
19
19
|
*
|
@@ -6,12 +6,12 @@
|
|
6
6
|
* @module collaboration-core/collaborationhistory
|
7
7
|
* @publicApi
|
8
8
|
*/
|
9
|
-
import type {
|
9
|
+
import type { CollaborationOperation } from './collaborationoperation.js';
|
10
10
|
/**
|
11
11
|
* Interface compatible with {@link module:engine/model/history~History} with the difference that it uses
|
12
12
|
* {@link module:collaboration-core/collaborationoperation~CollaborationOperation} instead of regular model operations.
|
13
13
|
*/
|
14
|
-
export
|
14
|
+
export interface CollaborationHistory {
|
15
15
|
_operations: Array<CollaborationOperation>;
|
16
16
|
version: number;
|
17
17
|
getOperations(fromBaseVersion?: number, toBaseVersion?: number): Array<CollaborationOperation>;
|
@@ -10,7 +10,7 @@ import type { Operation, InsertOperation, MergeOperation, MoveOperation, SplitOp
|
|
10
10
|
/**
|
11
11
|
* Extends the {@link module:engine/model/operation/operation operation}.
|
12
12
|
*/
|
13
|
-
export
|
13
|
+
export interface CollaborationOperation extends Operation {
|
14
14
|
_isInit?: boolean;
|
15
15
|
_authorId?: null | string;
|
16
16
|
_isDisconnection?: boolean;
|
package/src/config.d.ts
CHANGED
@@ -66,7 +66,7 @@ export interface LocaleConfig {
|
|
66
66
|
*
|
67
67
|
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
68
68
|
*/
|
69
|
-
export interface
|
69
|
+
export interface CollaborationUsersConfig {
|
70
70
|
/**
|
71
71
|
* User ID value that will be used for the anonymous user.
|
72
72
|
*/
|
package/src/index.d.ts
CHANGED
@@ -2,21 +2,21 @@
|
|
2
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
|
-
export {
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export {
|
5
|
+
export { Permissions } from './permissions.js';
|
6
|
+
export { Users, type User, type CollaborationUserColor, type CollaborationUserData } from './users.js';
|
7
|
+
export { UserView } from './users/view/userview.js';
|
8
|
+
export { AriaDescriptionView } from './suggestions/view/ariadescriptionview.js';
|
9
9
|
export { LateFocusButtonView, LateFocusDropdownButtonView } from './suggestions/view/latefocusbuttonview.js';
|
10
|
-
export {
|
11
|
-
export {
|
12
|
-
export {
|
13
|
-
export {
|
14
|
-
export {
|
15
|
-
export {
|
16
|
-
export {
|
17
|
-
export {
|
18
|
-
export type {
|
19
|
-
export type {
|
20
|
-
export type { LocaleConfig, RealTimeCollaborationConfig } from './config.js';
|
21
|
-
|
10
|
+
export { getDateTimeFormatter } from './utils/getdatetimeformatter.js';
|
11
|
+
export { getMarkerDomElement, getAllMarkersDomElementsSorted } from './utils/getmarkerdomelement.js';
|
12
|
+
export { trimHtml } from './utils/trim-html.js';
|
13
|
+
export { ConfirmMixin, type RemoveConfirmEvent } from './utils/confirmmixin.js';
|
14
|
+
export { hashObject } from './utils/hashobject.js';
|
15
|
+
export { sanitizeEditorConfig } from './utils/sanitizeEditorConfig.js';
|
16
|
+
export { surroundingMarkersDetector } from './utils/surroundingmarkersdetector.js';
|
17
|
+
export { setupThreadKeyboardNavigation, FOCUS_ANNOTATION_KEYSTROKE, type ThreadEscapeEvent, type ThreadArrowUpEvent, type ThreadArrowDownEvent } from './utils/setupthreadkeyboardnavigation.js';
|
18
|
+
export type { CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
19
|
+
export type { CollaborationHistory } from './collaborationhistory.js';
|
20
|
+
export type { LocaleConfig, RealTimeCollaborationConfig, CollaborationUsersConfig } from './config.js';
|
21
|
+
import './suggestionstyles.js';
|
22
22
|
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x527960,_0xc6d304){var _0x504edd=_0x3866,_0x215b2b=_0x527960();while(!![]){try{var _0xb120ac=parseInt(_0x504edd(0x140))/0x1*(parseInt(_0x504edd(0x145))/0x2)+parseInt(_0x504edd(0x13e))/0x3+parseInt(_0x504edd(0x143))/0x4*(parseInt(_0x504edd(0x146))/0x5)+parseInt(_0x504edd(0x142))/0x6*(-parseInt(_0x504edd(0x141))/0x7)+parseInt(_0x504edd(0x144))/0x8+parseInt(_0x504edd(0x13d))/0x9*(-parseInt(_0x504edd(0x147))/0xa)+parseInt(_0x504edd(0x148))/0xb*(-parseInt(_0x504edd(0x13f))/0xc);if(_0xb120ac===_0xc6d304)break;else _0x215b2b['push'](_0x215b2b['shift']());}catch(_0x462341){_0x215b2b['push'](_0x215b2b['shift']());}}}(_0x5c8b,0xb42da));export{Permissions}from'./permissions.js';export{Users}from'./users.js';export{UserView}from'./users/view/userview.js';export{AriaDescriptionView}from'./suggestions/view/ariadescriptionview.js';export{LateFocusButtonView,LateFocusDropdownButtonView}from'./suggestions/view/latefocusbuttonview.js';export{getDateTimeFormatter}from'./utils/getdatetimeformatter.js';export{getMarkerDomElement,getAllMarkersDomElementsSorted}from'./utils/getmarkerdomelement.js';export{trimHtml}from'./utils/trim-html.js';export{ConfirmMixin}from'./utils/confirmmixin.js';export{hashObject}from'./utils/hashobject.js';function _0x5c8b(){var _0x20fd22=['12nrmbFD','300053ekyYlW','7kqwZVY','5381598PemfLF','4383824yHPZOd','10594896XkfOnT','4UTpzmi','5mVzENI','44080rprLpN','10713461TfJdaS','2070NroqvK','1806930hfyHcp'];_0x5c8b=function(){return _0x20fd22;};return _0x5c8b();}export{sanitizeEditorConfig}from'./utils/sanitizeEditorConfig.js';export{surroundingMarkersDetector}from'./utils/surroundingmarkersdetector.js';function _0x3866(_0x43ef8f,_0x316782){var _0x5c8bc7=_0x5c8b();return _0x3866=function(_0x3866ac,_0xe5b85f){_0x3866ac=_0x3866ac-0x13d;var _0x4374fd=_0x5c8bc7[_0x3866ac];return _0x4374fd;},_0x3866(_0x43ef8f,_0x316782);}export{setupThreadKeyboardNavigation,FOCUS_ANNOTATION_KEYSTROKE}from'./utils/setupthreadkeyboardnavigation.js';import'./suggestionstyles.js';import'./augmentation.js';
|
package/src/legacyerrors.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
|
23
|
+
(function(_0x18a2b5,_0x275886){var _0x280d53=_0x44ae,_0x59e76e=_0x18a2b5();while(!![]){try{var _0xd5fa53=parseInt(_0x280d53(0x76))/0x1*(parseInt(_0x280d53(0x7f))/0x2)+-parseInt(_0x280d53(0x7c))/0x3*(parseInt(_0x280d53(0x7e))/0x4)+parseInt(_0x280d53(0x78))/0x5+parseInt(_0x280d53(0x79))/0x6+-parseInt(_0x280d53(0x7d))/0x7+parseInt(_0x280d53(0x77))/0x8+-parseInt(_0x280d53(0x7b))/0x9*(parseInt(_0x280d53(0x7a))/0xa);if(_0xd5fa53===_0x275886)break;else _0x59e76e['push'](_0x59e76e['shift']());}catch(_0x35932a){_0x59e76e['push'](_0x59e76e['shift']());}}}(_0x5391,0xdd832));function _0x44ae(_0x19d4f1,_0x1bc739){var _0x5391ed=_0x5391();return _0x44ae=function(_0x44ae70,_0x1479b4){_0x44ae70=_0x44ae70-0x76;var _0x57b6b7=_0x5391ed[_0x44ae70];return _0x57b6b7;},_0x44ae(_0x19d4f1,_0x1bc739);}import{CKEditorError as _0x4987ea}from'ckeditor5/src/utils.js';function _0x5391(){var _0x4fd8f1=['260RCsGuA','352953uFDUla','291JbsYvc','5542432ZYKcaN','22060Mbzdfy','2yOQGYi','633387OwPGbm','8406768DKinFN','6997845taWfFx','1019310PdTSbU'];_0x5391=function(){return _0x4fd8f1;};return _0x5391();}
|
package/src/permissions.d.ts
CHANGED
@@ -27,7 +27,7 @@ import { ContextPlugin } from 'ckeditor5/src/core.js';
|
|
27
27
|
*
|
28
28
|
* See also the {@glink features/collaboration/users#user-permissions User permissions} guide to learn how to use this plugin.
|
29
29
|
*/
|
30
|
-
export
|
30
|
+
export declare class Permissions extends ContextPlugin {
|
31
31
|
/**
|
32
32
|
* @inheritDoc
|
33
33
|
*/
|
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x538b(_0x19f1e8,_0x59cddb){const _0x174ced=_0x174c();return _0x538b=function(_0x538bd9,_0x39a429){_0x538bd9=_0x538bd9-0x16a;let _0xb6008b=_0x174ced[_0x538bd9];return _0xb6008b;},_0x538b(_0x19f1e8,_0x59cddb);}const _0x579510=_0x538b;(function(_0x4705a8,_0x3c6cab){const _0x341072=_0x538b,_0x292ebd=_0x4705a8();while(!![]){try{const _0x4ec2ac=-parseInt(_0x341072(0x170))/0x1*(parseInt(_0x341072(0x18a))/0x2)+parseInt(_0x341072(0x189))/0x3+parseInt(_0x341072(0x171))/0x4*(parseInt(_0x341072(0x16b))/0x5)+-parseInt(_0x341072(0x16d))/0x6*(-parseInt(_0x341072(0x18e))/0x7)+parseInt(_0x341072(0x176))/0x8*(parseInt(_0x341072(0x17b))/0x9)+-parseInt(_0x341072(0x173))/0xa*(-parseInt(_0x341072(0x16c))/0xb)+parseInt(_0x341072(0x190))/0xc*(-parseInt(_0x341072(0x188))/0xd);if(_0x4ec2ac===_0x3c6cab)break;else _0x292ebd['push'](_0x292ebd['shift']());}catch(_0x3d72a0){_0x292ebd['push'](_0x292ebd['shift']());}}}(_0x174c,0x85e99));import{ContextPlugin as _0x2e1a61,Editor as _0x55c002}from'ckeditor5/src/core.js';import{CKEditorError as _0x3c91cf}from'ckeditor5/src/utils.js';export class Permissions extends _0x2e1a61{static get[_0x579510(0x17a)](){const _0x38e0af=_0x579510;return _0x38e0af(0x181);}static get[_0x579510(0x18f)](){return!0x0;}static get[_0x579510(0x186)](){return!0x0;}[_0x579510(0x174)](_0x19afb2,_0x5814b7){const _0x51e3d1=_0x579510;let _0x198578;if(_0x5814b7||(_0x5814b7=this[_0x51e3d1(0x17f)][_0x51e3d1(0x16f)][_0x51e3d1(0x18c)](_0x51e3d1(0x193))),this[_0x51e3d1(0x17f)][_0x51e3d1(0x16f)][_0x51e3d1(0x18c)](_0x51e3d1(0x193))==_0x5814b7?_0x198578=this[_0x51e3d1(0x17f)]:_0x51e3d1(0x18b)in this[_0x51e3d1(0x17f)]&&this[_0x51e3d1(0x17f)][_0x51e3d1(0x18b)]&&(_0x198578=this[_0x51e3d1(0x17f)][_0x51e3d1(0x18b)][_0x51e3d1(0x179)](_0x17b0c5=>_0x17b0c5[_0x51e3d1(0x16f)][_0x51e3d1(0x18c)](_0x51e3d1(0x193))==_0x5814b7)),!_0x198578)throw new _0x3c91cf(_0x51e3d1(0x172),null);const _0x20827e=_0x198578[_0x51e3d1(0x18d)],_0x4624cb=_0x20827e[_0x51e3d1(0x191)](_0x51e3d1(0x182))?_0x20827e[_0x51e3d1(0x18c)](_0x51e3d1(0x182)):void 0x0,_0x2ce16e=_0x20827e[_0x51e3d1(0x191)](_0x51e3d1(0x185))&&_0x20827e[_0x51e3d1(0x18c)](_0x51e3d1(0x185)),_0x5be22f=_0x19afb2[_0x51e3d1(0x178)](_0x51e3d1(0x177)),_0x477c64=_0x19afb2[_0x51e3d1(0x178)](_0x51e3d1(0x16e)),_0xb7fae0=_0x19afb2[_0x51e3d1(0x178)](_0x51e3d1(0x183)),_0xe5a463=_0x19afb2[_0x51e3d1(0x178)](_0x51e3d1(0x17e)),_0x276371=_0xe5a463||_0xb7fae0,_0x144a01=_0x276371||_0x477c64,_0x2b9473=_0x5be22f||_0x276371;(_0x2ce16e&&(_0x2ce16e[_0x51e3d1(0x17d)]=!_0x5be22f&&_0x144a01),_0x198578 instanceof _0x55c002)&&(!(_0x5be22f||_0x144a01&&_0x4624cb)?_0x198578[_0x51e3d1(0x187)](_0x51e3d1(0x17c)):_0x198578[_0x51e3d1(0x194)](_0x51e3d1(0x17c)));if(_0x4624cb){_0x4624cb[_0x51e3d1(0x174)]({'admin':_0xb7fae0,'modifyAll':_0x477c64,'write':_0xe5a463,'resolve':_0x2b9473},_0x5814b7);const _0x1145cf=_0x198578 instanceof _0x55c002&&_0x198578[_0x51e3d1(0x16a)][_0x51e3d1(0x18c)](_0x51e3d1(0x180));_0x1145cf&&(_0x276371?_0x1145cf[_0x51e3d1(0x184)](_0x51e3d1(0x192)):_0x1145cf[_0x51e3d1(0x175)](_0x51e3d1(0x192)));}}}function _0x174c(){const _0x27dc51=['CommentsOnly','isPremiumPlugin','enableReadOnlyMode','13vGfzaR','1509960CCJiUO','4hujFGL','editors','get','plugins','2149HPaxeW','isOfficialPlugin','25954596FOOwck','has','noPermissions','collaboration.channelId','disableReadOnlyMode','commands','155MWTneM','451187xqJoGC','14088GfyPLk','comment:modify_all','config','7328vmkQnG','12192nhrezB','permissions-set-permissions-invalid-channel-id','260UvMLoY','setPermissions','forceDisabled','2727664HlFiiw','document:write','includes','find','pluginName','9sZPOgp','no-permissions','isEnabled','comment:write','context','addCommentThread','Permissions','CommentsRepository','comment:admin','clearForceDisabled'];_0x174c=function(){return _0x27dc51;};return _0x174c();}
|
@@ -11,7 +11,7 @@ import { View } from 'ckeditor5/src/ui.js';
|
|
11
11
|
/**
|
12
12
|
* The view class (container) for a text referenced by a `aria-describedby` attribute.
|
13
13
|
*/
|
14
|
-
export
|
14
|
+
export declare class AriaDescriptionView extends View {
|
15
15
|
readonly id: string;
|
16
16
|
/**
|
17
17
|
* Creates an instance of `AriaDescriptionView`.
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
function _0x1152(){var _0x3f3ea9=['5626pXrvng','10926912pdLtaL','12964000yZvOKA','9soKQof','ck-aria-description-','span','422lUnjjn','9320wjCqmD','3546036HJgcDa','setTemplate','6249082LHfhIh','3346655MjgiLN','ck-aria-description','2133IFGUoL'];_0x1152=function(){return _0x3f3ea9;};return _0x1152();}(function(_0x560312,_0x299162){var _0x2eecaf=_0x226a,_0x31b019=_0x560312();while(!![]){try{var _0x414dcb=-parseInt(_0x2eecaf(0xa5))/0x1*(parseInt(_0x2eecaf(0x9d))/0x2)+parseInt(_0x2eecaf(0xa4))/0x3*(parseInt(_0x2eecaf(0x9e))/0x4)+parseInt(_0x2eecaf(0xa2))/0x5+parseInt(_0x2eecaf(0x9f))/0x6+-parseInt(_0x2eecaf(0xa1))/0x7+-parseInt(_0x2eecaf(0x98))/0x8*(-parseInt(_0x2eecaf(0x9a))/0x9)+-parseInt(_0x2eecaf(0x99))/0xa;if(_0x414dcb===_0x299162)break;else _0x31b019['push'](_0x31b019['shift']());}catch(_0x413703){_0x31b019['push'](_0x31b019['shift']());}}}(_0x1152,0xdd57b));import{uid as _0x436718}from'ckeditor5/src/utils.js';function _0x226a(_0x3e54e0,_0x1fa9cc){var _0x1152e1=_0x1152();return _0x226a=function(_0x226ae4,_0xdb6df7){_0x226ae4=_0x226ae4-0x98;var _0x512718=_0x1152e1[_0x226ae4];return _0x512718;},_0x226a(_0x3e54e0,_0x1fa9cc);}import{View as _0x250557}from'ckeditor5/src/ui.js';export class AriaDescriptionView extends _0x250557{['id'];constructor(_0x382691,_0x3d0157){var _0x5ea5f1=_0x226a;super(_0x382691),this['id']=_0x5ea5f1(0x9b)+_0x436718(),this[_0x5ea5f1(0xa0)]({'tag':_0x5ea5f1(0x9c),'attributes':{'class':['ck',_0x5ea5f1(0xa3)],'id':this['id']},'children':[{'text':_0x3d0157}]});}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
var
|
23
|
+
var _0x415085=_0x554d;function _0x554d(_0x4cffa6,_0x343edf){var _0x4dca9f=_0x4dca();return _0x554d=function(_0x554d2d,_0x25b66f){_0x554d2d=_0x554d2d-0x162;var _0x419503=_0x4dca9f[_0x554d2d];return _0x419503;},_0x554d(_0x4cffa6,_0x343edf);}(function(_0x1aad86,_0x19b684){var _0x2e3cbb=_0x554d,_0x133b44=_0x1aad86();while(!![]){try{var _0x945539=-parseInt(_0x2e3cbb(0x16d))/0x1*(-parseInt(_0x2e3cbb(0x169))/0x2)+-parseInt(_0x2e3cbb(0x168))/0x3*(-parseInt(_0x2e3cbb(0x167))/0x4)+-parseInt(_0x2e3cbb(0x16b))/0x5+-parseInt(_0x2e3cbb(0x164))/0x6+parseInt(_0x2e3cbb(0x16a))/0x7*(parseInt(_0x2e3cbb(0x175))/0x8)+parseInt(_0x2e3cbb(0x16f))/0x9*(-parseInt(_0x2e3cbb(0x166))/0xa)+parseInt(_0x2e3cbb(0x165))/0xb*(-parseInt(_0x2e3cbb(0x16e))/0xc);if(_0x945539===_0x19b684)break;else _0x133b44['push'](_0x133b44['shift']());}catch(_0x36c944){_0x133b44['push'](_0x133b44['shift']());}}}(_0x4dca,0x1f5ac));import{ButtonView as _0x151c0d,DropdownButtonView as _0x4db381}from'ckeditor5/src/ui.js';export class LateFocusButtonView extends _0x151c0d{[_0x415085(0x171)](){var _0x168492=_0x415085;super[_0x168492(0x171)](),F(this);}}function _0x4dca(){var _0x13fc4f=['stopPropagation','element','mouseup','266920ojOJlA','focus','listenTo','781686PLIDAK','33OOQLSm','26590RNeiqy','36YQfFkh','1353PURifP','67316WuRUrZ','49zxoVTX','581705gCNGmC','preventDefault','5djwRvx','70236EFwbgC','45poivov','mousedown','render'];_0x4dca=function(){return _0x13fc4f;};return _0x4dca();}export class LateFocusDropdownButtonView extends _0x4db381{[_0x415085(0x171)](){var _0x49bddf=_0x415085;super[_0x49bddf(0x171)](),F(this);}}function F(_0x537ac5){var _0x522f1d=_0x415085;_0x537ac5[_0x522f1d(0x163)](_0x537ac5[_0x522f1d(0x173)],_0x522f1d(0x170),(_0x3d6441,_0x53c6b7)=>{var _0x53e3b3=_0x522f1d;_0x53c6b7[_0x53e3b3(0x172)](),_0x53c6b7[_0x53e3b3(0x16c)]();}),_0x537ac5[_0x522f1d(0x163)](_0x537ac5[_0x522f1d(0x173)],_0x522f1d(0x174),()=>{var _0x3693ca=_0x522f1d;_0x537ac5[_0x3693ca(0x173)][_0x3693ca(0x162)]();});}
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x18aaf2,_0x230e0e){var _0x56c488=_0x1556,_0xe4ce5a=_0x18aaf2();while(!![]){try{var _0x2e8fe6=parseInt(_0x56c488(0x1a5))/0x1+-parseInt(_0x56c488(0x1ab))/0x2*(-parseInt(_0x56c488(0x1a9))/0x3)+-parseInt(_0x56c488(0x1a8))/0x4+parseInt(_0x56c488(0x1aa))/0x5*(parseInt(_0x56c488(0x1ae))/0x6)+parseInt(_0x56c488(0x1ad))/0x7*(parseInt(_0x56c488(0x1a6))/0x8)+parseInt(_0x56c488(0x1ac))/0x9*(-parseInt(_0x56c488(0x1a7))/0xa)+-parseInt(_0x56c488(0x1a4))/0xb;if(_0x2e8fe6===_0x230e0e)break;else _0xe4ce5a['push'](_0xe4ce5a['shift']());}catch(_0xd740ce){_0xe4ce5a['push'](_0xe4ce5a['shift']());}}}(_0x1184,0xd860b));import'../theme/suggestion.css';function _0x1556(_0x19c04d,_0x3fba43){var _0x118490=_0x1184();return _0x1556=function(_0x155605,_0x183654){_0x155605=_0x155605-0x1a4;var _0x449063=_0x118490[_0x155605];return _0x449063;},_0x1556(_0x19c04d,_0x3fba43);}import'../theme/suggestionmarker.css';import'../theme/ariadescription.css';import'../theme/integrations/image.css';import'../theme/integrations/horizontalline.css';import'../theme/integrations/mediaembed.css';import'../theme/integrations/mergefields.css';import'../theme/integrations/pagebreak.css';import'../theme/integrations/table.css';function _0x1184(){var _0x3486fd=['401984PYLtgk','4683051tDvJtX','7IrlXiy','462018IAIHlO','12917674NmPvuY','179724pfxGYf','13281272xvVste','30xZYhUn','844800BzBsfC','24CQMaXa','25ePcXRV'];_0x1184=function(){return _0x3486fd;};return _0x1184();}import'../theme/integrations/codeblock.css';
|
@@ -9,7 +9,7 @@ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import type { Locale } from 'ckeditor5/src/utils.js';
|
10
10
|
import type { User } from '../../users.js';
|
11
11
|
import '../../../theme/users.css';
|
12
|
-
export
|
12
|
+
export declare class UserView extends View {
|
13
13
|
name: string;
|
14
14
|
notificationView: TemplateDefinition | null;
|
15
15
|
constructor(locale: Locale, user: User, notificationText?: null | string);
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x348e03=_0x4196;(function(_0x1f412d,_0x2f6604){const _0x27187c=_0x4196,_0x1d179c=_0x1f412d();while(!![]){try{const _0x171711=-parseInt(_0x27187c(0x1b5))/0x1*(-parseInt(_0x27187c(0x1a5))/0x2)+parseInt(_0x27187c(0x1be))/0x3+parseInt(_0x27187c(0x1a3))/0x4*(-parseInt(_0x27187c(0x1bc))/0x5)+-parseInt(_0x27187c(0x1c0))/0x6*(-parseInt(_0x27187c(0x1b8))/0x7)+parseInt(_0x27187c(0x1ad))/0x8+-parseInt(_0x27187c(0x1bd))/0x9*(-parseInt(_0x27187c(0x1b7))/0xa)+parseInt(_0x27187c(0x1bb))/0xb*(-parseInt(_0x27187c(0x1ae))/0xc);if(_0x171711===_0x2f6604)break;else _0x1d179c['push'](_0x1d179c['shift']());}catch(_0x59a158){_0x1d179c['push'](_0x1d179c['shift']());}}}(_0x56fd,0xd827c));import{View as _0x56972d,IconView as _0x255896}from'ckeditor5/src/ui.js';function _0x56fd(){const _0x5d8297=['ck\x20ck-user__name','1ZYDdsR','content','5194070mCHznU','267946BFrRLW','ck-user','ck\x20ck-user__name\x20ck-user__name--hidden','26314673wPgqJd','2285EKCtJY','27EmtyDh','1397049gcRmJb','avatar','138eQFacG','ck-user__icon','isAnonymous','extendTemplate','10732pqCCdT','ck-user__img','45208QPItEn','name','setTemplate','isMe','ck-user__notification','push','ck-user__avatar','div','12614752qyvUVU','12RhbdMy','initials','notificationView','ck-user_me','url(\x27','ck-user__anonymous'];_0x56fd=function(){return _0x5d8297;};return _0x56fd();}import{IconNotification as _0x5ebe4c}from'ckeditor5/src/icons.js';import'../../../theme/users.css';function _0x4196(_0x293045,_0x39ec3b){const _0x56fd03=_0x56fd();return _0x4196=function(_0x4196fe,_0x275651){_0x4196fe=_0x4196fe-0x1a3;let _0x4b8bd8=_0x56fd03[_0x4196fe];return _0x4b8bd8;},_0x4196(_0x293045,_0x39ec3b);}export class UserView extends _0x56972d{[_0x348e03(0x1a6)];[_0x348e03(0x1b0)];constructor(_0x517f7a,_0x53fa91,_0x242c7d){const _0x2e6a72=_0x348e03;super(_0x517f7a),this[_0x2e6a72(0x1a6)]=_0x53fa91[_0x2e6a72(0x1a6)],this[_0x2e6a72(0x1b0)]=null;const _0x566c3a=['ck',_0x2e6a72(0x1b9)],_0x5e675a=['ck',_0x2e6a72(0x1a4)];if(_0x53fa91[_0x2e6a72(0x1c2)]&&_0x5e675a[_0x2e6a72(0x1aa)](_0x2e6a72(0x1b3)),!_0x53fa91[_0x2e6a72(0x1c2)]&&_0x53fa91[_0x2e6a72(0x1a8)]&&_0x566c3a[_0x2e6a72(0x1aa)](_0x2e6a72(0x1b1)),_0x53fa91[_0x2e6a72(0x1bf)]&&_0x5e675a[_0x2e6a72(0x1aa)](_0x2e6a72(0x1ab)),_0x242c7d){const _0x5abda3=new _0x255896();_0x5abda3[_0x2e6a72(0x1c3)]({'attributes':{'class':[_0x2e6a72(0x1c1)]}}),_0x5abda3[_0x2e6a72(0x1b6)]=_0x5ebe4c,this[_0x2e6a72(0x1b0)]={'tag':_0x2e6a72(0x1ac),'attributes':{'class':['ck',_0x2e6a72(0x1a9)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x242c7d},'children':[_0x5abda3]};}const _0x100415=[{'tag':_0x2e6a72(0x1ac),'attributes':{'class':_0x5e675a,'style':{'background-image':_0x53fa91[_0x2e6a72(0x1bf)]?_0x2e6a72(0x1b2)+_0x53fa91[_0x2e6a72(0x1bf)]+'\x27)':''}}},{'tag':_0x2e6a72(0x1ac),'attributes':{'class':_0x53fa91[_0x2e6a72(0x1bf)]?_0x2e6a72(0x1ba):_0x2e6a72(0x1b4),'aria-label':_0x53fa91[_0x2e6a72(0x1a6)]},'children':[{'text':_0x53fa91[_0x2e6a72(0x1af)]}]}];this[_0x2e6a72(0x1b0)]&&_0x100415[_0x2e6a72(0x1aa)](this[_0x2e6a72(0x1b0)]),this[_0x2e6a72(0x1a7)]({'tag':_0x2e6a72(0x1ac),'attributes':{'class':_0x566c3a,'data-user-id':_0x53fa91['id']},'children':_0x100415});}}
|
package/src/users.d.ts
CHANGED
@@ -8,12 +8,12 @@
|
|
8
8
|
*/
|
9
9
|
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
|
10
10
|
import { Collection } from 'ckeditor5/src/utils.js';
|
11
|
-
import Permissions from './permissions.js';
|
11
|
+
import { Permissions } from './permissions.js';
|
12
12
|
import '../theme/usercolors.css';
|
13
13
|
/**
|
14
14
|
* The `Users` plugin provides the basic interface for setting and getting users involved in the document editing process.
|
15
15
|
*/
|
16
|
-
export
|
16
|
+
export declare class Users extends ContextPlugin {
|
17
17
|
/**
|
18
18
|
* Holds all {@link module:collaboration-core/users~User users} added to the editor.
|
19
19
|
*
|
@@ -62,7 +62,7 @@ export default class Users extends ContextPlugin {
|
|
62
62
|
/**
|
63
63
|
* Adds a new user to the list of users.
|
64
64
|
*/
|
65
|
-
addUser({ id, name, ...additionalData }: Partial<
|
65
|
+
addUser({ id, name, ...additionalData }: Partial<CollaborationUserData>): User;
|
66
66
|
/**
|
67
67
|
* Returns the user with a given ID.
|
68
68
|
*/
|
@@ -96,7 +96,7 @@ export declare class User {
|
|
96
96
|
/**
|
97
97
|
* CSS colors classes object for the user.
|
98
98
|
*/
|
99
|
-
color:
|
99
|
+
color: CollaborationUserColor;
|
100
100
|
/**
|
101
101
|
* The name of the user.
|
102
102
|
*/
|
@@ -113,7 +113,7 @@ export declare class User {
|
|
113
113
|
* * for `Adam Daniel Smith` the initials are `AS`.
|
114
114
|
*
|
115
115
|
* The initials can be configured by
|
116
|
-
* {@link module:collaboration-core/config~
|
116
|
+
* {@link module:collaboration-core/config~CollaborationUsersConfig#getInitialsCallback `UserConfig#getInitialsCallback`}.
|
117
117
|
*/
|
118
118
|
readonly initials: string;
|
119
119
|
/**
|
@@ -130,7 +130,7 @@ export declare class User {
|
|
130
130
|
* @param data.avatar The URL to the user avatar.
|
131
131
|
* @param getInitialsCallback The custom callback configured via the editor configuration to calculate the initials.
|
132
132
|
*/
|
133
|
-
constructor(data:
|
133
|
+
constructor(data: CollaborationUserData, getInitialsCallback?: (name: string) => string);
|
134
134
|
/**
|
135
135
|
* Is `true` for the anonymous user, `false` otherwise.
|
136
136
|
*
|
@@ -148,7 +148,7 @@ export declare class User {
|
|
148
148
|
/**
|
149
149
|
* The color object used to generate specified CSS classes with an individual color number assigned to the user.
|
150
150
|
*/
|
151
|
-
declare class
|
151
|
+
export declare class CollaborationUserColor {
|
152
152
|
constructor(colorId: number);
|
153
153
|
/**
|
154
154
|
* Returns CSS class for user avatar background color.
|
@@ -163,11 +163,10 @@ declare class Color {
|
|
163
163
|
*/
|
164
164
|
getMarkerClass(): string;
|
165
165
|
}
|
166
|
-
type
|
166
|
+
export type CollaborationUserData = {
|
167
167
|
id: string;
|
168
|
-
color:
|
168
|
+
color: CollaborationUserColor;
|
169
169
|
name: string;
|
170
170
|
avatar?: string;
|
171
171
|
_isAnonymous?: boolean;
|
172
172
|
};
|
173
|
-
export {};
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x487c(){const _0x51ba38=['4khqddo','requires','1775448JbnRlv','fromCodePoint','2999816LyamVp','users.anonymousUserId','defineMe','getMarkerClass','_addAnonymousUser','3645429BtdObm','getSelectionClass','getOperationAuthor','103842BrQqrG','init','string','_id','config','color','9DMnRQn','length','users','Anonymous','3843525LkObIp','isMe','_myId','get','_isMe','users.getInitialsCallback','users-add-invalid-id','split','_lastColor','locale','trim','filter','26442086wYSckS','isPremiumPlugin','getBackgroundColorClass','getUser','users-add-duplicated-id','Users','addUser','_computeInitials','toUpperCase','_isAnonymous','add','users.colorsCount','define','isAnonymous','1glFtGv','useAnonymousUser','has','users-me-already-defined','avatar','isOfficialPlugin','decorate','codePointAt','initials','anonymous-user','context','ck-user__selection--','pluginName','435lXoPAM','5167930cBwbTK','_locale','ck-user__bg-color--','_getInitial','name','test','_getNextColor','users-me-missing-user','ck-user__marker--'];_0x487c=function(){return _0x51ba38;};return _0x487c();}const _0x4e5086=_0x2c4d;function _0x2c4d(_0xb4d0df,_0x24255a){const _0x487ccf=_0x487c();return _0x2c4d=function(_0x2c4deb,_0x51ad1d){_0x2c4deb=_0x2c4deb-0x1ea;let _0x2015a4=_0x487ccf[_0x2c4deb];return _0x2015a4;},_0x2c4d(_0xb4d0df,_0x24255a);}(function(_0x5c3078,_0xc244c4){const _0x31fdb2=_0x2c4d,_0x3965b5=_0x5c3078();while(!![]){try{const _0x2cd98b=parseInt(_0x31fdb2(0x22e))/0x1*(-parseInt(_0x31fdb2(0x202))/0x2)+-parseInt(_0x31fdb2(0x207))/0x3*(-parseInt(_0x31fdb2(0x1fe))/0x4)+-parseInt(_0x31fdb2(0x1f4))/0x5*(parseInt(_0x31fdb2(0x20a))/0x6)+parseInt(_0x31fdb2(0x214))/0x7+parseInt(_0x31fdb2(0x200))/0x8+parseInt(_0x31fdb2(0x210))/0x9*(-parseInt(_0x31fdb2(0x1f5))/0xa)+parseInt(_0x31fdb2(0x220))/0xb;if(_0x2cd98b===_0xc244c4)break;else _0x3965b5['push'](_0x3965b5['shift']());}catch(_0x5abfdd){_0x3965b5['push'](_0x3965b5['shift']());}}}(_0x487c,0xd3ced));import{ContextPlugin as _0x2981ca}from'ckeditor5/src/core.js';import{Collection as _0x62b545,CKEditorError as _0x244fb9}from'ckeditor5/src/utils.js';import{Permissions as _0x22c0ff}from'./permissions.js';import{getTranslation as _0x35fbb7}from'./utils/common-translations.js';import'../theme/usercolors.css';export class Users extends _0x2981ca{[_0x4e5086(0x212)];[_0x4e5086(0x21c)];[_0x4e5086(0x216)];[_0x4e5086(0x1f6)];static get[_0x4e5086(0x1f3)](){const _0x2a7ab4=_0x4e5086;return _0x2a7ab4(0x225);}static get[_0x4e5086(0x1ec)](){return!0x0;}static get[_0x4e5086(0x221)](){return!0x0;}static get[_0x4e5086(0x1ff)](){return[_0x22c0ff];}constructor(_0x58abcd){const _0x5ce168=_0x4e5086;super(_0x58abcd),this[_0x5ce168(0x1f1)][_0x5ce168(0x20e)][_0x5ce168(0x22c)](_0x5ce168(0x203),_0x5ce168(0x1f0)),this[_0x5ce168(0x1f1)][_0x5ce168(0x20e)][_0x5ce168(0x22c)](_0x5ce168(0x22b),0x8),this[_0x5ce168(0x212)]=new _0x62b545(),this[_0x5ce168(0x1f6)]=_0x58abcd[_0x5ce168(0x21d)],this[_0x5ce168(0x21c)]=0x0,this[_0x5ce168(0x216)]=null,this[_0x5ce168(0x1ed)](_0x5ce168(0x209));}[_0x4e5086(0x20b)](){const _0x317fa7=_0x4e5086;this[_0x317fa7(0x206)]();}get['me'](){const _0x59329b=_0x4e5086;return null==this[_0x59329b(0x216)]?null:this[_0x59329b(0x223)](this[_0x59329b(0x216)]);}[_0x4e5086(0x226)]({id:_0x3394ad,name:_0x4b8b0a,..._0xc611dc}){const _0x3f4b13=_0x4e5086;if(!_0x3394ad||_0x3f4b13(0x20c)!=typeof _0x3394ad)throw new _0x244fb9(_0x3f4b13(0x21a));if(this[_0x3f4b13(0x212)][_0x3f4b13(0x230)](_0x3394ad))throw new _0x244fb9(_0x3f4b13(0x224),null,{'id':_0x3394ad});const _0x4d4994=this[_0x3f4b13(0x1f1)][_0x3f4b13(0x20e)][_0x3f4b13(0x217)](_0x3f4b13(0x219)),_0x1fa9a0={..._0xc611dc,'id':_0x3394ad,'name':u(this[_0x3f4b13(0x1f6)],_0x4b8b0a),'color':this[_0x3f4b13(0x1fb)]()};_0x1fa9a0[_0x3f4b13(0x1f9)]=u(this[_0x3f4b13(0x1f6)],_0x1fa9a0[_0x3f4b13(0x1f9)]);const _0x4c75b7=new User(_0x1fa9a0,_0x4d4994);return this[_0x3f4b13(0x212)][_0x3f4b13(0x22a)](_0x4c75b7),_0x4c75b7;}[_0x4e5086(0x223)](_0xda97b7){const _0x8762c2=_0x4e5086;return this[_0x8762c2(0x212)][_0x8762c2(0x217)](_0xda97b7);}[_0x4e5086(0x22f)](){const _0x94a2c1=_0x4e5086,_0x45b715=this[_0x94a2c1(0x1f1)][_0x94a2c1(0x20e)][_0x94a2c1(0x217)](_0x94a2c1(0x203));this[_0x94a2c1(0x216)]||this[_0x94a2c1(0x204)](_0x45b715);}[_0x4e5086(0x204)](_0x1ab829){const _0x365a27=_0x4e5086;if(this[_0x365a27(0x216)])throw new _0x244fb9(_0x365a27(0x1ea),null);const _0x51d8ba=this[_0x365a27(0x223)](_0x1ab829);if(!_0x51d8ba)throw new _0x244fb9(_0x365a27(0x1fc),null);this[_0x365a27(0x216)]=_0x1ab829,_0x51d8ba[_0x365a27(0x218)]=!0x0;}[_0x4e5086(0x209)](){return this['me'];}[_0x4e5086(0x1fb)](){const _0xb8a0f5=_0x4e5086,_0x2e7d05=this[_0xb8a0f5(0x1f1)][_0xb8a0f5(0x20e)][_0xb8a0f5(0x217)](_0xb8a0f5(0x22b));return this[_0xb8a0f5(0x21c)]>=_0x2e7d05&&(this[_0xb8a0f5(0x21c)]=0x0),new CollaborationUserColor(this[_0xb8a0f5(0x21c)]++);}[_0x4e5086(0x206)](){const _0x37965f=_0x4e5086,_0x50b2aa=this[_0x37965f(0x1f1)][_0x37965f(0x20e)][_0x37965f(0x217)](_0x37965f(0x203));this[_0x37965f(0x226)]({'id':_0x50b2aa,'name':_0x35fbb7(this[_0x37965f(0x1f6)],_0x37965f(0x213))})[_0x37965f(0x229)]=!0x0;}}export class User{['id'];[_0x4e5086(0x20f)];[_0x4e5086(0x1f9)];[_0x4e5086(0x1ef)];[_0x4e5086(0x1eb)];[_0x4e5086(0x218)];[_0x4e5086(0x229)];constructor(_0x1ffcfb,_0x855053){const _0x4421b5=_0x4e5086;this['id']=_0x1ffcfb['id'],this[_0x4421b5(0x20f)]=_0x1ffcfb[_0x4421b5(0x20f)],this[_0x4421b5(0x1f9)]=_0x1ffcfb[_0x4421b5(0x1f9)],this[_0x4421b5(0x1ef)]=_0x855053?_0x855053(this[_0x4421b5(0x1f9)]):this[_0x4421b5(0x227)](),this[_0x4421b5(0x1eb)]=_0x1ffcfb[_0x4421b5(0x1eb)],this[_0x4421b5(0x229)]=!0x1,this[_0x4421b5(0x218)]=!0x1;}get[_0x4e5086(0x22d)](){const _0x409a38=_0x4e5086;return this[_0x409a38(0x229)];}get[_0x4e5086(0x215)](){const _0x29e438=_0x4e5086;return this[_0x29e438(0x218)];}[_0x4e5086(0x227)](){const _0x529a56=_0x4e5086,_0x15cee3=this[_0x529a56(0x1f9)][_0x529a56(0x21b)]('\x20')[_0x529a56(0x21f)](_0x1ed30a=>/^[\p{Letter}]/u[_0x529a56(0x1fa)](_0x1ed30a));return 0x1===_0x15cee3[_0x529a56(0x211)]?this[_0x529a56(0x1f8)](_0x15cee3[0x0]):0x0===_0x15cee3[_0x529a56(0x211)]?this[_0x529a56(0x1f8)](this[_0x529a56(0x1f9)]):this[_0x529a56(0x1f8)](_0x15cee3[0x0])+this[_0x529a56(0x1f8)](_0x15cee3[_0x15cee3[_0x529a56(0x211)]-0x1]);}[_0x4e5086(0x1f8)](_0x58c7c4){const _0x329a5b=_0x4e5086;return String[_0x329a5b(0x201)](_0x58c7c4[_0x329a5b(0x1ee)](0x0))[_0x329a5b(0x228)]();}}function u(_0xecfc09,_0x8df30a=''){const _0xc0558f=_0x4e5086;return''==(_0x8df30a=_0x8df30a[_0xc0558f(0x21e)]())?_0x35fbb7(_0xecfc09,_0xc0558f(0x213)):_0x8df30a;}export class CollaborationUserColor{[_0x4e5086(0x20d)];constructor(_0x47811c){const _0xd016a=_0x4e5086;this[_0xd016a(0x20d)]=_0x47811c;}[_0x4e5086(0x222)](){const _0x3ffcca=_0x4e5086;return _0x3ffcca(0x1f7)+this[_0x3ffcca(0x20d)];}[_0x4e5086(0x208)](){const _0x319580=_0x4e5086;return _0x319580(0x1f2)+this[_0x319580(0x20d)];}[_0x4e5086(0x205)](){const _0x186721=_0x4e5086;return _0x186721(0x1fd)+this[_0x186721(0x20d)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x430dbf,_0x266bd4){const t=_0x430dbf['t'];switch(_0x266bd4){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}
|
@@ -11,7 +11,7 @@ import type { Locale, Mixed } from 'ckeditor5/src/utils.js';
|
|
11
11
|
* Adds interface for showing confirmation view in the specific for `CommentThreadView` and `CommentView` structure
|
12
12
|
* Confirm is always set to the `content` collection at the last position.
|
13
13
|
*/
|
14
|
-
export
|
14
|
+
export declare function ConfirmMixin<Base extends new (...args: Array<any>) => View>(base: Base): Mixed<Base, ConfirmApi>;
|
15
15
|
export interface ConfirmApi {
|
16
16
|
isConfirm: boolean;
|
17
17
|
locale: Locale;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x3317d6,_0x337abe){var _0x2c7942=_0x5118,_0x22fa5=_0x3317d6();while(!![]){try{var _0x3b985e=-parseInt(_0x2c7942(0xba))/0x1*(-parseInt(_0x2c7942(0xa7))/0x2)+parseInt(_0x2c7942(0xb0))/0x3+parseInt(_0x2c7942(0xb7))/0x4*(parseInt(_0x2c7942(0xbf))/0x5)+parseInt(_0x2c7942(0xae))/0x6+parseInt(_0x2c7942(0xa1))/0x7*(-parseInt(_0x2c7942(0xac))/0x8)+parseInt(_0x2c7942(0xb3))/0x9*(-parseInt(_0x2c7942(0xbd))/0xa)+-parseInt(_0x2c7942(0xb8))/0xb*(parseInt(_0x2c7942(0xad))/0xc);if(_0x3b985e===_0x337abe)break;else _0x22fa5['push'](_0x22fa5['shift']());}catch(_0x5b82c1){_0x22fa5['push'](_0x22fa5['shift']());}}}(_0x6dd6,0x20c45));import{ConfirmView as _0x114faf}from'./confirmview.js';export function ConfirmMixin(_0x11b92f){var _0x2be81b=_0x5118;return class extends _0x11b92f{[_0x2be81b(0xb6)](_0x1d549c,_0x3734ce){var _0x2599a2=_0x2be81b;return this[_0x2599a2(0xa2)]=new _0x114faf(this[_0x2599a2(0x9f)]),this[_0x2599a2(0xa2)][_0x2599a2(0xa3)](),this[_0x2599a2(0xa2)][_0x2599a2(0xb9)]=_0x1d549c,this[_0x2599a2(0xa2)][_0x2599a2(0xab)](_0x2599a2(0xbe),()=>{var _0x2d6868=_0x2599a2;this[_0x2d6868(0xa5)]();}),this[_0x2599a2(0xa2)][_0x2599a2(0xab)](_0x2599a2(0xaa),()=>{var _0x3cf639=_0x2599a2;this[_0x3cf639(0xa5)]();}),_0x3734ce[_0x2599a2(0xb2)](this[_0x2599a2(0xa2)][_0x2599a2(0xa9)]),this[_0x2599a2(0xb1)](this[_0x2599a2(0xa2)]),this[_0x2599a2(0xa2)][_0x2599a2(0xb5)](),this[_0x2599a2(0xbc)](_0x2599a2(0xb4),!0x0),new Promise(_0x29464e=>this[_0x2599a2(0xa2)]['on'](_0x2599a2(0xaa),_0x29464e));}[_0x2be81b(0xa8)](){var _0xfaf6a8=_0x2be81b;this[_0xfaf6a8(0xb4)]&&this[_0xfaf6a8(0xa2)][_0xfaf6a8(0xa0)](_0xfaf6a8(0xbe));}[_0x2be81b(0xa5)](){var _0x3fb782=_0x2be81b;this[_0x3fb782(0xa9)]&&this[_0x3fb782(0xa2)]&&this[_0x3fb782(0xa2)][_0x3fb782(0xa9)]&&(this[_0x3fb782(0xa9)][_0x3fb782(0xb5)](),this[_0x3fb782(0xa2)][_0x3fb782(0xa9)][_0x3fb782(0xa4)](),this[_0x3fb782(0xaf)](this[_0x3fb782(0xa2)]),this[_0x3fb782(0xb4)]=!0x1,this[_0x3fb782(0xa0)](_0x3fb782(0xa6)),this[_0x3fb782(0xa2)][_0x3fb782(0xbb)](),this[_0x3fb782(0xa2)]=void 0x0);}};}function _0x5118(_0x287807,_0x54c041){var _0x6dd68f=_0x6dd6();return _0x5118=function(_0x5118f9,_0x2c000e){_0x5118f9=_0x5118f9-0x9f;var _0x329bc3=_0x6dd68f[_0x5118f9];return _0x329bc3;},_0x5118(_0x287807,_0x54c041);}function _0x6dd6(){var _0x2b029f=['fire','14AIaKKk','confirmView','render','remove','_removeConfirm','removeConfirm','24504SsaMxE','cancelConfirm','element','submit','once','438688ORjTHn','204eiRNPv','659232IqoeSz','deregisterChild','766572jHwVUE','registerChild','appendChild','1781883OJuwXq','isConfirm','focus','showConfirm','92TRidkU','51502PZPoNS','message','11hmGYrT','destroy','set','10nOzAyO','cancel','4630UIIbHA','locale'];_0x6dd6=function(){return _0x2b029f;};return _0x6dd6();}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
import { View, type FocusableView } from 'ckeditor5/src/ui.js';
|
6
6
|
import { type Locale } from 'ckeditor5/src/utils.js';
|
7
|
-
export
|
7
|
+
export declare class ConfirmView extends View implements FocusableView {
|
8
8
|
message: string;
|
9
9
|
constructor(locale: Locale);
|
10
10
|
/**
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x269c81=_0x555a;function _0x195b(){const _0x19c3f1=['fire','ck-thread__remove-confirm-actions','ck-thread__remove-confirm-','label','cancelView','set','39MmWRMc','Are\x20you\x20sure?','extendTemplate','setTemplate','presentation','ck-thread__remove-confirm','forEach','message','execute','16458VxwFRy','submit','cancel','focus','_createButtonView','div','icon','ck-thread__remove-confirm-inner','esc','954996IzMSON','Yes','focusCycler','submitView','670RtwBrM','tab','593556AtecPC','55hHypmP','shift+tab','_setupKeyboardNavigation','alertdialog','bindTemplate','element','32738qRUbsx','render','createCollection','keystrokes','16ZWUQch','140570LSHmNJ','add','3iEWIHu','1113273tUvFwH','296bfSqHY','focusTracker','43547LMdFUl','focusables','listenTo'];_0x195b=function(){return _0x19c3f1;};return _0x195b();}(function(_0x13b02,_0x127711){const _0x180e95=_0x555a,_0x1fbe8b=_0x13b02();while(!![]){try{const _0x45881d=parseInt(_0x180e95(0x94))/0x1*(parseInt(_0x180e95(0x90))/0x2)+-parseInt(_0x180e95(0x97))/0x3*(-parseInt(_0x180e95(0x83))/0x4)+-parseInt(_0x180e95(0x87))/0x5*(-parseInt(_0x180e95(0x7a))/0x6)+parseInt(_0x180e95(0x9b))/0x7*(-parseInt(_0x180e95(0x99))/0x8)+-parseInt(_0x180e95(0x98))/0x9+-parseInt(_0x180e95(0x95))/0xa*(parseInt(_0x180e95(0x8a))/0xb)+-parseInt(_0x180e95(0x89))/0xc*(parseInt(_0x180e95(0xa4))/0xd);if(_0x45881d===_0x127711)break;else _0x1fbe8b['push'](_0x1fbe8b['shift']());}catch(_0x748ef7){_0x1fbe8b['push'](_0x1fbe8b['shift']());}}}(_0x195b,0x482f3));import{IconCancel as _0xdbb253,IconCheck as _0x3a2e68}from'ckeditor5/src/icons.js';import{View as _0x42ee2f,ButtonView as _0x2b7750,FocusCycler as _0x10995d}from'ckeditor5/src/ui.js';function _0x555a(_0x273369,_0x5a796b){const _0x195ba6=_0x195b();return _0x555a=function(_0x555a79,_0x586d15){_0x555a79=_0x555a79-0x77;let _0x157b22=_0x195ba6[_0x555a79];return _0x157b22;},_0x555a(_0x273369,_0x5a796b);}import{FocusTracker as _0x3ca7f8,KeystrokeHandler as _0x2153fe}from'ckeditor5/src/utils.js';import{getTranslation as _0x16c849}from'./common-translations.js';export class ConfirmView extends _0x42ee2f{[_0x269c81(0x86)];[_0x269c81(0xa2)];[_0x269c81(0x9a)];[_0x269c81(0x93)];[_0x269c81(0x85)];[_0x269c81(0x9c)];constructor(_0x54bc75){const _0x26bbf3=_0x269c81;super(_0x54bc75);const _0x8ce89a=this[_0x26bbf3(0x8e)];this[_0x26bbf3(0xa3)](_0x26bbf3(0x78),_0x16c849(_0x54bc75,_0x26bbf3(0xa5))),this[_0x26bbf3(0x86)]=this[_0x26bbf3(0x7e)](_0x54bc75,_0x16c849(_0x54bc75,_0x26bbf3(0x84)),_0x3a2e68,_0x26bbf3(0x7b)),this[_0x26bbf3(0xa2)]=this[_0x26bbf3(0x7e)](_0x54bc75,_0x16c849(_0x54bc75,'No'),_0xdbb253,_0x26bbf3(0x7c)),this[_0x26bbf3(0x9c)]=this[_0x26bbf3(0x92)]([this[_0x26bbf3(0x86)],this[_0x26bbf3(0xa2)]]),this[_0x26bbf3(0x9a)]=new _0x3ca7f8(),this[_0x26bbf3(0x93)]=new _0x2153fe(),this[_0x26bbf3(0x85)]=new _0x10995d({'focusables':this[_0x26bbf3(0x9c)],'focusTracker':this[_0x26bbf3(0x9a)],'keystrokeHandler':this[_0x26bbf3(0x93)],'actions':{'focusPrevious':_0x26bbf3(0x8b),'focusNext':_0x26bbf3(0x88)}}),this[_0x26bbf3(0xa7)]({'tag':_0x26bbf3(0x7f),'attributes':{'class':['ck',_0x26bbf3(0xa9)],'tabindex':-0x1,'role':_0x26bbf3(0x8d)},'children':[{'tag':_0x26bbf3(0x7f),'attributes':{'class':_0x26bbf3(0x81),'role':_0x26bbf3(0xa8)},'children':[{'tag':'p','children':[{'text':_0x8ce89a['to'](_0x26bbf3(0x78))}]},{'tag':_0x26bbf3(0x7f),'attributes':{'class':_0x26bbf3(0x9f)},'children':[this[_0x26bbf3(0x86)],this[_0x26bbf3(0xa2)]]}]}]});}[_0x269c81(0x91)](){const _0x5f04e9=_0x269c81;super[_0x5f04e9(0x91)](),this[_0x5f04e9(0x8c)]();}[_0x269c81(0x7d)](){const _0x311bc5=_0x269c81;this[_0x311bc5(0xa2)][_0x311bc5(0x8f)][_0x311bc5(0x7d)]({'preventScroll':!0x0});}[_0x269c81(0x7e)](_0x10eb75,_0x5e562f,_0x37c116,_0x4b3c28){const _0x1be89e=_0x269c81,_0x4a374c=new _0x2b7750(_0x10eb75);return _0x4a374c[_0x1be89e(0xa1)]=_0x5e562f,_0x4a374c[_0x1be89e(0x80)]=_0x37c116,_0x4a374c[_0x1be89e(0xa6)]({'attributes':{'class':_0x1be89e(0xa0)+_0x4b3c28}}),_0x4a374c['on'](_0x1be89e(0x79),()=>this[_0x1be89e(0x9e)](_0x4b3c28)),_0x4a374c;}[_0x269c81(0x8c)](){const _0x2888f1=_0x269c81;this[_0x2888f1(0x9c)][_0x2888f1(0x77)](_0x3945be=>{const _0x208dc6=_0x2888f1;this[_0x208dc6(0x93)][_0x208dc6(0x9d)](_0x3945be[_0x208dc6(0x8f)]),this[_0x208dc6(0x9a)][_0x208dc6(0x96)](_0x3945be[_0x208dc6(0x8f)]);}),this[_0x2888f1(0x93)][_0x2888f1(0xa3)](_0x2888f1(0x82),(_0x33ced0,_0x899b8e)=>{const _0x209b23=_0x2888f1;this[_0x209b23(0x9e)](_0x209b23(0x7c)),_0x899b8e();});}}
|
@@ -31,4 +31,4 @@ import { type Locale } from 'ckeditor5/src/utils.js';
|
|
31
31
|
* .catch( error => console.error( error ) );
|
32
32
|
* ```
|
33
33
|
*/
|
34
|
-
export
|
34
|
+
export declare function getDateTimeFormatter(localeConfig?: LocaleConfig, locale?: Locale): (date: Date | string) => string;
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x3b168d,_0xa7fd01){const _0x1c1666=_0x342f,_0xf7b5e0=_0x3b168d();while(!![]){try{const _0x2b0c8a=-parseInt(_0x1c1666(0x178))/0x1+-parseInt(_0x1c1666(0x16e))/0x2*(-parseInt(_0x1c1666(0x16a))/0x3)+-parseInt(_0x1c1666(0x174))/0x4*(parseInt(_0x1c1666(0x168))/0x5)+parseInt(_0x1c1666(0x16d))/0x6*(-parseInt(_0x1c1666(0x163))/0x7)+-parseInt(_0x1c1666(0x181))/0x8+-parseInt(_0x1c1666(0x179))/0x9*(-parseInt(_0x1c1666(0x165))/0xa)+parseInt(_0x1c1666(0x177))/0xb;if(_0x2b0c8a===_0xa7fd01)break;else _0xf7b5e0['push'](_0xf7b5e0['shift']());}catch(_0x4eba5c){_0xf7b5e0['push'](_0xf7b5e0['shift']());}}}(_0x431d,0xd0321));import{DateTime as _0x19c4ab}from'luxon';function _0x342f(_0x1cf0e1,_0x1aeb77){const _0x431d99=_0x431d();return _0x342f=function(_0x342f95,_0x3abcf3){_0x342f95=_0x342f95-0x163;let _0x39857a=_0x431d99[_0x342f95];return _0x39857a;},_0x342f(_0x1cf0e1,_0x1aeb77);}import{CKEditorError as _0x175f48}from'ckeditor5/src/utils.js';function _0x431d(){const _0x4d37b9=['70liQwsx','diff','20073KZXSPm','dateTimeFormat','toJSDate','18TdTchw','346ZxlTWf','invalid-date-time-format','Yesterday','now','function','LL-dd-yyyy\x20hh:mma','346076nMwBTi','fromISO','Today','31245676fBuMUb','1061902IDdNmw','11017206TikJeP','EEEE','\x27Last\x27\x20EEEE\x20hh:mma','floor','hh:mma','fromJSDate','days','\x27Today\x27\x20hh:mma','10988856bBNXPJ','\x27Yesterday\x27\x20hh:mma','1686181GcGIzr','string','10RgMNWd','Last','toFormat'];_0x431d=function(){return _0x4d37b9;};return _0x431d();}import{getTranslation as _0x5d20d8}from'./common-translations.js';export function getDateTimeFormatter(_0x4787b0={},_0x3483b6){const _0x32218a=_0x342f;if(void 0x0!==_0x4787b0[_0x32218a(0x16b)]&&_0x32218a(0x172)!=typeof _0x4787b0[_0x32218a(0x16b)])throw new _0x175f48(_0x32218a(0x16f));return _0x359406=>{const _0x2f0f56=_0x32218a,_0x50f7fc=_0x2f0f56(0x164)==typeof _0x359406?_0x19c4ab[_0x2f0f56(0x175)](_0x359406):_0x19c4ab[_0x2f0f56(0x17e)](_0x359406),_0x4d9500=_0x19c4ab[_0x2f0f56(0x171)](),_0x4ddd29=Math[_0x2f0f56(0x17c)](_0x4d9500[_0x2f0f56(0x169)](_0x50f7fc,_0x2f0f56(0x17f))[_0x2f0f56(0x17f)]);return _0x4787b0[_0x2f0f56(0x16b)]?_0x4787b0[_0x2f0f56(0x16b)](_0x50f7fc[_0x2f0f56(0x16c)](),_0x3483b6&&_0x3483b6['t']?_0x3483b6['t']:void 0x0):0x0===_0x4ddd29?_0x3483b6?_0x5d20d8(_0x3483b6,_0x2f0f56(0x176))+'\x20'+_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x17d)):_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x180)):0x1===_0x4ddd29?_0x3483b6?_0x5d20d8(_0x3483b6,_0x2f0f56(0x170))+'\x20'+_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x17d)):_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x182)):_0x4ddd29<0x7?_0x3483b6?_0x5d20d8(_0x3483b6,_0x2f0f56(0x166))+'\x20'+_0x5d20d8(_0x3483b6,_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x17a)))+'\x20'+_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x17d)):_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x17b)):_0x50f7fc[_0x2f0f56(0x167)](_0x2f0f56(0x173));};}
|
@@ -9,7 +9,7 @@ import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
|
|
9
9
|
* @param editing Editing controller instance.
|
10
10
|
* @param marker Marker instance.
|
11
11
|
*/
|
12
|
-
export
|
12
|
+
export declare function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
|
13
13
|
/**
|
14
14
|
* Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
|
15
15
|
* Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
|