@ni/spright-angular 8.1.0 → 8.2.0

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ni/spright-angular/chat/message/inbound" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './spright-chat-message-inbound.directive';
2
+ export * from './spright-chat-message-inbound.module';
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { type ChatMessageInbound, chatMessageInboundTag } from '@ni/spright-components/dist/esm/chat/message/inbound';
3
+ import * as i0 from "@angular/core";
4
+ export type { ChatMessageInbound };
5
+ export { chatMessageInboundTag };
6
+ /**
7
+ * Directive to provide Angular integration for the chat inbound message.
8
+ */
9
+ export declare class SprightChatMessageInboundDirective {
10
+ private readonly renderer;
11
+ private readonly elementRef;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageInbound>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageInboundDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageInboundDirective, "spright-chat-message-inbound", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import '@ni/spright-components/dist/esm/chat/message/inbound';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./spright-chat-message-inbound.directive";
4
+ import * as i2 from "@angular/common";
5
+ export declare class SprightChatMessageInboundModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageInboundModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageInboundModule, [typeof i1.SprightChatMessageInboundDirective], [typeof i2.CommonModule], [typeof i1.SprightChatMessageInboundDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageInboundModule>;
9
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ni/spright-angular/chat/message/outbound" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './spright-chat-message-outbound.directive';
2
+ export * from './spright-chat-message-outbound.module';
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { type ChatMessageOutbound, chatMessageOutboundTag } from '@ni/spright-components/dist/esm/chat/message/outbound';
3
+ import * as i0 from "@angular/core";
4
+ export type { ChatMessageOutbound };
5
+ export { chatMessageOutboundTag };
6
+ /**
7
+ * Directive to provide Angular integration for the chat outbound message.
8
+ */
9
+ export declare class SprightChatMessageOutboundDirective {
10
+ private readonly renderer;
11
+ private readonly elementRef;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageOutbound>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageOutboundDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageOutboundDirective, "spright-chat-message-outbound", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import '@ni/spright-components/dist/esm/chat/message/outbound';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./spright-chat-message-outbound.directive";
4
+ import * as i2 from "@angular/common";
5
+ export declare class SprightChatMessageOutboundModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageOutboundModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageOutboundModule, [typeof i1.SprightChatMessageOutboundDirective], [typeof i2.CommonModule], [typeof i1.SprightChatMessageOutboundDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageOutboundModule>;
9
+ }
@@ -7,6 +7,7 @@ export { ChatMessageType };
7
7
  export { chatMessageTag };
8
8
  /**
9
9
  * Directive to provide Angular integration for the chat message.
10
+ * @deprecated Use specific message component types instead
10
11
  */
11
12
  export declare class SprightChatMessageDirective {
12
13
  private readonly renderer;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ni/spright-angular/chat/message/system" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './spright-chat-message-system.directive';
2
+ export * from './spright-chat-message-system.module';
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { type ChatMessageSystem, chatMessageSystemTag } from '@ni/spright-components/dist/esm/chat/message/system';
3
+ import * as i0 from "@angular/core";
4
+ export type { ChatMessageSystem };
5
+ export { chatMessageSystemTag };
6
+ /**
7
+ * Directive to provide Angular integration for the chat system message.
8
+ */
9
+ export declare class SprightChatMessageSystemDirective {
10
+ private readonly renderer;
11
+ private readonly elementRef;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageSystem>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageSystemDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageSystemDirective, "spright-chat-message-system", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import '@ni/spright-components/dist/esm/chat/message/system';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./spright-chat-message-system.directive";
4
+ import * as i2 from "@angular/common";
5
+ export declare class SprightChatMessageSystemModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageSystemModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageSystemModule, [typeof i1.SprightChatMessageSystemDirective], [typeof i2.CommonModule], [typeof i1.SprightChatMessageSystemDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageSystemModule>;
9
+ }
@@ -0,0 +1,48 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, NgModule } from '@angular/core';
3
+ export { chatMessageInboundTag } from '@ni/spright-components/dist/esm/chat/message/inbound';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ /**
7
+ * Directive to provide Angular integration for the chat inbound message.
8
+ */
9
+ class SprightChatMessageInboundDirective {
10
+ constructor(renderer, elementRef) {
11
+ this.renderer = renderer;
12
+ this.elementRef = elementRef;
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
15
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: SprightChatMessageInboundDirective, isStandalone: false, selector: "spright-chat-message-inbound", ngImport: i0 }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundDirective, decorators: [{
18
+ type: Directive,
19
+ args: [{
20
+ selector: 'spright-chat-message-inbound',
21
+ standalone: false
22
+ }]
23
+ }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
24
+
25
+ class SprightChatMessageInboundModule {
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundModule, declarations: [SprightChatMessageInboundDirective], imports: [CommonModule], exports: [SprightChatMessageInboundDirective] }); }
28
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundModule, imports: [CommonModule] }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageInboundModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [
34
+ SprightChatMessageInboundDirective
35
+ ],
36
+ imports: [CommonModule],
37
+ exports: [
38
+ SprightChatMessageInboundDirective
39
+ ]
40
+ }]
41
+ }] });
42
+
43
+ /**
44
+ * Generated bundle index. Do not edit.
45
+ */
46
+
47
+ export { SprightChatMessageInboundDirective, SprightChatMessageInboundModule };
48
+ //# sourceMappingURL=ni-spright-angular-chat-message-inbound.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-spright-angular-chat-message-inbound.mjs","sources":["../../../spright-angular/chat/message/inbound/spright-chat-message-inbound.directive.ts","../../../spright-angular/chat/message/inbound/spright-chat-message-inbound.module.ts","../../../spright-angular/chat/message/inbound/ni-spright-angular-chat-message-inbound.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport { type ChatMessageInbound, chatMessageInboundTag } from '@ni/spright-components/dist/esm/chat/message/inbound';\n\nexport type { ChatMessageInbound };\nexport { chatMessageInboundTag };\n\n/**\n * Directive to provide Angular integration for the chat inbound message.\n */\n@Directive({\n selector: 'spright-chat-message-inbound',\n standalone: false\n})\nexport class SprightChatMessageInboundDirective {\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatMessageInbound>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatMessageInboundDirective } from './spright-chat-message-inbound.directive';\n\nimport '@ni/spright-components/dist/esm/chat/message/inbound';\n\n@NgModule({\n declarations: [\n SprightChatMessageInboundDirective\n ],\n imports: [CommonModule],\n exports: [\n SprightChatMessageInboundDirective\n ]\n})\nexport class SprightChatMessageInboundModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAKU,kCAAkC,CAAA;IAC3C,WAAA,CAAoC,QAAmB,EAAmB,UAA0C,EAAA;QAAhF,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CA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qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -0,0 +1,48 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, NgModule } from '@angular/core';
3
+ export { chatMessageOutboundTag } from '@ni/spright-components/dist/esm/chat/message/outbound';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ /**
7
+ * Directive to provide Angular integration for the chat outbound message.
8
+ */
9
+ class SprightChatMessageOutboundDirective {
10
+ constructor(renderer, elementRef) {
11
+ this.renderer = renderer;
12
+ this.elementRef = elementRef;
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
15
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: SprightChatMessageOutboundDirective, isStandalone: false, selector: "spright-chat-message-outbound", ngImport: i0 }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundDirective, decorators: [{
18
+ type: Directive,
19
+ args: [{
20
+ selector: 'spright-chat-message-outbound',
21
+ standalone: false
22
+ }]
23
+ }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
24
+
25
+ class SprightChatMessageOutboundModule {
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundModule, declarations: [SprightChatMessageOutboundDirective], imports: [CommonModule], exports: [SprightChatMessageOutboundDirective] }); }
28
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundModule, imports: [CommonModule] }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageOutboundModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [
34
+ SprightChatMessageOutboundDirective
35
+ ],
36
+ imports: [CommonModule],
37
+ exports: [
38
+ SprightChatMessageOutboundDirective
39
+ ]
40
+ }]
41
+ }] });
42
+
43
+ /**
44
+ * Generated bundle index. Do not edit.
45
+ */
46
+
47
+ export { SprightChatMessageOutboundDirective, SprightChatMessageOutboundModule };
48
+ //# sourceMappingURL=ni-spright-angular-chat-message-outbound.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-spright-angular-chat-message-outbound.mjs","sources":["../../../spright-angular/chat/message/outbound/spright-chat-message-outbound.directive.ts","../../../spright-angular/chat/message/outbound/spright-chat-message-outbound.module.ts","../../../spright-angular/chat/message/outbound/ni-spright-angular-chat-message-outbound.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport { type ChatMessageOutbound, chatMessageOutboundTag } from '@ni/spright-components/dist/esm/chat/message/outbound';\n\nexport type { ChatMessageOutbound };\nexport { chatMessageOutboundTag };\n\n/**\n * Directive to provide Angular integration for the chat outbound message.\n */\n@Directive({\n selector: 'spright-chat-message-outbound',\n standalone: false\n})\nexport class SprightChatMessageOutboundDirective {\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatMessageOutbound>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatMessageOutboundDirective } from './spright-chat-message-outbound.directive';\n\nimport '@ni/spright-components/dist/esm/chat/message/outbound';\n\n@NgModule({\n declarations: [\n SprightChatMessageOutboundDirective\n ],\n imports: [CommonModule],\n exports: [\n SprightChatMessageOutboundDirective\n ]\n})\nexport class SprightChatMessageOutboundModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAKU,mCAAmC,CAAA;IAC5C,WAAA,CAAoC,QAAmB,EAAmB,UAA2C,EAAA;QAAjF,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAAoC;+GAD/G,mCAAmC,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;mGAAnC,mCAAmC,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAnC,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAJ/C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,+BAA+B;AACzC,oBAAA,UAAU,EAAE;AACf,iBAAA;;;MCGY,gCAAgC,CAAA;+GAAhC,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gCAAgC,EAAA,YAAA,EAAA,CAPrC,mCAAmC,CAAA,EAAA,OAAA,EAAA,CAE7B,YAAY,aAElB,mCAAmC,CAAA,EAAA,CAAA,CAAA;AAG9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gCAAgC,YAL/B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAKb,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAT5C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -0,0 +1,48 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, NgModule } from '@angular/core';
3
+ export { chatMessageSystemTag } from '@ni/spright-components/dist/esm/chat/message/system';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ /**
7
+ * Directive to provide Angular integration for the chat system message.
8
+ */
9
+ class SprightChatMessageSystemDirective {
10
+ constructor(renderer, elementRef) {
11
+ this.renderer = renderer;
12
+ this.elementRef = elementRef;
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
15
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: SprightChatMessageSystemDirective, isStandalone: false, selector: "spright-chat-message-system", ngImport: i0 }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemDirective, decorators: [{
18
+ type: Directive,
19
+ args: [{
20
+ selector: 'spright-chat-message-system',
21
+ standalone: false
22
+ }]
23
+ }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
24
+
25
+ class SprightChatMessageSystemModule {
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemModule, declarations: [SprightChatMessageSystemDirective], imports: [CommonModule], exports: [SprightChatMessageSystemDirective] }); }
28
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemModule, imports: [CommonModule] }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SprightChatMessageSystemModule, decorators: [{
31
+ type: NgModule,
32
+ args: [{
33
+ declarations: [
34
+ SprightChatMessageSystemDirective
35
+ ],
36
+ imports: [CommonModule],
37
+ exports: [
38
+ SprightChatMessageSystemDirective
39
+ ]
40
+ }]
41
+ }] });
42
+
43
+ /**
44
+ * Generated bundle index. Do not edit.
45
+ */
46
+
47
+ export { SprightChatMessageSystemDirective, SprightChatMessageSystemModule };
48
+ //# sourceMappingURL=ni-spright-angular-chat-message-system.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-spright-angular-chat-message-system.mjs","sources":["../../../spright-angular/chat/message/system/spright-chat-message-system.directive.ts","../../../spright-angular/chat/message/system/spright-chat-message-system.module.ts","../../../spright-angular/chat/message/system/ni-spright-angular-chat-message-system.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport { type ChatMessageSystem, chatMessageSystemTag } from '@ni/spright-components/dist/esm/chat/message/system';\n\nexport type { ChatMessageSystem };\nexport { chatMessageSystemTag };\n\n/**\n * Directive to provide Angular integration for the chat system message.\n */\n@Directive({\n selector: 'spright-chat-message-system',\n standalone: false\n})\nexport class SprightChatMessageSystemDirective {\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatMessageSystem>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatMessageSystemDirective } from './spright-chat-message-system.directive';\n\nimport '@ni/spright-components/dist/esm/chat/message/system';\n\n@NgModule({\n declarations: [\n SprightChatMessageSystemDirective\n ],\n imports: [CommonModule],\n exports: [\n SprightChatMessageSystemDirective\n ]\n})\nexport class SprightChatMessageSystemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAKU,iCAAiC,CAAA;IAC1C,WAAA,CAAoC,QAAmB,EAAmB,UAAyC,EAAA;QAA/E,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAAkC;+GAD7G,iCAAiC,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;mGAAjC,iCAAiC,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,6BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,6BAA6B;AACvC,oBAAA,UAAU,EAAE;AACf,iBAAA;;;MCGY,8BAA8B,CAAA;+GAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EAAA,YAAA,EAAA,CAPnC,iCAAiC,CAAA,EAAA,OAAA,EAAA,CAE3B,YAAY,aAElB,iCAAiC,CAAA,EAAA,CAAA,CAAA;AAG5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAL7B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAKb,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAT1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -6,6 +6,7 @@ import { CommonModule } from '@angular/common';
6
6
 
