@hmcts/ccd-case-ui-toolkit 7.4.15-exui-5388 → 7.4.15
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
|
@@ -845,7 +845,6 @@ declare class CaseField implements Orderable {
|
|
|
845
845
|
_value: any;
|
|
846
846
|
_list_items: any;
|
|
847
847
|
private isTranslatedFlag;
|
|
848
|
-
private _translationHandledLocally?;
|
|
849
848
|
get value(): any;
|
|
850
849
|
set value(value: any);
|
|
851
850
|
get list_items(): any;
|
|
@@ -863,10 +862,8 @@ declare class CaseField implements Orderable {
|
|
|
863
862
|
isCaseLink(): boolean;
|
|
864
863
|
extractBracketValue(fmt: string, paramName: string, leftBracket?: string, rightBracket?: string): string;
|
|
865
864
|
getHierachicalId(curr?: string): string;
|
|
866
|
-
get isTranslated(): boolean;
|
|
867
865
|
set isTranslated(val: boolean);
|
|
868
|
-
get
|
|
869
|
-
set translationHandledLocally(value: boolean);
|
|
866
|
+
get isTranslated(): boolean;
|
|
870
867
|
}
|
|
871
868
|
|
|
872
869
|
declare class ShowCondition {
|
|
@@ -6105,8 +6102,8 @@ declare class FormModule {
|
|
|
6105
6102
|
declare class LabelSubstitutorDirective implements OnInit, OnDestroy {
|
|
6106
6103
|
private readonly fieldsUtils;
|
|
6107
6104
|
private readonly placeholderService;
|
|
6105
|
+
private readonly rpxTranslationPipe;
|
|
6108
6106
|
private readonly rpxTranslationService;
|
|
6109
|
-
private readonly cdr;
|
|
6110
6107
|
caseField: CaseField;
|
|
6111
6108
|
contextFields: CaseField[];
|
|
6112
6109
|
formGroup: FormGroup | AbstractControl | undefined;
|
|
@@ -6114,13 +6111,14 @@ declare class LabelSubstitutorDirective implements OnInit, OnDestroy {
|
|
|
6114
6111
|
private initialLabel;
|
|
6115
6112
|
private initialHintText;
|
|
6116
6113
|
private languageSubscription;
|
|
6117
|
-
|
|
6118
|
-
constructor(fieldsUtils: FieldsUtils, placeholderService: PlaceholderService, rpxTranslationService: RpxTranslationService, cdr: ChangeDetectorRef);
|
|
6114
|
+
constructor(fieldsUtils: FieldsUtils, placeholderService: PlaceholderService, rpxTranslationPipe: RpxTranslatePipe, rpxTranslationService: RpxTranslationService);
|
|
6119
6115
|
ngOnInit(): void;
|
|
6120
6116
|
private noCacheProcessing;
|
|
6121
6117
|
private applySubstitutions;
|
|
6122
6118
|
private applyLabelSubstitution;
|
|
6123
6119
|
private applyTranslatedLabelState;
|
|
6120
|
+
private translateLabel;
|
|
6121
|
+
private translateLabelOnLanguageChange;
|
|
6124
6122
|
private setLabelState;
|
|
6125
6123
|
private onLanguageChange;
|
|
6126
6124
|
private resetToInitialValues;
|