@ckeditor/ckeditor5-slash-command 40.0.0 → 40.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 (101) hide show
  1. package/LICENSE.md +4 -4
  2. package/build/slash-command.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr.js +1 -1
  37. package/build/translations/sv.js +1 -1
  38. package/build/translations/th.js +1 -1
  39. package/build/translations/tr.js +1 -1
  40. package/build/translations/uk.js +1 -1
  41. package/build/translations/uz.js +1 -1
  42. package/build/translations/vi.js +1 -1
  43. package/build/translations/zh-cn.js +1 -1
  44. package/build/translations/zh.js +1 -1
  45. package/lang/translations/ar.po +4 -0
  46. package/lang/translations/bg.po +4 -0
  47. package/lang/translations/bn.po +4 -0
  48. package/lang/translations/ca.po +4 -0
  49. package/lang/translations/cs.po +4 -0
  50. package/lang/translations/da.po +4 -0
  51. package/lang/translations/de.po +4 -0
  52. package/lang/translations/el.po +4 -0
  53. package/lang/translations/en-au.po +4 -0
  54. package/lang/translations/en.po +4 -0
  55. package/lang/translations/es.po +4 -0
  56. package/lang/translations/et.po +4 -0
  57. package/lang/translations/fi.po +4 -0
  58. package/lang/translations/fr.po +4 -0
  59. package/lang/translations/gl.po +4 -0
  60. package/lang/translations/he.po +4 -0
  61. package/lang/translations/hi.po +4 -0
  62. package/lang/translations/hr.po +4 -0
  63. package/lang/translations/hu.po +4 -0
  64. package/lang/translations/id.po +4 -0
  65. package/lang/translations/it.po +4 -0
  66. package/lang/translations/ja.po +4 -0
  67. package/lang/translations/ko.po +4 -0
  68. package/lang/translations/lt.po +4 -0
  69. package/lang/translations/lv.po +4 -0
  70. package/lang/translations/ms.po +4 -0
  71. package/lang/translations/nl.po +4 -0
  72. package/lang/translations/no.po +4 -0
  73. package/lang/translations/pl.po +4 -0
  74. package/lang/translations/pt-br.po +4 -0
  75. package/lang/translations/pt.po +4 -0
  76. package/lang/translations/ro.po +4 -0
  77. package/lang/translations/ru.po +4 -0
  78. package/lang/translations/sk.po +4 -0
  79. package/lang/translations/sr.po +4 -0
  80. package/lang/translations/sv.po +4 -0
  81. package/lang/translations/th.po +4 -0
  82. package/lang/translations/tr.po +4 -0
  83. package/lang/translations/uk.po +4 -0
  84. package/lang/translations/uz.po +4 -0
  85. package/lang/translations/vi.po +4 -0
  86. package/lang/translations/zh-cn.po +4 -0
  87. package/lang/translations/zh.po +4 -0
  88. package/package.json +14 -14
  89. package/src/augmentation.d.ts +21 -21
  90. package/src/index.d.ts +13 -13
  91. package/src/slashcommand.d.ts +29 -29
  92. package/src/slashcommand.js +1 -1
  93. package/src/slashcommandconfig.d.ts +242 -242
  94. package/src/slashcommandconfig.js +1 -1
  95. package/src/slashcommandediting.d.ts +41 -41
  96. package/src/slashcommandediting.js +1 -1
  97. package/src/slashcommandeditorconfig.d.ts +96 -96
  98. package/src/slashcommandui.d.ts +33 -33
  99. package/src/slashcommandui.js +1 -1
  100. package/src/ui/slashcommandbuttonview.d.ts +31 -31
  101. package/src/ui/slashcommandbuttonview.js +1 -1
