@ckeditor/ckeditor5-template 41.2.1 → 41.3.0-alpha.2
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.
- package/build/template.js +1 -1
- package/dist/content-index.css +332 -0
- package/dist/editor-index.css +406 -0
- package/dist/index.css +1101 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/augmentation.d.ts +27 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/template.d.ts +119 -0
- package/dist/types/templatecommand.d.ts +27 -0
- package/dist/types/templateediting.d.ts +34 -0
- package/dist/types/templateui.d.ts +33 -0
- package/dist/types/ui/templatelistbuttonview.d.ts +108 -0
- package/dist/types/ui/templatelistitemview.d.ts +38 -0
- package/dist/types/ui/templatelistview.d.ts +42 -0
- package/package.json +5 -4
- package/src/index.js +1 -1
- package/src/template.js +1 -1
- package/src/templatecommand.js +1 -1
- package/src/templateediting.js +1 -1
- package/src/templateui.js +1 -1
- package/src/ui/templatelistbuttonview.js +1 -1
- package/src/ui/templatelistitemview.d.ts +1 -1
- package/src/ui/templatelistitemview.js +1 -1
- package/src/ui/templatelistview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x905247=_0x2e67;(function(_0x47cb35,_0x11483c){const _0x111440=_0x2e67,_0x3389f2=_0x47cb35();while(!![]){try{const _0x183f85=parseInt(_0x111440(0xb7))/0x1+parseInt(_0x111440(0xab))/0x2*(-parseInt(_0x111440(0xa1))/0x3)+-parseInt(_0x111440(0xac))/0x4*(-parseInt(_0x111440(0xb5))/0x5)+parseInt(_0x111440(0xb6))/0x6+-parseInt(_0x111440(0xaf))/0x7+parseInt(_0x111440(0x93))/0x8+-parseInt(_0x111440(0xa9))/0x9;if(_0x183f85===_0x11483c)break;else _0x3389f2['push'](_0x3389f2['shift']());}catch(_0x41fc21){_0x3389f2['push'](_0x3389f2['shift']());}}}(_0x5d62,0x727ae));function _0x5d62(){const _0x20eee9=['locale','setTemplate','isMatching','span','div','descriptionView','1221264wTVPim','destroy','2dwCKGD','2564InYEoi','ck-button__label','templateDefinition','6432384yrDvdD','element','option','push','highlightText','text','7055XBuMkp','747036MmVFQa','367398IPjxxe','labelView','match','7325344MbdAmE','remove','titleView','isColorInherited','children','add','title','render','description','iconView','textPartView','ck-template-form__text-part','ck-template-form__description','set','2365515rBbENq','extendTemplate'];_0x5d62=function(){return _0x20eee9;};return _0x5d62();}import{ButtonView as _0xbf8c3c,HighlightedTextView as _0x2ee3e7,View as _0x49e6c8}from'ckeditor5/src/ui.js';function _0x2e67(_0x96d812,_0x21de36){const _0x5d6244=_0x5d62();return _0x2e67=function(_0x2e676f,_0x195501){_0x2e676f=_0x2e676f-0x93;let _0x1eeb4f=_0x5d6244[_0x2e676f];return _0x1eeb4f;},_0x2e67(_0x96d812,_0x21de36);}import _0x4a5a2b from'../../theme/icons/template-generic.svg';export default class w extends _0xbf8c3c{constructor(_0x16f306,_0x391b63){const _0x30dcaf=_0x2e67;super(_0x16f306),this[_0x30dcaf(0xae)]=_0x391b63,this[_0x30dcaf(0x9d)]=null;const {icon:_0x3aee95=_0x4a5a2b}=_0x391b63;this[_0x30dcaf(0xa0)]({'withText':!0x0,'icon':_0x3aee95}),this[_0x30dcaf(0xa2)]({'attributes':{'role':_0x30dcaf(0xb1)}}),this[_0x30dcaf(0x9c)][_0x30dcaf(0x96)]=!0x1;}[_0x905247(0x9a)](){const _0x38e0da=_0x905247;super[_0x38e0da(0x9a)](),this[_0x38e0da(0x9d)]=new TextPartView(this[_0x38e0da(0xa3)],this[_0x38e0da(0xae)],this[_0x38e0da(0xb8)][_0x38e0da(0xb0)]['id']),this[_0x38e0da(0x97)][_0x38e0da(0x94)](this[_0x38e0da(0xb8)]),this[_0x38e0da(0x97)][_0x38e0da(0x98)](this[_0x38e0da(0x9d)]);}[_0x905247(0xaa)](){const _0x32cf91=_0x905247;super[_0x32cf91(0xaa)](),this[_0x32cf91(0xb8)][_0x32cf91(0xaa)]();}[_0x905247(0xa5)](_0x4e8841){const _0x5975df=_0x905247,{title:_0x29a9b6,description:_0x383a21}=this[_0x5975df(0xae)],_0x2db882=!!_0x29a9b6[_0x5975df(0xb9)](_0x4e8841),_0x35bc66=!(!_0x383a21||!_0x383a21[_0x5975df(0xb9)](_0x4e8841));return _0x2db882||_0x35bc66?{'title':_0x2db882,'description':_0x35bc66}:null;}[_0x905247(0xb3)](_0x314d39){const _0x4c341b=_0x905247;this[_0x4c341b(0x9d)][_0x4c341b(0xb3)](_0x314d39);}}export class TextPartView extends _0x49e6c8{constructor(_0x450b69,_0x109cb3,_0x14c340){const _0x410373=_0x905247;super(_0x450b69),this[_0x410373(0x99)]=_0x109cb3[_0x410373(0x99)],this[_0x410373(0x9b)]=_0x109cb3[_0x410373(0x9b)],this[_0x410373(0x95)]=new _0x2ee3e7(),this[_0x410373(0x95)][_0x410373(0xb4)]=this[_0x410373(0x99)],this[_0x410373(0x95)][_0x410373(0xa2)]({'tag':_0x410373(0xa6),'attributes':{'class':[_0x410373(0xad)],'id':_0x14c340}});const _0x2184fa=[this[_0x410373(0x95)]];this[_0x410373(0x9b)]&&(this[_0x410373(0xa8)]=new _0x2ee3e7(),this[_0x410373(0xa8)][_0x410373(0xb4)]=this[_0x410373(0x9b)],this[_0x410373(0xa8)][_0x410373(0xa2)]({'tag':'p','attributes':{'class':[_0x410373(0x9f)]}}),_0x2184fa[_0x410373(0xb2)](this[_0x410373(0xa8)])),this[_0x410373(0xa4)]({'tag':_0x410373(0xa7),'attributes':{'class':['ck',_0x410373(0x9e)]},'children':_0x2184fa});}[_0x905247(0xb3)](_0x223465){const _0x162c12=_0x905247;this[_0x162c12(0x95)][_0x162c12(0xb3)](_0x223465),this[_0x162c12(0x9b)]&&this[_0x162c12(0xa8)][_0x162c12(0xb3)](_0x223465);}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module template/ui/templatelistitemview
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
import { ListItemView } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import type TemplateListButtonView from './templatelistbuttonview.js';
|
|
11
11
|
/**
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4d8adc,_0x2d8c02){var _0x4dbdbb=_0x531e,_0x11aff6=_0x4d8adc();while(!![]){try{var _0x442b62=parseInt(_0x4dbdbb(0x15f))/0x1*(parseInt(_0x4dbdbb(0x15b))/0x2)+-parseInt(_0x4dbdbb(0x160))/0x3+parseInt(_0x4dbdbb(0x159))/0x4*(parseInt(_0x4dbdbb(0x157))/0x5)+-parseInt(_0x4dbdbb(0x15e))/0x6*(-parseInt(_0x4dbdbb(0x158))/0x7)+parseInt(_0x4dbdbb(0x15c))/0x8+parseInt(_0x4dbdbb(0x156))/0x9+parseInt(_0x4dbdbb(0x15d))/0xa*(-parseInt(_0x4dbdbb(0x15a))/0xb);if(_0x442b62===_0x2d8c02)break;else _0x11aff6['push'](_0x11aff6['shift']());}catch(_0x53056e){_0x11aff6['push'](_0x11aff6['shift']());}}}(_0x563c,0xd79ef));function _0x531e(_0x12d6d6,_0x331f57){var _0x563c4c=_0x563c();return _0x531e=function(_0x531e1b,_0xb64a92){_0x531e1b=_0x531e1b-0x156;var _0x10cff8=_0x563c4c[_0x531e1b];return _0x10cff8;},_0x531e(_0x12d6d6,_0x331f57);}function _0x563c(){var _0x25e76b=['originalIndex','buttonView','10797876QiihTO','125155OsZPqx','371kVahBZ','40vifrKr','38643825oyNIlx','111014aERWRL','10782288FvsyYV','10bTiWSs','178398EqehcH','29sOQYIB','4761462hwRmwB'];_0x563c=function(){return _0x25e76b;};return _0x563c();}import{ListItemView as _0x305945}from'ckeditor5/src/ui.js';export default class a extends _0x305945{constructor(_0x5cc19e,_0x4ecccb){var _0x4466f7=_0x531e;super(_0x5cc19e),this[_0x4466f7(0x161)]=_0x4ecccb,this[_0x4466f7(0x162)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1e0cb8=_0x5db4;(function(_0x4b751c,_0x1c7cf9){const _0x58d6a0=_0x5db4,_0x4899ab=_0x4b751c();while(!![]){try{const _0x5461b4=parseInt(_0x58d6a0(0x1fc))/0x1*(-parseInt(_0x58d6a0(0x1e9))/0x2)+-parseInt(_0x58d6a0(0x1f0))/0x3*(parseInt(_0x58d6a0(0x200))/0x4)+parseInt(_0x58d6a0(0x1e8))/0x5+parseInt(_0x58d6a0(0x1f1))/0x6*(-parseInt(_0x58d6a0(0x1ea))/0x7)+parseInt(_0x58d6a0(0x1f5))/0x8*(-parseInt(_0x58d6a0(0x1e3))/0x9)+parseInt(_0x58d6a0(0x1fb))/0xa*(-parseInt(_0x58d6a0(0x1ee))/0xb)+-parseInt(_0x58d6a0(0x1fd))/0xc*(-parseInt(_0x58d6a0(0x1e6))/0xd);if(_0x5461b4===_0x1c7cf9)break;else _0x4899ab['push'](_0x4899ab['shift']());}catch(_0x1b4d90){_0x4899ab['push'](_0x4899ab['shift']());}}}(_0x5a11,0x492de));import{ListView as _0x107958}from'ckeditor5/src/ui.js';function _0x5db4(_0x5499c0,_0x406122){const _0x5a11b8=_0x5a11();return _0x5db4=function(_0x5db411,_0x491b73){_0x5db411=_0x5db411-0x1e2;let _0x519a7f=_0x5a11b8[_0x5db411];return _0x519a7f;},_0x5db4(_0x5499c0,_0x406122);}function _0x5a11(){const _0x17d33a=['filter','8iLPHEc','originalIndex','9gcIBcq','highlightText','clear','170846HqFqab','map','2589660rufxfp','926VMpdji','63777niFtDv','_resetFiltering','addMany','length','2612676VfwrIW','get','534306jyHEvD','6lIfHrD','buttonView','isVisible','title','1013216ABTZtL','size','sort','set','isMatching','items','20MTBwXN','29SJfMDW','696mgXTBw','forEach'];_0x5a11=function(){return _0x17d33a;};return _0x5a11();}export default class f extends _0x107958{[_0x1e0cb8(0x1ff)](_0x20cde9){const _0x8fe944=_0x1e0cb8;if(!_0x20cde9)return this[_0x8fe944(0x1eb)]();const _0x3b579e=new Map(),_0x343509=this[_0x8fe944(0x1fa)][_0x8fe944(0x1e7)](_0x4a4809=>{const _0x55f524=_0x8fe944,_0x1b1c38=_0x4a4809[_0x55f524(0x1f2)][_0x55f524(0x1f9)](_0x20cde9);return _0x4a4809[_0x55f524(0x1f3)]=!!_0x1b1c38,_0x4a4809[_0x55f524(0x1f2)][_0x55f524(0x1e4)](_0x1b1c38?_0x20cde9:null),_0x1b1c38&&_0x3b579e[_0x55f524(0x1f8)](_0x4a4809,_0x1b1c38),_0x4a4809;})[_0x8fe944(0x1f7)](I)[_0x8fe944(0x1f7)](function(_0x5047e2){return function(_0x2b45b3,_0x206830){const _0x882930=_0x5db4,_0x3b6e59=_0x5047e2[_0x882930(0x1ef)](_0x2b45b3),_0x3c7eca=_0x5047e2[_0x882930(0x1ef)](_0x206830);return _0x3b6e59&&!_0x3c7eca?-0x1:_0x3c7eca&&!_0x3b6e59?0x1:_0x3b6e59||_0x3c7eca?_0x3b6e59[_0x882930(0x1f4)]&&!_0x3c7eca[_0x882930(0x1f4)]?-0x1:!_0x3b6e59[_0x882930(0x1f4)]&&_0x3c7eca[_0x882930(0x1f4)]?0x1:0x0:0x0;};}(_0x3b579e));return this[_0x8fe944(0x1fa)][_0x8fe944(0x1e5)](),this[_0x8fe944(0x1fa)][_0x8fe944(0x1ec)](_0x343509),{'resultsCount':_0x3b579e[_0x8fe944(0x1f6)],'totalItemsCount':this[_0x8fe944(0x1fa)][_0x8fe944(0x1ed)]};}[_0x1e0cb8(0x1eb)](){const _0xab8550=_0x1e0cb8,_0x32139d=this[_0xab8550(0x1fa)][_0xab8550(0x1e7)](_0x3629fc=>_0x3629fc)[_0xab8550(0x1f7)](I);return _0x32139d[_0xab8550(0x1fe)](_0x1b9c02=>{const _0x2bf031=_0xab8550;_0x1b9c02[_0x2bf031(0x1f3)]=!0x0,_0x1b9c02[_0x2bf031(0x1f2)][_0x2bf031(0x1e4)](null);}),this[_0xab8550(0x1fa)][_0xab8550(0x1e5)](),this[_0xab8550(0x1fa)][_0xab8550(0x1ec)](_0x32139d),{'resultsCount':_0x32139d[_0xab8550(0x1ed)],'totalItemsCount':_0x32139d[_0xab8550(0x1ed)]};}}function I(_0x49b6d1,_0x24bd2c){const _0x57f312=_0x1e0cb8;return _0x49b6d1[_0x57f312(0x1e2)]-_0x24bd2c[_0x57f312(0x1e2)];}
|