@ckeditor/ckeditor5-code-block 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.
@@ -1,25 +1,25 @@
1
1
  /**
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 type { CodeBlock, CodeBlockCommand, CodeBlockConfig, CodeBlockEditing, CodeBlockUI, IndentCodeBlockCommand, OutdentCodeBlockCommand } from './index.js';
6
- declare module '@ckeditor/ckeditor5-core' {
7
- interface EditorConfig {
8
- /**
9
- * The configuration of the {@link module:code-block/codeblock~CodeBlock} feature.
10
- *
11
- * Read more in {@link module:code-block/codeblockconfig~CodeBlockConfig}.
12
- */
13
- codeBlock?: CodeBlockConfig;
14
- }
15
- interface PluginsMap {
16
- [CodeBlock.pluginName]: CodeBlock;
17
- [CodeBlockEditing.pluginName]: CodeBlockEditing;
18
- [CodeBlockUI.pluginName]: CodeBlockUI;
19
- }
20
- interface CommandsMap {
21
- codeBlock: CodeBlockCommand;
22
- indentCodeBlock: IndentCodeBlockCommand;
23
- outdentCodeBlock: OutdentCodeBlockCommand;
24
- }
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 type { CodeBlock, CodeBlockCommand, CodeBlockConfig, CodeBlockEditing, CodeBlockUI, IndentCodeBlockCommand, OutdentCodeBlockCommand } from "./index.js";
6
+ declare module "@ckeditor/ckeditor5-core" {
7
+ interface EditorConfig {
8
+ /**
9
+ * The configuration of the {@link module:code-block/codeblock~CodeBlock} feature.
10
+ *
11
+ * Read more in {@link module:code-block/codeblockconfig~CodeBlockConfig}.
12
+ */
13
+ codeBlock?: CodeBlockConfig;
14
+ }
15
+ interface PluginsMap {
16
+ [CodeBlock.pluginName]: CodeBlock;
17
+ [CodeBlockEditing.pluginName]: CodeBlockEditing;
18
+ [CodeBlockUI.pluginName]: CodeBlockUI;
19
+ }
20
+ interface CommandsMap {
21
+ codeBlock: CodeBlockCommand;
22
+ indentCodeBlock: IndentCodeBlockCommand;
23
+ outdentCodeBlock: OutdentCodeBlockCommand;
24
+ }
25
25
  }
@@ -1,33 +1,33 @@
1
1
  /**
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
- */
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
- * @module code-block/codeblock
7
- */
8
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
- import { CodeBlockEditing } from './codeblockediting.js';
10
- import { CodeBlockUI } from './codeblockui.js';
6
+ * @module code-block/codeblock
7
+ */
8
+ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { CodeBlockEditing } from "./codeblockediting.js";
10
+ import { CodeBlockUI } from "./codeblockui.js";
11
11
  /**
12
- * The code block plugin.
13
- *
14
- * For more information about this feature check the {@glink api/code-block package page} and the
15
- * {@glink features/code-blocks code block} feature guide.
16
- *
17
- * This is a "glue" plugin that loads the {@link module:code-block/codeblockediting~CodeBlockEditing code block editing feature}
18
- * and the {@link module:code-block/codeblockui~CodeBlockUI code block UI feature}.
19
- */
12
+ * The code block plugin.
13
+ *
14
+ * For more information about this feature check the {@glink api/code-block package page} and the
15
+ * {@glink features/code-blocks code block} feature guide.
16
+ *
17
+ * This is a "glue" plugin that loads the {@link module:code-block/codeblockediting~CodeBlockEditing code block editing feature}
18
+ * and the {@link module:code-block/codeblockui~CodeBlockUI code block UI feature}.
19
+ */
20
20
  export declare class CodeBlock extends Plugin {
21
- /**
22
- * @inheritDoc
23
- */
24
- static get requires(): readonly [typeof CodeBlockEditing, typeof CodeBlockUI];
25
- /**
26
- * @inheritDoc
27
- */
28
- static get pluginName(): "CodeBlock";
29
- /**
30
- * @inheritDoc
31
- */
32
- static get isOfficialPlugin(): true;
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): PluginDependenciesOf<[CodeBlockEditing, CodeBlockUI]>;
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get pluginName(): "CodeBlock";
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static override get isOfficialPlugin(): true;
33
33
  }
