@hmcts/ccd-case-ui-toolkit 7.4.16 → 7.4.17-1661-assessibility-issue
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/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +319 -277
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +10 -2
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4957,7 +4957,7 @@ class FieldsUtils {
|
|
|
4957
4957
|
|
|
4958
4958
|
// @ts-nocheck
|
|
4959
4959
|
// This file is generated by npm run generate:condition-parser. Do not edit by hand.
|
|
4960
|
-
// @generated by Peggy 5.1.
|
|
4960
|
+
// @generated by Peggy 5.1.1.
|
|
4961
4961
|
//
|
|
4962
4962
|
// https://peggyjs.org/
|
|
4963
4963
|
class peg$SyntaxError extends SyntaxError {
|
|
@@ -5012,10 +5012,9 @@ class peg$SyntaxError extends SyntaxError {
|
|
|
5012
5012
|
}
|
|
5013
5013
|
return s;
|
|
5014
5014
|
}
|
|
5015
|
-
function
|
|
5015
|
+
function escape(s, special) {
|
|
5016
5016
|
return unicodeEscape(s
|
|
5017
|
-
.replace(
|
|
5018
|
-
.replace(/"/g, "\\\"")
|
|
5017
|
+
.replace(special, "\\$&")
|
|
5019
5018
|
.replace(/\0/g, "\\0")
|
|
5020
5019
|
.replace(/\t/g, "\\t")
|
|
5021
5020
|
.replace(/\n/g, "\\n")
|
|
@@ -5023,18 +5022,11 @@ class peg$SyntaxError extends SyntaxError {
|
|
|
5023
5022
|
.replace(/[\x00-\x0F]/g, ch => "\\x0" + hex(ch))
|
|
5024
5023
|
.replace(/[\x10-\x1F\x7F-\x9F]/g, ch => "\\x" + hex(ch)));
|
|
5025
5024
|
}
|
|
5025
|
+
function literalEscape(s) {
|
|
5026
|
+
return escape(s, /[\\"]/g);
|
|
5027
|
+
}
|
|
5026
5028
|
function classEscape(s) {
|
|
5027
|
-
return
|
|
5028
|
-
.replace(/\\/g, "\\\\")
|
|
5029
|
-
.replace(/\]/g, "\\]")
|
|
5030
|
-
.replace(/\^/g, "\\^")
|
|
5031
|
-
.replace(/-/g, "\\-")
|
|
5032
|
-
.replace(/\0/g, "\\0")
|
|
5033
|
-
.replace(/\t/g, "\\t")
|
|
5034
|
-
.replace(/\n/g, "\\n")
|
|
5035
|
-
.replace(/\r/g, "\\r")
|
|
5036
|
-
.replace(/[\x00-\x0F]/g, ch => "\\x0" + hex(ch))
|
|
5037
|
-
.replace(/[\x10-\x1F\x7F-\x9F]/g, ch => "\\x" + hex(ch)));
|
|
5029
|
+
return escape(s, /[\\\]^-]/g);
|
|
5038
5030
|
}
|
|
5039
5031
|
const DESCRIBE_EXPECTATION_FNS = {
|
|
5040
5032
|
literal(expectation) {
|
|
@@ -5107,11 +5099,6 @@ function peg$parse(input, options) {
|
|
|
5107
5099
|
const peg$c7 = "=";
|
|
5108
5100
|
const peg$c8 = "!=";
|
|
5109
5101
|
const peg$c9 = "CONTAINS";
|
|
5110
|
-
const peg$r0 = /^[a-zA-Z]/;
|
|
5111
|
-
const peg$r1 = /^[A-Za-z0-9._\-]/;
|
|
5112
|
-
const peg$r2 = /^[0-9]/;
|
|
5113
|
-
const peg$r3 = /^[A-Za-z0-9.,* _&()\/\-]/;
|
|
5114
|
-
const peg$r4 = /^[ \t]/;
|
|
5115
5102
|
const peg$e0 = peg$literalExpectation("AND", false);
|
|
5116
5103
|
const peg$e1 = peg$literalExpectation("OR", false);
|
|
5117
5104
|
const peg$e2 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false, false);
|
|
@@ -5148,6 +5135,7 @@ function peg$parse(input, options) {
|
|
|
5148
5135
|
let peg$maxFailExpected = options.peg$maxFailExpected || [];
|
|
5149
5136
|
let peg$silentFails = options.peg$silentFails | 0;
|
|
5150
5137
|
let peg$result;
|
|
5138
|
+
let peg$charCode;
|
|
5151
5139
|
if (options.startRule) {
|
|
5152
5140
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
5153
5141
|
throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");
|
|
@@ -5286,10 +5274,12 @@ function peg$parse(input, options) {
|
|
|
5286
5274
|
s1 = peg$parseFormulaTerm();
|
|
5287
5275
|
if (s1 !== peg$FAILED) {
|
|
5288
5276
|
s2 = [];
|
|
5289
|
-
|
|
5290
|
-
while (s3 !== peg$FAILED) {
|
|
5291
|
-
s2.push(s3);
|
|
5277
|
+
for (;;) {
|
|
5292
5278
|
s3 = peg$parseJoinComparator();
|
|
5279
|
+
if (s3 === peg$FAILED) {
|
|
5280
|
+
break;
|
|
5281
|
+
}
|
|
5282
|
+
s2.push(s3);
|
|
5293
5283
|
}
|
|
5294
5284
|
peg$savedPos = s0;
|
|
5295
5285
|
s0 = peg$f0(s1, s2);
|
|
@@ -5457,14 +5447,14 @@ function peg$parse(input, options) {
|
|
|
5457
5447
|
let s0, s1, s2;
|
|
5458
5448
|
s0 = peg$currPos;
|
|
5459
5449
|
s1 = [];
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
s2 = peg$parseLetter();
|
|
5450
|
+
for (;;) {
|
|
5451
|
+
s2 = peg$parseLetter();
|
|
5452
|
+
if (s2 === peg$FAILED) {
|
|
5453
|
+
break;
|
|
5465
5454
|
}
|
|
5455
|
+
s1.push(s2);
|
|
5466
5456
|
}
|
|
5467
|
-
|
|
5457
|
+
if (s1.length < 1) {
|
|
5468
5458
|
s1 = peg$FAILED;
|
|
5469
5459
|
}
|
|
5470
5460
|
if (s1 !== peg$FAILED) {
|
|
@@ -5477,7 +5467,7 @@ function peg$parse(input, options) {
|
|
|
5477
5467
|
function peg$parseLetter() {
|
|
5478
5468
|
let s0;
|
|
5479
5469
|
s0 = input.charAt(peg$currPos);
|
|
5480
|
-
if (peg$
|
|
5470
|
+
if ((peg$charCode = s0.charCodeAt(0), (peg$charCode >= 97 && peg$charCode <= 122) || (peg$charCode >= 65 && peg$charCode <= 90))) {
|
|
5481
5471
|
peg$currPos++;
|
|
5482
5472
|
}
|
|
5483
5473
|
else {
|
|
@@ -5551,32 +5541,23 @@ function peg$parse(input, options) {
|
|
|
5551
5541
|
let s0, s1, s2;
|
|
5552
5542
|
s0 = peg$currPos;
|
|
5553
5543
|
s1 = [];
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
peg$
|
|
5557
|
-
|
|
5558
|
-
else {
|
|
5559
|
-
s2 = peg$FAILED;
|
|
5560
|
-
if (peg$silentFails === 0) {
|
|
5561
|
-
peg$fail(peg$e3);
|
|
5544
|
+
for (;;) {
|
|
5545
|
+
s2 = input.charAt(peg$currPos);
|
|
5546
|
+
if ((peg$charCode = s2.charCodeAt(0), (peg$charCode >= 65 && peg$charCode <= 90) || (peg$charCode >= 97 && peg$charCode <= 122) || (peg$charCode >= 48 && peg$charCode <= 57) || peg$charCode === 46 || peg$charCode === 95 || peg$charCode === 45)) {
|
|
5547
|
+
peg$currPos++;
|
|
5562
5548
|
}
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
s2 = input.charAt(peg$currPos);
|
|
5568
|
-
if (peg$r1.test(s2)) {
|
|
5569
|
-
peg$currPos++;
|
|
5570
|
-
}
|
|
5571
|
-
else {
|
|
5572
|
-
s2 = peg$FAILED;
|
|
5573
|
-
if (peg$silentFails === 0) {
|
|
5574
|
-
peg$fail(peg$e3);
|
|
5575
|
-
}
|
|
5549
|
+
else {
|
|
5550
|
+
s2 = peg$FAILED;
|
|
5551
|
+
if (peg$silentFails === 0) {
|
|
5552
|
+
peg$fail(peg$e3);
|
|
5576
5553
|
}
|
|
5577
5554
|
}
|
|
5555
|
+
if (s2 === peg$FAILED) {
|
|
5556
|
+
break;
|
|
5557
|
+
}
|
|
5558
|
+
s1.push(s2);
|
|
5578
5559
|
}
|
|
5579
|
-
|
|
5560
|
+
if (s1.length < 1) {
|
|
5580
5561
|
s1 = peg$FAILED;
|
|
5581
5562
|
}
|
|
5582
5563
|
if (s1 !== peg$FAILED) {
|
|
@@ -5617,32 +5598,23 @@ function peg$parse(input, options) {
|
|
|
5617
5598
|
function peg$parsenumber() {
|
|
5618
5599
|
let s0, s1;
|
|
5619
5600
|
s0 = [];
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
peg$
|
|
5623
|
-
|
|
5624
|
-
else {
|
|
5625
|
-
s1 = peg$FAILED;
|
|
5626
|
-
if (peg$silentFails === 0) {
|
|
5627
|
-
peg$fail(peg$e6);
|
|
5601
|
+
for (;;) {
|
|
5602
|
+
s1 = input.charAt(peg$currPos);
|
|
5603
|
+
if ((peg$charCode = s1.charCodeAt(0), (peg$charCode >= 48 && peg$charCode <= 57))) {
|
|
5604
|
+
peg$currPos++;
|
|
5628
5605
|
}
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
s1 = input.charAt(peg$currPos);
|
|
5634
|
-
if (peg$r2.test(s1)) {
|
|
5635
|
-
peg$currPos++;
|
|
5636
|
-
}
|
|
5637
|
-
else {
|
|
5638
|
-
s1 = peg$FAILED;
|
|
5639
|
-
if (peg$silentFails === 0) {
|
|
5640
|
-
peg$fail(peg$e6);
|
|
5641
|
-
}
|
|
5606
|
+
else {
|
|
5607
|
+
s1 = peg$FAILED;
|
|
5608
|
+
if (peg$silentFails === 0) {
|
|
5609
|
+
peg$fail(peg$e6);
|
|
5642
5610
|
}
|
|
5643
5611
|
}
|
|
5612
|
+
if (s1 === peg$FAILED) {
|
|
5613
|
+
break;
|
|
5614
|
+
}
|
|
5615
|
+
s0.push(s1);
|
|
5644
5616
|
}
|
|
5645
|
-
|
|
5617
|
+
if (s0.length < 1) {
|
|
5646
5618
|
s0 = peg$FAILED;
|
|
5647
5619
|
}
|
|
5648
5620
|
return s0;
|
|
@@ -5662,20 +5634,9 @@ function peg$parse(input, options) {
|
|
|
5662
5634
|
}
|
|
5663
5635
|
if (s1 !== peg$FAILED) {
|
|
5664
5636
|
s2 = [];
|
|
5665
|
-
|
|
5666
|
-
if (peg$r3.test(s3)) {
|
|
5667
|
-
peg$currPos++;
|
|
5668
|
-
}
|
|
5669
|
-
else {
|
|
5670
|
-
s3 = peg$FAILED;
|
|
5671
|
-
if (peg$silentFails === 0) {
|
|
5672
|
-
peg$fail(peg$e8);
|
|
5673
|
-
}
|
|
5674
|
-
}
|
|
5675
|
-
while (s3 !== peg$FAILED) {
|
|
5676
|
-
s2.push(s3);
|
|
5637
|
+
for (;;) {
|
|
5677
5638
|
s3 = input.charAt(peg$currPos);
|
|
5678
|
-
if (peg$
|
|
5639
|
+
if ((peg$charCode = s3.charCodeAt(0), (peg$charCode >= 65 && peg$charCode <= 90) || (peg$charCode >= 97 && peg$charCode <= 122) || (peg$charCode >= 48 && peg$charCode <= 57) || peg$charCode === 46 || peg$charCode === 44 || peg$charCode === 42 || peg$charCode === 32 || peg$charCode === 95 || peg$charCode === 38 || peg$charCode === 40 || peg$charCode === 41 || peg$charCode === 47 || peg$charCode === 45)) {
|
|
5679
5640
|
peg$currPos++;
|
|
5680
5641
|
}
|
|
5681
5642
|
else {
|
|
@@ -5684,6 +5645,10 @@ function peg$parse(input, options) {
|
|
|
5684
5645
|
peg$fail(peg$e8);
|
|
5685
5646
|
}
|
|
5686
5647
|
}
|
|
5648
|
+
if (s3 === peg$FAILED) {
|
|
5649
|
+
break;
|
|
5650
|
+
}
|
|
5651
|
+
s2.push(s3);
|
|
5687
5652
|
}
|
|
5688
5653
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
5689
5654
|
s3 = peg$c4;
|
|
@@ -5814,7 +5779,7 @@ function peg$parse(input, options) {
|
|
|
5814
5779
|
let s0, s1;
|
|
5815
5780
|
peg$silentFails++;
|
|
5816
5781
|
s0 = input.charAt(peg$currPos);
|
|
5817
|
-
if (peg$
|
|
5782
|
+
if ((peg$charCode = s0.charCodeAt(0), peg$charCode === 32 || peg$charCode === 9)) {
|
|
5818
5783
|
peg$currPos++;
|
|
5819
5784
|
}
|
|
5820
5785
|
else {
|
|
@@ -5836,14 +5801,14 @@ function peg$parse(input, options) {
|
|
|
5836
5801
|
let s0, s1;
|
|
5837
5802
|
peg$silentFails++;
|
|
5838
5803
|
s0 = [];
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
s1 = peg$parsews();
|
|
5804
|
+
for (;;) {
|
|
5805
|
+
s1 = peg$parsews();
|
|
5806
|
+
if (s1 === peg$FAILED) {
|
|
5807
|
+
break;
|
|
5844
5808
|
}
|
|
5809
|
+
s0.push(s1);
|
|
5845
5810
|
}
|
|
5846
|
-
|
|
5811
|
+
if (s0.length < 1) {
|
|
5847
5812
|
s0 = peg$FAILED;
|
|
5848
5813
|
}
|
|
5849
5814
|
peg$silentFails--;
|
|
@@ -17786,6 +17751,30 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
17786
17751
|
}], null, null); })();
|
|
17787
17752
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDynamicListFieldComponent, { className: "WriteDynamicListFieldComponent", filePath: "lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.ts", lineNumber: 10 }); })();
|
|
17788
17753
|
|
|
17754
|
+
function MarkdownComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
17755
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
17756
|
+
i0.ɵɵelementContainerStart(0);
|
|
17757
|
+
i0.ɵɵelementStart(1, "markdown", 2);
|
|
17758
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
17759
|
+
i0.ɵɵlistener("click", function MarkdownComponent_ng_container_0_Template_markdown_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.interceptClick($event)); });
|
|
17760
|
+
i0.ɵɵelementEnd();
|
|
17761
|
+
i0.ɵɵelementContainerEnd();
|
|
17762
|
+
} if (rf & 2) {
|
|
17763
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
17764
|
+
i0.ɵɵadvance();
|
|
17765
|
+
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 2, ctx_r1.content))("inline", true);
|
|
17766
|
+
} }
|
|
17767
|
+
function MarkdownComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
17768
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
17769
|
+
i0.ɵɵelementStart(0, "div")(1, "markdown", 3);
|
|
17770
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
17771
|
+
i0.ɵɵlistener("click", function MarkdownComponent_ng_template_1_Template_markdown_click_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.interceptClick($event)); });
|
|
17772
|
+
i0.ɵɵelementEnd()();
|
|
17773
|
+
} if (rf & 2) {
|
|
17774
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
17775
|
+
i0.ɵɵadvance();
|
|
17776
|
+
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx_r1.content));
|
|
17777
|
+
} }
|
|
17789
17778
|
class MarkdownComponent {
|
|
17790
17779
|
router;
|
|
17791
17780
|
renderer;
|
|
@@ -17793,6 +17782,7 @@ class MarkdownComponent {
|
|
|
17793
17782
|
cdr;
|
|
17794
17783
|
content;
|
|
17795
17784
|
renderUrlToTextFeature = true;
|
|
17785
|
+
inline = false;
|
|
17796
17786
|
constructor(router, renderer, ngZone, cdr) {
|
|
17797
17787
|
this.router = router;
|
|
17798
17788
|
this.renderer = renderer;
|
|
@@ -17859,23 +17849,22 @@ class MarkdownComponent {
|
|
|
17859
17849
|
return markdownLinkRegex.test(inputString);
|
|
17860
17850
|
}
|
|
17861
17851
|
static ɵfac = function MarkdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$2.Router), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
17862
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature" }, standalone: false, decls: 3, vars:
|
|
17863
|
-
i0.ɵɵ
|
|
17864
|
-
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
17865
|
-
i0.ɵɵlistener("click", function MarkdownComponent_Template_markdown_click_1_listener($event) { return ctx.interceptClick($event); });
|
|
17866
|
-
i0.ɵɵelementEnd()();
|
|
17852
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature", inline: "inline" }, standalone: false, decls: 3, vars: 2, consts: [["blockMarkdown", ""], [4, "ngIf", "ngIfElse"], [1, "markdown", 3, "click", "data", "inline"], [1, "markdown", 3, "click", "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17853
|
+
i0.ɵɵtemplate(0, MarkdownComponent_ng_container_0_Template, 3, 4, "ng-container", 1)(1, MarkdownComponent_ng_template_1_Template, 3, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
17867
17854
|
} if (rf & 2) {
|
|
17868
|
-
i0.ɵɵ
|
|
17869
|
-
i0.ɵɵproperty("
|
|
17870
|
-
} }, dependencies: [i1$4.MarkdownComponent, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
17855
|
+
const blockMarkdown_r4 = i0.ɵɵreference(2);
|
|
17856
|
+
i0.ɵɵproperty("ngIf", ctx.inline)("ngIfElse", blockMarkdown_r4);
|
|
17857
|
+
} }, dependencies: [i5.NgIf, i1$4.MarkdownComponent, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
17871
17858
|
}
|
|
17872
17859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
17873
17860
|
type: Component,
|
|
17874
|
-
args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\"></markdown></div>\n" }]
|
|
17861
|
+
args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"inline; else blockMarkdown\">\n <markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\" [inline]=\"true\"></markdown>\n</ng-container>\n<ng-template #blockMarkdown>\n <div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference\"></markdown></div>\n</ng-template>\n" }]
|
|
17875
17862
|
}], () => [{ type: i1$2.Router }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], { content: [{
|
|
17876
17863
|
type: Input
|
|
17877
17864
|
}], renderUrlToTextFeature: [{
|
|
17878
17865
|
type: Input
|
|
17866
|
+
}], inline: [{
|
|
17867
|
+
type: Input
|
|
17879
17868
|
}] }); })();
|
|
17880
17869
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkdownComponent, { className: "MarkdownComponent", filePath: "lib/shared/components/palette/markdown/markdown.component.ts", lineNumber: 12 }); })();
|
|
17881
17870
|
|
|
@@ -17976,10 +17965,10 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
17976
17965
|
i0.ɵɵelementStart(1, "div", 8)(2, "input", 9);
|
|
17977
17966
|
i0.ɵɵlistener("change", function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onCheckChange($event)); });
|
|
17978
17967
|
i0.ɵɵelementEnd();
|
|
17979
|
-
i0.ɵɵelementStart(3, "label", 10);
|
|
17980
|
-
i0.ɵɵelement(
|
|
17981
|
-
i0.ɵɵpipe(
|
|
17982
|
-
i0.ɵɵelementEnd()();
|
|
17968
|
+
i0.ɵɵelementStart(3, "label", 10)(4, "span", 5);
|
|
17969
|
+
i0.ɵɵelement(5, "ccd-markdown", 11);
|
|
17970
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
17971
|
+
i0.ɵɵelementEnd()()();
|
|
17983
17972
|
i0.ɵɵelementContainerEnd();
|
|
17984
17973
|
} if (rf & 2) {
|
|
17985
17974
|
const checkbox_r3 = ctx.$implicit;
|
|
@@ -17988,8 +17977,8 @@ function WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template(rf, c
|
|
|
17988
17977
|
i0.ɵɵproperty("id", i0.ɵɵinterpolate(ctx_r0.createElementId(checkbox_r3.code)))("name", i0.ɵɵinterpolate(ctx_r0.id()))("value", checkbox_r3.code)("checked", ctx_r0.isSelected(checkbox_r3.code));
|
|
17989
17978
|
i0.ɵɵadvance();
|
|
17990
17979
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate(ctx_r0.createElementId(checkbox_r3.code)));
|
|
17991
|
-
i0.ɵɵadvance();
|
|
17992
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(
|
|
17980
|
+
i0.ɵɵadvance(2);
|
|
17981
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(6, 11, checkbox_r3.label))("renderUrlToTextFeature", false)("inline", true);
|
|
17993
17982
|
} }
|
|
17994
17983
|
class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
17995
17984
|
checkboxes;
|
|
@@ -18053,11 +18042,11 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
18053
18042
|
}
|
|
18054
18043
|
}
|
|
18055
18044
|
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(__ngFactoryType__ || WriteDynamicMultiSelectListFieldComponent); }; })();
|
|
18056
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], standalone: false, 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, "change", "id", "name", "value", "checked"], [
|
|
18045
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], standalone: false, 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, "change", "id", "name", "value", "checked"], [3, "for"], [3, "content", "renderUrlToTextFeature", "inline"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18057
18046
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
18058
18047
|
i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1)(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2)(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
18059
18048
|
i0.ɵɵelementEnd();
|
|
18060
|
-
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template,
|
|
18049
|
+
i0.ɵɵtemplate(6, WriteDynamicMultiSelectListFieldComponent_ng_container_6_Template, 7, 13, "ng-container", 4);
|
|
18061
18050
|
i0.ɵɵelementEnd()();
|
|
18062
18051
|
} if (rf & 2) {
|
|
18063
18052
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$T, !ctx.checkboxes.valid && ctx.checkboxes.touched))("id", ctx.id());
|
|
@@ -18073,7 +18062,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
18073
18062
|
}
|
|
18074
18063
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteDynamicMultiSelectListFieldComponent, [{
|
|
18075
18064
|
type: Component,
|
|
18076
|
-
args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', standalone: false, template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label
|
|
18065
|
+
args: [{ selector: 'ccd-write-dynamic-multi-select-list-field', standalone: false, template: "<div class=\"form-group bottom-30\" [ngClass]=\"{'error': !checkboxes.valid && checkboxes.touched}\" [id]=\"id()\">\n\n <fieldset>\n\n <legend>\n <span *ngIf=\"caseField.label\" class=\"form-label\">{{caseField | ccdFieldLabel}}</span>\n <span *ngIf=\"caseField.hint_text\" class=\"form-hint\">{{caseField.hint_text}}</span>\n <span *ngIf=\"checkboxes.errors && checkboxes.touched\" class=\"error-message\">{{checkboxes.errors |\n ccdFirstError}}</span>\n </legend>\n\n <ng-container *ngFor=\"let checkbox of caseField.list_items\">\n\n <div class=\"multiple-choice\">\n <input class=\"form-control\" id=\"{{ createElementId(checkbox.code) }}\" name=\"{{ id() }}\" type=\"checkbox\"\n [value]=\"checkbox.code\" [checked]=\"isSelected(checkbox.code)\" (change)=\"onCheckChange($event)\">\n <label for=\"{{ createElementId(checkbox.code) }}\">\n <span class=\"form-label\">\n <ccd-markdown [content]=\"checkbox.label | rpxTranslate\" [renderUrlToTextFeature]=\"false\" [inline]=\"true\"></ccd-markdown>\n </span>\n </label>\n </div>\n\n </ng-container>\n\n </fieldset>\n\n</div>\n", styles: ["ccd-markdown{display:inline-block}\n"] }]
|
|
18077
18066
|
}], null, null); })();
|
|
18078
18067
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteDynamicMultiSelectListFieldComponent, { className: "WriteDynamicMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.ts", lineNumber: 11 }); })();
|
|
18079
18068
|
|
|
@@ -18924,7 +18913,10 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
18924
18913
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteJudicialUserFieldComponent, { className: "WriteJudicialUserFieldComponent", filePath: "lib/shared/components/palette/judicial-user/write-judicial-user-field.component.ts", lineNumber: 19 }); })();
|
|
18925
18914
|
|
|
18926
18915
|
function ReadStaffUserFieldComponent_ccd_loading_spinner_0_Template(rf, ctx) { if (rf & 1) {
|
|
18927
|
-
i0.ɵɵelement(0, "ccd-loading-spinner");
|
|
18916
|
+
i0.ɵɵelement(0, "ccd-loading-spinner", 1);
|
|
18917
|
+
} if (rf & 2) {
|
|
18918
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
18919
|
+
i0.ɵɵproperty("loading", ctx_r0.showSpinner)("hidden", !ctx_r0.showSpinner);
|
|
18928
18920
|
} }
|
|
18929
18921
|
class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
18930
18922
|
caseworkerService;
|
|
@@ -18958,8 +18950,8 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18958
18950
|
}
|
|
18959
18951
|
}
|
|
18960
18952
|
static ɵfac = function ReadStaffUserFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadStaffUserFieldComponent)(i0.ɵɵdirectiveInject(CaseworkerService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
18961
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadStaffUserFieldComponent, selectors: [["ccd-read-staff-user-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"]], template: function ReadStaffUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18962
|
-
i0.ɵɵtemplate(0, ReadStaffUserFieldComponent_ccd_loading_spinner_0_Template, 1,
|
|
18953
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadStaffUserFieldComponent, selectors: [["ccd-read-staff-user-field"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[3, "loading", "hidden", 4, "ngIf"], [3, "loading", "hidden"]], template: function ReadStaffUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18954
|
+
i0.ɵɵtemplate(0, ReadStaffUserFieldComponent_ccd_loading_spinner_0_Template, 1, 2, "ccd-loading-spinner", 0);
|
|
18963
18955
|
i0.ɵɵelementStart(1, "span");
|
|
18964
18956
|
i0.ɵɵtext(2);
|
|
18965
18957
|
i0.ɵɵelementEnd();
|
|
@@ -18971,7 +18963,7 @@ class ReadStaffUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
18971
18963
|
}
|
|
18972
18964
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadStaffUserFieldComponent, [{
|
|
18973
18965
|
type: Component,
|
|
18974
|
-
args: [{ selector: 'ccd-read-staff-user-field', standalone: false, template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<span>{{ displayName }}</span
|
|
18966
|
+
args: [{ selector: 'ccd-read-staff-user-field', standalone: false, template: "<ccd-loading-spinner *ngIf=\"showSpinner\" [loading]=\"showSpinner\" [hidden]=\"!showSpinner\"></ccd-loading-spinner>\n<span>{{ displayName }}</span>" }]
|
|
18975
18967
|
}], () => [{ type: CaseworkerService }, { type: JurisdictionService }], null); })();
|
|
18976
18968
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadStaffUserFieldComponent, { className: "ReadStaffUserFieldComponent", filePath: "lib/shared/components/palette/staff-user/read-staff-user-field.component.ts", lineNumber: 13 }); })();
|
|
18977
18969
|
|
|
@@ -26674,7 +26666,18 @@ const richTextNodes = {
|
|
|
26674
26666
|
}, 0]
|
|
26675
26667
|
}
|
|
26676
26668
|
};
|
|
26677
|
-
const
|
|
26669
|
+
const richTextMarks = {
|
|
26670
|
+
...marks,
|
|
26671
|
+
em: {
|
|
26672
|
+
...marks.em,
|
|
26673
|
+
toDOM: () => ['i', 0]
|
|
26674
|
+
},
|
|
26675
|
+
strong: {
|
|
26676
|
+
...marks.strong,
|
|
26677
|
+
toDOM: () => ['b', 0]
|
|
26678
|
+
}
|
|
26679
|
+
};
|
|
26680
|
+
const richTextSchema = new Schema({ nodes: richTextNodes, marks: richTextMarks });
|
|
26678
26681
|
class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
26679
26682
|
editorHost;
|
|
26680
26683
|
editor;
|
|
@@ -27512,6 +27515,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27512
27515
|
this.removeUnsupportedMarkup(documentElement);
|
|
27513
27516
|
this.normaliseDateRangeSpacing(documentElement);
|
|
27514
27517
|
this.removeUnsupportedAttributes(documentElement);
|
|
27518
|
+
this.normaliseDocmosisInlineFormatting(documentElement);
|
|
27515
27519
|
const hasMeaningfulContent = this.hasMeaningfulRichTextContent(documentElement);
|
|
27516
27520
|
if (hasMeaningfulContent) {
|
|
27517
27521
|
this.preserveDocmosisBlankParagraphs(documentElement);
|
|
@@ -27537,6 +27541,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27537
27541
|
this.removeUnsupportedMarkup(documentElement);
|
|
27538
27542
|
this.normaliseDateRangeSpacing(documentElement);
|
|
27539
27543
|
this.removeUnsupportedAttributes(documentElement);
|
|
27544
|
+
this.normaliseDocmosisInlineFormatting(documentElement);
|
|
27540
27545
|
const hasMeaningfulContent = this.hasMeaningfulRichTextContent(documentElement);
|
|
27541
27546
|
if (hasMeaningfulContent) {
|
|
27542
27547
|
this.preserveDocmosisBlankParagraphs(documentElement);
|
|
@@ -27553,6 +27558,24 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
27553
27558
|
preserveDocmosisBlankParagraphs(documentElement) {
|
|
27554
27559
|
this.replaceBlankParagraphContent(documentElement, '\u00a0');
|
|
27555
27560
|
}
|
|
27561
|
+
/**
|
|
27562
|
+
* Uses the presentational tags supported by Docmosis while continuing to
|
|
27563
|
+
* accept the equivalent semantic tags when existing content is loaded.
|
|
27564
|
+
*/
|
|
27565
|
+
normaliseDocmosisInlineFormatting(documentElement) {
|
|
27566
|
+
this.replaceElements(documentElement, 'strong', 'b');
|
|
27567
|
+
this.replaceElements(documentElement, 'em', 'i');
|
|
27568
|
+
}
|
|
27569
|
+
replaceElements(documentElement, sourceTag, targetTag) {
|
|
27570
|
+
const elements = Array.prototype.slice.call(documentElement.body.querySelectorAll(sourceTag));
|
|
27571
|
+
elements.forEach((element) => {
|
|
27572
|
+
const replacement = documentElement.createElement(targetTag);
|
|
27573
|
+
while (element.firstChild) {
|
|
27574
|
+
replacement.appendChild(element.firstChild);
|
|
27575
|
+
}
|
|
27576
|
+
element.replaceWith(replacement);
|
|
27577
|
+
});
|
|
27578
|
+
}
|
|
27556
27579
|
hasMeaningfulRichTextContent(documentElement) {
|
|
27557
27580
|
const visibleText = (documentElement.body.textContent || '')
|
|
27558
27581
|
.replace(/[\s\u00a0\u200b-\u200d\ufeff]/g, '');
|
|
@@ -29288,7 +29311,7 @@ class WriteRichTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
29288
29311
|
type: ViewChild,
|
|
29289
29312
|
args: ['editorHost']
|
|
29290
29313
|
}] }); })();
|
|
29291
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteRichTextAreaFieldComponent, { className: "WriteRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/write-rich-text-area-field.component.ts", lineNumber:
|
|
29314
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteRichTextAreaFieldComponent, { className: "WriteRichTextAreaFieldComponent", filePath: "lib/shared/components/palette/rich-text-area/write-rich-text-area-field.component.ts", lineNumber: 151 }); })();
|
|
29292
29315
|
|
|
29293
29316
|
class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
29294
29317
|
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextFieldComponent_BaseFactory; return function ReadTextFieldComponent_Factory(__ngFactoryType__) { return (ɵReadTextFieldComponent_BaseFactory || (ɵReadTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadTextFieldComponent)))(__ngFactoryType__ || ReadTextFieldComponent); }; })();
|
|
@@ -36326,7 +36349,7 @@ class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
36326
36349
|
}] }); })();
|
|
36327
36350
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadOrganisationFieldRawComponent, { className: "ReadOrganisationFieldRawComponent", filePath: "lib/shared/components/palette/organisation/read-organisation-field-raw.component.ts", lineNumber: 16 }); })();
|
|
36328
36351
|
|
|
36329
|
-
function
|
|
36352
|
+
function ReadOrganisationFieldTableComponent_table_13_Template(rf, ctx) { if (rf & 1) {
|
|
36330
36353
|
i0.ɵɵelementStart(0, "table", 1)(1, "tr", 6);
|
|
36331
36354
|
i0.ɵɵelement(2, "th", 7);
|
|
36332
36355
|
i0.ɵɵelementStart(3, "td", 8)(4, "span", 4);
|
|
@@ -36374,29 +36397,31 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
36374
36397
|
}
|
|
36375
36398
|
}
|
|
36376
36399
|
static ɵfac = function ReadOrganisationFieldTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadOrganisationFieldTableComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter)); };
|
|
36377
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
36400
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 15, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36378
36401
|
i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
|
|
36379
36402
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
36380
36403
|
i0.ɵɵelementStart(3, "tbody")(4, "tr")(5, "th", 2)(6, "dl", 3)(7, "dt")(8, "span", 4);
|
|
36381
36404
|
i0.ɵɵtext(9);
|
|
36382
36405
|
i0.ɵɵpipe(10, "rpxTranslate");
|
|
36383
|
-
i0.ɵɵelementEnd()()
|
|
36384
|
-
i0.ɵɵ
|
|
36385
|
-
i0.ɵɵ
|
|
36386
|
-
i0.ɵɵ
|
|
36406
|
+
i0.ɵɵelementEnd()();
|
|
36407
|
+
i0.ɵɵelement(11, "dd");
|
|
36408
|
+
i0.ɵɵelementEnd()();
|
|
36409
|
+
i0.ɵɵelementStart(12, "td");
|
|
36410
|
+
i0.ɵɵtemplate(13, ReadOrganisationFieldTableComponent_table_13_Template, 16, 5, "table", 5);
|
|
36411
|
+
i0.ɵɵpipe(14, "async");
|
|
36387
36412
|
i0.ɵɵelementEnd()()()()();
|
|
36388
36413
|
} if (rf & 2) {
|
|
36389
36414
|
i0.ɵɵadvance();
|
|
36390
36415
|
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 3, "complex organisation field table"));
|
|
36391
36416
|
i0.ɵɵadvance(8);
|
|
36392
36417
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 5, ctx.caseField.label));
|
|
36393
|
-
i0.ɵɵadvance(
|
|
36394
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(
|
|
36418
|
+
i0.ɵɵadvance(4);
|
|
36419
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(14, 7, ctx.selectedOrg$));
|
|
36395
36420
|
} }, dependencies: [i5.NgIf, MarkdownComponent, i5.AsyncPipe, i1.RpxTranslatePipe], styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}.hmcts-banner[_ngcontent-%COMP%]{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{font-weight:700}.govuk-hint[_ngcontent-%COMP%]{font-size:1.1rem}.name-header[_ngcontent-%COMP%]{font-weight:700;margin-top:10px;font-size:18px}.td-address[_ngcontent-%COMP%]{width:90%;padding-top:2px}.td-select[_ngcontent-%COMP%]{width:10%}.warning-panel[_ngcontent-%COMP%]{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{padding-left:15px}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{border:none}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%], .complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.complex-field-title[_ngcontent-%COMP%]{width:300px}.label-width-small[_ngcontent-%COMP%]{width:100px}.label-width-medium[_ngcontent-%COMP%]{width:150px}.scroll-container[_ngcontent-%COMP%]{height:600px;overflow-y:scroll}.no-result-message[_ngcontent-%COMP%]{margin-top:15px}"] });
|
|
36396
36421
|
}
|
|
36397
36422
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldTableComponent, [{
|
|
36398
36423
|
type: Component,
|
|
36399
|
-
args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-describedby]=\"'complex organisation field table' | rpxTranslate\">\n <tbody>\n <tr>\n <th class=\"complex-field-title\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n </dl>\n </th>\n <td>\n <table class=\"complex-field-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\"\n [attr.aria-describedby]=\"'selected organisation field table'\">\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Name:'}}</span></td>\n <td><span class=\"text-16\">{{selectedOrg.name}}</span></td>\n </tr>\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Address:'}}</span></td>\n <td>\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
|
|
36424
|
+
args: [{ selector: 'ccd-read-organisation-field-table', standalone: false, template: "<div class=\"complex-panel\">\n <table class=\"complex-field-table\" [attr.aria-describedby]=\"'complex organisation field table' | rpxTranslate\">\n <tbody>\n <tr>\n <th class=\"complex-field-title\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n </th>\n <td>\n <table class=\"complex-field-table\" *ngIf=\"(selectedOrg$ | async) as selectedOrg\"\n [attr.aria-describedby]=\"'selected organisation field table'\">\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Name:'}}</span></td>\n <td><span class=\"text-16\">{{selectedOrg.name}}</span></td>\n </tr>\n <tr class=\"complex-panel-compound-field\">\n <th style=\"display: none;\"></th>\n <td class=\"label-width-medium\"><span class=\"text-16\">{{'Address:'}}</span></td>\n <td>\n <ccd-markdown [content]=\"selectedOrg.address\"></ccd-markdown>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}.hmcts-banner{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner .warning-message{font-weight:700}.govuk-hint{font-size:1.1rem}.name-header{font-weight:700;margin-top:10px;font-size:18px}.td-address{width:90%;padding-top:2px}.td-select{width:10%}.warning-panel{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel .warning-message{padding-left:15px}.complex-field-table>tbody>tr>th{border:none}.complex-field-table>tbody>tr:last-child>th,.complex-field-table>tbody>tr:last-child>td{border-bottom:none}.complex-field-title{width:300px}.label-width-small{width:100px}.label-width-medium{width:150px}.scroll-container{height:600px;overflow-y:scroll}.no-result-message{margin-top:15px}\n"] }]
|
|
36400
36425
|
}], () => [{ type: OrganisationService }, { type: OrganisationConverter }], { caseFields: [{
|
|
36401
36426
|
type: Input
|
|
36402
36427
|
}] }); })();
|
|
@@ -38067,26 +38092,41 @@ class CaseProgressComponent {
|
|
|
38067
38092
|
}] }); })();
|
|
38068
38093
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseProgressComponent, { className: "CaseProgressComponent", filePath: "lib/shared/components/case-editor/case-progress/case-progress.component.ts", lineNumber: 18 }); })();
|
|
38069
38094
|
|
|
38095
|
+
function LoadingSpinnerComponent_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
38096
|
+
i0.ɵɵelementStart(0, "p");
|
|
38097
|
+
i0.ɵɵtext(1);
|
|
38098
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
38099
|
+
i0.ɵɵelementEnd();
|
|
38100
|
+
} if (rf & 2) {
|
|
38101
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
38102
|
+
i0.ɵɵadvance();
|
|
38103
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.loadingText));
|
|
38104
|
+
} }
|
|
38105
|
+
function LoadingSpinnerComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
38106
|
+
i0.ɵɵelement(0, "div", 4);
|
|
38107
|
+
} }
|
|
38070
38108
|
class LoadingSpinnerComponent {
|
|
38071
38109
|
loadingText = 'Loading';
|
|
38110
|
+
loading = true;
|
|
38072
38111
|
static ɵfac = function LoadingSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingSpinnerComponent)(); };
|
|
38073
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingSpinnerComponent, selectors: [["ccd-loading-spinner"]], inputs: { loadingText: "loadingText" }, standalone: false, decls:
|
|
38074
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)
|
|
38075
|
-
i0.ɵɵ
|
|
38076
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
38077
|
-
i0.ɵɵelementEnd();
|
|
38078
|
-
i0.ɵɵelement(5, "div", 2);
|
|
38112
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingSpinnerComponent, selectors: [["ccd-loading-spinner"]], inputs: { loadingText: "loadingText", loading: "loading" }, standalone: false, decls: 4, vars: 2, consts: [["role", "status", "aria-live", "polite", "aria-atomic", "true", 1, "spinner-container"], [1, "spinner-inner-container"], [4, "ngIf"], ["class", "spinner", "style", "margin: auto;", 4, "ngIf"], [1, "spinner", 2, "margin", "auto"]], template: function LoadingSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38113
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
38114
|
+
i0.ɵɵtemplate(2, LoadingSpinnerComponent_p_2_Template, 3, 3, "p", 2)(3, LoadingSpinnerComponent_div_3_Template, 1, 0, "div", 3);
|
|
38079
38115
|
i0.ɵɵelementEnd()();
|
|
38080
38116
|
} if (rf & 2) {
|
|
38081
|
-
i0.ɵɵadvance(
|
|
38082
|
-
i0.ɵɵ
|
|
38083
|
-
|
|
38117
|
+
i0.ɵɵadvance(2);
|
|
38118
|
+
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
38119
|
+
i0.ɵɵadvance();
|
|
38120
|
+
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
38121
|
+
} }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:#ffffff80;z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #dddddd;border-top:10px solid #000000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], encapsulation: 2 });
|
|
38084
38122
|
}
|
|
38085
38123
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingSpinnerComponent, [{
|
|
38086
38124
|
type: Component,
|
|
38087
|
-
args: [{ selector: 'ccd-loading-spinner', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"spinner-container\">\n <div class=\"spinner-inner-container\">\n <p>{{loadingText | rpxTranslate}}</p>\n <div class=\"spinner\" style=\"margin: auto;\"></div>\n </div>\n</div>\n", styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:#ffffff80;z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #dddddd;border-top:10px solid #000000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
38125
|
+
args: [{ selector: 'ccd-loading-spinner', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"spinner-container\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n <div class=\"spinner-inner-container\">\n <p *ngIf=\"loading\">{{loadingText | rpxTranslate}}</p>\n <div *ngIf=\"loading\" class=\"spinner\" style=\"margin: auto;\"></div>\n </div>\n</div>\n", styles: [".spinner-container{position:fixed;top:0;left:0;height:100%;width:100%;display:flex;justify-content:center;align-items:center;background:#ffffff80;z-index:99}.spinner-container .spinner-inner-container p{text-align:center}.spinner-container .spinner-inner-container .spinner{border:10px solid #dddddd;border-top:10px solid #000000;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
38088
38126
|
}], null, { loadingText: [{
|
|
38089
38127
|
type: Input
|
|
38128
|
+
}], loading: [{
|
|
38129
|
+
type: Input
|
|
38090
38130
|
}] }); })();
|
|
38091
38131
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingSpinnerComponent, { className: "LoadingSpinnerComponent", filePath: "lib/shared/components/loading-spinner/loading-spinner.component.ts", lineNumber: 11 }); })();
|
|
38092
38132
|
|
|
@@ -40816,7 +40856,10 @@ class CaseViewComponent {
|
|
|
40816
40856
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseViewComponent, { className: "CaseViewComponent", filePath: "lib/shared/components/case-viewer/case-view/case-view.component.ts", lineNumber: 19 }); })();
|
|
40817
40857
|
|
|
40818
40858
|
function CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template(rf, ctx) { if (rf & 1) {
|
|
40819
|
-
i0.ɵɵelement(0, "ccd-loading-spinner");
|
|
40859
|
+
i0.ɵɵelement(0, "ccd-loading-spinner", 11);
|
|
40860
|
+
} if (rf & 2) {
|
|
40861
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
40862
|
+
i0.ɵɵproperty("loading", ctx_r0.showSpinner)("hidden", !ctx_r0.showSpinner);
|
|
40820
40863
|
} }
|
|
40821
40864
|
function CaseBasicAccessViewComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
40822
40865
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -40859,11 +40902,11 @@ function CaseBasicAccessViewComponent_ng_container_7_Template(rf, ctx) { if (rf
|
|
|
40859
40902
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes"), ".");
|
|
40860
40903
|
} }
|
|
40861
40904
|
function CaseBasicAccessViewComponent_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
40862
|
-
i0.ɵɵelementStart(0, "div",
|
|
40905
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
40863
40906
|
i0.ɵɵtext(2);
|
|
40864
40907
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
40865
40908
|
i0.ɵɵelementEnd();
|
|
40866
|
-
i0.ɵɵelementStart(4, "dd",
|
|
40909
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
40867
40910
|
i0.ɵɵtext(5);
|
|
40868
40911
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
40869
40912
|
i0.ɵɵelementEnd()();
|
|
@@ -40875,11 +40918,11 @@ function CaseBasicAccessViewComponent_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
40875
40918
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, ctx_r0.caseDetails.basicFields.caseNameHmctsInternal));
|
|
40876
40919
|
} }
|
|
40877
40920
|
function CaseBasicAccessViewComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
40878
|
-
i0.ɵɵelementStart(0, "div",
|
|
40921
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
40879
40922
|
i0.ɵɵtext(2);
|
|
40880
40923
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
40881
40924
|
i0.ɵɵelementEnd();
|
|
40882
|
-
i0.ɵɵelementStart(4, "dd",
|
|
40925
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
40883
40926
|
i0.ɵɵtext(5);
|
|
40884
40927
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
40885
40928
|
i0.ɵɵelementEnd()();
|
|
@@ -40891,11 +40934,11 @@ function CaseBasicAccessViewComponent_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
40891
40934
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, ctx_r0.caseDetails.case_type.jurisdiction.name));
|
|
40892
40935
|
} }
|
|
40893
40936
|
function CaseBasicAccessViewComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
40894
|
-
i0.ɵɵelementStart(0, "div",
|
|
40937
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
40895
40938
|
i0.ɵɵtext(2);
|
|
40896
40939
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
40897
40940
|
i0.ɵɵelementEnd();
|
|
40898
|
-
i0.ɵɵelementStart(4, "dd",
|
|
40941
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
40899
40942
|
i0.ɵɵtext(5);
|
|
40900
40943
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
40901
40944
|
i0.ɵɵelementEnd()();
|
|
@@ -40907,11 +40950,11 @@ function CaseBasicAccessViewComponent_div_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
40907
40950
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, ctx_r0.caseDetails.state.description));
|
|
40908
40951
|
} }
|
|
40909
40952
|
function CaseBasicAccessViewComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
40910
|
-
i0.ɵɵelementStart(0, "div",
|
|
40953
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
40911
40954
|
i0.ɵɵtext(2);
|
|
40912
40955
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
40913
40956
|
i0.ɵɵelementEnd();
|
|
40914
|
-
i0.ɵɵelementStart(4, "dd",
|
|
40957
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
40915
40958
|
i0.ɵɵtext(5);
|
|
40916
40959
|
i0.ɵɵpipe(6, "titlecase");
|
|
40917
40960
|
i0.ɵɵelementEnd()();
|
|
@@ -40923,11 +40966,11 @@ function CaseBasicAccessViewComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
40923
40966
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, ctx_r0.courtOrHearingCentre));
|
|
40924
40967
|
} }
|
|
40925
40968
|
function CaseBasicAccessViewComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
40926
|
-
i0.ɵɵelementStart(0, "div",
|
|
40969
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "dt", 13);
|
|
40927
40970
|
i0.ɵɵtext(2);
|
|
40928
40971
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
40929
40972
|
i0.ɵɵelementEnd();
|
|
40930
|
-
i0.ɵɵelementStart(4, "dd",
|
|
40973
|
+
i0.ɵɵelementStart(4, "dd", 14);
|
|
40931
40974
|
i0.ɵɵtext(5);
|
|
40932
40975
|
i0.ɵɵpipe(6, "titlecase");
|
|
40933
40976
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
@@ -40979,29 +41022,29 @@ class CaseBasicAccessViewComponent {
|
|
|
40979
41022
|
return accessType === 'CHALLENGED' ? 'challenged-access-request' : 'specific-access-request';
|
|
40980
41023
|
}
|
|
40981
41024
|
static ɵfac = function CaseBasicAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseBasicAccessViewComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$2.Router)); };
|
|
40982
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, standalone: false, decls: 29, vars: 23, consts: [[4, "ngIf"], ["type", "information"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key", "summary-key"], [1, "govuk-summary-list__value"]], template: function CaseBasicAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40983
|
-
i0.ɵɵtemplate(0, CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template, 1,
|
|
41025
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, standalone: false, decls: 29, vars: 23, consts: [[3, "loading", "hidden", 4, "ngIf"], ["type", "information"], [4, "ngIf"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "#", 1, "govuk-body", 3, "click"], [3, "loading", "hidden"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key", "summary-key"], [1, "govuk-summary-list__value"]], template: function CaseBasicAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41026
|
+
i0.ɵɵtemplate(0, CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template, 1, 2, "ccd-loading-spinner", 0);
|
|
40984
41027
|
i0.ɵɵelementStart(1, "div")(2, "cut-alert", 1);
|
|
40985
|
-
i0.ɵɵtemplate(3, CaseBasicAccessViewComponent_ng_container_3_Template, 6, 11, "ng-container",
|
|
41028
|
+
i0.ɵɵtemplate(3, CaseBasicAccessViewComponent_ng_container_3_Template, 6, 11, "ng-container", 2)(4, CaseBasicAccessViewComponent_ng_container_4_Template, 3, 3, "ng-container", 2);
|
|
40986
41029
|
i0.ɵɵelement(5, "br");
|
|
40987
|
-
i0.ɵɵtemplate(6, CaseBasicAccessViewComponent_ng_container_6_Template, 3, 3, "ng-container",
|
|
41030
|
+
i0.ɵɵtemplate(6, CaseBasicAccessViewComponent_ng_container_6_Template, 3, 3, "ng-container", 2)(7, CaseBasicAccessViewComponent_ng_container_7_Template, 3, 3, "ng-container", 2);
|
|
40988
41031
|
i0.ɵɵelementEnd();
|
|
40989
|
-
i0.ɵɵelementStart(8, "h1",
|
|
41032
|
+
i0.ɵɵelementStart(8, "h1", 3);
|
|
40990
41033
|
i0.ɵɵtext(9);
|
|
40991
41034
|
i0.ɵɵpipe(10, "ccdCaseReference");
|
|
40992
41035
|
i0.ɵɵelementEnd();
|
|
40993
|
-
i0.ɵɵelementStart(11, "h2",
|
|
41036
|
+
i0.ɵɵelementStart(11, "h2", 4);
|
|
40994
41037
|
i0.ɵɵtext(12);
|
|
40995
41038
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
40996
41039
|
i0.ɵɵelementEnd();
|
|
40997
|
-
i0.ɵɵelementStart(14, "dl",
|
|
40998
|
-
i0.ɵɵtemplate(15, CaseBasicAccessViewComponent_div_15_Template, 7, 6, "div",
|
|
41040
|
+
i0.ɵɵelementStart(14, "dl", 5);
|
|
41041
|
+
i0.ɵɵtemplate(15, CaseBasicAccessViewComponent_div_15_Template, 7, 6, "div", 6)(16, CaseBasicAccessViewComponent_div_16_Template, 7, 6, "div", 6)(17, CaseBasicAccessViewComponent_div_17_Template, 7, 6, "div", 6)(18, CaseBasicAccessViewComponent_div_18_Template, 7, 6, "div", 6)(19, CaseBasicAccessViewComponent_div_19_Template, 8, 8, "div", 6);
|
|
40999
41042
|
i0.ɵɵelementEnd()();
|
|
41000
|
-
i0.ɵɵelementStart(20, "div",
|
|
41043
|
+
i0.ɵɵelementStart(20, "div", 7)(21, "button", 8);
|
|
41001
41044
|
i0.ɵɵtext(22);
|
|
41002
41045
|
i0.ɵɵpipe(23, "rpxTranslate");
|
|
41003
41046
|
i0.ɵɵelementEnd();
|
|
41004
|
-
i0.ɵɵelementStart(24, "div",
|
|
41047
|
+
i0.ɵɵelementStart(24, "div", 9)(25, "p")(26, "a", 10);
|
|
41005
41048
|
i0.ɵɵlistener("click", function CaseBasicAccessViewComponent_Template_a_click_26_listener($event) { ctx.onCancel(); return $event.preventDefault(); });
|
|
41006
41049
|
i0.ɵɵtext(27);
|
|
41007
41050
|
i0.ɵɵpipe(28, "rpxTranslate");
|
|
@@ -41040,7 +41083,7 @@ class CaseBasicAccessViewComponent {
|
|
|
41040
41083
|
}
|
|
41041
41084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseBasicAccessViewComponent, [{
|
|
41042
41085
|
type: Component,
|
|
41043
|
-
args: [{ selector: 'ccd-case-basic-access-view', standalone: false, template: "<ccd-loading-spinner
|
|
41086
|
+
args: [{ selector: 'ccd-case-basic-access-view', standalone: false, template: "<ccd-loading-spinner *ngIf=\"showSpinner\" [loading]=\"showSpinner\" [hidden]=\"!showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Access' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase | rpxTranslate}}</dd>\n </div>\n </dl>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" [routerLink]=\"getRequestUrl(accessType)\">\n {{'Request access' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel(); $event.preventDefault()\" href=\"#\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n</div>\n" }]
|
|
41044
41087
|
}], () => [{ type: CasesService }, { type: i1$2.Router }], { caseDetails: [{
|
|
41045
41088
|
type: Input
|
|
41046
41089
|
}], accessType: [{
|
|
@@ -45483,11 +45526,11 @@ i0.ɵɵsetComponentScope(SearchFiltersWrapperComponent, function () { return [i5
|
|
|
45483
45526
|
|
|
45484
45527
|
const _c0 = (a0, a1, a2) => ({ itemsPerPage: a0, currentPage: a1, totalItems: a2 });
|
|
45485
45528
|
const _c1 = () => ["value"];
|
|
45486
|
-
function
|
|
45487
|
-
i0.ɵɵelementStart(0, "div",
|
|
45529
|
+
function SearchResultComponent_table_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
45530
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "span", 14);
|
|
45488
45531
|
i0.ɵɵtext(2, "!");
|
|
45489
45532
|
i0.ɵɵelementEnd();
|
|
45490
|
-
i0.ɵɵelementStart(3, "strong",
|
|
45533
|
+
i0.ɵɵelementStart(3, "strong", 15)(4, "span", 16);
|
|
45491
45534
|
i0.ɵɵtext(5);
|
|
45492
45535
|
i0.ɵɵpipe(6, "rpxTranslate");
|
|
45493
45536
|
i0.ɵɵelementEnd();
|
|
@@ -45503,54 +45546,49 @@ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
45503
45546
|
i0.ɵɵadvance(2);
|
|
45504
45547
|
i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r0.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
|
|
45505
45548
|
} }
|
|
45506
|
-
function
|
|
45507
|
-
i0.ɵɵelementStart(0, "div",
|
|
45508
|
-
i0.ɵɵ
|
|
45509
|
-
i0.ɵɵpipe(
|
|
45510
|
-
i0.ɵɵelementStart(
|
|
45511
|
-
i0.ɵɵtext(
|
|
45512
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
45513
|
-
i0.ɵɵelementStart(6, "span", 18);
|
|
45514
|
-
i0.ɵɵtext(7);
|
|
45549
|
+
function SearchResultComponent_table_3_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
45550
|
+
i0.ɵɵelementStart(0, "div", 17)(1, "span", 18);
|
|
45551
|
+
i0.ɵɵtext(2);
|
|
45552
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
45553
|
+
i0.ɵɵelementStart(4, "span", 19);
|
|
45554
|
+
i0.ɵɵtext(5);
|
|
45515
45555
|
i0.ɵɵelementEnd();
|
|
45516
|
-
i0.ɵɵtext(
|
|
45517
|
-
i0.ɵɵpipe(
|
|
45518
|
-
i0.ɵɵelementStart(
|
|
45519
|
-
i0.ɵɵtext(
|
|
45556
|
+
i0.ɵɵtext(6);
|
|
45557
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
45558
|
+
i0.ɵɵelementStart(8, "span", 19);
|
|
45559
|
+
i0.ɵɵtext(9);
|
|
45520
45560
|
i0.ɵɵelementEnd();
|
|
45521
|
-
i0.ɵɵtext(
|
|
45522
|
-
i0.ɵɵpipe(
|
|
45523
|
-
i0.ɵɵelementStart(
|
|
45524
|
-
i0.ɵɵtext(
|
|
45561
|
+
i0.ɵɵtext(10);
|
|
45562
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
45563
|
+
i0.ɵɵelementStart(12, "span", 19);
|
|
45564
|
+
i0.ɵɵtext(13);
|
|
45525
45565
|
i0.ɵɵelementEnd();
|
|
45526
|
-
i0.ɵɵtext(
|
|
45527
|
-
i0.ɵɵpipe(
|
|
45566
|
+
i0.ɵɵtext(14);
|
|
45567
|
+
i0.ɵɵpipe(15, "rpxTranslate");
|
|
45528
45568
|
i0.ɵɵelementEnd()();
|
|
45529
45569
|
} if (rf & 2) {
|
|
45530
45570
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
45531
|
-
i0.ɵɵadvance();
|
|
45532
|
-
i0.ɵɵ
|
|
45533
|
-
i0.ɵɵadvance(3);
|
|
45534
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
|
|
45571
|
+
i0.ɵɵadvance(2);
|
|
45572
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 7, "Showing"), " ");
|
|
45535
45573
|
i0.ɵɵadvance(3);
|
|
45536
45574
|
i0.ɵɵtextInterpolate(ctx_r0.getFirstResult());
|
|
45537
45575
|
i0.ɵɵadvance();
|
|
45538
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
45576
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 9, "to"), " ");
|
|
45539
45577
|
i0.ɵɵadvance(3);
|
|
45540
45578
|
i0.ɵɵtextInterpolate(ctx_r0.getLastResult());
|
|
45541
45579
|
i0.ɵɵadvance();
|
|
45542
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
45580
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 11, "of"), " ");
|
|
45543
45581
|
i0.ɵɵadvance(3);
|
|
45544
45582
|
i0.ɵɵtextInterpolate(ctx_r0.getTotalResults());
|
|
45545
45583
|
i0.ɵɵadvance();
|
|
45546
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
45584
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 13, "results"));
|
|
45547
45585
|
} }
|
|
45548
|
-
function
|
|
45586
|
+
function SearchResultComponent_table_3_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
45549
45587
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
45550
|
-
i0.ɵɵelementStart(0, "div",
|
|
45588
|
+
i0.ɵɵelementStart(0, "div", 20);
|
|
45551
45589
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
45552
|
-
i0.ɵɵelementStart(2, "span")(3, "a",
|
|
45553
|
-
i0.ɵɵlistener("click", function
|
|
45590
|
+
i0.ɵɵelementStart(2, "span")(3, "a", 21);
|
|
45591
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_3_div_7_Template_a_click_3_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.clearSelection(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
45554
45592
|
i0.ɵɵtext(4);
|
|
45555
45593
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
45556
45594
|
i0.ɵɵelementEnd()()();
|
|
@@ -45559,12 +45597,12 @@ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
45559
45597
|
i0.ɵɵadvance(4);
|
|
45560
45598
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
|
|
45561
45599
|
} }
|
|
45562
|
-
function
|
|
45600
|
+
function SearchResultComponent_table_3_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
45563
45601
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
45564
|
-
i0.ɵɵelementStart(0, "td",
|
|
45565
|
-
i0.ɵɵlistener("change", function
|
|
45602
|
+
i0.ɵɵelementStart(0, "td", 22)(1, "div", 23)(2, "input", 24);
|
|
45603
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_3_td_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.selectAll()); });
|
|
45566
45604
|
i0.ɵɵelementEnd();
|
|
45567
|
-
i0.ɵɵelement(3, "label",
|
|
45605
|
+
i0.ɵɵelement(3, "label", 25);
|
|
45568
45606
|
i0.ɵɵelementEnd()();
|
|
45569
45607
|
} if (rf & 2) {
|
|
45570
45608
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
@@ -45573,11 +45611,11 @@ function SearchResultComponent_table_0_td_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
45573
45611
|
i0.ɵɵadvance();
|
|
45574
45612
|
i0.ɵɵattribute("aria-labelledby", "select-all");
|
|
45575
45613
|
} }
|
|
45576
|
-
function
|
|
45614
|
+
function SearchResultComponent_table_3_th_11_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
45577
45615
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
45578
|
-
i0.ɵɵelementStart(0, "div",
|
|
45616
|
+
i0.ɵɵelementStart(0, "div", 29)(1, "a", 30);
|
|
45579
45617
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45580
|
-
i0.ɵɵlistener("click", function
|
|
45618
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_3_th_11_div_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); ctx_r0.sort(col_r5); return i0.ɵɵresetView($event.preventDefault()); })("keyup.enter", function SearchResultComponent_table_3_th_11_div_5_Template_a_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r6); const col_r5 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); });
|
|
45581
45619
|
i0.ɵɵelementEnd()();
|
|
45582
45620
|
} if (rf & 2) {
|
|
45583
45621
|
const col_r5 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45586,14 +45624,14 @@ function SearchResultComponent_table_0_th_11_div_5_Template(rf, ctx) { if (rf &
|
|
|
45586
45624
|
i0.ɵɵproperty("innerHTML", ctx_r0.sortWidget(col_r5), i0.ɵɵsanitizeHtml);
|
|
45587
45625
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 2, "Sort " + col_r5.label));
|
|
45588
45626
|
} }
|
|
45589
|
-
function
|
|
45627
|
+
function SearchResultComponent_table_3_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
45590
45628
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
45591
|
-
i0.ɵɵelementStart(0, "th",
|
|
45592
|
-
i0.ɵɵlistener("click", function
|
|
45629
|
+
i0.ɵɵelementStart(0, "th", 26)(1, "div")(2, "div", 27);
|
|
45630
|
+
i0.ɵɵlistener("click", function SearchResultComponent_table_3_th_11_Template_div_click_2_listener() { const col_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.sort(col_r5)); })("keyup", function SearchResultComponent_table_3_th_11_Template_div_keyup_2_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.noop()); });
|
|
45593
45631
|
i0.ɵɵtext(3);
|
|
45594
45632
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
45595
45633
|
i0.ɵɵelementEnd();
|
|
45596
|
-
i0.ɵɵtemplate(5,
|
|
45634
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_3_th_11_div_5_Template, 3, 4, "div", 28);
|
|
45597
45635
|
i0.ɵɵelementEnd()();
|
|
45598
45636
|
} if (rf & 2) {
|
|
45599
45637
|
const col_r5 = ctx.$implicit;
|
|
@@ -45604,17 +45642,17 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
45604
45642
|
i0.ɵɵadvance(2);
|
|
45605
45643
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
45606
45644
|
} }
|
|
45607
|
-
function
|
|
45608
|
-
i0.ɵɵelementStart(0, "th",
|
|
45645
|
+
function SearchResultComponent_table_3_th_12_Template(rf, ctx) { if (rf & 1) {
|
|
45646
|
+
i0.ɵɵelementStart(0, "th", 31);
|
|
45609
45647
|
i0.ɵɵtext(1, "\u200B");
|
|
45610
45648
|
i0.ɵɵelementEnd();
|
|
45611
45649
|
} }
|
|
45612
|
-
function
|
|
45650
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45613
45651
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
45614
|
-
i0.ɵɵelementStart(0, "td",
|
|
45615
|
-
i0.ɵɵlistener("change", function
|
|
45652
|
+
i0.ɵɵelementStart(0, "td", 35)(1, "div", 23)(2, "input", 36);
|
|
45653
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_3_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r7); const result_r8 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r8)); });
|
|
45616
45654
|
i0.ɵɵelementEnd();
|
|
45617
|
-
i0.ɵɵelement(3, "label",
|
|
45655
|
+
i0.ɵɵelement(3, "label", 37);
|
|
45618
45656
|
i0.ɵɵelementEnd()();
|
|
45619
45657
|
} if (rf & 2) {
|
|
45620
45658
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45625,24 +45663,24 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ct
|
|
|
45625
45663
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r8.case_id));
|
|
45626
45664
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r8.case_id);
|
|
45627
45665
|
} }
|
|
45628
|
-
function
|
|
45629
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
45666
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
45667
|
+
i0.ɵɵelement(0, "ccd-field-read", 45);
|
|
45630
45668
|
} if (rf & 2) {
|
|
45631
45669
|
const col_r9 = i0.ɵɵnextContext(3).$implicit;
|
|
45632
45670
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
45633
45671
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45634
45672
|
i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r8.columns[col_r9.case_field_id], result_r8))("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
|
|
45635
45673
|
} }
|
|
45636
|
-
function
|
|
45674
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
45637
45675
|
i0.ɵɵtext(0);
|
|
45638
45676
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45639
45677
|
} if (rf & 2) {
|
|
45640
45678
|
const result_r8 = i0.ɵɵnextContext(4).$implicit;
|
|
45641
45679
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r8.case_id));
|
|
45642
45680
|
} }
|
|
45643
|
-
function
|
|
45644
|
-
i0.ɵɵelementContainerStart(0,
|
|
45645
|
-
i0.ɵɵtemplate(1,
|
|
45681
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
45682
|
+
i0.ɵɵelementContainerStart(0, 43);
|
|
45683
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 44)(2, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
45646
45684
|
i0.ɵɵelementContainerEnd();
|
|
45647
45685
|
} if (rf & 2) {
|
|
45648
45686
|
const case_reference_r10 = i0.ɵɵreference(3);
|
|
@@ -45652,10 +45690,10 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_containe
|
|
|
45652
45690
|
i0.ɵɵadvance();
|
|
45653
45691
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r9, result_r8))("ngIfElse", case_reference_r10);
|
|
45654
45692
|
} }
|
|
45655
|
-
function
|
|
45656
|
-
i0.ɵɵelementStart(0, "a",
|
|
45693
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
45694
|
+
i0.ɵɵelementStart(0, "a", 41);
|
|
45657
45695
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45658
|
-
i0.ɵɵtemplate(2,
|
|
45696
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 42);
|
|
45659
45697
|
i0.ɵɵelementEnd();
|
|
45660
45698
|
} if (rf & 2) {
|
|
45661
45699
|
const result_r8 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45665,9 +45703,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf
|
|
|
45665
45703
|
i0.ɵɵadvance(2);
|
|
45666
45704
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45667
45705
|
} }
|
|
45668
|
-
function
|
|
45669
|
-
i0.ɵɵelementStart(0, "div",
|
|
45670
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
45706
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45707
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
45708
|
+
i0.ɵɵelement(1, "ccd-field-read", 45);
|
|
45671
45709
|
i0.ɵɵelementEnd();
|
|
45672
45710
|
} if (rf & 2) {
|
|
45673
45711
|
const col_r9 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45677,9 +45715,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(
|
|
|
45677
45715
|
i0.ɵɵadvance();
|
|
45678
45716
|
i0.ɵɵproperty("caseField", result_r8.columns[col_r9.case_field_id])("contextFields", result_r8.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45679
45717
|
} }
|
|
45680
|
-
function
|
|
45681
|
-
i0.ɵɵelementStart(0, "td",
|
|
45682
|
-
i0.ɵɵtemplate(1,
|
|
45718
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
45719
|
+
i0.ɵɵelementStart(0, "td", 38);
|
|
45720
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_a_1_Template, 3, 6, "a", 39)(2, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 40);
|
|
45683
45721
|
i0.ɵɵelementEnd();
|
|
45684
45722
|
} if (rf & 2) {
|
|
45685
45723
|
const colIndex_r11 = ctx.index;
|
|
@@ -45688,9 +45726,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ct
|
|
|
45688
45726
|
i0.ɵɵadvance();
|
|
45689
45727
|
i0.ɵɵproperty("ngIf", colIndex_r11 != 0);
|
|
45690
45728
|
} }
|
|
45691
|
-
function
|
|
45729
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45692
45730
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45693
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45731
|
+
i0.ɵɵelement(2, "ccd-activity", 46);
|
|
45694
45732
|
i0.ɵɵelementEnd()();
|
|
45695
45733
|
} if (rf & 2) {
|
|
45696
45734
|
const result_r8 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45700,9 +45738,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ct
|
|
|
45700
45738
|
i0.ɵɵadvance();
|
|
45701
45739
|
i0.ɵɵproperty("caseId", result_r8.case_id)("displayMode", ctx_r0.ICON);
|
|
45702
45740
|
} }
|
|
45703
|
-
function
|
|
45741
|
+
function SearchResultComponent_table_3_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45704
45742
|
i0.ɵɵelementStart(0, "tr");
|
|
45705
|
-
i0.ɵɵtemplate(1,
|
|
45743
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_14_tr_1_td_1_Template, 4, 9, "td", 33)(2, SearchResultComponent_table_3_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 34)(3, SearchResultComponent_table_3_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 2);
|
|
45706
45744
|
i0.ɵɵelementEnd();
|
|
45707
45745
|
} if (rf & 2) {
|
|
45708
45746
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45713,9 +45751,9 @@ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) {
|
|
|
45713
45751
|
i0.ɵɵadvance();
|
|
45714
45752
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45715
45753
|
} }
|
|
45716
|
-
function
|
|
45754
|
+
function SearchResultComponent_table_3_ng_container_14_Template(rf, ctx) { if (rf & 1) {
|
|
45717
45755
|
i0.ɵɵelementContainerStart(0);
|
|
45718
|
-
i0.ɵɵtemplate(1,
|
|
45756
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_14_tr_1_Template, 4, 3, "tr", 32);
|
|
45719
45757
|
i0.ɵɵpipe(2, "paginate");
|
|
45720
45758
|
i0.ɵɵelementContainerEnd();
|
|
45721
45759
|
} if (rf & 2) {
|
|
@@ -45723,12 +45761,12 @@ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (r
|
|
|
45723
45761
|
i0.ɵɵadvance();
|
|
45724
45762
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, i0.ɵɵpureFunction3(4, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
45725
45763
|
} }
|
|
45726
|
-
function
|
|
45764
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
45727
45765
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
45728
|
-
i0.ɵɵelementStart(0, "td",
|
|
45729
|
-
i0.ɵɵlistener("change", function
|
|
45766
|
+
i0.ɵɵelementStart(0, "td", 35)(1, "div", 23)(2, "input", 47);
|
|
45767
|
+
i0.ɵɵlistener("change", function SearchResultComponent_table_3_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.changeSelection(result_r13)); })("keyup", function SearchResultComponent_table_3_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const result_r13 = i0.ɵɵnextContext().$implicit; const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.onKeyUp($event, result_r13)); });
|
|
45730
45768
|
i0.ɵɵelementEnd();
|
|
45731
|
-
i0.ɵɵelement(3, "label",
|
|
45769
|
+
i0.ɵɵelement(3, "label", 37);
|
|
45732
45770
|
i0.ɵɵelementEnd()();
|
|
45733
45771
|
} if (rf & 2) {
|
|
45734
45772
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45739,24 +45777,24 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ct
|
|
|
45739
45777
|
i0.ɵɵproperty("for", i0.ɵɵinterpolate1("select-", result_r13.case_id));
|
|
45740
45778
|
i0.ɵɵattribute("aria-labelledby", "select-" + result_r13.case_id);
|
|
45741
45779
|
} }
|
|
45742
|
-
function
|
|
45743
|
-
i0.ɵɵelement(0, "ccd-field-read",
|
|
45780
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
|
|
45781
|
+
i0.ɵɵelement(0, "ccd-field-read", 45);
|
|
45744
45782
|
} if (rf & 2) {
|
|
45745
45783
|
const col_r14 = i0.ɵɵnextContext(3).$implicit;
|
|
45746
45784
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
45747
45785
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
45748
45786
|
i0.ɵɵproperty("caseField", ctx_r0.getColumnsWithPrefix(result_r13.columns[col_r14.case_field_id], result_r13))("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c1));
|
|
45749
45787
|
} }
|
|
45750
|
-
function
|
|
45788
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
45751
45789
|
i0.ɵɵtext(0);
|
|
45752
45790
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45753
45791
|
} if (rf & 2) {
|
|
45754
45792
|
const result_r13 = i0.ɵɵnextContext(4).$implicit;
|
|
45755
45793
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r13.case_id));
|
|
45756
45794
|
} }
|
|
45757
|
-
function
|
|
45758
|
-
i0.ɵɵelementContainerStart(0,
|
|
45759
|
-
i0.ɵɵtemplate(1,
|
|
45795
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
45796
|
+
i0.ɵɵelementContainerStart(0, 43);
|
|
45797
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 44)(2, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
45760
45798
|
i0.ɵɵelementContainerEnd();
|
|
45761
45799
|
} if (rf & 2) {
|
|
45762
45800
|
const case_reference_r15 = i0.ɵɵreference(3);
|
|
@@ -45766,10 +45804,10 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_containe
|
|
|
45766
45804
|
i0.ɵɵadvance();
|
|
45767
45805
|
i0.ɵɵproperty("ngIf", ctx_r0.draftPrefixOrGet(col_r14, result_r13))("ngIfElse", case_reference_r15);
|
|
45768
45806
|
} }
|
|
45769
|
-
function
|
|
45770
|
-
i0.ɵɵelementStart(0, "a",
|
|
45807
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
45808
|
+
i0.ɵɵelementStart(0, "a", 41);
|
|
45771
45809
|
i0.ɵɵpipe(1, "ccdCaseReference");
|
|
45772
|
-
i0.ɵɵtemplate(2,
|
|
45810
|
+
i0.ɵɵtemplate(2, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 42);
|
|
45773
45811
|
i0.ɵɵelementEnd();
|
|
45774
45812
|
} if (rf & 2) {
|
|
45775
45813
|
const result_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
@@ -45779,9 +45817,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf
|
|
|
45779
45817
|
i0.ɵɵadvance(2);
|
|
45780
45818
|
i0.ɵɵproperty("ngIf", !ctx_r0.hideRows);
|
|
45781
45819
|
} }
|
|
45782
|
-
function
|
|
45783
|
-
i0.ɵɵelementStart(0, "div",
|
|
45784
|
-
i0.ɵɵelement(1, "ccd-field-read",
|
|
45820
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45821
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
45822
|
+
i0.ɵɵelement(1, "ccd-field-read", 45);
|
|
45785
45823
|
i0.ɵɵelementEnd();
|
|
45786
45824
|
} if (rf & 2) {
|
|
45787
45825
|
const col_r14 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45791,9 +45829,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(
|
|
|
45791
45829
|
i0.ɵɵadvance();
|
|
45792
45830
|
i0.ɵɵproperty("caseField", result_r13.columns[col_r14.case_field_id])("contextFields", result_r13.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c1));
|
|
45793
45831
|
} }
|
|
45794
|
-
function
|
|
45795
|
-
i0.ɵɵelementStart(0, "td",
|
|
45796
|
-
i0.ɵɵtemplate(1,
|
|
45832
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
45833
|
+
i0.ɵɵelementStart(0, "td", 38);
|
|
45834
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_a_1_Template, 3, 6, "a", 39)(2, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 40);
|
|
45797
45835
|
i0.ɵɵelementEnd();
|
|
45798
45836
|
} if (rf & 2) {
|
|
45799
45837
|
const colIndex_r16 = ctx.index;
|
|
@@ -45802,9 +45840,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ct
|
|
|
45802
45840
|
i0.ɵɵadvance();
|
|
45803
45841
|
i0.ɵɵproperty("ngIf", colIndex_r16 != 0);
|
|
45804
45842
|
} }
|
|
45805
|
-
function
|
|
45843
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
|
|
45806
45844
|
i0.ɵɵelementStart(0, "td")(1, "div");
|
|
45807
|
-
i0.ɵɵelement(2, "ccd-activity",
|
|
45845
|
+
i0.ɵɵelement(2, "ccd-activity", 46);
|
|
45808
45846
|
i0.ɵɵelementEnd()();
|
|
45809
45847
|
} if (rf & 2) {
|
|
45810
45848
|
const result_r13 = i0.ɵɵnextContext().$implicit;
|
|
@@ -45814,9 +45852,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ct
|
|
|
45814
45852
|
i0.ɵɵadvance();
|
|
45815
45853
|
i0.ɵɵproperty("caseId", result_r13.case_id)("displayMode", ctx_r0.ICON);
|
|
45816
45854
|
} }
|
|
45817
|
-
function
|
|
45855
|
+
function SearchResultComponent_table_3_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
45818
45856
|
i0.ɵɵelementStart(0, "tr");
|
|
45819
|
-
i0.ɵɵtemplate(1,
|
|
45857
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_15_tr_1_td_1_Template, 4, 9, "td", 33)(2, SearchResultComponent_table_3_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 34)(3, SearchResultComponent_table_3_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 2);
|
|
45820
45858
|
i0.ɵɵelementEnd();
|
|
45821
45859
|
} if (rf & 2) {
|
|
45822
45860
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
|
@@ -45827,9 +45865,9 @@ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) {
|
|
|
45827
45865
|
i0.ɵɵadvance();
|
|
45828
45866
|
i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
|
|
45829
45867
|
} }
|
|
45830
|
-
function
|
|
45868
|
+
function SearchResultComponent_table_3_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
45831
45869
|
i0.ɵɵelementContainerStart(0);
|
|
45832
|
-
i0.ɵɵtemplate(1,
|
|
45870
|
+
i0.ɵɵtemplate(1, SearchResultComponent_table_3_ng_container_15_tr_1_Template, 4, 3, "tr", 32);
|
|
45833
45871
|
i0.ɵɵpipe(2, "ccdSortSearchResult");
|
|
45834
45872
|
i0.ɵɵpipe(3, "paginate");
|
|
45835
45873
|
i0.ɵɵelementContainerEnd();
|
|
@@ -45838,18 +45876,18 @@ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (r
|
|
|
45838
45876
|
i0.ɵɵadvance();
|
|
45839
45877
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(3, 4, i0.ɵɵpipeBind2(2, 1, ctx_r0.resultView.results, ctx_r0.sortParameters), i0.ɵɵpureFunction3(7, _c0, ctx_r0.paginationPageSize, ctx_r0.selected.page, ctx_r0.resultTotal)));
|
|
45840
45878
|
} }
|
|
45841
|
-
function
|
|
45842
|
-
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2",
|
|
45879
|
+
function SearchResultComponent_table_3_Template(rf, ctx) { if (rf & 1) {
|
|
45880
|
+
i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 5);
|
|
45843
45881
|
i0.ɵɵtext(3);
|
|
45844
45882
|
i0.ɵɵpipe(4, "rpxTranslate");
|
|
45845
45883
|
i0.ɵɵelementEnd();
|
|
45846
|
-
i0.ɵɵtemplate(5,
|
|
45884
|
+
i0.ɵɵtemplate(5, SearchResultComponent_table_3_div_5_Template, 11, 12, "div", 6)(6, SearchResultComponent_table_3_div_6_Template, 16, 15, "div", 7)(7, SearchResultComponent_table_3_div_7_Template, 6, 6, "div", 8);
|
|
45847
45885
|
i0.ɵɵelementEnd();
|
|
45848
|
-
i0.ɵɵelementStart(8, "thead")(9, "tr",
|
|
45849
|
-
i0.ɵɵtemplate(10,
|
|
45886
|
+
i0.ɵɵelementStart(8, "thead")(9, "tr", 9);
|
|
45887
|
+
i0.ɵɵtemplate(10, SearchResultComponent_table_3_td_10_Template, 4, 3, "td", 10)(11, SearchResultComponent_table_3_th_11_Template, 6, 5, "th", 11)(12, SearchResultComponent_table_3_th_12_Template, 2, 0, "th", 12);
|
|
45850
45888
|
i0.ɵɵelementEnd()();
|
|
45851
45889
|
i0.ɵɵelementStart(13, "tbody");
|
|
45852
|
-
i0.ɵɵtemplate(14,
|
|
45890
|
+
i0.ɵɵtemplate(14, SearchResultComponent_table_3_ng_container_14_Template, 3, 8, "ng-container", 2)(15, SearchResultComponent_table_3_ng_container_15_Template, 4, 11, "ng-container", 2);
|
|
45853
45891
|
i0.ɵɵelementEnd()();
|
|
45854
45892
|
} if (rf & 2) {
|
|
45855
45893
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -45872,24 +45910,15 @@ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
45872
45910
|
i0.ɵɵadvance();
|
|
45873
45911
|
i0.ɵɵproperty("ngIf", !ctx_r0.consumerSortingEnabled);
|
|
45874
45912
|
} }
|
|
45875
|
-
function
|
|
45913
|
+
function SearchResultComponent_ccd_pagination_4_Template(rf, ctx) { if (rf & 1) {
|
|
45876
45914
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
45877
|
-
i0.ɵɵelementStart(0, "ccd-pagination",
|
|
45878
|
-
i0.ɵɵlistener("pageChange", function
|
|
45915
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 48);
|
|
45916
|
+
i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_4_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.goToPage($event)); });
|
|
45879
45917
|
i0.ɵɵelementEnd();
|
|
45880
45918
|
} if (rf & 2) {
|
|
45881
45919
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
45882
45920
|
i0.ɵɵproperty("visibilityLabel", ctx_r0.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r0.page)("screenReaderCurrentLabel", "You're on page");
|
|
45883
45921
|
} }
|
|
45884
|
-
function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
45885
|
-
i0.ɵɵelementStart(0, "div", 48);
|
|
45886
|
-
i0.ɵɵtext(1);
|
|
45887
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
45888
|
-
i0.ɵɵelementEnd();
|
|
45889
|
-
} if (rf & 2) {
|
|
45890
|
-
i0.ɵɵadvance();
|
|
45891
|
-
i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(2, 1, "No cases found. Try using different filters."), "\n");
|
|
45892
|
-
} }
|
|
45893
45922
|
class SearchResultComponent {
|
|
45894
45923
|
activityService;
|
|
45895
45924
|
caseReferencePipe;
|
|
@@ -46234,19 +46263,32 @@ class SearchResultComponent {
|
|
|
46234
46263
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
46235
46264
|
noop() { }
|
|
46236
46265
|
static ɵfac = function SearchResultComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
46237
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls:
|
|
46238
|
-
i0.ɵɵ
|
|
46266
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 8, vars: 10, consts: [["case_reference", ""], ["role", "status", "aria-live", "polite", "aria-atomic", "true", 1, "govuk-visually-hidden"], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["role", "status", "aria-live", "polite", "aria-atomic", "true"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-visually-hidden"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "#", 1, "search-result-reset-link", 3, "click"], [1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["scope", "col", 1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "#", 1, "sort-widget", 3, "click", "keyup.enter", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46267
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
46268
|
+
i0.ɵɵtext(1);
|
|
46269
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
46270
|
+
i0.ɵɵelementEnd();
|
|
46271
|
+
i0.ɵɵtemplate(3, SearchResultComponent_table_3_Template, 16, 11, "table", 2)(4, SearchResultComponent_ccd_pagination_4_Template, 1, 6, "ccd-pagination", 3);
|
|
46272
|
+
i0.ɵɵelementStart(5, "div", 4);
|
|
46273
|
+
i0.ɵɵtext(6);
|
|
46274
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
46275
|
+
i0.ɵɵelementEnd();
|
|
46239
46276
|
} if (rf & 2) {
|
|
46277
|
+
i0.ɵɵadvance();
|
|
46278
|
+
i0.ɵɵtextInterpolate1(" ", ctx.hasResults() || ctx.hasDrafts() ? ctx.getTotalResults() + " " + i0.ɵɵpipeBind1(2, 6, "results have been found") : "", "\n");
|
|
46279
|
+
i0.ɵɵadvance(2);
|
|
46240
46280
|
i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
|
|
46241
46281
|
i0.ɵɵadvance();
|
|
46242
46282
|
i0.ɵɵproperty("ngIf", ctx.hasResults());
|
|
46243
46283
|
i0.ɵɵadvance();
|
|
46244
|
-
i0.ɵɵ
|
|
46284
|
+
i0.ɵɵclassProp("notification", !(ctx.hasResults() || ctx.hasDrafts()));
|
|
46285
|
+
i0.ɵɵadvance();
|
|
46286
|
+
i0.ɵɵtextInterpolate1("\n", !(ctx.hasResults() || ctx.hasDrafts()) ? i0.ɵɵpipeBind1(7, 8, "No cases found. Try using different filters.") : "", "\n");
|
|
46245
46287
|
} }, styles: [".govuk-js-link[_ngcontent-%COMP%]{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link[_ngcontent-%COMP%]:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link[_ngcontent-%COMP%]:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link[_ngcontent-%COMP%]:visited{color:#4c2c92}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
|
|
46246
46288
|
}
|
|
46247
46289
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
46248
46290
|
type: Component,
|
|
46249
|
-
args: [{ selector: 'ccd-search-result', standalone: false, template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\" role=\"status\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46291
|
+
args: [{ selector: 'ccd-search-result', standalone: false, template: "<div class=\"govuk-visually-hidden\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n {{(hasResults() || hasDrafts()) ? (getTotalResults() + ' ' + ('results have been found' | rpxTranslate)) : ''}}\n</div>\n\n<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-visually-hidden\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"#\" (click)=\"clearSelection(); $event.preventDefault()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col); $event.preventDefault()\" (keyup.enter)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" [attr.aria-label]=\"'Sort ' + col.label | rpxTranslate\" href=\"#\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div [class.notification]=\"!(hasResults() || hasDrafts())\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n{{!(hasResults() || hasDrafts()) ? ('No cases found. Try using different filters.' | rpxTranslate) : ''}}\n</div>\n", styles: [".govuk-js-link{appearance:none;background:none;border:none;color:#005ea5;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0;text-decoration:underline}.govuk-js-link:hover{color:#2b8cc4;text-decoration-thickness:max(3px,.1875rem,.12em)}.govuk-js-link:focus{background-color:#ffbf47;color:#000;outline:3px solid transparent;text-decoration:none;box-shadow:0 -2px #ffbf47,0 4px #000}.govuk-js-link:visited{color:#4c2c92}table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width:379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
46250
46292
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
46251
46293
|
type: Input
|
|
46252
46294
|
}], jurisdiction: [{
|