@ckeditor/ckeditor5-collaboration-core 38.1.0 → 38.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/augmentation.d.ts +34 -34
- package/src/collaborationhistory.d.ts +17 -17
- package/src/collaborationoperation.d.ts +24 -24
- package/src/config.d.ts +98 -98
- package/src/index.d.ts +13 -13
- package/src/permissions.d.ts +41 -41
- package/src/permissions.js +1 -1
- package/src/suggestionstyles.d.ts +8 -8
- package/src/users/view/userview.d.ts +12 -12
- package/src/users/view/userview.js +1 -1
- package/src/users.d.ts +146 -146
- package/src/users.js +1 -1
- package/src/utils/common-translations.d.ts +5 -5
- package/src/utils/common-translations.js +1 -1
- package/src/utils/confirmmixin.d.ts +16 -16
- package/src/utils/confirmmixin.js +1 -1
- package/src/utils/confirmview.d.ts +9 -9
- package/src/utils/confirmview.js +1 -1
- package/src/utils/getdatetimeformatter.d.ts +29 -29
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.d.ts +21 -21
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/hashobject.d.ts +4 -4
- package/src/utils/hashobject.js +1 -1
- package/src/utils/trim-html.d.ts +12 -12
- package/src/utils/trim-html.js +1 -1
package/src/utils/hashobject.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x1782=['sort','toString','sign','object','keys','boolean','isArray','string'];(function(_0x47fee,_0x1782d2){const _0x49f343=function(_0x2928c3){while(--_0x2928c3){_0x47fee['push'](_0x47fee['shift']());}};_0x49f343(++_0x1782d2);}(_0x1782,0x65));const _0x49f3=function(_0x47fee,_0x1782d2){_0x47fee=_0x47fee-0x0;let _0x49f343=_0x1782[_0x47fee];return _0x49f343;};export default function b(_0x4f99ee){let _0x45573a=0x0,_0x43a2e2=0x0;for(const _0x5cbfa0 of g(_0x4f99ee))_0x45573a=(_0x45573a<<0x5)-_0x45573a+_0x5cbfa0,_0x45573a&=_0x45573a,[_0x45573a,_0x43a2e2]=[_0x43a2e2,_0x45573a];return O(_0x45573a)+O(_0x43a2e2);}function*j(_0x36675a){_0x36675a?_0x49f3('0x0')==typeof _0x36675a?yield 0x1:Array[_0x49f3('0x1')](_0x36675a)?yield*function*(_0x4d85fd){for(const _0x37a3df of _0x4d85fd)yield*j(_0x37a3df);}(_0x36675a):_0x49f3('0x6')==typeof _0x36675a?yield*g(_0x36675a):_0x49f3('0x2')==typeof _0x36675a?yield*A(_0x36675a):'number'==typeof _0x36675a&&(yield _0x36675a):yield 0x0;}function*g(_0x12ac6a){if(yield M('{'),_0x12ac6a){const _0x397cee=Object[_0x49f3('0x7')](_0x12ac6a)[_0x49f3('0x3')]();for(const _0x2699b0 of _0x397cee){yield*A(_0x2699b0),yield M(':');const _0x2a4894=_0x12ac6a[_0x2699b0];yield*j(_0x2a4894);}}yield M('}');}function*A(_0x3ff80b){yield M('\x22');for(const _0x3e4cbd of _0x3ff80b)yield M(_0x3e4cbd);yield M('\x22');}function M(_0x3526ff){return _0x3526ff['charCodeAt'](0x0);}function O(_0x1eb7a7){return(_0x1eb7a7*=Math[_0x49f3('0x5')](_0x1eb7a7))[_0x49f3('0x4')](0x24);}
|
package/src/utils/trim-html.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
/**
|
2
|
-
* Trims text inside a html tags and takes care of all closing tags.
|
3
|
-
*
|
4
|
-
* @param html
|
5
|
-
* @param options
|
6
|
-
* @param limit Limit of the characters.
|
7
|
-
* @param suffix
|
8
|
-
*/
|
9
|
-
export default function trimHtml(html: string, { limit, suffix }: {
|
10
|
-
limit: number;
|
11
|
-
suffix?: string;
|
12
|
-
}): string;
|
1
|
+
/**
|
2
|
+
* Trims text inside a html tags and takes care of all closing tags.
|
3
|
+
*
|
4
|
+
* @param html
|
5
|
+
* @param options
|
6
|
+
* @param limit Limit of the characters.
|
7
|
+
* @param suffix
|
8
|
+
*/
|
9
|
+
export default function trimHtml(html: string, { limit, suffix }: {
|
10
|
+
limit: number;
|
11
|
+
suffix?: string;
|
12
|
+
}): string;
|
package/src/utils/trim-html.js
CHANGED
@@ -20,4 +20,4 @@
|
|
20
20
|
*
|
21
21
|
*
|
22
22
|
*/
|
23
|
-
const
|
23
|
+
const _0x2f2d=['substring','join','...','split','startsWith','length','match','pop','indexOf','replace','slice','push'];(function(_0x28a50d,_0x2f2d21){const _0x23983d=function(_0x541eca){while(--_0x541eca){_0x28a50d['push'](_0x28a50d['shift']());}};_0x23983d(++_0x2f2d21);}(_0x2f2d,0x10e));const _0x2398=function(_0x28a50d,_0x2f2d21){_0x28a50d=_0x28a50d-0x0;let _0x23983d=_0x2f2d[_0x28a50d];return _0x23983d;};export default function z(_0x19affa,{limit:_0x312c30,suffix:_0x24da62=_0x2398('0x8')}){const _0x59cdc0=[];let _0x2a939a=0x0;const _0x3ce932=_0x19affa[_0x2398('0x3')](/</g,'\x0a<')['replace'](/>/g,'>\x0a')[_0x2398('0x3')](/^\n/g,'')[_0x2398('0x3')](/\n$/g,'')[_0x2398('0x9')]('\x0a');for(let _0x7ceb7d=0x0;_0x7ceb7d<_0x3ce932[_0x2398('0xb')];_0x7ceb7d++){let _0x45c7a5=_0x3ce932[_0x7ceb7d];const _0x1189dc=Z(_0x45c7a5);if(_0x45c7a5[_0x2398('0xa')]('<')){if(_0x2a939a>=_0x312c30){const _0x34cb33=_0x45c7a5[_0x2398('0x0')](/[a-zA-Z]+/);if(!_0x34cb33){_0x3ce932[_0x7ceb7d]='';continue;}const _0x375f8e=_0x34cb33[0x0];_0x45c7a5[_0x2398('0xa')]('</')?(_0x59cdc0[_0x2398('0xb')]&&(_0x45c7a5=''),_0x59cdc0[_0x2398('0x1')]()):(_0x59cdc0[_0x2398('0x5')](_0x375f8e),_0x45c7a5='');}}else{if(_0x2a939a>=_0x312c30)_0x45c7a5='';else{if(_0x2a939a+_0x1189dc['length']>=_0x312c30){let _0x40c5d1=_0x312c30-_0x2a939a;if('\x20'===_0x1189dc[_0x40c5d1-0x1])_0x40c5d1--;else{const _0x4b7daf=_0x1189dc['slice'](_0x40c5d1)[_0x2398('0x2')]('\x20');-0x1!==_0x4b7daf?_0x40c5d1+=_0x4b7daf:_0x40c5d1=_0x45c7a5[_0x2398('0xb')];}_0x45c7a5=_0x1189dc[_0x2398('0x4')](0x0,_0x40c5d1)[_0x2398('0x7')]('')+_0x24da62,_0x2a939a=_0x312c30;}else _0x2a939a+=_0x1189dc[_0x2398('0xb')];}}_0x3ce932[_0x7ceb7d]=_0x45c7a5;}return _0x3ce932[_0x2398('0x7')]('\x0a')[_0x2398('0x3')](/\n/g,'');}function Z(_0x42f1fe){const _0x213219=[];for(let _0x3d2ed6=0x0;_0x3d2ed6<_0x42f1fe[_0x2398('0xb')];_0x3d2ed6++){const _0x49f46d=_0x42f1fe[_0x2398('0x6')](_0x3d2ed6)[_0x2398('0x0')](/^&[a-z0-9#]+;/);if(_0x49f46d){const _0x5bddf7=_0x49f46d[0x0];_0x213219['push'](_0x5bddf7),_0x3d2ed6+=_0x5bddf7['length']-0x1;}else _0x213219[_0x2398('0x5')](_0x42f1fe[_0x3d2ed6]);}return _0x213219;}
|