@ckeditor/ckeditor5-collaboration-core 0.0.0-internal-20241017.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 +4 -0
- package/LICENSE.md +23 -0
- package/README.md +35 -0
- package/dist/augmentation.d.ts +42 -0
- package/dist/collaborationhistory.d.ts +25 -0
- package/dist/collaborationoperation.d.ts +32 -0
- package/dist/config.d.ts +106 -0
- package/dist/index-content.css +470 -0
- package/dist/index-editor.css +426 -0
- package/dist/index.css +1080 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +23 -0
- package/dist/legacyerrors.d.ts +33 -0
- package/dist/permissions.d.ts +58 -0
- package/dist/suggestions/view/ariadescriptionview.d.ts +27 -0
- package/dist/suggestions/view/latefocusbuttonview.d.ts +41 -0
- package/dist/suggestionstyles.d.ts +18 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/users/view/userview.d.ts +20 -0
- package/dist/users.d.ts +172 -0
- package/dist/utils/common-translations.d.ts +13 -0
- package/dist/utils/confirmmixin.d.ts +28 -0
- package/dist/utils/confirmview.d.ts +33 -0
- package/dist/utils/getdatetimeformatter.d.ts +33 -0
- package/dist/utils/getmarkerdomelement.d.ts +26 -0
- package/dist/utils/hashobject.d.ts +12 -0
- package/dist/utils/sanitizeEditorConfig.d.ts +19 -0
- package/dist/utils/setupthreadkeyboardnavigation.d.ts +49 -0
- package/dist/utils/surroundingmarkersdetector.d.ts +20 -0
- package/dist/utils/trim-html.d.ts +23 -0
- package/lang/contexts.json +6 -0
- package/lang/translations/af.po +34 -0
- package/lang/translations/ar.po +34 -0
- package/lang/translations/az.po +34 -0
- package/lang/translations/bg.po +34 -0
- package/lang/translations/bn.po +34 -0
- package/lang/translations/bs.po +34 -0
- package/lang/translations/ca.po +34 -0
- package/lang/translations/cs.po +34 -0
- package/lang/translations/da.po +34 -0
- package/lang/translations/de-ch.po +34 -0
- package/lang/translations/de.po +34 -0
- package/lang/translations/el.po +34 -0
- package/lang/translations/en-au.po +34 -0
- package/lang/translations/en.po +34 -0
- package/lang/translations/es-co.po +34 -0
- package/lang/translations/es.po +34 -0
- package/lang/translations/et.po +34 -0
- package/lang/translations/fa.po +34 -0
- package/lang/translations/fi.po +34 -0
- package/lang/translations/fr.po +34 -0
- package/lang/translations/gl.po +34 -0
- package/lang/translations/he.po +34 -0
- package/lang/translations/hi.po +34 -0
- package/lang/translations/hr.po +34 -0
- package/lang/translations/hu.po +34 -0
- package/lang/translations/id.po +34 -0
- package/lang/translations/it.po +34 -0
- package/lang/translations/ja.po +34 -0
- package/lang/translations/jv.po +34 -0
- package/lang/translations/ko.po +34 -0
- package/lang/translations/lt.po +34 -0
- package/lang/translations/lv.po +34 -0
- package/lang/translations/ms.po +34 -0
- package/lang/translations/nl.po +34 -0
- package/lang/translations/no.po +34 -0
- package/lang/translations/pl.po +34 -0
- package/lang/translations/pt-br.po +34 -0
- package/lang/translations/pt.po +34 -0
- package/lang/translations/ro.po +34 -0
- package/lang/translations/ru.po +34 -0
- package/lang/translations/sk.po +34 -0
- package/lang/translations/sr-latn.po +34 -0
- package/lang/translations/sr.po +34 -0
- package/lang/translations/sv.po +34 -0
- package/lang/translations/th.po +34 -0
- package/lang/translations/tk.po +34 -0
- package/lang/translations/tr.po +34 -0
- package/lang/translations/tt.po +34 -0
- package/lang/translations/ug.po +34 -0
- package/lang/translations/uk.po +34 -0
- package/lang/translations/ur.po +34 -0
- package/lang/translations/vi.po +34 -0
- package/lang/translations/zh-cn.po +34 -0
- package/lang/translations/zh.po +34 -0
- package/package.json +52 -0
- package/src/augmentation.d.ts +38 -0
- package/src/augmentation.js +23 -0
- package/src/collaborationhistory.d.ts +21 -0
- package/src/collaborationhistory.js +23 -0
- package/src/collaborationoperation.d.ts +28 -0
- package/src/collaborationoperation.js +23 -0
- package/src/config.d.ts +102 -0
- package/src/config.js +23 -0
- package/src/index.d.ts +22 -0
- package/src/index.js +23 -0
- package/src/legacyerrors.d.ts +29 -0
- package/src/legacyerrors.js +23 -0
- package/src/permissions.d.ts +54 -0
- package/src/permissions.js +23 -0
- 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 +14 -0
- package/src/suggestionstyles.js +23 -0
- package/src/users/view/userview.d.ts +16 -0
- package/src/users/view/userview.js +23 -0
- package/src/users.d.ts +168 -0
- package/src/users.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils/confirmmixin.d.ts +24 -0
- package/src/utils/confirmmixin.js +23 -0
- package/src/utils/confirmview.d.ts +29 -0
- package/src/utils/confirmview.js +23 -0
- package/src/utils/getdatetimeformatter.d.ts +29 -0
- package/src/utils/getdatetimeformatter.js +23 -0
- package/src/utils/getmarkerdomelement.d.ts +22 -0
- package/src/utils/getmarkerdomelement.js +23 -0
- package/src/utils/hashobject.d.ts +8 -0
- package/src/utils/hashobject.js +23 -0
- package/src/utils/sanitizeEditorConfig.d.ts +15 -0
- package/src/utils/sanitizeEditorConfig.js +23 -0
- package/src/utils/setupthreadkeyboardnavigation.d.ts +45 -0
- package/src/utils/setupthreadkeyboardnavigation.js +23 -0
- package/src/utils/surroundingmarkersdetector.d.ts +16 -0
- package/src/utils/surroundingmarkersdetector.js +23 -0
- package/src/utils/trim-html.d.ts +19 -0
- package/src/utils/trim-html.js +23 -0
- package/theme/ariadescription.css +12 -0
- package/theme/icons/notification.svg +11 -0
- package/theme/integrations/codeblock.css +17 -0
- package/theme/integrations/horizontalline.css +24 -0
- package/theme/integrations/image.css +66 -0
- package/theme/integrations/mediaembed.css +28 -0
- package/theme/integrations/mergefields.css +67 -0
- package/theme/integrations/pagebreak.css +24 -0
- package/theme/integrations/table.css +200 -0
- package/theme/suggestion.css +131 -0
- package/theme/suggestionmarker.css +162 -0
- package/theme/usercolormixin.css +41 -0
- package/theme/usercolors.css +49 -0
- package/theme/users.css +110 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
export { default as Permissions } from './permissions.js';
|
|
10
|
+
export { default as Users, type User } from './users.js';
|
|
11
|
+
export { default as UserView } from './users/view/userview.js';
|
|
12
|
+
export { default as AriaDescriptionView } from './suggestions/view/ariadescriptionview.js';
|
|
13
|
+
export { LateFocusButtonView, LateFocusDropdownButtonView } from './suggestions/view/latefocusbuttonview.js';
|
|
14
|
+
export { default as getDateTimeFormatter } from './utils/getdatetimeformatter.js';
|
|
15
|
+
export { default as getMarkerDomElement, getAllMarkersDomElementsSorted } from './utils/getmarkerdomelement.js';
|
|
16
|
+
export { default as trimHtml } from './utils/trim-html.js';
|
|
17
|
+
export { default as ConfirmMixin, type RemoveConfirmEvent } from './utils/confirmmixin.js';
|
|
18
|
+
export { default as hashObject } from './utils/hashobject.js';
|
|
19
|
+
export { default as sanitizeEditorConfig } from './utils/sanitizeEditorConfig.js';
|
|
20
|
+
export { default as surroundingMarkersDetector } from './utils/surroundingmarkersdetector.js';
|
|
21
|
+
export { default as setupThreadKeyboardNavigation, FOCUS_ANNOTATION_KEYSTROKE, type ThreadEscapeEvent, type ThreadArrowUpEvent, type ThreadArrowDownEvent } from './utils/setupthreadkeyboardnavigation.js';
|
|
22
|
+
export type { default as CollaborationOperation, InsertCollaborationOperation, SplitCollaborationOperation, MarkerCollaborationOperation, MoveCollaborationOperation, MergeCollaborationOperation, RootCollaborationOperation, RootAttributeCollaborationOperation } from './collaborationoperation.js';
|
|
23
|
+
export type { default as CollaborationHistory } from './collaborationhistory.js';
|
|
24
|
+
export type { LocaleConfig, RealTimeCollaborationConfig } from './config.js';
|
|
25
|
+
export * from './suggestionstyles.js';
|
|
26
|
+
import './augmentation.js';
|
package/dist/index.js
ADDED
|
@@ -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
|
+
import{ContextPlugin as _0x5a9269,Editor as _0x337335,icons as _0x58d433}from'@ckeditor/ckeditor5-core/dist/index.js';import{CKEditorError as _0x329512,Collection as _0x3e0f12,uid as _0x114422,first as _0xbcd192,FocusTracker as _0x2026b3,KeystrokeHandler as _0x1259f5}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0xcd4eca,IconView as _0x3424a3,ButtonView as _0x43ce49,DropdownButtonView as _0x1e7168,FocusCycler as _0x5577c4,isViewWithFocusCycler as _0x3dff1b}from'@ckeditor/ckeditor5-ui/dist/index.js';import _0x486f9a from'date-fns/format/index.js';import _0x717a55 from'date-fns/parseISO/index.js';import _0x297d47 from'date-fns/differenceInCalendarDays/index.js';class o extends _0x5a9269{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x248cae,_0x2b5e47){let _0x4c6dac;if(_0x2b5e47||(_0x2b5e47=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x2b5e47?_0x4c6dac=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x4c6dac=this['context']['editors']['find'](_0x3e37c9=>_0x3e37c9['config']['get']('collaboration.channelId')==_0x2b5e47)),!_0x4c6dac)throw new _0x329512('permissions-set-permissions-invalid-channel-id',null);const _0x39b616=_0x4c6dac['plugins'],_0x34c390=_0x39b616['has']('CommentsRepository')?_0x39b616['get']('CommentsRepository'):void 0x0,_0xecc35f=_0x39b616['has']('CommentsOnly')&&_0x39b616['get']('CommentsOnly'),_0x46fa0f=_0x248cae['includes']('document:write'),_0x28fc75=_0x248cae['includes']('comment:modify_all'),_0xddd7dc=_0x248cae['includes']('comment:admin'),_0x4157f5=_0x248cae['includes']('comment:write'),_0x429465=_0x4157f5||_0xddd7dc,_0x230401=_0x429465||_0x28fc75,_0x4603ab=_0x46fa0f||_0x429465;(_0xecc35f&&(_0xecc35f['isEnabled']=!_0x46fa0f&&_0x230401),_0x4c6dac instanceof _0x337335)&&(!(_0x46fa0f||_0x230401&&_0x34c390)?_0x4c6dac['enableReadOnlyMode']('no-permissions'):_0x4c6dac['disableReadOnlyMode']('no-permissions'));if(_0x34c390){_0x34c390['setPermissions']({'admin':_0xddd7dc,'modifyAll':_0x28fc75,'write':_0x4157f5,'resolve':_0x4603ab},_0x2b5e47);const _0x2fe522=_0x4c6dac instanceof _0x337335&&_0x4c6dac['commands']['get']('addCommentThread');_0x2fe522&&(_0x429465?_0x2fe522['clearForceDisabled']('noPermissions'):_0x2fe522['forceDisabled']('noPermissions'));}}}function e(_0x3d24a5,_0x5711c2){const t=_0x3d24a5['t'];switch(_0x5711c2){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'';}}class u extends _0x5a9269{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[o];}constructor(_0x1121ca){super(_0x1121ca),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x3e0f12(),this['_locale']=_0x1121ca['locale'],this['_lastColor']=0x0,this['_myId']=null,this['decorate']('getOperationAuthor');}['init'](){this['_addAnonymousUser']();}get['me'](){return null==this['_myId']?null:this['getUser'](this['_myId']);}['addUser']({id:_0x2c7491,name:_0x44b4a9,..._0x5ae46e}){if(!_0x2c7491||'string'!=typeof _0x2c7491)throw new _0x329512('users-add-invalid-id');if(this['users']['has'](_0x2c7491))throw new _0x329512('users-add-duplicated-id',null,{'id':_0x2c7491});const _0xa3a90={..._0x5ae46e,'id':_0x2c7491,'name':h(this['_locale'],_0x44b4a9),'color':this['_getNextColor']()};_0xa3a90['name']=h(this['_locale'],_0xa3a90['name']);const _0x4a48ff=new P(_0xa3a90);return this['users']['add'](_0x4a48ff),_0x4a48ff;}['getUser'](_0xd99695){return this['users']['get'](_0xd99695);}['useAnonymousUser'](){const _0x5056e9=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5056e9);}['defineMe'](_0x1cde29){if(this['_myId'])throw new _0x329512('users-me-already-defined',null);const _0x3659dc=this['getUser'](_0x1cde29);if(!_0x3659dc)throw new _0x329512('users-me-missing-user',null);this['_myId']=_0x1cde29,_0x3659dc['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x2da3b6=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x2da3b6&&(this['_lastColor']=0x0),new c(this['_lastColor']++);}['_addAnonymousUser'](){const _0x6e6923=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x6e6923,'name':e(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}class P{['id'];['color'];['name'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x2f0870){this['id']=_0x2f0870['id'],this['color']=_0x2f0870['color'],this['name']=_0x2f0870['name'],this['avatar']=_0x2f0870['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}get['initials'](){const _0x419dca=this['name']['split']('\x20');return 0x1===_0x419dca['length']?this['_getInitial'](_0x419dca[0x0]):this['_getInitial'](_0x419dca[0x0])+this['_getInitial'](_0x419dca[_0x419dca['length']-0x1]);}['_getInitial'](_0xc55118){return _0xc55118['charAt'](0x0)['toUpperCase']();}}function h(_0x44317b,_0x135917=''){return''==(_0x135917=_0x135917['trim']())?e(_0x44317b,'Anonymous'):_0x135917;}class c{['_id'];constructor(_0x487516){this['_id']=_0x487516;}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['_id'];}['getSelectionClass'](){return'ck-user__selection--'+this['_id'];}['getMarkerClass'](){return'ck-user__marker--'+this['_id'];}}class J extends _0xcd4eca{['name'];['notificationView'];constructor(_0x3057c0,_0x51474f,_0x2db4b4){super(_0x3057c0),this['name']=_0x51474f['name'],this['notificationView']=null;const _0x146ddb=['ck','ck-user'],_0x1c195b=['ck','ck-user__img'];if(_0x51474f['isAnonymous']&&_0x1c195b['push']('ck-user__anonymous'),!_0x51474f['isAnonymous']&&_0x51474f['isMe']&&_0x146ddb['push']('ck-user_me'),_0x51474f['avatar']&&_0x1c195b['push']('ck-user__avatar'),_0x2db4b4){const _0x2aa1c2=new _0x3424a3();_0x2aa1c2['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x2aa1c2['content']='<!--\x0a\x0a\x20What\x20you\x27re\x20currently\x20looking\x20at\x20is\x20the\x20source\x20code\x20of\x20a\x20legally\x20protected,\x20proprietary\x20software.\x0a\x20CKEditor\x205\x20Collaboration\x20is\x20licensed\x20under\x20a\x20commercial\x20license\x20and\x20protected\x20by\x20copyright\x20law.\x20Where\x20not\x20otherwise\x20indicated,\x0a\x20all\x20CKEditor\x205\x20Collaboration\x20content\x20is\x20authored\x20by\x20CKSource\x20engineers\x20and\x20consists\x20of\x20CKSource-owned\x20intellectual\x20property.\x0a\x0a\x20Copyright\x20(c)\x202003-2024,\x20CKSource\x20Holding\x20sp.\x20z\x20o.o.\x20All\x20rights\x20reserved.\x0a\x0a!-->\x0a\x0a<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M10\x200C4.48\x200\x200\x204.48\x200\x2010s4.48\x2010\x2010\x2010\x2010-4.48\x2010-10S15.52\x200\x2010\x200zm1\x2015H9v-2h2v2zm0-4H9V5h2v6z\x22/></svg>\x0a',this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x2db4b4},'children':[_0x2aa1c2]};}const _0x48ff15=[{'tag':'div','attributes':{'class':_0x1c195b,'style':{'background-image':_0x51474f['avatar']?'url(\x27'+_0x51474f['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x51474f['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x51474f['name']},'children':[{'text':_0x51474f['initials']}]}];this['notificationView']&&_0x48ff15['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x146ddb,'data-user-id':_0x51474f['id']},'children':_0x48ff15});}}class G extends _0xcd4eca{['id'];constructor(_0x601bc3,_0x4e73b0){super(_0x601bc3),this['id']='ck-aria-description-'+_0x114422(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x4e73b0}]});}}class U extends _0x43ce49{['render'](){super['render'](),V(this);}}class Y extends _0x1e7168{['render'](){super['render'](),V(this);}}function V(_0x557bd3){_0x557bd3['listenTo'](_0x557bd3['element'],'mousedown',(_0x16afa1,_0x57000b)=>{_0x57000b['stopPropagation'](),_0x57000b['preventDefault']();}),_0x557bd3['listenTo'](_0x557bd3['element'],'mouseup',()=>{_0x557bd3['element']['focus']();});}function E(_0x576c00={}){if(void 0x0!==_0x576c00['dateTimeFormat']&&'function'!=typeof _0x576c00['dateTimeFormat'])throw new _0x329512('invalid-date-time-format');return _0x3c029b=>{const _0x1f330e='string'==typeof _0x3c029b?_0x717a55(_0x3c029b):_0x3c029b,_0x15180a=new Date(),_0xed42f6=_0x297d47(_0x15180a,_0x1f330e);return _0x576c00['dateTimeFormat']?_0x576c00['dateTimeFormat'](_0x1f330e):_0x486f9a(_0x1f330e,0x0===_0xed42f6?'\x27Today\x27\x20hh:mma':0x1===_0xed42f6?'\x27Yesterday\x27\x20hh:mma':_0xed42f6<0x7?'\x27Last\x27\x20EEEE\x20hh:mma':'MM-dd-yyyy\x20hh:mma');};}function g(_0x106da1,_0x5dc367){const _0x37d7ed=_0x106da1['mapper']['markerNameToElements'](_0x5dc367['name']);if(!_0x37d7ed)return null;const _0x596039=_0xbcd192(_0x37d7ed['values']());return _0x106da1['view']['domConverter']['mapViewToDom'](_0x596039)||null;}function R(_0x37ff2e,_0x4bb57f){if(0x0===_0x4bb57f['length'])return null;const _0x44ca92=[],_0x55e6f3=_0x37ff2e['view']['domConverter'];for(const _0x2431df of _0x4bb57f){const _0x5eeb62=_0x37ff2e['mapper']['markerNameToElements'](_0x2431df['name']);if(!_0x5eeb62)continue;const _0x53c320=Array['from'](_0x5eeb62)['map'](_0x51c831=>_0x55e6f3['mapViewToDom'](_0x51c831))['filter'](_0x264d3f=>!!_0x264d3f);_0x44ca92['push'](..._0x53c320);}if(0x0===_0x44ca92['length'])return null;const _0x2aaa22=[];for(const _0x4ed873 of _0x44ca92){const _0x1aeb09=_0x4ed873['getClientRects']()['item'](0x0);_0x1aeb09&&_0x2aaa22['push']({'x':_0x1aeb09['x'],'y':_0x1aeb09['y'],'domElement':_0x4ed873});}return 0x0===_0x2aaa22['length']?null:(_0x2aaa22['sort']((_0x9465ee,_0x2b464a)=>_0x9465ee['y']-_0x2b464a['y']||_0x9465ee['x']-_0x2b464a['x']),_0x2aaa22['map'](_0x3f6b30=>_0x3f6b30['domElement']));}function Z(_0x2248fe,{limit:_0x4edb66,suffix:_0x474459='...'}){const _0x31f5f4=[];let _0x534d87=0x0;const _0x23b909=_0x2248fe['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x187bc8=0x0;_0x187bc8<_0x23b909['length'];_0x187bc8++){let _0x19c98c=_0x23b909[_0x187bc8];const _0x3eeb2f=$(_0x19c98c);if(_0x19c98c['startsWith']('<')){if(_0x534d87>=_0x4edb66){const _0x354470=_0x19c98c['match'](/[a-zA-Z]+/);if(!_0x354470){_0x23b909[_0x187bc8]='';continue;}const _0x118b38=_0x354470[0x0];_0x19c98c['startsWith']('</')?(_0x31f5f4['length']&&(_0x19c98c=''),_0x31f5f4['pop']()):(_0x31f5f4['push'](_0x118b38),_0x19c98c='');}}else{if(_0x534d87>=_0x4edb66)_0x19c98c='';else{if(_0x534d87+_0x3eeb2f['length']>=_0x4edb66){let _0x24a4fa=_0x4edb66-_0x534d87;if('\x20'===_0x3eeb2f[_0x24a4fa-0x1])_0x24a4fa--;else{const _0x38ae88=_0x3eeb2f['slice'](_0x24a4fa)['indexOf']('\x20');-0x1!==_0x38ae88?_0x24a4fa+=_0x38ae88:_0x24a4fa=_0x19c98c['length'];}_0x19c98c=_0x3eeb2f['slice'](0x0,_0x24a4fa)['join']('')+_0x474459,_0x534d87=_0x4edb66;}else _0x534d87+=_0x3eeb2f['length'];}}_0x23b909[_0x187bc8]=_0x19c98c;}return _0x23b909['join']('\x0a')['replace'](/\n/g,'');}function $(_0x902e53){const _0x4c4912=[];for(let _0xdf56ec=0x0;_0xdf56ec<_0x902e53['length'];_0xdf56ec++){const _0x4e51a9=_0x902e53['substring'](_0xdf56ec)['match'](/^&[a-z0-9#]+;/);if(_0x4e51a9){const _0x1d3d1b=_0x4e51a9[0x0];_0x4c4912['push'](_0x1d3d1b),_0xdf56ec+=_0x1d3d1b['length']-0x1;}else _0x4c4912['push'](_0x902e53[_0xdf56ec]);}return _0x4c4912;}class m extends _0xcd4eca{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x2006c5){super(_0x2006c5);const _0x4931e9=this['bindTemplate'];this['set']('message',e(_0x2006c5,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x2006c5,e(_0x2006c5,'Yes'),_0x58d433['check'],'submit'),this['cancelView']=this['_createButtonView'](_0x2006c5,e(_0x2006c5,'No'),_0x58d433['cancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x2026b3(),this['keystrokes']=new _0x1259f5(),this['focusCycler']=new _0x5577c4({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-thread__remove-confirm'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x4931e9['to']('message')}]},{'tag':'div','attributes':{'class':'ck-thread__remove-confirm-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x5ce88e,_0x4d7136,_0x7e041e,_0x1d5e24){const _0x1f5e61=new _0x43ce49(_0x5ce88e);return _0x1f5e61['label']=_0x4d7136,_0x1f5e61['icon']=_0x7e041e,_0x1f5e61['extendTemplate']({'attributes':{'class':'ck-thread__remove-confirm-'+_0x1d5e24}}),_0x1f5e61['on']('execute',()=>this['fire'](_0x1d5e24)),_0x1f5e61;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x53407e=>{this['keystrokes']['listenTo'](_0x53407e['element']),this['focusTracker']['add'](_0x53407e['element']);}),this['keystrokes']['set']('esc',(_0x554e34,_0x3db677)=>{this['fire']('cancel'),_0x3db677();});}}function f(_0x2b46fe){return class extends _0x2b46fe{['showConfirm'](_0x2bb861,_0x42e1f8){return this['confirmView']=new m(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x2bb861,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x42e1f8['appendChild'](this['confirmView']['element']),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),new Promise(_0x57c782=>this['confirmView']['on']('submit',_0x57c782));}['cancelConfirm'](){this['isConfirm']&&this['confirmView']['fire']('cancel');}['_removeConfirm'](){this['element']&&this['confirmView']&&this['confirmView']['element']&&(this['element']['focus'](),this['confirmView']['element']['remove'](),this['deregisterChild'](this['confirmView']),this['isConfirm']=!0x1,this['fire']('removeConfirm'),this['confirmView']['destroy'](),this['confirmView']=void 0x0);}};}function M(_0x12ca86){let _0x3a9e6b=0x0,_0x2eaf7a=0x0;for(const _0x4d3279 of q(_0x12ca86))_0x3a9e6b=(_0x3a9e6b<<0x5)-_0x3a9e6b+_0x4d3279,_0x3a9e6b|=0x0,[_0x3a9e6b,_0x2eaf7a]=[_0x2eaf7a,_0x3a9e6b];return z(_0x3a9e6b)+z(_0x2eaf7a);}function*O(_0x3def31){null==_0x3def31||null==_0x3def31?yield 0x12b9b0a1:0x0===_0x3def31||!0x1===_0x3def31?yield 0x0:0x1===_0x3def31||0x1==_0x3def31?yield 0x1:Array['isArray'](_0x3def31)?yield*function*(_0x4d273b){for(const _0x166701 of _0x4d273b)yield*O(_0x166701);}(_0x3def31):'object'==typeof _0x3def31?yield*q(_0x3def31):'string'==typeof _0x3def31?yield*v(_0x3def31):'number'==typeof _0x3def31&&(yield _0x3def31);}function*q(_0x2ae48c){if(yield w('{'),_0x2ae48c){const _0x4b1484=Object['keys'](_0x2ae48c)['sort']();for(const _0x269228 of _0x4b1484){yield*v(_0x269228),yield w(':');const _0x4f825d=_0x2ae48c[_0x269228];yield*O(_0x4f825d);}}yield w('}');}function*v(_0x5eef80){yield w('\x22');for(const _0x445941 of _0x5eef80)yield w(_0x445941);yield w('\x22');}function w(_0x1d0326){return _0x1d0326['charCodeAt'](0x0);}function z(_0x1a344e){return(_0x1a344e*=Math['sign'](_0x1a344e))['toString'](0x24);}const W=['initialData','context','toolbar','rootsAttributes'],D=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function S(_0x93d7d1,_0x3a186c,_0x5a6ff2,_0x576606=[]){const _0x5e63a4='string'==typeof _0x93d7d1?_0x5a6ff2['get'](_0x93d7d1)['constructor']:_0x93d7d1['prototype']['constructor'];if(_0x3a186c['has'](_0x5e63a4))return _0x3a186c['get'](_0x5e63a4);_0x3a186c['set'](_0x5e63a4,!0x0);const _0x409ef8=[...D,..._0x576606]['map'](_0x32fd38=>{if(_0x5a6ff2['has'](_0x32fd38))return _0x5a6ff2['get'](_0x32fd38)['constructor'];})['filter'](_0x14ade5=>_0x14ade5);if(_0x5e63a4&&_0x409ef8['includes'](_0x5e63a4))return _0x3a186c['set'](_0x5e63a4,!0x1),!0x1;if(!_0x5e63a4['requires'])return _0x3a186c['set'](_0x5e63a4,!0x0),!0x0;const _0x979134=_0x5e63a4['requires']['every'](_0x261e7b=>S(_0x261e7b,_0x3a186c,_0x5a6ff2,_0x576606));return _0x3a186c['set'](_0x5e63a4,_0x979134),_0x979134;}function C(_0x2cbb2e,_0x39badc){const _0x43947f={};for(const _0x201ec0 of _0x2cbb2e['config']['names']())W['includes'](_0x201ec0)||(_0x43947f[_0x201ec0]=_0x2cbb2e['config']['get'](_0x201ec0));const _0x1de024=_0x43947f['plugins']||[],_0x2379ee=_0x2cbb2e['constructor']['builtinPlugins']||[],_0x59da48=_0x1de024['length']?_0x1de024:_0x2379ee,_0x23630b=_0x43947f['extraPlugins']||[];delete _0x43947f['extraPlugins'];const _0x242a74=_0x43947f['removePlugins']||[];delete _0x43947f['removePlugins'];const _0x564f5e=_0x2cbb2e['_context']['config']['get']('plugins')||[],_0x17afba=_0x59da48['concat'](_0x23630b)['concat'](_0x564f5e)['map'](_0x52b809=>'string'==typeof _0x52b809?_0x2379ee['find'](_0x2f98e4=>_0x2f98e4['pluginName']==_0x52b809):_0x52b809)['filter'](_0x39b320=>!_0x242a74['includes'](_0x39b320)&&!_0x242a74['includes'](_0x39b320['pluginName'])),_0x5644e3=Array['from'](new Set(_0x17afba)),_0x124e26=new Map();return _0x43947f['plugins']=_0x5644e3['filter'](_0x544233=>S(_0x544233,_0x124e26,_0x2cbb2e['plugins'],_0x39badc)),_0x43947f;}function B(_0x1bcb96,_0x2352e1){const _0x1be136=[];_0x1bcb96['document']['selection']['on']('change:range',()=>{const _0x1533b7=function(_0x27cd8e,_0x2616a1){const _0x34d074=[];for(const _0x2803f0 of _0x27cd8e['markers']){const _0x510a5c=_0x2803f0['getRange']();(_0x510a5c['containsPosition'](_0x2616a1)||_0x510a5c['start']['isEqual'](_0x2616a1)||_0x510a5c['end']['isEqual'](_0x2616a1))&&_0x34d074['push'](_0x2803f0);}return _0x34d074;}(_0x1bcb96,_0x1bcb96['document']['selection']['focus']),_0x1ff060=[],_0x4baa04=[],_0xf5727f=[];for(const _0x48fdde of _0x1be136)_0x1533b7['includes'](_0x48fdde)||_0x1ff060['push'](_0x48fdde);for(const _0x233e3f of _0x1533b7)_0x1be136['includes'](_0x233e3f)||_0x4baa04['push'](_0x233e3f),_0xf5727f['push'](_0x233e3f);(_0x1ff060['length']||_0x4baa04['length'])&&_0x2352e1({'left':_0x1ff060,'entered':_0x4baa04}),_0x1be136['length']=0x0,_0x1be136['push'](..._0xf5727f);});}const Q='Ctrl+Shift+E';function T(_0x4157a1,_0x1100b9){const _0x35ca42=_0x4157a1['element'];_0x4157a1['keystrokes']['listenTo'](_0x35ca42);for(const _0x122239 of _0x1100b9)K(_0x4157a1,_0x122239);_0x1100b9['on']('change',(_0x441cc3,_0x1e8872)=>{for(const _0x4f57ef of _0x1e8872['removed'])_(_0x4157a1,_0x4f57ef);for(const _0x2bb222 of Array['from'](_0x1e8872['added'])['reverse']())K(_0x4157a1,_0x2bb222);}),_0x4157a1['keystrokes']['set']('enter',(_0x7dd83e,_0x2ac53c)=>{_0x35ca42===_0x7dd83e['target']&&(_0x4157a1['focusCycler']['focusFirst'](),_0x2ac53c());},{'filter':_0x2a5b81=>_0x2a5b81['target']===_0x35ca42}),_0x4157a1['keystrokes']['set']('esc',(_0x14bb4,_0x3ebc8d)=>{_0x35ca42!==_0x14bb4['target']?_0x4157a1['focus']():_0x4157a1['fire']('escape'),_0x3ebc8d();}),_0x4157a1['keystrokes']['set']('arrowdown',(_0x51429d,_0x28f94b)=>{_0x35ca42===_0x51429d['target']&&(_0x4157a1['fire']('arrowdown'),_0x28f94b());}),_0x4157a1['keystrokes']['set']('arrowup',(_0x49f106,_0x52f50)=>{_0x35ca42===_0x49f106['target']&&(_0x4157a1['fire']('arrowup'),_0x52f50());});}function K(_0x28e8d5,_0x149385){_0x149385['isRendered']&&(_0x28e8d5['focusTracker']['add'](_0x149385['element']),_0x28e8d5['keystrokes']['listenTo'](_0x149385['element']),_0x3dff1b(_0x149385)&&function(_0x34111a,_0x1d7272){const _0x4f85b3=_0x34111a['actions'],_0x39592d=_0x1d7272['actions'];for(const _0x33f8fa of Object['keys'](_0x4f85b3))if(_0x33f8fa in _0x39592d&&_0x4f85b3[_0x33f8fa]!==_0x39592d[_0x33f8fa])return!0x1;return!0x0;}(_0x28e8d5['focusCycler'],_0x149385['focusCycler'])&&_0x28e8d5['focusCycler']['chain'](_0x149385['focusCycler']));}function _(_0x177d78,_0x3c6042){_0x177d78['focusTracker']['remove'](_0x3c6042['element']),_0x177d78['keystrokes']['stopListening'](_0x3c6042['element']),_0x3dff1b(_0x3c6042)&&_0x177d78['focusCycler']['unchain'](_0x3c6042['focusCycler']);}export{G as AriaDescriptionView,f as ConfirmMixin,Q as FOCUS_ANNOTATION_KEYSTROKE,U as LateFocusButtonView,Y as LateFocusDropdownButtonView,o as Permissions,J as UserView,u as Users,R as getAllMarkersDomElementsSorted,E as getDateTimeFormatter,g as getMarkerDomElement,M as hashObject,C as sanitizeEditorConfig,T as setupThreadKeyboardNavigation,B as surroundingMarkersDetector,Z as trimHtml};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module collaboration-core/legacyerrors
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* You have exhausted the trial usage limit (reason: reached document changes limit). Restart the editor.
|
|
15
|
+
*
|
|
16
|
+
* Please contact our customer support to get full access at https://ckeditor.com/contact/.
|
|
17
|
+
*
|
|
18
|
+
* @error trial-license-key-reached-limit-changes
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* You have exhausted the trial usage limit (reason: reached time limit). Restart the editor.
|
|
22
|
+
*
|
|
23
|
+
* Please contact our customer support to get a full access at https://ckeditor.com/contact/.
|
|
24
|
+
*
|
|
25
|
+
* @error trial-license-key-reached-limit-time
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* You have exhausted the trial usage limit (reason: reached revisions number limit).
|
|
29
|
+
*
|
|
30
|
+
* Please contact our customer support to get a full access at https://ckeditor.com/contact/.
|
|
31
|
+
*
|
|
32
|
+
* @error trial-license-key-reached-limit-revisions
|
|
33
|
+
*/
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module collaboration-core/permissions
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { ContextPlugin } from 'ckeditor5/src/core.js';
|
|
14
|
+
/**
|
|
15
|
+
* The `Permissions` plugin manages permissions set for the local user.
|
|
16
|
+
*
|
|
17
|
+
* Following is the list of all defined permissions:
|
|
18
|
+
*
|
|
19
|
+
* * `document:write` - modify the content of the document, and resolve comment threads created by any user,
|
|
20
|
+
* * `comment:write` - create, edit and remove own comments and create, remove own comment threads,
|
|
21
|
+
* and resolve comment threads created by any user,
|
|
22
|
+
* * `comment:admin` - resolve and remove comment threads created by other users (enables `comment:write`).
|
|
23
|
+
* * `comment:modify_all` - edit and remove any comments created by other users.
|
|
24
|
+
*
|
|
25
|
+
* For example, a user with `comment:write` permission but with no `document:write` permission will be able to add
|
|
26
|
+
* comments but will not be able to change the document data (comments-only mode).
|
|
27
|
+
*
|
|
28
|
+
* By default, the following permissions are set: `document:write`, `comment:write`, `comment:admin`.
|
|
29
|
+
*
|
|
30
|
+
* Permissions are handled separately for each channel id (for each editor instance and context instance).
|
|
31
|
+
*
|
|
32
|
+
* See also the {@glink features/collaboration/users#user-permissions User permissions} guide to learn how to use this plugin.
|
|
33
|
+
*/
|
|
34
|
+
export default class Permissions extends ContextPlugin {
|
|
35
|
+
/**
|
|
36
|
+
* @inheritDoc
|
|
37
|
+
*/
|
|
38
|
+
static get pluginName(): "Permissions";
|
|
39
|
+
/**
|
|
40
|
+
* @inheritDoc
|
|
41
|
+
*/
|
|
42
|
+
static get isOfficialPlugin(): true;
|
|
43
|
+
/**
|
|
44
|
+
* @inheritDoc
|
|
45
|
+
*/
|
|
46
|
+
static get isPremiumPlugin(): true;
|
|
47
|
+
/**
|
|
48
|
+
* Sets permissions for editor/context instance with given `channelId`.
|
|
49
|
+
*
|
|
50
|
+
* If `channelId` is not set, the channel id of the editor/context to which the plugin was added will be used.
|
|
51
|
+
* This means that it is not required if the plugin is added to the editor configuration and {@link module:core/context~Context}
|
|
52
|
+
* is not used.
|
|
53
|
+
*
|
|
54
|
+
* @param permissions Permissions to set.
|
|
55
|
+
* @param channelId The channel ID.
|
|
56
|
+
*/
|
|
57
|
+
setPermissions(permissions: Array<string>, channelId?: string): void;
|
|
58
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module collaboration-core/suggestions/view/ariadescriptionview
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
14
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
15
|
+
/**
|
|
16
|
+
* The view class (container) for a text referenced by a `aria-describedby` attribute.
|
|
17
|
+
*/
|
|
18
|
+
export default class AriaDescriptionView extends View {
|
|
19
|
+
readonly id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Creates an instance of `AriaDescriptionView`.
|
|
22
|
+
*
|
|
23
|
+
* @param locale Locale instance.
|
|
24
|
+
* @param description Plaintext description of the element.
|
|
25
|
+
*/
|
|
26
|
+
constructor(locale: Locale, description: string);
|
|
27
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module collaboration-core/suggestions/view/latefocusbuttonview
|
|
11
|
+
* @publicApi
|
|
12
|
+
*/
|
|
13
|
+
import { ButtonView, DropdownButtonView } from 'ckeditor5/src/ui.js';
|
|
14
|
+
/**
|
|
15
|
+
* The view class representing a button that becomes focused on `mouseup` rather than on `mousedown`.
|
|
16
|
+
*
|
|
17
|
+
* This is to delay any "on focus" actions (like e.g. activating annotation) until the user released mouse down,
|
|
18
|
+
* so that button related actions happen before focus related actions.
|
|
19
|
+
*
|
|
20
|
+
* Also, see {@link module:collaboration-core/suggestions/view/latefocusbuttonview~LateFocusDropdownButtonView}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class LateFocusButtonView extends ButtonView {
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
render(): void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The view class representing a dropdown button that becomes focused on `mouseup` rather than on `mousedown`.
|
|
30
|
+
*
|
|
31
|
+
* This is to delay any "on focus" actions (like e.g. activating annotation) until the user released mouse key,
|
|
32
|
+
* so that button related actions happen before focus related actions.
|
|
33
|
+
*
|
|
34
|
+
* Also, see {@link module:collaboration-core/suggestions/view/latefocusbuttonview~LateFocusButtonView}.
|
|
35
|
+
*/
|
|
36
|
+
export declare class LateFocusDropdownButtonView extends DropdownButtonView {
|
|
37
|
+
/**
|
|
38
|
+
* @inheritDoc
|
|
39
|
+
*/
|
|
40
|
+
render(): void;
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
import '../theme/suggestion.css';
|
|
10
|
+
import '../theme/suggestionmarker.css';
|
|
11
|
+
import '../theme/ariadescription.css';
|
|
12
|
+
import '../theme/integrations/image.css';
|
|
13
|
+
import '../theme/integrations/horizontalline.css';
|
|
14
|
+
import '../theme/integrations/mediaembed.css';
|
|
15
|
+
import '../theme/integrations/mergefields.css';
|
|
16
|
+
import '../theme/integrations/pagebreak.css';
|
|
17
|
+
import '../theme/integrations/table.css';
|
|
18
|
+
import '../theme/integrations/codeblock.css';
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x2f078c=>0x1!=_0x2f078c}};
|
|
@@ -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
|
+
(_0x42afd6=>{const {af:{dictionary:_0x189e7f,getPluralForm:_0x37369d}}={'af':{'dictionary':{'Anonymous':'Anoniem','Yes':'Ja','No':'Nee','Are\x20you\x20sure?':'Is\x20jy\x20seker?'},'getPluralForm':_0x57540a=>0x1!=_0x57540a}};_0x42afd6['af']||={'dictionary':{},'getPluralForm':null},_0x42afd6['af']['dictionary']=Object['assign'](_0x42afd6['af']['dictionary'],_0x189e7f),_0x42afd6['af']['getPluralForm']=_0x37369d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x5bdb3d=>0x0==_0x5bdb3d?0x0:0x1==_0x5bdb3d?0x1:0x2==_0x5bdb3d?0x2:_0x5bdb3d%0x64>=0x3&&_0x5bdb3d%0x64<=0xa?0x3:_0x5bdb3d%0x64>=0xb&&_0x5bdb3d%0x64<=0x63?0x4:0x5}};
|
|
@@ -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
|
+
(_0x582259=>{const {ar:{dictionary:_0xa7845c,getPluralForm:_0x5939a8}}={'ar':{'dictionary':{'Anonymous':'مجهول\x20الهوية','Yes':'نعم','No':'لا','Are\x20you\x20sure?':'هل\x20أنت\x20متأكد؟'},'getPluralForm':_0x5ac751=>0x0==_0x5ac751?0x0:0x1==_0x5ac751?0x1:0x2==_0x5ac751?0x2:_0x5ac751%0x64>=0x3&&_0x5ac751%0x64<=0xa?0x3:_0x5ac751%0x64>=0xb&&_0x5ac751%0x64<=0x63?0x4:0x5}};_0x582259['ar']||={'dictionary':{},'getPluralForm':null},_0x582259['ar']['dictionary']=Object['assign'](_0x582259['ar']['dictionary'],_0xa7845c),_0x582259['ar']['getPluralForm']=_0x5939a8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x3d1626=>0x1!=_0x3d1626}};
|
|
@@ -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
|
+
(_0x57fbbf=>{const {az:{dictionary:_0x537c00,getPluralForm:_0x535c51}}={'az':{'dictionary':{'Anonymous':'Anonim','Yes':'','No':'','Are\x20you\x20sure?':''},'getPluralForm':_0x11407f=>0x1!=_0x11407f}};_0x57fbbf['az']||={'dictionary':{},'getPluralForm':null},_0x57fbbf['az']['dictionary']=Object['assign'](_0x57fbbf['az']['dictionary'],_0x537c00),_0x57fbbf['az']['getPluralForm']=_0x535c51;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0x2b9f83=>0x1!=_0x2b9f83}};
|
|
@@ -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
|
+
(_0x4a2160=>{const {bg:{dictionary:_0x319cf9,getPluralForm:_0x3b158a}}={'bg':{'dictionary':{'Anonymous':'Анонимен','Yes':'Да','No':'Не','Are\x20you\x20sure?':'Сигурни\x20ли\x20сте?'},'getPluralForm':_0xd9a50b=>0x1!=_0xd9a50b}};_0x4a2160['bg']||={'dictionary':{},'getPluralForm':null},_0x4a2160['bg']['dictionary']=Object['assign'](_0x4a2160['bg']['dictionary'],_0x319cf9),_0x4a2160['bg']['getPluralForm']=_0x3b158a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x4693e2=>0x1!=_0x4693e2}};
|
|
@@ -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
|
+
(_0x2a0372=>{const {bn:{dictionary:_0x361eea,getPluralForm:_0x593c4e}}={'bn':{'dictionary':{'Anonymous':'নামহীন','Yes':'হ্যাঁ','No':'না','Are\x20you\x20sure?':'আপনি\x20কি\x20নিশ্চিত?'},'getPluralForm':_0x29a1fe=>0x1!=_0x29a1fe}};_0x2a0372['bn']||={'dictionary':{},'getPluralForm':null},_0x2a0372['bn']['dictionary']=Object['assign'](_0x2a0372['bn']['dictionary'],_0x361eea),_0x2a0372['bn']['getPluralForm']=_0x593c4e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -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
|
+
export default{'bs':{'dictionary':{'Anonymous':'Anonimno','Yes':'Da','No':'Ne','Are\x20you\x20sure?':'Da\x20li\x20ste\x20sigurni?'},'getPluralForm':_0x15b2f9=>_0x15b2f9%0xa==0x1&&_0x15b2f9%0x64!=0xb?0x0:_0x15b2f9%0xa>=0x2&&_0x15b2f9%0xa<=0x4&&(_0x15b2f9%0x64<0xa||_0x15b2f9%0x64>=0x14)?0x1:0x2}};
|