@ckeditor/ckeditor5-template 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 (70) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/template.js +3 -3
  4. package/build/translations/sr-latn.js +1 -0
  5. package/ckeditor5-metadata.json +1 -1
  6. package/lang/translations/ar.po +1 -1
  7. package/lang/translations/bg.po +1 -1
  8. package/lang/translations/bn.po +1 -1
  9. package/lang/translations/ca.po +1 -1
  10. package/lang/translations/cs.po +1 -1
  11. package/lang/translations/da.po +1 -1
  12. package/lang/translations/de.po +1 -1
  13. package/lang/translations/el.po +1 -1
  14. package/lang/translations/en-au.po +1 -1
  15. package/lang/translations/en.po +1 -1
  16. package/lang/translations/es.po +1 -1
  17. package/lang/translations/et.po +1 -1
  18. package/lang/translations/fi.po +1 -1
  19. package/lang/translations/fr.po +1 -1
  20. package/lang/translations/gl.po +1 -1
  21. package/lang/translations/he.po +1 -1
  22. package/lang/translations/hi.po +1 -1
  23. package/lang/translations/hr.po +1 -1
  24. package/lang/translations/hu.po +1 -1
  25. package/lang/translations/id.po +1 -1
  26. package/lang/translations/it.po +1 -1
  27. package/lang/translations/ja.po +1 -1
  28. package/lang/translations/ko.po +1 -1
  29. package/lang/translations/lt.po +1 -1
  30. package/lang/translations/lv.po +1 -1
  31. package/lang/translations/ms.po +1 -1
  32. package/lang/translations/nl.po +1 -1
  33. package/lang/translations/no.po +1 -1
  34. package/lang/translations/pl.po +1 -1
  35. package/lang/translations/pt-br.po +1 -1
  36. package/lang/translations/pt.po +1 -1
  37. package/lang/translations/ro.po +1 -1
  38. package/lang/translations/ru.po +1 -1
  39. package/lang/translations/sk.po +1 -1
  40. package/lang/translations/sr-latn.po +38 -0
  41. package/lang/translations/sr.po +1 -1
  42. package/lang/translations/sv.po +1 -1
  43. package/lang/translations/th.po +1 -1
  44. package/lang/translations/tr.po +1 -1
  45. package/lang/translations/uk.po +1 -1
  46. package/lang/translations/uz.po +1 -1
  47. package/lang/translations/vi.po +1 -1
  48. package/lang/translations/zh-cn.po +1 -1
  49. package/lang/translations/zh.po +1 -1
  50. package/package.json +5 -3
  51. package/src/augmentation.d.ts +2 -2
  52. package/src/augmentation.js +1 -1
  53. package/src/index.d.ts +10 -10
  54. package/src/index.js +2 -2
  55. package/src/template.d.ts +4 -4
  56. package/src/template.js +2 -2
  57. package/src/templatecommand.d.ts +2 -2
  58. package/src/templatecommand.js +2 -2
  59. package/src/templateediting.d.ts +2 -2
  60. package/src/templateediting.js +2 -2
  61. package/src/templateui.d.ts +2 -2
  62. package/src/templateui.js +2 -2
  63. package/src/ui/templatelistbuttonview.d.ts +4 -4
  64. package/src/ui/templatelistbuttonview.js +2 -2
  65. package/src/ui/templatelistitemview.d.ts +4 -4
  66. package/src/ui/templatelistitemview.js +2 -2
  67. package/src/ui/templatelistview.d.ts +2 -2
  68. package/src/ui/templatelistview.js +2 -2
  69. package/theme/template.css +1 -1
  70. package/theme/icons/template.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
  #
@@ -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 "The toolbar button tooltip for the template feature."
21
+ msgid "Insert template"
22
+ msgstr "Umetni predložak"
23
+
24
+ msgctxt "The main text of the message shown to the user when no templates are available in the template feature."
25
+ msgid "No templates available."
26
+ msgstr "Nema dostupnih predložaka."
27
+
28
+ msgctxt "The main text of the message shown to the user when no templates are available for the search criteria."
29
+ msgid "No templates were found matching \"%0\"."
30
+ msgstr "Nije pronađen nijedan predložak koji odgovara \"%0\"."
31
+
32
+ msgctxt "The secondary text of the message shown to the user when no templates are available for the search criteria."
33
+ msgid "Please try a different phrase or check the spelling."
34
+ msgstr "Pokušajte sa drugom frazom ili proverite pravopis."
35
+
36
+ msgctxt "The label of the input allowing users to search templates."
37
+ msgid "Search template"
38
+ msgstr "Potraži predložak"
@@ -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-template",
3
- "version": "40.1.0",
3
+ "version": "41.0.0",
4
4
  "description": "Template feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -19,10 +19,12 @@
