@ckeditor/ckeditor5-format-painter 40.1.0 → 41.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 (69) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/format-painter.js +3 -3
  4. package/build/translations/gl.js +1 -1
  5. package/build/translations/sr-latn.js +1 -0
  6. package/ckeditor5-metadata.json +1 -1
  7. package/lang/translations/ar.po +1 -1
  8. package/lang/translations/bg.po +1 -1
  9. package/lang/translations/bn.po +1 -1
  10. package/lang/translations/ca.po +1 -1
  11. package/lang/translations/cs.po +1 -1
  12. package/lang/translations/da.po +1 -1
  13. package/lang/translations/de.po +1 -1
  14. package/lang/translations/el.po +1 -1
  15. package/lang/translations/en-au.po +1 -1
  16. package/lang/translations/en.po +1 -1
  17. package/lang/translations/es.po +1 -1
  18. package/lang/translations/et.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +3 -3
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/ko.po +1 -1
  30. package/lang/translations/lt.po +1 -1
  31. package/lang/translations/lv.po +1 -1
  32. package/lang/translations/ms.po +1 -1
  33. package/lang/translations/nl.po +1 -1
  34. package/lang/translations/no.po +1 -1
  35. package/lang/translations/pl.po +1 -1
  36. package/lang/translations/pt-br.po +1 -1
  37. package/lang/translations/pt.po +1 -1
  38. package/lang/translations/ro.po +1 -1
  39. package/lang/translations/ru.po +1 -1
  40. package/lang/translations/sk.po +1 -1
  41. package/lang/translations/sr-latn.po +38 -0
  42. package/lang/translations/sr.po +1 -1
  43. package/lang/translations/sv.po +1 -1
  44. package/lang/translations/th.po +1 -1
  45. package/lang/translations/tr.po +1 -1
  46. package/lang/translations/ug.po +1 -1
  47. package/lang/translations/uk.po +1 -1
  48. package/lang/translations/vi.po +1 -1
  49. package/lang/translations/zh-cn.po +1 -1
  50. package/lang/translations/zh.po +1 -1
  51. package/package.json +4 -2
  52. package/src/augmentation.d.ts +2 -2
  53. package/src/augmentation.js +1 -1
  54. package/src/copyformatcommand.d.ts +3 -3
  55. package/src/copyformatcommand.js +2 -2
  56. package/src/formatpainter.d.ts +4 -4
  57. package/src/formatpainter.js +2 -2
  58. package/src/formatpainterediting.d.ts +2 -2
  59. package/src/formatpainterediting.js +2 -2
  60. package/src/formatpainterui.d.ts +3 -3
  61. package/src/formatpainterui.js +2 -2
  62. package/src/index.d.ts +11 -11
  63. package/src/index.js +2 -2
  64. package/src/pasteformatcommand.d.ts +3 -3
  65. package/src/pasteformatcommand.js +2 -2
  66. package/src/utils.d.ts +1 -1
  67. package/src/utils.js +2 -2
  68. package/theme/formatpainter.css +1 -1
  69. 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
  #
