@hmcts/ccd-case-ui-toolkit 5.0.50-update-flag-screen-v3 → 5.0.50-update-flag-screen-v5
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 +29 -31
- 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/update-flag/update-flag.component.js +30 -32
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +29 -31
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -20452,8 +20452,8 @@
|
|
|
20452
20452
|
|
|
20453
20453
|
function UpdateFlagComponent_div_12_Template(rf, ctx) {
|
|
20454
20454
|
if (rf & 1) {
|
|
20455
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20456
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20455
|
+
i0__namespace.ɵɵelementStart(0, "div", 24);
|
|
20456
|
+
i0__namespace.ɵɵelementStart(1, "span", 25);
|
|
20457
20457
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20458
20458
|
i0__namespace.ɵɵelementEnd();
|
|
20459
20459
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20467,8 +20467,8 @@
|
|
|
20467
20467
|
}
|
|
20468
20468
|
function UpdateFlagComponent_div_13_Template(rf, ctx) {
|
|
20469
20469
|
if (rf & 1) {
|
|
20470
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20471
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20470
|
+
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
20471
|
+
i0__namespace.ɵɵelementStart(1, "span", 25);
|
|
20472
20472
|
i0__namespace.ɵɵtext(2, "Error:");
|
|
20473
20473
|
i0__namespace.ɵɵelementEnd();
|
|
20474
20474
|
i0__namespace.ɵɵtext(3);
|
|
@@ -20480,12 +20480,12 @@
|
|
|
20480
20480
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.updateFlagCharLimitErrorMessage, " ");
|
|
20481
20481
|
}
|
|
20482
20482
|
}
|
|
20483
|
-
function
|
|
20483
|
+
function UpdateFlagComponent_div_24_Template(rf, ctx) {
|
|
20484
20484
|
if (rf & 1) {
|
|
20485
|
-
i0__namespace.ɵɵelementStart(0, "div",
|
|
20486
|
-
i0__namespace.ɵɵelement(1, "input",
|
|
20485
|
+
i0__namespace.ɵɵelementStart(0, "div", 27);
|
|
20486
|
+
i0__namespace.ɵɵelement(1, "input", 28);
|
|
20487
20487
|
i0__namespace.ɵɵpipe(2, "lowercase");
|
|
20488
|
-
i0__namespace.ɵɵelementStart(3, "label",
|
|
20488
|
+
i0__namespace.ɵɵelementStart(3, "label", 29);
|
|
20489
20489
|
i0__namespace.ɵɵtext(4);
|
|
20490
20490
|
i0__namespace.ɵɵelementEnd();
|
|
20491
20491
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20527,7 +20527,7 @@
|
|
|
20527
20527
|
this.formGroup.addControl(this.FLAG_COMMENTS_CONTROL_NAME, new i2.FormControl(flagDetail.flagComment));
|
|
20528
20528
|
if (flagDetail.name) {
|
|
20529
20529
|
this.updateFlagTitle =
|
|
20530
|
-
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \
|
|
20530
|
+
exports.CaseFlagWizardStepTitle.UPDATE_FLAG_TITLE + " \"" + flagDetail.name + (flagDetail.subTypeValue ? ", " + flagDetail.subTypeValue + "\"" : '"');
|
|
20531
20531
|
}
|
|
20532
20532
|
}
|
|
20533
20533
|
};
|
|
@@ -20571,7 +20571,7 @@
|
|
|
20571
20571
|
return UpdateFlagComponent;
|
|
20572
20572
|
}());
|
|
20573
20573
|
UpdateFlagComponent.ɵfac = function UpdateFlagComponent_Factory(t) { return new (t || UpdateFlagComponent)(); };
|
|
20574
|
-
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls:
|
|
20574
|
+
UpdateFlagComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", selectedFlag: "selectedFlag" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 40, vars: 26, consts: [[1, "form-group", 3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--l"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "update-flag-hint", 1, "govuk-hint"], ["id", "update-flag-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-hint update-flag-char-limit-info update-flag-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--s", "govuk-!-margin-bottom-2"], ["data-module", "govuk-radios", 1, "govuk-radios", 3, "id"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "update-flag-status-hint", 1, "govuk-hint"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], [1, "govuk-checkboxes__item"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], ["id", "update-flag-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-char-limit-error", 1, "govuk-error-message"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "name", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"]], template: function UpdateFlagComponent_Template(rf, ctx) {
|
|
20575
20575
|
if (rf & 1) {
|
|
20576
20576
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
20577
20577
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
@@ -20606,38 +20606,36 @@
|
|
|
20606
20606
|
i0__namespace.ɵɵelementEnd();
|
|
20607
20607
|
i0__namespace.ɵɵelementEnd();
|
|
20608
20608
|
i0__namespace.ɵɵelementStart(22, "div", 5);
|
|
20609
|
-
i0__namespace.ɵɵelementStart(23, "
|
|
20610
|
-
i0__namespace.ɵɵ
|
|
20611
|
-
i0__namespace.ɵɵ
|
|
20612
|
-
i0__namespace.ɵɵpipe(26, "enumDisplayDescription");
|
|
20613
|
-
i0__namespace.ɵɵelementEnd();
|
|
20609
|
+
i0__namespace.ɵɵelementStart(23, "div", 14);
|
|
20610
|
+
i0__namespace.ɵɵtemplate(24, UpdateFlagComponent_div_24_Template, 5, 6, "div", 15);
|
|
20611
|
+
i0__namespace.ɵɵpipe(25, "enumDisplayDescription");
|
|
20614
20612
|
i0__namespace.ɵɵelementEnd();
|
|
20615
20613
|
i0__namespace.ɵɵelementEnd();
|
|
20616
|
-
i0__namespace.ɵɵelementStart(
|
|
20617
|
-
i0__namespace.ɵɵelementStart(
|
|
20618
|
-
i0__namespace.ɵɵtext(
|
|
20614
|
+
i0__namespace.ɵɵelementStart(26, "div");
|
|
20615
|
+
i0__namespace.ɵɵelementStart(27, "div", 16);
|
|
20616
|
+
i0__namespace.ɵɵtext(28);
|
|
20619
20617
|
i0__namespace.ɵɵelementEnd();
|
|
20620
|
-
i0__namespace.ɵɵelementStart(
|
|
20621
|
-
i0__namespace.ɵɵtext(
|
|
20618
|
+
i0__namespace.ɵɵelementStart(29, "textarea", 17);
|
|
20619
|
+
i0__namespace.ɵɵtext(30, " ");
|
|
20622
20620
|
i0__namespace.ɵɵelementEnd();
|
|
20623
20621
|
i0__namespace.ɵɵelementEnd();
|
|
20624
20622
|
i0__namespace.ɵɵelementEnd();
|
|
20625
|
-
i0__namespace.ɵɵelementStart(
|
|
20623
|
+
i0__namespace.ɵɵelementStart(31, "div");
|
|
20624
|
+
i0__namespace.ɵɵelementStart(32, "div", 18);
|
|
20626
20625
|
i0__namespace.ɵɵelementStart(33, "div", 19);
|
|
20627
|
-
i0__namespace.ɵɵ
|
|
20628
|
-
i0__namespace.ɵɵ
|
|
20629
|
-
i0__namespace.ɵɵ
|
|
20630
|
-
i0__namespace.ɵɵtext(37, " I need to add a Welsh translation ");
|
|
20626
|
+
i0__namespace.ɵɵelement(34, "input", 20);
|
|
20627
|
+
i0__namespace.ɵɵelementStart(35, "label", 21);
|
|
20628
|
+
i0__namespace.ɵɵtext(36, " I need to add a Welsh translation ");
|
|
20631
20629
|
i0__namespace.ɵɵelementEnd();
|
|
20632
20630
|
i0__namespace.ɵɵelementEnd();
|
|
20633
20631
|
i0__namespace.ɵɵelementEnd();
|
|
20634
20632
|
i0__namespace.ɵɵelementEnd();
|
|
20635
20633
|
i0__namespace.ɵɵelementEnd();
|
|
20636
20634
|
i0__namespace.ɵɵelementEnd();
|
|
20637
|
-
i0__namespace.ɵɵelementStart(
|
|
20638
|
-
i0__namespace.ɵɵelementStart(
|
|
20639
|
-
i0__namespace.ɵɵlistener("click", function
|
|
20640
|
-
i0__namespace.ɵɵtext(
|
|
20635
|
+
i0__namespace.ɵɵelementStart(37, "div", 22);
|
|
20636
|
+
i0__namespace.ɵɵelementStart(38, "button", 23);
|
|
20637
|
+
i0__namespace.ɵɵlistener("click", function UpdateFlagComponent_Template_button_click_38_listener() { return ctx.onNext(); });
|
|
20638
|
+
i0__namespace.ɵɵtext(39, "Next");
|
|
20641
20639
|
i0__namespace.ɵɵelementEnd();
|
|
20642
20640
|
i0__namespace.ɵɵelementEnd();
|
|
20643
20641
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -20664,10 +20662,10 @@
|
|
|
20664
20662
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.COMMENT_CHARACTER_LIMIT_INFO, " ");
|
|
20665
20663
|
i0__namespace.ɵɵadvance(4);
|
|
20666
20664
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagTitle, " status ");
|
|
20667
|
-
i0__namespace.ɵɵadvance(
|
|
20665
|
+
i0__namespace.ɵɵadvance(2);
|
|
20668
20666
|
i0__namespace.ɵɵproperty("id", ctx.FLAG_STATUS_CONTROL_NAME);
|
|
20669
20667
|
i0__namespace.ɵɵadvance(1);
|
|
20670
|
-
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(
|
|
20668
|
+
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(25, 22, ctx.caseFlagStatuses));
|
|
20671
20669
|
i0__namespace.ɵɵadvance(4);
|
|
20672
20670
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.updateFlagStepEnum.STATUS_HINT_TEXT, " ");
|
|
20673
20671
|
i0__namespace.ɵɵadvance(1);
|