@hmcts/ccd-case-ui-toolkit 7.2.36-remove-feature-flag → 7.2.36
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/esm2022/lib/app.config.mjs +4 -1
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +12 -5
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +10 -8
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +5 -3
- package/esm2022/lib/shared/components/palette/palette.module.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +26 -15
- package/esm2022/lib/shared/directives/index.mjs +2 -1
- package/esm2022/lib/shared/directives/welsh-translated-markdown/index.mjs +3 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.mjs +104 -0
- package/esm2022/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.mjs +21 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +172 -27
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +6 -0
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +3 -0
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +18 -17
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/directives/index.d.ts +1 -0
- package/lib/shared/directives/index.d.ts.map +1 -1
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts +3 -0
- package/lib/shared/directives/welsh-translated-markdown/index.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts +76 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts.map +1 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts +8 -0
- package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts.map +1 -0
- package/package.json +1 -1
package/lib/app.config.d.ts
CHANGED
|
@@ -48,6 +48,8 @@ export declare abstract class AbstractAppConfig {
|
|
|
48
48
|
abstract getActivityMaxRequestPerBatch(): number;
|
|
49
49
|
abstract getCaseHistoryUrl(caseId: string, eventId: string): string;
|
|
50
50
|
abstract getPrintServiceUrl(): string;
|
|
51
|
+
abstract getIcpEnable(): boolean;
|
|
52
|
+
abstract getIcpJurisdictions(): string[];
|
|
51
53
|
abstract logMessage(logMessage: string): void;
|
|
52
54
|
/**
|
|
53
55
|
* Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release
|
|
@@ -77,6 +79,7 @@ export declare abstract class AbstractAppConfig {
|
|
|
77
79
|
abstract getRDCommonDataApiUrl(): string;
|
|
78
80
|
abstract getCaseDataStoreApiUrl(): string;
|
|
79
81
|
abstract getEventsToHide(): string[];
|
|
82
|
+
abstract getEnableCaseFileViewVersion1_1(): boolean;
|
|
80
83
|
}
|
|
81
84
|
export declare class CaseEditorConfig {
|
|
82
85
|
api_url: string;
|
|
@@ -146,6 +149,9 @@ export declare class CaseEditorConfig {
|
|
|
146
149
|
case_flags_refdata_api_url: string;
|
|
147
150
|
rd_common_data_api_url: string;
|
|
148
151
|
case_data_store_api_url: string;
|
|
152
|
+
enable_case_file_view_version_1_1: boolean;
|
|
153
|
+
icp_enabled: boolean;
|
|
154
|
+
icp_jurisdictions: string[];
|
|
149
155
|
events_to_hide: string[];
|
|
150
156
|
}
|
|
151
157
|
//# sourceMappingURL=app.config.d.ts.map
|
package/lib/app.config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.config.d.ts","sourceRoot":"","sources":["../../../projects/ccd-case-ui-toolkit/src/lib/app.config.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE;QACZ,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,sBAAsB,CAAC,EAAE;YACvB,YAAY,CAAC,EAAE,MAAM,CAAA;SACtB,CAAA;KACF,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sCAAsC;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,8BAAsB,iBAAiB;aACrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;aACrB,WAAW,IAAI,MAAM;aACrB,SAAS,IAAI,MAAM;aACnB,cAAc,IAAI,MAAM;aACxB,wBAAwB,IAAI,MAAM;aAClC,0BAA0B,IAAI,MAAM;aACpC,qBAAqB,IAAI,OAAO;aAChC,oBAAoB,IAAI,MAAM;aAC9B,uCAAuC,IAAI,MAAM;aACjD,8BAA8B,IAAI,MAAM;aACxC,SAAS,IAAI,MAAM;aACnB,eAAe,IAAI,MAAM;aACzB,mBAAmB,IAAI,MAAM;aAC7B,oBAAoB,IAAI,MAAM;aAC9B,iBAAiB,IAAI,MAAM;aAC3B,cAAc,IAAI,MAAM;aACxB,qBAAqB,IAAI,MAAM;aAC/B,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM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MAAM,CAAC;KACxB,CAAC;IAEK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,4BAA4B,EAAE,MAAM,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,EAAE,MAAM,CAAC;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;IAChC,iCAAiC,EAAE,OAAO,CAAC;IAC3C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,EAAE,CAAC;CACjC"}
|
|
@@ -25,6 +25,8 @@ export declare class CaseFileViewFieldComponent implements OnInit, AfterViewInit
|
|
|
25
25
|
errorMessages: string[];
|
|
26
26
|
private caseVersion;
|
|
27
27
|
caseField: CaseField;
|
|
28
|
+
icp_jurisdictions: string[];
|
|
29
|
+
icpEnabled: boolean;
|
|
28
30
|
caseId: string;
|
|
29
31
|
constructor(elementRef: ElementRef, route: ActivatedRoute, caseFileViewService: CaseFileViewService, documentManagementService: DocumentManagementService, loadingService: LoadingService, sessionStorageService: SessionStorageService, caseNotifier: CaseNotifier, abstractConfig: AbstractAppConfig);
|
|
30
32
|
ngOnInit(): void;
|
|
@@ -37,6 +39,7 @@ export declare class CaseFileViewFieldComponent implements OnInit, AfterViewInit
|
|
|
37
39
|
reloadPage(): void;
|
|
38
40
|
resetErrorMessages(): void;
|
|
39
41
|
ngOnDestroy(): void;
|
|
42
|
+
isIcpEnabled(): boolean;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseFileViewFieldComponent, never>;
|
|
41
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseFileViewFieldComponent, "ccd-case-file-view-field", never, {}, {}, never, never, false, never>;
|
|
42
45
|
}
|
package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-file-view-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/case-file-view-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAa,UAAU,EAAM,YAAY,EAAE,MAAM,MAAM,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEhH,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1H,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;;AAE1D,qBAKa,0BAA2B,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;
|
|
1
|
+
{"version":3,"file":"case-file-view-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/case-file-view-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAa,UAAU,EAAM,YAAY,EAAE,MAAM,MAAM,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBA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B,eAAe,IAAI,IAAI;IA8BvB,kBAAkB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAQpD,YAAY,CAAC,IAAI,EAAE;QAAE,QAAQ,EAAE,gBAAgB,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAqB7E,UAAU,IAAI,IAAI;IAIlB,kBAAkB,IAAI,IAAI;IAI1B,WAAW,IAAI,IAAI;IAMnB,YAAY,IAAI,OAAO;yCArHnB,0BAA0B;2CAA1B,0BAA0B;CAyHtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-file-view-folder-sort.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iFAAiF,CAAC;;AAE9H,qBAKa,+BAAgC,YAAW,MAAM;IAWhD,OAAO,CAAC,QAAQ,CAAC,SAAS;IAV/B,MAAM,UAAS;IAEL,aAAa,uBAA8B;IAC3C,cAAc,uBAA8B;IAEtD,gBAAgB,EAAE,2BAA2B,EAAE,CAGpD;gBAE2B,SAAS,EAAE,iBAAiB;IAElD,QAAQ,IAAI,IAAI;yCAbZ,+BAA+B;2CAA/B,+BAA+B;
|
|
1
|
+
{"version":3,"file":"case-file-view-folder-sort.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iFAAiF,CAAC;;AAE9H,qBAKa,+BAAgC,YAAW,MAAM;IAWhD,OAAO,CAAC,QAAQ,CAAC,SAAS;IAV/B,MAAM,UAAS;IAEL,aAAa,uBAA8B;IAC3C,cAAc,uBAA8B;IAEtD,gBAAgB,EAAE,2BAA2B,EAAE,CAGpD;gBAE2B,SAAS,EAAE,iBAAiB;IAElD,QAAQ,IAAI,IAAI;yCAbZ,+BAA+B;2CAA/B,+BAA+B;CAuB3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-file-view-folder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAM,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EAEpB,sBAAsB,EACtB,gBAAgB,EAEjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;;AAEnF,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAEjE,qBAKa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAmCjE,OA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,IAAI;IAoChB,gBAAgB,CAAC,UAAU,EAAE,oBAAoB,EAAE,GAAG,gBAAgB,EAAE;IAexE,YAAY,CAAC,SAAS,EAAE,oBAAoB,EAAE,GAAG,gBAAgB,EAAE;
|
|
1
|
+
{"version":3,"file":"case-file-view-folder.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAa,YAAY,EAAS,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,eAAe,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAM,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EAEpB,sBAAsB,EACtB,gBAAgB,EAEjB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,yBAAyB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;;AAEnF,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAEjE,qBAKa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAmCjE,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAtC5B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,6BAA6B,CAA6B;IAClF,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,UAAU,CAAC,gBAAgB,EAAE,CAAC;IAsB1D,qBAAqB,CAC1B,UAAU,EAAE,cAAc,GAAG,eAAe,GAAG,UAAU,GAAG,OAAO,EACnE,gBAAgB,EAAE,gBAAgB,GACjC,IAAI;IA8BA,uBAAuB,CAAC,MAAM,EAAE,MAAM;IAStC,wBAAwB,CAAC,MAAM,EAAE,MAAM;IASvC,cAAc,CAAC,IAAI,EAAE,gBAAgB,EAAE,GAAG,IAAI;IAyB9C,WAAW,IAAI,IAAI;IAK1B,OAAO,CAAC,cAAc;IAYf,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAKhC,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,IAAI;yCA1QrD,2BAA2B;2CAA3B,2BAA2B;CAmRvC"}
|
|
@@ -131,25 +131,26 @@ import * as i129 from "../../../components/body/body.module";
|
|
|
131
131
|
import * as i130 from "../../../components/form/form.module";
|
|
132
132
|
import * as i131 from "../../../components/tabs/tabs.module";
|
|
133
133
|
import * as i132 from "../../directives/substitutor/label-substitutor.module";
|
|
134
|
-
import * as i133 from "
|
|
135
|
-
import * as i134 from "
|
|
136
|
-
import * as i135 from "@angular
|
|
137
|
-
import * as i136 from "@angular/material/legacy-
|
|
138
|
-
import * as i137 from "@angular/material/
|
|
139
|
-
import * as i138 from "@angular/material/
|
|
140
|
-
import * as i139 from "@angular/
|
|
141
|
-
import * as i140 from "@angular/cdk/
|
|
142
|
-
import * as i141 from "@
|
|
143
|
-
import * as i142 from "@
|
|
144
|
-
import * as i143 from "
|
|
145
|
-
import * as i144 from "
|
|
146
|
-
import * as i145 from "@
|
|
147
|
-
import * as i146 from "
|
|
148
|
-
import * as i147 from "
|
|
149
|
-
import * as i148 from "
|
|
134
|
+
import * as i133 from "../../directives/welsh-translated-markdown/welsh-translated-markdown.module";
|
|
135
|
+
import * as i134 from "ngx-markdown";
|
|
136
|
+
import * as i135 from "@angular-material-components/datetime-picker";
|
|
137
|
+
import * as i136 from "@angular/material/legacy-form-field";
|
|
138
|
+
import * as i137 from "@angular/material/legacy-input";
|
|
139
|
+
import * as i138 from "@angular/material/datepicker";
|
|
140
|
+
import * as i139 from "@angular/material/legacy-autocomplete";
|
|
141
|
+
import * as i140 from "@angular/cdk/tree";
|
|
142
|
+
import * as i141 from "@angular/cdk/overlay";
|
|
143
|
+
import * as i142 from "@hmcts/ccpay-web-component";
|
|
144
|
+
import * as i143 from "@nicky-lenaers/ngx-scroll-to";
|
|
145
|
+
import * as i144 from "rpx-xui-translation";
|
|
146
|
+
import * as i145 from "@angular/material/legacy-dialog";
|
|
147
|
+
import * as i146 from "@hmcts/media-viewer";
|
|
148
|
+
import * as i147 from "../../services/loading/loading.module";
|
|
149
|
+
import * as i148 from "./markdown/markdown-component.module";
|
|
150
|
+
import * as i149 from "../error/errors.module";
|
|
150
151
|
export declare class PaletteModule {
|
|
151
152
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaletteModule, never>;
|
|
152
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PaletteModule, [typeof i1.FixedListPipe, typeof i2.FixedRadioListPipe, typeof i3.DynamicListPipe, typeof i4.DynamicRadioListPipe, typeof i5.DocumentUrlPipe, typeof i6.FlagFieldDisplayPipe, typeof i7.LanguageInterpreterDisplayPipe, typeof i8.ManageCaseFlagsLabelDisplayPipe, typeof i9.UpdateFlagTitleDisplayPipe, typeof i10.UnsupportedFieldComponent, typeof i11.DatetimePickerComponent, typeof i12.WaysToPayFieldComponent, typeof i13.FieldReadComponent, typeof i14.FieldWriteComponent, typeof i15.FieldReadLabelComponent, typeof i16.LabelFieldComponent, typeof i17.CasePaymentHistoryViewerFieldComponent, typeof i18.MoneyGbpInputComponent, typeof i19.CaseHistoryViewerFieldComponent, typeof i20.EventLogComponent, typeof i21.EventLogDetailsComponent, typeof i22.EventLogTableComponent, typeof i23.ReadTextFieldComponent, typeof i24.ReadTextAreaFieldComponent, typeof i25.ReadNumberFieldComponent, typeof i26.ReadEmailFieldComponent, typeof i27.ReadPhoneUKFieldComponent, typeof i28.ReadDateFieldComponent, typeof i29.ReadCollectionFieldComponent, typeof i30.ReadDocumentFieldComponent, typeof i31.ReadJudicialUserFieldComponent, typeof i32.ReadYesNoFieldComponent, typeof i33.ReadOrganisationFieldComponent, typeof i34.ReadOrganisationFieldTableComponent, typeof i35.ReadOrganisationFieldRawComponent, typeof i36.ReadOrderSummaryFieldComponent, typeof i37.ReadOrderSummaryRowComponent, typeof i38.ReadMoneyGbpFieldComponent, typeof i39.ReadMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i41.ReadFixedListFieldComponent, typeof i42.ReadFixedRadioListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i44.ReadCaseLinkFieldComponent, typeof i45.ReadComplexFieldComponent, typeof i46.ReadComplexFieldRawComponent, typeof i47.ReadComplexFieldTableComponent, typeof i48.ReadComplexFieldCollectionTableComponent, typeof i49.ReadCaseFlagFieldComponent, typeof i50.ReadLinkedCasesFieldComponent, typeof i51.WriteJudicialUserFieldComponent, typeof i52.WriteAddressFieldComponent, typeof i53.WriteComplexFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i55.WriteDocumentFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i58.WriteTextFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i60.WriteTextAreaFieldComponent, typeof i61.WritePhoneUKFieldComponent, typeof i62.WriteNumberFieldComponent, typeof i63.WriteEmailFieldComponent, typeof i64.WriteDateFieldComponent, typeof i65.WriteCaseFlagFieldComponent, typeof i66.WriteLinkedCasesFieldComponent, typeof i67.WriteYesNoFieldComponent, typeof i68.WriteOrganisationFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i69.WriteOrderSummaryFieldComponent, typeof i70.WriteMoneyGbpFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i71.WriteMultiSelectListFieldComponent, typeof i72.WriteFixedListFieldComponent, typeof i73.WriteFixedRadioListFieldComponent, typeof i74.WriteCaseLinkFieldComponent, typeof i75.WriteCollectionFieldComponent, typeof i76.CaseFileViewFieldComponent, typeof i77.CaseFileViewFolderComponent, typeof i78.CaseFileViewFolderSortComponent, typeof i79.CaseFileViewFolderToggleComponent, typeof i80.CaseFileViewOverlayMenuComponent, typeof i81.CaseFileViewFolderDocumentActionsComponent, typeof i82.CaseFileViewFolderSelectorComponent, typeof i83.WriteDynamicMultiSelectListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i84.ReadDynamicMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i85.CaseFlagTableComponent, typeof i86.SelectFlagTypeComponent, typeof i87.SearchLanguageInterpreterComponent, typeof i88.SelectFlagLocationComponent, typeof i89.ManageCaseFlagsComponent, typeof i90.AddCommentsComponent, typeof i91.UpdateFlagComponent, typeof i92.CaseFlagSummaryListComponent, typeof i93.ConfirmFlagStatusComponent, typeof i94.UpdateFlagAddTranslationFormComponent, typeof i95.LinkedCasesToTableComponent, typeof i96.LinkedCasesFromTableComponent, typeof i97.BeforeYouStartComponent, typeof i98.LinkCasesComponent, typeof i99.CheckYourAnswersComponent, typeof i100.UnLinkCasesComponent, typeof i101.NoLinkedCasesComponent, typeof i102.ReadQueryManagementFieldComponent, typeof i103.QueryDetailsComponent, typeof i104.QueryListComponent, typeof i105.QueryWriteRespondToQueryComponent, typeof i106.QueryWriteRaiseQueryComponent, typeof i107.QueryCaseDetailsHeaderComponent, typeof i108.QueryCheckYourAnswersComponent, typeof i109.QueryWriteAddDocumentsComponent, typeof i110.QueryWriteDateInputComponent, typeof i111.QualifyingQuestionOptionsComponent, typeof i112.QualifyingQuestionDetailComponent, typeof i113.QueryAttachmentsReadComponent, typeof i114.QueryEventCompletionComponent, typeof i115.QueryConfirmationComponent, typeof i116.CloseQueryComponent, typeof i117.CaseEventCompletionComponent, typeof i118.CaseEventCompletionTaskCancelledComponent, typeof i119.CaseEventCompletionTaskReassignedComponent], [typeof i120.CommonModule, typeof i121.RouterModule, typeof i122.FormsModule, typeof i122.ReactiveFormsModule, typeof i123.CaseEditDataModule, typeof i124.PaletteUtilsModule, typeof i125.PipesModule, typeof i126.BannersModule, typeof i127.HeadersModule, typeof i128.FootersModule, typeof i129.BodyModule, typeof i130.FormModule, typeof i131.TabsModule, typeof i132.LabelSubstitutorModule, typeof i133.MarkdownModule, typeof i134.NgxMatDatetimePickerModule, typeof i134.NgxMatTimepickerModule, typeof i134.NgxMatNativeDateModule, typeof i135.MatLegacyFormFieldModule, typeof i136.MatLegacyInputModule, typeof i137.MatDatepickerModule, typeof i138.MatLegacyAutocompleteModule, typeof i139.CdkTreeModule, typeof i140.OverlayModule, typeof i141.PaymentLibModule, typeof i142.ScrollToModule, typeof i143.RpxTranslationModule, typeof i139.CdkTreeModule, typeof i140.OverlayModule, typeof i144.MatLegacyDialogModule, typeof i145.MediaViewerModule, typeof i146.LoadingModule, typeof i147.MarkdownComponentModule, typeof i148.ErrorsModule], [typeof i134.NgxMatDatetimePickerModule, typeof i134.NgxMatNativeDateModule, typeof i134.NgxMatTimepickerModule, typeof i131.TabsModule, typeof i124.PaletteUtilsModule, typeof i125.PipesModule, typeof i147.MarkdownComponentModule, typeof i10.UnsupportedFieldComponent, typeof i11.DatetimePickerComponent, typeof i12.WaysToPayFieldComponent, typeof i13.FieldReadComponent, typeof i14.FieldWriteComponent, typeof i15.FieldReadLabelComponent, typeof i16.LabelFieldComponent, typeof i17.CasePaymentHistoryViewerFieldComponent, typeof i18.MoneyGbpInputComponent, typeof i19.CaseHistoryViewerFieldComponent, typeof i20.EventLogComponent, typeof i21.EventLogDetailsComponent, typeof i22.EventLogTableComponent, typeof i23.ReadTextFieldComponent, typeof i24.ReadTextAreaFieldComponent, typeof i25.ReadNumberFieldComponent, typeof i26.ReadEmailFieldComponent, typeof i27.ReadPhoneUKFieldComponent, typeof i28.ReadDateFieldComponent, typeof i29.ReadCollectionFieldComponent, typeof i30.ReadDocumentFieldComponent, typeof i31.ReadJudicialUserFieldComponent, typeof i32.ReadYesNoFieldComponent, typeof i33.ReadOrganisationFieldComponent, typeof i34.ReadOrganisationFieldTableComponent, typeof i35.ReadOrganisationFieldRawComponent, typeof i36.ReadOrderSummaryFieldComponent, typeof i37.ReadOrderSummaryRowComponent, typeof i38.ReadMoneyGbpFieldComponent, typeof i39.ReadMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i41.ReadFixedListFieldComponent, typeof i42.ReadFixedRadioListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i44.ReadCaseLinkFieldComponent, typeof i45.ReadComplexFieldComponent, typeof i46.ReadComplexFieldRawComponent, typeof i47.ReadComplexFieldTableComponent, typeof i48.ReadComplexFieldCollectionTableComponent, typeof i49.ReadCaseFlagFieldComponent, typeof i50.ReadLinkedCasesFieldComponent, typeof i51.WriteJudicialUserFieldComponent, typeof i52.WriteAddressFieldComponent, typeof i53.WriteComplexFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i55.WriteDocumentFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i58.WriteTextFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i60.WriteTextAreaFieldComponent, typeof i61.WritePhoneUKFieldComponent, typeof i62.WriteNumberFieldComponent, typeof i63.WriteEmailFieldComponent, typeof i64.WriteDateFieldComponent, typeof i65.WriteCaseFlagFieldComponent, typeof i66.WriteLinkedCasesFieldComponent, typeof i67.WriteYesNoFieldComponent, typeof i68.WriteOrganisationFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i69.WriteOrderSummaryFieldComponent, typeof i70.WriteMoneyGbpFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i71.WriteMultiSelectListFieldComponent, typeof i72.WriteFixedListFieldComponent, typeof i73.WriteFixedRadioListFieldComponent, typeof i74.WriteCaseLinkFieldComponent, typeof i75.WriteCollectionFieldComponent, typeof i76.CaseFileViewFieldComponent, typeof i77.CaseFileViewFolderComponent, typeof i78.CaseFileViewFolderSortComponent, typeof i79.CaseFileViewFolderToggleComponent, typeof i80.CaseFileViewOverlayMenuComponent, typeof i81.CaseFileViewFolderDocumentActionsComponent, typeof i82.CaseFileViewFolderSelectorComponent, typeof i83.WriteDynamicMultiSelectListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i84.ReadDynamicMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i85.CaseFlagTableComponent, typeof i86.SelectFlagTypeComponent, typeof i87.SearchLanguageInterpreterComponent, typeof i88.SelectFlagLocationComponent, typeof i89.ManageCaseFlagsComponent, typeof i90.AddCommentsComponent, typeof i91.UpdateFlagComponent, typeof i92.CaseFlagSummaryListComponent, typeof i93.ConfirmFlagStatusComponent, typeof i94.UpdateFlagAddTranslationFormComponent, typeof i95.LinkedCasesToTableComponent, typeof i96.LinkedCasesFromTableComponent, typeof i97.BeforeYouStartComponent, typeof i98.LinkCasesComponent, typeof i99.CheckYourAnswersComponent, typeof i100.UnLinkCasesComponent, typeof i101.NoLinkedCasesComponent, typeof i102.ReadQueryManagementFieldComponent, typeof i103.QueryDetailsComponent, typeof i104.QueryListComponent, typeof i105.QueryWriteRespondToQueryComponent, typeof i106.QueryWriteRaiseQueryComponent, typeof i107.QueryCaseDetailsHeaderComponent, typeof i108.QueryCheckYourAnswersComponent, typeof i109.QueryWriteAddDocumentsComponent, typeof i110.QueryWriteDateInputComponent, typeof i111.QualifyingQuestionOptionsComponent, typeof i112.QualifyingQuestionDetailComponent, typeof i113.QueryAttachmentsReadComponent, typeof i114.QueryEventCompletionComponent, typeof i115.QueryConfirmationComponent, typeof i116.CloseQueryComponent, typeof i117.CaseEventCompletionComponent, typeof i118.CaseEventCompletionTaskCancelledComponent, typeof i119.CaseEventCompletionTaskReassignedComponent]>;
|
|
153
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaletteModule, [typeof i1.FixedListPipe, typeof i2.FixedRadioListPipe, typeof i3.DynamicListPipe, typeof i4.DynamicRadioListPipe, typeof i5.DocumentUrlPipe, typeof i6.FlagFieldDisplayPipe, typeof i7.LanguageInterpreterDisplayPipe, typeof i8.ManageCaseFlagsLabelDisplayPipe, typeof i9.UpdateFlagTitleDisplayPipe, typeof i10.UnsupportedFieldComponent, typeof i11.DatetimePickerComponent, typeof i12.WaysToPayFieldComponent, typeof i13.FieldReadComponent, typeof i14.FieldWriteComponent, typeof i15.FieldReadLabelComponent, typeof i16.LabelFieldComponent, typeof i17.CasePaymentHistoryViewerFieldComponent, typeof i18.MoneyGbpInputComponent, typeof i19.CaseHistoryViewerFieldComponent, typeof i20.EventLogComponent, typeof i21.EventLogDetailsComponent, typeof i22.EventLogTableComponent, typeof i23.ReadTextFieldComponent, typeof i24.ReadTextAreaFieldComponent, typeof i25.ReadNumberFieldComponent, typeof i26.ReadEmailFieldComponent, typeof i27.ReadPhoneUKFieldComponent, typeof i28.ReadDateFieldComponent, typeof i29.ReadCollectionFieldComponent, typeof i30.ReadDocumentFieldComponent, typeof i31.ReadJudicialUserFieldComponent, typeof i32.ReadYesNoFieldComponent, typeof i33.ReadOrganisationFieldComponent, typeof i34.ReadOrganisationFieldTableComponent, typeof i35.ReadOrganisationFieldRawComponent, typeof i36.ReadOrderSummaryFieldComponent, typeof i37.ReadOrderSummaryRowComponent, typeof i38.ReadMoneyGbpFieldComponent, typeof i39.ReadMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i41.ReadFixedListFieldComponent, typeof i42.ReadFixedRadioListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i44.ReadCaseLinkFieldComponent, typeof i45.ReadComplexFieldComponent, typeof i46.ReadComplexFieldRawComponent, typeof i47.ReadComplexFieldTableComponent, typeof i48.ReadComplexFieldCollectionTableComponent, typeof i49.ReadCaseFlagFieldComponent, typeof i50.ReadLinkedCasesFieldComponent, typeof i51.WriteJudicialUserFieldComponent, typeof i52.WriteAddressFieldComponent, typeof i53.WriteComplexFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i55.WriteDocumentFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i58.WriteTextFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i60.WriteTextAreaFieldComponent, typeof i61.WritePhoneUKFieldComponent, typeof i62.WriteNumberFieldComponent, typeof i63.WriteEmailFieldComponent, typeof i64.WriteDateFieldComponent, typeof i65.WriteCaseFlagFieldComponent, typeof i66.WriteLinkedCasesFieldComponent, typeof i67.WriteYesNoFieldComponent, typeof i68.WriteOrganisationFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i69.WriteOrderSummaryFieldComponent, typeof i70.WriteMoneyGbpFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i71.WriteMultiSelectListFieldComponent, typeof i72.WriteFixedListFieldComponent, typeof i73.WriteFixedRadioListFieldComponent, typeof i74.WriteCaseLinkFieldComponent, typeof i75.WriteCollectionFieldComponent, typeof i76.CaseFileViewFieldComponent, typeof i77.CaseFileViewFolderComponent, typeof i78.CaseFileViewFolderSortComponent, typeof i79.CaseFileViewFolderToggleComponent, typeof i80.CaseFileViewOverlayMenuComponent, typeof i81.CaseFileViewFolderDocumentActionsComponent, typeof i82.CaseFileViewFolderSelectorComponent, typeof i83.WriteDynamicMultiSelectListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i84.ReadDynamicMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i85.CaseFlagTableComponent, typeof i86.SelectFlagTypeComponent, typeof i87.SearchLanguageInterpreterComponent, typeof i88.SelectFlagLocationComponent, typeof i89.ManageCaseFlagsComponent, typeof i90.AddCommentsComponent, typeof i91.UpdateFlagComponent, typeof i92.CaseFlagSummaryListComponent, typeof i93.ConfirmFlagStatusComponent, typeof i94.UpdateFlagAddTranslationFormComponent, typeof i95.LinkedCasesToTableComponent, typeof i96.LinkedCasesFromTableComponent, typeof i97.BeforeYouStartComponent, typeof i98.LinkCasesComponent, typeof i99.CheckYourAnswersComponent, typeof i100.UnLinkCasesComponent, typeof i101.NoLinkedCasesComponent, typeof i102.ReadQueryManagementFieldComponent, typeof i103.QueryDetailsComponent, typeof i104.QueryListComponent, typeof i105.QueryWriteRespondToQueryComponent, typeof i106.QueryWriteRaiseQueryComponent, typeof i107.QueryCaseDetailsHeaderComponent, typeof i108.QueryCheckYourAnswersComponent, typeof i109.QueryWriteAddDocumentsComponent, typeof i110.QueryWriteDateInputComponent, typeof i111.QualifyingQuestionOptionsComponent, typeof i112.QualifyingQuestionDetailComponent, typeof i113.QueryAttachmentsReadComponent, typeof i114.QueryEventCompletionComponent, typeof i115.QueryConfirmationComponent, typeof i116.CloseQueryComponent, typeof i117.CaseEventCompletionComponent, typeof i118.CaseEventCompletionTaskCancelledComponent, typeof i119.CaseEventCompletionTaskReassignedComponent], [typeof i120.CommonModule, typeof i121.RouterModule, typeof i122.FormsModule, typeof i122.ReactiveFormsModule, typeof i123.CaseEditDataModule, typeof i124.PaletteUtilsModule, typeof i125.PipesModule, typeof i126.BannersModule, typeof i127.HeadersModule, typeof i128.FootersModule, typeof i129.BodyModule, typeof i130.FormModule, typeof i131.TabsModule, typeof i132.LabelSubstitutorModule, typeof i133.TranslatedMarkdownModule, typeof i134.MarkdownModule, typeof i135.NgxMatDatetimePickerModule, typeof i135.NgxMatTimepickerModule, typeof i135.NgxMatNativeDateModule, typeof i136.MatLegacyFormFieldModule, typeof i137.MatLegacyInputModule, typeof i138.MatDatepickerModule, typeof i139.MatLegacyAutocompleteModule, typeof i140.CdkTreeModule, typeof i141.OverlayModule, typeof i142.PaymentLibModule, typeof i143.ScrollToModule, typeof i144.RpxTranslationModule, typeof i140.CdkTreeModule, typeof i141.OverlayModule, typeof i145.MatLegacyDialogModule, typeof i146.MediaViewerModule, typeof i147.LoadingModule, typeof i148.MarkdownComponentModule, typeof i149.ErrorsModule], [typeof i135.NgxMatDatetimePickerModule, typeof i135.NgxMatNativeDateModule, typeof i135.NgxMatTimepickerModule, typeof i131.TabsModule, typeof i124.PaletteUtilsModule, typeof i125.PipesModule, typeof i148.MarkdownComponentModule, typeof i10.UnsupportedFieldComponent, typeof i11.DatetimePickerComponent, typeof i12.WaysToPayFieldComponent, typeof i13.FieldReadComponent, typeof i14.FieldWriteComponent, typeof i15.FieldReadLabelComponent, typeof i16.LabelFieldComponent, typeof i17.CasePaymentHistoryViewerFieldComponent, typeof i18.MoneyGbpInputComponent, typeof i19.CaseHistoryViewerFieldComponent, typeof i20.EventLogComponent, typeof i21.EventLogDetailsComponent, typeof i22.EventLogTableComponent, typeof i23.ReadTextFieldComponent, typeof i24.ReadTextAreaFieldComponent, typeof i25.ReadNumberFieldComponent, typeof i26.ReadEmailFieldComponent, typeof i27.ReadPhoneUKFieldComponent, typeof i28.ReadDateFieldComponent, typeof i29.ReadCollectionFieldComponent, typeof i30.ReadDocumentFieldComponent, typeof i31.ReadJudicialUserFieldComponent, typeof i32.ReadYesNoFieldComponent, typeof i33.ReadOrganisationFieldComponent, typeof i34.ReadOrganisationFieldTableComponent, typeof i35.ReadOrganisationFieldRawComponent, typeof i36.ReadOrderSummaryFieldComponent, typeof i37.ReadOrderSummaryRowComponent, typeof i38.ReadMoneyGbpFieldComponent, typeof i39.ReadMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i41.ReadFixedListFieldComponent, typeof i42.ReadFixedRadioListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i44.ReadCaseLinkFieldComponent, typeof i45.ReadComplexFieldComponent, typeof i46.ReadComplexFieldRawComponent, typeof i47.ReadComplexFieldTableComponent, typeof i48.ReadComplexFieldCollectionTableComponent, typeof i49.ReadCaseFlagFieldComponent, typeof i50.ReadLinkedCasesFieldComponent, typeof i51.WriteJudicialUserFieldComponent, typeof i52.WriteAddressFieldComponent, typeof i53.WriteComplexFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i55.WriteDocumentFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i58.WriteTextFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i60.WriteTextAreaFieldComponent, typeof i61.WritePhoneUKFieldComponent, typeof i62.WriteNumberFieldComponent, typeof i63.WriteEmailFieldComponent, typeof i64.WriteDateFieldComponent, typeof i65.WriteCaseFlagFieldComponent, typeof i66.WriteLinkedCasesFieldComponent, typeof i67.WriteYesNoFieldComponent, typeof i68.WriteOrganisationFieldComponent, typeof i54.WriteOrganisationComplexFieldComponent, typeof i69.WriteOrderSummaryFieldComponent, typeof i70.WriteMoneyGbpFieldComponent, typeof i59.WriteDateContainerFieldComponent, typeof i71.WriteMultiSelectListFieldComponent, typeof i72.WriteFixedListFieldComponent, typeof i73.WriteFixedRadioListFieldComponent, typeof i74.WriteCaseLinkFieldComponent, typeof i75.WriteCollectionFieldComponent, typeof i76.CaseFileViewFieldComponent, typeof i77.CaseFileViewFolderComponent, typeof i78.CaseFileViewFolderSortComponent, typeof i79.CaseFileViewFolderToggleComponent, typeof i80.CaseFileViewOverlayMenuComponent, typeof i81.CaseFileViewFolderDocumentActionsComponent, typeof i82.CaseFileViewFolderSelectorComponent, typeof i83.WriteDynamicMultiSelectListFieldComponent, typeof i57.WriteDynamicRadioListFieldComponent, typeof i56.WriteDynamicListFieldComponent, typeof i84.ReadDynamicMultiSelectListFieldComponent, typeof i40.ReadDynamicListFieldComponent, typeof i43.ReadDynamicRadioListFieldComponent, typeof i85.CaseFlagTableComponent, typeof i86.SelectFlagTypeComponent, typeof i87.SearchLanguageInterpreterComponent, typeof i88.SelectFlagLocationComponent, typeof i89.ManageCaseFlagsComponent, typeof i90.AddCommentsComponent, typeof i91.UpdateFlagComponent, typeof i92.CaseFlagSummaryListComponent, typeof i93.ConfirmFlagStatusComponent, typeof i94.UpdateFlagAddTranslationFormComponent, typeof i95.LinkedCasesToTableComponent, typeof i96.LinkedCasesFromTableComponent, typeof i97.BeforeYouStartComponent, typeof i98.LinkCasesComponent, typeof i99.CheckYourAnswersComponent, typeof i100.UnLinkCasesComponent, typeof i101.NoLinkedCasesComponent, typeof i102.ReadQueryManagementFieldComponent, typeof i103.QueryDetailsComponent, typeof i104.QueryListComponent, typeof i105.QueryWriteRespondToQueryComponent, typeof i106.QueryWriteRaiseQueryComponent, typeof i107.QueryCaseDetailsHeaderComponent, typeof i108.QueryCheckYourAnswersComponent, typeof i109.QueryWriteAddDocumentsComponent, typeof i110.QueryWriteDateInputComponent, typeof i111.QualifyingQuestionOptionsComponent, typeof i112.QualifyingQuestionDetailComponent, typeof i113.QueryAttachmentsReadComponent, typeof i114.QueryEventCompletionComponent, typeof i115.QueryConfirmationComponent, typeof i116.CloseQueryComponent, typeof i117.CaseEventCompletionComponent, typeof i118.CaseEventCompletionTaskCancelledComponent, typeof i119.CaseEventCompletionTaskReassignedComponent]>;
|
|
153
154
|
static ɵinj: i0.ɵɵInjectorDeclaration<PaletteModule>;
|
|
154
155
|
}
|
|
155
156
|
//# sourceMappingURL=palette.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"palette.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+RA,qBAgFa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC"}
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { RpxTranslationService } from 'rpx-xui-translation';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @directive TranslatedMarkdownDirective
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* Structural directive that emits language-appropriate markdown content based on the user's UI language.
|
|
9
|
+
* It is designed for service-supplied content that optionally includes a Welsh (`markdown_cy`) version.
|
|
10
|
+
*
|
|
11
|
+
* The directive:
|
|
12
|
+
* - Emits `markdown_cy` if the UI language is Welsh and the field exists
|
|
13
|
+
* - Emits `markdown` otherwise (no translation is applied within the directive)
|
|
14
|
+
* - Leaves it up to the consuming template to apply fallback translation (e.g. via `rpxTranslate`)
|
|
15
|
+
*
|
|
16
|
+
* This allows cleaner templates and better separation of content choice vs. translation logic.
|
|
17
|
+
*
|
|
18
|
+
* @usage
|
|
19
|
+
* ```html
|
|
20
|
+
* <div *ngFor="let qq of qualifyingQuestions">
|
|
21
|
+
* <ng-container *translatedMarkdown="qq; let content">
|
|
22
|
+
* <markdown [data]="qq ? content : (qq.markdown | rpxTranslate)"></markdown>
|
|
23
|
+
* </ng-container>
|
|
24
|
+
* </div>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @input dataItem - An object expected to contain:
|
|
28
|
+
* - `markdown` (string): the default English content
|
|
29
|
+
* - `markdown_cy` (string | optional): the Welsh version of the content
|
|
30
|
+
* - Any additional metadata used in context
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* // --- LaunchDarkly JSON format ---
|
|
34
|
+
* {
|
|
35
|
+
* "UNSPEC_CLAIM": [
|
|
36
|
+
* {
|
|
37
|
+
* "name": "Raise a query",
|
|
38
|
+
* "url": "http://...",
|
|
39
|
+
* "markdown": "### Raise a query\nUse this to raise a new query.",
|
|
40
|
+
* "markdown_cy": "### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd."
|
|
41
|
+
* }
|
|
42
|
+
* ]
|
|
43
|
+
* }
|
|
44
|
+
*
|
|
45
|
+
* // --- Input object in component after processing ---
|
|
46
|
+
* const dataItem = {
|
|
47
|
+
* name: 'Raise a query',
|
|
48
|
+
* url: 'http://...',
|
|
49
|
+
* markdown: '### Raise a query\nUse this to raise a new query.',
|
|
50
|
+
* markdown_cy: '### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd.'
|
|
51
|
+
* };
|
|
52
|
+
*
|
|
53
|
+
* // --- Template usage ---
|
|
54
|
+
* <ng-container *translatedMarkdown="dataItem; let content">
|
|
55
|
+
* <markdown [data]="dataItem ? content : (dataItem.markdown | rpxTranslate)"></markdown>
|
|
56
|
+
* </ng-container>
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* @directive TranslatedMarkdownDirective
|
|
60
|
+
*
|
|
61
|
+
* Renders Welsh markdown (`markdown_cy`) if the UI language is Welsh,
|
|
62
|
+
* otherwise uses English (`markdown`). Reactively updates when the language changes.
|
|
63
|
+
*/
|
|
64
|
+
export declare class TranslatedMarkdownDirective implements OnInit, OnDestroy {
|
|
65
|
+
private viewContainer;
|
|
66
|
+
private templateRef;
|
|
67
|
+
private translationService;
|
|
68
|
+
dataItem: any;
|
|
69
|
+
private subscription;
|
|
70
|
+
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<any>, translationService: RpxTranslationService);
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatedMarkdownDirective, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslatedMarkdownDirective, "[translatedMarkdown]", never, { "dataItem": { "alias": "translatedMarkdown"; "required": false; }; }, {}, never, never, false, never>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=welsh-translated-markdown.directive.d.ts.map
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"welsh-translated-markdown.directive.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,MAAM,EACN,WAAW,EACX,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;;AAG5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH;;;;;GAKG;AACH,qBAGa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAMjE,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,kBAAkB;IAPC,QAAQ,EAAE,GAAG,CAAC;IAE3C,OAAO,CAAC,YAAY,CAAe;gBAGzB,aAAa,EAAE,gBAAgB,EAC/B,WAAW,EAAE,WAAW,CAAC,GAAG,CAAC,EAC7B,kBAAkB,EAAE,qBAAqB;IAGnD,QAAQ,IAAI,IAAI;IAgBhB,WAAW,IAAI,IAAI;yCA3BR,2BAA2B;2CAA3B,2BAA2B;CA8BvC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./welsh-translated-markdown.directive";
|
|
3
|
+
export declare class TranslatedMarkdownModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslatedMarkdownModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TranslatedMarkdownModule, [typeof i1.TranslatedMarkdownDirective], never, [typeof i1.TranslatedMarkdownDirective]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TranslatedMarkdownModule>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=welsh-translated-markdown.module.d.ts.map
|
package/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"welsh-translated-markdown.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/welsh-translated-markdown/welsh-translated-markdown.module.ts"],"names":[],"mappings":";;AAGA,qBAQa,wBAAwB;yCAAxB,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CAAG"}
|