@ni/nimble-angular 16.9.1 → 16.9.3
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/rich-text-viewer/nimble-rich-text-viewer.directive.mjs +17 -5
- package/fesm2015/ni-nimble-angular-rich-text-viewer.mjs +16 -4
- package/fesm2015/ni-nimble-angular-rich-text-viewer.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-viewer.mjs +16 -4
- package/fesm2020/ni-nimble-angular-rich-text-viewer.mjs.map +1 -1
- package/package.json +2 -2
- package/rich-text-viewer/nimble-rich-text-viewer.directive.d.ts +7 -1
|
@@ -1,16 +1,28 @@
|
|
|
1
|
-
import { Directive } from '@angular/core';
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Directive to provide Angular integration for the rich text viewer element.
|
|
5
5
|
*/
|
|
6
6
|
export class NimbleRichTextViewerDirective {
|
|
7
|
+
constructor(renderer, elementRef) {
|
|
8
|
+
this.renderer = renderer;
|
|
9
|
+
this.elementRef = elementRef;
|
|
10
|
+
}
|
|
11
|
+
set markdown(value) {
|
|
12
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'markdown', value);
|
|
13
|
+
}
|
|
14
|
+
get markdown() {
|
|
15
|
+
return this.elementRef.nativeElement.markdown;
|
|
16
|
+
}
|
|
7
17
|
}
|
|
8
|
-
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
-
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", ngImport: i0 });
|
|
18
|
+
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", inputs: { markdown: "markdown" }, ngImport: i0 });
|
|
10
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, decorators: [{
|
|
11
21
|
type: Directive,
|
|
12
22
|
args: [{
|
|
13
23
|
selector: 'nimble-rich-text-viewer'
|
|
14
24
|
}]
|
|
15
|
-
}] }
|
|
16
|
-
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { markdown: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXJpY2gtdGV4dC12aWV3ZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvcmljaC10ZXh0LXZpZXdlci9uaW1ibGUtcmljaC10ZXh0LXZpZXdlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7O0FBS3hFOztHQUVHO0FBS0gsTUFBTSxPQUFPLDZCQUE2QjtJQVN0QyxZQUFvQyxRQUFtQixFQUFtQixVQUFzQztRQUE1RSxhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQW1CLGVBQVUsR0FBVixVQUFVLENBQTRCO0lBQUksQ0FBQztJQVJySCxJQUFvQixRQUFRLENBQUMsS0FBYTtRQUN0QyxJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLGFBQWEsRUFBRSxVQUFVLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDaEYsQ0FBQztJQUVELElBQVcsUUFBUTtRQUNmLE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUMsUUFBUSxDQUFDO0lBQ2xELENBQUM7OzBIQVBRLDZCQUE2Qjs4R0FBN0IsNkJBQTZCOzJGQUE3Qiw2QkFBNkI7a0JBSnpDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLHlCQUF5QjtpQkFDdEM7eUhBR3VCLFFBQVE7c0JBQTNCLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYsIElucHV0LCBSZW5kZXJlcjIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgUmljaFRleHRWaWV3ZXIgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vcmljaC10ZXh0LXZpZXdlcic7XG5cbmV4cG9ydCB0eXBlIHsgUmljaFRleHRWaWV3ZXIgfTtcblxuLyoqXG4gKiBEaXJlY3RpdmUgdG8gcHJvdmlkZSBBbmd1bGFyIGludGVncmF0aW9uIGZvciB0aGUgcmljaCB0ZXh0IHZpZXdlciBlbGVtZW50LlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ25pbWJsZS1yaWNoLXRleHQtdmlld2VyJ1xufSlcblxuZXhwb3J0IGNsYXNzIE5pbWJsZVJpY2hUZXh0Vmlld2VyRGlyZWN0aXZlIHtcbiAgICBASW5wdXQoKSBwdWJsaWMgc2V0IG1hcmtkb3duKHZhbHVlOiBzdHJpbmcpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ21hcmtkb3duJywgdmFsdWUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXQgbWFya2Rvd24oKTogc3RyaW5nIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50Lm1hcmtkb3duO1xuICAgIH1cblxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IHJlbmRlcmVyOiBSZW5kZXJlcjIsIHByaXZhdGUgcmVhZG9ubHkgZWxlbWVudFJlZjogRWxlbWVudFJlZjxSaWNoVGV4dFZpZXdlcj4pIHsgfVxufVxuIl19
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import '@ni/nimble-components/dist/esm/rich-text-viewer';
|
|
5
5
|
|
|
@@ -7,15 +7,27 @@ import '@ni/nimble-components/dist/esm/rich-text-viewer';
|
|
|
7
7
|
* Directive to provide Angular integration for the rich text viewer element.
|
|
8
8
|
*/
|
|
9
9
|
class NimbleRichTextViewerDirective {
|
|
10
|
+
constructor(renderer, elementRef) {
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this.elementRef = elementRef;
|
|
13
|
+
}
|
|
14
|
+
set markdown(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'markdown', value);
|
|
16
|
+
}
|
|
17
|
+
get markdown() {
|
|
18
|
+
return this.elementRef.nativeElement.markdown;
|
|
19
|
+
}
|
|
10
20
|
}
|
|
11
|
-
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", ngImport: i0 });
|
|
21
|
+
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", inputs: { markdown: "markdown" }, ngImport: i0 });
|
|
13
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, decorators: [{
|
|
14
24
|
type: Directive,
|
|
15
25
|
args: [{
|
|
16
26
|
selector: 'nimble-rich-text-viewer'
|
|
17
27
|
}]
|
|
18
|
-
}] }
|
|
28
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { markdown: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}] } });
|
|
19
31
|
|
|
20
32
|
class NimbleRichTextViewerModule {
|
|
21
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-rich-text-viewer.mjs","sources":["../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.directive.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.module.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/ni-nimble-angular-rich-text-viewer.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text-viewer';\n\nexport type { RichTextViewer };\n\n/**\n * Directive to provide Angular integration for the rich text viewer element.\n */\n@Directive({\n selector: 'nimble-rich-text-viewer'\n})\n\nexport class NimbleRichTextViewerDirective {\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleRichTextViewerDirective } from './nimble-rich-text-viewer.directive';\n\nimport '@ni/nimble-components/dist/esm/rich-text-viewer';\n\n@NgModule({\n declarations: [NimbleRichTextViewerDirective],\n imports: [CommonModule],\n exports: [NimbleRichTextViewerDirective]\n})\nexport class NimbleRichTextViewerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;AAEG;MAKU,6BAA6B,CAAA;;
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-rich-text-viewer.mjs","sources":["../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.directive.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.module.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/ni-nimble-angular-rich-text-viewer.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text-viewer';\n\nexport type { RichTextViewer };\n\n/**\n * Directive to provide Angular integration for the rich text viewer element.\n */\n@Directive({\n selector: 'nimble-rich-text-viewer'\n})\n\nexport class NimbleRichTextViewerDirective {\n @Input() public set markdown(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'markdown', value);\n }\n\n public get markdown(): string {\n return this.elementRef.nativeElement.markdown;\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<RichTextViewer>) { }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleRichTextViewerDirective } from './nimble-rich-text-viewer.directive';\n\nimport '@ni/nimble-components/dist/esm/rich-text-viewer';\n\n@NgModule({\n declarations: [NimbleRichTextViewerDirective],\n imports: [CommonModule],\n exports: [NimbleRichTextViewerDirective]\n})\nexport class NimbleRichTextViewerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;AAEG;MAKU,6BAA6B,CAAA;IAStC,WAAoC,CAAA,QAAmB,EAAmB,UAAsC,EAAA;AAA5E,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAmB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAA4B;KAAK;IARrH,IAAoB,QAAQ,CAAC,KAAa,EAAA;AACtC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;KAC/E;AAED,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;;0HAPQ,6BAA6B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;8GAA7B,6BAA6B,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;iBACtC,CAAA;yHAGuB,QAAQ,EAAA,CAAA;sBAA3B,KAAK;;;MCFG,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAJpB,YAAA,EAAA,CAAA,6BAA6B,CAClC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,6BAA6B,CAAA,EAAA,CAAA,CAAA;AAE9B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAHzB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,6BAA6B,CAAC;iBAC3C,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import '@ni/nimble-components/dist/esm/rich-text-viewer';
|
|
5
5
|
|
|
@@ -7,15 +7,27 @@ import '@ni/nimble-components/dist/esm/rich-text-viewer';
|
|
|
7
7
|
* Directive to provide Angular integration for the rich text viewer element.
|
|
8
8
|
*/
|
|
9
9
|
class NimbleRichTextViewerDirective {
|
|
10
|
+
constructor(renderer, elementRef) {
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this.elementRef = elementRef;
|
|
13
|
+
}
|
|
14
|
+
set markdown(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'markdown', value);
|
|
16
|
+
}
|
|
17
|
+
get markdown() {
|
|
18
|
+
return this.elementRef.nativeElement.markdown;
|
|
19
|
+
}
|
|
10
20
|
}
|
|
11
|
-
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
-
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", ngImport: i0 });
|
|
21
|
+
NimbleRichTextViewerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
NimbleRichTextViewerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleRichTextViewerDirective, selector: "nimble-rich-text-viewer", inputs: { markdown: "markdown" }, ngImport: i0 });
|
|
13
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleRichTextViewerDirective, decorators: [{
|
|
14
24
|
type: Directive,
|
|
15
25
|
args: [{
|
|
16
26
|
selector: 'nimble-rich-text-viewer'
|
|
17
27
|
}]
|
|
18
|
-
}] }
|
|
28
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { markdown: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}] } });
|
|
19
31
|
|
|
20
32
|
class NimbleRichTextViewerModule {
|
|
21
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-rich-text-viewer.mjs","sources":["../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.directive.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.module.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/ni-nimble-angular-rich-text-viewer.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text-viewer';\n\nexport type { RichTextViewer };\n\n/**\n * Directive to provide Angular integration for the rich text viewer element.\n */\n@Directive({\n selector: 'nimble-rich-text-viewer'\n})\n\nexport class NimbleRichTextViewerDirective {\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleRichTextViewerDirective } from './nimble-rich-text-viewer.directive';\n\nimport '@ni/nimble-components/dist/esm/rich-text-viewer';\n\n@NgModule({\n declarations: [NimbleRichTextViewerDirective],\n imports: [CommonModule],\n exports: [NimbleRichTextViewerDirective]\n})\nexport class NimbleRichTextViewerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;AAEG;MAKU,6BAA6B,CAAA;;
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-rich-text-viewer.mjs","sources":["../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.directive.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/nimble-rich-text-viewer.module.ts","../../../../projects/ni/nimble-angular/rich-text-viewer/ni-nimble-angular-rich-text-viewer.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text-viewer';\n\nexport type { RichTextViewer };\n\n/**\n * Directive to provide Angular integration for the rich text viewer element.\n */\n@Directive({\n selector: 'nimble-rich-text-viewer'\n})\n\nexport class NimbleRichTextViewerDirective {\n @Input() public set markdown(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'markdown', value);\n }\n\n public get markdown(): string {\n return this.elementRef.nativeElement.markdown;\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<RichTextViewer>) { }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleRichTextViewerDirective } from './nimble-rich-text-viewer.directive';\n\nimport '@ni/nimble-components/dist/esm/rich-text-viewer';\n\n@NgModule({\n declarations: [NimbleRichTextViewerDirective],\n imports: [CommonModule],\n exports: [NimbleRichTextViewerDirective]\n})\nexport class NimbleRichTextViewerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;AAEG;MAKU,6BAA6B,CAAA;IAStC,WAAoC,CAAA,QAAmB,EAAmB,UAAsC,EAAA;QAA5E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAmB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA4B;KAAK;IARrH,IAAoB,QAAQ,CAAC,KAAa,EAAA;AACtC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;KAC/E;AAED,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;;0HAPQ,6BAA6B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;8GAA7B,6BAA6B,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;AACtC,iBAAA,CAAA;yHAGuB,QAAQ,EAAA,CAAA;sBAA3B,KAAK;;;MCFG,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAJpB,YAAA,EAAA,CAAA,6BAA6B,CAClC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,6BAA6B,CAAA,EAAA,CAAA,CAAA;AAE9B,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAHzB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,6BAA6B,CAAC;AAC3C,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.3",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@angular/forms": "^14.2.0",
|
|
109
109
|
"@angular/localize": "^14.2.0",
|
|
110
110
|
"@angular/router": "^14.2.0",
|
|
111
|
-
"@ni/nimble-components": "^19.9.
|
|
111
|
+
"@ni/nimble-components": "^19.9.2"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"tslib": "^2.2.0"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
1
2
|
import type { RichTextViewer } from '@ni/nimble-components/dist/esm/rich-text-viewer';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export type { RichTextViewer };
|
|
@@ -5,6 +6,11 @@ export type { RichTextViewer };
|
|
|
5
6
|
* Directive to provide Angular integration for the rich text viewer element.
|
|
6
7
|
*/
|
|
7
8
|
export declare class NimbleRichTextViewerDirective {
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
set markdown(value: string);
|
|
12
|
+
get markdown(): string;
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<RichTextViewer>);
|
|
8
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleRichTextViewerDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleRichTextViewerDirective, "nimble-rich-text-viewer", never, {}, {}, never, never, false>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleRichTextViewerDirective, "nimble-rich-text-viewer", never, { "markdown": "markdown"; }, {}, never, never, false>;
|
|
10
16
|
}
|