@@ -1,60 +1,60 @@
1
1
  /**
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 { Command, type Editor } from '@ckeditor/ckeditor5-core';
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 { Command, type Editor } from "@ckeditor/ckeditor5-core";
6
6
  /**
7
- * The code block command plugin.
8
- */
7
+ * The code block command plugin.
8
+ */
9
9
  export declare class CodeBlockCommand extends Command {
10
- /**
11
- * Contains the last used language.
12
- */
13
- private _lastLanguage;
14
- /**
15
- * Contains language if any is selected, false otherwise.
16
- * @observable
17
- * @readonly
18
- */
19
- value: string | false;
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(editor: Editor);
24
- /**
25
- * @inheritDoc
26
- */
27
- refresh(): void;
28
- /**
29
- * Executes the command. When the command {@link #value is on}, all topmost code blocks within
30
- * the selection will be removed. If it is off, all selected blocks will be flattened and
31
- * wrapped by a code block.
32
- *
33
- * @fires execute
34
- * @param options Command options.
35
- * @param options.language The code block language.
36
- * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a code block,
37
- * otherwise the command will remove the code block. If not set, the command will act basing on its current value.
38
- * @param options.usePreviousLanguageChoice If set on `true` and the `options.language` is not specified, the command
39
- * will apply the previous language (if the command was already executed) when inserting the `codeBlock` element.
40
- */
41
- execute(options?: {
42
- language?: string;
43
- forceValue?: boolean;
44
- usePreviousLanguageChoice?: boolean;
45
- }): void;
46
- /**
47
- * Checks the command's {@link #value}.
48
- *
49
- * @returns The current value.
50
- */
51
- private _getValue;
52
- /**
53
- * Checks whether the command can be enabled in the current context.
54
- *
55
- * @returns Whether the command should be enabled.
56
- */
57
- private _checkEnabled;
58
- private _applyCodeBlock;
59
- private _removeCodeBlock;
10
+ /**
11
+ * Contains the last used language.
12
+ */
13
+ private _lastLanguage;
14
+ /**
15
+ * Contains language if any is selected, false otherwise.
16
+ * @observable
17
+ * @readonly
18
+ */
19
+ value: string | false;
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ constructor(editor: Editor);
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ override refresh(): void;
28
+ /**
29
+ * Executes the command. When the command {@link #value is on}, all topmost code blocks within
30
+ * the selection will be removed. If it is off, all selected blocks will be flattened and
31
+ * wrapped by a code block.
32
+ *
33
+ * @fires execute
34
+ * @param options Command options.
35
+ * @param options.language The code block language.
36
+ * @param options.forceValue If set, it will force the command behavior. If `true`, the command will apply a code block,
37
+ * otherwise the command will remove the code block. If not set, the command will act basing on its current value.
38
+ * @param options.usePreviousLanguageChoice If set on `true` and the `options.language` is not specified, the command
39
+ * will apply the previous language (if the command was already executed) when inserting the `codeBlock` element.
40
+ */
41
+ override execute(options?: {
42
+ language?: string;
43
+ forceValue?: boolean;
44
+ usePreviousLanguageChoice?: boolean;
45
+ }): void;
46
+ /**
47
+ * Checks the command's {@link #value}.
48
+ *
49
+ * @returns The current value.
50
+ */
51
+ private _getValue;
52
+ /**
53
+ * Checks whether the command can be enabled in the current context.
54
+ *
55
+ * @returns Whether the command should be enabled.
56
+ */
57
+ private _checkEnabled;
58
+ private _applyCodeBlock;
59
+ private _removeCodeBlock;
60
60
  }
