@hmcts/ccd-case-ui-toolkit 6.16.0-query-management-query-list-v2 → 6.16.0-query-management-query-list-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 +354 -323
- 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 +52 -48
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +32 -16
- package/esm2015/lib/shared/components/palette/query-management/domain/query-list/query-list-data/query-list-data.model.js +9 -7
- package/esm2015/lib/shared/components/palette/query-management/domain/query-list/query-list-item/query-list-item.model.js +17 -14
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +136 -111
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +2 -1
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/domain/query-list/query-list-data/query-list-data.model.d.ts +1 -0
- package/lib/shared/components/palette/query-management/domain/query-list/query-list-data/query-list-data.model.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/domain/query-list/query-list-item/query-list-item.model.d.ts +2 -4
- package/lib/shared/components/palette/query-management/domain/query-list/query-list-item/query-list-item.model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('moment'), require('underscore'), require('pegjs'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/input'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('ngx-md'), require('@hmcts/media-viewer'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'moment', 'underscore', 'pegjs', 'util', '@edium/fsm', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/input', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', 'ngx-md', '@hmcts/media-viewer', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.moment, global.underscore, global.pegjs, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.input, global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global["ngx-md"], global.
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/router'), require('@angular/forms'), require('rx-polling'), require('rxjs'), require('@angular/common/http'), require('rxjs/operators'), require('class-transformer'), require('moment'), require('underscore'), require('pegjs'), require('util'), require('@edium/fsm'), require('@angular/material/dialog'), require('@nicky-lenaers/ngx-scroll-to'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@hmcts/ccpay-web-component'), require('rpx-xui-translation'), require('@angular/cdk/overlay'), require('@angular/cdk/tree'), require('@angular/material/input'), require('@angular-material-components/datetime-picker'), require('@angular-material-components/moment-adapter'), require('@angular/material/datepicker'), require('@angular/material/form-field'), require('ngx-md'), require('@hmcts/media-viewer'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', '@angular/router', '@angular/forms', 'rx-polling', 'rxjs', '@angular/common/http', 'rxjs/operators', 'class-transformer', 'moment', 'underscore', 'pegjs', 'util', '@edium/fsm', '@angular/material/dialog', '@nicky-lenaers/ngx-scroll-to', '@angular/material/autocomplete', '@angular/material/core', '@hmcts/ccpay-web-component', 'rpx-xui-translation', '@angular/cdk/overlay', '@angular/cdk/tree', '@angular/material/input', '@angular-material-components/datetime-picker', '@angular-material-components/moment-adapter', '@angular/material/datepicker', '@angular/material/form-field', 'ngx-md', '@hmcts/media-viewer', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.ng.router, global.ng.forms, global["rx-polling"], global.rxjs, global.ng.common.http, global.rxjs.operators, global["class-transformer"], global.moment, global.underscore, global.pegjs, global.util, global["@edium/fsm"], global.ng.material.dialog, global["@nicky-lenaers/ngx-scroll-to"], global.ng.material.autocomplete, global.ng.material.core, global["@hmcts/ccpay-web-component"], global.i2$1, global.ng.cdk.overlay, global.ng.cdk.tree, global.ng.material.input, global["@angular-material-components/datetime-picker"], global["@angular-material-components/moment-adapter"], global.ng.material.datepicker, global.ng.material.formField, global["ngx-md"], global.i12, global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i3, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2, i5, i6, i3$1, i2$1, i1$4, i7, i3$2, i4, momentAdapter, i5$1, i6$1, i1$5, i12, i6$2, i1$6, i9) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -27,24 +27,25 @@
|
|
|
27
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
28
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
29
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
30
|
-
var
|
|
30
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
31
31
|
var polling__default = /*#__PURE__*/_interopDefaultLegacy(polling);
|
|
32
32
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
33
33
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
|
|
34
34
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
35
35
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
36
|
-
var i2__namespace
|
|
36
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
37
37
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
38
38
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
39
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
39
|
+
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
40
|
+
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
40
41
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
41
42
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
42
|
-
var i3__namespace$
|
|
43
|
+
var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$2);
|
|
43
44
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
44
45
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
45
46
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
46
47
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
47
|
-
var
|
|
48
|
+
var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
|
|
48
49
|
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
49
50
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
50
51
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
@@ -1098,12 +1099,12 @@
|
|
|
1098
1099
|
DateInputComponent.ɵfac = function DateInputComponent_Factory(t) { return new (t || DateInputComponent)(); };
|
|
1099
1100
|
DateInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DateInputComponent, selectors: [["cut-date-input"]], inputs: { id: "id", mandatory: "mandatory", isDateTime: "isDateTime", formControl: "formControl", isInvalid: "isInvalid" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
1100
1101
|
{
|
|
1101
|
-
provide:
|
|
1102
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
1102
1103
|
useExisting: i0.forwardRef(function () { return DateInputComponent; }),
|
|
1103
1104
|
multi: true
|
|
1104
1105
|
},
|
|
1105
1106
|
{
|
|
1106
|
-
provide:
|
|
1107
|
+
provide: i3.NG_VALIDATORS,
|
|
1107
1108
|
useExisting: i0.forwardRef(function () { return DateInputComponent; }),
|
|
1108
1109
|
multi: true
|
|
1109
1110
|
}
|
|
@@ -1169,12 +1170,12 @@
|
|
|
1169
1170
|
templateUrl: './date-input.html',
|
|
1170
1171
|
providers: [
|
|
1171
1172
|
{
|
|
1172
|
-
provide:
|
|
1173
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
1173
1174
|
useExisting: i0.forwardRef(function () { return DateInputComponent; }),
|
|
1174
1175
|
multi: true
|
|
1175
1176
|
},
|
|
1176
1177
|
{
|
|
1177
|
-
provide:
|
|
1178
|
+
provide: i3.NG_VALIDATORS,
|
|
1178
1179
|
useExisting: i0.forwardRef(function () { return DateInputComponent; }),
|
|
1179
1180
|
multi: true
|
|
1180
1181
|
}
|
|
@@ -4364,13 +4365,13 @@
|
|
|
4364
4365
|
return this.mergeFields(caseFields, formFields, FieldsUtils.LABEL_MERGE_FUNCTION);
|
|
4365
4366
|
};
|
|
4366
4367
|
FieldsUtils.prototype.controlIterator = function (aControl, formArrayFn, formGroupFn, controlFn) {
|
|
4367
|
-
if (aControl instanceof
|
|
4368
|
+
if (aControl instanceof i3.FormArray) { // We're in a collection
|
|
4368
4369
|
formArrayFn(aControl);
|
|
4369
4370
|
}
|
|
4370
|
-
else if (aControl instanceof
|
|
4371
|
+
else if (aControl instanceof i3.FormGroup) { // We're in a complex type.
|
|
4371
4372
|
formGroupFn(aControl);
|
|
4372
4373
|
}
|
|
4373
|
-
else if (aControl instanceof
|
|
4374
|
+
else if (aControl instanceof i3.FormControl) { // FormControl
|
|
4374
4375
|
controlFn(aControl);
|
|
4375
4376
|
}
|
|
4376
4377
|
};
|
|
@@ -4922,19 +4923,19 @@
|
|
|
4922
4923
|
FormValidatorsService.addValidators = function (caseField, control) {
|
|
4923
4924
|
if (caseField.display_context === Constants.MANDATORY &&
|
|
4924
4925
|
FormValidatorsService.CUSTOM_VALIDATED_TYPES.indexOf(caseField.field_type.type) === -1) {
|
|
4925
|
-
var validators = [
|
|
4926
|
+
var validators = [i3.Validators.required];
|
|
4926
4927
|
if (caseField.field_type.type === 'Text') {
|
|
4927
4928
|
if (caseField.field_type.regular_expression) {
|
|
4928
|
-
validators.push(
|
|
4929
|
+
validators.push(i3.Validators.pattern(caseField.field_type.regular_expression));
|
|
4929
4930
|
}
|
|
4930
4931
|
else {
|
|
4931
4932
|
validators.push(this.emptyValidator());
|
|
4932
4933
|
}
|
|
4933
4934
|
if (caseField.field_type.min && (typeof caseField.field_type.min === 'number')) {
|
|
4934
|
-
validators.push(
|
|
4935
|
+
validators.push(i3.Validators.minLength(caseField.field_type.min));
|
|
4935
4936
|
}
|
|
4936
4937
|
if (caseField.field_type.max && (typeof caseField.field_type.max === 'number')) {
|
|
4937
|
-
validators.push(
|
|
4938
|
+
validators.push(i3.Validators.maxLength(caseField.field_type.max));
|
|
4938
4939
|
}
|
|
4939
4940
|
}
|
|
4940
4941
|
if (control.validator) {
|
|
@@ -5004,7 +5005,7 @@
|
|
|
5004
5005
|
// No validators by default, override this method to add validators to the form control
|
|
5005
5006
|
};
|
|
5006
5007
|
AbstractFormFieldComponent.prototype.addControlToParent = function (control, parent, replace) {
|
|
5007
|
-
if (parent instanceof
|
|
5008
|
+
if (parent instanceof i3.FormArray) {
|
|
5008
5009
|
return this.addControlToFormArray(control, parent, replace);
|
|
5009
5010
|
}
|
|
5010
5011
|
return this.addControlToFormGroup(control, parent, replace);
|
|
@@ -5120,7 +5121,7 @@
|
|
|
5120
5121
|
this.handleFormGroup = function (formGroup) {
|
|
5121
5122
|
_this.evaluateControl(formGroup);
|
|
5122
5123
|
var groupControl = formGroup;
|
|
5123
|
-
if (formGroup.get('value') && formGroup.get('value') instanceof
|
|
5124
|
+
if (formGroup.get('value') && formGroup.get('value') instanceof i3.FormGroup) { // Complex Field
|
|
5124
5125
|
groupControl = formGroup.get('value');
|
|
5125
5126
|
}
|
|
5126
5127
|
else if (formGroup.controls) {
|
|
@@ -5142,7 +5143,7 @@
|
|
|
5142
5143
|
}
|
|
5143
5144
|
ConditionalShowFormDirective.prototype.ngOnInit = function () {
|
|
5144
5145
|
if (!this.formGroup) {
|
|
5145
|
-
this.formGroup = new
|
|
5146
|
+
this.formGroup = new i3.FormGroup({});
|
|
5146
5147
|
}
|
|
5147
5148
|
};
|
|
5148
5149
|
/**
|
|
@@ -6618,7 +6619,7 @@
|
|
|
6618
6619
|
LabelSubstitutorDirective.prototype.ngOnInit = function () {
|
|
6619
6620
|
this.initialLabel = this.caseField.label;
|
|
6620
6621
|
this.initialHintText = this.caseField.hint_text;
|
|
6621
|
-
this.formGroup = this.formGroup || new
|
|
6622
|
+
this.formGroup = this.formGroup || new i3.FormGroup({});
|
|
6622
6623
|
var fields = this.getReadOnlyAndFormFields();
|
|
6623
6624
|
if (this.shouldSubstitute('label')) {
|
|
6624
6625
|
this.caseField.label = this.resolvePlaceholders(fields, this.caseField.label);
|
|
@@ -7439,7 +7440,7 @@
|
|
|
7439
7440
|
if (inArray && group.controls['value']) {
|
|
7440
7441
|
group = group.controls['value'];
|
|
7441
7442
|
}
|
|
7442
|
-
if (group && group.constructor &&
|
|
7443
|
+
if (group && group.constructor && i3.FormArray.name === group.constructor.name) {
|
|
7443
7444
|
inArray = true;
|
|
7444
7445
|
}
|
|
7445
7446
|
else {
|
|
@@ -9521,9 +9522,9 @@
|
|
|
9521
9522
|
this.sessionStorageService.setItem('eventUrl', this.router.url);
|
|
9522
9523
|
}
|
|
9523
9524
|
this.form = this.fb.group({
|
|
9524
|
-
data: new
|
|
9525
|
+
data: new i3.FormGroup({}),
|
|
9525
9526
|
event: this.fb.group({
|
|
9526
|
-
id: [this.eventTrigger.id,
|
|
9527
|
+
id: [this.eventTrigger.id, i3.Validators.required],
|
|
9527
9528
|
summary: [''],
|
|
9528
9529
|
description: ['']
|
|
9529
9530
|
})
|
|
@@ -9589,7 +9590,7 @@
|
|
|
9589
9590
|
}());
|
|
9590
9591
|
CaseEditComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
9591
9592
|
CaseEditComponent.ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
|
|
9592
|
-
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
9593
|
+
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(FieldsUtils), i0__namespace.ɵɵdirectiveInject(FieldsPurger), i0__namespace.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0__namespace.ɵɵdirectiveInject(WizardFactoryService), i0__namespace.ɵɵdirectiveInject(SessionStorageService), i0__namespace.ɵɵdirectiveInject(WindowService)); };
|
|
9593
9594
|
CaseEditComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0__namespace.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) {
|
|
9594
9595
|
if (rf & 1) {
|
|
9595
9596
|
i0__namespace.ɵɵelement(0, "router-outlet");
|
|
@@ -9604,7 +9605,7 @@
|
|
|
9604
9605
|
styleUrls: ['../case-edit.scss'],
|
|
9605
9606
|
providers: [GreyBarService]
|
|
9606
9607
|
}]
|
|
9607
|
-
}], function () { return [{ type:
|
|
9608
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: i1__namespace$1.Router }, { type: i1__namespace$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }]; }, { eventTrigger: [{
|
|
9608
9609
|
type: i0.Input
|
|
9609
9610
|
}], submit: [{
|
|
9610
9611
|
type: i0.Input
|
|
@@ -9687,7 +9688,7 @@
|
|
|
9687
9688
|
this.caseEdit = caseEdit;
|
|
9688
9689
|
this.router = router;
|
|
9689
9690
|
this.triggerText = 'Close and Return to case details';
|
|
9690
|
-
this.formGroup = new
|
|
9691
|
+
this.formGroup = new i3.FormControl();
|
|
9691
9692
|
this.eventTrigger = this.caseEdit.eventTrigger;
|
|
9692
9693
|
this.editForm = this.caseEdit.form;
|
|
9693
9694
|
this.caseFields = this.getCaseFields();
|
|
@@ -11120,16 +11121,16 @@
|
|
|
11120
11121
|
function WriteAddressFieldComponent(addressesService, isCompoundPipe) {
|
|
11121
11122
|
var _this = _super.call(this) || this;
|
|
11122
11123
|
_this.isCompoundPipe = isCompoundPipe;
|
|
11123
|
-
_this.addressFormGroup = new
|
|
11124
|
+
_this.addressFormGroup = new i3.FormGroup({});
|
|
11124
11125
|
_this.missingPostcode = false;
|
|
11125
11126
|
_this.addressesService = addressesService;
|
|
11126
11127
|
return _this;
|
|
11127
11128
|
}
|
|
11128
11129
|
WriteAddressFieldComponent.prototype.ngOnInit = function () {
|
|
11129
11130
|
if (!this.isComplexWithHiddenFields()) {
|
|
11130
|
-
this.postcode = new
|
|
11131
|
+
this.postcode = new i3.FormControl('');
|
|
11131
11132
|
this.addressFormGroup.addControl('postcode', this.postcode);
|
|
11132
|
-
this.addressList = new
|
|
11133
|
+
this.addressList = new i3.FormControl('');
|
|
11133
11134
|
this.addressFormGroup.addControl('address', this.addressList);
|
|
11134
11135
|
}
|
|
11135
11136
|
};
|
|
@@ -11281,7 +11282,7 @@
|
|
|
11281
11282
|
}
|
|
11282
11283
|
AbstractFieldReadComponent.prototype.ngOnInit = function () {
|
|
11283
11284
|
if (!this.caseField.metadata) {
|
|
11284
|
-
this.registerControl(new
|
|
11285
|
+
this.registerControl(new i3.FormControl(this.caseField.value));
|
|
11285
11286
|
}
|
|
11286
11287
|
};
|
|
11287
11288
|
return AbstractFieldReadComponent;
|
|
@@ -11907,7 +11908,7 @@
|
|
|
11907
11908
|
_this.caseEditDataService = caseEditDataService;
|
|
11908
11909
|
_this.caseFlagFieldState = exports.CaseFlagFieldState;
|
|
11909
11910
|
_this.errorMessages = [];
|
|
11910
|
-
_this.caseFlagParentFormGroup = new
|
|
11911
|
+
_this.caseFlagParentFormGroup = new i3.FormGroup({});
|
|
11911
11912
|
_this.flagCommentsOptional = false;
|
|
11912
11913
|
_this.listOfValues = null;
|
|
11913
11914
|
_this.allCaseFlagStagesCompleted = false;
|
|
@@ -11927,7 +11928,7 @@
|
|
|
11927
11928
|
this.formGroup.removeControl(this.caseField.id);
|
|
11928
11929
|
}
|
|
11929
11930
|
// From this point, this.formGroup refers to the FormGroup for the FlagLauncher field, not the parent FormGroup
|
|
11930
|
-
this.formGroup = this.registerControl(new
|
|
11931
|
+
this.formGroup = this.registerControl(new i3.FormGroup({}, {
|
|
11931
11932
|
validators: function (_) {
|
|
11932
11933
|
if (!_this.allCaseFlagStagesCompleted) {
|
|
11933
11934
|
// Return an error to mark the FormGroup as invalid if not all Case Flag stages have been completed
|
|
@@ -12360,13 +12361,13 @@
|
|
|
12360
12361
|
WriteCaseLinkFieldComponent.prototype.ngOnInit = function () {
|
|
12361
12362
|
var e_1, _a;
|
|
12362
12363
|
if (this.caseField.value) {
|
|
12363
|
-
this.caseLinkGroup = this.registerControl(new
|
|
12364
|
-
CaseReference: new
|
|
12364
|
+
this.caseLinkGroup = this.registerControl(new i3.FormGroup({
|
|
12365
|
+
CaseReference: new i3.FormControl(this.caseField.value.CaseReference, i3.Validators.required),
|
|
12365
12366
|
}), true);
|
|
12366
12367
|
}
|
|
12367
12368
|
else {
|
|
12368
|
-
this.caseLinkGroup = this.registerControl(new
|
|
12369
|
-
CaseReference: new
|
|
12369
|
+
this.caseLinkGroup = this.registerControl(new i3.FormGroup({
|
|
12370
|
+
CaseReference: new i3.FormControl(null, i3.Validators.required),
|
|
12370
12371
|
}), true);
|
|
12371
12372
|
}
|
|
12372
12373
|
this.caseReferenceControl = this.caseLinkGroup.controls['CaseReference'];
|
|
@@ -12447,7 +12448,7 @@
|
|
|
12447
12448
|
i0__namespace.ɵɵadvance(1);
|
|
12448
12449
|
i0__namespace.ɵɵproperty("id", ctx.id())("formControl", ctx.caseReferenceControl);
|
|
12449
12450
|
}
|
|
12450
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
12451
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
12451
12452
|
var ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent);
|
|
12452
12453
|
(function () {
|
|
12453
12454
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteCaseLinkFieldComponent, [{
|
|
@@ -12749,7 +12750,7 @@
|
|
|
12749
12750
|
this.profileSubscription = this.profileNotifier.profile.subscribe(function (_) { return _this.profile = _; });
|
|
12750
12751
|
}
|
|
12751
12752
|
this.caseField.value = this.caseField.value || [];
|
|
12752
|
-
this.formArray = this.registerControl(new
|
|
12753
|
+
this.formArray = this.registerControl(new i3.FormArray([]), true);
|
|
12753
12754
|
this.formArray['caseField'] = this.caseField;
|
|
12754
12755
|
this.caseField.value.forEach(function (item, index) {
|
|
12755
12756
|
var prefix = _this.buildIdPrefix(index);
|
|
@@ -12787,13 +12788,13 @@
|
|
|
12787
12788
|
group = this.formArray.at(index);
|
|
12788
12789
|
}
|
|
12789
12790
|
else {
|
|
12790
|
-
group = new
|
|
12791
|
+
group = new i3.FormGroup({});
|
|
12791
12792
|
}
|
|
12792
12793
|
var value;
|
|
12793
12794
|
if (this.isCollectionOfSimpleType(this.caseField)) {
|
|
12794
12795
|
value = group.get('value');
|
|
12795
12796
|
if (!value) {
|
|
12796
|
-
value = new
|
|
12797
|
+
value = new i3.FormControl(item.value);
|
|
12797
12798
|
// Now add the value FormControl to the outer group.
|
|
12798
12799
|
group.addControl('value', value);
|
|
12799
12800
|
}
|
|
@@ -12801,7 +12802,7 @@
|
|
|
12801
12802
|
else {
|
|
12802
12803
|
value = group.get('value');
|
|
12803
12804
|
if (!value) {
|
|
12804
|
-
value = new
|
|
12805
|
+
value = new i3.FormGroup({});
|
|
12805
12806
|
try {
|
|
12806
12807
|
for (var _d = __values(Object.keys(group.controls)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
12807
12808
|
var key = _e.value;
|
|
@@ -12827,7 +12828,7 @@
|
|
|
12827
12828
|
// and set up the id and value controls.
|
|
12828
12829
|
// Also set up an id control if it doesn't yet exist.
|
|
12829
12830
|
if (!id) {
|
|
12830
|
-
id = new
|
|
12831
|
+
id = new i3.FormControl(item.id);
|
|
12831
12832
|
group.addControl('id', id);
|
|
12832
12833
|
}
|
|
12833
12834
|
/**
|
|
@@ -12843,7 +12844,7 @@
|
|
|
12843
12844
|
}
|
|
12844
12845
|
// Now set up the CaseField and validation.
|
|
12845
12846
|
var cfid;
|
|
12846
|
-
if (value instanceof
|
|
12847
|
+
if (value instanceof i3.FormControl) {
|
|
12847
12848
|
cfid = 'value';
|
|
12848
12849
|
}
|
|
12849
12850
|
else {
|
|
@@ -12925,7 +12926,7 @@
|
|
|
12925
12926
|
};
|
|
12926
12927
|
WriteCollectionFieldComponent.prototype.getContainer = function (index) {
|
|
12927
12928
|
var value = this.formArray.at(index).get('value');
|
|
12928
|
-
if (value instanceof
|
|
12929
|
+
if (value instanceof i3.FormGroup) {
|
|
12929
12930
|
return value;
|
|
12930
12931
|
}
|
|
12931
12932
|
else {
|
|
@@ -13049,7 +13050,7 @@
|
|
|
13049
13050
|
};
|
|
13050
13051
|
return WriteCollectionFieldComponent;
|
|
13051
13052
|
}(AbstractFieldWriteComponent));
|
|
13052
|
-
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace
|
|
13053
|
+
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
13053
13054
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13054
13055
|
if (rf & 1) {
|
|
13055
13056
|
i0__namespace.ɵɵviewQuery(_c0$O, 1);
|
|
@@ -13098,7 +13099,7 @@
|
|
|
13098
13099
|
templateUrl: './write-collection-field.html',
|
|
13099
13100
|
styleUrls: ['./collection-field.scss']
|
|
13100
13101
|
}]
|
|
13101
|
-
}], function () { return [{ type: i1__namespace$3.MatDialog }, { type: i2__namespace
|
|
13102
|
+
}], function () { return [{ type: i1__namespace$3.MatDialog }, { type: i2__namespace.ScrollToService }, { type: ProfileNotifier }]; }, { caseFields: [{
|
|
13102
13103
|
type: i0.Input
|
|
13103
13104
|
}], formGroup: [{
|
|
13104
13105
|
type: i0.Input
|
|
@@ -13367,7 +13368,7 @@
|
|
|
13367
13368
|
_this.caseFields = [];
|
|
13368
13369
|
_this.renderLabel = true;
|
|
13369
13370
|
_this.ignoreMandatory = false;
|
|
13370
|
-
_this.complexGroup = new
|
|
13371
|
+
_this.complexGroup = new i3.FormGroup({});
|
|
13371
13372
|
return _this;
|
|
13372
13373
|
}
|
|
13373
13374
|
WriteComplexFieldComponent.prototype.ngOnInit = function () {
|
|
@@ -13388,7 +13389,7 @@
|
|
|
13388
13389
|
var e_1, _a;
|
|
13389
13390
|
var control = this.complexGroup.get(caseField.id);
|
|
13390
13391
|
if (!control) {
|
|
13391
|
-
control = new
|
|
13392
|
+
control = new i3.FormControl(caseField.value);
|
|
13392
13393
|
this.complexGroup.addControl(caseField.id, control);
|
|
13393
13394
|
}
|
|
13394
13395
|
// Add validators for addresses, if appropriate.
|
|
@@ -13955,21 +13956,21 @@
|
|
|
13955
13956
|
};
|
|
13956
13957
|
WriteDocumentFieldComponent.prototype.createDocumentFormWithValidator = function (document) {
|
|
13957
13958
|
var documentFormGroup = {
|
|
13958
|
-
document_url: new
|
|
13959
|
-
document_binary_url: new
|
|
13960
|
-
document_filename: new
|
|
13959
|
+
document_url: new i3.FormControl(document.document_url, i3.Validators.required),
|
|
13960
|
+
document_binary_url: new i3.FormControl(document.document_binary_url, i3.Validators.required),
|
|
13961
|
+
document_filename: new i3.FormControl(document.document_filename, i3.Validators.required)
|
|
13961
13962
|
};
|
|
13962
|
-
documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new
|
|
13963
|
-
this.uploadedDocument = this.registerControl(new
|
|
13963
|
+
documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new i3.FormControl(document.document_hash) }) : documentFormGroup;
|
|
13964
|
+
this.uploadedDocument = this.registerControl(new i3.FormGroup(documentFormGroup), true);
|
|
13964
13965
|
};
|
|
13965
13966
|
WriteDocumentFieldComponent.prototype.createDocumentForm = function (document) {
|
|
13966
13967
|
var documentFormGroup = {
|
|
13967
|
-
document_url: new
|
|
13968
|
-
document_binary_url: new
|
|
13969
|
-
document_filename: new
|
|
13968
|
+
document_url: new i3.FormControl(document.document_url),
|
|
13969
|
+
document_binary_url: new i3.FormControl(document.document_binary_url),
|
|
13970
|
+
document_filename: new i3.FormControl(document.document_filename)
|
|
13970
13971
|
};
|
|
13971
|
-
documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new
|
|
13972
|
-
this.uploadedDocument = this.registerControl(new
|
|
13972
|
+
documentFormGroup = this.secureModeOn ? Object.assign(Object.assign({}, documentFormGroup), { document_hash: new i3.FormControl(document.document_hash) }) : documentFormGroup;
|
|
13973
|
+
this.uploadedDocument = this.registerControl(new i3.FormGroup(documentFormGroup), true);
|
|
13973
13974
|
};
|
|
13974
13975
|
WriteDocumentFieldComponent.prototype.getErrorMessage = function (error) {
|
|
13975
13976
|
// Document Management unavailable
|
|
@@ -14265,7 +14266,7 @@
|
|
|
14265
14266
|
if (isNull || typeof this.caseField.value === 'object') {
|
|
14266
14267
|
this.caseField.value = null;
|
|
14267
14268
|
}
|
|
14268
|
-
this.dynamicListFormControl = this.registerControl(new
|
|
14269
|
+
this.dynamicListFormControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
14269
14270
|
this.dynamicListFormControl.setValue(this.caseField.value);
|
|
14270
14271
|
};
|
|
14271
14272
|
return WriteDynamicListFieldComponent;
|
|
@@ -14307,7 +14308,7 @@
|
|
|
14307
14308
|
i0__namespace.ɵɵadvance(2);
|
|
14308
14309
|
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
14309
14310
|
}
|
|
14310
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
14311
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, i1__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14311
14312
|
var ɵWriteDynamicListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicListFieldComponent);
|
|
14312
14313
|
(function () {
|
|
14313
14314
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicListFieldComponent, [{
|
|
@@ -14473,17 +14474,17 @@
|
|
|
14473
14474
|
}
|
|
14474
14475
|
WriteDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
|
|
14475
14476
|
var _this = this;
|
|
14476
|
-
this.checkboxes = new
|
|
14477
|
+
this.checkboxes = new i3.FormArray([]);
|
|
14477
14478
|
this.setInitialCaseList();
|
|
14478
14479
|
this.setInitialCaseFieldValue();
|
|
14479
14480
|
// Initialise array with existing values
|
|
14480
14481
|
if (this.caseField.value && Array.isArray(this.caseField.value)) {
|
|
14481
14482
|
var values = this.caseField.value;
|
|
14482
14483
|
values.forEach(function (value) {
|
|
14483
|
-
_this.checkboxes.push(new
|
|
14484
|
+
_this.checkboxes.push(new i3.FormControl(value));
|
|
14484
14485
|
});
|
|
14485
14486
|
}
|
|
14486
|
-
this.dynamicListFormControl = this.registerControl(new
|
|
14487
|
+
this.dynamicListFormControl = this.registerControl(new i3.FormControl(this.checkboxes.value));
|
|
14487
14488
|
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
14488
14489
|
};
|
|
14489
14490
|
WriteDynamicMultiSelectListFieldComponent.prototype.onCheckChange = function (event) {
|
|
@@ -14495,7 +14496,7 @@
|
|
|
14495
14496
|
var selectedListItem = this.getValueListItem(target.value);
|
|
14496
14497
|
if (!this.isSelected(target.value)) {
|
|
14497
14498
|
// Add a new control in the FormArray
|
|
14498
|
-
this.checkboxes.push(new
|
|
14499
|
+
this.checkboxes.push(new i3.FormControl(selectedListItem));
|
|
14499
14500
|
}
|
|
14500
14501
|
else {
|
|
14501
14502
|
// Remove the control from the FormArray
|
|
@@ -14733,7 +14734,7 @@
|
|
|
14733
14734
|
if (isNull || typeof this.caseField.value === 'object') {
|
|
14734
14735
|
this.caseField.value = [];
|
|
14735
14736
|
}
|
|
14736
|
-
this.dynamicRadioListControl = this.registerControl(new
|
|
14737
|
+
this.dynamicRadioListControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
14737
14738
|
this.dynamicRadioListControl.setValue(this.caseField.value);
|
|
14738
14739
|
};
|
|
14739
14740
|
WriteDynamicRadioListFieldComponent.prototype.createElementId = function (name) {
|
|
@@ -14774,7 +14775,7 @@
|
|
|
14774
14775
|
i0__namespace.ɵɵadvance(2);
|
|
14775
14776
|
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
14776
14777
|
}
|
|
14777
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf,
|
|
14778
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14778
14779
|
var ɵWriteDynamicRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicRadioListFieldComponent);
|
|
14779
14780
|
(function () {
|
|
14780
14781
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicRadioListFieldComponent, [{
|
|
@@ -14875,7 +14876,7 @@
|
|
|
14875
14876
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
14876
14877
|
}
|
|
14877
14878
|
WriteEmailFieldComponent.prototype.ngOnInit = function () {
|
|
14878
|
-
this.emailControl = this.registerControl(new
|
|
14879
|
+
this.emailControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
14879
14880
|
};
|
|
14880
14881
|
return WriteEmailFieldComponent;
|
|
14881
14882
|
}(AbstractFieldWriteComponent));
|
|
@@ -14904,7 +14905,7 @@
|
|
|
14904
14905
|
i0__namespace.ɵɵadvance(1);
|
|
14905
14906
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$h, ctx.emailControl.errors && (ctx.emailControl.dirty || ctx.emailControl.touched)))("id", ctx.id())("formControl", ctx.emailControl);
|
|
14906
14907
|
}
|
|
14907
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
14908
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14908
14909
|
var ɵWriteEmailFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteEmailFieldComponent);
|
|
14909
14910
|
(function () {
|
|
14910
14911
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteEmailFieldComponent, [{
|
|
@@ -15024,7 +15025,7 @@
|
|
|
15024
15025
|
if (isNull) {
|
|
15025
15026
|
this.caseField.value = null;
|
|
15026
15027
|
}
|
|
15027
|
-
this.fixedListFormControl = this.registerControl(new
|
|
15028
|
+
this.fixedListFormControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
15028
15029
|
this.fixedListFormControl.setValue(this.caseField.value);
|
|
15029
15030
|
};
|
|
15030
15031
|
return WriteFixedListFieldComponent;
|
|
@@ -15063,7 +15064,7 @@
|
|
|
15063
15064
|
i0__namespace.ɵɵadvance(2);
|
|
15064
15065
|
i0__namespace.ɵɵproperty("ngForOf", ctx.listItems);
|
|
15065
15066
|
}
|
|
15066
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
15067
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, i1__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15067
15068
|
var ɵWriteFixedListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteFixedListFieldComponent);
|
|
15068
15069
|
(function () {
|
|
15069
15070
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteFixedListFieldComponent, [{
|
|
@@ -15195,7 +15196,7 @@
|
|
|
15195
15196
|
}
|
|
15196
15197
|
WriteFixedRadioListFieldComponent.prototype.ngOnInit = function () {
|
|
15197
15198
|
var notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
15198
|
-
this.fixedRadioListControl = this.registerControl(new
|
|
15199
|
+
this.fixedRadioListControl = this.registerControl(new i3.FormControl(notEmpty ? this.caseField.value : null));
|
|
15199
15200
|
};
|
|
15200
15201
|
return WriteFixedRadioListFieldComponent;
|
|
15201
15202
|
}(AbstractFieldWriteComponent));
|
|
@@ -15230,7 +15231,7 @@
|
|
|
15230
15231
|
i0__namespace.ɵɵadvance(2);
|
|
15231
15232
|
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.field_type.fixed_list_items);
|
|
15232
15233
|
}
|
|
15233
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf,
|
|
15234
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
15234
15235
|
var ɵWriteFixedRadioListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteFixedRadioListFieldComponent);
|
|
15235
15236
|
(function () {
|
|
15236
15237
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteFixedRadioListFieldComponent, [{
|
|
@@ -15390,10 +15391,10 @@
|
|
|
15390
15391
|
WriteJudicialUserFieldComponent.prototype.ngOnInit = function () {
|
|
15391
15392
|
var _this = this;
|
|
15392
15393
|
this.jurisdictionId = this.route.snapshot.params[this.JURISDICTION_ID];
|
|
15393
|
-
this.judicialUserFormGroup = this.registerControl(new
|
|
15394
|
-
this.idamIdFormControl = new
|
|
15394
|
+
this.judicialUserFormGroup = this.registerControl(new i3.FormGroup({}), true);
|
|
15395
|
+
this.idamIdFormControl = new i3.FormControl('');
|
|
15395
15396
|
this.judicialUserFormGroup.addControl(this.IDAM_ID, this.idamIdFormControl);
|
|
15396
|
-
this.personalCodeFormControl = new
|
|
15397
|
+
this.personalCodeFormControl = new i3.FormControl('');
|
|
15397
15398
|
this.judicialUserFormGroup.addControl(this.PERSONAL_CODE, this.personalCodeFormControl);
|
|
15398
15399
|
this.sub = this.idamIdFormControl.valueChanges.pipe(operators.tap(function () { return _this.showAutocomplete = false; }), operators.tap(function () { return _this.filteredJudicialUsers = []; }), operators.debounceTime(300), operators.filter(function (searchTerm) { return searchTerm && searchTerm.length > _this.MINIMUM_SEARCH_CHARACTERS; }), operators.switchMap(function (searchTerm) { return _this.filter(searchTerm).pipe(operators.tap(function () { return _this.showAutocomplete = true; }), operators.catchError(function () { return _this.filteredJudicialUsers = []; })); })).subscribe(function (judicialUsers) {
|
|
15399
15400
|
_this.filteredJudicialUsers = judicialUsers;
|
|
@@ -15444,7 +15445,7 @@
|
|
|
15444
15445
|
i0__namespace.ɵɵadvance(1);
|
|
15445
15446
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.filteredJudicialUsers == null ? null : ctx.filteredJudicialUsers.length) && ctx.showAutocomplete);
|
|
15446
15447
|
}
|
|
15447
|
-
}, directives: [
|
|
15448
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i5__namespace.MatAutocompleteTrigger, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i5__namespace.MatAutocomplete, i1__namespace.NgForOf, i6__namespace.MatOption, i1__namespace.NgClass], pipes: [FieldLabelPipe], styles: [".mat-option[_ngcontent-%COMP%]:hover{background:#2596be}.mat-option.select-option[_ngcontent-%COMP%]:hover{background:#1d70b8;color:#fff}.hide-autocomplete[_ngcontent-%COMP%]{display:none}"] });
|
|
15448
15449
|
(function () {
|
|
15449
15450
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteJudicialUserFieldComponent, [{
|
|
15450
15451
|
type: i0.Component,
|
|
@@ -16363,9 +16364,9 @@
|
|
|
16363
16364
|
};
|
|
16364
16365
|
LinkCasesComponent.prototype.initForm = function () {
|
|
16365
16366
|
this.linkCaseForm = this.fb.group({
|
|
16366
|
-
caseNumber: ['', [
|
|
16367
|
+
caseNumber: ['', [i3.Validators.minLength(16), this.validatorsUtils.regexPattern(exports.Patterns.CASE_REF)]],
|
|
16367
16368
|
reasonType: this.getReasonTypeFormArray,
|
|
16368
|
-
otherDescription: ['', [
|
|
16369
|
+
otherDescription: ['', [i3.Validators.maxLength(100)]]
|
|
16369
16370
|
});
|
|
16370
16371
|
};
|
|
16371
16372
|
Object.defineProperty(LinkCasesComponent.prototype, "getReasonTypeFormArray", {
|
|
@@ -16597,7 +16598,7 @@
|
|
|
16597
16598
|
};
|
|
16598
16599
|
return LinkCasesComponent;
|
|
16599
16600
|
}());
|
|
16600
|
-
LinkCasesComponent.ɵfac = function LinkCasesComponent_Factory(t) { return new (t || LinkCasesComponent)(i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(
|
|
16601
|
+
LinkCasesComponent.ɵfac = function LinkCasesComponent_Factory(t) { return new (t || LinkCasesComponent)(i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(ValidatorsUtils), i0__namespace.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
16601
16602
|
LinkCasesComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: LinkCasesComponent, selectors: [["ccd-link-cases"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, decls: 36, vars: 11, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-caption-l"], [1, "govuk-heading-xl"], ["class", "form-group", 3, "formGroup", 4, "ngIf"], ["id", "caseNumber", 1, "govuk-form-group", 3, "ngClass"], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "300", 1, "govuk-table__header"], ["scope", "col", "width", "150", 1, "govuk-table__header"], ["scope", "col", "width", "200", 1, "govuk-table__header"], ["scope", "col", "width", "400", 1, "govuk-table__header"], ["scope", "col", "width", "50", 1, "govuk-table__header"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", "id", "next-button", 1, "button", "button-primary", 3, "click"], [1, "form-group", 3, "formGroup"], [1, "govuk-heading-s"], ["formControlName", "caseNumber", "id", "width-20", "name", "width-20", "type", "text", 1, "govuk-input", "govuk-input--width-20"], [1, "govuk-!-margin-top-3", 3, "ngClass"], ["id", "waste-hint", 1, "govuk-hint"], ["data-module", "govuk-checkboxes", "formArrayName", "reasonType", "id", "caseReason", 1, "govuk-checkboxes"], ["class", "govuk-checkboxes__item", 3, "formGroupName", 4, "ngFor", "ngForOf"], ["id", "other-description-char-limit-error", "class", "govuk-!-margin-top-3", 3, "ngClass", 4, "ngIf"], ["id", "propose", "type", "button", "data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "click"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-checkboxes__item", 3, "formGroupName"], ["formControlName", "selected", "name", "pos", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "value", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["id", "other-description-char-limit-error", 1, "govuk-!-margin-top-3", 3, "ngClass"], ["id", "otherDescription", "name", "otherDescription", "formControlName", "otherDescription", "rows", "5", "aria-describedby", "other-description-hint other-description-char-limit-info other-description-char-limit-error", 1, "govuk-textarea", "govuk-input--width-30"], ["id", "other-description-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-table__cell"], [1, "govuk-form-group--error", 3, "ngClass"], [1, "govuk-table__cell", 3, "title"], [4, "ngFor", "ngForOf"], [1, "govuk-link", "no-visited-state", 3, "click"], ["colspan", "6", 1, "govuk-table__cell"]], template: function LinkCasesComponent_Template(rf, ctx) {
|
|
16602
16603
|
if (rf & 1) {
|
|
16603
16604
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -16679,7 +16680,7 @@
|
|
|
16679
16680
|
styleUrls: ['./link-cases.component.scss'],
|
|
16680
16681
|
templateUrl: './link-cases.component.html',
|
|
16681
16682
|
}]
|
|
16682
|
-
}], function () { return [{ type: CasesService }, { type:
|
|
16683
|
+
}], function () { return [{ type: CasesService }, { type: i3__namespace.FormBuilder }, { type: ValidatorsUtils }, { type: LinkedCasesService }]; }, { linkedCasesStateEmitter: [{
|
|
16683
16684
|
type: i0.Output
|
|
16684
16685
|
}] });
|
|
16685
16686
|
})();
|
|
@@ -17536,7 +17537,7 @@
|
|
|
17536
17537
|
}());
|
|
17537
17538
|
UnLinkCasesComponent.LINKED_CASES_TAB_ID = 'linked_cases_sscs';
|
|
17538
17539
|
UnLinkCasesComponent.CASE_NAME_MISSING_TEXT = 'Case name missing';
|
|
17539
|
-
UnLinkCasesComponent.ɵfac = function UnLinkCasesComponent_Factory(t) { return new (t || UnLinkCasesComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
17540
|
+
UnLinkCasesComponent.ɵfac = function UnLinkCasesComponent_Factory(t) { return new (t || UnLinkCasesComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
17540
17541
|
UnLinkCasesComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: UnLinkCasesComponent, selectors: [["ccd-unlink-cases"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter", notifyAPIFailure: "notifyAPIFailure" }, decls: 1, vars: 1, consts: [["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["class", "govuk-form-group form-group", 3, "ngClass", "formGroup", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", "id", "next-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-form-group", "form-group", 3, "ngClass", "formGroup"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], ["class", "govuk-checkboxes__item", 4, "ngFor", "ngForOf"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-checkboxes__item"], ["formArrayName", "linkedCases", "name", "linkedCases", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "value", "checked", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"]], template: function UnLinkCasesComponent_Template(rf, ctx) {
|
|
17541
17542
|
if (rf & 1) {
|
|
17542
17543
|
i0__namespace.ɵɵtemplate(0, UnLinkCasesComponent_div_0_Template, 8, 1, "div", 0);
|
|
@@ -17544,7 +17545,7 @@
|
|
|
17544
17545
|
if (rf & 2) {
|
|
17545
17546
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkedCases.length > 0);
|
|
17546
17547
|
}
|
|
17547
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgClass,
|
|
17548
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgClass, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgForOf, i3__namespace.FormArrayName], pipes: [CaseReferencePipe], encapsulation: 2 });
|
|
17548
17549
|
(function () {
|
|
17549
17550
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UnLinkCasesComponent, [{
|
|
17550
17551
|
type: i0.Component,
|
|
@@ -17552,7 +17553,7 @@
|
|
|
17552
17553
|
selector: 'ccd-unlink-cases',
|
|
17553
17554
|
templateUrl: './unlink-cases.component.html'
|
|
17554
17555
|
}]
|
|
17555
|
-
}], function () { return [{ type:
|
|
17556
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: CasesService }, { type: LinkedCasesService }]; }, { linkedCasesStateEmitter: [{
|
|
17556
17557
|
type: i0.Output
|
|
17557
17558
|
}], notifyAPIFailure: [{
|
|
17558
17559
|
type: i0.Output
|
|
@@ -17978,7 +17979,7 @@
|
|
|
17978
17979
|
this.linkedCasesService.caseFieldValue = caseFieldValue.filter(function (item) { return unlinkedCaseRefereneIds_1.indexOf(item.id) === -1; });
|
|
17979
17980
|
}
|
|
17980
17981
|
this.formGroup.value.caseLinks = this.linkedCasesService.caseFieldValue;
|
|
17981
|
-
this.caseEditForm.controls['data'] = new
|
|
17982
|
+
this.caseEditForm.controls['data'] = new i3.FormGroup({ caseLinks: new i3.FormControl(this.linkedCasesService.caseFieldValue || []) });
|
|
17982
17983
|
this.caseEditDataService.setCaseEditForm(this.caseEditForm);
|
|
17983
17984
|
};
|
|
17984
17985
|
WriteLinkedCasesFieldComponent.prototype.isAtFinalPage = function () {
|
|
@@ -18081,7 +18082,7 @@
|
|
|
18081
18082
|
this.value = this.amount;
|
|
18082
18083
|
}
|
|
18083
18084
|
else if (this.caseField) {
|
|
18084
|
-
this.registerControl(new
|
|
18085
|
+
this.registerControl(new i3.FormControl(this.caseField.value));
|
|
18085
18086
|
this.value = this.caseField.value;
|
|
18086
18087
|
}
|
|
18087
18088
|
};
|
|
@@ -18182,12 +18183,12 @@
|
|
|
18182
18183
|
MoneyGbpInputComponent.ɵfac = function MoneyGbpInputComponent_Factory(t) { return new (t || MoneyGbpInputComponent)(); };
|
|
18183
18184
|
MoneyGbpInputComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MoneyGbpInputComponent, selectors: [["ccd-money-gbp-input"]], inputs: { id: "id", name: "name", mandatory: "mandatory", formControl: "formControl" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
18184
18185
|
{
|
|
18185
|
-
provide:
|
|
18186
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
18186
18187
|
useExisting: i0.forwardRef(function () { return MoneyGbpInputComponent; }),
|
|
18187
18188
|
multi: true,
|
|
18188
18189
|
},
|
|
18189
18190
|
{
|
|
18190
|
-
provide:
|
|
18191
|
+
provide: i3.NG_VALIDATORS,
|
|
18191
18192
|
useExisting: i0.forwardRef(function () { return MoneyGbpInputComponent; }),
|
|
18192
18193
|
multi: true,
|
|
18193
18194
|
}
|
|
@@ -18209,12 +18210,12 @@
|
|
|
18209
18210
|
template: "<input class=\"form-control form-control-1-8\"\n type=\"text\"\n [id]=\"id\"\n [name]=\"name\"\n [value]=\"displayValue\"\n (change)=\"onChange($event)\"\n (keyup)=\"onChange($event)\"\n [disabled]=\"disabled\"/>",
|
|
18210
18211
|
providers: [
|
|
18211
18212
|
{
|
|
18212
|
-
provide:
|
|
18213
|
+
provide: i3.NG_VALUE_ACCESSOR,
|
|
18213
18214
|
useExisting: i0.forwardRef(function () { return MoneyGbpInputComponent; }),
|
|
18214
18215
|
multi: true,
|
|
18215
18216
|
},
|
|
18216
18217
|
{
|
|
18217
|
-
provide:
|
|
18218
|
+
provide: i3.NG_VALIDATORS,
|
|
18218
18219
|
useExisting: i0.forwardRef(function () { return MoneyGbpInputComponent; }),
|
|
18219
18220
|
multi: true,
|
|
18220
18221
|
}
|
|
@@ -18276,7 +18277,7 @@
|
|
|
18276
18277
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
18277
18278
|
}
|
|
18278
18279
|
WriteMoneyGbpFieldComponent.prototype.ngOnInit = function () {
|
|
18279
|
-
this.moneyGbpControl = this.registerControl(new
|
|
18280
|
+
this.moneyGbpControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
18280
18281
|
};
|
|
18281
18282
|
return WriteMoneyGbpFieldComponent;
|
|
18282
18283
|
}(AbstractFieldWriteComponent));
|
|
@@ -18311,7 +18312,7 @@
|
|
|
18311
18312
|
i0__namespace.ɵɵadvance(4);
|
|
18312
18313
|
i0__namespace.ɵɵproperty("id", ctx.id())("name", ctx.id())("mandatory", i0__namespace.ɵɵpipeBind1(9, 9, ctx.caseField))("formControl", ctx.moneyGbpControl);
|
|
18313
18314
|
}
|
|
18314
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, MoneyGbpInputComponent,
|
|
18315
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, MoneyGbpInputComponent, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [IsMandatoryPipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
18315
18316
|
var ɵWriteMoneyGbpFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteMoneyGbpFieldComponent);
|
|
18316
18317
|
(function () {
|
|
18317
18318
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteMoneyGbpFieldComponent, [{
|
|
@@ -18455,12 +18456,12 @@
|
|
|
18455
18456
|
}
|
|
18456
18457
|
WriteMultiSelectListFieldComponent.prototype.ngOnInit = function () {
|
|
18457
18458
|
var _this = this;
|
|
18458
|
-
this.checkboxes = new
|
|
18459
|
+
this.checkboxes = new i3.FormArray([]);
|
|
18459
18460
|
// Initialise array with existing values
|
|
18460
18461
|
if (this.caseField.value && Array.isArray(this.caseField.value)) {
|
|
18461
18462
|
var values = this.caseField.value;
|
|
18462
18463
|
values.forEach(function (value) {
|
|
18463
|
-
_this.checkboxes.push(new
|
|
18464
|
+
_this.checkboxes.push(new i3.FormControl(value));
|
|
18464
18465
|
});
|
|
18465
18466
|
}
|
|
18466
18467
|
this.registerControl(this.checkboxes, true);
|
|
@@ -18468,7 +18469,7 @@
|
|
|
18468
18469
|
&& this.caseField.field_type.type === 'MultiSelectList' && this.caseField.field_type.fixed_list_items.length > 0
|
|
18469
18470
|
&& this.checkboxes.controls.length === 0) {
|
|
18470
18471
|
if (this.caseField.field_type.fixed_list_items[0].code) {
|
|
18471
|
-
this.checkboxes.push(new
|
|
18472
|
+
this.checkboxes.push(new i3.FormControl(this.caseField.field_type.fixed_list_items[0].code));
|
|
18472
18473
|
this.checkboxes.removeAt(0);
|
|
18473
18474
|
}
|
|
18474
18475
|
}
|
|
@@ -18477,7 +18478,7 @@
|
|
|
18477
18478
|
var _this = this;
|
|
18478
18479
|
if (!this.isSelected(event.target.value)) {
|
|
18479
18480
|
// Add a new control in the FormArray
|
|
18480
|
-
this.checkboxes.push(new
|
|
18481
|
+
this.checkboxes.push(new i3.FormControl(event.target.value));
|
|
18481
18482
|
}
|
|
18482
18483
|
else {
|
|
18483
18484
|
// Remove the control form the FormArray
|
|
@@ -18610,7 +18611,7 @@
|
|
|
18610
18611
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
18611
18612
|
}
|
|
18612
18613
|
WriteNumberFieldComponent.prototype.ngOnInit = function () {
|
|
18613
|
-
this.numberControl = this.registerControl(new
|
|
18614
|
+
this.numberControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
18614
18615
|
};
|
|
18615
18616
|
return WriteNumberFieldComponent;
|
|
18616
18617
|
}(AbstractFieldWriteComponent));
|
|
@@ -18639,7 +18640,7 @@
|
|
|
18639
18640
|
i0__namespace.ɵɵadvance(1);
|
|
18640
18641
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$e, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
18641
18642
|
}
|
|
18642
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
18643
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.NumberValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
18643
18644
|
var ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
18644
18645
|
(function () {
|
|
18645
18646
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
@@ -18741,24 +18742,24 @@
|
|
|
18741
18742
|
*/
|
|
18742
18743
|
WriteOrderSummaryFieldComponent.prototype.ngOnInit = function () {
|
|
18743
18744
|
var _this = this;
|
|
18744
|
-
var orderSummaryGroup = this.registerControl(new
|
|
18745
|
-
var paymentReference = new
|
|
18745
|
+
var orderSummaryGroup = this.registerControl(new i3.FormGroup({}), true);
|
|
18746
|
+
var paymentReference = new i3.FormControl(this.caseField.value.PaymentReference);
|
|
18746
18747
|
orderSummaryGroup.addControl('PaymentReference', paymentReference);
|
|
18747
|
-
var paymentTotal = new
|
|
18748
|
+
var paymentTotal = new i3.FormControl(this.caseField.value.PaymentTotal);
|
|
18748
18749
|
orderSummaryGroup.addControl('PaymentTotal', paymentTotal);
|
|
18749
|
-
var feesArray = new
|
|
18750
|
+
var feesArray = new i3.FormArray([]);
|
|
18750
18751
|
this.caseField.value.Fees.forEach(function (fee) {
|
|
18751
18752
|
feesArray.push(_this.getFeeValue(fee.value));
|
|
18752
18753
|
});
|
|
18753
18754
|
orderSummaryGroup.addControl('Fees', feesArray);
|
|
18754
18755
|
};
|
|
18755
18756
|
WriteOrderSummaryFieldComponent.prototype.getFeeValue = function (feeValue) {
|
|
18756
|
-
var feeGroup = new
|
|
18757
|
-
feeGroup.addControl('FeeCode', new
|
|
18758
|
-
feeGroup.addControl('FeeAmount', new
|
|
18759
|
-
feeGroup.addControl('FeeDescription', new
|
|
18760
|
-
feeGroup.addControl('FeeVersion', new
|
|
18761
|
-
var feeValueGroup = new
|
|
18757
|
+
var feeGroup = new i3.FormGroup({});
|
|
18758
|
+
feeGroup.addControl('FeeCode', new i3.FormControl(feeValue.FeeCode));
|
|
18759
|
+
feeGroup.addControl('FeeAmount', new i3.FormControl(feeValue.FeeAmount));
|
|
18760
|
+
feeGroup.addControl('FeeDescription', new i3.FormControl(feeValue.FeeDescription));
|
|
18761
|
+
feeGroup.addControl('FeeVersion', new i3.FormControl(feeValue.FeeVersion));
|
|
18762
|
+
var feeValueGroup = new i3.FormGroup({});
|
|
18762
18763
|
feeValueGroup.addControl('value', feeGroup);
|
|
18763
18764
|
return feeValueGroup;
|
|
18764
18765
|
};
|
|
@@ -19062,10 +19063,10 @@
|
|
|
19062
19063
|
var e_1, _a;
|
|
19063
19064
|
var _this = this;
|
|
19064
19065
|
this.organisations$ = this.organisationService.getActiveOrganisations();
|
|
19065
|
-
this.searchOrgTextFormControl = new
|
|
19066
|
+
this.searchOrgTextFormControl = new i3.FormControl('');
|
|
19066
19067
|
this.searchOrgValue$ = this.searchOrgTextFormControl.valueChanges;
|
|
19067
19068
|
this.searchOrgValue$.subscribe(function (value) { return _this.onSearchOrg(value); });
|
|
19068
|
-
this.organisationFormGroup = this.registerControl(new
|
|
19069
|
+
this.organisationFormGroup = this.registerControl(new i3.FormGroup({}), true);
|
|
19069
19070
|
if (this.parent && this.parent.controls && this.parent.controls.hasOwnProperty(WriteOrganisationFieldComponent.PRE_POPULATE_TO_USERS_ORGANISATION)
|
|
19070
19071
|
&& this.parent.controls[WriteOrganisationFieldComponent.PRE_POPULATE_TO_USERS_ORGANISATION].value
|
|
19071
19072
|
&& this.parent.controls[WriteOrganisationFieldComponent.PRE_POPULATE_TO_USERS_ORGANISATION].value.toUpperCase()
|
|
@@ -19181,10 +19182,10 @@
|
|
|
19181
19182
|
this.selectedOrg$ = rxjs.of(WriteOrganisationFieldComponent.EMPTY_SIMPLE_ORG);
|
|
19182
19183
|
};
|
|
19183
19184
|
WriteOrganisationFieldComponent.prototype.instantiateOrganisationFormGroup = function (orgIDState, orgNameState) {
|
|
19184
|
-
this.organisationIDFormControl = new
|
|
19185
|
+
this.organisationIDFormControl = new i3.FormControl(orgIDState);
|
|
19185
19186
|
this.addOrganisationValidators(this.caseField, this.organisationIDFormControl);
|
|
19186
19187
|
this.organisationFormGroup.addControl(WriteOrganisationFieldComponent.ORGANISATION_ID, this.organisationIDFormControl);
|
|
19187
|
-
this.organisationNameFormControl = new
|
|
19188
|
+
this.organisationNameFormControl = new i3.FormControl(orgNameState);
|
|
19188
19189
|
this.organisationFormGroup.addControl(WriteOrganisationFieldComponent.ORGANISATION_NAME, this.organisationNameFormControl);
|
|
19189
19190
|
};
|
|
19190
19191
|
WriteOrganisationFieldComponent.prototype.addOrganisationValidators = function (caseField, control) {
|
|
@@ -19340,7 +19341,7 @@
|
|
|
19340
19341
|
if (rf & 2) {
|
|
19341
19342
|
i0__namespace.ɵɵproperty("API_ROOT", ctx.getBaseURL())("CCD_CASE_NUMBER", ctx.caseReference)("BULKSCAN_API_ROOT", ctx.getPayBulkScanBaseURL())("SELECTED_OPTION", "CCDorException")("ISBSENABLE", "true")("LOGGEDINUSEREMAIL", ctx.getUserEmail())("LOGGEDINUSERROLES", ctx.getUserRoles())("REFUNDS_API_ROOT", ctx.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx.getNotificationUrl())("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", false)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx.caseReference)("DCN_NUMBER", null)("ISPAYMENTSTATUSENABLED", "Enable");
|
|
19342
19343
|
}
|
|
19343
|
-
}, directives: [i3__namespace.PaymentLibComponent], encapsulation: 2 });
|
|
19344
|
+
}, directives: [i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
|
|
19344
19345
|
(function () {
|
|
19345
19346
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CasePaymentHistoryViewerFieldComponent, [{
|
|
19346
19347
|
type: i0.Component,
|
|
@@ -19427,7 +19428,7 @@
|
|
|
19427
19428
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
19428
19429
|
}
|
|
19429
19430
|
WritePhoneUKFieldComponent.prototype.ngOnInit = function () {
|
|
19430
|
-
this.phoneUkControl = this.registerControl(new
|
|
19431
|
+
this.phoneUkControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
19431
19432
|
};
|
|
19432
19433
|
return WritePhoneUKFieldComponent;
|
|
19433
19434
|
}(AbstractFieldWriteComponent));
|
|
@@ -19456,7 +19457,7 @@
|
|
|
19456
19457
|
i0__namespace.ɵɵadvance(1);
|
|
19457
19458
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$d, ctx.phoneUkControl.errors && ctx.phoneUkControl.dirty))("id", ctx.id())("formControl", ctx.phoneUkControl);
|
|
19458
19459
|
}
|
|
19459
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
19460
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
19460
19461
|
var ɵWritePhoneUKFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent);
|
|
19461
19462
|
(function () {
|
|
19462
19463
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WritePhoneUKFieldComponent, [{
|
|
@@ -19618,25 +19619,36 @@
|
|
|
19618
19619
|
}], function () { return []; }, null);
|
|
19619
19620
|
})();
|
|
19620
19621
|
|
|
19621
|
-
exports.QueryListResponseStatus = void 0;
|
|
19622
|
-
(function (QueryListResponseStatus) {
|
|
19623
|
-
QueryListResponseStatus["NEW"] = "New";
|
|
19624
|
-
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
19625
|
-
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
19626
|
-
|
|
19627
19622
|
var QueryListItem = /** @class */ (function () {
|
|
19628
19623
|
function QueryListItem() {
|
|
19624
|
+
this.children = [];
|
|
19629
19625
|
}
|
|
19630
19626
|
Object.defineProperty(QueryListItem.prototype, "lastSubmittedMessage", {
|
|
19631
19627
|
get: function () {
|
|
19632
|
-
|
|
19633
|
-
|
|
19634
|
-
|
|
19635
|
-
|
|
19636
|
-
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
|
|
19628
|
+
var getLastSubmittedMessage = function (item) {
|
|
19629
|
+
var e_1, _b;
|
|
19630
|
+
var lastSubmittedMessage = item;
|
|
19631
|
+
if (item.children && item.children.length > 0) {
|
|
19632
|
+
try {
|
|
19633
|
+
for (var _c = __values(item.children), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
19634
|
+
var child = _d.value;
|
|
19635
|
+
var childLastSubmittedMessage = getLastSubmittedMessage(child);
|
|
19636
|
+
if (childLastSubmittedMessage.createdOn > lastSubmittedMessage.createdOn) {
|
|
19637
|
+
lastSubmittedMessage = childLastSubmittedMessage;
|
|
19638
|
+
}
|
|
19639
|
+
}
|
|
19640
|
+
}
|
|
19641
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
19642
|
+
finally {
|
|
19643
|
+
try {
|
|
19644
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
19645
|
+
}
|
|
19646
|
+
finally { if (e_1) throw e_1.error; }
|
|
19647
|
+
}
|
|
19648
|
+
}
|
|
19649
|
+
return lastSubmittedMessage;
|
|
19650
|
+
};
|
|
19651
|
+
return getLastSubmittedMessage(this);
|
|
19640
19652
|
},
|
|
19641
19653
|
enumerable: false,
|
|
19642
19654
|
configurable: true
|
|
@@ -19671,34 +19683,36 @@
|
|
|
19671
19683
|
enumerable: false,
|
|
19672
19684
|
configurable: true
|
|
19673
19685
|
});
|
|
19674
|
-
Object.defineProperty(QueryListItem.prototype, "responseStatus", {
|
|
19675
|
-
get: function () {
|
|
19676
|
-
var _a;
|
|
19677
|
-
return ((_a = this.children) === null || _a === void 0 ? void 0 : _a.length) > 0 ? exports.QueryListResponseStatus.RESPONDED : exports.QueryListResponseStatus.NEW;
|
|
19678
|
-
},
|
|
19679
|
-
enumerable: false,
|
|
19680
|
-
configurable: true
|
|
19681
|
-
});
|
|
19682
19686
|
return QueryListItem;
|
|
19683
19687
|
}());
|
|
19684
19688
|
|
|
19685
19689
|
var QueryListData = /** @class */ (function () {
|
|
19686
19690
|
function QueryListData(partyMessagesGroup) {
|
|
19691
|
+
var _this = this;
|
|
19687
19692
|
this.partyName = partyMessagesGroup.partyName;
|
|
19688
19693
|
this.roleOnCase = partyMessagesGroup.roleOnCase;
|
|
19689
19694
|
// get the parent messages (messages without parentId) and add the children to them
|
|
19690
19695
|
var parentMessages = partyMessagesGroup.partyMessages.filter(function (message) { return !message.parentId; });
|
|
19691
|
-
this.partyMessages = parentMessages.map(function (message) {
|
|
19692
|
-
var parentMessage = new QueryListItem();
|
|
19693
|
-
Object.assign(parentMessage, Object.assign(Object.assign({}, message), { children: partyMessagesGroup.partyMessages
|
|
19694
|
-
.filter(function (childMessage) { return childMessage.parentId === message.id; }) }));
|
|
19695
|
-
return parentMessage;
|
|
19696
|
-
});
|
|
19696
|
+
this.partyMessages = parentMessages.map(function (message) { return _this.buildQueryListItem(message, partyMessagesGroup.partyMessages); });
|
|
19697
19697
|
}
|
|
19698
|
+
QueryListData.prototype.buildQueryListItem = function (message, allMessages) {
|
|
19699
|
+
var _this = this;
|
|
19700
|
+
var queryListItem = new QueryListItem();
|
|
19701
|
+
Object.assign(queryListItem, Object.assign(Object.assign({}, message), { children: allMessages
|
|
19702
|
+
.filter(function (childMessage) { return childMessage.parentId === message.id; })
|
|
19703
|
+
.map(function (childMessage) { return _this.buildQueryListItem(childMessage, allMessages); }) }));
|
|
19704
|
+
return queryListItem;
|
|
19705
|
+
};
|
|
19698
19706
|
return QueryListData;
|
|
19699
19707
|
}());
|
|
19700
19708
|
|
|
19701
|
-
|
|
19709
|
+
exports.QueryListResponseStatus = void 0;
|
|
19710
|
+
(function (QueryListResponseStatus) {
|
|
19711
|
+
QueryListResponseStatus["NEW"] = "New";
|
|
19712
|
+
QueryListResponseStatus["RESPONDED"] = "Responded";
|
|
19713
|
+
})(exports.QueryListResponseStatus || (exports.QueryListResponseStatus = {}));
|
|
19714
|
+
|
|
19715
|
+
function QueryListComponent_ng_container_0_tr_23_Template(rf, ctx) {
|
|
19702
19716
|
if (rf & 1) {
|
|
19703
19717
|
i0__namespace.ɵɵelementStart(0, "tr", 4);
|
|
19704
19718
|
i0__namespace.ɵɵelementStart(1, "td", 8);
|
|
@@ -19748,24 +19762,29 @@
|
|
|
19748
19762
|
i0__namespace.ɵɵelementStart(5, "thead", 3);
|
|
19749
19763
|
i0__namespace.ɵɵelementStart(6, "tr", 4);
|
|
19750
19764
|
i0__namespace.ɵɵelementStart(7, "th", 5);
|
|
19751
|
-
i0__namespace.ɵɵtext(8
|
|
19752
|
-
i0__namespace.ɵɵ
|
|
19753
|
-
i0__namespace.ɵɵelementStart(9, "th", 5);
|
|
19754
|
-
i0__namespace.ɵɵtext(10, "Last submitted by");
|
|
19765
|
+
i0__namespace.ɵɵtext(8);
|
|
19766
|
+
i0__namespace.ɵɵpipe(9, "rpxTranslate");
|
|
19755
19767
|
i0__namespace.ɵɵelementEnd();
|
|
19756
|
-
i0__namespace.ɵɵelementStart(
|
|
19757
|
-
i0__namespace.ɵɵtext(
|
|
19768
|
+
i0__namespace.ɵɵelementStart(10, "th", 5);
|
|
19769
|
+
i0__namespace.ɵɵtext(11);
|
|
19770
|
+
i0__namespace.ɵɵpipe(12, "rpxTranslate");
|
|
19758
19771
|
i0__namespace.ɵɵelementEnd();
|
|
19759
19772
|
i0__namespace.ɵɵelementStart(13, "th", 5);
|
|
19760
|
-
i0__namespace.ɵɵtext(14
|
|
19773
|
+
i0__namespace.ɵɵtext(14);
|
|
19774
|
+
i0__namespace.ɵɵpipe(15, "rpxTranslate");
|
|
19775
|
+
i0__namespace.ɵɵelementEnd();
|
|
19776
|
+
i0__namespace.ɵɵelementStart(16, "th", 5);
|
|
19777
|
+
i0__namespace.ɵɵtext(17);
|
|
19778
|
+
i0__namespace.ɵɵpipe(18, "rpxTranslate");
|
|
19761
19779
|
i0__namespace.ɵɵelementEnd();
|
|
19762
|
-
i0__namespace.ɵɵelementStart(
|
|
19763
|
-
i0__namespace.ɵɵtext(
|
|
19780
|
+
i0__namespace.ɵɵelementStart(19, "th", 5);
|
|
19781
|
+
i0__namespace.ɵɵtext(20);
|
|
19782
|
+
i0__namespace.ɵɵpipe(21, "rpxTranslate");
|
|
19764
19783
|
i0__namespace.ɵɵelementEnd();
|
|
19765
19784
|
i0__namespace.ɵɵelementEnd();
|
|
19766
19785
|
i0__namespace.ɵɵelementEnd();
|
|
19767
|
-
i0__namespace.ɵɵelementStart(
|
|
19768
|
-
i0__namespace.ɵɵtemplate(
|
|
19786
|
+
i0__namespace.ɵɵelementStart(22, "tbody", 6);
|
|
19787
|
+
i0__namespace.ɵɵtemplate(23, QueryListComponent_ng_container_0_tr_23_Template, 14, 11, "tr", 7);
|
|
19769
19788
|
i0__namespace.ɵɵelementEnd();
|
|
19770
19789
|
i0__namespace.ɵɵelementEnd();
|
|
19771
19790
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -19774,7 +19793,17 @@
|
|
|
19774
19793
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
19775
19794
|
i0__namespace.ɵɵadvance(4);
|
|
19776
19795
|
i0__namespace.ɵɵtextInterpolate(ctx_r0.queryListData.partyName);
|
|
19777
|
-
i0__namespace.ɵɵadvance(
|
|
19796
|
+
i0__namespace.ɵɵadvance(4);
|
|
19797
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(9, 7, "Queries"));
|
|
19798
|
+
i0__namespace.ɵɵadvance(3);
|
|
19799
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(12, 9, "Last submitted by"));
|
|
19800
|
+
i0__namespace.ɵɵadvance(3);
|
|
19801
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(15, 11, "Last submission date"));
|
|
19802
|
+
i0__namespace.ɵɵadvance(3);
|
|
19803
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(18, 13, "Last response date"));
|
|
19804
|
+
i0__namespace.ɵɵadvance(3);
|
|
19805
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21, 15, "Response by"));
|
|
19806
|
+
i0__namespace.ɵɵadvance(3);
|
|
19778
19807
|
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.queryListData.partyMessages);
|
|
19779
19808
|
}
|
|
19780
19809
|
}
|
|
@@ -19793,12 +19822,12 @@
|
|
|
19793
19822
|
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
19794
19823
|
QueryListComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { partyMessageGroup: "partyMessageGroup" }, 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", 1, "govuk-table__header"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) {
|
|
19795
19824
|
if (rf & 1) {
|
|
19796
|
-
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template,
|
|
19825
|
+
i0__namespace.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 24, 17, "ng-container", 0);
|
|
19797
19826
|
}
|
|
19798
19827
|
if (rf & 2) {
|
|
19799
19828
|
i0__namespace.ɵɵproperty("ngIf", ctx.queryListData);
|
|
19800
19829
|
}
|
|
19801
|
-
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i1__namespace.DatePipe], styles: [".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%}"] });
|
|
19830
|
+
}, directives: [i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [i2__namespace$1.RpxTranslatePipe, i1__namespace.DatePipe], styles: [".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%}"] });
|
|
19802
19831
|
(function () {
|
|
19803
19832
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(QueryListComponent, [{
|
|
19804
19833
|
type: i0.Component,
|
|
@@ -19982,7 +20011,7 @@
|
|
|
19982
20011
|
return _this;
|
|
19983
20012
|
}
|
|
19984
20013
|
WriteTextAreaFieldComponent.prototype.ngOnInit = function () {
|
|
19985
|
-
this.textareaControl = this.registerControl(new
|
|
20014
|
+
this.textareaControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
19986
20015
|
};
|
|
19987
20016
|
WriteTextAreaFieldComponent.prototype.autoGrow = function (event) {
|
|
19988
20017
|
if (this.browserService.isIEOrEdge()) {
|
|
@@ -20020,7 +20049,7 @@
|
|
|
20020
20049
|
i0__namespace.ɵɵadvance(1);
|
|
20021
20050
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$c, ctx.textareaControl.errors && (ctx.textareaControl.dirty || ctx.textareaControl.touched)))("id", ctx.id())("formControl", ctx.textareaControl);
|
|
20022
20051
|
}
|
|
20023
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
20052
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
20024
20053
|
(function () {
|
|
20025
20054
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteTextAreaFieldComponent, [{
|
|
20026
20055
|
type: i0.Component,
|
|
@@ -20108,7 +20137,7 @@
|
|
|
20108
20137
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
20109
20138
|
}
|
|
20110
20139
|
WriteTextFieldComponent.prototype.ngOnInit = function () {
|
|
20111
|
-
this.textControl = this.registerControl(new
|
|
20140
|
+
this.textControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
20112
20141
|
};
|
|
20113
20142
|
WriteTextFieldComponent.prototype.onBlur = function ($event) {
|
|
20114
20143
|
$event.target.value = $event.target.value.trim();
|
|
@@ -20142,7 +20171,7 @@
|
|
|
20142
20171
|
i0__namespace.ɵɵadvance(1);
|
|
20143
20172
|
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c1$b, (ctx.textControl == null ? null : ctx.textControl.errors) && (ctx.textControl.dirty || ctx.textControl.touched)))("id", ctx.id())("formControl", ctx.textControl);
|
|
20144
20173
|
}
|
|
20145
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf,
|
|
20174
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
20146
20175
|
var ɵWriteTextFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteTextFieldComponent);
|
|
20147
20176
|
(function () {
|
|
20148
20177
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteTextFieldComponent, [{
|
|
@@ -20203,7 +20232,7 @@
|
|
|
20203
20232
|
if (rf & 2) {
|
|
20204
20233
|
i0__namespace.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
|
|
20205
20234
|
}
|
|
20206
|
-
}, directives: [i1__namespace.NgIf, i3__namespace.PaymentLibComponent], encapsulation: 2 });
|
|
20235
|
+
}, directives: [i1__namespace.NgIf, i3__namespace$1.PaymentLibComponent], encapsulation: 2 });
|
|
20207
20236
|
(function () {
|
|
20208
20237
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WaysToPayFieldComponent, [{
|
|
20209
20238
|
type: i0.Component,
|
|
@@ -20373,7 +20402,7 @@
|
|
|
20373
20402
|
return _this;
|
|
20374
20403
|
}
|
|
20375
20404
|
WriteYesNoFieldComponent.prototype.ngOnInit = function () {
|
|
20376
|
-
this.yesNoControl = this.registerControl(new
|
|
20405
|
+
this.yesNoControl = this.registerControl(new i3.FormControl(this.yesNoService.format(this.caseField.value)));
|
|
20377
20406
|
};
|
|
20378
20407
|
return WriteYesNoFieldComponent;
|
|
20379
20408
|
}(AbstractFieldWriteComponent));
|
|
@@ -20406,7 +20435,7 @@
|
|
|
20406
20435
|
i0__namespace.ɵɵadvance(1);
|
|
20407
20436
|
i0__namespace.ɵɵproperty("ngForOf", ctx.yesNoValues);
|
|
20408
20437
|
}
|
|
20409
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf,
|
|
20438
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
20410
20439
|
(function () {
|
|
20411
20440
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteYesNoFieldComponent, [{
|
|
20412
20441
|
type: i0.Component,
|
|
@@ -20531,7 +20560,7 @@
|
|
|
20531
20560
|
_this.resolver = resolver;
|
|
20532
20561
|
_this.paletteService = paletteService;
|
|
20533
20562
|
_this.withLabel = false;
|
|
20534
|
-
_this.formGroup = new
|
|
20563
|
+
_this.formGroup = new i3.FormGroup({});
|
|
20535
20564
|
_this.caseFields = [];
|
|
20536
20565
|
return _this;
|
|
20537
20566
|
}
|
|
@@ -21460,8 +21489,8 @@
|
|
|
21460
21489
|
});
|
|
21461
21490
|
CaseFileViewFolderComponent.prototype.ngOnInit = function () {
|
|
21462
21491
|
var _this = this;
|
|
21463
|
-
this.documentFilterFormGroup = new
|
|
21464
|
-
this.documentSearchFormControl = new
|
|
21492
|
+
this.documentFilterFormGroup = new i3.FormGroup({});
|
|
21493
|
+
this.documentSearchFormControl = new i3.FormControl('');
|
|
21465
21494
|
this.documentFilterFormGroup.addControl(CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME, this.documentSearchFormControl);
|
|
21466
21495
|
// Listen to search input and initiate filter documents if at least three characters entered
|
|
21467
21496
|
this.documentFilterSubscription = this.documentSearchFormControl.valueChanges.pipe(operators.tap(function (searchTerm) { return _this.searchTermLength = searchTerm.length; }), operators.switchMap(function (searchTerm) { return _this.filter(searchTerm.toLowerCase()).pipe(); })).subscribe(function (documentTreeData) {
|
|
@@ -21672,7 +21701,7 @@
|
|
|
21672
21701
|
i0__namespace.ɵɵadvance(3);
|
|
21673
21702
|
i0__namespace.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
21674
21703
|
}
|
|
21675
|
-
}, directives: [
|
|
21704
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, CaseFileViewFolderSortComponent, i1__namespace.NgIf, i7__namespace.CdkTree, i7__namespace.CdkTreeNodeDef, i7__namespace.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7__namespace.CdkTreeNodeToggle, i7__namespace.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:6px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}"] });
|
|
21676
21705
|
(function () {
|
|
21677
21706
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
21678
21707
|
type: i0.Component,
|
|
@@ -21981,8 +22010,8 @@
|
|
|
21981
22010
|
SelectFlagTypeComponent.prototype.ngOnInit = function () {
|
|
21982
22011
|
var _this = this;
|
|
21983
22012
|
this.flagTypes = [];
|
|
21984
|
-
this.formGroup.addControl(this.flagTypeControlName, new
|
|
21985
|
-
this.formGroup.addControl(this.descriptionControlName, new
|
|
22013
|
+
this.formGroup.addControl(this.flagTypeControlName, new i3.FormControl(''));
|
|
22014
|
+
this.formGroup.addControl(this.descriptionControlName, new i3.FormControl(''));
|
|
21986
22015
|
var flagType = this.formGroup['caseField']
|
|
21987
22016
|
&& this.formGroup['caseField'].id
|
|
21988
22017
|
&& this.formGroup['caseField'].id === this.caseLevelCaseFlagsFieldId
|
|
@@ -22118,7 +22147,7 @@
|
|
|
22118
22147
|
i0__namespace.ɵɵadvance(1);
|
|
22119
22148
|
i0__namespace.ɵɵproperty("ngIf", !ctx.refdataError);
|
|
22120
22149
|
}
|
|
22121
|
-
}, directives: [
|
|
22150
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], styles: [".hidden[_ngcontent-%COMP%]{display:none}.validation-error[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:#d4351c}"] });
|
|
22122
22151
|
(function () {
|
|
22123
22152
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectFlagTypeComponent, [{
|
|
22124
22153
|
type: i0.Component,
|
|
@@ -22282,8 +22311,8 @@
|
|
|
22282
22311
|
this.searchLanguageInterpreterHint = this.flagCode === this.signLanguageFlagCode
|
|
22283
22312
|
? exports.SearchLanguageInterpreterStep.SIGN_HINT_TEXT
|
|
22284
22313
|
: exports.SearchLanguageInterpreterStep.HINT_TEXT;
|
|
22285
|
-
this.formGroup.addControl(this.languageSearchTermControlName, new
|
|
22286
|
-
this.formGroup.addControl(this.manualLanguageEntryControlName, new
|
|
22314
|
+
this.formGroup.addControl(this.languageSearchTermControlName, new i3.FormControl());
|
|
22315
|
+
this.formGroup.addControl(this.manualLanguageEntryControlName, new i3.FormControl());
|
|
22287
22316
|
this.filteredLanguages$ = this.formGroup.get(this.languageSearchTermControlName).valueChanges.pipe(
|
|
22288
22317
|
// Need to check type of input because it changes to object (i.e. Language) when a value is selected from the
|
|
22289
22318
|
// autocomplete panel, instead of string when a value is being typed in
|
|
@@ -22438,7 +22467,7 @@
|
|
|
22438
22467
|
i0__namespace.ɵɵadvance(1);
|
|
22439
22468
|
i0__namespace.ɵɵproperty("ngIf", ctx.isCheckboxEnabled);
|
|
22440
22469
|
}
|
|
22441
|
-
}, directives: [
|
|
22470
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace$2.MatInput, i3__namespace.DefaultValueAccessor, i5__namespace.MatAutocompleteTrigger, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i5__namespace.MatAutocomplete, i1__namespace.NgForOf, i6__namespace.MatOption], pipes: [i1__namespace.AsyncPipe], styles: [".autocomplete__input--show-all-values[_ngcontent-%COMP%]{padding:5px 34px 5px 5px;cursor:pointer}.autocomplete__dropdown-arrow-down[_ngcontent-%COMP%]{z-index:-1;display:inline-block;position:absolute;right:8px;width:24px;height:24px;top:10px}.autocomplete__menu[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible[_ngcontent-%COMP%]{display:block}.autocomplete__menu--hidden[_ngcontent-%COMP%]{display:none}.autocomplete__menu--overlay[_ngcontent-%COMP%]{box-shadow:0 2px 6px rgba(0,0,0,.256863);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline[_ngcontent-%COMP%]{position:relative}.autocomplete__option[_ngcontent-%COMP%]{border-left-width:0;border-bottom:1px solid #b1b4b6;border-right-width:0;border-top-width:1px;cursor:pointer;display:block;position:relative}.autocomplete__option[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:none}.autocomplete__option[_ngcontent-%COMP%]:first-of-type{border-top-width:0}.autocomplete__option[_ngcontent-%COMP%]:last-of-type{border-bottom-width:0}.autocomplete__option--odd[_ngcontent-%COMP%]{background-color:#fafafa}.autocomplete__option--focused[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:0}.autocomplete__option--no-results[_ngcontent-%COMP%]{background-color:#fafafa;color:#646b6f;cursor:not-allowed}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.25}.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{padding:5px}@media (min-width:641px){.autocomplete__hint[_ngcontent-%COMP%], .autocomplete__input[_ngcontent-%COMP%], .autocomplete__option[_ngcontent-%COMP%]{font-size:13px;line-height:1.31579}}.div-action[_ngcontent-%COMP%]{display:inline-block}.add-location[_ngcontent-%COMP%]{display:inline}.remove-location-button[_ngcontent-%COMP%]{margin:5px}.hide-autocomplete[_ngcontent-%COMP%]{display:none}.auto-complete-container[_ngcontent-%COMP%]{min-width:550px;display:inline-block;margin-right:4px}.autocomplete__input[_ngcontent-%COMP%]{line-height:24px;font-size:19px}.hidden[_ngcontent-%COMP%]{display:none}.search-language__input[_ngcontent-%COMP%]{position:relative;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' width='40' height='40'%3E%3Cpath d='M25.7 24.8L21.9 21c.7-1 1.1-2.2 1.1-3.5 0-3.6-2.9-6.5-6.5-6.5S10 13.9 10 17.5s2.9 6.5 6.5 6.5c1.6 0 3-.6 4.1-1.5l3.7 3.7 1.4-1.4zM12 17.5c0-2.5 2-4.5 4.5-4.5s4.5 2 4.5 4.5-2 4.5-4.5 4.5-4.5-2-4.5-4.5z' fill='%23505a5f'%3E%3C/path%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:center left -2px;background-size:40px 40px;padding-left:35px}"] });
|
|
22442
22471
|
(function () {
|
|
22443
22472
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchLanguageInterpreterComponent, [{
|
|
22444
22473
|
type: i0.Component,
|
|
@@ -22570,7 +22599,7 @@
|
|
|
22570
22599
|
}
|
|
22571
22600
|
// Add a FormControl for the selected flag location if there is at least one flags instance remaining after filtering
|
|
22572
22601
|
if (this.filteredFlagsData && this.filteredFlagsData.length > 0) {
|
|
22573
|
-
this.formGroup.addControl(this.selectedLocationControlName, new
|
|
22602
|
+
this.formGroup.addControl(this.selectedLocationControlName, new i3.FormControl(null));
|
|
22574
22603
|
}
|
|
22575
22604
|
else {
|
|
22576
22605
|
// No filtered flags instances mean there are no parties to select from. The case has not been configured properly
|
|
@@ -22647,7 +22676,7 @@
|
|
|
22647
22676
|
i0__namespace.ɵɵadvance(1);
|
|
22648
22677
|
i0__namespace.ɵɵproperty("ngIf", !ctx.caseFlagsConfigError);
|
|
22649
22678
|
}
|
|
22650
|
-
}, directives: [
|
|
22679
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], encapsulation: 2 });
|
|
22651
22680
|
(function () {
|
|
22652
22681
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SelectFlagLocationComponent, [{
|
|
22653
22682
|
type: i0.Component,
|
|
@@ -22716,7 +22745,7 @@
|
|
|
22716
22745
|
this.addCommentsTitle = exports.CaseFlagWizardStepTitle.ADD_FLAG_COMMENTS;
|
|
22717
22746
|
this.addCommentsHint = exports.AddCommentsStep.HINT_TEXT;
|
|
22718
22747
|
this.addCommentsCharLimitInfo = exports.AddCommentsStep.CHARACTER_LIMIT_INFO;
|
|
22719
|
-
this.formGroup.addControl(this.flagCommentsControlName, new
|
|
22748
|
+
this.formGroup.addControl(this.flagCommentsControlName, new i3.FormControl(''));
|
|
22720
22749
|
};
|
|
22721
22750
|
AddCommentsComponent.prototype.onNext = function () {
|
|
22722
22751
|
// Validate flag comments entry
|
|
@@ -22800,7 +22829,7 @@
|
|
|
22800
22829
|
i0__namespace.ɵɵadvance(2);
|
|
22801
22830
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx.addCommentsCharLimitInfo, " ");
|
|
22802
22831
|
}
|
|
22803
|
-
}, directives: [
|
|
22832
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], encapsulation: 2 });
|
|
22804
22833
|
(function () {
|
|
22805
22834
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(AddCommentsComponent, [{
|
|
22806
22835
|
type: i0.Component,
|
|
@@ -22888,7 +22917,7 @@
|
|
|
22888
22917
|
}
|
|
22889
22918
|
// Add a FormControl for the selected case flag if there is at least one flags instance remaining after mapping
|
|
22890
22919
|
if (this.flagsDisplayData && this.flagsDisplayData.length > 0) {
|
|
22891
|
-
this.formGroup.addControl(this.selectedControlName, new
|
|
22920
|
+
this.formGroup.addControl(this.selectedControlName, new i3.FormControl(null));
|
|
22892
22921
|
}
|
|
22893
22922
|
else {
|
|
22894
22923
|
// No flags display data means there are no flags to select from. The user cannot proceed with a flag update.
|
|
@@ -23032,7 +23061,7 @@
|
|
|
23032
23061
|
i0__namespace.ɵɵadvance(1);
|
|
23033
23062
|
i0__namespace.ɵɵproperty("ngIf", !ctx.noFlagsError);
|
|
23034
23063
|
}
|
|
23035
|
-
}, directives: [
|
|
23064
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], styles: [".flag-name-and-description{font-weight:700}"], encapsulation: 2 });
|
|
23036
23065
|
(function () {
|
|
23037
23066
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ManageCaseFlagsComponent, [{
|
|
23038
23067
|
type: i0.Component,
|
|
@@ -23107,7 +23136,7 @@
|
|
|
23107
23136
|
UpdateFlagComponent.prototype.ngOnInit = function () {
|
|
23108
23137
|
this.updateFlagHint = exports.UpdateFlagStep.HINT_TEXT;
|
|
23109
23138
|
this.updateFlagCharLimitInfo = exports.UpdateFlagStep.CHARACTER_LIMIT_INFO;
|
|
23110
|
-
this.formGroup.addControl(this.updateFlagControlName, new
|
|
23139
|
+
this.formGroup.addControl(this.updateFlagControlName, new i3.FormControl(''));
|
|
23111
23140
|
if (this.selectedFlag && this.selectedFlag.flagDetailDisplay && this.selectedFlag.flagDetailDisplay.flagDetail) {
|
|
23112
23141
|
var flagDetail = this.selectedFlag.flagDetailDisplay.flagDetail;
|
|
23113
23142
|
// Populate flag comments text area with existing comments
|
|
@@ -23236,7 +23265,7 @@
|
|
|
23236
23265
|
i0__namespace.ɵɵadvance(2);
|
|
23237
23266
|
i0__namespace.ɵɵproperty("ngIf", ctx.selectedFlag.flagDetailDisplay.flagDetail.status === "Active");
|
|
23238
23267
|
}
|
|
23239
|
-
}, directives: [
|
|
23268
|
+
}, directives: [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], encapsulation: 2 });
|
|
23240
23269
|
(function () {
|
|
23241
23270
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(UpdateFlagComponent, [{
|
|
23242
23271
|
type: i0.Component,
|
|
@@ -24081,7 +24110,7 @@
|
|
|
24081
24110
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
24082
24111
|
}
|
|
24083
24112
|
WriteDateFieldComponent.prototype.ngOnInit = function () {
|
|
24084
|
-
this.dateControl = this.registerControl(new
|
|
24113
|
+
this.dateControl = this.registerControl(new i3.FormControl(this.caseField.value));
|
|
24085
24114
|
};
|
|
24086
24115
|
WriteDateFieldComponent.prototype.isDateTime = function () {
|
|
24087
24116
|
return this.caseField.field_type.id === 'DateTime';
|
|
@@ -24114,7 +24143,7 @@
|
|
|
24114
24143
|
i0__namespace.ɵɵadvance(1);
|
|
24115
24144
|
i0__namespace.ɵɵproperty("id", ctx.id())("isDateTime", ctx.isDateTime())("mandatory", i0__namespace.ɵɵpipeBind1(7, 10, ctx.caseField))("isInvalid", ctx.dateControl.errors && (ctx.dateControl.dirty || ctx.dateControl.touched))("formControl", ctx.dateControl);
|
|
24116
24145
|
}
|
|
24117
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, DateInputComponent,
|
|
24146
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, DateInputComponent, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective], pipes: [IsMandatoryPipe, FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
24118
24147
|
var ɵWriteDateFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDateFieldComponent);
|
|
24119
24148
|
(function () {
|
|
24120
24149
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDateFieldComponent, [{
|
|
@@ -24216,7 +24245,7 @@
|
|
|
24216
24245
|
_this.stringEdited = false;
|
|
24217
24246
|
_this.minError = false;
|
|
24218
24247
|
_this.maxError = false;
|
|
24219
|
-
_this.dateControl = new
|
|
24248
|
+
_this.dateControl = new i3.FormControl(new Date());
|
|
24220
24249
|
_this.minimumDate = new Date('01/01/1800');
|
|
24221
24250
|
_this.maximumDate = null;
|
|
24222
24251
|
_this.momentFormat = 'YYYY-MM-DDTHH:mm:ss.SSS';
|
|
@@ -24228,8 +24257,8 @@
|
|
|
24228
24257
|
this.configureDatePicker(this.dateTimeEntryFormat);
|
|
24229
24258
|
// set date control based on mandatory field
|
|
24230
24259
|
this.dateControl = (this.caseField.isMandatory ?
|
|
24231
|
-
this.registerControl(new
|
|
24232
|
-
: this.registerControl(new
|
|
24260
|
+
this.registerControl(new i3.FormControl(this.caseField.value || '', [i3.Validators.required]))
|
|
24261
|
+
: this.registerControl(new i3.FormControl(this.caseField.value)));
|
|
24233
24262
|
// in resetting the format just after the page initialises, the input can be reformatted
|
|
24234
24263
|
// otherwise the last format given will be how the text shown will be displayed
|
|
24235
24264
|
setTimeout(function () {
|
|
@@ -24420,7 +24449,7 @@
|
|
|
24420
24449
|
i0__namespace.ɵɵadvance(1);
|
|
24421
24450
|
i0__namespace.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
|
|
24422
24451
|
}
|
|
24423
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace$1.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
24452
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i4__namespace.NgxMatDatetimeInput, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace$1.MatSuffix, i4__namespace.NgxMatDatetimePicker], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #fd0;border:1px solid #000}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #fd0}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.cdk-overlay-container .mat-datepicker-content{border:1px solid #000;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid #000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:first-of-type:after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:first-of-type th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:first-of-type{visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #fd0;border:2px solid #000;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:last-child [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:last-child.ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \u25B2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\u25BC\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid #000;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px 0 #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #fd0}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}"], encapsulation: 2 });
|
|
24424
24453
|
(function () {
|
|
24425
24454
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
24426
24455
|
type: i0.Component,
|
|
@@ -26089,8 +26118,8 @@
|
|
|
26089
26118
|
], imports: [[
|
|
26090
26119
|
i1.CommonModule,
|
|
26091
26120
|
i1$1.RouterModule,
|
|
26092
|
-
|
|
26093
|
-
|
|
26121
|
+
i3.FormsModule,
|
|
26122
|
+
i3.ReactiveFormsModule,
|
|
26094
26123
|
CaseEditDataModule,
|
|
26095
26124
|
PaletteUtilsModule,
|
|
26096
26125
|
PipesModule,
|
|
@@ -26106,16 +26135,17 @@
|
|
|
26106
26135
|
i4.NgxMatTimepickerModule,
|
|
26107
26136
|
i4.NgxMatNativeDateModule,
|
|
26108
26137
|
i6$1.MatFormFieldModule,
|
|
26109
|
-
i3$
|
|
26138
|
+
i3$2.MatInputModule,
|
|
26110
26139
|
i5$1.MatDatepickerModule,
|
|
26111
26140
|
i5.MatAutocompleteModule,
|
|
26112
26141
|
i7.CdkTreeModule,
|
|
26113
26142
|
i1$4.OverlayModule,
|
|
26114
|
-
i3.PaymentLibModule,
|
|
26115
|
-
i2
|
|
26143
|
+
i3$1.PaymentLibModule,
|
|
26144
|
+
i2.ScrollToModule.forRoot(),
|
|
26116
26145
|
i1$3.MatDialogModule,
|
|
26117
|
-
|
|
26118
|
-
LoadingModule
|
|
26146
|
+
i12.MediaViewerModule,
|
|
26147
|
+
LoadingModule,
|
|
26148
|
+
i2$1.RpxTranslationModule.forChild()
|
|
26119
26149
|
], i4.NgxMatDatetimePickerModule,
|
|
26120
26150
|
i4.NgxMatNativeDateModule,
|
|
26121
26151
|
i4.NgxMatTimepickerModule,
|
|
@@ -26240,8 +26270,8 @@
|
|
|
26240
26270
|
QueryDetailComponent,
|
|
26241
26271
|
QueryListComponent], imports: [i1.CommonModule,
|
|
26242
26272
|
i1$1.RouterModule,
|
|
26243
|
-
|
|
26244
|
-
|
|
26273
|
+
i3.FormsModule,
|
|
26274
|
+
i3.ReactiveFormsModule,
|
|
26245
26275
|
CaseEditDataModule,
|
|
26246
26276
|
PaletteUtilsModule,
|
|
26247
26277
|
PipesModule,
|
|
@@ -26257,14 +26287,14 @@
|
|
|
26257
26287
|
i4.NgxMatTimepickerModule,
|
|
26258
26288
|
i4.NgxMatNativeDateModule,
|
|
26259
26289
|
i6$1.MatFormFieldModule,
|
|
26260
|
-
i3$
|
|
26290
|
+
i3$2.MatInputModule,
|
|
26261
26291
|
i5$1.MatDatepickerModule,
|
|
26262
26292
|
i5.MatAutocompleteModule,
|
|
26263
26293
|
i7.CdkTreeModule,
|
|
26264
26294
|
i1$4.OverlayModule,
|
|
26265
|
-
i3.PaymentLibModule, i2__namespace
|
|
26266
|
-
|
|
26267
|
-
LoadingModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
26295
|
+
i3$1.PaymentLibModule, i2__namespace.ScrollToModule, i1$3.MatDialogModule,
|
|
26296
|
+
i12.MediaViewerModule,
|
|
26297
|
+
LoadingModule, i2__namespace$1.RpxTranslationModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
26268
26298
|
i4.NgxMatNativeDateModule,
|
|
26269
26299
|
i4.NgxMatTimepickerModule,
|
|
26270
26300
|
TabsModule,
|
|
@@ -26389,8 +26419,8 @@
|
|
|
26389
26419
|
imports: [
|
|
26390
26420
|
i1.CommonModule,
|
|
26391
26421
|
i1$1.RouterModule,
|
|
26392
|
-
|
|
26393
|
-
|
|
26422
|
+
i3.FormsModule,
|
|
26423
|
+
i3.ReactiveFormsModule,
|
|
26394
26424
|
CaseEditDataModule,
|
|
26395
26425
|
PaletteUtilsModule,
|
|
26396
26426
|
PipesModule,
|
|
@@ -26406,16 +26436,17 @@
|
|
|
26406
26436
|
i4.NgxMatTimepickerModule,
|
|
26407
26437
|
i4.NgxMatNativeDateModule,
|
|
26408
26438
|
i6$1.MatFormFieldModule,
|
|
26409
|
-
i3$
|
|
26439
|
+
i3$2.MatInputModule,
|
|
26410
26440
|
i5$1.MatDatepickerModule,
|
|
26411
26441
|
i5.MatAutocompleteModule,
|
|
26412
26442
|
i7.CdkTreeModule,
|
|
26413
26443
|
i1$4.OverlayModule,
|
|
26414
|
-
i3.PaymentLibModule,
|
|
26415
|
-
i2
|
|
26444
|
+
i3$1.PaymentLibModule,
|
|
26445
|
+
i2.ScrollToModule.forRoot(),
|
|
26416
26446
|
i1$3.MatDialogModule,
|
|
26417
|
-
|
|
26418
|
-
LoadingModule
|
|
26447
|
+
i12.MediaViewerModule,
|
|
26448
|
+
LoadingModule,
|
|
26449
|
+
i2$1.RpxTranslationModule.forChild()
|
|
26419
26450
|
],
|
|
26420
26451
|
declarations: __spread([
|
|
26421
26452
|
FixedListPipe,
|
|
@@ -26451,7 +26482,7 @@
|
|
|
26451
26482
|
}]
|
|
26452
26483
|
}], null, null);
|
|
26453
26484
|
})();
|
|
26454
|
-
i0__namespace.ɵɵsetComponentScope(FieldReadComponent, [FieldReadLabelComponent,
|
|
26485
|
+
i0__namespace.ɵɵsetComponentScope(FieldReadComponent, [FieldReadLabelComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], []);
|
|
26455
26486
|
i0__namespace.ɵɵsetComponentScope(LabelFieldComponent, [LabelSubstitutorDirective, MarkdownComponent], []);
|
|
26456
26487
|
i0__namespace.ɵɵsetComponentScope(CaseHistoryViewerFieldComponent, [EventLogComponent], []);
|
|
26457
26488
|
i0__namespace.ɵɵsetComponentScope(EventLogComponent, [i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, EventLogTableComponent, i1__namespace.NgIf, EventLogDetailsComponent], []);
|
|
@@ -26475,34 +26506,34 @@
|
|
|
26475
26506
|
LinkedCasesToTableComponent, i1__namespace.NgIf, LinkedCasesFromTableComponent
|
|
26476
26507
|
], []);
|
|
26477
26508
|
i0__namespace.ɵɵsetComponentScope(ReadQueryManagementFieldComponent, [i1__namespace.NgForOf, QueryListComponent], []);
|
|
26478
|
-
i0__namespace.ɵɵsetComponentScope(WriteAddressFieldComponent, [i1__namespace.NgIf, i1__namespace.NgClass,
|
|
26479
|
-
i0__namespace.ɵɵsetComponentScope(WriteComplexFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective,
|
|
26509
|
+
i0__namespace.ɵɵsetComponentScope(WriteAddressFieldComponent, [i1__namespace.NgIf, i1__namespace.NgClass, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i3__namespace.SelectControlValueAccessor, i1__namespace.NgForOf, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, WriteComplexFieldComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], [FieldLabelPipe]);
|
|
26510
|
+
i0__namespace.ɵɵsetComponentScope(WriteComplexFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, FieldReadComponent, LabelSubstitutorDirective, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, FieldWriteComponent], [FieldLabelPipe, IsReadOnlyPipe]);
|
|
26480
26511
|
i0__namespace.ɵɵsetComponentScope(WriteDocumentFieldComponent, [i1__namespace.NgClass, i1__namespace.NgIf, ReadDocumentFieldComponent], [FieldLabelPipe]);
|
|
26481
|
-
i0__namespace.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1__namespace.NgIf, DatetimePickerComponent,
|
|
26482
|
-
i0__namespace.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf,
|
|
26512
|
+
i0__namespace.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1__namespace.NgIf, DatetimePickerComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, WriteDateFieldComponent], []);
|
|
26513
|
+
i0__namespace.ɵɵsetComponentScope(WriteCaseFlagFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgSwitch, i1__namespace.NgClass, i1__namespace.NgSwitchCase, SelectFlagLocationComponent,
|
|
26483
26514
|
SelectFlagTypeComponent,
|
|
26484
26515
|
SearchLanguageInterpreterComponent,
|
|
26485
26516
|
AddCommentsComponent,
|
|
26486
26517
|
ManageCaseFlagsComponent,
|
|
26487
26518
|
UpdateFlagComponent], []);
|
|
26488
|
-
i0__namespace.ɵɵsetComponentScope(WriteLinkedCasesFieldComponent, [
|
|
26519
|
+
i0__namespace.ɵɵsetComponentScope(WriteLinkedCasesFieldComponent, [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, BeforeYouStartComponent,
|
|
26489
26520
|
NoLinkedCasesComponent,
|
|
26490
26521
|
LinkCasesComponent,
|
|
26491
26522
|
UnLinkCasesComponent,
|
|
26492
26523
|
CheckYourAnswersComponent], []);
|
|
26493
|
-
i0__namespace.ɵɵsetComponentScope(WriteOrganisationFieldComponent, [
|
|
26524
|
+
i0__namespace.ɵɵsetComponentScope(WriteOrganisationFieldComponent, [i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgIf, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i1__namespace.NgClass, i1__namespace.NgForOf, MarkdownComponent,
|
|
26494
26525
|
WriteOrganisationComplexFieldComponent], [i1__namespace.AsyncPipe]);
|
|
26495
26526
|
i0__namespace.ɵɵsetComponentScope(WriteOrderSummaryFieldComponent, [ReadOrderSummaryFieldComponent], []);
|
|
26496
|
-
i0__namespace.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1__namespace.NgIf, DatetimePickerComponent,
|
|
26497
|
-
i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent,
|
|
26527
|
+
i0__namespace.ɵɵsetComponentScope(WriteDateContainerFieldComponent, [i1__namespace.NgIf, DatetimePickerComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, WriteDateFieldComponent], []);
|
|
26528
|
+
i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
|
|
26498
26529
|
i0__namespace.ɵɵsetComponentScope(
|
|
26499
26530
|
// ComponentLauncher web components
|
|
26500
|
-
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent,
|
|
26531
|
+
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i12__namespace.MediaViewerComponent], []);
|
|
26501
26532
|
i0__namespace.ɵɵsetComponentScope(
|
|
26502
26533
|
// Components for linked cases
|
|
26503
26534
|
LinkedCasesToTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
26504
26535
|
i0__namespace.ɵɵsetComponentScope(LinkedCasesFromTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesFromReasonValuePipe]);
|
|
26505
|
-
i0__namespace.ɵɵsetComponentScope(LinkCasesComponent, [i1__namespace.NgIf,
|
|
26536
|
+
i0__namespace.ɵɵsetComponentScope(LinkCasesComponent, [i1__namespace.NgIf, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.FormArrayName, i1__namespace.NgForOf, i3__namespace.FormGroupName, i3__namespace.CheckboxControlValueAccessor], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
26506
26537
|
i0__namespace.ɵɵsetComponentScope(CheckYourAnswersComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
26507
26538
|
|
|
26508
26539
|
var Confirmation = /** @class */ (function () {
|
|
@@ -27157,10 +27188,10 @@
|
|
|
27157
27188
|
// parent)
|
|
27158
27189
|
// Update rawFormValueData for this field
|
|
27159
27190
|
// creating form group and adding control into it in case caseField is of complext type and and part of formGroup
|
|
27160
|
-
var form_1 = new
|
|
27191
|
+
var form_1 = new i3.FormGroup({});
|
|
27161
27192
|
if (formGroup.controls[key].value) {
|
|
27162
27193
|
Object.keys(formGroup.controls[key].value).forEach(function (item) {
|
|
27163
|
-
form_1.addControl(item, new
|
|
27194
|
+
form_1.addControl(item, new i3.FormControl(formGroup.controls[key].value[item]));
|
|
27164
27195
|
});
|
|
27165
27196
|
}
|
|
27166
27197
|
rawFormValueData[key] = _this.replaceHiddenFormValuesWithOriginalCaseData(form_1, caseField.field_type.complex_fields, caseField);
|
|
@@ -27923,8 +27954,8 @@
|
|
|
27923
27954
|
], imports: [[
|
|
27924
27955
|
i1.CommonModule,
|
|
27925
27956
|
i1$1.RouterModule,
|
|
27926
|
-
|
|
27927
|
-
|
|
27957
|
+
i3.FormsModule,
|
|
27958
|
+
i3.ReactiveFormsModule,
|
|
27928
27959
|
CaseEditDataModule,
|
|
27929
27960
|
PaletteModule,
|
|
27930
27961
|
LabelSubstitutorModule,
|
|
@@ -27946,8 +27977,8 @@
|
|
|
27946
27977
|
CaseCreateComponent,
|
|
27947
27978
|
CaseProgressComponent], imports: [i1.CommonModule,
|
|
27948
27979
|
i1$1.RouterModule,
|
|
27949
|
-
|
|
27950
|
-
|
|
27980
|
+
i3.FormsModule,
|
|
27981
|
+
i3.ReactiveFormsModule,
|
|
27951
27982
|
CaseEditDataModule,
|
|
27952
27983
|
PaletteModule,
|
|
27953
27984
|
LabelSubstitutorModule,
|
|
@@ -27971,8 +28002,8 @@
|
|
|
27971
28002
|
imports: [
|
|
27972
28003
|
i1.CommonModule,
|
|
27973
28004
|
i1$1.RouterModule,
|
|
27974
|
-
|
|
27975
|
-
|
|
28005
|
+
i3.FormsModule,
|
|
28006
|
+
i3.ReactiveFormsModule,
|
|
27976
28007
|
CaseEditDataModule,
|
|
27977
28008
|
PaletteModule,
|
|
27978
28009
|
LabelSubstitutorModule,
|
|
@@ -28036,10 +28067,10 @@
|
|
|
28036
28067
|
}]
|
|
28037
28068
|
}], null, null);
|
|
28038
28069
|
})();
|
|
28039
|
-
i0__namespace.ɵɵsetComponentScope(CaseEditConfirmComponent, [i1__namespace.NgIf, MarkdownComponent,
|
|
28040
|
-
i0__namespace.ɵɵsetComponentScope(CaseEditPageComponent, [i1__namespace.NgIf, LoadingSpinnerComponent, MarkdownComponent, i1__namespace.NgForOf, CallbackErrorsComponent,
|
|
28041
|
-
i0__namespace.ɵɵsetComponentScope(CaseEditFormComponent, [i1__namespace.NgForOf, ConditionalShowFormDirective,
|
|
28042
|
-
i0__namespace.ɵɵsetComponentScope(CaseEditSubmitComponent, [i1__namespace.NgIf, MarkdownComponent, i1__namespace.NgForOf, CallbackErrorsComponent,
|
|
28070
|
+
i0__namespace.ɵɵsetComponentScope(CaseEditConfirmComponent, [i1__namespace.NgIf, MarkdownComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective], [CcdCaseTitlePipe, CaseReferencePipe]);
|
|
28071
|
+
i0__namespace.ɵɵsetComponentScope(CaseEditPageComponent, [i1__namespace.NgIf, LoadingSpinnerComponent, MarkdownComponent, i1__namespace.NgForOf, CallbackErrorsComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, CaseEditFormComponent], [CcdCaseTitlePipe, CaseReferencePipe, i1__namespace.AsyncPipe]);
|
|
28072
|
+
i0__namespace.ɵɵsetComponentScope(CaseEditFormComponent, [i1__namespace.NgForOf, ConditionalShowFormDirective, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, LabelSubstitutorDirective, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, FieldReadComponent, i1__namespace.NgIf, FieldWriteComponent], [IsReadOnlyAndNotCollectionPipe, IsCompoundPipe]);
|
|
28073
|
+
i0__namespace.ɵɵsetComponentScope(CaseEditSubmitComponent, [i1__namespace.NgIf, MarkdownComponent, i1__namespace.NgForOf, CallbackErrorsComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, LabelSubstitutorDirective, FieldReadComponent, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, i3__namespace.FormGroupName, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i3__namespace.MaxLengthValidator, CaseEventCompletionComponent], [CcdCaseTitlePipe, CaseReferencePipe, CcdCYAPageLabelFilterPipe, ReadFieldsFilterPipe, CcdPageFieldsPipe, IsCompoundPipe]);
|
|
28043
28074
|
i0__namespace.ɵɵsetComponentScope(CaseCreateComponent, [i1__namespace.NgIf, CaseEditComponent], []);
|
|
28044
28075
|
i0__namespace.ɵɵsetComponentScope(CaseProgressComponent, [i1__namespace.NgIf, CaseEditComponent], []);
|
|
28045
28076
|
|
|
@@ -28941,14 +28972,14 @@
|
|
|
28941
28972
|
BrowserService
|
|
28942
28973
|
], imports: [[
|
|
28943
28974
|
i1.CommonModule,
|
|
28944
|
-
|
|
28975
|
+
i3.FormsModule,
|
|
28945
28976
|
i1$1.RouterModule,
|
|
28946
28977
|
i1$6.NgxPaginationModule,
|
|
28947
28978
|
PaginationModule
|
|
28948
28979
|
]] });
|
|
28949
28980
|
(function () {
|
|
28950
28981
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [i1.CommonModule,
|
|
28951
|
-
|
|
28982
|
+
i3.FormsModule,
|
|
28952
28983
|
i1$1.RouterModule,
|
|
28953
28984
|
i1$6.NgxPaginationModule,
|
|
28954
28985
|
PaginationModule], exports: [CaseListComponent] });
|
|
@@ -28959,7 +28990,7 @@
|
|
|
28959
28990
|
args: [{
|
|
28960
28991
|
imports: [
|
|
28961
28992
|
i1.CommonModule,
|
|
28962
|
-
|
|
28993
|
+
i3.FormsModule,
|
|
28963
28994
|
i1$1.RouterModule,
|
|
28964
28995
|
i1$6.NgxPaginationModule,
|
|
28965
28996
|
PaginationModule
|
|
@@ -29076,7 +29107,7 @@
|
|
|
29076
29107
|
this.windowService = windowService;
|
|
29077
29108
|
this.onApply = new i0.EventEmitter();
|
|
29078
29109
|
this.onReset = new i0.EventEmitter();
|
|
29079
|
-
this.formGroup = new
|
|
29110
|
+
this.formGroup = new i3.FormGroup({});
|
|
29080
29111
|
this.initialised = false;
|
|
29081
29112
|
}
|
|
29082
29113
|
WorkbasketFiltersComponent.prototype.ngOnInit = function () {
|
|
@@ -29171,7 +29202,7 @@
|
|
|
29171
29202
|
if (this.selected.caseType) {
|
|
29172
29203
|
this.selectedCaseTypeStates = this.sortStates(this.selected.caseType.states);
|
|
29173
29204
|
this.selected.caseState = null;
|
|
29174
|
-
this.formGroup = new
|
|
29205
|
+
this.formGroup = new i3.FormGroup({});
|
|
29175
29206
|
this.clearWorkbasketInputs();
|
|
29176
29207
|
if (!this.isApplyButtonDisabled()) {
|
|
29177
29208
|
this.workbasketInputFilterService.getWorkbasketInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(operators.take(1)).subscribe(function (workbasketInputs) {
|
|
@@ -29445,15 +29476,15 @@
|
|
|
29445
29476
|
WindowService,
|
|
29446
29477
|
], imports: [[
|
|
29447
29478
|
i1.CommonModule,
|
|
29448
|
-
|
|
29449
|
-
|
|
29479
|
+
i3.FormsModule,
|
|
29480
|
+
i3.ReactiveFormsModule,
|
|
29450
29481
|
PaletteModule,
|
|
29451
29482
|
ConditionalShowModule
|
|
29452
29483
|
]] });
|
|
29453
29484
|
(function () {
|
|
29454
29485
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(WorkbasketFiltersModule, { declarations: [WorkbasketFiltersComponent], imports: [i1.CommonModule,
|
|
29455
|
-
|
|
29456
|
-
|
|
29486
|
+
i3.FormsModule,
|
|
29487
|
+
i3.ReactiveFormsModule,
|
|
29457
29488
|
PaletteModule,
|
|
29458
29489
|
ConditionalShowModule], exports: [WorkbasketFiltersComponent] });
|
|
29459
29490
|
})();
|
|
@@ -29463,8 +29494,8 @@
|
|
|
29463
29494
|
args: [{
|
|
29464
29495
|
imports: [
|
|
29465
29496
|
i1.CommonModule,
|
|
29466
|
-
|
|
29467
|
-
|
|
29497
|
+
i3.FormsModule,
|
|
29498
|
+
i3.ReactiveFormsModule,
|
|
29468
29499
|
PaletteModule,
|
|
29469
29500
|
ConditionalShowModule
|
|
29470
29501
|
],
|
|
@@ -29484,7 +29515,7 @@
|
|
|
29484
29515
|
}]
|
|
29485
29516
|
}], null, null);
|
|
29486
29517
|
})();
|
|
29487
|
-
i0__namespace.ɵɵsetComponentScope(WorkbasketFiltersComponent, [
|
|
29518
|
+
i0__namespace.ɵɵsetComponentScope(WorkbasketFiltersComponent, [i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.NgForm, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel, i1__namespace.NgIf, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, i1__namespace.NgForOf, ConditionalShowFormDirective, i3__namespace.FormGroupDirective, FieldWriteComponent], []);
|
|
29488
29519
|
|
|
29489
29520
|
var READ_ACCESS = 'read';
|
|
29490
29521
|
var CREATE_ACCESS = 'create';
|
|
@@ -29565,16 +29596,16 @@
|
|
|
29565
29596
|
WindowService
|
|
29566
29597
|
], imports: [[
|
|
29567
29598
|
i1.CommonModule,
|
|
29568
|
-
|
|
29569
|
-
|
|
29599
|
+
i3.FormsModule,
|
|
29600
|
+
i3.ReactiveFormsModule,
|
|
29570
29601
|
PaletteModule,
|
|
29571
29602
|
DefinitionsModule,
|
|
29572
29603
|
WorkbasketFiltersModule
|
|
29573
29604
|
]] });
|
|
29574
29605
|
(function () {
|
|
29575
29606
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseListFiltersModule, { declarations: [CaseListFiltersComponent], imports: [i1.CommonModule,
|
|
29576
|
-
|
|
29577
|
-
|
|
29607
|
+
i3.FormsModule,
|
|
29608
|
+
i3.ReactiveFormsModule,
|
|
29578
29609
|
PaletteModule,
|
|
29579
29610
|
DefinitionsModule,
|
|
29580
29611
|
WorkbasketFiltersModule], exports: [CaseListFiltersComponent] });
|
|
@@ -29585,8 +29616,8 @@
|
|
|
29585
29616
|
args: [{
|
|
29586
29617
|
imports: [
|
|
29587
29618
|
i1.CommonModule,
|
|
29588
|
-
|
|
29589
|
-
|
|
29619
|
+
i3.FormsModule,
|
|
29620
|
+
i3.ReactiveFormsModule,
|
|
29590
29621
|
PaletteModule,
|
|
29591
29622
|
DefinitionsModule,
|
|
29592
29623
|
WorkbasketFiltersModule
|
|
@@ -30118,16 +30149,16 @@
|
|
|
30118
30149
|
CaseTimelineModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
30119
30150
|
i1.CommonModule,
|
|
30120
30151
|
ErrorsModule,
|
|
30121
|
-
|
|
30122
|
-
|
|
30152
|
+
i3.FormsModule,
|
|
30153
|
+
i3.ReactiveFormsModule,
|
|
30123
30154
|
CaseHistoryModule,
|
|
30124
30155
|
PaletteModule
|
|
30125
30156
|
]] });
|
|
30126
30157
|
(function () {
|
|
30127
30158
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CaseTimelineModule, { declarations: [CaseTimelineComponent], imports: [i1.CommonModule,
|
|
30128
30159
|
ErrorsModule,
|
|
30129
|
-
|
|
30130
|
-
|
|
30160
|
+
i3.FormsModule,
|
|
30161
|
+
i3.ReactiveFormsModule,
|
|
30131
30162
|
CaseHistoryModule,
|
|
30132
30163
|
PaletteModule], exports: [CaseTimelineComponent] });
|
|
30133
30164
|
})();
|
|
@@ -30138,8 +30169,8 @@
|
|
|
30138
30169
|
imports: [
|
|
30139
30170
|
i1.CommonModule,
|
|
30140
30171
|
ErrorsModule,
|
|
30141
|
-
|
|
30142
|
-
|
|
30172
|
+
i3.FormsModule,
|
|
30173
|
+
i3.ReactiveFormsModule,
|
|
30143
30174
|
CaseHistoryModule,
|
|
30144
30175
|
PaletteModule
|
|
30145
30176
|
],
|
|
@@ -30875,16 +30906,16 @@
|
|
|
30875
30906
|
DialogsModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: DialogsModule });
|
|
30876
30907
|
DialogsModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
30877
30908
|
i1.CommonModule,
|
|
30878
|
-
|
|
30879
|
-
|
|
30909
|
+
i3.FormsModule,
|
|
30910
|
+
i3.ReactiveFormsModule,
|
|
30880
30911
|
]] });
|
|
30881
30912
|
(function () {
|
|
30882
30913
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(DialogsModule, { declarations: [DocumentDialogComponent,
|
|
30883
30914
|
DeleteOrCancelDialogComponent,
|
|
30884
30915
|
SaveOrDiscardDialogComponent,
|
|
30885
30916
|
RemoveDialogComponent], imports: [i1.CommonModule,
|
|
30886
|
-
|
|
30887
|
-
|
|
30917
|
+
i3.FormsModule,
|
|
30918
|
+
i3.ReactiveFormsModule], exports: [DocumentDialogComponent,
|
|
30888
30919
|
DeleteOrCancelDialogComponent,
|
|
30889
30920
|
SaveOrDiscardDialogComponent,
|
|
30890
30921
|
RemoveDialogComponent] });
|
|
@@ -30895,8 +30926,8 @@
|
|
|
30895
30926
|
args: [{
|
|
30896
30927
|
imports: [
|
|
30897
30928
|
i1.CommonModule,
|
|
30898
|
-
|
|
30899
|
-
|
|
30929
|
+
i3.FormsModule,
|
|
30930
|
+
i3.ReactiveFormsModule,
|
|
30900
30931
|
],
|
|
30901
30932
|
declarations: [
|
|
30902
30933
|
DocumentDialogComponent,
|
|
@@ -31509,7 +31540,7 @@
|
|
|
31509
31540
|
value = Object.assign(Object.assign({}, value), (_a = {}, _a[caseField.id] = caseField.value, _a));
|
|
31510
31541
|
});
|
|
31511
31542
|
}
|
|
31512
|
-
return new
|
|
31543
|
+
return new i3.FormGroup({ data: new i3.FormControl(value) });
|
|
31513
31544
|
};
|
|
31514
31545
|
CaseFullAccessViewComponent.prototype.resetErrors = function () {
|
|
31515
31546
|
this.error = null;
|
|
@@ -31950,13 +31981,13 @@
|
|
|
31950
31981
|
EventMessageModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: EventMessageModule });
|
|
31951
31982
|
EventMessageModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
31952
31983
|
i1.CommonModule,
|
|
31953
|
-
|
|
31984
|
+
i3.ReactiveFormsModule,
|
|
31954
31985
|
i1$1.RouterModule,
|
|
31955
31986
|
ActivityModule
|
|
31956
31987
|
]] });
|
|
31957
31988
|
(function () {
|
|
31958
31989
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(EventMessageModule, { declarations: [ErrorMessageComponent], imports: [i1.CommonModule,
|
|
31959
|
-
|
|
31990
|
+
i3.ReactiveFormsModule,
|
|
31960
31991
|
i1$1.RouterModule,
|
|
31961
31992
|
ActivityModule], exports: [ErrorMessageComponent] });
|
|
31962
31993
|
})();
|
|
@@ -31966,7 +31997,7 @@
|
|
|
31966
31997
|
args: [{
|
|
31967
31998
|
imports: [
|
|
31968
31999
|
i1.CommonModule,
|
|
31969
|
-
|
|
32000
|
+
i3.ReactiveFormsModule,
|
|
31970
32001
|
i1$1.RouterModule,
|
|
31971
32002
|
ActivityModule
|
|
31972
32003
|
],
|
|
@@ -32732,7 +32763,7 @@
|
|
|
32732
32763
|
EventStartStateMachineService
|
|
32733
32764
|
], imports: [[
|
|
32734
32765
|
i1.CommonModule,
|
|
32735
|
-
|
|
32766
|
+
i3.ReactiveFormsModule,
|
|
32736
32767
|
i1$1.RouterModule
|
|
32737
32768
|
]] });
|
|
32738
32769
|
(function () {
|
|
@@ -32743,7 +32774,7 @@
|
|
|
32743
32774
|
TaskCancelledComponent,
|
|
32744
32775
|
TaskConflictComponent,
|
|
32745
32776
|
TaskUnassignedComponent], imports: [i1.CommonModule,
|
|
32746
|
-
|
|
32777
|
+
i3.ReactiveFormsModule,
|
|
32747
32778
|
i1$1.RouterModule], exports: [EventStartComponent,
|
|
32748
32779
|
TaskAssignedComponent,
|
|
32749
32780
|
TaskUnassignedComponent] });
|
|
@@ -32754,7 +32785,7 @@
|
|
|
32754
32785
|
args: [{
|
|
32755
32786
|
imports: [
|
|
32756
32787
|
i1.CommonModule,
|
|
32757
|
-
|
|
32788
|
+
i3.ReactiveFormsModule,
|
|
32758
32789
|
i1$1.RouterModule
|
|
32759
32790
|
],
|
|
32760
32791
|
declarations: [
|
|
@@ -32847,7 +32878,7 @@
|
|
|
32847
32878
|
if (changes.triggers && changes.triggers.currentValue) {
|
|
32848
32879
|
this.triggers = this.orderService.sort(this.triggers);
|
|
32849
32880
|
this.triggerForm = this.fb.group({
|
|
32850
|
-
trigger: [this.getDefault(),
|
|
32881
|
+
trigger: [this.getDefault(), i3.Validators.required]
|
|
32851
32882
|
});
|
|
32852
32883
|
}
|
|
32853
32884
|
};
|
|
@@ -32865,7 +32896,7 @@
|
|
|
32865
32896
|
};
|
|
32866
32897
|
return EventTriggerComponent;
|
|
32867
32898
|
}());
|
|
32868
|
-
EventTriggerComponent.ɵfac = function EventTriggerComponent_Factory(t) { return new (t || EventTriggerComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
32899
|
+
EventTriggerComponent.ɵfac = function EventTriggerComponent_Factory(t) { return new (t || EventTriggerComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(OrderService)); };
|
|
32869
32900
|
EventTriggerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: EventTriggerComponent, selectors: [["ccd-event-trigger"]], inputs: { triggers: "triggers", triggerText: "triggerText", isDisabled: "isDisabled" }, outputs: { onTriggerSubmit: "onTriggerSubmit", onTriggerChange: "onTriggerChange" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "event-trigger", 3, "formGroup", "ngSubmit", 4, "ngIf"], [1, "event-trigger", 3, "formGroup", "ngSubmit"], [1, "form-group"], ["for", "next-step", 1, "form-label"], ["id", "next-step", "formControlName", "trigger", 1, "form-control", "ccd-dropdown", 3, "ngClass", "change"], ["value", "", "data-default", "", 4, "ngIf"], [3, "ngValue", "title", 4, "ngFor", "ngForOf"], ["type", "submit", 1, "button", 3, "disabled"], ["value", "", "data-default", ""], [3, "ngValue", "title"]], template: function EventTriggerComponent_Template(rf, ctx) {
|
|
32870
32901
|
if (rf & 1) {
|
|
32871
32902
|
i0__namespace.ɵɵtemplate(0, EventTriggerComponent_form_0_Template, 9, 8, "form", 0);
|
|
@@ -32873,7 +32904,7 @@
|
|
|
32873
32904
|
if (rf & 2) {
|
|
32874
32905
|
i0__namespace.ɵɵproperty("ngIf", ctx.triggers && ctx.triggers.length);
|
|
32875
32906
|
}
|
|
32876
|
-
}, directives: [i1__namespace.NgIf,
|
|
32907
|
+
}, directives: [i1__namespace.NgIf, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName, i1__namespace.NgClass, i1__namespace.NgForOf, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z], styles: [".event-trigger[_ngcontent-%COMP%]{width:auto;margin-top:40px;margin-bottom:20px}.event-trigger[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin-top:3px;margin-right:10px;margin-bottom:0;float:left;text-align:right;width:325px}.event-trigger[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{float:left;margin-top:5px}.event-trigger[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:250px}.event-trigger[_ngcontent-%COMP%] select.EventTrigger-empty[_ngcontent-%COMP%], .event-trigger[_ngcontent-%COMP%] select[_ngcontent-%COMP%] [data-default][_ngcontent-%COMP%]{color:#6f777b}"] });
|
|
32877
32908
|
(function () {
|
|
32878
32909
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(EventTriggerComponent, [{
|
|
32879
32910
|
type: i0.Component,
|
|
@@ -32882,7 +32913,7 @@
|
|
|
32882
32913
|
templateUrl: './event-trigger.component.html',
|
|
32883
32914
|
styleUrls: ['./event-trigger.component.scss']
|
|
32884
32915
|
}]
|
|
32885
|
-
}], function () { return [{ type:
|
|
32916
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: OrderService }]; }, { triggers: [{
|
|
32886
32917
|
type: i0.Input
|
|
32887
32918
|
}], triggerText: [{
|
|
32888
32919
|
type: i0.Input
|
|
@@ -32904,12 +32935,12 @@
|
|
|
32904
32935
|
EventTriggerModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: EventTriggerModule });
|
|
32905
32936
|
EventTriggerModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
32906
32937
|
i1.CommonModule,
|
|
32907
|
-
|
|
32938
|
+
i3.ReactiveFormsModule,
|
|
32908
32939
|
ActivityModule,
|
|
32909
32940
|
]] });
|
|
32910
32941
|
(function () {
|
|
32911
32942
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(EventTriggerModule, { declarations: [EventTriggerComponent], imports: [i1.CommonModule,
|
|
32912
|
-
|
|
32943
|
+
i3.ReactiveFormsModule,
|
|
32913
32944
|
ActivityModule], exports: [EventTriggerComponent] });
|
|
32914
32945
|
})();
|
|
32915
32946
|
(function () {
|
|
@@ -32918,7 +32949,7 @@
|
|
|
32918
32949
|
args: [{
|
|
32919
32950
|
imports: [
|
|
32920
32951
|
i1.CommonModule,
|
|
32921
|
-
|
|
32952
|
+
i3.ReactiveFormsModule,
|
|
32922
32953
|
ActivityModule,
|
|
32923
32954
|
],
|
|
32924
32955
|
declarations: [
|
|
@@ -33063,9 +33094,9 @@
|
|
|
33063
33094
|
this.hint = ChallengedAccessRequestPageText.HINT;
|
|
33064
33095
|
this.caseRefLabel = ChallengedAccessRequestPageText.CASE_REF;
|
|
33065
33096
|
this.formGroup = this.fb.group({
|
|
33066
|
-
radioSelected: new
|
|
33097
|
+
radioSelected: new i3.FormControl(null, i3.Validators.required)
|
|
33067
33098
|
});
|
|
33068
|
-
this.formGroup.addControl(this.caseReferenceControlName, new
|
|
33099
|
+
this.formGroup.addControl(this.caseReferenceControlName, new i3.FormControl('', {
|
|
33069
33100
|
validators: [function (control) {
|
|
33070
33101
|
if (_this.formGroup.get(_this.radioSelectedControlName).value === AccessReason$1.LINKED_TO_CURRENT_CASE && _this.inputEmpty(control)) {
|
|
33071
33102
|
return { invalid: true };
|
|
@@ -33074,7 +33105,7 @@
|
|
|
33074
33105
|
}],
|
|
33075
33106
|
updateOn: 'submit'
|
|
33076
33107
|
}));
|
|
33077
|
-
this.formGroup.addControl(this.otherReasonControlName, new
|
|
33108
|
+
this.formGroup.addControl(this.otherReasonControlName, new i3.FormControl('', {
|
|
33078
33109
|
validators: [function (control) {
|
|
33079
33110
|
if (_this.formGroup.get(_this.radioSelectedControlName).value === AccessReason$1.OTHER && _this.inputEmpty(control)) {
|
|
33080
33111
|
return { invalid: true };
|
|
@@ -33155,7 +33186,7 @@
|
|
|
33155
33186
|
return CaseChallengedAccessRequestComponent;
|
|
33156
33187
|
}());
|
|
33157
33188
|
CaseChallengedAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
33158
|
-
CaseChallengedAccessRequestComponent.ɵfac = function CaseChallengedAccessRequestComponent_Factory(t) { return new (t || CaseChallengedAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
33189
|
+
CaseChallengedAccessRequestComponent.ɵfac = function CaseChallengedAccessRequestComponent_Factory(t) { return new (t || CaseChallengedAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
|
|
33159
33190
|
CaseChallengedAccessRequestComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], decls: 40, vars: 22, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "formGroup", "submit"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], [1, "govuk-form-group"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "aria-describedby", "reason-3-label", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) {
|
|
33160
33191
|
if (rf & 1) {
|
|
33161
33192
|
i0__namespace.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
@@ -33271,7 +33302,7 @@
|
|
|
33271
33302
|
selector: 'ccd-case-challenged-access-request',
|
|
33272
33303
|
templateUrl: './case-challenged-access-request.component.html'
|
|
33273
33304
|
}]
|
|
33274
|
-
}], function () { return [{ type:
|
|
33305
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: i1__namespace$1.Router }, { type: CasesService }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseNotifier }]; }, null);
|
|
33275
33306
|
})();
|
|
33276
33307
|
|
|
33277
33308
|
var CaseChallengedAccessSuccessComponent = /** @class */ (function () {
|
|
@@ -33469,7 +33500,7 @@
|
|
|
33469
33500
|
this.hint = ReviewSpecificAccessRequestPageText.HINT;
|
|
33470
33501
|
this.caseRefLabel = ReviewSpecificAccessRequestPageText.CASE_REF;
|
|
33471
33502
|
this.formGroup = this.fb.group({
|
|
33472
|
-
radioSelected: new
|
|
33503
|
+
radioSelected: new i3.FormControl(null, i3.Validators.required),
|
|
33473
33504
|
});
|
|
33474
33505
|
};
|
|
33475
33506
|
CaseReviewSpecificAccessRequestComponent.prototype.ngOnDestroy = function () {
|
|
@@ -33521,7 +33552,7 @@
|
|
|
33521
33552
|
return CaseReviewSpecificAccessRequestComponent;
|
|
33522
33553
|
}());
|
|
33523
33554
|
CaseReviewSpecificAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
33524
|
-
CaseReviewSpecificAccessRequestComponent.ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(t) { return new (t || CaseReviewSpecificAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
33555
|
+
CaseReviewSpecificAccessRequestComponent.ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(t) { return new (t || CaseReviewSpecificAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
33525
33556
|
CaseReviewSpecificAccessRequestComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], decls: 64, vars: 22, consts: [[3, "error", 4, "ngIf"], [3, "formGroup", "submit"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "value", "checked", "change"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) {
|
|
33526
33557
|
if (rf & 1) {
|
|
33527
33558
|
i0__namespace.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
@@ -33679,7 +33710,7 @@
|
|
|
33679
33710
|
templateUrl: './case-review-specific-access-request.component.html',
|
|
33680
33711
|
styleUrls: ['./case-review-specific-access-request.component.scss']
|
|
33681
33712
|
}]
|
|
33682
|
-
}], function () { return [{ type:
|
|
33713
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: AbstractAppConfig }]; }, null);
|
|
33683
33714
|
})();
|
|
33684
33715
|
|
|
33685
33716
|
var SpecificAccessRequestPageText;
|
|
@@ -33734,9 +33765,9 @@
|
|
|
33734
33765
|
this.hint = SpecificAccessRequestPageText.HINT;
|
|
33735
33766
|
this.caseRefLabel = SpecificAccessRequestPageText.CASE_REF;
|
|
33736
33767
|
this.formGroup = this.fb.group({
|
|
33737
|
-
radioSelected: new
|
|
33768
|
+
radioSelected: new i3.FormControl(null, null),
|
|
33738
33769
|
});
|
|
33739
|
-
this.formGroup.addControl(this.specificReasonControlName, new
|
|
33770
|
+
this.formGroup.addControl(this.specificReasonControlName, new i3.FormControl('', {
|
|
33740
33771
|
validators: [
|
|
33741
33772
|
function (control) {
|
|
33742
33773
|
if (_this.inputEmpty(control)) {
|
|
@@ -33798,7 +33829,7 @@
|
|
|
33798
33829
|
return CaseSpecificAccessRequestComponent;
|
|
33799
33830
|
}());
|
|
33800
33831
|
CaseSpecificAccessRequestComponent.CANCEL_LINK_DESTINATION = '/work/my-work/list';
|
|
33801
|
-
CaseSpecificAccessRequestComponent.ɵfac = function CaseSpecificAccessRequestComponent_Factory(t) { return new (t || CaseSpecificAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
33832
|
+
CaseSpecificAccessRequestComponent.ɵfac = function CaseSpecificAccessRequestComponent_Factory(t) { return new (t || CaseSpecificAccessRequestComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.Router), i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseNotifier)); };
|
|
33802
33833
|
CaseSpecificAccessRequestComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 39, vars: 11, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "formGroup", "submit"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["role", "button", "aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) {
|
|
33803
33834
|
if (rf & 1) {
|
|
33804
33835
|
i0__namespace.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
@@ -33890,7 +33921,7 @@
|
|
|
33890
33921
|
selector: 'ccd-case-specific-access-request',
|
|
33891
33922
|
templateUrl: './case-specific-access-request.component.html',
|
|
33892
33923
|
}]
|
|
33893
|
-
}], function () { return [{ type:
|
|
33924
|
+
}], function () { return [{ type: i3__namespace.FormBuilder }, { type: i1__namespace$1.Router }, { type: CasesService }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseNotifier }]; }, null);
|
|
33894
33925
|
})();
|
|
33895
33926
|
|
|
33896
33927
|
var CaseSpecificAccessSuccessComponent = /** @class */ (function () {
|
|
@@ -33988,7 +34019,7 @@
|
|
|
33988
34019
|
ConditionalShowModule,
|
|
33989
34020
|
CaseHistoryModule,
|
|
33990
34021
|
i9.MatTabsModule,
|
|
33991
|
-
|
|
34022
|
+
i3.ReactiveFormsModule,
|
|
33992
34023
|
BannersModule,
|
|
33993
34024
|
LabelSubstitutorModule,
|
|
33994
34025
|
LoadingSpinnerModule,
|
|
@@ -34019,7 +34050,7 @@
|
|
|
34019
34050
|
ConditionalShowModule,
|
|
34020
34051
|
CaseHistoryModule,
|
|
34021
34052
|
i9.MatTabsModule,
|
|
34022
|
-
|
|
34053
|
+
i3.ReactiveFormsModule,
|
|
34023
34054
|
BannersModule,
|
|
34024
34055
|
LabelSubstitutorModule,
|
|
34025
34056
|
LoadingSpinnerModule,
|
|
@@ -34043,7 +34074,7 @@
|
|
|
34043
34074
|
ConditionalShowModule,
|
|
34044
34075
|
CaseHistoryModule,
|
|
34045
34076
|
i9.MatTabsModule,
|
|
34046
|
-
|
|
34077
|
+
i3.ReactiveFormsModule,
|
|
34047
34078
|
BannersModule,
|
|
34048
34079
|
LabelSubstitutorModule,
|
|
34049
34080
|
LoadingSpinnerModule,
|
|
@@ -34091,9 +34122,9 @@
|
|
|
34091
34122
|
CaseFullAccessViewComponent], []);
|
|
34092
34123
|
i0__namespace.ɵɵsetComponentScope(CaseFullAccessViewComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, CallbackErrorsComponent, ActivityComponent, CaseHeaderComponent, i1__namespace$1.RouterLinkWithHref, EventTriggerComponent, NotificationBannerComponent, i9__namespace.MatTabGroup, i9__namespace.MatTab, i9__namespace.MatTabContent, LabelSubstitutorDirective, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, FieldReadComponent, i1__namespace$1.RouterOutlet], [ReadFieldsFilterPipe, CcdTabFieldsPipe, IsCompoundPipe]);
|
|
34093
34124
|
i0__namespace.ɵɵsetComponentScope(CaseViewComponent, [i1__namespace.NgIf, CaseViewerComponent], []);
|
|
34094
|
-
i0__namespace.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent, AlertComponent,
|
|
34095
|
-
i0__namespace.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent, AlertComponent,
|
|
34096
|
-
i0__namespace.ɵɵsetComponentScope(CaseReviewSpecificAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent,
|
|
34125
|
+
i0__namespace.ɵɵsetComponentScope(CaseChallengedAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent, AlertComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], []);
|
|
34126
|
+
i0__namespace.ɵɵsetComponentScope(CaseSpecificAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent, AlertComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], []);
|
|
34127
|
+
i0__namespace.ɵɵsetComponentScope(CaseReviewSpecificAccessRequestComponent, [i1__namespace.NgIf, ErrorMessageComponent, i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.FormGroupDirective, i1__namespace.NgClass, i3__namespace.RadioControlValueAccessor, i3__namespace.DefaultValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlName], []);
|
|
34097
34128
|
|
|
34098
34129
|
var viewerRouting = [
|
|
34099
34130
|
{
|
|
@@ -34253,7 +34284,7 @@
|
|
|
34253
34284
|
this.sessionStorageService = sessionStorageService;
|
|
34254
34285
|
this.selectionSubmitted = new i0.EventEmitter();
|
|
34255
34286
|
this.selectionChanged = new i0.EventEmitter();
|
|
34256
|
-
this.formGroup = new
|
|
34287
|
+
this.formGroup = new i3.FormGroup({});
|
|
34257
34288
|
}
|
|
34258
34289
|
CreateCaseFiltersComponent.prototype.ngOnInit = function () {
|
|
34259
34290
|
var _this = this;
|
|
@@ -34311,11 +34342,11 @@
|
|
|
34311
34342
|
});
|
|
34312
34343
|
};
|
|
34313
34344
|
CreateCaseFiltersComponent.prototype.initControls = function () {
|
|
34314
|
-
this.filterJurisdictionControl = new
|
|
34345
|
+
this.filterJurisdictionControl = new i3.FormControl('');
|
|
34315
34346
|
this.formGroup.addControl('jurisdiction', this.filterJurisdictionControl);
|
|
34316
|
-
this.filterCaseTypeControl = new
|
|
34347
|
+
this.filterCaseTypeControl = new i3.FormControl({ value: '', disabled: true });
|
|
34317
34348
|
this.formGroup.addControl('caseType', this.filterCaseTypeControl);
|
|
34318
|
-
this.filterEventControl = new
|
|
34349
|
+
this.filterEventControl = new i3.FormControl({ value: '', disabled: true });
|
|
34319
34350
|
this.formGroup.addControl('event', this.filterEventControl);
|
|
34320
34351
|
};
|
|
34321
34352
|
CreateCaseFiltersComponent.prototype.emitChange = function () {
|
|
@@ -34451,7 +34482,7 @@
|
|
|
34451
34482
|
i0__namespace.ɵɵadvance(1);
|
|
34452
34483
|
i0__namespace.ɵɵtextInterpolate(ctx.startButtonText);
|
|
34453
34484
|
}
|
|
34454
|
-
}, directives: [
|
|
34485
|
+
}, directives: [i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.NgForm, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.FormControlDirective, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, i1__namespace.NgForOf], encapsulation: 2 });
|
|
34455
34486
|
(function () {
|
|
34456
34487
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CreateCaseFiltersComponent, [{
|
|
34457
34488
|
type: i0.Component,
|
|
@@ -34479,15 +34510,15 @@
|
|
|
34479
34510
|
CreateCaseFiltersModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: CreateCaseFiltersModule });
|
|
34480
34511
|
CreateCaseFiltersModule.ɵinj = i0__namespace.ɵɵdefineInjector({ imports: [[
|
|
34481
34512
|
i1.CommonModule,
|
|
34482
|
-
|
|
34483
|
-
|
|
34513
|
+
i3.FormsModule,
|
|
34514
|
+
i3.ReactiveFormsModule,
|
|
34484
34515
|
DefinitionsModule,
|
|
34485
34516
|
ErrorsModule,
|
|
34486
34517
|
]] });
|
|
34487
34518
|
(function () {
|
|
34488
34519
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(CreateCaseFiltersModule, { declarations: [CreateCaseFiltersComponent], imports: [i1.CommonModule,
|
|
34489
|
-
|
|
34490
|
-
|
|
34520
|
+
i3.FormsModule,
|
|
34521
|
+
i3.ReactiveFormsModule,
|
|
34491
34522
|
DefinitionsModule,
|
|
34492
34523
|
ErrorsModule], exports: [CreateCaseFiltersComponent] });
|
|
34493
34524
|
})();
|
|
@@ -34497,8 +34528,8 @@
|
|
|
34497
34528
|
args: [{
|
|
34498
34529
|
imports: [
|
|
34499
34530
|
i1.CommonModule,
|
|
34500
|
-
|
|
34501
|
-
|
|
34531
|
+
i3.FormsModule,
|
|
34532
|
+
i3.ReactiveFormsModule,
|
|
34502
34533
|
DefinitionsModule,
|
|
34503
34534
|
ErrorsModule,
|
|
34504
34535
|
],
|
|
@@ -34605,7 +34636,7 @@
|
|
|
34605
34636
|
this.onApply = new i0.EventEmitter();
|
|
34606
34637
|
this.onReset = new i0.EventEmitter();
|
|
34607
34638
|
this.onJurisdiction = new i0.EventEmitter();
|
|
34608
|
-
this.formGroup = new
|
|
34639
|
+
this.formGroup = new i3.FormGroup({});
|
|
34609
34640
|
}
|
|
34610
34641
|
SearchFiltersComponent.prototype.ngOnInit = function () {
|
|
34611
34642
|
this.selected = {};
|
|
@@ -34682,7 +34713,7 @@
|
|
|
34682
34713
|
};
|
|
34683
34714
|
SearchFiltersComponent.prototype.onCaseTypeIdChange = function () {
|
|
34684
34715
|
var _this = this;
|
|
34685
|
-
this.formGroup = new
|
|
34716
|
+
this.formGroup = new i3.FormGroup({});
|
|
34686
34717
|
this.searchInputsReady = false;
|
|
34687
34718
|
this.searchInputs = [];
|
|
34688
34719
|
this.searchService.getSearchInputs(this.selected.jurisdiction.id, this.selected.caseType.id).pipe(operators.tap(function () { return _this.searchInputsReady = true; })).subscribe(function (searchInputs) {
|
|
@@ -34911,16 +34942,16 @@
|
|
|
34911
34942
|
WindowService
|
|
34912
34943
|
], imports: [[
|
|
34913
34944
|
i1.CommonModule,
|
|
34914
|
-
|
|
34915
|
-
|
|
34945
|
+
i3.FormsModule,
|
|
34946
|
+
i3.ReactiveFormsModule,
|
|
34916
34947
|
PaletteModule,
|
|
34917
34948
|
ConditionalShowModule
|
|
34918
34949
|
]] });
|
|
34919
34950
|
(function () {
|
|
34920
34951
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchFiltersModule, { declarations: [SearchFiltersComponent,
|
|
34921
34952
|
SearchFiltersWrapperComponent], imports: [i1.CommonModule,
|
|
34922
|
-
|
|
34923
|
-
|
|
34953
|
+
i3.FormsModule,
|
|
34954
|
+
i3.ReactiveFormsModule,
|
|
34924
34955
|
PaletteModule,
|
|
34925
34956
|
ConditionalShowModule], exports: [SearchFiltersWrapperComponent] });
|
|
34926
34957
|
})();
|
|
@@ -34930,8 +34961,8 @@
|
|
|
34930
34961
|
args: [{
|
|
34931
34962
|
imports: [
|
|
34932
34963
|
i1.CommonModule,
|
|
34933
|
-
|
|
34934
|
-
|
|
34964
|
+
i3.FormsModule,
|
|
34965
|
+
i3.ReactiveFormsModule,
|
|
34935
34966
|
PaletteModule,
|
|
34936
34967
|
ConditionalShowModule
|
|
34937
34968
|
],
|
|
@@ -34952,7 +34983,7 @@
|
|
|
34952
34983
|
}]
|
|
34953
34984
|
}], null, null);
|
|
34954
34985
|
})();
|
|
34955
|
-
i0__namespace.ɵɵsetComponentScope(SearchFiltersComponent, [
|
|
34986
|
+
i0__namespace.ɵɵsetComponentScope(SearchFiltersComponent, [i3__namespace.ɵangular_packages_forms_forms_ba, i3__namespace.NgControlStatusGroup, i3__namespace.NgForm, i3__namespace.SelectControlValueAccessor, i3__namespace.NgControlStatus, i3__namespace.NgModel, i1__namespace.NgForOf, i3__namespace.NgSelectOption, i3__namespace.ɵangular_packages_forms_forms_z, i1__namespace.NgIf, ConditionalShowFormDirective, i3__namespace.FormGroupDirective, FieldWriteComponent], []);
|
|
34956
34987
|
i0__namespace.ɵɵsetComponentScope(SearchFiltersWrapperComponent, [i1__namespace.NgIf, SearchFiltersComponent], []);
|
|
34957
34988
|
|
|
34958
34989
|
function SearchResultComponent_table_0_div_4_Template(rf, ctx) {
|
|
@@ -35889,8 +35920,8 @@
|
|
|
35889
35920
|
i1.CommonModule,
|
|
35890
35921
|
i1$6.NgxPaginationModule,
|
|
35891
35922
|
i1$1.RouterModule,
|
|
35892
|
-
|
|
35893
|
-
|
|
35923
|
+
i3.FormsModule,
|
|
35924
|
+
i3.ReactiveFormsModule,
|
|
35894
35925
|
LabelSubstitutorModule,
|
|
35895
35926
|
PipesModule,
|
|
35896
35927
|
ActivityModule,
|
|
@@ -35901,8 +35932,8 @@
|
|
|
35901
35932
|
(typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(SearchResultModule, { declarations: [SearchResultComponent], imports: [i1.CommonModule,
|
|
35902
35933
|
i1$6.NgxPaginationModule,
|
|
35903
35934
|
i1$1.RouterModule,
|
|
35904
|
-
|
|
35905
|
-
|
|
35935
|
+
i3.FormsModule,
|
|
35936
|
+
i3.ReactiveFormsModule,
|
|
35906
35937
|
LabelSubstitutorModule,
|
|
35907
35938
|
PipesModule,
|
|
35908
35939
|
ActivityModule,
|
|
@@ -35917,8 +35948,8 @@
|
|
|
35917
35948
|
i1.CommonModule,
|
|
35918
35949
|
i1$6.NgxPaginationModule,
|
|
35919
35950
|
i1$1.RouterModule,
|
|
35920
|
-
|
|
35921
|
-
|
|
35951
|
+
i3.FormsModule,
|
|
35952
|
+
i3.ReactiveFormsModule,
|
|
35922
35953
|
LabelSubstitutorModule,
|
|
35923
35954
|
PipesModule,
|
|
35924
35955
|
ActivityModule,
|