@ckeditor/ckeditor5-collaboration-core 39.0.2 → 40.0.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.
Files changed (43) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/package.json +2 -2
  4. package/src/augmentation.d.ts +38 -38
  5. package/src/collaborationhistory.d.ts +21 -21
  6. package/src/collaborationoperation.d.ts +28 -28
  7. package/src/config.d.ts +102 -102
  8. package/src/index.d.ts +18 -18
  9. package/src/permissions.d.ts +45 -45
  10. package/src/permissions.js +1 -1
  11. package/src/suggestionstyles.d.ts +12 -12
  12. package/src/users/view/userview.d.ts +16 -16
  13. package/src/users/view/userview.js +1 -1
  14. package/src/users.d.ts +161 -161
  15. package/src/users.js +1 -1
  16. package/src/utils/common-translations.d.ts +9 -9
  17. package/src/utils/common-translations.js +1 -1
  18. package/src/utils/confirmmixin.d.ts +20 -20
  19. package/src/utils/confirmmixin.js +1 -1
  20. package/src/utils/confirmview.d.ts +13 -13
  21. package/src/utils/confirmview.js +1 -1
  22. package/src/utils/getdatetimeformatter.d.ts +29 -29
  23. package/src/utils/getdatetimeformatter.js +1 -1
  24. package/src/utils/getmarkerdomelement.d.ts +22 -22
  25. package/src/utils/getmarkerdomelement.js +1 -1
  26. package/src/utils/hashobject.d.ts +8 -8
  27. package/src/utils/hashobject.js +1 -1
  28. package/src/utils/sanitizeEditorConfig.d.ts +15 -15
  29. package/src/utils/sanitizeEditorConfig.js +1 -1
  30. package/src/utils/trim-html.d.ts +16 -16
  31. package/src/utils/trim-html.js +1 -1
  32. package/theme/icons/notification.svg +1 -1
  33. package/theme/integrations/codeblock.css +9 -0
  34. package/theme/integrations/horizontalline.css +9 -0
  35. package/theme/integrations/image.css +9 -0
  36. package/theme/integrations/mediaembed.css +9 -0
  37. package/theme/integrations/pagebreak.css +9 -0
  38. package/theme/integrations/table.css +9 -0
  39. package/theme/suggestion.css +9 -0
  40. package/theme/suggestionmarker.css +2 -1
  41. package/theme/usercolormixin.css +10 -1
  42. package/theme/usercolors.css +2 -1
  43. package/theme/users.css +2 -1
