@ckeditor/ckeditor5-pagination 40.2.0 → 41.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.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/pagination.js +2 -2
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +4 -3
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +3 -3
- package/src/index.js +2 -2
- package/src/pagination.d.ts +4 -4
- package/src/pagination.js +2 -2
- package/src/paginationediting.d.ts +4 -4
- package/src/paginationediting.js +2 -2
- package/src/paginationlookup.d.ts +3 -3
- package/src/paginationlookup.js +2 -2
- package/src/paginationrenderer.d.ts +2 -2
- package/src/paginationrenderer.js +2 -2
- package/src/paginationui.d.ts +2 -2
- package/src/paginationui.js +2 -2
- package/src/ui/linesrepository.d.ts +2 -2
- package/src/ui/linesrepository.js +2 -2
- package/src/ui/lineview.d.ts +2 -2
- package/src/ui/lineview.js +2 -2
- package/src/ui/pagenavigatorview.d.ts +3 -3
- package/src/ui/pagenavigatorview.js +2 -2
- package/theme/line.css +1 -1
- package/theme/pagenavigator.css +1 -1
- package/theme/pagination.css +1 -1
package/src/ui/lineview.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x4a7e=['pageNumber','left','isVisible','width','ck-pagination-view-line','set','div','setTemplate','ck-hidden'];(function(_0x985899,_0x4a7ec4){const _0x337af7=function(_0x33d33d){while(--_0x33d33d){_0x985899['push'](_0x985899['shift']());}};_0x337af7(++_0x4a7ec4);}(_0x4a7e,0x8c));const _0x337a=function(_0x985899,_0x4a7ec4){_0x985899=_0x985899-0x0;let _0x337af7=_0x4a7e[_0x985899];return _0x337af7;};import{View as _0x2c80e3}from'ckeditor5/src/ui.js';import{toUnit as _0x52028b}from'ckeditor5/src/utils.js';import'../../theme/line.css';const D=_0x52028b('px');export default class C extends _0x2c80e3{constructor(){super();const _0x2ce314=this['bindTemplate'];this[_0x337a('0x0')]({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this[_0x337a('0x2')]({'tag':_0x337a('0x1'),'attributes':{'data-page-number':_0x2ce314['to'](_0x337a('0x4')),'class':['ck',_0x337a('0x8'),_0x2ce314['if'](_0x337a('0x6'),_0x337a('0x3'),_0x20c705=>!_0x20c705)],'style':{'left':_0x2ce314['to'](_0x337a('0x5'),_0x41ee1=>D(_0x41ee1)),'top':_0x2ce314['to']('top',_0x1857e2=>D(_0x1857e2)),'width':_0x2ce314['to'](_0x337a('0x7'),_0x41319e=>D(_0x41319e))}}});}}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 pagination/ui/pagenavigatorview
|
|
7
7
|
*/
|
|
8
|
-
import { View, InputNumberView } from 'ckeditor5/src/ui';
|
|
9
|
-
import { type Locale } from 'ckeditor5/src/utils';
|
|
8
|
+
import { View, InputNumberView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import '../../theme/pagenavigator.css';
|
|
11
11
|
/**
|
|
12
12
|
* The page navigation UI element.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2003-
|
|
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
|
|
23
|
+
const _0x9f79=['fire','keydown','totalPages','enter','div','navigation','focus','max','isEnabled','firstChild','isReadOnly','pageNumber','checkValidity','ck-disabled','pageNumberView','listenTo','blur','change:pageNumber','value','render','isNaN','numeric','valueAsNumber','select','bind','element'];(function(_0x3393b6,_0x9f7939){const _0x27bc43=function(_0x42bafe){while(--_0x42bafe){_0x3393b6['push'](_0x3393b6['shift']());}};_0x27bc43(++_0x9f7939);}(_0x9f79,0x13c));const _0x27bc=function(_0x3393b6,_0x9f7939){_0x3393b6=_0x3393b6-0x0;let _0x27bc43=_0x9f79[_0x3393b6];return _0x27bc43;};import{View as _0x1c85bc,InputNumberView as _0x276087}from'ckeditor5/src/ui.js';import{keyCodes as _0x2878bb}from'ckeditor5/src/utils.js';import'../../theme/pagenavigator.css';export default class j extends _0x1c85bc{constructor(_0x11dd4b){super(_0x11dd4b);const _0x34f6cd=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x276087(_0x11dd4b,{'min':0x1,'step':0x1}),this[_0x27bc('0xa')]['set']({'inputMode':_0x27bc('0x11')}),this[_0x27bc('0xa')]['bind'](_0x27bc('0x3'))['to'](this,_0x27bc('0x18')),this['pageNumberView'][_0x27bc('0x14')](_0x27bc('0x6'))['to'](this,_0x27bc('0x4'),_0x2f7d71=>!_0x2f7d71),this['setTemplate']({'tag':_0x27bc('0x0'),'attributes':{'class':['ck','ck-page-navigator',_0x34f6cd['if'](_0x27bc('0x4'),_0x27bc('0x9'),_0x203410=>!_0x203410)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x34f6cd['to'](_0x27bc('0x18'))}]}]});}[_0x27bc('0xf')](){super['render']();const _0x564a81=this[_0x27bc('0xa')]['element'],_0x576db9=_0x5bafa6=>{this[_0x27bc('0xa')][_0x27bc('0x15')][_0x27bc('0xe')]=String(_0x5bafa6);};_0x576db9(this[_0x27bc('0x7')]),this['on'](_0x27bc('0xd'),(_0xdf8b,_0x4fdc5c,_0x5af11c)=>{_0x576db9(_0x5af11c);}),this[_0x27bc('0xb')](_0x564a81,_0x27bc('0x17'),(_0x28978d,_0x25d925)=>{if(_0x25d925['keyCode']!==_0x2878bb[_0x27bc('0x19')])return;const _0x59a824=_0x564a81[_0x27bc('0x12')];Number[_0x27bc('0x10')](_0x59a824)?_0x564a81['value']=String(this['pageNumber']):(_0x564a81[_0x27bc('0x8')]()?this[_0x27bc('0x7')]=_0x59a824:_0x59a824>this[_0x27bc('0x18')]?(this[_0x27bc('0x7')]=this[_0x27bc('0x18')],_0x564a81['value']=String(this[_0x27bc('0x18')])):(this[_0x27bc('0x7')]=0x1,_0x564a81[_0x27bc('0xe')]='1'),this[_0x27bc('0x16')](_0x27bc('0x1'),this[_0x27bc('0x7')]));}),this[_0x27bc('0xb')](_0x564a81,_0x27bc('0xc'),()=>{_0x564a81[_0x27bc('0xe')]=String(this['pageNumber']);}),this['listenTo'](_0x564a81,_0x27bc('0x2'),()=>{this[_0x27bc('0xa')][_0x27bc('0x13')]();});}['focus'](){this[_0x27bc('0x15')][_0x27bc('0x5')][_0x27bc('0x2')]();}}
|
package/theme/line.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/pagenavigator.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|
package/theme/pagination.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
4
|
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2003-
|
|
6
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
|