@hmcts/ccd-case-ui-toolkit 6.16.0-query-details-ui-changes → 6.16.0-query-management-read-view-changes-v4
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 +73 -63
- 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/query-management/components/query-details-table/query-details-table.component.js +40 -35
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +29 -24
- package/esm2015/lib/shared/components/palette/query-management/enums/index.js +2 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +73 -63
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/enums/index.d.ts +1 -0
- package/lib/shared/components/palette/query-management/enums/index.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -20408,6 +20408,12 @@
|
|
|
20408
20408
|
RaiseQueryErrorMessage["RESPOND_QUERY_BODY"] = "Add a response before continue";
|
|
20409
20409
|
})(exports.RaiseQueryErrorMessage || (exports.RaiseQueryErrorMessage = {}));
|
|
20410
20410
|
|
|
20411
|
+
exports.QueryItemResponseStatus = void 0;
|
|
20412
|
+
(function (QueryItemResponseStatus) {
|
|
20413
|
+
QueryItemResponseStatus["NEW"] = "New";
|
|
20414
|
+
QueryItemResponseStatus["RESPONDED"] = "Responded";
|
|
20415
|
+
})(exports.QueryItemResponseStatus || (exports.QueryItemResponseStatus = {}));
|
|
20416
|
+
|
|
20411
20417
|
exports.RespondToQueryErrorMessages = void 0;
|
|
20412
20418
|
(function (RespondToQueryErrorMessages) {
|
|
20413
20419
|
RespondToQueryErrorMessages["FULL_NAME"] = "Enter a full name";
|
|
@@ -20419,12 +20425,6 @@
|
|
|
20419
20425
|
QualifyingQuestionsErrorMessage["SELECT_AN_OPTION"] = "Select an option";
|
|
20420
20426
|
})(exports.QualifyingQuestionsErrorMessage || (exports.QualifyingQuestionsErrorMessage = {}));
|
|
20421
20427
|
|
|
20422
|
-
exports.QueryItemResponseStatus = void 0;
|
|
20423
|
-
(function (QueryItemResponseStatus) {
|
|
20424
|
-
QueryItemResponseStatus["NEW"] = "New";
|
|
20425
|
-
QueryItemResponseStatus["RESPONDED"] = "Responded";
|
|
20426
|
-
})(exports.QueryItemResponseStatus || (exports.QueryItemResponseStatus = {}));
|
|
20427
|
-
|
|
20428
20428
|
function QualifyingQuestionOptionsComponent_ng_container_0_ng_container_7_Template(rf, ctx) {
|
|
20429
20429
|
if (rf & 1) {
|
|
20430
20430
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
@@ -21008,9 +21008,9 @@
|
|
|
21008
21008
|
}] });
|
|
21009
21009
|
})();
|
|
21010
21010
|
|
|
21011
|
-
function
|
|
21011
|
+
function QueryDetailsTableComponent_ng_container_0_tr_36_Template(rf, ctx) {
|
|
21012
21012
|
if (rf & 1) {
|
|
21013
|
-
i0__namespace.ɵɵelementStart(0, "tr",
|
|
21013
|
+
i0__namespace.ɵɵelementStart(0, "tr", 8);
|
|
21014
21014
|
i0__namespace.ɵɵelementStart(1, "th", 4);
|
|
21015
21015
|
i0__namespace.ɵɵtext(2);
|
|
21016
21016
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
@@ -21029,9 +21029,9 @@
|
|
|
21029
21029
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(6, 4, ctx_r1.queryItem.hearingDate, "dd MMM yyyy"));
|
|
21030
21030
|
}
|
|
21031
21031
|
}
|
|
21032
|
-
function
|
|
21032
|
+
function QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template(rf, ctx) {
|
|
21033
21033
|
if (rf & 1) {
|
|
21034
|
-
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read",
|
|
21034
|
+
i0__namespace.ɵɵelement(0, "ccd-query-attachments-read", 9);
|
|
21035
21035
|
}
|
|
21036
21036
|
if (rf & 2) {
|
|
21037
21037
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
@@ -21051,16 +21051,16 @@
|
|
|
21051
21051
|
i0__namespace.ɵɵelementEnd();
|
|
21052
21052
|
i0__namespace.ɵɵelementStart(8, "td", 5);
|
|
21053
21053
|
i0__namespace.ɵɵtext(9);
|
|
21054
|
-
i0__namespace.ɵɵpipe(10, "date");
|
|
21055
21054
|
i0__namespace.ɵɵelementEnd();
|
|
21056
21055
|
i0__namespace.ɵɵelementEnd();
|
|
21057
|
-
i0__namespace.ɵɵelementStart(
|
|
21058
|
-
i0__namespace.ɵɵelementStart(
|
|
21059
|
-
i0__namespace.ɵɵtext(
|
|
21060
|
-
i0__namespace.ɵɵpipe(
|
|
21056
|
+
i0__namespace.ɵɵelementStart(10, "tr", 3);
|
|
21057
|
+
i0__namespace.ɵɵelementStart(11, "th", 4);
|
|
21058
|
+
i0__namespace.ɵɵtext(12);
|
|
21059
|
+
i0__namespace.ɵɵpipe(13, "rpxTranslate");
|
|
21061
21060
|
i0__namespace.ɵɵelementEnd();
|
|
21062
|
-
i0__namespace.ɵɵelementStart(
|
|
21063
|
-
i0__namespace.ɵɵtext(
|
|
21061
|
+
i0__namespace.ɵɵelementStart(14, "td", 5);
|
|
21062
|
+
i0__namespace.ɵɵtext(15);
|
|
21063
|
+
i0__namespace.ɵɵpipe(16, "date");
|
|
21064
21064
|
i0__namespace.ɵɵelementEnd();
|
|
21065
21065
|
i0__namespace.ɵɵelementEnd();
|
|
21066
21066
|
i0__namespace.ɵɵelementStart(17, "tr", 3);
|
|
@@ -21088,16 +21088,17 @@
|
|
|
21088
21088
|
i0__namespace.ɵɵelementEnd();
|
|
21089
21089
|
i0__namespace.ɵɵelementStart(33, "td", 5);
|
|
21090
21090
|
i0__namespace.ɵɵtext(34);
|
|
21091
|
+
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
21091
21092
|
i0__namespace.ɵɵelementEnd();
|
|
21092
21093
|
i0__namespace.ɵɵelementEnd();
|
|
21093
|
-
i0__namespace.ɵɵtemplate(
|
|
21094
|
-
i0__namespace.ɵɵelementStart(
|
|
21095
|
-
i0__namespace.ɵɵelementStart(
|
|
21096
|
-
i0__namespace.ɵɵtext(
|
|
21097
|
-
i0__namespace.ɵɵpipe(
|
|
21094
|
+
i0__namespace.ɵɵtemplate(36, QueryDetailsTableComponent_ng_container_0_tr_36_Template, 7, 7, "tr", 6);
|
|
21095
|
+
i0__namespace.ɵɵelementStart(37, "tr", 3);
|
|
21096
|
+
i0__namespace.ɵɵelementStart(38, "th", 4);
|
|
21097
|
+
i0__namespace.ɵɵtext(39);
|
|
21098
|
+
i0__namespace.ɵɵpipe(40, "rpxTranslate");
|
|
21098
21099
|
i0__namespace.ɵɵelementEnd();
|
|
21099
|
-
i0__namespace.ɵɵelementStart(
|
|
21100
|
-
i0__namespace.ɵɵtemplate(
|
|
21100
|
+
i0__namespace.ɵɵelementStart(41, "td", 5);
|
|
21101
|
+
i0__namespace.ɵɵtemplate(42, QueryDetailsTableComponent_ng_container_0_ccd_query_attachments_read_42_Template, 1, 1, "ccd-query-attachments-read", 7);
|
|
21101
21102
|
i0__namespace.ɵɵelementEnd();
|
|
21102
21103
|
i0__namespace.ɵɵelementEnd();
|
|
21103
21104
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21107,31 +21108,35 @@
|
|
|
21107
21108
|
if (rf & 2) {
|
|
21108
21109
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
21109
21110
|
i0__namespace.ɵɵadvance(1);
|
|
21110
|
-
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2,
|
|
21111
|
+
i0__namespace.ɵɵattribute("aria-describedby", i0__namespace.ɵɵpipeBind1(2, 18, "Details of the query"));
|
|
21111
21112
|
i0__namespace.ɵɵadvance(5);
|
|
21112
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21113
|
-
i0__namespace.ɵɵadvance(3);
|
|
21114
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 18, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21115
|
-
i0__namespace.ɵɵadvance(4);
|
|
21116
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 21, "Submitted by"));
|
|
21113
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 20, "Last submitted by"));
|
|
21117
21114
|
i0__namespace.ɵɵadvance(3);
|
|
21118
21115
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.lastSubmittedBy);
|
|
21119
21116
|
i0__namespace.ɵɵadvance(3);
|
|
21120
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21117
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(13, 22, "Submission date"));
|
|
21118
|
+
i0__namespace.ɵɵadvance(3);
|
|
21119
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(16, 24, ctx_r0.queryItem.createdOn, "dd MMM yyyy"));
|
|
21120
|
+
i0__namespace.ɵɵadvance(4);
|
|
21121
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Query subject"));
|
|
21121
21122
|
i0__namespace.ɵɵadvance(3);
|
|
21122
21123
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.subject);
|
|
21123
21124
|
i0__namespace.ɵɵadvance(3);
|
|
21124
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26,
|
|
21125
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(26, 29, "Query body"));
|
|
21125
21126
|
i0__namespace.ɵɵadvance(3);
|
|
21126
21127
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.body);
|
|
21127
|
-
i0__namespace.ɵɵadvance(
|
|
21128
|
-
i0__namespace.ɵɵ
|
|
21129
|
-
i0__namespace.ɵɵadvance(3);
|
|
21130
|
-
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryItem.isHearingRelated ? "Yes" : "No");
|
|
21128
|
+
i0__namespace.ɵɵadvance(2);
|
|
21129
|
+
i0__namespace.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21131
21130
|
i0__namespace.ɵɵadvance(1);
|
|
21131
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 31, "Is the query hearing related?"), " ");
|
|
21132
|
+
i0__namespace.ɵɵadvance(2);
|
|
21133
|
+
i0__namespace.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.queryItem.isHearingRelated);
|
|
21134
|
+
i0__namespace.ɵɵadvance(1);
|
|
21135
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(35, 33, "Is the query hearing related?", null, ctx_r0.queryItem.isHearingRelated ? "Yes" : "No"), "");
|
|
21136
|
+
i0__namespace.ɵɵadvance(2);
|
|
21132
21137
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.isHearingRelated);
|
|
21133
21138
|
i0__namespace.ɵɵadvance(3);
|
|
21134
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(
|
|
21139
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(40, 37, "Attachments"));
|
|
21135
21140
|
i0__namespace.ɵɵadvance(3);
|
|
21136
21141
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.queryItem.attachments);
|
|
21137
21142
|
}
|
|
@@ -21142,14 +21147,14 @@
|
|
|
21142
21147
|
return QueryDetailsTableComponent;
|
|
21143
21148
|
}());
|
|
21144
21149
|
QueryDetailsTableComponent.ɵfac = function QueryDetailsTableComponent_Factory(t) { return new (t || QueryDetailsTableComponent)(); };
|
|
21145
|
-
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
21150
|
+
QueryDetailsTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryDetailsTableComponent, selectors: [["ccd-query-details-table"]], inputs: { queryItem: "queryItem" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"]], template: function QueryDetailsTableComponent_Template(rf, ctx) {
|
|
21146
21151
|
if (rf & 1) {
|
|
21147
|
-
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template,
|
|
21152
|
+
i0__namespace.ɵɵtemplate(0, QueryDetailsTableComponent_ng_container_0_Template, 43, 39, "ng-container", 0);
|
|
21148
21153
|
}
|
|
21149
21154
|
if (rf & 2) {
|
|
21150
21155
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryItem);
|
|
21151
21156
|
}
|
|
21152
|
-
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
|
|
21157
|
+
}, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}.query-details-table[_ngcontent-%COMP%] .collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-bottom:none}.query-details-table[_ngcontent-%COMP%] .govuk-table__cell--no-border[_ngcontent-%COMP%], .query-details-table[_ngcontent-%COMP%] .govuk-table__header--no-border[_ngcontent-%COMP%]{border-bottom:0}"] });
|
|
21153
21158
|
(function () {
|
|
21154
21159
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryDetailsTableComponent, [{
|
|
21155
21160
|
type: i0.Component,
|
|
@@ -21416,31 +21421,33 @@
|
|
|
21416
21421
|
|
|
21417
21422
|
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) {
|
|
21418
21423
|
if (rf & 1) {
|
|
21419
|
-
var
|
|
21424
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21420
21425
|
i0__namespace.ɵɵelementStart(0, "th", 8);
|
|
21421
|
-
i0__namespace.ɵɵ
|
|
21422
|
-
i0__namespace.ɵɵ
|
|
21423
|
-
i0__namespace.ɵɵ
|
|
21424
|
-
i0__namespace.ɵɵ
|
|
21426
|
+
i0__namespace.ɵɵelementStart(1, "button", 9);
|
|
21427
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r6_1); var col_r3 = ctx.$implicit; var ctx_r5 = i0__namespace.ɵɵnextContext(2); return ctx_r5.sortTable(col_r3); });
|
|
21428
|
+
i0__namespace.ɵɵtext(2);
|
|
21429
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21425
21430
|
i0__namespace.ɵɵelementEnd();
|
|
21426
21431
|
i0__namespace.ɵɵelementEnd();
|
|
21427
21432
|
}
|
|
21428
21433
|
if (rf & 2) {
|
|
21429
21434
|
var col_r3 = ctx.$implicit;
|
|
21435
|
+
var i_r4 = ctx.index;
|
|
21430
21436
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
21437
|
+
i0__namespace.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
|
|
21431
21438
|
i0__namespace.ɵɵadvance(1);
|
|
21432
|
-
i0__namespace.ɵɵ
|
|
21433
|
-
i0__namespace.ɵɵadvance(
|
|
21434
|
-
i0__namespace.ɵɵ
|
|
21439
|
+
i0__namespace.ɵɵattribute("data-index", i_r4);
|
|
21440
|
+
i0__namespace.ɵɵadvance(1);
|
|
21441
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(3, 3, col_r3.displayName), " ");
|
|
21435
21442
|
}
|
|
21436
21443
|
}
|
|
21437
21444
|
function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) {
|
|
21438
21445
|
if (rf & 1) {
|
|
21439
|
-
var
|
|
21446
|
+
var _r9_1 = i0__namespace.ɵɵgetCurrentView();
|
|
21440
21447
|
i0__namespace.ɵɵelementStart(0, "tr", 4);
|
|
21441
21448
|
i0__namespace.ɵɵelementStart(1, "td", 10);
|
|
21442
21449
|
i0__namespace.ɵɵelementStart(2, "a", 11);
|
|
21443
|
-
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(
|
|
21450
|
+
i0__namespace.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var message_r7 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.showDetails(message_r7); });
|
|
21444
21451
|
i0__namespace.ɵɵtext(3);
|
|
21445
21452
|
i0__namespace.ɵɵelementEnd();
|
|
21446
21453
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21462,17 +21469,17 @@
|
|
|
21462
21469
|
i0__namespace.ɵɵelementEnd();
|
|
21463
21470
|
}
|
|
21464
21471
|
if (rf & 2) {
|
|
21465
|
-
var
|
|
21472
|
+
var message_r7 = ctx.$implicit;
|
|
21466
21473
|
i0__namespace.ɵɵadvance(3);
|
|
21467
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21474
|
+
i0__namespace.ɵɵtextInterpolate(message_r7.subject);
|
|
21468
21475
|
i0__namespace.ɵɵadvance(2);
|
|
21469
|
-
i0__namespace.ɵɵtextInterpolate(
|
|
21476
|
+
i0__namespace.ɵɵtextInterpolate(message_r7.lastSubmittedBy);
|
|
21470
21477
|
i0__namespace.ɵɵadvance(2);
|
|
21471
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5,
|
|
21478
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(8, 5, message_r7.lastSubmittedDate, "dd MMM YYYY"));
|
|
21472
21479
|
i0__namespace.ɵɵadvance(3);
|
|
21473
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8,
|
|
21480
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(11, 8, message_r7.lastResponseDate, "dd MMM YYYY"));
|
|
21474
21481
|
i0__namespace.ɵɵadvance(3);
|
|
21475
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 11,
|
|
21482
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 11, message_r7.responseStatus));
|
|
21476
21483
|
}
|
|
21477
21484
|
}
|
|
21478
21485
|
function QueryListComponent_ng_container_0_Template(rf, ctx) {
|
|
@@ -21486,7 +21493,7 @@
|
|
|
21486
21493
|
i0__namespace.ɵɵelementEnd();
|
|
21487
21494
|
i0__namespace.ɵɵelementStart(5, "thead", 3);
|
|
21488
21495
|
i0__namespace.ɵɵelementStart(6, "tr", 4);
|
|
21489
|
-
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4,
|
|
21496
|
+
i0__namespace.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 5, "th", 5);
|
|
21490
21497
|
i0__namespace.ɵɵelementEnd();
|
|
21491
21498
|
i0__namespace.ɵɵelementEnd();
|
|
21492
21499
|
i0__namespace.ɵɵelementStart(8, "tbody", 6);
|
|
@@ -21509,7 +21516,7 @@
|
|
|
21509
21516
|
function QueryListComponent() {
|
|
21510
21517
|
this.selectedQuery = new i0.EventEmitter();
|
|
21511
21518
|
this.displayedColumns = [
|
|
21512
|
-
{ name: 'subject', displayName: '
|
|
21519
|
+
{ name: 'subject', displayName: 'Query subject', sortOrder: SortOrder.UNSORTED },
|
|
21513
21520
|
{ name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
|
|
21514
21521
|
{ name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
|
|
21515
21522
|
{ name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
|
|
@@ -21536,13 +21543,16 @@
|
|
|
21536
21543
|
}
|
|
21537
21544
|
}
|
|
21538
21545
|
};
|
|
21539
|
-
QueryListComponent.prototype.
|
|
21546
|
+
QueryListComponent.prototype.getAriaSortHeaderValue = function (col) {
|
|
21540
21547
|
switch (col.sortOrder) {
|
|
21541
21548
|
case SortOrder.ASCENDING: {
|
|
21542
|
-
return '
|
|
21549
|
+
return 'ascending';
|
|
21550
|
+
}
|
|
21551
|
+
case SortOrder.DESCENDING: {
|
|
21552
|
+
return 'descending';
|
|
21543
21553
|
}
|
|
21544
21554
|
default: {
|
|
21545
|
-
return '
|
|
21555
|
+
return 'none';
|
|
21546
21556
|
}
|
|
21547
21557
|
}
|
|
21548
21558
|
};
|
|
@@ -21576,14 +21586,14 @@
|
|
|
21576
21586
|
return QueryListComponent;
|
|
21577
21587
|
}());
|
|
21578
21588
|
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
21579
|
-
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__header"], ["
|
|
21589
|
+
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__cell", "query-list__caption", "query-list__row"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
|
|
21580
21590
|
if (rf & 1) {
|
|
21581
21591
|
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
21582
21592
|
}
|
|
21583
21593
|
if (rf & 2) {
|
|
21584
21594
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
|
|
21585
21595
|
}
|
|
21586
|
-
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["
|
|
21596
|
+
}, directives: [i5__namespace.NgIf, i5__namespace.NgForOf], pipes: [i1__namespace.RpxTranslatePipe, i5__namespace.DatePipe], styles: ["@charset \"UTF-8\";.query-list__caption[_ngcontent-%COMP%], .query-list__table[_ngcontent-%COMP%]{border:1px solid #b1b4b6}.query-list__caption[_ngcontent-%COMP%]{background:#f3f2f1;border-bottom:0;font-weight:700}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
|
|
21587
21597
|
(function () {
|
|
21588
21598
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
|
|
21589
21599
|
type: i0.Component,
|