@@ -1,22 +1,22 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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 { EditingController, Marker } from 'ckeditor5/src/engine';
6
- /**
7
- * Returns a first DOM element mapped with the marker.
8
- *
9
- * @param editing Editing controller instance.
10
- * @param marker Marker instance.
11
- */
12
- export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
13
- /**
14
- * Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
15
- * Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
16
- *
17
- * Note, that markers should not intersect.
18
- *
19
- * @param editing Editing controller instance.
20
- * @param markers Markers instances.
21
- */
22
- export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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 { EditingController, Marker } from 'ckeditor5/src/engine';
6
+ /**
7
+ * Returns a first DOM element mapped with the marker.
8
+ *
9
+ * @param editing Editing controller instance.
10
+ * @param marker Marker instance.
11
+ */
12
+ export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
13
+ /**
14
+ * Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
15
+ * Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
16
+ *
17
+ * Note, that markers should not intersect.
18
+ *
19
+ * @param editing Editing controller instance.
20
+ * @param markers Markers instances.
21
+ */
22
+ export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34c2=['markerNameToElements','filter','mapViewToDom','push','length','getClientRects','mapper','name','domConverter','values','sort','map','view'];(function(_0x2f2644,_0x34c2ee){const _0x54e886=function(_0x39e37c){while(--_0x39e37c){_0x2f2644['push'](_0x2f2644['shift']());}};_0x54e886(++_0x34c2ee);}(_0x34c2,0x12a));const _0x54e8=function(_0x2f2644,_0x34c2ee){_0x2f2644=_0x2f2644-0x0;let _0x54e886=_0x34c2[_0x2f2644];return _0x54e886;};import{first as _0x11dc2f}from'ckeditor5/src/utils';export default function k(_0x11cc16,_0x2a1626){const _0x283210=_0x11cc16[_0x54e8('0x7')][_0x54e8('0x1')](_0x2a1626[_0x54e8('0x8')]);if(!_0x283210)return null;const _0x1dc14c=_0x11dc2f(_0x283210[_0x54e8('0xa')]());return _0x11cc16[_0x54e8('0x0')][_0x54e8('0x9')][_0x54e8('0x3')](_0x1dc14c)||null;}export function getAllMarkersDomElementsSorted(_0x32a6b7,_0x4508e6){if(0x0===_0x4508e6['length'])return null;const _0x2677cb=[],_0x553e1b=_0x32a6b7['view']['domConverter'];for(const _0x4641a7 of _0x4508e6){const _0x2c7a0f=_0x32a6b7[_0x54e8('0x7')][_0x54e8('0x1')](_0x4641a7['name']);if(!_0x2c7a0f)continue;const _0x52ebf1=Array['from'](_0x2c7a0f)[_0x54e8('0xc')](_0x47a947=>_0x553e1b[_0x54e8('0x3')](_0x47a947))[_0x54e8('0x2')](_0x369e59=>!!_0x369e59);_0x2677cb[_0x54e8('0x4')](..._0x52ebf1);}if(0x0===_0x2677cb[_0x54e8('0x5')])return null;const _0x7bdcae=[];for(const _0x57ead3 of _0x2677cb){const _0x361d7a=_0x57ead3[_0x54e8('0x6')]()['item'](0x0);_0x361d7a&&_0x7bdcae[_0x54e8('0x4')]({'x':_0x361d7a['x'],'y':_0x361d7a['y'],'domElement':_0x57ead3});}return 0x0===_0x7bdcae['length']?null:(_0x7bdcae[_0x54e8('0xb')]((_0x2dd88a,_0x3aa55a)=>_0x2dd88a['y']-_0x3aa55a['y']||_0x2dd88a['x']-_0x3aa55a['x']),_0x7bdcae[_0x54e8('0xc')](_0x1be58e=>_0x1be58e['domElement']));}
23
+ const _0x2d0c=['view','values','name','push','markerNameToElements','domElement','mapViewToDom','length','mapper','map'];(function(_0x561b4d,_0x2d0c5e){const _0x443363=function(_0x20b47a){while(--_0x20b47a){_0x561b4d['push'](_0x561b4d['shift']());}};_0x443363(++_0x2d0c5e);}(_0x2d0c,0x1ce));const _0x4433=function(_0x561b4d,_0x2d0c5e){_0x561b4d=_0x561b4d-0x0;let _0x443363=_0x2d0c[_0x561b4d];return _0x443363;};import{first as _0x273264}from'ckeditor5/src/utils';export default function k(_0x57e8fb,_0x1a3bc7){const _0x5a1069=_0x57e8fb[_0x4433('0x6')][_0x4433('0x2')](_0x1a3bc7['name']);if(!_0x5a1069)return null;const _0x3d6e57=_0x273264(_0x5a1069[_0x4433('0x9')]());return _0x57e8fb[_0x4433('0x8')]['domConverter'][_0x4433('0x4')](_0x3d6e57)||null;}export function getAllMarkersDomElementsSorted(_0x361b63,_0x288e20){if(0x0===_0x288e20['length'])return null;const _0x4fbcf1=[],_0x2a89c1=_0x361b63[_0x4433('0x8')]['domConverter'];for(const _0x6c07dd of _0x288e20){const _0x5d280b=_0x361b63[_0x4433('0x6')]['markerNameToElements'](_0x6c07dd[_0x4433('0x0')]);if(!_0x5d280b)continue;const _0x1ffa78=Array['from'](_0x5d280b)[_0x4433('0x7')](_0x3a7a6e=>_0x2a89c1['mapViewToDom'](_0x3a7a6e))['filter'](_0xab2d83=>!!_0xab2d83);_0x4fbcf1['push'](..._0x1ffa78);}if(0x0===_0x4fbcf1[_0x4433('0x5')])return null;const _0x37f1ee=[];for(const _0x3dc6c7 of _0x4fbcf1){const _0x131f73=_0x3dc6c7['getClientRects']()['item'](0x0);_0x131f73&&_0x37f1ee[_0x4433('0x1')]({'x':_0x131f73['x'],'y':_0x131f73['y'],'domElement':_0x3dc6c7});}return 0x0===_0x37f1ee[_0x4433('0x5')]?null:(_0x37f1ee['sort']((_0x496a58,_0x4d7619)=>_0x496a58['y']-_0x4d7619['y']||_0x496a58['x']-_0x4d7619['x']),_0x37f1ee[_0x4433('0x7')](_0x18d26c=>_0x18d26c[_0x4433('0x3')]));}
@@ -1,8 +1,8 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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 track-changes/utils/hashobject
7
- */
8
- export default function hashObject(obj: Record<string, unknown>): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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 track-changes/utils/hashobject
7
+ */
8
+ export default function hashObject(obj: Record<string, unknown>): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4273=['sort','sign','keys','object','number','charCodeAt','toString'];(function(_0x3dd6d8,_0x427316){const _0x5992f3=function(_0x5cc801){while(--_0x5cc801){_0x3dd6d8['push'](_0x3dd6d8['shift']());}};_0x5992f3(++_0x427316);}(_0x4273,0x168));const _0x5992=function(_0x3dd6d8,_0x427316){_0x3dd6d8=_0x3dd6d8-0x0;let _0x5992f3=_0x4273[_0x3dd6d8];return _0x5992f3;};export default function b(_0x3aa396){let _0x5be8eb=0x0,_0x1e9c6e=0x0;for(const _0x70dc56 of g(_0x3aa396))_0x5be8eb=(_0x5be8eb<<0x5)-_0x5be8eb+_0x70dc56,_0x5be8eb&=_0x5be8eb,[_0x5be8eb,_0x1e9c6e]=[_0x1e9c6e,_0x5be8eb];return O(_0x5be8eb)+O(_0x1e9c6e);}function*j(_0x4cab11){_0x4cab11?'boolean'==typeof _0x4cab11?yield 0x1:Array['isArray'](_0x4cab11)?yield*function*(_0x11ec68){for(const _0x122294 of _0x11ec68)yield*j(_0x122294);}(_0x4cab11):_0x5992('0x0')==typeof _0x4cab11?yield*g(_0x4cab11):'string'==typeof _0x4cab11?yield*A(_0x4cab11):_0x5992('0x1')==typeof _0x4cab11&&(yield _0x4cab11):yield 0x0;}function*g(_0x436fd1){if(yield M('{'),_0x436fd1){const _0x506108=Object[_0x5992('0x6')](_0x436fd1)[_0x5992('0x4')]();for(const _0x2e28f1 of _0x506108){yield*A(_0x2e28f1),yield M(':');const _0x2edfca=_0x436fd1[_0x2e28f1];yield*j(_0x2edfca);}}yield M('}');}function*A(_0x16a815){yield M('\x22');for(const _0x2e19a1 of _0x16a815)yield M(_0x2e19a1);yield M('\x22');}function M(_0x1ab596){return _0x1ab596[_0x5992('0x2')](0x0);}function O(_0x1a6bb1){return(_0x1a6bb1*=Math[_0x5992('0x5')](_0x1a6bb1))[_0x5992('0x3')](0x24);}
23
+ const _0x89a8=['sign','toString','object','string','number','charCodeAt','sort','keys','boolean'];(function(_0x330128,_0x89a8b0){const _0x5e6d23=function(_0x3c848a){while(--_0x3c848a){_0x330128['push'](_0x330128['shift']());}};_0x5e6d23(++_0x89a8b0);}(_0x89a8,0x13a));const _0x5e6d=function(_0x330128,_0x89a8b0){_0x330128=_0x330128-0x0;let _0x5e6d23=_0x89a8[_0x330128];return _0x5e6d23;};export default function b(_0x2a4601){let _0x23ded6=0x0,_0x91676f=0x0;for(const _0x5883ea of g(_0x2a4601))_0x23ded6=(_0x23ded6<<0x5)-_0x23ded6+_0x5883ea,_0x23ded6&=_0x23ded6,[_0x23ded6,_0x91676f]=[_0x91676f,_0x23ded6];return O(_0x23ded6)+O(_0x91676f);}function*j(_0x1c765c){_0x1c765c?_0x5e6d('0x0')==typeof _0x1c765c?yield 0x1:Array['isArray'](_0x1c765c)?yield*function*(_0x3a3aa4){for(const _0x455145 of _0x3a3aa4)yield*j(_0x455145);}(_0x1c765c):_0x5e6d('0x3')==typeof _0x1c765c?yield*g(_0x1c765c):_0x5e6d('0x4')==typeof _0x1c765c?yield*A(_0x1c765c):_0x5e6d('0x5')==typeof _0x1c765c&&(yield _0x1c765c):yield 0x0;}function*g(_0x11662a){if(yield M('{'),_0x11662a){const _0x52d43e=Object[_0x5e6d('0x8')](_0x11662a)[_0x5e6d('0x7')]();for(const _0x2034af of _0x52d43e){yield*A(_0x2034af),yield M(':');const _0x501b59=_0x11662a[_0x2034af];yield*j(_0x501b59);}}yield M('}');}function*A(_0x1d1e35){yield M('\x22');for(const _0x5da9a6 of _0x1d1e35)yield M(_0x5da9a6);yield M('\x22');}function M(_0x196420){return _0x196420[_0x5e6d('0x6')](0x0);}function O(_0x141024){return(_0x141024*=Math[_0x5e6d('0x1')](_0x141024))[_0x5e6d('0x2')](0x24);}
@@ -1,15 +1,15 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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/utils/common-translations
7
- */
8
- import type { Editor, EditorConfig } from 'ckeditor5/src/core';
9
- /**
10
- * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
- *
12
- * @param editor The instance of the source editor.
13
- * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
14
- */
15
- export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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/utils/common-translations
7
+ */
8
+ import type { Editor, EditorConfig } from 'ckeditor5/src/core';
9
+ /**
10
+ * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
11
+ *
12
+ * @param editor The instance of the source editor.
13
+ * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
14
+ */
15
+ export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453b=['WordCount','concat','config','Autosave','pluginName','length','names','find','initialData','RevisionTracker','constructor','every','toolbar','extraPlugins','requires','map','filter','has','from','string','includes','plugins','WProofreader','get','_context','WebSocketGateway','removePlugins','set'];(function(_0x272f53,_0x453b64){const _0x23353b=function(_0xc4cc5e){while(--_0xc4cc5e){_0x272f53['push'](_0x272f53['shift']());}};_0x23353b(++_0x453b64);}(_0x453b,0x108));const _0x2335=function(_0x272f53,_0x453b64){_0x272f53=_0x272f53-0x0;let _0x23353b=_0x453b[_0x272f53];return _0x23353b;};const w=[_0x2335('0x18'),'context',_0x2335('0x0'),'rootsAttributes'],W=[_0x2335('0xd'),_0x2335('0x19'),_0x2335('0x13'),_0x2335('0x10'),'DocumentOutline',_0x2335('0xa')];function v(_0x5227bd,_0x2356c5,_0x8d0e99,_0x331093=[]){const _0x44a7eb='string'==typeof _0x5227bd?_0x8d0e99['get'](_0x5227bd)['constructor']:_0x5227bd,_0x1c242a=_0x44a7eb['pluginName']||_0x44a7eb['name'];if(_0x2356c5[_0x2335('0x5')](_0x1c242a))return _0x2356c5['get'](_0x1c242a);if(_0x2356c5[_0x2335('0xf')](_0x1c242a,!0x0),_0x1c242a&&W[_0x2335('0x11')](_0x331093)[_0x2335('0x8')](_0x1c242a))return _0x2356c5[_0x2335('0xf')](_0x1c242a,!0x1),!0x1;if(!_0x44a7eb[_0x2335('0x2')])return _0x2356c5['set'](_0x1c242a,!0x0),!0x0;const _0x5829ac=_0x44a7eb[_0x2335('0x2')][_0x2335('0x1b')](_0x34eb81=>v(_0x34eb81,_0x2356c5,_0x8d0e99,_0x331093));return _0x2356c5[_0x2335('0xf')](_0x1c242a,_0x5829ac),_0x5829ac;}export default function D(_0x45bc6b,_0x41ea40){const _0x6797e1={};for(const _0x67f26c of _0x45bc6b[_0x2335('0x12')][_0x2335('0x16')]())w['includes'](_0x67f26c)||(_0x6797e1[_0x67f26c]=_0x45bc6b[_0x2335('0x12')][_0x2335('0xb')](_0x67f26c));const _0x1d1a9e=_0x6797e1[_0x2335('0x9')]||[],_0x365de5=_0x45bc6b[_0x2335('0x1a')]['builtinPlugins']||[],_0x1e7e82=_0x1d1a9e[_0x2335('0x15')]?_0x1d1a9e:_0x365de5,_0x492f98=_0x6797e1[_0x2335('0x1')]||[];delete _0x6797e1[_0x2335('0x1')];const _0x5aa422=_0x6797e1[_0x2335('0xe')]||[];delete _0x6797e1[_0x2335('0xe')];const _0x389f71=_0x45bc6b[_0x2335('0xc')]['config']['get'](_0x2335('0x9'))||[],_0x488967=_0x1e7e82[_0x2335('0x11')](_0x492f98)[_0x2335('0x11')](_0x389f71)[_0x2335('0x3')](_0x4d7c09=>_0x2335('0x7')==typeof _0x4d7c09?_0x365de5[_0x2335('0x17')](_0x4e8f6a=>_0x4e8f6a[_0x2335('0x14')]==_0x4d7c09):_0x4d7c09)[_0x2335('0x4')](_0x24606e=>!_0x5aa422['includes'](_0x24606e)),_0x58ebf9=Array[_0x2335('0x6')](new Set(_0x488967)),_0x11ed0b=new Map();return _0x6797e1[_0x2335('0x9')]=_0x58ebf9['filter'](_0x5a7b32=>v(_0x5a7b32,_0x11ed0b,_0x45bc6b[_0x2335('0x9')],_0x41ea40)),_0x6797e1;}
23
+ const _0x53da=['requires','set','length','concat','DocumentOutline','rootsAttributes','string','includes','plugins','extraPlugins','map','RevisionTracker','config','filter','_context','find','initialData','toolbar','has','removePlugins','name','names','pluginName','builtinPlugins','constructor','get'];(function(_0x327841,_0x53da8f){const _0xcf91a1=function(_0x5aba51){while(--_0x5aba51){_0x327841['push'](_0x327841['shift']());}};_0xcf91a1(++_0x53da8f);}(_0x53da,0x138));const _0xcf91=function(_0x327841,_0x53da8f){_0x327841=_0x327841-0x0;let _0xcf91a1=_0x53da[_0x327841];return _0xcf91a1;};const w=[_0xcf91('0x10'),'context',_0xcf91('0x11'),_0xcf91('0x5')],W=['WebSocketGateway',_0xcf91('0xb'),'Autosave','WordCount',_0xcf91('0x4'),'WProofreader'];function v(_0x572ae6,_0x307586,_0x128d08,_0x3d2aa3=[]){const _0x31b0c8=_0xcf91('0x6')==typeof _0x572ae6?_0x128d08[_0xcf91('0x19')](_0x572ae6)['constructor']:_0x572ae6,_0x10a1c6=_0x31b0c8[_0xcf91('0x16')]||_0x31b0c8[_0xcf91('0x14')];if(_0x307586[_0xcf91('0x12')](_0x10a1c6))return _0x307586[_0xcf91('0x19')](_0x10a1c6);if(_0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),_0x10a1c6&&W[_0xcf91('0x3')](_0x3d2aa3)[_0xcf91('0x7')](_0x10a1c6))return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x1),!0x1;if(!_0x31b0c8[_0xcf91('0x0')])return _0x307586[_0xcf91('0x1')](_0x10a1c6,!0x0),!0x0;const _0x15f424=_0x31b0c8[_0xcf91('0x0')]['every'](_0x2b9b58=>v(_0x2b9b58,_0x307586,_0x128d08,_0x3d2aa3));return _0x307586[_0xcf91('0x1')](_0x10a1c6,_0x15f424),_0x15f424;}export default function D(_0x88f503,_0x5653d4){const _0x5d5251={};for(const _0x572886 of _0x88f503[_0xcf91('0xc')][_0xcf91('0x15')]())w[_0xcf91('0x7')](_0x572886)||(_0x5d5251[_0x572886]=_0x88f503[_0xcf91('0xc')]['get'](_0x572886));const _0x1d0f7e=_0x5d5251['plugins']||[],_0x2a809d=_0x88f503[_0xcf91('0x18')][_0xcf91('0x17')]||[],_0x66607e=_0x1d0f7e[_0xcf91('0x2')]?_0x1d0f7e:_0x2a809d,_0x54f84f=_0x5d5251[_0xcf91('0x9')]||[];delete _0x5d5251[_0xcf91('0x9')];const _0x27f208=_0x5d5251[_0xcf91('0x13')]||[];delete _0x5d5251['removePlugins'];const _0x3774b9=_0x88f503[_0xcf91('0xe')][_0xcf91('0xc')][_0xcf91('0x19')](_0xcf91('0x8'))||[],_0x3a1ff8=_0x66607e[_0xcf91('0x3')](_0x54f84f)['concat'](_0x3774b9)[_0xcf91('0xa')](_0x15fbe4=>_0xcf91('0x6')==typeof _0x15fbe4?_0x2a809d[_0xcf91('0xf')](_0x28f19b=>_0x28f19b['pluginName']==_0x15fbe4):_0x15fbe4)[_0xcf91('0xd')](_0x47b926=>!_0x27f208['includes'](_0x47b926)),_0x266887=Array['from'](new Set(_0x3a1ff8)),_0x22c76e=new Map();return _0x5d5251[_0xcf91('0x8')]=_0x266887['filter'](_0x5356e0=>v(_0x5356e0,_0x22c76e,_0x88f503[_0xcf91('0x8')],_0x5653d4)),_0x5d5251;}
@@ -1,16 +1,16 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, 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
- * Trims text inside a html tags and takes care of all closing tags.
7
- *
8
- * @param html
9
- * @param options
10
- * @param limit Limit of the characters.
11
- * @param suffix
12
- */
13
- export default function trimHtml(html: string, { limit, suffix }: {
14
- limit: number;
15
- suffix?: string;
16
- }): string;
1
+ /**
2
+ * @license Copyright (c) 2003-2023, 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
+ * Trims text inside a html tags and takes care of all closing tags.
7
+ *
8
+ * @param html
9
+ * @param options
10
+ * @param limit Limit of the characters.
11
+ * @param suffix
12
+ */
13
+ export default function trimHtml(html: string, { limit, suffix }: {
14
+ limit: number;
15
+ suffix?: string;
16
+ }): string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40a8=['match','...','split','indexOf','slice','join','replace','startsWith','substring','length','push'];(function(_0x248b0f,_0x40a82c){const _0x181057=function(_0x5dc27c){while(--_0x5dc27c){_0x248b0f['push'](_0x248b0f['shift']());}};_0x181057(++_0x40a82c);}(_0x40a8,0xfd));const _0x1810=function(_0x248b0f,_0x40a82c){_0x248b0f=_0x248b0f-0x0;let _0x181057=_0x40a8[_0x248b0f];return _0x181057;};export default function z(_0x19e263,{limit:_0x5a87c3,suffix:_0x5b24ef=_0x1810('0x1')}){const _0x272643=[];let _0x44ce8b=0x0;const _0x59fa60=_0x19e263[_0x1810('0x6')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x1810('0x6')](/^\n/g,'')[_0x1810('0x6')](/\n$/g,'')[_0x1810('0x2')]('\x0a');for(let _0x5f3e99=0x0;_0x5f3e99<_0x59fa60[_0x1810('0x9')];_0x5f3e99++){let _0x26d9f4=_0x59fa60[_0x5f3e99];const _0x576c6f=Z(_0x26d9f4);if(_0x26d9f4[_0x1810('0x7')]('<')){if(_0x44ce8b>=_0x5a87c3){const _0x25bb5e=_0x26d9f4['match'](/[a-zA-Z]+/);if(!_0x25bb5e){_0x59fa60[_0x5f3e99]='';continue;}const _0x2d7f58=_0x25bb5e[0x0];_0x26d9f4['startsWith']('</')?(_0x272643[_0x1810('0x9')]&&(_0x26d9f4=''),_0x272643['pop']()):(_0x272643[_0x1810('0xa')](_0x2d7f58),_0x26d9f4='');}}else{if(_0x44ce8b>=_0x5a87c3)_0x26d9f4='';else{if(_0x44ce8b+_0x576c6f[_0x1810('0x9')]>=_0x5a87c3){let _0x4393e4=_0x5a87c3-_0x44ce8b;if('\x20'===_0x576c6f[_0x4393e4-0x1])_0x4393e4--;else{const _0x44db57=_0x576c6f[_0x1810('0x4')](_0x4393e4)[_0x1810('0x3')]('\x20');-0x1!==_0x44db57?_0x4393e4+=_0x44db57:_0x4393e4=_0x26d9f4[_0x1810('0x9')];}_0x26d9f4=_0x576c6f[_0x1810('0x4')](0x0,_0x4393e4)['join']('')+_0x5b24ef,_0x44ce8b=_0x5a87c3;}else _0x44ce8b+=_0x576c6f['length'];}}_0x59fa60[_0x5f3e99]=_0x26d9f4;}return _0x59fa60[_0x1810('0x5')]('\x0a')[_0x1810('0x6')](/\n/g,'');}function Z(_0x5b28c6){const _0x3e96da=[];for(let _0x238d7e=0x0;_0x238d7e<_0x5b28c6[_0x1810('0x9')];_0x238d7e++){const _0x3bec0b=_0x5b28c6[_0x1810('0x8')](_0x238d7e)[_0x1810('0x0')](/^&[a-z0-9#]+;/);if(_0x3bec0b){const _0x1543a5=_0x3bec0b[0x0];_0x3e96da[_0x1810('0xa')](_0x1543a5),_0x238d7e+=_0x1543a5['length']-0x1;}else _0x3e96da['push'](_0x5b28c6[_0x238d7e]);}return _0x3e96da;}
23
+ const _0x11fc=['replace','split','indexOf','startsWith','length','slice','push','match','...','substring','join','pop'];(function(_0x209efe,_0x11fc52){const _0xd5da3=function(_0x58b1da){while(--_0x58b1da){_0x209efe['push'](_0x209efe['shift']());}};_0xd5da3(++_0x11fc52);}(_0x11fc,0xed));const _0xd5da=function(_0x209efe,_0x11fc52){_0x209efe=_0x209efe-0x0;let _0xd5da3=_0x11fc[_0x209efe];return _0xd5da3;};export default function z(_0x1cf12c,{limit:_0x2a138c,suffix:_0x10f8b8=_0xd5da('0xb')}){const _0x5b092f=[];let _0x169d00=0x0;const _0x4aa9b6=_0x1cf12c['replace'](/</g,'\x0a<')[_0xd5da('0x3')](/>/g,'>\x0a')[_0xd5da('0x3')](/^\n/g,'')[_0xd5da('0x3')](/\n$/g,'')[_0xd5da('0x4')]('\x0a');for(let _0x4c9e64=0x0;_0x4c9e64<_0x4aa9b6[_0xd5da('0x7')];_0x4c9e64++){let _0x1c5019=_0x4aa9b6[_0x4c9e64];const _0x4ea49a=Z(_0x1c5019);if(_0x1c5019['startsWith']('<')){if(_0x169d00>=_0x2a138c){const _0x3b0440=_0x1c5019[_0xd5da('0xa')](/[a-zA-Z]+/);if(!_0x3b0440){_0x4aa9b6[_0x4c9e64]='';continue;}const _0x202126=_0x3b0440[0x0];_0x1c5019[_0xd5da('0x6')]('</')?(_0x5b092f['length']&&(_0x1c5019=''),_0x5b092f[_0xd5da('0x2')]()):(_0x5b092f[_0xd5da('0x9')](_0x202126),_0x1c5019='');}}else{if(_0x169d00>=_0x2a138c)_0x1c5019='';else{if(_0x169d00+_0x4ea49a['length']>=_0x2a138c){let _0x1c5514=_0x2a138c-_0x169d00;if('\x20'===_0x4ea49a[_0x1c5514-0x1])_0x1c5514--;else{const _0xb0f3be=_0x4ea49a['slice'](_0x1c5514)[_0xd5da('0x5')]('\x20');-0x1!==_0xb0f3be?_0x1c5514+=_0xb0f3be:_0x1c5514=_0x1c5019[_0xd5da('0x7')];}_0x1c5019=_0x4ea49a[_0xd5da('0x8')](0x0,_0x1c5514)[_0xd5da('0x1')]('')+_0x10f8b8,_0x169d00=_0x2a138c;}else _0x169d00+=_0x4ea49a['length'];}}_0x4aa9b6[_0x4c9e64]=_0x1c5019;}return _0x4aa9b6[_0xd5da('0x1')]('\x0a')['replace'](/\n/g,'');}function Z(_0x32aee5){const _0x488b4a=[];for(let _0x340840=0x0;_0x340840<_0x32aee5[_0xd5da('0x7')];_0x340840++){const _0x1946b2=_0x32aee5[_0xd5da('0x0')](_0x340840)['match'](/^&[a-z0-9#]+;/);if(_0x1946b2){const _0x331605=_0x1946b2[0x0];_0x488b4a[_0xd5da('0x9')](_0x331605),_0x340840+=_0x331605[_0xd5da('0x7')]-0x1;}else _0x488b4a[_0xd5da('0x9')](_0x32aee5[_0x340840]);}return _0x488b4a;}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
7
+ Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  .ck-content pre > code.ck-suggestion-marker-formatBlock {
2
11
  display: block;
3
12
  box-shadow: -7px 0 0 0 hsl(0deg 0% 93%), -10px 0 0 0 var(--ck-color-suggestion-marker-format-border);
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  .ck-content .ck-widget.image > figcaption {
2
11
  &.ck-suggestion-marker-deletion {
3
12
  background-color: var(--ck-color-suggestion-widget-deletion-background);
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.media {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  .ck-content .ck-suggestion-marker-deletion.ck-widget.page-break {
2
11
  background-color: var(--ck-color-suggestion-widget-deletion-background);
3
12
 
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  :root {
2
11
  --ck-color-suggestion-widget-th-insertion-background: hsla(128, 71%, 65%, .12);
3
12
  --ck-color-suggestion-widget-th-insertion-background-active: hsla(128, 71%, 50%, .14);
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  :root {
2
11
  --ck-color-comment-box-border: hsl(55, 98%, 48%);
3
12
  --ck-color-suggestion-box-deletion-border: hsl(345, 62%, 60%);
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  :root {
@@ -1,3 +1,12 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2023, 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
+
1
10
  @define-mixin userColor $color, $colorAlpha, $number {
2
11
  .ck .ck-user__color--$(number) {
3
12
  color: $color;
@@ -27,4 +36,4 @@
27
36
  border: 1px solid $color;
28
37
  }
29
38
  }
30
- }
39
+ }
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  @import "./usercolormixin.css";
package/theme/users.css CHANGED
@@ -3,7 +3,8 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
8
  */
8
9
 
9
10
  @import '@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css';