@ckeditor/ckeditor5-template 40.2.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/template.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/uk.po +1 -1
  45. package/lang/translations/uz.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 +5 -3
  50. package/src/augmentation.d.ts +2 -2
  51. package/src/augmentation.js +1 -1
  52. package/src/index.d.ts +10 -10
  53. package/src/index.js +2 -2
  54. package/src/template.d.ts +4 -4
  55. package/src/template.js +2 -2
  56. package/src/templatecommand.d.ts +2 -2
  57. package/src/templatecommand.js +2 -2
  58. package/src/templateediting.d.ts +2 -2
  59. package/src/templateediting.js +2 -2
  60. package/src/templateui.d.ts +2 -2
  61. package/src/templateui.js +2 -2
  62. package/src/ui/templatelistbuttonview.d.ts +4 -4
  63. package/src/ui/templatelistbuttonview.js +2 -2
  64. package/src/ui/templatelistitemview.d.ts +4 -4
  65. package/src/ui/templatelistitemview.js +2 -2
  66. package/src/ui/templatelistview.d.ts +2 -2
  67. package/src/ui/templatelistview.js +2 -2
  68. package/theme/template.css +1 -1
  69. 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
  #
@@ -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.2.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.2.0",
25
- "@ckeditor/ckeditor5-ui": "40.2.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 _0x39da67 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':_0x39da67};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 _0x194b=['pluginName','requires','Template'];(function(_0xb6a160,_0x194bbe){var _0x42dcf2=function(_0x16b9b3){while(--_0x16b9b3){_0xb6a160['push'](_0xb6a160['shift']());}};_0x42dcf2(++_0x194bbe);}(_0x194b,0x93));var _0x42dc=function(_0xb6a160,_0x194bbe){_0xb6a160=_0xb6a160-0x0;var _0x42dcf2=_0x194b[_0xb6a160];return _0x42dcf2;};import{Plugin as _0x52be1b}from'ckeditor5/src/core';import _0x166b7e from'./templateediting';import _0x3c72e3 from'./templateui';export default class o extends _0x52be1b{static get[_0x42dc('0x1')](){return[_0x166b7e,_0x3c72e3];}static get[_0x42dc('0x0')](){return _0x42dc('0x2');}}
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 _0x2bee=['string','htmlProcessor','insertContent','execute','function','data','toView','editor','change','toModel'];(function(_0x5cfbf1,_0x2beeed){const _0x114ba8=function(_0x23572f){while(--_0x23572f){_0x5cfbf1['push'](_0x5cfbf1['shift']());}};_0x114ba8(++_0x2beeed);}(_0x2bee,0x1ea));const _0x114b=function(_0x5cfbf1,_0x2beeed){_0x5cfbf1=_0x5cfbf1-0x0;let _0x114ba8=_0x2bee[_0x5cfbf1];return _0x114ba8;};import{Command as _0x496401}from'ckeditor5/src/core';export default class c extends _0x496401{[_0x114b('0x3')](_0x48a868){const {model:_0x17f3a2}=this[_0x114b('0x7')];let _0x53f26d;switch(typeof _0x48a868){case _0x114b('0x0'):_0x53f26d=_0x48a868;break;case _0x114b('0x4'):_0x53f26d=_0x48a868();}_0x114b('0x0')==typeof _0x53f26d&&_0x17f3a2[_0x114b('0x8')](()=>{const _0x4827ec=this['editor'][_0x114b('0x5')][_0x114b('0x1')][_0x114b('0x6')](_0x53f26d),_0x13db66=this[_0x114b('0x7')][_0x114b('0x5')][_0x114b('0x9')](_0x4827ec);_0x17f3a2[_0x114b('0x2')](_0x13db66);});}}
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 _0x463c=['config','templateLicenseKeyTrial','commands','insertTemplate','destroy','templateLicenseKeyValid','template-invalid-license-key','_licenseKeyCheckInterval','pluginName','editor','TemplateEditing','templateLicenseKeyTrialLimit:operations','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.','templateLicenseKeyInvalid','get'];(function(_0x27e3d6,_0x463cce){const _0x180894=function(_0x299401){while(--_0x299401){_0x27e3d6['push'](_0x27e3d6['shift']());}};_0x180894(++_0x463cce);}(_0x463c,0x10b));const _0x1808=function(_0x27e3d6,_0x463cce){_0x27e3d6=_0x27e3d6-0x0;let _0x180894=_0x463c[_0x27e3d6];return _0x180894;};import{Plugin as _0xea7302}from'ckeditor5/src/core';import{CKEditorError as _0x51dd4d}from'ckeditor5/src/utils';import _0x1c22f from'./templatecommand';export default class i extends _0xea7302{static get[_0x1808('0xb')](){return _0x1808('0xd');}constructor(_0xf7376c){super(_0xf7376c),this['_licenseKeyCheckInterval']=null;}['init'](){const {editor:_0x1036aa}=this;_0x1036aa[_0x1808('0x5')]['add'](_0x1808('0x6'),new _0x1c22f(_0x1036aa)),this['licenseKey']=_0x1036aa[_0x1808('0x3')][_0x1808('0x2')]('licenseKey');const _0x9fa7a=this[_0x1808('0xc')];this[_0x1808('0xa')]=setInterval(()=>{let _0x547585;for(const _0x486ab6 in _0x9fa7a){const _0x364a43=_0x486ab6,_0x56b338=_0x9fa7a[_0x364a43];if('templateLicenseKeyTrial'===_0x56b338||_0x1808('0x1')===_0x56b338||_0x1808('0x8')===_0x56b338||_0x1808('0xe')===_0x56b338){delete _0x9fa7a[_0x364a43],_0x547585=_0x56b338;break;}}if(_0x1808('0x1')===_0x547585)throw clearInterval(this['_licenseKeyCheckInterval']),new _0x51dd4d(_0x1808('0x9'),null);if(_0x1808('0x4')===_0x547585&&console['info'](_0x1808('0x0')),_0x1808('0xe')===_0x547585)throw clearInterval(this[_0x1808('0xa')]),new _0x51dd4d('template-trial-license-key-reached-limit-changes',null);_0x1808('0x8')===_0x547585&&clearInterval(this[_0x1808('0xa')]);},0x3e8);}[_0x1808('0x7')](){this[_0x1808('0xa')]&&clearInterval(this[_0x1808('0xa')]);}}
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.