19
19
  "contentEditable",
20
20
  "template"
21
21
  ],
22
+ "type": "module",
22
23
  "main": "src/index.js",
23
24
  "dependencies": {
24
- "ckeditor5": "40.1.0",
25
- "@ckeditor/ckeditor5-ui": "40.1.0"
25
+ "ckeditor5": "41.0.0",
26
+ "@ckeditor/ckeditor5-ui": "41.0.0",
27
+ "ckeditor5-collaboration": "41.0.0"
26
28
  },
27
29
  "license": "SEE LICENSE IN LICENSE.md",
28
30
  "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 { Template, TemplateCommand, TemplateEditing, TemplateUI, TemplateConfig } from './index';
5
+ import type { Template, TemplateCommand, TemplateEditing, TemplateUI, TemplateConfig } from './index.js';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [Template.pluginName]: Template;
@@ -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
  *
package/src/index.d.ts CHANGED
@@ -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
- export { default as Template } from './template';
6
- export { default as TemplateCommand } from './templatecommand';
7
- export { default as TemplateEditing } from './templateediting';
8
- export { default as TemplateUI } from './templateui';
9
- export type { TemplateConfig, TemplateDefinition } from './template';
10
- export declare const icons: {
11
- templateIcon: string;
12
- };
13
- import './augmentation';
5
+ /**
6
+ * @module template
7
+ */
8
+ export { default as Template } from './template.js';
9
+ export { default as TemplateCommand } from './templatecommand.js';
10
+ export { default as TemplateEditing } from './templateediting.js';
11
+ export { default as TemplateUI } from './templateui.js';
12
+ export type { TemplateConfig, TemplateDefinition } from './template.js';
13
+ import './augmentation.js';
package/src/index.js CHANGED
@@ -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
- import _0x3fc656 from'./../theme/icons/template.svg';export{default as Template}from'./template';export{default as TemplateCommand}from'./templatecommand';export{default as TemplateEditing}from'./templateediting';export{default as TemplateUI}from'./templateui';export const icons={'templateIcon':_0x3fc656};import'./augmentation';
23
+ export{default as Template}from'./template.js';export{default as TemplateCommand}from'./templatecommand.js';export{default as TemplateEditing}from'./templateediting.js';export{default as TemplateUI}from'./templateui.js';import'./augmentation.js';
package/src/template.d.ts CHANGED
@@ -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 template/template
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from 'ckeditor5/src/core';
10
- import TemplateEditing from './templateediting';
11
- import TemplateUI from './templateui';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import TemplateEditing from './templateediting.js';
11
+ import TemplateUI from './templateui.js';
12
12
  /**
13
13
  * The template feature.
14
14
  *
package/src/template.js CHANGED
@@ -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 _0x5cab=['requires'];(function(_0xd8b35d,_0x5cabb0){var _0x3885be=function(_0x501db0){while(--_0x501db0){_0xd8b35d['push'](_0xd8b35d['shift']());}};_0x3885be(++_0x5cabb0);}(_0x5cab,0x9c));var _0x3885=function(_0xd8b35d,_0x5cabb0){_0xd8b35d=_0xd8b35d-0x0;var _0x3885be=_0x5cab[_0xd8b35d];return _0x3885be;};import{Plugin as _0x401790}from'ckeditor5/src/core';import _0x7eba53 from'./templateediting';import _0x4b44b5 from'./templateui';export default class o extends _0x401790{static get[_0x3885('0x0')](){return[_0x7eba53,_0x4b44b5];}static get['pluginName'](){return'Template';}}
23
+ var _0x3d8f=['Template','requires'];(function(_0x3041a8,_0x3d8fcc){var _0x413e2a=function(_0x2b6901){while(--_0x2b6901){_0x3041a8['push'](_0x3041a8['shift']());}};_0x413e2a(++_0x3d8fcc);}(_0x3d8f,0x12e));var _0x413e=function(_0x3041a8,_0x3d8fcc){_0x3041a8=_0x3041a8-0x0;var _0x413e2a=_0x3d8f[_0x3041a8];return _0x413e2a;};import{Plugin as _0x4a92a1}from'ckeditor5/src/core.js';import _0x45768a from'./templateediting.js';import _0x29406e from'./templateui.js';export default class m extends _0x4a92a1{static get[_0x413e('0x1')](){return[_0x45768a,_0x29406e];}static get['pluginName'](){return _0x413e('0x0');}}
@@ -1,12 +1,12 @@
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 template/templatecommand
7
7
  * @publicApi
8
8
  */
