@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-CYA-v2 → 6.16.0-query-management-raise-query-function
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 +315 -375
- 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 +8 -9
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +1 -27
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +3 -3
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +125 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +30 -20
- package/esm2015/lib/shared/components/palette/query-management/index.js +2 -2
- package/esm2015/lib/shared/components/palette/query-management/write-query-management-field.component.js +3 -18
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +262 -320
- 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/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +0 -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 +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-write/query-write-date-input/query-write-date-input.component.d.ts +20 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -0
- 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/write-query-management-field.component.d.ts +1 -5
- 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-check-your-answers/query-check-your-answers.component.js +0 -153
- package/esm2015/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.js +0 -2
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +0 -16
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +0 -1
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts +0 -5
- package/lib/shared/components/palette/query-management/components/query-management-error-messages/query-management-error-message.model.d.ts.map +0 -1
|
@@ -20252,31 +20252,99 @@
|
|
|
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
|
-
|
|
20255
|
+
|
|
20256
|
+
var QueryListItem = /** @class */ (function () {
|
|
20257
|
+
function QueryListItem() {
|
|
20258
|
+
this.children = [];
|
|
20259
|
+
}
|
|
20260
|
+
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20261
|
+
get: function () {
|
|
20262
|
+
var getLastSubmittedMessage = function (item) {
|
|
20263
|
+
var e_1, _b;
|
|
20264
|
+
var lastSubmittedMessage = item;
|
|
20265
|
+
if (item.children && item.children.length > 0) {
|
|
20266
|
+
try {
|
|
20267
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20268
|
+
var child = _d.value;
|
|
20269
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20270
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20271
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20272
|
+
}
|
|
20273
|
+
}
|
|
20274
|
+
}
|
|
20275
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20276
|
+
finally {
|
|
20277
|
+
try {
|
|
20278
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
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 = {}));
|
|
20280
20348
|
|
|
20281
20349
|
var MarkdownComponent = /** @class */ (function () {
|
|
20282
20350
|
function MarkdownComponent() {
|
|
@@ -20398,182 +20466,87 @@
|
|
|
20398
20466
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }]; }, null);
|
|
20399
20467
|
})();
|
|
20400
20468
|
|
|
20401
|
-
function
|
|
20469
|
+
var QueryCreateComponent = /** @class */ (function () {
|
|
20470
|
+
function QueryCreateComponent() {
|
|
20471
|
+
}
|
|
20472
|
+
QueryCreateComponent.prototype.ngOnInit = function () {
|
|
20473
|
+
};
|
|
20474
|
+
return QueryCreateComponent;
|
|
20475
|
+
}());
|
|
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
|
+
|
|
20488
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20402
20489
|
if (rf & 1) {
|
|
20403
|
-
i0__namespace.ɵɵ
|
|
20490
|
+
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20491
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
20492
|
+
i0__namespace.ɵɵelementStart(1, "p");
|
|
20493
|
+
i0__namespace.ɵɵelement(2, "br");
|
|
20494
|
+
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20495
|
+
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(); });
|
|
20496
|
+
i0__namespace.ɵɵtext(4);
|
|
20497
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20498
|
+
i0__namespace.ɵɵelementEnd();
|
|
20499
|
+
i0__namespace.ɵɵelementEnd();
|
|
20500
|
+
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20501
|
+
i0__namespace.ɵɵtext(7);
|
|
20502
|
+
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20503
|
+
i0__namespace.ɵɵelementEnd();
|
|
20504
|
+
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20505
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
20404
20506
|
}
|
|
20405
20507
|
if (rf & 2) {
|
|
20406
20508
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20407
|
-
i0__namespace.ɵɵ
|
|
20509
|
+
i0__namespace.ɵɵadvance(4);
|
|
20510
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20511
|
+
i0__namespace.ɵɵadvance(3);
|
|
20512
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20513
|
+
i0__namespace.ɵɵadvance(2);
|
|
20514
|
+
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20408
20515
|
}
|
|
20409
20516
|
}
|
|
20410
|
-
var
|
|
20411
|
-
function
|
|
20517
|
+
var QueryDetailsComponent = /** @class */ (function () {
|
|
20518
|
+
function QueryDetailsComponent() {
|
|
20412
20519
|
this.backClicked = new i0.EventEmitter();
|
|
20413
20520
|
}
|
|
20414
|
-
|
|
20415
|
-
// Mock object
|
|
20416
|
-
caseFieldMockData.value = [
|
|
20417
|
-
{
|
|
20418
|
-
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20419
|
-
value: {
|
|
20420
|
-
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f',
|
|
20421
|
-
document_filename: 'Screenshot 2023-06-01 at 16.07.06.png',
|
|
20422
|
-
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/e5366837-b3f6-492d-acbf-548730625e8f/binary'
|
|
20423
|
-
}
|
|
20424
|
-
},
|
|
20425
|
-
{
|
|
20426
|
-
id: '725bf4a7-9e4c-4132-b5c1-f8028cb83459',
|
|
20427
|
-
value: {
|
|
20428
|
-
document_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506',
|
|
20429
|
-
document_filename: 'dummy.pdf',
|
|
20430
|
-
document_binary_url: 'https://dm-store-aat.service.core-compute-aat.internal/documents/f50ccd7a-7f28-40f3-b5f9-7ad2f6425506/binary'
|
|
20431
|
-
}
|
|
20432
|
-
}
|
|
20433
|
-
];
|
|
20434
|
-
this.caseField = caseFieldMockData;
|
|
20435
|
-
};
|
|
20436
|
-
QueryCheckYourAnswersComponent.prototype.goBack = function () {
|
|
20521
|
+
QueryDetailsComponent.prototype.onBack = function () {
|
|
20437
20522
|
this.backClicked.emit(true);
|
|
20438
20523
|
};
|
|
20439
|
-
return
|
|
20524
|
+
return QueryDetailsComponent;
|
|
20440
20525
|
}());
|
|
20441
|
-
|
|
20442
|
-
|
|
20526
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20527
|
+
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) {
|
|
20443
20528
|
if (rf & 1) {
|
|
20444
|
-
i0__namespace.ɵɵ
|
|
20445
|
-
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20446
|
-
i0__namespace.ɵɵelementStart(2, "h1", 2);
|
|
20447
|
-
i0__namespace.ɵɵtext(3);
|
|
20448
|
-
i0__namespace.ɵɵpipe(4, "rpxTranslate");
|
|
20449
|
-
i0__namespace.ɵɵelementEnd();
|
|
20450
|
-
i0__namespace.ɵɵelementStart(5, "div", 3);
|
|
20451
|
-
i0__namespace.ɵɵelement(6, "ccd-query-case-details-header");
|
|
20452
|
-
i0__namespace.ɵɵelementEnd();
|
|
20453
|
-
i0__namespace.ɵɵelementStart(7, "dl", 4);
|
|
20454
|
-
i0__namespace.ɵɵelementStart(8, "div", 5);
|
|
20455
|
-
i0__namespace.ɵɵelementStart(9, "dt", 6);
|
|
20456
|
-
i0__namespace.ɵɵtext(10);
|
|
20457
|
-
i0__namespace.ɵɵpipe(11, "rpxTranslate");
|
|
20458
|
-
i0__namespace.ɵɵelementEnd();
|
|
20459
|
-
i0__namespace.ɵɵelementStart(12, "dd", 7);
|
|
20460
|
-
i0__namespace.ɵɵtext(13);
|
|
20461
|
-
i0__namespace.ɵɵelementEnd();
|
|
20462
|
-
i0__namespace.ɵɵelementEnd();
|
|
20463
|
-
i0__namespace.ɵɵelementEnd();
|
|
20464
|
-
i0__namespace.ɵɵelementStart(14, "dl", 4);
|
|
20465
|
-
i0__namespace.ɵɵelementStart(15, "div", 5);
|
|
20466
|
-
i0__namespace.ɵɵelementStart(16, "dt", 6);
|
|
20467
|
-
i0__namespace.ɵɵtext(17);
|
|
20468
|
-
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
20469
|
-
i0__namespace.ɵɵelementEnd();
|
|
20470
|
-
i0__namespace.ɵɵelementStart(19, "dd", 7);
|
|
20471
|
-
i0__namespace.ɵɵtext(20);
|
|
20472
|
-
i0__namespace.ɵɵelementEnd();
|
|
20473
|
-
i0__namespace.ɵɵelementStart(21, "dd", 8);
|
|
20474
|
-
i0__namespace.ɵɵelementStart(22, "a", 9);
|
|
20475
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_22_listener() { return ctx.goBack(); });
|
|
20476
|
-
i0__namespace.ɵɵtext(23);
|
|
20477
|
-
i0__namespace.ɵɵpipe(24, "rpxTranslate");
|
|
20478
|
-
i0__namespace.ɵɵelementEnd();
|
|
20479
|
-
i0__namespace.ɵɵelementEnd();
|
|
20480
|
-
i0__namespace.ɵɵelementEnd();
|
|
20481
|
-
i0__namespace.ɵɵelementEnd();
|
|
20482
|
-
i0__namespace.ɵɵelementStart(25, "dl", 4);
|
|
20483
|
-
i0__namespace.ɵɵelementStart(26, "div", 5);
|
|
20484
|
-
i0__namespace.ɵɵelementStart(27, "dt", 6);
|
|
20485
|
-
i0__namespace.ɵɵtext(28);
|
|
20486
|
-
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
20487
|
-
i0__namespace.ɵɵelementEnd();
|
|
20488
|
-
i0__namespace.ɵɵelementStart(30, "dd", 7);
|
|
20489
|
-
i0__namespace.ɵɵtemplate(31, QueryCheckYourAnswersComponent_ccd_read_collection_field_31_Template, 1, 1, "ccd-read-collection-field", 10);
|
|
20490
|
-
i0__namespace.ɵɵelementEnd();
|
|
20491
|
-
i0__namespace.ɵɵelementStart(32, "dd", 8);
|
|
20492
|
-
i0__namespace.ɵɵelementStart(33, "a", 9);
|
|
20493
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_a_click_33_listener() { return ctx.goBack(); });
|
|
20494
|
-
i0__namespace.ɵɵtext(34);
|
|
20495
|
-
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
20496
|
-
i0__namespace.ɵɵelementEnd();
|
|
20497
|
-
i0__namespace.ɵɵelementEnd();
|
|
20498
|
-
i0__namespace.ɵɵelementEnd();
|
|
20499
|
-
i0__namespace.ɵɵelementEnd();
|
|
20500
|
-
i0__namespace.ɵɵelement(36, "br");
|
|
20501
|
-
i0__namespace.ɵɵelementStart(37, "div");
|
|
20502
|
-
i0__namespace.ɵɵelementStart(38, "button", 11);
|
|
20503
|
-
i0__namespace.ɵɵlistener("click", function QueryCheckYourAnswersComponent_Template_button_click_38_listener() { return ctx.goBack(); });
|
|
20504
|
-
i0__namespace.ɵɵtext(39);
|
|
20505
|
-
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
20506
|
-
i0__namespace.ɵɵelementEnd();
|
|
20507
|
-
i0__namespace.ɵɵelementStart(41, "button", 12);
|
|
20508
|
-
i0__namespace.ɵɵtext(42);
|
|
20509
|
-
i0__namespace.ɵɵpipe(43, "rpxTranslate");
|
|
20510
|
-
i0__namespace.ɵɵelementEnd();
|
|
20511
|
-
i0__namespace.ɵɵelementEnd();
|
|
20512
|
-
i0__namespace.ɵɵelementEnd();
|
|
20513
|
-
i0__namespace.ɵɵelementEnd();
|
|
20529
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20514
20530
|
}
|
|
20515
20531
|
if (rf & 2) {
|
|
20516
|
-
i0__namespace.ɵɵ
|
|
20517
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 11, "Review query response details"));
|
|
20518
|
-
i0__namespace.ɵɵadvance(7);
|
|
20519
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(11, 13, "Submitted query"), " ");
|
|
20520
|
-
i0__namespace.ɵɵadvance(3);
|
|
20521
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.queryItem.subject, " ");
|
|
20522
|
-
i0__namespace.ɵɵadvance(4);
|
|
20523
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 15, "Response message"), " ");
|
|
20524
|
-
i0__namespace.ɵɵadvance(3);
|
|
20525
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ctx.formGroup.controls["body"].value, " ");
|
|
20526
|
-
i0__namespace.ɵɵadvance(3);
|
|
20527
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(24, 17, "Change"), " ");
|
|
20528
|
-
i0__namespace.ɵɵadvance(5);
|
|
20529
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 19, "Document attached"), " ");
|
|
20530
|
-
i0__namespace.ɵɵadvance(3);
|
|
20531
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.caseField);
|
|
20532
|
-
i0__namespace.ɵɵadvance(3);
|
|
20533
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(35, 21, "Change"), " ");
|
|
20534
|
-
i0__namespace.ɵɵadvance(5);
|
|
20535
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(40, 23, "Previous"), " ");
|
|
20536
|
-
i0__namespace.ɵɵadvance(3);
|
|
20537
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(43, 25, "Submit"), " ");
|
|
20532
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20538
20533
|
}
|
|
20539
|
-
}, styles: [".
|
|
20534
|
+
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20540
20535
|
(function () {
|
|
20541
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(
|
|
20536
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20542
20537
|
type: i0.Component,
|
|
20543
20538
|
args: [{
|
|
20544
|
-
selector: 'ccd-query-
|
|
20545
|
-
templateUrl: './query-
|
|
20546
|
-
styleUrls: ['./query-
|
|
20547
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
20539
|
+
selector: 'ccd-query-details',
|
|
20540
|
+
templateUrl: './query-details.component.html',
|
|
20541
|
+
styleUrls: ['./query-details.component.scss']
|
|
20548
20542
|
}]
|
|
20549
|
-
}], null, {
|
|
20550
|
-
type: i0.Input
|
|
20551
|
-
}], queryItem: [{
|
|
20543
|
+
}], null, { query: [{
|
|
20552
20544
|
type: i0.Input
|
|
20553
20545
|
}], backClicked: [{
|
|
20554
20546
|
type: i0.Output
|
|
20555
20547
|
}] });
|
|
20556
20548
|
})();
|
|
20557
20549
|
|
|
20558
|
-
var QueryCreateComponent = /** @class */ (function () {
|
|
20559
|
-
function QueryCreateComponent() {
|
|
20560
|
-
}
|
|
20561
|
-
QueryCreateComponent.prototype.ngOnInit = function () {
|
|
20562
|
-
};
|
|
20563
|
-
return QueryCreateComponent;
|
|
20564
|
-
}());
|
|
20565
|
-
QueryCreateComponent.ɵfac = function QueryCreateComponent_Factory(t) { return new (t || QueryCreateComponent)(); };
|
|
20566
|
-
QueryCreateComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryCreateComponent, selectors: [["ccd-query-create"]], decls: 0, vars: 0, template: function QueryCreateComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
20567
|
-
(function () {
|
|
20568
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryCreateComponent, [{
|
|
20569
|
-
type: i0.Component,
|
|
20570
|
-
args: [{
|
|
20571
|
-
selector: 'ccd-query-create',
|
|
20572
|
-
templateUrl: './query-create.component.html',
|
|
20573
|
-
}]
|
|
20574
|
-
}], function () { return []; }, null);
|
|
20575
|
-
})();
|
|
20576
|
-
|
|
20577
20550
|
function QueryDetailsTableComponent_ng_container_0_tr_35_Template(rf, ctx) {
|
|
20578
20551
|
if (rf & 1) {
|
|
20579
20552
|
i0__namespace.ɵɵelementStart(0, "tr", 3);
|
|
@@ -20736,68 +20709,6 @@
|
|
|
20736
20709
|
}] });
|
|
20737
20710
|
})();
|
|
20738
20711
|
|
|
20739
|
-
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) {
|
|
20740
|
-
if (rf & 1) {
|
|
20741
|
-
var _r2_1 = i0__namespace.ɵɵgetCurrentView();
|
|
20742
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
20743
|
-
i0__namespace.ɵɵelementStart(1, "p");
|
|
20744
|
-
i0__namespace.ɵɵelement(2, "br");
|
|
20745
|
-
i0__namespace.ɵɵelementStart(3, "a", 1);
|
|
20746
|
-
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(); });
|
|
20747
|
-
i0__namespace.ɵɵtext(4);
|
|
20748
|
-
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
20749
|
-
i0__namespace.ɵɵelementEnd();
|
|
20750
|
-
i0__namespace.ɵɵelementEnd();
|
|
20751
|
-
i0__namespace.ɵɵelementStart(6, "div", 2);
|
|
20752
|
-
i0__namespace.ɵɵtext(7);
|
|
20753
|
-
i0__namespace.ɵɵpipe(8, "rpxTranslate");
|
|
20754
|
-
i0__namespace.ɵɵelementEnd();
|
|
20755
|
-
i0__namespace.ɵɵelement(9, "ccd-query-details-table", 3);
|
|
20756
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
20757
|
-
}
|
|
20758
|
-
if (rf & 2) {
|
|
20759
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
20760
|
-
i0__namespace.ɵɵadvance(4);
|
|
20761
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(5, 3, "Back to queries"));
|
|
20762
|
-
i0__namespace.ɵɵadvance(3);
|
|
20763
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 5, "Query details"));
|
|
20764
|
-
i0__namespace.ɵɵadvance(2);
|
|
20765
|
-
i0__namespace.ɵɵproperty("queryItem", ctx_r0.query);
|
|
20766
|
-
}
|
|
20767
|
-
}
|
|
20768
|
-
var QueryDetailsComponent = /** @class */ (function () {
|
|
20769
|
-
function QueryDetailsComponent() {
|
|
20770
|
-
this.backClicked = new i0.EventEmitter();
|
|
20771
|
-
}
|
|
20772
|
-
QueryDetailsComponent.prototype.onBack = function () {
|
|
20773
|
-
this.backClicked.emit(true);
|
|
20774
|
-
};
|
|
20775
|
-
return QueryDetailsComponent;
|
|
20776
|
-
}());
|
|
20777
|
-
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(); };
|
|
20778
|
-
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) {
|
|
20779
|
-
if (rf & 1) {
|
|
20780
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 10, 7, "ng-container", 0);
|
|
20781
|
-
}
|
|
20782
|
-
if (rf & 2) {
|
|
20783
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.query);
|
|
20784
|
-
}
|
|
20785
|
-
}, styles: [".query_details_caption[_ngcontent-%COMP%]{background:#f3f2f1;padding:10px;font-size:x-large;font-weight:700}"] });
|
|
20786
|
-
(function () {
|
|
20787
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
20788
|
-
type: i0.Component,
|
|
20789
|
-
args: [{
|
|
20790
|
-
selector: 'ccd-query-details',
|
|
20791
|
-
templateUrl: './query-details.component.html',
|
|
20792
|
-
styleUrls: ['./query-details.component.scss']
|
|
20793
|
-
}]
|
|
20794
|
-
}], null, { query: [{
|
|
20795
|
-
type: i0.Input
|
|
20796
|
-
}], backClicked: [{
|
|
20797
|
-
type: i0.Output
|
|
20798
|
-
}] });
|
|
20799
|
-
})();
|
|
20800
|
-
|
|
20801
20712
|
var SortOrder;
|
|
20802
20713
|
(function (SortOrder) {
|
|
20803
20714
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
@@ -20805,99 +20716,6 @@
|
|
|
20805
20716
|
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
20806
20717
|
})(SortOrder || (SortOrder = {}));
|
|
20807
20718
|
|
|
20808
|
-
var QueryListItem = /** @class */ (function () {
|
|
20809
|
-
function QueryListItem() {
|
|
20810
|
-
this.children = [];
|
|
20811
|
-
}
|
|
20812
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
20813
|
-
get: function () {
|
|
20814
|
-
var getLastSubmittedMessage = function (item) {
|
|
20815
|
-
var e_1, _b;
|
|
20816
|
-
var lastSubmittedMessage = item;
|
|
20817
|
-
if (item.children && item.children.length > 0) {
|
|
20818
|
-
try {
|
|
20819
|
-
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
20820
|
-
var child = _d.value;
|
|
20821
|
-
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
20822
|
-
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
20823
|
-
lastSubmittedMessage = childLastSubmittedMessage;
|
|
20824
|
-
}
|
|
20825
|
-
}
|
|
20826
|
-
}
|
|
20827
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
20828
|
-
finally {
|
|
20829
|
-
try {
|
|
20830
|
-
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
20831
|
-
}
|
|
20832
|
-
finally { if (e_1) throw e_1.error; }
|
|
20833
|
-
}
|
|
20834
|
-
}
|
|
20835
|
-
return lastSubmittedMessage;
|
|
20836
|
-
};
|
|
20837
|
-
return getLastSubmittedMessage(this);
|
|
20838
|
-
},
|
|
20839
|
-
enumerable: false,
|
|
20840
|
-
configurable: true
|
|
20841
|
-
});
|
|
20842
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedBy", {
|
|
20843
|
-
get: function () {
|
|
20844
|
-
return this.lastSubmittedMessage.name;
|
|
20845
|
-
},
|
|
20846
|
-
enumerable: false,
|
|
20847
|
-
configurable: true
|
|
20848
|
-
});
|
|
20849
|
-
Object.defineProperty(QueryListItem.prototype, "lastSubmittedDate", {
|
|
20850
|
-
get: function () {
|
|
20851
|
-
return new Date(this.lastSubmittedMessage.createdOn);
|
|
20852
|
-
},
|
|
20853
|
-
enumerable: false,
|
|
20854
|
-
configurable: true
|
|
20855
|
-
});
|
|
20856
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseBy", {
|
|
20857
|
-
get: function () {
|
|
20858
|
-
var _a;
|
|
20859
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.lastSubmittedMessage.name : '';
|
|
20860
|
-
},
|
|
20861
|
-
enumerable: false,
|
|
20862
|
-
configurable: true
|
|
20863
|
-
});
|
|
20864
|
-
Object.defineProperty(QueryListItem.prototype, "lastResponseDate", {
|
|
20865
|
-
get: function () {
|
|
20866
|
-
var _a;
|
|
20867
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? new Date(this.lastSubmittedMessage.createdOn) : null;
|
|
20868
|
-
},
|
|
20869
|
-
enumerable: false,
|
|
20870
|
-
configurable: true
|
|
20871
|
-
});
|
|
20872
|
-
return QueryListItem;
|
|
20873
|
-
}());
|
|
20874
|
-
|
|
20875
|
-
var QueryListData = /** @class */ (function () {
|
|
20876
|
-
function QueryListData(partyMessagesGroup) {
|
|
20877
|
-
var _this = this;
|
|
20878
|
-
this.partyName = partyMessagesGroup.partyName;
|
|
20879
|
-
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
20880
|
-
// get the parent messages (messages without parentId) and add the children to them
|
|
20881
|
-
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
20882
|
-
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
20883
|
-
}
|
|
20884
|
-
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
20885
|
-
var _this = this;
|
|
20886
|
-
var queryListItem = new QueryListItem();
|
|
20887
|
-
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
20888
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
20889
|
-
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
20890
|
-
return queryListItem;
|
|
20891
|
-
};
|
|
20892
|
-
return QueryListData;
|
|
20893
|
-
}());
|
|
20894
|
-
|
|
20895
|
-
exports.QueryListResponseStatus = void 0;
|
|
20896
|
-
(function (QueryListResponseStatus) {
|
|
20897
|
-
QueryListResponseStatus["NEW"] = "New";
|
|
20898
|
-
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
20899
|
-
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
20900
|
-
|
|
20901
20719
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
20902
20720
|
if (rf & 1) {
|
|
20903
20721
|
var _r5_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -21082,6 +20900,133 @@
|
|
|
21082
20900
|
}] });
|
|
21083
20901
|
})();
|
|
21084
20902
|
|
|
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
|
+
{
|
|
20951
|
+
provide: i3.NG_VALIDATORS,
|
|
20952
|
+
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
20953
|
+
multi: true
|
|
20954
|
+
}
|
|
20955
|
+
])], decls: 16, vars: 15, 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) {
|
|
20956
|
+
if (rf & 1) {
|
|
20957
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20958
|
+
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
20959
|
+
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
20960
|
+
i0__namespace.ɵɵelementStart(3, "label", 3);
|
|
20961
|
+
i0__namespace.ɵɵtext(4, " Day ");
|
|
20962
|
+
i0__namespace.ɵɵelementEnd();
|
|
20963
|
+
i0__namespace.ɵɵelementStart(5, "input", 4);
|
|
20964
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_5_listener($event) { return ctx.day = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_5_listener() { return ctx.updateDate(); });
|
|
20965
|
+
i0__namespace.ɵɵelementEnd();
|
|
20966
|
+
i0__namespace.ɵɵelementEnd();
|
|
20967
|
+
i0__namespace.ɵɵelementEnd();
|
|
20968
|
+
i0__namespace.ɵɵelementStart(6, "div", 1);
|
|
20969
|
+
i0__namespace.ɵɵelementStart(7, "div", 2);
|
|
20970
|
+
i0__namespace.ɵɵelementStart(8, "label", 3);
|
|
20971
|
+
i0__namespace.ɵɵtext(9, " Month ");
|
|
20972
|
+
i0__namespace.ɵɵelementEnd();
|
|
20973
|
+
i0__namespace.ɵɵelementStart(10, "input", 4);
|
|
20974
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_10_listener($event) { return ctx.month = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_10_listener() { return ctx.updateDate(); });
|
|
20975
|
+
i0__namespace.ɵɵelementEnd();
|
|
20976
|
+
i0__namespace.ɵɵelementEnd();
|
|
20977
|
+
i0__namespace.ɵɵelementEnd();
|
|
20978
|
+
i0__namespace.ɵɵelementStart(11, "div", 1);
|
|
20979
|
+
i0__namespace.ɵɵelementStart(12, "div", 2);
|
|
20980
|
+
i0__namespace.ɵɵelementStart(13, "label", 3);
|
|
20981
|
+
i0__namespace.ɵɵtext(14, " Year ");
|
|
20982
|
+
i0__namespace.ɵɵelementEnd();
|
|
20983
|
+
i0__namespace.ɵɵelementStart(15, "input", 5);
|
|
20984
|
+
i0__namespace.ɵɵlistener("ngModelChange", function QueryWriteDateInputComponent_Template_input_ngModelChange_15_listener($event) { return ctx.year = $event; })("input", function QueryWriteDateInputComponent_Template_input_input_15_listener() { return ctx.updateDate(); });
|
|
20985
|
+
i0__namespace.ɵɵelementEnd();
|
|
20986
|
+
i0__namespace.ɵɵelementEnd();
|
|
20987
|
+
i0__namespace.ɵɵelementEnd();
|
|
20988
|
+
i0__namespace.ɵɵelementEnd();
|
|
20989
|
+
}
|
|
20990
|
+
if (rf & 2) {
|
|
20991
|
+
i0__namespace.ɵɵproperty("id", ctx.formControlName);
|
|
20992
|
+
i0__namespace.ɵɵadvance(3);
|
|
20993
|
+
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-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(2);
|
|
20999
|
+
i0__namespace.ɵɵproperty("id", ctx.formControlName + "-month")("name", ctx.formControlName + "-month")("ngModel", ctx.month)("disabled", ctx.disabled);
|
|
21000
|
+
i0__namespace.ɵɵadvance(3);
|
|
21001
|
+
i0__namespace.ɵɵproperty("for", ctx.formControlName + "-year");
|
|
21002
|
+
i0__namespace.ɵɵadvance(2);
|
|
21003
|
+
i0__namespace.ɵɵproperty("name", ctx.formControlName + "-year")("ngModel", ctx.year)("disabled", ctx.disabled);
|
|
21004
|
+
}
|
|
21005
|
+
}, directives: [i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel], encapsulation: 2 });
|
|
21006
|
+
(function () {
|
|
21007
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryWriteDateInputComponent, [{
|
|
21008
|
+
type: i0.Component,
|
|
21009
|
+
args: [{
|
|
21010
|
+
selector: 'ccd-query-write-date-input',
|
|
21011
|
+
templateUrl: './query-write-date-input.component.html',
|
|
21012
|
+
providers: [
|
|
21013
|
+
{
|
|
21014
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
21015
|
+
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
21016
|
+
multi: true
|
|
21017
|
+
},
|
|
21018
|
+
{
|
|
21019
|
+
provide: i3.NG_VALIDATORS,
|
|
21020
|
+
useExisting: i0.forwardRef(function () { return QueryWriteDateInputComponent; }),
|
|
21021
|
+
multi: true
|
|
21022
|
+
}
|
|
21023
|
+
]
|
|
21024
|
+
}]
|
|
21025
|
+
}], null, { formControlName: [{
|
|
21026
|
+
type: i0.Input
|
|
21027
|
+
}] });
|
|
21028
|
+
})();
|
|
21029
|
+
|
|
21085
21030
|
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21086
21031
|
function QueryWriteAddDocumentsComponent() {
|
|
21087
21032
|
this.documentFormGroup = new i3.FormGroup({});
|
|
@@ -21152,8 +21097,8 @@
|
|
|
21152
21097
|
|
|
21153
21098
|
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21154
21099
|
if (rf & 1) {
|
|
21155
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21156
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21100
|
+
i0__namespace.ɵɵelementStart(0, "p", 28);
|
|
21101
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21157
21102
|
i0__namespace.ɵɵtext(2);
|
|
21158
21103
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21159
21104
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21170,8 +21115,8 @@
|
|
|
21170
21115
|
}
|
|
21171
21116
|
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21172
21117
|
if (rf & 1) {
|
|
21173
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21174
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21118
|
+
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21119
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21175
21120
|
i0__namespace.ɵɵtext(2);
|
|
21176
21121
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21177
21122
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21188,8 +21133,8 @@
|
|
|
21188
21133
|
}
|
|
21189
21134
|
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21190
21135
|
if (rf & 1) {
|
|
21191
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21192
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21136
|
+
i0__namespace.ɵɵelementStart(0, "p", 31);
|
|
21137
|
+
i0__namespace.ɵɵelementStart(1, "span", 29);
|
|
21193
21138
|
i0__namespace.ɵɵtext(2);
|
|
21194
21139
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21195
21140
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21201,7 +21146,16 @@
|
|
|
21201
21146
|
i0__namespace.ɵɵadvance(2);
|
|
21202
21147
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21203
21148
|
i0__namespace.ɵɵadvance(2);
|
|
21204
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a body"), " ");
|
|
21149
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
|
|
21150
|
+
}
|
|
21151
|
+
}
|
|
21152
|
+
function QueryWriteRaiseQueryComponent_ng_container_62_Template(rf, ctx) {
|
|
21153
|
+
if (rf & 1) {
|
|
21154
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
21155
|
+
i0__namespace.ɵɵelementStart(1, "fieldset", 32);
|
|
21156
|
+
i0__namespace.ɵɵelement(2, "ccd-query-write-date-input", 33);
|
|
21157
|
+
i0__namespace.ɵɵelementEnd();
|
|
21158
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
21205
21159
|
}
|
|
21206
21160
|
}
|
|
21207
21161
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
@@ -21210,7 +21164,7 @@
|
|
|
21210
21164
|
return QueryWriteRaiseQueryComponent;
|
|
21211
21165
|
}());
|
|
21212
21166
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21213
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls:
|
|
21167
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 63, vars: 61, 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", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["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"], ["role", "group", 1, "govuk-fieldset"], ["formControlName", "hearingDate"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21214
21168
|
if (rf & 1) {
|
|
21215
21169
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21216
21170
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -21299,6 +21253,7 @@
|
|
|
21299
21253
|
i0__namespace.ɵɵelementEnd();
|
|
21300
21254
|
i0__namespace.ɵɵelementEnd();
|
|
21301
21255
|
i0__namespace.ɵɵelementEnd();
|
|
21256
|
+
i0__namespace.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 3, 0, "ng-container", 27);
|
|
21302
21257
|
i0__namespace.ɵɵelementEnd();
|
|
21303
21258
|
i0__namespace.ɵɵelementEnd();
|
|
21304
21259
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21316,17 +21271,17 @@
|
|
|
21316
21271
|
var tmp_18_0 = null;
|
|
21317
21272
|
var tmp_19_0 = null;
|
|
21318
21273
|
i0__namespace.ɵɵadvance(3);
|
|
21319
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4,
|
|
21274
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 35, "Raise a query"));
|
|
21320
21275
|
i0__namespace.ɵɵadvance(3);
|
|
21321
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21276
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 37, "Enter query details"));
|
|
21322
21277
|
i0__namespace.ɵɵadvance(6);
|
|
21323
21278
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21324
21279
|
i0__namespace.ɵɵadvance(2);
|
|
21325
21280
|
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);
|
|
21326
21281
|
i0__namespace.ɵɵadvance(3);
|
|
21327
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18,
|
|
21282
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 39, "Full name"), " ");
|
|
21328
21283
|
i0__namespace.ɵɵadvance(3);
|
|
21329
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21,
|
|
21284
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 41, "Your full name must be included here"), " ");
|
|
21330
21285
|
i0__namespace.ɵɵadvance(2);
|
|
21331
21286
|
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("body")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21332
21287
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21335,9 +21290,9 @@
|
|
|
21335
21290
|
i0__namespace.ɵɵadvance(1);
|
|
21336
21291
|
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);
|
|
21337
21292
|
i0__namespace.ɵɵadvance(3);
|
|
21338
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28,
|
|
21293
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 43, "Query subject"), " ");
|
|
21339
21294
|
i0__namespace.ɵɵadvance(3);
|
|
21340
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31,
|
|
21295
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 45, "The subject should be a summary of your query"), " ");
|
|
21341
21296
|
i0__namespace.ɵɵadvance(2);
|
|
21342
21297
|
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21343
21298
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -21346,24 +21301,26 @@
|
|
|
21346
21301
|
i0__namespace.ɵɵadvance(1);
|
|
21347
21302
|
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);
|
|
21348
21303
|
i0__namespace.ɵɵadvance(3);
|
|
21349
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38,
|
|
21304
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 47, "Query body"), " ");
|
|
21350
21305
|
i0__namespace.ɵɵadvance(3);
|
|
21351
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41,
|
|
21306
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 49, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21352
21307
|
i0__namespace.ɵɵadvance(2);
|
|
21353
21308
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21354
21309
|
i0__namespace.ɵɵadvance(1);
|
|
21355
21310
|
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);
|
|
21356
21311
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21357
21312
|
i0__namespace.ɵɵadvance(6);
|
|
21358
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50,
|
|
21313
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 51, "Is the query hearing related?"), " ");
|
|
21359
21314
|
i0__namespace.ɵɵadvance(4);
|
|
21360
21315
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21361
21316
|
i0__namespace.ɵɵadvance(2);
|
|
21362
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56,
|
|
21317
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 53, "Is the query hearing related?", null, "Yes"), " ");
|
|
21363
21318
|
i0__namespace.ɵɵadvance(3);
|
|
21364
21319
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21365
21320
|
i0__namespace.ɵɵadvance(2);
|
|
21366
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61,
|
|
21321
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 57, "Is the query hearing related?", null, "No"), " ");
|
|
21322
|
+
i0__namespace.ɵɵadvance(2);
|
|
21323
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
|
|
21367
21324
|
}
|
|
21368
21325
|
}, encapsulation: 2 });
|
|
21369
21326
|
(function () {
|
|
@@ -21625,24 +21582,9 @@
|
|
|
21625
21582
|
__extends(WriteQueryManagementFieldComponent, _super);
|
|
21626
21583
|
function WriteQueryManagementFieldComponent() {
|
|
21627
21584
|
var _this = _super.call(this) || this;
|
|
21628
|
-
_this.
|
|
21629
|
-
response: new i3.FormControl('', [i3.Validators.required]),
|
|
21630
|
-
documents: new i3.FormControl([])
|
|
21631
|
-
});
|
|
21632
|
-
_this.errorMessages = [];
|
|
21633
|
-
_this.submitted = false;
|
|
21585
|
+
_this.formGroup = new i3.FormGroup({});
|
|
21634
21586
|
return _this;
|
|
21635
21587
|
}
|
|
21636
|
-
WriteQueryManagementFieldComponent.prototype.submitForm = function () {
|
|
21637
|
-
this.submitted = true;
|
|
21638
|
-
this.errorMessages = [];
|
|
21639
|
-
window.scrollTo(0, 0);
|
|
21640
|
-
if (!this.responseFormGroup.valid) {
|
|
21641
|
-
if (this.responseFormGroup.controls.response.hasError('required')) {
|
|
21642
|
-
this.errorMessages.push({ controlName: 'response', message: 'Add a response before continue' });
|
|
21643
|
-
}
|
|
21644
|
-
}
|
|
21645
|
-
};
|
|
21646
21588
|
return WriteQueryManagementFieldComponent;
|
|
21647
21589
|
}(AbstractFieldReadComponent));
|
|
21648
21590
|
WriteQueryManagementFieldComponent.ɵfac = function WriteQueryManagementFieldComponent_Factory(t) { return new (t || WriteQueryManagementFieldComponent)(); };
|
|
@@ -29418,8 +29360,8 @@
|
|
|
29418
29360
|
QueryWriteRespondToQueryComponent,
|
|
29419
29361
|
QueryWriteRaiseQueryComponent,
|
|
29420
29362
|
QueryCaseDetailsHeaderComponent,
|
|
29421
|
-
QueryCheckYourAnswersComponent,
|
|
29422
29363
|
QueryWriteAddDocumentsComponent,
|
|
29364
|
+
QueryWriteDateInputComponent
|
|
29423
29365
|
];
|
|
29424
29366
|
var PaletteModule = /** @class */ (function () {
|
|
29425
29367
|
function PaletteModule() {
|
|
@@ -29605,8 +29547,8 @@
|
|
|
29605
29547
|
QueryWriteRespondToQueryComponent,
|
|
29606
29548
|
QueryWriteRaiseQueryComponent,
|
|
29607
29549
|
QueryCaseDetailsHeaderComponent,
|
|
29608
|
-
|
|
29609
|
-
|
|
29550
|
+
QueryWriteAddDocumentsComponent,
|
|
29551
|
+
QueryWriteDateInputComponent], imports: [i5.CommonModule,
|
|
29610
29552
|
i1$1.RouterModule,
|
|
29611
29553
|
i3.FormsModule,
|
|
29612
29554
|
i3.ReactiveFormsModule,
|
|
@@ -29753,8 +29695,8 @@
|
|
|
29753
29695
|
QueryWriteRespondToQueryComponent,
|
|
29754
29696
|
QueryWriteRaiseQueryComponent,
|
|
29755
29697
|
QueryCaseDetailsHeaderComponent,
|
|
29756
|
-
|
|
29757
|
-
|
|
29698
|
+
QueryWriteAddDocumentsComponent,
|
|
29699
|
+
QueryWriteDateInputComponent] });
|
|
29758
29700
|
})();
|
|
29759
29701
|
(function () {
|
|
29760
29702
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -29900,8 +29842,7 @@
|
|
|
29900
29842
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29901
29843
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
29902
29844
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [i1__namespace.RpxTranslatePipe]);
|
|
29903
|
-
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]);
|
|
29904
|
-
i0__namespace.ɵɵsetComponentScope(QueryCheckYourAnswersComponent, [QueryCaseDetailsHeaderComponent, i5__namespace.NgIf, ReadCollectionFieldComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29845
|
+
i0__namespace.ɵɵsetComponentScope(QueryWriteRaiseQueryComponent, [QueryCaseDetailsHeaderComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.RadioControlValueAccessor, QueryWriteDateInputComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29905
29846
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
29906
29847
|
|
|
29907
29848
|
var Confirmation = /** @class */ (function () {
|
|
@@ -40519,7 +40460,6 @@
|
|
|
40519
40460
|
exports.ProfileNotifier = ProfileNotifier;
|
|
40520
40461
|
exports.ProfileService = ProfileService;
|
|
40521
40462
|
exports.QueryCaseDetailsHeaderComponent = QueryCaseDetailsHeaderComponent;
|
|
40522
|
-
exports.QueryCheckYourAnswersComponent = QueryCheckYourAnswersComponent;
|
|
40523
40463
|
exports.QueryCreateComponent = QueryCreateComponent;
|
|
40524
40464
|
exports.QueryDetailsComponent = QueryDetailsComponent;
|
|
40525
40465
|
exports.QueryDetailsTableComponent = QueryDetailsTableComponent;
|
|
@@ -40527,6 +40467,7 @@
|
|
|
40527
40467
|
exports.QueryListData = QueryListData;
|
|
40528
40468
|
exports.QueryListItem = QueryListItem;
|
|
40529
40469
|
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40470
|
+
exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
|
|
40530
40471
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40531
40472
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40532
40473
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|
|
@@ -40639,7 +40580,6 @@
|
|
|
40639
40580
|
exports.WriteYesNoFieldComponent = WriteYesNoFieldComponent;
|
|
40640
40581
|
exports.YesNoService = YesNoService;
|
|
40641
40582
|
exports.aCaseField = aCaseField;
|
|
40642
|
-
exports.caseFieldMockData = caseFieldMockData;
|
|
40643
40583
|
exports.createACL = createACL;
|
|
40644
40584
|
exports.createCaseEventTrigger = createCaseEventTrigger;
|
|
40645
40585
|
exports.createCaseField = createCaseField;
|