@@ -1,31 +1,31 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module slash-command/ui/slashcommandbuttonview
7
- */
8
- import type { Locale } from 'ckeditor5/src/utils';
9
- import { View, ButtonView } from 'ckeditor5/src/ui';
10
- import type { SlashCommandDefinition } from '../slashcommandconfig';
11
- /**
12
- * A class representing an individual button (slash command) in the list.
13
- *
14
- * @extends module:ui/button/buttonview~ButtonView
15
- */
16
- export default class SlashCommandButtonView extends ButtonView {
17
- /**
18
- * The view rendering the text part of the slash command button consisting of a title and an optional description.
19
- *
20
- * @protected
21
- */
22
- textPartView: View;
23
- /**
24
- * Creates an instance of the {@link module:slash-command/ui/slashcommandbuttonview~SlashCommandButtonView} class.
25
- */
26
- constructor(locale: Locale, commandDefinition: SlashCommandDefinition);
27
- /**
28
- * @inheritDoc
29
- */
30
- render(): void;
31
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module slash-command/ui/slashcommandbuttonview
7
+ */
8
+ import type { Locale } from 'ckeditor5/src/utils';
9
+ import { View, ButtonView } from 'ckeditor5/src/ui';
10
+ import type { SlashCommandDefinition } from '../slashcommandconfig';
11
+ /**
12
+ * A class representing an individual button (slash command) in the list.
13
+ *
14
+ * @extends module:ui/button/buttonview~ButtonView
15
+ */
16
+ export default class SlashCommandButtonView extends ButtonView {
17
+ /**
18
+ * The view rendering the text part of the slash command button consisting of a title and an optional description.
19
+ *
20
+ * @protected
21
+ */
22
+ textPartView: View;
23
+ /**
24
+ * Creates an instance of the {@link module:slash-command/ui/slashcommandbuttonview~SlashCommandButtonView} class.
25
+ */
26
+ constructor(locale: Locale, commandDefinition: SlashCommandDefinition);
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ render(): void;
31
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19d2=['div','isColorInherited','set','icon','children','ck-slash-command-button__text-part','render','isIconColorInherited','labelView','textPartView','title','iconView','description','span','_createTextPartView','ck-slash-command-button__description','add','ck-slash-command-button'];(function(_0x37afbc,_0x19d2fb){const _0x38531e=function(_0x1b33ac){while(--_0x1b33ac){_0x37afbc['push'](_0x37afbc['shift']());}};_0x38531e(++_0x19d2fb);}(_0x19d2,0x14e));const _0x3853=function(_0x37afbc,_0x19d2fb){_0x37afbc=_0x37afbc-0x0;let _0x38531e=_0x19d2[_0x37afbc];return _0x38531e;};import{View as _0x539a34,ButtonView as _0x440c67}from'ckeditor5/src/ui';import _0x25c60e from'../../theme/icons/play.svg';export default class S extends _0x440c67{constructor(_0x4a6299,_0x10fcdd){super(_0x4a6299),this['textPartView']=this[_0x3853('0x4')](_0x4a6299,_0x10fcdd),void 0x0!==_0x10fcdd[_0x3853('0xf')]&&(this[_0x3853('0x1')][_0x3853('0x9')]=_0x10fcdd[_0x3853('0xf')]),this[_0x3853('0xa')]({'icon':_0x10fcdd[_0x3853('0xb')]||_0x25c60e,'withText':!0x0,'label':_0x10fcdd[_0x3853('0x0')],'class':_0x3853('0x7')});}[_0x3853('0xe')](){super[_0x3853('0xe')](),this[_0x3853('0xc')][_0x3853('0x6')](this[_0x3853('0x11')]);}[_0x3853('0x4')](_0x5ef3cc,_0x37d524){const _0x24096f=new _0x539a34(_0x5ef3cc);return _0x24096f['setTemplate']({'tag':_0x3853('0x8'),'attributes':{'class':['ck',_0x3853('0xd')]},'children':_0x37d524['description']?[this[_0x3853('0x10')],{'tag':_0x3853('0x3'),'attributes':{'class':['ck',_0x3853('0x5')]},'children':[{'text':_0x37d524[_0x3853('0x2')]}]}]:[this[_0x3853('0x10')]]}),_0x24096f;}}
23
+ const _0x5c5d=['ck-slash-command-button__description','render','icon','_createTextPartView','textPartView','isIconColorInherited','set','labelView','setTemplate','description','ck-slash-command-button','div'];(function(_0x135b21,_0x5c5d1f){const _0x441e13=function(_0x3598d7){while(--_0x3598d7){_0x135b21['push'](_0x135b21['shift']());}};_0x441e13(++_0x5c5d1f);}(_0x5c5d,0xb5));const _0x441e=function(_0x135b21,_0x5c5d1f){_0x135b21=_0x135b21-0x0;let _0x441e13=_0x5c5d[_0x135b21];return _0x441e13;};import{View as _0x339f91,ButtonView as _0x2a8dc9}from'ckeditor5/src/ui';import _0xcd2f8d from'../../theme/icons/play.svg';export default class S extends _0x2a8dc9{constructor(_0x89c27a,_0x40423e){super(_0x89c27a),this[_0x441e('0x3')]=this[_0x441e('0x2')](_0x89c27a,_0x40423e),void 0x0!==_0x40423e[_0x441e('0x4')]&&(this['iconView']['isColorInherited']=_0x40423e['isIconColorInherited']),this[_0x441e('0x5')]({'icon':_0x40423e[_0x441e('0x1')]||_0xcd2f8d,'withText':!0x0,'label':_0x40423e['title'],'class':_0x441e('0x9')});}[_0x441e('0x0')](){super[_0x441e('0x0')](),this['children']['add'](this[_0x441e('0x3')]);}['_createTextPartView'](_0x371a80,_0x3b278f){const _0xc91a33=new _0x339f91(_0x371a80);return _0xc91a33[_0x441e('0x7')]({'tag':_0x441e('0xa'),'attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x3b278f[_0x441e('0x8')]?[this[_0x441e('0x6')],{'tag':'span','attributes':{'class':['ck',_0x441e('0xb')]},'children':[{'text':_0x3b278f['description']}]}]:[this[_0x441e('0x6')]]}),_0xc91a33;}}