@hmcts/ccd-case-ui-toolkit 7.4.3-redact → 7.4.4-default-focus
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/index.d.ts
CHANGED
|
@@ -1036,6 +1036,7 @@ declare class CaseTab implements Orderable {
|
|
|
1036
1036
|
order?: number;
|
|
1037
1037
|
fields: CaseField[];
|
|
1038
1038
|
show_condition?: string;
|
|
1039
|
+
defaultFocus?: boolean;
|
|
1039
1040
|
}
|
|
1040
1041
|
|
|
1041
1042
|
declare class CasePrintDocument {
|
|
@@ -2267,9 +2268,7 @@ declare class FieldsUtils {
|
|
|
2267
2268
|
static readonly SERVER_RESPONSE_FIELD_TYPE_COLLECTION = "Collection";
|
|
2268
2269
|
static readonly SERVER_RESPONSE_FIELD_TYPE_COMPLEX = "Complex";
|
|
2269
2270
|
static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_LIST_TYPE: FieldTypeEnum[];
|
|
2270
|
-
static readonly defaultTabList:
|
|
2271
|
-
PRLAPPS: string;
|
|
2272
|
-
};
|
|
2271
|
+
static readonly defaultTabList: Record<string, string>;
|
|
2273
2272
|
static isValidDisplayContext(ctx: string): boolean;
|
|
2274
2273
|
static createToken(): string;
|
|
2275
2274
|
static isTranslatable(fieldType: FieldType): boolean;
|
|
@@ -3961,6 +3960,11 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3961
3960
|
onEditorKeyDown(event: KeyboardEvent): void;
|
|
3962
3961
|
normalisePastedHtml(html: string): string;
|
|
3963
3962
|
normaliseRichTextValue(value: string): string;
|
|
3963
|
+
/**
|
|
3964
|
+
* Gives intentionally blank paragraphs content so Docmosis preserves them as blank lines.
|
|
3965
|
+
* This runs only when the document has meaningful content, so a completely empty field remains empty.
|
|
3966
|
+
*/
|
|
3967
|
+
private preserveDocmosisBlankParagraphs;
|
|
3964
3968
|
private hasMeaningfulRichTextContent;
|
|
3965
3969
|
syncAccessibilityLater(): void;
|
|
3966
3970
|
protected addValidators(caseField: CaseField, control: AbstractControl): void;
|
|
@@ -3971,6 +3975,13 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3971
3975
|
private setToolbarTabStop;
|
|
3972
3976
|
private getEditableElement;
|
|
3973
3977
|
private normaliseRichTextControlValue;
|
|
3978
|
+
private differsOnlyByDocmosisBlankParagraphs;
|
|
3979
|
+
/**
|
|
3980
|
+
* Canonicalises visually blank paragraphs to <p></p> before comparing two HTML values.
|
|
3981
|
+
* This lets the editor avoid reloading when only the Docmosis blank-line representation changed.
|
|
3982
|
+
*/
|
|
3983
|
+
private clearBlankParagraphs;
|
|
3984
|
+
private replaceBlankParagraphContent;
|
|
3974
3985
|
private editorHasMeaningfulRichTextContent;
|
|
3975
3986
|
private richTextRequiredValidator;
|
|
3976
3987
|
private unsafeHtmlTextValidator;
|