@hmcts/ccd-case-ui-toolkit 6.13.11-judicial-user-typeahead-fix → 6.13.11-linked-reasons-sorting
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 +528 -361
- 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/commons/case-edit-data/case-edit-data.service.js +5 -8
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +19 -3
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +2 -2
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -2
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +12 -5
- package/esm2015/lib/shared/components/palette/case-file-view/index.js +1 -2
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +13 -2
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +5 -6
- package/esm2015/lib/shared/components/palette/index.js +2 -1
- package/esm2015/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.js +22 -45
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +27 -2
- package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.js +1 -1
- package/esm2015/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.js +36 -86
- package/esm2015/lib/shared/components/palette/palette.module.js +31 -8
- package/esm2015/lib/shared/components/palette/palette.service.js +5 -3
- package/esm2015/lib/shared/domain/definition/case-field.model.js +6 -3
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +14 -11
- package/esm2015/lib/shared/services/fields/fields.utils.js +8 -1
- package/esm2015/lib/shared/services/form/field-type-sanitiser.js +16 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +452 -300
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +3 -5
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +5 -2
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts +0 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +1 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts +9 -10
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts +2 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts +0 -4
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts +0 -4
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +60 -59
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.utils.d.ts +2 -0
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
- package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
- package/package.json +2 -2
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +0 -72
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts +0 -8
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
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
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
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.i11, global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
-
})(this, (function (exports, i0, i1, i1$1, i2, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$1,
|
|
5
|
+
})(this, (function (exports, i0, i1, i1$1, i2, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$1, i5, i6, i3, i1$4, i7, i3$1, i4, momentAdapter, i5$1, i6$1, i1$5, i11, 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
|
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
35
35
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
36
36
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
37
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
38
37
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
38
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
39
39
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
40
40
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
41
41
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
42
42
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
43
|
-
var i4__namespace
|
|
43
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
44
44
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
45
|
-
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
45
|
+
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
46
46
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
47
47
|
var i11__namespace = /*#__PURE__*/_interopNamespace(i11);
|
|
48
|
-
var i6__namespace$
|
|
48
|
+
var i6__namespace$2 = /*#__PURE__*/_interopNamespace(i6$2);
|
|
49
49
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
50
50
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
51
51
|
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
var _c0
|
|
121
|
+
var _c0$$ = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
122
122
|
var _c1$s = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
123
123
|
var FooterComponent = /** @class */ (function () {
|
|
124
124
|
function FooterComponent() {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
129
129
|
FooterComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$s, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) {
|
|
130
130
|
if (rf & 1) {
|
|
131
|
-
i0__namespace.ɵɵprojectionDef(_c0
|
|
131
|
+
i0__namespace.ɵɵprojectionDef(_c0$$);
|
|
132
132
|
i0__namespace.ɵɵelementStart(0, "footer", 0);
|
|
133
133
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
134
134
|
i0__namespace.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
i0__namespace.ɵɵtextInterpolate(ctx_r2.title);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
var _c0$
|
|
210
|
+
var _c0$_ = [[["", "headerNavigation", ""]]];
|
|
211
211
|
var _c1$r = ["[headerNavigation]"];
|
|
212
212
|
var HeaderBarComponent = /** @class */ (function () {
|
|
213
213
|
function HeaderBarComponent() {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
222
222
|
HeaderBarComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$r, decls: 15, vars: 8, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) {
|
|
223
223
|
if (rf & 1) {
|
|
224
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
224
|
+
i0__namespace.ɵɵprojectionDef(_c0$_);
|
|
225
225
|
i0__namespace.ɵɵelementStart(0, "header", 0);
|
|
226
226
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
227
227
|
i0__namespace.ɵɵelementStart(2, "div", 2);
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
}] });
|
|
283
283
|
})();
|
|
284
284
|
|
|
285
|
-
var _c0$
|
|
285
|
+
var _c0$Z = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
286
286
|
var _c1$q = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
287
287
|
var NavigationComponent = /** @class */ (function () {
|
|
288
288
|
function NavigationComponent() {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
293
293
|
NavigationComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$q, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) {
|
|
294
294
|
if (rf & 1) {
|
|
295
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
295
|
+
i0__namespace.ɵɵprojectionDef(_c0$Z);
|
|
296
296
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
297
297
|
i0__namespace.ɵɵelementStart(1, "nav", 0);
|
|
298
298
|
i0__namespace.ɵɵprojection(2);
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
}], null, null);
|
|
438
438
|
})();
|
|
439
439
|
|
|
440
|
-
var _c0$
|
|
440
|
+
var _c0$Y = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
441
441
|
var _c1$p = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
442
442
|
var BodyComponent = /** @class */ (function () {
|
|
443
443
|
function BodyComponent() {
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
448
448
|
BodyComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$p, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) {
|
|
449
449
|
if (rf & 1) {
|
|
450
|
-
i0__namespace.ɵɵprojectionDef(_c0$
|
|
450
|
+
i0__namespace.ɵɵprojectionDef(_c0$Y);
|
|
451
451
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
452
452
|
i0__namespace.ɵɵprojection(1);
|
|
453
453
|
i0__namespace.ɵɵprojection(2, 1);
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
-
var _c0$
|
|
855
|
+
var _c0$X = function (a0) { return { "govuk-input--error": a0 }; };
|
|
856
856
|
function DateInputComponent_div_16_Template(rf, ctx) {
|
|
857
857
|
if (rf & 1) {
|
|
858
858
|
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -870,7 +870,7 @@
|
|
|
870
870
|
i0__namespace.ɵɵadvance(1);
|
|
871
871
|
i0__namespace.ɵɵproperty("for", ctx_r3.hourId());
|
|
872
872
|
i0__namespace.ɵɵadvance(2);
|
|
873
|
-
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
873
|
+
i0__namespace.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r3.isInvalid));
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
function DateInputComponent_div_17_Template(rf, ctx) {
|
|
@@ -890,7 +890,7 @@
|
|
|
890
890
|
i0__namespace.ɵɵadvance(1);
|
|
891
891
|
i0__namespace.ɵɵproperty("for", ctx_r4.minuteId());
|
|
892
892
|
i0__namespace.ɵɵadvance(2);
|
|
893
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
893
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r4.isInvalid));
|
|
894
894
|
}
|
|
895
895
|
}
|
|
896
896
|
function DateInputComponent_div_18_Template(rf, ctx) {
|
|
@@ -910,7 +910,7 @@
|
|
|
910
910
|
i0__namespace.ɵɵadvance(1);
|
|
911
911
|
i0__namespace.ɵɵproperty("for", ctx_r5.secondId());
|
|
912
912
|
i0__namespace.ɵɵadvance(2);
|
|
913
|
-
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$
|
|
913
|
+
i0__namespace.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0__namespace.ɵɵpureFunction1(5, _c0$X, ctx_r5.isInvalid));
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
916
|
var DateInputComponent = /** @class */ (function () {
|
|
@@ -1144,15 +1144,15 @@
|
|
|
1144
1144
|
i0__namespace.ɵɵadvance(2);
|
|
1145
1145
|
i0__namespace.ɵɵproperty("for", ctx.dayId());
|
|
1146
1146
|
i0__namespace.ɵɵadvance(2);
|
|
1147
|
-
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$
|
|
1147
|
+
i0__namespace.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0__namespace.ɵɵpureFunction1(18, _c0$X, ctx.isInvalid));
|
|
1148
1148
|
i0__namespace.ɵɵadvance(3);
|
|
1149
1149
|
i0__namespace.ɵɵproperty("for", ctx.monthId());
|
|
1150
1150
|
i0__namespace.ɵɵadvance(2);
|
|
1151
|
-
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$
|
|
1151
|
+
i0__namespace.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0__namespace.ɵɵpureFunction1(20, _c0$X, ctx.isInvalid));
|
|
1152
1152
|
i0__namespace.ɵɵadvance(3);
|
|
1153
1153
|
i0__namespace.ɵɵproperty("for", ctx.yearId());
|
|
1154
1154
|
i0__namespace.ɵɵadvance(2);
|
|
1155
|
-
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$
|
|
1155
|
+
i0__namespace.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0__namespace.ɵɵpureFunction1(22, _c0$X, ctx.isInvalid));
|
|
1156
1156
|
i0__namespace.ɵɵadvance(2);
|
|
1157
1157
|
i0__namespace.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
1158
1158
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -1233,7 +1233,7 @@
|
|
|
1233
1233
|
i0__namespace.ɵɵelementContainerEnd();
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
|
-
var _c0$
|
|
1236
|
+
var _c0$W = ["*"];
|
|
1237
1237
|
exports.AlertMessageType = void 0;
|
|
1238
1238
|
(function (AlertMessageType) {
|
|
1239
1239
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -1254,7 +1254,7 @@
|
|
|
1254
1254
|
AlertComponent.TYPE_ERROR = 'error';
|
|
1255
1255
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
1256
1256
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
1257
|
-
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
1257
|
+
AlertComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$W, decls: 10, vars: 10, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) {
|
|
1258
1258
|
if (rf & 1) {
|
|
1259
1259
|
i0__namespace.ɵɵprojectionDef();
|
|
1260
1260
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
}] });
|
|
1530
1530
|
})();
|
|
1531
1531
|
|
|
1532
|
-
var _c0$
|
|
1532
|
+
var _c0$V = function (a0) { return { "js-hidden": a0 }; };
|
|
1533
1533
|
var _c1$o = ["*"];
|
|
1534
1534
|
var TabComponent = /** @class */ (function () {
|
|
1535
1535
|
function TabComponent() {
|
|
@@ -1545,7 +1545,7 @@
|
|
|
1545
1545
|
i0__namespace.ɵɵelementEnd();
|
|
1546
1546
|
}
|
|
1547
1547
|
if (rf & 2) {
|
|
1548
|
-
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$
|
|
1548
|
+
i0__namespace.ɵɵproperty("id", ctx.id)("ngClass", i0__namespace.ɵɵpureFunction1(3, _c0$V, !ctx.selected));
|
|
1549
1549
|
i0__namespace.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1550
1550
|
}
|
|
1551
1551
|
}, directives: [i1__namespace.NgClass], styles: [".tabs-toggle[_ngcontent-%COMP%]{display:block;padding:10px 15px 3px;margin-bottom:8px}.tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{color:#0b0c0c;text-decoration:none;border-bottom:none}.tabs-toggle[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#005ea5}@media (max-width:640px){.tabs-list[_ngcontent-%COMP%]{border-bottom:1px solid #bfc1c3;margin-left:-15px;margin-right:-15px}.tabs-toggle[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3}.tabs-toggle[_ngcontent-%COMP%]:focus{color:#0b0c0c;outline:none}}@media (min-width:641px){.tabs-panel[_ngcontent-%COMP%]{border-top:1px solid #bfc1c3;clear:both;overflow:hidden}.tabs-list[_ngcontent-%COMP%]{float:left}.tabs-list-item[_ngcontent-%COMP%]{float:left;position:relative;bottom:-1px;padding-top:10px}.tabs-toggle[_ngcontent-%COMP%]{background-color:#dee0e2;border:1px solid transparent;float:left;margin:0 6px 0 0;text-decoration:none}.tabs-toggle[_ngcontent-%COMP%]:visited{color:#005ea5}.tabs-toggle-selected[_ngcontent-%COMP%], .tabs-toggle[aria-selected=true][_ngcontent-%COMP%]{background-color:#fff;border-bottom:0;border-color:#bfc1c3;padding-bottom:11px;margin-bottom:0;color:#0b0c0c}}"] });
|
|
@@ -1568,7 +1568,7 @@
|
|
|
1568
1568
|
}] });
|
|
1569
1569
|
})();
|
|
1570
1570
|
|
|
1571
|
-
var _c0$
|
|
1571
|
+
var _c0$U = ["tab"];
|
|
1572
1572
|
var _c1$n = function () { return ["."]; };
|
|
1573
1573
|
var _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1574
1574
|
function TabsComponent_li_2_Template(rf, ctx) {
|
|
@@ -1622,7 +1622,7 @@
|
|
|
1622
1622
|
}
|
|
1623
1623
|
}, viewQuery: function TabsComponent_Query(rf, ctx) {
|
|
1624
1624
|
if (rf & 1) {
|
|
1625
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
1625
|
+
i0__namespace.ɵɵviewQuery(_c0$U, 1);
|
|
1626
1626
|
}
|
|
1627
1627
|
if (rf & 2) {
|
|
1628
1628
|
var _t = void 0;
|
|
@@ -1701,7 +1701,7 @@
|
|
|
1701
1701
|
}], null, null);
|
|
1702
1702
|
})();
|
|
1703
1703
|
|
|
1704
|
-
var _c0$
|
|
1704
|
+
var _c0$T = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1705
1705
|
var ActivityBannerComponent = /** @class */ (function () {
|
|
1706
1706
|
function ActivityBannerComponent() {
|
|
1707
1707
|
}
|
|
@@ -1722,7 +1722,7 @@
|
|
|
1722
1722
|
i0__namespace.ɵɵelementEnd();
|
|
1723
1723
|
}
|
|
1724
1724
|
if (rf & 2) {
|
|
1725
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$
|
|
1725
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction2(4, _c0$T, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1726
1726
|
i0__namespace.ɵɵadvance(2);
|
|
1727
1727
|
i0__namespace.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1728
1728
|
i0__namespace.ɵɵpropertyInterpolate("src", ctx.imageLink, i0__namespace.ɵɵsanitizeUrl);
|
|
@@ -3360,9 +3360,12 @@
|
|
|
3360
3360
|
}
|
|
3361
3361
|
Object.defineProperty(CaseField.prototype, "value", {
|
|
3362
3362
|
get: function () {
|
|
3363
|
-
if (this.
|
|
3363
|
+
if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
|
|
3364
3364
|
return this._value && this._value.value ? this._value.value.code : this._value;
|
|
3365
3365
|
}
|
|
3366
|
+
else if (this.field_type && this.field_type.type === 'DynamicMultiSelectList') {
|
|
3367
|
+
return this._value && this._value.value ? this._value.value : this._value;
|
|
3368
|
+
}
|
|
3366
3369
|
else {
|
|
3367
3370
|
return this._value;
|
|
3368
3371
|
}
|
|
@@ -3452,7 +3455,7 @@
|
|
|
3452
3455
|
};
|
|
3453
3456
|
CaseField.prototype.isDynamic = function () {
|
|
3454
3457
|
var _this = this;
|
|
3455
|
-
var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList'];
|
|
3458
|
+
var dynamicFieldTypes = ['DynamicList', 'DynamicRadioList', 'DynamicMultiSelectList'];
|
|
3456
3459
|
if (!this.field_type) {
|
|
3457
3460
|
return false;
|
|
3458
3461
|
}
|
|
@@ -4141,6 +4144,13 @@
|
|
|
4141
4144
|
}
|
|
4142
4145
|
return caseField.field_type.type === 'ComponentLauncher';
|
|
4143
4146
|
};
|
|
4147
|
+
FieldsUtils.isLinkedCasesCaseField = function (caseField) {
|
|
4148
|
+
return FieldsUtils.isComponentLauncherCaseField(caseField) &&
|
|
4149
|
+
caseField.id === 'LinkedCasesComponentLauncher';
|
|
4150
|
+
};
|
|
4151
|
+
FieldsUtils.containsLinkedCasesCaseField = function (caseFields) {
|
|
4152
|
+
return caseFields === null || caseFields === void 0 ? void 0 : caseFields.some(function (caseField) { return FieldsUtils.isLinkedCasesCaseField(caseField); });
|
|
4153
|
+
};
|
|
4144
4154
|
FieldsUtils.isFlagsFieldType = function (fieldType) {
|
|
4145
4155
|
if (!fieldType) {
|
|
4146
4156
|
return false;
|
|
@@ -5653,6 +5663,9 @@
|
|
|
5653
5663
|
}
|
|
5654
5664
|
caseFields.forEach(function (caseField) {
|
|
5655
5665
|
switch (caseField.field_type.type) {
|
|
5666
|
+
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST:
|
|
5667
|
+
_this.convertArrayToDynamicListOutput(caseField, data);
|
|
5668
|
+
break;
|
|
5656
5669
|
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST:
|
|
5657
5670
|
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST:
|
|
5658
5671
|
_this.convertStringToDynamicListOutput(caseField, data);
|
|
@@ -5670,6 +5683,17 @@
|
|
|
5670
5683
|
}
|
|
5671
5684
|
});
|
|
5672
5685
|
};
|
|
5686
|
+
FieldTypeSanitiser.prototype.convertArrayToDynamicListOutput = function (field, data) {
|
|
5687
|
+
var values = data[field.id];
|
|
5688
|
+
if (Array.isArray(values)) {
|
|
5689
|
+
var listItems = this.getListItems(field);
|
|
5690
|
+
var matches = listItems.filter(function (item) { return values.map(function (v) { return v.code; }).indexOf(item.code) !== -1; });
|
|
5691
|
+
data[field.id] = {
|
|
5692
|
+
value: matches,
|
|
5693
|
+
list_items: listItems
|
|
5694
|
+
};
|
|
5695
|
+
}
|
|
5696
|
+
};
|
|
5673
5697
|
FieldTypeSanitiser.prototype.convertStringToDynamicListOutput = function (field, data) {
|
|
5674
5698
|
var stringValue = data[field.id];
|
|
5675
5699
|
if (typeof stringValue === 'string') {
|
|
@@ -5700,6 +5724,7 @@
|
|
|
5700
5724
|
FieldTypeSanitiser.FIELD_TYPE_COLLECTION = 'Collection';
|
|
5701
5725
|
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST = 'DynamicList';
|
|
5702
5726
|
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST = 'DynamicRadioList';
|
|
5727
|
+
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST = 'DynamicMultiSelectList';
|
|
5703
5728
|
FieldTypeSanitiser.ɵfac = function FieldTypeSanitiser_Factory(t) { return new (t || FieldTypeSanitiser)(); };
|
|
5704
5729
|
FieldTypeSanitiser.ɵprov = i0__namespace.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
|
|
5705
5730
|
(function () {
|
|
@@ -10015,14 +10040,14 @@
|
|
|
10015
10040
|
this.title$ = new rxjs.BehaviorSubject(null);
|
|
10016
10041
|
this.formValidationErrors$ = new rxjs.BehaviorSubject([]);
|
|
10017
10042
|
this.editForm$ = new rxjs.BehaviorSubject(null);
|
|
10018
|
-
this.
|
|
10043
|
+
this.isLinkedCasesJourneyAtFinalStep$ = new rxjs.BehaviorSubject(null);
|
|
10019
10044
|
this.eventTriggerName$ = new rxjs.BehaviorSubject(null);
|
|
10020
10045
|
this.triggerSubmitEvent$ = new rxjs.BehaviorSubject(null);
|
|
10021
10046
|
this.caseDetails$ = this.details$.asObservable();
|
|
10022
10047
|
this.caseTitle$ = this.title$.asObservable();
|
|
10023
10048
|
this.caseEditForm$ = this.editForm$.asObservable();
|
|
10024
10049
|
this.caseFormValidationErrors$ = this.formValidationErrors$.asObservable();
|
|
10025
|
-
this.
|
|
10050
|
+
this.caseIsLinkedCasesJourneyAtFinalStep$ = this.isLinkedCasesJourneyAtFinalStep$.asObservable();
|
|
10026
10051
|
this.caseEventTriggerName$ = this.eventTriggerName$.asObservable();
|
|
10027
10052
|
this.caseTriggerSubmitEvent$ = this.triggerSubmitEvent$.asObservable();
|
|
10028
10053
|
}
|
|
@@ -10035,9 +10060,6 @@
|
|
|
10035
10060
|
CaseEditDataService.prototype.setCaseEventTriggerName = function (triggerName) {
|
|
10036
10061
|
this.eventTriggerName$.next(triggerName);
|
|
10037
10062
|
};
|
|
10038
|
-
CaseEditDataService.prototype.setCaseLinkError = function (error) {
|
|
10039
|
-
this.linkError$.next(error);
|
|
10040
|
-
};
|
|
10041
10063
|
CaseEditDataService.prototype.setFormValidationErrors = function (validationErrors) {
|
|
10042
10064
|
this.formValidationErrors$.next(validationErrors);
|
|
10043
10065
|
};
|
|
@@ -10047,8 +10069,8 @@
|
|
|
10047
10069
|
CaseEditDataService.prototype.clearFormValidationErrors = function () {
|
|
10048
10070
|
this.formValidationErrors$.next([]);
|
|
10049
10071
|
};
|
|
10050
|
-
CaseEditDataService.prototype.
|
|
10051
|
-
this.
|
|
10072
|
+
CaseEditDataService.prototype.setLinkedCasesJourneyAtFinalStep = function (isAtFinalStep) {
|
|
10073
|
+
this.isLinkedCasesJourneyAtFinalStep$.next(isAtFinalStep);
|
|
10052
10074
|
};
|
|
10053
10075
|
CaseEditDataService.prototype.addFormValidationError = function (validationError) {
|
|
10054
10076
|
this.formValidationErrors$.next(this.formValidationErrors$.getValue().concat([validationError]));
|
|
@@ -10405,6 +10427,9 @@
|
|
|
10405
10427
|
this.caseEditDataService.caseEditForm$.subscribe({
|
|
10406
10428
|
next: function (editForm) { return _this.editForm = editForm; }
|
|
10407
10429
|
});
|
|
10430
|
+
this.caseEditDataService.caseIsLinkedCasesJourneyAtFinalStep$.subscribe({
|
|
10431
|
+
next: function (isLinkedCasesJourneyAtFinalStep) { return _this.isLinkedCasesJourneyAtFinalStep = isLinkedCasesJourneyAtFinalStep; }
|
|
10432
|
+
});
|
|
10408
10433
|
this.caseEditDataService.caseTriggerSubmitEvent$.subscribe({
|
|
10409
10434
|
next: function (state) {
|
|
10410
10435
|
if (state) {
|
|
@@ -10424,7 +10449,11 @@
|
|
|
10424
10449
|
return this.caseEdit.first();
|
|
10425
10450
|
};
|
|
10426
10451
|
CaseEditPageComponent.prototype.currentPageIsNotValid = function () {
|
|
10427
|
-
return !this.pageValidationService.isPageValid(this.currentPage, this.editForm)
|
|
10452
|
+
return !this.pageValidationService.isPageValid(this.currentPage, this.editForm) ||
|
|
10453
|
+
(this.isLinkedCasesJourney() && !this.isLinkedCasesJourneyAtFinalStep);
|
|
10454
|
+
};
|
|
10455
|
+
CaseEditPageComponent.prototype.isLinkedCasesJourney = function () {
|
|
10456
|
+
return FieldsUtils.containsLinkedCasesCaseField(this.currentPage.case_fields);
|
|
10428
10457
|
};
|
|
10429
10458
|
/**
|
|
10430
10459
|
* caseEventData.event_data contains all the values from the previous pages so we set caseEventData.data = caseEventData.event_data
|
|
@@ -10524,7 +10553,16 @@
|
|
|
10524
10553
|
var _this = this;
|
|
10525
10554
|
this.caseEditDataService.clearFormValidationErrors();
|
|
10526
10555
|
if (this.currentPageIsNotValid()) {
|
|
10527
|
-
|
|
10556
|
+
// The generateErrorMessage method filters out the hidden fields.
|
|
10557
|
+
// The error message for LinkedCases journey will never get displayed because the
|
|
10558
|
+
// LinkedCases is configured with ComponentLauncher field as visible and caseLinks field as hidden.
|
|
10559
|
+
if (this.isLinkedCasesJourney()) {
|
|
10560
|
+
this.validationErrors.push({ id: 'next-button', message: 'Please select Next to go to the next page' });
|
|
10561
|
+
CaseEditPageComponent.scrollToTop();
|
|
10562
|
+
}
|
|
10563
|
+
else {
|
|
10564
|
+
this.generateErrorMessage(this.currentPage.case_fields);
|
|
10565
|
+
}
|
|
10528
10566
|
}
|
|
10529
10567
|
if (!this.isSubmitting && !this.currentPageIsNotValid()) {
|
|
10530
10568
|
this.isSubmitting = true;
|
|
@@ -11012,7 +11050,7 @@
|
|
|
11012
11050
|
return AddressOption;
|
|
11013
11051
|
}());
|
|
11014
11052
|
|
|
11015
|
-
var _c0$
|
|
11053
|
+
var _c0$S = ["writeComplexFieldComponent"];
|
|
11016
11054
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) {
|
|
11017
11055
|
if (rf & 1) {
|
|
11018
11056
|
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
@@ -11226,7 +11264,7 @@
|
|
|
11226
11264
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0__namespace.ɵɵdirectiveInject(AddressesService), i0__namespace.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
11227
11265
|
WriteAddressFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) {
|
|
11228
11266
|
if (rf & 1) {
|
|
11229
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
11267
|
+
i0__namespace.ɵɵviewQuery(_c0$S, 1);
|
|
11230
11268
|
i0__namespace.ɵɵviewQuery(FocusElementDirective, 1);
|
|
11231
11269
|
}
|
|
11232
11270
|
if (rf & 2) {
|
|
@@ -11372,12 +11410,13 @@
|
|
|
11372
11410
|
}
|
|
11373
11411
|
}
|
|
11374
11412
|
var CaseFileViewFieldComponent = /** @class */ (function () {
|
|
11375
|
-
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService, documentManagementService, loadingService) {
|
|
11413
|
+
function CaseFileViewFieldComponent(elementRef, route, caseFileViewService, documentManagementService, loadingService, sessionStorageService) {
|
|
11376
11414
|
this.elementRef = elementRef;
|
|
11377
11415
|
this.route = route;
|
|
11378
11416
|
this.caseFileViewService = caseFileViewService;
|
|
11379
11417
|
this.documentManagementService = documentManagementService;
|
|
11380
11418
|
this.loadingService = loadingService;
|
|
11419
|
+
this.sessionStorageService = sessionStorageService;
|
|
11381
11420
|
this.allowMoving = true;
|
|
11382
11421
|
this.getCategoriesAndDocumentsError = false;
|
|
11383
11422
|
}
|
|
@@ -11391,6 +11430,12 @@
|
|
|
11391
11430
|
},
|
|
11392
11431
|
error: function (_) { return _this.getCategoriesAndDocumentsError = true; }
|
|
11393
11432
|
});
|
|
11433
|
+
// EXUI-8000
|
|
11434
|
+
var userInfo = JSON.parse(this.sessionStorageService.getItem('userDetails'));
|
|
11435
|
+
// Get acls that intersects from acl roles and user roles
|
|
11436
|
+
var acls = this.caseField.acls.filter(function (acl) { return userInfo.roles.includes(acl.role); });
|
|
11437
|
+
// As there can be more than one intersecting role, if any acls are update: true
|
|
11438
|
+
this.allowMoving = acls.some(function (acl) { return acl.update; });
|
|
11394
11439
|
};
|
|
11395
11440
|
CaseFileViewFieldComponent.prototype.ngAfterViewInit = function () {
|
|
11396
11441
|
var slider = this.elementRef.nativeElement.querySelector('.slider');
|
|
@@ -11438,7 +11483,7 @@
|
|
|
11438
11483
|
return CaseFileViewFieldComponent;
|
|
11439
11484
|
}());
|
|
11440
11485
|
CaseFileViewFieldComponent.PARAM_CASE_ID = 'cid';
|
|
11441
|
-
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService)); };
|
|
11486
|
+
CaseFileViewFieldComponent.ɵfac = function CaseFileViewFieldComponent_Factory(t) { return new (t || CaseFileViewFieldComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(CaseFileViewService), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(LoadingService), i0__namespace.ɵɵdirectiveInject(SessionStorageService)); };
|
|
11442
11487
|
CaseFileViewFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) {
|
|
11443
11488
|
if (rf & 1) {
|
|
11444
11489
|
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldComponent_div_0_Template, 5, 0, "div", 0);
|
|
@@ -11458,92 +11503,7 @@
|
|
|
11458
11503
|
templateUrl: './case-file-view-field.component.html',
|
|
11459
11504
|
styleUrls: ['./case-file-view-field.component.scss'],
|
|
11460
11505
|
}]
|
|
11461
|
-
}], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }]; }, null);
|
|
11462
|
-
})();
|
|
11463
|
-
|
|
11464
|
-
function CaseFileViewFieldReadComponent_div_0_Template(rf, ctx) {
|
|
11465
|
-
if (rf & 1) {
|
|
11466
|
-
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
11467
|
-
i0__namespace.ɵɵelementStart(1, "h1", 3);
|
|
11468
|
-
i0__namespace.ɵɵtext(2, "Sorry, there is a problem with the service");
|
|
11469
|
-
i0__namespace.ɵɵelementEnd();
|
|
11470
|
-
i0__namespace.ɵɵelementStart(3, "p", 4);
|
|
11471
|
-
i0__namespace.ɵɵtext(4, "Try again later.");
|
|
11472
|
-
i0__namespace.ɵɵelementEnd();
|
|
11473
|
-
i0__namespace.ɵɵelementEnd();
|
|
11474
|
-
}
|
|
11475
|
-
}
|
|
11476
|
-
function CaseFileViewFieldReadComponent_div_1_ng_container_8_Template(rf, ctx) {
|
|
11477
|
-
if (rf & 1) {
|
|
11478
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
11479
|
-
i0__namespace.ɵɵelement(1, "mv-media-viewer", 11);
|
|
11480
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
11481
|
-
}
|
|
11482
|
-
if (rf & 2) {
|
|
11483
|
-
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
11484
|
-
i0__namespace.ɵɵadvance(1);
|
|
11485
|
-
i0__namespace.ɵɵproperty("url", ctx_r2.currentDocument.document_binary_url)("downloadFileName", ctx_r2.currentDocument.document_filename)("showToolbar", true)("contentType", ctx_r2.currentDocument.content_type)("enableAnnotations", true)("enableRedactions", true)("height", "94.5vh");
|
|
11486
|
-
}
|
|
11487
|
-
}
|
|
11488
|
-
function CaseFileViewFieldReadComponent_div_1_Template(rf, ctx) {
|
|
11489
|
-
if (rf & 1) {
|
|
11490
|
-
var _r4_1 = i0__namespace.ɵɵgetCurrentView();
|
|
11491
|
-
i0__namespace.ɵɵelementStart(0, "div");
|
|
11492
|
-
i0__namespace.ɵɵelementStart(1, "h2", 5);
|
|
11493
|
-
i0__namespace.ɵɵtext(2, "Case file");
|
|
11494
|
-
i0__namespace.ɵɵelementEnd();
|
|
11495
|
-
i0__namespace.ɵɵelementStart(3, "div", 6);
|
|
11496
|
-
i0__namespace.ɵɵelementStart(4, "div", 7);
|
|
11497
|
-
i0__namespace.ɵɵelementStart(5, "ccd-case-file-view-folder", 8);
|
|
11498
|
-
i0__namespace.ɵɵlistener("clickedDocument", function CaseFileViewFieldReadComponent_div_1_Template_ccd_case_file_view_folder_clickedDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r3 = i0__namespace.ɵɵnextContext(); return ctx_r3.setMediaViewerFile($event); })("moveDocument", function CaseFileViewFieldReadComponent_div_1_Template_ccd_case_file_view_folder_moveDocument_5_listener($event) { i0__namespace.ɵɵrestoreView(_r4_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.moveDocument($event); });
|
|
11499
|
-
i0__namespace.ɵɵelementEnd();
|
|
11500
|
-
i0__namespace.ɵɵelementEnd();
|
|
11501
|
-
i0__namespace.ɵɵelement(6, "div", 9);
|
|
11502
|
-
i0__namespace.ɵɵelementStart(7, "div", 10);
|
|
11503
|
-
i0__namespace.ɵɵtemplate(8, CaseFileViewFieldReadComponent_div_1_ng_container_8_Template, 2, 7, "ng-container", 1);
|
|
11504
|
-
i0__namespace.ɵɵelementEnd();
|
|
11505
|
-
i0__namespace.ɵɵelementEnd();
|
|
11506
|
-
i0__namespace.ɵɵelementEnd();
|
|
11507
|
-
}
|
|
11508
|
-
if (rf & 2) {
|
|
11509
|
-
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
11510
|
-
i0__namespace.ɵɵadvance(5);
|
|
11511
|
-
i0__namespace.ɵɵproperty("categoriesAndDocuments", ctx_r1.categoriesAndDocuments$)("allowMoving", ctx_r1.allowMoving);
|
|
11512
|
-
i0__namespace.ɵɵadvance(3);
|
|
11513
|
-
i0__namespace.ɵɵproperty("ngIf", ctx_r1.currentDocument);
|
|
11514
|
-
}
|
|
11515
|
-
}
|
|
11516
|
-
var CaseFileViewFieldReadComponent = /** @class */ (function (_super) {
|
|
11517
|
-
__extends(CaseFileViewFieldReadComponent, _super);
|
|
11518
|
-
function CaseFileViewFieldReadComponent() {
|
|
11519
|
-
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
11520
|
-
_this.allowMoving = false;
|
|
11521
|
-
return _this;
|
|
11522
|
-
}
|
|
11523
|
-
return CaseFileViewFieldReadComponent;
|
|
11524
|
-
}(CaseFileViewFieldComponent));
|
|
11525
|
-
CaseFileViewFieldReadComponent.ɵfac = function CaseFileViewFieldReadComponent_Factory(t) { return ɵCaseFileViewFieldReadComponent_BaseFactory(t || CaseFileViewFieldReadComponent); };
|
|
11526
|
-
CaseFileViewFieldReadComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: CaseFileViewFieldReadComponent, selectors: [["ccd-case-file-view-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [["class", "govuk-grid-column-two-thirds", 4, "ngIf"], [4, "ngIf"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "categoriesAndDocuments", "allowMoving", "clickedDocument", "moveDocument"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height"]], template: function CaseFileViewFieldReadComponent_Template(rf, ctx) {
|
|
11527
|
-
if (rf & 1) {
|
|
11528
|
-
i0__namespace.ɵɵtemplate(0, CaseFileViewFieldReadComponent_div_0_Template, 5, 0, "div", 0);
|
|
11529
|
-
i0__namespace.ɵɵtemplate(1, CaseFileViewFieldReadComponent_div_1_Template, 9, 3, "div", 1);
|
|
11530
|
-
}
|
|
11531
|
-
if (rf & 2) {
|
|
11532
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.getCategoriesAndDocumentsError);
|
|
11533
|
-
i0__namespace.ɵɵadvance(1);
|
|
11534
|
-
i0__namespace.ɵɵproperty("ngIf", !ctx.getCategoriesAndDocumentsError);
|
|
11535
|
-
}
|
|
11536
|
-
}, styles: ["#case-file-view[_ngcontent-%COMP%]{display:flex;border:2px solid #c9c9c9;height:100vh;position:relative}#case-file-view[_ngcontent-%COMP%] .document-tree-container[_ngcontent-%COMP%]{background-color:#faf8f8;width:30%;min-height:400px;min-width:10%}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{width:.2%;background-color:#6b6b6b}#case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:focus, #case-file-view[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]:hover{cursor:col-resize}#case-file-view[_ngcontent-%COMP%] .media-viewer-container[_ngcontent-%COMP%]{background-color:#dee0e2;flex:1 1 0;overflow:hidden}"] });
|
|
11537
|
-
var ɵCaseFileViewFieldReadComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(CaseFileViewFieldReadComponent);
|
|
11538
|
-
(function () {
|
|
11539
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewFieldReadComponent, [{
|
|
11540
|
-
type: i0.Component,
|
|
11541
|
-
args: [{
|
|
11542
|
-
selector: 'ccd-case-file-view-field',
|
|
11543
|
-
templateUrl: './case-file-view-field.component.html',
|
|
11544
|
-
styleUrls: ['./case-file-view-field.component.scss'],
|
|
11545
|
-
}]
|
|
11546
|
-
}], null, null);
|
|
11506
|
+
}], function () { return [{ type: i0__namespace.ElementRef }, { type: i1__namespace$1.ActivatedRoute }, { type: CaseFileViewService }, { type: DocumentManagementService }, { type: LoadingService }, { type: SessionStorageService }]; }, null);
|
|
11547
11507
|
})();
|
|
11548
11508
|
|
|
11549
11509
|
exports.AddCommentsErrorMessage = void 0;
|
|
@@ -11898,7 +11858,7 @@
|
|
|
11898
11858
|
i0__namespace.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
11899
11859
|
}
|
|
11900
11860
|
}
|
|
11901
|
-
var _c0$
|
|
11861
|
+
var _c0$R = function (a0) { return { "form-group-error": a0 }; };
|
|
11902
11862
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) {
|
|
11903
11863
|
if (rf & 1) {
|
|
11904
11864
|
i0__namespace.ɵɵelementStart(0, "div", 8);
|
|
@@ -11919,7 +11879,7 @@
|
|
|
11919
11879
|
i0__namespace.ɵɵadvance(1);
|
|
11920
11880
|
i0__namespace.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
11921
11881
|
i0__namespace.ɵɵadvance(1);
|
|
11922
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
11882
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$R, ctx_r1.errorMessages.length > 0));
|
|
11923
11883
|
i0__namespace.ɵɵadvance(1);
|
|
11924
11884
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
|
|
11925
11885
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -12395,7 +12355,7 @@
|
|
|
12395
12355
|
}], null, null);
|
|
12396
12356
|
})();
|
|
12397
12357
|
|
|
12398
|
-
var _c0$
|
|
12358
|
+
var _c0$Q = ["writeComplexFieldComponent"];
|
|
12399
12359
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) {
|
|
12400
12360
|
if (rf & 1) {
|
|
12401
12361
|
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
@@ -12500,7 +12460,7 @@
|
|
|
12500
12460
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
12501
12461
|
WriteCaseLinkFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) {
|
|
12502
12462
|
if (rf & 1) {
|
|
12503
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
12463
|
+
i0__namespace.ɵɵviewQuery(_c0$Q, 1);
|
|
12504
12464
|
}
|
|
12505
12465
|
if (rf & 2) {
|
|
12506
12466
|
var _t = void 0;
|
|
@@ -12545,7 +12505,7 @@
|
|
|
12545
12505
|
}] });
|
|
12546
12506
|
})();
|
|
12547
12507
|
|
|
12548
|
-
var _c0$
|
|
12508
|
+
var _c0$P = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
12549
12509
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) {
|
|
12550
12510
|
if (rf & 1) {
|
|
12551
12511
|
i0__namespace.ɵɵelementStart(0, "tbody");
|
|
@@ -12560,7 +12520,7 @@
|
|
|
12560
12520
|
if (rf & 2) {
|
|
12561
12521
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
12562
12522
|
i0__namespace.ɵɵadvance(4);
|
|
12563
|
-
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$
|
|
12523
|
+
i0__namespace.ɵɵproperty("caseField", i0__namespace.ɵɵpureFunction6(3, _c0$P, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
|
|
12564
12524
|
}
|
|
12565
12525
|
}
|
|
12566
12526
|
var _c1$k = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
@@ -12711,7 +12671,7 @@
|
|
|
12711
12671
|
}], function () { return [{ type: i1__namespace$3.MatDialogRef }]; }, null);
|
|
12712
12672
|
})();
|
|
12713
12673
|
|
|
12714
|
-
var _c0$
|
|
12674
|
+
var _c0$O = ["collectionItem"];
|
|
12715
12675
|
function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) {
|
|
12716
12676
|
if (rf & 1) {
|
|
12717
12677
|
i0__namespace.ɵɵelementStart(0, "span", 9);
|
|
@@ -12953,6 +12913,11 @@
|
|
|
12953
12913
|
// Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
|
|
12954
12914
|
this.formArray.setErrors(null);
|
|
12955
12915
|
var item = { value: null };
|
|
12916
|
+
if (this.isCollectionDynamic()) {
|
|
12917
|
+
item = Object.assign({}, this.caseField.value[this.caseField.value.length - 1]);
|
|
12918
|
+
var key = Number(item['id'][item['id'].length - 1]) + 1;
|
|
12919
|
+
item.id = item['id'].replace(/.$/, key.toString());
|
|
12920
|
+
}
|
|
12956
12921
|
this.caseField.value.push(item);
|
|
12957
12922
|
var index = this.caseField.value.length - 1;
|
|
12958
12923
|
var caseField = this.buildCaseField(item, index, true);
|
|
@@ -12975,6 +12940,12 @@
|
|
|
12975
12940
|
setTimeout(function () { return _this.focusLastItem(); });
|
|
12976
12941
|
}
|
|
12977
12942
|
};
|
|
12943
|
+
WriteCollectionFieldComponent.prototype.isCollectionDynamic = function () {
|
|
12944
|
+
if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
|
|
12945
|
+
return false;
|
|
12946
|
+
}
|
|
12947
|
+
return this.caseField.field_type.collection_field_type.id === 'DynamicRadioList';
|
|
12948
|
+
};
|
|
12978
12949
|
WriteCollectionFieldComponent.prototype.newCaseField = function (id, item, index, isNew) {
|
|
12979
12950
|
if (isNew === void 0) { isNew = false; }
|
|
12980
12951
|
var isNotAuthorisedToUpdate = !isNew && this.isNotAuthorisedToUpdate(index);
|
|
@@ -13124,7 +13095,7 @@
|
|
|
13124
13095
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(i2__namespace$1.ScrollToService), i0__namespace.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
13125
13096
|
WriteCollectionFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) {
|
|
13126
13097
|
if (rf & 1) {
|
|
13127
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
13098
|
+
i0__namespace.ɵɵviewQuery(_c0$O, 1);
|
|
13128
13099
|
}
|
|
13129
13100
|
if (rf & 2) {
|
|
13130
13101
|
var _t = void 0;
|
|
@@ -13818,7 +13789,7 @@
|
|
|
13818
13789
|
}], null, null);
|
|
13819
13790
|
})();
|
|
13820
13791
|
|
|
13821
|
-
var _c0$
|
|
13792
|
+
var _c0$N = ["fileInput"];
|
|
13822
13793
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) {
|
|
13823
13794
|
if (rf & 1) {
|
|
13824
13795
|
i0__namespace.ɵɵelementStart(0, "span", 12);
|
|
@@ -14112,7 +14083,7 @@
|
|
|
14112
14083
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CaseNotifier), i0__namespace.ɵɵdirectiveInject(DocumentManagementService), i0__namespace.ɵɵdirectiveInject(i1__namespace$3.MatDialog), i0__namespace.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
14113
14084
|
WriteDocumentFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) {
|
|
14114
14085
|
if (rf & 1) {
|
|
14115
|
-
i0__namespace.ɵɵviewQuery(_c0$
|
|
14086
|
+
i0__namespace.ɵɵviewQuery(_c0$N, 1);
|
|
14116
14087
|
}
|
|
14117
14088
|
if (rf & 2) {
|
|
14118
14089
|
var _t = void 0;
|
|
@@ -14312,7 +14283,7 @@
|
|
|
14312
14283
|
i0__namespace.ɵɵtextInterpolate(type_r5.label);
|
|
14313
14284
|
}
|
|
14314
14285
|
}
|
|
14315
|
-
var _c0$
|
|
14286
|
+
var _c0$M = function (a0) { return { "form-group-error": a0 }; };
|
|
14316
14287
|
var WriteDynamicListFieldComponent = /** @class */ (function (_super) {
|
|
14317
14288
|
__extends(WriteDynamicListFieldComponent, _super);
|
|
14318
14289
|
function WriteDynamicListFieldComponent() {
|
|
@@ -14361,7 +14332,7 @@
|
|
|
14361
14332
|
i0__namespace.ɵɵelementEnd();
|
|
14362
14333
|
}
|
|
14363
14334
|
if (rf & 2) {
|
|
14364
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
14335
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$M, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
14365
14336
|
i0__namespace.ɵɵadvance(1);
|
|
14366
14337
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14367
14338
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14511,7 +14482,7 @@
|
|
|
14511
14482
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
14512
14483
|
}
|
|
14513
14484
|
}
|
|
14514
|
-
var _c0$
|
|
14485
|
+
var _c0$L = function (a0) { return { selected: a0 }; };
|
|
14515
14486
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) {
|
|
14516
14487
|
if (rf & 1) {
|
|
14517
14488
|
i0__namespace.ɵɵelementStart(0, "div", 10);
|
|
@@ -14524,12 +14495,11 @@
|
|
|
14524
14495
|
if (rf & 2) {
|
|
14525
14496
|
var radioButton_r5 = ctx.$implicit;
|
|
14526
14497
|
var ctx_r4 = i0__namespace.ɵɵnextContext();
|
|
14527
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
14498
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$L, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
14528
14499
|
i0__namespace.ɵɵadvance(1);
|
|
14529
|
-
i0__namespace.ɵɵ
|
|
14530
|
-
i0__namespace.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
14500
|
+
i0__namespace.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
14531
14501
|
i0__namespace.ɵɵadvance(1);
|
|
14532
|
-
i0__namespace.ɵɵproperty("for", ctx_r4.
|
|
14502
|
+
i0__namespace.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
|
|
14533
14503
|
i0__namespace.ɵɵadvance(1);
|
|
14534
14504
|
i0__namespace.ɵɵtextInterpolate(radioButton_r5.label);
|
|
14535
14505
|
}
|
|
@@ -14558,8 +14528,8 @@
|
|
|
14558
14528
|
this.dynamicRadioListControl = this.registerControl(new i2.FormControl(this.caseField.value));
|
|
14559
14529
|
this.dynamicRadioListControl.setValue(this.caseField.value);
|
|
14560
14530
|
};
|
|
14561
|
-
WriteDynamicRadioListFieldComponent.prototype.
|
|
14562
|
-
return this.id
|
|
14531
|
+
WriteDynamicRadioListFieldComponent.prototype.createElementId = function (name) {
|
|
14532
|
+
return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : _super.prototype.createElementId.call(this, name);
|
|
14563
14533
|
};
|
|
14564
14534
|
return WriteDynamicRadioListFieldComponent;
|
|
14565
14535
|
}(AbstractFieldWriteComponent));
|
|
@@ -14689,7 +14659,7 @@
|
|
|
14689
14659
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
14690
14660
|
}
|
|
14691
14661
|
}
|
|
14692
|
-
var _c0$
|
|
14662
|
+
var _c0$K = function (a0) { return { "form-group-error": a0 }; };
|
|
14693
14663
|
var _c1$h = function (a0) { return { "govuk-input--error": a0 }; };
|
|
14694
14664
|
var WriteEmailFieldComponent = /** @class */ (function (_super) {
|
|
14695
14665
|
__extends(WriteEmailFieldComponent, _super);
|
|
@@ -14714,7 +14684,7 @@
|
|
|
14714
14684
|
i0__namespace.ɵɵelementEnd();
|
|
14715
14685
|
}
|
|
14716
14686
|
if (rf & 2) {
|
|
14717
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
14687
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$K, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
14718
14688
|
i0__namespace.ɵɵadvance(1);
|
|
14719
14689
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14720
14690
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -14846,7 +14816,7 @@
|
|
|
14846
14816
|
i0__namespace.ɵɵtextInterpolate(type_r4.label);
|
|
14847
14817
|
}
|
|
14848
14818
|
}
|
|
14849
|
-
var _c0$
|
|
14819
|
+
var _c0$J = function (a0) { return { "form-group-error": a0 }; };
|
|
14850
14820
|
var WriteFixedListFieldComponent = /** @class */ (function (_super) {
|
|
14851
14821
|
__extends(WriteFixedListFieldComponent, _super);
|
|
14852
14822
|
function WriteFixedListFieldComponent() {
|
|
@@ -14895,7 +14865,7 @@
|
|
|
14895
14865
|
i0__namespace.ɵɵelementEnd();
|
|
14896
14866
|
}
|
|
14897
14867
|
if (rf & 2) {
|
|
14898
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
14868
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$J, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
14899
14869
|
i0__namespace.ɵɵadvance(1);
|
|
14900
14870
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
14901
14871
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15013,7 +14983,7 @@
|
|
|
15013
14983
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
|
|
15014
14984
|
}
|
|
15015
14985
|
}
|
|
15016
|
-
var _c0$
|
|
14986
|
+
var _c0$I = function (a0) { return { selected: a0 }; };
|
|
15017
14987
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) {
|
|
15018
14988
|
if (rf & 1) {
|
|
15019
14989
|
i0__namespace.ɵɵelementStart(0, "div", 9);
|
|
@@ -15026,7 +14996,7 @@
|
|
|
15026
14996
|
if (rf & 2) {
|
|
15027
14997
|
var radioButton_r4 = ctx.$implicit;
|
|
15028
14998
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15029
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$
|
|
14999
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c0$I, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
15030
15000
|
i0__namespace.ɵɵadvance(1);
|
|
15031
15001
|
i0__namespace.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
15032
15002
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -15196,7 +15166,7 @@
|
|
|
15196
15166
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
15197
15167
|
}
|
|
15198
15168
|
}
|
|
15199
|
-
var _c0$
|
|
15169
|
+
var _c0$H = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
15200
15170
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) {
|
|
15201
15171
|
if (rf & 1) {
|
|
15202
15172
|
var _r7_1 = i0__namespace.ɵɵgetCurrentView();
|
|
@@ -15208,7 +15178,7 @@
|
|
|
15208
15178
|
if (rf & 2) {
|
|
15209
15179
|
var judicialUser_r5 = ctx.$implicit;
|
|
15210
15180
|
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
15211
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
15181
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$H, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
|
|
15212
15182
|
i0__namespace.ɵɵadvance(1);
|
|
15213
15183
|
i0__namespace.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
15214
15184
|
}
|
|
@@ -15222,11 +15192,12 @@
|
|
|
15222
15192
|
}
|
|
15223
15193
|
var WriteJudicialUserFieldComponent = /** @class */ (function (_super) {
|
|
15224
15194
|
__extends(WriteJudicialUserFieldComponent, _super);
|
|
15225
|
-
function WriteJudicialUserFieldComponent(
|
|
15195
|
+
function WriteJudicialUserFieldComponent(route, cd, jurisdictionService) {
|
|
15226
15196
|
var _this = _super.call(this) || this;
|
|
15197
|
+
_this.route = route;
|
|
15198
|
+
_this.cd = cd;
|
|
15227
15199
|
_this.jurisdictionService = jurisdictionService;
|
|
15228
|
-
_this.
|
|
15229
|
-
_this.caseFlagRefDataService = caseFlagRefDataService;
|
|
15200
|
+
_this.JURISDICTION_ID = 'jid';
|
|
15230
15201
|
_this.MINIMUM_SEARCH_CHARACTERS = 2;
|
|
15231
15202
|
_this.IDAM_ID = 'idamId';
|
|
15232
15203
|
_this.PERSONAL_CODE = 'personalCode';
|
|
@@ -15236,46 +15207,18 @@
|
|
|
15236
15207
|
}
|
|
15237
15208
|
WriteJudicialUserFieldComponent.prototype.ngOnInit = function () {
|
|
15238
15209
|
var _this = this;
|
|
15239
|
-
|
|
15210
|
+
this.jurisdictionId = this.route.snapshot.params[this.JURISDICTION_ID];
|
|
15240
15211
|
this.judicialUserFormGroup = this.registerControl(new i2.FormGroup({}), true);
|
|
15241
15212
|
this.idamIdFormControl = new i2.FormControl('');
|
|
15242
15213
|
this.judicialUserFormGroup.addControl(this.IDAM_ID, this.idamIdFormControl);
|
|
15243
15214
|
this.personalCodeFormControl = new i2.FormControl('');
|
|
15244
15215
|
this.judicialUserFormGroup.addControl(this.PERSONAL_CODE, this.personalCodeFormControl);
|
|
15245
|
-
this.
|
|
15246
|
-
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.filterJudicialUsers(searchTerm).pipe(operators.tap(function () { return _this.showAutocomplete = true; }), operators.catchError(function () { return _this.filteredJudicialUsers = []; })); })).subscribe(function (judicialUsers) {
|
|
15216
|
+
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) {
|
|
15247
15217
|
_this.filteredJudicialUsers = judicialUsers;
|
|
15248
15218
|
});
|
|
15249
|
-
if ((_a = this.caseField.value) === null || _a === void 0 ? void 0 : _a.personalCode) {
|
|
15250
|
-
this.loadJudicialUser(this.caseField.value.personalCode);
|
|
15251
|
-
}
|
|
15252
15219
|
};
|
|
15253
|
-
WriteJudicialUserFieldComponent.prototype.
|
|
15254
|
-
|
|
15255
|
-
return this.caseFlagRefDataService.getHmctsServiceDetailsByCaseType(this.caseType).pipe(
|
|
15256
|
-
// If an error occurs retrieving HMCTS service details by case type ID, try by service name instead
|
|
15257
|
-
operators.catchError(function (_) { return _this.caseFlagRefDataService.getHmctsServiceDetailsByServiceName(_this.jurisdiction); }),
|
|
15258
|
-
// Use switchMap to return an inner Observable of the flag types data, having received the service details
|
|
15259
|
-
// including service_code. This avoids having nested `subscribe`s, which is an anti-pattern!
|
|
15260
|
-
operators.switchMap(function (serviceDetails) { return _this.jurisdictionService.searchJudicialUsers(searchTerm, serviceDetails[0].service_code); }));
|
|
15261
|
-
};
|
|
15262
|
-
WriteJudicialUserFieldComponent.prototype.loadJudicialUser = function (personalCode) {
|
|
15263
|
-
var _this = this;
|
|
15264
|
-
if (personalCode) {
|
|
15265
|
-
this.jurisdictionService.searchJudicialUsersByPersonalCodes([personalCode]).subscribe(function (judicialUsers) {
|
|
15266
|
-
var judicialUser = judicialUsers[0];
|
|
15267
|
-
_this.idamIdFormControl.setValue(judicialUser.fullName + " (" + judicialUser.emailId + ")");
|
|
15268
|
-
_this.personalCodeFormControl.setValue(judicialUser.personalCode);
|
|
15269
|
-
});
|
|
15270
|
-
}
|
|
15271
|
-
};
|
|
15272
|
-
WriteJudicialUserFieldComponent.prototype.setJurisdictionAndCaseType = function () {
|
|
15273
|
-
var caseInfoStr = this.sessionStorageService.getItem('caseInfo');
|
|
15274
|
-
if (caseInfoStr) {
|
|
15275
|
-
var caseInfo = JSON.parse(caseInfoStr);
|
|
15276
|
-
this.jurisdiction = caseInfo === null || caseInfo === void 0 ? void 0 : caseInfo.jurisdiction;
|
|
15277
|
-
this.caseType = caseInfo === null || caseInfo === void 0 ? void 0 : caseInfo.caseType;
|
|
15278
|
-
}
|
|
15220
|
+
WriteJudicialUserFieldComponent.prototype.filter = function (searchTerm) {
|
|
15221
|
+
return this.jurisdictionService.searchJudicialUsers(searchTerm, this.jurisdictionId);
|
|
15279
15222
|
};
|
|
15280
15223
|
WriteJudicialUserFieldComponent.prototype.onSelectionChange = function (judicialUser) {
|
|
15281
15224
|
this.idamIdFormControl.setValue(judicialUser.fullName + " (" + judicialUser.emailId + ")");
|
|
@@ -15288,7 +15231,7 @@
|
|
|
15288
15231
|
};
|
|
15289
15232
|
return WriteJudicialUserFieldComponent;
|
|
15290
15233
|
}(AbstractFieldWriteComponent));
|
|
15291
|
-
WriteJudicialUserFieldComponent.ɵfac = function WriteJudicialUserFieldComponent_Factory(t) { return new (t || WriteJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(
|
|
15234
|
+
WriteJudicialUserFieldComponent.ɵfac = function WriteJudicialUserFieldComponent_Factory(t) { return new (t || WriteJudicialUserFieldComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15292
15235
|
WriteJudicialUserFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteJudicialUserFieldComponent, selectors: [["ccd-write-judicial-user-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 9, vars: 9, consts: [[1, "form-group", 3, "formGroup"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "id", "formControl", "matAutocomplete"], ["autoActiveFirstOption", ""], ["autoComplete", "matAutocomplete"], ["class", "select-option", 3, "ngClass", "value", "onSelectionChange", 4, "ngFor", "ngForOf"], ["class", "select-option", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "select-option", 3, "ngClass", "value", "onSelectionChange"], [1, "select-option"]], template: function WriteJudicialUserFieldComponent_Template(rf, ctx) {
|
|
15293
15236
|
if (rf & 1) {
|
|
15294
15237
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
@@ -15319,7 +15262,7 @@
|
|
|
15319
15262
|
i0__namespace.ɵɵadvance(1);
|
|
15320
15263
|
i0__namespace.ɵɵproperty("ngIf", !(ctx.filteredJudicialUsers == null ? null : ctx.filteredJudicialUsers.length) && ctx.showAutocomplete);
|
|
15321
15264
|
}
|
|
15322
|
-
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor,
|
|
15265
|
+
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i5__namespace.MatAutocompleteTrigger, i2__namespace.NgControlStatus, i2__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}"] });
|
|
15323
15266
|
(function () {
|
|
15324
15267
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteJudicialUserFieldComponent, [{
|
|
15325
15268
|
type: i0.Component,
|
|
@@ -15328,7 +15271,7 @@
|
|
|
15328
15271
|
styleUrls: ['./write-judicial-user-field.component.scss'],
|
|
15329
15272
|
templateUrl: './write-judicial-user-field.component.html'
|
|
15330
15273
|
}]
|
|
15331
|
-
}], function () { return [{ type:
|
|
15274
|
+
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: i0__namespace.ChangeDetectorRef }, { type: JurisdictionService }]; }, null);
|
|
15332
15275
|
})();
|
|
15333
15276
|
|
|
15334
15277
|
var LabelFieldComponent = /** @class */ (function () {
|
|
@@ -16025,7 +15968,7 @@
|
|
|
16025
15968
|
i0__namespace.ɵɵtextInterpolate1(" ", ctx_r13.caseReasonCommentsError, " ");
|
|
16026
15969
|
}
|
|
16027
15970
|
}
|
|
16028
|
-
var _c0$
|
|
15971
|
+
var _c0$G = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
16029
15972
|
function LinkCasesComponent_div_8_div_14_Template(rf, ctx) {
|
|
16030
15973
|
if (rf & 1) {
|
|
16031
15974
|
i0__namespace.ɵɵelementStart(0, "div", 35);
|
|
@@ -16043,7 +15986,7 @@
|
|
|
16043
15986
|
}
|
|
16044
15987
|
if (rf & 2) {
|
|
16045
15988
|
var ctx_r7 = i0__namespace.ɵɵnextContext(2);
|
|
16046
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$
|
|
15989
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(2, _c0$G, !!ctx_r7.caseReasonCommentsError));
|
|
16047
15990
|
i0__namespace.ɵɵadvance(3);
|
|
16048
15991
|
i0__namespace.ɵɵproperty("ngIf", ctx_r7.caseReasonCommentsError);
|
|
16049
15992
|
}
|
|
@@ -16100,11 +16043,11 @@
|
|
|
16100
16043
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
16101
16044
|
i0__namespace.ɵɵproperty("formGroup", ctx_r0.linkCaseForm);
|
|
16102
16045
|
i0__namespace.ɵɵadvance(1);
|
|
16103
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
16046
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$G, !!ctx_r0.caseNumberError));
|
|
16104
16047
|
i0__namespace.ɵɵadvance(3);
|
|
16105
16048
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseNumberError);
|
|
16106
16049
|
i0__namespace.ɵɵadvance(2);
|
|
16107
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$
|
|
16050
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(10, _c0$G, !!ctx_r0.caseReasonError));
|
|
16108
16051
|
i0__namespace.ɵɵadvance(5);
|
|
16109
16052
|
i0__namespace.ɵɵproperty("ngIf", ctx_r0.caseReasonError);
|
|
16110
16053
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -16538,7 +16481,7 @@
|
|
|
16538
16481
|
i0__namespace.ɵɵadvance(4);
|
|
16539
16482
|
i0__namespace.ɵɵproperty("ngIf", ctx.linkCaseForm);
|
|
16540
16483
|
i0__namespace.ɵɵadvance(4);
|
|
16541
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$
|
|
16484
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(9, _c0$G, !!ctx.noSelectedCaseError));
|
|
16542
16485
|
i0__namespace.ɵɵadvance(1);
|
|
16543
16486
|
i0__namespace.ɵɵproperty("ngIf", ctx.noSelectedCaseError);
|
|
16544
16487
|
i0__namespace.ɵɵadvance(18);
|
|
@@ -17019,6 +16962,7 @@
|
|
|
17019
16962
|
searchCases.forEach(function (response) {
|
|
17020
16963
|
casesResponse.push(_this.mapResponse(response));
|
|
17021
16964
|
});
|
|
16965
|
+
casesResponse = _this.sortReasonCodes(casesResponse);
|
|
17022
16966
|
_this.linkedCasesFromResponse = _this.sortLinkedCasesByReasonCode(casesResponse);
|
|
17023
16967
|
_this.isLoaded = true;
|
|
17024
16968
|
var caseLinks = _this.linkedCasesFromResponse.map(function (item) {
|
|
@@ -17044,6 +16988,31 @@
|
|
|
17044
16988
|
});
|
|
17045
16989
|
}
|
|
17046
16990
|
};
|
|
16991
|
+
LinkedCasesToTableComponent.prototype.sortReasonCodes = function (searchCasesResponse) {
|
|
16992
|
+
var _this = this;
|
|
16993
|
+
searchCasesResponse.forEach(function (item) {
|
|
16994
|
+
if (item && item.reasons && item.reasons.length) {
|
|
16995
|
+
item.reasons.forEach(function (reason) {
|
|
16996
|
+
reason.sortOrder = _this.getReasonSortOrder(reason.value.Reason);
|
|
16997
|
+
});
|
|
16998
|
+
item.reasons = item.reasons.sort(function (a, b) { return a.sortOrder - b.sortOrder; });
|
|
16999
|
+
item.sortOrder = item.reasons[0].sortOrder;
|
|
17000
|
+
}
|
|
17001
|
+
});
|
|
17002
|
+
searchCasesResponse = searchCasesResponse && searchCasesResponse.sort(function (a, b) { return a.sortOrder - b.sortOrder; });
|
|
17003
|
+
return searchCasesResponse;
|
|
17004
|
+
};
|
|
17005
|
+
LinkedCasesToTableComponent.prototype.getReasonSortOrder = function (reasonCode) {
|
|
17006
|
+
if (reasonCode === LinkedCasesToTableComponent.CASE_PROGRESS_REASON_CODE) {
|
|
17007
|
+
return 1;
|
|
17008
|
+
}
|
|
17009
|
+
else if (reasonCode === LinkedCasesToTableComponent.CASE_CONSOLIDATED_REASON_CODE) {
|
|
17010
|
+
return 2;
|
|
17011
|
+
}
|
|
17012
|
+
else {
|
|
17013
|
+
return 3;
|
|
17014
|
+
}
|
|
17015
|
+
};
|
|
17047
17016
|
LinkedCasesToTableComponent.prototype.searchCasesByCaseIds = function (searchCasesResponse) {
|
|
17048
17017
|
return rxjs.forkJoin(searchCasesResponse);
|
|
17049
17018
|
};
|
|
@@ -17222,7 +17191,7 @@
|
|
|
17222
17191
|
i0__namespace.ɵɵtextInterpolate2(" ", case_r4.caseName, " ", i0__namespace.ɵɵpipeBind1(4, 6, case_r4.caseReference), " ");
|
|
17223
17192
|
}
|
|
17224
17193
|
}
|
|
17225
|
-
var _c0$
|
|
17194
|
+
var _c0$F = function (a0) { return { "govuk-form-group--error": a0 }; };
|
|
17226
17195
|
function UnLinkCasesComponent_div_0_div_4_Template(rf, ctx) {
|
|
17227
17196
|
if (rf & 1) {
|
|
17228
17197
|
i0__namespace.ɵɵelementStart(0, "div", 7);
|
|
@@ -17234,7 +17203,7 @@
|
|
|
17234
17203
|
}
|
|
17235
17204
|
if (rf & 2) {
|
|
17236
17205
|
var ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
17237
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$
|
|
17206
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c0$F, ctx_r1.unlinkErrorMessage))("formGroup", ctx_r1.unlinkCaseForm);
|
|
17238
17207
|
i0__namespace.ɵɵadvance(1);
|
|
17239
17208
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.unlinkErrorMessage);
|
|
17240
17209
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -17675,87 +17644,52 @@
|
|
|
17675
17644
|
}], function () { return [{ type: i1__namespace$1.ActivatedRoute }, { type: i1__namespace$1.Router }, { type: LinkedCasesService }, { type: AbstractAppConfig }, { type: CommonDataService }]; }, null);
|
|
17676
17645
|
})();
|
|
17677
17646
|
|
|
17678
|
-
function
|
|
17647
|
+
function WriteLinkedCasesFieldComponent_ng_container_2_Template(rf, ctx) {
|
|
17679
17648
|
if (rf & 1) {
|
|
17680
|
-
var
|
|
17681
|
-
i0__namespace.ɵɵ
|
|
17682
|
-
i0__namespace.ɵɵelementStart(1, "
|
|
17683
|
-
i0__namespace.ɵɵ
|
|
17684
|
-
i0__namespace.ɵɵelementStart(3, "a", 9);
|
|
17685
|
-
i0__namespace.ɵɵlistener("click", function WriteLinkedCasesFieldComponent_div_0_div_3_Template_a_click_3_listener() { i0__namespace.ɵɵrestoreView(_r9_1); var errorMessage_r7 = ctx.$implicit; var ctx_r8 = i0__namespace.ɵɵnextContext(2); return ctx_r8.navigateToErrorElement(errorMessage_r7.fieldId); });
|
|
17686
|
-
i0__namespace.ɵɵtext(4);
|
|
17687
|
-
i0__namespace.ɵɵelementEnd();
|
|
17688
|
-
i0__namespace.ɵɵelementEnd();
|
|
17689
|
-
i0__namespace.ɵɵelementEnd();
|
|
17690
|
-
i0__namespace.ɵɵelementEnd();
|
|
17691
|
-
}
|
|
17692
|
-
if (rf & 2) {
|
|
17693
|
-
var errorMessage_r7 = ctx.$implicit;
|
|
17694
|
-
i0__namespace.ɵɵadvance(4);
|
|
17695
|
-
i0__namespace.ɵɵtextInterpolate(errorMessage_r7.description);
|
|
17696
|
-
}
|
|
17697
|
-
}
|
|
17698
|
-
function WriteLinkedCasesFieldComponent_div_0_Template(rf, ctx) {
|
|
17699
|
-
if (rf & 1) {
|
|
17700
|
-
i0__namespace.ɵɵelementStart(0, "div", 4);
|
|
17701
|
-
i0__namespace.ɵɵelementStart(1, "h2", 5);
|
|
17702
|
-
i0__namespace.ɵɵtext(2, " There is a problem ");
|
|
17703
|
-
i0__namespace.ɵɵelementEnd();
|
|
17704
|
-
i0__namespace.ɵɵtemplate(3, WriteLinkedCasesFieldComponent_div_0_div_3_Template, 5, 1, "div", 6);
|
|
17649
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17650
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
17651
|
+
i0__namespace.ɵɵelementStart(1, "ccd-linked-cases-before-you-start", 3);
|
|
17652
|
+
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_2_Template_ccd_linked_cases_before_you_start_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.onLinkedCasesStateEmitted($event); });
|
|
17705
17653
|
i0__namespace.ɵɵelementEnd();
|
|
17706
|
-
|
|
17707
|
-
if (rf & 2) {
|
|
17708
|
-
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
17709
|
-
i0__namespace.ɵɵadvance(3);
|
|
17710
|
-
i0__namespace.ɵɵproperty("ngForOf", ctx_r0.errorMessages);
|
|
17654
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
17711
17655
|
}
|
|
17712
17656
|
}
|
|
17713
17657
|
function WriteLinkedCasesFieldComponent_ng_container_3_Template(rf, ctx) {
|
|
17714
17658
|
if (rf & 1) {
|
|
17715
|
-
var
|
|
17659
|
+
var _r8_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17716
17660
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
17717
|
-
i0__namespace.ɵɵelementStart(1, "ccd-linked-cases
|
|
17718
|
-
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function
|
|
17661
|
+
i0__namespace.ɵɵelementStart(1, "ccd-no-linked-cases", 3);
|
|
17662
|
+
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_3_Template_ccd_no_linked_cases_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r8_1); var ctx_r7 = i0__namespace.ɵɵnextContext(); return ctx_r7.onLinkedCasesStateEmitted($event); });
|
|
17719
17663
|
i0__namespace.ɵɵelementEnd();
|
|
17720
17664
|
i0__namespace.ɵɵelementContainerEnd();
|
|
17721
17665
|
}
|
|
17722
17666
|
}
|
|
17723
17667
|
function WriteLinkedCasesFieldComponent_ng_container_4_Template(rf, ctx) {
|
|
17724
17668
|
if (rf & 1) {
|
|
17725
|
-
var
|
|
17669
|
+
var _r10_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17726
17670
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
17727
|
-
i0__namespace.ɵɵelementStart(1, "ccd-
|
|
17728
|
-
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function
|
|
17671
|
+
i0__namespace.ɵɵelementStart(1, "ccd-link-cases", 3);
|
|
17672
|
+
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_4_Template_ccd_link_cases_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r10_1); var ctx_r9 = i0__namespace.ɵɵnextContext(); return ctx_r9.onLinkedCasesStateEmitted($event); });
|
|
17729
17673
|
i0__namespace.ɵɵelementEnd();
|
|
17730
17674
|
i0__namespace.ɵɵelementContainerEnd();
|
|
17731
17675
|
}
|
|
17732
17676
|
}
|
|
17733
17677
|
function WriteLinkedCasesFieldComponent_ng_container_5_Template(rf, ctx) {
|
|
17734
17678
|
if (rf & 1) {
|
|
17735
|
-
var
|
|
17679
|
+
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17736
17680
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
17737
|
-
i0__namespace.ɵɵelementStart(1, "ccd-
|
|
17738
|
-
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function
|
|
17681
|
+
i0__namespace.ɵɵelementStart(1, "ccd-unlink-cases", 3);
|
|
17682
|
+
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_5_Template_ccd_unlink_cases_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.onLinkedCasesStateEmitted($event); });
|
|
17739
17683
|
i0__namespace.ɵɵelementEnd();
|
|
17740
17684
|
i0__namespace.ɵɵelementContainerEnd();
|
|
17741
17685
|
}
|
|
17742
17686
|
}
|
|
17743
17687
|
function WriteLinkedCasesFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
17744
17688
|
if (rf & 1) {
|
|
17745
|
-
var
|
|
17746
|
-
i0__namespace.ɵɵelementContainerStart(0);
|
|
17747
|
-
i0__namespace.ɵɵelementStart(1, "ccd-unlink-cases", 10);
|
|
17748
|
-
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_6_Template_ccd_unlink_cases_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(); return ctx_r16.onLinkedCasesStateEmitted($event); });
|
|
17749
|
-
i0__namespace.ɵɵelementEnd();
|
|
17750
|
-
i0__namespace.ɵɵelementContainerEnd();
|
|
17751
|
-
}
|
|
17752
|
-
}
|
|
17753
|
-
function WriteLinkedCasesFieldComponent_ng_container_7_Template(rf, ctx) {
|
|
17754
|
-
if (rf & 1) {
|
|
17755
|
-
var _r19_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17689
|
+
var _r14_1 = i0__namespace.ɵɵgetCurrentView();
|
|
17756
17690
|
i0__namespace.ɵɵelementContainerStart(0);
|
|
17757
|
-
i0__namespace.ɵɵelementStart(1, "ccd-linked-cases-check-your-answers",
|
|
17758
|
-
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function
|
|
17691
|
+
i0__namespace.ɵɵelementStart(1, "ccd-linked-cases-check-your-answers", 3);
|
|
17692
|
+
i0__namespace.ɵɵlistener("linkedCasesStateEmitter", function WriteLinkedCasesFieldComponent_ng_container_6_Template_ccd_linked_cases_check_your_answers_linkedCasesStateEmitter_1_listener($event) { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.onLinkedCasesStateEmitted($event); });
|
|
17759
17693
|
i0__namespace.ɵɵelementEnd();
|
|
17760
17694
|
i0__namespace.ɵɵelementContainerEnd();
|
|
17761
17695
|
}
|
|
@@ -17772,11 +17706,13 @@
|
|
|
17772
17706
|
_this.linkedCasesPages = exports.LinkedCasesPages;
|
|
17773
17707
|
_this.linkedCasesEventTriggers = exports.LinkedCasesEventTriggers;
|
|
17774
17708
|
_this.linkedCases = [];
|
|
17775
|
-
_this.errorMessages = [];
|
|
17776
17709
|
return _this;
|
|
17777
17710
|
}
|
|
17778
17711
|
WriteLinkedCasesFieldComponent.prototype.ngOnInit = function () {
|
|
17779
17712
|
var _this = this;
|
|
17713
|
+
// This is required to enable Continue button validation
|
|
17714
|
+
// Continue button should be enabled only at check your answers page
|
|
17715
|
+
this.caseEditDataService.setLinkedCasesJourneyAtFinalStep(false);
|
|
17780
17716
|
// Clear validation errors
|
|
17781
17717
|
this.caseEditDataService.clearFormValidationErrors();
|
|
17782
17718
|
// Get linked case reasons from ref data
|
|
@@ -17813,11 +17749,10 @@
|
|
|
17813
17749
|
};
|
|
17814
17750
|
WriteLinkedCasesFieldComponent.prototype.onLinkedCasesStateEmitted = function (linkedCasesState) {
|
|
17815
17751
|
var _this = this;
|
|
17816
|
-
|
|
17752
|
+
// Clear validation errors
|
|
17817
17753
|
this.caseEditDataService.clearFormValidationErrors();
|
|
17818
17754
|
if (linkedCasesState.navigateToNextPage) {
|
|
17819
17755
|
this.linkedCasesPage = this.getNextPage(linkedCasesState);
|
|
17820
|
-
this.setContinueButtonValidationErrorMessage();
|
|
17821
17756
|
this.proceedToNextPage();
|
|
17822
17757
|
}
|
|
17823
17758
|
else {
|
|
@@ -17841,27 +17776,19 @@
|
|
|
17841
17776
|
}
|
|
17842
17777
|
});
|
|
17843
17778
|
};
|
|
17844
|
-
WriteLinkedCasesFieldComponent.prototype.setContinueButtonValidationErrorMessage = function () {
|
|
17845
|
-
var errorMessage = this.linkedCasesService.isLinkedCasesEventTrigger
|
|
17846
|
-
? exports.LinkedCasesErrorMessages.LinkCasesNavigationError
|
|
17847
|
-
: exports.LinkedCasesErrorMessages.UnlinkCasesNavigationError;
|
|
17848
|
-
var buttonId = this.linkedCasesService.linkedCases.length === 0
|
|
17849
|
-
? 'back-button'
|
|
17850
|
-
: 'next-button';
|
|
17851
|
-
this.caseEditDataService.setCaseLinkError({
|
|
17852
|
-
componentId: buttonId,
|
|
17853
|
-
errorMessage: errorMessage
|
|
17854
|
-
});
|
|
17855
|
-
};
|
|
17856
17779
|
WriteLinkedCasesFieldComponent.prototype.proceedToNextPage = function () {
|
|
17857
17780
|
if (this.isAtFinalPage()) {
|
|
17858
17781
|
// Continue button event must be allowed in final page
|
|
17859
|
-
this.caseEditDataService.
|
|
17782
|
+
this.caseEditDataService.setLinkedCasesJourneyAtFinalStep(true);
|
|
17860
17783
|
// Trigger validation to clear the "notAtFinalPage" error if now at the final state
|
|
17861
17784
|
this.formGroup.updateValueAndValidity();
|
|
17862
17785
|
// update form value
|
|
17863
17786
|
this.submitLinkedCases();
|
|
17864
17787
|
}
|
|
17788
|
+
else {
|
|
17789
|
+
// Continue button event must not be allowed if not in final page
|
|
17790
|
+
this.caseEditDataService.setLinkedCasesJourneyAtFinalStep(false);
|
|
17791
|
+
}
|
|
17865
17792
|
};
|
|
17866
17793
|
WriteLinkedCasesFieldComponent.prototype.submitLinkedCases = function () {
|
|
17867
17794
|
if (!this.linkedCasesService.isLinkedCasesEventTrigger) {
|
|
@@ -17906,38 +17833,24 @@
|
|
|
17906
17833
|
&& !_this.linkedCasesService.serverLinkedApiError)
|
|
17907
17834
|
? exports.LinkedCasesPages.BEFORE_YOU_START
|
|
17908
17835
|
: exports.LinkedCasesPages.NO_LINKED_CASES;
|
|
17909
|
-
// Initialise the error to be displayed when clicked on Continue button
|
|
17910
|
-
_this.setContinueButtonValidationErrorMessage();
|
|
17911
17836
|
});
|
|
17912
17837
|
};
|
|
17913
|
-
WriteLinkedCasesFieldComponent.prototype.navigateToErrorElement = function (elementId) {
|
|
17914
|
-
if (elementId) {
|
|
17915
|
-
var htmlElement = document.getElementById(elementId);
|
|
17916
|
-
if (htmlElement) {
|
|
17917
|
-
htmlElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
17918
|
-
htmlElement.focus();
|
|
17919
|
-
}
|
|
17920
|
-
}
|
|
17921
|
-
};
|
|
17922
17838
|
return WriteLinkedCasesFieldComponent;
|
|
17923
17839
|
}(AbstractFieldWriteComponent));
|
|
17924
17840
|
WriteLinkedCasesFieldComponent.ɵfac = function WriteLinkedCasesFieldComponent_Factory(t) { return new (t || WriteLinkedCasesFieldComponent)(i0__namespace.ɵɵdirectiveInject(AbstractAppConfig), i0__namespace.ɵɵdirectiveInject(CommonDataService), i0__namespace.ɵɵdirectiveInject(CasesService), i0__namespace.ɵɵdirectiveInject(LinkedCasesService), i0__namespace.ɵɵdirectiveInject(CaseEditDataService)); };
|
|
17925
|
-
WriteLinkedCasesFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteLinkedCasesFieldComponent, selectors: [["ccd-write-linked-cases-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls:
|
|
17841
|
+
WriteLinkedCasesFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteLinkedCasesFieldComponent, selectors: [["ccd-write-linked-cases-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 7, vars: 7, consts: [[1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesFieldComponent_Template(rf, ctx) {
|
|
17926
17842
|
if (rf & 1) {
|
|
17927
|
-
i0__namespace.ɵɵ
|
|
17843
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
17928
17844
|
i0__namespace.ɵɵelementStart(1, "div", 1);
|
|
17929
|
-
i0__namespace.ɵɵ
|
|
17930
|
-
i0__namespace.ɵɵtemplate(3, WriteLinkedCasesFieldComponent_ng_container_3_Template, 2, 0, "ng-container",
|
|
17931
|
-
i0__namespace.ɵɵtemplate(4, WriteLinkedCasesFieldComponent_ng_container_4_Template, 2, 0, "ng-container",
|
|
17932
|
-
i0__namespace.ɵɵtemplate(5, WriteLinkedCasesFieldComponent_ng_container_5_Template, 2, 0, "ng-container",
|
|
17933
|
-
i0__namespace.ɵɵtemplate(6, WriteLinkedCasesFieldComponent_ng_container_6_Template, 2, 0, "ng-container",
|
|
17934
|
-
i0__namespace.ɵɵtemplate(7, WriteLinkedCasesFieldComponent_ng_container_7_Template, 2, 0, "ng-container", 3);
|
|
17845
|
+
i0__namespace.ɵɵtemplate(2, WriteLinkedCasesFieldComponent_ng_container_2_Template, 2, 0, "ng-container", 2);
|
|
17846
|
+
i0__namespace.ɵɵtemplate(3, WriteLinkedCasesFieldComponent_ng_container_3_Template, 2, 0, "ng-container", 2);
|
|
17847
|
+
i0__namespace.ɵɵtemplate(4, WriteLinkedCasesFieldComponent_ng_container_4_Template, 2, 0, "ng-container", 2);
|
|
17848
|
+
i0__namespace.ɵɵtemplate(5, WriteLinkedCasesFieldComponent_ng_container_5_Template, 2, 0, "ng-container", 2);
|
|
17849
|
+
i0__namespace.ɵɵtemplate(6, WriteLinkedCasesFieldComponent_ng_container_6_Template, 2, 0, "ng-container", 2);
|
|
17935
17850
|
i0__namespace.ɵɵelementEnd();
|
|
17936
17851
|
i0__namespace.ɵɵelementEnd();
|
|
17937
17852
|
}
|
|
17938
17853
|
if (rf & 2) {
|
|
17939
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.errorMessages.length > 0);
|
|
17940
|
-
i0__namespace.ɵɵadvance(1);
|
|
17941
17854
|
i0__namespace.ɵɵproperty("formGroup", ctx.formGroup);
|
|
17942
17855
|
i0__namespace.ɵɵadvance(1);
|
|
17943
17856
|
i0__namespace.ɵɵproperty("ngSwitch", ctx.linkedCasesPage);
|
|
@@ -18176,7 +18089,7 @@
|
|
|
18176
18089
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
|
|
18177
18090
|
}
|
|
18178
18091
|
}
|
|
18179
|
-
var _c0$
|
|
18092
|
+
var _c0$E = function (a0) { return { "form-group-error": a0 }; };
|
|
18180
18093
|
var WriteMoneyGbpFieldComponent = /** @class */ (function (_super) {
|
|
18181
18094
|
__extends(WriteMoneyGbpFieldComponent, _super);
|
|
18182
18095
|
function WriteMoneyGbpFieldComponent() {
|
|
@@ -18206,7 +18119,7 @@
|
|
|
18206
18119
|
i0__namespace.ɵɵelementEnd();
|
|
18207
18120
|
}
|
|
18208
18121
|
if (rf & 2) {
|
|
18209
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
18122
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
18210
18123
|
i0__namespace.ɵɵadvance(1);
|
|
18211
18124
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
18212
18125
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -18354,7 +18267,7 @@
|
|
|
18354
18267
|
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
18355
18268
|
}
|
|
18356
18269
|
}
|
|
18357
|
-
var _c0$
|
|
18270
|
+
var _c0$D = function (a0) { return { "error": a0 }; };
|
|
18358
18271
|
var WriteMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
18359
18272
|
__extends(WriteMultiSelectListFieldComponent, _super);
|
|
18360
18273
|
function WriteMultiSelectListFieldComponent() {
|
|
@@ -18418,7 +18331,7 @@
|
|
|
18418
18331
|
i0__namespace.ɵɵelementEnd();
|
|
18419
18332
|
}
|
|
18420
18333
|
if (rf & 2) {
|
|
18421
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$
|
|
18334
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
18422
18335
|
i0__namespace.ɵɵadvance(3);
|
|
18423
18336
|
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
18424
18337
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -18509,7 +18422,7 @@
|
|
|
18509
18422
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
18510
18423
|
}
|
|
18511
18424
|
}
|
|
18512
|
-
var _c0$
|
|
18425
|
+
var _c0$C = function (a0) { return { "form-group-error": a0 }; };
|
|
18513
18426
|
var _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
18514
18427
|
var WriteNumberFieldComponent = /** @class */ (function (_super) {
|
|
18515
18428
|
__extends(WriteNumberFieldComponent, _super);
|
|
@@ -18534,7 +18447,7 @@
|
|
|
18534
18447
|
i0__namespace.ɵɵelementEnd();
|
|
18535
18448
|
}
|
|
18536
18449
|
if (rf & 2) {
|
|
18537
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$
|
|
18450
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
18538
18451
|
i0__namespace.ɵɵadvance(1);
|
|
18539
18452
|
i0__namespace.ɵɵproperty("for", ctx.id());
|
|
18540
18453
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -18835,7 +18748,7 @@
|
|
|
18835
18748
|
i0__namespace.ɵɵelementEnd();
|
|
18836
18749
|
}
|
|
18837
18750
|
}
|
|
18838
|
-
var _c0$
|
|
18751
|
+
var _c0$B = function (a0) { return { "scroll-container ": a0 }; };
|
|
18839
18752
|
function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) {
|
|
18840
18753
|
if (rf & 1) {
|
|
18841
18754
|
i0__namespace.ɵɵelementStart(0, "div", 26);
|
|
@@ -18851,7 +18764,7 @@
|
|
|
18851
18764
|
var ctx_r2 = i0__namespace.ɵɵnextContext(2);
|
|
18852
18765
|
var tmp_0_0 = null;
|
|
18853
18766
|
var tmp_2_0 = null;
|
|
18854
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$
|
|
18767
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0__namespace.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
18855
18768
|
i0__namespace.ɵɵadvance(2);
|
|
18856
18769
|
i0__namespace.ɵɵproperty("ngForOf", i0__namespace.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
18857
18770
|
i0__namespace.ɵɵadvance(2);
|
|
@@ -19255,6 +19168,231 @@
|
|
|
19255
19168
|
}], function () { return [{ type: AbstractAppConfig }, { type: SessionStorageService }]; }, null);
|
|
19256
19169
|
})();
|
|
19257
19170
|
|
|
19171
|
+
function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) {
|
|
19172
|
+
if (rf & 1) {
|
|
19173
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
19174
|
+
i0__namespace.ɵɵtext(1);
|
|
19175
|
+
i0__namespace.ɵɵpipe(2, "ccdFixedList");
|
|
19176
|
+
i0__namespace.ɵɵelementEnd();
|
|
19177
|
+
}
|
|
19178
|
+
if (rf & 2) {
|
|
19179
|
+
var value_r1 = ctx.$implicit;
|
|
19180
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
19181
|
+
i0__namespace.ɵɵadvance(1);
|
|
19182
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items), "\n");
|
|
19183
|
+
}
|
|
19184
|
+
}
|
|
19185
|
+
var ReadDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19186
|
+
__extends(ReadDynamicMultiSelectListFieldComponent, _super);
|
|
19187
|
+
function ReadDynamicMultiSelectListFieldComponent() {
|
|
19188
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19189
|
+
}
|
|
19190
|
+
ReadDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
|
|
19191
|
+
/**
|
|
19192
|
+
*
|
|
19193
|
+
* Reassigning list_items from formatted_list when list_items is empty
|
|
19194
|
+
*/
|
|
19195
|
+
if (!this.caseField.list_items && this.caseField.formatted_value && this.caseField.formatted_value.list_items) {
|
|
19196
|
+
this.caseField.list_items = this.caseField.formatted_value.list_items;
|
|
19197
|
+
}
|
|
19198
|
+
if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
|
|
19199
|
+
this.caseField.value = this.caseField.formatted_value.value;
|
|
19200
|
+
}
|
|
19201
|
+
_super.prototype.ngOnInit.call(this);
|
|
19202
|
+
};
|
|
19203
|
+
return ReadDynamicMultiSelectListFieldComponent;
|
|
19204
|
+
}(AbstractFieldReadComponent));
|
|
19205
|
+
ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
|
|
19206
|
+
ReadDynamicMultiSelectListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: ReadDynamicMultiSelectListFieldComponent, selectors: [["ccd-read-dynamic-multi-select-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
|
|
19207
|
+
if (rf & 1) {
|
|
19208
|
+
i0__namespace.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
|
|
19209
|
+
}
|
|
19210
|
+
if (rf & 2) {
|
|
19211
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.value);
|
|
19212
|
+
}
|
|
19213
|
+
}, directives: [i1__namespace.NgForOf], pipes: [FixedListPipe], styles: [".multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:5px 0}.multi-select-list-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.multi-select-list-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}"] });
|
|
19214
|
+
var ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
|
|
19215
|
+
(function () {
|
|
19216
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
|
|
19217
|
+
type: i0.Component,
|
|
19218
|
+
args: [{
|
|
19219
|
+
selector: 'ccd-read-dynamic-multi-select-list-field',
|
|
19220
|
+
templateUrl: './read-dynamic-multi-select-list-field.html',
|
|
19221
|
+
styleUrls: ['./read-dynamic-multi-select-list-field.component.scss']
|
|
19222
|
+
}]
|
|
19223
|
+
}], null, null);
|
|
19224
|
+
})();
|
|
19225
|
+
|
|
19226
|
+
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) {
|
|
19227
|
+
if (rf & 1) {
|
|
19228
|
+
i0__namespace.ɵɵelementStart(0, "span", 5);
|
|
19229
|
+
i0__namespace.ɵɵtext(1);
|
|
19230
|
+
i0__namespace.ɵɵpipe(2, "ccdFieldLabel");
|
|
19231
|
+
i0__namespace.ɵɵelementEnd();
|
|
19232
|
+
}
|
|
19233
|
+
if (rf & 2) {
|
|
19234
|
+
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
19235
|
+
i0__namespace.ɵɵadvance(1);
|
|
19236
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
19237
|
+
}
|
|
19238
|
+
}
|
|
19239
|
+
function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) {
|
|
19240
|
+
if (rf & 1) {
|
|
19241
|
+
i0__namespace.ɵɵelementStart(0, "span", 6);
|
|
19242
|
+
i0__namespace.ɵɵtext(1);
|
|
19243
|
+
i0__namespace.ɵɵelementEnd();
|
|
19244
|
+
}
|
|
19245
|
+
if (rf & 2) {
|
|
19246
|
+
var ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
19247
|
+
i0__namespace.ɵɵadvance(1);
|
|
19248
|
+
i0__namespace.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
19249
|
+
}
|
|
19250
|
+
}
|
|
19251
|
+
function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) {
|
|
19252
|
+
if (rf & 1) {
|
|
19253
|
+
i0__namespace.ɵɵelementStart(0, "span", 7);
|
|
19254
|
+
i0__namespace.ɵɵtext(1);
|
|
19255
|
+
i0__namespace.ɵɵpipe(2, "ccdFirstError");
|
|
19256
|
+
i0__namespace.ɵɵelementEnd();
|
|
19257
|
+
}
|
|
19258
|
+
if (rf & 2) {
|
|
19259
|
+
var ctx_r2 = i0__namespace.ɵɵnextContext();
|
|
19260
|
+
i0__namespace.ɵɵadvance(1);
|
|
19261
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
|
|
19262
|
+
}
|
|
19263
|
+
}
|
|
19264
|
+
function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) {
|
|
19265
|
+
if (rf & 1) {
|
|
19266
|
+
var _r6_1 = i0__namespace.ɵɵgetCurrentView();
|
|
19267
|
+
i0__namespace.ɵɵelementContainerStart(0);
|
|
19268
|
+
i0__namespace.ɵɵelementStart(1, "div", 8);
|
|
19269
|
+
i0__namespace.ɵɵelementStart(2, "input", 9);
|
|
19270
|
+
i0__namespace.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0__namespace.ɵɵrestoreView(_r6_1); var ctx_r5 = i0__namespace.ɵɵnextContext(); return ctx_r5.onCheckChange($event); });
|
|
19271
|
+
i0__namespace.ɵɵelementEnd();
|
|
19272
|
+
i0__namespace.ɵɵelementStart(3, "label", 10);
|
|
19273
|
+
i0__namespace.ɵɵtext(4);
|
|
19274
|
+
i0__namespace.ɵɵelementEnd();
|
|
19275
|
+
i0__namespace.ɵɵelementEnd();
|
|
19276
|
+
i0__namespace.ɵɵelementContainerEnd();
|
|
19277
|
+
}
|
|
19278
|
+
if (rf & 2) {
|
|
19279
|
+
var checkbox_r4 = ctx.$implicit;
|
|
19280
|
+
var ctx_r3 = i0__namespace.ɵɵnextContext();
|
|
19281
|
+
i0__namespace.ɵɵadvance(2);
|
|
19282
|
+
i0__namespace.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
|
|
19283
|
+
i0__namespace.ɵɵpropertyInterpolate("name", ctx_r3.id());
|
|
19284
|
+
i0__namespace.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
|
|
19285
|
+
i0__namespace.ɵɵadvance(1);
|
|
19286
|
+
i0__namespace.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
|
|
19287
|
+
i0__namespace.ɵɵadvance(1);
|
|
19288
|
+
i0__namespace.ɵɵtextInterpolate(checkbox_r4.label);
|
|
19289
|
+
}
|
|
19290
|
+
}
|
|
19291
|
+
var _c0$A = function (a0) { return { "error": a0 }; };
|
|
19292
|
+
var WriteDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
19293
|
+
__extends(WriteDynamicMultiSelectListFieldComponent, _super);
|
|
19294
|
+
function WriteDynamicMultiSelectListFieldComponent() {
|
|
19295
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
19296
|
+
}
|
|
19297
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.ngOnInit = function () {
|
|
19298
|
+
var _this = this;
|
|
19299
|
+
this.checkboxes = new i2.FormArray([]);
|
|
19300
|
+
this.setInitialCaseList();
|
|
19301
|
+
this.setInitialCaseFieldValue();
|
|
19302
|
+
// Initialise array with existing values
|
|
19303
|
+
if (this.caseField.value && Array.isArray(this.caseField.value)) {
|
|
19304
|
+
var values = this.caseField.value;
|
|
19305
|
+
values.forEach(function (value) {
|
|
19306
|
+
_this.checkboxes.push(new i2.FormControl(value));
|
|
19307
|
+
});
|
|
19308
|
+
}
|
|
19309
|
+
this.dynamicListFormControl = this.registerControl(new i2.FormControl(this.checkboxes.value));
|
|
19310
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
19311
|
+
};
|
|
19312
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.onCheckChange = function (event) {
|
|
19313
|
+
var _this = this;
|
|
19314
|
+
var target = event.target;
|
|
19315
|
+
if (!target || !target.value) {
|
|
19316
|
+
return;
|
|
19317
|
+
}
|
|
19318
|
+
var selectedListItem = this.getValueListItem(target.value);
|
|
19319
|
+
if (!this.isSelected(target.value)) {
|
|
19320
|
+
// Add a new control in the FormArray
|
|
19321
|
+
this.checkboxes.push(new i2.FormControl(selectedListItem));
|
|
19322
|
+
}
|
|
19323
|
+
else {
|
|
19324
|
+
// Remove the control from the FormArray
|
|
19325
|
+
this.checkboxes.controls.forEach(function (ctrl, i) {
|
|
19326
|
+
if (ctrl.value.code === target.value) {
|
|
19327
|
+
_this.checkboxes.removeAt(i);
|
|
19328
|
+
}
|
|
19329
|
+
});
|
|
19330
|
+
}
|
|
19331
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
19332
|
+
};
|
|
19333
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.isSelected = function (code) {
|
|
19334
|
+
if (this.checkboxes && this.checkboxes.controls) {
|
|
19335
|
+
return this.checkboxes.controls.find(function (control) { return control.value.code === code; });
|
|
19336
|
+
}
|
|
19337
|
+
};
|
|
19338
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.getValueListItem = function (value) {
|
|
19339
|
+
return this.caseField.list_items.find(function (i) { return i.code === value; });
|
|
19340
|
+
};
|
|
19341
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseList = function () {
|
|
19342
|
+
var hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
|
|
19343
|
+
var hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
|
|
19344
|
+
if (!hasListItems && hasFormattedListItems) {
|
|
19345
|
+
this.caseField.list_items = this.caseField.formatted_value.list_items;
|
|
19346
|
+
}
|
|
19347
|
+
};
|
|
19348
|
+
WriteDynamicMultiSelectListFieldComponent.prototype.setInitialCaseFieldValue = function () {
|
|
19349
|
+
if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
|
|
19350
|
+
this.caseField.value = this.caseField.formatted_value.value;
|
|
19351
|
+
}
|
|
19352
|
+
var isNull = this.caseField.value === undefined || this.caseField.value === '';
|
|
19353
|
+
if (isNull || !Array.isArray(this.caseField.value)) {
|
|
19354
|
+
this.caseField.value = [];
|
|
19355
|
+
}
|
|
19356
|
+
};
|
|
19357
|
+
return WriteDynamicMultiSelectListFieldComponent;
|
|
19358
|
+
}(AbstractFieldWriteComponent));
|
|
19359
|
+
WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
|
|
19360
|
+
WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "id", "name", "value", "checked", "change"], [1, "form-label", 3, "for"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
|
|
19361
|
+
if (rf & 1) {
|
|
19362
|
+
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
19363
|
+
i0__namespace.ɵɵelementStart(1, "fieldset");
|
|
19364
|
+
i0__namespace.ɵɵelementStart(2, "legend");
|
|
19365
|
+
i0__namespace.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
19366
|
+
i0__namespace.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
|
|
19367
|
+
i0__namespace.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
19368
|
+
i0__namespace.ɵɵelementEnd();
|
|
19369
|
+
i0__namespace.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
|
|
19370
|
+
i0__namespace.ɵɵelementEnd();
|
|
19371
|
+
i0__namespace.ɵɵelementEnd();
|
|
19372
|
+
}
|
|
19373
|
+
if (rf & 2) {
|
|
19374
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c0$A, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
19375
|
+
i0__namespace.ɵɵadvance(3);
|
|
19376
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
19377
|
+
i0__namespace.ɵɵadvance(1);
|
|
19378
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
19379
|
+
i0__namespace.ɵɵadvance(1);
|
|
19380
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
|
|
19381
|
+
i0__namespace.ɵɵadvance(1);
|
|
19382
|
+
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
19383
|
+
}
|
|
19384
|
+
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i1__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
19385
|
+
var ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
|
|
19386
|
+
(function () {
|
|
19387
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
19388
|
+
type: i0.Component,
|
|
19389
|
+
args: [{
|
|
19390
|
+
selector: 'ccd-write-dynamic-multi-select-list-field',
|
|
19391
|
+
templateUrl: './write-dynamic-multi-select-list-field.html'
|
|
19392
|
+
}]
|
|
19393
|
+
}], null, null);
|
|
19394
|
+
})();
|
|
19395
|
+
|
|
19258
19396
|
var ReadPhoneUKFieldComponent = /** @class */ (function (_super) {
|
|
19259
19397
|
__extends(ReadPhoneUKFieldComponent, _super);
|
|
19260
19398
|
function ReadPhoneUKFieldComponent() {
|
|
@@ -19887,7 +20025,7 @@
|
|
|
19887
20025
|
function PaletteService() {
|
|
19888
20026
|
var _b;
|
|
19889
20027
|
this.componentLauncherRegistry = (_b = {},
|
|
19890
|
-
_b[DisplayContextCustomParameter.CaseFileView] = [CaseFileViewFieldComponent,
|
|
20028
|
+
_b[DisplayContextCustomParameter.CaseFileView] = [CaseFileViewFieldComponent, CaseFileViewFieldComponent],
|
|
19891
20029
|
_b[DisplayContextCustomParameter.LinkedCases] = [WriteLinkedCasesFieldComponent, ReadLinkedCasesFieldComponent],
|
|
19892
20030
|
_b);
|
|
19893
20031
|
}
|
|
@@ -19917,6 +20055,8 @@
|
|
|
19917
20055
|
return write ? WriteFixedListFieldComponent : ReadFixedListFieldComponent;
|
|
19918
20056
|
case 'DynamicRadioList':
|
|
19919
20057
|
return write ? WriteDynamicRadioListFieldComponent : ReadDynamicRadioListFieldComponent;
|
|
20058
|
+
case 'DynamicMultiSelectList':
|
|
20059
|
+
return write ? WriteDynamicMultiSelectListFieldComponent : ReadDynamicMultiSelectListFieldComponent;
|
|
19920
20060
|
case 'FixedRadioList':
|
|
19921
20061
|
return write ? WriteFixedRadioListFieldComponent : ReadFixedRadioListFieldComponent;
|
|
19922
20062
|
case 'Complex':
|
|
@@ -19986,7 +20126,7 @@
|
|
|
19986
20126
|
})();
|
|
19987
20127
|
|
|
19988
20128
|
var _c0$v = ["fieldContainer"];
|
|
19989
|
-
var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
|
|
20129
|
+
var FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
19990
20130
|
var FieldReadComponent = /** @class */ (function (_super) {
|
|
19991
20131
|
__extends(FieldReadComponent, _super);
|
|
19992
20132
|
function FieldReadComponent(resolver, paletteService) {
|
|
@@ -20076,7 +20216,7 @@
|
|
|
20076
20216
|
})();
|
|
20077
20217
|
|
|
20078
20218
|
var _c0$u = ["fieldContainer"];
|
|
20079
|
-
var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
|
|
20219
|
+
var FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
20080
20220
|
var FieldWriteComponent = /** @class */ (function (_super) {
|
|
20081
20221
|
__extends(FieldWriteComponent, _super);
|
|
20082
20222
|
function FieldWriteComponent(resolver, paletteService) {
|
|
@@ -21900,7 +22040,7 @@
|
|
|
21900
22040
|
i0__namespace.ɵɵadvance(1);
|
|
21901
22041
|
i0__namespace.ɵɵproperty("ngIf", ctx.isCheckboxEnabled);
|
|
21902
22042
|
}
|
|
21903
|
-
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace$1.MatInput, i2__namespace.DefaultValueAccessor,
|
|
22043
|
+
}, directives: [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i1__namespace.NgIf, i3__namespace$1.MatInput, i2__namespace.DefaultValueAccessor, i5__namespace.MatAutocompleteTrigger, i2__namespace.NgControlStatus, i2__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}"] });
|
|
21904
22044
|
(function () {
|
|
21905
22045
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SearchLanguageInterpreterComponent, [{
|
|
21906
22046
|
type: i0.Component,
|
|
@@ -23819,7 +23959,7 @@
|
|
|
23819
23959
|
};
|
|
23820
23960
|
return DatetimePickerComponent;
|
|
23821
23961
|
}(AbstractFormFieldComponent));
|
|
23822
|
-
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4
|
|
23962
|
+
DatetimePickerComponent.ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0__namespace.ɵɵdirectiveInject(FormatTranslatorService), i0__namespace.ɵɵdirectiveInject(i4.NGX_MAT_DATE_FORMATS)); };
|
|
23823
23963
|
DatetimePickerComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) {
|
|
23824
23964
|
if (rf & 1) {
|
|
23825
23965
|
i0__namespace.ɵɵviewQuery(_c0$i, 1);
|
|
@@ -23831,10 +23971,10 @@
|
|
|
23831
23971
|
i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
23832
23972
|
}
|
|
23833
23973
|
}, inputs: { dateControl: "dateControl" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
23834
|
-
{ provide: i4
|
|
23835
|
-
{ provide: i4
|
|
23974
|
+
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
23975
|
+
{ provide: i4.NgxMatDateAdapter,
|
|
23836
23976
|
useClass: momentAdapter.NgxMatMomentAdapter,
|
|
23837
|
-
deps: [
|
|
23977
|
+
deps: [i6.MAT_DATE_LOCALE, momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
23838
23978
|
},
|
|
23839
23979
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
23840
23980
|
]), i0__namespace.ɵɵInheritDefinitionFeature], decls: 14, vars: 26, consts: [[1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "min", "max", "formControl", "ngxMatDatetimePicker", "focusin", "focusout", "dateChange"], ["input", ""], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian", "yearSelected", "monthSelected", "opened"], ["picker", ""], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) {
|
|
@@ -23881,7 +24021,7 @@
|
|
|
23881
24021
|
i0__namespace.ɵɵadvance(1);
|
|
23882
24022
|
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);
|
|
23883
24023
|
}
|
|
23884
|
-
}, directives: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i4__namespace$1.NgxMatDatetimeInput, i2__namespace.NgControlStatus, i2__namespace.FormControlDirective, i5__namespace$1.MatDatepickerToggle, i6__namespace.MatSuffix, i4__namespace$1.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 });
|
|
24024
|
+
}, 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 });
|
|
23885
24025
|
(function () {
|
|
23886
24026
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DatetimePickerComponent, [{
|
|
23887
24027
|
type: i0.Component,
|
|
@@ -23891,10 +24031,10 @@
|
|
|
23891
24031
|
styleUrls: ['./datetime-picker.component.scss'],
|
|
23892
24032
|
encapsulation: i0.ViewEncapsulation.None,
|
|
23893
24033
|
providers: [
|
|
23894
|
-
{ provide: i4
|
|
23895
|
-
{ provide: i4
|
|
24034
|
+
{ provide: i4.NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
|
|
24035
|
+
{ provide: i4.NgxMatDateAdapter,
|
|
23896
24036
|
useClass: momentAdapter.NgxMatMomentAdapter,
|
|
23897
|
-
deps: [
|
|
24037
|
+
deps: [i6.MAT_DATE_LOCALE, momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
23898
24038
|
},
|
|
23899
24039
|
{ provide: momentAdapter.NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
|
|
23900
24040
|
]
|
|
@@ -23902,7 +24042,7 @@
|
|
|
23902
24042
|
}], function () {
|
|
23903
24043
|
return [{ type: FormatTranslatorService }, { type: undefined, decorators: [{
|
|
23904
24044
|
type: i0.Inject,
|
|
23905
|
-
args: [i4
|
|
24045
|
+
args: [i4.NGX_MAT_DATE_FORMATS]
|
|
23906
24046
|
}] }];
|
|
23907
24047
|
}, { datetimePicker: [{
|
|
23908
24048
|
type: i0.ViewChild,
|
|
@@ -25036,23 +25176,26 @@
|
|
|
25036
25176
|
|| !ReadFieldsFilterPipe.isEmpty(value[field.id]);
|
|
25037
25177
|
};
|
|
25038
25178
|
ReadFieldsFilterPipe.getValue = function (field, values, index) {
|
|
25039
|
-
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25043
|
-
|
|
25044
|
-
|
|
25179
|
+
if (ReadFieldsFilterPipe.isEmpty(field.value)) {
|
|
25180
|
+
var value = void 0;
|
|
25181
|
+
if (index >= 0) {
|
|
25182
|
+
value = values[index].value[field.id];
|
|
25183
|
+
}
|
|
25184
|
+
else {
|
|
25185
|
+
value = values[field.id];
|
|
25186
|
+
}
|
|
25187
|
+
return value;
|
|
25045
25188
|
}
|
|
25046
|
-
return
|
|
25189
|
+
return field.value;
|
|
25047
25190
|
};
|
|
25048
|
-
ReadFieldsFilterPipe.evaluateConditionalShow = function (field, formValue, path,
|
|
25191
|
+
ReadFieldsFilterPipe.evaluateConditionalShow = function (field, formValue, path, formGroupAvailable, fieldId) {
|
|
25049
25192
|
if (field.display_context === 'HIDDEN') {
|
|
25050
25193
|
field.hidden = true;
|
|
25051
25194
|
}
|
|
25052
25195
|
else if (field.show_condition) {
|
|
25053
25196
|
var cond = void 0;
|
|
25054
|
-
if (fieldId && field.show_condition.indexOf(fieldId) > -1 && !
|
|
25055
|
-
var search = fieldId +
|
|
25197
|
+
if (fieldId && field.show_condition.indexOf(fieldId + ".") > -1 && !formGroupAvailable && !!Object.keys(formValue).length) {
|
|
25198
|
+
var search = fieldId + ".";
|
|
25056
25199
|
var searchRegExp = new RegExp(search, 'g');
|
|
25057
25200
|
var replaceWith = '';
|
|
25058
25201
|
cond = ShowCondition.getInstance(field.show_condition.replace(searchRegExp, replaceWith));
|
|
@@ -25461,6 +25604,8 @@
|
|
|
25461
25604
|
WriteDocumentFieldComponent,
|
|
25462
25605
|
WriteDynamicListFieldComponent,
|
|
25463
25606
|
WriteDynamicRadioListFieldComponent,
|
|
25607
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25608
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25464
25609
|
WriteTextFieldComponent,
|
|
25465
25610
|
WriteDateContainerFieldComponent,
|
|
25466
25611
|
WriteTextAreaFieldComponent,
|
|
@@ -25484,12 +25629,18 @@
|
|
|
25484
25629
|
WriteCollectionFieldComponent,
|
|
25485
25630
|
// ComponentLauncher web components
|
|
25486
25631
|
CaseFileViewFieldComponent,
|
|
25487
|
-
CaseFileViewFieldReadComponent,
|
|
25488
25632
|
CaseFileViewFolderComponent,
|
|
25489
25633
|
CaseFileViewFolderSortComponent,
|
|
25490
25634
|
CaseFileViewOverlayMenuComponent,
|
|
25491
25635
|
CaseFileViewFolderDocumentActionsComponent,
|
|
25492
25636
|
CaseFileViewFolderSelectorComponent,
|
|
25637
|
+
// component for dynamic list
|
|
25638
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25639
|
+
WriteDynamicRadioListFieldComponent,
|
|
25640
|
+
WriteDynamicListFieldComponent,
|
|
25641
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25642
|
+
ReadDynamicListFieldComponent,
|
|
25643
|
+
ReadDynamicRadioListFieldComponent,
|
|
25493
25644
|
LinkedCasesToTableComponent,
|
|
25494
25645
|
LinkedCasesFromTableComponent,
|
|
25495
25646
|
BeforeYouStartComponent,
|
|
@@ -25518,7 +25669,7 @@
|
|
|
25518
25669
|
LinkedCasesService,
|
|
25519
25670
|
CommonDataService,
|
|
25520
25671
|
JurisdictionService,
|
|
25521
|
-
{ provide:
|
|
25672
|
+
{ provide: i6.MAT_DATE_LOCALE, useValue: 'en-GB' }
|
|
25522
25673
|
], imports: [[
|
|
25523
25674
|
i1.CommonModule,
|
|
25524
25675
|
i1$1.RouterModule,
|
|
@@ -25535,13 +25686,13 @@
|
|
|
25535
25686
|
TabsModule,
|
|
25536
25687
|
LabelSubstitutorModule,
|
|
25537
25688
|
i1$5.NgxMdModule,
|
|
25538
|
-
i4
|
|
25539
|
-
i4
|
|
25540
|
-
i4
|
|
25541
|
-
i6.MatFormFieldModule,
|
|
25689
|
+
i4.NgxMatDatetimePickerModule,
|
|
25690
|
+
i4.NgxMatTimepickerModule,
|
|
25691
|
+
i4.NgxMatNativeDateModule,
|
|
25692
|
+
i6$1.MatFormFieldModule,
|
|
25542
25693
|
i3$1.MatInputModule,
|
|
25543
25694
|
i5$1.MatDatepickerModule,
|
|
25544
|
-
|
|
25695
|
+
i5.MatAutocompleteModule,
|
|
25545
25696
|
i7.CdkTreeModule,
|
|
25546
25697
|
i1$4.OverlayModule,
|
|
25547
25698
|
i3.PaymentLibModule,
|
|
@@ -25549,9 +25700,9 @@
|
|
|
25549
25700
|
i1$3.MatDialogModule,
|
|
25550
25701
|
i11.MediaViewerModule,
|
|
25551
25702
|
LoadingModule
|
|
25552
|
-
], i4
|
|
25553
|
-
i4
|
|
25554
|
-
i4
|
|
25703
|
+
], i4.NgxMatDatetimePickerModule,
|
|
25704
|
+
i4.NgxMatNativeDateModule,
|
|
25705
|
+
i4.NgxMatTimepickerModule,
|
|
25555
25706
|
TabsModule,
|
|
25556
25707
|
PaletteUtilsModule,
|
|
25557
25708
|
PipesModule] });
|
|
@@ -25620,6 +25771,8 @@
|
|
|
25620
25771
|
WriteDocumentFieldComponent,
|
|
25621
25772
|
WriteDynamicListFieldComponent,
|
|
25622
25773
|
WriteDynamicRadioListFieldComponent,
|
|
25774
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25775
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25623
25776
|
WriteTextFieldComponent,
|
|
25624
25777
|
WriteDateContainerFieldComponent,
|
|
25625
25778
|
WriteTextAreaFieldComponent,
|
|
@@ -25643,12 +25796,18 @@
|
|
|
25643
25796
|
WriteCollectionFieldComponent,
|
|
25644
25797
|
// ComponentLauncher web components
|
|
25645
25798
|
CaseFileViewFieldComponent,
|
|
25646
|
-
CaseFileViewFieldReadComponent,
|
|
25647
25799
|
CaseFileViewFolderComponent,
|
|
25648
25800
|
CaseFileViewFolderSortComponent,
|
|
25649
25801
|
CaseFileViewOverlayMenuComponent,
|
|
25650
25802
|
CaseFileViewFolderDocumentActionsComponent,
|
|
25651
25803
|
CaseFileViewFolderSelectorComponent,
|
|
25804
|
+
// component for dynamic list
|
|
25805
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25806
|
+
WriteDynamicRadioListFieldComponent,
|
|
25807
|
+
WriteDynamicListFieldComponent,
|
|
25808
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25809
|
+
ReadDynamicListFieldComponent,
|
|
25810
|
+
ReadDynamicRadioListFieldComponent,
|
|
25652
25811
|
LinkedCasesToTableComponent,
|
|
25653
25812
|
LinkedCasesFromTableComponent,
|
|
25654
25813
|
BeforeYouStartComponent,
|
|
@@ -25670,20 +25829,20 @@
|
|
|
25670
25829
|
TabsModule,
|
|
25671
25830
|
LabelSubstitutorModule,
|
|
25672
25831
|
i1$5.NgxMdModule,
|
|
25673
|
-
i4
|
|
25674
|
-
i4
|
|
25675
|
-
i4
|
|
25676
|
-
i6.MatFormFieldModule,
|
|
25832
|
+
i4.NgxMatDatetimePickerModule,
|
|
25833
|
+
i4.NgxMatTimepickerModule,
|
|
25834
|
+
i4.NgxMatNativeDateModule,
|
|
25835
|
+
i6$1.MatFormFieldModule,
|
|
25677
25836
|
i3$1.MatInputModule,
|
|
25678
25837
|
i5$1.MatDatepickerModule,
|
|
25679
|
-
|
|
25838
|
+
i5.MatAutocompleteModule,
|
|
25680
25839
|
i7.CdkTreeModule,
|
|
25681
25840
|
i1$4.OverlayModule,
|
|
25682
25841
|
i3.PaymentLibModule, i2__namespace$1.ScrollToModule, i1$3.MatDialogModule,
|
|
25683
25842
|
i11.MediaViewerModule,
|
|
25684
|
-
LoadingModule], exports: [i4
|
|
25685
|
-
i4
|
|
25686
|
-
i4
|
|
25843
|
+
LoadingModule], exports: [i4.NgxMatDatetimePickerModule,
|
|
25844
|
+
i4.NgxMatNativeDateModule,
|
|
25845
|
+
i4.NgxMatTimepickerModule,
|
|
25687
25846
|
TabsModule,
|
|
25688
25847
|
PaletteUtilsModule,
|
|
25689
25848
|
PipesModule, UnsupportedFieldComponent,
|
|
@@ -25738,6 +25897,8 @@
|
|
|
25738
25897
|
WriteDocumentFieldComponent,
|
|
25739
25898
|
WriteDynamicListFieldComponent,
|
|
25740
25899
|
WriteDynamicRadioListFieldComponent,
|
|
25900
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25901
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25741
25902
|
WriteTextFieldComponent,
|
|
25742
25903
|
WriteDateContainerFieldComponent,
|
|
25743
25904
|
WriteTextAreaFieldComponent,
|
|
@@ -25761,12 +25922,18 @@
|
|
|
25761
25922
|
WriteCollectionFieldComponent,
|
|
25762
25923
|
// ComponentLauncher web components
|
|
25763
25924
|
CaseFileViewFieldComponent,
|
|
25764
|
-
CaseFileViewFieldReadComponent,
|
|
25765
25925
|
CaseFileViewFolderComponent,
|
|
25766
25926
|
CaseFileViewFolderSortComponent,
|
|
25767
25927
|
CaseFileViewOverlayMenuComponent,
|
|
25768
25928
|
CaseFileViewFolderDocumentActionsComponent,
|
|
25769
25929
|
CaseFileViewFolderSelectorComponent,
|
|
25930
|
+
// component for dynamic list
|
|
25931
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
25932
|
+
WriteDynamicRadioListFieldComponent,
|
|
25933
|
+
WriteDynamicListFieldComponent,
|
|
25934
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
25935
|
+
ReadDynamicListFieldComponent,
|
|
25936
|
+
ReadDynamicRadioListFieldComponent,
|
|
25770
25937
|
LinkedCasesToTableComponent,
|
|
25771
25938
|
LinkedCasesFromTableComponent,
|
|
25772
25939
|
BeforeYouStartComponent,
|
|
@@ -25795,13 +25962,13 @@
|
|
|
25795
25962
|
TabsModule,
|
|
25796
25963
|
LabelSubstitutorModule,
|
|
25797
25964
|
i1$5.NgxMdModule,
|
|
25798
|
-
i4
|
|
25799
|
-
i4
|
|
25800
|
-
i4
|
|
25801
|
-
i6.MatFormFieldModule,
|
|
25965
|
+
i4.NgxMatDatetimePickerModule,
|
|
25966
|
+
i4.NgxMatTimepickerModule,
|
|
25967
|
+
i4.NgxMatNativeDateModule,
|
|
25968
|
+
i6$1.MatFormFieldModule,
|
|
25802
25969
|
i3$1.MatInputModule,
|
|
25803
25970
|
i5$1.MatDatepickerModule,
|
|
25804
|
-
|
|
25971
|
+
i5.MatAutocompleteModule,
|
|
25805
25972
|
i7.CdkTreeModule,
|
|
25806
25973
|
i1$4.OverlayModule,
|
|
25807
25974
|
i3.PaymentLibModule,
|
|
@@ -25826,9 +25993,9 @@
|
|
|
25826
25993
|
CaseFlagSummaryListComponent
|
|
25827
25994
|
], PALETTE_COMPONENTS),
|
|
25828
25995
|
exports: __spread([
|
|
25829
|
-
i4
|
|
25830
|
-
i4
|
|
25831
|
-
i4
|
|
25996
|
+
i4.NgxMatDatetimePickerModule,
|
|
25997
|
+
i4.NgxMatNativeDateModule,
|
|
25998
|
+
i4.NgxMatTimepickerModule,
|
|
25832
25999
|
TabsModule,
|
|
25833
26000
|
PaletteUtilsModule,
|
|
25834
26001
|
PipesModule
|
|
@@ -25846,7 +26013,7 @@
|
|
|
25846
26013
|
LinkedCasesService,
|
|
25847
26014
|
CommonDataService,
|
|
25848
26015
|
JurisdictionService,
|
|
25849
|
-
{ provide:
|
|
26016
|
+
{ provide: i6.MAT_DATE_LOCALE, useValue: 'en-GB' }
|
|
25850
26017
|
],
|
|
25851
26018
|
entryComponents: [CaseFileViewFolderSelectorComponent]
|
|
25852
26019
|
}]
|
|
@@ -25880,7 +26047,7 @@
|
|
|
25880
26047
|
AddCommentsComponent,
|
|
25881
26048
|
ManageCaseFlagsComponent,
|
|
25882
26049
|
UpdateFlagComponent], []);
|
|
25883
|
-
i0__namespace.ɵɵsetComponentScope(WriteLinkedCasesFieldComponent, [
|
|
26050
|
+
i0__namespace.ɵɵsetComponentScope(WriteLinkedCasesFieldComponent, [i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgSwitch, i1__namespace.NgSwitchCase, BeforeYouStartComponent,
|
|
25884
26051
|
NoLinkedCasesComponent,
|
|
25885
26052
|
LinkCasesComponent,
|
|
25886
26053
|
UnLinkCasesComponent,
|
|
@@ -25892,8 +26059,7 @@
|
|
|
25892
26059
|
i0__namespace.ɵɵsetComponentScope(WriteCollectionFieldComponent, [i1__namespace.NgIf, i1__namespace.NgForOf, FieldWriteComponent, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective], [FieldLabelPipe, FirstErrorPipe]);
|
|
25893
26060
|
i0__namespace.ɵɵsetComponentScope(
|
|
25894
26061
|
// ComponentLauncher web components
|
|
25895
|
-
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace
|
|
25896
|
-
i0__namespace.ɵɵsetComponentScope(CaseFileViewFieldReadComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.ɵcs], []);
|
|
26062
|
+
CaseFileViewFieldComponent, [i1__namespace.NgIf, CaseFileViewFolderComponent, i11__namespace.MediaViewerComponent], []);
|
|
25897
26063
|
i0__namespace.ɵɵsetComponentScope(LinkedCasesToTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
25898
26064
|
i0__namespace.ɵɵsetComponentScope(LinkedCasesFromTableComponent, [i1__namespace.NgIf, i1__namespace.NgForOf], [CaseReferencePipe, LinkCasesFromReasonValuePipe]);
|
|
25899
26065
|
i0__namespace.ɵɵsetComponentScope(LinkCasesComponent, [i1__namespace.NgIf, i2__namespace.NgControlStatusGroup, i2__namespace.FormGroupDirective, i1__namespace.NgClass, i2__namespace.DefaultValueAccessor, i2__namespace.NgControlStatus, i2__namespace.FormControlName, i2__namespace.FormArrayName, i1__namespace.NgForOf, i2__namespace.FormGroupName, i2__namespace.CheckboxControlValueAccessor], [CaseReferencePipe, LinkCasesReasonValuePipe]);
|
|
@@ -27246,10 +27412,10 @@
|
|
|
27246
27412
|
});
|
|
27247
27413
|
switch (portalType) {
|
|
27248
27414
|
case EventCompletionPortalTypes.TaskCancelled:
|
|
27249
|
-
this.selectedComponentPortal = new i6$
|
|
27415
|
+
this.selectedComponentPortal = new i6$2.ComponentPortal(CaseEventCompletionTaskCancelledComponent, null, injector);
|
|
27250
27416
|
break;
|
|
27251
27417
|
case EventCompletionPortalTypes.TaskReassigned:
|
|
27252
|
-
this.selectedComponentPortal = new i6$
|
|
27418
|
+
this.selectedComponentPortal = new i6$2.ComponentPortal(CaseEventCompletionTaskReassignedComponent, null, injector);
|
|
27253
27419
|
break;
|
|
27254
27420
|
}
|
|
27255
27421
|
};
|
|
@@ -27263,7 +27429,7 @@
|
|
|
27263
27429
|
if (rf & 2) {
|
|
27264
27430
|
i0__namespace.ɵɵproperty("cdkPortalOutlet", ctx.selectedComponentPortal);
|
|
27265
27431
|
}
|
|
27266
|
-
}, directives: [i6__namespace$
|
|
27432
|
+
}, directives: [i6__namespace$2.CdkPortalOutlet], encapsulation: 2 });
|
|
27267
27433
|
(function () {
|
|
27268
27434
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseEventCompletionComponent, [{
|
|
27269
27435
|
type: i0.Component,
|
|
@@ -27323,7 +27489,7 @@
|
|
|
27323
27489
|
LabelSubstitutorModule,
|
|
27324
27490
|
ConditionalShowModule,
|
|
27325
27491
|
ErrorsModule,
|
|
27326
|
-
i6$
|
|
27492
|
+
i6$2.PortalModule,
|
|
27327
27493
|
LoadingSpinnerModule,
|
|
27328
27494
|
BannersModule
|
|
27329
27495
|
]] });
|
|
@@ -27346,7 +27512,7 @@
|
|
|
27346
27512
|
LabelSubstitutorModule,
|
|
27347
27513
|
ConditionalShowModule,
|
|
27348
27514
|
ErrorsModule,
|
|
27349
|
-
i6$
|
|
27515
|
+
i6$2.PortalModule,
|
|
27350
27516
|
LoadingSpinnerModule,
|
|
27351
27517
|
BannersModule], exports: [CaseEditConfirmComponent,
|
|
27352
27518
|
CaseEditComponent,
|
|
@@ -27371,7 +27537,7 @@
|
|
|
27371
27537
|
LabelSubstitutorModule,
|
|
27372
27538
|
ConditionalShowModule,
|
|
27373
27539
|
ErrorsModule,
|
|
27374
|
-
i6$
|
|
27540
|
+
i6$2.PortalModule,
|
|
27375
27541
|
LoadingSpinnerModule,
|
|
27376
27542
|
BannersModule
|
|
27377
27543
|
],
|
|
@@ -35643,7 +35809,6 @@
|
|
|
35643
35809
|
exports.CaseField = CaseField;
|
|
35644
35810
|
exports.CaseFieldService = CaseFieldService;
|
|
35645
35811
|
exports.CaseFileViewFieldComponent = CaseFileViewFieldComponent;
|
|
35646
|
-
exports.CaseFileViewFieldReadComponent = CaseFileViewFieldReadComponent;
|
|
35647
35812
|
exports.CaseFileViewFolderComponent = CaseFileViewFolderComponent;
|
|
35648
35813
|
exports.CaseFileViewFolderDocumentActionsComponent = CaseFileViewFolderDocumentActionsComponent;
|
|
35649
35814
|
exports.CaseFileViewFolderSelectorComponent = CaseFileViewFolderSelectorComponent;
|
|
@@ -35833,6 +35998,7 @@
|
|
|
35833
35998
|
exports.ReadDateFieldComponent = ReadDateFieldComponent;
|
|
35834
35999
|
exports.ReadDocumentFieldComponent = ReadDocumentFieldComponent;
|
|
35835
36000
|
exports.ReadDynamicListFieldComponent = ReadDynamicListFieldComponent;
|
|
36001
|
+
exports.ReadDynamicMultiSelectListFieldComponent = ReadDynamicMultiSelectListFieldComponent;
|
|
35836
36002
|
exports.ReadDynamicRadioListFieldComponent = ReadDynamicRadioListFieldComponent;
|
|
35837
36003
|
exports.ReadEmailFieldComponent = ReadEmailFieldComponent;
|
|
35838
36004
|
exports.ReadFieldsFilterPipe = ReadFieldsFilterPipe;
|
|
@@ -35909,6 +36075,7 @@
|
|
|
35909
36075
|
exports.WriteDateFieldComponent = WriteDateFieldComponent;
|
|
35910
36076
|
exports.WriteDocumentFieldComponent = WriteDocumentFieldComponent;
|
|
35911
36077
|
exports.WriteDynamicListFieldComponent = WriteDynamicListFieldComponent;
|
|
36078
|
+
exports.WriteDynamicMultiSelectListFieldComponent = WriteDynamicMultiSelectListFieldComponent;
|
|
35912
36079
|
exports.WriteDynamicRadioListFieldComponent = WriteDynamicRadioListFieldComponent;
|
|
35913
36080
|
exports.WriteEmailFieldComponent = WriteEmailFieldComponent;
|
|
35914
36081
|
exports.WriteFixedListFieldComponent = WriteFixedListFieldComponent;
|