@@ -1,150 +1,150 @@
1
1
  /**
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
- */
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
- * @module code-block/codeblockconfig
7
- */
6
+ * @module code-block/codeblockconfig
7
+ */
8
8
  /**
9
- * The configuration of the {@link module:code-block/codeblock~CodeBlock code block feature}.
10
- *
11
- * ```ts
12
- * ClassicEditor
13
- * .create( {
14
- * attachTo: editorElement,
15
- * codeBlock: ... // The code block feature configuration.
16
- * } )
17
- * .then( ... )
18
- * .catch( ... );
19
- * ```
20
- *
21
- * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
22
- */
9
+ * The configuration of the {@link module:code-block/codeblock~CodeBlock code block feature}.
10
+ *
11
+ * ```ts
12
+ * ClassicEditor
13
+ * .create( {
14
+ * attachTo: editorElement,
15
+ * codeBlock: ... // The code block feature configuration.
16
+ * } )
17
+ * .then( ... )
18
+ * .catch( ... );
19
+ * ```
20
+ *
21
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
22
+ */
23
23
  export interface CodeBlockConfig {
24
- /**
25
- * The list of code languages available in the user interface to choose for a particular code block.
26
- *
27
- * The language of the code block is represented as a CSS class (by default prefixed by "language-") set on the
28
- * `<code>` element, both when editing and in the editor data. The CSS class associated with the language
29
- * can be used by third–party code syntax highlighters to detect and apply the correct highlighting.
30
- *
31
- * For instance, this language configuration:
32
- *
33
- * ```ts
34
- * ClassicEditor
35
- * .create( {
36
- * attachTo: document.querySelector( '#editor' ),
37
- * codeBlock: {
38
- * languages: [
39
- * // ...
40
- * { language: 'javascript', label: 'JavaScript' },
41
- * // ...
42
- * ]
43
- * }
44
- * } )
45
- * .then( ... )
46
- * .catch( ... );
47
- * ```
48
- *
49
- * will result in the following structure of JavaScript code blocks in the editor editing and data:
50
- *
51
- * ```html
52
- * <pre><code class="language-javascript">window.alert( 'Hello world!' )</code></pre>
53
- * ```
54
- *
55
- * You can customize the CSS class by specifying an optional `class` property in the language definition.
56
- * You can set **multiple classes** but **only the first one** will be used as defining language class:
57
- *
58
- * ```ts
59
- * ClassicEditor
60
- * .create( {
61
- * attachTo: document.querySelector( '#editor' ),
62
- * codeBlock: {
63
- * languages: [
64
- * // Do not render the CSS class for the plain text code blocks.
65
- * { language: 'plaintext', label: 'Plain text', class: '' },
66
- *
67
- * // Use the "php-code" class for PHP code blocks.
68
- * { language: 'php', label: 'PHP', class: 'php-code' },
69
- *
70
- * // Use the "js" class for JavaScript code blocks.
71
- * // Note that only the first ("js") class will determine the language of the block when loading data.
72
- * { language: 'javascript', label: 'JavaScript', class: 'js javascript js-code' },
73
- *
74
- * // Python code blocks will have the default "language-python" CSS class.
75
- * { language: 'python', label: 'Python' }
76
- * ]
77
- * }
78
- * } )
79
- * .then( ... )
80
- * .catch( ... );
81
- * ```
82
- *
83
- * The default value of the language configuration is as follows:
84
- *
85
- * ```ts
86
- * languages: [
87
- * { language: 'plaintext', label: 'Plain text' }, // The default language.
88
- * { language: 'c', label: 'C' },
89
- * { language: 'cs', label: 'C#' },
90
- * { language: 'cpp', label: 'C++' },
91
- * { language: 'css', label: 'CSS' },
92
- * { language: 'diff', label: 'Diff' },
93
- * { language: 'go', label: 'Go' },
94
- * { language: 'html', label: 'HTML' },
95
- * { language: 'java', label: 'Java' },
96
- * { language: 'javascript', label: 'JavaScript' },
97
- * { language: 'php', label: 'PHP' },
98
- * { language: 'python', label: 'Python' },
99
- * { language: 'ruby', label: 'Ruby' },
100
- * { language: 'typescript', label: 'TypeScript' },
101
- * { language: 'xml', label: 'XML' }
102
- * ]
103
- * ```
104
- *
105
- * **Note**: The first language defined in the configuration is considered the default one. This means it will be
106
- * applied to code blocks loaded from the data that have no CSS `class` specified (or no matching `class` in the configuration).
107
- * It will also be used when creating new code blocks using the main UI button. By default it is "Plain text".
108
- */
109
- languages?: Array<CodeBlockLanguageDefinition>;
110
- /**
111
- * A sequence of characters inserted or removed from the code block lines when its indentation
112
- * is changed by the user, for instance, using <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd> keys.
113
- *
114
- * The default value is a single tab character (" ", `\u0009` in Unicode).
115
- *
116
- * This configuration is used by `indentCodeBlock` and `outdentCodeBlock` commands (instances of
117
- * {@link module:code-block/indentcodeblockcommand~IndentCodeBlockCommand}).
118
- *
119
- * **Note**: Setting this configuration to `false` will disable the code block indentation commands
120
- * and associated keystrokes.
121
- *
122
- */
123
- indentSequence?: string;
24
+ /**
25
+ * The list of code languages available in the user interface to choose for a particular code block.
26
+ *
27
+ * The language of the code block is represented as a CSS class (by default prefixed by "language-") set on the
28
+ * `<code>` element, both when editing and in the editor data. The CSS class associated with the language
29
+ * can be used by third–party code syntax highlighters to detect and apply the correct highlighting.
30
+ *
31
+ * For instance, this language configuration:
32
+ *
33
+ * ```ts
34
+ * ClassicEditor
35
+ * .create( {
36
+ * attachTo: document.querySelector( '#editor' ),
37
+ * codeBlock: {
38
+ * languages: [
39
+ * // ...
40
+ * { language: 'javascript', label: 'JavaScript' },
41
+ * // ...
42
+ * ]
43
+ * }
44
+ * } )
45
+ * .then( ... )
46
+ * .catch( ... );
47
+ * ```
48
+ *
49
+ * will result in the following structure of JavaScript code blocks in the editor editing and data:
50
+ *
51
+ * ```html
52
+ * <pre><code class="language-javascript">window.alert( 'Hello world!' )</code></pre>
53
+ * ```
54
+ *
55
+ * You can customize the CSS class by specifying an optional `class` property in the language definition.
56
+ * You can set **multiple classes** but **only the first one** will be used as defining language class:
57
+ *
58
+ * ```ts
59
+ * ClassicEditor
60
+ * .create( {
61
+ * attachTo: document.querySelector( '#editor' ),
62
+ * codeBlock: {
63
+ * languages: [
64
+ * // Do not render the CSS class for the plain text code blocks.
65
+ * { language: 'plaintext', label: 'Plain text', class: '' },
66
+ *
67
+ * // Use the "php-code" class for PHP code blocks.
68
+ * { language: 'php', label: 'PHP', class: 'php-code' },
69
+ *
70
+ * // Use the "js" class for JavaScript code blocks.
71
+ * // Note that only the first ("js") class will determine the language of the block when loading data.
72
+ * { language: 'javascript', label: 'JavaScript', class: 'js javascript js-code' },
73
+ *
74
+ * // Python code blocks will have the default "language-python" CSS class.
75
+ * { language: 'python', label: 'Python' }
76
+ * ]
77
+ * }
78
+ * } )
79
+ * .then( ... )
80
+ * .catch( ... );
81
+ * ```
82
+ *
83
+ * The default value of the language configuration is as follows:
84
+ *
85
+ * ```ts
86
+ * languages: [
87
+ * { language: 'plaintext', label: 'Plain text' }, // The default language.
88
+ * { language: 'c', label: 'C' },
89
+ * { language: 'cs', label: 'C#' },
90
+ * { language: 'cpp', label: 'C++' },
91
+ * { language: 'css', label: 'CSS' },
92
+ * { language: 'diff', label: 'Diff' },
93
+ * { language: 'go', label: 'Go' },
94
+ * { language: 'html', label: 'HTML' },
95
+ * { language: 'java', label: 'Java' },
96
+ * { language: 'javascript', label: 'JavaScript' },
97
+ * { language: 'php', label: 'PHP' },
98
+ * { language: 'python', label: 'Python' },
99
+ * { language: 'ruby', label: 'Ruby' },
100
+ * { language: 'typescript', label: 'TypeScript' },
101
+ * { language: 'xml', label: 'XML' }
102
+ * ]
103
+ * ```
104
+ *
105
+ * **Note**: The first language defined in the configuration is considered the default one. This means it will be
106
+ * applied to code blocks loaded from the data that have no CSS `class` specified (or no matching `class` in the configuration).
107
+ * It will also be used when creating new code blocks using the main UI button. By default it is "Plain text".
108
+ */
109
+ languages?: Array<CodeBlockLanguageDefinition>;
110
+ /**
111
+ * A sequence of characters inserted or removed from the code block lines when its indentation
112
+ * is changed by the user, for instance, using <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd> keys.
113
+ *
114
+ * The default value is a single tab character (" ", `\u0009` in Unicode).
115
+ *
116
+ * This configuration is used by `indentCodeBlock` and `outdentCodeBlock` commands (instances of
117
+ * {@link module:code-block/indentcodeblockcommand~IndentCodeBlockCommand}).
118
+ *
119
+ * **Note**: Setting this configuration to `false` will disable the code block indentation commands
120
+ * and associated keystrokes.
121
+ *
122
+ */
123
+ indentSequence?: string;
124
124
  }
