@hmcts/ccd-case-ui-toolkit 7.3.99-innerhtml-security-update → 7.3.99
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
|
@@ -20,6 +20,7 @@ import * as i139 from '@angular-material-components/datetime-picker';
|
|
|
20
20
|
import { NgxMatDatetimepicker, NgxMatDateFormats } from '@angular-material-components/datetime-picker';
|
|
21
21
|
import { LegacyThemePalette } from '@angular/material/legacy-core';
|
|
22
22
|
import { Moment } from 'moment/moment';
|
|
23
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
23
24
|
import * as i153 from 'ngx-editor';
|
|
24
25
|
import { Editor } from 'ngx-editor';
|
|
25
26
|
import * as i144 from '@angular/cdk/tree';
|
|
@@ -3146,7 +3147,8 @@ declare class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
3146
3147
|
}
|
|
3147
3148
|
|
|
3148
3149
|
declare class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
3149
|
-
|
|
3150
|
+
private readonly sanitizer;
|
|
3151
|
+
constructor(sanitizer: DomSanitizer);
|
|
3150
3152
|
sanitisedValue(): string;
|
|
3151
3153
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReadRichTextAreaFieldComponent, never>;
|
|
3152
3154
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReadRichTextAreaFieldComponent, "ccd-read-rich-text-area-field", never, {}, {}, never, never, false, never>;
|
|
@@ -3424,7 +3426,7 @@ declare class ReadComplexFieldCollectionTableComponent extends AbstractFieldRead
|
|
|
3424
3426
|
isNotBlank(value: string): boolean;
|
|
3425
3427
|
addCaseReferenceValue(field: any, value: any): any;
|
|
3426
3428
|
toCaseField(id: string, label: string, fieldType: any, value: any): CaseField;
|
|
3427
|
-
keepOriginalOrder: (a: any) => any;
|
|
3429
|
+
keepOriginalOrder: (a: any, b: any) => any;
|
|
3428
3430
|
sortRowsByColumns(column: any): void;
|
|
3429
3431
|
sortWidget(column: any): string;
|
|
3430
3432
|
private populateHorizontalLabels;
|
|
@@ -3937,6 +3939,8 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3937
3939
|
private contiguousListPositions;
|
|
3938
3940
|
private collectContiguousListIndexes;
|
|
3939
3941
|
private isSequentialList;
|
|
3942
|
+
private renumberContinuedOrderedLists;
|
|
3943
|
+
private isOrderedListContinuationSeparator;
|
|
3940
3944
|
private hasListContinuation;
|
|
3941
3945
|
private listContinuationOrder;
|
|
3942
3946
|
private isList;
|
|
@@ -3957,6 +3961,7 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3957
3961
|
onEditorKeyDown(event: KeyboardEvent): void;
|
|
3958
3962
|
normalisePastedHtml(html: string): string;
|
|
3959
3963
|
normaliseRichTextValue(value: string): string;
|
|
3964
|
+
private hasMeaningfulRichTextContent;
|
|
3960
3965
|
syncAccessibilityLater(): void;
|
|
3961
3966
|
protected addValidators(caseField: CaseField, control: AbstractControl): void;
|
|
3962
3967
|
private syncAccessibilityState;
|
|
@@ -3966,6 +3971,7 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
3966
3971
|
private setToolbarTabStop;
|
|
3967
3972
|
private getEditableElement;
|
|
3968
3973
|
private normaliseRichTextControlValue;
|
|
3974
|
+
private editorHasMeaningfulRichTextContent;
|
|
3969
3975
|
private richTextRequiredValidator;
|
|
3970
3976
|
private unsafeHtmlTextValidator;
|
|
3971
3977
|
private htmlToText;
|
|
@@ -4030,7 +4036,7 @@ declare class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponen
|
|
|
4030
4036
|
private wordOrderedListTypes;
|
|
4031
4037
|
private wordListLevelKey;
|
|
4032
4038
|
private wordListMarker;
|
|
4033
|
-
private
|
|
4039
|
+
private wordListVisualLevel;
|
|
4034
4040
|
private wordListDeclaredLevel;
|
|
4035
4041
|
private wordListId;
|
|
4036
4042
|
private wordListIndents;
|
|
@@ -4887,6 +4893,7 @@ declare class SelectFlagLocationComponent extends AbstractJourneyComponent imple
|
|
|
4887
4893
|
}
|
|
4888
4894
|
|
|
4889
4895
|
declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey {
|
|
4896
|
+
private readonly sanitizer;
|
|
4890
4897
|
formGroup: FormGroup;
|
|
4891
4898
|
flagsData: FlagsWithFormGroupPath[];
|
|
4892
4899
|
caseTitle: string;
|
|
@@ -4903,7 +4910,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4903
4910
|
cachedControls: {
|
|
4904
4911
|
[key: string]: AbstractControl;
|
|
4905
4912
|
};
|
|
4906
|
-
constructor(multipageComponentStateService: MultipageComponentStateService);
|
|
4913
|
+
constructor(multipageComponentStateService: MultipageComponentStateService, sanitizer: DomSanitizer);
|
|
4907
4914
|
ngOnInit(): void;
|
|
4908
4915
|
onFlagSelectionChange(selectedFlag: FormControl): void;
|
|
4909
4916
|
private updateFlagDetails;
|
|
@@ -8077,7 +8084,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
|
|
|
8077
8084
|
hasDrafts(): boolean;
|
|
8078
8085
|
comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
|
|
8079
8086
|
sort(column: SearchResultViewColumn): void;
|
|
8080
|
-
sortWidget(column: SearchResultViewColumn):
|
|
8087
|
+
sortWidget(column: SearchResultViewColumn): "▼" | "▲";
|
|
8081
8088
|
activityEnabled(): boolean;
|
|
8082
8089
|
hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
|
|
8083
8090
|
draftPrefixOrGet(col: any, result: any): any;
|