@hmcts/ccd-case-ui-toolkit 5.0.55-rollback-case-link → 6.0.2-migration-dynamic-list-rc1
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 +355 -68
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/palette/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/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +1 -1
- 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/palette.module.js +35 -4
- package/esm2015/lib/shared/components/palette/palette.service.js +4 -1
- 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/services/form/field-type-sanitiser.js +16 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +318 -70
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.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/palette.module.d.ts +53 -51
- 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/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 +1 -1
|
@@ -115,13 +115,13 @@ function FooterComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
115
115
|
i0.ɵɵadvance(3);
|
|
116
116
|
i0.ɵɵtextInterpolate(ctx_r1.workhours);
|
|
117
117
|
} }
|
|
118
|
-
const _c0$
|
|
118
|
+
const _c0$Z = [[["", "footerSolsNavLinks", ""]], [["", "footerCaseWorkerNavLinks", ""]]];
|
|
119
119
|
const _c1$r = ["[footerSolsNavLinks]", "[footerCaseWorkerNavLinks]"];
|
|
120
120
|
class FooterComponent {
|
|
121
121
|
}
|
|
122
122
|
FooterComponent.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(); };
|
|
123
123
|
FooterComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$r, 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) { if (rf & 1) {
|
|
124
|
-
i0.ɵɵprojectionDef(_c0$
|
|
124
|
+
i0.ɵɵprojectionDef(_c0$Z);
|
|
125
125
|
i0.ɵɵelementStart(0, "footer", 0);
|
|
126
126
|
i0.ɵɵelementStart(1, "div", 1);
|
|
127
127
|
i0.ɵɵtemplate(2, FooterComponent_div_2_Template, 15, 0, "div", 2);
|
|
@@ -188,7 +188,7 @@ function HeaderBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
188
188
|
i0.ɵɵadvance(3);
|
|
189
189
|
i0.ɵɵtextInterpolate(ctx_r2.title);
|
|
190
190
|
} }
|
|
191
|
-
const _c0$
|
|
191
|
+
const _c0$Y = [[["", "headerNavigation", ""]]];
|
|
192
192
|
const _c1$q = ["[headerNavigation]"];
|
|
193
193
|
class HeaderBarComponent {
|
|
194
194
|
constructor() {
|
|
@@ -200,7 +200,7 @@ class HeaderBarComponent {
|
|
|
200
200
|
}
|
|
201
201
|
HeaderBarComponent.ɵfac = function HeaderBarComponent_Factory(t) { return new (t || HeaderBarComponent)(); };
|
|
202
202
|
HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$q, 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) { if (rf & 1) {
|
|
203
|
-
i0.ɵɵprojectionDef(_c0$
|
|
203
|
+
i0.ɵɵprojectionDef(_c0$Y);
|
|
204
204
|
i0.ɵɵelementStart(0, "header", 0);
|
|
205
205
|
i0.ɵɵelementStart(1, "div", 1);
|
|
206
206
|
i0.ɵɵelementStart(2, "div", 2);
|
|
@@ -257,13 +257,13 @@ HeaderBarComponent.ɵcmp = i0.ɵɵdefineComponent({ type: HeaderBarComponent, se
|
|
|
257
257
|
type: Output
|
|
258
258
|
}] }); })();
|
|
259
259
|
|
|
260
|
-
const _c0$
|
|
260
|
+
const _c0$X = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
261
261
|
const _c1$p = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
262
262
|
class NavigationComponent {
|
|
263
263
|
}
|
|
264
264
|
NavigationComponent.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(); };
|
|
265
265
|
NavigationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$p, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
-
i0.ɵɵprojectionDef(_c0$
|
|
266
|
+
i0.ɵɵprojectionDef(_c0$X);
|
|
267
267
|
i0.ɵɵelementStart(0, "div");
|
|
268
268
|
i0.ɵɵelementStart(1, "nav", 0);
|
|
269
269
|
i0.ɵɵprojection(2);
|
|
@@ -380,13 +380,13 @@ HeadersModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[CommonModule, RouterMod
|
|
|
380
380
|
}]
|
|
381
381
|
}], null, null); })();
|
|
382
382
|
|
|
383
|
-
const _c0$
|
|
383
|
+
const _c0$W = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
384
384
|
const _c1$o = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
385
385
|
class BodyComponent {
|
|
386
386
|
}
|
|
387
387
|
BodyComponent.ɵfac = function BodyComponent_Factory(t) { return new (t || BodyComponent)(); };
|
|
388
388
|
BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$o, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
389
|
-
i0.ɵɵprojectionDef(_c0$
|
|
389
|
+
i0.ɵɵprojectionDef(_c0$W);
|
|
390
390
|
i0.ɵɵelementStart(0, "div", 0);
|
|
391
391
|
i0.ɵɵprojection(1);
|
|
392
392
|
i0.ɵɵprojection(2, 1);
|
|
@@ -403,7 +403,7 @@ BodyComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [
|
|
|
403
403
|
}]
|
|
404
404
|
}], null, null); })();
|
|
405
405
|
|
|
406
|
-
const _c0$
|
|
406
|
+
const _c0$V = function (a0) { return { "govuk-input--error": a0 }; };
|
|
407
407
|
function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
408
408
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
409
409
|
i0.ɵɵelementStart(0, "div", 12);
|
|
@@ -419,7 +419,7 @@ function DateInputComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
419
419
|
i0.ɵɵadvance(1);
|
|
420
420
|
i0.ɵɵproperty("for", ctx_r3.hourId());
|
|
421
421
|
i0.ɵɵadvance(2);
|
|
422
|
-
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
422
|
+
i0.ɵɵproperty("id", ctx_r3.hourId())("name", ctx_r3.hourId())("value", ctx_r3.displayHour)("ngClass", i0.ɵɵpureFunction1(5, _c0$V, ctx_r3.isInvalid));
|
|
423
423
|
} }
|
|
424
424
|
function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
425
425
|
const _r13 = i0.ɵɵgetCurrentView();
|
|
@@ -436,7 +436,7 @@ function DateInputComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
436
436
|
i0.ɵɵadvance(1);
|
|
437
437
|
i0.ɵɵproperty("for", ctx_r4.minuteId());
|
|
438
438
|
i0.ɵɵadvance(2);
|
|
439
|
-
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
439
|
+
i0.ɵɵproperty("id", ctx_r4.minuteId())("name", ctx_r4.minuteId())("value", ctx_r4.displayMinute)("ngClass", i0.ɵɵpureFunction1(5, _c0$V, ctx_r4.isInvalid));
|
|
440
440
|
} }
|
|
441
441
|
function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
442
442
|
const _r18 = i0.ɵɵgetCurrentView();
|
|
@@ -453,7 +453,7 @@ function DateInputComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
453
453
|
i0.ɵɵadvance(1);
|
|
454
454
|
i0.ɵɵproperty("for", ctx_r5.secondId());
|
|
455
455
|
i0.ɵɵadvance(2);
|
|
456
|
-
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
456
|
+
i0.ɵɵproperty("id", ctx_r5.secondId())("name", ctx_r5.secondId())("value", ctx_r5.displaySecond)("ngClass", i0.ɵɵpureFunction1(5, _c0$V, ctx_r5.isInvalid));
|
|
457
457
|
} }
|
|
458
458
|
class DateInputComponent {
|
|
459
459
|
constructor() {
|
|
@@ -682,15 +682,15 @@ DateInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DateInputComponent, se
|
|
|
682
682
|
i0.ɵɵadvance(2);
|
|
683
683
|
i0.ɵɵproperty("for", ctx.dayId());
|
|
684
684
|
i0.ɵɵadvance(2);
|
|
685
|
-
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$
|
|
685
|
+
i0.ɵɵproperty("id", ctx.dayId())("name", ctx.dayId())("value", ctx.displayDay)("ngClass", i0.ɵɵpureFunction1(18, _c0$V, ctx.isInvalid));
|
|
686
686
|
i0.ɵɵadvance(3);
|
|
687
687
|
i0.ɵɵproperty("for", ctx.monthId());
|
|
688
688
|
i0.ɵɵadvance(2);
|
|
689
|
-
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$
|
|
689
|
+
i0.ɵɵproperty("id", ctx.monthId())("name", ctx.monthId())("value", ctx.displayMonth)("ngClass", i0.ɵɵpureFunction1(20, _c0$V, ctx.isInvalid));
|
|
690
690
|
i0.ɵɵadvance(3);
|
|
691
691
|
i0.ɵɵproperty("for", ctx.yearId());
|
|
692
692
|
i0.ɵɵadvance(2);
|
|
693
|
-
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$
|
|
693
|
+
i0.ɵɵproperty("id", ctx.yearId())("name", ctx.yearId())("value", ctx.displayYear)("ngClass", i0.ɵɵpureFunction1(22, _c0$V, ctx.isInvalid));
|
|
694
694
|
i0.ɵɵadvance(2);
|
|
695
695
|
i0.ɵɵproperty("ngIf", ctx.isDateTime);
|
|
696
696
|
i0.ɵɵadvance(1);
|
|
@@ -760,7 +760,7 @@ function AlertComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
760
760
|
i0.ɵɵelementEnd();
|
|
761
761
|
i0.ɵɵelementContainerEnd();
|
|
762
762
|
} }
|
|
763
|
-
const _c0$
|
|
763
|
+
const _c0$U = ["*"];
|
|
764
764
|
var AlertMessageType;
|
|
765
765
|
(function (AlertMessageType) {
|
|
766
766
|
AlertMessageType["WARNING"] = "warning";
|
|
@@ -780,7 +780,7 @@ AlertComponent.TYPE_SUCCESS = 'success';
|
|
|
780
780
|
AlertComponent.TYPE_ERROR = 'error';
|
|
781
781
|
AlertComponent.TYPE_INFORMATION = 'information';
|
|
782
782
|
AlertComponent.ɵfac = function AlertComponent_Factory(t) { return new (t || AlertComponent)(); };
|
|
783
|
-
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$
|
|
783
|
+
AlertComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$U, 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) { if (rf & 1) {
|
|
784
784
|
i0.ɵɵprojectionDef();
|
|
785
785
|
i0.ɵɵelementStart(0, "div", 0);
|
|
786
786
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -1011,7 +1011,7 @@ NotificationBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: NotificationB
|
|
|
1011
1011
|
type: Output
|
|
1012
1012
|
}] }); })();
|
|
1013
1013
|
|
|
1014
|
-
const _c0$
|
|
1014
|
+
const _c0$T = function (a0) { return { "js-hidden": a0 }; };
|
|
1015
1015
|
const _c1$n = ["*"];
|
|
1016
1016
|
class TabComponent {
|
|
1017
1017
|
}
|
|
@@ -1022,7 +1022,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1022
1022
|
i0.ɵɵprojection(1);
|
|
1023
1023
|
i0.ɵɵelementEnd();
|
|
1024
1024
|
} if (rf & 2) {
|
|
1025
|
-
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
1025
|
+
i0.ɵɵproperty("id", ctx.id)("ngClass", i0.ɵɵpureFunction1(3, _c0$T, !ctx.selected));
|
|
1026
1026
|
i0.ɵɵattribute("aria-hidden", !ctx.selected);
|
|
1027
1027
|
} }, directives: [i1.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}}"] });
|
|
1028
1028
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
|
|
@@ -1042,7 +1042,7 @@ TabComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["
|
|
|
1042
1042
|
type: Input
|
|
1043
1043
|
}] }); })();
|
|
1044
1044
|
|
|
1045
|
-
const _c0$
|
|
1045
|
+
const _c0$S = ["tab"];
|
|
1046
1046
|
const _c1$m = function () { return ["."]; };
|
|
1047
1047
|
const _c2$3 = function (a0) { return { "tabs-toggle-selected": a0 }; };
|
|
1048
1048
|
function TabsComponent_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -1087,7 +1087,7 @@ TabsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [
|
|
|
1087
1087
|
let _t;
|
|
1088
1088
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panels = _t);
|
|
1089
1089
|
} }, viewQuery: function TabsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1090
|
-
i0.ɵɵviewQuery(_c0$
|
|
1090
|
+
i0.ɵɵviewQuery(_c0$S, 1);
|
|
1091
1091
|
} if (rf & 2) {
|
|
1092
1092
|
let _t;
|
|
1093
1093
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
@@ -1152,7 +1152,7 @@ TabsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
1152
1152
|
}]
|
|
1153
1153
|
}], null, null); })();
|
|
1154
1154
|
|
|
1155
|
-
const _c0$
|
|
1155
|
+
const _c0$R = function (a0, a1) { return { caseLocked: a0, someoneViewing: a1 }; };
|
|
1156
1156
|
class ActivityBannerComponent {
|
|
1157
1157
|
constructor() { }
|
|
1158
1158
|
ngOnInit() {
|
|
@@ -1169,7 +1169,7 @@ ActivityBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ActivityBannerCom
|
|
|
1169
1169
|
i0.ɵɵelementEnd();
|
|
1170
1170
|
i0.ɵɵelementEnd();
|
|
1171
1171
|
} if (rf & 2) {
|
|
1172
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$
|
|
1172
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c0$R, ctx.bannerType === "editor", ctx.bannerType === "viewer"));
|
|
1173
1173
|
i0.ɵɵadvance(2);
|
|
1174
1174
|
i0.ɵɵpropertyInterpolate("alt", ctx.description);
|
|
1175
1175
|
i0.ɵɵpropertyInterpolate("src", ctx.imageLink, i0.ɵɵsanitizeUrl);
|
|
@@ -2820,9 +2820,12 @@ class CaseField {
|
|
|
2820
2820
|
this._list_items = [];
|
|
2821
2821
|
}
|
|
2822
2822
|
get value() {
|
|
2823
|
-
if (this.
|
|
2823
|
+
if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
|
|
2824
2824
|
return this._value && this._value.value ? this._value.value.code : this._value;
|
|
2825
2825
|
}
|
|
2826
|
+
else if (this.field_type && this.field_type.type === 'DynamicMultiSelectList') {
|
|
2827
|
+
return this._value && this._value.value ? this._value.value : this._value;
|
|
2828
|
+
}
|
|
2826
2829
|
else {
|
|
2827
2830
|
return this._value;
|
|
2828
2831
|
}
|
|
@@ -2896,7 +2899,7 @@ class CaseField {
|
|
|
2896
2899
|
return this.field_type && this.field_type.type === 'Complex';
|
|
2897
2900
|
}
|
|
2898
2901
|
isDynamic() {
|
|
2899
|
-
const dynamicFieldTypes = ['DynamicList', 'DynamicRadioList'];
|
|
2902
|
+
const dynamicFieldTypes = ['DynamicList', 'DynamicRadioList', 'DynamicMultiSelectList'];
|
|
2900
2903
|
if (!this.field_type) {
|
|
2901
2904
|
return false;
|
|
2902
2905
|
}
|
|
@@ -4759,6 +4762,9 @@ class FieldTypeSanitiser {
|
|
|
4759
4762
|
}
|
|
4760
4763
|
caseFields.forEach(caseField => {
|
|
4761
4764
|
switch (caseField.field_type.type) {
|
|
4765
|
+
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST:
|
|
4766
|
+
this.convertArrayToDynamicListOutput(caseField, data);
|
|
4767
|
+
break;
|
|
4762
4768
|
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST:
|
|
4763
4769
|
case FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST:
|
|
4764
4770
|
this.convertStringToDynamicListOutput(caseField, data);
|
|
@@ -4776,6 +4782,17 @@ class FieldTypeSanitiser {
|
|
|
4776
4782
|
}
|
|
4777
4783
|
});
|
|
4778
4784
|
}
|
|
4785
|
+
convertArrayToDynamicListOutput(field, data) {
|
|
4786
|
+
const values = data[field.id];
|
|
4787
|
+
if (Array.isArray(values)) {
|
|
4788
|
+
const listItems = this.getListItems(field);
|
|
4789
|
+
const matches = listItems.filter(item => values.map(v => v.code).indexOf(item.code) !== -1);
|
|
4790
|
+
data[field.id] = {
|
|
4791
|
+
value: matches,
|
|
4792
|
+
list_items: listItems
|
|
4793
|
+
};
|
|
4794
|
+
}
|
|
4795
|
+
}
|
|
4779
4796
|
convertStringToDynamicListOutput(field, data) {
|
|
4780
4797
|
const stringValue = data[field.id];
|
|
4781
4798
|
if (typeof stringValue === 'string') {
|
|
@@ -4805,6 +4822,7 @@ FieldTypeSanitiser.FIELD_TYPE_COMPLEX = 'Complex';
|
|
|
4805
4822
|
FieldTypeSanitiser.FIELD_TYPE_COLLECTION = 'Collection';
|
|
4806
4823
|
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_LIST = 'DynamicList';
|
|
4807
4824
|
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_RADIO_LIST = 'DynamicRadioList';
|
|
4825
|
+
FieldTypeSanitiser.FIELD_TYPE_DYNAMIC_MULTISELECT_LIST = 'DynamicMultiSelectList';
|
|
4808
4826
|
FieldTypeSanitiser.ɵfac = function FieldTypeSanitiser_Factory(t) { return new (t || FieldTypeSanitiser)(); };
|
|
4809
4827
|
FieldTypeSanitiser.ɵprov = i0.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
|
|
4810
4828
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldTypeSanitiser, [{
|
|
@@ -10043,7 +10061,7 @@ class AddressOption {
|
|
|
10043
10061
|
}
|
|
10044
10062
|
}
|
|
10045
10063
|
|
|
10046
|
-
const _c0$
|
|
10064
|
+
const _c0$Q = ["writeComplexFieldComponent"];
|
|
10047
10065
|
function WriteAddressFieldComponent_div_1_div_4_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
10048
10066
|
i0.ɵɵelementStart(0, "span", 14);
|
|
10049
10067
|
i0.ɵɵtext(1, "Enter the Postcode");
|
|
@@ -10236,7 +10254,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
10236
10254
|
}
|
|
10237
10255
|
WriteAddressFieldComponent.ɵfac = function WriteAddressFieldComponent_Factory(t) { return new (t || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
10238
10256
|
WriteAddressFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10239
|
-
i0.ɵɵviewQuery(_c0$
|
|
10257
|
+
i0.ɵɵviewQuery(_c0$Q, 1);
|
|
10240
10258
|
i0.ɵɵviewQuery(FocusElementDirective, 1);
|
|
10241
10259
|
} if (rf & 2) {
|
|
10242
10260
|
let _t;
|
|
@@ -10810,7 +10828,7 @@ function WriteCaseFlagFieldComponent_div_1_ng_container_7_Template(rf, ctx) { if
|
|
|
10810
10828
|
i0.ɵɵadvance(1);
|
|
10811
10829
|
i0.ɵɵproperty("formGroup", ctx_r10.caseFlagParentFormGroup)("optional", ctx_r10.flagCommentsOptional);
|
|
10812
10830
|
} }
|
|
10813
|
-
const _c0$
|
|
10831
|
+
const _c0$P = function (a0) { return { "form-group-error": a0 }; };
|
|
10814
10832
|
function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
10815
10833
|
i0.ɵɵelementStart(0, "div", 8);
|
|
10816
10834
|
i0.ɵɵelementStart(1, "div", 9);
|
|
@@ -10829,7 +10847,7 @@ function WriteCaseFlagFieldComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
10829
10847
|
i0.ɵɵadvance(1);
|
|
10830
10848
|
i0.ɵɵproperty("ngSwitch", ctx_r1.fieldState);
|
|
10831
10849
|
i0.ɵɵadvance(1);
|
|
10832
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
10850
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$P, ctx_r1.errorMessages.length > 0));
|
|
10833
10851
|
i0.ɵɵadvance(1);
|
|
10834
10852
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.createFlagCaption, " ");
|
|
10835
10853
|
i0.ɵɵadvance(1);
|
|
@@ -11225,7 +11243,7 @@ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInherit
|
|
|
11225
11243
|
}]
|
|
11226
11244
|
}], null, null); })();
|
|
11227
11245
|
|
|
11228
|
-
const _c0$
|
|
11246
|
+
const _c0$O = ["writeComplexFieldComponent"];
|
|
11229
11247
|
function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
11230
11248
|
i0.ɵɵelementStart(0, "span", 6);
|
|
11231
11249
|
i0.ɵɵtext(1);
|
|
@@ -11303,7 +11321,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11303
11321
|
}
|
|
11304
11322
|
WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
|
|
11305
11323
|
WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11306
|
-
i0.ɵɵviewQuery(_c0$
|
|
11324
|
+
i0.ɵɵviewQuery(_c0$O, 1);
|
|
11307
11325
|
} if (rf & 2) {
|
|
11308
11326
|
let _t;
|
|
11309
11327
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
|
|
@@ -11341,7 +11359,7 @@ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheri
|
|
|
11341
11359
|
args: ['writeComplexFieldComponent']
|
|
11342
11360
|
}] }); })();
|
|
11343
11361
|
|
|
11344
|
-
const _c0$
|
|
11362
|
+
const _c0$N = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
|
|
11345
11363
|
function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
|
|
11346
11364
|
i0.ɵɵelementStart(0, "tbody");
|
|
11347
11365
|
i0.ɵɵelementStart(1, "tr");
|
|
@@ -11354,7 +11372,7 @@ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf
|
|
|
11354
11372
|
} if (rf & 2) {
|
|
11355
11373
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
11356
11374
|
i0.ɵɵadvance(4);
|
|
11357
|
-
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$
|
|
11375
|
+
i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0$N, 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);
|
|
11358
11376
|
} }
|
|
11359
11377
|
const _c1$j = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
|
|
11360
11378
|
function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -11482,7 +11500,7 @@ RemoveDialogComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RemoveDialogCompone
|
|
|
11482
11500
|
}]
|
|
11483
11501
|
}], function () { return [{ type: i1$3.MatDialogRef }]; }, null); })();
|
|
11484
11502
|
|
|
11485
|
-
const _c0$
|
|
11503
|
+
const _c0$M = ["collectionItem"];
|
|
11486
11504
|
function WriteCollectionFieldComponent_h2_7_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
11487
11505
|
i0.ɵɵelementStart(0, "span", 9);
|
|
11488
11506
|
i0.ɵɵtext(1);
|
|
@@ -11689,7 +11707,12 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11689
11707
|
addItem(doScroll) {
|
|
11690
11708
|
// Manually resetting errors is required to prevent `ExpressionChangedAfterItHasBeenCheckedError`
|
|
11691
11709
|
this.formArray.setErrors(null);
|
|
11692
|
-
|
|
11710
|
+
let item = { value: null };
|
|
11711
|
+
if (this.isCollectionDynamic()) {
|
|
11712
|
+
item = Object.assign({}, this.caseField.value[this.caseField.value.length - 1]);
|
|
11713
|
+
const key = Number(item['id'][item['id'].length - 1]) + 1;
|
|
11714
|
+
item.id = item['id'].replace(/.$/, key.toString());
|
|
11715
|
+
}
|
|
11693
11716
|
this.caseField.value.push(item);
|
|
11694
11717
|
const index = this.caseField.value.length - 1;
|
|
11695
11718
|
const caseField = this.buildCaseField(item, index, true);
|
|
@@ -11712,6 +11735,12 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11712
11735
|
setTimeout(() => this.focusLastItem());
|
|
11713
11736
|
}
|
|
11714
11737
|
}
|
|
11738
|
+
isCollectionDynamic() {
|
|
11739
|
+
if (!this.caseField.field_type || !this.caseField.field_type.collection_field_type) {
|
|
11740
|
+
return false;
|
|
11741
|
+
}
|
|
11742
|
+
return this.caseField.field_type.collection_field_type.id === 'DynamicRadioList';
|
|
11743
|
+
}
|
|
11715
11744
|
newCaseField(id, item, index, isNew = false) {
|
|
11716
11745
|
const isNotAuthorisedToUpdate = !isNew && this.isNotAuthorisedToUpdate(index);
|
|
11717
11746
|
const fieldType = plainToClassFromExist(new FieldType(), this.caseField.field_type.collection_field_type);
|
|
@@ -11856,7 +11885,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
11856
11885
|
}
|
|
11857
11886
|
WriteCollectionFieldComponent.ɵfac = function WriteCollectionFieldComponent_Factory(t) { return new (t || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(i2$1.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier)); };
|
|
11858
11887
|
WriteCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
11859
|
-
i0.ɵɵviewQuery(_c0$
|
|
11888
|
+
i0.ɵɵviewQuery(_c0$M, 1);
|
|
11860
11889
|
} if (rf & 2) {
|
|
11861
11890
|
let _t;
|
|
11862
11891
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.items = _t);
|
|
@@ -12176,7 +12205,7 @@ FileUploadStateService.ɵprov = i0.ɵɵdefineInjectable({ token: FileUploadState
|
|
|
12176
12205
|
type: Injectable
|
|
12177
12206
|
}], null, null); })();
|
|
12178
12207
|
|
|
12179
|
-
const _c0$
|
|
12208
|
+
const _c0$L = ["fileInput"];
|
|
12180
12209
|
function WriteDocumentFieldComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
12181
12210
|
i0.ɵɵelementStart(0, "span", 12);
|
|
12182
12211
|
i0.ɵɵtext(1);
|
|
@@ -12454,7 +12483,7 @@ WriteDocumentFieldComponent.UPLOAD_ERROR_NOT_AVAILABLE = 'Document upload facili
|
|
|
12454
12483
|
WriteDocumentFieldComponent.UPLOAD_WAITING_FILE_STATUS = 'Uploading...';
|
|
12455
12484
|
WriteDocumentFieldComponent.ɵfac = function WriteDocumentFieldComponent_Factory(t) { return new (t || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(FileUploadStateService)); };
|
|
12456
12485
|
WriteDocumentFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12457
|
-
i0.ɵɵviewQuery(_c0$
|
|
12486
|
+
i0.ɵɵviewQuery(_c0$L, 1);
|
|
12458
12487
|
} if (rf & 2) {
|
|
12459
12488
|
let _t;
|
|
12460
12489
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
@@ -12616,7 +12645,7 @@ function WriteDynamicListFieldComponent_option_9_Template(rf, ctx) { if (rf & 1)
|
|
|
12616
12645
|
i0.ɵɵadvance(1);
|
|
12617
12646
|
i0.ɵɵtextInterpolate(type_r5.label);
|
|
12618
12647
|
} }
|
|
12619
|
-
const _c0$
|
|
12648
|
+
const _c0$K = function (a0) { return { "form-group-error": a0 }; };
|
|
12620
12649
|
class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
12621
12650
|
ngOnInit() {
|
|
12622
12651
|
/**
|
|
@@ -12658,7 +12687,7 @@ WriteDynamicListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynam
|
|
|
12658
12687
|
i0.ɵɵelementEnd();
|
|
12659
12688
|
i0.ɵɵelementEnd();
|
|
12660
12689
|
} if (rf & 2) {
|
|
12661
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$
|
|
12690
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$K, !ctx.dynamicListFormControl.valid && (ctx.dynamicListFormControl.dirty || ctx.dynamicListFormControl.touched)));
|
|
12662
12691
|
i0.ɵɵadvance(1);
|
|
12663
12692
|
i0.ɵɵproperty("for", ctx.id());
|
|
12664
12693
|
i0.ɵɵadvance(1);
|
|
@@ -12779,7 +12808,7 @@ function WriteDynamicRadioListFieldComponent_span_7_Template(rf, ctx) { if (rf &
|
|
|
12779
12808
|
i0.ɵɵadvance(1);
|
|
12780
12809
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r3.dynamicRadioListControl.errors));
|
|
12781
12810
|
} }
|
|
12782
|
-
const _c0$
|
|
12811
|
+
const _c0$J = function (a0) { return { selected: a0 }; };
|
|
12783
12812
|
function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
12784
12813
|
i0.ɵɵelementStart(0, "div", 10);
|
|
12785
12814
|
i0.ɵɵelement(1, "input", 11);
|
|
@@ -12790,12 +12819,11 @@ function WriteDynamicRadioListFieldComponent_div_9_Template(rf, ctx) { if (rf &
|
|
|
12790
12819
|
} if (rf & 2) {
|
|
12791
12820
|
const radioButton_r5 = ctx.$implicit;
|
|
12792
12821
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
12793
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
12822
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$J, ctx_r4.dynamicRadioListControl.value === radioButton_r5.code));
|
|
12794
12823
|
i0.ɵɵadvance(1);
|
|
12795
|
-
i0.ɵɵ
|
|
12796
|
-
i0.ɵɵproperty("id", ctx_r4.buildElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
12824
|
+
i0.ɵɵproperty("id", ctx_r4.createElementId(radioButton_r5.code))("name", ctx_r4.createElementId(radioButton_r5.code))("formControl", ctx_r4.dynamicRadioListControl)("value", radioButton_r5.code);
|
|
12797
12825
|
i0.ɵɵadvance(1);
|
|
12798
|
-
i0.ɵɵproperty("for", ctx_r4.
|
|
12826
|
+
i0.ɵɵproperty("for", ctx_r4.createElementId(radioButton_r5.code));
|
|
12799
12827
|
i0.ɵɵadvance(1);
|
|
12800
12828
|
i0.ɵɵtextInterpolate(radioButton_r5.label);
|
|
12801
12829
|
} }
|
|
@@ -12819,8 +12847,8 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12819
12847
|
this.dynamicRadioListControl = this.registerControl(new FormControl(this.caseField.value));
|
|
12820
12848
|
this.dynamicRadioListControl.setValue(this.caseField.value);
|
|
12821
12849
|
}
|
|
12822
|
-
|
|
12823
|
-
return
|
|
12850
|
+
createElementId(name) {
|
|
12851
|
+
return this.parent && this.parent.value ? this.parent.value.id + this.parent.value.value : super.createElementId(name);
|
|
12824
12852
|
}
|
|
12825
12853
|
}
|
|
12826
12854
|
WriteDynamicRadioListFieldComponent.ɵfac = function WriteDynamicRadioListFieldComponent_Factory(t) { return ɵWriteDynamicRadioListFieldComponent_BaseFactory(t || WriteDynamicRadioListFieldComponent); };
|
|
@@ -12924,7 +12952,7 @@ function WriteEmailFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
12924
12952
|
i0.ɵɵadvance(1);
|
|
12925
12953
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.emailControl.errors, ctx_r2.caseField.label));
|
|
12926
12954
|
} }
|
|
12927
|
-
const _c0$
|
|
12955
|
+
const _c0$I = function (a0) { return { "form-group-error": a0 }; };
|
|
12928
12956
|
const _c1$g = function (a0) { return { "govuk-input--error": a0 }; };
|
|
12929
12957
|
class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
12930
12958
|
ngOnInit() {
|
|
@@ -12942,7 +12970,7 @@ WriteEmailFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteEmailFieldC
|
|
|
12942
12970
|
i0.ɵɵelement(5, "input", 5);
|
|
12943
12971
|
i0.ɵɵelementEnd();
|
|
12944
12972
|
} if (rf & 2) {
|
|
12945
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
12973
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$I, !ctx.emailControl.valid && (ctx.emailControl.dirty || ctx.emailControl.touched)));
|
|
12946
12974
|
i0.ɵɵadvance(1);
|
|
12947
12975
|
i0.ɵɵproperty("for", ctx.id());
|
|
12948
12976
|
i0.ɵɵadvance(1);
|
|
@@ -13044,7 +13072,7 @@ function WriteFixedListFieldComponent_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
13044
13072
|
i0.ɵɵadvance(1);
|
|
13045
13073
|
i0.ɵɵtextInterpolate(type_r4.label);
|
|
13046
13074
|
} }
|
|
13047
|
-
const _c0$
|
|
13075
|
+
const _c0$H = function (a0) { return { "form-group-error": a0 }; };
|
|
13048
13076
|
class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
13049
13077
|
get listItems() {
|
|
13050
13078
|
if (this.caseField) {
|
|
@@ -13082,7 +13110,7 @@ WriteFixedListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteFixedLi
|
|
|
13082
13110
|
i0.ɵɵelementEnd();
|
|
13083
13111
|
i0.ɵɵelementEnd();
|
|
13084
13112
|
} if (rf & 2) {
|
|
13085
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
13113
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$H, !ctx.fixedListFormControl.valid && (ctx.fixedListFormControl.dirty || ctx.fixedListFormControl.touched)));
|
|
13086
13114
|
i0.ɵɵadvance(1);
|
|
13087
13115
|
i0.ɵɵproperty("for", ctx.id());
|
|
13088
13116
|
i0.ɵɵadvance(1);
|
|
@@ -13173,7 +13201,7 @@ function WriteFixedRadioListFieldComponent_span_6_Template(rf, ctx) { if (rf & 1
|
|
|
13173
13201
|
i0.ɵɵadvance(1);
|
|
13174
13202
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.fixedRadioListControl.errors, ctx_r2.caseField.label));
|
|
13175
13203
|
} }
|
|
13176
|
-
const _c0$
|
|
13204
|
+
const _c0$G = function (a0) { return { selected: a0 }; };
|
|
13177
13205
|
function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
13178
13206
|
i0.ɵɵelementStart(0, "div", 9);
|
|
13179
13207
|
i0.ɵɵelement(1, "input", 10);
|
|
@@ -13184,7 +13212,7 @@ function WriteFixedRadioListFieldComponent_div_8_Template(rf, ctx) { if (rf & 1)
|
|
|
13184
13212
|
} if (rf & 2) {
|
|
13185
13213
|
const radioButton_r4 = ctx.$implicit;
|
|
13186
13214
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
13187
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
13215
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$G, ctx_r3.fixedRadioListControl.value === radioButton_r4.code));
|
|
13188
13216
|
i0.ɵɵadvance(1);
|
|
13189
13217
|
i0.ɵɵproperty("id", ctx_r3.id() + "-" + radioButton_r4.code)("name", ctx_r3.id())("formControl", ctx_r3.fixedRadioListControl)("value", radioButton_r4.code);
|
|
13190
13218
|
i0.ɵɵadvance(1);
|
|
@@ -13315,7 +13343,7 @@ function WriteJudicialUserFieldComponent_span_3_Template(rf, ctx) { if (rf & 1)
|
|
|
13315
13343
|
i0.ɵɵadvance(1);
|
|
13316
13344
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.caseField.hint_text, " ");
|
|
13317
13345
|
} }
|
|
13318
|
-
const _c0$
|
|
13346
|
+
const _c0$F = function (a0) { return { "hide-autocomplete": a0 }; };
|
|
13319
13347
|
function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf & 1) {
|
|
13320
13348
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
13321
13349
|
i0.ɵɵelementStart(0, "mat-option", 11);
|
|
@@ -13325,7 +13353,7 @@ function WriteJudicialUserFieldComponent_mat_option_7_Template(rf, ctx) { if (rf
|
|
|
13325
13353
|
} if (rf & 2) {
|
|
13326
13354
|
const judicialUser_r5 = ctx.$implicit;
|
|
13327
13355
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
13328
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$
|
|
13356
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$F, !ctx_r3.showAutocomplete))("value", judicialUser_r5.idamId);
|
|
13329
13357
|
i0.ɵɵadvance(1);
|
|
13330
13358
|
i0.ɵɵtextInterpolate2(" ", judicialUser_r5.fullName, " (", judicialUser_r5.emailId, ") ");
|
|
13331
13359
|
} }
|
|
@@ -13633,7 +13661,7 @@ function WriteMoneyGbpFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13633
13661
|
i0.ɵɵadvance(1);
|
|
13634
13662
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.moneyGbpControl.errors, ctx_r2.caseField.label));
|
|
13635
13663
|
} }
|
|
13636
|
-
const _c0$
|
|
13664
|
+
const _c0$E = function (a0) { return { "form-group-error": a0 }; };
|
|
13637
13665
|
class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
13638
13666
|
ngOnInit() {
|
|
13639
13667
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
@@ -13656,7 +13684,7 @@ WriteMoneyGbpFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteMoneyGbp
|
|
|
13656
13684
|
i0.ɵɵelementEnd();
|
|
13657
13685
|
i0.ɵɵelementEnd();
|
|
13658
13686
|
} if (rf & 2) {
|
|
13659
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
13687
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$E, !ctx.moneyGbpControl.valid && (ctx.moneyGbpControl.dirty || ctx.moneyGbpControl.touched)));
|
|
13660
13688
|
i0.ɵɵadvance(1);
|
|
13661
13689
|
i0.ɵɵproperty("for", ctx.id());
|
|
13662
13690
|
i0.ɵɵadvance(1);
|
|
@@ -13773,7 +13801,7 @@ function WriteMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { i
|
|
|
13773
13801
|
i0.ɵɵadvance(1);
|
|
13774
13802
|
i0.ɵɵtextInterpolate(checkbox_r4.label);
|
|
13775
13803
|
} }
|
|
13776
|
-
const _c0$
|
|
13804
|
+
const _c0$D = function (a0) { return { "error": a0 }; };
|
|
13777
13805
|
class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
13778
13806
|
ngOnInit() {
|
|
13779
13807
|
this.checkboxes = new FormArray([]);
|
|
@@ -13828,7 +13856,7 @@ WriteMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteM
|
|
|
13828
13856
|
i0.ɵɵelementEnd();
|
|
13829
13857
|
i0.ɵɵelementEnd();
|
|
13830
13858
|
} if (rf & 2) {
|
|
13831
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$
|
|
13859
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$D, !ctx.checkboxes.valid && (ctx.checkboxes.dirty || ctx.checkboxes.touched)))("id", ctx.id());
|
|
13832
13860
|
i0.ɵɵadvance(3);
|
|
13833
13861
|
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
13834
13862
|
i0.ɵɵadvance(1);
|
|
@@ -13897,7 +13925,7 @@ function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
13897
13925
|
i0.ɵɵadvance(1);
|
|
13898
13926
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
13899
13927
|
} }
|
|
13900
|
-
const _c0$
|
|
13928
|
+
const _c0$C = function (a0) { return { "form-group-error": a0 }; };
|
|
13901
13929
|
const _c1$e = function (a0) { return { "govuk-input--error": a0 }; };
|
|
13902
13930
|
class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
13903
13931
|
ngOnInit() {
|
|
@@ -13915,7 +13943,7 @@ WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFiel
|
|
|
13915
13943
|
i0.ɵɵelement(5, "input", 5);
|
|
13916
13944
|
i0.ɵɵelementEnd();
|
|
13917
13945
|
} if (rf & 2) {
|
|
13918
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$
|
|
13946
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$C, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
13919
13947
|
i0.ɵɵadvance(1);
|
|
13920
13948
|
i0.ɵɵproperty("for", ctx.id());
|
|
13921
13949
|
i0.ɵɵadvance(1);
|
|
@@ -14165,7 +14193,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_div_4_Template(rf, ct
|
|
|
14165
14193
|
i0.ɵɵelementEnd();
|
|
14166
14194
|
i0.ɵɵelementEnd();
|
|
14167
14195
|
} }
|
|
14168
|
-
const _c0$
|
|
14196
|
+
const _c0$B = function (a0) { return { "scroll-container ": a0 }; };
|
|
14169
14197
|
function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
14170
14198
|
i0.ɵɵelementStart(0, "div", 26);
|
|
14171
14199
|
i0.ɵɵpipe(1, "async");
|
|
@@ -14179,7 +14207,7 @@ function WriteOrganisationFieldComponent_fieldset_3_div_14_Template(rf, ctx) { i
|
|
|
14179
14207
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
14180
14208
|
let tmp_0_0 = null;
|
|
14181
14209
|
let tmp_2_0 = null;
|
|
14182
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
14210
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$B, ((tmp_0_0 = i0.ɵɵpipeBind1(1, 3, ctx_r2.simpleOrganisations$)) == null ? null : tmp_0_0.length) > 10));
|
|
14183
14211
|
i0.ɵɵadvance(2);
|
|
14184
14212
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(3, 5, ctx_r2.simpleOrganisations$));
|
|
14185
14213
|
i0.ɵɵadvance(2);
|
|
@@ -14529,6 +14557,194 @@ CasePaymentHistoryViewerFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: Ca
|
|
|
14529
14557
|
}]
|
|
14530
14558
|
}], function () { return [{ type: AbstractAppConfig }, { type: SessionStorageService }]; }, null); })();
|
|
14531
14559
|
|
|
14560
|
+
function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14561
|
+
i0.ɵɵelementStart(0, "div");
|
|
14562
|
+
i0.ɵɵtext(1);
|
|
14563
|
+
i0.ɵɵpipe(2, "ccdFixedList");
|
|
14564
|
+
i0.ɵɵelementEnd();
|
|
14565
|
+
} if (rf & 2) {
|
|
14566
|
+
const value_r1 = ctx.$implicit;
|
|
14567
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
14568
|
+
i0.ɵɵadvance(1);
|
|
14569
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items), "\n");
|
|
14570
|
+
} }
|
|
14571
|
+
class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
14572
|
+
ngOnInit() {
|
|
14573
|
+
/**
|
|
14574
|
+
*
|
|
14575
|
+
* Reassigning list_items from formatted_list when list_items is empty
|
|
14576
|
+
*/
|
|
14577
|
+
if (!this.caseField.list_items && this.caseField.formatted_value && this.caseField.formatted_value.list_items) {
|
|
14578
|
+
this.caseField.list_items = this.caseField.formatted_value.list_items;
|
|
14579
|
+
}
|
|
14580
|
+
if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
|
|
14581
|
+
this.caseField.value = this.caseField.formatted_value.value;
|
|
14582
|
+
}
|
|
14583
|
+
super.ngOnInit();
|
|
14584
|
+
}
|
|
14585
|
+
}
|
|
14586
|
+
ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
|
|
14587
|
+
ReadDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadDynamicMultiSelectListFieldComponent, selectors: [["ccd-read-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14588
|
+
i0.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
|
|
14589
|
+
} if (rf & 2) {
|
|
14590
|
+
i0.ɵɵproperty("ngForOf", ctx.caseField.value);
|
|
14591
|
+
} }, directives: [i1.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}"] });
|
|
14592
|
+
const ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
|
|
14593
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
|
|
14594
|
+
type: Component,
|
|
14595
|
+
args: [{
|
|
14596
|
+
selector: 'ccd-read-dynamic-multi-select-list-field',
|
|
14597
|
+
templateUrl: './read-dynamic-multi-select-list-field.html',
|
|
14598
|
+
styleUrls: ['./read-dynamic-multi-select-list-field.component.scss']
|
|
14599
|
+
}]
|
|
14600
|
+
}], null, null); })();
|
|
14601
|
+
|
|
14602
|
+
function WriteDynamicMultiSelectListFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
14603
|
+
i0.ɵɵelementStart(0, "span", 5);
|
|
14604
|
+
i0.ɵɵtext(1);
|
|
14605
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
14606
|
+
i0.ɵɵelementEnd();
|
|
14607
|
+
} if (rf & 2) {
|
|
14608
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
14609
|
+
i0.ɵɵadvance(1);
|
|
14610
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
14611
|
+
} }
|
|
14612
|
+
function WriteDynamicMultiSelectListFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
14613
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
14614
|
+
i0.ɵɵtext(1);
|
|
14615
|
+
i0.ɵɵelementEnd();
|
|
14616
|
+
} if (rf & 2) {
|
|
14617
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
14618
|
+
i0.ɵɵadvance(1);
|
|
14619
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
14620
|
+
} }
|
|
14621
|
+
function WriteDynamicMultiSelectListFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
14622
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
14623
|
+
i0.ɵɵtext(1);
|
|
14624
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
14625
|
+
i0.ɵɵelementEnd();
|
|
14626
|
+
} if (rf & 2) {
|
|
14627
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
14628
|
+
i0.ɵɵadvance(1);
|
|
14629
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r2.checkboxes.errors));
|
|
14630
|
+
} }
|
|
14631
|
+
function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
14632
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
14633
|
+
i0.ɵɵelementContainerStart(0);
|
|
14634
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
14635
|
+
i0.ɵɵelementStart(2, "input", 9);
|
|
14636
|
+
i0.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onCheckChange($event); });
|
|
14637
|
+
i0.ɵɵelementEnd();
|
|
14638
|
+
i0.ɵɵelementStart(3, "label", 10);
|
|
14639
|
+
i0.ɵɵtext(4);
|
|
14640
|
+
i0.ɵɵelementEnd();
|
|
14641
|
+
i0.ɵɵelementEnd();
|
|
14642
|
+
i0.ɵɵelementContainerEnd();
|
|
14643
|
+
} if (rf & 2) {
|
|
14644
|
+
const checkbox_r4 = ctx.$implicit;
|
|
14645
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
14646
|
+
i0.ɵɵadvance(2);
|
|
14647
|
+
i0.ɵɵpropertyInterpolate("id", ctx_r3.createElementId(checkbox_r4.code));
|
|
14648
|
+
i0.ɵɵpropertyInterpolate("name", ctx_r3.id());
|
|
14649
|
+
i0.ɵɵproperty("value", checkbox_r4.code)("checked", ctx_r3.isSelected(checkbox_r4.code));
|
|
14650
|
+
i0.ɵɵadvance(1);
|
|
14651
|
+
i0.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
|
|
14652
|
+
i0.ɵɵadvance(1);
|
|
14653
|
+
i0.ɵɵtextInterpolate(checkbox_r4.label);
|
|
14654
|
+
} }
|
|
14655
|
+
const _c0$A = function (a0) { return { "error": a0 }; };
|
|
14656
|
+
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
14657
|
+
ngOnInit() {
|
|
14658
|
+
this.checkboxes = new FormArray([]);
|
|
14659
|
+
this.setInitialCaseList();
|
|
14660
|
+
this.setInitialCaseFieldValue();
|
|
14661
|
+
// Initialise array with existing values
|
|
14662
|
+
if (this.caseField.value && Array.isArray(this.caseField.value)) {
|
|
14663
|
+
const values = this.caseField.value;
|
|
14664
|
+
values.forEach(value => {
|
|
14665
|
+
this.checkboxes.push(new FormControl(value));
|
|
14666
|
+
});
|
|
14667
|
+
}
|
|
14668
|
+
this.dynamicListFormControl = this.registerControl(new FormControl(this.checkboxes.value));
|
|
14669
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
14670
|
+
}
|
|
14671
|
+
onCheckChange(event) {
|
|
14672
|
+
const target = event.target;
|
|
14673
|
+
if (!target || !target.value) {
|
|
14674
|
+
return;
|
|
14675
|
+
}
|
|
14676
|
+
const selectedListItem = this.getValueListItem(target.value);
|
|
14677
|
+
if (!this.isSelected(target.value)) {
|
|
14678
|
+
// Add a new control in the FormArray
|
|
14679
|
+
this.checkboxes.push(new FormControl(selectedListItem));
|
|
14680
|
+
}
|
|
14681
|
+
else {
|
|
14682
|
+
// Remove the control from the FormArray
|
|
14683
|
+
this.checkboxes.controls.forEach((ctrl, i) => {
|
|
14684
|
+
if (ctrl.value.code === target.value) {
|
|
14685
|
+
this.checkboxes.removeAt(i);
|
|
14686
|
+
}
|
|
14687
|
+
});
|
|
14688
|
+
}
|
|
14689
|
+
this.dynamicListFormControl.setValue(this.checkboxes.value);
|
|
14690
|
+
}
|
|
14691
|
+
isSelected(code) {
|
|
14692
|
+
if (this.checkboxes && this.checkboxes.controls) {
|
|
14693
|
+
return this.checkboxes.controls.find(control => control.value.code === code);
|
|
14694
|
+
}
|
|
14695
|
+
}
|
|
14696
|
+
getValueListItem(value) {
|
|
14697
|
+
return this.caseField.list_items.find(i => i.code === value);
|
|
14698
|
+
}
|
|
14699
|
+
setInitialCaseList() {
|
|
14700
|
+
const hasListItems = this.caseField.list_items && this.caseField.list_items.length > 0;
|
|
14701
|
+
const hasFormattedListItems = this.caseField.formatted_value && this.caseField.formatted_value.list_items.length > 0;
|
|
14702
|
+
if (!hasListItems && hasFormattedListItems) {
|
|
14703
|
+
this.caseField.list_items = this.caseField.formatted_value.list_items;
|
|
14704
|
+
}
|
|
14705
|
+
}
|
|
14706
|
+
setInitialCaseFieldValue() {
|
|
14707
|
+
if (!this.caseField.value && this.caseField.formatted_value && this.caseField.formatted_value.value) {
|
|
14708
|
+
this.caseField.value = this.caseField.formatted_value.value;
|
|
14709
|
+
}
|
|
14710
|
+
const isNull = this.caseField.value === undefined || this.caseField.value === '';
|
|
14711
|
+
if (isNull || !Array.isArray(this.caseField.value)) {
|
|
14712
|
+
this.caseField.value = [];
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
|
|
14717
|
+
WriteDynamicMultiSelectListFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵ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) { if (rf & 1) {
|
|
14718
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
14719
|
+
i0.ɵɵelementStart(1, "fieldset");
|
|
14720
|
+
i0.ɵɵelementStart(2, "legend");
|
|
14721
|
+
i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
14722
|
+
i0.ɵɵtemplate(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2);
|
|
14723
|
+
i0.ɵɵtemplate(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
14724
|
+
i0.ɵɵelementEnd();
|
|
14725
|
+
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 5, 6, "ng-container", 4);
|
|
14726
|
+
i0.ɵɵelementEnd();
|
|
14727
|
+
i0.ɵɵelementEnd();
|
|
14728
|
+
} if (rf & 2) {
|
|
14729
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$A, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
14730
|
+
i0.ɵɵadvance(3);
|
|
14731
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
14732
|
+
i0.ɵɵadvance(1);
|
|
14733
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
14734
|
+
i0.ɵɵadvance(1);
|
|
14735
|
+
i0.ɵɵproperty("ngIf", ctx.checkboxes.errors && ctx.checkboxes.touched);
|
|
14736
|
+
i0.ɵɵadvance(1);
|
|
14737
|
+
i0.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
14738
|
+
} }, directives: [i1.NgClass, i1.NgIf, i1.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe], encapsulation: 2 });
|
|
14739
|
+
const ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
|
|
14740
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
14741
|
+
type: Component,
|
|
14742
|
+
args: [{
|
|
14743
|
+
selector: 'ccd-write-dynamic-multi-select-list-field',
|
|
14744
|
+
templateUrl: './write-dynamic-multi-select-list-field.html'
|
|
14745
|
+
}]
|
|
14746
|
+
}], null, null); })();
|
|
14747
|
+
|
|
14532
14748
|
class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
14533
14749
|
}
|
|
14534
14750
|
ReadPhoneUKFieldComponent.ɵfac = function ReadPhoneUKFieldComponent_Factory(t) { return ɵReadPhoneUKFieldComponent_BaseFactory(t || ReadPhoneUKFieldComponent); };
|
|
@@ -15054,6 +15270,8 @@ class PaletteService {
|
|
|
15054
15270
|
return write ? WriteFixedListFieldComponent : ReadFixedListFieldComponent;
|
|
15055
15271
|
case 'DynamicRadioList':
|
|
15056
15272
|
return write ? WriteDynamicRadioListFieldComponent : ReadDynamicRadioListFieldComponent;
|
|
15273
|
+
case 'DynamicMultiSelectList':
|
|
15274
|
+
return write ? WriteDynamicMultiSelectListFieldComponent : ReadDynamicMultiSelectListFieldComponent;
|
|
15057
15275
|
case 'FixedRadioList':
|
|
15058
15276
|
return write ? WriteFixedRadioListFieldComponent : ReadFixedRadioListFieldComponent;
|
|
15059
15277
|
case 'Complex':
|
|
@@ -15111,7 +15329,7 @@ PaletteService.ɵprov = i0.ɵɵdefineInjectable({ token: PaletteService, factory
|
|
|
15111
15329
|
}], null, null); })();
|
|
15112
15330
|
|
|
15113
15331
|
const _c0$v = ["fieldContainer"];
|
|
15114
|
-
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList'];
|
|
15332
|
+
const FIX_CASEFIELD_FOR$1 = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
15115
15333
|
class FieldReadComponent extends AbstractFieldReadComponent {
|
|
15116
15334
|
constructor(resolver, paletteService) {
|
|
15117
15335
|
super();
|
|
@@ -15189,7 +15407,7 @@ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, se
|
|
|
15189
15407
|
}] }); })();
|
|
15190
15408
|
|
|
15191
15409
|
const _c0$u = ["fieldContainer"];
|
|
15192
|
-
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
|
|
15410
|
+
const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList', 'DynamicMultiSelectList'];
|
|
15193
15411
|
class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
15194
15412
|
constructor(resolver, paletteService) {
|
|
15195
15413
|
super();
|
|
@@ -15486,7 +15704,7 @@ CaseFileViewFolderSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseF
|
|
|
15486
15704
|
i0.ɵɵtextInterpolate1("Where do you want to move \"", ctx.data.document.document_filename, "\" file?");
|
|
15487
15705
|
i0.ɵɵadvance(2);
|
|
15488
15706
|
i0.ɵɵproperty("ngForOf", ctx.currentCategories);
|
|
15489
|
-
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
|
|
15707
|
+
} }, directives: [i1.NgForOf, i1.NgTemplateOutlet], styles: [":host{position:relative;display:block}.folders{margin-bottom:20px}.folder{display:none;border-top:1px solid #ccc;margin:0 0 -1px}.folder,.folder:last-child{border-bottom:1px solid #ccc}.folders>.folder,input:checked~.folder{display:block}.iconImg{position:relative;display:inline-block;height:28px}.folder>.folder{margin-left:20px}.folder label:before{top:3px}.folder label:after{top:13px}p{font-weight:700}button{margin-right:20px}.close{float:right;width:30px;height:30px;background:url(/assets/img/x.PNG) no-repeat 50%}.cancel,.close{cursor:pointer}.cdk-overlay-pane{overflow:auto}.cdk-overlay-pane::-webkit-scrollbar{width:7px}.cdk-overlay-pane::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.cdk-overlay-pane::-webkit-scrollbar-button{display:none}.cdk-overlay-pane::-webkit-scrollbar-track-piece{background:#eee}.cdk-overlay-pane::-webkit-scrollbar-thumb{background:#ccc}"], encapsulation: 2 });
|
|
15490
15708
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderSelectorComponent, [{
|
|
15491
15709
|
type: Component,
|
|
15492
15710
|
args: [{
|
|
@@ -19392,6 +19610,9 @@ const PALETTE_COMPONENTS = [
|
|
|
19392
19610
|
WriteDocumentFieldComponent,
|
|
19393
19611
|
WriteDynamicListFieldComponent,
|
|
19394
19612
|
WriteDynamicRadioListFieldComponent,
|
|
19613
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19614
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19615
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19395
19616
|
WriteTextFieldComponent,
|
|
19396
19617
|
WriteDateContainerFieldComponent,
|
|
19397
19618
|
WriteTextAreaFieldComponent,
|
|
@@ -19419,7 +19640,14 @@ const PALETTE_COMPONENTS = [
|
|
|
19419
19640
|
CaseFileViewFolderSortComponent,
|
|
19420
19641
|
CaseFileViewOverlayMenuComponent,
|
|
19421
19642
|
CaseFileViewFolderDocumentActionsComponent,
|
|
19422
|
-
CaseFileViewFolderSelectorComponent
|
|
19643
|
+
CaseFileViewFolderSelectorComponent,
|
|
19644
|
+
// component for dynamic list
|
|
19645
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19646
|
+
WriteDynamicRadioListFieldComponent,
|
|
19647
|
+
WriteDynamicListFieldComponent,
|
|
19648
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19649
|
+
ReadDynamicListFieldComponent,
|
|
19650
|
+
ReadDynamicRadioListFieldComponent
|
|
19423
19651
|
];
|
|
19424
19652
|
class PaletteModule {
|
|
19425
19653
|
}
|
|
@@ -19537,6 +19765,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19537
19765
|
WriteDocumentFieldComponent,
|
|
19538
19766
|
WriteDynamicListFieldComponent,
|
|
19539
19767
|
WriteDynamicRadioListFieldComponent,
|
|
19768
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19769
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19770
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19540
19771
|
WriteTextFieldComponent,
|
|
19541
19772
|
WriteDateContainerFieldComponent,
|
|
19542
19773
|
WriteTextAreaFieldComponent,
|
|
@@ -19564,7 +19795,14 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19564
19795
|
CaseFileViewFolderSortComponent,
|
|
19565
19796
|
CaseFileViewOverlayMenuComponent,
|
|
19566
19797
|
CaseFileViewFolderDocumentActionsComponent,
|
|
19567
|
-
CaseFileViewFolderSelectorComponent
|
|
19798
|
+
CaseFileViewFolderSelectorComponent,
|
|
19799
|
+
// component for dynamic list
|
|
19800
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19801
|
+
WriteDynamicRadioListFieldComponent,
|
|
19802
|
+
WriteDynamicListFieldComponent,
|
|
19803
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19804
|
+
ReadDynamicListFieldComponent,
|
|
19805
|
+
ReadDynamicRadioListFieldComponent], imports: [CommonModule,
|
|
19568
19806
|
RouterModule,
|
|
19569
19807
|
FormsModule,
|
|
19570
19808
|
ReactiveFormsModule,
|
|
@@ -19646,6 +19884,9 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19646
19884
|
WriteDocumentFieldComponent,
|
|
19647
19885
|
WriteDynamicListFieldComponent,
|
|
19648
19886
|
WriteDynamicRadioListFieldComponent,
|
|
19887
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19888
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19889
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19649
19890
|
WriteTextFieldComponent,
|
|
19650
19891
|
WriteDateContainerFieldComponent,
|
|
19651
19892
|
WriteTextAreaFieldComponent,
|
|
@@ -19673,7 +19914,14 @@ PaletteModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
19673
19914
|
CaseFileViewFolderSortComponent,
|
|
19674
19915
|
CaseFileViewOverlayMenuComponent,
|
|
19675
19916
|
CaseFileViewFolderDocumentActionsComponent,
|
|
19676
|
-
CaseFileViewFolderSelectorComponent
|
|
19917
|
+
CaseFileViewFolderSelectorComponent,
|
|
19918
|
+
// component for dynamic list
|
|
19919
|
+
WriteDynamicMultiSelectListFieldComponent,
|
|
19920
|
+
WriteDynamicRadioListFieldComponent,
|
|
19921
|
+
WriteDynamicListFieldComponent,
|
|
19922
|
+
ReadDynamicMultiSelectListFieldComponent,
|
|
19923
|
+
ReadDynamicListFieldComponent,
|
|
19924
|
+
ReadDynamicRadioListFieldComponent] }); })();
|
|
19677
19925
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteModule, [{
|
|
19678
19926
|
type: NgModule,
|
|
19679
19927
|
args: [{
|
|
@@ -28456,5 +28704,5 @@ class TestRouteSnapshotBuilder {
|
|
|
28456
28704
|
* Generated bundle index. Do not edit.
|
|
28457
28705
|
*/
|
|
28458
28706
|
|
|
28459
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
28707
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BodyComponent, BrowserService, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFieldReadComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HasLoadingState, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, TestRouteSnapshotBuilder, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
28460
28708
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|