@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-raise-query-function → 6.16.0-query-management-respond-to-query-fullname
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 +85 -182
- 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 +11 -8
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +1 -2
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +21 -31
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +60 -17
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +83 -174
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +29 -30
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts +0 -1
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +0 -125
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +0 -20
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +0 -1
|
@@ -20900,133 +20900,6 @@
|
|
|
20900
20900
|
}] });
|
|
20901
20901
|
})();
|
|
20902
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
|
-
|
|
21030
20903
|
var QueryWriteAddDocumentsComponent = /** @class */ (function () {
|
|
21031
20904
|
function QueryWriteAddDocumentsComponent() {
|
|
21032
20905
|
this.documentFormGroup = new i3.FormGroup({});
|
|
@@ -21097,8 +20970,8 @@
|
|
|
21097
20970
|
|
|
21098
20971
|
function QueryWriteRaiseQueryComponent_p_22_Template(rf, ctx) {
|
|
21099
20972
|
if (rf & 1) {
|
|
21100
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21101
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20973
|
+
i0__namespace.ɵɵelementStart(0, "p", 27);
|
|
20974
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21102
20975
|
i0__namespace.ɵɵtext(2);
|
|
21103
20976
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21104
20977
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21115,8 +20988,8 @@
|
|
|
21115
20988
|
}
|
|
21116
20989
|
function QueryWriteRaiseQueryComponent_p_32_Template(rf, ctx) {
|
|
21117
20990
|
if (rf & 1) {
|
|
21118
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21119
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
20991
|
+
i0__namespace.ɵɵelementStart(0, "p", 29);
|
|
20992
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21120
20993
|
i0__namespace.ɵɵtext(2);
|
|
21121
20994
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21122
20995
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21133,8 +21006,8 @@
|
|
|
21133
21006
|
}
|
|
21134
21007
|
function QueryWriteRaiseQueryComponent_p_42_Template(rf, ctx) {
|
|
21135
21008
|
if (rf & 1) {
|
|
21136
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21137
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21009
|
+
i0__namespace.ɵɵelementStart(0, "p", 30);
|
|
21010
|
+
i0__namespace.ɵɵelementStart(1, "span", 28);
|
|
21138
21011
|
i0__namespace.ɵɵtext(2);
|
|
21139
21012
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21140
21013
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21149,22 +21022,13 @@
|
|
|
21149
21022
|
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a query body"), " ");
|
|
21150
21023
|
}
|
|
21151
21024
|
}
|
|
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();
|
|
21159
|
-
}
|
|
21160
|
-
}
|
|
21161
21025
|
var QueryWriteRaiseQueryComponent = /** @class */ (function () {
|
|
21162
21026
|
function QueryWriteRaiseQueryComponent() {
|
|
21163
21027
|
}
|
|
21164
21028
|
return QueryWriteRaiseQueryComponent;
|
|
21165
21029
|
}());
|
|
21166
21030
|
QueryWriteRaiseQueryComponent.ɵfac = function QueryWriteRaiseQueryComponent_Factory(t) { return new (t || QueryWriteRaiseQueryComponent)(); };
|
|
21167
|
-
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls:
|
|
21031
|
+
QueryWriteRaiseQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup" }, decls: 62, vars: 60, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-raise-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-fullName-hint", 1, "govuk-hint"], ["id", "query-raise-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-fullName", "name", "query-raise-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-subject-hint", 1, "govuk-hint"], ["id", "query-raise-subject-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-subject", "name", "query-raise-subject", "type", "text", 1, "govuk-input", 3, "formControlName"], ["for", "query-raise-body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-raise-body-hint", 1, "govuk-hint"], ["id", "query-raise-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-raise-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "query-raise-isHearingRelated-yes", "name", "query-raise-isHearingRelated-yes", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-isHearingRelated-no", "name", "query-raise-isHearingRelated-no", "type", "radio", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "query-raise-isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], ["id", "query-raise-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-raise-subject-error", 1, "govuk-error-message"], ["id", "query-raise-body-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) {
|
|
21168
21032
|
if (rf & 1) {
|
|
21169
21033
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
21170
21034
|
i0__namespace.ɵɵelementStart(1, "div", 0);
|
|
@@ -21253,7 +21117,6 @@
|
|
|
21253
21117
|
i0__namespace.ɵɵelementEnd();
|
|
21254
21118
|
i0__namespace.ɵɵelementEnd();
|
|
21255
21119
|
i0__namespace.ɵɵelementEnd();
|
|
21256
|
-
i0__namespace.ɵɵtemplate(62, QueryWriteRaiseQueryComponent_ng_container_62_Template, 3, 0, "ng-container", 27);
|
|
21257
21120
|
i0__namespace.ɵɵelementEnd();
|
|
21258
21121
|
i0__namespace.ɵɵelementEnd();
|
|
21259
21122
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21271,56 +21134,54 @@
|
|
|
21271
21134
|
var tmp_18_0 = null;
|
|
21272
21135
|
var tmp_19_0 = null;
|
|
21273
21136
|
i0__namespace.ɵɵadvance(3);
|
|
21274
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4,
|
|
21137
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 34, "Raise a query"));
|
|
21275
21138
|
i0__namespace.ɵɵadvance(3);
|
|
21276
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
21139
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 36, "Enter query details"));
|
|
21277
21140
|
i0__namespace.ɵɵadvance(6);
|
|
21278
21141
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21279
21142
|
i0__namespace.ɵɵadvance(2);
|
|
21280
21143
|
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);
|
|
21281
21144
|
i0__namespace.ɵɵadvance(3);
|
|
21282
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18,
|
|
21145
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(18, 38, "Full name"), " ");
|
|
21283
21146
|
i0__namespace.ɵɵadvance(3);
|
|
21284
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21,
|
|
21147
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(21, 40, "Your full name must be included here"), " ");
|
|
21285
21148
|
i0__namespace.ɵɵadvance(2);
|
|
21286
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("
|
|
21149
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_6_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21287
21150
|
i0__namespace.ɵɵadvance(1);
|
|
21288
21151
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_7_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_7_0.errors == null ? null : tmp_7_0.errors.length);
|
|
21289
21152
|
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21290
21153
|
i0__namespace.ɵɵadvance(1);
|
|
21291
21154
|
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);
|
|
21292
21155
|
i0__namespace.ɵɵadvance(3);
|
|
21293
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28,
|
|
21156
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(28, 42, "Query subject"), " ");
|
|
21294
21157
|
i0__namespace.ɵɵadvance(3);
|
|
21295
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31,
|
|
21158
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 44, "The subject should be a summary of your query"), " ");
|
|
21296
21159
|
i0__namespace.ɵɵadvance(2);
|
|
21297
|
-
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("
|
|
21160
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_12_0 = ctx.formGroup.get("subject")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21298
21161
|
i0__namespace.ɵɵadvance(1);
|
|
21299
21162
|
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_13_0 = ctx.formGroup.get("subject")) == null ? null : tmp_13_0.errors == null ? null : tmp_13_0.errors.length);
|
|
21300
21163
|
i0__namespace.ɵɵproperty("formControlName", "subject");
|
|
21301
21164
|
i0__namespace.ɵɵadvance(1);
|
|
21302
21165
|
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);
|
|
21303
21166
|
i0__namespace.ɵɵadvance(3);
|
|
21304
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38,
|
|
21167
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 46, "Query body"), " ");
|
|
21305
21168
|
i0__namespace.ɵɵadvance(3);
|
|
21306
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41,
|
|
21169
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(41, 48, "Include as many details as possible so case workers can respond to your query"), " ");
|
|
21307
21170
|
i0__namespace.ɵɵadvance(2);
|
|
21308
21171
|
i0__namespace.ɵɵproperty("ngIf", (tmp_18_0 = ctx.formGroup.get("body")) == null ? null : tmp_18_0.errors == null ? null : tmp_18_0.errors.length);
|
|
21309
21172
|
i0__namespace.ɵɵadvance(1);
|
|
21310
21173
|
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);
|
|
21311
21174
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21312
21175
|
i0__namespace.ɵɵadvance(6);
|
|
21313
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50,
|
|
21176
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(50, 50, "Is the query hearing related?"), " ");
|
|
21314
21177
|
i0__namespace.ɵɵadvance(4);
|
|
21315
21178
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === true)("value", true);
|
|
21316
21179
|
i0__namespace.ɵɵadvance(2);
|
|
21317
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56,
|
|
21180
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(56, 52, "Is the query hearing related?", null, "Yes"), " ");
|
|
21318
21181
|
i0__namespace.ɵɵadvance(3);
|
|
21319
21182
|
i0__namespace.ɵɵproperty("checked", ctx.formGroup.get("isHearingRelated").value === false)("value", false);
|
|
21320
21183
|
i0__namespace.ɵɵadvance(2);
|
|
21321
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61,
|
|
21322
|
-
i0__namespace.ɵɵadvance(2);
|
|
21323
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.formGroup.get("isHearingRelated").value);
|
|
21184
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind3(61, 56, "Is the query hearing related?", null, "No"), " ");
|
|
21324
21185
|
}
|
|
21325
21186
|
}, encapsulation: 2 });
|
|
21326
21187
|
(function () {
|
|
@@ -21335,10 +21196,28 @@
|
|
|
21335
21196
|
}] });
|
|
21336
21197
|
})();
|
|
21337
21198
|
|
|
21338
|
-
function
|
|
21199
|
+
function QueryWriteRespondToQueryComponent_p_30_Template(rf, ctx) {
|
|
21339
21200
|
if (rf & 1) {
|
|
21340
|
-
i0__namespace.ɵɵelementStart(0, "p",
|
|
21341
|
-
i0__namespace.ɵɵelementStart(1, "span",
|
|
21201
|
+
i0__namespace.ɵɵelementStart(0, "p", 20);
|
|
21202
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21203
|
+
i0__namespace.ɵɵtext(2);
|
|
21204
|
+
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21205
|
+
i0__namespace.ɵɵelementEnd();
|
|
21206
|
+
i0__namespace.ɵɵtext(4);
|
|
21207
|
+
i0__namespace.ɵɵpipe(5, "rpxTranslate");
|
|
21208
|
+
i0__namespace.ɵɵelementEnd();
|
|
21209
|
+
}
|
|
21210
|
+
if (rf & 2) {
|
|
21211
|
+
i0__namespace.ɵɵadvance(2);
|
|
21212
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 2, "Error:"));
|
|
21213
|
+
i0__namespace.ɵɵadvance(2);
|
|
21214
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 4, "Enter a message"), " ");
|
|
21215
|
+
}
|
|
21216
|
+
}
|
|
21217
|
+
function QueryWriteRespondToQueryComponent_p_37_Template(rf, ctx) {
|
|
21218
|
+
if (rf & 1) {
|
|
21219
|
+
i0__namespace.ɵɵelementStart(0, "p", 22);
|
|
21220
|
+
i0__namespace.ɵɵelementStart(1, "span", 21);
|
|
21342
21221
|
i0__namespace.ɵɵtext(2);
|
|
21343
21222
|
i0__namespace.ɵɵpipe(3, "rpxTranslate");
|
|
21344
21223
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21359,7 +21238,7 @@
|
|
|
21359
21238
|
return QueryWriteRespondToQueryComponent;
|
|
21360
21239
|
}());
|
|
21361
21240
|
QueryWriteRespondToQueryComponent.ɵfac = function QueryWriteRespondToQueryComponent_Factory(t) { return new (t || QueryWriteRespondToQueryComponent)(); };
|
|
21362
|
-
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls:
|
|
21241
|
+
QueryWriteRespondToQueryComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup" }, decls: 40, vars: 35, consts: [[1, "govuk-!-margin-bottom-2"], ["href", "javascript:void(0)", 1, "govuk-back-link", "govuk-!-margin-top-0"], [1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "queryItem"], [1, "query-respond"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group"], [1, "govuk-label-wrapper"], ["for", "query-respond-fullName", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "query-respond-fullName-hint", 1, "govuk-hint"], ["id", "query-respond-fullName-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-respond-fullName", "name", "query-respond-fullName", "type", "text", 1, "govuk-input", 3, "formControlName"], [1, "govuk-form-group", "body-textarea"], ["for", "query-body", 1, "govuk-label", "govuk-!-font-weight-bold"], ["id", "query-body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "query-body", "name", "query-body", "rows", "5", "aria-describedby", "query-body-hint query-body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "query-respond-fullName-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "query-body-error", 1, "govuk-error-message"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) {
|
|
21363
21242
|
if (rf & 1) {
|
|
21364
21243
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
21365
21244
|
i0__namespace.ɵɵelementStart(1, "a", 1);
|
|
@@ -21399,9 +21278,23 @@
|
|
|
21399
21278
|
i0__namespace.ɵɵpipe(26, "rpxTranslate");
|
|
21400
21279
|
i0__namespace.ɵɵelementEnd();
|
|
21401
21280
|
i0__namespace.ɵɵelementEnd();
|
|
21402
|
-
i0__namespace.ɵɵ
|
|
21403
|
-
i0__namespace.ɵɵ
|
|
21404
|
-
i0__namespace.ɵɵ
|
|
21281
|
+
i0__namespace.ɵɵelementStart(27, "div", 13);
|
|
21282
|
+
i0__namespace.ɵɵtext(28);
|
|
21283
|
+
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
21284
|
+
i0__namespace.ɵɵelementEnd();
|
|
21285
|
+
i0__namespace.ɵɵtemplate(30, QueryWriteRespondToQueryComponent_p_30_Template, 6, 6, "p", 14);
|
|
21286
|
+
i0__namespace.ɵɵelement(31, "input", 15);
|
|
21287
|
+
i0__namespace.ɵɵelementEnd();
|
|
21288
|
+
i0__namespace.ɵɵelementStart(32, "div", 16);
|
|
21289
|
+
i0__namespace.ɵɵelementStart(33, "div", 11);
|
|
21290
|
+
i0__namespace.ɵɵelementStart(34, "label", 17);
|
|
21291
|
+
i0__namespace.ɵɵtext(35);
|
|
21292
|
+
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
21293
|
+
i0__namespace.ɵɵelementEnd();
|
|
21294
|
+
i0__namespace.ɵɵelementEnd();
|
|
21295
|
+
i0__namespace.ɵɵtemplate(37, QueryWriteRespondToQueryComponent_p_37_Template, 6, 6, "p", 18);
|
|
21296
|
+
i0__namespace.ɵɵelementStart(38, "textarea", 19);
|
|
21297
|
+
i0__namespace.ɵɵtext(39, " ");
|
|
21405
21298
|
i0__namespace.ɵɵelementEnd();
|
|
21406
21299
|
i0__namespace.ɵɵelementEnd();
|
|
21407
21300
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -21410,28 +21303,42 @@
|
|
|
21410
21303
|
}
|
|
21411
21304
|
if (rf & 2) {
|
|
21412
21305
|
var tmp_6_0 = null;
|
|
21413
|
-
var tmp_8_0 = null;
|
|
21414
21306
|
var tmp_9_0 = null;
|
|
21307
|
+
var tmp_10_0 = null;
|
|
21308
|
+
var tmp_12_0 = null;
|
|
21309
|
+
var tmp_14_0 = null;
|
|
21310
|
+
var tmp_15_0 = null;
|
|
21415
21311
|
i0__namespace.ɵɵadvance(2);
|
|
21416
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3,
|
|
21312
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(3, 21, "Back to tasks"));
|
|
21417
21313
|
i0__namespace.ɵɵadvance(5);
|
|
21418
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8,
|
|
21314
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(8, 23, "Respond to query"));
|
|
21419
21315
|
i0__namespace.ɵɵadvance(3);
|
|
21420
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11,
|
|
21316
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 25, "Query details"));
|
|
21421
21317
|
i0__namespace.ɵɵadvance(5);
|
|
21422
21318
|
i0__namespace.ɵɵproperty("queryItem", ctx.queryItem);
|
|
21423
21319
|
i0__namespace.ɵɵadvance(4);
|
|
21424
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20,
|
|
21320
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(20, 27, "Respond to a query"));
|
|
21425
21321
|
i0__namespace.ɵɵadvance(2);
|
|
21426
21322
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
21427
21323
|
i0__namespace.ɵɵadvance(1);
|
|
21428
|
-
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("
|
|
21324
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_6_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_6_0.errors == null ? null : tmp_6_0.errors.length);
|
|
21325
|
+
i0__namespace.ɵɵadvance(3);
|
|
21326
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(26, 29, "Full name"), " ");
|
|
21327
|
+
i0__namespace.ɵɵadvance(3);
|
|
21328
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(29, 31, "Your full name must be included here"), " ");
|
|
21329
|
+
i0__namespace.ɵɵadvance(2);
|
|
21330
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_9_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_9_0.errors == null ? null : tmp_9_0.errors.length);
|
|
21331
|
+
i0__namespace.ɵɵadvance(1);
|
|
21332
|
+
i0__namespace.ɵɵclassProp("govuk-input--error", (tmp_10_0 = ctx.formGroup.get("fullName")) == null ? null : tmp_10_0.errors == null ? null : tmp_10_0.errors.length);
|
|
21333
|
+
i0__namespace.ɵɵproperty("formControlName", "fullName");
|
|
21334
|
+
i0__namespace.ɵɵadvance(1);
|
|
21335
|
+
i0__namespace.ɵɵclassProp("govuk-form-group--error", (tmp_12_0 = ctx.formGroup.get("body")) == null ? null : tmp_12_0.errors == null ? null : tmp_12_0.errors.length);
|
|
21429
21336
|
i0__namespace.ɵɵadvance(3);
|
|
21430
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
21337
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(36, 33, "Response message"), " ");
|
|
21431
21338
|
i0__namespace.ɵɵadvance(2);
|
|
21432
|
-
i0__namespace.ɵɵproperty("ngIf", (
|
|
21339
|
+
i0__namespace.ɵɵproperty("ngIf", (tmp_14_0 = ctx.formGroup.get("body")) == null ? null : tmp_14_0.errors == null ? null : tmp_14_0.errors.length);
|
|
21433
21340
|
i0__namespace.ɵɵadvance(1);
|
|
21434
|
-
i0__namespace.ɵɵclassProp("govuk-textarea--error", (
|
|
21341
|
+
i0__namespace.ɵɵclassProp("govuk-textarea--error", (tmp_15_0 = ctx.formGroup.get("body")) == null ? null : tmp_15_0.errors == null ? null : tmp_15_0.errors.length);
|
|
21435
21342
|
i0__namespace.ɵɵproperty("formControlName", "body");
|
|
21436
21343
|
}
|
|
21437
21344
|
}, styles: [".query-respond[_ngcontent-%COMP%]{width:100%;max-width:720px}"] });
|
|
@@ -29361,7 +29268,6 @@
|
|
|
29361
29268
|
QueryWriteRaiseQueryComponent,
|
|
29362
29269
|
QueryCaseDetailsHeaderComponent,
|
|
29363
29270
|
QueryWriteAddDocumentsComponent,
|
|
29364
|
-
QueryWriteDateInputComponent
|
|
29365
29271
|
];
|
|
29366
29272
|
var PaletteModule = /** @class */ (function () {
|
|
29367
29273
|
function PaletteModule() {
|
|
@@ -29547,8 +29453,7 @@
|
|
|
29547
29453
|
QueryWriteRespondToQueryComponent,
|
|
29548
29454
|
QueryWriteRaiseQueryComponent,
|
|
29549
29455
|
QueryCaseDetailsHeaderComponent,
|
|
29550
|
-
QueryWriteAddDocumentsComponent,
|
|
29551
|
-
QueryWriteDateInputComponent], imports: [i5.CommonModule,
|
|
29456
|
+
QueryWriteAddDocumentsComponent], imports: [i5.CommonModule,
|
|
29552
29457
|
i1$1.RouterModule,
|
|
29553
29458
|
i3.FormsModule,
|
|
29554
29459
|
i3.ReactiveFormsModule,
|
|
@@ -29695,8 +29600,7 @@
|
|
|
29695
29600
|
QueryWriteRespondToQueryComponent,
|
|
29696
29601
|
QueryWriteRaiseQueryComponent,
|
|
29697
29602
|
QueryCaseDetailsHeaderComponent,
|
|
29698
|
-
QueryWriteAddDocumentsComponent
|
|
29699
|
-
QueryWriteDateInputComponent] });
|
|
29603
|
+
QueryWriteAddDocumentsComponent] });
|
|
29700
29604
|
})();
|
|
29701
29605
|
(function () {
|
|
29702
29606
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(PaletteModule, [{
|
|
@@ -29842,7 +29746,7 @@
|
|
|
29842
29746
|
i0__namespace.ɵɵsetComponentScope(QueryDetailsComponent, [i5__namespace.NgIf, QueryDetailsTableComponent], [i1__namespace.RpxTranslatePipe]);
|
|
29843
29747
|
i0__namespace.ɵɵsetComponentScope(QueryWriteRespondToQueryComponent, [QueryCaseDetailsHeaderComponent,
|
|
29844
29748
|
QueryDetailsTableComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i5__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], [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
|
|
29749
|
+
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]);
|
|
29846
29750
|
i0__namespace.ɵɵsetComponentScope(QueryWriteAddDocumentsComponent, [WriteCollectionFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
29847
29751
|
|
|
29848
29752
|
var Confirmation = /** @class */ (function () {
|
|
@@ -40467,7 +40371,6 @@
|
|
|
40467
40371
|
exports.QueryListData = QueryListData;
|
|
40468
40372
|
exports.QueryListItem = QueryListItem;
|
|
40469
40373
|
exports.QueryWriteAddDocumentsComponent = QueryWriteAddDocumentsComponent;
|
|
40470
|
-
exports.QueryWriteDateInputComponent = QueryWriteDateInputComponent;
|
|
40471
40374
|
exports.QueryWriteRaiseQueryComponent = QueryWriteRaiseQueryComponent;
|
|
40472
40375
|
exports.QueryWriteRespondToQueryComponent = QueryWriteRespondToQueryComponent;
|
|
40473
40376
|
exports.ReadCaseFlagFieldComponent = ReadCaseFlagFieldComponent;
|