@ckeditor/ckeditor5-operations-compressor 36.0.0 → 37.0.0-rc.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 (40) hide show
  1. package/package.json +14 -4
  2. package/src/actioncompressor/actioncompressor.d.ts +56 -0
  3. package/src/actioncompressor/actioncompressor.js +1 -1
  4. package/src/actioncompressor/deletingactioncompressor.d.ts +24 -0
  5. package/src/actioncompressor/deletingactioncompressor.js +1 -1
  6. package/src/actioncompressor/forwarddeletingactioncompressor.d.ts +24 -0
  7. package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
  8. package/src/actioncompressor/typingactioncompressor.d.ts +24 -0
  9. package/src/actioncompressor/typingactioncompressor.js +1 -1
  10. package/src/actioncompressor/userselectionactioncompressor.d.ts +12 -0
  11. package/src/actioncompressor/userselectionactioncompressor.js +1 -1
  12. package/src/compressor.d.ts +41 -0
  13. package/src/compressor.js +1 -1
  14. package/src/lib/compiledmessages.d.ts +1435 -0
  15. package/src/lib/compiledmessages.js +23 -0
  16. package/src/operationcompressor/annotationmarkeroperationcompressor.d.ts +18 -0
  17. package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
  18. package/src/operationcompressor/attributeoperationcompressor.d.ts +13 -0
  19. package/src/operationcompressor/attributeoperationcompressor.js +1 -1
  20. package/src/operationcompressor/insertoperationcompressor.d.ts +13 -0
  21. package/src/operationcompressor/insertoperationcompressor.js +1 -1
  22. package/src/operationcompressor/markeroperationcompressor.d.ts +9 -0
  23. package/src/operationcompressor/markeroperationcompressor.js +1 -1
  24. package/src/operationcompressor/nooperationcompressor.d.ts +16 -0
  25. package/src/operationcompressor/nooperationcompressor.js +1 -1
  26. package/src/operationcompressor/operationcompressor.d.ts +24 -0
  27. package/src/operationcompressor/operationcompressor.js +1 -1
  28. package/src/protobufdescriptions.d.ts +12 -0
  29. package/src/protobufdescriptions.js +23 -0
  30. package/src/protobuffactory.d.ts +1 -0
  31. package/src/protobuffactory.js +1 -1
  32. package/src/utils.d.ts +26 -0
  33. package/src/utils.js +1 -1
  34. package/src/commondescriptions.js +0 -23
  35. package/src/errors.jsdoc +0 -18
  36. package/src/operationcompressor/mergeoperationcompressor.js +0 -23
  37. package/src/operationcompressor/moveoperationcompressor.js +0 -23
  38. package/src/operationcompressor/renameoperationcompressor.js +0 -23
  39. package/src/operationcompressor/rootattributeoperationcompressor.js +0 -23
  40. package/src/operationcompressor/splitoperationcompressor.js +0 -23
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x5146=['bool','Element','Position','string','repeated','uint32'];(function(_0x416d13,_0x514624){var _0x3cb075=function(_0xfdddab){while(--_0xfdddab){_0x416d13['push'](_0x416d13['shift']());}};_0x3cb075(++_0x514624);}(_0x5146,0x177));var _0x3cb0=function(_0x416d13,_0x514624){_0x416d13=_0x416d13-0x0;var _0x3cb075=_0x5146[_0x416d13];return _0x3cb075;};export default{'Position':{'fields':{'root':{'type':_0x3cb0('0x0'),'id':0x1},'rootMain':{'type':_0x3cb0('0x3'),'id':0x2},'rootGraveyard':{'type':_0x3cb0('0x3'),'id':0x3},'path':{'rule':_0x3cb0('0x1'),'type':_0x3cb0('0x2'),'id':0x4},'stickiness':{'type':'string','id':0x5}}},'Range':{'fields':{'start':{'type':'Position','id':0x1},'end':{'type':_0x3cb0('0x5'),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x3cb0('0x0'),'id':0x1},'children':{'rule':_0x3cb0('0x1'),'type':_0x3cb0('0x4'),'id':0x2},'data':{'type':_0x3cb0('0x0'),'id':0x3},'attributesBoolean':{'keyType':_0x3cb0('0x0'),'type':_0x3cb0('0x3'),'id':0x4},'attributesJson':{'type':'string','id':0x5}}}};
package/src/errors.jsdoc DELETED
@@ -1,18 +0,0 @@
1
- /**
2
- * The documentation of operations-compressor errors.
3
- *
4
- * @module operations-compressor/errors
5
- * @publicApi
6
- */
7
-
8
- /**
9
- * Cannot get a descriptor before building `ProtobufFactory`.
10
- *
11
- * @error protobuffactory-cannot-get-descriptor-before-build
12
- */
13
-
14
- /**
15
- * The compressor cannot compress operations because no operation was provided.
16
- *
17
- * @error no-operations-provided
18
- */
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x2bbc=['bool','uint32','Position','description'];(function(_0x3c2eb7,_0x2bbc0f){var _0x4c088e=function(_0x50dc76){while(--_0x50dc76){_0x3c2eb7['push'](_0x3c2eb7['shift']());}};_0x4c088e(++_0x2bbc0f);}(_0x2bbc,0x161));var _0x4c08=function(_0x3c2eb7,_0x2bbc0f){_0x3c2eb7=_0x3c2eb7-0x0;var _0x4c088e=_0x2bbc[_0x3c2eb7];return _0x4c088e;};import _0x2b8a35 from'./operationcompressor';export default class p extends _0x2b8a35{static get[_0x4c08('0x2')](){return{'fields':{'sourcePosition':{'type':'Position','id':0x1},'targetPosition':{'type':_0x4c08('0x1'),'id':0x2},'graveyardPosition':{'type':_0x4c08('0x1'),'id':0x3},'howMany':{'type':_0x4c08('0x0'),'id':0x4},'wasUndone':{'type':_0x4c08('0x3'),'id':0x5}}};}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x1e0b=['bool','Position'];(function(_0x2872b6,_0x1e0b8a){var _0x398af5=function(_0x102b4f){while(--_0x102b4f){_0x2872b6['push'](_0x2872b6['shift']());}};_0x398af5(++_0x1e0b8a);}(_0x1e0b,0x10e));var _0x398a=function(_0x2872b6,_0x1e0b8a){_0x2872b6=_0x2872b6-0x0;var _0x398af5=_0x1e0b[_0x2872b6];return _0x398af5;};import _0x2c873c from'./operationcompressor';export default class m extends _0x2c873c{static get['description'](){return{'fields':{'sourcePosition':{'type':_0x398a('0x1'),'id':0x1},'howMany':{'type':'uint32','id':0x2},'targetPosition':{'type':_0x398a('0x1'),'id':0x3},'wasUndone':{'type':_0x398a('0x0'),'id':0x4}}};}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x1d3b=['description','string'];(function(_0x22e6bb,_0x1d3be8){var _0x55d361=function(_0x12eed3){while(--_0x12eed3){_0x22e6bb['push'](_0x22e6bb['shift']());}};_0x55d361(++_0x1d3be8);}(_0x1d3b,0x6d));var _0x55d3=function(_0x22e6bb,_0x1d3be8){_0x22e6bb=_0x22e6bb-0x0;var _0x55d361=_0x1d3b[_0x22e6bb];return _0x55d361;};import _0x496715 from'./operationcompressor';export default class a extends _0x496715{static get[_0x55d3('0x1')](){return{'fields':{'position':{'type':'Position','id':0x1},'oldName':{'type':_0x55d3('0x0'),'id':0x2},'newName':{'type':_0x55d3('0x0'),'id':0x3},'wasUndone':{'type':'bool','id':0x4}}};}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, 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
- const _0x10e8=['root','description','fields','range','string'];(function(_0x251190,_0x10e88c){const _0x3a23f6=function(_0x41c9de){while(--_0x41c9de){_0x251190['push'](_0x251190['shift']());}};_0x3a23f6(++_0x10e88c);}(_0x10e8,0xff));const _0x3a23=function(_0x251190,_0x10e88c){_0x251190=_0x251190-0x0;let _0x3a23f6=_0x10e8[_0x251190];return _0x3a23f6;};import _0x44f8a1 from'./attributeoperationcompressor';export default class c extends _0x44f8a1{static get[_0x3a23('0x1')](){const _0x9c3604=_0x44f8a1[_0x3a23('0x1')];return delete _0x9c3604[_0x3a23('0x2')][_0x3a23('0x3')],_0x9c3604['fields'][_0x3a23('0x0')]={'type':_0x3a23('0x4'),'id':0x1},_0x9c3604;}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x21af=['description','uint32','Position'];(function(_0x3a6acc,_0x21afba){var _0x3610db=function(_0x4c9aba){while(--_0x4c9aba){_0x3a6acc['push'](_0x3a6acc['shift']());}};_0x3610db(++_0x21afba);}(_0x21af,0x159));var _0x3610=function(_0x3a6acc,_0x21afba){_0x3a6acc=_0x3a6acc-0x0;var _0x3610db=_0x21af[_0x3a6acc];return _0x3610db;};import _0x35aff1 from'./operationcompressor';export default class h extends _0x35aff1{static get[_0x3610('0x0')](){return{'fields':{'splitPosition':{'type':_0x3610('0x2'),'id':0x1},'graveyardPosition':{'type':_0x3610('0x2'),'id':0x2},'howMany':{'type':_0x3610('0x1'),'id':0x3},'insertionPosition':{'type':_0x3610('0x2'),'id':0x4},'wasUndone':{'type':'bool','id':0x5}}};}}