@ckeditor/ckeditor5-format-painter 40.2.0 → 41.1.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 (67) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/format-painter.js +3 -3
  4. package/ckeditor5-metadata.json +1 -1
  5. package/lang/translations/ar.po +1 -1
  6. package/lang/translations/bg.po +1 -1
  7. package/lang/translations/bn.po +1 -1
  8. package/lang/translations/ca.po +1 -1
  9. package/lang/translations/cs.po +1 -1
  10. package/lang/translations/da.po +1 -1
  11. package/lang/translations/de.po +1 -1
  12. package/lang/translations/el.po +1 -1
  13. package/lang/translations/en-au.po +1 -1
  14. package/lang/translations/en.po +1 -1
  15. package/lang/translations/es.po +1 -1
  16. package/lang/translations/et.po +1 -1
  17. package/lang/translations/fi.po +1 -1
  18. package/lang/translations/fr.po +1 -1
  19. package/lang/translations/gl.po +1 -1
  20. package/lang/translations/he.po +1 -1
  21. package/lang/translations/hi.po +1 -1
  22. package/lang/translations/hr.po +1 -1
  23. package/lang/translations/hu.po +1 -1
  24. package/lang/translations/id.po +1 -1
  25. package/lang/translations/it.po +1 -1
  26. package/lang/translations/ja.po +1 -1
  27. package/lang/translations/ko.po +1 -1
  28. package/lang/translations/lt.po +1 -1
  29. package/lang/translations/lv.po +1 -1
  30. package/lang/translations/ms.po +1 -1
  31. package/lang/translations/nl.po +1 -1
  32. package/lang/translations/no.po +1 -1
  33. package/lang/translations/pl.po +1 -1
  34. package/lang/translations/pt-br.po +1 -1
  35. package/lang/translations/pt.po +1 -1
  36. package/lang/translations/ro.po +1 -1
  37. package/lang/translations/ru.po +1 -1
  38. package/lang/translations/sk.po +1 -1
  39. package/lang/translations/sr-latn.po +1 -1
  40. package/lang/translations/sr.po +1 -1
  41. package/lang/translations/sv.po +1 -1
  42. package/lang/translations/th.po +1 -1
  43. package/lang/translations/tr.po +1 -1
  44. package/lang/translations/ug.po +1 -1
  45. package/lang/translations/uk.po +1 -1
  46. package/lang/translations/vi.po +1 -1
  47. package/lang/translations/zh-cn.po +1 -1
  48. package/lang/translations/zh.po +1 -1
  49. package/package.json +4 -2
  50. package/src/augmentation.d.ts +2 -2
  51. package/src/augmentation.js +1 -1
  52. package/src/copyformatcommand.d.ts +3 -3
  53. package/src/copyformatcommand.js +2 -2
  54. package/src/formatpainter.d.ts +4 -4
  55. package/src/formatpainter.js +2 -2
  56. package/src/formatpainterediting.d.ts +2 -2
  57. package/src/formatpainterediting.js +2 -2
  58. package/src/formatpainterui.d.ts +3 -3
  59. package/src/formatpainterui.js +2 -2
  60. package/src/index.d.ts +11 -11
  61. package/src/index.js +2 -2
  62. package/src/pasteformatcommand.d.ts +3 -3
  63. package/src/pasteformatcommand.js +2 -2
  64. package/src/utils.d.ts +1 -1
  65. package/src/utils.js +2 -2
  66. package/theme/formatpainter.css +1 -1
  67. package/theme/icons/paint-roller.svg +0 -1
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
3
  # !!! IMPORTANT !!!
4
4
  #
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-format-painter",
3
- "version": "40.2.0",
3
+ "version": "41.1.0",
4
4
  "description": "Format painter feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -9,9 +9,11 @@
9
9
  "ckeditor5-feature",
10
10
  "ckeditor5-plugin"
11
11
  ],
12
+ "type": "module",
12
13
  "main": "src/index.js",
13
14
  "dependencies": {
14
- "ckeditor5": "40.2.0"
15
+ "ckeditor5": "41.1.0",
16
+ "ckeditor5-collaboration": "41.1.0"
15
17
  },
16
18
  "license": "SEE LICENSE IN LICENSE.md",
17
19
  "author": "CKSource (http://cksource.com/)",
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { FormatPainter, FormatPainterEditing, FormatPainterUI, PasteFormatCommand, CopyFormatCommand, COPY_FORMAT_COMMAND_NAME, PASTE_FORMAT_COMMAND_NAME } from './index';
5
+ import type { FormatPainter, FormatPainterEditing, FormatPainterUI, PasteFormatCommand, CopyFormatCommand, COPY_FORMAT_COMMAND_NAME, PASTE_FORMAT_COMMAND_NAME } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [FormatPainter.pluginName]: FormatPainter;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module format-painter/copyformatcommand
7
7
  * @publicApi
