@hmcts/ccd-case-ui-toolkit 7.0.16-welsh-event-trigger → 7.0.16-welsh-fixes
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/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +7 -9
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +5 -6
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +5 -6
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Component, HostListener, Input } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "ngx-md";
|
|
4
|
-
import * as i2 from "
|
|
5
|
-
import * as i3 from "../../../pipes/case-reference/case-reference.pipe";
|
|
4
|
+
import * as i2 from "../../../pipes/case-reference/case-reference.pipe";
|
|
6
5
|
export class MarkdownComponent {
|
|
7
6
|
constructor() { }
|
|
8
7
|
ngOnInit() {
|
|
@@ -19,19 +18,18 @@ export class MarkdownComponent {
|
|
|
19
18
|
MarkdownComponent.ɵfac = function MarkdownComponent_Factory(t) { return new (t || MarkdownComponent)(); };
|
|
20
19
|
MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], hostBindings: function MarkdownComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
21
20
|
i0.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
|
|
22
|
-
} }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls:
|
|
21
|
+
} }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23
22
|
i0.ɵɵelementStart(0, "div");
|
|
24
23
|
i0.ɵɵelement(1, "markdown", 0);
|
|
25
|
-
i0.ɵɵpipe(2, "
|
|
26
|
-
i0.ɵɵpipe(3, "ccdCaseReference");
|
|
24
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
27
25
|
i0.ɵɵelementEnd();
|
|
28
26
|
} if (rf & 2) {
|
|
29
27
|
i0.ɵɵadvance(1);
|
|
30
|
-
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1,
|
|
31
|
-
} }, dependencies: [i1.NgxMdComponent, i2.
|
|
28
|
+
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx.content));
|
|
29
|
+
} }, dependencies: [i1.NgxMdComponent, i2.CaseReferencePipe], encapsulation: 2 });
|
|
32
30
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
33
31
|
type: Component,
|
|
34
|
-
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference
|
|
32
|
+
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference\"></markdown></div>\n" }]
|
|
35
33
|
}], function () { return []; }, { content: [{
|
|
36
34
|
type: Input
|
|
37
35
|
}], markdownUseHrefAsRouterLink: [{
|
|
@@ -40,4 +38,4 @@ MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownC
|
|
|
40
38
|
type: HostListener,
|
|
41
39
|
args: ['click', ['$event']]
|
|
42
40
|
}] }); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2Rvd24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4v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duPjwvZGl2PlxuIl19
|
|
@@ -14520,23 +14520,22 @@ MarkdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownC
|
|
|
14520
14520
|
if (rf & 1) {
|
|
14521
14521
|
i0.ɵɵlistener("click", function MarkdownComponent_click_HostBindingHandler($event) { return ctx.onMarkdownClick($event); });
|
|
14522
14522
|
}
|
|
14523
|
-
}, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls:
|
|
14523
|
+
}, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 3, vars: 3, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) {
|
|
14524
14524
|
if (rf & 1) {
|
|
14525
14525
|
i0.ɵɵelementStart(0, "div");
|
|
14526
14526
|
i0.ɵɵelement(1, "markdown", 0);
|
|
14527
|
-
i0.ɵɵpipe(2, "
|
|
14528
|
-
i0.ɵɵpipe(3, "ccdCaseReference");
|
|
14527
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
14529
14528
|
i0.ɵɵelementEnd();
|
|
14530
14529
|
}
|
|
14531
14530
|
if (rf & 2) {
|
|
14532
14531
|
i0.ɵɵadvance(1);
|
|
14533
|
-
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1,
|
|
14532
|
+
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(2, 1, ctx.content));
|
|
14534
14533
|
}
|
|
14535
|
-
}, dependencies: [i1$4.NgxMdComponent,
|
|
14534
|
+
}, dependencies: [i1$4.NgxMdComponent, CaseReferencePipe], encapsulation: 2 });
|
|
14536
14535
|
(function () {
|
|
14537
14536
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
14538
14537
|
type: Component,
|
|
14539
|
-
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference
|
|
14538
|
+
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference\"></markdown></div>\n" }]
|
|
14540
14539
|
}], function () { return []; }, { content: [{
|
|
14541
14540
|
type: Input
|
|
14542
14541
|
}], markdownUseHrefAsRouterLink: [{
|