@hmcts/ccd-case-ui-toolkit 6.16.0-query-details-ui-changes-v3 → 6.16.0-query-management-update-mock-data
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +698 -539
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +24 -12
- package/esm2015/lib/shared/components/palette/palette.module.js +7 -11
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +176 -131
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +1 -2
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +33 -27
- package/esm2015/lib/shared/components/palette/query-management/components/query-details/query-details.component.js +242 -118
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +12 -12
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +41 -52
- package/esm2015/lib/shared/components/palette/query-management/models/case-queries-collection.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/index.js +5 -6
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.js +8 -8
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.js +1 -1
- package/esm2015/lib/shared/components/palette/query-management/read-query-management-field.component.js +81 -28
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +597 -517
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +12 -3
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +38 -39
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +10 -2
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts +0 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts +6 -1
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +3 -3
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts +27 -0
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/index.d.ts +4 -5
- package/lib/shared/components/palette/query-management/models/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts +3 -3
- 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 +4 -5
- 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/components/palette/query-management/read-query-management-field.component.d.ts +3 -2
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.js +0 -146
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-message.model.js +0 -2
- package/esm2015/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.js +0 -2
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts +0 -8
- package/lib/shared/components/palette/query-management/components/query-details-table/query-details-table.component.d.ts.map +0 -1
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts +0 -14
- package/lib/shared/components/palette/query-management/models/party-messages/party-message.model.d.ts.map +0 -1
- package/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.d.ts +0 -7
- package/lib/shared/components/palette/query-management/models/party-messages/party-messages-group.model.d.ts.map +0 -1
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
532
532
|
PERFORMANCE OF THIS SOFTWARE.
|
|
533
533
|
***************************************************************************** */
|
|
534
|
-
/* global Reflect, Promise */
|
|
534
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
535
535
|
var extendStatics = function (d, b) {
|
|
536
536
|
extendStatics = Object.setPrototypeOf ||
|
|
537
537
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -610,11 +610,11 @@
|
|
|
610
610
|
if (_ = accept(result.set))
|
|
611
611
|
descriptor.set = _;
|
|
612
612
|
if (_ = accept(result.init))
|
|
613
|
-
initializers.
|
|
613
|
+
initializers.unshift(_);
|
|
614
614
|
}
|
|
615
615
|
else if (_ = accept(result)) {
|
|
616
616
|
if (kind === "field")
|
|
617
|
-
initializers.
|
|
617
|
+
initializers.unshift(_);
|
|
618
618
|
else
|
|
619
619
|
descriptor[key] = _;
|
|
620
620
|
}
|
|
@@ -901,6 +901,85 @@
|
|
|
901
901
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
902
902
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
903
903
|
}
|
|
904
|
+
function __addDisposableResource(env, value, async) {
|
|
905
|
+
if (value !== null && value !== void 0) {
|
|
906
|
+
if (typeof value !== "object")
|
|
907
|
+
throw new TypeError("Object expected.");
|
|
908
|
+
var dispose;
|
|
909
|
+
if (async) {
|
|
910
|
+
if (!Symbol.asyncDispose)
|
|
911
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
912
|
+
dispose = value[Symbol.asyncDispose];
|
|
913
|
+
}
|
|
914
|
+
if (dispose === void 0) {
|
|
915
|
+
if (!Symbol.dispose)
|
|
916
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
917
|
+
dispose = value[Symbol.dispose];
|
|
918
|
+
}
|
|
919
|
+
if (typeof dispose !== "function")
|
|
920
|
+
throw new TypeError("Object not disposable.");
|
|
921
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
922
|
+
}
|
|
923
|
+
else if (async) {
|
|
924
|
+
env.stack.push({ async: true });
|
|
925
|
+
}
|
|
926
|
+
return value;
|
|
927
|
+
}
|
|
928
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
929
|
+
var e = new Error(message);
|
|
930
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
931
|
+
};
|
|
932
|
+
function __disposeResources(env) {
|
|
933
|
+
function fail(e) {
|
|
934
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
935
|
+
env.hasError = true;
|
|
936
|
+
}
|
|
937
|
+
function next() {
|
|
938
|
+
while (env.stack.length) {
|
|
939
|
+
var rec = env.stack.pop();
|
|
940
|
+
try {
|
|
941
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
942
|
+
if (rec.async)
|
|
943
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
944
|
+
}
|
|
945
|
+
catch (e) {
|
|
946
|
+
fail(e);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
if (env.hasError)
|
|
950
|
+
throw env.error;
|
|
951
|
+
}
|
|
952
|
+
return next();
|
|
953
|
+
}
|
|
954
|
+
var tslib_es6 = {
|
|
955
|
+
__extends: __extends,
|
|
956
|
+
__assign: __assign,
|
|
957
|
+
__rest: __rest,
|
|
958
|
+
__decorate: __decorate,
|
|
959
|
+
__param: __param,
|
|
960
|
+
__metadata: __metadata,
|
|
961
|
+
__awaiter: __awaiter,
|
|
962
|
+
__generator: __generator,
|
|
963
|
+
__createBinding: __createBinding,
|
|
964
|
+
__exportStar: __exportStar,
|
|
965
|
+
__values: __values,
|
|
966
|
+
__read: __read,
|
|
967
|
+
__spread: __spread,
|
|
968
|
+
__spreadArrays: __spreadArrays,
|
|
969
|
+
__spreadArray: __spreadArray,
|
|
970
|
+
__await: __await,
|
|
971
|
+
__asyncGenerator: __asyncGenerator,
|
|
972
|
+
__asyncDelegator: __asyncDelegator,
|
|
973
|
+
__asyncValues: __asyncValues,
|
|
974
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
975
|
+
__importStar: __importStar,
|
|
976
|
+
__importDefault: __importDefault,
|
|
977
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
978
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
979
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
980
|
+
__addDisposableResource: __addDisposableResource,
|
|
981
|
+
__disposeResources: __disposeResources,
|
|
982
|
+
};
|
|
904
983
|
|
|
905
984
|
var _c0$$ = function (a0) { return { "govuk-input--error": a0 }; };
|
|
906
985
|
function DateInputComponent_div_19_Template(rf, ctx) {
|
|
@@ -10775,7 +10854,7 @@
|
|
|
10775
10854
|
this.wizard = this.caseEdit.wizard;
|
|
10776
10855
|
this.caseFields = this.getCaseFields();
|
|
10777
10856
|
this.syncCaseEditDataService();
|
|
10778
|
-
this.route.params
|
|
10857
|
+
this.routeParamsSub = this.route.params
|
|
10779
10858
|
.subscribe(function (params) {
|
|
10780
10859
|
var _a, _b;
|
|
10781
10860
|
var pageId = params['page'];
|
|
@@ -10797,13 +10876,14 @@
|
|
|
10797
10876
|
}
|
|
10798
10877
|
});
|
|
10799
10878
|
CaseEditPageComponent.setFocusToTop();
|
|
10800
|
-
this.caseEditDataService.caseEditForm$.subscribe({
|
|
10879
|
+
this.caseEditFormSub = this.caseEditDataService.caseEditForm$.subscribe({
|
|
10801
10880
|
next: function (editForm) { return _this.editForm = editForm; }
|
|
10802
10881
|
});
|
|
10803
|
-
this.
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
|
|
10882
|
+
this.caseIsLinkedCasesJourneyAtFinalStepSub =
|
|
10883
|
+
this.caseEditDataService.caseIsLinkedCasesJourneyAtFinalStep$.subscribe({
|
|
10884
|
+
next: function (isLinkedCasesJourneyAtFinalStep) { return _this.isLinkedCasesJourneyAtFinalStep = isLinkedCasesJourneyAtFinalStep; }
|
|
10885
|
+
});
|
|
10886
|
+
this.caseTriggerSubmitEventSub = this.caseEditDataService.caseTriggerSubmitEvent$.subscribe({
|
|
10807
10887
|
next: function (state) {
|
|
10808
10888
|
if (state) {
|
|
10809
10889
|
_this.caseEditDataService.setTriggerSubmitEvent(false);
|
|
@@ -10816,6 +10896,17 @@
|
|
|
10816
10896
|
CaseEditPageComponent.prototype.ngAfterViewChecked = function () {
|
|
10817
10897
|
this.cdRef.detectChanges();
|
|
10818
10898
|
};
|
|
10899
|
+
CaseEditPageComponent.prototype.ngOnDestroy = function () {
|
|
10900
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
10901
|
+
(_a = this.routeParamsSub) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
10902
|
+
(_b = this.caseEditFormSub) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
10903
|
+
(_c = this.caseIsLinkedCasesJourneyAtFinalStepSub) === null || _c === void 0 ? void 0 : _c.unsubscribe();
|
|
10904
|
+
(_d = this.caseTriggerSubmitEventSub) === null || _d === void 0 ? void 0 : _d.unsubscribe();
|
|
10905
|
+
(_e = this.validateSub) === null || _e === void 0 ? void 0 : _e.unsubscribe();
|
|
10906
|
+
(_f = this.dialogRefAfterClosedSub) === null || _f === void 0 ? void 0 : _f.unsubscribe();
|
|
10907
|
+
(_g = this.saveDraftSub) === null || _g === void 0 ? void 0 : _g.unsubscribe();
|
|
10908
|
+
(_h = this.caseFormValidationErrorsSub) === null || _h === void 0 ? void 0 : _h.unsubscribe();
|
|
10909
|
+
};
|
|
10819
10910
|
CaseEditPageComponent.prototype.applyValuesChanged = function (valuesChanged) {
|
|
10820
10911
|
this.formValuesChanged = valuesChanged;
|
|
10821
10912
|
};
|
|
@@ -10890,7 +10981,7 @@
|
|
|
10890
10981
|
_this.generateErrorMessage(casefield.field_type.collection_field_type.complex_fields, c.get('value'), id_1);
|
|
10891
10982
|
});
|
|
10892
10983
|
}
|
|
10893
|
-
else if (FieldsUtils.
|
|
10984
|
+
else if (FieldsUtils.isCaseFieldOfType(casefield, ['FlagLauncher'])) {
|
|
10894
10985
|
// Check whether the case field DisplayContextParameter is signalling "create" mode or "update" mode
|
|
10895
10986
|
// (expected always to be one of the two), to set the correct error message
|
|
10896
10987
|
var action = '';
|
|
@@ -10945,7 +11036,7 @@
|
|
|
10945
11036
|
this.caseEdit.error = null;
|
|
10946
11037
|
var caseEventData = this.buildCaseEventData();
|
|
10947
11038
|
var loadingSpinnerToken_1 = this.loadingService.register();
|
|
10948
|
-
this.caseEdit.validate(caseEventData, this.currentPage.id)
|
|
11039
|
+
this.validateSub = this.caseEdit.validate(caseEventData, this.currentPage.id)
|
|
10949
11040
|
.pipe(operators.finalize(function () {
|
|
10950
11041
|
_this.loadingService.unregister(loadingSpinnerToken_1);
|
|
10951
11042
|
}))
|
|
@@ -10964,10 +11055,10 @@
|
|
|
10964
11055
|
CaseEditPageComponent.setFocusToTop();
|
|
10965
11056
|
};
|
|
10966
11057
|
CaseEditPageComponent.prototype.updateFormData = function (jsonData) {
|
|
10967
|
-
var e_1,
|
|
11058
|
+
var e_1, _j;
|
|
10968
11059
|
try {
|
|
10969
|
-
for (var
|
|
10970
|
-
var caseFieldId =
|
|
11060
|
+
for (var _k = __values(Object.keys(jsonData.data)), _l = _k.next(); !_l.done; _l = _k.next()) {
|
|
11061
|
+
var caseFieldId = _l.value;
|
|
10971
11062
|
/* istanbul ignore else */
|
|
10972
11063
|
if (this.pageWithFieldExists(caseFieldId)) {
|
|
10973
11064
|
this.updateEventTriggerCaseFields(caseFieldId, jsonData, this.caseEdit.eventTrigger);
|
|
@@ -10978,7 +11069,7 @@
|
|
|
10978
11069
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
10979
11070
|
finally {
|
|
10980
11071
|
try {
|
|
10981
|
-
if (
|
|
11072
|
+
if (_l && !_l.done && (_j = _k.return)) _j.call(_k);
|
|
10982
11073
|
}
|
|
10983
11074
|
finally { if (e_1) throw e_1.error; }
|
|
10984
11075
|
}
|
|
@@ -11007,12 +11098,12 @@
|
|
|
11007
11098
|
CaseEditPageComponent.prototype.updateJsonDataObject = function (caseFieldId, jsonData, element) {
|
|
11008
11099
|
var _this = this;
|
|
11009
11100
|
return Object.keys(jsonData.data[caseFieldId]).reduce(function (acc, key) {
|
|
11010
|
-
var
|
|
11101
|
+
var _j;
|
|
11011
11102
|
var elementValue = element.value[key];
|
|
11012
11103
|
var jsonDataValue = jsonData.data[caseFieldId][key];
|
|
11013
11104
|
var hasElementGotValueProperty = _this.isAnObject(elementValue) && elementValue.value !== undefined;
|
|
11014
11105
|
var jsonDataOrElementValue = (jsonDataValue === null || jsonDataValue === void 0 ? void 0 : jsonDataValue.value) !== null && (jsonDataValue === null || jsonDataValue === void 0 ? void 0 : jsonDataValue.value) !== undefined ? jsonDataValue : elementValue;
|
|
11015
|
-
return Object.assign(Object.assign({}, acc), (
|
|
11106
|
+
return Object.assign(Object.assign({}, acc), (_j = {}, _j["" + key] = hasElementGotValueProperty ? jsonDataOrElementValue : jsonDataValue, _j));
|
|
11016
11107
|
}, {});
|
|
11017
11108
|
};
|
|
11018
11109
|
CaseEditPageComponent.prototype.isAnObject = function (property) {
|
|
@@ -11060,7 +11151,7 @@
|
|
|
11060
11151
|
if (this.eventTrigger.can_save_draft) {
|
|
11061
11152
|
if (this.formValuesChanged) {
|
|
11062
11153
|
var dialogRef = this.dialog.open(SaveOrDiscardDialogComponent, this.dialogConfig);
|
|
11063
|
-
dialogRef.afterClosed().subscribe(function (result) {
|
|
11154
|
+
this.dialogRefAfterClosedSub = dialogRef.afterClosed().subscribe(function (result) {
|
|
11064
11155
|
if (result === 'Discard') {
|
|
11065
11156
|
_this.discard();
|
|
11066
11157
|
}
|
|
@@ -11147,7 +11238,7 @@
|
|
|
11147
11238
|
var draftCaseEventData = this.formValueService.sanitise(this.editForm.value);
|
|
11148
11239
|
draftCaseEventData.event_token = this.eventTrigger.event_token;
|
|
11149
11240
|
draftCaseEventData.ignore_warning = this.caseEdit.ignoreWarning;
|
|
11150
|
-
this.caseEdit.saveDraft(draftCaseEventData).subscribe(function (draft) { return _this.eventTrigger.case_id = DRAFT_PREFIX + draft.id; }, function (error) { return _this.handleError(error); });
|
|
11241
|
+
this.saveDraftSub = this.caseEdit.saveDraft(draftCaseEventData).subscribe(function (draft) { return _this.eventTrigger.case_id = DRAFT_PREFIX + draft.id; }, function (error) { return _this.handleError(error); });
|
|
11151
11242
|
}
|
|
11152
11243
|
};
|
|
11153
11244
|
CaseEditPageComponent.prototype.getCaseFields = function () {
|
|
@@ -11215,7 +11306,7 @@
|
|
|
11215
11306
|
this.caseEditDataService.setCaseEventTriggerName(this.eventTrigger.name);
|
|
11216
11307
|
this.caseEditDataService.setCaseTitle(this.getCaseTitle());
|
|
11217
11308
|
this.caseEditDataService.setCaseEditForm(this.editForm);
|
|
11218
|
-
this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
11309
|
+
this.caseFormValidationErrorsSub = this.caseEditDataService.caseFormValidationErrors$.subscribe({
|
|
11219
11310
|
next: function (validationErrors) { return _this.validationErrors = validationErrors; }
|
|
11220
11311
|
});
|
|
11221
11312
|
};
|
|
@@ -20504,166 +20595,211 @@
|
|
|
20504
20595
|
}], null, null);
|
|
20505
20596
|
})();
|
|
20506
20597
|
|
|
20507
|
-
|
|
20598
|
+
/**
|
|
20599
|
+
* This mock file should be deleted after integrating with CCD
|
|
20600
|
+
* CCD development ticket: https://tools.hmcts.net/jira/browse/CCD-4590
|
|
20601
|
+
* ExUI tickets:
|
|
20602
|
+
* https://tools.hmcts.net/jira/browse/EUI-8460
|
|
20603
|
+
* https://tools.hmcts.net/jira/browse/EUI-8388
|
|
20604
|
+
* https://tools.hmcts.net/jira/browse/EUI-8389
|
|
20605
|
+
*/
|
|
20606
|
+
var caseMessagesMockData = [
|
|
20508
20607
|
{
|
|
20509
20608
|
partyName: 'John Smith - Appellant',
|
|
20510
20609
|
roleOnCase: null,
|
|
20511
|
-
|
|
20610
|
+
caseMessages: [
|
|
20512
20611
|
{
|
|
20513
|
-
id: '
|
|
20514
|
-
|
|
20515
|
-
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
self: { href: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506' },
|
|
20528
|
-
binary: { href: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary' },
|
|
20612
|
+
id: 'ccd-message-id-001',
|
|
20613
|
+
value: {
|
|
20614
|
+
id: 'case-message-001',
|
|
20615
|
+
subject: 'Review attached document',
|
|
20616
|
+
name: 'Maggie Conroy',
|
|
20617
|
+
body: 'Please review attached document and advise if hearing should proceed?',
|
|
20618
|
+
attachments: [
|
|
20619
|
+
{
|
|
20620
|
+
id: 'ccd-document-id-001',
|
|
20621
|
+
value: {
|
|
20622
|
+
document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
|
|
20623
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
|
|
20624
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
|
|
20625
|
+
}
|
|
20529
20626
|
},
|
|
20530
|
-
|
|
20531
|
-
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20627
|
+
{
|
|
20628
|
+
id: 'ccd-document-id-002',
|
|
20629
|
+
value: {
|
|
20630
|
+
document_filename: 'dummy.pdf',
|
|
20631
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
|
|
20632
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
|
|
20633
|
+
}
|
|
20634
|
+
}
|
|
20635
|
+
],
|
|
20636
|
+
isHearingRelated: 'Yes',
|
|
20637
|
+
hearingDate: '2023-01-10',
|
|
20638
|
+
createdOn: new Date(2023, 0, 3),
|
|
20639
|
+
createdBy: '1111-1111-1111-1111'
|
|
20640
|
+
}
|
|
20537
20641
|
},
|
|
20538
20642
|
{
|
|
20539
|
-
id: '
|
|
20540
|
-
|
|
20541
|
-
|
|
20542
|
-
|
|
20543
|
-
|
|
20544
|
-
|
|
20545
|
-
|
|
20546
|
-
|
|
20547
|
-
|
|
20548
|
-
|
|
20549
|
-
|
|
20550
|
-
|
|
20551
|
-
|
|
20552
|
-
|
|
20553
|
-
|
|
20554
|
-
|
|
20555
|
-
|
|
20643
|
+
id: 'ccd-message-id-001',
|
|
20644
|
+
value: {
|
|
20645
|
+
id: 'case-message-002',
|
|
20646
|
+
subject: 'Games',
|
|
20647
|
+
name: 'Maggie Conroy',
|
|
20648
|
+
body: 'Can I play games in my phone when my solicitor is talking?',
|
|
20649
|
+
attachments: [
|
|
20650
|
+
{
|
|
20651
|
+
id: 'ccd-document-id-003',
|
|
20652
|
+
value: {
|
|
20653
|
+
document_filename: 'talking-document.pdf',
|
|
20654
|
+
document_url: '/',
|
|
20655
|
+
document_binary_url: '/'
|
|
20656
|
+
}
|
|
20657
|
+
}
|
|
20658
|
+
],
|
|
20659
|
+
isHearingRelated: 'Yes',
|
|
20660
|
+
hearingDate: '2023-01-10',
|
|
20661
|
+
createdOn: new Date(2023, 0, 3),
|
|
20662
|
+
createdBy: '1111-1111-1111-1111'
|
|
20663
|
+
}
|
|
20556
20664
|
},
|
|
20557
20665
|
{
|
|
20558
|
-
id: '
|
|
20559
|
-
|
|
20560
|
-
|
|
20561
|
-
|
|
20562
|
-
|
|
20563
|
-
|
|
20564
|
-
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
20570
|
-
|
|
20571
|
-
|
|
20572
|
-
|
|
20573
|
-
|
|
20574
|
-
|
|
20666
|
+
id: 'ccd-message-id-003',
|
|
20667
|
+
value: {
|
|
20668
|
+
id: 'case-message-003',
|
|
20669
|
+
name: 'John Smith',
|
|
20670
|
+
body: 'Using mobile phone is strictly prohibited in the court room.',
|
|
20671
|
+
attachments: [
|
|
20672
|
+
{
|
|
20673
|
+
id: 'ccd-document-id-004',
|
|
20674
|
+
value: {
|
|
20675
|
+
document_filename: 'games-document.pdf',
|
|
20676
|
+
document_url: '/',
|
|
20677
|
+
document_binary_url: '/'
|
|
20678
|
+
}
|
|
20679
|
+
}
|
|
20680
|
+
],
|
|
20681
|
+
isHearingRelated: 'Yes',
|
|
20682
|
+
hearingDate: '2023-01-10',
|
|
20683
|
+
createdOn: new Date(2023, 2, 4),
|
|
20684
|
+
createdBy: '2222-2222-2222-2222',
|
|
20685
|
+
parentId: 'case-message-002'
|
|
20686
|
+
}
|
|
20575
20687
|
},
|
|
20576
20688
|
{
|
|
20577
|
-
id: '
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
20584
|
-
|
|
20585
|
-
|
|
20689
|
+
id: 'ccd-message-id-004',
|
|
20690
|
+
value: {
|
|
20691
|
+
id: 'case-message-004',
|
|
20692
|
+
name: 'Maggie Conroy',
|
|
20693
|
+
body: 'Can I use a tablet instead?',
|
|
20694
|
+
attachments: [],
|
|
20695
|
+
isHearingRelated: 'Yes',
|
|
20696
|
+
hearingDate: '2023-01-10',
|
|
20697
|
+
createdOn: new Date(2023, 3, 8),
|
|
20698
|
+
createdBy: '2222-2222-2222-2222',
|
|
20699
|
+
parentId: 'case-message-003'
|
|
20700
|
+
}
|
|
20586
20701
|
},
|
|
20587
20702
|
{
|
|
20588
|
-
id: '
|
|
20589
|
-
|
|
20590
|
-
|
|
20591
|
-
|
|
20592
|
-
|
|
20593
|
-
|
|
20594
|
-
|
|
20595
|
-
|
|
20596
|
-
|
|
20703
|
+
id: 'ccd-message-id-005',
|
|
20704
|
+
value: {
|
|
20705
|
+
id: 'case-message-005',
|
|
20706
|
+
name: 'John Smith',
|
|
20707
|
+
body: 'No, you cannot use a tablet either.',
|
|
20708
|
+
attachments: [],
|
|
20709
|
+
isHearingRelated: 'Yes',
|
|
20710
|
+
hearingDate: '2023-01-10',
|
|
20711
|
+
createdOn: new Date(2023, 4, 24),
|
|
20712
|
+
createdBy: '2222-2222-2222-2222',
|
|
20713
|
+
parentId: 'case-message-004'
|
|
20714
|
+
}
|
|
20597
20715
|
}
|
|
20598
20716
|
]
|
|
20599
20717
|
},
|
|
20600
20718
|
{
|
|
20601
20719
|
partyName: 'Kevin Peterson - Respondent',
|
|
20602
20720
|
roleOnCase: null,
|
|
20603
|
-
|
|
20721
|
+
caseMessages: [
|
|
20604
20722
|
{
|
|
20605
|
-
id: '
|
|
20606
|
-
|
|
20607
|
-
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20723
|
+
id: 'ccd-message-id-006',
|
|
20724
|
+
value: {
|
|
20725
|
+
id: 'case-message-006',
|
|
20726
|
+
subject: 'Add respondent detention order',
|
|
20727
|
+
name: 'Maggie Conroy',
|
|
20728
|
+
body: 'Please add respondent detention order to the file XX20230423-DX.',
|
|
20729
|
+
attachments: [],
|
|
20730
|
+
isHearingRelated: 'Yes',
|
|
20731
|
+
createdOn: new Date(2023, 1, 5),
|
|
20732
|
+
createdBy: '1111-1111-1111-1111'
|
|
20733
|
+
}
|
|
20613
20734
|
},
|
|
20614
20735
|
{
|
|
20615
|
-
id: '
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20736
|
+
id: 'ccd-message-id-007',
|
|
20737
|
+
value: {
|
|
20738
|
+
id: 'case-message-007',
|
|
20739
|
+
name: 'Maggie Conroy',
|
|
20740
|
+
body: 'I confirm that the respondent detention order is now added to the file XX20230423-DX.',
|
|
20741
|
+
attachments: [],
|
|
20742
|
+
isHearingRelated: 'Yes',
|
|
20743
|
+
createdOn: new Date(2023, 1, 6),
|
|
20744
|
+
createdBy: '2222-2222-2222-2222',
|
|
20745
|
+
parentId: 'case-message-006'
|
|
20746
|
+
}
|
|
20623
20747
|
},
|
|
20624
20748
|
{
|
|
20625
|
-
id: '
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20749
|
+
id: 'ccd-message-id-008',
|
|
20750
|
+
value: {
|
|
20751
|
+
id: 'case-message-008',
|
|
20752
|
+
subject: 'Food',
|
|
20753
|
+
name: 'Maggie Conroy',
|
|
20754
|
+
body: 'Can I eat in the hearings?',
|
|
20755
|
+
attachments: [],
|
|
20756
|
+
isHearingRelated: 'Yes',
|
|
20757
|
+
hearingDate: '2023-01-10',
|
|
20758
|
+
createdOn: new Date(2023, 0, 3),
|
|
20759
|
+
createdBy: '1111-1111-1111-1111'
|
|
20760
|
+
}
|
|
20634
20761
|
},
|
|
20635
20762
|
{
|
|
20636
|
-
id: '
|
|
20637
|
-
|
|
20638
|
-
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20763
|
+
id: 'ccd-message-id-009',
|
|
20764
|
+
value: {
|
|
20765
|
+
id: 'case-message-009',
|
|
20766
|
+
name: 'Maggie Conroy',
|
|
20767
|
+
body: 'Consumption of food is not allowed when a hearing is taking place.',
|
|
20768
|
+
attachments: [],
|
|
20769
|
+
isHearingRelated: 'Yes',
|
|
20770
|
+
hearingDate: '2023-01-10',
|
|
20771
|
+
createdOn: new Date(2023, 0, 5),
|
|
20772
|
+
createdBy: '2222-2222-2222-2222',
|
|
20773
|
+
parentId: 'case-message-008'
|
|
20774
|
+
}
|
|
20645
20775
|
},
|
|
20646
20776
|
{
|
|
20647
|
-
id: '
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
|
|
20652
|
-
|
|
20653
|
-
|
|
20654
|
-
|
|
20655
|
-
|
|
20777
|
+
id: 'ccd-message-id-010',
|
|
20778
|
+
value: {
|
|
20779
|
+
id: 'case-message-010',
|
|
20780
|
+
subject: 'Bring relatives',
|
|
20781
|
+
name: 'Maggie Conroy',
|
|
20782
|
+
body: 'Can I bring my grandma with me so she get out from the residence?',
|
|
20783
|
+
attachments: [],
|
|
20784
|
+
isHearingRelated: 'Yes',
|
|
20785
|
+
hearingDate: '2023-01-10',
|
|
20786
|
+
createdOn: new Date(2023, 0, 6),
|
|
20787
|
+
createdBy: '1111-1111-1111-1111'
|
|
20788
|
+
}
|
|
20656
20789
|
},
|
|
20657
20790
|
{
|
|
20658
|
-
id: '
|
|
20659
|
-
|
|
20660
|
-
|
|
20661
|
-
|
|
20662
|
-
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
|
|
20666
|
-
|
|
20791
|
+
id: 'ccd-message-id-011',
|
|
20792
|
+
value: {
|
|
20793
|
+
id: 'case-message-011',
|
|
20794
|
+
name: 'Maggie Conroy',
|
|
20795
|
+
body: 'Sorry, only those required for the hearing should be present inside the court room.',
|
|
20796
|
+
attachments: [],
|
|
20797
|
+
isHearingRelated: 'Yes',
|
|
20798
|
+
hearingDate: '2023-01-10',
|
|
20799
|
+
createdOn: new Date(2023, 0, 7),
|
|
20800
|
+
createdBy: '2222-2222-2222-2222',
|
|
20801
|
+
parentId: 'case-message-010'
|
|
20802
|
+
}
|
|
20667
20803
|
}
|
|
20668
20804
|
]
|
|
20669
20805
|
}
|
|
@@ -20991,6 +21127,15 @@
|
|
|
20991
21127
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
20992
21128
|
})();
|
|
20993
21129
|
|
|
21130
|
+
exports.QueryCreateContext = void 0;
|
|
21131
|
+
(function (QueryCreateContext) {
|
|
21132
|
+
QueryCreateContext["NEW_QUERY_QUALIFYING_QUESTION_OPTIONS"] = "NewQueryQualifyingQuestionOptions";
|
|
21133
|
+
QueryCreateContext["NEW_QUERY_QUALIFYING_QUESTION_DETAIL"] = "NewQueryQualifyingQuestionDetail";
|
|
21134
|
+
QueryCreateContext["NEW_QUERY"] = "NewQuery";
|
|
21135
|
+
QueryCreateContext["RESPOND"] = "Respond";
|
|
21136
|
+
QueryCreateContext["FOLLOWUP"] = "Followup";
|
|
21137
|
+
})(exports.QueryCreateContext || (exports.QueryCreateContext = {}));
|
|
21138
|
+
|
|
20994
21139
|
var QueryListItem = /** @class */ (function () {
|
|
20995
21140
|
function QueryListItem() {
|
|
20996
21141
|
this.attachments = [];
|
|
@@ -21068,34 +21213,25 @@
|
|
|
21068
21213
|
}());
|
|
21069
21214
|
|
|
21070
21215
|
var QueryListData = /** @class */ (function () {
|
|
21071
|
-
function QueryListData(
|
|
21216
|
+
function QueryListData(caseQueriesCollection) {
|
|
21072
21217
|
var _this = this;
|
|
21073
|
-
this.partyName =
|
|
21074
|
-
this.roleOnCase =
|
|
21218
|
+
this.partyName = caseQueriesCollection.partyName;
|
|
21219
|
+
this.roleOnCase = caseQueriesCollection.roleOnCase;
|
|
21075
21220
|
// get the parent messages (messages without parentId) and add the children to them
|
|
21076
|
-
var parentMessages =
|
|
21077
|
-
this.
|
|
21221
|
+
var parentMessages = caseQueriesCollection.caseMessages.filter(function (message) { return !message.value.parentId; });
|
|
21222
|
+
this.queries = parentMessages.map(function (message) { return _this.buildQueryListItem(message, caseQueriesCollection.caseMessages); });
|
|
21078
21223
|
}
|
|
21079
21224
|
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
21080
21225
|
var _this = this;
|
|
21081
21226
|
var queryListItem = new QueryListItem();
|
|
21082
|
-
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
21083
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
21227
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message.value), { children: allMessages
|
|
21228
|
+
.filter(function (childMessage) { return childMessage.value.parentId === message.value.id; })
|
|
21084
21229
|
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
21085
21230
|
return queryListItem;
|
|
21086
21231
|
};
|
|
21087
21232
|
return QueryListData;
|
|
21088
21233
|
}());
|
|
21089
21234
|
|
|
21090
|
-
exports.QueryCreateContext = void 0;
|
|
21091
|
-
(function (QueryCreateContext) {
|
|
21092
|
-
QueryCreateContext["NEW_QUERY_QUALIFYING_QUESTION_OPTIONS"] = "NewQueryQualifyingQuestionOptions";
|
|
21093
|
-
QueryCreateContext["NEW_QUERY_QUALIFYING_QUESTION_DETAIL"] = "NewQueryQualifyingQuestionDetail";
|
|
21094
|
-
QueryCreateContext["NEW_QUERY"] = "NewQuery";
|
|
21095
|
-
QueryCreateContext["RESPOND"] = "Respond";
|
|
21096
|
-
QueryCreateContext["FOLLOWUP"] = "Followup";
|
|
21097
|
-
})(exports.QueryCreateContext || (exports.QueryCreateContext = {}));
|
|
21098
|
-
|
|
21099
21235
|
function QueryCheckYourAnswersComponent_ng_container_2_Template(rf, ctx) {
|
|
21100
21236
|
if (rf & 1) {
|
|
21101
21237
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -21131,9 +21267,22 @@
|
|
|
21131
21267
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(1, 1, "Review query details"), " ");
|
|
21132
21268
|
}
|
|
21133
21269
|
}
|
|
21270
|
+
function QueryCheckYourAnswersComponent_dl_9_a_8_Template(rf, ctx) {
|
|
21271
|
+
if (rf & 1) {
|
|
21272
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21273
|
+
i0__namespace.ɵɵelementStart(0, "a", 13);
|
|
21274
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_9_a_8_Template_a_click_0_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.goBack(); });
|
|
21275
|
+
i0__namespace.ɵɵtext(1);
|
|
21276
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
21277
|
+
i0__namespace.ɵɵelementEnd();
|
|
21278
|
+
}
|
|
21279
|
+
if (rf & 2) {
|
|
21280
|
+
i0__namespace.ɵɵadvance(1);
|
|
21281
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 1, "Change"), " ");
|
|
21282
|
+
}
|
|
21283
|
+
}
|
|
21134
21284
|
function QueryCheckYourAnswersComponent_dl_9_Template(rf, ctx) {
|
|
21135
21285
|
if (rf & 1) {
|
|
21136
|
-
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21137
21286
|
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
21138
21287
|
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
21139
21288
|
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
@@ -21144,11 +21293,7 @@
|
|
|
21144
21293
|
i0__namespace.ɵɵtext(6);
|
|
21145
21294
|
i0__namespace.ɵɵelementEnd();
|
|
21146
21295
|
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
21147
|
-
i0__namespace.ɵɵ
|
|
21148
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_9_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.goBack(); });
|
|
21149
|
-
i0__namespace.ɵɵtext(9);
|
|
21150
|
-
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21151
|
-
i0__namespace.ɵɵelementEnd();
|
|
21296
|
+
i0__namespace.ɵɵtemplate(8, QueryCheckYourAnswersComponent_dl_9_a_8_Template, 3, 3, "a", 19);
|
|
21152
21297
|
i0__namespace.ɵɵelementEnd();
|
|
21153
21298
|
i0__namespace.ɵɵelementEnd();
|
|
21154
21299
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21157,11 +21302,11 @@
|
|
|
21157
21302
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
21158
21303
|
var tmp_1_0 = null;
|
|
21159
21304
|
i0__namespace.ɵɵadvance(3);
|
|
21160
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21305
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.RESPOND ? "Submitted query" : i0__namespace.ɵɵpipeBind1(4, 3, "Query subject"), " ");
|
|
21161
21306
|
i0__namespace.ɵɵadvance(3);
|
|
21162
|
-
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
|
|
21163
|
-
i0__namespace.ɵɵadvance(
|
|
21164
|
-
i0__namespace.ɵɵ
|
|
21307
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.RESPOND ? ctx_r4.queryItem.subject : (tmp_1_0 = ctx_r4.formGroup.get("subject")) == null ? null : tmp_1_0.value, " ");
|
|
21308
|
+
i0__namespace.ɵɵadvance(2);
|
|
21309
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r4.queryCreateContext === ctx_r4.queryCreateContextEnum.NEW_QUERY);
|
|
21165
21310
|
}
|
|
21166
21311
|
}
|
|
21167
21312
|
function QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template(rf, ctx) {
|
|
@@ -21187,7 +21332,7 @@
|
|
|
21187
21332
|
}
|
|
21188
21333
|
function QueryCheckYourAnswersComponent_dl_21_div_13_Template(rf, ctx) {
|
|
21189
21334
|
if (rf & 1) {
|
|
21190
|
-
var
|
|
21335
|
+
var _r15_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21191
21336
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
21192
21337
|
i0__namespace.ɵɵelementStart(1, "dt", 10);
|
|
21193
21338
|
i0__namespace.ɵɵtext(2);
|
|
@@ -21199,7 +21344,7 @@
|
|
|
21199
21344
|
i0__namespace.ɵɵelementEnd();
|
|
21200
21345
|
i0__namespace.ɵɵelementStart(7, "dd", 12);
|
|
21201
21346
|
i0__namespace.ɵɵelementStart(8, "a", 13);
|
|
21202
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(
|
|
21347
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_div_13_Template_a_click_8_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var ctx_r14 = i0__namespace.ɵɵnextContext(2); return ctx_r14.goBack(); });
|
|
21203
21348
|
i0__namespace.ɵɵtext(9);
|
|
21204
21349
|
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21205
21350
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21207,19 +21352,19 @@
|
|
|
21207
21352
|
i0__namespace.ɵɵelementEnd();
|
|
21208
21353
|
}
|
|
21209
21354
|
if (rf & 2) {
|
|
21210
|
-
var
|
|
21355
|
+
var ctx_r13 = i0__namespace.ɵɵnextContext(2);
|
|
21211
21356
|
var tmp_1_0 = null;
|
|
21212
21357
|
i0__namespace.ɵɵadvance(2);
|
|
21213
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
21358
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.queryCreateContext === ctx_r13.queryCreateContextEnum.NEW_QUERY ? "What is the date of the hearing?" : i0__namespace.ɵɵpipeBind1(3, 3, "What is the date of the hearing your query is related to?"), " ");
|
|
21214
21359
|
i0__namespace.ɵɵadvance(3);
|
|
21215
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 =
|
|
21360
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(6, 5, (tmp_1_0 = ctx_r13.formGroup.get("hearingDate")) == null ? null : tmp_1_0.value, "dd MMM yyyy"), " ");
|
|
21216
21361
|
i0__namespace.ɵɵadvance(4);
|
|
21217
21362
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(10, 8, "Change"), " ");
|
|
21218
21363
|
}
|
|
21219
21364
|
}
|
|
21220
21365
|
function QueryCheckYourAnswersComponent_dl_21_Template(rf, ctx) {
|
|
21221
21366
|
if (rf & 1) {
|
|
21222
|
-
var
|
|
21367
|
+
var _r17_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21223
21368
|
i0__namespace.ɵɵelementStart(0, "dl", 8);
|
|
21224
21369
|
i0__namespace.ɵɵelementStart(1, "div", 9);
|
|
21225
21370
|
i0__namespace.ɵɵelementStart(2, "dt", 10);
|
|
@@ -21228,28 +21373,28 @@
|
|
|
21228
21373
|
i0__namespace.ɵɵelementEnd();
|
|
21229
21374
|
i0__namespace.ɵɵelementStart(5, "dd", 11);
|
|
21230
21375
|
i0__namespace.ɵɵtemplate(6, QueryCheckYourAnswersComponent_dl_21_ng_container_6_Template, 3, 5, "ng-container", 4);
|
|
21231
|
-
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template, 2, 5, "ng-template", null,
|
|
21376
|
+
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_21_ng_template_7_Template, 2, 5, "ng-template", null, 20, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21232
21377
|
i0__namespace.ɵɵelementEnd();
|
|
21233
21378
|
i0__namespace.ɵɵelementStart(9, "dd", 12);
|
|
21234
21379
|
i0__namespace.ɵɵelementStart(10, "a", 13);
|
|
21235
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(
|
|
21380
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_dl_21_Template_a_click_10_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.goBack(); });
|
|
21236
21381
|
i0__namespace.ɵɵtext(11);
|
|
21237
21382
|
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
21238
21383
|
i0__namespace.ɵɵelementEnd();
|
|
21239
21384
|
i0__namespace.ɵɵelementEnd();
|
|
21240
21385
|
i0__namespace.ɵɵelementEnd();
|
|
21241
|
-
i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_21_div_13_Template, 11, 10, "div",
|
|
21386
|
+
i0__namespace.ɵɵtemplate(13, QueryCheckYourAnswersComponent_dl_21_div_13_Template, 11, 10, "div", 21);
|
|
21242
21387
|
i0__namespace.ɵɵelementEnd();
|
|
21243
21388
|
}
|
|
21244
21389
|
if (rf & 2) {
|
|
21245
|
-
var
|
|
21390
|
+
var _r11 = i0__namespace.ɵɵreference(8);
|
|
21246
21391
|
var ctx_r5 = i0__namespace.ɵɵnextContext();
|
|
21247
21392
|
var tmp_1_0 = null;
|
|
21248
21393
|
var tmp_4_0 = null;
|
|
21249
21394
|
i0__namespace.ɵɵadvance(3);
|
|
21250
21395
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 5, "Is the query hearing related?"), " ");
|
|
21251
21396
|
i0__namespace.ɵɵadvance(3);
|
|
21252
|
-
i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse",
|
|
21397
|
+
i0__namespace.ɵɵproperty("ngIf", ((tmp_1_0 = ctx_r5.formGroup.get("isHearingRelated")) == null ? null : tmp_1_0.value) === true)("ngIfElse", _r11);
|
|
21253
21398
|
i0__namespace.ɵɵadvance(5);
|
|
21254
21399
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 7, "Change"), " ");
|
|
21255
21400
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -21258,7 +21403,7 @@
|
|
|
21258
21403
|
}
|
|
21259
21404
|
function QueryCheckYourAnswersComponent_ccd_query_attachments_read_28_Template(rf, ctx) {
|
|
21260
21405
|
if (rf & 1) {
|
|
21261
|
-
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21406
|
+
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 22);
|
|
21262
21407
|
}
|
|
21263
21408
|
if (rf & 2) {
|
|
21264
21409
|
var ctx_r6 = i0__namespace.ɵɵnextContext();
|
|
@@ -21276,7 +21421,7 @@
|
|
|
21276
21421
|
return QueryCheckYourAnswersComponent;
|
|
21277
21422
|
}());
|
|
21278
21423
|
QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
|
|
21279
|
-
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["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"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
21424
|
+
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 41, vars: 25, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], ["defaultCheckYourAnswersTitle", ""], [1, "govuk-!-margin-bottom-4"], ["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"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["isHearingRelatedFalse", ""], ["class", "govuk-summary-list__row", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
21280
21425
|
if (rf & 1) {
|
|
21281
21426
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21282
21427
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -21288,7 +21433,7 @@
|
|
|
21288
21433
|
i0__namespace.ɵɵelementStart(7, "div", 6);
|
|
21289
21434
|
i0__namespace.ɵɵelement(8, "ccd-query-case-details-header");
|
|
21290
21435
|
i0__namespace.ɵɵelementEnd();
|
|
21291
|
-
i0__namespace.ɵɵtemplate(9, QueryCheckYourAnswersComponent_dl_9_Template,
|
|
21436
|
+
i0__namespace.ɵɵtemplate(9, QueryCheckYourAnswersComponent_dl_9_Template, 9, 5, "dl", 7);
|
|
21292
21437
|
i0__namespace.ɵɵelementStart(10, "dl", 8);
|
|
21293
21438
|
i0__namespace.ɵɵelementStart(11, "div", 9);
|
|
21294
21439
|
i0__namespace.ɵɵelementStart(12, "dt", 10);
|
|
@@ -21349,9 +21494,9 @@
|
|
|
21349
21494
|
i0__namespace.ɵɵadvance(2);
|
|
21350
21495
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND)("ngIfElse", _r2);
|
|
21351
21496
|
i0__namespace.ɵɵadvance(5);
|
|
21352
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext
|
|
21497
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.queryCreateContext !== ctx.queryCreateContextEnum.FOLLOWUP);
|
|
21353
21498
|
i0__namespace.ɵɵadvance(4);
|
|
21354
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response
|
|
21499
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0__namespace.ɵɵpipeBind1(14, 13, "Query detail"), " ");
|
|
21355
21500
|
i0__namespace.ɵɵadvance(3);
|
|
21356
21501
|
i0__namespace.ɵɵtextInterpolate1(" ", (tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.value, " ");
|
|
21357
21502
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -21389,14 +21534,14 @@
|
|
|
21389
21534
|
}] });
|
|
21390
21535
|
})();
|
|
21391
21536
|
|
|
21392
|
-
function
|
|
21537
|
+
function QueryDetailsComponent_ng_container_0_tr_41_Template(rf, ctx) {
|
|
21393
21538
|
if (rf & 1) {
|
|
21394
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
21395
|
-
i0__namespace.ɵɵelementStart(1, "th",
|
|
21539
|
+
i0__namespace.ɵɵelementStart(0, "tr", 9);
|
|
21540
|
+
i0__namespace.ɵɵelementStart(1, "th", 5);
|
|
21396
21541
|
i0__namespace.ɵɵtext(2);
|
|
21397
21542
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21398
21543
|
i0__namespace.ɵɵelementEnd();
|
|
21399
|
-
i0__namespace.ɵɵelementStart(4, "td",
|
|
21544
|
+
i0__namespace.ɵɵelementStart(4, "td", 6);
|
|
21400
21545
|
i0__namespace.ɵɵtext(5);
|
|
21401
21546
|
i0__namespace.ɵɵpipe(6, "date");
|
|
21402
21547
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21407,193 +21552,86 @@
|
|
|
21407
21552
|
i0__namespace.ɵɵadvance(2);
|
|
21408
21553
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "What is the date of the hearing?"));
|
|
21409
21554
|
i0__namespace.ɵɵadvance(3);
|
|
21410
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.
|
|
21555
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.query.hearingDate, "dd MMM yyyy"));
|
|
21411
21556
|
}
|
|
21412
21557
|
}
|
|
21413
|
-
function
|
|
21558
|
+
function QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_47_Template(rf, ctx) {
|
|
21414
21559
|
if (rf & 1) {
|
|
21415
|
-
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21560
|
+
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 10);
|
|
21416
21561
|
}
|
|
21417
21562
|
if (rf & 2) {
|
|
21418
21563
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
21419
|
-
i0__namespace.ɵɵproperty("attachments", ctx_r2.
|
|
21564
|
+
i0__namespace.ɵɵproperty("attachments", ctx_r2.query.attachments);
|
|
21420
21565
|
}
|
|
21421
21566
|
}
|
|
21422
|
-
function
|
|
21567
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_tr_15_Template(rf, ctx) {
|
|
21423
21568
|
if (rf & 1) {
|
|
21424
|
-
i0__namespace.ɵɵ
|
|
21425
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
21426
|
-
i0__namespace.ɵɵ
|
|
21427
|
-
i0__namespace.ɵɵ
|
|
21428
|
-
i0__namespace.ɵɵelementStart(4, "tr", 3);
|
|
21429
|
-
i0__namespace.ɵɵelementStart(5, "th", 4);
|
|
21430
|
-
i0__namespace.ɵɵtext(6);
|
|
21431
|
-
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
21432
|
-
i0__namespace.ɵɵelementEnd();
|
|
21433
|
-
i0__namespace.ɵɵelementStart(8, "td", 5);
|
|
21434
|
-
i0__namespace.ɵɵtext(9);
|
|
21435
|
-
i0__namespace.ɵɵelementEnd();
|
|
21436
|
-
i0__namespace.ɵɵelementEnd();
|
|
21437
|
-
i0__namespace.ɵɵelementStart(10, "tr", 3);
|
|
21438
|
-
i0__namespace.ɵɵelementStart(11, "th", 4);
|
|
21439
|
-
i0__namespace.ɵɵtext(12);
|
|
21440
|
-
i0__namespace.ɵɵpipe(13, "rpxTranslate");
|
|
21441
|
-
i0__namespace.ɵɵelementEnd();
|
|
21442
|
-
i0__namespace.ɵɵelementStart(14, "td", 5);
|
|
21443
|
-
i0__namespace.ɵɵtext(15);
|
|
21444
|
-
i0__namespace.ɵɵpipe(16, "date");
|
|
21445
|
-
i0__namespace.ɵɵelementEnd();
|
|
21446
|
-
i0__namespace.ɵɵelementEnd();
|
|
21447
|
-
i0__namespace.ɵɵelementStart(17, "tr", 3);
|
|
21448
|
-
i0__namespace.ɵɵelementStart(18, "th", 4);
|
|
21449
|
-
i0__namespace.ɵɵtext(19);
|
|
21450
|
-
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
21451
|
-
i0__namespace.ɵɵelementEnd();
|
|
21452
|
-
i0__namespace.ɵɵelementStart(21, "td", 5);
|
|
21453
|
-
i0__namespace.ɵɵtext(22);
|
|
21454
|
-
i0__namespace.ɵɵelementEnd();
|
|
21455
|
-
i0__namespace.ɵɵelementEnd();
|
|
21456
|
-
i0__namespace.ɵɵelementStart(23, "tr", 3);
|
|
21457
|
-
i0__namespace.ɵɵelementStart(24, "th", 4);
|
|
21458
|
-
i0__namespace.ɵɵtext(25);
|
|
21459
|
-
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21460
|
-
i0__namespace.ɵɵelementEnd();
|
|
21461
|
-
i0__namespace.ɵɵelementStart(27, "td", 5);
|
|
21462
|
-
i0__namespace.ɵɵtext(28);
|
|
21463
|
-
i0__namespace.ɵɵelementEnd();
|
|
21464
|
-
i0__namespace.ɵɵelementEnd();
|
|
21465
|
-
i0__namespace.ɵɵelementStart(29, "tr", 3);
|
|
21466
|
-
i0__namespace.ɵɵelementStart(30, "th", 4);
|
|
21467
|
-
i0__namespace.ɵɵtext(31);
|
|
21468
|
-
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
21469
|
-
i0__namespace.ɵɵelementEnd();
|
|
21470
|
-
i0__namespace.ɵɵelementStart(33, "td", 5);
|
|
21471
|
-
i0__namespace.ɵɵtext(34);
|
|
21472
|
-
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
21473
|
-
i0__namespace.ɵɵelementEnd();
|
|
21474
|
-
i0__namespace.ɵɵelementEnd();
|
|
21475
|
-
i0__namespace.ɵɵtemplate(36, QueryDetailsTableComponent_ng_container_0_tr_36_Template, 7, 7, "tr", 6);
|
|
21476
|
-
i0__namespace.ɵɵelementStart(37, "tr", 3);
|
|
21477
|
-
i0__namespace.ɵɵelementStart(38, "th", 4);
|
|
21478
|
-
i0__namespace.ɵɵtext(39);
|
|
21479
|
-
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21480
|
-
i0__namespace.ɵɵelementEnd();
|
|
21481
|
-
i0__namespace.ɵɵelementStart(41, "td", 5);
|
|
21482
|
-
i0__namespace.ɵɵtemplate(42, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template, 1, 1, "ccd-query-attachments-read", 7);
|
|
21483
|
-
i0__namespace.ɵɵelementEnd();
|
|
21569
|
+
i0__namespace.ɵɵelementStart(0, "tr", 4);
|
|
21570
|
+
i0__namespace.ɵɵelementStart(1, "th", 5);
|
|
21571
|
+
i0__namespace.ɵɵtext(2);
|
|
21572
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21484
21573
|
i0__namespace.ɵɵelementEnd();
|
|
21574
|
+
i0__namespace.ɵɵelementStart(4, "td", 6);
|
|
21575
|
+
i0__namespace.ɵɵtext(5);
|
|
21485
21576
|
i0__namespace.ɵɵelementEnd();
|
|
21486
21577
|
i0__namespace.ɵɵelementEnd();
|
|
21487
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
21488
21578
|
}
|
|
21489
21579
|
if (rf & 2) {
|
|
21490
|
-
var
|
|
21491
|
-
i0__namespace.ɵɵadvance(1);
|
|
21492
|
-
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 18, "Details of the query"));
|
|
21493
|
-
i0__namespace.ɵɵadvance(5);
|
|
21494
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Last submitted by"));
|
|
21495
|
-
i0__namespace.ɵɵadvance(3);
|
|
21496
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
21497
|
-
i0__namespace.ɵɵadvance(3);
|
|
21498
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 22, "Submission date"));
|
|
21499
|
-
i0__namespace.ɵɵadvance(3);
|
|
21500
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21501
|
-
i0__namespace.ɵɵadvance(4);
|
|
21502
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Query subject"));
|
|
21503
|
-
i0__namespace.ɵɵadvance(3);
|
|
21504
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
21505
|
-
i0__namespace.ɵɵadvance(3);
|
|
21506
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 29, "Query detail"));
|
|
21507
|
-
i0__namespace.ɵɵadvance(3);
|
|
21508
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
|
|
21509
|
-
i0__namespace.ɵɵadvance(2);
|
|
21510
|
-
i0__namespace.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21511
|
-
i0__namespace.ɵɵadvance(1);
|
|
21512
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 31, "Is the query hearing related?"), " ");
|
|
21513
|
-
i0__namespace.ɵɵadvance(2);
|
|
21514
|
-
i0__namespace.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21515
|
-
i0__namespace.ɵɵadvance(1);
|
|
21516
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(35, 33, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
|
|
21580
|
+
var child_r5 = i0__namespace.ɵɵnextContext(2).$implicit;
|
|
21517
21581
|
i0__namespace.ɵɵadvance(2);
|
|
21518
|
-
i0__namespace.ɵɵ
|
|
21519
|
-
i0__namespace.ɵɵadvance(3);
|
|
21520
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(40, 37, "Attachments"));
|
|
21582
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Caseworker name"));
|
|
21521
21583
|
i0__namespace.ɵɵadvance(3);
|
|
21522
|
-
i0__namespace.ɵɵ
|
|
21584
|
+
i0__namespace.ɵɵtextInterpolate(child_r5.name);
|
|
21523
21585
|
}
|
|
21524
21586
|
}
|
|
21525
|
-
|
|
21526
|
-
function QueryDetailsTableComponent() {
|
|
21527
|
-
}
|
|
21528
|
-
return QueryDetailsTableComponent;
|
|
21529
|
-
}());
|
|
21530
|
-
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
21531
|
-
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
21532
|
-
if (rf & 1) {
|
|
21533
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 43, 39, "ng-container", 0);
|
|
21534
|
-
}
|
|
21535
|
-
if (rf & 2) {
|
|
21536
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
21537
|
-
}
|
|
21538
|
-
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}.query-details-table[_ngcontent-%COMP%] .collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-bottom:none}.query-details-table[_ngcontent-%COMP%] .govuk-table__cell--no-border[_ngcontent-%COMP%], .query-details-table[_ngcontent-%COMP%] .govuk-table__header--no-border[_ngcontent-%COMP%]{border-bottom:0}"] });
|
|
21539
|
-
(function () {
|
|
21540
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
21541
|
-
type: i0.Component,
|
|
21542
|
-
args: [{
|
|
21543
|
-
selector: 'ccd-query-details-table',
|
|
21544
|
-
templateUrl: './query-details-table.component.html',
|
|
21545
|
-
styleUrls: ['./query-details-table.component.scss']
|
|
21546
|
-
}]
|
|
21547
|
-
}], null, { queryItem: [{
|
|
21548
|
-
type: i0.Input
|
|
21549
|
-
}] });
|
|
21550
|
-
})();
|
|
21551
|
-
|
|
21552
|
-
function QueryDetailsComponent_ng_container_0_ng_container_10_ng_container_1_ng_container_1_ccd_query_attachments_read_25_Template(rf, ctx) {
|
|
21587
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template(rf, ctx) {
|
|
21553
21588
|
if (rf & 1) {
|
|
21554
|
-
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21589
|
+
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 10);
|
|
21555
21590
|
}
|
|
21556
21591
|
if (rf & 2) {
|
|
21557
21592
|
var child_r5 = i0__namespace.ɵɵnextContext(2).$implicit;
|
|
21558
21593
|
i0__namespace.ɵɵproperty("attachments", child_r5.attachments);
|
|
21559
21594
|
}
|
|
21560
21595
|
}
|
|
21561
|
-
function
|
|
21596
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_Template(rf, ctx) {
|
|
21562
21597
|
if (rf & 1) {
|
|
21563
21598
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
21564
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
21565
|
-
i0__namespace.ɵɵ
|
|
21566
|
-
i0__namespace.ɵɵ
|
|
21599
|
+
i0__namespace.ɵɵelementStart(1, "table", 1);
|
|
21600
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
21601
|
+
i0__namespace.ɵɵelementStart(3, "caption", 2);
|
|
21602
|
+
i0__namespace.ɵɵelementStart(4, "div");
|
|
21603
|
+
i0__namespace.ɵɵtext(5);
|
|
21604
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
21567
21605
|
i0__namespace.ɵɵelementEnd();
|
|
21568
|
-
i0__namespace.ɵɵelementStart(4, "table", 8);
|
|
21569
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21570
|
-
i0__namespace.ɵɵelementStart(6, "tbody", 9);
|
|
21571
|
-
i0__namespace.ɵɵelementStart(7, "tr", 10);
|
|
21572
|
-
i0__namespace.ɵɵelementStart(8, "th", 11);
|
|
21573
|
-
i0__namespace.ɵɵtext(9);
|
|
21574
|
-
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21575
21606
|
i0__namespace.ɵɵelementEnd();
|
|
21576
|
-
i0__namespace.ɵɵelementStart(
|
|
21577
|
-
i0__namespace.ɵɵ
|
|
21578
|
-
i0__namespace.ɵɵ
|
|
21607
|
+
i0__namespace.ɵɵelementStart(7, "tbody", 3);
|
|
21608
|
+
i0__namespace.ɵɵelementStart(8, "tr", 4);
|
|
21609
|
+
i0__namespace.ɵɵelementStart(9, "th", 5);
|
|
21610
|
+
i0__namespace.ɵɵtext(10);
|
|
21611
|
+
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
21579
21612
|
i0__namespace.ɵɵelementEnd();
|
|
21613
|
+
i0__namespace.ɵɵelementStart(12, "td", 6);
|
|
21614
|
+
i0__namespace.ɵɵtext(13);
|
|
21615
|
+
i0__namespace.ɵɵpipe(14, "date");
|
|
21580
21616
|
i0__namespace.ɵɵelementEnd();
|
|
21581
|
-
i0__namespace.ɵɵelementStart(14, "tr", 10);
|
|
21582
|
-
i0__namespace.ɵɵelementStart(15, "th", 11);
|
|
21583
|
-
i0__namespace.ɵɵtext(16);
|
|
21584
|
-
i0__namespace.ɵɵpipe(17, "rpxTranslate");
|
|
21585
21617
|
i0__namespace.ɵɵelementEnd();
|
|
21586
|
-
i0__namespace.ɵɵ
|
|
21587
|
-
i0__namespace.ɵɵ
|
|
21618
|
+
i0__namespace.ɵɵtemplate(15, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_tr_15_Template, 6, 4, "tr", 14);
|
|
21619
|
+
i0__namespace.ɵɵelementStart(16, "tr", 4);
|
|
21620
|
+
i0__namespace.ɵɵelementStart(17, "th", 5);
|
|
21621
|
+
i0__namespace.ɵɵtext(18);
|
|
21622
|
+
i0__namespace.ɵɵpipe(19, "rpxTranslate");
|
|
21588
21623
|
i0__namespace.ɵɵelementEnd();
|
|
21624
|
+
i0__namespace.ɵɵelementStart(20, "td", 6);
|
|
21625
|
+
i0__namespace.ɵɵtext(21);
|
|
21589
21626
|
i0__namespace.ɵɵelementEnd();
|
|
21590
|
-
i0__namespace.ɵɵelementStart(20, "tr", 10);
|
|
21591
|
-
i0__namespace.ɵɵelementStart(21, "th", 11);
|
|
21592
|
-
i0__namespace.ɵɵtext(22);
|
|
21593
|
-
i0__namespace.ɵɵpipe(23, "rpxTranslate");
|
|
21594
21627
|
i0__namespace.ɵɵelementEnd();
|
|
21595
|
-
i0__namespace.ɵɵelementStart(
|
|
21596
|
-
i0__namespace.ɵɵ
|
|
21628
|
+
i0__namespace.ɵɵelementStart(22, "tr", 4);
|
|
21629
|
+
i0__namespace.ɵɵelementStart(23, "th", 5);
|
|
21630
|
+
i0__namespace.ɵɵtext(24);
|
|
21631
|
+
i0__namespace.ɵɵpipe(25, "rpxTranslate");
|
|
21632
|
+
i0__namespace.ɵɵelementEnd();
|
|
21633
|
+
i0__namespace.ɵɵelementStart(26, "td", 6);
|
|
21634
|
+
i0__namespace.ɵɵtemplate(27, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template, 1, 1, "ccd-query-attachments-read", 8);
|
|
21597
21635
|
i0__namespace.ɵɵelementEnd();
|
|
21598
21636
|
i0__namespace.ɵɵelementEnd();
|
|
21599
21637
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21602,59 +21640,64 @@
|
|
|
21602
21640
|
}
|
|
21603
21641
|
if (rf & 2) {
|
|
21604
21642
|
var child_r5 = i0__namespace.ɵɵnextContext().$implicit;
|
|
21605
|
-
i0__namespace.ɵɵ
|
|
21606
|
-
i0__namespace.ɵɵ
|
|
21607
|
-
i0__namespace.ɵɵ
|
|
21608
|
-
i0__namespace.ɵɵ
|
|
21643
|
+
var ctx_r7 = i0__namespace.ɵɵnextContext(3);
|
|
21644
|
+
i0__namespace.ɵɵadvance(1);
|
|
21645
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 9, "Response of the query"));
|
|
21646
|
+
i0__namespace.ɵɵadvance(4);
|
|
21647
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(6, 11, "Response"));
|
|
21609
21648
|
i0__namespace.ɵɵadvance(5);
|
|
21610
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21649
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 13, "Last response date"));
|
|
21611
21650
|
i0__namespace.ɵɵadvance(3);
|
|
21612
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(
|
|
21613
|
-
i0__namespace.ɵɵadvance(
|
|
21614
|
-
i0__namespace.ɵɵ
|
|
21651
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(14, 15, child_r5.createdOn, "dd MMM yyyy"));
|
|
21652
|
+
i0__namespace.ɵɵadvance(2);
|
|
21653
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r7.isCaseworker());
|
|
21654
|
+
i0__namespace.ɵɵadvance(3);
|
|
21655
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(19, 18, "Response detail"));
|
|
21615
21656
|
i0__namespace.ɵɵadvance(3);
|
|
21616
21657
|
i0__namespace.ɵɵtextInterpolate(child_r5.body);
|
|
21617
21658
|
i0__namespace.ɵɵadvance(3);
|
|
21618
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21659
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 20, "Attachments"));
|
|
21619
21660
|
i0__namespace.ɵɵadvance(3);
|
|
21620
21661
|
i0__namespace.ɵɵproperty("ngIf", child_r5.attachments);
|
|
21621
21662
|
}
|
|
21622
21663
|
}
|
|
21623
|
-
function
|
|
21664
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_template_2_Template(rf, ctx) {
|
|
21624
21665
|
if (rf & 1) {
|
|
21625
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
21626
|
-
i0__namespace.ɵɵ
|
|
21627
|
-
i0__namespace.ɵɵ
|
|
21666
|
+
i0__namespace.ɵɵelementStart(0, "table", 1);
|
|
21667
|
+
i0__namespace.ɵɵpipe(1, "rpxTranslate");
|
|
21668
|
+
i0__namespace.ɵɵelementStart(2, "caption", 2);
|
|
21669
|
+
i0__namespace.ɵɵelementStart(3, "div");
|
|
21670
|
+
i0__namespace.ɵɵtext(4);
|
|
21671
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21628
21672
|
i0__namespace.ɵɵelementEnd();
|
|
21629
|
-
i0__namespace.ɵɵelementStart(3, "table", 8);
|
|
21630
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
21631
|
-
i0__namespace.ɵɵelementStart(5, "tbody", 9);
|
|
21632
|
-
i0__namespace.ɵɵelementStart(6, "tr", 10);
|
|
21633
|
-
i0__namespace.ɵɵelementStart(7, "th", 11);
|
|
21634
|
-
i0__namespace.ɵɵtext(8);
|
|
21635
|
-
i0__namespace.ɵɵpipe(9, "rpxTranslate");
|
|
21636
21673
|
i0__namespace.ɵɵelementEnd();
|
|
21637
|
-
i0__namespace.ɵɵelementStart(
|
|
21638
|
-
i0__namespace.ɵɵ
|
|
21639
|
-
i0__namespace.ɵɵ
|
|
21674
|
+
i0__namespace.ɵɵelementStart(6, "tbody", 3);
|
|
21675
|
+
i0__namespace.ɵɵelementStart(7, "tr", 4);
|
|
21676
|
+
i0__namespace.ɵɵelementStart(8, "th", 5);
|
|
21677
|
+
i0__namespace.ɵɵtext(9);
|
|
21678
|
+
i0__namespace.ɵɵpipe(10, "rpxTranslate");
|
|
21640
21679
|
i0__namespace.ɵɵelementEnd();
|
|
21680
|
+
i0__namespace.ɵɵelementStart(11, "td", 6);
|
|
21681
|
+
i0__namespace.ɵɵtext(12);
|
|
21682
|
+
i0__namespace.ɵɵpipe(13, "date");
|
|
21641
21683
|
i0__namespace.ɵɵelementEnd();
|
|
21642
|
-
i0__namespace.ɵɵelementStart(13, "tr", 10);
|
|
21643
|
-
i0__namespace.ɵɵelementStart(14, "th", 11);
|
|
21644
|
-
i0__namespace.ɵɵtext(15);
|
|
21645
|
-
i0__namespace.ɵɵpipe(16, "rpxTranslate");
|
|
21646
21684
|
i0__namespace.ɵɵelementEnd();
|
|
21647
|
-
i0__namespace.ɵɵelementStart(
|
|
21648
|
-
i0__namespace.ɵɵ
|
|
21685
|
+
i0__namespace.ɵɵelementStart(14, "tr", 4);
|
|
21686
|
+
i0__namespace.ɵɵelementStart(15, "th", 5);
|
|
21687
|
+
i0__namespace.ɵɵtext(16);
|
|
21688
|
+
i0__namespace.ɵɵpipe(17, "rpxTranslate");
|
|
21689
|
+
i0__namespace.ɵɵelementEnd();
|
|
21690
|
+
i0__namespace.ɵɵelementStart(18, "td", 6);
|
|
21691
|
+
i0__namespace.ɵɵtext(19);
|
|
21649
21692
|
i0__namespace.ɵɵelementEnd();
|
|
21650
21693
|
i0__namespace.ɵɵelementEnd();
|
|
21651
|
-
i0__namespace.ɵɵelementStart(
|
|
21652
|
-
i0__namespace.ɵɵelementStart(
|
|
21653
|
-
i0__namespace.ɵɵtext(
|
|
21654
|
-
i0__namespace.ɵɵpipe(
|
|
21694
|
+
i0__namespace.ɵɵelementStart(20, "tr", 4);
|
|
21695
|
+
i0__namespace.ɵɵelementStart(21, "th", 5);
|
|
21696
|
+
i0__namespace.ɵɵtext(22);
|
|
21697
|
+
i0__namespace.ɵɵpipe(23, "rpxTranslate");
|
|
21655
21698
|
i0__namespace.ɵɵelementEnd();
|
|
21656
|
-
i0__namespace.ɵɵelementStart(
|
|
21657
|
-
i0__namespace.ɵɵtext(
|
|
21699
|
+
i0__namespace.ɵɵelementStart(24, "td", 6);
|
|
21700
|
+
i0__namespace.ɵɵtext(25);
|
|
21658
21701
|
i0__namespace.ɵɵelementEnd();
|
|
21659
21702
|
i0__namespace.ɵɵelementEnd();
|
|
21660
21703
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21662,29 +21705,28 @@
|
|
|
21662
21705
|
}
|
|
21663
21706
|
if (rf & 2) {
|
|
21664
21707
|
var child_r5 = i0__namespace.ɵɵnextContext().$implicit;
|
|
21665
|
-
i0__namespace.ɵɵ
|
|
21666
|
-
i0__namespace.ɵɵ
|
|
21667
|
-
i0__namespace.ɵɵ
|
|
21668
|
-
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(4, 10, "Follow-up of the response"));
|
|
21708
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(1, 8, "Follow-up of the response"));
|
|
21709
|
+
i0__namespace.ɵɵadvance(4);
|
|
21710
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 10, "Follow up query"));
|
|
21669
21711
|
i0__namespace.ɵɵadvance(5);
|
|
21670
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21712
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(10, 12, "Last submission date"));
|
|
21671
21713
|
i0__namespace.ɵɵadvance(3);
|
|
21672
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(
|
|
21714
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 14, child_r5.createdOn, "dd MMM yyyy"));
|
|
21673
21715
|
i0__namespace.ɵɵadvance(4);
|
|
21674
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21716
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(17, 17, "Last submitted by"));
|
|
21675
21717
|
i0__namespace.ɵɵadvance(3);
|
|
21676
21718
|
i0__namespace.ɵɵtextInterpolate(child_r5.name);
|
|
21677
21719
|
i0__namespace.ɵɵadvance(3);
|
|
21678
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21720
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(23, 19, "Query detail"));
|
|
21679
21721
|
i0__namespace.ɵɵadvance(3);
|
|
21680
21722
|
i0__namespace.ɵɵtextInterpolate(child_r5.body);
|
|
21681
21723
|
}
|
|
21682
21724
|
}
|
|
21683
|
-
function
|
|
21725
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_Template(rf, ctx) {
|
|
21684
21726
|
if (rf & 1) {
|
|
21685
21727
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
21686
|
-
i0__namespace.ɵɵtemplate(1,
|
|
21687
|
-
i0__namespace.ɵɵtemplate(2,
|
|
21728
|
+
i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_container_1_Template, 28, 22, "ng-container", 12);
|
|
21729
|
+
i0__namespace.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_ng_template_2_Template, 26, 21, "ng-template", null, 13, i0__namespace.ɵɵtemplateRefExtractor);
|
|
21688
21730
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21689
21731
|
}
|
|
21690
21732
|
if (rf & 2) {
|
|
@@ -21694,90 +21736,159 @@
|
|
|
21694
21736
|
i0__namespace.ɵɵproperty("ngIf", i_r6 % 2 === 0)("ngIfElse", _r8);
|
|
21695
21737
|
}
|
|
21696
21738
|
}
|
|
21697
|
-
function
|
|
21739
|
+
function QueryDetailsComponent_ng_container_0_ng_container_48_Template(rf, ctx) {
|
|
21698
21740
|
if (rf & 1) {
|
|
21699
21741
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
21700
|
-
i0__namespace.ɵɵtemplate(1,
|
|
21742
|
+
i0__namespace.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_48_ng_container_1_Template, 4, 2, "ng-container", 11);
|
|
21701
21743
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21702
21744
|
}
|
|
21703
21745
|
if (rf & 2) {
|
|
21704
|
-
var
|
|
21746
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
21705
21747
|
i0__namespace.ɵɵadvance(1);
|
|
21706
|
-
i0__namespace.ɵɵproperty("ngForOf",
|
|
21748
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r3.query.children);
|
|
21707
21749
|
}
|
|
21708
21750
|
}
|
|
21709
|
-
function
|
|
21751
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
21710
21752
|
if (rf & 1) {
|
|
21711
|
-
i0__namespace.ɵɵ
|
|
21712
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
21713
|
-
i0__namespace.ɵɵ
|
|
21753
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
21754
|
+
i0__namespace.ɵɵelementStart(1, "div");
|
|
21755
|
+
i0__namespace.ɵɵelementStart(2, "table", 1);
|
|
21714
21756
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21757
|
+
i0__namespace.ɵɵelementStart(4, "caption", 2);
|
|
21758
|
+
i0__namespace.ɵɵelementStart(5, "div");
|
|
21759
|
+
i0__namespace.ɵɵtext(6);
|
|
21760
|
+
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
21715
21761
|
i0__namespace.ɵɵelementEnd();
|
|
21716
|
-
i0__namespace.ɵɵelementStart(4, "p");
|
|
21717
|
-
i0__namespace.ɵɵtext(5);
|
|
21718
|
-
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
21719
21762
|
i0__namespace.ɵɵelementEnd();
|
|
21763
|
+
i0__namespace.ɵɵelementStart(8, "tbody", 3);
|
|
21764
|
+
i0__namespace.ɵɵelementStart(9, "tr", 4);
|
|
21765
|
+
i0__namespace.ɵɵelementStart(10, "th", 5);
|
|
21766
|
+
i0__namespace.ɵɵtext(11);
|
|
21767
|
+
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
21720
21768
|
i0__namespace.ɵɵelementEnd();
|
|
21721
|
-
|
|
21722
|
-
|
|
21723
|
-
i0__namespace.ɵɵadvance(2);
|
|
21724
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
21725
|
-
i0__namespace.ɵɵadvance(3);
|
|
21726
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(6, 4, "Our team will read your query and will respond. Do not submit the same query more than once."));
|
|
21727
|
-
}
|
|
21728
|
-
}
|
|
21729
|
-
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
21730
|
-
if (rf & 1) {
|
|
21731
|
-
var _r15_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21732
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
21733
|
-
i0__namespace.ɵɵelement(1, "br");
|
|
21734
|
-
i0__namespace.ɵɵelementStart(2, "p");
|
|
21735
|
-
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
21736
|
-
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r15_1); var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.onBack(); });
|
|
21737
|
-
i0__namespace.ɵɵtext(4);
|
|
21738
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21769
|
+
i0__namespace.ɵɵelementStart(13, "td", 6);
|
|
21770
|
+
i0__namespace.ɵɵtext(14);
|
|
21739
21771
|
i0__namespace.ɵɵelementEnd();
|
|
21740
21772
|
i0__namespace.ɵɵelementEnd();
|
|
21741
|
-
i0__namespace.ɵɵelementStart(
|
|
21742
|
-
i0__namespace.ɵɵ
|
|
21743
|
-
i0__namespace.ɵɵ
|
|
21773
|
+
i0__namespace.ɵɵelementStart(15, "tr", 4);
|
|
21774
|
+
i0__namespace.ɵɵelementStart(16, "th", 5);
|
|
21775
|
+
i0__namespace.ɵɵtext(17);
|
|
21776
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21777
|
+
i0__namespace.ɵɵelementEnd();
|
|
21778
|
+
i0__namespace.ɵɵelementStart(19, "td", 6);
|
|
21779
|
+
i0__namespace.ɵɵtext(20);
|
|
21780
|
+
i0__namespace.ɵɵpipe(21, "date");
|
|
21781
|
+
i0__namespace.ɵɵelementEnd();
|
|
21782
|
+
i0__namespace.ɵɵelementEnd();
|
|
21783
|
+
i0__namespace.ɵɵelementStart(22, "tr", 4);
|
|
21784
|
+
i0__namespace.ɵɵelementStart(23, "th", 5);
|
|
21785
|
+
i0__namespace.ɵɵtext(24);
|
|
21786
|
+
i0__namespace.ɵɵpipe(25, "rpxTranslate");
|
|
21787
|
+
i0__namespace.ɵɵelementEnd();
|
|
21788
|
+
i0__namespace.ɵɵelementStart(26, "td", 6);
|
|
21789
|
+
i0__namespace.ɵɵtext(27);
|
|
21790
|
+
i0__namespace.ɵɵelementEnd();
|
|
21791
|
+
i0__namespace.ɵɵelementEnd();
|
|
21792
|
+
i0__namespace.ɵɵelementStart(28, "tr", 4);
|
|
21793
|
+
i0__namespace.ɵɵelementStart(29, "th", 5);
|
|
21794
|
+
i0__namespace.ɵɵtext(30);
|
|
21795
|
+
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
21796
|
+
i0__namespace.ɵɵelementEnd();
|
|
21797
|
+
i0__namespace.ɵɵelementStart(32, "td", 6);
|
|
21798
|
+
i0__namespace.ɵɵtext(33);
|
|
21799
|
+
i0__namespace.ɵɵelementEnd();
|
|
21800
|
+
i0__namespace.ɵɵelementEnd();
|
|
21801
|
+
i0__namespace.ɵɵelementStart(34, "tr", 4);
|
|
21802
|
+
i0__namespace.ɵɵelementStart(35, "th", 5);
|
|
21803
|
+
i0__namespace.ɵɵtext(36);
|
|
21804
|
+
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
21805
|
+
i0__namespace.ɵɵelementEnd();
|
|
21806
|
+
i0__namespace.ɵɵelementStart(38, "td", 6);
|
|
21807
|
+
i0__namespace.ɵɵtext(39);
|
|
21808
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21809
|
+
i0__namespace.ɵɵelementEnd();
|
|
21810
|
+
i0__namespace.ɵɵelementEnd();
|
|
21811
|
+
i0__namespace.ɵɵtemplate(41, QueryDetailsComponent_ng_container_0_tr_41_Template, 7, 7, "tr", 7);
|
|
21812
|
+
i0__namespace.ɵɵelementStart(42, "tr", 4);
|
|
21813
|
+
i0__namespace.ɵɵelementStart(43, "th", 5);
|
|
21814
|
+
i0__namespace.ɵɵtext(44);
|
|
21815
|
+
i0__namespace.ɵɵpipe(45, "rpxTranslate");
|
|
21744
21816
|
i0__namespace.ɵɵelementEnd();
|
|
21745
|
-
i0__namespace.ɵɵ
|
|
21746
|
-
i0__namespace.ɵɵtemplate(
|
|
21747
|
-
i0__namespace.ɵɵ
|
|
21817
|
+
i0__namespace.ɵɵelementStart(46, "td", 6);
|
|
21818
|
+
i0__namespace.ɵɵtemplate(47, QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_47_Template, 1, 1, "ccd-query-attachments-read", 8);
|
|
21819
|
+
i0__namespace.ɵɵelementEnd();
|
|
21820
|
+
i0__namespace.ɵɵelementEnd();
|
|
21821
|
+
i0__namespace.ɵɵelementEnd();
|
|
21822
|
+
i0__namespace.ɵɵelementEnd();
|
|
21823
|
+
i0__namespace.ɵɵelementEnd();
|
|
21824
|
+
i0__namespace.ɵɵtemplate(48, QueryDetailsComponent_ng_container_0_ng_container_48_Template, 2, 1, "ng-container", 0);
|
|
21748
21825
|
i0__namespace.ɵɵelementContainerEnd();
|
|
21749
21826
|
}
|
|
21750
21827
|
if (rf & 2) {
|
|
21751
|
-
var _r2 = i0__namespace.ɵɵreference(12);
|
|
21752
21828
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
21829
|
+
i0__namespace.ɵɵadvance(2);
|
|
21830
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(3, 20, "Details of the query"));
|
|
21753
21831
|
i0__namespace.ɵɵadvance(4);
|
|
21754
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21832
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 22, "Query details"));
|
|
21833
|
+
i0__namespace.ɵɵadvance(5);
|
|
21834
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(12, 24, "Last submitted by"));
|
|
21835
|
+
i0__namespace.ɵɵadvance(3);
|
|
21836
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.query.lastSubmittedBy);
|
|
21837
|
+
i0__namespace.ɵɵadvance(3);
|
|
21838
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 26, "Submission date"));
|
|
21839
|
+
i0__namespace.ɵɵadvance(3);
|
|
21840
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(21, 28, ctx_r0.query.createdOn, "dd MMM yyyy"));
|
|
21841
|
+
i0__namespace.ɵɵadvance(4);
|
|
21842
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 31, "Query subject"));
|
|
21843
|
+
i0__namespace.ɵɵadvance(3);
|
|
21844
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.query.subject);
|
|
21845
|
+
i0__namespace.ɵɵadvance(3);
|
|
21846
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(31, 33, "Query body"));
|
|
21755
21847
|
i0__namespace.ɵɵadvance(3);
|
|
21756
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21848
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r0.query.body);
|
|
21757
21849
|
i0__namespace.ɵɵadvance(2);
|
|
21758
|
-
i0__namespace.ɵɵ
|
|
21850
|
+
i0__namespace.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.query.isHearingRelated);
|
|
21759
21851
|
i0__namespace.ɵɵadvance(1);
|
|
21760
|
-
i0__namespace.ɵɵ
|
|
21852
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 35, "Is the query hearing related?"), " ");
|
|
21853
|
+
i0__namespace.ɵɵadvance(2);
|
|
21854
|
+
i0__namespace.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.query.isHearingRelated);
|
|
21855
|
+
i0__namespace.ɵɵadvance(1);
|
|
21856
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(40, 37, "Is the query hearing related?", null, ctx_r0.query.isHearingRelated ? "Yes" : "No"), "");
|
|
21857
|
+
i0__namespace.ɵɵadvance(2);
|
|
21858
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.query.isHearingRelated);
|
|
21859
|
+
i0__namespace.ɵɵadvance(3);
|
|
21860
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(45, 41, "Attachments"));
|
|
21861
|
+
i0__namespace.ɵɵadvance(3);
|
|
21862
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r0.query.attachments);
|
|
21863
|
+
i0__namespace.ɵɵadvance(1);
|
|
21864
|
+
i0__namespace.ɵɵproperty("ngIf", (ctx_r0.query.children == null ? null : ctx_r0.query.children.length) > 0);
|
|
21761
21865
|
}
|
|
21762
21866
|
}
|
|
21763
21867
|
var QueryDetailsComponent = /** @class */ (function () {
|
|
21764
|
-
function QueryDetailsComponent() {
|
|
21868
|
+
function QueryDetailsComponent(sessionStorage) {
|
|
21869
|
+
this.sessionStorage = sessionStorage;
|
|
21765
21870
|
this.backClicked = new i0.EventEmitter();
|
|
21766
21871
|
}
|
|
21767
21872
|
QueryDetailsComponent.prototype.onBack = function () {
|
|
21768
21873
|
this.backClicked.emit(true);
|
|
21769
21874
|
};
|
|
21875
|
+
QueryDetailsComponent.prototype.isCaseworker = function () {
|
|
21876
|
+
var userDetails = JSON.parse(this.sessionStorage.getItem('userDetails'));
|
|
21877
|
+
return userDetails && userDetails.roles
|
|
21878
|
+
&& !(userDetails.roles.includes('pui-case-manager')
|
|
21879
|
+
|| userDetails.roles.some(function (role) { return role.toLowerCase().includes('judge'); }));
|
|
21880
|
+
};
|
|
21770
21881
|
return QueryDetailsComponent;
|
|
21771
21882
|
}());
|
|
21772
|
-
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
21773
|
-
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["
|
|
21883
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
|
|
21884
|
+
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["followUpMessage", ""], ["class", "govuk-table__row", 4, "ngIf"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
21774
21885
|
if (rf & 1) {
|
|
21775
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template,
|
|
21886
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 49, 43, "ng-container", 0);
|
|
21776
21887
|
}
|
|
21777
21888
|
if (rf & 2) {
|
|
21778
21889
|
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
21779
21890
|
}
|
|
21780
|
-
}, styles: [".
|
|
21891
|
+
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
|
|
21781
21892
|
(function () {
|
|
21782
21893
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
21783
21894
|
type: i0.Component,
|
|
@@ -21786,10 +21897,12 @@
|
|
|
21786
21897
|
templateUrl: './query-details.component.html',
|
|
21787
21898
|
styleUrls: ['./query-details.component.scss']
|
|
21788
21899
|
}]
|
|
21789
|
-
}],
|
|
21900
|
+
}], function () { return [{ type: SessionStorageService }]; }, { query: [{
|
|
21790
21901
|
type: i0.Input
|
|
21791
21902
|
}], backClicked: [{
|
|
21792
21903
|
type: i0.Output
|
|
21904
|
+
}], caseId: [{
|
|
21905
|
+
type: i0.Input
|
|
21793
21906
|
}] });
|
|
21794
21907
|
})();
|
|
21795
21908
|
|
|
@@ -21890,7 +22003,7 @@
|
|
|
21890
22003
|
i0__namespace.ɵɵadvance(3);
|
|
21891
22004
|
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.displayedColumns);
|
|
21892
22005
|
i0__namespace.ɵɵadvance(2);
|
|
21893
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryListData.
|
|
22006
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryListData.queries);
|
|
21894
22007
|
}
|
|
21895
22008
|
}
|
|
21896
22009
|
var QueryListComponent = /** @class */ (function () {
|
|
@@ -21906,9 +22019,9 @@
|
|
|
21906
22019
|
}
|
|
21907
22020
|
QueryListComponent.prototype.ngOnChanges = function (simpleChanges) {
|
|
21908
22021
|
var _a;
|
|
21909
|
-
var
|
|
21910
|
-
if (
|
|
21911
|
-
this.queryListData = new QueryListData(
|
|
22022
|
+
var currentCaseQueriesCollection = (_a = simpleChanges.caseQueriesCollection) === null || _a === void 0 ? void 0 : _a.currentValue;
|
|
22023
|
+
if (currentCaseQueriesCollection) {
|
|
22024
|
+
this.queryListData = new QueryListData(currentCaseQueriesCollection);
|
|
21912
22025
|
}
|
|
21913
22026
|
};
|
|
21914
22027
|
QueryListComponent.prototype.sortTable = function (col) {
|
|
@@ -21942,24 +22055,24 @@
|
|
|
21942
22055
|
};
|
|
21943
22056
|
QueryListComponent.prototype.sort = function (col) {
|
|
21944
22057
|
if (col.sortOrder === SortOrder.ASCENDING) {
|
|
21945
|
-
this.queryListData.
|
|
22058
|
+
this.queryListData.queries.sort(function (a, b) { return (a[col.name] < b[col.name]) ? 1 : -1; });
|
|
21946
22059
|
this.displayedColumns.forEach(function (c) { return c.sortOrder = SortOrder.UNSORTED; });
|
|
21947
22060
|
col.sortOrder = SortOrder.DESCENDING;
|
|
21948
22061
|
}
|
|
21949
22062
|
else {
|
|
21950
|
-
this.queryListData.
|
|
22063
|
+
this.queryListData.queries.sort(function (a, b) { return (a[col.name] > b[col.name]) ? 1 : -1; });
|
|
21951
22064
|
this.displayedColumns.forEach(function (c) { return c.sortOrder = SortOrder.UNSORTED; });
|
|
21952
22065
|
col.sortOrder = SortOrder.ASCENDING;
|
|
21953
22066
|
}
|
|
21954
22067
|
};
|
|
21955
22068
|
QueryListComponent.prototype.sortDate = function (col) {
|
|
21956
22069
|
if (col.sortOrder === SortOrder.ASCENDING) {
|
|
21957
|
-
this.queryListData.
|
|
22070
|
+
this.queryListData.queries.sort(function (a, b) { return b[col.name] - a[col.name]; });
|
|
21958
22071
|
this.displayedColumns.forEach(function (c) { return c.sortOrder = SortOrder.UNSORTED; });
|
|
21959
22072
|
col.sortOrder = SortOrder.DESCENDING;
|
|
21960
22073
|
}
|
|
21961
22074
|
else {
|
|
21962
|
-
this.queryListData.
|
|
22075
|
+
this.queryListData.queries.sort(function (a, b) { return a[col.name] - b[col.name]; });
|
|
21963
22076
|
this.displayedColumns.forEach(function (c) { return c.sortOrder = SortOrder.UNSORTED; });
|
|
21964
22077
|
col.sortOrder = SortOrder.ASCENDING;
|
|
21965
22078
|
}
|
|
@@ -21967,14 +22080,14 @@
|
|
|
21967
22080
|
return QueryListComponent;
|
|
21968
22081
|
}());
|
|
21969
22082
|
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
21970
|
-
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: {
|
|
22083
|
+
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { caseQueriesCollection: "caseQueriesCollection" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
|
|
21971
22084
|
if (rf & 1) {
|
|
21972
22085
|
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
21973
22086
|
}
|
|
21974
22087
|
if (rf & 2) {
|
|
21975
22088
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
|
|
21976
22089
|
}
|
|
21977
|
-
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["@charset \"UTF-8\";.query-
|
|
22090
|
+
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["@charset \"UTF-8\";.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 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][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
|
|
21978
22091
|
(function () {
|
|
21979
22092
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
|
|
21980
22093
|
type: i0.Component,
|
|
@@ -21983,7 +22096,7 @@
|
|
|
21983
22096
|
templateUrl: './query-list.component.html',
|
|
21984
22097
|
styleUrls: ['./query-list.component.scss']
|
|
21985
22098
|
}]
|
|
21986
|
-
}], null, {
|
|
22099
|
+
}], null, { caseQueriesCollection: [{
|
|
21987
22100
|
type: i0.Input
|
|
21988
22101
|
}], selectedQuery: [{
|
|
21989
22102
|
type: i0.Output
|
|
@@ -22476,10 +22589,10 @@
|
|
|
22476
22589
|
}] });
|
|
22477
22590
|
})();
|
|
22478
22591
|
|
|
22479
|
-
function
|
|
22592
|
+
function QueryWriteRespondToQueryComponent_p_23_Template(rf, ctx) {
|
|
22480
22593
|
if (rf & 1) {
|
|
22481
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
22482
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
22594
|
+
i0__namespace.ɵɵelementStart(0, "p", 13);
|
|
22595
|
+
i0__namespace.ɵɵelementStart(1, "span", 14);
|
|
22483
22596
|
i0__namespace.ɵɵtext(2);
|
|
22484
22597
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22485
22598
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22495,7 +22608,6 @@
|
|
|
22495
22608
|
i0__namespace.ɵɵtextInterpolate1("", ctx_r0.queryCreateContext === ctx_r0.queryCreateContextEnum.RESPOND ? ctx_r0.raiseQueryErrorMessages.RESPOND_QUERY_BODY : i0__namespace.ɵɵpipeBind1(5, 4, ctx_r0.raiseQueryErrorMessages.QUERY_BODY), " ");
|
|
22496
22609
|
}
|
|
22497
22610
|
}
|
|
22498
|
-
var _c0$B = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
|
|
22499
22611
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
22500
22612
|
function QueryWriteRespondToQueryComponent(caseNotifier) {
|
|
22501
22613
|
this.caseNotifier = caseNotifier;
|
|
@@ -22512,49 +22624,43 @@
|
|
|
22512
22624
|
return QueryWriteRespondToQueryComponent;
|
|
22513
22625
|
}());
|
|
22514
22626
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
|
|
22515
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls:
|
|
22627
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted" }, decls: 26, vars: 20, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "query"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
22516
22628
|
if (rf & 1) {
|
|
22517
22629
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
22518
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
22519
|
-
i0__namespace.ɵɵ
|
|
22520
|
-
i0__namespace.ɵɵ
|
|
22521
|
-
i0__namespace.ɵɵ
|
|
22522
|
-
i0__namespace.ɵɵelementEnd();
|
|
22523
|
-
i0__namespace.ɵɵelementStart(4, "div", 2);
|
|
22524
|
-
i0__namespace.ɵɵelementStart(5, "div", 2);
|
|
22525
|
-
i0__namespace.ɵɵelementStart(6, "div", 3);
|
|
22526
|
-
i0__namespace.ɵɵtext(7);
|
|
22527
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
22630
|
+
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
22631
|
+
i0__namespace.ɵɵelementStart(2, "div", 1);
|
|
22632
|
+
i0__namespace.ɵɵtext(3);
|
|
22633
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
22528
22634
|
i0__namespace.ɵɵelementEnd();
|
|
22529
|
-
i0__namespace.ɵɵelementStart(
|
|
22530
|
-
i0__namespace.ɵɵtext(
|
|
22531
|
-
i0__namespace.ɵɵpipe(
|
|
22635
|
+
i0__namespace.ɵɵelementStart(5, "h1", 2);
|
|
22636
|
+
i0__namespace.ɵɵtext(6);
|
|
22637
|
+
i0__namespace.ɵɵpipe(7, "rpxTranslate");
|
|
22532
22638
|
i0__namespace.ɵɵelementEnd();
|
|
22533
22639
|
i0__namespace.ɵɵelementEnd();
|
|
22534
|
-
i0__namespace.ɵɵelementStart(
|
|
22535
|
-
i0__namespace.ɵɵelement(
|
|
22640
|
+
i0__namespace.ɵɵelementStart(8, "div", 3);
|
|
22641
|
+
i0__namespace.ɵɵelement(9, "ccd-query-case-details-header");
|
|
22536
22642
|
i0__namespace.ɵɵelementEnd();
|
|
22537
|
-
i0__namespace.ɵɵelementStart(
|
|
22538
|
-
i0__namespace.ɵɵelement(
|
|
22643
|
+
i0__namespace.ɵɵelementStart(10, "div");
|
|
22644
|
+
i0__namespace.ɵɵelement(11, "ccd-query-details", 4);
|
|
22539
22645
|
i0__namespace.ɵɵelementEnd();
|
|
22540
22646
|
i0__namespace.ɵɵelementEnd();
|
|
22541
|
-
i0__namespace.ɵɵelementStart(
|
|
22542
|
-
i0__namespace.ɵɵelementStart(
|
|
22543
|
-
i0__namespace.ɵɵelementStart(
|
|
22544
|
-
i0__namespace.ɵɵtext(
|
|
22545
|
-
i0__namespace.ɵɵpipe(
|
|
22647
|
+
i0__namespace.ɵɵelementStart(12, "div", 5);
|
|
22648
|
+
i0__namespace.ɵɵelementStart(13, "div");
|
|
22649
|
+
i0__namespace.ɵɵelementStart(14, "h1", 6);
|
|
22650
|
+
i0__namespace.ɵɵtext(15);
|
|
22651
|
+
i0__namespace.ɵɵpipe(16, "rpxTranslate");
|
|
22546
22652
|
i0__namespace.ɵɵelementEnd();
|
|
22547
|
-
i0__namespace.ɵɵelementStart(
|
|
22548
|
-
i0__namespace.ɵɵelementStart(
|
|
22549
|
-
i0__namespace.ɵɵelementStart(
|
|
22550
|
-
i0__namespace.ɵɵelementStart(
|
|
22551
|
-
i0__namespace.ɵɵtext(
|
|
22552
|
-
i0__namespace.ɵɵpipe(
|
|
22653
|
+
i0__namespace.ɵɵelementStart(17, "div", 7);
|
|
22654
|
+
i0__namespace.ɵɵelementStart(18, "div", 8);
|
|
22655
|
+
i0__namespace.ɵɵelementStart(19, "div", 9);
|
|
22656
|
+
i0__namespace.ɵɵelementStart(20, "label", 10);
|
|
22657
|
+
i0__namespace.ɵɵtext(21);
|
|
22658
|
+
i0__namespace.ɵɵpipe(22, "rpxTranslate");
|
|
22553
22659
|
i0__namespace.ɵɵelementEnd();
|
|
22554
22660
|
i0__namespace.ɵɵelementEnd();
|
|
22555
|
-
i0__namespace.ɵɵtemplate(
|
|
22556
|
-
i0__namespace.ɵɵelementStart(
|
|
22557
|
-
i0__namespace.ɵɵtext(
|
|
22661
|
+
i0__namespace.ɵɵtemplate(23, QueryWriteRespondToQueryComponent_p_23_Template, 6, 6, "p", 11);
|
|
22662
|
+
i0__namespace.ɵɵelementStart(24, "textarea", 12);
|
|
22663
|
+
i0__namespace.ɵɵtext(25, " ");
|
|
22558
22664
|
i0__namespace.ɵɵelementEnd();
|
|
22559
22665
|
i0__namespace.ɵɵelementEnd();
|
|
22560
22666
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -22562,31 +22668,27 @@
|
|
|
22562
22668
|
i0__namespace.ɵɵelementEnd();
|
|
22563
22669
|
}
|
|
22564
22670
|
if (rf & 2) {
|
|
22671
|
+
var tmp_5_0 = null;
|
|
22565
22672
|
var tmp_7_0 = null;
|
|
22566
|
-
var
|
|
22567
|
-
|
|
22568
|
-
i0__namespace.ɵɵ
|
|
22569
|
-
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(24, _c0$B, ctx.caseId));
|
|
22570
|
-
i0__namespace.ɵɵadvance(1);
|
|
22571
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 14, "Cancel and return to tasks"), " ");
|
|
22572
|
-
i0__namespace.ɵɵadvance(5);
|
|
22573
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 16, "Respond to query"));
|
|
22673
|
+
var tmp_8_0 = null;
|
|
22674
|
+
i0__namespace.ɵɵadvance(3);
|
|
22675
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 12, "Respond to a query"));
|
|
22574
22676
|
i0__namespace.ɵɵadvance(3);
|
|
22575
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
22677
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 14, "Query details"));
|
|
22576
22678
|
i0__namespace.ɵɵadvance(5);
|
|
22577
|
-
i0__namespace.ɵɵproperty("
|
|
22679
|
+
i0__namespace.ɵɵproperty("query", ctx.queryItem);
|
|
22578
22680
|
i0__namespace.ɵɵadvance(4);
|
|
22579
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(
|
|
22681
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(16, 16, "Ask a follow-up question"), " ");
|
|
22580
22682
|
i0__namespace.ɵɵadvance(2);
|
|
22581
22683
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
22582
22684
|
i0__namespace.ɵɵadvance(1);
|
|
22583
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((
|
|
22685
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", ctx.submitted && ((tmp_5_0 = ctx.formGroup.get("body")) == null ? null : tmp_5_0.hasError("required")));
|
|
22584
22686
|
i0__namespace.ɵɵadvance(3);
|
|
22585
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response
|
|
22687
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryCreateContext === ctx.queryCreateContextEnum.RESPOND ? "Response detail" : i0__namespace.ɵɵpipeBind1(22, 18, "Query Body"), " ");
|
|
22586
22688
|
i0__namespace.ɵɵadvance(2);
|
|
22587
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((
|
|
22689
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.submitted && ((tmp_7_0 = ctx.formGroup.get("body")) == null ? null : tmp_7_0.hasError("required")));
|
|
22588
22690
|
i0__namespace.ɵɵadvance(1);
|
|
22589
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((
|
|
22691
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", ctx.submitted && ((tmp_8_0 = ctx.formGroup.get("body")) == null ? null : tmp_8_0.hasError("required")));
|
|
22590
22692
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
22591
22693
|
}
|
|
22592
22694
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -22688,43 +22790,108 @@
|
|
|
22688
22790
|
}] });
|
|
22689
22791
|
})();
|
|
22690
22792
|
|
|
22691
|
-
function
|
|
22793
|
+
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template(rf, ctx) {
|
|
22692
22794
|
if (rf & 1) {
|
|
22693
|
-
var
|
|
22694
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
22695
|
-
i0__namespace.ɵɵelementStart(1, "ccd-query-list",
|
|
22696
|
-
i0__namespace.ɵɵlistener("selectedQuery", function
|
|
22795
|
+
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
22796
|
+
i0__namespace.ɵɵelementStart(0, "div", 4);
|
|
22797
|
+
i0__namespace.ɵɵelementStart(1, "ccd-query-list", 5);
|
|
22798
|
+
i0__namespace.ɵɵlistener("selectedQuery", function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template_ccd_query_list_selectedQuery_1_listener($event) { i0__namespace.ɵɵrestoreView(_r7_1); var ctx_r6 = i0__namespace.ɵɵnextContext(3); return ctx_r6.setQuery($event); });
|
|
22697
22799
|
i0__namespace.ɵɵelementEnd();
|
|
22698
22800
|
i0__namespace.ɵɵelementEnd();
|
|
22699
22801
|
}
|
|
22700
22802
|
if (rf & 2) {
|
|
22701
|
-
var
|
|
22803
|
+
var caseQueriesCollection_r4 = i0__namespace.ɵɵnextContext().$implicit;
|
|
22804
|
+
i0__namespace.ɵɵadvance(1);
|
|
22805
|
+
i0__namespace.ɵɵproperty("caseQueriesCollection", caseQueriesCollection_r4);
|
|
22806
|
+
}
|
|
22807
|
+
}
|
|
22808
|
+
function ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Template(rf, ctx) {
|
|
22809
|
+
if (rf & 1) {
|
|
22810
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
22811
|
+
i0__namespace.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_div_1_Template, 2, 1, "div", 3);
|
|
22812
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
22813
|
+
}
|
|
22814
|
+
if (rf & 2) {
|
|
22815
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext(2);
|
|
22702
22816
|
i0__namespace.ɵɵadvance(1);
|
|
22703
|
-
i0__namespace.ɵɵproperty("
|
|
22817
|
+
i0__namespace.ɵɵproperty("ngIf", ctx_r3.showQueryList);
|
|
22704
22818
|
}
|
|
22705
22819
|
}
|
|
22706
|
-
function
|
|
22820
|
+
function ReadQueryManagementFieldComponent_ng_container_0_Template(rf, ctx) {
|
|
22707
22821
|
if (rf & 1) {
|
|
22708
22822
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
22709
|
-
i0__namespace.ɵɵtemplate(1,
|
|
22823
|
+
i0__namespace.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_container_0_ng_container_1_Template, 2, 1, "ng-container", 2);
|
|
22710
22824
|
i0__namespace.ɵɵelementContainerEnd();
|
|
22711
22825
|
}
|
|
22712
22826
|
if (rf & 2) {
|
|
22713
22827
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
22714
22828
|
i0__namespace.ɵɵadvance(1);
|
|
22715
|
-
i0__namespace.ɵɵproperty("
|
|
22829
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.caseQueriesCollections);
|
|
22716
22830
|
}
|
|
22717
22831
|
}
|
|
22718
|
-
function
|
|
22832
|
+
var _c0$B = function (a2) { return ["/query-management", "query", a2, "4"]; };
|
|
22833
|
+
function ReadQueryManagementFieldComponent_ng_template_1_ng_container_6_Template(rf, ctx) {
|
|
22719
22834
|
if (rf & 1) {
|
|
22720
|
-
|
|
22721
|
-
i0__namespace.ɵɵelementStart(
|
|
22722
|
-
i0__namespace.ɵɵ
|
|
22835
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
22836
|
+
i0__namespace.ɵɵelementStart(1, "button", 9);
|
|
22837
|
+
i0__namespace.ɵɵtext(2);
|
|
22838
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22723
22839
|
i0__namespace.ɵɵelementEnd();
|
|
22840
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
22724
22841
|
}
|
|
22725
22842
|
if (rf & 2) {
|
|
22726
|
-
var
|
|
22727
|
-
i0__namespace.ɵɵ
|
|
22843
|
+
var ctx_r9 = i0__namespace.ɵɵnextContext(2);
|
|
22844
|
+
i0__namespace.ɵɵadvance(1);
|
|
22845
|
+
i0__namespace.ɵɵproperty("routerLink", i0__namespace.ɵɵpureFunction1(4, _c0$B, ctx_r9.caseId));
|
|
22846
|
+
i0__namespace.ɵɵadvance(1);
|
|
22847
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 2, "Ask a follow-up question"), " ");
|
|
22848
|
+
}
|
|
22849
|
+
}
|
|
22850
|
+
function ReadQueryManagementFieldComponent_ng_template_1_ng_template_7_Template(rf, ctx) {
|
|
22851
|
+
if (rf & 1) {
|
|
22852
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
22853
|
+
i0__namespace.ɵɵelementStart(1, "p", 10);
|
|
22854
|
+
i0__namespace.ɵɵtext(2);
|
|
22855
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
22856
|
+
i0__namespace.ɵɵelementEnd();
|
|
22857
|
+
i0__namespace.ɵɵelementStart(4, "p");
|
|
22858
|
+
i0__namespace.ɵɵtext(5);
|
|
22859
|
+
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
22860
|
+
i0__namespace.ɵɵelementEnd();
|
|
22861
|
+
i0__namespace.ɵɵelementEnd();
|
|
22862
|
+
}
|
|
22863
|
+
if (rf & 2) {
|
|
22864
|
+
i0__namespace.ɵɵadvance(2);
|
|
22865
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Your query is under review"));
|
|
22866
|
+
i0__namespace.ɵɵadvance(3);
|
|
22867
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(6, 4, "Our team will read your query and will respond. Do not submit the same query more than once."));
|
|
22868
|
+
}
|
|
22869
|
+
}
|
|
22870
|
+
function ReadQueryManagementFieldComponent_ng_template_1_Template(rf, ctx) {
|
|
22871
|
+
if (rf & 1) {
|
|
22872
|
+
var _r13_1 = i0__namespace.ɵɵgetCurrentView();
|
|
22873
|
+
i0__namespace.ɵɵelement(0, "br");
|
|
22874
|
+
i0__namespace.ɵɵelementStart(1, "p");
|
|
22875
|
+
i0__namespace.ɵɵelementStart(2, "a", 6);
|
|
22876
|
+
i0__namespace.ɵɵtext(3);
|
|
22877
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
22878
|
+
i0__namespace.ɵɵelementEnd();
|
|
22879
|
+
i0__namespace.ɵɵelementEnd();
|
|
22880
|
+
i0__namespace.ɵɵelementStart(5, "ccd-query-details", 7);
|
|
22881
|
+
i0__namespace.ɵɵlistener("backClicked", function ReadQueryManagementFieldComponent_ng_template_1_Template_ccd_query_details_backClicked_5_listener() { i0__namespace.ɵɵrestoreView(_r13_1); var ctx_r12 = i0__namespace.ɵɵnextContext(); return ctx_r12.showQueryList = true; });
|
|
22882
|
+
i0__namespace.ɵɵelementEnd();
|
|
22883
|
+
i0__namespace.ɵɵtemplate(6, ReadQueryManagementFieldComponent_ng_template_1_ng_container_6_Template, 4, 6, "ng-container", 0);
|
|
22884
|
+
i0__namespace.ɵɵtemplate(7, ReadQueryManagementFieldComponent_ng_template_1_ng_template_7_Template, 7, 6, "ng-template", null, 8, i0__namespace.ɵɵtemplateRefExtractor);
|
|
22885
|
+
}
|
|
22886
|
+
if (rf & 2) {
|
|
22887
|
+
var _r10 = i0__namespace.ɵɵreference(8);
|
|
22888
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
22889
|
+
i0__namespace.ɵɵadvance(3);
|
|
22890
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 5, "Back to queries"));
|
|
22891
|
+
i0__namespace.ɵɵadvance(2);
|
|
22892
|
+
i0__namespace.ɵɵproperty("query", ctx_r2.query)("caseId", ctx_r2.caseId);
|
|
22893
|
+
i0__namespace.ɵɵadvance(1);
|
|
22894
|
+
i0__namespace.ɵɵproperty("ngIf", (ctx_r2.query == null ? null : ctx_r2.query.children == null ? null : ctx_r2.query.children.length) > 0)("ngIfElse", _r10);
|
|
22728
22895
|
}
|
|
22729
22896
|
}
|
|
22730
22897
|
var ReadQueryManagementFieldComponent = /** @class */ (function (_super) {
|
|
@@ -22736,9 +22903,10 @@
|
|
|
22736
22903
|
return _this;
|
|
22737
22904
|
}
|
|
22738
22905
|
ReadQueryManagementFieldComponent.prototype.ngOnInit = function () {
|
|
22906
|
+
this.caseId = this.route.snapshot.params.cid;
|
|
22739
22907
|
if (this.context === exports.PaletteContext.DEFAULT) {
|
|
22740
22908
|
// EUI-8303 Using mock data until CCD is ready with the API and data contract
|
|
22741
|
-
this.
|
|
22909
|
+
this.caseQueriesCollections = caseMessagesMockData;
|
|
22742
22910
|
// TODO: Actual implementation once the CCD API and data contract is available
|
|
22743
22911
|
// Each parties will have a separate collection of party messages
|
|
22744
22912
|
// Find whether queries tab is available in the case data
|
|
@@ -22756,18 +22924,14 @@
|
|
|
22756
22924
|
return ReadQueryManagementFieldComponent;
|
|
22757
22925
|
}(AbstractFieldReadComponent));
|
|
22758
22926
|
ReadQueryManagementFieldComponent.ɵfac = function ReadQueryManagementFieldComponent_Factory(t) { return new (t || ReadQueryManagementFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute)); };
|
|
22759
|
-
ReadQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "
|
|
22927
|
+
ReadQueryManagementFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf", "ngIfElse"], ["singleQueryDetails", ""], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "caseQueriesCollection", "selectedQuery"], ["href", "javascript:void(0)", 1, "govuk-link"], [3, "query", "caseId", "backClicked"], ["queryIsInReview", ""], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) {
|
|
22760
22928
|
if (rf & 1) {
|
|
22761
|
-
i0__namespace.ɵɵ
|
|
22762
|
-
i0__namespace.ɵɵtemplate(1,
|
|
22763
|
-
i0__namespace.ɵɵtemplate(2, ReadQueryManagementFieldComponent_ccd_query_details_2_Template, 1, 1, "ccd-query-details", 1);
|
|
22764
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
22929
|
+
i0__namespace.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
|
|
22930
|
+
i0__namespace.ɵɵtemplate(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 9, 7, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor);
|
|
22765
22931
|
}
|
|
22766
22932
|
if (rf & 2) {
|
|
22767
|
-
i0__namespace.ɵɵ
|
|
22768
|
-
i0__namespace.ɵɵproperty("
|
|
22769
|
-
i0__namespace.ɵɵadvance(1);
|
|
22770
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.showQueryList);
|
|
22933
|
+
var _r1 = i0__namespace.ɵɵreference(2);
|
|
22934
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.showQueryList)("ngIfElse", _r1);
|
|
22771
22935
|
}
|
|
22772
22936
|
}, encapsulation: 2 });
|
|
22773
22937
|
(function () {
|
|
@@ -30521,7 +30685,6 @@
|
|
|
30521
30685
|
ReadQueryManagementFieldComponent,
|
|
30522
30686
|
QueryDetailsComponent,
|
|
30523
30687
|
QueryListComponent,
|
|
30524
|
-
QueryDetailsTableComponent,
|
|
30525
30688
|
QueryWriteRespondToQueryComponent,
|
|
30526
30689
|
QueryWriteRaiseQueryComponent,
|
|
30527
30690
|
QueryCaseDetailsHeaderComponent,
|
|
@@ -30710,7 +30873,6 @@
|
|
|
30710
30873
|
ReadQueryManagementFieldComponent,
|
|
30711
30874
|
QueryDetailsComponent,
|
|
30712
30875
|
QueryListComponent,
|
|
30713
|
-
QueryDetailsTableComponent,
|
|
30714
30876
|
QueryWriteRespondToQueryComponent,
|
|
30715
30877
|
QueryWriteRaiseQueryComponent,
|
|
30716
30878
|
QueryCaseDetailsHeaderComponent,
|
|
@@ -30860,7 +31022,6 @@
|
|
|
30860
31022
|
ReadQueryManagementFieldComponent,
|
|
30861
31023
|
QueryDetailsComponent,
|
|
30862
31024
|
QueryListComponent,
|
|
30863
|
-
QueryDetailsTableComponent,
|
|
30864
31025
|
QueryWriteRespondToQueryComponent,
|
|
30865
31026
|
QueryWriteRaiseQueryComponent,
|
|
30866
31027
|
QueryCaseDetailsHeaderComponent,
|
|
@@ -31009,12 +31170,11 @@
|
|
|
31009
31170
|
i0__namespace.ɵɵsetComponentScope(CheckYourAnswersComponent, [i5__namespace.NgIf, i5__namespace.NgForOf], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
31010
31171
|
i0__namespace.ɵɵsetComponentScope(
|
|
31011
31172
|
// Components for Query Management
|
|
31012
|
-
ReadQueryManagementFieldComponent, [i5__namespace.
|
|
31013
|
-
QueryDetailsComponent], []);
|
|
31014
|
-
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf,
|
|
31015
|
-
i0__namespace.ɵɵsetComponentScope(
|
|
31016
|
-
|
|
31017
|
-
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
31173
|
+
ReadQueryManagementFieldComponent, [i5__namespace.NgIf, i5__namespace.NgForOf, QueryListComponent,
|
|
31174
|
+
QueryDetailsComponent, i1__namespace$1.RouterLink], [i1__namespace.RpxTranslatePipe]);
|
|
31175
|
+
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryAttachmentsReadComponent, i5__namespace.NgForOf], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
31176
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
31177
|
+
QueryDetailsComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
31018
31178
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgClass, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
|
|
31019
31179
|
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [i5__namespace.NgIf, QueryCaseDetailsHeaderComponent,
|
|
31020
31180
|
QueryAttachmentsReadComponent], [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe]);
|
|
@@ -41406,7 +41566,6 @@
|
|
|
41406
41566
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
41407
41567
|
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
41408
41568
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
41409
|
-
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
41410
41569
|
exports.QueryListComponent = QueryListComponent;
|
|
41411
41570
|
exports.QueryListData = QueryListData;
|
|
41412
41571
|
exports.QueryListItem = QueryListItem;
|
|
@@ -41523,6 +41682,7 @@
|
|
|
41523
41682
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
41524
41683
|
exports.YesNoService = YesNoService;
|
|
41525
41684
|
exports.aCaseField = aCaseField;
|
|
41685
|
+
exports.caseMessagesMockData = caseMessagesMockData;
|
|
41526
41686
|
exports.createACL = createACL;
|
|
41527
41687
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
41528
41688
|
exports.createCaseField = createCaseField;
|
|
@@ -41536,7 +41696,6 @@
|
|
|
41536
41696
|
exports.editorRouting = editorRouting;
|
|
41537
41697
|
exports.initDialog = initDialog;
|
|
41538
41698
|
exports.newCaseField = newCaseField;
|
|
41539
|
-
exports.partyMessagesMockData = partyMessagesMockData;
|
|
41540
41699
|
exports.textFieldType = textFieldType;
|
|
41541
41700
|
exports.viewerRouting = viewerRouting;
|
|
41542
41701
|
|