@ckeditor/ckeditor5-template 48.2.0-alpha.7 → 48.3.0-alpha.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.
- package/dist/augmentation.d.ts +21 -21
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/template.d.ts +112 -112
- package/dist/templatecommand.d.ts +18 -18
- package/dist/templateediting.d.ts +25 -25
- package/dist/templateui.d.ts +32 -32
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/templatelistbuttonview.d.ts +94 -94
- package/dist/ui/templatelistitemview.d.ts +29 -29
- package/dist/ui/templatelistview.d.ts +33 -33
- package/dist/utils/common-translations.d.ts +6 -6
- package/package.json +6 -6
package/dist/translations/sq.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sq':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'sq':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x3b267f=>0x1!=_0x3b267f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22d582=>{const {sq:{dictionary:_0x1502c0,getPluralForm:_0xa46526}}={'sq':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x608648=>0x1!=_0x608648}};_0x22d582['sq']||={'dictionary':{},'getPluralForm':null},_0x22d582['sq']['dictionary']=Object['assign'](_0x22d582['sq']['dictionary'],_0x1502c0),_0x22d582['sq']['getPluralForm']=_0xa46526;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr-latn':{'dictionary':{'Template':'','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'sr-latn':{'dictionary':{'Template':'','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':''},'getPluralForm':_0x1576b1=>_0x1576b1%0xa==0x1&&_0x1576b1%0x64!=0xb?0x0:_0x1576b1%0xa>=0x2&&_0x1576b1%0xa<=0x4&&(_0x1576b1%0x64<0xa||_0x1576b1%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3a2c99=>{const {'sr-latn':{dictionary:_0x485b51,getPluralForm:_0x4b9bf7}}={'sr-latn':{'dictionary':{'Template':'','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':''},'getPluralForm':_0xb3ec61=>_0xb3ec61%0xa==0x1&&_0xb3ec61%0x64!=0xb?0x0:_0xb3ec61%0xa>=0x2&&_0xb3ec61%0xa<=0x4&&(_0xb3ec61%0x64<0xa||_0xb3ec61%0x64>=0x14)?0x1:0x2}};_0x3a2c99['sr-latn']||={'dictionary':{},'getPluralForm':null},_0x3a2c99['sr-latn']['dictionary']=Object['assign'](_0x3a2c99['sr-latn']['dictionary'],_0x485b51),_0x3a2c99['sr-latn']['getPluralForm']=_0x4b9bf7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/sr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr':{'dictionary':{'Template':'Šablon','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':'%0\x20šablona\x20je\x20pronađeno'},'getPluralForm':
|
|
23
|
+
export default{'sr':{'dictionary':{'Template':'Šablon','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':'%0\x20šablona\x20je\x20pronađeno'},'getPluralForm':_0x55d4fa=>_0x55d4fa%0xa==0x1&&_0x55d4fa%0x64!=0xb?0x0:_0x55d4fa%0xa>=0x2&&_0x55d4fa%0xa<=0x4&&(_0x55d4fa%0x64<0xa||_0x55d4fa%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5716c9=>{const {sr:{dictionary:_0x55cd81,getPluralForm:_0x3fd2d2}}={'sr':{'dictionary':{'Template':'Šablon','Insert\x20template':'Umetni\x20predložak','No\x20templates\x20available.':'Nema\x20dostupnih\x20predložaka.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Nije\x20pronađen\x20nijedan\x20predložak\x20koji\x20odgovara\x20\x22%0\x22.','Search\x20template':'Potraži\x20predložak','%0\x20templates\x20found':'%0\x20šablona\x20je\x20pronađeno'},'getPluralForm':_0x4bcecc=>_0x4bcecc%0xa==0x1&&_0x4bcecc%0x64!=0xb?0x0:_0x4bcecc%0xa>=0x2&&_0x4bcecc%0xa<=0x4&&(_0x4bcecc%0x64<0xa||_0x4bcecc%0x64>=0x14)?0x1:0x2}};_0x5716c9['sr']||={'dictionary':{},'getPluralForm':null},_0x5716c9['sr']['dictionary']=Object['assign'](_0x5716c9['sr']['dictionary'],_0x55cd81),_0x5716c9['sr']['getPluralForm']=_0x3fd2d2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/sv.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sv':{'dictionary':{'Template':'Mall','Insert\x20template':'Infoga\x20mall','No\x20templates\x20available.':'Inga\x20mallar\x20finns.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Inga\x20mallar\x20hittades\x20som\x20matchar\x20\x22%0\x22.','Search\x20template':'Sök\x20mall','%0\x20templates\x20found':'%0\x20mallar\x20hittades'},'getPluralForm':
|
|
23
|
+
export default{'sv':{'dictionary':{'Template':'Mall','Insert\x20template':'Infoga\x20mall','No\x20templates\x20available.':'Inga\x20mallar\x20finns.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Inga\x20mallar\x20hittades\x20som\x20matchar\x20\x22%0\x22.','Search\x20template':'Sök\x20mall','%0\x20templates\x20found':'%0\x20mallar\x20hittades'},'getPluralForm':_0x1d348b=>0x1!=_0x1d348b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x537e4f=>{const {sv:{dictionary:_0x41aa82,getPluralForm:_0x4129f5}}={'sv':{'dictionary':{'Template':'Mall','Insert\x20template':'Infoga\x20mall','No\x20templates\x20available.':'Inga\x20mallar\x20finns.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Inga\x20mallar\x20hittades\x20som\x20matchar\x20\x22%0\x22.','Search\x20template':'Sök\x20mall','%0\x20templates\x20found':'%0\x20mallar\x20hittades'},'getPluralForm':_0xd62e17=>0x1!=_0xd62e17}};_0x537e4f['sv']||={'dictionary':{},'getPluralForm':null},_0x537e4f['sv']['dictionary']=Object['assign'](_0x537e4f['sv']['dictionary'],_0x41aa82),_0x537e4f['sv']['getPluralForm']=_0x4129f5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/th.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'th':{'dictionary':{'Template':'แม่แบบ','Insert\x20template':'แทรกเทมเพลต','No\x20templates\x20available.':'ไม่มีเทมเพลต','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'ไม่พบเทมเพลตที่ตรงกับ\x20\x22%0\x22','Search\x20template':'ค้นหาเทมเพลต','%0\x20templates\x20found':'พบเทมเพลต\x20%0\x20รายการ'},'getPluralForm':
|
|
23
|
+
export default{'th':{'dictionary':{'Template':'แม่แบบ','Insert\x20template':'แทรกเทมเพลต','No\x20templates\x20available.':'ไม่มีเทมเพลต','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'ไม่พบเทมเพลตที่ตรงกับ\x20\x22%0\x22','Search\x20template':'ค้นหาเทมเพลต','%0\x20templates\x20found':'พบเทมเพลต\x20%0\x20รายการ'},'getPluralForm':_0xfca942=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x213d98=>{const {th:{dictionary:_0xe5b7ce,getPluralForm:_0x47a452}}={'th':{'dictionary':{'Template':'แม่แบบ','Insert\x20template':'แทรกเทมเพลต','No\x20templates\x20available.':'ไม่มีเทมเพลต','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'ไม่พบเทมเพลตที่ตรงกับ\x20\x22%0\x22','Search\x20template':'ค้นหาเทมเพลต','%0\x20templates\x20found':'พบเทมเพลต\x20%0\x20รายการ'},'getPluralForm':_0x50241c=>0x0}};_0x213d98['th']||={'dictionary':{},'getPluralForm':null},_0x213d98['th']['dictionary']=Object['assign'](_0x213d98['th']['dictionary'],_0xe5b7ce),_0x213d98['th']['getPluralForm']=_0x47a452;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ti.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ti':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'ti':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0xc207f9=>_0xc207f9>0x1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5d086d=>{const {ti:{dictionary:_0x45abb5,getPluralForm:_0x18916c}}={'ti':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x3872b8=>_0x3872b8>0x1}};_0x5d086d['ti']||={'dictionary':{},'getPluralForm':null},_0x5d086d['ti']['dictionary']=Object['assign'](_0x5d086d['ti']['dictionary'],_0x45abb5),_0x5d086d['ti']['getPluralForm']=_0x18916c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/tk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'tk':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'tk':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0xb7ad30=>0x1!=_0xb7ad30}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c46fa=>{const {tk:{dictionary:_0x428453,getPluralForm:_0x15dda9}}={'tk':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x46773b=>0x1!=_0x46773b}};_0x5c46fa['tk']||={'dictionary':{},'getPluralForm':null},_0x5c46fa['tk']['dictionary']=Object['assign'](_0x5c46fa['tk']['dictionary'],_0x428453),_0x5c46fa['tk']['getPluralForm']=_0x15dda9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/tr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'tr':{'dictionary':{'Template':'Şablon','Insert\x20template':'Şablon\x20ekle','No\x20templates\x20available.':'Kullanılabilir\x20şablon\x20yok.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'\x22%0\x22\x20ile\x20eşleşen\x20şablon\x20bulunamadı.','Search\x20template':'Şablon\x20ara','%0\x20templates\x20found':'%0\x20şablon\x20bulundu'},'getPluralForm':
|
|
23
|
+
export default{'tr':{'dictionary':{'Template':'Şablon','Insert\x20template':'Şablon\x20ekle','No\x20templates\x20available.':'Kullanılabilir\x20şablon\x20yok.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'\x22%0\x22\x20ile\x20eşleşen\x20şablon\x20bulunamadı.','Search\x20template':'Şablon\x20ara','%0\x20templates\x20found':'%0\x20şablon\x20bulundu'},'getPluralForm':_0x17ad8c=>_0x17ad8c>0x1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x25f1f5=>{const {tr:{dictionary:_0x5080ce,getPluralForm:_0x29d1e9}}={'tr':{'dictionary':{'Template':'Şablon','Insert\x20template':'Şablon\x20ekle','No\x20templates\x20available.':'Kullanılabilir\x20şablon\x20yok.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'\x22%0\x22\x20ile\x20eşleşen\x20şablon\x20bulunamadı.','Search\x20template':'Şablon\x20ara','%0\x20templates\x20found':'%0\x20şablon\x20bulundu'},'getPluralForm':_0x5401f1=>_0x5401f1>0x1}};_0x25f1f5['tr']||={'dictionary':{},'getPluralForm':null},_0x25f1f5['tr']['dictionary']=Object['assign'](_0x25f1f5['tr']['dictionary'],_0x5080ce),_0x25f1f5['tr']['getPluralForm']=_0x29d1e9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/tt.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'tt':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'tt':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x2d3645=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x204811=>{const {tt:{dictionary:_0x40020d,getPluralForm:_0x258caf}}={'tt':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x452e9a=>0x0}};_0x204811['tt']||={'dictionary':{},'getPluralForm':null},_0x204811['tt']['dictionary']=Object['assign'](_0x204811['tt']['dictionary'],_0x40020d),_0x204811['tt']['getPluralForm']=_0x258caf;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ug.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ug':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'ug':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x447914=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c1e81=>{const {ug:{dictionary:_0x1b0442,getPluralForm:_0x10ec0c}}={'ug':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x4fba30=>0x0}};_0x5c1e81['ug']||={'dictionary':{},'getPluralForm':null},_0x5c1e81['ug']['dictionary']=Object['assign'](_0x5c1e81['ug']['dictionary'],_0x1b0442),_0x5c1e81['ug']['getPluralForm']=_0x10ec0c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/uk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Template':'Шаблон','Insert\x20template':'Вставити\x20шаблон','No\x20templates\x20available.':'Немає\x20доступних\x20шаблонів','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Не\x20знайдено\x20шаблонів,\x20які\x20б\x20відповідали\x20\x22%0\x22.','Search\x20template':'Шукати\x20шаблон','%0\x20templates\x20found':'Знайдено\x20%0\x20шаблонів'},'getPluralForm':
|
|
23
|
+
export default{'uk':{'dictionary':{'Template':'Шаблон','Insert\x20template':'Вставити\x20шаблон','No\x20templates\x20available.':'Немає\x20доступних\x20шаблонів','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Не\x20знайдено\x20шаблонів,\x20які\x20б\x20відповідали\x20\x22%0\x22.','Search\x20template':'Шукати\x20шаблон','%0\x20templates\x20found':'Знайдено\x20%0\x20шаблонів'},'getPluralForm':_0x43cfe7=>_0x43cfe7%0xa==0x1&&_0x43cfe7%0x64!=0xb?0x0:_0x43cfe7%0xa>=0x2&&_0x43cfe7%0xa<=0x4&&(_0x43cfe7%0x64<0xa||_0x43cfe7%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5dc4ff=>{const {uk:{dictionary:_0x41b324,getPluralForm:_0x167641}}={'uk':{'dictionary':{'Template':'Шаблон','Insert\x20template':'Вставити\x20шаблон','No\x20templates\x20available.':'Немає\x20доступних\x20шаблонів','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Не\x20знайдено\x20шаблонів,\x20які\x20б\x20відповідали\x20\x22%0\x22.','Search\x20template':'Шукати\x20шаблон','%0\x20templates\x20found':'Знайдено\x20%0\x20шаблонів'},'getPluralForm':_0xc66d27=>_0xc66d27%0xa==0x1&&_0xc66d27%0x64!=0xb?0x0:_0xc66d27%0xa>=0x2&&_0xc66d27%0xa<=0x4&&(_0xc66d27%0x64<0xa||_0xc66d27%0x64>=0x14)?0x1:0x2}};_0x5dc4ff['uk']||={'dictionary':{},'getPluralForm':null},_0x5dc4ff['uk']['dictionary']=Object['assign'](_0x5dc4ff['uk']['dictionary'],_0x41b324),_0x5dc4ff['uk']['getPluralForm']=_0x167641;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ur.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ur':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'ur':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x5c8896=>0x1!=_0x5c8896}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x423a62=>{const {ur:{dictionary:_0x56c593,getPluralForm:_0x361fc3}}={'ur':{'dictionary':{'Template':'','Insert\x20template':'','No\x20templates\x20available.':'','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'','%0\x20templates\x20found':''},'getPluralForm':_0x5a3412=>0x1!=_0x5a3412}};_0x423a62['ur']||={'dictionary':{},'getPluralForm':null},_0x423a62['ur']['dictionary']=Object['assign'](_0x423a62['ur']['dictionary'],_0x56c593),_0x423a62['ur']['getPluralForm']=_0x361fc3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/uz.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uz':{'dictionary':{'Template':'','Insert\x20template':'Shablonni\x20kiritish','No\x20templates\x20available.':'Hech\x20qanday\x20shablon\x20mavjud\x20emas.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'Shablonni\x20qidirish','%0\x20templates\x20found':''},'getPluralForm':
|
|
23
|
+
export default{'uz':{'dictionary':{'Template':'','Insert\x20template':'Shablonni\x20kiritish','No\x20templates\x20available.':'Hech\x20qanday\x20shablon\x20mavjud\x20emas.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'Shablonni\x20qidirish','%0\x20templates\x20found':''},'getPluralForm':_0x218e97=>_0x218e97>0x1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c8b64=>{const {uz:{dictionary:_0x2f5721,getPluralForm:_0x4bde2d}}={'uz':{'dictionary':{'Template':'','Insert\x20template':'Shablonni\x20kiritish','No\x20templates\x20available.':'Hech\x20qanday\x20shablon\x20mavjud\x20emas.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'','Search\x20template':'Shablonni\x20qidirish','%0\x20templates\x20found':''},'getPluralForm':_0x474003=>_0x474003>0x1}};_0x5c8b64['uz']||={'dictionary':{},'getPluralForm':null},_0x5c8b64['uz']['dictionary']=Object['assign'](_0x5c8b64['uz']['dictionary'],_0x2f5721),_0x5c8b64['uz']['getPluralForm']=_0x4bde2d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Template':'Mẫu','Insert\x20template':'Chèn\x20mẫu\x20sẵn','No\x20templates\x20available.':'Không\x20có\x20mẫu\x20sẵn\x20nào.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Không\x20tìm\x20thấy\x20mẫu\x20sẵn\x20nào\x20khớp\x20với\x20\x22%0\x22.','Search\x20template':'Tìm\x20mẫu\x20sẵn','%0\x20templates\x20found':'Đã\x20tìm\x20thấy\x20%0\x20mẫu'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Template':'Mẫu','Insert\x20template':'Chèn\x20mẫu\x20sẵn','No\x20templates\x20available.':'Không\x20có\x20mẫu\x20sẵn\x20nào.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Không\x20tìm\x20thấy\x20mẫu\x20sẵn\x20nào\x20khớp\x20với\x20\x22%0\x22.','Search\x20template':'Tìm\x20mẫu\x20sẵn','%0\x20templates\x20found':'Đã\x20tìm\x20thấy\x20%0\x20mẫu'},'getPluralForm':_0x51fdb1=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fdee4=>{const {vi:{dictionary:_0x19a23b,getPluralForm:_0x389cc6}}={'vi':{'dictionary':{'Template':'Mẫu','Insert\x20template':'Chèn\x20mẫu\x20sẵn','No\x20templates\x20available.':'Không\x20có\x20mẫu\x20sẵn\x20nào.','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'Không\x20tìm\x20thấy\x20mẫu\x20sẵn\x20nào\x20khớp\x20với\x20\x22%0\x22.','Search\x20template':'Tìm\x20mẫu\x20sẵn','%0\x20templates\x20found':'Đã\x20tìm\x20thấy\x20%0\x20mẫu'},'getPluralForm':_0x3c39d9=>0x0}};_0x3fdee4['vi']||={'dictionary':{},'getPluralForm':null},_0x3fdee4['vi']['dictionary']=Object['assign'](_0x3fdee4['vi']['dictionary'],_0x19a23b),_0x3fdee4['vi']['getPluralForm']=_0x389cc6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Template':'模板','Insert\x20template':'插入模板','No\x20templates\x20available.':'无可用的模板','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'未找到与\x22%0\x22匹配的模板。','Search\x20template':'搜索模板','%0\x20templates\x20found':'找到\x20%0\x20个模板'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Template':'模板','Insert\x20template':'插入模板','No\x20templates\x20available.':'无可用的模板','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'未找到与\x22%0\x22匹配的模板。','Search\x20template':'搜索模板','%0\x20templates\x20found':'找到\x20%0\x20个模板'},'getPluralForm':_0x5c1377=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2883ec=>{const {'zh-cn':{dictionary:_0x13fb6d,getPluralForm:_0x366b31}}={'zh-cn':{'dictionary':{'Template':'模板','Insert\x20template':'插入模板','No\x20templates\x20available.':'无可用的模板','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'未找到与\x22%0\x22匹配的模板。','Search\x20template':'搜索模板','%0\x20templates\x20found':'找到\x20%0\x20个模板'},'getPluralForm':_0x2e8d12=>0x0}};_0x2883ec['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x2883ec['zh-cn']['dictionary']=Object['assign'](_0x2883ec['zh-cn']['dictionary'],_0x13fb6d),_0x2883ec['zh-cn']['getPluralForm']=_0x366b31;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Template':'範本','Insert\x20template':'插入範本','No\x20templates\x20available.':'無可用範本。','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'找不到符合「%0」的範本','Search\x20template':'搜尋範本','%0\x20templates\x20found':'已找到\x20%0\x20個範本'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Template':'範本','Insert\x20template':'插入範本','No\x20templates\x20available.':'無可用範本。','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'找不到符合「%0」的範本','Search\x20template':'搜尋範本','%0\x20templates\x20found':'已找到\x20%0\x20個範本'},'getPluralForm':_0x4e96f5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5db74d=>{const {zh:{dictionary:_0x604786,getPluralForm:_0xa19123}}={'zh':{'dictionary':{'Template':'範本','Insert\x20template':'插入範本','No\x20templates\x20available.':'無可用範本。','No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':'找不到符合「%0」的範本','Search\x20template':'搜尋範本','%0\x20templates\x20found':'已找到\x20%0\x20個範本'},'getPluralForm':_0x562cdb=>0x0}};_0x5db74d['zh']||={'dictionary':{},'getPluralForm':null},_0x5db74d['zh']['dictionary']=Object['assign'](_0x5db74d['zh']['dictionary'],_0x604786),_0x5db74d['zh']['getPluralForm']=_0xa19123;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -1,101 +1,101 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { ButtonView, HighlightedTextView, View } from
|
|
6
|
-
import type { Locale } from
|
|
7
|
-
import type { TemplateDefinition } from
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import { ButtonView, HighlightedTextView, View } from "@ckeditor/ckeditor5-ui";
|
|
6
|
+
import type { Locale } from "@ckeditor/ckeditor5-utils";
|
|
7
|
+
import type { TemplateDefinition } from "../template.js";
|
|
8
8
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
* A class representing an individual button (template) in the list. Renders a rich preview of the template option.
|
|
10
|
+
*
|
|
11
|
+
* @protected
|
|
12
|
+
*/
|
|
13
13
|
export declare class TemplateListButtonView extends ButtonView {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
14
|
+
/**
|
|
15
|
+
* The definition of the template that the button will apply when executed.
|
|
16
|
+
*
|
|
17
|
+
* @readonly
|
|
18
|
+
*/
|
|
19
|
+
templateDefinition: TemplateDefinition;
|
|
20
|
+
/**
|
|
21
|
+
* The view rendering the text part of the template definition.
|
|
22
|
+
*
|
|
23
|
+
* @protected
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
textPartView: TextPartView | null;
|
|
27
|
+
/**
|
|
28
|
+
* Creates an instance of the {@link module:template/ui/templatelistbuttonview~TemplateListButtonView} class.
|
|
29
|
+
*
|
|
30
|
+
* @param locale The localization services instance.
|
|
31
|
+
* @param templateDefinition The definition of the template.
|
|
32
|
+
*/
|
|
33
|
+
constructor(locale: Locale, templateDefinition: TemplateDefinition);
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
override render(): void;
|
|
38
|
+
override destroy(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Tells whether the `title` or `description` of the {@link #templateDefinition} match against the provided regular expression.
|
|
41
|
+
*
|
|
42
|
+
* @param regExp A regular expression to match the definition against.
|
|
43
|
+
* @returns When the match is positive, an object with the `title` and `description` keys is returned that describes
|
|
44
|
+
* the match. Otherwise, this method returns `null`.
|
|
45
|
+
*/
|
|
46
|
+
isMatching(regExp: RegExp): object | null;
|
|
47
|
+
/**
|
|
48
|
+
* Highlights a subset of the {@link #textPartView} text according to a specified regular expression. When `null` is passed,
|
|
49
|
+
* the highlighting is turned off.
|
|
50
|
+
*
|
|
51
|
+
* @param regExp A regular expression used to highlight the matching text in the {@link #textPartView}.
|
|
52
|
+
*/
|
|
53
|
+
highlightText(regExp: RegExp | null): void;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
* A view representing the title and the description of the template.
|
|
57
|
+
*
|
|
58
|
+
* @protected
|
|
59
|
+
*/
|
|
60
60
|
export declare class TextPartView extends View {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
61
|
+
/**
|
|
62
|
+
* The title text of the template.
|
|
63
|
+
*
|
|
64
|
+
* @readonly
|
|
65
|
+
*/
|
|
66
|
+
title: string;
|
|
67
|
+
/**
|
|
68
|
+
* The description text of the template.
|
|
69
|
+
*
|
|
70
|
+
* @readonly
|
|
71
|
+
*/
|
|
72
|
+
description: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Renders the title text of a template.
|
|
75
|
+
*
|
|
76
|
+
* **Note**: It acts as a label of the entire button in the context of accessibility.
|
|
77
|
+
*
|
|
78
|
+
* @readonly
|
|
79
|
+
*/
|
|
80
|
+
titleView: HighlightedTextView;
|
|
81
|
+
/**
|
|
82
|
+
* Renders the description text of a template.
|
|
83
|
+
*
|
|
84
|
+
* @readonly
|
|
85
|
+
*/
|
|
86
|
+
descriptionView: HighlightedTextView;
|
|
87
|
+
/**
|
|
88
|
+
* Creates an instance of the text part view.
|
|
89
|
+
*
|
|
90
|
+
* @param locale The {@link module:core/editor/editor~Editor#locale} instance.
|
|
91
|
+
* @param templateDefinition The definition of the template.
|
|
92
|
+
* @param labelId A unique ID that connects the entire button with the {@link #titleView} in the context of accessibility.
|
|
93
|
+
*/
|
|
94
|
+
constructor(locale: Locale, templateDefinition: TemplateDefinition, labelId: string);
|
|
95
|
+
/**
|
|
96
|
+
* Highlights a subset of the {@link #titleView} and {@link #descriptionView} text according to a specified regular expression.
|
|
97
|
+
*
|
|
98
|
+
* @param regExp
|
|
99
|
+
*/
|
|
100
|
+
highlightText(regExp: RegExp | null): void;
|
|
101
101
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { Locale } from
|
|
9
|
-
import { ListItemView } from
|
|
10
|
-
import { type TemplateListButtonView } from
|
|
6
|
+
* @module template/ui/templatelistitemview
|
|
7
|
+
*/
|
|
8
|
+
import type { Locale } from "@ckeditor/ckeditor5-utils";
|
|
9
|
+
import { ListItemView } from "@ckeditor/ckeditor5-ui";
|
|
10
|
+
import { type TemplateListButtonView } from "./templatelistbuttonview.js";
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
* A view representing an item in the list of tempaltes.
|
|
13
|
+
*
|
|
14
|
+
* @protected
|
|
15
|
+
*/
|
|
16
16
|
export declare class TemplateListItemView extends ListItemView {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
/**
|
|
18
|
+
* The initial index of the item in the list of templates.
|
|
19
|
+
* Useful while searching and sorting to reverse the list to the same order.
|
|
20
|
+
*/
|
|
21
|
+
readonly originalIndex: number;
|
|
22
|
+
/**
|
|
23
|
+
* The instance of the template button view containing the title,
|
|
24
|
+
* icon, and description of the template.
|
|
25
|
+
*/
|
|
26
|
+
buttonView: TemplateListButtonView | null;
|
|
27
|
+
/**
|
|
28
|
+
* Creates an instance of the {@link module:template/ui/templatelistitemview~TemplateListItemView} class.
|
|
29
|
+
*
|
|
30
|
+
* @param locale The localization services instance.
|
|
31
|
+
* @param originalIndex The initial index of the item in the list of templates.
|
|
32
|
+
*/
|
|
33
|
+
constructor(locale: Locale, originalIndex: number);
|
|
34
34
|
}
|