7
7
  /**
8
8
  * Directive to provide Angular integration for the chat message.
9
+ * @deprecated Use specific message component types instead
9
10
  */
10
11
  class SprightChatMessageDirective {
11
12
  get messageType() {
@@ -1 +1 @@
1
- {"version":3,"file":"ni-spright-angular-chat-message.mjs","sources":["../../../spright-angular/chat/message/spright-chat-message.directive.ts","../../../spright-angular/chat/message/spright-chat-message.module.ts","../../../spright-angular/chat/message/ni-spright-angular-chat-message.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type ChatMessage, chatMessageTag } from '@ni/spright-components/dist/esm/chat/message';\nimport { ChatMessageType } from '@ni/spright-components/dist/esm/chat/message/types';\n\nexport type { ChatMessage };\nexport { ChatMessageType };\nexport { chatMessageTag };\n\n/**\n * Directive to provide Angular integration for the chat message.\n */\n@Directive({\n selector: 'spright-chat-message',\n standalone: false\n})\nexport class SprightChatMessageDirective {\n public get messageType(): ChatMessageType {\n return this.elementRef.nativeElement.messageType;\n }\n\n @Input('message-type') public set messageType(value: ChatMessageType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'messageType', value);\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatMessage>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatMessageDirective } from './spright-chat-message.directive';\n\nimport '@ni/spright-components/dist/esm/chat/message';\n\n@NgModule({\n declarations: [\n SprightChatMessageDirective\n ],\n imports: [CommonModule],\n exports: [\n SprightChatMessageDirective\n ]\n})\nexport class SprightChatMessageModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;MAKU,2BAA2B,CAAA;AACpC,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW;IACpD;IAEA,IAAkC,WAAW,CAAC,KAAsB,EAAA;AAChE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC;IAClF;IAEA,WAAA,CAAoC,QAAmB,EAAmB,UAAmC,EAAA;QAAzE,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAA4B;+GATvG,2BAA2B,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;mGAA3B,2BAA2B,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,cAAA,EAAA,aAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE;AACf,iBAAA;uGAMqC,WAAW,EAAA,CAAA;sBAA5C,KAAK;uBAAC,cAAc;;;MCLZ,wBAAwB,CAAA;+GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAAA,YAAA,EAAA,CAP7B,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAErB,YAAY,aAElB,2BAA2B,CAAA,EAAA,CAAA,CAAA;AAGtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YALvB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAKb,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"ni-spright-angular-chat-message.mjs","sources":["../../../spright-angular/chat/message/spright-chat-message.directive.ts","../../../spright-angular/chat/message/spright-chat-message.module.ts","../../../spright-angular/chat/message/ni-spright-angular-chat-message.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type ChatMessage, chatMessageTag } from '@ni/spright-components/dist/esm/chat/message';\nimport { ChatMessageType } from '@ni/spright-components/dist/esm/chat/message/types';\n\nexport type { ChatMessage };\nexport { ChatMessageType };\nexport { chatMessageTag };\n\n/**\n * Directive to provide Angular integration for the chat message.\n * @deprecated Use specific message component types instead\n */\n@Directive({\n selector: 'spright-chat-message',\n standalone: false\n})\nexport class SprightChatMessageDirective {\n public get messageType(): ChatMessageType {\n return this.elementRef.nativeElement.messageType;\n }\n\n @Input('message-type') public set messageType(value: ChatMessageType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'messageType', value);\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatMessage>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatMessageDirective } from './spright-chat-message.directive';\n\nimport '@ni/spright-components/dist/esm/chat/message';\n\n@NgModule({\n declarations: [\n SprightChatMessageDirective\n ],\n imports: [CommonModule],\n exports: [\n SprightChatMessageDirective\n ]\n})\nexport class SprightChatMessageModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;;AAGG;MAKU,2BAA2B,CAAA;AACpC,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW;IACpD;IAEA,IAAkC,WAAW,CAAC,KAAsB,EAAA;AAChE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC;IAClF;IAEA,WAAA,CAAoC,QAAmB,EAAmB,UAAmC,EAAA;QAAzE,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAA4B;+GATvG,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EA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AA;AACN,oBAAA,YAAY,EAAE;wBACV;AACH,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACdD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/spright-angular",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "Angular components for NI Spright",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "@angular/common": "^19.2.17",
26
26
  "@angular/core": "^19.2.17",
27
27
  "@angular/localize": "^19.2.17",
28
- "@ni/spright-components": "^6.5.0"
28
+ "@ni/spright-components": "^6.6.0"
29
29
  },
30
30
  "module": "fesm2022/ni-spright-angular.mjs",
31
31
  "typings": "index.d.ts",
@@ -56,6 +56,18 @@
56
56
  "./chat/input/testing": {
57
57
  "types": "./chat/input/testing/index.d.ts",
58
58
  "default": "./fesm2022/ni-spright-angular-chat-input-testing.mjs"
59
+ },
60
+ "./chat/message/inbound": {
61
+ "types": "./chat/message/inbound/index.d.ts",
62
+ "default": "./fesm2022/ni-spright-angular-chat-message-inbound.mjs"
63
+ },
64
+ "./chat/message/outbound": {
65
+ "types": "./chat/message/outbound/index.d.ts",
66
+ "default": "./fesm2022/ni-spright-angular-chat-message-outbound.mjs"
67
+ },
68
+ "./chat/message/system": {
69
+ "types": "./chat/message/system/index.d.ts",
70
+ "default": "./fesm2022/ni-spright-angular-chat-message-system.mjs"
59
71
  }
60
72
  },
61
73
  "sideEffects": false