@hmcts/ccd-case-ui-toolkit 6.18.0-welsh-release-v2 → 6.18.0-welsh-release-v4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +78 -83
- 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/app.config.js +1 -7
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +2 -2
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +1 -1
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +1 -1
- package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.js +2 -2
- package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +2 -2
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +7 -6
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +10 -8
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +57 -62
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +2 -2
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rpx-xui-translation'), 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('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', 'rpx-xui-translation', '@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', '
|
|
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.i1, 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
|
|
5
|
-
})(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$2, i4, i5, i3, i1$
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rpx-xui-translation'), 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('ngx-md'), 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('@hmcts/media-viewer'), require('@angular/cdk/portal'), require('ngx-pagination'), require('@angular/material/tabs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hmcts/ccd-case-ui-toolkit', ['exports', '@angular/core', '@angular/common', 'rpx-xui-translation', '@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', 'ngx-md', '@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', '@hmcts/media-viewer', '@angular/cdk/portal', 'ngx-pagination', '@angular/material/tabs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.hmcts = global.hmcts || {}, global.hmcts["ccd-case-ui-toolkit"] = {}), global.ng.core, global.ng.common, global.i1, 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["ngx-md"], 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.i12, global.ng.cdk.portal, global["ngx-pagination"], global.ng.material.tabs));
|
|
5
|
+
})(this, (function (exports, i0, i2, i1, i1$1, i2$1, polling, rxjs, i1$2, operators, classTransformer, moment, _, pegjs, util, fsm, i1$3, i2$2, i1$4, i4, i5, i3, i1$5, i7, i3$1, i4$1, momentAdapter, i5$1, i6, i12, i6$1, i1$6, i10) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
36
36
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
37
37
|
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
|
|
38
|
+
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
38
39
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
39
40
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
40
41
|
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
41
|
-
var i1__namespace$
|
|
42
|
+
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
42
43
|
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
43
44
|
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
|
|
44
45
|
var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
|
|
45
46
|
var i5__namespace$1 = /*#__PURE__*/_interopNamespace(i5$1);
|
|
46
47
|
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
47
|
-
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
48
48
|
var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
|
|
49
49
|
var i6__namespace$1 = /*#__PURE__*/_interopNamespace(i6$1);
|
|
50
50
|
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
@@ -1996,12 +1996,6 @@
|
|
|
1996
1996
|
var AbstractAppConfig = /** @class */ (function () {
|
|
1997
1997
|
function AbstractAppConfig() {
|
|
1998
1998
|
}
|
|
1999
|
-
AbstractAppConfig.prototype.getDocumentManagementUrlV2 = function () {
|
|
2000
|
-
return undefined;
|
|
2001
|
-
};
|
|
2002
|
-
AbstractAppConfig.prototype.getDocumentSecureMode = function () {
|
|
2003
|
-
return undefined;
|
|
2004
|
-
};
|
|
2005
1999
|
/**
|
|
2006
2000
|
* Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release
|
|
2007
2001
|
* @deprecated
|
|
@@ -10875,6 +10869,7 @@
|
|
|
10875
10869
|
}
|
|
10876
10870
|
_this.hasPreviousPage$.next(_this.caseEdit.hasPrevious((_b = _this.currentPage) === null || _b === void 0 ? void 0 : _b.id));
|
|
10877
10871
|
}
|
|
10872
|
+
_this.triggerText = _this.getTriggerText();
|
|
10878
10873
|
});
|
|
10879
10874
|
CaseEditPageComponent.setFocusToTop();
|
|
10880
10875
|
this.caseEditFormSub = this.caseEditDataService.caseEditForm$.subscribe({
|
|
@@ -10892,7 +10887,6 @@
|
|
|
10892
10887
|
}
|
|
10893
10888
|
}
|
|
10894
10889
|
});
|
|
10895
|
-
this.triggerText = this.getTriggerText();
|
|
10896
10890
|
};
|
|
10897
10891
|
CaseEditPageComponent.prototype.ngAfterViewChecked = function () {
|
|
10898
10892
|
this.cdRef.detectChanges();
|
|
@@ -14404,7 +14398,7 @@
|
|
|
14404
14398
|
i0__namespace.ɵɵadvance(6);
|
|
14405
14399
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 4, "Are you sure you want to replace the existing file?"));
|
|
14406
14400
|
i0__namespace.ɵɵadvance(4);
|
|
14407
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 6, "You are about to delete the original file uploaded.Are you sure you want to proceed?"));
|
|
14401
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 6, "You are about to delete the original file uploaded. Are you sure you want to proceed?"));
|
|
14408
14402
|
i0__namespace.ɵɵadvance(4);
|
|
14409
14403
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(15, 8, "Replace file"));
|
|
14410
14404
|
i0__namespace.ɵɵadvance(3);
|
|
@@ -15033,6 +15027,55 @@
|
|
|
15033
15027
|
}], null, null);
|
|
15034
15028
|
})();
|
|
15035
15029
|
|
|
15030
|
+
var MarkdownComponent = /** @class */ (function () {
|
|
15031
|
+
function MarkdownComponent() {
|
|
15032
|
+
}
|
|
15033
|
+
MarkdownComponent.prototype.ngOnInit = function () {
|
|
15034
|
+
this.content = this.content.replace(/ \n/g, '<br>');
|
|
15035
|
+
};
|
|
15036
|
+
MarkdownComponent.prototype.onMarkdownClick = function (event) {
|
|
15037
|
+
// If we don't have an anchor tag, we don't need to do anything.
|
|
15038
|
+
if (event.target instanceof HTMLAnchorElement === false) {
|
|
15039
|
+
return;
|
|
15040
|
+
}
|
|
15041
|
+
return true;
|
|
15042
|
+
};
|
|
15043
|
+
return MarkdownComponent;
|
|
15044
|
+
}());
|
|
15045
|
+
MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
|
|
15046
|
+
MarkdownComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
|
|
15047
|
+
if (rf & 1) {
|
|
15048
|
+
i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
|
|
15049
|
+
}
|
|
15050
|
+
}, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
|
|
15051
|
+
if (rf & 1) {
|
|
15052
|
+
i0__namespace.ɵɵelementStart(0, "div");
|
|
15053
|
+
i0__namespace.ɵɵelement(1, "markdown", 0);
|
|
15054
|
+
i0__namespace.ɵɵpipe(2, "ccdCaseReference");
|
|
15055
|
+
i0__namespace.ɵɵelementEnd();
|
|
15056
|
+
}
|
|
15057
|
+
if (rf & 2) {
|
|
15058
|
+
i0__namespace.ɵɵadvance(1);
|
|
15059
|
+
i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
|
|
15060
|
+
}
|
|
15061
|
+
}, directives: [i1__namespace$4.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
|
|
15062
|
+
(function () {
|
|
15063
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15064
|
+
type: i0.Component,
|
|
15065
|
+
args: [{
|
|
15066
|
+
selector: 'ccd-markdown',
|
|
15067
|
+
templateUrl: './markdown.html'
|
|
15068
|
+
}]
|
|
15069
|
+
}], function () { return []; }, { content: [{
|
|
15070
|
+
type: i0.Input
|
|
15071
|
+
}], markdownUseHrefAsRouterLink: [{
|
|
15072
|
+
type: i0.Input
|
|
15073
|
+
}], onMarkdownClick: [{
|
|
15074
|
+
type: i0.HostListener,
|
|
15075
|
+
args: ['click', ['$event']]
|
|
15076
|
+
}] });
|
|
15077
|
+
})();
|
|
15078
|
+
|
|
15036
15079
|
var FixedListPipe = /** @class */ (function () {
|
|
15037
15080
|
function FixedListPipe() {
|
|
15038
15081
|
}
|
|
@@ -15062,7 +15105,7 @@
|
|
|
15062
15105
|
function ReadDynamicMultiSelectListFieldComponent_div_0_Template(rf, ctx) {
|
|
15063
15106
|
if (rf & 1) {
|
|
15064
15107
|
i0__namespace.ɵɵelementStart(0, "div");
|
|
15065
|
-
i0__namespace.ɵɵ
|
|
15108
|
+
i0__namespace.ɵɵelement(1, "ccd-markdown", 1);
|
|
15066
15109
|
i0__namespace.ɵɵpipe(2, "ccdFixedList");
|
|
15067
15110
|
i0__namespace.ɵɵelementEnd();
|
|
15068
15111
|
}
|
|
@@ -15070,7 +15113,7 @@
|
|
|
15070
15113
|
var value_r1 = ctx.$implicit;
|
|
15071
15114
|
var ctx_r0 = i0__namespace.ɵɵnextContext();
|
|
15072
15115
|
i0__namespace.ɵɵadvance(1);
|
|
15073
|
-
i0__namespace.ɵɵ
|
|
15116
|
+
i0__namespace.ɵɵproperty("content", i0__namespace.ɵɵpipeBind2(2, 1, value_r1.code, ctx_r0.caseField.list_items));
|
|
15074
15117
|
}
|
|
15075
15118
|
}
|
|
15076
15119
|
var ReadDynamicMultiSelectListFieldComponent = /** @class */ (function (_super) {
|
|
@@ -15094,14 +15137,14 @@
|
|
|
15094
15137
|
return ReadDynamicMultiSelectListFieldComponent;
|
|
15095
15138
|
}(AbstractFieldReadComponent));
|
|
15096
15139
|
ReadDynamicMultiSelectListFieldComponent.ɵfac = function ReadDynamicMultiSelectListFieldComponent_Factory(t) { return ɵReadDynamicMultiSelectListFieldComponent_BaseFactory(t || ReadDynamicMultiSelectListFieldComponent); };
|
|
15097
|
-
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) {
|
|
15140
|
+
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"], [3, "content"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
|
|
15098
15141
|
if (rf & 1) {
|
|
15099
15142
|
i0__namespace.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
|
|
15100
15143
|
}
|
|
15101
15144
|
if (rf & 2) {
|
|
15102
15145
|
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.value);
|
|
15103
15146
|
}
|
|
15104
|
-
}, directives: [i2__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}"] });
|
|
15147
|
+
}, directives: [i2__namespace.NgForOf, MarkdownComponent], 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}"] });
|
|
15105
15148
|
var ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent);
|
|
15106
15149
|
(function () {
|
|
15107
15150
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ReadDynamicMultiSelectListFieldComponent, [{
|
|
@@ -15161,7 +15204,7 @@
|
|
|
15161
15204
|
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); });
|
|
15162
15205
|
i0__namespace.ɵɵelementEnd();
|
|
15163
15206
|
i0__namespace.ɵɵelementStart(3, "label", 10);
|
|
15164
|
-
i0__namespace.ɵɵ
|
|
15207
|
+
i0__namespace.ɵɵelement(4, "ccd-markdown", 11);
|
|
15165
15208
|
i0__namespace.ɵɵelementEnd();
|
|
15166
15209
|
i0__namespace.ɵɵelementEnd();
|
|
15167
15210
|
i0__namespace.ɵɵelementContainerEnd();
|
|
@@ -15176,7 +15219,7 @@
|
|
|
15176
15219
|
i0__namespace.ɵɵadvance(1);
|
|
15177
15220
|
i0__namespace.ɵɵpropertyInterpolate("for", ctx_r3.createElementId(checkbox_r4.code));
|
|
15178
15221
|
i0__namespace.ɵɵadvance(1);
|
|
15179
|
-
i0__namespace.ɵɵ
|
|
15222
|
+
i0__namespace.ɵɵproperty("content", checkbox_r4.label);
|
|
15180
15223
|
}
|
|
15181
15224
|
}
|
|
15182
15225
|
var _c0$L = function (a0) { return { "error": a0 }; };
|
|
@@ -15248,7 +15291,7 @@
|
|
|
15248
15291
|
return WriteDynamicMultiSelectListFieldComponent;
|
|
15249
15292
|
}(AbstractFieldWriteComponent));
|
|
15250
15293
|
WriteDynamicMultiSelectListFieldComponent.ɵfac = function WriteDynamicMultiSelectListFieldComponent_Factory(t) { return ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory(t || WriteDynamicMultiSelectListFieldComponent); };
|
|
15251
|
-
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) {
|
|
15294
|
+
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"], [3, "content"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) {
|
|
15252
15295
|
if (rf & 1) {
|
|
15253
15296
|
i0__namespace.ɵɵelementStart(0, "div", 0);
|
|
15254
15297
|
i0__namespace.ɵɵelementStart(1, "fieldset");
|
|
@@ -15272,14 +15315,15 @@
|
|
|
15272
15315
|
i0__namespace.ɵɵadvance(1);
|
|
15273
15316
|
i0__namespace.ɵɵproperty("ngForOf", ctx.caseField.list_items);
|
|
15274
15317
|
}
|
|
15275
|
-
}, directives: [i2__namespace.NgClass, i2__namespace.NgIf, i2__namespace.NgForOf], pipes: [FieldLabelPipe, FirstErrorPipe],
|
|
15318
|
+
}, directives: [i2__namespace.NgClass, i2__namespace.NgIf, i2__namespace.NgForOf, MarkdownComponent], pipes: [FieldLabelPipe, FirstErrorPipe], styles: ["ccd-markdown[_ngcontent-%COMP%]{display:inline-block}"] });
|
|
15276
15319
|
var ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = /*@__PURE__*/ i0__namespace.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent);
|
|
15277
15320
|
(function () {
|
|
15278
15321
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
15279
15322
|
type: i0.Component,
|
|
15280
15323
|
args: [{
|
|
15281
15324
|
selector: 'ccd-write-dynamic-multi-select-list-field',
|
|
15282
|
-
templateUrl: './write-dynamic-multi-select-list-field.html'
|
|
15325
|
+
templateUrl: './write-dynamic-multi-select-list-field.html',
|
|
15326
|
+
styleUrls: ['./write-dynamic-multi-select-list-field.component.scss']
|
|
15283
15327
|
}]
|
|
15284
15328
|
}], null, null);
|
|
15285
15329
|
})();
|
|
@@ -21524,7 +21568,7 @@
|
|
|
21524
21568
|
i0__namespace.ɵɵadvance(4);
|
|
21525
21569
|
i0__namespace.ɵɵproperty("cdkConnectedOverlayOrigin", _r0)("cdkConnectedOverlayOpen", ctx.isOpen)("cdkConnectedOverlayHasBackdrop", true)("cdkConnectedOverlayBackdropClass", "cdk-overlay-transparent-backdrop");
|
|
21526
21570
|
}
|
|
21527
|
-
}, directives: [i1__namespace$
|
|
21571
|
+
}, directives: [i1__namespace$5.CdkOverlayOrigin, i1__namespace$5.CdkConnectedOverlay, i2__namespace.NgIf, i2__namespace.NgForOf], styles: [".overlay-toggle[_ngcontent-%COMP%]{display:block;background:none;border:0;padding:0 6px;margin-right:-4px;cursor:pointer}.overlay-menu[_ngcontent-%COMP%]{background-color:#fafafa;border:1px solid grey;margin-top:8px;font-size:1rem}.overlay-menu__item[_ngcontent-%COMP%], .overlay-menu__title[_ngcontent-%COMP%]{padding:10px;border-bottom:1px solid grey}.overlay-menu__item[_ngcontent-%COMP%]:last-child, .overlay-menu__title[_ngcontent-%COMP%]:last-child{border:none}.overlay-menu__title[_ngcontent-%COMP%]{padding-left:6px;padding-right:6px}.overlay-menu__item[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;font-size:.875em}.overlay-menu__item[_ngcontent-%COMP%]:hover{background-color:#fff2cc}.overlay-menu__itemIcon[_ngcontent-%COMP%]{height:1.25em;width:1.25em;margin-right:6px}"] });
|
|
21528
21572
|
(function () {
|
|
21529
21573
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CaseFileViewOverlayMenuComponent, [{
|
|
21530
21574
|
type: i0.Component,
|
|
@@ -25486,55 +25530,6 @@
|
|
|
25486
25530
|
}] });
|
|
25487
25531
|
})();
|
|
25488
25532
|
|
|
25489
|
-
var MarkdownComponent = /** @class */ (function () {
|
|
25490
|
-
function MarkdownComponent() {
|
|
25491
|
-
}
|
|
25492
|
-
MarkdownComponent.prototype.ngOnInit = function () {
|
|
25493
|
-
this.content = this.content.replace(/ \n/g, '<br>');
|
|
25494
|
-
};
|
|
25495
|
-
MarkdownComponent.prototype.onMarkdownClick = function (event) {
|
|
25496
|
-
// If we don't have an anchor tag, we don't need to do anything.
|
|
25497
|
-
if (event.target instanceof HTMLAnchorElement === false) {
|
|
25498
|
-
return;
|
|
25499
|
-
}
|
|
25500
|
-
return true;
|
|
25501
|
-
};
|
|
25502
|
-
return MarkdownComponent;
|
|
25503
|
-
}());
|
|
25504
|
-
MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
|
|
25505
|
-
MarkdownComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) {
|
|
25506
|
-
if (rf & 1) {
|
|
25507
|
-
i0__namespace.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
|
|
25508
|
-
}
|
|
25509
|
-
}, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "innerHTML"]], template: function MarkdownComponent_Template(rf, ctx) {
|
|
25510
|
-
if (rf & 1) {
|
|
25511
|
-
i0__namespace.ɵɵelementStart(0, "div");
|
|
25512
|
-
i0__namespace.ɵɵelement(1, "markdown", 0);
|
|
25513
|
-
i0__namespace.ɵɵpipe(2, "ccdCaseReference");
|
|
25514
|
-
i0__namespace.ɵɵelementEnd();
|
|
25515
|
-
}
|
|
25516
|
-
if (rf & 2) {
|
|
25517
|
-
i0__namespace.ɵɵadvance(1);
|
|
25518
|
-
i0__namespace.ɵɵproperty("innerHTML", i0__namespace.ɵɵpipeBind1(2, 1, ctx.content), i0__namespace.ɵɵsanitizeHtml);
|
|
25519
|
-
}
|
|
25520
|
-
}, directives: [i1__namespace$5.NgxMdComponent], pipes: [CaseReferencePipe], encapsulation: 2 });
|
|
25521
|
-
(function () {
|
|
25522
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MarkdownComponent, [{
|
|
25523
|
-
type: i0.Component,
|
|
25524
|
-
args: [{
|
|
25525
|
-
selector: 'ccd-markdown',
|
|
25526
|
-
templateUrl: './markdown.html'
|
|
25527
|
-
}]
|
|
25528
|
-
}], function () { return []; }, { content: [{
|
|
25529
|
-
type: i0.Input
|
|
25530
|
-
}], markdownUseHrefAsRouterLink: [{
|
|
25531
|
-
type: i0.Input
|
|
25532
|
-
}], onMarkdownClick: [{
|
|
25533
|
-
type: i0.HostListener,
|
|
25534
|
-
args: ['click', ['$event']]
|
|
25535
|
-
}] });
|
|
25536
|
-
})();
|
|
25537
|
-
|
|
25538
25533
|
var FeeValue = /** @class */ (function () {
|
|
25539
25534
|
function FeeValue() {
|
|
25540
25535
|
}
|
|
@@ -26667,7 +26662,7 @@
|
|
|
26667
26662
|
FormModule,
|
|
26668
26663
|
TabsModule,
|
|
26669
26664
|
LabelSubstitutorModule,
|
|
26670
|
-
i1$
|
|
26665
|
+
i1$4.NgxMdModule,
|
|
26671
26666
|
i4$1.NgxMatDatetimePickerModule,
|
|
26672
26667
|
i4$1.NgxMatTimepickerModule,
|
|
26673
26668
|
i4$1.NgxMatNativeDateModule,
|
|
@@ -26676,12 +26671,12 @@
|
|
|
26676
26671
|
i5$1.MatDatepickerModule,
|
|
26677
26672
|
i4.MatAutocompleteModule,
|
|
26678
26673
|
i7.CdkTreeModule,
|
|
26679
|
-
i1$
|
|
26674
|
+
i1$5.OverlayModule,
|
|
26680
26675
|
i3.PaymentLibModule,
|
|
26681
26676
|
i2$2.ScrollToModule.forRoot(),
|
|
26682
26677
|
i1.RpxTranslationModule.forChild(),
|
|
26683
26678
|
i7.CdkTreeModule,
|
|
26684
|
-
i1$
|
|
26679
|
+
i1$5.OverlayModule,
|
|
26685
26680
|
i1$3.MatDialogModule,
|
|
26686
26681
|
i12.MediaViewerModule,
|
|
26687
26682
|
LoadingModule
|
|
@@ -26815,7 +26810,7 @@
|
|
|
26815
26810
|
FormModule,
|
|
26816
26811
|
TabsModule,
|
|
26817
26812
|
LabelSubstitutorModule,
|
|
26818
|
-
i1$
|
|
26813
|
+
i1$4.NgxMdModule,
|
|
26819
26814
|
i4$1.NgxMatDatetimePickerModule,
|
|
26820
26815
|
i4$1.NgxMatTimepickerModule,
|
|
26821
26816
|
i4$1.NgxMatNativeDateModule,
|
|
@@ -26824,9 +26819,9 @@
|
|
|
26824
26819
|
i5$1.MatDatepickerModule,
|
|
26825
26820
|
i4.MatAutocompleteModule,
|
|
26826
26821
|
i7.CdkTreeModule,
|
|
26827
|
-
i1$
|
|
26822
|
+
i1$5.OverlayModule,
|
|
26828
26823
|
i3.PaymentLibModule, i2__namespace$2.ScrollToModule, i1__namespace.RpxTranslationModule, i7.CdkTreeModule,
|
|
26829
|
-
i1$
|
|
26824
|
+
i1$5.OverlayModule,
|
|
26830
26825
|
i1$3.MatDialogModule,
|
|
26831
26826
|
i12.MediaViewerModule,
|
|
26832
26827
|
LoadingModule], exports: [i4$1.NgxMatDatetimePickerModule,
|
|
@@ -26960,7 +26955,7 @@
|
|
|
26960
26955
|
FormModule,
|
|
26961
26956
|
TabsModule,
|
|
26962
26957
|
LabelSubstitutorModule,
|
|
26963
|
-
i1$
|
|
26958
|
+
i1$4.NgxMdModule,
|
|
26964
26959
|
i4$1.NgxMatDatetimePickerModule,
|
|
26965
26960
|
i4$1.NgxMatTimepickerModule,
|
|
26966
26961
|
i4$1.NgxMatNativeDateModule,
|
|
@@ -26969,12 +26964,12 @@
|
|
|
26969
26964
|
i5$1.MatDatepickerModule,
|
|
26970
26965
|
i4.MatAutocompleteModule,
|
|
26971
26966
|
i7.CdkTreeModule,
|
|
26972
|
-
i1$
|
|
26967
|
+
i1$5.OverlayModule,
|
|
26973
26968
|
i3.PaymentLibModule,
|
|
26974
26969
|
i2$2.ScrollToModule.forRoot(),
|
|
26975
26970
|
i1.RpxTranslationModule.forChild(),
|
|
26976
26971
|
i7.CdkTreeModule,
|
|
26977
|
-
i1$
|
|
26972
|
+
i1$5.OverlayModule,
|
|
26978
26973
|
i1$3.MatDialogModule,
|
|
26979
26974
|
i12.MediaViewerModule,
|
|
26980
26975
|
LoadingModule
|
|
@@ -31449,7 +31444,7 @@
|
|
|
31449
31444
|
i0__namespace.ɵɵadvance(6);
|
|
31450
31445
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 4, "Are you sure you want to delete this draft?"));
|
|
31451
31446
|
i0__namespace.ɵɵadvance(4);
|
|
31452
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 6, "You are about to delete this draft.Are you sure you want to proceed?"));
|
|
31447
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(11, 6, "You are about to delete this draft. Are you sure you want to proceed?"));
|
|
31453
31448
|
i0__namespace.ɵɵadvance(4);
|
|
31454
31449
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(15, 8, "Delete draft"));
|
|
31455
31450
|
i0__namespace.ɵɵadvance(3);
|