@ni/spright-angular 8.8.2 → 9.0.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.
- package/chat/conversation/index.d.ts +17 -3
- package/chat/input/index.d.ts +42 -3
- package/chat/input/testing/index.d.ts +1 -5
- package/chat/message/inbound/index.d.ts +22 -3
- package/chat/message/index.d.ts +27 -3
- package/chat/message/outbound/index.d.ts +22 -3
- package/chat/message/system/index.d.ts +22 -3
- package/fesm2022/ni-spright-angular-chat-conversation.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-input.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-input.mjs.map +1 -1
- package/fesm2022/ni-spright-angular-chat-message-inbound.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-message-outbound.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-message-system.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-message.mjs +7 -7
- package/fesm2022/ni-spright-angular-chat-message.mjs.map +1 -1
- package/fesm2022/ni-spright-angular-icon-base.mjs +3 -3
- package/fesm2022/ni-spright-angular-icon-base.mjs.map +1 -1
- package/fesm2022/ni-spright-angular-icons-work-item-calendar-week.mjs +3 -3
- package/fesm2022/ni-spright-angular-icons-work-item-calipers.mjs +3 -3
- package/fesm2022/ni-spright-angular-icons-work-item-forklift.mjs +3 -3
- package/fesm2022/ni-spright-angular-icons-work-item-rectangle-check-lines.mjs +3 -3
- package/fesm2022/ni-spright-angular-icons-work-item-user-helmet-safety.mjs +3 -3
- package/fesm2022/ni-spright-angular-icons-work-item-wrench-hammer.mjs +3 -3
- package/fesm2022/ni-spright-angular-rectangle.mjs +7 -7
- package/icon-base/index.d.ts +19 -3
- package/icons/work-item-calendar-week/index.d.ts +11 -3
- package/icons/work-item-calipers/index.d.ts +11 -3
- package/icons/work-item-forklift/index.d.ts +11 -3
- package/icons/work-item-rectangle-check-lines/index.d.ts +11 -3
- package/icons/work-item-user-helmet-safety/index.d.ts +11 -3
- package/icons/work-item-wrench-hammer/index.d.ts +11 -3
- package/index.d.ts +2 -5
- package/package.json +28 -28
- package/rectangle/index.d.ts +17 -3
- package/chat/conversation/public-api.d.ts +0 -2
- package/chat/conversation/spright-chat-conversation.directive.d.ts +0 -11
- package/chat/conversation/spright-chat-conversation.module.d.ts +0 -9
- package/chat/input/public-api.d.ts +0 -2
- package/chat/input/spright-chat-input.directive.d.ts +0 -36
- package/chat/input/spright-chat-input.module.d.ts +0 -9
- package/chat/input/testing/input.pageobject.d.ts +0 -2
- package/chat/input/testing/public-api.d.ts +0 -1
- package/chat/message/inbound/public-api.d.ts +0 -2
- package/chat/message/inbound/spright-chat-message-inbound.directive.d.ts +0 -15
- package/chat/message/inbound/spright-chat-message-inbound.module.d.ts +0 -9
- package/chat/message/outbound/public-api.d.ts +0 -2
- package/chat/message/outbound/spright-chat-message-outbound.directive.d.ts +0 -15
- package/chat/message/outbound/spright-chat-message-outbound.module.d.ts +0 -9
- package/chat/message/public-api.d.ts +0 -2
- package/chat/message/spright-chat-message.directive.d.ts +0 -20
- package/chat/message/spright-chat-message.module.d.ts +0 -9
- package/chat/message/system/public-api.d.ts +0 -2
- package/chat/message/system/spright-chat-message-system.directive.d.ts +0 -15
- package/chat/message/system/spright-chat-message-system.module.d.ts +0 -9
- package/icon-base/public-api.d.ts +0 -1
- package/icon-base/spright-icon-base.directive.d.ts +0 -17
- package/icons/work-item-calendar-week/spright-icon-work-item-calendar-week.directive.d.ts +0 -12
- package/icons/work-item-calipers/spright-icon-work-item-calipers.directive.d.ts +0 -12
- package/icons/work-item-forklift/spright-icon-work-item-forklift.directive.d.ts +0 -12
- package/icons/work-item-rectangle-check-lines/spright-icon-work-item-rectangle-check-lines.directive.d.ts +0 -12
- package/icons/work-item-user-helmet-safety/spright-icon-work-item-user-helmet-safety.directive.d.ts +0 -12
- package/icons/work-item-wrench-hammer/spright-icon-work-item-wrench-hammer.directive.d.ts +0 -12
- package/public-api.d.ts +0 -2
- package/rectangle/public-api.d.ts +0 -2
- package/rectangle/spright-rectangle.directive.d.ts +0 -11
- package/rectangle/spright-rectangle.module.d.ts +0 -9
|
@@ -1,5 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i2 from '@angular/common';
|
|
3
|
+
export { ChatConversation, chatConversationTag } from '@ni/spright-components/dist/esm/chat/conversation';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
|
-
*
|
|
6
|
+
* Directive to provide Angular integration for the chat conversation.
|
|
3
7
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
declare class SprightChatConversationDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatConversationDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatConversationDirective, "spright-chat-conversation", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class SprightChatConversationModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatConversationModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatConversationModule, [typeof SprightChatConversationDirective], [typeof i2.CommonModule], [typeof SprightChatConversationDirective]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatConversationModule>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { SprightChatConversationDirective, SprightChatConversationModule };
|
package/chat/input/index.d.ts
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import { ChatInput } from '@ni/spright-components/dist/esm/chat/input';
|
|
5
|
+
export { ChatInput, chatInputTag } from '@ni/spright-components/dist/esm/chat/input';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
7
|
+
export { ChatInputSendEventDetail } from '@ni/spright-components/dist/esm/chat/input/types';
|
|
8
|
+
|
|
1
9
|
/**
|
|
2
|
-
*
|
|
10
|
+
* Directive to provide Angular integration for the chat input.
|
|
3
11
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
declare class SprightChatInputDirective {
|
|
13
|
+
private readonly renderer;
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
get placeholder(): string | undefined;
|
|
16
|
+
set placeholder(value: string | undefined);
|
|
17
|
+
get sendButtonLabel(): string | undefined;
|
|
18
|
+
set sendButtonLabel(value: string | undefined);
|
|
19
|
+
get stopButtonLabel(): string | undefined;
|
|
20
|
+
set stopButtonLabel(value: string | undefined);
|
|
21
|
+
get processing(): boolean | undefined;
|
|
22
|
+
set processing(value: boolean | undefined);
|
|
23
|
+
get sendDisabled(): boolean | undefined;
|
|
24
|
+
set sendDisabled(value: boolean | undefined);
|
|
25
|
+
get maxLength(): number | undefined;
|
|
26
|
+
set maxLength(value: number | undefined);
|
|
27
|
+
get value(): string | undefined;
|
|
28
|
+
set value(value: string | undefined);
|
|
29
|
+
get errorText(): string | undefined;
|
|
30
|
+
set errorText(value: string | undefined);
|
|
31
|
+
get errorVisible(): boolean;
|
|
32
|
+
set errorVisible(value: BooleanValueOrAttribute);
|
|
33
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ChatInput>);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatInputDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatInputDirective, "spright-chat-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "sendButtonLabel": { "alias": "send-button-label"; "required": false; }; "stopButtonLabel": { "alias": "stop-button-label"; "required": false; }; "processing": { "alias": "processing"; "required": false; }; "sendDisabled": { "alias": "send-disabled"; "required": false; }; "maxLength": { "alias": "maxlength"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorText": { "alias": "error-text"; "required": false; }; "errorVisible": { "alias": "error-visible"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class SprightChatInputModule {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatInputModule, never>;
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatInputModule, [typeof SprightChatInputDirective], [typeof i2.CommonModule], [typeof SprightChatInputDirective]>;
|
|
41
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatInputModule>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { SprightChatInputDirective, SprightChatInputModule };
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { ChatMessageInbound } from '@ni/spright-components/dist/esm/chat/message/inbound';
|
|
4
|
+
export { ChatMessageInbound, chatMessageInboundTag } from '@ni/spright-components/dist/esm/chat/message/inbound';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
|
-
*
|
|
8
|
+
* Directive to provide Angular integration for the chat inbound message.
|
|
3
9
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
10
|
+
declare class SprightChatMessageInboundDirective {
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageInbound>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageInboundDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageInboundDirective, "spright-chat-message-inbound", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class SprightChatMessageInboundModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageInboundModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageInboundModule, [typeof SprightChatMessageInboundDirective], [typeof i2.CommonModule], [typeof SprightChatMessageInboundDirective]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageInboundModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { SprightChatMessageInboundDirective, SprightChatMessageInboundModule };
|
package/chat/message/index.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { ChatMessage } from '@ni/spright-components/dist/esm/chat/message';
|
|
4
|
+
export { ChatMessage, chatMessageTag } from '@ni/spright-components/dist/esm/chat/message';
|
|
5
|
+
import { ChatMessageType } from '@ni/spright-components/dist/esm/chat/message/types';
|
|
6
|
+
export { ChatMessageType } from '@ni/spright-components/dist/esm/chat/message/types';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
|
|
1
9
|
/**
|
|
2
|
-
*
|
|
10
|
+
* Directive to provide Angular integration for the chat message.
|
|
11
|
+
* @deprecated Use specific message component types instead
|
|
3
12
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
13
|
+
declare class SprightChatMessageDirective {
|
|
14
|
+
private readonly renderer;
|
|
15
|
+
private readonly elementRef;
|
|
16
|
+
get messageType(): ChatMessageType;
|
|
17
|
+
set messageType(value: ChatMessageType);
|
|
18
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessage>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageDirective, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageDirective, "spright-chat-message", never, { "messageType": { "alias": "message-type"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class SprightChatMessageModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageModule, [typeof SprightChatMessageDirective], [typeof i2.CommonModule], [typeof SprightChatMessageDirective]>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageModule>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SprightChatMessageDirective, SprightChatMessageModule };
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { ChatMessageOutbound } from '@ni/spright-components/dist/esm/chat/message/outbound';
|
|
4
|
+
export { ChatMessageOutbound, chatMessageOutboundTag } from '@ni/spright-components/dist/esm/chat/message/outbound';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
|
-
*
|
|
8
|
+
* Directive to provide Angular integration for the chat outbound message.
|
|
3
9
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
10
|
+
declare class SprightChatMessageOutboundDirective {
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageOutbound>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageOutboundDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageOutboundDirective, "spright-chat-message-outbound", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class SprightChatMessageOutboundModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageOutboundModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageOutboundModule, [typeof SprightChatMessageOutboundDirective], [typeof i2.CommonModule], [typeof SprightChatMessageOutboundDirective]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageOutboundModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { SprightChatMessageOutboundDirective, SprightChatMessageOutboundModule };
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { ChatMessageSystem } from '@ni/spright-components/dist/esm/chat/message/system';
|
|
4
|
+
export { ChatMessageSystem, chatMessageSystemTag } from '@ni/spright-components/dist/esm/chat/message/system';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
|
-
*
|
|
8
|
+
* Directive to provide Angular integration for the chat system message.
|
|
3
9
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
10
|
+
declare class SprightChatMessageSystemDirective {
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ChatMessageSystem>);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageSystemDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SprightChatMessageSystemDirective, "spright-chat-message-system", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class SprightChatMessageSystemModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SprightChatMessageSystemModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SprightChatMessageSystemModule, [typeof SprightChatMessageSystemDirective], [typeof i2.CommonModule], [typeof SprightChatMessageSystemDirective]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SprightChatMessageSystemModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { SprightChatMessageSystemDirective, SprightChatMessageSystemModule };
|
|
@@ -7,10 +7,10 @@ import { CommonModule } from '@angular/common';
|
|
|
7
7
|
* Directive to provide Angular integration for the chat conversation.
|
|
8
8
|
*/
|
|
9
9
|
class SprightChatConversationDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightChatConversationDirective, isStandalone: false, selector: "spright-chat-conversation", ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-chat-conversation',
|
|
@@ -19,11 +19,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
19
19
|
}] });
|
|
20
20
|
|
|
21
21
|
class SprightChatConversationModule {
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
24
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationModule, declarations: [SprightChatConversationDirective], imports: [CommonModule], exports: [SprightChatConversationDirective] }); }
|
|
24
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationModule, imports: [CommonModule] }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatConversationModule, decorators: [{
|
|
27
27
|
type: NgModule,
|
|
28
28
|
args: [{
|
|
29
29
|
declarations: [
|
|
@@ -66,10 +66,10 @@ class SprightChatInputDirective {
|
|
|
66
66
|
this.renderer = renderer;
|
|
67
67
|
this.elementRef = elementRef;
|
|
68
68
|
}
|
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
70
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightChatInputDirective, isStandalone: false, selector: "spright-chat-input", inputs: { placeholder: "placeholder", sendButtonLabel: ["send-button-label", "sendButtonLabel"], stopButtonLabel: ["stop-button-label", "stopButtonLabel"], processing: "processing", sendDisabled: ["send-disabled", "sendDisabled"], maxLength: ["maxlength", "maxLength"], value: "value", errorText: ["error-text", "errorText"], errorVisible: ["error-visible", "errorVisible"] }, ngImport: i0 }); }
|
|
71
71
|
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputDirective, decorators: [{
|
|
73
73
|
type: Directive,
|
|
74
74
|
args: [{
|
|
75
75
|
selector: 'spright-chat-input',
|
|
@@ -103,11 +103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
103
103
|
}] } });
|
|
104
104
|
|
|
105
105
|
class SprightChatInputModule {
|
|
106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
107
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
108
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
107
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputModule, declarations: [SprightChatInputDirective], imports: [CommonModule], exports: [SprightChatInputDirective] }); }
|
|
108
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputModule, imports: [CommonModule] }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatInputModule, decorators: [{
|
|
111
111
|
type: NgModule,
|
|
112
112
|
args: [{
|
|
113
113
|
declarations: [SprightChatInputDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-spright-angular-chat-input.mjs","sources":["../../../spright-angular/chat/input/spright-chat-input.directive.ts","../../../spright-angular/chat/input/spright-chat-input.module.ts","../../../spright-angular/chat/input/ni-spright-angular-chat-input.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\nimport { type ChatInput, chatInputTag } from '@ni/spright-components/dist/esm/chat/input';\nimport type { ChatInputSendEventDetail } from '@ni/spright-components/dist/esm/chat/input/types';\nimport { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { ChatInput };\nexport type { ChatInputSendEventDetail };\nexport { chatInputTag };\n\n/**\n * Directive to provide Angular integration for the chat input.\n */\n@Directive({\n selector: 'spright-chat-input',\n standalone: false\n})\nexport class SprightChatInputDirective {\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get sendButtonLabel(): string | undefined {\n return this.elementRef.nativeElement.sendButtonLabel;\n }\n\n @Input('send-button-label') public set sendButtonLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sendButtonLabel', value);\n }\n\n public get stopButtonLabel(): string | undefined {\n return this.elementRef.nativeElement.stopButtonLabel;\n }\n\n @Input('stop-button-label') public set stopButtonLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'stopButtonLabel', value);\n }\n\n public get processing(): boolean | undefined {\n return this.elementRef.nativeElement.processing;\n }\n\n @Input('processing') public set processing(value: boolean | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'processing', value);\n }\n\n public get sendDisabled(): boolean | undefined {\n return this.elementRef.nativeElement.sendDisabled;\n }\n\n @Input('send-disabled') public set sendDisabled(value: boolean | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sendDisabled', value);\n }\n\n public get maxLength(): number | undefined {\n return this.elementRef.nativeElement.maxLength;\n }\n\n @Input('maxlength') public set maxLength(value: number | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'maxLength', value);\n }\n\n public get value(): string | undefined {\n return this.elementRef.nativeElement.value;\n }\n\n @Input() public set value(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'value', value);\n }\n\n public get errorText(): string | undefined {\n return this.elementRef.nativeElement.errorText;\n }\n\n @Input('error-text') public set errorText(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);\n }\n\n public get errorVisible(): boolean {\n return this.elementRef.nativeElement.errorVisible;\n }\n\n @Input('error-visible') public set errorVisible(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatInput>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatInputDirective } from './spright-chat-input.directive';\n\nimport '@ni/spright-components/dist/esm/chat/input';\n\n@NgModule({\n declarations: [SprightChatInputDirective],\n imports: [CommonModule],\n exports: [SprightChatInputDirective]\n})\nexport class SprightChatInputModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAUA;;AAEG;MAKU,yBAAyB,CAAA;AAClC,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW;IACpD;IAEA,IAAoB,WAAW,CAAC,KAAyB,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC;IAClF;AAEA,IAAA,IAAW,eAAe,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,eAAe;IACxD;IAEA,IAAuC,eAAe,CAAC,KAAyB,EAAA;AAC5E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAA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EAAA,CAAA,WAAA,EAAA,WAAA,CAAA,EAAA,KAAA,EAAA,OAAA,EAAA,SAAA,EAAA,CAAA,YAAA,EAAA,WAAA,CAAA,EAAA,YAAA,EAAA,CAAA,eAAA,EAAA,cAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,UAAU,EAAE;AACf,iBAAA
|
|
1
|
+
{"version":3,"file":"ni-spright-angular-chat-input.mjs","sources":["../../../spright-angular/chat/input/spright-chat-input.directive.ts","../../../spright-angular/chat/input/spright-chat-input.module.ts","../../../spright-angular/chat/input/ni-spright-angular-chat-input.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\nimport { type ChatInput, chatInputTag } from '@ni/spright-components/dist/esm/chat/input';\nimport type { ChatInputSendEventDetail } from '@ni/spright-components/dist/esm/chat/input/types';\nimport { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { ChatInput };\nexport type { ChatInputSendEventDetail };\nexport { chatInputTag };\n\n/**\n * Directive to provide Angular integration for the chat input.\n */\n@Directive({\n selector: 'spright-chat-input',\n standalone: false\n})\nexport class SprightChatInputDirective {\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get sendButtonLabel(): string | undefined {\n return this.elementRef.nativeElement.sendButtonLabel;\n }\n\n @Input('send-button-label') public set sendButtonLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sendButtonLabel', value);\n }\n\n public get stopButtonLabel(): string | undefined {\n return this.elementRef.nativeElement.stopButtonLabel;\n }\n\n @Input('stop-button-label') public set stopButtonLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'stopButtonLabel', value);\n }\n\n public get processing(): boolean | undefined {\n return this.elementRef.nativeElement.processing;\n }\n\n @Input('processing') public set processing(value: boolean | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'processing', value);\n }\n\n public get sendDisabled(): boolean | undefined {\n return this.elementRef.nativeElement.sendDisabled;\n }\n\n @Input('send-disabled') public set sendDisabled(value: boolean | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sendDisabled', value);\n }\n\n public get maxLength(): number | undefined {\n return this.elementRef.nativeElement.maxLength;\n }\n\n @Input('maxlength') public set maxLength(value: number | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'maxLength', value);\n }\n\n public get value(): string | undefined {\n return this.elementRef.nativeElement.value;\n }\n\n @Input() public set value(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'value', value);\n }\n\n public get errorText(): string | undefined {\n return this.elementRef.nativeElement.errorText;\n }\n\n @Input('error-text') public set errorText(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);\n }\n\n public get errorVisible(): boolean {\n return this.elementRef.nativeElement.errorVisible;\n }\n\n @Input('error-visible') public set errorVisible(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<ChatInput>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SprightChatInputDirective } from './spright-chat-input.directive';\n\nimport '@ni/spright-components/dist/esm/chat/input';\n\n@NgModule({\n declarations: [SprightChatInputDirective],\n imports: [CommonModule],\n exports: [SprightChatInputDirective]\n})\nexport class SprightChatInputModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAUA;;AAEG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A,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,CAJhB,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAC9B,YAAY,aACZ,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAE1B,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,sBAAsB,YAHrB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,yBAAyB;AACtC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -11,10 +11,10 @@ class SprightChatMessageInboundDirective {
|
|
|
11
11
|
this.renderer = renderer;
|
|
12
12
|
this.elementRef = elementRef;
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.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: "20.3.18", type: SprightChatMessageInboundDirective, isStandalone: false, selector: "spright-chat-message-inbound", ngImport: i0 }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageInboundDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'spright-chat-message-inbound',
|
|
@@ -23,11 +23,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
23
23
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
24
24
|
|
|
25
25
|
class SprightChatMessageInboundModule {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
28
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageInboundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageInboundModule, declarations: [SprightChatMessageInboundDirective], imports: [CommonModule], exports: [SprightChatMessageInboundDirective] }); }
|
|
28
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageInboundModule, imports: [CommonModule] }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageInboundModule, decorators: [{
|
|
31
31
|
type: NgModule,
|
|
32
32
|
args: [{
|
|
33
33
|
declarations: [
|
|
@@ -11,10 +11,10 @@ class SprightChatMessageOutboundDirective {
|
|
|
11
11
|
this.renderer = renderer;
|
|
12
12
|
this.elementRef = elementRef;
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.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: "20.3.18", type: SprightChatMessageOutboundDirective, isStandalone: false, selector: "spright-chat-message-outbound", ngImport: i0 }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageOutboundDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'spright-chat-message-outbound',
|
|
@@ -23,11 +23,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
23
23
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
24
24
|
|
|
25
25
|
class SprightChatMessageOutboundModule {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
28
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageOutboundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageOutboundModule, declarations: [SprightChatMessageOutboundDirective], imports: [CommonModule], exports: [SprightChatMessageOutboundDirective] }); }
|
|
28
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageOutboundModule, imports: [CommonModule] }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageOutboundModule, decorators: [{
|
|
31
31
|
type: NgModule,
|
|
32
32
|
args: [{
|
|
33
33
|
declarations: [
|
|
@@ -11,10 +11,10 @@ class SprightChatMessageSystemDirective {
|
|
|
11
11
|
this.renderer = renderer;
|
|
12
12
|
this.elementRef = elementRef;
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.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: "20.3.18", type: SprightChatMessageSystemDirective, isStandalone: false, selector: "spright-chat-message-system", ngImport: i0 }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageSystemDirective, decorators: [{
|
|
18
18
|
type: Directive,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'spright-chat-message-system',
|
|
@@ -23,11 +23,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
23
23
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }] });
|
|
24
24
|
|
|
25
25
|
class SprightChatMessageSystemModule {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
28
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageSystemModule, declarations: [SprightChatMessageSystemDirective], imports: [CommonModule], exports: [SprightChatMessageSystemDirective] }); }
|
|
28
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageSystemModule, imports: [CommonModule] }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageSystemModule, decorators: [{
|
|
31
31
|
type: NgModule,
|
|
32
32
|
args: [{
|
|
33
33
|
declarations: [
|
|
@@ -19,10 +19,10 @@ class SprightChatMessageDirective {
|
|
|
19
19
|
this.renderer = renderer;
|
|
20
20
|
this.elementRef = elementRef;
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightChatMessageDirective, isStandalone: false, selector: "spright-chat-message", inputs: { messageType: ["message-type", "messageType"] }, ngImport: i0 }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: 'spright-chat-message',
|
|
@@ -34,11 +34,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
34
34
|
}] } });
|
|
35
35
|
|
|
36
36
|
class SprightChatMessageModule {
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
39
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
38
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageModule, declarations: [SprightChatMessageDirective], imports: [CommonModule], exports: [SprightChatMessageDirective] }); }
|
|
39
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageModule, imports: [CommonModule] }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightChatMessageModule, decorators: [{
|
|
42
42
|
type: NgModule,
|
|
43
43
|
args: [{
|
|
44
44
|
declarations: [
|
|
@@ -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 * @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,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
|
|
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,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,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;;;;"}
|
|
@@ -17,10 +17,10 @@ class SprightIconBaseDirective {
|
|
|
17
17
|
this.renderer = renderer;
|
|
18
18
|
this.elementRef = elementRef;
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconBaseDirective, isStandalone: true, inputs: { severity: "severity" }, ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconBaseDirective, decorators: [{
|
|
24
24
|
type: Directive
|
|
25
25
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { severity: [{
|
|
26
26
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-spright-angular-icon-base.mjs","sources":["../../../spright-angular/icon-base/spright-icon-base.directive.ts","../../../spright-angular/icon-base/ni-spright-angular-icon-base.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { Icon } from '@ni/nimble-components/dist/esm/icon-base';\nimport { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport { Icon, IconSeverity };\n\n/**\n * Base class for the spright icon directives\n */\n@Directive()\nexport class SprightIconBaseDirective {\n public get severity(): IconSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: IconSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Icon>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAEU,wBAAwB,CAAA;AACjC,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IAAoB,QAAQ,CAAC,KAAmB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC;IAC/E;IAEA,WAAA,CAAoC,QAAmB,EAAmB,UAA4B,EAAA;QAAlE,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAAqB;+GAThG,wBAAwB,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;mGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC
|
|
1
|
+
{"version":3,"file":"ni-spright-angular-icon-base.mjs","sources":["../../../spright-angular/icon-base/spright-icon-base.directive.ts","../../../spright-angular/icon-base/ni-spright-angular-icon-base.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { Icon } from '@ni/nimble-components/dist/esm/icon-base';\nimport { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport { Icon, IconSeverity };\n\n/**\n * Base class for the spright icon directives\n */\n@Directive()\nexport class SprightIconBaseDirective {\n public get severity(): IconSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: IconSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Icon>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAEU,wBAAwB,CAAA;AACjC,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IAAoB,QAAQ,CAAC,KAAmB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC;IAC/E;IAEA,WAAA,CAAoC,QAAmB,EAAmB,UAA4B,EAAA;QAAlE,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAA8B,IAAA,CAAA,UAAU,GAAV,UAAU;IAAqB;+GAThG,wBAAwB,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;mGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;sBAMI;;;ACfL;;AAEG;;;;"}
|
|
@@ -7,10 +7,10 @@ import { SprightIconBaseDirective } from '@ni/spright-angular/icon-base';
|
|
|
7
7
|
* Spright calendar week icon directive for reservation work items
|
|
8
8
|
*/
|
|
9
9
|
class SprightIconWorkItemCalendarWeekDirective extends SprightIconBaseDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemCalendarWeekDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconWorkItemCalendarWeekDirective, isStandalone: true, selector: "spright-icon-work-item-calendar-week", usesInheritance: true, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemCalendarWeekDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-icon-work-item-calendar-week',
|
|
@@ -7,10 +7,10 @@ import { SprightIconBaseDirective } from '@ni/spright-angular/icon-base';
|
|
|
7
7
|
* Spright calipers icon directive for calibration work items
|
|
8
8
|
*/
|
|
9
9
|
class SprightIconWorkItemCalipersDirective extends SprightIconBaseDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemCalipersDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconWorkItemCalipersDirective, isStandalone: true, selector: "spright-icon-work-item-calipers", usesInheritance: true, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemCalipersDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-icon-work-item-calipers',
|
|
@@ -7,10 +7,10 @@ import { SprightIconBaseDirective } from '@ni/spright-angular/icon-base';
|
|
|
7
7
|
* Spright forklift icon directive for transport work items
|
|
8
8
|
*/
|
|
9
9
|
class SprightIconWorkItemForkliftDirective extends SprightIconBaseDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemForkliftDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconWorkItemForkliftDirective, isStandalone: true, selector: "spright-icon-work-item-forklift", usesInheritance: true, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemForkliftDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-icon-work-item-forklift',
|
|
@@ -7,10 +7,10 @@ import { SprightIconBaseDirective } from '@ni/spright-angular/icon-base';
|
|
|
7
7
|
* Spright rectangle check lines icon directive for test plan work items
|
|
8
8
|
*/
|
|
9
9
|
class SprightIconWorkItemRectangleCheckLinesDirective extends SprightIconBaseDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemRectangleCheckLinesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconWorkItemRectangleCheckLinesDirective, isStandalone: true, selector: "spright-icon-work-item-rectangle-check-lines", usesInheritance: true, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemRectangleCheckLinesDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-icon-work-item-rectangle-check-lines',
|
|
@@ -7,10 +7,10 @@ import { SprightIconBaseDirective } from '@ni/spright-angular/icon-base';
|
|
|
7
7
|
* Spright user helmet safety icon directive for work items
|
|
8
8
|
*/
|
|
9
9
|
class SprightIconWorkItemUserHelmetSafetyDirective extends SprightIconBaseDirective {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemUserHelmetSafetyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: SprightIconWorkItemUserHelmetSafetyDirective, isStandalone: true, selector: "spright-icon-work-item-user-helmet-safety", usesInheritance: true, ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SprightIconWorkItemUserHelmetSafetyDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'spright-icon-work-item-user-helmet-safety',
|