@gilav21/shadcn-angular-rte 0.2.1 → 0.2.3
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/fesm2022/{gilav21-shadcn-angular-rte-docx-parser-DiBPweI4.mjs → gilav21-shadcn-angular-rte-docx-parser-D_wFX3FP.mjs} +2 -2
- package/fesm2022/{gilav21-shadcn-angular-rte-docx-parser-DiBPweI4.mjs.map → gilav21-shadcn-angular-rte-docx-parser-D_wFX3FP.mjs.map} +1 -1
- package/fesm2022/{gilav21-shadcn-angular-rte-gilav21-shadcn-angular-rte-BnEAQOuU.mjs → gilav21-shadcn-angular-rte-gilav21-shadcn-angular-rte-CHDlfOxW.mjs} +492 -245
- package/fesm2022/gilav21-shadcn-angular-rte-gilav21-shadcn-angular-rte-CHDlfOxW.mjs.map +1 -0
- package/fesm2022/{gilav21-shadcn-angular-rte-pdf-readable-JvCpuNQH.mjs → gilav21-shadcn-angular-rte-pdf-readable-BKYRkHec.mjs} +142 -192
- package/fesm2022/gilav21-shadcn-angular-rte-pdf-readable-BKYRkHec.mjs.map +1 -0
- package/fesm2022/gilav21-shadcn-angular-rte.mjs +1 -1
- package/package.json +1 -1
- package/styles.css +1 -1
- package/types/gilav21-shadcn-angular-rte.d.ts +68 -21
- package/types/gilav21-shadcn-angular-rte.d.ts.map +1 -1
- package/fesm2022/gilav21-shadcn-angular-rte-gilav21-shadcn-angular-rte-BnEAQOuU.mjs.map +0 -1
- package/fesm2022/gilav21-shadcn-angular-rte-pdf-readable-JvCpuNQH.mjs.map +0 -1
|
@@ -4175,7 +4175,6 @@ declare class RichTextEditorComponent extends RichTextEditorAddonHost implements
|
|
|
4175
4175
|
/** Whether a block shows nothing. The same rule as {@link holdsNoContent}. */
|
|
4176
4176
|
private isEmptyBlock;
|
|
4177
4177
|
private buildTriggerAwareText;
|
|
4178
|
-
private isSelectionInsideEditor;
|
|
4179
4178
|
private computeDelta;
|
|
4180
4179
|
private findDeltaLookahead;
|
|
4181
4180
|
private pushAddedOps;
|
|
@@ -6340,6 +6339,9 @@ interface HoverCardPresetOptions {
|
|
|
6340
6339
|
declare function hoverCardAction(o?: HoverCardPresetOptions): RichTextActionDefinition;
|
|
6341
6340
|
/** The card rendered on the published page for the hover-card preset. */
|
|
6342
6341
|
declare class PresetHoverCardComponent {
|
|
6342
|
+
/** Extra classes merged onto the card, after its bordered popover styling. */
|
|
6343
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
6344
|
+
readonly classes: _angular_core.Signal<string>;
|
|
6343
6345
|
/** Bold heading line; omitted entirely when empty. Fed from the action's `title` param. */
|
|
6344
6346
|
readonly title: _angular_core.InputSignal<string>;
|
|
6345
6347
|
/** Muted card text, always rendered. Fed from the action's required `body` param. */
|
|
@@ -6347,7 +6349,7 @@ declare class PresetHoverCardComponent {
|
|
|
6347
6349
|
/** Text direction, so RTL content (title + body) aligns correctly. */
|
|
6348
6350
|
readonly dir: _angular_core.InputSignal<"rtl" | "ltr">;
|
|
6349
6351
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PresetHoverCardComponent, never>;
|
|
6350
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PresetHoverCardComponent, "ui-preset-hover-card", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6352
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PresetHoverCardComponent, "ui-preset-hover-card", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6351
6353
|
}
|
|
6352
6354
|
/**
|
|
6353
6355
|
* Handlers for the hover-card preset. Spread the returned map into your
|
|
@@ -6375,6 +6377,9 @@ interface OpenDialogPresetOptions {
|
|
|
6375
6377
|
declare function openDialogAction(o?: OpenDialogPresetOptions): RichTextActionDefinition;
|
|
6376
6378
|
/** The modal rendered on the published page for the open-dialog preset. */
|
|
6377
6379
|
declare class PresetDialogComponent {
|
|
6380
|
+
/** Extra classes merged onto the dialog panel, after its bounded `sm:max-w-md` width. */
|
|
6381
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
6382
|
+
readonly classes: _angular_core.Signal<string>;
|
|
6378
6383
|
/** Dialog heading; the `<h2>` is omitted entirely when empty. Fed from the action's required `title` param. */
|
|
6379
6384
|
readonly title: _angular_core.InputSignal<string>;
|
|
6380
6385
|
/** Body text, rendered only when {@link contentComponent} is null. Fed from the action's `body` param. */
|
|
@@ -6398,7 +6403,7 @@ declare class PresetDialogComponent {
|
|
|
6398
6403
|
/** Close button, backdrop click or `Escape`. The handlers tear the overlay down on this — nothing else does. */
|
|
6399
6404
|
readonly dismiss: _angular_core.OutputEmitterRef<void>;
|
|
6400
6405
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PresetDialogComponent, never>;
|
|
6401
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PresetDialogComponent, "ui-preset-dialog", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "confirmLabel": { "alias": "confirmLabel"; "required": false; "isSignal": true; }; "contentComponent": { "alias": "contentComponent"; "required": false; "isSignal": true; }; "contentInjector": { "alias": "contentInjector"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "dismiss": "dismiss"; }, never, never, true, never>;
|
|
6406
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PresetDialogComponent, "ui-preset-dialog", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; "confirmLabel": { "alias": "confirmLabel"; "required": false; "isSignal": true; }; "contentComponent": { "alias": "contentComponent"; "required": false; "isSignal": true; }; "contentInjector": { "alias": "contentInjector"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "dismiss": "dismiss"; }, never, never, true, never>;
|
|
6402
6407
|
}
|
|
6403
6408
|
/**
|
|
6404
6409
|
* Handlers for the open-dialog preset. Spread the returned map into your
|
|
@@ -6715,8 +6720,11 @@ declare const RICH_TEXT_AI_CONTEXT: InjectionToken<RichTextAiContext>;
|
|
|
6715
6720
|
*/
|
|
6716
6721
|
declare class RichTextAiChipComponent {
|
|
6717
6722
|
protected readonly ctx: _gilav21_shadcn_angular_rte.RichTextAiContext;
|
|
6723
|
+
/** Extra classes merged onto the chip button, after its floating popover styling. */
|
|
6724
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
6725
|
+
readonly classes: _angular_core.Signal<string>;
|
|
6718
6726
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextAiChipComponent, never>;
|
|
6719
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextAiChipComponent, "ui-rte-ai-chip", never, {}, {}, never, never, true, never>;
|
|
6727
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextAiChipComponent, "ui-rte-ai-chip", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6720
6728
|
}
|
|
6721
6729
|
|
|
6722
6730
|
/**
|
|
@@ -6731,11 +6739,14 @@ declare class RichTextAiChipComponent {
|
|
|
6731
6739
|
declare class RichTextAiPanelComponent {
|
|
6732
6740
|
protected readonly ctx: _gilav21_shadcn_angular_rte.RichTextAiContext;
|
|
6733
6741
|
protected readonly customPrompt: _angular_core.WritableSignal<string>;
|
|
6742
|
+
/** Extra classes merged onto the panel, after its bounded `w-72` popover styling. */
|
|
6743
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
6744
|
+
readonly classes: _angular_core.Signal<string>;
|
|
6734
6745
|
constructor();
|
|
6735
6746
|
protected onCustomInput(event: Event): void;
|
|
6736
6747
|
protected runCustom(): void;
|
|
6737
6748
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextAiPanelComponent, never>;
|
|
6738
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextAiPanelComponent, "ui-rte-ai-panel", never, {}, {}, never, never, true, never>;
|
|
6749
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextAiPanelComponent, "ui-rte-ai-panel", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6739
6750
|
}
|
|
6740
6751
|
|
|
6741
6752
|
/**
|
|
@@ -6916,6 +6927,8 @@ declare class RichTextColorsButtonComponent {
|
|
|
6916
6927
|
*/
|
|
6917
6928
|
private readonly emptyIndicatorClass;
|
|
6918
6929
|
protected readonly indicatorClasses: _angular_core.Signal<string>;
|
|
6930
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
6931
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
6919
6932
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
6920
6933
|
/**
|
|
6921
6934
|
* Track the popover's open state. `onClose` is notified only after
|
|
@@ -6932,7 +6945,7 @@ declare class RichTextColorsButtonComponent {
|
|
|
6932
6945
|
*/
|
|
6933
6946
|
protected onColorChange(color: string): void;
|
|
6934
6947
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextColorsButtonComponent, never>;
|
|
6935
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextColorsButtonComponent, "ui-rte-colors-button", never, {}, {}, never, never, true, never>;
|
|
6948
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextColorsButtonComponent, "ui-rte-colors-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6936
6949
|
}
|
|
6937
6950
|
|
|
6938
6951
|
/** Which colour a colour button controls. */
|
|
@@ -7049,11 +7062,13 @@ declare class RichTextEmojiButtonComponent {
|
|
|
7049
7062
|
constructor();
|
|
7050
7063
|
protected readonly icon: SafeHtml;
|
|
7051
7064
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
7065
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
7066
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7052
7067
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
7053
7068
|
protected onOpenChange(next: boolean): void;
|
|
7054
7069
|
protected onEmoji(emoji: string): void;
|
|
7055
7070
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextEmojiButtonComponent, never>;
|
|
7056
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextEmojiButtonComponent, "ui-rte-emoji-button", never, {}, {}, never, never, true, never>;
|
|
7071
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextEmojiButtonComponent, "ui-rte-emoji-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7057
7072
|
}
|
|
7058
7073
|
|
|
7059
7074
|
/**
|
|
@@ -7276,10 +7291,12 @@ declare class RichTextFileImportButtonComponent {
|
|
|
7276
7291
|
protected readonly context: _gilav21_shadcn_angular_rte.RichTextFileImportButtonContext;
|
|
7277
7292
|
protected readonly icon: SafeHtml;
|
|
7278
7293
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
7294
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
7295
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7279
7296
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
7280
7297
|
protected onFileSelected(event: Event): void;
|
|
7281
7298
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextFileImportButtonComponent, never>;
|
|
7282
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextFileImportButtonComponent, "ui-rte-file-import-button", never, {}, {}, never, never, true, never>;
|
|
7299
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextFileImportButtonComponent, "ui-rte-file-import-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7283
7300
|
}
|
|
7284
7301
|
|
|
7285
7302
|
/**
|
|
@@ -7290,6 +7307,9 @@ declare class RichTextFileImportButtonComponent {
|
|
|
7290
7307
|
* error UI the base editor used to render inline.
|
|
7291
7308
|
*/
|
|
7292
7309
|
declare class RichTextFileImportOverlayComponent {
|
|
7310
|
+
/** Extra classes merged onto the busy and error layers, after the full-editor scrim styling. */
|
|
7311
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7312
|
+
readonly layerClasses: _angular_core.Signal<string>;
|
|
7293
7313
|
/**
|
|
7294
7314
|
* Renders the full-editor busy layer (`data-slot="rte-file-import-busy"`)
|
|
7295
7315
|
* showing {@link locale}`.importing`. The directive holds this true for the
|
|
@@ -7311,7 +7331,7 @@ declare class RichTextFileImportOverlayComponent {
|
|
|
7311
7331
|
*/
|
|
7312
7332
|
readonly locale: _angular_core.InputSignal<RichTextFileImportLocale>;
|
|
7313
7333
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextFileImportOverlayComponent, never>;
|
|
7314
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextFileImportOverlayComponent, "ui-rte-file-import-overlay", never, { "importing": { "alias": "importing"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7334
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextFileImportOverlayComponent, "ui-rte-file-import-overlay", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "importing": { "alias": "importing"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7315
7335
|
}
|
|
7316
7336
|
|
|
7317
7337
|
/**
|
|
@@ -7400,6 +7420,9 @@ declare class RichTextHistoryDirective {
|
|
|
7400
7420
|
* the base editor.
|
|
7401
7421
|
*/
|
|
7402
7422
|
declare class RichTextHistoryPanelComponent {
|
|
7423
|
+
/** Extra classes merged onto the corner wrapper that anchors the history button over the editor. */
|
|
7424
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7425
|
+
readonly classes: _angular_core.Signal<string>;
|
|
7403
7426
|
private readonly host;
|
|
7404
7427
|
private readonly contentSanitizer;
|
|
7405
7428
|
private readonly domSanitizer;
|
|
@@ -7470,7 +7493,7 @@ declare class RichTextHistoryPanelComponent {
|
|
|
7470
7493
|
private getHistoryListType;
|
|
7471
7494
|
private focusHistoryEntrySoon;
|
|
7472
7495
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextHistoryPanelComponent, never>;
|
|
7473
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextHistoryPanelComponent, "ui-rich-text-history-panel", never, { "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "showButton": { "alias": "showButton"; "required": false; "isSignal": true; }; }, { "restore": "restore"; }, never, never, true, never>;
|
|
7496
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextHistoryPanelComponent, "ui-rich-text-history-panel", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "showButton": { "alias": "showButton"; "required": false; "isSignal": true; }; }, { "restore": "restore"; }, never, never, true, never>;
|
|
7474
7497
|
}
|
|
7475
7498
|
|
|
7476
7499
|
/**
|
|
@@ -7785,6 +7808,8 @@ declare class RichTextImagesButtonComponent {
|
|
|
7785
7808
|
protected readonly showUrl: _angular_core.Signal<boolean>;
|
|
7786
7809
|
protected readonly showUpload: _angular_core.Signal<boolean>;
|
|
7787
7810
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
7811
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
7812
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7788
7813
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
7789
7814
|
protected onOpenChange(next: boolean): void;
|
|
7790
7815
|
/**
|
|
@@ -7799,7 +7824,7 @@ declare class RichTextImagesButtonComponent {
|
|
|
7799
7824
|
protected onInsertUrl(src: HTMLInputElement, alt: HTMLInputElement): void;
|
|
7800
7825
|
protected onFileSelected(event: Event): void;
|
|
7801
7826
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextImagesButtonComponent, never>;
|
|
7802
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImagesButtonComponent, "ui-rte-images-button", never, {}, {}, never, never, true, never>;
|
|
7827
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImagesButtonComponent, "ui-rte-images-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7803
7828
|
}
|
|
7804
7829
|
|
|
7805
7830
|
/** The five resize/align overlay labels, resolved from the addon locale. */
|
|
@@ -7813,6 +7838,9 @@ interface RichTextImageResizerLabels {
|
|
|
7813
7838
|
/** Resize handle position — four corners plus four edges (single-axis). */
|
|
7814
7839
|
type ResizeHandle = 'nw' | 'ne' | 'sw' | 'se' | 'n' | 's' | 'e' | 'w';
|
|
7815
7840
|
declare class RichTextImageResizerComponent implements OnDestroy {
|
|
7841
|
+
/** Extra classes merged onto the selection frame drawn over the image, after its primary-coloured border. */
|
|
7842
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
7843
|
+
readonly classes: _angular_core.Signal<string>;
|
|
7816
7844
|
private readonly document;
|
|
7817
7845
|
private readonly sanitizer;
|
|
7818
7846
|
/**
|
|
@@ -8006,7 +8034,7 @@ declare class RichTextImageResizerComponent implements OnDestroy {
|
|
|
8006
8034
|
private removePointerListeners;
|
|
8007
8035
|
ngOnDestroy(): void;
|
|
8008
8036
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextImageResizerComponent, never>;
|
|
8009
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImageResizerComponent, "ui-rich-text-image-resizer", never, { "target": { "alias": "target"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "showAlignment": { "alias": "showAlignment"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "lockAspectRatio": { "alias": "lockAspectRatio"; "required": false; "isSignal": true; }; }, { "resizeEnd": "resizeEnd"; "alignmentChange": "alignmentChange"; "imageRemove": "imageRemove"; }, never, never, true, never>;
|
|
8037
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImageResizerComponent, "ui-rich-text-image-resizer", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "showAlignment": { "alias": "showAlignment"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "lockAspectRatio": { "alias": "lockAspectRatio"; "required": false; "isSignal": true; }; }, { "resizeEnd": "resizeEnd"; "alignmentChange": "alignmentChange"; "imageRemove": "imageRemove"; }, never, never, true, never>;
|
|
8010
8038
|
}
|
|
8011
8039
|
|
|
8012
8040
|
/** A positioned auto-upload error badge over a failed image. */
|
|
@@ -8024,6 +8052,9 @@ interface ImageUploadErrorEntry {
|
|
|
8024
8052
|
* editor's positioned container and feeds it state through inputs.
|
|
8025
8053
|
*/
|
|
8026
8054
|
declare class RichTextImagesOverlayComponent {
|
|
8055
|
+
/** Extra classes merged onto the full-editor uploading scrim, after its default blurred backdrop. */
|
|
8056
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
8057
|
+
readonly uploadingClasses: _angular_core.Signal<string>;
|
|
8027
8058
|
/**
|
|
8028
8059
|
* The currently selected image, forwarded to the resizer. `null` (the
|
|
8029
8060
|
* default, and what the directive sends while the addon is disabled) hides
|
|
@@ -8090,7 +8121,7 @@ declare class RichTextImagesOverlayComponent {
|
|
|
8090
8121
|
/** Remove pressed on an error badge. Emits that entry's `id`; the directive drops the image with it. */
|
|
8091
8122
|
readonly removeError: _angular_core.OutputEmitterRef<string>;
|
|
8092
8123
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextImagesOverlayComponent, never>;
|
|
8093
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImagesOverlayComponent, "ui-rte-images-overlay", never, { "target": { "alias": "target"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": true; "isSignal": true; }; "resizerLabels": { "alias": "resizerLabels"; "required": true; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "showAlignment": { "alias": "showAlignment"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "lockAspectRatio": { "alias": "lockAspectRatio"; "required": false; "isSignal": true; }; "uploading": { "alias": "uploading"; "required": false; "isSignal": true; }; "errorEntries": { "alias": "errorEntries"; "required": false; "isSignal": true; }; }, { "resizeEnd": "resizeEnd"; "alignmentChange": "alignmentChange"; "imageRemove": "imageRemove"; "retryError": "retryError"; "removeError": "removeError"; }, never, never, true, never>;
|
|
8124
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextImagesOverlayComponent, "ui-rte-images-overlay", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": true; "isSignal": true; }; "resizerLabels": { "alias": "resizerLabels"; "required": true; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "showAlignment": { "alias": "showAlignment"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "lockAspectRatio": { "alias": "lockAspectRatio"; "required": false; "isSignal": true; }; "uploading": { "alias": "uploading"; "required": false; "isSignal": true; }; "errorEntries": { "alias": "errorEntries"; "required": false; "isSignal": true; }; }, { "resizeEnd": "resizeEnd"; "alignmentChange": "alignmentChange"; "imageRemove": "imageRemove"; "retryError": "retryError"; "removeError": "removeError"; }, never, never, true, never>;
|
|
8094
8125
|
}
|
|
8095
8126
|
|
|
8096
8127
|
/**
|
|
@@ -8145,6 +8176,9 @@ interface RichTextLinkSubmit {
|
|
|
8145
8176
|
* and required; the addon validates and sanitizes it before writing any anchor.
|
|
8146
8177
|
*/
|
|
8147
8178
|
declare class RichTextLinksFormComponent {
|
|
8179
|
+
/** Extra classes merged onto the form container, after its bounded `w-72` default. */
|
|
8180
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
8181
|
+
readonly classes: _angular_core.Signal<string>;
|
|
8148
8182
|
/** Resolved locale strings. */
|
|
8149
8183
|
readonly locale: _angular_core.InputSignal<RichTextLinksLocale>;
|
|
8150
8184
|
/**
|
|
@@ -8170,7 +8204,7 @@ declare class RichTextLinksFormComponent {
|
|
|
8170
8204
|
protected readonly dir: _angular_core.Signal<"rtl" | null>;
|
|
8171
8205
|
protected onSubmit(text: string, url: string): void;
|
|
8172
8206
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextLinksFormComponent, never>;
|
|
8173
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextLinksFormComponent, "ui-rich-text-links-form", never, { "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "showRemove": { "alias": "showRemove"; "required": false; "isSignal": true; }; }, { "submitLink": "submitLink"; "cancelLink": "cancelLink"; "removeLink": "removeLink"; }, never, never, true, never>;
|
|
8207
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextLinksFormComponent, "ui-rich-text-links-form", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "showRemove": { "alias": "showRemove"; "required": false; "isSignal": true; }; }, { "submitLink": "submitLink"; "cancelLink": "cancelLink"; "removeLink": "removeLink"; }, never, never, true, never>;
|
|
8174
8208
|
}
|
|
8175
8209
|
|
|
8176
8210
|
/**
|
|
@@ -8312,12 +8346,14 @@ declare class RichTextLinksButtonComponent {
|
|
|
8312
8346
|
constructor();
|
|
8313
8347
|
protected readonly icon: SafeHtml;
|
|
8314
8348
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
8349
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
8350
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
8315
8351
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
8316
8352
|
protected onOpenChange(next: boolean): void;
|
|
8317
8353
|
protected onRemove(): void;
|
|
8318
8354
|
protected onSubmit(payload: RichTextLinkSubmit): void;
|
|
8319
8355
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextLinksButtonComponent, never>;
|
|
8320
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextLinksButtonComponent, "ui-rte-links-button", never, {}, {}, never, never, true, never>;
|
|
8356
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextLinksButtonComponent, "ui-rte-links-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8321
8357
|
}
|
|
8322
8358
|
|
|
8323
8359
|
/**
|
|
@@ -8511,7 +8547,6 @@ declare class RichTextMentionsDirective {
|
|
|
8511
8547
|
private readonly sanitizer;
|
|
8512
8548
|
private readonly injector;
|
|
8513
8549
|
private readonly vcr;
|
|
8514
|
-
private readonly document;
|
|
8515
8550
|
/** Locale for the popover UI: a registry key (`'en'`/`'he'`/…) or a full dictionary. */
|
|
8516
8551
|
readonly uiRteMentionsLocale: _angular_core.InputSignal<LocaleInput<RichTextMentionsLocale> | undefined>;
|
|
8517
8552
|
/** Enable the `@mention` trigger (the bare `uiRteMentions` attribute). */
|
|
@@ -8601,6 +8636,8 @@ declare class RichTextMentionPopoverComponent implements AfterViewInit, OnDestro
|
|
|
8601
8636
|
* Also selects the empty-state and `aria-label` strings from {@link locale}.
|
|
8602
8637
|
*/
|
|
8603
8638
|
readonly type: _angular_core.InputSignal<"tag" | "mention">;
|
|
8639
|
+
/** Extra classes merged onto the floating list, after its bordered popover styling. */
|
|
8640
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
8604
8641
|
/** Translated strings for the `aria-label` and the "no results" message. Defaults to English. */
|
|
8605
8642
|
readonly locale: _angular_core.InputSignal<RichTextMentionsLocale>;
|
|
8606
8643
|
/**
|
|
@@ -8696,7 +8733,7 @@ declare class RichTextMentionPopoverComponent implements AfterViewInit, OnDestro
|
|
|
8696
8733
|
*/
|
|
8697
8734
|
asTag(item: MentionItem | TagItem): TagItem;
|
|
8698
8735
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextMentionPopoverComponent, never>;
|
|
8699
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextMentionPopoverComponent, "ui-rich-text-mention-popover", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "closed": "closed"; }, never, never, true, never>;
|
|
8736
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextMentionPopoverComponent, "ui-rich-text-mention-popover", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; "closed": "closed"; }, never, never, true, never>;
|
|
8700
8737
|
}
|
|
8701
8738
|
|
|
8702
8739
|
/**
|
|
@@ -8832,6 +8869,9 @@ declare const RICH_TEXT_OUTLINE_CONTEXT: InjectionToken<RichTextOutlineContext>;
|
|
|
8832
8869
|
*/
|
|
8833
8870
|
declare class RichTextOutlinePanelComponent {
|
|
8834
8871
|
protected readonly ctx: _gilav21_shadcn_angular_rte.RichTextOutlineContext;
|
|
8872
|
+
/** Extra classes merged onto the docked panel, after its start-edge positioning and width steps. */
|
|
8873
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
8874
|
+
readonly classes: _angular_core.Signal<string>;
|
|
8835
8875
|
/**
|
|
8836
8876
|
* Id wiring the panel's `aria-labelledby` to its visible heading. Counted
|
|
8837
8877
|
* per instance so two editors on one page do not both claim the same id,
|
|
@@ -8840,7 +8880,7 @@ declare class RichTextOutlinePanelComponent {
|
|
|
8840
8880
|
*/
|
|
8841
8881
|
protected readonly titleId: string;
|
|
8842
8882
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextOutlinePanelComponent, never>;
|
|
8843
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextOutlinePanelComponent, "ui-rte-outline-panel", never, {}, {}, never, never, true, never>;
|
|
8883
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextOutlinePanelComponent, "ui-rte-outline-panel", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8844
8884
|
}
|
|
8845
8885
|
|
|
8846
8886
|
/**
|
|
@@ -9001,6 +9041,9 @@ interface NormalizedSlashCommands {
|
|
|
9001
9041
|
}
|
|
9002
9042
|
|
|
9003
9043
|
declare class RichTextSlashCommandsMenuComponent {
|
|
9044
|
+
/** Extra classes merged onto the menu host, after its bordered popover styling. */
|
|
9045
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
9046
|
+
readonly classes: _angular_core.Signal<string>;
|
|
9004
9047
|
/**
|
|
9005
9048
|
* Stable ids so the editable can point `aria-controls` and
|
|
9006
9049
|
* `aria-activedescendant` here. Focus stays in the editable while the menu is
|
|
@@ -9027,7 +9070,7 @@ declare class RichTextSlashCommandsMenuComponent {
|
|
|
9027
9070
|
protected onPointerDown(event: Event): void;
|
|
9028
9071
|
private scrollIntoView;
|
|
9029
9072
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextSlashCommandsMenuComponent, never>;
|
|
9030
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextSlashCommandsMenuComponent, "ui-rich-text-slash-commands-menu", never, { "commands": { "alias": "commands"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "noResultsLabel": { "alias": "noResultsLabel"; "required": false; "isSignal": true; }; "menuAriaLabel": { "alias": "menuAriaLabel"; "required": false; "isSignal": true; }; }, { "commandSelect": "commandSelect"; "hoverIndex": "hoverIndex"; }, never, never, true, never>;
|
|
9073
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextSlashCommandsMenuComponent, "ui-rich-text-slash-commands-menu", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "commands": { "alias": "commands"; "required": false; "isSignal": true; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; "noResultsLabel": { "alias": "noResultsLabel"; "required": false; "isSignal": true; }; "menuAriaLabel": { "alias": "menuAriaLabel"; "required": false; "isSignal": true; }; }, { "commandSelect": "commandSelect"; "hoverIndex": "hoverIndex"; }, never, never, true, never>;
|
|
9031
9074
|
}
|
|
9032
9075
|
|
|
9033
9076
|
/**
|
|
@@ -9125,13 +9168,15 @@ declare class RichTextTablesButtonComponent {
|
|
|
9125
9168
|
protected readonly hoverCols: _angular_core.WritableSignal<number>;
|
|
9126
9169
|
protected readonly icon: SafeHtml;
|
|
9127
9170
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
9171
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
9172
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
9128
9173
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
9129
9174
|
protected onOpenChange(next: boolean): void;
|
|
9130
9175
|
protected onHover(rows: number, cols: number): void;
|
|
9131
9176
|
protected onSelect(rows: number, cols: number): void;
|
|
9132
9177
|
private resetHover;
|
|
9133
9178
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextTablesButtonComponent, never>;
|
|
9134
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextTablesButtonComponent, "ui-rte-tables-button", never, {}, {}, never, never, true, never>;
|
|
9179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextTablesButtonComponent, "ui-rte-tables-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9135
9180
|
}
|
|
9136
9181
|
|
|
9137
9182
|
/**
|
|
@@ -9262,6 +9307,8 @@ declare class RichTextTypographyButtonComponent {
|
|
|
9262
9307
|
protected readonly icon: SafeHtml;
|
|
9263
9308
|
protected readonly panelClasses: string;
|
|
9264
9309
|
protected readonly interactionDisabled: _angular_core.Signal<boolean>;
|
|
9310
|
+
/** Extra classes merged onto the toolbar button, after the built-in icon-button styling. */
|
|
9311
|
+
readonly class: _angular_core.InputSignal<string>;
|
|
9265
9312
|
protected readonly buttonClasses: _angular_core.Signal<string>;
|
|
9266
9313
|
protected onOpenChange(next: boolean): void;
|
|
9267
9314
|
/**
|
|
@@ -9270,7 +9317,7 @@ declare class RichTextTypographyButtonComponent {
|
|
|
9270
9317
|
*/
|
|
9271
9318
|
protected onValueChange(value: string): void;
|
|
9272
9319
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RichTextTypographyButtonComponent, never>;
|
|
9273
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextTypographyButtonComponent, "ui-rte-typography-button", never, {}, {}, never, never, true, never>;
|
|
9320
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RichTextTypographyButtonComponent, "ui-rte-typography-button", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9274
9321
|
}
|
|
9275
9322
|
|
|
9276
9323
|
/** Which typography property a toolbar button controls. */
|