@hmcts/ccd-case-ui-toolkit 7.3.48-xui-3740 → 7.3.49-4369
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
|
@@ -24,6 +24,7 @@ import * as i143 from '@nicky-lenaers/ngx-scroll-to';
|
|
|
24
24
|
import { ScrollToService } from '@nicky-lenaers/ngx-scroll-to';
|
|
25
25
|
import * as i140 from '@angular/cdk/tree';
|
|
26
26
|
import { NestedTreeControl } from '@angular/cdk/tree';
|
|
27
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
27
28
|
import * as i6 from 'ngx-markdown';
|
|
28
29
|
import * as i136 from '@angular/material/legacy-form-field';
|
|
29
30
|
import * as i137 from '@angular/material/legacy-input';
|
|
@@ -2207,7 +2208,6 @@ declare class FieldsUtils {
|
|
|
2207
2208
|
static readonly SERVER_RESPONSE_FIELD_TYPE_COLLECTION = "Collection";
|
|
2208
2209
|
static readonly SERVER_RESPONSE_FIELD_TYPE_COMPLEX = "Complex";
|
|
2209
2210
|
static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_LIST_TYPE: FieldTypeEnum[];
|
|
2210
|
-
static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_MULTISELECT_LIST_TYPE: FieldTypeEnum;
|
|
2211
2211
|
static readonly defaultTabList: {
|
|
2212
2212
|
PRLAPPS: string;
|
|
2213
2213
|
};
|
|
@@ -2426,7 +2426,6 @@ declare class FieldTypeSanitiser {
|
|
|
2426
2426
|
sanitiseLists(caseFields: CaseField[], data: any): void;
|
|
2427
2427
|
ensureDynamicMultiSelectListPopulated(caseFields: CaseField[]): CaseField[];
|
|
2428
2428
|
private checkNestedDynamicList;
|
|
2429
|
-
private getFirstCollectionFieldData;
|
|
2430
2429
|
private isDynamicList;
|
|
2431
2430
|
private convertArrayToDynamicListOutput;
|
|
2432
2431
|
private convertStringToDynamicListOutput;
|
|
@@ -2474,8 +2473,7 @@ declare class FormValueService {
|
|
|
2474
2473
|
* @param clearEmpty Whether or not we should clear out empty, optional, complex objects.
|
|
2475
2474
|
* @param clearNonCase Whether or not we should clear out non-case fields at the top level.
|
|
2476
2475
|
*/
|
|
2477
|
-
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]
|
|
2478
|
-
private shouldRemoveHiddenField;
|
|
2476
|
+
removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]): void;
|
|
2479
2477
|
removeInvalidCollectionData(data: object, field: CaseField): void;
|
|
2480
2478
|
/**
|
|
2481
2479
|
* Remove any empty collection fields where a value of greater than zero is specified in the field's {@link FieldType}
|
|
@@ -4521,6 +4519,7 @@ declare class SelectFlagLocationComponent extends AbstractJourneyComponent imple
|
|
|
4521
4519
|
}
|
|
4522
4520
|
|
|
4523
4521
|
declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey {
|
|
4522
|
+
private readonly sanitizer;
|
|
4524
4523
|
formGroup: FormGroup;
|
|
4525
4524
|
flagsData: FlagsWithFormGroupPath[];
|
|
4526
4525
|
caseTitle: string;
|
|
@@ -4537,6 +4536,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4537
4536
|
cachedControls: {
|
|
4538
4537
|
[key: string]: AbstractControl;
|
|
4539
4538
|
};
|
|
4539
|
+
constructor(multipageComponentStateService: MultipageComponentStateService, sanitizer: DomSanitizer);
|
|
4540
4540
|
ngOnInit(): void;
|
|
4541
4541
|
onFlagSelectionChange(selectedFlag: FormControl): void;
|
|
4542
4542
|
private updateFlagDetails;
|
|
@@ -4551,6 +4551,7 @@ declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implemen
|
|
|
4551
4551
|
private onNoFlagsError;
|
|
4552
4552
|
next(): void;
|
|
4553
4553
|
reapplyCachedControls(): void;
|
|
4554
|
+
sanitizeHtml(content: string | null | undefined): string;
|
|
4554
4555
|
static ɵfac: i0.ɵɵFactoryDeclaration<ManageCaseFlagsComponent, never>;
|
|
4555
4556
|
static ɵcmp: i0.ɵɵComponentDeclaration<ManageCaseFlagsComponent, "ccd-manage-case-flags", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "flagsData": { "alias": "flagsData"; "required": false; }; "caseTitle": { "alias": "caseTitle"; "required": false; }; "displayContextParameter": { "alias": "displayContextParameter"; "required": false; }; }, { "caseFlagStateEmitter": "caseFlagStateEmitter"; }, never, never, false, never>;
|
|
4556
4557
|
}
|