8
8
  */
9
- import { Command, type Editor } from 'ckeditor5/src/core';
10
- import type { FormattingAttributesValues } from './formatpainterediting';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import type { FormattingAttributesValues } from './formatpainterediting.js';
11
11
  /**
12
12
  * This command copies the formatting from the current {@link module:engine/model/selection~Selection model selection}
13
13
  * and stores it in its {@link module:format-painter/copyformatcommand~CopyFormatCommand#value} property.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1052=['change:value','model','selection','document','schema','filter','refresh','from','getAttributes','fromEntries','change:isEnabled','getAttributeProperties','execute','_getFormattingAttributes','commands','editor','reset','value'];(function(_0x532f53,_0x1052e1){const _0x395c12=function(_0x4a07ee){while(--_0x4a07ee){_0x532f53['push'](_0x532f53['shift']());}};_0x395c12(++_0x1052e1);}(_0x1052,0x1c1));const _0x395c=function(_0x532f53,_0x1052e1){_0x532f53=_0x532f53-0x0;let _0x395c12=_0x1052[_0x532f53];return _0x395c12;};import{Command as _0x5de9f5}from'ckeditor5/src/core';import{PASTE_FORMAT_COMMAND_NAME as _0x7bd2df}from'./utils';export default class r extends _0x5de9f5{constructor(_0x393628){super(_0x393628),this[_0x395c('0x0')]=void 0x0,this['on'](_0x395c('0xb'),(_0x197823,_0x3aa892,_0x5afa25)=>{_0x5afa25||this[_0x395c('0x11')]();}),this['on'](_0x395c('0x1'),()=>_0x393628[_0x395c('0xf')]['get'](_0x7bd2df)[_0x395c('0x7')]());}[_0x395c('0xd')](){this[_0x395c('0x0')]=this[_0x395c('0xe')]();}['reset'](){this[_0x395c('0x0')]=void 0x0;}[_0x395c('0xe')](){const _0x292167=this[_0x395c('0x10')][_0x395c('0x2')],_0x562a28=_0x292167[_0x395c('0x4')][_0x395c('0x3')];return Object[_0x395c('0xa')](Array[_0x395c('0x8')](_0x562a28[_0x395c('0x9')]())[_0x395c('0x6')](([_0x5b487c])=>_0x292167[_0x395c('0x5')][_0x395c('0xc')](_0x5b487c)['isFormatting']));}}
23
+ const _0xfc2b=['schema','getAttributeProperties','getAttributes','execute','change:isEnabled','fromEntries','isFormatting','reset','filter','_getFormattingAttributes','document','change:value','value','editor','from','get'];(function(_0xfb4193,_0xfc2b6e){const _0x298956=function(_0x3932b0){while(--_0x3932b0){_0xfb4193['push'](_0xfb4193['shift']());}};_0x298956(++_0xfc2b6e);}(_0xfc2b,0xa5));const _0x2989=function(_0xfb4193,_0xfc2b6e){_0xfb4193=_0xfb4193-0x0;let _0x298956=_0xfc2b[_0xfb4193];return _0x298956;};import{Command as _0xe6d432}from'ckeditor5/src/core.js';import{PASTE_FORMAT_COMMAND_NAME as _0x3c2c8f}from'./utils.js';export default class r extends _0xe6d432{constructor(_0x29d580){super(_0x29d580),this['value']=void 0x0,this['on'](_0x2989('0xf'),(_0x44a9f7,_0x135b1e,_0x480321)=>{_0x480321||this[_0x2989('0x2')]();}),this['on'](_0x2989('0x6'),()=>_0x29d580['commands'][_0x2989('0xa')](_0x3c2c8f)['refresh']());}[_0x2989('0xe')](){this[_0x2989('0x7')]=this[_0x2989('0x4')]();}[_0x2989('0x2')](){this['value']=void 0x0;}[_0x2989('0x4')](){const _0x5cbda8=this[_0x2989('0x8')]['model'],_0x2a3bb4=_0x5cbda8[_0x2989('0x5')]['selection'];return Object[_0x2989('0x0')](Array[_0x2989('0x9')](_0x2a3bb4[_0x2989('0xd')]())[_0x2989('0x3')](([_0x3a3b5d])=>_0x5cbda8[_0x2989('0xb')][_0x2989('0xc')](_0x3a3b5d)[_0x2989('0x1')]));}}
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module format-painter/formatpainter
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import FormatPainterEditing from './formatpainterediting';
11
- import FormatPainterUI from './formatpainterui';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import FormatPainterEditing from './formatpainterediting.js';
11
+ import FormatPainterUI from './formatpainterui.js';
12
12
  /**
13
13
  * The format painter feature.
14
14
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2cc8=['pluginName','FormatPainter','requires'];(function(_0x3ba871,_0x2cc858){var _0x469170=function(_0x5dc65c){while(--_0x5dc65c){_0x3ba871['push'](_0x3ba871['shift']());}};_0x469170(++_0x2cc858);}(_0x2cc8,0x15e));var _0x4691=function(_0x3ba871,_0x2cc858){_0x3ba871=_0x3ba871-0x0;var _0x469170=_0x2cc8[_0x3ba871];return _0x469170;};import{Plugin as _0x5346a2}from'ckeditor5/src/core';import _0x2d70d2 from'./formatpainterediting';import _0x51e93b from'./formatpainterui';export default class m extends _0x5346a2{static get[_0x4691('0x0')](){return[_0x2d70d2,_0x51e93b];}static get[_0x4691('0x1')](){return _0x4691('0x2');}}
23
+ var _0x755a=['pluginName','requires','FormatPainter'];(function(_0x53480b,_0x755a75){var _0x3077c6=function(_0x4908cb){while(--_0x4908cb){_0x53480b['push'](_0x53480b['shift']());}};_0x3077c6(++_0x755a75);}(_0x755a,0x1c2));var _0x3077=function(_0x53480b,_0x755a75){_0x53480b=_0x53480b-0x0;var _0x3077c6=_0x755a[_0x53480b];return _0x3077c6;};import{Plugin as _0x3f5df5}from'ckeditor5/src/core.js';import _0x39f11e from'./formatpainterediting.js';import _0x13347f from'./formatpainterui.js';export default class m extends _0x3f5df5{static get[_0x3077('0x1')](){return[_0x39f11e,_0x13347f];}static get[_0x3077('0x0')](){return _0x3077('0x2');}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module format-painter/formatpainterediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The format painter editing feature. It introduces two commands: `copyFormat` and `pasteFormat`.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1023=['formatPainterLicenseKeyTrialLimit:operations','formatPainterLicenseKeyTrial','info','formatPainterLicenseKeyValid','pluginName','licenseKey','init','formatPainterLicenseKeyInvalid','FormatPainterEditing','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','format-painter-invalid-license-key','commands','add','_licenseKeyCheckInterval','config','editor','get'];(function(_0x1221fb,_0x1023d4){const _0x3ecea3=function(_0x48d1c1){while(--_0x48d1c1){_0x1221fb['push'](_0x1221fb['shift']());}};_0x3ecea3(++_0x1023d4);}(_0x1023,0xb0));const _0x3ece=function(_0x1221fb,_0x1023d4){_0x1221fb=_0x1221fb-0x0;let _0x3ecea3=_0x1023[_0x1221fb];return _0x3ecea3;};import{Plugin as _0x32179a}from'ckeditor5/src/core';import{CKEditorError as _0x5d6543}from'ckeditor5/src/utils';import _0x26d691 from'./copyformatcommand';import _0x24cf8c from'./pasteformatcommand';import{COPY_FORMAT_COMMAND_NAME as _0x2764c3,PASTE_FORMAT_COMMAND_NAME as _0x2933f5}from'./utils';export default class o extends _0x32179a{static get[_0x3ece('0xf')](){return _0x3ece('0x2');}constructor(_0x2977f3){super(_0x2977f3),this[_0x3ece('0x7')]=null;}[_0x3ece('0x0')](){const _0x103176=this[_0x3ece('0x9')];_0x103176[_0x3ece('0x5')]['add'](_0x2764c3,new _0x26d691(_0x103176)),_0x103176['commands'][_0x3ece('0x6')](_0x2933f5,new _0x24cf8c(_0x103176)),this[_0x3ece('0x10')]=_0x103176[_0x3ece('0x8')][_0x3ece('0xa')](_0x3ece('0x10'));const _0x4cbe76=this[_0x3ece('0x9')];this[_0x3ece('0x7')]=setInterval(()=>{let _0x340b30;for(const _0x26d8fa in _0x4cbe76){const _0x5d1023=_0x26d8fa,_0x3a03e7=_0x4cbe76[_0x5d1023];if(_0x3ece('0xc')===_0x3a03e7||_0x3ece('0x1')===_0x3a03e7||_0x3ece('0xe')===_0x3a03e7||_0x3ece('0xb')===_0x3a03e7){delete _0x4cbe76[_0x5d1023],_0x340b30=_0x3a03e7;break;}}if(_0x3ece('0x1')===_0x340b30)throw clearInterval(this[_0x3ece('0x7')]),new _0x5d6543(_0x3ece('0x4'),null);if(_0x3ece('0xc')===_0x340b30&&console[_0x3ece('0xd')](_0x3ece('0x3')),_0x3ece('0xb')===_0x340b30)throw clearInterval(this[_0x3ece('0x7')]),new _0x5d6543('format-painter-trial-license-key-reached-limit-changes',null);'formatPainterLicenseKeyValid'===_0x340b30&&clearInterval(this[_0x3ece('0x7')]);},0x3e8);}['destroy'](){this[_0x3ece('0x7')]&&clearInterval(this[_0x3ece('0x7')]);}}
23
+ const _0x382d=['_licenseKeyCheckInterval','add','formatPainterLicenseKeyTrial','init','formatPainterLicenseKeyInvalid','FormatPainterEditing','formatPainterLicenseKeyTrialLimit:operations','pluginName','info','get','formatPainterLicenseKeyValid','config','format-painter-trial-license-key-reached-limit-changes','licenseKey','editor','destroy','commands'];(function(_0x1f8233,_0x382daa){const _0x24f208=function(_0x3088f2){while(--_0x3088f2){_0x1f8233['push'](_0x1f8233['shift']());}};_0x24f208(++_0x382daa);}(_0x382d,0xe8));const _0x24f2=function(_0x1f8233,_0x382daa){_0x1f8233=_0x1f8233-0x0;let _0x24f208=_0x382d[_0x1f8233];return _0x24f208;};import{Plugin as _0x54d0d7}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b83d1}from'ckeditor5/src/utils.js';import _0x58149c from'./copyformatcommand.js';import _0x1a5fb9 from'./pasteformatcommand.js';import{COPY_FORMAT_COMMAND_NAME as _0x10a071,PASTE_FORMAT_COMMAND_NAME as _0x563f67}from'./utils.js';export default class o extends _0x54d0d7{static get[_0x24f2('0xd')](){return _0x24f2('0xb');}constructor(_0x1320a3){super(_0x1320a3),this[_0x24f2('0x6')]=null;}[_0x24f2('0x9')](){const _0x3e8582=this[_0x24f2('0x3')];_0x3e8582[_0x24f2('0x5')][_0x24f2('0x7')](_0x10a071,new _0x58149c(_0x3e8582)),_0x3e8582[_0x24f2('0x5')][_0x24f2('0x7')](_0x563f67,new _0x1a5fb9(_0x3e8582)),this[_0x24f2('0x2')]=_0x3e8582[_0x24f2('0x0')][_0x24f2('0xf')](_0x24f2('0x2'));const _0x23ddd9=this[_0x24f2('0x3')];this[_0x24f2('0x6')]=setInterval(()=>{let _0x838d8f;for(const _0x539aa4 in _0x23ddd9){const _0x4523eb=_0x539aa4,_0x4d73a1=_0x23ddd9[_0x4523eb];if(_0x24f2('0x8')===_0x4d73a1||_0x24f2('0xa')===_0x4d73a1||_0x24f2('0x10')===_0x4d73a1||_0x24f2('0xc')===_0x4d73a1){delete _0x23ddd9[_0x4523eb],_0x838d8f=_0x4d73a1;break;}}if(_0x24f2('0xa')===_0x838d8f)throw clearInterval(this[_0x24f2('0x6')]),new _0x4b83d1('format-painter-invalid-license-key',null);if(_0x24f2('0x8')===_0x838d8f&&console[_0x24f2('0xe')]('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20format\x20painter\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),'formatPainterLicenseKeyTrialLimit:operations'===_0x838d8f)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x4b83d1(_0x24f2('0x1'),null);'formatPainterLicenseKeyValid'===_0x838d8f&&clearInterval(this[_0x24f2('0x6')]);},0x3e8);}[_0x24f2('0x4')](){this['_licenseKeyCheckInterval']&&clearInterval(this[_0x24f2('0x6')]);}}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module format-painter/formatpainterui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import '../theme/formatpainter.css';
10
- declare const FormatPainterUI_base: import("ckeditor5/src/utils").Mixed<typeof Plugin, import("ckeditor5/src/utils").DomEmitter>;
10
+ declare const FormatPainterUI_base: import("ckeditor5/src/utils.js").Mixed<typeof Plugin, import("ckeditor5/src/utils.js").DomEmitter>;
11
11
  /**
12
12
  * The format painter UI feature. It introduces the `formatPainter` dropdown with a "Continuous painting"
13
13
  * switch button.