@ckeditor/ckeditor5-collaboration-core 42.0.2 → 43.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -101
- package/dist/index-content.css +49 -0
- package/dist/index-editor.css +23 -1
- package/dist/index.css +143 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/suggestions/view/ariadescriptionview.d.ts +27 -0
- package/dist/suggestions/view/latefocusbuttonview.d.ts +41 -0
- package/dist/suggestionstyles.d.ts +2 -0
- 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/az.js +1 -1
- package/dist/translations/az.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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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/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/dist/utils/confirmmixin.d.ts +5 -1
- package/dist/utils/confirmview.d.ts +20 -4
- package/dist/utils/hashobject.d.ts +1 -1
- package/dist/utils/sanitizeEditorConfig.d.ts +1 -1
- package/dist/utils/setupthreadkeyboardnavigation.d.ts +49 -0
- package/dist/utils/trim-html.d.ts +3 -0
- package/package.json +6 -5
- package/src/index.d.ts +4 -1
- package/src/index.js +1 -1
- package/src/permissions.js +1 -1
- package/src/suggestions/view/ariadescriptionview.d.ts +23 -0
- package/src/suggestions/view/ariadescriptionview.js +23 -0
- package/src/suggestions/view/latefocusbuttonview.d.ts +37 -0
- package/src/suggestions/view/latefocusbuttonview.js +23 -0
- package/src/suggestionstyles.d.ts +2 -0
- package/src/suggestionstyles.js +1 -1
- package/src/users/view/userview.js +1 -1
- package/src/users.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.d.ts +5 -1
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.d.ts +20 -4
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.js +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 +45 -0
- package/src/utils/setupthreadkeyboardnavigation.js +23 -0
- package/src/utils/surroundingmarkersdetector.js +1 -1
- package/src/utils/trim-html.d.ts +3 -0
- package/src/utils/trim-html.js +1 -1
- package/theme/ariadescription.css +12 -0
- package/theme/integrations/mergefields.css +67 -0
- package/theme/suggestion.css +29 -1
package/src/permissions.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2a2d23=_0x471f;(function(_0x202775,_0x5f44a5){const _0x1d44c3=_0x471f,_0x5eac7d=_0x202775();while(!![]){try{const _0x2e28a3=-parseInt(_0x1d44c3(0x178))/0x1*(parseInt(_0x1d44c3(0x17b))/0x2)+-parseInt(_0x1d44c3(0x17d))/0x3+-parseInt(_0x1d44c3(0x18d))/0x4*(parseInt(_0x1d44c3(0x180))/0x5)+parseInt(_0x1d44c3(0x18a))/0x6+-parseInt(_0x1d44c3(0x17a))/0x7*(-parseInt(_0x1d44c3(0x18e))/0x8)+parseInt(_0x1d44c3(0x189))/0x9*(-parseInt(_0x1d44c3(0x17f))/0xa)+parseInt(_0x1d44c3(0x16c))/0xb;if(_0x2e28a3===_0x5f44a5)break;else _0x5eac7d['push'](_0x5eac7d['shift']());}catch(_0x3b1c16){_0x5eac7d['push'](_0x5eac7d['shift']());}}}(_0xe1c9,0x82131));import{ContextPlugin as _0x9ab3e6,Editor as _0x100bd2}from'ckeditor5/src/core.js';function _0x471f(_0x1c47b1,_0x311ed1){const _0xe1c9b9=_0xe1c9();return _0x471f=function(_0x471f9d,_0x23c55f){_0x471f9d=_0x471f9d-0x168;let _0x4671c0=_0xe1c9b9[_0x471f9d];return _0x4671c0;},_0x471f(_0x1c47b1,_0x311ed1);}function _0xe1c9(){const _0x4fadff=['4356858xNLjyT','editors','CommentsRepository','4ZnfyeO','55912fjWcEI','comment:write','comment:modify_all','find','get','14973299bXnZYM','collaboration.channelId','commands','config','CommentsOnly','comment:admin','plugins','enableReadOnlyMode','disableReadOnlyMode','Permissions','no-permissions','pluginName','104087URykfB','has','875wCUoro','4IDbSdv','isEnabled','1892919NAywWh','context','40SZmxxK','2970045CPnVti','permissions-set-permissions-invalid-channel-id','noPermissions','clearForceDisabled','setPermissions','includes','document:write','addCommentThread','forceDisabled','2238831AkWGXN'];_0xe1c9=function(){return _0x4fadff;};return _0xe1c9();}import{CKEditorError as _0x259809}from'ckeditor5/src/utils.js';export default class n extends _0x9ab3e6{static get[_0x2a2d23(0x177)](){const _0x37f364=_0x2a2d23;return _0x37f364(0x175);}[_0x2a2d23(0x184)](_0x2e0542,_0x46ebdb){const _0x36e69e=_0x2a2d23;let _0x2256e4;if(_0x46ebdb||(_0x46ebdb=this[_0x36e69e(0x17e)][_0x36e69e(0x16f)][_0x36e69e(0x16b)](_0x36e69e(0x16d))),this[_0x36e69e(0x17e)][_0x36e69e(0x16f)][_0x36e69e(0x16b)](_0x36e69e(0x16d))==_0x46ebdb?_0x2256e4=this[_0x36e69e(0x17e)]:_0x36e69e(0x18b)in this[_0x36e69e(0x17e)]&&this[_0x36e69e(0x17e)][_0x36e69e(0x18b)]&&(_0x2256e4=this[_0x36e69e(0x17e)][_0x36e69e(0x18b)][_0x36e69e(0x16a)](_0x3e2ceb=>_0x3e2ceb[_0x36e69e(0x16f)][_0x36e69e(0x16b)](_0x36e69e(0x16d))==_0x46ebdb)),!_0x2256e4)throw new _0x259809(_0x36e69e(0x181),null);const _0x5ad258=_0x2256e4[_0x36e69e(0x172)],_0x53a285=_0x5ad258[_0x36e69e(0x179)](_0x36e69e(0x18c))?_0x5ad258[_0x36e69e(0x16b)](_0x36e69e(0x18c)):void 0x0,_0x164aa0=_0x5ad258[_0x36e69e(0x179)](_0x36e69e(0x170))&&_0x5ad258[_0x36e69e(0x16b)](_0x36e69e(0x170)),_0x4f34e1=_0x2e0542[_0x36e69e(0x185)](_0x36e69e(0x186)),_0x4bcbc5=_0x2e0542[_0x36e69e(0x185)](_0x36e69e(0x169)),_0x1af88b=_0x2e0542[_0x36e69e(0x185)](_0x36e69e(0x171)),_0x32d743=_0x2e0542[_0x36e69e(0x185)](_0x36e69e(0x168)),_0xa039f3=_0x32d743||_0x1af88b,_0x52e035=_0xa039f3||_0x4bcbc5,_0x40504a=_0x4f34e1||_0xa039f3;(_0x164aa0&&(_0x164aa0[_0x36e69e(0x17c)]=!_0x4f34e1&&_0x52e035),_0x2256e4 instanceof _0x100bd2)&&(!(_0x4f34e1||_0x52e035&&_0x53a285)?_0x2256e4[_0x36e69e(0x173)](_0x36e69e(0x176)):_0x2256e4[_0x36e69e(0x174)](_0x36e69e(0x176)));if(_0x53a285){_0x53a285[_0x36e69e(0x184)]({'admin':_0x1af88b,'modifyAll':_0x4bcbc5,'write':_0x32d743,'resolve':_0x40504a},_0x46ebdb);const _0x252786=_0x2256e4 instanceof _0x100bd2&&_0x2256e4[_0x36e69e(0x16e)][_0x36e69e(0x16b)](_0x36e69e(0x187));_0x252786&&(_0xa039f3?_0x252786[_0x36e69e(0x183)](_0x36e69e(0x182)):_0x252786[_0x36e69e(0x188)](_0x36e69e(0x182)));}}}
|
@@ -0,0 +1,23 @@
|
|
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
|
+
* @module collaboration-core/suggestions/view/ariadescriptionview
|
7
|
+
* @publicApi
|
8
|
+
*/
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
10
|
+
import { View } from 'ckeditor5/src/ui.js';
|
11
|
+
/**
|
12
|
+
* The view class (container) for a text referenced by a `aria-describedby` attribute.
|
13
|
+
*/
|
14
|
+
export default class AriaDescriptionView extends View {
|
15
|
+
readonly id: string;
|
16
|
+
/**
|
17
|
+
* Creates an instance of `AriaDescriptionView`.
|
18
|
+
*
|
19
|
+
* @param locale Locale instance.
|
20
|
+
* @param description Plaintext description of the element.
|
21
|
+
*/
|
22
|
+
constructor(locale: Locale, description: string);
|
23
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
function _0x3204(){var _0x62abfb=['ck-aria-description','2953088FdwhBZ','span','1742601klZLba','4005735gfDcnh','3840246DWrkan','ck-aria-description-','2mHyUhI','5040854HGSgtd','setTemplate','16087304vyNGWd','829767HKXwYE'];_0x3204=function(){return _0x62abfb;};return _0x3204();}(function(_0x4e9469,_0x4f09fa){var _0x7f9029=_0x2593,_0x45f4e9=_0x4e9469();while(!![]){try{var _0x21b786=parseInt(_0x7f9029(0x14d))/0x1+parseInt(_0x7f9029(0x149))/0x2*(-parseInt(_0x7f9029(0x145))/0x3)+parseInt(_0x7f9029(0x14f))/0x4+-parseInt(_0x7f9029(0x146))/0x5+-parseInt(_0x7f9029(0x147))/0x6+-parseInt(_0x7f9029(0x14a))/0x7+parseInt(_0x7f9029(0x14c))/0x8;if(_0x21b786===_0x4f09fa)break;else _0x45f4e9['push'](_0x45f4e9['shift']());}catch(_0x262ba2){_0x45f4e9['push'](_0x45f4e9['shift']());}}}(_0x3204,0xcc4a7));import{uid as _0x50e3b7}from'ckeditor5/src/utils.js';function _0x2593(_0x127dc9,_0xaf7f7){var _0x3204e2=_0x3204();return _0x2593=function(_0x2593ad,_0x1f2b86){_0x2593ad=_0x2593ad-0x145;var _0x5b0192=_0x3204e2[_0x2593ad];return _0x5b0192;},_0x2593(_0x127dc9,_0xaf7f7);}import{View as _0x5cff64}from'ckeditor5/src/ui.js';export default class G extends _0x5cff64{constructor(_0x11dd39,_0x27441d){var _0x3540d0=_0x2593;super(_0x11dd39),this['id']=_0x3540d0(0x148)+_0x50e3b7(),this[_0x3540d0(0x14b)]({'tag':_0x3540d0(0x150),'attributes':{'class':['ck',_0x3540d0(0x14e)],'id':this['id']},'children':[{'text':_0x27441d}]});}}
|
@@ -0,0 +1,37 @@
|
|
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
|
+
* @module collaboration-core/suggestions/view/latefocusbuttonview
|
7
|
+
* @publicApi
|
8
|
+
*/
|
9
|
+
import { ButtonView, DropdownButtonView } from 'ckeditor5/src/ui.js';
|
10
|
+
/**
|
11
|
+
* The view class representing a button that becomes focused on `mouseup` rather than on `mousedown`.
|
12
|
+
*
|
13
|
+
* This is to delay any "on focus" actions (like e.g. activating annotation) until the user released mouse down,
|
14
|
+
* so that button related actions happen before focus related actions.
|
15
|
+
*
|
16
|
+
* Also, see {@link module:collaboration-core/suggestions/view/latefocusbuttonview~LateFocusDropdownButtonView}.
|
17
|
+
*/
|
18
|
+
export declare class LateFocusButtonView extends ButtonView {
|
19
|
+
/**
|
20
|
+
* @inheritDoc
|
21
|
+
*/
|
22
|
+
render(): void;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* The view class representing a dropdown button that becomes focused on `mouseup` rather than on `mousedown`.
|
26
|
+
*
|
27
|
+
* This is to delay any "on focus" actions (like e.g. activating annotation) until the user released mouse key,
|
28
|
+
* so that button related actions happen before focus related actions.
|
29
|
+
*
|
30
|
+
* Also, see {@link module:collaboration-core/suggestions/view/latefocusbuttonview~LateFocusButtonView}.
|
31
|
+
*/
|
32
|
+
export declare class LateFocusDropdownButtonView extends DropdownButtonView {
|
33
|
+
/**
|
34
|
+
* @inheritDoc
|
35
|
+
*/
|
36
|
+
render(): void;
|
37
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
*
|
4
|
+
*
|
5
|
+
*
|
6
|
+
*
|
7
|
+
* +---------------------------------------------------------------------------------+
|
8
|
+
* | |
|
9
|
+
* | Hello stranger! |
|
10
|
+
* | |
|
11
|
+
* | |
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
15
|
+
* | |
|
16
|
+
* | |
|
17
|
+
* +---------------------------------------------------------------------------------+
|
18
|
+
*
|
19
|
+
*
|
20
|
+
*
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
var _0x2fc216=_0x4707;(function(_0x15571f,_0x1b5d59){var _0x308111=_0x4707,_0x6f949a=_0x15571f();while(!![]){try{var _0x363da9=-parseInt(_0x308111(0x19f))/0x1*(parseInt(_0x308111(0x194))/0x2)+-parseInt(_0x308111(0x18f))/0x3*(parseInt(_0x308111(0x19e))/0x4)+parseInt(_0x308111(0x19b))/0x5+parseInt(_0x308111(0x191))/0x6*(-parseInt(_0x308111(0x198))/0x7)+-parseInt(_0x308111(0x1a0))/0x8*(-parseInt(_0x308111(0x196))/0x9)+-parseInt(_0x308111(0x19c))/0xa*(parseInt(_0x308111(0x18e))/0xb)+parseInt(_0x308111(0x19a))/0xc;if(_0x363da9===_0x1b5d59)break;else _0x6f949a['push'](_0x6f949a['shift']());}catch(_0x4611c2){_0x6f949a['push'](_0x6f949a['shift']());}}}(_0x39fe,0x1bd8e));function _0x4707(_0x3fe76f,_0x53b066){var _0x39fedd=_0x39fe();return _0x4707=function(_0x47077e,_0x58c881){_0x47077e=_0x47077e-0x18d;var _0x91df13=_0x39fedd[_0x47077e];return _0x91df13;},_0x4707(_0x3fe76f,_0x53b066);}import{ButtonView as _0x268f34,DropdownButtonView as _0x3d844e}from'ckeditor5/src/ui.js';export class LateFocusButtonView extends _0x268f34{[_0x2fc216(0x19d)](){var _0x102230=_0x2fc216;super[_0x102230(0x19d)](),V(this);}}export class LateFocusDropdownButtonView extends _0x3d844e{[_0x2fc216(0x19d)](){var _0x3a8f77=_0x2fc216;super[_0x3a8f77(0x19d)](),V(this);}}function V(_0x3181d7){var _0x2fb9ab=_0x2fc216;_0x3181d7[_0x2fb9ab(0x192)](_0x3181d7[_0x2fb9ab(0x18d)],_0x2fb9ab(0x195),(_0x2b3422,_0x45c95f)=>{var _0xf916ab=_0x2fb9ab;_0x45c95f[_0xf916ab(0x199)](),_0x45c95f[_0xf916ab(0x190)]();}),_0x3181d7[_0x2fb9ab(0x192)](_0x3181d7[_0x2fb9ab(0x18d)],_0x2fb9ab(0x197),()=>{var _0x2a1057=_0x2fb9ab;_0x3181d7[_0x2a1057(0x18d)][_0x2a1057(0x193)]();});}function _0x39fe(){var _0x47d0c4=['133146gJGgbD','mouseup','7WUmYFA','stopPropagation','4573848PmtpNP','249705zhVqNm','990hoQssl','render','4xQkdgj','180805QEDShS','104WZeLEI','element','16060JyxgpU','28734BFpeQA','preventDefault','1046592ZBkNzC','listenTo','focus','2ENWQbM','mousedown'];_0x39fe=function(){return _0x47d0c4;};return _0x39fe();}
|
@@ -4,9 +4,11 @@
|
|
4
4
|
*/
|
5
5
|
import '../theme/suggestion.css';
|
6
6
|
import '../theme/suggestionmarker.css';
|
7
|
+
import '../theme/ariadescription.css';
|
7
8
|
import '../theme/integrations/image.css';
|
8
9
|
import '../theme/integrations/horizontalline.css';
|
9
10
|
import '../theme/integrations/mediaembed.css';
|
11
|
+
import '../theme/integrations/mergefields.css';
|
10
12
|
import '../theme/integrations/pagebreak.css';
|
11
13
|
import '../theme/integrations/table.css';
|
12
14
|
import '../theme/integrations/codeblock.css';
|
package/src/suggestionstyles.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0xdc3125,_0x429dc6){var _0x4c3a53=_0x520c,_0x471144=_0xdc3125();while(!![]){try{var _0x5c4d7c=parseInt(_0x4c3a53(0x152))/0x1*(parseInt(_0x4c3a53(0x155))/0x2)+parseInt(_0x4c3a53(0x157))/0x3*(-parseInt(_0x4c3a53(0x153))/0x4)+-parseInt(_0x4c3a53(0x158))/0x5+parseInt(_0x4c3a53(0x15a))/0x6+-parseInt(_0x4c3a53(0x15b))/0x7*(parseInt(_0x4c3a53(0x154))/0x8)+-parseInt(_0x4c3a53(0x156))/0x9*(-parseInt(_0x4c3a53(0x15d))/0xa)+-parseInt(_0x4c3a53(0x15c))/0xb*(parseInt(_0x4c3a53(0x159))/0xc);if(_0x5c4d7c===_0x429dc6)break;else _0x471144['push'](_0x471144['shift']());}catch(_0x23762b){_0x471144['push'](_0x471144['shift']());}}}(_0x1cea,0x1b57f));import'../theme/suggestion.css';import'../theme/suggestionmarker.css';import'../theme/ariadescription.css';function _0x1cea(){var _0x59c0db=['21ktGiSk','52426nlFyRY','17310yZWpjM','23MifTRW','9092XXfRiK','400584tWEfTO','11660ejySNn','459rhoMdG','6ftlmdL','454040pvzfRr','24SfHdVd','868398nYABAh'];_0x1cea=function(){return _0x59c0db;};return _0x1cea();}function _0x520c(_0x517640,_0x4d3eef){var _0x1cea3f=_0x1cea();return _0x520c=function(_0x520c24,_0x5ea3e3){_0x520c24=_0x520c24-0x152;var _0xa1eb8c=_0x1cea3f[_0x520c24];return _0xa1eb8c;},_0x520c(_0x517640,_0x4d3eef);}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';import'../theme/integrations/codeblock.css';
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x54d168,_0x43d64e){const _0x192989=_0x1037,_0x5d4ce6=_0x54d168();while(!![]){try{const _0x33cffe=parseInt(_0x192989(0xd7))/0x1*(-parseInt(_0x192989(0xc6))/0x2)+parseInt(_0x192989(0xc7))/0x3*(parseInt(_0x192989(0xe2))/0x4)+parseInt(_0x192989(0xcc))/0x5*(-parseInt(_0x192989(0xca))/0x6)+-parseInt(_0x192989(0xd6))/0x7+-parseInt(_0x192989(0xdd))/0x8*(parseInt(_0x192989(0xd1))/0x9)+parseInt(_0x192989(0xcb))/0xa*(parseInt(_0x192989(0xce))/0xb)+parseInt(_0x192989(0xde))/0xc;if(_0x33cffe===_0x43d64e)break;else _0x5d4ce6['push'](_0x5d4ce6['shift']());}catch(_0x46a123){_0x5d4ce6['push'](_0x5d4ce6['shift']());}}}(_0x241a,0x5b647));function _0x241a(){const _0x1e0531=['extendTemplate','ck\x20ck-user__name','6120sgbvkc','avatar','ck-user__avatar','isMe','setTemplate','1159235ILZkcP','6CpBAwK','ck-user__img','ck-user__notification','notificationView','ck-user__anonymous','name','6112MQcpNb','697056OCVmLs','div','ck-user_me','ck-user','12hAYuaq','initials','content','push','ck-user__icon','23226aVtVxf','673818PAEpCi','ck\x20ck-user__name\x20ck-user__name--hidden','isAnonymous','6VFwJfA','30ObQjyM','516865DnrtuF','url(\x27','1835581wWavAv'];_0x241a=function(){return _0x1e0531;};return _0x241a();}import{View as _0x439391,IconView as _0x351a29}from'ckeditor5/src/ui.js';import _0x206b63 from'../../../theme/icons/notification.svg';function _0x1037(_0x295130,_0x21c0ba){const _0x241a03=_0x241a();return _0x1037=function(_0x103761,_0x63e542){_0x103761=_0x103761-0xc2;let _0x47ab1b=_0x241a03[_0x103761];return _0x47ab1b;},_0x1037(_0x295130,_0x21c0ba);}import'../../../theme/users.css';export default class J extends _0x439391{constructor(_0x1b6bcc,_0x321e0d,_0x4b37c0){const _0x252e5c=_0x1037;super(_0x1b6bcc),this[_0x252e5c(0xdc)]=_0x321e0d[_0x252e5c(0xdc)],this[_0x252e5c(0xda)]=null;const _0x5ce48f=['ck',_0x252e5c(0xe1)],_0x2320ba=['ck',_0x252e5c(0xd8)];if(_0x321e0d[_0x252e5c(0xc9)]&&_0x2320ba[_0x252e5c(0xc4)](_0x252e5c(0xdb)),!_0x321e0d[_0x252e5c(0xc9)]&&_0x321e0d[_0x252e5c(0xd4)]&&_0x5ce48f[_0x252e5c(0xc4)](_0x252e5c(0xe0)),_0x321e0d[_0x252e5c(0xd2)]&&_0x2320ba[_0x252e5c(0xc4)](_0x252e5c(0xd3)),_0x4b37c0){const _0x36f48b=new _0x351a29();_0x36f48b[_0x252e5c(0xcf)]({'attributes':{'class':[_0x252e5c(0xc5)]}}),_0x36f48b[_0x252e5c(0xc3)]=_0x206b63,this[_0x252e5c(0xda)]={'tag':_0x252e5c(0xdf),'attributes':{'class':['ck',_0x252e5c(0xd9)],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4b37c0},'children':[_0x36f48b]};}const _0x8c5a67=[{'tag':_0x252e5c(0xdf),'attributes':{'class':_0x2320ba,'style':{'background-image':_0x321e0d[_0x252e5c(0xd2)]?_0x252e5c(0xcd)+_0x321e0d[_0x252e5c(0xd2)]+'\x27)':''}}},{'tag':_0x252e5c(0xdf),'attributes':{'class':_0x321e0d[_0x252e5c(0xd2)]?_0x252e5c(0xc8):_0x252e5c(0xd0),'aria-label':_0x321e0d[_0x252e5c(0xdc)]},'children':[{'text':_0x321e0d[_0x252e5c(0xc2)]}]}];this[_0x252e5c(0xda)]&&_0x8c5a67[_0x252e5c(0xc4)](this[_0x252e5c(0xda)]),this[_0x252e5c(0xd5)]({'tag':_0x252e5c(0xdf),'attributes':{'class':_0x5ce48f,'data-user-id':_0x321e0d['id']},'children':_0x8c5a67});}}
|
package/src/users.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
function _0x2912(_0x186d6f,_0x47d154){const _0x5e10a3=_0x5e10();return _0x2912=function(_0x291239,_0x42cb8d){_0x291239=_0x291239-0xb3;let _0x31dd9d=_0x5e10a3[_0x291239];return _0x31dd9d;},_0x2912(_0x186d6f,_0x47d154);}const _0x144b4a=_0x2912;(function(_0x2db5c4,_0x254963){const _0xf8d878=_0x2912,_0x5568d9=_0x2db5c4();while(!![]){try{const _0x8525ad=parseInt(_0xf8d878(0xb7))/0x1+parseInt(_0xf8d878(0xe6))/0x2+-parseInt(_0xf8d878(0xc5))/0x3+parseInt(_0xf8d878(0xde))/0x4+parseInt(_0xf8d878(0xb8))/0x5+-parseInt(_0xf8d878(0xf3))/0x6*(-parseInt(_0xf8d878(0xec))/0x7)+parseInt(_0xf8d878(0xea))/0x8*(-parseInt(_0xf8d878(0xe1))/0x9);if(_0x8525ad===_0x254963)break;else _0x5568d9['push'](_0x5568d9['shift']());}catch(_0x4e88ec){_0x5568d9['push'](_0x5568d9['shift']());}}}(_0x5e10,0x3e593));import{ContextPlugin as _0xcceb7d}from'ckeditor5/src/core.js';import{Collection as _0x1027cf,CKEditorError as _0x3fe17e}from'ckeditor5/src/utils.js';import _0x326488 from'./permissions.js';import{getTranslation as _0x288ec5}from'./utils/common-translations.js';function _0x5e10(){const _0x27b566=['isMe','info','ck-user__marker--','addUser','has','string','requires','Anonymous','getOperationAuthor','718302AeXmHj','users.colorsCount','length','Users','destroy','users-me-already-defined','_getNextColor','users-add-invalid-id','init','getSelectionClass','licenseKeyValid','avatar','trim','ck-user__bg-color--','defineMe','licenseKey','getUser','toUpperCase','licenseKeyInvalid','includes','locale','config','trial-license-key-reached-limit-changes','_getInitial','_locale','1608816dCRsYr','ck-user__selection--','pluginName','2097RyWSEu','users-me-missing-user','useAnonymousUser','get','users.anonymousUserId','42848hPtyFB','users-add-duplicated-id','split','getMarkerClass','28552lBabym','anonymous-user','42WZDYPm','_id','trial-license-key-reached-limit-time','add','_lastColor','_myId','trial-license-key-reached-limit-revisions','390924nFCIQG','licenseKeyTrialLimit:operations','isAnonymous','context','users','define','_licenseKeyCheckInterval','_isAnonymous','licenseKeyTrialLimit:revisions','decorate','invalid-license-key','name','_isMe','color','charAt','_addAnonymousUser','getBackgroundColorClass','initials','403456kYGefg','541910OgZsSy','licenseKeyTrialLimit:time','licenseKeyTrial','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'];_0x5e10=function(){return _0x27b566;};return _0x5e10();}import'../theme/usercolors.css';export default class l extends _0xcceb7d{static get[_0x144b4a(0xe0)](){const _0x3e40c6=_0x144b4a;return _0x3e40c6(0xc8);}static get[_0x144b4a(0xc2)](){return[_0x326488];}constructor(_0x20caaf){const _0x2340f7=_0x144b4a;super(_0x20caaf),this[_0x2340f7(0xf6)][_0x2340f7(0xda)][_0x2340f7(0xf8)](_0x2340f7(0xe5),_0x2340f7(0xeb)),this[_0x2340f7(0xf6)][_0x2340f7(0xda)][_0x2340f7(0xf8)](_0x2340f7(0xc6),0x8),this[_0x2340f7(0xf7)]=new _0x1027cf(),this[_0x2340f7(0xdd)]=_0x20caaf[_0x2340f7(0xd9)],this[_0x2340f7(0xf9)]=null,this[_0x2340f7(0xf0)]=0x0,this[_0x2340f7(0xf1)]=null,this[_0x2340f7(0xfc)](_0x2340f7(0xc4));}[_0x144b4a(0xcd)](){const _0x5b29ed=_0x144b4a,_0x143b15=this[_0x5b29ed(0xf6)];this[_0x5b29ed(0xd4)]=_0x143b15[_0x5b29ed(0xda)][_0x5b29ed(0xe4)](_0x5b29ed(0xd4));const _0x3358af=[_0x5b29ed(0xba),_0x5b29ed(0xd7),_0x5b29ed(0xcf),_0x5b29ed(0xf4),_0x5b29ed(0xb9),_0x5b29ed(0xfb)];this[_0x5b29ed(0xf9)]=setInterval(()=>{const _0x427dbe=_0x5b29ed;let _0x883da6;for(const _0x4d2752 in _0x143b15){const _0x26f041=_0x143b15[_0x4d2752];if(_0x3358af[_0x427dbe(0xd8)](_0x26f041)){delete _0x143b15[_0x4d2752],_0x883da6=_0x26f041;break;}}if(_0x427dbe(0xd7)===_0x883da6)throw clearInterval(this[_0x427dbe(0xf9)]),new _0x3fe17e(_0x427dbe(0xfd),null);if(_0x427dbe(0xba)===_0x883da6&&console[_0x427dbe(0xbd)](_0x427dbe(0xbb)),_0x427dbe(0xf4)===_0x883da6)throw clearInterval(this[_0x427dbe(0xf9)]),new _0x3fe17e(_0x427dbe(0xdb),null);if(_0x427dbe(0xb9)===_0x883da6)throw clearInterval(this[_0x427dbe(0xf9)]),new _0x3fe17e(_0x427dbe(0xee),null);if(_0x427dbe(0xfb)===_0x883da6)throw clearInterval(this[_0x427dbe(0xf9)]),new _0x3fe17e(_0x427dbe(0xf2),null);_0x427dbe(0xcf)===_0x883da6&&clearInterval(this[_0x427dbe(0xf9)]);},0x3e8),this[_0x5b29ed(0xb4)]();}get['me'](){const _0x42b5f0=_0x144b4a;return null==this[_0x42b5f0(0xf1)]?null:this[_0x42b5f0(0xd5)](this[_0x42b5f0(0xf1)]);}[_0x144b4a(0xbf)]({id:_0x14e79c,name:_0x295757,..._0x2421a9}){const _0x47897d=_0x144b4a;if(!_0x14e79c||_0x47897d(0xc1)!=typeof _0x14e79c)throw new _0x3fe17e(_0x47897d(0xcc));if(this[_0x47897d(0xf7)][_0x47897d(0xc0)](_0x14e79c))throw new _0x3fe17e(_0x47897d(0xe7),null,{'id':_0x14e79c});const _0x3b5f4a={..._0x2421a9,'id':_0x14e79c,'name':a(this[_0x47897d(0xdd)],_0x295757),'color':this[_0x47897d(0xcb)]()};_0x3b5f4a[_0x47897d(0xfe)]=a(this[_0x47897d(0xdd)],_0x3b5f4a[_0x47897d(0xfe)]);const _0x58f330=new User(_0x3b5f4a);return this[_0x47897d(0xf7)][_0x47897d(0xef)](_0x58f330),_0x58f330;}[_0x144b4a(0xd5)](_0x59b2e2){const _0x64d96e=_0x144b4a;return this[_0x64d96e(0xf7)][_0x64d96e(0xe4)](_0x59b2e2);}[_0x144b4a(0xe3)](){const _0x4264f7=_0x144b4a,_0x26638a=this[_0x4264f7(0xf6)][_0x4264f7(0xda)][_0x4264f7(0xe4)](_0x4264f7(0xe5));this[_0x4264f7(0xf1)]||this[_0x4264f7(0xd3)](_0x26638a);}[_0x144b4a(0xd3)](_0x2123c7){const _0x3e4605=_0x144b4a;if(this[_0x3e4605(0xf1)])throw new _0x3fe17e(_0x3e4605(0xca),null);const _0x4376c2=this[_0x3e4605(0xd5)](_0x2123c7);if(!_0x4376c2)throw new _0x3fe17e(_0x3e4605(0xe2),null);this[_0x3e4605(0xf1)]=_0x2123c7,_0x4376c2[_0x3e4605(0xff)]=!0x0;}[_0x144b4a(0xc4)](){return this['me'];}[_0x144b4a(0xc9)](){const _0xae8534=_0x144b4a;super[_0xae8534(0xc9)](),clearInterval(this[_0xae8534(0xf9)]);}[_0x144b4a(0xcb)](){const _0x5ad577=_0x144b4a,_0xd700d9=this[_0x5ad577(0xf6)][_0x5ad577(0xda)][_0x5ad577(0xe4)](_0x5ad577(0xc6));return this[_0x5ad577(0xf0)]>=_0xd700d9&&(this[_0x5ad577(0xf0)]=0x0),new u(this[_0x5ad577(0xf0)]++);}[_0x144b4a(0xb4)](){const _0x172b82=_0x144b4a,_0x1d62ce=this[_0x172b82(0xf6)][_0x172b82(0xda)][_0x172b82(0xe4)](_0x172b82(0xe5));this[_0x172b82(0xbf)]({'id':_0x1d62ce,'name':_0x288ec5(this[_0x172b82(0xdd)],_0x172b82(0xc3))})[_0x172b82(0xfa)]=!0x0;}}export class User{constructor(_0x4d5ec2){const _0x55a5e8=_0x144b4a;this['id']=_0x4d5ec2['id'],this[_0x55a5e8(0x100)]=_0x4d5ec2[_0x55a5e8(0x100)],this[_0x55a5e8(0xfe)]=_0x4d5ec2[_0x55a5e8(0xfe)],this[_0x55a5e8(0xd0)]=_0x4d5ec2[_0x55a5e8(0xd0)],this[_0x55a5e8(0xfa)]=!0x1,this[_0x55a5e8(0xff)]=!0x1;}get[_0x144b4a(0xf5)](){const _0x574fc6=_0x144b4a;return this[_0x574fc6(0xfa)];}get[_0x144b4a(0xbc)](){const _0x148d06=_0x144b4a;return this[_0x148d06(0xff)];}get[_0x144b4a(0xb6)](){const _0x46d986=_0x144b4a,_0x11f6e9=this[_0x46d986(0xfe)][_0x46d986(0xe8)]('\x20');return 0x1===_0x11f6e9[_0x46d986(0xc7)]?this[_0x46d986(0xdc)](_0x11f6e9[0x0]):this[_0x46d986(0xdc)](_0x11f6e9[0x0])+this[_0x46d986(0xdc)](_0x11f6e9[_0x11f6e9[_0x46d986(0xc7)]-0x1]);}[_0x144b4a(0xdc)](_0x1720ac){const _0x26eb3d=_0x144b4a;return _0x1720ac[_0x26eb3d(0xb3)](0x0)[_0x26eb3d(0xd6)]();}}function a(_0x577f3c,_0x413bbe=''){const _0x18de90=_0x144b4a;return''==(_0x413bbe=_0x413bbe[_0x18de90(0xd1)]())?_0x288ec5(_0x577f3c,_0x18de90(0xc3)):_0x413bbe;}class u{constructor(_0x2ffd91){const _0x47c07e=_0x144b4a;this[_0x47c07e(0xed)]=_0x2ffd91;}[_0x144b4a(0xb5)](){const _0x172ec5=_0x144b4a;return _0x172ec5(0xd2)+this[_0x172ec5(0xed)];}[_0x144b4a(0xce)](){const _0xd0f0fc=_0x144b4a;return _0xd0f0fc(0xdf)+this[_0xd0f0fc(0xed)];}[_0x144b4a(0xe9)](){const _0x1680c1=_0x144b4a;return _0x1680c1(0xbe)+this[_0x1680c1(0xed)];}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
export function getTranslation(
|
23
|
+
export function getTranslation(_0x84b382,_0x201ce8){const t=_0x84b382['t'];switch(_0x201ce8){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');default:return'';}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
|
-
* @module
|
6
|
+
* @module collaboration-core/utils/confirmmixin
|
7
7
|
*/
|
8
8
|
import type { View } from 'ckeditor5/src/ui.js';
|
9
9
|
import type { Locale, Mixed } from 'ckeditor5/src/utils.js';
|
@@ -18,3 +18,7 @@ export interface ConfirmApi {
|
|
18
18
|
showConfirm(message: string, element: Element): Promise<unknown>;
|
19
19
|
cancelConfirm(): void;
|
20
20
|
}
|
21
|
+
export type RemoveConfirmEvent = {
|
22
|
+
name: 'removeConfirm';
|
23
|
+
args: [];
|
24
|
+
};
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x15418e,_0x578b49){var _0x4af280=_0x524a,_0x3c8129=_0x15418e();while(!![]){try{var _0x4f951f=parseInt(_0x4af280(0x19e))/0x1*(-parseInt(_0x4af280(0x1a8))/0x2)+parseInt(_0x4af280(0x19f))/0x3+parseInt(_0x4af280(0x191))/0x4+-parseInt(_0x4af280(0x190))/0x5*(-parseInt(_0x4af280(0x196))/0x6)+-parseInt(_0x4af280(0x18f))/0x7+parseInt(_0x4af280(0x195))/0x8*(parseInt(_0x4af280(0x1ab))/0x9)+-parseInt(_0x4af280(0x19b))/0xa*(parseInt(_0x4af280(0x18e))/0xb);if(_0x4f951f===_0x578b49)break;else _0x3c8129['push'](_0x3c8129['shift']());}catch(_0xb8ebc0){_0x3c8129['push'](_0x3c8129['shift']());}}}(_0x9895,0x82377));import _0x5f3e68 from'./confirmview.js';function _0x524a(_0x2d03ca,_0x17f0f5){var _0x989549=_0x9895();return _0x524a=function(_0x524aa7,_0x1b82f1){_0x524aa7=_0x524aa7-0x18c;var _0x539df9=_0x989549[_0x524aa7];return _0x539df9;},_0x524a(_0x2d03ca,_0x17f0f5);}function _0x9895(){var _0x52f2c4=['appendChild','isConfirm','324iDcGbt','message','removeConfirm','11atRTXB','2786287EmmCnS','35TeUGly','1401244sCWTvH','locale','registerChild','cancelConfirm','127272YXppMh','174210ZXUKTt','render','_removeConfirm','element','confirmView','2133830HlsLis','set','remove','405117XPWNGY','2486235vWtJrL','fire','showConfirm','cancel','once','submit','focus','destroy','deregisterChild','4mMAjSR'];_0x9895=function(){return _0x52f2c4;};return _0x9895();}export default function m(_0x58e343){var _0x27cfdd=_0x524a;return class extends _0x58e343{[_0x27cfdd(0x1a1)](_0x201a11,_0x42d890){var _0xb8dc52=_0x27cfdd;return this[_0xb8dc52(0x19a)]=new _0x5f3e68(this[_0xb8dc52(0x192)]),this[_0xb8dc52(0x19a)][_0xb8dc52(0x197)](),this[_0xb8dc52(0x19a)][_0xb8dc52(0x18c)]=_0x201a11,this[_0xb8dc52(0x19a)][_0xb8dc52(0x1a3)](_0xb8dc52(0x1a2),()=>{var _0x2167e2=_0xb8dc52;this[_0x2167e2(0x198)]();}),this[_0xb8dc52(0x19a)][_0xb8dc52(0x1a3)](_0xb8dc52(0x1a4),()=>{var _0x82b5e7=_0xb8dc52;this[_0x82b5e7(0x198)]();}),_0x42d890[_0xb8dc52(0x1a9)](this[_0xb8dc52(0x19a)][_0xb8dc52(0x199)]),this[_0xb8dc52(0x193)](this[_0xb8dc52(0x19a)]),this[_0xb8dc52(0x19a)][_0xb8dc52(0x1a5)](),this[_0xb8dc52(0x19c)](_0xb8dc52(0x1aa),!0x0),new Promise(_0x2426a6=>this[_0xb8dc52(0x19a)]['on'](_0xb8dc52(0x1a4),_0x2426a6));}[_0x27cfdd(0x194)](){var _0x2b9739=_0x27cfdd;this[_0x2b9739(0x1aa)]&&this[_0x2b9739(0x19a)][_0x2b9739(0x1a0)](_0x2b9739(0x1a2));}[_0x27cfdd(0x198)](){var _0x30dc57=_0x27cfdd;this[_0x30dc57(0x199)]&&this[_0x30dc57(0x19a)]&&this[_0x30dc57(0x19a)][_0x30dc57(0x199)]&&(this[_0x30dc57(0x199)][_0x30dc57(0x1a5)](),this[_0x30dc57(0x19a)][_0x30dc57(0x199)][_0x30dc57(0x19d)](),this[_0x30dc57(0x1a7)](this[_0x30dc57(0x19a)]),this[_0x30dc57(0x1aa)]=!0x1,this[_0x30dc57(0x1a0)](_0x30dc57(0x18d)),this[_0x30dc57(0x19a)][_0x30dc57(0x1a6)](),this[_0x30dc57(0x19a)]=void 0x0);}};}
|
@@ -3,11 +3,27 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
|
-
* @module
|
6
|
+
* @module collaboration-core/utils/confirmview
|
7
7
|
*/
|
8
|
-
import { View } from 'ckeditor5/src/ui.js';
|
9
|
-
import type
|
10
|
-
export default class ConfirmView extends View {
|
8
|
+
import { View, type FocusableView } from 'ckeditor5/src/ui.js';
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
10
|
+
export default class ConfirmView extends View implements FocusableView {
|
11
11
|
message: string;
|
12
12
|
constructor(locale: Locale);
|
13
|
+
/**
|
14
|
+
* @inheritDoc
|
15
|
+
*/
|
16
|
+
render(): void;
|
17
|
+
/**
|
18
|
+
* @inheritDoc
|
19
|
+
*/
|
20
|
+
focus(): void;
|
13
21
|
}
|
22
|
+
export type ConfirmViewCancelEvent = {
|
23
|
+
name: 'cancel';
|
24
|
+
args: [];
|
25
|
+
};
|
26
|
+
export type ConfirmViewSubmitEvent = {
|
27
|
+
name: 'submit';
|
28
|
+
args: [];
|
29
|
+
};
|
package/src/utils/confirmview.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
function
|
23
|
+
const _0x29bb7c=_0xc858;function _0xc858(_0x3f11ee,_0x11fbd1){const _0x32d07a=_0x32d0();return _0xc858=function(_0xc8587a,_0x239fe4){_0xc8587a=_0xc8587a-0x148;let _0x1b76ed=_0x32d07a[_0xc8587a];return _0x1b76ed;},_0xc858(_0x3f11ee,_0x11fbd1);}(function(_0x52e1b0,_0x52a117){const _0x5bdff1=_0xc858,_0x132bc6=_0x52e1b0();while(!![]){try{const _0x3cfea9=parseInt(_0x5bdff1(0x150))/0x1+parseInt(_0x5bdff1(0x175))/0x2*(parseInt(_0x5bdff1(0x15d))/0x3)+parseInt(_0x5bdff1(0x154))/0x4*(-parseInt(_0x5bdff1(0x151))/0x5)+-parseInt(_0x5bdff1(0x14e))/0x6+-parseInt(_0x5bdff1(0x14c))/0x7+parseInt(_0x5bdff1(0x14f))/0x8*(-parseInt(_0x5bdff1(0x15c))/0x9)+parseInt(_0x5bdff1(0x159))/0xa;if(_0x3cfea9===_0x52a117)break;else _0x132bc6['push'](_0x132bc6['shift']());}catch(_0x20c302){_0x132bc6['push'](_0x132bc6['shift']());}}}(_0x32d0,0x68afc));import{View as _0x2b04f6,ButtonView as _0x2ce350,FocusCycler as _0xfcb3a8}from'ckeditor5/src/ui.js';function _0x32d0(){const _0x5e8aef=['62bUjGgf','listenTo','_setupKeyboardNavigation','ck-thread__remove-confirm','cancel','submit','ck-thread__remove-confirm-','extendTemplate','4294388rUBiAE','label','1703634uEBkhF','8776rrNkBQ','566780VKXhCT','30kHunhj','execute','_createButtonView','443908RAxPUf','cancelView','set','icon','focusables','9190790MyOOyz','focus','bindTemplate','1773ZAAvLU','69903pEGRgo','ck-thread__remove-confirm-actions','tab','check','add','shift+tab','ck-thread__remove-confirm-inner','submitView','focusTracker','render','Are\x20you\x20sure?','div','keystrokes','presentation','forEach','alertdialog','createCollection','fire','message','Yes','element','esc','setTemplate','focusCycler'];_0x32d0=function(){return _0x5e8aef;};return _0x32d0();}import{icons as _0x29ee67}from'ckeditor5/src/core.js';import{FocusTracker as _0x123ce9,KeystrokeHandler as _0x220277}from'ckeditor5/src/utils.js';import{getTranslation as _0x5667df}from'./common-translations.js';export default class h extends _0x2b04f6{constructor(_0x3c6231){const _0x5982ef=_0xc858;super(_0x3c6231);const _0x461762=this[_0x5982ef(0x15b)];this[_0x5982ef(0x156)](_0x5982ef(0x16f),_0x5667df(_0x3c6231,_0x5982ef(0x167))),this[_0x5982ef(0x164)]=this[_0x5982ef(0x153)](_0x3c6231,_0x5667df(_0x3c6231,_0x5982ef(0x170)),_0x29ee67[_0x5982ef(0x160)],_0x5982ef(0x149)),this[_0x5982ef(0x155)]=this[_0x5982ef(0x153)](_0x3c6231,_0x5667df(_0x3c6231,'No'),_0x29ee67[_0x5982ef(0x148)],_0x5982ef(0x148)),this[_0x5982ef(0x158)]=this[_0x5982ef(0x16d)]([this[_0x5982ef(0x164)],this[_0x5982ef(0x155)]]),this[_0x5982ef(0x165)]=new _0x123ce9(),this[_0x5982ef(0x169)]=new _0x220277(),this[_0x5982ef(0x174)]=new _0xfcb3a8({'focusables':this[_0x5982ef(0x158)],'focusTracker':this[_0x5982ef(0x165)],'keystrokeHandler':this[_0x5982ef(0x169)],'actions':{'focusPrevious':_0x5982ef(0x162),'focusNext':_0x5982ef(0x15f)}}),this[_0x5982ef(0x173)]({'tag':_0x5982ef(0x168),'attributes':{'class':['ck',_0x5982ef(0x178)],'tabindex':-0x1,'role':_0x5982ef(0x16c)},'children':[{'tag':_0x5982ef(0x168),'attributes':{'class':_0x5982ef(0x163),'role':_0x5982ef(0x16a)},'children':[{'tag':'p','children':[{'text':_0x461762['to'](_0x5982ef(0x16f))}]},{'tag':_0x5982ef(0x168),'attributes':{'class':_0x5982ef(0x15e)},'children':[this[_0x5982ef(0x164)],this[_0x5982ef(0x155)]]}]}]});}[_0x29bb7c(0x166)](){const _0x509cd9=_0x29bb7c;super[_0x509cd9(0x166)](),this[_0x509cd9(0x177)]();}[_0x29bb7c(0x15a)](){const _0x581d88=_0x29bb7c;this[_0x581d88(0x155)][_0x581d88(0x171)][_0x581d88(0x15a)]({'preventScroll':!0x0});}[_0x29bb7c(0x153)](_0x57e903,_0x4d4e43,_0x1d2ece,_0x21d0b7){const _0x445b47=_0x29bb7c,_0x2fec5d=new _0x2ce350(_0x57e903);return _0x2fec5d[_0x445b47(0x14d)]=_0x4d4e43,_0x2fec5d[_0x445b47(0x157)]=_0x1d2ece,_0x2fec5d[_0x445b47(0x14b)]({'attributes':{'class':_0x445b47(0x14a)+_0x21d0b7}}),_0x2fec5d['on'](_0x445b47(0x152),()=>this[_0x445b47(0x16e)](_0x21d0b7)),_0x2fec5d;}[_0x29bb7c(0x177)](){const _0x2d4a1f=_0x29bb7c;this[_0x2d4a1f(0x158)][_0x2d4a1f(0x16b)](_0x3ebd3d=>{const _0xf2a11d=_0x2d4a1f;this[_0xf2a11d(0x169)][_0xf2a11d(0x176)](_0x3ebd3d[_0xf2a11d(0x171)]),this[_0xf2a11d(0x165)][_0xf2a11d(0x161)](_0x3ebd3d[_0xf2a11d(0x171)]);}),this[_0x2d4a1f(0x169)][_0x2d4a1f(0x156)](_0x2d4a1f(0x172),(_0x56f18c,_0x10c31f)=>{const _0x25d613=_0x2d4a1f;this[_0x25d613(0x16e)](_0x25d613(0x148)),_0x10c31f();});}}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x24808e,_0x1f9dea){const _0x26714a=_0x66fc,_0x344c08=_0x24808e();while(!![]){try{const _0x1266d2=parseInt(_0x26714a(0x19a))/0x1*(parseInt(_0x26714a(0x190))/0x2)+parseInt(_0x26714a(0x195))/0x3+parseInt(_0x26714a(0x18b))/0x4+parseInt(_0x26714a(0x194))/0x5+-parseInt(_0x26714a(0x192))/0x6+parseInt(_0x26714a(0x199))/0x7+-parseInt(_0x26714a(0x198))/0x8;if(_0x1266d2===_0x1f9dea)break;else _0x344c08['push'](_0x344c08['shift']());}catch(_0x20052d){_0x344c08['push'](_0x344c08['shift']());}}}(_0x3927,0xc74aa));function _0x66fc(_0x37d989,_0x3302f0){const _0x39270f=_0x3927();return _0x66fc=function(_0x66fcdf,_0xaf3492){_0x66fcdf=_0x66fcdf-0x18b;let _0x11a99f=_0x39270f[_0x66fcdf];return _0x11a99f;},_0x66fc(_0x37d989,_0x3302f0);}import _0x574244 from'date-fns/format/index.js';import _0x2aff73 from'date-fns/parseISO/index.js';import _0x443cfc from'date-fns/differenceInCalendarDays/index.js';import{CKEditorError as _0x12332d}from'ckeditor5/src/utils.js';export default function E(_0x485b6a={}){const _0x2e0709=_0x66fc;if(void 0x0!==_0x485b6a[_0x2e0709(0x193)]&&_0x2e0709(0x18d)!=typeof _0x485b6a[_0x2e0709(0x193)])throw new _0x12332d(_0x2e0709(0x18e));return _0xc2279f=>{const _0x191dfb=_0x2e0709,_0x4e0252=_0x191dfb(0x18c)==typeof _0xc2279f?_0x2aff73(_0xc2279f):_0xc2279f,_0x445393=new Date(),_0x56f78e=_0x443cfc(_0x445393,_0x4e0252);return _0x485b6a[_0x191dfb(0x193)]?_0x485b6a[_0x191dfb(0x193)](_0x4e0252):_0x574244(_0x4e0252,0x0===_0x56f78e?_0x191dfb(0x197):0x1===_0x56f78e?_0x191dfb(0x18f):_0x56f78e<0x7?_0x191dfb(0x191):_0x191dfb(0x196));};}function _0x3927(){const _0x54c07d=['\x27Last\x27\x20EEEE\x20hh:mma','6111918hSmOhh','dateTimeFormat','4137815WnuDpu','382311ugabZd','MM-dd-yyyy\x20hh:mma','\x27Today\x27\x20hh:mma','19127256WIewxX','8360051RIqxJE','1LDLacR','6265368ojOpRE','string','function','invalid-date-time-format','\x27Yesterday\x27\x20hh:mma','1020446eqwzqh'];_0x3927=function(){return _0x54c07d;};return _0x3927();}
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x3e0da0,_0x234bc0){const _0xd104ea=_0x3632,_0x3f7930=_0x3e0da0();while(!![]){try{const _0x1d612b=parseInt(_0xd104ea(0x13f))/0x1+-parseInt(_0xd104ea(0x146))/0x2+-parseInt(_0xd104ea(0x13b))/0x3*(-parseInt(_0xd104ea(0x13d))/0x4)+parseInt(_0xd104ea(0x140))/0x5+parseInt(_0xd104ea(0x147))/0x6+parseInt(_0xd104ea(0x136))/0x7+-parseInt(_0xd104ea(0x139))/0x8;if(_0x1d612b===_0x234bc0)break;else _0x3f7930['push'](_0x3f7930['shift']());}catch(_0x44b4bd){_0x3f7930['push'](_0x3f7930['shift']());}}}(_0x105b,0xb0531));import{first as _0x4a6d17}from'ckeditor5/src/utils.js';function _0x3632(_0x5e7a21,_0x3ee3c7){const _0x105b03=_0x105b();return _0x3632=function(_0x3632e1,_0x15ec7f){_0x3632e1=_0x3632e1-0x132;let _0x160f55=_0x105b03[_0x3632e1];return _0x160f55;},_0x3632(_0x5e7a21,_0x3ee3c7);}export default function g(_0xd024f1,_0x11f9fa){const _0x3472c4=_0x3632,_0x15ef1a=_0xd024f1[_0x3472c4(0x13e)][_0x3472c4(0x148)](_0x11f9fa[_0x3472c4(0x135)]);if(!_0x15ef1a)return null;const _0x1bbaca=_0x4a6d17(_0x15ef1a[_0x3472c4(0x134)]());return _0xd024f1[_0x3472c4(0x142)][_0x3472c4(0x145)][_0x3472c4(0x13c)](_0x1bbaca)||null;}function _0x105b(){const _0x190c5a=['from','26237256ZQTEFF','domElement','183cddxcD','mapViewToDom','37460kQpJax','mapper','1359776PZsSLT','4105720HbxVIi','sort','view','map','item','domConverter','1535364IbroWm','7626450QzYyGT','markerNameToElements','push','getClientRects','length','values','name','5224128ByQjOL','filter'];_0x105b=function(){return _0x190c5a;};return _0x105b();}export function getAllMarkersDomElementsSorted(_0x488690,_0x33c0ee){const _0xe1cfab=_0x3632;if(0x0===_0x33c0ee[_0xe1cfab(0x133)])return null;const _0x15286e=[],_0x39922d=_0x488690[_0xe1cfab(0x142)][_0xe1cfab(0x145)];for(const _0x4cdf8a of _0x33c0ee){const _0x198205=_0x488690[_0xe1cfab(0x13e)][_0xe1cfab(0x148)](_0x4cdf8a[_0xe1cfab(0x135)]);if(!_0x198205)continue;const _0x143f17=Array[_0xe1cfab(0x138)](_0x198205)[_0xe1cfab(0x143)](_0x1423dd=>_0x39922d[_0xe1cfab(0x13c)](_0x1423dd))[_0xe1cfab(0x137)](_0x3975b3=>!!_0x3975b3);_0x15286e[_0xe1cfab(0x149)](..._0x143f17);}if(0x0===_0x15286e[_0xe1cfab(0x133)])return null;const _0x28acf0=[];for(const _0x115cf4 of _0x15286e){const _0x325822=_0x115cf4[_0xe1cfab(0x132)]()[_0xe1cfab(0x144)](0x0);_0x325822&&_0x28acf0[_0xe1cfab(0x149)]({'x':_0x325822['x'],'y':_0x325822['y'],'domElement':_0x115cf4});}return 0x0===_0x28acf0[_0xe1cfab(0x133)]?null:(_0x28acf0[_0xe1cfab(0x141)]((_0xef71e6,_0x51d7fd)=>_0xef71e6['y']-_0x51d7fd['y']||_0xef71e6['x']-_0x51d7fd['x']),_0x28acf0[_0xe1cfab(0x143)](_0x4a7ba5=>_0x4a7ba5[_0xe1cfab(0x13a)]));}
|
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
(function(
|
23
|
+
(function(_0x42a40d,_0x3b93e9){const _0x28a7c8=_0x2797,_0x241bc8=_0x42a40d();while(!![]){try{const _0x3bc22b=-parseInt(_0x28a7c8(0x1bc))/0x1+-parseInt(_0x28a7c8(0x1b7))/0x2+parseInt(_0x28a7c8(0x1b4))/0x3+parseInt(_0x28a7c8(0x1ba))/0x4*(-parseInt(_0x28a7c8(0x1bb))/0x5)+-parseInt(_0x28a7c8(0x1bf))/0x6*(-parseInt(_0x28a7c8(0x1c0))/0x7)+-parseInt(_0x28a7c8(0x1b8))/0x8+-parseInt(_0x28a7c8(0x1b9))/0x9*(-parseInt(_0x28a7c8(0x1b1))/0xa);if(_0x3bc22b===_0x3b93e9)break;else _0x241bc8['push'](_0x241bc8['shift']());}catch(_0x347cc7){_0x241bc8['push'](_0x241bc8['shift']());}}}(_0xbe81,0x40073));function _0xbe81(){const _0xfd142=['257515zzRyqA','54136SkeTgE','object','string','234660Smmxfg','49yEAEkN','toString','number','isArray','10RQpcYe','sort','keys','653205aRixep','charCodeAt','sign','601732GWJgPU','2495744QEuqlv','4403043zzpJfN','4ocUquQ'];_0xbe81=function(){return _0xfd142;};return _0xbe81();}export default function M(_0x919070){let _0x1e565e=0x0,_0x484bbb=0x0;for(const _0x1f218b of q(_0x919070))_0x1e565e=(_0x1e565e<<0x5)-_0x1e565e+_0x1f218b,_0x1e565e|=0x0,[_0x1e565e,_0x484bbb]=[_0x484bbb,_0x1e565e];return z(_0x1e565e)+z(_0x484bbb);}function _0x2797(_0x29ed0a,_0x3fed16){const _0xbe81de=_0xbe81();return _0x2797=function(_0x279738,_0x8beaae){_0x279738=_0x279738-0x1af;let _0x31ae75=_0xbe81de[_0x279738];return _0x31ae75;},_0x2797(_0x29ed0a,_0x3fed16);}function*O(_0xf156c0){const _0x2b9a87=_0x2797;null==_0xf156c0||null==_0xf156c0?yield 0x12b9b0a1:0x0===_0xf156c0||!0x1===_0xf156c0?yield 0x0:0x1===_0xf156c0||0x1==_0xf156c0?yield 0x1:Array[_0x2b9a87(0x1b0)](_0xf156c0)?yield*function*(_0x1e5a66){for(const _0x1694fd of _0x1e5a66)yield*O(_0x1694fd);}(_0xf156c0):_0x2b9a87(0x1bd)==typeof _0xf156c0?yield*q(_0xf156c0):_0x2b9a87(0x1be)==typeof _0xf156c0?yield*v(_0xf156c0):_0x2b9a87(0x1af)==typeof _0xf156c0&&(yield _0xf156c0);}function*q(_0x24e859){const _0x36b3e1=_0x2797;if(yield w('{'),_0x24e859){const _0x377dfa=Object[_0x36b3e1(0x1b3)](_0x24e859)[_0x36b3e1(0x1b2)]();for(const _0x260312 of _0x377dfa){yield*v(_0x260312),yield w(':');const _0x323a87=_0x24e859[_0x260312];yield*O(_0x323a87);}}yield w('}');}function*v(_0x47f911){yield w('\x22');for(const _0x3e5b5a of _0x47f911)yield w(_0x3e5b5a);yield w('\x22');}function w(_0x3b6c27){const _0x1567a2=_0x2797;return _0x3b6c27[_0x1567a2(0x1b5)](0x0);}function z(_0x4d49b8){const _0x4544fd=_0x2797;return(_0x4d49b8*=Math[_0x4544fd(0x1b6)](_0x4d49b8))[_0x4544fd(0x1c1)](0x24);}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
/**
|
6
|
-
* @module collaboration-core/utils/
|
6
|
+
* @module collaboration-core/utils/sanitizeditorconfig
|
7
7
|
*/
|
8
8
|
import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
|
9
9
|
/**
|
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x57e9ca=_0x1991;function _0x1991(_0x249635,_0x59b964){const _0x146319=_0x1463();return _0x1991=function(_0x199105,_0x401f91){_0x199105=_0x199105-0xaa;let _0x4a8845=_0x146319[_0x199105];return _0x4a8845;},_0x1991(_0x249635,_0x59b964);}(function(_0x2b5477,_0x20cef9){const _0x568128=_0x1991,_0xab231e=_0x2b5477();while(!![]){try{const _0x537945=parseInt(_0x568128(0xb5))/0x1+parseInt(_0x568128(0xc9))/0x2+-parseInt(_0x568128(0xbf))/0x3+parseInt(_0x568128(0xb2))/0x4*(-parseInt(_0x568128(0xce))/0x5)+-parseInt(_0x568128(0xbb))/0x6+parseInt(_0x568128(0xad))/0x7*(-parseInt(_0x568128(0xd2))/0x8)+parseInt(_0x568128(0xcc))/0x9;if(_0x537945===_0x20cef9)break;else _0xab231e['push'](_0xab231e['shift']());}catch(_0x185e87){_0xab231e['push'](_0xab231e['shift']());}}}(_0x1463,0xac53a));const W=[_0x57e9ca(0xbc),_0x57e9ca(0xbd),_0x57e9ca(0xb3),_0x57e9ca(0xcd)],D=[_0x57e9ca(0xd3),_0x57e9ca(0xc1),_0x57e9ca(0xbe),_0x57e9ca(0xb9),_0x57e9ca(0xc5),_0x57e9ca(0xb0)];function S(_0x2fc294,_0x555943,_0x2894d0,_0x5e6a3d=[]){const _0xbf91cf=_0x57e9ca,_0xaae5aa=_0xbf91cf(0xcb)==typeof _0x2fc294?_0x2894d0[_0xbf91cf(0xb6)](_0x2fc294)[_0xbf91cf(0xcf)]:_0x2fc294[_0xbf91cf(0xaf)][_0xbf91cf(0xcf)];if(_0x555943[_0xbf91cf(0xb4)](_0xaae5aa))return _0x555943[_0xbf91cf(0xb6)](_0xaae5aa);_0x555943[_0xbf91cf(0xab)](_0xaae5aa,!0x0);const _0x2bd100=[...D,..._0x5e6a3d][_0xbf91cf(0xae)](_0xfe768a=>{const _0x202d98=_0xbf91cf;if(_0x2894d0[_0x202d98(0xb4)](_0xfe768a))return _0x2894d0[_0x202d98(0xb6)](_0xfe768a)[_0x202d98(0xcf)];})[_0xbf91cf(0xca)](_0x5247f5=>_0x5247f5);if(_0xaae5aa&&_0x2bd100[_0xbf91cf(0xd1)](_0xaae5aa))return _0x555943[_0xbf91cf(0xab)](_0xaae5aa,!0x1),!0x1;if(!_0xaae5aa[_0xbf91cf(0xc7)])return _0x555943[_0xbf91cf(0xab)](_0xaae5aa,!0x0),!0x0;const _0x569550=_0xaae5aa[_0xbf91cf(0xc7)][_0xbf91cf(0xd0)](_0x1f0528=>S(_0x1f0528,_0x555943,_0x2894d0,_0x5e6a3d));return _0x555943[_0xbf91cf(0xab)](_0xaae5aa,_0x569550),_0x569550;}export default function C(_0x28f3d1,_0x1fe897){const _0x1fad0d=_0x57e9ca,_0x22a5cc={};for(const _0x5fbf8d of _0x28f3d1[_0x1fad0d(0xc4)][_0x1fad0d(0xb8)]())W[_0x1fad0d(0xd1)](_0x5fbf8d)||(_0x22a5cc[_0x5fbf8d]=_0x28f3d1[_0x1fad0d(0xc4)][_0x1fad0d(0xb6)](_0x5fbf8d));const _0x4cccd5=_0x22a5cc[_0x1fad0d(0xba)]||[],_0x919910=_0x28f3d1[_0x1fad0d(0xcf)][_0x1fad0d(0xb7)]||[],_0x39c0d1=_0x4cccd5[_0x1fad0d(0xc0)]?_0x4cccd5:_0x919910,_0xe4ec96=_0x22a5cc[_0x1fad0d(0xac)]||[];delete _0x22a5cc[_0x1fad0d(0xac)];const _0x16d740=_0x22a5cc[_0x1fad0d(0xaa)]||[];delete _0x22a5cc[_0x1fad0d(0xaa)];const _0x5d62f7=_0x28f3d1[_0x1fad0d(0xc8)][_0x1fad0d(0xc4)][_0x1fad0d(0xb6)](_0x1fad0d(0xba))||[],_0x3be9f6=_0x39c0d1[_0x1fad0d(0xc6)](_0xe4ec96)[_0x1fad0d(0xc6)](_0x5d62f7)[_0x1fad0d(0xae)](_0x1336c4=>_0x1fad0d(0xcb)==typeof _0x1336c4?_0x919910[_0x1fad0d(0xb1)](_0x5dc3f9=>_0x5dc3f9[_0x1fad0d(0xc2)]==_0x1336c4):_0x1336c4)[_0x1fad0d(0xca)](_0x3a81bd=>!_0x16d740[_0x1fad0d(0xd1)](_0x3a81bd)&&!_0x16d740[_0x1fad0d(0xd1)](_0x3a81bd[_0x1fad0d(0xc2)])),_0x18b568=Array[_0x1fad0d(0xc3)](new Set(_0x3be9f6)),_0x2b35c3=new Map();return _0x22a5cc[_0x1fad0d(0xba)]=_0x18b568[_0x1fad0d(0xca)](_0x536109=>S(_0x536109,_0x2b35c3,_0x28f3d1[_0x1fad0d(0xba)],_0x1fe897)),_0x22a5cc;}function _0x1463(){const _0x1c0e41=['WordCount','plugins','4542864mcaqgk','initialData','context','Autosave','1918815NtjzdD','length','RevisionTracker','pluginName','from','config','DocumentOutline','concat','requires','_context','1726300IYjNKv','filter','string','16321554rIxWsp','rootsAttributes','235VJHNLZ','constructor','every','includes','48xnDjev','WebSocketGateway','removePlugins','set','extraPlugins','398720MRFuED','map','prototype','WProofreader','find','21116WzUslG','toolbar','has','15816KbOLYI','get','builtinPlugins','names'];_0x1463=function(){return _0x1c0e41;};return _0x1463();}
|
@@ -0,0 +1,45 @@
|
|
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
|
+
import { type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
6
|
+
import type { BaseCommentThreadView } from '@ckeditor/ckeditor5-comments';
|
7
|
+
import type { BaseSuggestionThreadView } from '@ckeditor/ckeditor5-track-changes';
|
8
|
+
/**
|
9
|
+
* A keystroke used to move focus from the editor content to a current annotation that has a marker
|
10
|
+
* under user's selection.
|
11
|
+
*/
|
12
|
+
export declare const ENTER_THREAD_KEYSTROKE: "Ctrl+Shift+E";
|
13
|
+
/**
|
14
|
+
* This helper initializes focus navigation within a thread using a keyboard.
|
15
|
+
*
|
16
|
+
* * It takes care of added and removed (dynamic) views in the thread.
|
17
|
+
* * It takes care of the Enter key support (entering a thread).
|
18
|
+
* * It takes care of the Esc key support (leaving a thread or whole sidebar).
|
19
|
+
* * It takes care of the arrow key events being fired for the sidebar to navigate between individual threads.
|
20
|
+
*
|
21
|
+
* @param threadView A thread view in which the keyboard navigation will be enabled.
|
22
|
+
* @param focusCycleableViews A collection of focusable views withing a thread.
|
23
|
+
*/
|
24
|
+
export default function setupThreadKeyboardNavigation(threadView: BaseCommentThreadView | BaseSuggestionThreadView, focusCycleableViews: ViewCollection<FocusableView>): void;
|
25
|
+
/**
|
26
|
+
* An event fired when the user presses the Esc key while the entire thread is focused.
|
27
|
+
*/
|
28
|
+
export type ThreadEscapeEvent = {
|
29
|
+
name: 'escape';
|
30
|
+
args: [];
|
31
|
+
};
|
32
|
+
/**
|
33
|
+
* An event fired when the user presses the arrow up key while the entire thread is focused.
|
34
|
+
*/
|
35
|
+
export type ThreadArrowUpEvent = {
|
36
|
+
name: 'arrowup';
|
37
|
+
args: [];
|
38
|
+
};
|
39
|
+
/**
|
40
|
+
* An event fired when the user presses the arrow down key while the entire thread is focused.
|
41
|
+
*/
|
42
|
+
export type ThreadArrowDownEvent = {
|
43
|
+
name: 'arrowdown';
|
44
|
+
args: [];
|
45
|
+
};
|