@ckeditor/ckeditor5-template 41.2.1 → 41.3.0-alpha.3
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 _0x147a97=_0x3f50;function _0x3f50(_0x4bac62,_0x2096b2){const _0x113a9f=_0x113a();return _0x3f50=function(_0x3f5023,_0x44bf3c){_0x3f5023=_0x3f5023-0x1cb;let _0x56753b=_0x113a9f[_0x3f5023];return _0x56753b;},_0x3f50(_0x4bac62,_0x2096b2);}function _0x113a(){const _0x26ea5d=['ck-button__label','add','123720dniUTF','descriptionView','destroy','text','56nwctIu','18325gWLQlt','set','element','div','121fSgnPY','span','description','3784824jQCGns','textPartView','titleView','2108844oMDBQk','locale','iconView','503880xlwAmn','isColorInherited','ck-template-form__text-part','ck-template-form__description','render','2QrzZZJ','1755603KPHmnY','remove','labelView','613335qMGMpe','option','setTemplate','366lqouIP','title','isMatching','match','highlightText','children','push','extendTemplate','templateDefinition'];_0x113a=function(){return _0x26ea5d;};return _0x113a();}(function(_0x5d18c6,_0x579d91){const _0x3e7565=_0x3f50,_0x1f23b9=_0x5d18c6();while(!![]){try{const _0x234610=-parseInt(_0x3e7565(0x1f3))/0x1*(-parseInt(_0x3e7565(0x1ef))/0x2)+parseInt(_0x3e7565(0x1f0))/0x3+parseInt(_0x3e7565(0x1e7))/0x4+parseInt(_0x3e7565(0x1dd))/0x5*(-parseInt(_0x3e7565(0x1cd))/0x6)+parseInt(_0x3e7565(0x1dc))/0x7*(-parseInt(_0x3e7565(0x1d8))/0x8)+-parseInt(_0x3e7565(0x1e4))/0x9+parseInt(_0x3e7565(0x1ea))/0xa*(-parseInt(_0x3e7565(0x1e1))/0xb);if(_0x234610===_0x579d91)break;else _0x1f23b9['push'](_0x1f23b9['shift']());}catch(_0x32c973){_0x1f23b9['push'](_0x1f23b9['shift']());}}}(_0x113a,0x628ca));import{ButtonView as _0x3ea967,HighlightedTextView as _0x511588,View as _0x1d3b51}from'ckeditor5/src/ui.js';import _0xed10c1 from'../../theme/icons/template-generic.svg';export default class w extends _0x3ea967{constructor(_0x2adca9,_0x473402){const _0x4ac727=_0x3f50;super(_0x2adca9),this[_0x4ac727(0x1d5)]=_0x473402,this[_0x4ac727(0x1e5)]=null;const {icon:_0x4b7b0a=_0xed10c1}=_0x473402;this[_0x4ac727(0x1de)]({'withText':!0x0,'icon':_0x4b7b0a}),this[_0x4ac727(0x1d4)]({'attributes':{'role':_0x4ac727(0x1cb)}}),this[_0x4ac727(0x1e9)][_0x4ac727(0x1eb)]=!0x1;}[_0x147a97(0x1ee)](){const _0x45c52e=_0x147a97;super[_0x45c52e(0x1ee)](),this[_0x45c52e(0x1e5)]=new TextPartView(this[_0x45c52e(0x1e8)],this[_0x45c52e(0x1d5)],this[_0x45c52e(0x1f2)][_0x45c52e(0x1df)]['id']),this[_0x45c52e(0x1d2)][_0x45c52e(0x1f1)](this[_0x45c52e(0x1f2)]),this[_0x45c52e(0x1d2)][_0x45c52e(0x1d7)](this[_0x45c52e(0x1e5)]);}[_0x147a97(0x1da)](){const _0x191984=_0x147a97;super[_0x191984(0x1da)](),this[_0x191984(0x1f2)][_0x191984(0x1da)]();}[_0x147a97(0x1cf)](_0x366311){const _0x159e69=_0x147a97,{title:_0x43106f,description:_0x171369}=this[_0x159e69(0x1d5)],_0x5e7bc0=!!_0x43106f[_0x159e69(0x1d0)](_0x366311),_0xd6f010=!(!_0x171369||!_0x171369[_0x159e69(0x1d0)](_0x366311));return _0x5e7bc0||_0xd6f010?{'title':_0x5e7bc0,'description':_0xd6f010}:null;}[_0x147a97(0x1d1)](_0x308f7b){const _0x5875c7=_0x147a97;this[_0x5875c7(0x1e5)][_0x5875c7(0x1d1)](_0x308f7b);}}export class TextPartView extends _0x1d3b51{constructor(_0x2a2ed4,_0x1991be,_0x4f5bd3){const _0x33a799=_0x147a97;super(_0x2a2ed4),this[_0x33a799(0x1ce)]=_0x1991be[_0x33a799(0x1ce)],this[_0x33a799(0x1e3)]=_0x1991be[_0x33a799(0x1e3)],this[_0x33a799(0x1e6)]=new _0x511588(),this[_0x33a799(0x1e6)][_0x33a799(0x1db)]=this[_0x33a799(0x1ce)],this[_0x33a799(0x1e6)][_0x33a799(0x1d4)]({'tag':_0x33a799(0x1e2),'attributes':{'class':[_0x33a799(0x1d6)],'id':_0x4f5bd3}});const _0x4e286e=[this[_0x33a799(0x1e6)]];this[_0x33a799(0x1e3)]&&(this[_0x33a799(0x1d9)]=new _0x511588(),this[_0x33a799(0x1d9)][_0x33a799(0x1db)]=this[_0x33a799(0x1e3)],this[_0x33a799(0x1d9)][_0x33a799(0x1d4)]({'tag':'p','attributes':{'class':[_0x33a799(0x1ed)]}}),_0x4e286e[_0x33a799(0x1d3)](this[_0x33a799(0x1d9)])),this[_0x33a799(0x1cc)]({'tag':_0x33a799(0x1e0),'attributes':{'class':['ck',_0x33a799(0x1ec)]},'children':_0x4e286e});}[_0x147a97(0x1d1)](_0x222fcd){const _0x43ea4c=_0x147a97;this[_0x43ea4c(0x1e6)][_0x43ea4c(0x1d1)](_0x222fcd),this[_0x43ea4c(0x1e3)]&&this[_0x43ea4c(0x1d9)][_0x43ea4c(0x1d1)](_0x222fcd);}}
|
|
@@ -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(_0x1fc70b,_0x114fd9){var _0x28da5d=_0x1779,_0x537c97=_0x1fc70b();while(!![]){try{var _0x2b7f9a=-parseInt(_0x28da5d(0x14a))/0x1+parseInt(_0x28da5d(0x149))/0x2+-parseInt(_0x28da5d(0x14d))/0x3*(parseInt(_0x28da5d(0x14e))/0x4)+-parseInt(_0x28da5d(0x146))/0x5*(parseInt(_0x28da5d(0x148))/0x6)+parseInt(_0x28da5d(0x14b))/0x7+parseInt(_0x28da5d(0x14f))/0x8+-parseInt(_0x28da5d(0x145))/0x9;if(_0x2b7f9a===_0x114fd9)break;else _0x537c97['push'](_0x537c97['shift']());}catch(_0x49c1c0){_0x537c97['push'](_0x537c97['shift']());}}}(_0x40b1,0x640c9));function _0x40b1(){var _0x1f2584=['1392446hGSYrT','380935NtaKPw','4026526MxXswH','buttonView','114uDmIWy','45508KUVtfl','1627832wVVzGy','563301qmjBOy','5jsInxc','originalIndex','1135614XvMdqk'];_0x40b1=function(){return _0x1f2584;};return _0x40b1();}function _0x1779(_0x469a0f,_0x242649){var _0x40b137=_0x40b1();return _0x1779=function(_0x1779c4,_0x5777d9){_0x1779c4=_0x1779c4-0x145;var _0x2b0988=_0x40b137[_0x1779c4];return _0x2b0988;},_0x1779(_0x469a0f,_0x242649);}import{ListItemView as _0x11a394}from'ckeditor5/src/ui.js';export default class a extends _0x11a394{constructor(_0x4a3093,_0xbc18d0){var _0xd6de66=_0x1779;super(_0x4a3093),this[_0xd6de66(0x147)]=_0xbc18d0,this[_0xd6de66(0x14c)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3d2c7c=_0x35b8;(function(_0x5dc83a,_0x44c153){const _0x2b31a1=_0x35b8,_0x1cbe01=_0x5dc83a();while(!![]){try{const _0x44991b=parseInt(_0x2b31a1(0x186))/0x1+parseInt(_0x2b31a1(0x17e))/0x2*(parseInt(_0x2b31a1(0x180))/0x3)+-parseInt(_0x2b31a1(0x178))/0x4+-parseInt(_0x2b31a1(0x188))/0x5*(parseInt(_0x2b31a1(0x183))/0x6)+-parseInt(_0x2b31a1(0x185))/0x7*(parseInt(_0x2b31a1(0x17f))/0x8)+parseInt(_0x2b31a1(0x171))/0x9*(parseInt(_0x2b31a1(0x17b))/0xa)+-parseInt(_0x2b31a1(0x172))/0xb*(-parseInt(_0x2b31a1(0x179))/0xc);if(_0x44991b===_0x44c153)break;else _0x1cbe01['push'](_0x1cbe01['shift']());}catch(_0x3f0dc5){_0x1cbe01['push'](_0x1cbe01['shift']());}}}(_0x4983,0xd1af9));import{ListView as _0x80c209}from'ckeditor5/src/ui.js';function _0x4983(){const _0x5bcd57=['originalIndex','_resetFiltering','158HxhrUg','1622664aBFzvW','20901hOssVY','title','addMany','12aTEOLl','buttonView','7cukknd','116592XYGJkv','sort','385275xnhDHq','filter','map','length','clear','items','get','9cdxPeI','24750lBmvWC','forEach','size','isVisible','highlightText','isMatching','6201104cHtETc','2328hhDEZP','set','16626070OAXOmx'];_0x4983=function(){return _0x5bcd57;};return _0x4983();}function _0x35b8(_0x161260,_0x4f9584){const _0x49838c=_0x4983();return _0x35b8=function(_0x35b85b,_0x60511b){_0x35b85b=_0x35b85b-0x170;let _0x5e0cfd=_0x49838c[_0x35b85b];return _0x5e0cfd;},_0x35b8(_0x161260,_0x4f9584);}export default class f extends _0x80c209{[_0x3d2c7c(0x189)](_0x29294f){const _0x914b32=_0x3d2c7c;if(!_0x29294f)return this[_0x914b32(0x17d)]();const _0x16b1cc=new Map(),_0x45e2cf=this[_0x914b32(0x18d)][_0x914b32(0x18a)](_0x11ce44=>{const _0x592e11=_0x914b32,_0x320087=_0x11ce44[_0x592e11(0x184)][_0x592e11(0x177)](_0x29294f);return _0x11ce44[_0x592e11(0x175)]=!!_0x320087,_0x11ce44[_0x592e11(0x184)][_0x592e11(0x176)](_0x320087?_0x29294f:null),_0x320087&&_0x16b1cc[_0x592e11(0x17a)](_0x11ce44,_0x320087),_0x11ce44;})[_0x914b32(0x187)](I)[_0x914b32(0x187)](function(_0x25fe27){return function(_0x228dab,_0x2bba7d){const _0x354a71=_0x35b8,_0x3bbd35=_0x25fe27[_0x354a71(0x170)](_0x228dab),_0x10155a=_0x25fe27[_0x354a71(0x170)](_0x2bba7d);return _0x3bbd35&&!_0x10155a?-0x1:_0x10155a&&!_0x3bbd35?0x1:_0x3bbd35||_0x10155a?_0x3bbd35[_0x354a71(0x181)]&&!_0x10155a[_0x354a71(0x181)]?-0x1:!_0x3bbd35[_0x354a71(0x181)]&&_0x10155a[_0x354a71(0x181)]?0x1:0x0:0x0;};}(_0x16b1cc));return this[_0x914b32(0x18d)][_0x914b32(0x18c)](),this[_0x914b32(0x18d)][_0x914b32(0x182)](_0x45e2cf),{'resultsCount':_0x16b1cc[_0x914b32(0x174)],'totalItemsCount':this[_0x914b32(0x18d)][_0x914b32(0x18b)]};}[_0x3d2c7c(0x17d)](){const _0x5c60fe=_0x3d2c7c,_0x40c367=this[_0x5c60fe(0x18d)][_0x5c60fe(0x18a)](_0x41895f=>_0x41895f)[_0x5c60fe(0x187)](I);return _0x40c367[_0x5c60fe(0x173)](_0x439cbe=>{const _0xf9c3d2=_0x5c60fe;_0x439cbe[_0xf9c3d2(0x175)]=!0x0,_0x439cbe[_0xf9c3d2(0x184)][_0xf9c3d2(0x176)](null);}),this[_0x5c60fe(0x18d)][_0x5c60fe(0x18c)](),this[_0x5c60fe(0x18d)][_0x5c60fe(0x182)](_0x40c367),{'resultsCount':_0x40c367[_0x5c60fe(0x18b)],'totalItemsCount':_0x40c367[_0x5c60fe(0x18b)]};}}function I(_0x11d72d,_0x4403b5){const _0x12cb53=_0x3d2c7c;return _0x11d72d[_0x12cb53(0x17c)]-_0x4403b5[_0x12cb53(0x17c)];}
|