125
125
  /**
126
- * The code block language descriptor. See {@link module:code-block/codeblockconfig~CodeBlockConfig#languages} to learn more.
127
- *
128
- * ```ts
129
- * {
130
- * language: 'javascript',
131
- * label: 'JavaScript'
132
- * }
133
- * ```
134
- */
126
+ * The code block language descriptor. See {@link module:code-block/codeblockconfig~CodeBlockConfig#languages} to learn more.
127
+ *
128
+ * ```ts
129
+ * {
130
+ * language: 'javascript',
131
+ * label: 'JavaScript'
132
+ * }
133
+ * ```
134
+ */
135
135
  export interface CodeBlockLanguageDefinition {
136
- /**
137
- * The name of the language that will be stored in the model attribute. Also, when `class`
138
- * is not specified, it will be used to create the CSS class associated with the language (prefixed by "language-").
139
- */
140
- language: string;
141
- /**
142
- * The human–readable label associated with the language and displayed in the UI.
143
- */
144
- label: string;
145
- /**
146
- * The CSS class associated with the language. When not specified the `language`
147
- * property is used to create a class prefixed by "language-".
148
- */
149
- class?: string;
136
+ /**
137
+ * The name of the language that will be stored in the model attribute. Also, when `class`
138
+ * is not specified, it will be used to create the CSS class associated with the language (prefixed by "language-").
139
+ */
140
+ language: string;
141
+ /**
142
+ * The human–readable label associated with the language and displayed in the UI.
143
+ */
144
+ label: string;
145
+ /**
146
+ * The CSS class associated with the language. When not specified the `language`
147
+ * property is used to create a class prefixed by "language-".
148
+ */
149
+ class?: string;
150
150
  }
@@ -1,47 +1,47 @@
1
1
  /**
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
- */
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
- * @module code-block/codeblockediting
7
- */
8
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
- import { ShiftEnter } from '@ckeditor/ckeditor5-enter';
6
+ * @module code-block/codeblockediting
7
+ */
8
+ import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
9
+ import { ShiftEnter } from "@ckeditor/ckeditor5-enter";
10
10
  /**
11
- * The editing part of the code block feature.
12
- *
13
- * Introduces the `'codeBlock'` command and the `'codeBlock'` model element.
14
- */
11
+ * The editing part of the code block feature.
12
+ *
13
+ * Introduces the `'codeBlock'` command and the `'codeBlock'` model element.
14
+ */
15
15
  export declare class CodeBlockEditing extends Plugin {
16
- /**
17
- * @inheritDoc
18
- */
19
- static get pluginName(): "CodeBlockEditing";
20
- /**
21
- * @inheritDoc
22
- */
23
- static get isOfficialPlugin(): true;
24
- /**
25
- * @inheritDoc
26
- */
27
- static get requires(): readonly [typeof ShiftEnter];
28
- /**
29
- * @inheritDoc
30
- */
31
- constructor(editor: Editor);
32
- /**
33
- * @inheritDoc
34
- */
35
- init(): void;
36
- /**
37
- * @inheritDoc
38
- */
39
- afterInit(): void;
40
- /**
41
- * Observe when user enters or leaves code block and set proper aria value in global live announcer.
42
- * This allows screen readers to indicate when the user has entered and left the specified code block.
43
- *
44
- * @internal
45
- */
46
- private _initAriaAnnouncements;
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "CodeBlockEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static override get isOfficialPlugin(): true;
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get requires(): PluginDependenciesOf<[ShiftEnter]>;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ constructor(editor: Editor);
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ afterInit(): void;
40
+ /**
41
+ * Observe when user enters or leaves code block and set proper aria value in global live announcer.
42
+ * This allows screen readers to indicate when the user has entered and left the specified code block.
43
+ *
44
+ * @internal
45
+ */
46
+ private _initAriaAnnouncements;
47
47
  }