@@ -0,0 +1,38 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
16
+ "Language: sr@latin\n"
17
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+
20
+ msgctxt "A toolbar button tooltip for the format painter feature."
21
+ msgid "Paint formatting"
22
+ msgstr "Formatiranje boje"
23
+
24
+ msgctxt "The label for the continuous painting checkbox in the format painter dropdown."
25
+ msgid "Continuous painting"
26
+ msgstr "Kontinuirano slikanje"
27
+
28
+ msgctxt "The tooltip displayed for the continuous painting button explaining what it does."
29
+ msgid "Keeps the painter on after setting the formatting."
30
+ msgstr "Ostavlja četkicu uključenom nakon podešavanja formatiranja."
31
+
32
+ msgctxt "A message read out by assistive technologies the moment the formatting is copied by the user."
33
+ msgid "Formatting copied."
34
+ msgstr "Formatiranje je kopirano."
35
+
36
+ msgctxt "A message read out by assistive technologies the moment the formatting is pasted by the user."
37
+ msgid "Pasted formatting."
38
+ msgstr "Formatiranje je nalepljeno."
@@ -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.1.0",
3
+ "version": "41.0.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.1.0"
15
+ "ckeditor5": "41.0.0",
16
+ "ckeditor5-collaboration": "41.0.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 _0xaadb=['document','selection','model','schema','value','_getFormattingAttributes','editor','refresh','execute','reset','getAttributeProperties','change:isEnabled','fromEntries','filter','commands'];(function(_0x352e13,_0xaadb70){const _0x418ff8=function(_0x30c9e0){while(--_0x30c9e0){_0x352e13['push'](_0x352e13['shift']());}};_0x418ff8(++_0xaadb70);}(_0xaadb,0x143));const _0x418f=function(_0x352e13,_0xaadb70){_0x352e13=_0x352e13-0x0;let _0x418ff8=_0xaadb[_0x352e13];return _0x418ff8;};import{Command as _0x2d10e6}from'ckeditor5/src/core';import{PASTE_FORMAT_COMMAND_NAME as _0xdb609c}from'./utils';export default class r extends _0x2d10e6{constructor(_0x2dbb03){super(_0x2dbb03),this[_0x418f('0xb')]=void 0x0,this['on'](_0x418f('0x3'),(_0x578c42,_0x3047f4,_0x46e603)=>{_0x46e603||this['reset']();}),this['on']('change:value',()=>_0x2dbb03[_0x418f('0x6')]['get'](_0xdb609c)[_0x418f('0xe')]());}[_0x418f('0x0')](){this[_0x418f('0xb')]=this[_0x418f('0xc')]();}[_0x418f('0x1')](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x28a461=this[_0x418f('0xd')][_0x418f('0x9')],_0x5acbdf=_0x28a461[_0x418f('0x7')][_0x418f('0x8')];return Object[_0x418f('0x4')](Array['from'](_0x5acbdf['getAttributes']())[_0x418f('0x5')](([_0x362afd])=>_0x28a461[_0x418f('0xa')][_0x418f('0x2')](_0x362afd)['isFormatting']));}}
23
+ const _0x47cc=['selection','commands','filter','editor','schema','getAttributeProperties','change:isEnabled','fromEntries','document','value','_getFormattingAttributes','from','reset','get'];(function(_0xfa78f,_0x47cc4a){const _0xbb723b=function(_0x1cb500){while(--_0x1cb500){_0xfa78f['push'](_0xfa78f['shift']());}};_0xbb723b(++_0x47cc4a);}(_0x47cc,0x68));const _0xbb72=function(_0xfa78f,_0x47cc4a){_0xfa78f=_0xfa78f-0x0;let _0xbb723b=_0x47cc[_0xfa78f];return _0xbb723b;};import{Command as _0x31995a}from'ckeditor5/src/core.js';import{PASTE_FORMAT_COMMAND_NAME as _0x347ab5}from'./utils.js';export default class r extends _0x31995a{constructor(_0x53e2c3){super(_0x53e2c3),this['value']=void 0x0,this['on'](_0xbb72('0x0'),(_0x353db4,_0x4dad9a,_0x3a972e)=>{_0x3a972e||this[_0xbb72('0x6')]();}),this['on']('change:value',()=>_0x53e2c3[_0xbb72('0x9')][_0xbb72('0x7')](_0x347ab5)['refresh']());}['execute'](){this[_0xbb72('0x3')]=this[_0xbb72('0x4')]();}[_0xbb72('0x6')](){this[_0xbb72('0x3')]=void 0x0;}['_getFormattingAttributes'](){const _0x562598=this[_0xbb72('0xb')]['model'],_0x272eac=_0x562598[_0xbb72('0x2')][_0xbb72('0x8')];return Object[_0xbb72('0x1')](Array[_0xbb72('0x5')](_0x272eac['getAttributes']())[_0xbb72('0xa')](([_0x450a81])=>_0x562598[_0xbb72('0xc')][_0xbb72('0xd')](_0x450a81)['isFormatting']));}}
@@ -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 _0x2c2a=['pluginName','requires'];(function(_0x1390d6,_0x2c2ae5){var _0x245434=function(_0x1b838c){while(--_0x1b838c){_0x1390d6['push'](_0x1390d6['shift']());}};_0x245434(++_0x2c2ae5);}(_0x2c2a,0xb6));var _0x2454=function(_0x1390d6,_0x2c2ae5){_0x1390d6=_0x1390d6-0x0;var _0x245434=_0x2c2a[_0x1390d6];return _0x245434;};import{Plugin as _0x51bf6e}from'ckeditor5/src/core';import _0x7cadc6 from'./formatpainterediting';import _0x4a9958 from'./formatpainterui';export default class m extends _0x51bf6e{static get[_0x2454('0x1')](){return[_0x7cadc6,_0x4a9958];}static get[_0x2454('0x0')](){return'FormatPainter';}}
23
+ var _0x70ed=['pluginName','requires'];(function(_0x275319,_0x70ed49){var _0x2c5dbc=function(_0xe1feaa){while(--_0xe1feaa){_0x275319['push'](_0x275319['shift']());}};_0x2c5dbc(++_0x70ed49);}(_0x70ed,0x109));var _0x2c5d=function(_0x275319,_0x70ed49){_0x275319=_0x275319-0x0;var _0x2c5dbc=_0x70ed[_0x275319];return _0x2c5dbc;};import{Plugin as _0x4ae53d}from'ckeditor5/src/core.js';import _0x54303f from'./formatpainterediting.js';import _0x653ed0 from'./formatpainterui.js';export default class m extends _0x4ae53d{static get[_0x2c5d('0x0')](){return[_0x54303f,_0x653ed0];}static get[_0x2c5d('0x1')](){return'FormatPainter';}}
@@ -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 _0x4ba6=['pluginName','info','formatPainterLicenseKeyTrialLimit:operations','_licenseKeyCheckInterval','init','add','formatPainterLicenseKeyValid','format-painter-invalid-license-key','licenseKey','editor','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.','formatPainterLicenseKeyInvalid','get','formatPainterLicenseKeyTrial','commands'];(function(_0x3afabd,_0x4ba67e){const _0x40b0e9=function(_0x46b379){while(--_0x46b379){_0x3afabd['push'](_0x3afabd['shift']());}};_0x40b0e9(++_0x4ba67e);}(_0x4ba6,0x15b));const _0x40b0=function(_0x3afabd,_0x4ba67e){_0x3afabd=_0x3afabd-0x0;let _0x40b0e9=_0x4ba6[_0x3afabd];return _0x40b0e9;};import{Plugin as _0x31af32}from'ckeditor5/src/core';import{CKEditorError as _0x91f500}from'ckeditor5/src/utils';import _0x11c305 from'./copyformatcommand';import _0x400d61 from'./pasteformatcommand';import{COPY_FORMAT_COMMAND_NAME as _0x2efac7,PASTE_FORMAT_COMMAND_NAME as _0x1fd6ff}from'./utils';export default class o extends _0x31af32{static get[_0x40b0('0xd')](){return'FormatPainterEditing';}constructor(_0x1858c5){super(_0x1858c5),this[_0x40b0('0x1')]=null;}[_0x40b0('0x2')](){const _0x3c6442=this[_0x40b0('0x7')];_0x3c6442[_0x40b0('0xc')][_0x40b0('0x3')](_0x2efac7,new _0x11c305(_0x3c6442)),_0x3c6442[_0x40b0('0xc')][_0x40b0('0x3')](_0x1fd6ff,new _0x400d61(_0x3c6442)),this[_0x40b0('0x6')]=_0x3c6442['config'][_0x40b0('0xa')](_0x40b0('0x6'));const _0x385ac3=this['editor'];this[_0x40b0('0x1')]=setInterval(()=>{let _0x2d74c8;for(const _0x3c65fb in _0x385ac3){const _0x3cb783=_0x3c65fb,_0xa0270d=_0x385ac3[_0x3cb783];if(_0x40b0('0xb')===_0xa0270d||'formatPainterLicenseKeyInvalid'===_0xa0270d||_0x40b0('0x4')===_0xa0270d||_0x40b0('0x0')===_0xa0270d){delete _0x385ac3[_0x3cb783],_0x2d74c8=_0xa0270d;break;}}if(_0x40b0('0x9')===_0x2d74c8)throw clearInterval(this[_0x40b0('0x1')]),new _0x91f500(_0x40b0('0x5'),null);if(_0x40b0('0xb')===_0x2d74c8&&console[_0x40b0('0xe')](_0x40b0('0x8')),_0x40b0('0x0')===_0x2d74c8)throw clearInterval(this[_0x40b0('0x1')]),new _0x91f500('format-painter-trial-license-key-reached-limit-changes',null);_0x40b0('0x4')===_0x2d74c8&&clearInterval(this[_0x40b0('0x1')]);},0x3e8);}['destroy'](){this[_0x40b0('0x1')]&&clearInterval(this[_0x40b0('0x1')]);}}
23
+ const _0x1b20=['format-painter-invalid-license-key','commands','get','formatPainterLicenseKeyTrial','licenseKey','pluginName','format-painter-trial-license-key-reached-limit-changes','formatPainterLicenseKeyTrialLimit:operations','_licenseKeyCheckInterval','formatPainterLicenseKeyInvalid','editor','formatPainterLicenseKeyValid','info','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.'];(function(_0x1cb83c,_0x1b20d4){const _0x996c0d=function(_0xd53277){while(--_0xd53277){_0x1cb83c['push'](_0x1cb83c['shift']());}};_0x996c0d(++_0x1b20d4);}(_0x1b20,0xdc));const _0x996c=function(_0x1cb83c,_0x1b20d4){_0x1cb83c=_0x1cb83c-0x0;let _0x996c0d=_0x1b20[_0x1cb83c];return _0x996c0d;};import{Plugin as _0x183fcf}from'ckeditor5/src/core.js';import{CKEditorError as _0x483cca}from'ckeditor5/src/utils.js';import _0x42bfb1 from'./copyformatcommand.js';import _0x2ef5e4 from'./pasteformatcommand.js';import{COPY_FORMAT_COMMAND_NAME as _0x568844,PASTE_FORMAT_COMMAND_NAME as _0x1be585}from'./utils.js';export default class o extends _0x183fcf{static get[_0x996c('0xa')](){return _0x996c('0x3');}constructor(_0x169f55){super(_0x169f55),this[_0x996c('0xd')]=null;}['init'](){const _0x3df9cf=this[_0x996c('0x0')];_0x3df9cf[_0x996c('0x6')]['add'](_0x568844,new _0x42bfb1(_0x3df9cf)),_0x3df9cf[_0x996c('0x6')]['add'](_0x1be585,new _0x2ef5e4(_0x3df9cf)),this[_0x996c('0x9')]=_0x3df9cf['config'][_0x996c('0x7')](_0x996c('0x9'));const _0x3f32f4=this['editor'];this[_0x996c('0xd')]=setInterval(()=>{let _0x83229d;for(const _0x582bf4 in _0x3f32f4){const _0x41b66d=_0x582bf4,_0x237f36=_0x3f32f4[_0x41b66d];if(_0x996c('0x8')===_0x237f36||'formatPainterLicenseKeyInvalid'===_0x237f36||'formatPainterLicenseKeyValid'===_0x237f36||_0x996c('0xc')===_0x237f36){delete _0x3f32f4[_0x41b66d],_0x83229d=_0x237f36;break;}}if(_0x996c('0xe')===_0x83229d)throw clearInterval(this[_0x996c('0xd')]),new _0x483cca(_0x996c('0x5'),null);if(_0x996c('0x8')===_0x83229d&&console[_0x996c('0x2')](_0x996c('0x4')),_0x996c('0xc')===_0x83229d)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x483cca(_0x996c('0xb'),null);_0x996c('0x1')===_0x83229d&&clearInterval(this[_0x996c('0xd')]);},0x3e8);}['destroy'](){this[_0x996c('0xd')]&&clearInterval(this[_0x996c('0xd')]);}}
@@ -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.