@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-raise-query-function-v5 → 6.16.0-query-management-follow-up-v2
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 +531 -387
- 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/palette/palette.module.js +9 -8
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +27 -1
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -3
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +189 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +65 -84
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +80 -28
- package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.js +7 -6
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +18 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +476 -337
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +3 -3
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +2 -0
- 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 +2 -2
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +18 -0
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +5 -0
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +4 -2
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/index.d.ts +1 -1
- package/lib/shared/components/palette/query-management/index.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts +3 -2
- package/lib/shared/components/palette/query-management/models/query-list/query-list-response-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts +5 -1
- package/lib/shared/components/palette/query-management/write-query-management-field.component.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +0 -125
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +0 -20
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +0 -1
|
@@ -20252,99 +20252,31 @@
|
|
|
20252
20252
|
]
|
|
20253
20253
|
}
|
|
20254
20254
|
];
|
|
20255
|
-
|
|
20256
|
-
|
|
20257
|
-
|
|
20258
|
-
|
|
20259
|
-
|
|
20260
|
-
|
|
20261
|
-
|
|
20262
|
-
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
finally { if (e_1) throw e_1.error; }
|
|
20281
|
-
}
|
|
20282
|
-
}
|
|
20283
|
-
return lastSubmittedMessage;
|
|
20284
|
-
};
|
|
20285
|
-
return getLastSubmittedMessage(this);
|
|
20286
|
-
},
|
|
20287
|
-
enumerable: false,
|
|
20288
|
-
configurable: true
|
|
20289
|
-
});
|
|
20290
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20291
|
-
get: function () {
|
|
20292
|
-
return this.lastSubmittedMessage.name;
|
|
20293
|
-
},
|
|
20294
|
-
enumerable: false,
|
|
20295
|
-
configurable: true
|
|
20296
|
-
});
|
|
20297
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20298
|
-
get: function () {
|
|
20299
|
-
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20300
|
-
},
|
|
20301
|
-
enumerable: false,
|
|
20302
|
-
configurable: true
|
|
20303
|
-
});
|
|
20304
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20305
|
-
get: function () {
|
|
20306
|
-
var _a;
|
|
20307
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20308
|
-
},
|
|
20309
|
-
enumerable: false,
|
|
20310
|
-
configurable: true
|
|
20311
|
-
});
|
|
20312
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20313
|
-
get: function () {
|
|
20314
|
-
var _a;
|
|
20315
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20316
|
-
},
|
|
20317
|
-
enumerable: false,
|
|
20318
|
-
configurable: true
|
|
20319
|
-
});
|
|
20320
|
-
return QueryListItem;
|
|
20321
|
-
}());
|
|
20322
|
-
|
|
20323
|
-
var QueryListData = /** @class */ (function () {
|
|
20324
|
-
function QueryListData(partyMessagesGroup) {
|
|
20325
|
-
var _this = this;
|
|
20326
|
-
this.partyName = partyMessagesGroup.partyName;
|
|
20327
|
-
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20328
|
-
// get the parent messages (messages without parentId) and add the children to them
|
|
20329
|
-
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20330
|
-
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20331
|
-
}
|
|
20332
|
-
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20333
|
-
var _this = this;
|
|
20334
|
-
var queryListItem = new QueryListItem();
|
|
20335
|
-
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20336
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20337
|
-
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20338
|
-
return queryListItem;
|
|
20339
|
-
};
|
|
20340
|
-
return QueryListData;
|
|
20341
|
-
}());
|
|
20342
|
-
|
|
20343
|
-
exports.QueryListResponseStatus = void 0;
|
|
20344
|
-
(function (QueryListResponseStatus) {
|
|
20345
|
-
QueryListResponseStatus["NEW"] = "New";
|
|
20346
|
-
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20347
|
-
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20255
|
+
var caseFieldMockData = Object.assign(new CaseField(), {
|
|
20256
|
+
id: '',
|
|
20257
|
+
label: '',
|
|
20258
|
+
hint_text: '',
|
|
20259
|
+
field_type: Object.assign(new FieldType(), {
|
|
20260
|
+
id: 'QueryDocuments',
|
|
20261
|
+
type: 'QueryDocuments',
|
|
20262
|
+
min: null,
|
|
20263
|
+
max: null,
|
|
20264
|
+
regular_expression: null,
|
|
20265
|
+
fixed_list_items: [],
|
|
20266
|
+
complex_fields: [],
|
|
20267
|
+
collection_field_type: Object.assign(new FieldType(), {
|
|
20268
|
+
id: 'Document',
|
|
20269
|
+
type: 'Document',
|
|
20270
|
+
min: null,
|
|
20271
|
+
max: null,
|
|
20272
|
+
regular_expression: null,
|
|
20273
|
+
fixed_list_items: [],
|
|
20274
|
+
complex_fields: [],
|
|
20275
|
+
collection_field_type: null
|
|
20276
|
+
})
|
|
20277
|
+
}),
|
|
20278
|
+
display_context_parameter: '#COLLECTION(allowInsert,allowUpdate)'
|
|
20279
|
+
});
|
|
20348
20280
|
|
|
20349
20281
|
var MarkdownComponent = /** @class */ (function () {
|
|
20350
20282
|
function MarkdownComponent() {
|
|
@@ -20466,87 +20398,315 @@
|
|
|
20466
20398
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
20467
20399
|
})();
|
|
20468
20400
|
|
|
20469
|
-
var
|
|
20470
|
-
function
|
|
20401
|
+
var QueryListItem = /** @class */ (function () {
|
|
20402
|
+
function QueryListItem() {
|
|
20403
|
+
this.children = [];
|
|
20471
20404
|
}
|
|
20472
|
-
|
|
20405
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20406
|
+
get: function () {
|
|
20407
|
+
var getLastSubmittedMessage = function (item) {
|
|
20408
|
+
var e_1, _b;
|
|
20409
|
+
var lastSubmittedMessage = item;
|
|
20410
|
+
if (item.children && item.children.length > 0) {
|
|
20411
|
+
try {
|
|
20412
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20413
|
+
var child = _d.value;
|
|
20414
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20415
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20416
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20417
|
+
}
|
|
20418
|
+
}
|
|
20419
|
+
}
|
|
20420
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20421
|
+
finally {
|
|
20422
|
+
try {
|
|
20423
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20424
|
+
}
|
|
20425
|
+
finally { if (e_1) throw e_1.error; }
|
|
20426
|
+
}
|
|
20427
|
+
}
|
|
20428
|
+
return lastSubmittedMessage;
|
|
20429
|
+
};
|
|
20430
|
+
return getLastSubmittedMessage(this);
|
|
20431
|
+
},
|
|
20432
|
+
enumerable: false,
|
|
20433
|
+
configurable: true
|
|
20434
|
+
});
|
|
20435
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20436
|
+
get: function () {
|
|
20437
|
+
return this.lastSubmittedMessage.name;
|
|
20438
|
+
},
|
|
20439
|
+
enumerable: false,
|
|
20440
|
+
configurable: true
|
|
20441
|
+
});
|
|
20442
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20443
|
+
get: function () {
|
|
20444
|
+
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20445
|
+
},
|
|
20446
|
+
enumerable: false,
|
|
20447
|
+
configurable: true
|
|
20448
|
+
});
|
|
20449
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20450
|
+
get: function () {
|
|
20451
|
+
var _a;
|
|
20452
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20453
|
+
},
|
|
20454
|
+
enumerable: false,
|
|
20455
|
+
configurable: true
|
|
20456
|
+
});
|
|
20457
|
+
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20458
|
+
get: function () {
|
|
20459
|
+
var _a;
|
|
20460
|
+
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20461
|
+
},
|
|
20462
|
+
enumerable: false,
|
|
20463
|
+
configurable: true
|
|
20464
|
+
});
|
|
20465
|
+
return QueryListItem;
|
|
20466
|
+
}());
|
|
20467
|
+
|
|
20468
|
+
var QueryListData = /** @class */ (function () {
|
|
20469
|
+
function QueryListData(partyMessagesGroup) {
|
|
20470
|
+
var _this = this;
|
|
20471
|
+
this.partyName = partyMessagesGroup.partyName;
|
|
20472
|
+
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20473
|
+
// get the parent messages (messages without parentId) and add the children to them
|
|
20474
|
+
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20475
|
+
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20476
|
+
}
|
|
20477
|
+
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20478
|
+
var _this = this;
|
|
20479
|
+
var queryListItem = new QueryListItem();
|
|
20480
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20481
|
+
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20482
|
+
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20483
|
+
return queryListItem;
|
|
20473
20484
|
};
|
|
20474
|
-
return
|
|
20485
|
+
return QueryListData;
|
|
20475
20486
|
}());
|
|
20476
|
-
QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
|
|
20477
|
-
QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
20478
|
-
(function () {
|
|
20479
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
|
|
20480
|
-
type: i0.Component,
|
|
20481
|
-
args: [{
|
|
20482
|
-
selector: 'ccd-query-create',
|
|
20483
|
-
templateUrl: './query-create.component.html',
|
|
20484
|
-
}]
|
|
20485
|
-
}], function () { return []; }, null);
|
|
20486
|
-
})();
|
|
20487
20487
|
|
|
20488
|
-
|
|
20488
|
+
exports.QueryItemType = void 0;
|
|
20489
|
+
(function (QueryItemType) {
|
|
20490
|
+
QueryItemType["NEW"] = "New";
|
|
20491
|
+
QueryItemType["RESPOND"] = "Respond";
|
|
20492
|
+
QueryItemType["FOLLOWUP"] = "Followup";
|
|
20493
|
+
})(exports.QueryItemType || (exports.QueryItemType = {}));
|
|
20494
|
+
|
|
20495
|
+
function QueryCheckYourAnswersComponent_dl_7_Template(rf, ctx) {
|
|
20489
20496
|
if (rf & 1) {
|
|
20490
|
-
|
|
20491
|
-
i0__namespace.ɵɵ
|
|
20492
|
-
i0__namespace.ɵɵelementStart(
|
|
20493
|
-
i0__namespace.ɵɵ
|
|
20494
|
-
i0__namespace.ɵɵ
|
|
20495
|
-
i0__namespace.ɵɵ
|
|
20496
|
-
i0__namespace.ɵɵ
|
|
20497
|
-
i0__namespace.ɵɵ
|
|
20497
|
+
i0__namespace.ɵɵelementStart(0, "dl", 5);
|
|
20498
|
+
i0__namespace.ɵɵelementStart(1, "div", 6);
|
|
20499
|
+
i0__namespace.ɵɵelementStart(2, "dt", 7);
|
|
20500
|
+
i0__namespace.ɵɵtext(3);
|
|
20501
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20502
|
+
i0__namespace.ɵɵelementEnd();
|
|
20503
|
+
i0__namespace.ɵɵelementStart(5, "dd", 8);
|
|
20504
|
+
i0__namespace.ɵɵtext(6);
|
|
20498
20505
|
i0__namespace.ɵɵelementEnd();
|
|
20499
20506
|
i0__namespace.ɵɵelementEnd();
|
|
20500
|
-
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20501
|
-
i0__namespace.ɵɵtext(7);
|
|
20502
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20503
20507
|
i0__namespace.ɵɵelementEnd();
|
|
20504
|
-
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20505
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20506
20508
|
}
|
|
20507
20509
|
if (rf & 2) {
|
|
20508
20510
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20509
|
-
i0__namespace.ɵɵadvance(4);
|
|
20510
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20511
20511
|
i0__namespace.ɵɵadvance(3);
|
|
20512
|
-
i0__namespace.ɵɵ
|
|
20513
|
-
i0__namespace.ɵɵadvance(
|
|
20514
|
-
i0__namespace.ɵɵ
|
|
20512
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 2, "Submitted query"), " ");
|
|
20513
|
+
i0__namespace.ɵɵadvance(3);
|
|
20514
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.queryItem.subject, " ");
|
|
20515
20515
|
}
|
|
20516
20516
|
}
|
|
20517
|
-
|
|
20518
|
-
|
|
20517
|
+
function QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template(rf, ctx) {
|
|
20518
|
+
if (rf & 1) {
|
|
20519
|
+
i0__namespace.ɵɵelement(0, "ccd-read-collection-field", 14);
|
|
20520
|
+
}
|
|
20521
|
+
if (rf & 2) {
|
|
20522
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
20523
|
+
i0__namespace.ɵɵproperty("caseField", ctx_r1.caseField);
|
|
20524
|
+
}
|
|
20525
|
+
}
|
|
20526
|
+
var QueryCheckYourAnswersComponent = /** @class */ (function () {
|
|
20527
|
+
function QueryCheckYourAnswersComponent() {
|
|
20519
20528
|
this.backClicked = new i0.EventEmitter();
|
|
20529
|
+
this.queryItemTypeEnum = exports.QueryItemType;
|
|
20520
20530
|
}
|
|
20521
|
-
|
|
20531
|
+
QueryCheckYourAnswersComponent.prototype.ngOnInit = function () {
|
|
20532
|
+
// Set default value as false for testing follow up EUI-8387
|
|
20533
|
+
this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
|
|
20534
|
+
// Mock object
|
|
20535
|
+
caseFieldMockData.value = [
|
|
20536
|
+
{
|
|
20537
|
+
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20538
|
+
value: {
|
|
20539
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
|
|
20540
|
+
document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
|
|
20541
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
|
|
20542
|
+
}
|
|
20543
|
+
},
|
|
20544
|
+
{
|
|
20545
|
+
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20546
|
+
value: {
|
|
20547
|
+
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
|
|
20548
|
+
document_filename: 'dummy.pdf',
|
|
20549
|
+
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
|
|
20550
|
+
}
|
|
20551
|
+
}
|
|
20552
|
+
];
|
|
20553
|
+
this.caseField = caseFieldMockData;
|
|
20554
|
+
};
|
|
20555
|
+
QueryCheckYourAnswersComponent.prototype.goBack = function () {
|
|
20522
20556
|
this.backClicked.emit(true);
|
|
20523
20557
|
};
|
|
20524
|
-
return
|
|
20558
|
+
return QueryCheckYourAnswersComponent;
|
|
20525
20559
|
}());
|
|
20526
|
-
|
|
20527
|
-
|
|
20560
|
+
QueryCheckYourAnswersComponent.ɵfac = function QueryCheckYourAnswersComponent_Factory(t) { return new (t || QueryCheckYourAnswersComponent)(); };
|
|
20561
|
+
QueryCheckYourAnswersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", QueryCreateContext: "QueryCreateContext" }, outputs: { backClicked: "backClicked" }, decls: 49, vars: 31, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], [1, "govuk-heading-l"], [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"], [1, "govuk-link", 3, "click"], [3, "caseField", 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"], [3, "caseField"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) {
|
|
20528
20562
|
if (rf & 1) {
|
|
20529
|
-
i0__namespace.ɵɵ
|
|
20563
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20564
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20565
|
+
i0__namespace.ɵɵelementStart(2, "h1", 2);
|
|
20566
|
+
i0__namespace.ɵɵtext(3);
|
|
20567
|
+
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20568
|
+
i0__namespace.ɵɵelementEnd();
|
|
20569
|
+
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
20570
|
+
i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
|
|
20571
|
+
i0__namespace.ɵɵelementEnd();
|
|
20572
|
+
i0__namespace.ɵɵtemplate(7, QueryCheckYourAnswersComponent_dl_7_Template, 7, 4, "dl", 4);
|
|
20573
|
+
i0__namespace.ɵɵelementStart(8, "dl", 5);
|
|
20574
|
+
i0__namespace.ɵɵelementStart(9, "div", 6);
|
|
20575
|
+
i0__namespace.ɵɵelementStart(10, "dt", 7);
|
|
20576
|
+
i0__namespace.ɵɵtext(11);
|
|
20577
|
+
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
20578
|
+
i0__namespace.ɵɵelementEnd();
|
|
20579
|
+
i0__namespace.ɵɵelementStart(13, "dd", 8);
|
|
20580
|
+
i0__namespace.ɵɵtext(14);
|
|
20581
|
+
i0__namespace.ɵɵelementEnd();
|
|
20582
|
+
i0__namespace.ɵɵelementStart(15, "dd", 9);
|
|
20583
|
+
i0__namespace.ɵɵelementStart(16, "a", 10);
|
|
20584
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_16_listener() { return ctx.goBack(); });
|
|
20585
|
+
i0__namespace.ɵɵtext(17);
|
|
20586
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
20587
|
+
i0__namespace.ɵɵelementEnd();
|
|
20588
|
+
i0__namespace.ɵɵelementEnd();
|
|
20589
|
+
i0__namespace.ɵɵelementEnd();
|
|
20590
|
+
i0__namespace.ɵɵelementEnd();
|
|
20591
|
+
i0__namespace.ɵɵelementStart(19, "dl", 5);
|
|
20592
|
+
i0__namespace.ɵɵelementStart(20, "div", 6);
|
|
20593
|
+
i0__namespace.ɵɵelementStart(21, "dt", 7);
|
|
20594
|
+
i0__namespace.ɵɵtext(22);
|
|
20595
|
+
i0__namespace.ɵɵpipe(23, "rpxTranslate");
|
|
20596
|
+
i0__namespace.ɵɵelementEnd();
|
|
20597
|
+
i0__namespace.ɵɵelementStart(24, "dd", 8);
|
|
20598
|
+
i0__namespace.ɵɵtext(25);
|
|
20599
|
+
i0__namespace.ɵɵelementEnd();
|
|
20600
|
+
i0__namespace.ɵɵelementStart(26, "dd", 9);
|
|
20601
|
+
i0__namespace.ɵɵelementStart(27, "a", 10);
|
|
20602
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_27_listener() { return ctx.goBack(); });
|
|
20603
|
+
i0__namespace.ɵɵtext(28);
|
|
20604
|
+
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
20605
|
+
i0__namespace.ɵɵelementEnd();
|
|
20606
|
+
i0__namespace.ɵɵelementEnd();
|
|
20607
|
+
i0__namespace.ɵɵelementEnd();
|
|
20608
|
+
i0__namespace.ɵɵelementEnd();
|
|
20609
|
+
i0__namespace.ɵɵelementStart(30, "dl", 5);
|
|
20610
|
+
i0__namespace.ɵɵelementStart(31, "div", 6);
|
|
20611
|
+
i0__namespace.ɵɵelementStart(32, "dt", 7);
|
|
20612
|
+
i0__namespace.ɵɵtext(33);
|
|
20613
|
+
i0__namespace.ɵɵpipe(34, "rpxTranslate");
|
|
20614
|
+
i0__namespace.ɵɵelementEnd();
|
|
20615
|
+
i0__namespace.ɵɵelementStart(35, "dd", 8);
|
|
20616
|
+
i0__namespace.ɵɵtemplate(36, QueryCheckYourAnswersComponent_ccd_read_collection_field_36_Template, 1, 1, "ccd-read-collection-field", 11);
|
|
20617
|
+
i0__namespace.ɵɵelementEnd();
|
|
20618
|
+
i0__namespace.ɵɵelementStart(37, "dd", 9);
|
|
20619
|
+
i0__namespace.ɵɵelementStart(38, "a", 10);
|
|
20620
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_38_listener() { return ctx.goBack(); });
|
|
20621
|
+
i0__namespace.ɵɵtext(39);
|
|
20622
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
20623
|
+
i0__namespace.ɵɵelementEnd();
|
|
20624
|
+
i0__namespace.ɵɵelementEnd();
|
|
20625
|
+
i0__namespace.ɵɵelementEnd();
|
|
20626
|
+
i0__namespace.ɵɵelementEnd();
|
|
20627
|
+
i0__namespace.ɵɵelement(41, "br");
|
|
20628
|
+
i0__namespace.ɵɵelementStart(42, "div");
|
|
20629
|
+
i0__namespace.ɵɵelementStart(43, "button", 12);
|
|
20630
|
+
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_43_listener() { return ctx.goBack(); });
|
|
20631
|
+
i0__namespace.ɵɵtext(44);
|
|
20632
|
+
i0__namespace.ɵɵpipe(45, "rpxTranslate");
|
|
20633
|
+
i0__namespace.ɵɵelementEnd();
|
|
20634
|
+
i0__namespace.ɵɵelementStart(46, "button", 13);
|
|
20635
|
+
i0__namespace.ɵɵtext(47);
|
|
20636
|
+
i0__namespace.ɵɵpipe(48, "rpxTranslate");
|
|
20637
|
+
i0__namespace.ɵɵelementEnd();
|
|
20638
|
+
i0__namespace.ɵɵelementEnd();
|
|
20639
|
+
i0__namespace.ɵɵelementEnd();
|
|
20640
|
+
i0__namespace.ɵɵelementEnd();
|
|
20530
20641
|
}
|
|
20531
20642
|
if (rf & 2) {
|
|
20532
|
-
i0__namespace.ɵɵ
|
|
20643
|
+
i0__namespace.ɵɵadvance(3);
|
|
20644
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(4, 13, "Review query details"), " ");
|
|
20645
|
+
i0__namespace.ɵɵadvance(4);
|
|
20646
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND);
|
|
20647
|
+
i0__namespace.ɵɵadvance(4);
|
|
20648
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(12, 15, "Full name"), " ");
|
|
20649
|
+
i0__namespace.ɵɵadvance(3);
|
|
20650
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["fullName"].value, " ");
|
|
20651
|
+
i0__namespace.ɵɵadvance(3);
|
|
20652
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 17, "Change"), " ");
|
|
20653
|
+
i0__namespace.ɵɵadvance(5);
|
|
20654
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(23, 19, "Query body"), " ");
|
|
20655
|
+
i0__namespace.ɵɵadvance(3);
|
|
20656
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
|
|
20657
|
+
i0__namespace.ɵɵadvance(3);
|
|
20658
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 21, "Change"), " ");
|
|
20659
|
+
i0__namespace.ɵɵadvance(5);
|
|
20660
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(34, 23, "Document attached"), " ");
|
|
20661
|
+
i0__namespace.ɵɵadvance(3);
|
|
20662
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
20663
|
+
i0__namespace.ɵɵadvance(3);
|
|
20664
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 25, "Change"), " ");
|
|
20665
|
+
i0__namespace.ɵɵadvance(5);
|
|
20666
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(45, 27, "Previous"), " ");
|
|
20667
|
+
i0__namespace.ɵɵadvance(3);
|
|
20668
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(48, 29, "Submit"), " ");
|
|
20533
20669
|
}
|
|
20534
|
-
}, styles: [".
|
|
20670
|
+
}, styles: [".collection-field-table tr>td{border-bottom:none}"], encapsulation: 2 });
|
|
20535
20671
|
(function () {
|
|
20536
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(
|
|
20672
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCheckYourAnswersComponent, [{
|
|
20537
20673
|
type: i0.Component,
|
|
20538
20674
|
args: [{
|
|
20539
|
-
selector: 'ccd-query-
|
|
20540
|
-
templateUrl: './query-
|
|
20541
|
-
styleUrls: ['./query-
|
|
20675
|
+
selector: 'ccd-query-check-your-answers',
|
|
20676
|
+
templateUrl: './query-check-your-answers.component.html',
|
|
20677
|
+
styleUrls: ['./query-check-your-answers.component.scss'],
|
|
20678
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
20542
20679
|
}]
|
|
20543
|
-
}], null, {
|
|
20680
|
+
}], null, { formGroup: [{
|
|
20681
|
+
type: i0.Input
|
|
20682
|
+
}], queryItem: [{
|
|
20683
|
+
type: i0.Input
|
|
20684
|
+
}], QueryCreateContext: [{
|
|
20544
20685
|
type: i0.Input
|
|
20545
20686
|
}], backClicked: [{
|
|
20546
20687
|
type: i0.Output
|
|
20547
20688
|
}] });
|
|
20548
20689
|
})();
|
|
20549
20690
|
|
|
20691
|
+
var QueryCreateComponent = /** @class */ (function () {
|
|
20692
|
+
function QueryCreateComponent() {
|
|
20693
|
+
}
|
|
20694
|
+
QueryCreateComponent.prototype.ngOnInit = function () {
|
|
20695
|
+
};
|
|
20696
|
+
return QueryCreateComponent;
|
|
20697
|
+
}());
|
|
20698
|
+
QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
|
|
20699
|
+
QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
20700
|
+
(function () {
|
|
20701
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
|
|
20702
|
+
type: i0.Component,
|
|
20703
|
+
args: [{
|
|
20704
|
+
selector: 'ccd-query-create',
|
|
20705
|
+
templateUrl: './query-create.component.html',
|
|
20706
|
+
}]
|
|
20707
|
+
}], function () { return []; }, null);
|
|
20708
|
+
})();
|
|
20709
|
+
|
|
20550
20710
|
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20551
20711
|
if (rf & 1) {
|
|
20552
20712
|
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
@@ -20709,6 +20869,68 @@
|
|
|
20709
20869
|
}] });
|
|
20710
20870
|
})();
|
|
20711
20871
|
|
|
20872
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20873
|
+
if (rf & 1) {
|
|
20874
|
+
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20875
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20876
|
+
i0__namespace.ɵɵelementStart(1, "p");
|
|
20877
|
+
i0__namespace.ɵɵelement(2, "br");
|
|
20878
|
+
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20879
|
+
i0__namespace.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r2_1); var ctx_r1 = i0__namespace.ɵɵnextContext(); return ctx_r1.onBack(); });
|
|
20880
|
+
i0__namespace.ɵɵtext(4);
|
|
20881
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20882
|
+
i0__namespace.ɵɵelementEnd();
|
|
20883
|
+
i0__namespace.ɵɵelementEnd();
|
|
20884
|
+
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20885
|
+
i0__namespace.ɵɵtext(7);
|
|
20886
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20887
|
+
i0__namespace.ɵɵelementEnd();
|
|
20888
|
+
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20889
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20890
|
+
}
|
|
20891
|
+
if (rf & 2) {
|
|
20892
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20893
|
+
i0__namespace.ɵɵadvance(4);
|
|
20894
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20895
|
+
i0__namespace.ɵɵadvance(3);
|
|
20896
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20897
|
+
i0__namespace.ɵɵadvance(2);
|
|
20898
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20899
|
+
}
|
|
20900
|
+
}
|
|
20901
|
+
var QueryDetailsComponent = /** @class */ (function () {
|
|
20902
|
+
function QueryDetailsComponent() {
|
|
20903
|
+
this.backClicked = new i0.EventEmitter();
|
|
20904
|
+
}
|
|
20905
|
+
QueryDetailsComponent.prototype.onBack = function () {
|
|
20906
|
+
this.backClicked.emit(true);
|
|
20907
|
+
};
|
|
20908
|
+
return QueryDetailsComponent;
|
|
20909
|
+
}());
|
|
20910
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20911
|
+
QueryDetailsComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "query_details_caption"], [3, "queryItem"]], template: function QueryDetailsComponent_Template(rf, ctx) {
|
|
20912
|
+
if (rf & 1) {
|
|
20913
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20914
|
+
}
|
|
20915
|
+
if (rf & 2) {
|
|
20916
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20917
|
+
}
|
|
20918
|
+
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20919
|
+
(function () {
|
|
20920
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20921
|
+
type: i0.Component,
|
|
20922
|
+
args: [{
|
|
20923
|
+
selector: 'ccd-query-details',
|
|
20924
|
+
templateUrl: './query-details.component.html',
|
|
20925
|
+
styleUrls: ['./query-details.component.scss']
|
|
20926
|
+
}]
|
|
20927
|
+
}], null, { query: [{
|
|
20928
|
+
type: i0.Input
|
|
20929
|
+
}], backClicked: [{
|
|
20930
|
+
type: i0.Output
|
|
20931
|
+
}] });
|
|
20932
|
+
})();
|
|
20933
|
+
|
|
20712
20934
|
var SortOrder;
|
|
20713
20935
|
(function (SortOrder) {
|
|
20714
20936
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -20900,132 +21122,6 @@
|
|
|
20900
21122
|
}] });
|
|
20901
21123
|
})();
|
|
20902
21124
|
|
|
20903
|
-
var QueryWriteDateInputComponent = /** @class */ (function () {
|
|
20904
|
-
function QueryWriteDateInputComponent() {
|
|
20905
|
-
this.disabled = false;
|
|
20906
|
-
}
|
|
20907
|
-
QueryWriteDateInputComponent.prototype.writeValue = function (date) {
|
|
20908
|
-
if (date instanceof Date && !isNaN(date.getTime())) {
|
|
20909
|
-
this.day = date.getDate();
|
|
20910
|
-
this.month = date.getMonth() + 1; // Months are zero-based
|
|
20911
|
-
this.year = date.getFullYear();
|
|
20912
|
-
}
|
|
20913
|
-
else {
|
|
20914
|
-
this.day = null;
|
|
20915
|
-
this.month = null;
|
|
20916
|
-
this.year = null;
|
|
20917
|
-
}
|
|
20918
|
-
};
|
|
20919
|
-
QueryWriteDateInputComponent.prototype.registerOnChange = function (fn) {
|
|
20920
|
-
this.onChange = fn;
|
|
20921
|
-
};
|
|
20922
|
-
QueryWriteDateInputComponent.prototype.registerOnTouched = function (fn) {
|
|
20923
|
-
this.onTouched = fn;
|
|
20924
|
-
};
|
|
20925
|
-
QueryWriteDateInputComponent.prototype.setDisabledState = function (isDisabled) {
|
|
20926
|
-
this.disabled = isDisabled;
|
|
20927
|
-
};
|
|
20928
|
-
QueryWriteDateInputComponent.prototype.updateDate = function () {
|
|
20929
|
-
var updatedValue = this.onChange && this.isValidDateInput() ?
|
|
20930
|
-
new Date(this.year, this.month - 1, this.day)
|
|
20931
|
-
: null;
|
|
20932
|
-
this.onChange(updatedValue);
|
|
20933
|
-
this.onTouched();
|
|
20934
|
-
};
|
|
20935
|
-
QueryWriteDateInputComponent.prototype.isValidDateInput = function () {
|
|
20936
|
-
var isValidDay = this.day >= 1 && this.day <= 31;
|
|
20937
|
-
var isValidMonth = this.month >= 1 && this.month <= 12;
|
|
20938
|
-
var isValidYear = this.year >= 0;
|
|
20939
|
-
return isValidDay && isValidMonth && isValidYear;
|
|
20940
|
-
};
|
|
20941
|
-
return QueryWriteDateInputComponent;
|
|
20942
|
-
}());
|
|
20943
|
-
QueryWriteDateInputComponent.ɵfac = function QueryWriteDateInputComponent_Factory(t) { return new (t || QueryWriteDateInputComponent)(); };
|
|
20944
|
-
QueryWriteDateInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
20945
|
-
{
|
|
20946
|
-
provide: i3.NG_VALUE_ACCESSOR,
|
|
20947
|
-
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
20948
|
-
multi: true
|
|
20949
|
-
}
|
|
20950
|
-
])], decls: 19, vars: 24, consts: [[1, "govuk-date-input", 3, "id"], [1, "govuk-date-input__item"], [1, "govuk-form-group"], [1, "govuk-label", "govuk-date-input__label", 3, "for"], ["type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-2", 3, "id", "name", "ngModel", "disabled", "ngModelChange", "input"], ["id", "formControlName + '-year'", "type", "text", "inputmode", "numeric", 1, "govuk-input", "govuk-date-input__input", "govuk-input--width-4", 3, "name", "ngModel", "disabled", "ngModelChange", "input"]], template: function QueryWriteDateInputComponent_Template(rf, ctx) {
|
|
20951
|
-
if (rf & 1) {
|
|
20952
|
-
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20953
|
-
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20954
|
-
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
20955
|
-
i0__namespace.ɵɵelementStart(3, "label", 3);
|
|
20956
|
-
i0__namespace.ɵɵtext(4);
|
|
20957
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20958
|
-
i0__namespace.ɵɵelementEnd();
|
|
20959
|
-
i0__namespace.ɵɵelementStart(6, "input", 4);
|
|
20960
|
-
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_6_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_6_listener() { return ctx.updateDate(); });
|
|
20961
|
-
i0__namespace.ɵɵelementEnd();
|
|
20962
|
-
i0__namespace.ɵɵelementEnd();
|
|
20963
|
-
i0__namespace.ɵɵelementEnd();
|
|
20964
|
-
i0__namespace.ɵɵelementStart(7, "div", 1);
|
|
20965
|
-
i0__namespace.ɵɵelementStart(8, "div", 2);
|
|
20966
|
-
i0__namespace.ɵɵelementStart(9, "label", 3);
|
|
20967
|
-
i0__namespace.ɵɵtext(10);
|
|
20968
|
-
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
20969
|
-
i0__namespace.ɵɵelementEnd();
|
|
20970
|
-
i0__namespace.ɵɵelementStart(12, "input", 4);
|
|
20971
|
-
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_12_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_12_listener() { return ctx.updateDate(); });
|
|
20972
|
-
i0__namespace.ɵɵelementEnd();
|
|
20973
|
-
i0__namespace.ɵɵelementEnd();
|
|
20974
|
-
i0__namespace.ɵɵelementEnd();
|
|
20975
|
-
i0__namespace.ɵɵelementStart(13, "div", 1);
|
|
20976
|
-
i0__namespace.ɵɵelementStart(14, "div", 2);
|
|
20977
|
-
i0__namespace.ɵɵelementStart(15, "label", 3);
|
|
20978
|
-
i0__namespace.ɵɵtext(16);
|
|
20979
|
-
i0__namespace.ɵɵpipe(17, "rpxTranslate");
|
|
20980
|
-
i0__namespace.ɵɵelementEnd();
|
|
20981
|
-
i0__namespace.ɵɵelementStart(18, "input", 5);
|
|
20982
|
-
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_18_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_18_listener() { return ctx.updateDate(); });
|
|
20983
|
-
i0__namespace.ɵɵelementEnd();
|
|
20984
|
-
i0__namespace.ɵɵelementEnd();
|
|
20985
|
-
i0__namespace.ɵɵelementEnd();
|
|
20986
|
-
i0__namespace.ɵɵelementEnd();
|
|
20987
|
-
}
|
|
20988
|
-
if (rf & 2) {
|
|
20989
|
-
i0__namespace.ɵɵproperty("id", ctx.formControlName);
|
|
20990
|
-
i0__namespace.ɵɵadvance(3);
|
|
20991
|
-
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-day");
|
|
20992
|
-
i0__namespace.ɵɵadvance(1);
|
|
20993
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 18, "Day"), " ");
|
|
20994
|
-
i0__namespace.ɵɵadvance(2);
|
|
20995
|
-
i0__namespace.ɵɵproperty("id", ctx.formControlName + "-day")("name", ctx.formControlName + "-day")("ngModel", ctx.day)("disabled", ctx.disabled);
|
|
20996
|
-
i0__namespace.ɵɵadvance(3);
|
|
20997
|
-
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-month");
|
|
20998
|
-
i0__namespace.ɵɵadvance(1);
|
|
20999
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 20, "Month"), " ");
|
|
21000
|
-
i0__namespace.ɵɵadvance(2);
|
|
21001
|
-
i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
|
|
21002
|
-
i0__namespace.ɵɵadvance(3);
|
|
21003
|
-
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
|
|
21004
|
-
i0__namespace.ɵɵadvance(1);
|
|
21005
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(17, 22, "Year"), " ");
|
|
21006
|
-
i0__namespace.ɵɵadvance(2);
|
|
21007
|
-
i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
|
|
21008
|
-
}
|
|
21009
|
-
}, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], pipes: [i1__namespace.RpxTranslatePipe], encapsulation: 2 });
|
|
21010
|
-
(function () {
|
|
21011
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
|
|
21012
|
-
type: i0.Component,
|
|
21013
|
-
args: [{
|
|
21014
|
-
selector: 'ccd-query-write-date-input',
|
|
21015
|
-
templateUrl: './query-write-date-input.component.html',
|
|
21016
|
-
providers: [
|
|
21017
|
-
{
|
|
21018
|
-
provide: i3.NG_VALUE_ACCESSOR,
|
|
21019
|
-
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
21020
|
-
multi: true
|
|
21021
|
-
}
|
|
21022
|
-
]
|
|
21023
|
-
}]
|
|
21024
|
-
}], null, { formControlName: [{
|
|
21025
|
-
type: i0.Input
|
|
21026
|
-
}] });
|
|
21027
|
-
})();
|
|
21028
|
-
|
|
21029
21125
|
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21030
21126
|
function QueryWriteAddDocumentsComponent() {
|
|
21031
21127
|
this.documentFormGroup = new i3.FormGroup({});
|
|
@@ -21094,7 +21190,7 @@
|
|
|
21094
21190
|
}] });
|
|
21095
21191
|
})();
|
|
21096
21192
|
|
|
21097
|
-
function
|
|
21193
|
+
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21098
21194
|
if (rf & 1) {
|
|
21099
21195
|
i0__namespace.ɵɵelementStart(0, "p", 27);
|
|
21100
21196
|
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
@@ -21112,7 +21208,7 @@
|
|
|
21112
21208
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
|
|
21113
21209
|
}
|
|
21114
21210
|
}
|
|
21115
|
-
function
|
|
21211
|
+
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21116
21212
|
if (rf & 1) {
|
|
21117
21213
|
i0__namespace.ɵɵelementStart(0, "p", 29);
|
|
21118
21214
|
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
@@ -21130,7 +21226,7 @@
|
|
|
21130
21226
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a subject"), " ");
|
|
21131
21227
|
}
|
|
21132
21228
|
}
|
|
21133
|
-
function
|
|
21229
|
+
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21134
21230
|
if (rf & 1) {
|
|
21135
21231
|
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21136
21232
|
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
@@ -21145,28 +21241,7 @@
|
|
|
21145
21241
|
i0__namespace.ɵɵadvance(2);
|
|
21146
21242
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21147
21243
|
i0__namespace.ɵɵadvance(2);
|
|
21148
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a
|
|
21149
|
-
}
|
|
21150
|
-
}
|
|
21151
|
-
function QueryWriteRaiseQueryComponent_ng_container_61_Template(rf, ctx) {
|
|
21152
|
-
if (rf & 1) {
|
|
21153
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
21154
|
-
i0__namespace.ɵɵelementStart(1, "div", 31);
|
|
21155
|
-
i0__namespace.ɵɵelementStart(2, "fieldset", 32);
|
|
21156
|
-
i0__namespace.ɵɵelementStart(3, "legend");
|
|
21157
|
-
i0__namespace.ɵɵelementStart(4, "label", 33);
|
|
21158
|
-
i0__namespace.ɵɵtext(5);
|
|
21159
|
-
i0__namespace.ɵɵpipe(6, "rpxTranslate");
|
|
21160
|
-
i0__namespace.ɵɵelementEnd();
|
|
21161
|
-
i0__namespace.ɵɵelementEnd();
|
|
21162
|
-
i0__namespace.ɵɵelement(7, "ccd-query-write-date-input", 34);
|
|
21163
|
-
i0__namespace.ɵɵelementEnd();
|
|
21164
|
-
i0__namespace.ɵɵelementEnd();
|
|
21165
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
21166
|
-
}
|
|
21167
|
-
if (rf & 2) {
|
|
21168
|
-
i0__namespace.ɵɵadvance(5);
|
|
21169
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(6, 1, "Hearing date"), " ");
|
|
21244
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
21170
21245
|
}
|
|
21171
21246
|
}
|
|
21172
21247
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
@@ -21175,7 +21250,7 @@
|
|
|
21175
21250
|
return QueryWriteRaiseQueryComponent;
|
|
21176
21251
|
}());
|
|
21177
21252
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21178
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars:
|
|
21253
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21179
21254
|
if (rf & 1) {
|
|
21180
21255
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21181
21256
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -21193,77 +21268,78 @@
|
|
|
21193
21268
|
i0__namespace.ɵɵelementEnd();
|
|
21194
21269
|
i0__namespace.ɵɵelement(10, "hr");
|
|
21195
21270
|
i0__namespace.ɵɵelementStart(11, "div", 3);
|
|
21196
|
-
i0__namespace.ɵɵelementStart(12, "div");
|
|
21197
|
-
i0__namespace.ɵɵelementStart(13, "div"
|
|
21271
|
+
i0__namespace.ɵɵelementStart(12, "div", 4);
|
|
21272
|
+
i0__namespace.ɵɵelementStart(13, "div");
|
|
21198
21273
|
i0__namespace.ɵɵelementStart(14, "div", 5);
|
|
21199
|
-
i0__namespace.ɵɵelementStart(15, "
|
|
21200
|
-
i0__namespace.ɵɵ
|
|
21201
|
-
i0__namespace.ɵɵ
|
|
21274
|
+
i0__namespace.ɵɵelementStart(15, "div", 6);
|
|
21275
|
+
i0__namespace.ɵɵelementStart(16, "label", 7);
|
|
21276
|
+
i0__namespace.ɵɵtext(17);
|
|
21277
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
21202
21278
|
i0__namespace.ɵɵelementEnd();
|
|
21203
21279
|
i0__namespace.ɵɵelementEnd();
|
|
21204
|
-
i0__namespace.ɵɵelementStart(
|
|
21205
|
-
i0__namespace.ɵɵtext(
|
|
21206
|
-
i0__namespace.ɵɵpipe(
|
|
21280
|
+
i0__namespace.ɵɵelementStart(19, "div", 8);
|
|
21281
|
+
i0__namespace.ɵɵtext(20);
|
|
21282
|
+
i0__namespace.ɵɵpipe(21, "rpxTranslate");
|
|
21207
21283
|
i0__namespace.ɵɵelementEnd();
|
|
21208
|
-
i0__namespace.ɵɵtemplate(
|
|
21209
|
-
i0__namespace.ɵɵelement(
|
|
21284
|
+
i0__namespace.ɵɵtemplate(22, QueryWriteRaiseQueryComponent_p_22_Template, 6, 6, "p", 9);
|
|
21285
|
+
i0__namespace.ɵɵelement(23, "input", 10);
|
|
21210
21286
|
i0__namespace.ɵɵelementEnd();
|
|
21211
|
-
i0__namespace.ɵɵelementStart(23, "div", 4);
|
|
21212
21287
|
i0__namespace.ɵɵelementStart(24, "div", 5);
|
|
21213
|
-
i0__namespace.ɵɵelementStart(25, "
|
|
21214
|
-
i0__namespace.ɵɵ
|
|
21215
|
-
i0__namespace.ɵɵ
|
|
21288
|
+
i0__namespace.ɵɵelementStart(25, "div", 6);
|
|
21289
|
+
i0__namespace.ɵɵelementStart(26, "label", 11);
|
|
21290
|
+
i0__namespace.ɵɵtext(27);
|
|
21291
|
+
i0__namespace.ɵɵpipe(28, "rpxTranslate");
|
|
21216
21292
|
i0__namespace.ɵɵelementEnd();
|
|
21217
21293
|
i0__namespace.ɵɵelementEnd();
|
|
21218
|
-
i0__namespace.ɵɵelementStart(
|
|
21219
|
-
i0__namespace.ɵɵtext(
|
|
21220
|
-
i0__namespace.ɵɵpipe(
|
|
21294
|
+
i0__namespace.ɵɵelementStart(29, "div", 12);
|
|
21295
|
+
i0__namespace.ɵɵtext(30);
|
|
21296
|
+
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
21221
21297
|
i0__namespace.ɵɵelementEnd();
|
|
21222
|
-
i0__namespace.ɵɵtemplate(
|
|
21223
|
-
i0__namespace.ɵɵelement(
|
|
21298
|
+
i0__namespace.ɵɵtemplate(32, QueryWriteRaiseQueryComponent_p_32_Template, 6, 6, "p", 13);
|
|
21299
|
+
i0__namespace.ɵɵelement(33, "input", 14);
|
|
21224
21300
|
i0__namespace.ɵɵelementEnd();
|
|
21225
|
-
i0__namespace.ɵɵelementStart(33, "div", 4);
|
|
21226
21301
|
i0__namespace.ɵɵelementStart(34, "div", 5);
|
|
21227
|
-
i0__namespace.ɵɵelementStart(35, "
|
|
21228
|
-
i0__namespace.ɵɵ
|
|
21229
|
-
i0__namespace.ɵɵ
|
|
21302
|
+
i0__namespace.ɵɵelementStart(35, "div", 6);
|
|
21303
|
+
i0__namespace.ɵɵelementStart(36, "label", 15);
|
|
21304
|
+
i0__namespace.ɵɵtext(37);
|
|
21305
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
21230
21306
|
i0__namespace.ɵɵelementEnd();
|
|
21231
21307
|
i0__namespace.ɵɵelementEnd();
|
|
21232
|
-
i0__namespace.ɵɵelementStart(
|
|
21233
|
-
i0__namespace.ɵɵtext(
|
|
21234
|
-
i0__namespace.ɵɵpipe(
|
|
21308
|
+
i0__namespace.ɵɵelementStart(39, "div", 16);
|
|
21309
|
+
i0__namespace.ɵɵtext(40);
|
|
21310
|
+
i0__namespace.ɵɵpipe(41, "rpxTranslate");
|
|
21235
21311
|
i0__namespace.ɵɵelementEnd();
|
|
21236
|
-
i0__namespace.ɵɵtemplate(
|
|
21237
|
-
i0__namespace.ɵɵelementStart(
|
|
21238
|
-
i0__namespace.ɵɵtext(
|
|
21312
|
+
i0__namespace.ɵɵtemplate(42, QueryWriteRaiseQueryComponent_p_42_Template, 6, 6, "p", 17);
|
|
21313
|
+
i0__namespace.ɵɵelementStart(43, "textarea", 18);
|
|
21314
|
+
i0__namespace.ɵɵtext(44, " ");
|
|
21239
21315
|
i0__namespace.ɵɵelementEnd();
|
|
21240
21316
|
i0__namespace.ɵɵelementEnd();
|
|
21241
|
-
i0__namespace.ɵɵelementStart(
|
|
21242
|
-
i0__namespace.ɵɵelementStart(
|
|
21243
|
-
i0__namespace.ɵɵelementStart(
|
|
21244
|
-
i0__namespace.ɵɵelementStart(
|
|
21245
|
-
i0__namespace.ɵɵtext(
|
|
21246
|
-
i0__namespace.ɵɵpipe(
|
|
21317
|
+
i0__namespace.ɵɵelementStart(45, "div", 5);
|
|
21318
|
+
i0__namespace.ɵɵelementStart(46, "fieldset", 19);
|
|
21319
|
+
i0__namespace.ɵɵelementStart(47, "legend");
|
|
21320
|
+
i0__namespace.ɵɵelementStart(48, "label", 20);
|
|
21321
|
+
i0__namespace.ɵɵtext(49);
|
|
21322
|
+
i0__namespace.ɵɵpipe(50, "rpxTranslate");
|
|
21247
21323
|
i0__namespace.ɵɵelementEnd();
|
|
21248
21324
|
i0__namespace.ɵɵelementEnd();
|
|
21249
|
-
i0__namespace.ɵɵelementStart(50, "div", 20);
|
|
21250
21325
|
i0__namespace.ɵɵelementStart(51, "div", 21);
|
|
21251
|
-
i0__namespace.ɵɵ
|
|
21252
|
-
i0__namespace.ɵɵ
|
|
21253
|
-
i0__namespace.ɵɵ
|
|
21254
|
-
i0__namespace.ɵɵ
|
|
21326
|
+
i0__namespace.ɵɵelementStart(52, "div", 22);
|
|
21327
|
+
i0__namespace.ɵɵelement(53, "input", 23);
|
|
21328
|
+
i0__namespace.ɵɵelementStart(54, "label", 24);
|
|
21329
|
+
i0__namespace.ɵɵtext(55);
|
|
21330
|
+
i0__namespace.ɵɵpipe(56, "rpxTranslate");
|
|
21331
|
+
i0__namespace.ɵɵelementEnd();
|
|
21255
21332
|
i0__namespace.ɵɵelementEnd();
|
|
21333
|
+
i0__namespace.ɵɵelementStart(57, "div", 22);
|
|
21334
|
+
i0__namespace.ɵɵelement(58, "input", 25);
|
|
21335
|
+
i0__namespace.ɵɵelementStart(59, "label", 26);
|
|
21336
|
+
i0__namespace.ɵɵtext(60);
|
|
21337
|
+
i0__namespace.ɵɵpipe(61, "rpxTranslate");
|
|
21256
21338
|
i0__namespace.ɵɵelementEnd();
|
|
21257
|
-
i0__namespace.ɵɵelementStart(56, "div", 21);
|
|
21258
|
-
i0__namespace.ɵɵelement(57, "input", 24);
|
|
21259
|
-
i0__namespace.ɵɵelementStart(58, "label", 25);
|
|
21260
|
-
i0__namespace.ɵɵtext(59);
|
|
21261
|
-
i0__namespace.ɵɵpipe(60, "rpxTranslate");
|
|
21262
21339
|
i0__namespace.ɵɵelementEnd();
|
|
21263
21340
|
i0__namespace.ɵɵelementEnd();
|
|
21264
21341
|
i0__namespace.ɵɵelementEnd();
|
|
21265
21342
|
i0__namespace.ɵɵelementEnd();
|
|
21266
|
-
i0__namespace.ɵɵtemplate(61, QueryWriteRaiseQueryComponent_ng_container_61_Template, 8, 3, "ng-container", 26);
|
|
21267
21343
|
i0__namespace.ɵɵelementEnd();
|
|
21268
21344
|
i0__namespace.ɵɵelementEnd();
|
|
21269
21345
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21280,17 +21356,17 @@
|
|
|
21280
21356
|
var tmp_18_0 = null;
|
|
21281
21357
|
var tmp_19_0 = null;
|
|
21282
21358
|
i0__namespace.ɵɵadvance(3);
|
|
21283
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4,
|
|
21359
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
|
|
21284
21360
|
i0__namespace.ɵɵadvance(3);
|
|
21285
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21286
|
-
i0__namespace.ɵɵadvance(
|
|
21361
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
|
|
21362
|
+
i0__namespace.ɵɵadvance(6);
|
|
21287
21363
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21288
21364
|
i0__namespace.ɵɵadvance(2);
|
|
21289
21365
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_3_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_3_0.errors == null ? null : tmp_3_0.errors.length);
|
|
21290
21366
|
i0__namespace.ɵɵadvance(3);
|
|
21291
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21367
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
21292
21368
|
i0__namespace.ɵɵadvance(3);
|
|
21293
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21369
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
21294
21370
|
i0__namespace.ɵɵadvance(2);
|
|
21295
21371
|
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21296
21372
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21299,9 +21375,9 @@
|
|
|
21299
21375
|
i0__namespace.ɵɵadvance(1);
|
|
21300
21376
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_9_0 = ctx.formGroup.get("subject")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21301
21377
|
i0__namespace.ɵɵadvance(3);
|
|
21302
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21378
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
|
|
21303
21379
|
i0__namespace.ɵɵadvance(3);
|
|
21304
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21380
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
|
|
21305
21381
|
i0__namespace.ɵɵadvance(2);
|
|
21306
21382
|
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21307
21383
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21310,26 +21386,24 @@
|
|
|
21310
21386
|
i0__namespace.ɵɵadvance(1);
|
|
21311
21387
|
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21312
21388
|
i0__namespace.ɵɵadvance(3);
|
|
21313
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21389
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
|
|
21314
21390
|
i0__namespace.ɵɵadvance(3);
|
|
21315
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21391
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21316
21392
|
i0__namespace.ɵɵadvance(2);
|
|
21317
21393
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21318
21394
|
i0__namespace.ɵɵadvance(1);
|
|
21319
21395
|
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_19_0 = ctx.formGroup.get("body")) == null ? null : tmp_19_0.errors == null ? null : tmp_19_0.errors.length);
|
|
21320
21396
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21321
21397
|
i0__namespace.ɵɵadvance(6);
|
|
21322
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21398
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
|
|
21323
21399
|
i0__namespace.ɵɵadvance(4);
|
|
21324
21400
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21325
21401
|
i0__namespace.ɵɵadvance(2);
|
|
21326
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21402
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
|
|
21327
21403
|
i0__namespace.ɵɵadvance(3);
|
|
21328
21404
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21329
21405
|
i0__namespace.ɵɵadvance(2);
|
|
21330
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(
|
|
21331
|
-
i0__namespace.ɵɵadvance(2);
|
|
21332
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
|
|
21406
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
|
|
21333
21407
|
}
|
|
21334
21408
|
}, encapsulation: 2 });
|
|
21335
21409
|
(function () {
|
|
@@ -21344,10 +21418,28 @@
|
|
|
21344
21418
|
}] });
|
|
21345
21419
|
})();
|
|
21346
21420
|
|
|
21347
|
-
function
|
|
21421
|
+
function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
|
|
21348
21422
|
if (rf & 1) {
|
|
21349
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21350
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21423
|
+
i0__namespace.ɵɵelementStart(0, "p", 20);
|
|
21424
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21425
|
+
i0__namespace.ɵɵtext(2);
|
|
21426
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21427
|
+
i0__namespace.ɵɵelementEnd();
|
|
21428
|
+
i0__namespace.ɵɵtext(4);
|
|
21429
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21430
|
+
i0__namespace.ɵɵelementEnd();
|
|
21431
|
+
}
|
|
21432
|
+
if (rf & 2) {
|
|
21433
|
+
i0__namespace.ɵɵadvance(2);
|
|
21434
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21435
|
+
i0__namespace.ɵɵadvance(2);
|
|
21436
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter your full name"), " ");
|
|
21437
|
+
}
|
|
21438
|
+
}
|
|
21439
|
+
function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
|
|
21440
|
+
if (rf & 1) {
|
|
21441
|
+
i0__namespace.ɵɵelementStart(0, "p", 22);
|
|
21442
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21351
21443
|
i0__namespace.ɵɵtext(2);
|
|
21352
21444
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21353
21445
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21364,11 +21456,14 @@
|
|
|
21364
21456
|
}
|
|
21365
21457
|
var QueryWriteRespondToQueryComponent = /** @class */ (function () {
|
|
21366
21458
|
function QueryWriteRespondToQueryComponent() {
|
|
21459
|
+
// Set default value as false for testing follow up EUI-8454
|
|
21460
|
+
this.QueryCreateContext = exports.QueryItemType.FOLLOWUP;
|
|
21461
|
+
this.queryItemTypeEnum = exports.QueryItemType;
|
|
21367
21462
|
}
|
|
21368
21463
|
return QueryWriteRespondToQueryComponent;
|
|
21369
21464
|
}());
|
|
21370
21465
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21371
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls:
|
|
21466
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", QueryCreateContext: "QueryCreateContext" }, decls: 40, vars: 35, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-respond-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-respond-fullName-hint", 1, "govuk-hint"], ["id", "query-respond-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-respond-fullName", "name", "query-respond-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], [1, "govuk-form-group", "body-textarea"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-respond-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-body-error", 1, "govuk-error-message"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21372
21467
|
if (rf & 1) {
|
|
21373
21468
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21374
21469
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21395,21 +21490,37 @@
|
|
|
21395
21490
|
i0__namespace.ɵɵelementEnd();
|
|
21396
21491
|
i0__namespace.ɵɵelementEnd();
|
|
21397
21492
|
i0__namespace.ɵɵelementStart(16, "div", 7);
|
|
21398
|
-
i0__namespace.ɵɵelementStart(17, "
|
|
21399
|
-
i0__namespace.ɵɵ
|
|
21400
|
-
i0__namespace.ɵɵ
|
|
21493
|
+
i0__namespace.ɵɵelementStart(17, "div", 5);
|
|
21494
|
+
i0__namespace.ɵɵelementStart(18, "h1", 8);
|
|
21495
|
+
i0__namespace.ɵɵtext(19);
|
|
21496
|
+
i0__namespace.ɵɵpipe(20, "rpxTranslate");
|
|
21401
21497
|
i0__namespace.ɵɵelementEnd();
|
|
21402
|
-
i0__namespace.ɵɵelementStart(
|
|
21403
|
-
i0__namespace.ɵɵelementStart(
|
|
21404
|
-
i0__namespace.ɵɵelementStart(
|
|
21405
|
-
i0__namespace.ɵɵelementStart(
|
|
21406
|
-
i0__namespace.ɵɵtext(
|
|
21407
|
-
i0__namespace.ɵɵpipe(
|
|
21498
|
+
i0__namespace.ɵɵelementStart(21, "div", 9);
|
|
21499
|
+
i0__namespace.ɵɵelementStart(22, "div", 10);
|
|
21500
|
+
i0__namespace.ɵɵelementStart(23, "div", 11);
|
|
21501
|
+
i0__namespace.ɵɵelementStart(24, "label", 12);
|
|
21502
|
+
i0__namespace.ɵɵtext(25);
|
|
21503
|
+
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21504
|
+
i0__namespace.ɵɵelementEnd();
|
|
21505
|
+
i0__namespace.ɵɵelementEnd();
|
|
21506
|
+
i0__namespace.ɵɵelementStart(27, "div", 13);
|
|
21507
|
+
i0__namespace.ɵɵtext(28);
|
|
21508
|
+
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21408
21509
|
i0__namespace.ɵɵelementEnd();
|
|
21510
|
+
i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
|
|
21511
|
+
i0__namespace.ɵɵelement(31, "input", 15);
|
|
21512
|
+
i0__namespace.ɵɵelementEnd();
|
|
21513
|
+
i0__namespace.ɵɵelementStart(32, "div", 16);
|
|
21514
|
+
i0__namespace.ɵɵelementStart(33, "div", 11);
|
|
21515
|
+
i0__namespace.ɵɵelementStart(34, "label", 17);
|
|
21516
|
+
i0__namespace.ɵɵtext(35);
|
|
21517
|
+
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
21518
|
+
i0__namespace.ɵɵelementEnd();
|
|
21519
|
+
i0__namespace.ɵɵelementEnd();
|
|
21520
|
+
i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
|
|
21521
|
+
i0__namespace.ɵɵelementStart(38, "textarea", 19);
|
|
21522
|
+
i0__namespace.ɵɵtext(39, " ");
|
|
21409
21523
|
i0__namespace.ɵɵelementEnd();
|
|
21410
|
-
i0__namespace.ɵɵtemplate(26, QueryWriteRespondToQueryComponent_p_26_Template, 6, 6, "p", 13);
|
|
21411
|
-
i0__namespace.ɵɵelementStart(27, "textarea", 14);
|
|
21412
|
-
i0__namespace.ɵɵtext(28, " ");
|
|
21413
21524
|
i0__namespace.ɵɵelementEnd();
|
|
21414
21525
|
i0__namespace.ɵɵelementEnd();
|
|
21415
21526
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21417,28 +21528,42 @@
|
|
|
21417
21528
|
}
|
|
21418
21529
|
if (rf & 2) {
|
|
21419
21530
|
var tmp_6_0 = null;
|
|
21420
|
-
var tmp_8_0 = null;
|
|
21421
21531
|
var tmp_9_0 = null;
|
|
21532
|
+
var tmp_10_0 = null;
|
|
21533
|
+
var tmp_12_0 = null;
|
|
21534
|
+
var tmp_14_0 = null;
|
|
21535
|
+
var tmp_15_0 = null;
|
|
21422
21536
|
i0__namespace.ɵɵadvance(2);
|
|
21423
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3,
|
|
21537
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 21, "Back to tasks"));
|
|
21424
21538
|
i0__namespace.ɵɵadvance(5);
|
|
21425
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
21539
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 23, "Respond to query"));
|
|
21426
21540
|
i0__namespace.ɵɵadvance(3);
|
|
21427
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
21541
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 25, "Query details"));
|
|
21428
21542
|
i0__namespace.ɵɵadvance(5);
|
|
21429
21543
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21430
|
-
i0__namespace.ɵɵadvance(
|
|
21431
|
-
i0__namespace.ɵɵ
|
|
21544
|
+
i0__namespace.ɵɵadvance(4);
|
|
21545
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Respond to a query" : i0__namespace.ɵɵpipeBind1(20, 27, "Ask a follow-up question"), " ");
|
|
21432
21546
|
i0__namespace.ɵɵadvance(2);
|
|
21433
21547
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21434
21548
|
i0__namespace.ɵɵadvance(1);
|
|
21435
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("
|
|
21549
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21436
21550
|
i0__namespace.ɵɵadvance(3);
|
|
21437
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21551
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 29, "Full name"), " ");
|
|
21552
|
+
i0__namespace.ɵɵadvance(3);
|
|
21553
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 31, "Your full name must be included here"), " ");
|
|
21554
|
+
i0__namespace.ɵɵadvance(2);
|
|
21555
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_9_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21556
|
+
i0__namespace.ɵɵadvance(1);
|
|
21557
|
+
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
|
|
21558
|
+
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21559
|
+
i0__namespace.ɵɵadvance(1);
|
|
21560
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21561
|
+
i0__namespace.ɵɵadvance(3);
|
|
21562
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ctx.QueryCreateContext === ctx.queryItemTypeEnum.RESPOND ? "Response message" : i0__namespace.ɵɵpipeBind1(36, 33, "Query Body"), " ");
|
|
21438
21563
|
i0__namespace.ɵɵadvance(2);
|
|
21439
|
-
i0__namespace.ɵɵproperty("ngIf", (
|
|
21564
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_14_0 = ctx.formGroup.get("body")) == null ? null : tmp_14_0.errors == null ? null : tmp_14_0.errors.length);
|
|
21440
21565
|
i0__namespace.ɵɵadvance(1);
|
|
21441
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", (
|
|
21566
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21442
21567
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21443
21568
|
}
|
|
21444
21569
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -21454,6 +21579,8 @@
|
|
|
21454
21579
|
type: i0.Input
|
|
21455
21580
|
}], formGroup: [{
|
|
21456
21581
|
type: i0.Input
|
|
21582
|
+
}], QueryCreateContext: [{
|
|
21583
|
+
type: i0.Input
|
|
21457
21584
|
}] });
|
|
21458
21585
|
})();
|
|
21459
21586
|
|
|
@@ -21589,9 +21716,24 @@
|
|
|
21589
21716
|
__extends(WriteQueryManagementFieldComponent, _super);
|
|
21590
21717
|
function WriteQueryManagementFieldComponent() {
|
|
21591
21718
|
var _this = _super.call(this) || this;
|
|
21592
|
-
_this.
|
|
21719
|
+
_this.responseFormGroup = new i3.FormGroup({
|
|
21720
|
+
response: new i3.FormControl('', [i3.Validators.required]),
|
|
21721
|
+
documents: new i3.FormControl([])
|
|
21722
|
+
});
|
|
21723
|
+
_this.errorMessages = [];
|
|
21724
|
+
_this.submitted = false;
|
|
21593
21725
|
return _this;
|
|
21594
21726
|
}
|
|
21727
|
+
WriteQueryManagementFieldComponent.prototype.submitForm = function () {
|
|
21728
|
+
this.submitted = true;
|
|
21729
|
+
this.errorMessages = [];
|
|
21730
|
+
window.scrollTo(0, 0);
|
|
21731
|
+
if (!this.responseFormGroup.valid) {
|
|
21732
|
+
if (this.responseFormGroup.controls.response.hasError('required')) {
|
|
21733
|
+
this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
|
|
21734
|
+
}
|
|
21735
|
+
}
|
|
21736
|
+
};
|
|
21595
21737
|
return WriteQueryManagementFieldComponent;
|
|
21596
21738
|
}(AbstractFieldReadComponent));
|
|
21597
21739
|
WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
|
|
@@ -29367,8 +29509,8 @@
|
|
|
29367
29509
|
QueryWriteRespondToQueryComponent,
|
|
29368
29510
|
QueryWriteRaiseQueryComponent,
|
|
29369
29511
|
QueryCaseDetailsHeaderComponent,
|
|
29512
|
+
QueryCheckYourAnswersComponent,
|
|
29370
29513
|
QueryWriteAddDocumentsComponent,
|
|
29371
|
-
QueryWriteDateInputComponent
|
|
29372
29514
|
];
|
|
29373
29515
|
var PaletteModule = /** @class */ (function () {
|
|
29374
29516
|
function PaletteModule() {
|
|
@@ -29554,8 +29696,8 @@
|
|
|
29554
29696
|
QueryWriteRespondToQueryComponent,
|
|
29555
29697
|
QueryWriteRaiseQueryComponent,
|
|
29556
29698
|
QueryCaseDetailsHeaderComponent,
|
|
29557
|
-
|
|
29558
|
-
|
|
29699
|
+
QueryCheckYourAnswersComponent,
|
|
29700
|
+
QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
|
|
29559
29701
|
i1$1.RouterModule,
|
|
29560
29702
|
i3.FormsModule,
|
|
29561
29703
|
i3.ReactiveFormsModule,
|
|
@@ -29702,8 +29844,8 @@
|
|
|
29702
29844
|
QueryWriteRespondToQueryComponent,
|
|
29703
29845
|
QueryWriteRaiseQueryComponent,
|
|
29704
29846
|
QueryCaseDetailsHeaderComponent,
|
|
29705
|
-
|
|
29706
|
-
|
|
29847
|
+
QueryCheckYourAnswersComponent,
|
|
29848
|
+
QueryWriteAddDocumentsComponent] });
|
|
29707
29849
|
})();
|
|
29708
29850
|
(function () {
|
|
29709
29851
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -29849,7 +29991,8 @@
|
|
|
29849
29991
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29850
29992
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
29851
29993
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29852
|
-
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName
|
|
29994
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29995
|
+
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29853
29996
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
29854
29997
|
|
|
29855
29998
|
var Confirmation = /** @class */ (function () {
|
|
@@ -40467,6 +40610,7 @@
|
|
|
40467
40610
|
exports.ProfileNotifier = ProfileNotifier;
|
|
40468
40611
|
exports.ProfileService = ProfileService;
|
|
40469
40612
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
40613
|
+
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
40470
40614
|
exports.QueryCreateComponent = QueryCreateComponent;
|
|
40471
40615
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
40472
40616
|
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
@@ -40474,7 +40618,6 @@
|
|
|
40474
40618
|
exports.QueryListData = QueryListData;
|
|
40475
40619
|
exports.QueryListItem = QueryListItem;
|
|
40476
40620
|
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40477
|
-
exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
|
|
40478
40621
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40479
40622
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40480
40623
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|
|
@@ -40587,6 +40730,7 @@
|
|
|
40587
40730
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
40588
40731
|
exports.YesNoService = YesNoService;
|
|
40589
40732
|
exports.aCaseField = aCaseField;
|
|
40733
|
+
exports.caseFieldMockData = caseFieldMockData;
|
|
40590
40734
|
exports.createACL = createACL;
|
|
40591
40735
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
40592
40736
|
exports.createCaseField = createCaseField;
|