@hmcts/ccd-case-ui-toolkit 7.2.0 → 7.2.2-exui-1832-rc1
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/shared/components/palette/base-field/field-write.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +2 -2
- 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 +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.mjs +48 -0
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +44 -32
- package/esm2022/lib/shared/components/palette/case-file-view/components/index.mjs +2 -1
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +16 -17
- package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +46 -21
- package/esm2022/lib/shared/components/palette/palette.module.mjs +6 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +164 -126
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +33 -31
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +5 -5
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +8 -4
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +33 -5
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +3 -3
- package/esm2022/lib/shared/services/addresses/address-parser.mjs +3 -2
- package/esm2022/lib/shared/services/addresses/country-language.enum.mjs +6 -0
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +411 -255
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.d.ts +15 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +2 -0
- 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/case-file-view/components/index.d.ts +1 -0
- package/lib/shared/components/palette/case-file-view/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +5 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +69 -68
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +6 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts +4 -1
- package/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/lib/shared/services/addresses/address-parser.d.ts.map +1 -1
- package/lib/shared/services/addresses/country-language.enum.d.ts +5 -0
- package/lib/shared/services/addresses/country-language.enum.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ import { MatDialogConfig } from '@angular/material/dialog';
|
|
|
27
27
|
import * as i2 from '@nicky-lenaers/ngx-scroll-to';
|
|
28
28
|
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';
|
|
29
29
|
import * as marked from 'marked';
|
|
30
|
-
import * as
|
|
30
|
+
import * as i2$1 from 'ngx-markdown';
|
|
31
31
|
import { MarkdownModule } from 'ngx-markdown';
|
|
32
32
|
import * as i6 from '@angular/material/legacy-autocomplete';
|
|
33
33
|
import { MatLegacyAutocompleteModule } from '@angular/material/legacy-autocomplete';
|
|
@@ -36,7 +36,7 @@ import { MAT_LEGACY_DATE_LOCALE } from '@angular/material/legacy-core';
|
|
|
36
36
|
import * as i3 from '@hmcts/ccpay-web-component';
|
|
37
37
|
import { PaymentLibModule } from '@hmcts/ccpay-web-component';
|
|
38
38
|
import { v4 } from 'uuid';
|
|
39
|
-
import * as i2$
|
|
39
|
+
import * as i2$2 from '@angular/cdk/overlay';
|
|
40
40
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
41
41
|
import * as i7$1 from '@angular/cdk/tree';
|
|
42
42
|
import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
@@ -53,7 +53,7 @@ import { MatLegacyInputModule } from '@angular/material/legacy-input';
|
|
|
53
53
|
import * as i14 from '@hmcts/media-viewer';
|
|
54
54
|
import { MediaViewerModule } from '@hmcts/media-viewer';
|
|
55
55
|
import { PortalModule } from '@angular/cdk/portal';
|
|
56
|
-
import * as i2$
|
|
56
|
+
import * as i2$3 from 'ngx-pagination';
|
|
57
57
|
import { NgxPaginationModule, PaginatePipe } from 'ngx-pagination';
|
|
58
58
|
import * as i10 from '@angular/material/legacy-tabs';
|
|
59
59
|
import { MatLegacyTabsModule } from '@angular/material/legacy-tabs';
|
|
@@ -6772,6 +6772,12 @@ var AddressType;
|
|
|
6772
6772
|
AddressType["RD06"] = "RD06";
|
|
6773
6773
|
})(AddressType || (AddressType = {}));
|
|
6774
6774
|
|
|
6775
|
+
var CountryLanguage;
|
|
6776
|
+
(function (CountryLanguage) {
|
|
6777
|
+
CountryLanguage["EN"] = "United Kingdom";
|
|
6778
|
+
CountryLanguage["CY"] = "Deyrnas Unedig";
|
|
6779
|
+
})(CountryLanguage || (CountryLanguage = {}));
|
|
6780
|
+
|
|
6775
6781
|
/**
|
|
6776
6782
|
* Moving all this logic here into Address Parser class, so that it
|
|
6777
6783
|
* will be easier for us when we move this parsing logic to into
|
|
@@ -6786,7 +6792,7 @@ class AddressParser {
|
|
|
6786
6792
|
addressModel.AddressLine3 = this.parseAddressLine3(classification, address);
|
|
6787
6793
|
addressModel.PostCode = address.POSTCODE;
|
|
6788
6794
|
addressModel.PostTown = address.POST_TOWN;
|
|
6789
|
-
addressModel.Country =
|
|
6795
|
+
addressModel.Country = (address.LANGUAGE?.toUpperCase() === 'CY' && address.COUNTRY_CODE?.toUpperCase() === 'W') ? CountryLanguage.CY : CountryLanguage.EN;
|
|
6790
6796
|
return addressModel;
|
|
6791
6797
|
}
|
|
6792
6798
|
parseAddressLine1(classification, address) {
|
|
@@ -12990,7 +12996,7 @@ class CaseFileViewFieldComponent {
|
|
|
12990
12996
|
}
|
|
12991
12997
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFieldComponent, [{
|
|
12992
12998
|
type: Component,
|
|
12993
|
-
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder\n
|
|
12999
|
+
args: [{ selector: 'ccd-case-file-view-field', template: "<ng-container *ngIf=\"errorMessages?.length\">\n <div\n id=\"case-file-view-field-errors\"\n class=\"govuk-error-summary govuk-!-margin-bottom-4\"\n data-module=\"govuk-error-summary\"\n >\n <div role=\"alert\">\n <h2 class=\"govuk-error-summary__title\">There is a problem</h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a href=\"javascript:void(0);\">{{ errorMessage }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"getCategoriesAndDocumentsError\"\n class=\"govuk-grid-column-two-thirds\"\n>\n <h1 class=\"govuk-heading-xl\">Sorry, there is a problem with the service</h1>\n <p class=\"govuk-body\">Try again later.</p>\n</div>\n<div *ngIf=\"!getCategoriesAndDocumentsError\">\n <h2 class=\"govuk-heading-l\">Case file</h2>\n <div class=\"govuk-form-group\" id=\"case-file-view\">\n <!-- Document tree -->\n <div class=\"document-tree-container\">\n <ccd-case-file-view-folder \n class=\"document-tree-container__tree\"\n [categoriesAndDocuments]=\"categoriesAndDocuments$\"\n (clickedDocument)=\"setMediaViewerFile($event); resetErrorMessages()\" \n (moveDocument)=\"moveDocument($event)\"\n [allowMoving]=\"allowMoving\">\n </ccd-case-file-view-folder>\n </div>\n <!-- Slider -->\n <div class=\"slider\"></div>\n <!-- Media viewer -->\n <div class=\"media-viewer-container\">\n <ng-container *ngIf=\"currentDocument\">\n <mv-media-viewer\n [url]=\"currentDocument.document_binary_url\"\n [downloadFileName]=\"currentDocument.document_filename\"\n [showToolbar]=\"true\"\n [contentType]=\"currentDocument.content_type\"\n [enableAnnotations]=\"true\"\n [enableRedactions]=\"true\"\n [height]=\"'94.5vh'\"\n [caseId]=\"caseId\"\n [multimediaPlayerEnabled]=\"true\"\n [enableICP]=\"isIcpEnabled()\"\n >\n </mv-media-viewer>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: ["#case-file-view{display:flex;border:2px solid #C9C9C9;height:100vh;position:relative}#case-file-view .document-tree-container{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view .slider{width:.2%;background-color:#6b6b6b}#case-file-view .slider:hover,#case-file-view .slider:focus{cursor:col-resize}#case-file-view .media-viewer-container{background-color:#dee0e2;flex:1 1 0;overflow:hidden}\n"] }]
|
|
12994
13000
|
}], () => [{ type: i0.ElementRef }, { type: i1$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }, { type: CaseNotifier }, { type: AbstractAppConfig }], null); })();
|
|
12995
13001
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFieldComponent, { className: "CaseFileViewFieldComponent", filePath: "lib/shared/components/palette/case-file-view/case-file-view-field.component.ts", lineNumber: 17 }); })();
|
|
12996
13002
|
|
|
@@ -14364,17 +14370,16 @@ class RemoveDialogComponent {
|
|
|
14364
14370
|
|
|
14365
14371
|
const _c0$S = ["collectionItem"];
|
|
14366
14372
|
function WriteCollectionFieldComponent_h2_8_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
14367
|
-
i0.ɵɵelementStart(0, "span", 10)
|
|
14368
|
-
i0.ɵɵ
|
|
14369
|
-
i0.ɵɵ
|
|
14370
|
-
i0.ɵɵelementEnd()();
|
|
14373
|
+
i0.ɵɵelementStart(0, "span", 10);
|
|
14374
|
+
i0.ɵɵelement(1, "ccd-markdown", 11);
|
|
14375
|
+
i0.ɵɵelementEnd();
|
|
14371
14376
|
} if (rf & 2) {
|
|
14372
14377
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
14373
|
-
i0.ɵɵadvance(
|
|
14374
|
-
i0.ɵɵ
|
|
14378
|
+
i0.ɵɵadvance();
|
|
14379
|
+
i0.ɵɵproperty("content", ctx_r0.caseField.hint_text);
|
|
14375
14380
|
} }
|
|
14376
14381
|
function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
14377
|
-
i0.ɵɵelementStart(0, "span",
|
|
14382
|
+
i0.ɵɵelementStart(0, "span", 12);
|
|
14378
14383
|
i0.ɵɵtext(1);
|
|
14379
14384
|
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14380
14385
|
i0.ɵɵelementEnd();
|
|
@@ -14385,7 +14390,7 @@ function WriteCollectionFieldComponent_h2_8_span_2_Template(rf, ctx) { if (rf &
|
|
|
14385
14390
|
} }
|
|
14386
14391
|
function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
14387
14392
|
i0.ɵɵelementStart(0, "h2", 3);
|
|
14388
|
-
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template,
|
|
14393
|
+
i0.ɵɵtemplate(1, WriteCollectionFieldComponent_h2_8_span_1_Template, 2, 1, "span", 8)(2, WriteCollectionFieldComponent_h2_8_span_2_Template, 3, 4, "span", 9);
|
|
14389
14394
|
i0.ɵɵelementEnd();
|
|
14390
14395
|
} if (rf & 2) {
|
|
14391
14396
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14396,16 +14401,16 @@ function WriteCollectionFieldComponent_h2_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
14396
14401
|
} }
|
|
14397
14402
|
function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
14398
14403
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
14399
|
-
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div",
|
|
14404
|
+
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 16)(3, "div", 17)(4, "legend", 18)(5, "label", 19)(6, "h3", 20);
|
|
14400
14405
|
i0.ɵɵtext(7);
|
|
14401
14406
|
i0.ɵɵpipe(8, "rpxTranslate");
|
|
14402
14407
|
i0.ɵɵelementEnd()()()();
|
|
14403
|
-
i0.ɵɵelementStart(9, "div",
|
|
14408
|
+
i0.ɵɵelementStart(9, "div", 21)(10, "button", 22);
|
|
14404
14409
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_div_9_div_2_Template_button_click_10_listener() { const i_r3 = i0.ɵɵrestoreView(_r2).index; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.openModal(i_r3)); });
|
|
14405
14410
|
i0.ɵɵtext(11);
|
|
14406
14411
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
14407
14412
|
i0.ɵɵelementEnd()()();
|
|
14408
|
-
i0.ɵɵelement(13, "ccd-field-write",
|
|
14413
|
+
i0.ɵɵelement(13, "ccd-field-write", 23);
|
|
14409
14414
|
i0.ɵɵelementEnd();
|
|
14410
14415
|
} if (rf & 2) {
|
|
14411
14416
|
const item_r4 = ctx.$implicit;
|
|
@@ -14425,8 +14430,8 @@ function WriteCollectionFieldComponent_div_9_div_2_Template(rf, ctx) { if (rf &
|
|
|
14425
14430
|
i0.ɵɵproperty("caseField", item_r4.caseField)("caseFields", ctx_r0.caseFields)("formGroup", ctx_r0.formGroup)("parent", item_r4.container)("idPrefix", item_r4.prefix)("hidden", item_r4.caseField.hidden)("isExpanded", ctx_r0.isExpanded)("isInSearchBlock", ctx_r0.isInSearchBlock);
|
|
14426
14431
|
} }
|
|
14427
14432
|
function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
14428
|
-
i0.ɵɵelementStart(0, "div",
|
|
14429
|
-
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div",
|
|
14433
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "fieldset", 14);
|
|
14434
|
+
i0.ɵɵtemplate(2, WriteCollectionFieldComponent_div_9_div_2_Template, 14, 19, "div", 15);
|
|
14430
14435
|
i0.ɵɵelementEnd()();
|
|
14431
14436
|
} if (rf & 2) {
|
|
14432
14437
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -14436,7 +14441,7 @@ function WriteCollectionFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
14436
14441
|
} }
|
|
14437
14442
|
function WriteCollectionFieldComponent_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
14438
14443
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14439
|
-
i0.ɵɵelementStart(0, "button",
|
|
14444
|
+
i0.ɵɵelementStart(0, "button", 24);
|
|
14440
14445
|
i0.ɵɵlistener("click", function WriteCollectionFieldComponent_button_10_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.addItem(false)); });
|
|
14441
14446
|
i0.ɵɵtext(1);
|
|
14442
14447
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -14754,7 +14759,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14754
14759
|
} if (rf & 2) {
|
|
14755
14760
|
let _t;
|
|
14756
14761
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
14757
|
-
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 11, consts: [["collectionItem", ""], [1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "click", "disabled"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [1, "error-message"], [1, "form-group", 3, "hidden"], [1, "govuk-fieldset"], ["class", "form-group", 3, "id", 4, "ngFor", "ngForOf"], [1, "collection-title"], [1, "float-left"], [1, "govuk-fieldset__legend"], [3, "for"], [1, "heading-h3"], [1, "float-right"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"], ["type", "button", 1, "button", "write-collection-add-item__bottom", 3, "click", "disabled"]], template: function WriteCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14762
|
+
} }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 11, consts: [["collectionItem", ""], [1, "form-group", 3, "id"], [1, "panel", "collection-indicator"], [1, "heading-h2", "error-spacing"], ["type", "button", 1, "button", "write-collection-add-item__top", 3, "click", "disabled"], ["class", "heading-h2 error-spacing", 4, "ngIf"], ["class", "form-group", 3, "hidden", 4, "ngIf"], ["class", "button write-collection-add-item__bottom", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-hint"], [3, "content"], [1, "error-message"], [1, "form-group", 3, "hidden"], [1, "govuk-fieldset"], ["class", "form-group", 3, "id", 4, "ngFor", "ngForOf"], [1, "collection-title"], [1, "float-left"], [1, "govuk-fieldset__legend"], [3, "for"], [1, "heading-h3"], [1, "float-right"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"], ["type", "button", 1, "button", "write-collection-add-item__bottom", 3, "click", "disabled"]], template: function WriteCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14758
14763
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
|
|
14759
14764
|
i0.ɵɵtext(3);
|
|
14760
14765
|
i0.ɵɵpipe(4, "ccdFieldLabel");
|
|
@@ -14784,7 +14789,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14784
14789
|
}
|
|
14785
14790
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCollectionFieldComponent, [{
|
|
14786
14791
|
type: Component,
|
|
14787
|
-
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <markdown
|
|
14792
|
+
args: [{ selector: 'ccd-write-collection-field', template: "<div class=\"form-group\" [id]=\"id()\">\n\n <div class=\"panel collection-indicator\">\n\n <h2 class=\"heading-h2 error-spacing\">\n {{(caseField | ccdFieldLabel)}}\n </h2>\n <button class=\"button write-collection-add-item__top\" type=\"button\" (click)=\"addItem(true)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\">{{'Add new' | rpxTranslate}}</button>\n <h2 class=\"heading-h2 error-spacing\" *ngIf=\"caseField.hint_text || formArray.errors\">\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">\n <ccd-markdown [content]=\"caseField.hint_text\"></ccd-markdown>\n </span>\n <span *ngIf=\"formArray.errors\" class=\"error-message\">\n {{(formArray.errors | ccdFirstError:caseField.label)}}\n </span>\n </h2>\n\n <div class=\"form-group\" [hidden]=\"caseField.hidden\" *ngIf=\"caseField.value && caseField.value.length\">\n <fieldset class=\"govuk-fieldset\">\n <div *ngFor=\"let item of collItems; let i = index\" #collectionItem\n [id]=\"this.buildIdPrefix(i) + i\" class=\"form-group\">\n <div class=\"collection-title\">\n <div class=\"float-left\">\n <legend class=\"govuk-fieldset__legend\">\n <label [for]=\"item.prefix + i\"><h3 class=\"heading-h3\">{{itemLabel(i) | rpxTranslate}}</h3></label>\n </legend>\n </div>\n <div class=\"float-right\">\n <button class=\"button button-secondary\" type=\"button\" (click)=\"openModal(i)\"\n [disabled]=\"isNotAuthorisedToDelete(i)\"\n attr.aria-label=\"Remove {{ itemLabel(i) }}\">{{'Remove' | rpxTranslate}}</button>\n </div>\n </div>\n <ccd-field-write [caseField]=\"item.caseField\"\n [caseFields]=\"caseFields\"\n [formGroup]=\"formGroup\"\n [parent]=\"item.container\"\n [idPrefix]=\"item.prefix\"\n [hidden]=\"item.caseField.hidden\"\n [isExpanded]=\"isExpanded\"\n [isInSearchBlock]=\"isInSearchBlock\">\n </ccd-field-write>\n </div>\n </fieldset>\n </div>\n\n <button class=\"button write-collection-add-item__bottom\" type=\"button\" (click)=\"addItem(false)\" [disabled]=\"isNotAuthorisedToCreate() || isSearchFilter()\" *ngIf=\"caseField.value && caseField.value.length\">{{'Add new' | rpxTranslate }}</button>\n\n </div>\n\n</div>\n", styles: [".collection-field-table tr:first-child>td{padding-top:0}.collection-field-table tr:last-child>td{border-bottom:none}.collection-field-table td.collection-actions{width:1px;white-space:nowrap}.error-spacing{margin-top:10px}.collection-title{height:51px}.float-left{float:left;padding-top:8px}.float-right{float:right}.complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th,.complex-panel .complex-panel-table>tbody>tr:last-child>td{border-bottom:none}.complex-panel .complex-panel-simple-field th{padding-left:5px;width:295px}.complex-panel .complex-panel-compound-field td{padding:5px}.collection-indicator{border-left:solid 5px #b1b4b6}\n"] }]
|
|
14788
14793
|
}], () => [{ type: i1$3.MatLegacyDialog }, { type: i2.ScrollToService }, { type: ProfileNotifier }, { type: i0.ChangeDetectorRef }], { caseFields: [{
|
|
14789
14794
|
type: Input
|
|
14790
14795
|
}], items: [{
|
|
@@ -15066,7 +15071,7 @@ class FileUploadStateService {
|
|
|
15066
15071
|
const _c0$R = ["fileInput"];
|
|
15067
15072
|
const _c1$l = a0 => ({ "form-group-error bottom-30": a0 });
|
|
15068
15073
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
15069
|
-
i0.ɵɵelementStart(0, "span",
|
|
15074
|
+
i0.ɵɵelementStart(0, "span", 15)(1, "markdown");
|
|
15070
15075
|
i0.ɵɵtext(2);
|
|
15071
15076
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
15072
15077
|
i0.ɵɵelementEnd()();
|
|
@@ -15076,7 +15081,7 @@ function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
15076
15081
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, ctx_r1.caseField.hint_text));
|
|
15077
15082
|
} }
|
|
15078
15083
|
function WriteDocumentFieldComponent_ccd_read_document_field_11_Template(rf, ctx) { if (rf & 1) {
|
|
15079
|
-
i0.ɵɵelement(0, "ccd-read-document-field",
|
|
15084
|
+
i0.ɵɵelement(0, "ccd-read-document-field", 16);
|
|
15080
15085
|
} if (rf & 2) {
|
|
15081
15086
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
15082
15087
|
i0.ɵɵproperty("caseField", ctx_r1.caseField);
|
|
@@ -15088,6 +15093,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15088
15093
|
dialog;
|
|
15089
15094
|
fileUploadStateService;
|
|
15090
15095
|
jurisdictionService;
|
|
15096
|
+
rpxTranslationService;
|
|
15091
15097
|
static DOCUMENT_URL = 'document_url';
|
|
15092
15098
|
static DOCUMENT_BINARY_URL = 'document_binary_url';
|
|
15093
15099
|
static DOCUMENT_FILENAME = 'document_filename';
|
|
@@ -15098,6 +15104,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15098
15104
|
static UPLOAD_ERROR_INVALID_FORMAT = 'Document format is not supported';
|
|
15099
15105
|
static UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
15100
15106
|
static ERROR_UPLOADING_FILE = 'Error Uploading File';
|
|
15107
|
+
static NO_FILE_CHOSED = 'No file chosen';
|
|
15101
15108
|
fileInput;
|
|
15102
15109
|
selectedFile;
|
|
15103
15110
|
valid = true;
|
|
@@ -15109,12 +15116,13 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15109
15116
|
dialogSubscription;
|
|
15110
15117
|
caseNotifierSubscription;
|
|
15111
15118
|
jurisdictionSubs;
|
|
15119
|
+
fileName = WriteDocumentFieldComponent.NO_FILE_CHOSED;
|
|
15112
15120
|
uploadedDocument;
|
|
15113
15121
|
dialogConfig;
|
|
15114
15122
|
secureModeOn;
|
|
15115
15123
|
jurisdictionId;
|
|
15116
15124
|
caseTypeId;
|
|
15117
|
-
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService) {
|
|
15125
|
+
constructor(appConfig, caseNotifier, documentManagement, dialog, fileUploadStateService, jurisdictionService, rpxTranslationService) {
|
|
15118
15126
|
super();
|
|
15119
15127
|
this.appConfig = appConfig;
|
|
15120
15128
|
this.caseNotifier = caseNotifier;
|
|
@@ -15122,9 +15130,15 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15122
15130
|
this.dialog = dialog;
|
|
15123
15131
|
this.fileUploadStateService = fileUploadStateService;
|
|
15124
15132
|
this.jurisdictionService = jurisdictionService;
|
|
15133
|
+
this.rpxTranslationService = rpxTranslationService;
|
|
15125
15134
|
}
|
|
15126
15135
|
ngOnInit() {
|
|
15127
15136
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
15137
|
+
if (this.rpxTranslationService.language === 'cy') {
|
|
15138
|
+
this.rpxTranslationService.getTranslation$(WriteDocumentFieldComponent.NO_FILE_CHOSED).subscribe((translation) => {
|
|
15139
|
+
this.fileName = translation;
|
|
15140
|
+
});
|
|
15141
|
+
}
|
|
15128
15142
|
if (this.secureModeOn) {
|
|
15129
15143
|
this.subscribeToCaseDetails();
|
|
15130
15144
|
}
|
|
@@ -15183,6 +15197,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15183
15197
|
}
|
|
15184
15198
|
else if (fileInput.target.files[0]) {
|
|
15185
15199
|
this.selectedFile = fileInput.target.files[0];
|
|
15200
|
+
this.fileName = fileInput.target.files[0].name;
|
|
15186
15201
|
this.displayFileUploadMessages(WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS);
|
|
15187
15202
|
const documentUpload = this.buildDocumentUploadData(this.selectedFile);
|
|
15188
15203
|
this.fileUploadStateService.setUploadInProgress(true);
|
|
@@ -15417,13 +15432,13 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15417
15432
|
this.valid = false;
|
|
15418
15433
|
this.fileUploadStateService.setUploadInProgress(false);
|
|
15419
15434
|
}
|
|
15420
|
-
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15435
|
+
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
|
|
15421
15436
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15422
15437
|
i0.ɵɵviewQuery(_c0$R, 5);
|
|
15423
15438
|
} if (rf & 2) {
|
|
15424
15439
|
let _t;
|
|
15425
15440
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
15426
|
-
} }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
15441
|
+
} }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 28, consts: [["fileInput", ""], [1, "form-group", 3, "ngClass"], [3, "for"], [1, "form-label"], ["class", "form-hint", 4, "ngIf"], ["role", "alert", "tabindex", "0", 1, "error-message", 3, "hidden"], [3, "caseField", 4, "ngIf"], [2, "position", "relative"], [3, "click", "keyup", "id"], [1, "upload-file-container"], ["aria-label", "Choose file", 1, "button", "button-secondary", "input-label", 3, "for"], [1, "form-control", "bottom-30"], ["type", "file", 1, "input-upload-file", 3, "keydown.Tab", "change", "id", "accept"], [1, "form-group", "bottom-30"], ["type", "button", "aria-label", "Cancel upload", 1, "button", "button-secondary", 3, "click", "disabled"], [1, "form-hint"], [3, "caseField"]], template: function WriteDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15427
15442
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
15428
15443
|
i0.ɵɵelementStart(0, "div", 1)(1, "label", 2)(2, "span", 3);
|
|
15429
15444
|
i0.ɵɵpipe(3, "ccdFieldLabel");
|
|
@@ -15441,49 +15456,62 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15441
15456
|
i0.ɵɵelementStart(12, "div", 7)(13, "div", 8);
|
|
15442
15457
|
i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_div_click_13_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); })("keyup", function WriteDocumentFieldComponent_Template_div_keyup_13_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileSelectEvent()); });
|
|
15443
15458
|
i0.ɵɵelementEnd();
|
|
15444
|
-
i0.ɵɵelementStart(14, "
|
|
15445
|
-
i0.ɵɵ
|
|
15459
|
+
i0.ɵɵelementStart(14, "div", 9)(15, "label", 10);
|
|
15460
|
+
i0.ɵɵtext(16);
|
|
15461
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
15462
|
+
i0.ɵɵelementEnd();
|
|
15463
|
+
i0.ɵɵelementStart(18, "span", 11)(19, "span");
|
|
15464
|
+
i0.ɵɵtext(20);
|
|
15446
15465
|
i0.ɵɵelementEnd()()();
|
|
15447
|
-
i0.ɵɵelementStart(
|
|
15448
|
-
i0.ɵɵlistener("
|
|
15449
|
-
i0.ɵɵ
|
|
15450
|
-
i0.ɵɵ
|
|
15466
|
+
i0.ɵɵelementStart(21, "input", 12, 0);
|
|
15467
|
+
i0.ɵɵlistener("keydown.Tab", function WriteDocumentFieldComponent_Template_input_keydown_Tab_21_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileValidationsOnTab()); })("change", function WriteDocumentFieldComponent_Template_input_change_21_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.fileChangeEvent($event, ctx.caseField.field_type.regular_expression)); });
|
|
15468
|
+
i0.ɵɵelementEnd()()();
|
|
15469
|
+
i0.ɵɵelementStart(23, "div", 13)(24, "button", 14);
|
|
15470
|
+
i0.ɵɵlistener("click", function WriteDocumentFieldComponent_Template_button_click_24_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.cancelUpload()); });
|
|
15471
|
+
i0.ɵɵtext(25);
|
|
15472
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
15451
15473
|
i0.ɵɵelementEnd()();
|
|
15452
15474
|
} if (rf & 2) {
|
|
15453
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
15475
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c1$l, !ctx.valid));
|
|
15454
15476
|
i0.ɵɵadvance();
|
|
15455
15477
|
i0.ɵɵproperty("for", ctx.id());
|
|
15456
15478
|
i0.ɵɵadvance();
|
|
15457
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3,
|
|
15479
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 16, ctx.caseField));
|
|
15458
15480
|
i0.ɵɵadvance(2);
|
|
15459
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5,
|
|
15481
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 18, ctx.caseField));
|
|
15460
15482
|
i0.ɵɵadvance(2);
|
|
15461
15483
|
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
15462
15484
|
i0.ɵɵadvance();
|
|
15463
15485
|
i0.ɵɵproperty("hidden", !(ctx.fileUploadMessages && !ctx.valid));
|
|
15464
15486
|
i0.ɵɵadvance();
|
|
15465
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9,
|
|
15487
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 20, ctx.fileUploadMessages), " ");
|
|
15466
15488
|
i0.ɵɵadvance(3);
|
|
15467
15489
|
i0.ɵɵproperty("ngIf", ctx.caseField);
|
|
15468
15490
|
i0.ɵɵadvance(2);
|
|
15469
15491
|
i0.ɵɵproperty("id", ctx.createElementId("fileInputWrapper"));
|
|
15492
|
+
i0.ɵɵadvance(2);
|
|
15493
|
+
i0.ɵɵproperty("for", ctx.id());
|
|
15494
|
+
i0.ɵɵadvance();
|
|
15495
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 22, "Choose file"), " ");
|
|
15496
|
+
i0.ɵɵadvance(4);
|
|
15497
|
+
i0.ɵɵtextInterpolate(ctx.fileName);
|
|
15470
15498
|
i0.ɵɵadvance();
|
|
15471
15499
|
i0.ɵɵpropertyInterpolate("accept", ctx.caseField.field_type.regular_expression);
|
|
15472
15500
|
i0.ɵɵproperty("id", ctx.id());
|
|
15473
15501
|
i0.ɵɵadvance(3);
|
|
15474
15502
|
i0.ɵɵproperty("disabled", !ctx.isUploadInProgress());
|
|
15475
15503
|
i0.ɵɵadvance();
|
|
15476
|
-
i0.ɵɵ
|
|
15477
|
-
} },
|
|
15504
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 24, "Cancel upload"), " ");
|
|
15505
|
+
} }, styles: [".input-upload-file[_ngcontent-%COMP%]{width:100%;display:none}.upload-file-container[_ngcontent-%COMP%]{display:flex;align-items:baseline}.input-label[_ngcontent-%COMP%]{width:8rem}.form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
|
|
15478
15506
|
}
|
|
15479
15507
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDocumentFieldComponent, [{
|
|
15480
15508
|
type: Component,
|
|
15481
|
-
args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n <markdown>{{ caseField.hint_text | rpxTranslate }}</markdown>\n </span>\n <span class=\"error-message\"\n role=\"alert\"\n tabindex=\"0\"\n [hidden]=\"!(fileUploadMessages && !valid)\">\n {{ fileUploadMessages | rpxTranslate }}\n </span>\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style
|
|
15482
|
-
}], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }], { fileInput: [{
|
|
15509
|
+
args: [{ selector: 'ccd-write-document-field', template: "<div class=\"form-group\" [ngClass]=\"{'form-group-error bottom-30': !valid}\">\n <label [for]=\"id()\">\n <span class=\"form-label\" attr.aria-label=\"{{caseField | ccdFieldLabel}}\">{{(caseField | ccdFieldLabel)}}</span>\n </label>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">\n <markdown>{{ caseField.hint_text | rpxTranslate }}</markdown>\n </span>\n <span class=\"error-message\"\n role=\"alert\"\n tabindex=\"0\"\n [hidden]=\"!(fileUploadMessages && !valid)\">\n {{ fileUploadMessages | rpxTranslate }}\n </span>\n <div>\n <!--<span *ngIf=\"getUploadedFileName()\" class=\"text-16\">File name: {{getUploadedFileName()}}</span>-->\n <ccd-read-document-field *ngIf=\"caseField\" [caseField]=\"caseField\"></ccd-read-document-field>\n </div>\n\n <div style=\"position:relative\">\n <div\n [id]=\"createElementId('fileInputWrapper')\"\n (click)=\"fileSelectEvent()\"\n (keyup)=\"fileSelectEvent()\"\n ></div>\n <div class=\"upload-file-container\">\n <label\n [for]=\"id()\"\n class=\"button button-secondary input-label\"\n aria-label=\"Choose file\">\n {{'Choose file' | rpxTranslate}}\n </label>\n <span class=\"form-control bottom-30\">\n <span>{{fileName}}</span>\n </span>\n </div>\n <input\n [id]=\"id()\"\n type=\"file\"\n class=\"input-upload-file\"\n (keydown.Tab)=\"fileValidationsOnTab()\"\n (change)=\"fileChangeEvent($event, caseField.field_type.regular_expression)\"\n accept=\"{{caseField.field_type.regular_expression}}\"\n #fileInput/>\n </div>\n</div>\n<div class=\"form-group bottom-30\">\n <button\n class=\"button button-secondary\"\n type=\"button\"\n aria-label=\"Cancel upload\"\n (click)=\"cancelUpload()\"\n [disabled]=\"!isUploadInProgress()\">\n {{'Cancel upload' | rpxTranslate}}\n </button>\n</div>\n", styles: [".input-upload-file{width:100%;display:none}.upload-file-container{display:flex;align-items:baseline}.input-label{width:8rem}.form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
|
|
15510
|
+
}], () => [{ type: AbstractAppConfig }, { type: CaseNotifier }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: FileUploadStateService }, { type: JurisdictionService }, { type: i1.RpxTranslationService }], { fileInput: [{
|
|
15483
15511
|
type: ViewChild,
|
|
15484
15512
|
args: ['fileInput', { static: false }]
|
|
15485
15513
|
}] }); })();
|
|
15486
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDocumentFieldComponent, { className: "WriteDocumentFieldComponent", filePath: "lib/shared/components/palette/document/write-document-field.component.ts", lineNumber:
|
|
15514
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDocumentFieldComponent, { className: "WriteDocumentFieldComponent", filePath: "lib/shared/components/palette/document/write-document-field.component.ts", lineNumber: 25 }); })();
|
|
15487
15515
|
|
|
15488
15516
|
class DynamicListPipe {
|
|
15489
15517
|
static EMPTY = '';
|
|
@@ -15728,7 +15756,7 @@ class MarkdownComponent {
|
|
|
15728
15756
|
} if (rf & 2) {
|
|
15729
15757
|
i0.ɵɵadvance();
|
|
15730
15758
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15731
|
-
} }, dependencies: [
|
|
15759
|
+
} }, dependencies: [i2$1.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15732
15760
|
}
|
|
15733
15761
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15734
15762
|
type: Component,
|
|
@@ -20860,10 +20888,11 @@ class QueryListItem {
|
|
|
20860
20888
|
createdBy;
|
|
20861
20889
|
parentId;
|
|
20862
20890
|
children = [];
|
|
20891
|
+
messageIndexInParent = null;
|
|
20863
20892
|
get lastSubmittedMessage() {
|
|
20864
20893
|
const getLastSubmittedMessage = (item) => {
|
|
20865
20894
|
let lastSubmittedMessage = item;
|
|
20866
|
-
if (item.children && item.children.length >
|
|
20895
|
+
if (item.children && item.children.length > 1) {
|
|
20867
20896
|
for (const child of item.children) {
|
|
20868
20897
|
const childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20869
20898
|
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
@@ -20879,20 +20908,47 @@ class QueryListItem {
|
|
|
20879
20908
|
return this.lastSubmittedMessage.name;
|
|
20880
20909
|
}
|
|
20881
20910
|
get lastSubmittedDate() {
|
|
20882
|
-
|
|
20911
|
+
const childrenCount = this.children.length;
|
|
20912
|
+
if (childrenCount <= 1) {
|
|
20913
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20914
|
+
}
|
|
20915
|
+
let index;
|
|
20916
|
+
if (childrenCount > 1) {
|
|
20917
|
+
index = childrenCount % 2 === 0 ? childrenCount - 1 : childrenCount - 2;
|
|
20918
|
+
}
|
|
20919
|
+
return new Date(this.children[index].createdOn);
|
|
20883
20920
|
}
|
|
20884
20921
|
get lastResponseBy() {
|
|
20885
20922
|
return this.children?.length > 0 ? this.lastSubmittedMessage.name : '';
|
|
20886
20923
|
}
|
|
20887
20924
|
get lastResponseDate() {
|
|
20888
|
-
|
|
20925
|
+
const childrenCount = this.children.length;
|
|
20926
|
+
if (childrenCount === 0) {
|
|
20927
|
+
return null;
|
|
20928
|
+
}
|
|
20929
|
+
let index;
|
|
20930
|
+
if (childrenCount === 1) {
|
|
20931
|
+
index = 0;
|
|
20932
|
+
}
|
|
20933
|
+
else {
|
|
20934
|
+
index = childrenCount % 2 === 1 ? childrenCount - 1 : childrenCount - 2;
|
|
20935
|
+
}
|
|
20936
|
+
return new Date(this.children[index].createdOn);
|
|
20889
20937
|
}
|
|
20890
20938
|
get responseStatus() {
|
|
20891
|
-
|
|
20939
|
+
// Child logic (position-based)
|
|
20940
|
+
if (this.messageIndexInParent !== null) {
|
|
20941
|
+
return this.messageIndexInParent % 2 === 0
|
|
20942
|
+
? QueryItemResponseStatus.RESPONDED
|
|
20943
|
+
: QueryItemResponseStatus.AWAITING;
|
|
20944
|
+
}
|
|
20945
|
+
// Parent logic (children count)
|
|
20946
|
+
if (this.children && this.children.length > 0) {
|
|
20892
20947
|
return this.children.length % 2 === 1
|
|
20893
20948
|
? QueryItemResponseStatus.RESPONDED
|
|
20894
20949
|
: QueryItemResponseStatus.AWAITING;
|
|
20895
20950
|
}
|
|
20951
|
+
// No children — still awaiting
|
|
20896
20952
|
return QueryItemResponseStatus.AWAITING;
|
|
20897
20953
|
}
|
|
20898
20954
|
}
|
|
@@ -20909,12 +20965,16 @@ class QueryListData {
|
|
|
20909
20965
|
this.queries = parentMessages.map((message) => this.buildQueryListItem(message, caseQueriesCollection.caseMessages));
|
|
20910
20966
|
}
|
|
20911
20967
|
buildQueryListItem(message, allMessages) {
|
|
20968
|
+
const childrenMessages = allMessages.filter((childMessage) => childMessage.value.parentId === message.value.id);
|
|
20969
|
+
const children = childrenMessages.map((childMessage, index) => {
|
|
20970
|
+
const childItem = this.buildQueryListItem(childMessage, allMessages);
|
|
20971
|
+
childItem.messageIndexInParent = index; // Assign index for status logic
|
|
20972
|
+
return childItem;
|
|
20973
|
+
});
|
|
20912
20974
|
const queryListItem = new QueryListItem();
|
|
20913
20975
|
Object.assign(queryListItem, {
|
|
20914
20976
|
...message.value,
|
|
20915
|
-
children
|
|
20916
|
-
.filter((childMessage) => childMessage.value.parentId === message.value.id)
|
|
20917
|
-
.map((childMessage) => this.buildQueryListItem(childMessage, allMessages))
|
|
20977
|
+
children
|
|
20918
20978
|
});
|
|
20919
20979
|
return queryListItem;
|
|
20920
20980
|
}
|
|
@@ -21004,8 +21064,8 @@ class QueryManagementUtils {
|
|
|
21004
21064
|
type: Injectable
|
|
21005
21065
|
}], null, null); })();
|
|
21006
21066
|
|
|
21007
|
-
function
|
|
21008
|
-
i0.ɵɵelementStart(0, "li")(1, "a",
|
|
21067
|
+
function QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
21068
|
+
i0.ɵɵelementStart(0, "li")(1, "a", 26);
|
|
21009
21069
|
i0.ɵɵtext(2);
|
|
21010
21070
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21011
21071
|
i0.ɵɵelementEnd()();
|
|
@@ -21016,24 +21076,24 @@ function QueryCheckYourAnswersComponent_div_2_li_6_Template(rf, ctx) { if (rf &
|
|
|
21016
21076
|
i0.ɵɵadvance();
|
|
21017
21077
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, errorMessage_r2.description));
|
|
21018
21078
|
} }
|
|
21019
|
-
function
|
|
21020
|
-
i0.ɵɵelementStart(0, "div",
|
|
21079
|
+
function QueryCheckYourAnswersComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21080
|
+
i0.ɵɵelementStart(0, "div", 21)(1, "h2", 22);
|
|
21021
21081
|
i0.ɵɵtext(2);
|
|
21022
21082
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21023
21083
|
i0.ɵɵelementEnd();
|
|
21024
|
-
i0.ɵɵelementStart(4, "div",
|
|
21025
|
-
i0.ɵɵtemplate(6,
|
|
21084
|
+
i0.ɵɵelementStart(4, "div", 23)(5, "ul", 24);
|
|
21085
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_div_2_li_6_Template, 4, 4, "li", 25);
|
|
21026
21086
|
i0.ɵɵelementEnd()()();
|
|
21027
21087
|
} if (rf & 2) {
|
|
21028
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21088
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21029
21089
|
i0.ɵɵadvance(2);
|
|
21030
21090
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, "There is a problem"), " ");
|
|
21031
21091
|
i0.ɵɵadvance(4);
|
|
21032
21092
|
i0.ɵɵproperty("ngForOf", ctx_r2.errorMessages);
|
|
21033
21093
|
} }
|
|
21034
|
-
function
|
|
21094
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
21035
21095
|
i0.ɵɵelementContainerStart(0);
|
|
21036
|
-
i0.ɵɵelementStart(1, "div",
|
|
21096
|
+
i0.ɵɵelementStart(1, "div", 27);
|
|
21037
21097
|
i0.ɵɵtext(2);
|
|
21038
21098
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21039
21099
|
i0.ɵɵelementEnd();
|
|
@@ -21042,7 +21102,7 @@ function QueryCheckYourAnswersComponent_ng_container_3_Template(rf, ctx) { if (r
|
|
|
21042
21102
|
i0.ɵɵadvance(2);
|
|
21043
21103
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Raise a query"));
|
|
21044
21104
|
} }
|
|
21045
|
-
function
|
|
21105
|
+
function QueryCheckYourAnswersComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
21046
21106
|
i0.ɵɵelementContainerStart(0);
|
|
21047
21107
|
i0.ɵɵtext(1);
|
|
21048
21108
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21051,16 +21111,16 @@ function QueryCheckYourAnswersComponent_ng_container_5_Template(rf, ctx) { if (r
|
|
|
21051
21111
|
i0.ɵɵadvance();
|
|
21052
21112
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Review query response details"), " ");
|
|
21053
21113
|
} }
|
|
21054
|
-
function
|
|
21114
|
+
function QueryCheckYourAnswersComponent_div_0_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
21055
21115
|
i0.ɵɵtext(0);
|
|
21056
21116
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21057
21117
|
} if (rf & 2) {
|
|
21058
21118
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21059
21119
|
} }
|
|
21060
|
-
function
|
|
21120
|
+
function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template(rf, ctx) { if (rf & 1) {
|
|
21061
21121
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21062
|
-
i0.ɵɵelementStart(0, "a",
|
|
21063
|
-
i0.ɵɵlistener("click", function
|
|
21122
|
+
i0.ɵɵelementStart(0, "a", 17);
|
|
21123
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21064
21124
|
i0.ɵɵtext(1);
|
|
21065
21125
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
21066
21126
|
i0.ɵɵelementEnd();
|
|
@@ -21068,28 +21128,28 @@ function QueryCheckYourAnswersComponent_dl_10_a_8_Template(rf, ctx) { if (rf & 1
|
|
|
21068
21128
|
i0.ɵɵadvance();
|
|
21069
21129
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21070
21130
|
} }
|
|
21071
|
-
function
|
|
21072
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21131
|
+
function QueryCheckYourAnswersComponent_div_0_dl_10_Template(rf, ctx) { if (rf & 1) {
|
|
21132
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21073
21133
|
i0.ɵɵtext(3);
|
|
21074
21134
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21075
21135
|
i0.ɵɵelementEnd();
|
|
21076
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21136
|
+
i0.ɵɵelementStart(5, "dd", 15);
|
|
21077
21137
|
i0.ɵɵtext(6);
|
|
21078
21138
|
i0.ɵɵelementEnd();
|
|
21079
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21080
|
-
i0.ɵɵtemplate(8,
|
|
21139
|
+
i0.ɵɵelementStart(7, "dd", 16);
|
|
21140
|
+
i0.ɵɵtemplate(8, QueryCheckYourAnswersComponent_div_0_dl_10_a_8_Template, 3, 3, "a", 28);
|
|
21081
21141
|
i0.ɵɵelementEnd()()();
|
|
21082
21142
|
} if (rf & 2) {
|
|
21083
|
-
let
|
|
21084
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21143
|
+
let tmp_4_0;
|
|
21144
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21085
21145
|
i0.ɵɵadvance(3);
|
|
21086
21146
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Submitted query" : i0.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21087
21147
|
i0.ɵɵadvance(3);
|
|
21088
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (
|
|
21148
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? ctx_r2.queryItem.subject : (tmp_4_0 = ctx_r2.formGroup.get("subject")) == null ? null : tmp_4_0.value, " ");
|
|
21089
21149
|
i0.ɵɵadvance(2);
|
|
21090
21150
|
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21091
21151
|
} }
|
|
21092
|
-
function
|
|
21152
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
21093
21153
|
i0.ɵɵelementContainerStart(0);
|
|
21094
21154
|
i0.ɵɵtext(1);
|
|
21095
21155
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -21098,89 +21158,89 @@ function QueryCheckYourAnswersComponent_dl_22_ng_container_6_Template(rf, ctx) {
|
|
|
21098
21158
|
i0.ɵɵadvance();
|
|
21099
21159
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(2, 1, "Is the query hearing related?", null, "Yes"), " ");
|
|
21100
21160
|
} }
|
|
21101
|
-
function
|
|
21161
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
21102
21162
|
i0.ɵɵtext(0);
|
|
21103
21163
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
21104
21164
|
} if (rf & 2) {
|
|
21105
21165
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(1, 1, "Is the query hearing related?", null, "No"), " ");
|
|
21106
21166
|
} }
|
|
21107
|
-
function
|
|
21167
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
21108
21168
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
21109
|
-
i0.ɵɵelementStart(0, "div",
|
|
21169
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "dt", 14);
|
|
21110
21170
|
i0.ɵɵtext(2);
|
|
21111
21171
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
21112
21172
|
i0.ɵɵelementEnd();
|
|
21113
|
-
i0.ɵɵelementStart(4, "dd",
|
|
21173
|
+
i0.ɵɵelementStart(4, "dd", 15);
|
|
21114
21174
|
i0.ɵɵtext(5);
|
|
21115
21175
|
i0.ɵɵpipe(6, "date");
|
|
21116
21176
|
i0.ɵɵelementEnd();
|
|
21117
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21118
|
-
i0.ɵɵlistener("click", function
|
|
21177
|
+
i0.ɵɵelementStart(7, "dd", 16)(8, "a", 17);
|
|
21178
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21119
21179
|
i0.ɵɵtext(9);
|
|
21120
21180
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21121
21181
|
i0.ɵɵelementEnd()()();
|
|
21122
21182
|
} if (rf & 2) {
|
|
21123
|
-
let
|
|
21124
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21183
|
+
let tmp_6_0;
|
|
21184
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21125
21185
|
i0.ɵɵadvance(2);
|
|
21126
21186
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "What is the date of the hearing?" : i0.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
|
|
21127
21187
|
i0.ɵɵadvance(3);
|
|
21128
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (
|
|
21188
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 5, (tmp_6_0 = ctx_r2.formGroup.get("hearingDate")) == null ? null : tmp_6_0.value, "dd MMM yyyy"), " ");
|
|
21129
21189
|
i0.ɵɵadvance(4);
|
|
21130
21190
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21131
21191
|
} }
|
|
21132
|
-
function
|
|
21192
|
+
function QueryCheckYourAnswersComponent_div_0_dl_22_Template(rf, ctx) { if (rf & 1) {
|
|
21133
21193
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
21134
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21194
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21135
21195
|
i0.ɵɵtext(3);
|
|
21136
21196
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21137
21197
|
i0.ɵɵelementEnd();
|
|
21138
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21139
|
-
i0.ɵɵtemplate(6,
|
|
21198
|
+
i0.ɵɵelementStart(5, "dd", 15);
|
|
21199
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_22_ng_container_6_Template, 3, 5, "ng-container", 8)(7, QueryCheckYourAnswersComponent_div_0_dl_22_ng_template_7_Template, 2, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
21140
21200
|
i0.ɵɵelementEnd();
|
|
21141
|
-
i0.ɵɵelementStart(9, "dd",
|
|
21142
|
-
i0.ɵɵlistener("click", function
|
|
21201
|
+
i0.ɵɵelementStart(9, "dd", 16)(10, "a", 17);
|
|
21202
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_22_Template_a_click_10_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21143
21203
|
i0.ɵɵtext(11);
|
|
21144
21204
|
i0.ɵɵpipe(12, "rpxTranslate");
|
|
21145
21205
|
i0.ɵɵelementEnd()()();
|
|
21146
|
-
i0.ɵɵtemplate(13,
|
|
21206
|
+
i0.ɵɵtemplate(13, QueryCheckYourAnswersComponent_div_0_dl_22_div_13_Template, 11, 10, "div", 29);
|
|
21147
21207
|
i0.ɵɵelementEnd();
|
|
21148
21208
|
} if (rf & 2) {
|
|
21149
|
-
let
|
|
21150
|
-
let
|
|
21209
|
+
let tmp_5_0;
|
|
21210
|
+
let tmp_8_0;
|
|
21151
21211
|
const isHearingRelatedFalse_r7 = i0.ɵɵreference(8);
|
|
21152
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21212
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21153
21213
|
i0.ɵɵadvance(3);
|
|
21154
21214
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21155
21215
|
i0.ɵɵadvance(3);
|
|
21156
|
-
i0.ɵɵproperty("ngIf", ((
|
|
21216
|
+
i0.ɵɵproperty("ngIf", ((tmp_5_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_5_0.value) === true)("ngIfElse", isHearingRelatedFalse_r7);
|
|
21157
21217
|
i0.ɵɵadvance(5);
|
|
21158
21218
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21159
21219
|
i0.ɵɵadvance(2);
|
|
21160
|
-
i0.ɵɵproperty("ngIf", (
|
|
21220
|
+
i0.ɵɵproperty("ngIf", (tmp_8_0 = ctx_r2.formGroup.get("isHearingRelated")) == null ? null : tmp_8_0.value);
|
|
21161
21221
|
} }
|
|
21162
|
-
function
|
|
21163
|
-
i0.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21222
|
+
function QueryCheckYourAnswersComponent_div_0_dl_23_ccd_query_attachments_read_6_Template(rf, ctx) { if (rf & 1) {
|
|
21223
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 32);
|
|
21164
21224
|
} if (rf & 2) {
|
|
21165
|
-
const ctx_r2 = i0.ɵɵnextContext(
|
|
21225
|
+
const ctx_r2 = i0.ɵɵnextContext(3);
|
|
21166
21226
|
i0.ɵɵproperty("attachments", ctx_r2.attachments);
|
|
21167
21227
|
} }
|
|
21168
|
-
function
|
|
21228
|
+
function QueryCheckYourAnswersComponent_div_0_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
21169
21229
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
21170
|
-
i0.ɵɵelementStart(0, "dl",
|
|
21230
|
+
i0.ɵɵelementStart(0, "dl", 12)(1, "div", 13)(2, "dt", 14);
|
|
21171
21231
|
i0.ɵɵtext(3);
|
|
21172
21232
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
21173
21233
|
i0.ɵɵelementEnd();
|
|
21174
|
-
i0.ɵɵelementStart(5, "dd",
|
|
21175
|
-
i0.ɵɵtemplate(6,
|
|
21234
|
+
i0.ɵɵelementStart(5, "dd", 30);
|
|
21235
|
+
i0.ɵɵtemplate(6, QueryCheckYourAnswersComponent_div_0_dl_23_ccd_query_attachments_read_6_Template, 1, 1, "ccd-query-attachments-read", 31);
|
|
21176
21236
|
i0.ɵɵelementEnd();
|
|
21177
|
-
i0.ɵɵelementStart(7, "dd",
|
|
21178
|
-
i0.ɵɵlistener("click", function
|
|
21237
|
+
i0.ɵɵelementStart(7, "dd", 16)(8, "a", 17);
|
|
21238
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_dl_23_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21179
21239
|
i0.ɵɵtext(9);
|
|
21180
21240
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
21181
21241
|
i0.ɵɵelementEnd()()()();
|
|
21182
21242
|
} if (rf & 2) {
|
|
21183
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
21243
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
21184
21244
|
i0.ɵɵadvance(3);
|
|
21185
21245
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY ? "Upload a file to the query" : i0.ɵɵpipeBind1(4, 3, "Document attached"), " ");
|
|
21186
21246
|
i0.ɵɵadvance(3);
|
|
@@ -21188,6 +21248,74 @@ function QueryCheckYourAnswersComponent_dl_23_Template(rf, ctx) { if (rf & 1) {
|
|
|
21188
21248
|
i0.ɵɵadvance(3);
|
|
21189
21249
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 5, "Change"), " ");
|
|
21190
21250
|
} }
|
|
21251
|
+
function QueryCheckYourAnswersComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
21252
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21253
|
+
i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
|
|
21254
|
+
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_0_div_2_Template, 7, 4, "div", 5)(3, QueryCheckYourAnswersComponent_div_0_ng_container_3_Template, 4, 3, "ng-container", 6);
|
|
21255
|
+
i0.ɵɵelementStart(4, "h1", 7);
|
|
21256
|
+
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_div_0_ng_container_5_Template, 3, 3, "ng-container", 8)(6, QueryCheckYourAnswersComponent_div_0_ng_template_6_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
21257
|
+
i0.ɵɵelementEnd();
|
|
21258
|
+
i0.ɵɵelementStart(8, "div", 9);
|
|
21259
|
+
i0.ɵɵelement(9, "ccd-query-case-details-header", 10);
|
|
21260
|
+
i0.ɵɵelementEnd();
|
|
21261
|
+
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_div_0_dl_10_Template, 9, 5, "dl", 11);
|
|
21262
|
+
i0.ɵɵelementStart(11, "dl", 12)(12, "div", 13)(13, "dt", 14);
|
|
21263
|
+
i0.ɵɵtext(14);
|
|
21264
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21265
|
+
i0.ɵɵelementEnd();
|
|
21266
|
+
i0.ɵɵelementStart(16, "dd", 15);
|
|
21267
|
+
i0.ɵɵtext(17);
|
|
21268
|
+
i0.ɵɵelementEnd();
|
|
21269
|
+
i0.ɵɵelementStart(18, "dd", 16)(19, "a", 17);
|
|
21270
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21271
|
+
i0.ɵɵtext(20);
|
|
21272
|
+
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21273
|
+
i0.ɵɵelementEnd()()()();
|
|
21274
|
+
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_div_0_dl_22_Template, 14, 9, "dl", 11)(23, QueryCheckYourAnswersComponent_div_0_dl_23_Template, 11, 7, "dl", 11);
|
|
21275
|
+
i0.ɵɵelement(24, "br");
|
|
21276
|
+
i0.ɵɵelementStart(25, "div")(26, "button", 18);
|
|
21277
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.goBack()); });
|
|
21278
|
+
i0.ɵɵtext(27);
|
|
21279
|
+
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21280
|
+
i0.ɵɵelementEnd();
|
|
21281
|
+
i0.ɵɵelementStart(29, "button", 19);
|
|
21282
|
+
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_div_0_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.submit()); });
|
|
21283
|
+
i0.ɵɵtext(30);
|
|
21284
|
+
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21285
|
+
i0.ɵɵelementEnd()()();
|
|
21286
|
+
i0.ɵɵelement(32, "ccd-query-event-completion", 20);
|
|
21287
|
+
i0.ɵɵelementEnd();
|
|
21288
|
+
} if (rf & 2) {
|
|
21289
|
+
let tmp_9_0;
|
|
21290
|
+
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21291
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
21292
|
+
i0.ɵɵadvance(2);
|
|
21293
|
+
i0.ɵɵproperty("ngIf", ctx_r2.errorMessages.length > 0);
|
|
21294
|
+
i0.ɵɵadvance();
|
|
21295
|
+
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21296
|
+
i0.ɵɵadvance(2);
|
|
21297
|
+
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21298
|
+
i0.ɵɵadvance(4);
|
|
21299
|
+
i0.ɵɵproperty("caseDetails", ctx_r2.caseDetails);
|
|
21300
|
+
i0.ɵɵadvance();
|
|
21301
|
+
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext !== ctx_r2.queryCreateContextEnum.FOLLOWUP);
|
|
21302
|
+
i0.ɵɵadvance(4);
|
|
21303
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21304
|
+
i0.ɵɵadvance(3);
|
|
21305
|
+
i0.ɵɵtextInterpolate1(" ", (tmp_9_0 = ctx_r2.formGroup.get("body")) == null ? null : tmp_9_0.value, " ");
|
|
21306
|
+
i0.ɵɵadvance(3);
|
|
21307
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21308
|
+
i0.ɵɵadvance(2);
|
|
21309
|
+
i0.ɵɵproperty("ngIf", ctx_r2.queryCreateContext === ctx_r2.queryCreateContextEnum.NEW_QUERY);
|
|
21310
|
+
i0.ɵɵadvance();
|
|
21311
|
+
i0.ɵɵproperty("ngIf", ctx_r2.formGroup.get("attachments").value.length > 0);
|
|
21312
|
+
i0.ɵɵadvance(4);
|
|
21313
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21314
|
+
i0.ɵɵadvance(3);
|
|
21315
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21316
|
+
i0.ɵɵadvance(2);
|
|
21317
|
+
i0.ɵɵproperty("eventCompletionParams", ctx_r2.eventCompletionParams);
|
|
21318
|
+
} }
|
|
21191
21319
|
class QueryCheckYourAnswersComponent {
|
|
21192
21320
|
route;
|
|
21193
21321
|
router;
|
|
@@ -21210,6 +21338,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21210
21338
|
eventData = null;
|
|
21211
21339
|
backClicked = new EventEmitter();
|
|
21212
21340
|
querySubmitted = new EventEmitter();
|
|
21341
|
+
callbackConfirmationMessage = new EventEmitter();
|
|
21213
21342
|
caseViewTrigger;
|
|
21214
21343
|
caseDetails;
|
|
21215
21344
|
queryId;
|
|
@@ -21223,6 +21352,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21223
21352
|
attachments;
|
|
21224
21353
|
errorMessages = [];
|
|
21225
21354
|
filteredTasks = [];
|
|
21355
|
+
readyToSubmit;
|
|
21356
|
+
isSubmitting = false;
|
|
21226
21357
|
constructor(route, router, casesService, caseNotifier, workAllocationService, sessionStorageService, qualifyingQuestionService) {
|
|
21227
21358
|
this.route = route;
|
|
21228
21359
|
this.router = router;
|
|
@@ -21259,13 +21390,18 @@ class QueryCheckYourAnswersComponent {
|
|
|
21259
21390
|
else {
|
|
21260
21391
|
this.filteredTasks = response.tasks;
|
|
21261
21392
|
}
|
|
21393
|
+
this.readyToSubmit = true;
|
|
21262
21394
|
}
|
|
21263
21395
|
},
|
|
21264
21396
|
error: (error) => {
|
|
21265
21397
|
console.error('Error in searchTasksSubscription:', error);
|
|
21398
|
+
this.readyToSubmit = false;
|
|
21266
21399
|
}
|
|
21267
21400
|
});
|
|
21268
21401
|
}
|
|
21402
|
+
else {
|
|
21403
|
+
this.readyToSubmit = true;
|
|
21404
|
+
}
|
|
21269
21405
|
}
|
|
21270
21406
|
ngOnDestroy() {
|
|
21271
21407
|
this.createEventSubscription?.unsubscribe();
|
|
@@ -21275,6 +21411,9 @@ class QueryCheckYourAnswersComponent {
|
|
|
21275
21411
|
this.backClicked.emit(true);
|
|
21276
21412
|
}
|
|
21277
21413
|
submit() {
|
|
21414
|
+
if (this.isSubmitting) {
|
|
21415
|
+
return;
|
|
21416
|
+
}
|
|
21278
21417
|
// Check if fieldId is null or undefined
|
|
21279
21418
|
if (!this.fieldId) {
|
|
21280
21419
|
console.error('Error: Field ID is missing. Cannot proceed with submission.');
|
|
@@ -21285,13 +21424,20 @@ class QueryCheckYourAnswersComponent {
|
|
|
21285
21424
|
fieldId: 'field-id'
|
|
21286
21425
|
}
|
|
21287
21426
|
];
|
|
21427
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21288
21428
|
return;
|
|
21289
21429
|
}
|
|
21290
21430
|
const data = this.generateCaseQueriesCollectionData();
|
|
21291
21431
|
const createEvent$ = this.createEvent(data);
|
|
21432
|
+
this.isSubmitting = true;
|
|
21292
21433
|
if (this.queryCreateContext === QueryCreateContext.RESPOND) {
|
|
21293
21434
|
if (this.filteredTasks?.length > 0) {
|
|
21294
|
-
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) =>
|
|
21435
|
+
this.createEventSubscription = createEvent$.pipe(switchMap((createEventResponse) => {
|
|
21436
|
+
const confirmationBody = createEventResponse?.after_submit_callback_response?.confirmation_body;
|
|
21437
|
+
const confirmationHeader = createEventResponse?.after_submit_callback_response?.confirmation_header;
|
|
21438
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21439
|
+
return this.workAllocationService.completeTask(this.filteredTasks[0].id, this.caseViewTrigger.name);
|
|
21440
|
+
})).subscribe({
|
|
21295
21441
|
next: () => this.finaliseSubmission(),
|
|
21296
21442
|
error: (error) => this.handleError(error)
|
|
21297
21443
|
});
|
|
@@ -21305,11 +21451,19 @@ class QueryCheckYourAnswersComponent {
|
|
|
21305
21451
|
fieldId: 'field-id'
|
|
21306
21452
|
}
|
|
21307
21453
|
];
|
|
21454
|
+
this.isSubmitting = false;
|
|
21455
|
+
window.scrollTo({ left: 0, top: 0, behavior: 'smooth' });
|
|
21456
|
+
return;
|
|
21308
21457
|
}
|
|
21309
21458
|
}
|
|
21310
21459
|
else {
|
|
21311
21460
|
this.createEventSubscription = createEvent$.subscribe({
|
|
21312
|
-
next: () =>
|
|
21461
|
+
next: (callbackResponse) => {
|
|
21462
|
+
this.finaliseSubmission();
|
|
21463
|
+
const confirmationBody = callbackResponse?.after_submit_callback_response?.confirmation_body;
|
|
21464
|
+
const confirmationHeader = callbackResponse?.after_submit_callback_response?.confirmation_header;
|
|
21465
|
+
this.callbackConfirmationMessage.emit({ body: confirmationBody, header: confirmationHeader });
|
|
21466
|
+
},
|
|
21313
21467
|
error: (error) => this.handleError(error)
|
|
21314
21468
|
});
|
|
21315
21469
|
}
|
|
@@ -21329,9 +21483,11 @@ class QueryCheckYourAnswersComponent {
|
|
|
21329
21483
|
finaliseSubmission() {
|
|
21330
21484
|
this.querySubmitted.emit(true);
|
|
21331
21485
|
this.qualifyingQuestionService.clearQualifyingQuestionSelection();
|
|
21486
|
+
this.isSubmitting = false;
|
|
21332
21487
|
}
|
|
21333
21488
|
handleError(error) {
|
|
21334
21489
|
console.error('Error in API calls:', error);
|
|
21490
|
+
this.isSubmitting = false;
|
|
21335
21491
|
this.router.navigate(['/', 'service-down']);
|
|
21336
21492
|
}
|
|
21337
21493
|
generateCaseQueriesCollectionData() {
|
|
@@ -21470,14 +21626,16 @@ class QueryCheckYourAnswersComponent {
|
|
|
21470
21626
|
const candidateFields = this.eventData?.case_fields?.filter((field) => field.field_type.id === this.CASE_QUERIES_COLLECTION_ID &&
|
|
21471
21627
|
field.field_type.type === this.FIELD_TYPE_COMPLEX &&
|
|
21472
21628
|
field.display_context !== this.DISPLAY_CONTEXT_READONLY);
|
|
21473
|
-
if (!candidateFields?.length)
|
|
21629
|
+
if (!candidateFields?.length) {
|
|
21474
21630
|
return undefined;
|
|
21631
|
+
}
|
|
21475
21632
|
const firstPageFields = this.eventData?.wizard_pages?.[0]?.wizard_page_fields;
|
|
21476
|
-
if (!firstPageFields)
|
|
21633
|
+
if (!firstPageFields) {
|
|
21477
21634
|
return undefined;
|
|
21635
|
+
}
|
|
21478
21636
|
return candidateFields
|
|
21479
21637
|
.map((field) => {
|
|
21480
|
-
const wizardField = firstPageFields.find(f => f.case_field_id === field.id);
|
|
21638
|
+
const wizardField = firstPageFields.find((f) => f.case_field_id === field.id);
|
|
21481
21639
|
return { field, order: wizardField?.order ?? Number.MAX_SAFE_INTEGER };
|
|
21482
21640
|
})
|
|
21483
21641
|
.sort((a, b) => a.order - b.order)[0]?.field;
|
|
@@ -21493,77 +21651,15 @@ class QueryCheckYourAnswersComponent {
|
|
|
21493
21651
|
}
|
|
21494
21652
|
}
|
|
21495
21653
|
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
21496
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted" }, decls:
|
|
21497
|
-
|
|
21498
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
21499
|
-
i0.ɵɵtemplate(2, QueryCheckYourAnswersComponent_div_2_Template, 7, 4, "div", 4)(3, QueryCheckYourAnswersComponent_ng_container_3_Template, 4, 3, "ng-container", 5);
|
|
21500
|
-
i0.ɵɵelementStart(4, "h1", 6);
|
|
21501
|
-
i0.ɵɵtemplate(5, QueryCheckYourAnswersComponent_ng_container_5_Template, 3, 3, "ng-container", 7)(6, QueryCheckYourAnswersComponent_ng_template_6_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
21502
|
-
i0.ɵɵelementEnd();
|
|
21503
|
-
i0.ɵɵelementStart(8, "div", 8);
|
|
21504
|
-
i0.ɵɵelement(9, "ccd-query-case-details-header", 9);
|
|
21505
|
-
i0.ɵɵelementEnd();
|
|
21506
|
-
i0.ɵɵtemplate(10, QueryCheckYourAnswersComponent_dl_10_Template, 9, 5, "dl", 10);
|
|
21507
|
-
i0.ɵɵelementStart(11, "dl", 11)(12, "div", 12)(13, "dt", 13);
|
|
21508
|
-
i0.ɵɵtext(14);
|
|
21509
|
-
i0.ɵɵpipe(15, "rpxTranslate");
|
|
21510
|
-
i0.ɵɵelementEnd();
|
|
21511
|
-
i0.ɵɵelementStart(16, "dd", 14);
|
|
21512
|
-
i0.ɵɵtext(17);
|
|
21513
|
-
i0.ɵɵelementEnd();
|
|
21514
|
-
i0.ɵɵelementStart(18, "dd", 15)(19, "a", 16);
|
|
21515
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_19_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21516
|
-
i0.ɵɵtext(20);
|
|
21517
|
-
i0.ɵɵpipe(21, "rpxTranslate");
|
|
21518
|
-
i0.ɵɵelementEnd()()()();
|
|
21519
|
-
i0.ɵɵtemplate(22, QueryCheckYourAnswersComponent_dl_22_Template, 14, 9, "dl", 10)(23, QueryCheckYourAnswersComponent_dl_23_Template, 11, 7, "dl", 10);
|
|
21520
|
-
i0.ɵɵelement(24, "br");
|
|
21521
|
-
i0.ɵɵelementStart(25, "div")(26, "button", 17);
|
|
21522
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_26_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.goBack()); });
|
|
21523
|
-
i0.ɵɵtext(27);
|
|
21524
|
-
i0.ɵɵpipe(28, "rpxTranslate");
|
|
21525
|
-
i0.ɵɵelementEnd();
|
|
21526
|
-
i0.ɵɵelementStart(29, "button", 18);
|
|
21527
|
-
i0.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_29_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.submit()); });
|
|
21528
|
-
i0.ɵɵtext(30);
|
|
21529
|
-
i0.ɵɵpipe(31, "rpxTranslate");
|
|
21530
|
-
i0.ɵɵelementEnd()()();
|
|
21531
|
-
i0.ɵɵelement(32, "ccd-query-event-completion", 19);
|
|
21532
|
-
i0.ɵɵelementEnd();
|
|
21654
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted", callbackConfirmationMessage: "callbackConfirmationMessage" }, decls: 1, vars: 1, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], ["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0)", 1, "validation-error", 3, "id"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21655
|
+
i0.ɵɵtemplate(0, QueryCheckYourAnswersComponent_div_0_Template, 33, 22, "div", 2);
|
|
21533
21656
|
} if (rf & 2) {
|
|
21534
|
-
|
|
21535
|
-
const defaultCheckYourAnswersTitle_r9 = i0.ɵɵreference(7);
|
|
21536
|
-
i0.ɵɵadvance(2);
|
|
21537
|
-
i0.ɵɵproperty("ngIf", ctx.errorMessages.length > 0);
|
|
21538
|
-
i0.ɵɵadvance();
|
|
21539
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21540
|
-
i0.ɵɵadvance(2);
|
|
21541
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", defaultCheckYourAnswersTitle_r9);
|
|
21542
|
-
i0.ɵɵadvance(4);
|
|
21543
|
-
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
21544
|
-
i0.ɵɵadvance();
|
|
21545
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
|
|
21546
|
-
i0.ɵɵadvance(4);
|
|
21547
|
-
i0.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0.ɵɵpipeBind1(15, 14, "Query detail"), " ");
|
|
21548
|
-
i0.ɵɵadvance(3);
|
|
21549
|
-
i0.ɵɵtextInterpolate1(" ", (tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.value, " ");
|
|
21550
|
-
i0.ɵɵadvance(3);
|
|
21551
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 16, "Change"), " ");
|
|
21552
|
-
i0.ɵɵadvance(2);
|
|
21553
|
-
i0.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.NEW_QUERY);
|
|
21554
|
-
i0.ɵɵadvance();
|
|
21555
|
-
i0.ɵɵproperty("ngIf", ctx.formGroup.get("attachments").value.length > 0);
|
|
21556
|
-
i0.ɵɵadvance(4);
|
|
21557
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(28, 18, "Previous"), " ");
|
|
21558
|
-
i0.ɵɵadvance(3);
|
|
21559
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "Submit"), " ");
|
|
21560
|
-
i0.ɵɵadvance(2);
|
|
21561
|
-
i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
|
|
21657
|
+
i0.ɵɵproperty("ngIf", ctx.readyToSubmit);
|
|
21562
21658
|
} }, styles: [".govuk-summary-list__value--documentAttached[_ngcontent-%COMP%]{vertical-align:middle}"] });
|
|
21563
21659
|
}
|
|
21564
21660
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
21565
21661
|
type: Component,
|
|
21566
|
-
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
21662
|
+
args: [{ selector: 'ccd-query-check-your-answers', template: "<div class=\"govuk-grid-row\" *ngIf=\"readyToSubmit\">\n <div class=\"govuk-grid-column-two-thirds-from-desktop\">\n <!-- Error message summary -->\n <div *ngIf=\"errorMessages.length > 0\" class=\"govuk-error-summary\"\n aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"govuk-error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{ 'There is a problem' | rpxTranslate }}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let errorMessage of errorMessages\">\n <a [id]=\"'error-' + errorMessage.fieldId\" href=\"javascript:void(0)\"\n class=\"validation-error\">{{ errorMessage.description | rpxTranslate }}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\">\n <div class=\"govuk-caption-l\">{{ 'Raise a query' | rpxTranslate }}</div>\n </ng-container>\n\n <h1 class=\"govuk-heading-l\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND; else defaultCheckYourAnswersTitle\">\n {{ 'Review query response details' | rpxTranslate }}\n </ng-container>\n\n <ng-template #defaultCheckYourAnswersTitle>\n {{ 'Review query details' | rpxTranslate }}\n </ng-template>\n </h1>\n <div class=\"govuk-!-margin-bottom-4\">\n <ccd-query-case-details-header [caseDetails]=\"caseDetails\"></ccd-query-case-details-header>\n </div>\n\n <dl *ngIf=\"queryCreateContext !== queryCreateContextEnum.FOLLOWUP\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Submitted query' : 'Query subject' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? queryItem.subject : formGroup.get('subject')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" \n href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.RESPOND ? 'Response detail' : 'Query detail' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('body')?.value }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <dl *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY\" class=\"govuk-summary-list govuk-!-margin-bottom-0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n <ng-container *ngIf=\"formGroup.get('isHearingRelated')?.value === true; else isHearingRelatedFalse\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'Yes' }}\n </ng-container>\n <ng-template #isHearingRelatedFalse>\n {{ 'Is the query hearing related?' | rpxTranslate: null : 'No' }}\n </ng-template>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n\n <div *ngIf=\"formGroup.get('isHearingRelated')?.value\" class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY\n ? 'What is the date of the hearing?'\n : 'What is the date of the hearing your query is related to?' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{ formGroup.get('hearingDate')?.value | date: 'dd MMM yyyy' }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n <dl class=\"govuk-summary-list govuk-!-margin-bottom-0\" *ngIf=\"this.formGroup.get('attachments').value.length > 0\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{ queryCreateContext === queryCreateContextEnum.NEW_QUERY ? 'Upload a file to the query' : 'Document attached' | rpxTranslate }}\n </dt>\n <dd class=\"govuk-summary-list__value govuk-summary-list__value--documentAttached\">\n <ccd-query-attachments-read\n *ngIf=\"this.formGroup.get('attachments').value\"\n [attachments]=\"attachments\"\n >\n </ccd-query-attachments-read>\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a href=\"javascript:void(0)\" class=\"govuk-link\" (click)=\"goBack()\">\n {{ 'Change' | rpxTranslate }}\n </a>\n </dd>\n </div>\n </dl>\n\n <br>\n\n <div>\n <button class=\"govuk-button govuk-button--secondary govuk-!-margin-right-3\" data-module=\"govuk-button\"\n (click)=\"goBack()\">\n {{ 'Previous' | rpxTranslate }}\n </button>\n <button class=\"govuk-button\" data-module=\"govuk-button\" type=\"submit\" (click)=\"submit()\">\n {{ 'Submit' | rpxTranslate }}\n </button>\n </div>\n </div>\n\n <ccd-query-event-completion [eventCompletionParams]=\"eventCompletionParams\"> \n </ccd-query-event-completion>\n</div>\n", styles: [".govuk-summary-list__value--documentAttached{vertical-align:middle}\n"] }]
|
|
21567
21663
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: CasesService }, { type: CaseNotifier }, { type: WorkAllocationService }, { type: SessionStorageService }, { type: QualifyingQuestionService }], { formGroup: [{
|
|
21568
21664
|
type: Input
|
|
21569
21665
|
}], queryItem: [{
|
|
@@ -21576,6 +21672,8 @@ class QueryCheckYourAnswersComponent {
|
|
|
21576
21672
|
type: Output
|
|
21577
21673
|
}], querySubmitted: [{
|
|
21578
21674
|
type: Output
|
|
21675
|
+
}], callbackConfirmationMessage: [{
|
|
21676
|
+
type: Output
|
|
21579
21677
|
}] }); })();
|
|
21580
21678
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryCheckYourAnswersComponent, { className: "QueryCheckYourAnswersComponent", filePath: "lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.ts", lineNumber: 28 }); })();
|
|
21581
21679
|
|
|
@@ -21711,7 +21809,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21711
21809
|
i0.ɵɵadvance(5);
|
|
21712
21810
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 12, "Last response date"));
|
|
21713
21811
|
i0.ɵɵadvance(3);
|
|
21714
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd
|
|
21812
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 14, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21715
21813
|
i0.ɵɵadvance(2);
|
|
21716
21814
|
i0.ɵɵproperty("ngIf", ctx_r0.isInternalUser());
|
|
21717
21815
|
i0.ɵɵadvance(3);
|
|
@@ -21781,7 +21879,7 @@ function QueryDetailsComponent_ng_container_0_ng_container_46_ng_container_1_ng_
|
|
|
21781
21879
|
i0.ɵɵadvance(5);
|
|
21782
21880
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 13, "Last submission date"));
|
|
21783
21881
|
i0.ɵɵadvance(3);
|
|
21784
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd
|
|
21882
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(13, 15, child_r3.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21785
21883
|
i0.ɵɵadvance(4);
|
|
21786
21884
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 18, "Last submitted by"));
|
|
21787
21885
|
i0.ɵɵadvance(3);
|
|
@@ -21881,7 +21979,7 @@ function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21881
21979
|
i0.ɵɵadvance(3);
|
|
21882
21980
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 27, "Submission date"));
|
|
21883
21981
|
i0.ɵɵadvance(3);
|
|
21884
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd
|
|
21982
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 29, ctx_r0.query.createdOn, "dd MMMM YYYY HH:mm"));
|
|
21885
21983
|
i0.ɵɵadvance(4);
|
|
21886
21984
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 32, "Query subject"));
|
|
21887
21985
|
i0.ɵɵadvance(3);
|
|
@@ -21967,7 +22065,7 @@ class QueryDetailsComponent {
|
|
|
21967
22065
|
}
|
|
21968
22066
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
21969
22067
|
type: Component,
|
|
21970
|
-
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <cut-alert type=\"error\" *ngIf=\"hasRespondedToQuery() && !showItem\">\n <ng-container>{{message}}</ng-container>\n </cut-alert>\n\n <br/>\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd
|
|
22068
|
+
args: [{ selector: 'ccd-query-details', template: "<ng-container *ngIf=\"query\">\n <cut-alert type=\"error\" *ngIf=\"hasRespondedToQuery() && !showItem\">\n <ng-container>{{message}}</ng-container>\n </cut-alert>\n\n <br/>\n <p *ngIf=\"showItem\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\" (click)=\"onBack()\">{{ 'Back to query list' | rpxTranslate }}</a>\n </p>\n <div>\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Details of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Query details' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.lastSubmittedBy }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query subject' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.subject }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query body' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.body }}</td>\n </tr>\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\" [class.govuk-table__header--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate }}\n </th>\n <td class=\"govuk-table__cell\" [class.govuk-table__cell--no-border]=\"query.isHearingRelated\">\n {{ 'Is the query hearing related?' | rpxTranslate: null : (query.isHearingRelated) }}</td>\n </tr>\n <tr class=\"govuk-table__row govuk-table__row--isHearingRelated\" *ngIf=\"query.isHearingRelated === 'Yes'\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'What is the date of the hearing?' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ query.hearingDate | date: 'dd MMM yyyy' }}</td>\n </tr>\n <tr class=\"govuk-table__row\" *ngIf=\"query.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"query.attachments\"\n [attachments]=\"query.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <ng-container *ngIf=\"query.children?.length > 0\">\n <ng-container *ngFor=\"let child of query.children; let i = index;\">\n <ng-container *ngIf=\"i % 2 === 0; else followUpMessage\">\n <table class=\"govuk-table query-details-table\" [attr.aria-describedby]=\"'Response of the query' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Response' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last response date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm' }}</td>\n </tr>\n\n <tr *ngIf=\"isInternalUser()\" class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Caseworker name' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Response detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-container>\n\n <ng-template #followUpMessage>\n <!-- <div class=\"query_details_caption\">{{ 'Follow-up' | rpxTranslate }}</div> -->\n <table class=\"govuk-table query-details-table\"\n [attr.aria-describedby]=\"'Follow-up of the response' | rpxTranslate\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">\n <div>{{ 'Follow up query' | rpxTranslate }}</div>\n </caption>\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submission date' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.createdOn | date: 'dd MMMM YYYY HH:mm'}}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Last submitted by' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.name }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Query detail' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">{{ child.body }}</td>\n </tr>\n\n <tr class=\"govuk-table__row\" *ngIf=\"child.attachments.length > 0\">\n <th scope=\"row\" class=\"govuk-table__header\">{{ 'Attachments' | rpxTranslate }}</th>\n <td class=\"govuk-table__cell\">\n <ccd-query-attachments-read\n *ngIf=\"child.attachments\"\n [attachments]=\"child.attachments\"\n >\n </ccd-query-attachments-read>\n </td>\n </tr>\n </tbody>\n </table>\n </ng-template>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [".query-details-table .govuk-table__header{width:330px}\n"] }]
|
|
21971
22069
|
}], () => [{ type: SessionStorageService }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }], { query: [{
|
|
21972
22070
|
type: Input
|
|
21973
22071
|
}], caseId: [{
|
|
@@ -22055,9 +22153,9 @@ function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1)
|
|
|
22055
22153
|
i0.ɵɵadvance(2);
|
|
22056
22154
|
i0.ɵɵtextInterpolate(message_r6.lastSubmittedBy);
|
|
22057
22155
|
i0.ɵɵadvance(2);
|
|
22058
|
-
i0.ɵɵ
|
|
22156
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(8, 5, message_r6.lastSubmittedDate, "dd MMM YYYY HH:mm"), " ");
|
|
22059
22157
|
i0.ɵɵadvance(3);
|
|
22060
|
-
i0.ɵɵ
|
|
22158
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind2(11, 8, message_r6.lastResponseDate, "dd MMM YYYY HH:mm"), " ");
|
|
22061
22159
|
i0.ɵɵadvance(3);
|
|
22062
22160
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r6.responseStatus));
|
|
22063
22161
|
} }
|
|
@@ -22161,7 +22259,7 @@ class QueryListComponent {
|
|
|
22161
22259
|
}
|
|
22162
22260
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
22163
22261
|
type: Component,
|
|
22164
|
-
args: [{ selector: 'ccd-query-list', template: "<ng-container *ngIf=\"queryListData\">\n <table class=\"govuk-table query-list__table\">\n <caption class=\"govuk-table__caption govuk-table__caption--l query-list__caption\">\n <div class=\"query-list__caption-text\">{{ queryListData.partyName }}</div>\n </caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row query-list__row\">\n <th scope=\"col\" class=\"govuk-table__header\" [attr.aria-sort]=\"getAriaSortHeaderValue(col)\"\n *ngFor=\"let col of displayedColumns; let i = index;\">\n <button type=\"button\" [attr.data-index]=\"i\" aria-sort=\"none\" (click)=\"sortTable(col)\" href=\"javascript:void(0)\">\n {{ col.displayName | rpxTranslate }}\n </button>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row query-list__row\"\n *ngFor=\"let message of queryListData.queries\"\n >\n <td class=\"govuk-table__cell query-list__cell query-list__cell--first\">\n <a href=\"javascript:void(0)\" (click)=\"showDetails(message)\">{{ message.subject }}</a>\n </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedBy }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedDate | date: 'dd MMM YYYY' }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastResponseDate | date: 'dd MMM YYYY' }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.responseStatus | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n</ng-container>\n", styles: ["@charset \"UTF-8\";.query-list__row>*:first-child{padding-left:10px}.query-list__row>*:last-child{padding-right:10px}.query-list__cell--first{width:33%}.query-list__table{border:1px solid #b1b4b6;border-top:none}.query-list__caption{background-color:#dee0e2;border:1px solid #b1b4b6;border-bottom:none;font-weight:700;margin-bottom:0;padding:10px}.query-list__caption{font-size:18px}[aria-sort] button,[aria-sort] button:hover,[aria-sort] button:hover:hover{background-color:transparent;border-width:0;-webkit-box-shadow:0 0 0 0;-moz-box-shadow:0 0 0 0;box-shadow:0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort] button:focus,[aria-sort] button:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort]:first-child button{right:auto}[aria-sort] button:before{content:\" \\25bc\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort] button:after{content:\" \\25b2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending] button:before,[aria-sort=descending] button:before{content:none}[aria-sort=ascending] button:after{content:\" \\25b2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending] button:after{content:\" \\25bc\";font-size:.8em;position:absolute;right:-5px;top:2px}\n"] }]
|
|
22262
|
+
args: [{ selector: 'ccd-query-list', template: "<ng-container *ngIf=\"queryListData\">\n <table class=\"govuk-table query-list__table\">\n <caption class=\"govuk-table__caption govuk-table__caption--l query-list__caption\">\n <div class=\"query-list__caption-text\">{{ queryListData.partyName }}</div>\n </caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row query-list__row\">\n <th scope=\"col\" class=\"govuk-table__header\" [attr.aria-sort]=\"getAriaSortHeaderValue(col)\"\n *ngFor=\"let col of displayedColumns; let i = index;\">\n <button type=\"button\" [attr.data-index]=\"i\" aria-sort=\"none\" (click)=\"sortTable(col)\" href=\"javascript:void(0)\">\n {{ col.displayName | rpxTranslate }}\n </button>\n </th>\n </tr>\n </thead>\n\n <tbody class=\"govuk-table__body\">\n <tr class=\"govuk-table__row query-list__row\"\n *ngFor=\"let message of queryListData.queries\"\n >\n <td class=\"govuk-table__cell query-list__cell query-list__cell--first\">\n <a href=\"javascript:void(0)\" (click)=\"showDetails(message)\">{{ message.subject }}</a>\n </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedBy }}</td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastSubmittedDate | date: 'dd MMM YYYY HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.lastResponseDate | date: 'dd MMM YYYY HH:mm' }} </td>\n <td class=\"govuk-table__cell query-list__cell\">{{ message.responseStatus | rpxTranslate }}</td>\n </tr>\n </tbody>\n </table>\n</ng-container>\n", styles: ["@charset \"UTF-8\";.query-list__row>*:first-child{padding-left:10px}.query-list__row>*:last-child{padding-right:10px}.query-list__cell--first{width:33%}.query-list__table{border:1px solid #b1b4b6;border-top:none}.query-list__caption{background-color:#dee0e2;border:1px solid #b1b4b6;border-bottom:none;font-weight:700;margin-bottom:0;padding:10px}.query-list__caption{font-size:18px}[aria-sort] button,[aria-sort] button:hover,[aria-sort] button:hover:hover{background-color:transparent;border-width:0;-webkit-box-shadow:0 0 0 0;-moz-box-shadow:0 0 0 0;box-shadow:0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort] button:focus,[aria-sort] button:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort]:first-child button{right:auto}[aria-sort] button:before{content:\" \\25bc\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort] button:after{content:\" \\25b2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending] button:before,[aria-sort=descending] button:before{content:none}[aria-sort=ascending] button:after{content:\" \\25b2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending] button:after{content:\" \\25bc\";font-size:.8em;position:absolute;right:-5px;top:2px}\n"] }]
|
|
22165
22263
|
}], null, { caseQueriesCollection: [{
|
|
22166
22264
|
type: Input
|
|
22167
22265
|
}], selectedQuery: [{
|
|
@@ -22712,7 +22810,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22712
22810
|
const matchingMessage = filteredMessages[0]?.value;
|
|
22713
22811
|
let filteredQuery = [];
|
|
22714
22812
|
if (this.queryItemId === QueryWriteRespondToQueryComponent.QUERY_ITEM_RESPOND) {
|
|
22715
|
-
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.
|
|
22813
|
+
filteredQuery = queryWithChildren?.queries.filter((message) => filteredMessages[0]?.value?.id === message?.id);
|
|
22716
22814
|
if (matchingMessage) {
|
|
22717
22815
|
this.queryItemDisplay = new QueryListItem();
|
|
22718
22816
|
Object.assign(this.queryItemDisplay, matchingMessage);
|
|
@@ -22787,27 +22885,25 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22787
22885
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22788
22886
|
i0.ɵɵelementEnd();
|
|
22789
22887
|
i0.ɵɵelementStart(5, "div", 7);
|
|
22790
|
-
i0.ɵɵ
|
|
22888
|
+
i0.ɵɵelement(6, "ccd-markdown", 8);
|
|
22791
22889
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22792
22890
|
i0.ɵɵelementEnd()();
|
|
22793
|
-
i0.ɵɵelementStart(8, "div",
|
|
22891
|
+
i0.ɵɵelementStart(8, "div", 9)(9, "h3", 10);
|
|
22794
22892
|
i0.ɵɵtext(10);
|
|
22795
22893
|
i0.ɵɵpipe(11, "rpxTranslate");
|
|
22796
22894
|
i0.ɵɵelementEnd();
|
|
22797
|
-
i0.ɵɵ
|
|
22798
|
-
i0.ɵɵ
|
|
22799
|
-
i0.ɵɵ
|
|
22800
|
-
i0.ɵɵ
|
|
22801
|
-
i0.ɵɵ
|
|
22802
|
-
i0.ɵɵtext(16);
|
|
22803
|
-
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22895
|
+
i0.ɵɵelement(12, "ccd-markdown", 8);
|
|
22896
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22897
|
+
i0.ɵɵelementStart(14, "p");
|
|
22898
|
+
i0.ɵɵtext(15);
|
|
22899
|
+
i0.ɵɵpipe(16, "rpxTranslate");
|
|
22804
22900
|
i0.ɵɵelementEnd();
|
|
22805
|
-
i0.ɵɵelementStart(
|
|
22806
|
-
i0.ɵɵtext(
|
|
22807
|
-
i0.ɵɵpipe(
|
|
22808
|
-
i0.ɵɵelementStart(
|
|
22809
|
-
i0.ɵɵtext(
|
|
22810
|
-
i0.ɵɵpipe(
|
|
22901
|
+
i0.ɵɵelementStart(17, "p");
|
|
22902
|
+
i0.ɵɵtext(18);
|
|
22903
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
22904
|
+
i0.ɵɵelementStart(20, "a", 11);
|
|
22905
|
+
i0.ɵɵtext(21);
|
|
22906
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
22811
22907
|
i0.ɵɵelementEnd()()();
|
|
22812
22908
|
i0.ɵɵelementContainerEnd();
|
|
22813
22909
|
} if (rf & 2) {
|
|
@@ -22815,19 +22911,19 @@ function QueryConfirmationComponent_main_0_ng_container_3_Template(rf, ctx) { if
|
|
|
22815
22911
|
i0.ɵɵadvance(3);
|
|
22816
22912
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, "Query submitted"));
|
|
22817
22913
|
i0.ɵɵadvance(3);
|
|
22818
|
-
i0.ɵɵ
|
|
22914
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(7, 11, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.header));
|
|
22819
22915
|
i0.ɵɵadvance(4);
|
|
22820
22916
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "What happens next"));
|
|
22917
|
+
i0.ɵɵadvance(2);
|
|
22918
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(13, 15, ctx_r0.callbackConfirmationMessageText == null ? null : ctx_r0.callbackConfirmationMessageText.body));
|
|
22821
22919
|
i0.ɵɵadvance(3);
|
|
22822
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22823
|
-
i0.ɵɵadvance(3);
|
|
22824
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22920
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 17, "When the response is available it will be added to the 'Queries' section."));
|
|
22825
22921
|
i0.ɵɵadvance(3);
|
|
22826
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
22922
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 19, "You can"), " ");
|
|
22827
22923
|
i0.ɵɵadvance(2);
|
|
22828
22924
|
i0.ɵɵpropertyInterpolate1("routerLink", "/cases/case-details/", ctx_r0.caseId, "");
|
|
22829
22925
|
i0.ɵɵadvance();
|
|
22830
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
22926
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 21, "Go back to the case"));
|
|
22831
22927
|
} }
|
|
22832
22928
|
function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
22833
22929
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -22835,19 +22931,19 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22835
22931
|
i0.ɵɵtext(3);
|
|
22836
22932
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
22837
22933
|
i0.ɵɵelementEnd();
|
|
22838
|
-
i0.ɵɵelementStart(5, "div",
|
|
22934
|
+
i0.ɵɵelementStart(5, "div", 12);
|
|
22839
22935
|
i0.ɵɵtext(6);
|
|
22840
22936
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
22841
22937
|
i0.ɵɵelementEnd()();
|
|
22842
|
-
i0.ɵɵelementStart(8, "div",
|
|
22938
|
+
i0.ɵɵelementStart(8, "div", 9);
|
|
22843
22939
|
i0.ɵɵtext(9);
|
|
22844
22940
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
22845
|
-
i0.ɵɵelementStart(11, "a",
|
|
22941
|
+
i0.ɵɵelementStart(11, "a", 13);
|
|
22846
22942
|
i0.ɵɵtext(12);
|
|
22847
22943
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
22848
22944
|
i0.ɵɵelementEnd();
|
|
22849
22945
|
i0.ɵɵtext(14, " or ");
|
|
22850
|
-
i0.ɵɵelementStart(15, "a",
|
|
22946
|
+
i0.ɵɵelementStart(15, "a", 14);
|
|
22851
22947
|
i0.ɵɵtext(16);
|
|
22852
22948
|
i0.ɵɵpipe(17, "rpxTranslate");
|
|
22853
22949
|
i0.ɵɵelementEnd()();
|
|
@@ -22871,7 +22967,7 @@ function QueryConfirmationComponent_main_0_ng_container_4_Template(rf, ctx) { if
|
|
|
22871
22967
|
} }
|
|
22872
22968
|
function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
22873
22969
|
i0.ɵɵelementStart(0, "main", 1)(1, "div", 2)(2, "div", 3);
|
|
22874
|
-
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template,
|
|
22970
|
+
i0.ɵɵtemplate(3, QueryConfirmationComponent_main_0_ng_container_3_Template, 23, 23, "ng-container", 4)(4, QueryConfirmationComponent_main_0_ng_container_4_Template, 18, 19, "ng-container", 4);
|
|
22875
22971
|
i0.ɵɵelementEnd()()();
|
|
22876
22972
|
} if (rf & 2) {
|
|
22877
22973
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -22883,6 +22979,7 @@ function QueryConfirmationComponent_main_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22883
22979
|
class QueryConfirmationComponent {
|
|
22884
22980
|
route;
|
|
22885
22981
|
queryCreateContext;
|
|
22982
|
+
callbackConfirmationMessageText = {};
|
|
22886
22983
|
caseId = '';
|
|
22887
22984
|
queryCreateContextEnum = QueryCreateContext;
|
|
22888
22985
|
constructor(route) {
|
|
@@ -22892,17 +22989,19 @@ class QueryConfirmationComponent {
|
|
|
22892
22989
|
this.caseId = this.route.snapshot.params.cid;
|
|
22893
22990
|
}
|
|
22894
22991
|
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22895
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22992
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext", callbackConfirmationMessageText: "callbackConfirmationMessageText" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "qm-confirmation", "govuk-panel__body"], [3, "content"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], [1, "govuk-panel__body"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22896
22993
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22897
22994
|
} if (rf & 2) {
|
|
22898
22995
|
i0.ɵɵproperty("ngIf", ctx.queryCreateContext);
|
|
22899
|
-
} }, dependencies: [i5.NgIf, i1$1.RouterLink, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22996
|
+
} }, dependencies: [i5.NgIf, i1$1.RouterLink, MarkdownComponent, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
22900
22997
|
}
|
|
22901
22998
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryConfirmationComponent, [{
|
|
22902
22999
|
type: Component,
|
|
22903
|
-
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\"
|
|
23000
|
+
args: [{ selector: 'ccd-query-confirmation', template: "<main class=\"govuk-main-wrapper\" *ngIf=\"queryCreateContext\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.NEW_QUERY || queryCreateContext === queryCreateContextEnum.FOLLOWUP\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query submitted' | rpxTranslate}}</h1>\n <div class=\"qm-confirmation govuk-panel__body\">\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.header | rpxTranslate\"></ccd-markdown>\n </div>\n </div>\n <div class=\"govuk-body\">\n <h3 class=\"govuk-heading-s\">{{'What happens next' | rpxTranslate}}</h3>\n <ccd-markdown [content]=\"callbackConfirmationMessageText?.body | rpxTranslate\"></ccd-markdown>\n <p>{{'When the response is available it will be added to the \\'Queries\\' section.' | rpxTranslate}}</p>\n <p>\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"queryCreateContext === queryCreateContextEnum.RESPOND\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">{{'Query response submitted' | rpxTranslate}}</h1>\n <div class=\"govuk-panel__body\">{{'This query response has been added to the case' | rpxTranslate}}</div>\n </div>\n <div class=\"govuk-body\">\n {{'You can' | rpxTranslate}}\n <a class=\"govuk-link\" id=\"tasks-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}/tasks\">{{'return to tasks' | rpxTranslate}}</a> or\n <a class=\"govuk-link\" id=\"case-link\" href=\"javascript:void(0)\" routerLink=\"/cases/case-details/{{caseId}}\">{{'Go back to the case' | rpxTranslate}}</a>\n </div>\n </ng-container>\n </div>\n </div>\n</main>\n" }]
|
|
22904
23001
|
}], () => [{ type: i1$1.ActivatedRoute }], { queryCreateContext: [{
|
|
22905
23002
|
type: Input
|
|
23003
|
+
}], callbackConfirmationMessageText: [{
|
|
23004
|
+
type: Input
|
|
22906
23005
|
}] }); })();
|
|
22907
23006
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(QueryConfirmationComponent, { className: "QueryConfirmationComponent", filePath: "lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.ts", lineNumber: 9 }); })();
|
|
22908
23007
|
|
|
@@ -22962,7 +23061,7 @@ function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_ng_templ
|
|
|
22962
23061
|
i0.ɵɵadvance(2);
|
|
22963
23062
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
22964
23063
|
i0.ɵɵadvance(3);
|
|
22965
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and
|
|
23064
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Our team will read your query and respond. Do not submit the same query more than once."));
|
|
22966
23065
|
} }
|
|
22967
23066
|
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
22968
23067
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -23048,7 +23147,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
23048
23147
|
}
|
|
23049
23148
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadQueryManagementFieldComponent, [{
|
|
23050
23149
|
type: Component,
|
|
23051
|
-
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and
|
|
23150
|
+
args: [{ selector: 'ccd-read-query-management-field', template: "<ng-container *ngIf=\"showQueryList; else singleQueryDetails\">\n <ng-container *ngFor=\"let caseQueriesCollection of caseQueriesCollections\">\n <div *ngIf=\"showQueryList\" class=\"govuk-!-margin-top-8 govuk-!-margin-bottom-8\">\n <ccd-query-list (selectedQuery)=\"setQuery($event)\" [caseQueriesCollection]=\"caseQueriesCollection\"></ccd-query-list>\n </div>\n </ng-container>\n</ng-container>\n\n<ng-template #singleQueryDetails>\n <ccd-query-details\n [query]=\"query\"\n (backClicked)=\"showQueryList = true\"\n [caseId]=\"caseId\"\n ></ccd-query-details>\n\n <ng-container *ngIf=\"!isInternalUser()\">\n <ng-container *ngIf=\"query?.children?.length > 0 && query?.children?.length % 2 === 1; else queryIsInReview\">\n <button id=\"ask-follow-up-question\" class=\"govuk-button\" data-module=\"govuk-button\"\n [routerLink]=\"['/query-management', 'query', caseId, '4', query.id]\">\n {{ 'Ask a follow-up question' | rpxTranslate }}\n </button>\n </ng-container>\n\n <ng-template #queryIsInReview>\n <div>\n <p class=\"govuk-!-font-weight-bold\">{{ 'Your query is under review' | rpxTranslate }}</p>\n <p>{{ 'Our team will read your query and respond. Do not submit the same query more than once.' | rpxTranslate }}</p>\n </div>\n </ng-template>\n </ng-container>\n</ng-template>\n" }]
|
|
23052
23151
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: SessionStorageService }, { type: CaseNotifier }], null); })();
|
|
23053
23152
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 15 }); })();
|
|
23054
23153
|
|
|
@@ -23685,11 +23784,11 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23685
23784
|
} if (rf & 2) {
|
|
23686
23785
|
i0.ɵɵclassProp("grey-bar", ctx.canHaveGreyBar && !ctx.caseField.hiddenCannotChange);
|
|
23687
23786
|
i0.ɵɵproperty("hidden", ctx.caseField.hidden);
|
|
23688
|
-
} }, styles: [".form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
|
|
23787
|
+
} }, styles: [".input-upload-file[_ngcontent-%COMP%]{width:100%;display:none}.upload-file-container[_ngcontent-%COMP%]{display:flex;align-items:baseline}.input-label[_ngcontent-%COMP%]{width:8rem}.form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
|
|
23689
23788
|
}
|
|
23690
23789
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldWriteComponent, [{
|
|
23691
23790
|
type: Component,
|
|
23692
|
-
args: [{ selector: 'ccd-field-write', template: "<div [hidden]=\"caseField.hidden\" [class.grey-bar]=\"canHaveGreyBar && !caseField.hiddenCannotChange\">\n <ng-container #fieldContainer></ng-container>\n</div>\n", styles: [".form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
|
|
23791
|
+
args: [{ selector: 'ccd-field-write', template: "<div [hidden]=\"caseField.hidden\" [class.grey-bar]=\"canHaveGreyBar && !caseField.hiddenCannotChange\">\n <ng-container #fieldContainer></ng-container>\n</div>\n", styles: [".input-upload-file{width:100%;display:none}.upload-file-container{display:flex;align-items:baseline}.input-label{width:8rem}.form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
|
|
23693
23792
|
}], () => [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }], { caseFields: [{
|
|
23694
23793
|
type: Input
|
|
23695
23794
|
}], fieldContainer: [{
|
|
@@ -24013,7 +24112,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
24013
24112
|
const trigger_r5 = i0.ɵɵreference(2);
|
|
24014
24113
|
i0.ɵɵadvance(4);
|
|
24015
24114
|
i0.ɵɵproperty("cdkConnectedOverlayOrigin", trigger_r5)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
24016
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
24115
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$2.CdkConnectedOverlay, i2$2.CdkOverlayOrigin], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-4px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__title[_ngcontent-%COMP%], .overlay-menu__item[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__title[_ngcontent-%COMP%]:last-child, .overlay-menu__item[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__item[_ngcontent-%COMP%]:focus{border:2px solid #ffbf47}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
24017
24116
|
}
|
|
24018
24117
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
24019
24118
|
type: Component,
|
|
@@ -24115,11 +24214,11 @@ class CaseFileViewFolderSortComponent {
|
|
|
24115
24214
|
} if (rf & 2) {
|
|
24116
24215
|
i0.ɵɵproperty("title", "Sort documents by name")("menuItems", ctx.overlayMenuItems);
|
|
24117
24216
|
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24118
|
-
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{
|
|
24217
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".sort-button-icon[_ngcontent-%COMP%]{height:20px;margin-right:-2px}"] });
|
|
24119
24218
|
}
|
|
24120
24219
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSortComponent, [{
|
|
24121
24220
|
type: Component,
|
|
24122
|
-
args: [{ selector: 'ccd-case-file-view-folder-sort', template: "<ccd-case-file-view-overlay-menu\n [title]=\"'Sort documents by name'\"\n [menuItems]=\"overlayMenuItems\"\n [(isOpen)]=\"isOpen\"\n>\n <ng-container trigger>\n <img class=\"sort-button-icon\" src=\"/assets/img/sort/sort-arrows.svg\" alt=\"Sort Arrows\">\n </ng-container>\n</ccd-case-file-view-overlay-menu>\n", styles: [".sort-button-icon{
|
|
24221
|
+
args: [{ selector: 'ccd-case-file-view-folder-sort', template: "<ccd-case-file-view-overlay-menu\n [title]=\"'Sort documents by name'\"\n [menuItems]=\"overlayMenuItems\"\n [(isOpen)]=\"isOpen\"\n>\n <ng-container trigger>\n <img class=\"sort-button-icon\" src=\"/assets/img/sort/sort-arrows.svg\" alt=\"Sort Arrows\">\n </ng-container>\n</ccd-case-file-view-overlay-menu>\n", styles: [".sort-button-icon{height:20px;margin-right:-2px}\n"] }]
|
|
24123
24222
|
}], () => [{ type: AbstractAppConfig }], { sortAscending: [{
|
|
24124
24223
|
type: Output
|
|
24125
24224
|
}], sortDescending: [{
|
|
@@ -24127,6 +24226,49 @@ class CaseFileViewFolderSortComponent {
|
|
|
24127
24226
|
}] }); })();
|
|
24128
24227
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderSortComponent, { className: "CaseFileViewFolderSortComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.ts", lineNumber: 11 }); })();
|
|
24129
24228
|
|
|
24229
|
+
class CaseFileViewFolderToggleComponent {
|
|
24230
|
+
appConfig;
|
|
24231
|
+
isOpen = false;
|
|
24232
|
+
expandAll = new EventEmitter();
|
|
24233
|
+
collapseAll = new EventEmitter();
|
|
24234
|
+
overlayMenuItems = [
|
|
24235
|
+
{
|
|
24236
|
+
actionText: "Expand All",
|
|
24237
|
+
iconSrc: "/assets/img/accordion-plus.png",
|
|
24238
|
+
actionFn: () => this.expandAll.emit(true),
|
|
24239
|
+
},
|
|
24240
|
+
{
|
|
24241
|
+
actionText: "Collapse All",
|
|
24242
|
+
iconSrc: "/assets/img/accordion-minus.png",
|
|
24243
|
+
actionFn: () => this.collapseAll.emit(true),
|
|
24244
|
+
},
|
|
24245
|
+
];
|
|
24246
|
+
constructor(appConfig) {
|
|
24247
|
+
this.appConfig = appConfig;
|
|
24248
|
+
}
|
|
24249
|
+
static ɵfac = function CaseFileViewFolderToggleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderToggleComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24250
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderToggleComponent, selectors: [["ccd-case-file-view-folder-toggle"]], outputs: { expandAll: "expandAll", collapseAll: "collapseAll" }, decls: 3, vars: 3, consts: [[3, "isOpenChange", "title", "menuItems", "isOpen"], ["trigger", ""], ["src", "/assets/images/folder-open.png", "alt", "Toggle list", 1, "toggle-button-icon"]], template: function CaseFileViewFolderToggleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24251
|
+
i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
24252
|
+
i0.ɵɵtwoWayListener("isOpenChange", function CaseFileViewFolderToggleComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.isOpen, $event) || (ctx.isOpen = $event); return $event; });
|
|
24253
|
+
i0.ɵɵelementContainerStart(1, 1);
|
|
24254
|
+
i0.ɵɵelement(2, "img", 2);
|
|
24255
|
+
i0.ɵɵelementContainerEnd();
|
|
24256
|
+
i0.ɵɵelementEnd();
|
|
24257
|
+
} if (rf & 2) {
|
|
24258
|
+
i0.ɵɵproperty("title", "Toggle list")("menuItems", ctx.overlayMenuItems);
|
|
24259
|
+
i0.ɵɵtwoWayProperty("isOpen", ctx.isOpen);
|
|
24260
|
+
} }, dependencies: [CaseFileViewOverlayMenuComponent], styles: [".toggle-button-icon[_ngcontent-%COMP%]{margin-right:2px;height:20px}"] });
|
|
24261
|
+
}
|
|
24262
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderToggleComponent, [{
|
|
24263
|
+
type: Component,
|
|
24264
|
+
args: [{ selector: "ccd-case-file-view-folder-toggle", template: "<ccd-case-file-view-overlay-menu [title]=\"'Toggle list'\" [menuItems]=\"overlayMenuItems\" [(isOpen)]=\"isOpen\">\n <ng-container trigger>\n <img class=\"toggle-button-icon\" src=\"/assets/images/folder-open.png\" alt=\"Toggle list\" />\n </ng-container>\n</ccd-case-file-view-overlay-menu>", styles: [".toggle-button-icon{margin-right:2px;height:20px}\n"] }]
|
|
24265
|
+
}], () => [{ type: AbstractAppConfig }], { expandAll: [{
|
|
24266
|
+
type: Output
|
|
24267
|
+
}], collapseAll: [{
|
|
24268
|
+
type: Output
|
|
24269
|
+
}] }); })();
|
|
24270
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseFileViewFolderToggleComponent, { className: "CaseFileViewFolderToggleComponent", filePath: "lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-toggle/case-file-view-folder-toggle.component.ts", lineNumber: 10 }); })();
|
|
24271
|
+
|
|
24130
24272
|
class CaseFileViewCategory {
|
|
24131
24273
|
category_id;
|
|
24132
24274
|
category_name;
|
|
@@ -24280,27 +24422,27 @@ __decorate([
|
|
|
24280
24422
|
__metadata("design:paramtypes", [])
|
|
24281
24423
|
], DocumentTreeNode.prototype, "childDocumentCount", null);
|
|
24282
24424
|
|
|
24283
|
-
function
|
|
24425
|
+
function CaseFileViewFolderComponent_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
24284
24426
|
i0.ɵɵelementStart(0, "div");
|
|
24285
24427
|
i0.ɵɵtext(1, " No results found ");
|
|
24286
24428
|
i0.ɵɵelementEnd();
|
|
24287
24429
|
} }
|
|
24288
|
-
function
|
|
24430
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template(rf, ctx) { if (rf & 1) {
|
|
24289
24431
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
24290
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
24291
|
-
i0.ɵɵlistener("click", function
|
|
24292
|
-
i0.ɵɵelementStart(2, "div",
|
|
24293
|
-
i0.ɵɵelement(3, "img",
|
|
24432
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 14)(1, "button", 15);
|
|
24433
|
+
i0.ɵɵlistener("click", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_button_click_1_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); ctx_r2.selectedNodeItem = node_r2; return i0.ɵɵresetView(ctx_r2.clickedDocument.emit(node_r2)); });
|
|
24434
|
+
i0.ɵɵelementStart(2, "div", 16);
|
|
24435
|
+
i0.ɵɵelement(3, "img", 17);
|
|
24294
24436
|
i0.ɵɵelementEnd();
|
|
24295
|
-
i0.ɵɵelementStart(4, "span",
|
|
24437
|
+
i0.ɵɵelementStart(4, "span", 18);
|
|
24296
24438
|
i0.ɵɵtext(5);
|
|
24297
24439
|
i0.ɵɵelement(6, "br");
|
|
24298
|
-
i0.ɵɵelementStart(7, "span",
|
|
24440
|
+
i0.ɵɵelementStart(7, "span", 19);
|
|
24299
24441
|
i0.ɵɵtext(8);
|
|
24300
24442
|
i0.ɵɵpipe(9, "ccdDate");
|
|
24301
24443
|
i0.ɵɵelementEnd()()();
|
|
24302
|
-
i0.ɵɵelementStart(10, "div",
|
|
24303
|
-
i0.ɵɵlistener("changeFolderAction", function
|
|
24444
|
+
i0.ɵɵelementStart(10, "div", 20)(11, "ccd-case-file-view-folder-document-actions", 21);
|
|
24445
|
+
i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("changeFolder", node_r2)); })("openInANewTabAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("openInANewTab", node_r2)); })("downloadAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("download", node_r2)); })("printAction", function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_11_listener() { const node_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.triggerDocumentAction("print", node_r2)); });
|
|
24304
24446
|
i0.ɵɵelementEnd()()();
|
|
24305
24447
|
} if (rf & 2) {
|
|
24306
24448
|
const node_r2 = ctx.$implicit;
|
|
@@ -24314,17 +24456,17 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
|
|
|
24314
24456
|
i0.ɵɵadvance(3);
|
|
24315
24457
|
i0.ɵɵproperty("allowMoving", ctx_r2.allowMoving);
|
|
24316
24458
|
} }
|
|
24317
|
-
function
|
|
24318
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
24319
|
-
i0.ɵɵelement(3, "img",
|
|
24320
|
-
i0.ɵɵelementStart(4, "span",
|
|
24459
|
+
function CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
|
|
24460
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 22)(1, "button", 23)(2, "div", 24);
|
|
24461
|
+
i0.ɵɵelement(3, "img", 25);
|
|
24462
|
+
i0.ɵɵelementStart(4, "span", 26);
|
|
24321
24463
|
i0.ɵɵtext(5);
|
|
24322
24464
|
i0.ɵɵelementEnd()();
|
|
24323
|
-
i0.ɵɵelementStart(6, "span",
|
|
24465
|
+
i0.ɵɵelementStart(6, "span", 27);
|
|
24324
24466
|
i0.ɵɵtext(7);
|
|
24325
24467
|
i0.ɵɵelementEnd()();
|
|
24326
24468
|
i0.ɵɵelementStart(8, "div");
|
|
24327
|
-
i0.ɵɵelementContainer(9,
|
|
24469
|
+
i0.ɵɵelementContainer(9, 28);
|
|
24328
24470
|
i0.ɵɵelementEnd()();
|
|
24329
24471
|
} if (rf & 2) {
|
|
24330
24472
|
const node_r4 = ctx.$implicit;
|
|
@@ -24340,11 +24482,11 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, c
|
|
|
24340
24482
|
i0.ɵɵadvance();
|
|
24341
24483
|
i0.ɵɵclassProp("document-tree-invisible", !ctx_r2.nestedTreeControl.isExpanded(node_r4));
|
|
24342
24484
|
} }
|
|
24343
|
-
function
|
|
24344
|
-
i0.ɵɵelementStart(0, "div",
|
|
24345
|
-
i0.ɵɵtemplate(1,
|
|
24346
|
-
i0.ɵɵelementStart(2, "div")(3, "cdk-tree",
|
|
24347
|
-
i0.ɵɵtemplate(4,
|
|
24485
|
+
function CaseFileViewFolderComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
24486
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
24487
|
+
i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_9_div_1_Template, 2, 0, "div", 10);
|
|
24488
|
+
i0.ɵɵelementStart(2, "div")(3, "cdk-tree", 11);
|
|
24489
|
+
i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_4_Template, 12, 9, "cdk-nested-tree-node", 12)(5, CaseFileViewFolderComponent_div_9_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 13);
|
|
24348
24490
|
i0.ɵɵelementEnd()()();
|
|
24349
24491
|
} if (rf & 2) {
|
|
24350
24492
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -24399,6 +24541,14 @@ class CaseFileViewFolderComponent {
|
|
|
24399
24541
|
this.appConfig = appConfig;
|
|
24400
24542
|
this.nestedTreeControl = new NestedTreeControl(this.getChildren);
|
|
24401
24543
|
}
|
|
24544
|
+
collapseAll(expand) {
|
|
24545
|
+
this.nestedTreeControl.collapseAll();
|
|
24546
|
+
}
|
|
24547
|
+
expandAll(expand) {
|
|
24548
|
+
this.nestedDataSource.forEach((node) => {
|
|
24549
|
+
this.nestedTreeControl.expandDescendants(node);
|
|
24550
|
+
});
|
|
24551
|
+
}
|
|
24402
24552
|
ngOnInit() {
|
|
24403
24553
|
this.documentFilterFormGroup = new FormGroup({});
|
|
24404
24554
|
this.documentSearchFormControl = new FormControl('');
|
|
@@ -24582,29 +24732,32 @@ class CaseFileViewFolderComponent {
|
|
|
24582
24732
|
a.remove();
|
|
24583
24733
|
}
|
|
24584
24734
|
static ɵfac = function CaseFileViewFolderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24585
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls:
|
|
24735
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 10, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", "aria-label", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [1, "document-folders-header__flex"], [3, "expandAll", "collapseAll"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", "case-file__node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options", "case-file__action"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction", "allowMoving"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24586
24736
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
24587
24737
|
i0.ɵɵelement(2, "input", 2);
|
|
24588
24738
|
i0.ɵɵelementEnd()();
|
|
24589
|
-
i0.ɵɵelementStart(3, "div", 3)(4, "
|
|
24739
|
+
i0.ɵɵelementStart(3, "div", 3)(4, "div", 4);
|
|
24590
24740
|
i0.ɵɵtext(5);
|
|
24591
24741
|
i0.ɵɵelementEnd();
|
|
24592
|
-
i0.ɵɵelementStart(6, "div")(7, "ccd-case-file-view-folder-
|
|
24593
|
-
i0.ɵɵlistener("
|
|
24742
|
+
i0.ɵɵelementStart(6, "div", 5)(7, "ccd-case-file-view-folder-toggle", 6);
|
|
24743
|
+
i0.ɵɵlistener("expandAll", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_toggle_expandAll_7_listener($event) { return ctx.expandAll($event); })("collapseAll", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_toggle_collapseAll_7_listener($event) { return ctx.collapseAll($event); });
|
|
24744
|
+
i0.ɵɵelementEnd();
|
|
24745
|
+
i0.ɵɵelementStart(8, "ccd-case-file-view-folder-sort", 7);
|
|
24746
|
+
i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_8_listener($event) { return ctx.sortDataSourceAscending($event); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_8_listener($event) { return ctx.sortDataSourceDescending($event); });
|
|
24594
24747
|
i0.ɵɵelementEnd()()();
|
|
24595
|
-
i0.ɵɵtemplate(
|
|
24748
|
+
i0.ɵɵtemplate(9, CaseFileViewFolderComponent_div_9_Template, 6, 4, "div", 8);
|
|
24596
24749
|
} if (rf & 2) {
|
|
24597
24750
|
i0.ɵɵadvance();
|
|
24598
24751
|
i0.ɵɵproperty("formGroup", ctx.documentFilterFormGroup);
|
|
24599
24752
|
i0.ɵɵadvance(4);
|
|
24600
24753
|
i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
24601
|
-
i0.ɵɵadvance(
|
|
24754
|
+
i0.ɵɵadvance(4);
|
|
24602
24755
|
i0.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
24603
|
-
} }, dependencies: [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i7$1.CdkNestedTreeNode, i7$1.CdkTreeNodeDef, i7$1.CdkTreeNodeToggle, i7$1.CdkTree, i7$1.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderDocumentActionsComponent, DatePipe], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node[_ngcontent-%COMP%]{width:80%;float:left}.node__document-options.case-file__action[_ngcontent-%COMP%]{width:15%;float:left;box-sizing:border-box;padding:12px}"] });
|
|
24756
|
+
} }, dependencies: [i5.NgIf, i4.DefaultValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormGroupDirective, i4.FormControlName, i7$1.CdkNestedTreeNode, i7$1.CdkTreeNodeDef, i7$1.CdkTreeNodeToggle, i7$1.CdkTree, i7$1.CdkTreeNodeOutlet, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewFolderDocumentActionsComponent, DatePipe], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #C9C9C9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-folders-header__flex[_ngcontent-%COMP%]{display:flex;flex-direction:row}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node[_ngcontent-%COMP%]{width:80%;float:left}.node__document-options.case-file__action[_ngcontent-%COMP%]{width:15%;float:left;box-sizing:border-box;padding:12px}"] });
|
|
24604
24757
|
}
|
|
24605
24758
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
24606
24759
|
type: Component,
|
|
24607
|
-
args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input class=\"form-control document-search\"\n type=\"search\"\n id=\"document-search\"\n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\"
|
|
24760
|
+
args: [{ selector: 'ccd-case-file-view-folder', template: "<div class=\"document-filter-container\">\n <div class=\"form-group document-filter\" [formGroup]=\"documentFilterFormGroup\">\n <input \n class=\"form-control document-search\" \n type=\"search\" \n id=\"document-search\" \n name=\"documentSearchFormControl\"\n formControlName=\"documentSearchFormControl\"\n placeholder=\"Search by document name\"\n aria-label=\"Search by document name\" />\n </div>\n</div>\n\n<div class=\"document-folders-header\">\n <div class=\"document-folders-header__title\">Documents ({{ documentCount }})</div>\n <div class=\"document-folders-header__flex\">\n <ccd-case-file-view-folder-toggle \n (expandAll)=\"expandAll($event)\"\n (collapseAll)=\"collapseAll($event)\">\n </ccd-case-file-view-folder-toggle>\n <ccd-case-file-view-folder-sort \n (sortAscending)=\"sortDataSourceAscending($event)\"\n (sortDescending)=\"sortDataSourceDescending($event)\">\n </ccd-case-file-view-folder-sort>\n </div>\n</div>\n\n<div class=\"document-tree-container\" *ngIf=\"documentTreeData\">\n <div *ngIf=\"!nestedDataSource || nestedDataSource.length === 0\">\n No results found\n </div>\n <div>\n <cdk-tree [dataSource]=\"nestedDataSource\" [treeControl]=\"nestedTreeControl\">\n <!-- document -->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__node--document\" *cdkTreeNodeDef=\"let node\">\n <button class=\"node case-file__node\" (click)=\"selectedNodeItem = node; clickedDocument.emit(node)\"\n [class.node--selected]=\"selectedNodeItem?.name === node.name\">\n <div class=\"node__icon\" disabled>\n <img src=\"/assets/img/case-file-view/case-file-view-document.svg\" \n class=\"node__iconImg\"\n alt=\"Document icon\" \n />\n </div>\n <span class=\"node__name node-name-document\">\n {{ node.name }}\n <br />\n <span class=\"node__document-upload-timestamp\">{{\n node.upload_timestamp | ccdDate: \"local\":\"dd MMM YYYY HH:mm\"\n }}</span>\n </span>\n </button>\n <div class=\"node__document-options case-file__action\">\n <ccd-case-file-view-folder-document-actions\n (changeFolderAction)=\"triggerDocumentAction('changeFolder', node)\"\n (openInANewTabAction)=\"triggerDocumentAction('openInANewTab', node)\"\n (downloadAction)=\"triggerDocumentAction('download', node)\"\n (printAction)=\"triggerDocumentAction('print', node)\"\n [allowMoving]=\"allowMoving\"\n >\n </ccd-case-file-view-folder-document-actions>\n </div>\n </cdk-nested-tree-node>\n <!-- folder-->\n <cdk-nested-tree-node class=\"document-tree-container__node document-tree-container__folder\" *cdkTreeNodeDef=\"let node; when: nestedChildren\">\n <button class=\"node\" cdkTreeNodeToggle>\n <div class=\"node__icon\" [attr.aria-label]=\"'toggle ' + node.name\">\n <img class=\"node__iconImg\" \n [src]=\"nestedTreeControl.isExpanded(node)\n ? '/assets/images/folder-open.png'\n : '/assets/images/folder.png'\n \" alt=\"Folder icon\" />\n <span class=\"node__count\">{{ node.childDocumentCount }}</span>\n </div>\n <span class=\"node__name node__name--folder\">{{ node.name }}</span>\n </button>\n <div [class.document-tree-invisible]=\"!nestedTreeControl.isExpanded(node)\">\n <ng-container cdkTreeNodeOutlet></ng-container>\n </div>\n </cdk-nested-tree-node>\n </cdk-tree>\n </div>\n</div>\n", styles: [":host{display:flex;height:100%;flex-direction:column}:host .document-tree-container{flex:1 0}.document-filter-container{border-bottom:2px solid #C9C9C9}.document-filter-container .document-filter{padding:10px}.document-filter-container .document-filter .document-search{background:url(/assets/images/icon-search-black.svg) no-repeat right #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container .documents-title{height:30%;margin-left:8px;font-weight:700}.document-folders-header__flex{display:flex;flex-direction:row}.document-tree-container{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node{display:block}.document-tree-container__node .document-tree-container__node{padding-left:40px}.document-tree-container .document-tree-invisible{display:none}.document-tree-container::-webkit-scrollbar{width:7px}.document-tree-container::-webkit-scrollbar-thumb{border:4px solid rgba(0,0,0,0);background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container::-webkit-scrollbar-button{display:none}.document-tree-container::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #C9C9C9;padding:10px}.document-folders-header__title{font-weight:700}.node{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected{background:#fff2cc}.node__icon{position:relative;display:inline-block}.node__count{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg{display:block;height:30px;width:30px}.node__name{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options{margin-left:auto;margin-right:0}.node__document-upload-timestamp{font-size:.8rem;float:left;padding-left:10px}.node.case-file__node{width:80%;float:left}.node__document-options.case-file__action{width:15%;float:left;box-sizing:border-box;padding:12px}\n"] }]
|
|
24608
24761
|
}], () => [{ type: WindowService }, { type: i1$1.Router }, { type: DocumentManagementService }, { type: i1$3.MatLegacyDialog }, { type: AbstractAppConfig }], { categoriesAndDocuments: [{
|
|
24609
24762
|
type: Input
|
|
24610
24763
|
}], allowMoving: [{
|
|
@@ -29678,7 +29831,7 @@ class MarkdownComponentModule {
|
|
|
29678
29831
|
}], null, null); })();
|
|
29679
29832
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MarkdownComponentModule, { declarations: [MarkdownComponent,
|
|
29680
29833
|
RouterLinkComponent], imports: [CommonModule,
|
|
29681
|
-
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule,
|
|
29834
|
+
ReactiveFormsModule, i1.RpxTranslationModule, PipesModule, i2$1.MarkdownModule, RouterModule], exports: [MarkdownComponent,
|
|
29682
29835
|
RouterLinkComponent] }); })();
|
|
29683
29836
|
|
|
29684
29837
|
class FeeValue {
|
|
@@ -30167,6 +30320,7 @@ const PALETTE_COMPONENTS = [
|
|
|
30167
30320
|
CaseFileViewFieldComponent,
|
|
30168
30321
|
CaseFileViewFolderComponent,
|
|
30169
30322
|
CaseFileViewFolderSortComponent,
|
|
30323
|
+
CaseFileViewFolderToggleComponent,
|
|
30170
30324
|
CaseFileViewOverlayMenuComponent,
|
|
30171
30325
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30172
30326
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30437,6 +30591,7 @@ class PaletteModule {
|
|
|
30437
30591
|
CaseFileViewFieldComponent,
|
|
30438
30592
|
CaseFileViewFolderComponent,
|
|
30439
30593
|
CaseFileViewFolderSortComponent,
|
|
30594
|
+
CaseFileViewFolderToggleComponent,
|
|
30440
30595
|
CaseFileViewOverlayMenuComponent,
|
|
30441
30596
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30442
30597
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30497,7 +30652,7 @@ class PaletteModule {
|
|
|
30497
30652
|
BodyModule,
|
|
30498
30653
|
FormModule,
|
|
30499
30654
|
TabsModule,
|
|
30500
|
-
LabelSubstitutorModule,
|
|
30655
|
+
LabelSubstitutorModule, i2$1.MarkdownModule, NgxMatDatetimePickerModule,
|
|
30501
30656
|
NgxMatTimepickerModule,
|
|
30502
30657
|
NgxMatNativeDateModule,
|
|
30503
30658
|
MatLegacyFormFieldModule,
|
|
@@ -30593,6 +30748,7 @@ class PaletteModule {
|
|
|
30593
30748
|
CaseFileViewFieldComponent,
|
|
30594
30749
|
CaseFileViewFolderComponent,
|
|
30595
30750
|
CaseFileViewFolderSortComponent,
|
|
30751
|
+
CaseFileViewFolderToggleComponent,
|
|
30596
30752
|
CaseFileViewOverlayMenuComponent,
|
|
30597
30753
|
CaseFileViewFolderDocumentActionsComponent,
|
|
30598
30754
|
CaseFileViewFolderSelectorComponent,
|
|
@@ -30670,7 +30826,7 @@ i0.ɵɵsetComponentScope(ReadLinkedCasesFieldComponent, function () { return [i5
|
|
|
30670
30826
|
i0.ɵɵsetComponentScope(WriteAddressFieldComponent, function () { return [i5.NgClass, i5.NgForOf, i5.NgIf, i4.NgSelectOption, i4.ɵNgSelectMultipleOption, i4.DefaultValueAccessor, i4.SelectControlValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.FormControlDirective, i4.FormGroupDirective, WriteComplexFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30671
30827
|
i0.ɵɵsetComponentScope(WriteComplexFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent,
|
|
30672
30828
|
FieldWriteComponent]; }, function () { return [FieldLabelPipe, IsReadOnlyPipe]; });
|
|
30673
|
-
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf,
|
|
30829
|
+
i0.ɵɵsetComponentScope(WriteDocumentFieldComponent, function () { return [i5.NgClass, i5.NgIf, i2$1.MarkdownComponent, ReadDocumentFieldComponent]; }, function () { return [FieldLabelPipe, i1.RpxTranslatePipe]; });
|
|
30674
30830
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30675
30831
|
WriteDateFieldComponent]; }, []);
|
|
30676
30832
|
i0.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i4.NgControlStatusGroup, i4.FormGroupDirective, SelectFlagTypeComponent,
|
|
@@ -30690,7 +30846,7 @@ i0.ɵɵsetComponentScope(WriteOrganisationFieldComponent, function () { return [
|
|
|
30690
30846
|
i0.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, function () { return [ReadOrderSummaryFieldComponent]; }, []);
|
|
30691
30847
|
i0.ɵɵsetComponentScope(WriteDateContainerFieldComponent, function () { return [i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, DatetimePickerComponent,
|
|
30692
30848
|
WriteDateFieldComponent]; }, []);
|
|
30693
|
-
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective,
|
|
30849
|
+
i0.ɵɵsetComponentScope(WriteCollectionFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i4.NgControlStatusGroup, i4.FormGroupDirective, MarkdownComponent, FieldWriteComponent]; }, function () { return [FieldLabelPipe, FirstErrorPipe, i1.RpxTranslatePipe]; });
|
|
30694
30850
|
i0.ɵɵsetComponentScope(
|
|
30695
30851
|
// ComponentLauncher web components
|
|
30696
30852
|
CaseFileViewFieldComponent, function () { return [i5.NgForOf, i5.NgIf, i14.MediaViewerComponent, CaseFileViewFolderComponent]; }, []);
|
|
@@ -32091,7 +32247,7 @@ class PaginationComponent {
|
|
|
32091
32247
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 4, "Pagination"));
|
|
32092
32248
|
i0.ɵɵadvance(2);
|
|
32093
32249
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && p_r3.pages.length <= 1));
|
|
32094
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$
|
|
32250
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i2$3.PaginationControlsDirective, i5.DecimalPipe, i1.RpxTranslatePipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%]:after{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900;text-decoration:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before{margin-right:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);content:\"\";border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after{margin-left:.5rem;display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);content:\"\";border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
32095
32251
|
}
|
|
32096
32252
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
32097
32253
|
type: Component,
|
|
@@ -32437,7 +32593,7 @@ class CaseListComponent {
|
|
|
32437
32593
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(10, 10, ctx.cases, i0.ɵɵpureFunction3(13, _c0$c, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
32438
32594
|
i0.ɵɵadvance(2);
|
|
32439
32595
|
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
32440
|
-
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$
|
|
32596
|
+
} }, dependencies: [i5.NgForOf, i5.NgIf, i5.NgSwitch, i5.NgSwitchCase, i5.NgSwitchDefault, i1$1.RouterLink, PaginationComponent, i5.CurrencyPipe, i2$3.PaginatePipe, i1.RpxTranslatePipe] });
|
|
32441
32597
|
}
|
|
32442
32598
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
32443
32599
|
type: Component,
|
|
@@ -39512,7 +39668,7 @@ class SearchResultModule {
|
|
|
39512
39668
|
PipesModule,
|
|
39513
39669
|
ActivityModule,
|
|
39514
39670
|
PaginationModule, i1.RpxTranslationModule, PaletteModule], exports: [SearchResultComponent] }); })();
|
|
39515
|
-
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$
|
|
39671
|
+
i0.ɵɵsetComponentScope(SearchResultComponent, function () { return [i5.NgForOf, i5.NgIf, i1$1.RouterLink, LabelSubstitutorDirective, ActivityComponent, PaginationComponent, FieldReadComponent]; }, function () { return [i5.DecimalPipe, i2$3.PaginatePipe, CaseReferencePipe, SortSearchResultPipe, i1.RpxTranslatePipe]; });
|
|
39516
39672
|
|
|
39517
39673
|
// tslint:disable:variable-name
|
|
39518
39674
|
class ComplexFieldOverride {
|
|
@@ -39756,5 +39912,5 @@ class TestRouteSnapshotBuilder {
|
|
|
39756
39912
|
* Generated bundle index. Do not edit.
|
|
39757
39913
|
*/
|
|
39758
39914
|
|
|
39759
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
39915
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
39760
39916
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.mjs.map
|