@ckeditor/ckeditor5-case-change 41.3.0-alpha.4 → 41.3.1
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/case-change.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/es-co.po +38 -0
- package/package.json +3 -4
- package/src/casechange.js +1 -1
- package/src/casechangecommand.js +1 -1
- package/src/casechangeediting.js +1 -1
- package/src/casechangeui.js +1 -1
- package/src/index.js +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -312
- package/dist/index.css +0 -951
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/augmentation.d.ts +0 -22
- package/dist/types/casechange.d.ts +0 -122
- package/dist/types/casechangecommand.d.ts +0 -36
- package/dist/types/casechangeediting.d.ts +0 -34
- package/dist/types/casechangeui.d.ts +0 -29
- package/dist/types/index.d.ts +0 -16
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/uk.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Case\x20change':'Зміна\x20регістру','UPPERCASE':'ВЕЛИКІ\x20ЛІТЕРИ','lowercase':'малі\x20літери','Title\x20Case':'Регістр\x20назви','Change\x20text\x20case':'Змінити\x20регістр\x20тексту'},'getPluralForm':_0x3e8338=>_0x3e8338%0x1==0x0&&_0x3e8338%0xa==0x1&&_0x3e8338%0x64!=0xb?0x0:_0x3e8338%0x1==0x0&&_0x3e8338%0xa>=0x2&&_0x3e8338%0xa<=0x4&&(_0x3e8338%0x64<0xc||_0x3e8338%0x64>0xe)?0x1:_0x3e8338%0x1==0x0&&(_0x3e8338%0xa==0x0||_0x3e8338%0xa>=0x5&&_0x3e8338%0xa<=0x9||_0x3e8338%0x64>=0xb&&_0x3e8338%0x64<=0xe)?0x2:0x3}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/vi.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Case\x20change':'Thay\x20đổi\x20chữ\x20hoa,\x20chữ\x20thường','UPPERCASE':'CHỮ\x20HOA','lowercase':'chữ\x20thường','Title\x20Case':'Viết\x20Hoa\x20Đầu\x20Mỗi\x20Từ','Change\x20text\x20case':'Thay\x20đổi\x20chữ\x20hoa/thường'},'getPluralForm':_0x2529a5=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Case\x20change':'改变大小写','UPPERCASE':'大写','lowercase':'小写','Title\x20Case':'标题大小写','Change\x20text\x20case':'更改文本大小写'},'getPluralForm':_0x3da3c6=>0x0}};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/zh.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* +---------------------------------------------------------------------------------+
|
|
8
|
-
* | |
|
|
9
|
-
* | Hello stranger! |
|
|
10
|
-
* | |
|
|
11
|
-
* | |
|
|
12
|
-
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
-
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
-
* | are forbidden and will result in legal consequences. |
|
|
15
|
-
* | |
|
|
16
|
-
* | |
|
|
17
|
-
* +---------------------------------------------------------------------------------+
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Case\x20change':'變更大小寫','UPPERCASE':'大寫','lowercase':'小寫','Title\x20Case':'標題大小寫','Change\x20text\x20case':'更改文字大小寫'},'getPluralForm':_0x2ea302=>0x0}};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
import type { CaseChange, CaseChangeEditing, CaseChangeUI, CaseChangeCommand, CaseChangeConfig } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface EditorConfig {
|
|
12
|
-
caseChange?: CaseChangeConfig;
|
|
13
|
-
}
|
|
14
|
-
interface PluginsMap {
|
|
15
|
-
[CaseChange.pluginName]: CaseChange;
|
|
16
|
-
[CaseChangeEditing.pluginName]: CaseChangeEditing;
|
|
17
|
-
[CaseChangeUI.pluginName]: CaseChangeUI;
|
|
18
|
-
}
|
|
19
|
-
interface CommandsMap {
|
|
20
|
-
caseChange: CaseChangeCommand;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechange
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
14
|
-
import CaseChangeEditing from './casechangeediting.js';
|
|
15
|
-
import CaseChangeUI from './casechangeui.js';
|
|
16
|
-
/**
|
|
17
|
-
* The case change feature.
|
|
18
|
-
*
|
|
19
|
-
* For a detailed overview, check the {@glink features/case-change Case change} feature guide.
|
|
20
|
-
*/
|
|
21
|
-
export default class CaseChange extends Plugin {
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
static get requires(): readonly [typeof CaseChangeEditing, typeof CaseChangeUI];
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
static get pluginName(): "CaseChange";
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* The configuration of the {@link module:case-change/casechange~CaseChange case change feature}.
|
|
33
|
-
*
|
|
34
|
-
* ```ts
|
|
35
|
-
* ClassicEditor
|
|
36
|
-
* .create( editorElement, {
|
|
37
|
-
* caseChange: ... // Case change feature configuration.
|
|
38
|
-
* } )
|
|
39
|
-
* .then( /* ... *\/ )
|
|
40
|
-
* .catch( /* ... *\/ );
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
44
|
-
*/
|
|
45
|
-
export interface CaseChangeConfig {
|
|
46
|
-
/**
|
|
47
|
-
* Title case configuration.
|
|
48
|
-
*/
|
|
49
|
-
titleCase?: CaseChangeTitleCaseConfig;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Title case configuration.
|
|
53
|
-
* It allows setting words that should not be capitalized when formatted as title case.
|
|
54
|
-
*
|
|
55
|
-
* ```ts
|
|
56
|
-
* ClassicEditor
|
|
57
|
-
* .create( editorElement, {
|
|
58
|
-
* caseChange: {
|
|
59
|
-
* titleCase {
|
|
60
|
-
* excludeWords: [ 'a', 'an', 'the' ]
|
|
61
|
-
* }
|
|
62
|
-
* }
|
|
63
|
-
* } )
|
|
64
|
-
* .then( /* ... *\/ )
|
|
65
|
-
* .catch( /* ... *\/ );
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* ```ts
|
|
69
|
-
* ClassicEditor
|
|
70
|
-
* .create( editorElement, {
|
|
71
|
-
* caseChange: {
|
|
72
|
-
* titleCase {
|
|
73
|
-
* excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
|
|
74
|
-
* }
|
|
75
|
-
* }
|
|
76
|
-
* } )
|
|
77
|
-
* .then( /* ... *\/ )
|
|
78
|
-
* .catch( /* ... *\/ );
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* ```ts
|
|
82
|
-
* ClassicEditor
|
|
83
|
-
* .create( editorElement, {
|
|
84
|
-
* caseChange: {
|
|
85
|
-
* titleCase {
|
|
86
|
-
* excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
|
|
87
|
-
* }
|
|
88
|
-
* }
|
|
89
|
-
* } )
|
|
90
|
-
* .then( /* ... *\/ )
|
|
91
|
-
* .catch( /* ... *\/ );
|
|
92
|
-
* ```
|
|
93
|
-
*
|
|
94
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
95
|
-
*/
|
|
96
|
-
export interface CaseChangeTitleCaseConfig {
|
|
97
|
-
/**
|
|
98
|
-
* Words which should not be capitalized.
|
|
99
|
-
*/
|
|
100
|
-
excludeWords?: Array<string> | ExcludeWordsCallback;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* The exclude word callback.
|
|
104
|
-
*/
|
|
105
|
-
export type ExcludeWordsCallback = (word: string, context: ExcludeWordsCallbackContext) => boolean;
|
|
106
|
-
/**
|
|
107
|
-
* The exclude word callback context.
|
|
108
|
-
*/
|
|
109
|
-
export interface ExcludeWordsCallbackContext {
|
|
110
|
-
/**
|
|
111
|
-
* The offset in the text where the given word starts.
|
|
112
|
-
*/
|
|
113
|
-
charOffset: number;
|
|
114
|
-
/**
|
|
115
|
-
* The word index in the given text.
|
|
116
|
-
*/
|
|
117
|
-
wordIndex: number;
|
|
118
|
-
/**
|
|
119
|
-
* The block text.
|
|
120
|
-
*/
|
|
121
|
-
blockText: string;
|
|
122
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangecommand
|
|
11
|
-
* @publicApi
|
|
12
|
-
*/
|
|
13
|
-
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
14
|
-
/**
|
|
15
|
-
* This command changes the case of the selected text.
|
|
16
|
-
*/
|
|
17
|
-
export default class CaseChangeCommand extends Command {
|
|
18
|
-
/**
|
|
19
|
-
* Creates a new `CaseChangeCommand` instance.
|
|
20
|
-
*
|
|
21
|
-
* @param editor The editor on which this command will be used.
|
|
22
|
-
*/
|
|
23
|
-
constructor(editor: Editor, transformCallback: TransformCallback);
|
|
24
|
-
/**
|
|
25
|
-
* Transforms the selected text with the defined case change callback.
|
|
26
|
-
*
|
|
27
|
-
* @fires execute
|
|
28
|
-
*/
|
|
29
|
-
execute(): void;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
refresh(): void;
|
|
34
|
-
}
|
|
35
|
-
type TransformCallback = (arg: string) => string;
|
|
36
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangeediting
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* The case change editing feature. It introduces three commands: `changeCaseUpper`, `changeCaseLower`, and `changeCaseTitle`.
|
|
15
|
-
*/
|
|
16
|
-
export default class CaseChangeEditing extends Plugin {
|
|
17
|
-
licenseKey: string;
|
|
18
|
-
/**
|
|
19
|
-
* @inheritDoc
|
|
20
|
-
*/
|
|
21
|
-
static get pluginName(): "CaseChangeEditing";
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
constructor(editor: Editor);
|
|
26
|
-
/**
|
|
27
|
-
* @inheritDoc
|
|
28
|
-
*/
|
|
29
|
-
init(): void;
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
destroy(): void;
|
|
34
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change/casechangeui
|
|
11
|
-
*/
|
|
12
|
-
import { Plugin } from 'ckeditor5/src/core.js';
|
|
13
|
-
/**
|
|
14
|
-
* The case change UI plugin.
|
|
15
|
-
*/
|
|
16
|
-
export default class CaseChangeUI extends Plugin {
|
|
17
|
-
/**
|
|
18
|
-
* @inheritDoc
|
|
19
|
-
*/
|
|
20
|
-
static get pluginName(): "CaseChangeUI";
|
|
21
|
-
/**
|
|
22
|
-
* @inheritDoc
|
|
23
|
-
*/
|
|
24
|
-
init(): void;
|
|
25
|
-
/**
|
|
26
|
-
* @inheritDoc
|
|
27
|
-
*/
|
|
28
|
-
afterInit(): void;
|
|
29
|
-
}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, 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
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* @module case-change
|
|
11
|
-
*/
|
|
12
|
-
export { default as CaseChange, type CaseChangeConfig } from './casechange.js';
|
|
13
|
-
export { default as CaseChangeEditing } from './casechangeediting.js';
|
|
14
|
-
export { default as CaseChangeUI } from './casechangeui.js';
|
|
15
|
-
export { default as CaseChangeCommand } from './casechangecommand.js';
|
|
16
|
-
import './augmentation.js';
|