@hmcts/ccd-case-ui-toolkit 7.4.28-innerhtml-security-update → 7.4.28
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 '@ngxmc/datetime-picker';
|
|
|
20
20
|
import { NgxMatDatetimepicker } from '@ngxmc/datetime-picker';
|
|
21
21
|
import { ThemePalette, MatDateFormats } from '@angular/material/core';
|
|
22
22
|
import { Moment } from 'moment/moment';
|
|
23
|
+
import { DomSanitizer, Title } from '@angular/platform-browser';
|
|
23
24
|
import * as i143 from '@angular/material/autocomplete';
|
|
24
25
|
import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
25
26
|
import * as i153 from 'ngx-editor';
|
|
@@ -36,7 +37,6 @@ import * as i149 from '@hmcts/media-viewer';
|
|
|
36
37
|
import * as i3$2 from 'ngx-pagination';
|
|
37
38
|
import * as i25 from '@angular/material/tabs';
|
|
38
39
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
39
|
-
import { Title } from '@angular/platform-browser';
|
|
40
40
|
|
|
41
41
|
declare class FooterComponent {
|
|
42
42
|
email: string;
|
|
@@ -3165,7 +3165,8 @@ declare class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
|
|
3167
3167
|
declare class ReadRichTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
3168
|
-
|
|
3168
|
+
private readonly sanitizer;
|
|
3169
|
+
constructor(sanitizer: DomSanitizer);
|
|
3169
3170
|
sanitisedValue(): string;
|
|
3170
3171
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReadRichTextAreaFieldComponent, never>;
|
|
3171
3172
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReadRichTextAreaFieldComponent, "ccd-read-rich-text-area-field", never, {}, {}, never, never, false, never>;
|
|
@@ -3443,7 +3444,7 @@ declare class ReadComplexFieldCollectionTableComponent extends AbstractFieldRead
|
|
|
3443
3444
|
isNotBlank(value: string): boolean;
|
|
3444
3445
|
addCaseReferenceValue(field: any, value: any): any;
|
|
3445
3446
|
toCaseField(id: string, label: string, fieldType: any, value: any): CaseField;
|
|
3446
|
-
keepOriginalOrder: (a: any) => any;
|
|
3447
|
+
keepOriginalOrder: (a: any, b: any) => any;
|
|
3447
3448
|
sortRowsByColumns(column: any): void;
|
|
3448
3449
|
sortWidget(column: any): string;
|
|
3449
3450
|
private populateHorizontalLabels;
|
|
@@ -4930,6 +4931,7 @@ declare class SelectFlagLocationComponent extends AbstractJourneyComponent imple
|
|
|
4930
4931
|
}
|
|
4931
4932
|
|
|
4932
4933
|
declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey {
|
|
4934
|
+
private readonly sanitizer;
|
|
4933
4935
|
formGroup: FormGroup;
|
|
4934
4936
|
flagsData: FlagsWithFormGroupPath[];
|
|
4935
4937
|
caseTitle: string;
|
|
@@ -4946,7 +4948,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4946
4948
|
cachedControls: {
|
|
4947
4949
|
[key: string]: AbstractControl;
|
|
4948
4950
|
};
|
|
4949
|
-
constructor(multipageComponentStateService: MultipageComponentStateService);
|
|
4951
|
+
constructor(multipageComponentStateService: MultipageComponentStateService, sanitizer: DomSanitizer);
|
|
4950
4952
|
ngOnInit(): void;
|
|
4951
4953
|
onFlagSelectionChange(selectedFlag: FormControl): void;
|
|
4952
4954
|
private updateFlagDetails;
|
|
@@ -8115,7 +8117,6 @@ declare class SearchResultComponent implements OnChanges, OnInit {
|
|
|
8115
8117
|
constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService);
|
|
8116
8118
|
ngOnInit(): void;
|
|
8117
8119
|
ngOnChanges(changes: SimpleChanges): void;
|
|
8118
|
-
isTranslatable(col: SearchResultViewColumn): boolean;
|
|
8119
8120
|
get resultTotal(): number;
|
|
8120
8121
|
clearSelection(): void;
|
|
8121
8122
|
canBeShared(caseView: SearchResultViewItem): boolean;
|
|
@@ -8135,7 +8136,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
|
|
|
8135
8136
|
hasDrafts(): boolean;
|
|
8136
8137
|
comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
|
|
8137
8138
|
sort(column: SearchResultViewColumn): void;
|
|
8138
|
-
sortWidget(column: SearchResultViewColumn):
|
|
8139
|
+
sortWidget(column: SearchResultViewColumn): "▼" | "▲";
|
|
8139
8140
|
activityEnabled(): boolean;
|
|
8140
8141
|
hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
|
|
8141
8142
|
draftPrefixOrGet(col: any, result: any): any;
|