9
- import { Command } from 'ckeditor5/src/core';
9
+ import { Command } from 'ckeditor5/src/core.js';
10
10
  /**
11
11
  * The template command.
12
12
  *
@@ -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 _0x3449=['string','data','insertContent','htmlProcessor','editor','toModel','execute','function'];(function(_0x667df9,_0x3449d0){const _0xd40871=function(_0x5634ab){while(--_0x5634ab){_0x667df9['push'](_0x667df9['shift']());}};_0xd40871(++_0x3449d0);}(_0x3449,0x7e));const _0xd408=function(_0x667df9,_0x3449d0){_0x667df9=_0x667df9-0x0;let _0xd40871=_0x3449[_0x667df9];return _0xd40871;};import{Command as _0x4bad7a}from'ckeditor5/src/core';export default class c extends _0x4bad7a{[_0xd408('0x0')](_0x297457){const {model:_0x4ee629}=this[_0xd408('0x6')];let _0xd8faf9;switch(typeof _0x297457){case _0xd408('0x2'):_0xd8faf9=_0x297457;break;case _0xd408('0x1'):_0xd8faf9=_0x297457();}'string'==typeof _0xd8faf9&&_0x4ee629['change'](()=>{const _0x455152=this[_0xd408('0x6')][_0xd408('0x3')][_0xd408('0x5')]['toView'](_0xd8faf9),_0xa983ef=this[_0xd408('0x6')]['data'][_0xd408('0x7')](_0x455152);_0x4ee629[_0xd408('0x4')](_0xa983ef);});}}
23
+ const _0x339e=['toView','data','execute','function','toModel','editor','htmlProcessor','insertContent','string'];(function(_0x3a1c26,_0x339ee1){const _0x2aa5d6=function(_0x1bd6ed){while(--_0x1bd6ed){_0x3a1c26['push'](_0x3a1c26['shift']());}};_0x2aa5d6(++_0x339ee1);}(_0x339e,0x158));const _0x2aa5=function(_0x3a1c26,_0x339ee1){_0x3a1c26=_0x3a1c26-0x0;let _0x2aa5d6=_0x339e[_0x3a1c26];return _0x2aa5d6;};import{Command as _0x28cbe4}from'ckeditor5/src/core.js';export default class c extends _0x28cbe4{[_0x2aa5('0x0')](_0x4022eb){const {model:_0x147eaa}=this[_0x2aa5('0x3')];let _0x166525;switch(typeof _0x4022eb){case _0x2aa5('0x6'):_0x166525=_0x4022eb;break;case _0x2aa5('0x1'):_0x166525=_0x4022eb();}'string'==typeof _0x166525&&_0x147eaa['change'](()=>{const _0x43a5dc=this[_0x2aa5('0x3')][_0x2aa5('0x8')][_0x2aa5('0x4')][_0x2aa5('0x7')](_0x166525),_0x29889c=this[_0x2aa5('0x3')][_0x2aa5('0x8')][_0x2aa5('0x2')](_0x43a5dc);_0x147eaa[_0x2aa5('0x5')](_0x29889c);});}}
@@ -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 template/templateediting
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 template editing plugin.
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 _0x1454=['destroy','init','get','info','template-trial-license-key-reached-limit-changes','editor','templateLicenseKeyTrialLimit:operations','template-invalid-license-key','_licenseKeyCheckInterval','add','templateLicenseKeyTrial','commands','templateLicenseKeyValid','pluginName','templateLicenseKeyInvalid','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20template\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'];(function(_0x160df5,_0x1454ed){const _0x34077a=function(_0xeb8b72){while(--_0xeb8b72){_0x160df5['push'](_0x160df5['shift']());}};_0x34077a(++_0x1454ed);}(_0x1454,0xc0));const _0x3407=function(_0x160df5,_0x1454ed){_0x160df5=_0x160df5-0x0;let _0x34077a=_0x1454[_0x160df5];return _0x34077a;};import{Plugin as _0x5ea20a}from'ckeditor5/src/core';import{CKEditorError as _0x4c674a}from'ckeditor5/src/utils';import _0x242fca from'./templatecommand';export default class i extends _0x5ea20a{static get[_0x3407('0xd')](){return'TemplateEditing';}constructor(_0x43a119){super(_0x43a119),this[_0x3407('0x8')]=null;}[_0x3407('0x1')](){const {editor:_0x2ba4fa}=this;_0x2ba4fa[_0x3407('0xb')][_0x3407('0x9')]('insertTemplate',new _0x242fca(_0x2ba4fa)),this['licenseKey']=_0x2ba4fa['config'][_0x3407('0x2')]('licenseKey');const _0x140fb7=this[_0x3407('0x5')];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e570c;for(const _0x2df951 in _0x140fb7){const _0x1fcc9e=_0x2df951,_0x1c309b=_0x140fb7[_0x1fcc9e];if(_0x3407('0xa')===_0x1c309b||'templateLicenseKeyInvalid'===_0x1c309b||'templateLicenseKeyValid'===_0x1c309b||_0x3407('0x6')===_0x1c309b){delete _0x140fb7[_0x1fcc9e],_0x2e570c=_0x1c309b;break;}}if(_0x3407('0xe')===_0x2e570c)throw clearInterval(this[_0x3407('0x8')]),new _0x4c674a(_0x3407('0x7'),null);if('templateLicenseKeyTrial'===_0x2e570c&&console[_0x3407('0x3')](_0x3407('0xf')),_0x3407('0x6')===_0x2e570c)throw clearInterval(this[_0x3407('0x8')]),new _0x4c674a(_0x3407('0x4'),null);_0x3407('0xc')===_0x2e570c&&clearInterval(this[_0x3407('0x8')]);},0x3e8);}[_0x3407('0x0')](){this[_0x3407('0x8')]&&clearInterval(this['_licenseKeyCheckInterval']);}}
23
+ const _0x2bb1=['config','destroy','insertTemplate','templateLicenseKeyTrialLimit:operations','template-invalid-license-key','templateLicenseKeyInvalid','init','licenseKey','templateLicenseKeyTrial','_licenseKeyCheckInterval','template-trial-license-key-reached-limit-changes','commands','templateLicenseKeyValid','get','pluginName','add','TemplateEditing'];(function(_0x411a32,_0x2bb171){const _0xc5efba=function(_0x569e47){while(--_0x569e47){_0x411a32['push'](_0x411a32['shift']());}};_0xc5efba(++_0x2bb171);}(_0x2bb1,0x175));const _0xc5ef=function(_0x411a32,_0x2bb171){_0x411a32=_0x411a32-0x0;let _0xc5efba=_0x2bb1[_0x411a32];return _0xc5efba;};import{Plugin as _0x134443}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cf484}from'ckeditor5/src/utils.js';import _0x407e59 from'./templatecommand.js';export default class r extends _0x134443{static get[_0xc5ef('0xf')](){return _0xc5ef('0x0');}constructor(_0x35441f){super(_0x35441f),this['_licenseKeyCheckInterval']=null;}[_0xc5ef('0x7')](){const {editor:_0x49a53d}=this;_0x49a53d[_0xc5ef('0xc')][_0xc5ef('0x10')](_0xc5ef('0x3'),new _0x407e59(_0x49a53d)),this[_0xc5ef('0x8')]=_0x49a53d[_0xc5ef('0x1')][_0xc5ef('0xe')](_0xc5ef('0x8'));const _0x5b7765=this['editor'];this[_0xc5ef('0xa')]=setInterval(()=>{let _0x3b76f0;for(const _0x16ed02 in _0x5b7765){const _0x5138a7=_0x16ed02,_0x5abc8f=_0x5b7765[_0x5138a7];if('templateLicenseKeyTrial'===_0x5abc8f||_0xc5ef('0x6')===_0x5abc8f||_0xc5ef('0xd')===_0x5abc8f||_0xc5ef('0x4')===_0x5abc8f){delete _0x5b7765[_0x5138a7],_0x3b76f0=_0x5abc8f;break;}}if(_0xc5ef('0x6')===_0x3b76f0)throw clearInterval(this[_0xc5ef('0xa')]),new _0x4cf484(_0xc5ef('0x5'),null);if(_0xc5ef('0x9')===_0x3b76f0&&console['info']('You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20template\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.'),_0xc5ef('0x4')===_0x3b76f0)throw clearInterval(this[_0xc5ef('0xa')]),new _0x4cf484(_0xc5ef('0xb'),null);'templateLicenseKeyValid'===_0x3b76f0&&clearInterval(this[_0xc5ef('0xa')]);},0x3e8);}[_0xc5ef('0x2')](){this[_0xc5ef('0xa')]&&clearInterval(this['_licenseKeyCheckInterval']);}}
@@ -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 template/templateui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import '../theme/template.css';
10
10
  /**
11
11
  * The UI plugin of the template feature.