@hmcts/ccd-case-ui-toolkit 7.3.96 → 7.3.97
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/hmcts-ccd-case-ui-toolkit.mjs +293 -131
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +13 -2
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3782,6 +3782,7 @@ declare class WriteDateContainerFieldComponent extends AbstractFormFieldComponen
|
|
|
3782
3782
|
|
|
3783
3783
|
type RichTextToolbarCommand = 'undo' | 'redo' | 'bold' | 'italic' | 'underline' | 'paragraph' | 'heading' | 'indent' | 'outdent' | 'ordered_list' | 'bullet_list';
|
|
3784
3784
|
type RichTextListStyle = '' | 'ordered_list' | 'ordered_alpha' | 'ordered_roman' | 'bullet_list';
|
|
3785
|
+
type RichTextHeadingLevel = 1 | 2 | 3;
|
|
3785
3786
|
declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
3786
3787
|
editorHost: ElementRef<HTMLElement>;
|
|
3787
3788
|
editor: Editor;
|
|
@@ -3789,10 +3790,12 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3789
3790
|
activeToolbarCommands: {
|
|
3790
3791
|
[key in RichTextToolbarCommand]?: boolean;
|
|
3791
3792
|
};
|
|
3793
|
+
selectedHeadingLevel: RichTextHeadingLevel;
|
|
3792
3794
|
private editorUpdateSubscription;
|
|
3793
3795
|
private isNormalisingValue;
|
|
3794
3796
|
private paragraphCommandApplied;
|
|
3795
3797
|
private statusChangesSubscription;
|
|
3798
|
+
private toolbarPointerInteraction;
|
|
3796
3799
|
private valueChangesSubscription;
|
|
3797
3800
|
ngOnInit(): void;
|
|
3798
3801
|
ngAfterViewInit(): void;
|
|
@@ -3800,15 +3803,21 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3800
3803
|
labelId(): string;
|
|
3801
3804
|
hintId(): string;
|
|
3802
3805
|
errorId(): string;
|
|
3806
|
+
keyboardInstructionsId(): string;
|
|
3803
3807
|
listStyleId(): string;
|
|
3808
|
+
headingLevelId(): string;
|
|
3804
3809
|
toolbarLabel(): string;
|
|
3805
3810
|
isInvalid(): boolean;
|
|
3806
3811
|
onEditorFocusOut(): void;
|
|
3812
|
+
onEditorClick(): void;
|
|
3807
3813
|
onToolbarButtonMouseDown(event: MouseEvent): void;
|
|
3814
|
+
onToolbarFocusIn(event: FocusEvent): void;
|
|
3815
|
+
onToolbarKeyDown(event: KeyboardEvent): void;
|
|
3808
3816
|
private handleEditorKeyDown;
|
|
3809
3817
|
private splitListContinuationParagraph;
|
|
3810
3818
|
executeToolbarCommand(event: Event, command: RichTextToolbarCommand): void;
|
|
3811
3819
|
isToolbarCommandActive(command: RichTextToolbarCommand): boolean;
|
|
3820
|
+
onHeadingLevelChange(event: Event): void;
|
|
3812
3821
|
currentListStyle(): RichTextListStyle;
|
|
3813
3822
|
currentListSelectValue(): RichTextListStyle;
|
|
3814
3823
|
isOrderedListActive(): boolean;
|
|
@@ -3844,6 +3853,8 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3844
3853
|
private syncAccessibilityState;
|
|
3845
3854
|
private describedBy;
|
|
3846
3855
|
private syncToolbarAccessibility;
|
|
3856
|
+
private toolbarControls;
|
|
3857
|
+
private setToolbarTabStop;
|
|
3847
3858
|
private getEditableElement;
|
|
3848
3859
|
private normaliseRichTextControlValue;
|
|
3849
3860
|
private richTextRequiredValidator;
|
|
@@ -3859,7 +3870,6 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3859
3870
|
private normaliseWordTables;
|
|
3860
3871
|
private appendWordTableCellContents;
|
|
3861
3872
|
private normaliseWordSemanticBlocks;
|
|
3862
|
-
private removeRedundantHeadingBold;
|
|
3863
3873
|
private wordHeadingLevel;
|
|
3864
3874
|
private namedWordHeadingLevel;
|
|
3865
3875
|
private wordOutlineLevel;
|
|
@@ -3941,7 +3951,8 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3941
3951
|
private changeListIndent;
|
|
3942
3952
|
private toggleParagraph;
|
|
3943
3953
|
private toggleHeading;
|
|
3944
|
-
private
|
|
3954
|
+
private applyHeadingLevel;
|
|
3955
|
+
private activeHeadingLevel;
|
|
3945
3956
|
private isPlainParagraphActive;
|
|
3946
3957
|
private isNodeActive;
|
|
3947
3958
|
private lastTextNode;
|