@hmcts/ccd-case-ui-toolkit 5.0.50-update-flag-screen-v4 → 5.0.50-update-flag-screen-v6
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 +18 -8
- 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/case-flag/components/case-flag-table/case-flag-table.component.js +16 -8
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +16 -8
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -19111,25 +19111,32 @@
|
|
|
19111
19111
|
}
|
|
19112
19112
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template(rf, ctx) {
|
|
19113
19113
|
if (rf & 1) {
|
|
19114
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19114
|
+
i0__namespace.ɵɵelementStart(0, "strong", 20);
|
|
19115
19115
|
i0__namespace.ɵɵtext(1, "Active");
|
|
19116
19116
|
i0__namespace.ɵɵelementEnd();
|
|
19117
19117
|
}
|
|
19118
19118
|
}
|
|
19119
19119
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template(rf, ctx) {
|
|
19120
19120
|
if (rf & 1) {
|
|
19121
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19121
|
+
i0__namespace.ɵɵelementStart(0, "strong", 21);
|
|
19122
19122
|
i0__namespace.ɵɵtext(1, "Inactive");
|
|
19123
19123
|
i0__namespace.ɵɵelementEnd();
|
|
19124
19124
|
}
|
|
19125
19125
|
}
|
|
19126
19126
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template(rf, ctx) {
|
|
19127
19127
|
if (rf & 1) {
|
|
19128
|
-
i0__namespace.ɵɵelementStart(0, "strong",
|
|
19128
|
+
i0__namespace.ɵɵelementStart(0, "strong", 21);
|
|
19129
19129
|
i0__namespace.ɵɵtext(1, "Requested");
|
|
19130
19130
|
i0__namespace.ɵɵelementEnd();
|
|
19131
19131
|
}
|
|
19132
19132
|
}
|
|
19133
|
+
function CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template(rf, ctx) {
|
|
19134
|
+
if (rf & 1) {
|
|
19135
|
+
i0__namespace.ɵɵelementStart(0, "strong", 22);
|
|
19136
|
+
i0__namespace.ɵɵtext(1, "Not approved");
|
|
19137
|
+
i0__namespace.ɵɵelementEnd();
|
|
19138
|
+
}
|
|
19139
|
+
}
|
|
19133
19140
|
function CaseFlagTableComponent_table_0_tbody_17_tr_1_Template(rf, ctx) {
|
|
19134
19141
|
if (rf & 1) {
|
|
19135
19142
|
i0__namespace.ɵɵelementStart(0, "tr", 15);
|
|
@@ -19156,6 +19163,7 @@
|
|
|
19156
19163
|
i0__namespace.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_15_Template, 2, 0, "strong", 17);
|
|
19157
19164
|
i0__namespace.ɵɵtemplate(16, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_16_Template, 2, 0, "strong", 18);
|
|
19158
19165
|
i0__namespace.ɵɵtemplate(17, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_17_Template, 2, 0, "strong", 18);
|
|
19166
|
+
i0__namespace.ɵɵtemplate(18, CaseFlagTableComponent_table_0_tbody_17_tr_1_strong_18_Template, 2, 0, "strong", 19);
|
|
19159
19167
|
i0__namespace.ɵɵelementEnd();
|
|
19160
19168
|
i0__namespace.ɵɵelementEnd();
|
|
19161
19169
|
}
|
|
@@ -19169,21 +19177,23 @@
|
|
|
19169
19177
|
i0__namespace.ɵɵadvance(2);
|
|
19170
19178
|
i0__namespace.ɵɵtextInterpolate(flagDetail_r4.flagComment);
|
|
19171
19179
|
i0__namespace.ɵɵadvance(2);
|
|
19172
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10,
|
|
19180
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(10, 9, flagDetail_r4.dateTimeCreated, "dd LLL yyyy"));
|
|
19173
19181
|
i0__namespace.ɵɵadvance(3);
|
|
19174
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13,
|
|
19182
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(13, 12, flagDetail_r4.dateTimeModified, "dd LLL yyyy"));
|
|
19175
19183
|
i0__namespace.ɵɵadvance(3);
|
|
19176
19184
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.ACTIVE);
|
|
19177
19185
|
i0__namespace.ɵɵadvance(1);
|
|
19178
19186
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.INACTIVE);
|
|
19179
19187
|
i0__namespace.ɵɵadvance(1);
|
|
19180
19188
|
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.REQUESTED);
|
|
19189
|
+
i0__namespace.ɵɵadvance(1);
|
|
19190
|
+
i0__namespace.ɵɵproperty("ngIf", flagDetail_r4.status === ctx_r3.caseFlagStatus.NOT_APPROVED);
|
|
19181
19191
|
}
|
|
19182
19192
|
}
|
|
19183
19193
|
function CaseFlagTableComponent_table_0_tbody_17_Template(rf, ctx) {
|
|
19184
19194
|
if (rf & 1) {
|
|
19185
19195
|
i0__namespace.ɵɵelementStart(0, "tbody", 10);
|
|
19186
|
-
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template,
|
|
19196
|
+
i0__namespace.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_17_tr_1_Template, 19, 15, "tr", 14);
|
|
19187
19197
|
i0__namespace.ɵɵelementEnd();
|
|
19188
19198
|
}
|
|
19189
19199
|
if (rf & 2) {
|
|
@@ -19248,7 +19258,7 @@
|
|
|
19248
19258
|
return CaseFlagTableComponent;
|
|
19249
19259
|
}());
|
|
19250
19260
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
19251
|
-
CaseFlagTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], ["class", "govuk-tag", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], [1, "govuk-tag"], [1, "govuk-tag", "govuk-tag--grey"]], template: function CaseFlagTableComponent_Template(rf, ctx) {
|
|
19261
|
+
CaseFlagTableComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], ["class", "govuk-tag", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], [1, "govuk-tag"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) {
|
|
19252
19262
|
if (rf & 1) {
|
|
19253
19263
|
i0__namespace.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 18, 4, "table", 0);
|
|
19254
19264
|
}
|
|
@@ -20527,7 +20537,7 @@
|
|
|
20527
20537
|
this.formGroup.addControl(this.FLAG_COMMENTS_CONTROL_NAME, new i2.FormControl(flagDetail.flagComment));
|
|
20528
20538
|
if (flagDetail.name) {
|
|
20529
20539
|
this.updateFlagTitle =
|
|
20530
|
-
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \
|
|
20540
|
+
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue ? ", " + flagDetail.subTypeValue + "\"" : '"');
|
|
20531
20541
|
}
|
|
20532
20542
|
}
|
|
20533
20543
|
};
|