@flogeez/angular-tiptap-editor 3.4.2 → 3.4.4
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/CHANGELOG.md +12 -0
- package/esm2022/lib/components/editor/angular-tiptap-editor.component.mjs +3 -3
- package/esm2022/lib/components/slash-commands/ate-slash-commands.component.mjs +25 -1
- package/esm2022/lib/components/table-of-contents/ate-table-of-contents.component.mjs +16 -5
- package/esm2022/lib/components/table-of-contents/ate-toc-node.component.mjs +1 -1
- package/esm2022/lib/config/ate-toc.config.mjs +2 -1
- package/esm2022/lib/i18n/ateTranslationsModel.mjs +1 -1
- package/esm2022/lib/i18n/de_ateTranslations.mjs +2 -1
- package/esm2022/lib/i18n/en_ateTranslations.mjs +2 -1
- package/esm2022/lib/i18n/fr_ateTranslations.mjs +2 -1
- package/esm2022/lib/models/ate-toc.model.mjs +1 -1
- package/fesm2022/flogeez-angular-tiptap-editor.mjs +45 -7
- package/fesm2022/flogeez-angular-tiptap-editor.mjs.map +1 -1
- package/lib/components/slash-commands/ate-slash-commands.component.d.ts +1 -0
- package/lib/components/table-of-contents/ate-table-of-contents.component.d.ts +2 -1
- package/lib/i18n/ateTranslationsModel.d.ts +1 -0
- package/lib/models/ate-toc.model.d.ts +1 -0
- package/lib/services/ate-i18n.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare class AteSlashCommandsComponent implements AfterViewInit, OnDestr
|
|
|
15
15
|
private slashRange;
|
|
16
16
|
selectedIndex: import("@angular/core").WritableSignal<number>;
|
|
17
17
|
private readonly isToolbarInteracting;
|
|
18
|
+
filterPlaceholderText: import("@angular/core").Signal<string>;
|
|
18
19
|
commands: import("@angular/core").Signal<AteSlashCommandItem[]>;
|
|
19
20
|
filteredCommands: import("@angular/core").Signal<AteSlashCommandItem[]>;
|
|
20
21
|
constructor();
|
|
@@ -13,6 +13,7 @@ export declare class AteTableOfContentsComponent implements OnDestroy {
|
|
|
13
13
|
title: import("@angular/core").InputSignal<string | null>;
|
|
14
14
|
showTitle: import("@angular/core").InputSignal<boolean>;
|
|
15
15
|
floating: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
positionMode: import("@angular/core").InputSignal<"fixed" | "absolute">;
|
|
16
17
|
position: import("@angular/core").InputSignal<"left" | "right">;
|
|
17
18
|
variant: import("@angular/core").InputSignal<AteTocVariant>;
|
|
18
19
|
hoverExpand: import("@angular/core").InputSignal<boolean>;
|
|
@@ -38,5 +39,5 @@ export declare class AteTableOfContentsComponent implements OnDestroy {
|
|
|
38
39
|
private updateHeadings;
|
|
39
40
|
private checkActiveHeading;
|
|
40
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<AteTableOfContentsComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AteTableOfContentsComponent, "ate-table-of-contents", never, { "editor": { "alias": "editor"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "hoverExpand": { "alias": "hoverExpand"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AteTableOfContentsComponent, "ate-table-of-contents", never, { "editor": { "alias": "editor"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; "positionMode": { "alias": "positionMode"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "hoverExpand": { "alias": "hoverExpand"; "required": false; "isSignal": true; }; "maxDepth": { "alias": "maxDepth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
43
|
}
|
|
@@ -118,6 +118,7 @@ export declare class AteI18nService {
|
|
|
118
118
|
description: string;
|
|
119
119
|
keywords: string[];
|
|
120
120
|
};
|
|
121
|
+
filterPlaceholder?: string | undefined;
|
|
121
122
|
}>;
|
|
122
123
|
readonly table: import("@angular/core").Signal<{
|
|
123
124
|
addRowBefore: string;
|
|
@@ -209,7 +210,7 @@ export declare class AteI18nService {
|
|
|
209
210
|
private detectBrowserLanguage;
|
|
210
211
|
getToolbarTitle(key: keyof AteTranslations["toolbar"]): string;
|
|
211
212
|
getBubbleMenuTitle(key: keyof AteTranslations["bubbleMenu"]): string;
|
|
212
|
-
getSlashCommand(key: keyof AteTranslations["slashCommands"]): {
|
|
213
|
+
getSlashCommand(key: keyof AteTranslations["slashCommands"]): string | {
|
|
213
214
|
title: string;
|
|
214
215
|
description: string;
|
|
215
216
|
keywords: string[];
|
|
@@ -253,7 +254,7 @@ export declare class AteI18nService {
|
|
|
253
254
|
title: string;
|
|
254
255
|
description: string;
|
|
255
256
|
keywords: string[];
|
|
256
|
-
};
|
|
257
|
+
} | undefined;
|
|
257
258
|
static ɵfac: i0.ɵɵFactoryDeclaration<AteI18nService, never>;
|
|
258
259
|
static ɵprov: i0.ɵɵInjectableDeclaration<AteI18nService>;
|
|
259
260
|
}
|
package/package.json
CHANGED