@rolatech/angular-components 20.1.0 → 20.1.2
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/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Renderer2, ElementRef, OnInit,
|
|
2
|
+
import { Renderer2, ElementRef, OnInit, AfterContentInit, AfterContentChecked, DoCheck, InjectionToken, EnvironmentProviders, AfterViewInit, OnDestroy, ChangeDetectorRef, AfterViewChecked, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
4
4
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
|
5
5
|
import * as i18 from '@angular/material/dialog';
|
|
@@ -9,6 +9,7 @@ import * as rxjs from 'rxjs';
|
|
|
9
9
|
import { Subscription } from 'rxjs';
|
|
10
10
|
import * as _angular_cdk_layout from '@angular/cdk/layout';
|
|
11
11
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
12
|
+
import * as _rolatech_angular_components from '@rolatech/angular-components';
|
|
12
13
|
import * as i44 from '@angular/cdk/scrolling';
|
|
13
14
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
14
15
|
import { Platform } from '@angular/cdk/platform';
|
|
@@ -186,23 +187,6 @@ declare class ContainerComponent {
|
|
|
186
187
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "rolatech-container", never, {}, {}, never, ["rolatech-toolbar", "rolatech-filter", "rolatech-tabs", "rolatech-chip-bar", "rolatech-list", "rolatech-content", "*"], true, never>;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
interface DrawerConfig {
|
|
190
|
-
persistent: boolean;
|
|
191
|
-
}
|
|
192
|
-
interface AppTopbarConfig {
|
|
193
|
-
persistent: boolean;
|
|
194
|
-
}
|
|
195
|
-
interface AppLayoutConfig {
|
|
196
|
-
title: string;
|
|
197
|
-
subtitle?: string;
|
|
198
|
-
persistent?: boolean | undefined;
|
|
199
|
-
topbar?: AppTopbarConfig;
|
|
200
|
-
drawer?: DrawerConfig;
|
|
201
|
-
guide?: boolean | undefined;
|
|
202
|
-
}
|
|
203
|
-
declare const APP_LAYOUT: InjectionToken<AppLayoutConfig>;
|
|
204
|
-
declare function provideAngularLayout(config?: AppLayoutConfig): EnvironmentProviders;
|
|
205
|
-
|
|
206
190
|
interface LINK {
|
|
207
191
|
title: string;
|
|
208
192
|
subtitle?: string;
|
|
@@ -223,7 +207,7 @@ declare class DrawerComponent implements AfterContentInit, AfterContentChecked {
|
|
|
223
207
|
renderer: Renderer2;
|
|
224
208
|
platformId: Object;
|
|
225
209
|
breakpointObserver: BreakpointObserver;
|
|
226
|
-
appLayout: AppLayoutConfig;
|
|
210
|
+
appLayout: _rolatech_angular_components.AppLayoutConfig;
|
|
227
211
|
guideEl: i0.Signal<ElementRef<any> | undefined>;
|
|
228
212
|
content: i0.Signal<ElementRef<any> | undefined>;
|
|
229
213
|
scrimEl: i0.Signal<ElementRef<any> | undefined>;
|
|
@@ -275,7 +259,7 @@ declare class TopbarComponent implements OnInit {
|
|
|
275
259
|
renderer: Renderer2;
|
|
276
260
|
platformId: Object;
|
|
277
261
|
breakpointObserver: BreakpointObserver;
|
|
278
|
-
appLayout: AppLayoutConfig;
|
|
262
|
+
appLayout: _rolatech_angular_components.AppLayoutConfig;
|
|
279
263
|
link: i0.InputSignal<string>;
|
|
280
264
|
appDrawer: DrawerComponent;
|
|
281
265
|
miniGuide: MiniGuideComponent;
|
|
@@ -295,7 +279,7 @@ declare class AppPageComponent implements OnInit, AfterContentInit {
|
|
|
295
279
|
}
|
|
296
280
|
|
|
297
281
|
declare class LayoutComponent implements OnInit, AfterContentInit {
|
|
298
|
-
appLayout: AppLayoutConfig;
|
|
282
|
+
appLayout: _rolatech_angular_components.AppLayoutConfig;
|
|
299
283
|
viewportRuler: ViewportRuler;
|
|
300
284
|
el: ElementRef<any>;
|
|
301
285
|
renderer: Renderer2;
|
|
@@ -621,6 +605,23 @@ declare class AngularComponentsModule {
|
|
|
621
605
|
static ɵinj: i0.ɵɵInjectorDeclaration<AngularComponentsModule>;
|
|
622
606
|
}
|
|
623
607
|
|
|
608
|
+
interface DrawerConfig {
|
|
609
|
+
persistent: boolean;
|
|
610
|
+
}
|
|
611
|
+
interface AppTopbarConfig {
|
|
612
|
+
persistent: boolean;
|
|
613
|
+
}
|
|
614
|
+
interface AppLayoutConfig {
|
|
615
|
+
title: string;
|
|
616
|
+
subtitle?: string;
|
|
617
|
+
persistent?: boolean | undefined;
|
|
618
|
+
topbar?: AppTopbarConfig;
|
|
619
|
+
drawer?: DrawerConfig;
|
|
620
|
+
guide?: boolean | undefined;
|
|
621
|
+
}
|
|
622
|
+
declare const APP_LAYOUT: InjectionToken<AppLayoutConfig>;
|
|
623
|
+
declare function provideAngularLayout(config?: AppLayoutConfig): EnvironmentProviders;
|
|
624
|
+
|
|
624
625
|
interface Column {
|
|
625
626
|
ref: string;
|
|
626
627
|
name: string;
|
|
@@ -911,15 +912,26 @@ declare class PanelHeaderComponent {
|
|
|
911
912
|
static ɵcmp: i0.ɵɵComponentDeclaration<PanelHeaderComponent, "rolatech-panel-header", never, {}, {}, never, ["*"], true, never>;
|
|
912
913
|
}
|
|
913
914
|
|
|
914
|
-
declare class ConversationContent implements AfterViewInit {
|
|
915
|
+
declare class ConversationContent implements AfterViewInit, AfterViewChecked, OnChanges {
|
|
915
916
|
messages: i0.InputSignal<ChatMessage[]>;
|
|
916
917
|
private scrollArea;
|
|
918
|
+
private messageItems;
|
|
919
|
+
private rafId;
|
|
920
|
+
private firstPaint;
|
|
917
921
|
private shouldStick;
|
|
918
922
|
streaming: i0.InputSignal<boolean>;
|
|
923
|
+
direction: i0.InputSignal<"bottom-to-top" | "top-to-bottom">;
|
|
924
|
+
private shouldScroll;
|
|
925
|
+
constructor();
|
|
926
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
927
|
+
ngAfterViewChecked(): void;
|
|
919
928
|
ngAfterViewInit(): void;
|
|
920
929
|
scrollToBottom(behavior?: ScrollBehavior): void;
|
|
930
|
+
private scrollUserMessageToTop;
|
|
931
|
+
private isUser;
|
|
932
|
+
private scheduleScrollUserMessageToTop;
|
|
921
933
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationContent, never>;
|
|
922
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationContent, "rolatech-conversation-content", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
934
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationContent, "rolatech-conversation-content", never, { "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "streaming": { "alias": "streaming"; "required": true; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
923
935
|
}
|
|
924
936
|
|
|
925
937
|
declare class ConversationHeader {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolatech/angular-components",
|
|
3
|
-
"version": "20.1.
|
|
3
|
+
"version": "20.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "rolatech angular components",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"@angular/common": "^20.0.0",
|
|
24
24
|
"@angular/router": "^20.0.0",
|
|
25
25
|
"@angular/material": "^20.0.0",
|
|
26
|
-
"@angular/animations": "^20.0.0",
|
|
27
26
|
"@angular/platform-browser": "^20.0.0",
|
|
28
27
|
"@angular/cdk": "^20.0.0",
|
|
29
28
|
"@angular/forms": "^20.0.0",
|
|
@@ -32,8 +31,8 @@
|
|
|
32
31
|
"lodash": "^4.17.21"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
|
-
"@rolatech/angular-common": "20.1.
|
|
36
|
-
"@rolatech/angular-services": "20.1.
|
|
34
|
+
"@rolatech/angular-common": "20.1.2",
|
|
35
|
+
"@rolatech/angular-services": "20.1.2",
|
|
37
36
|
"tslib": "^2.3.0"
|
|
38
37
|
},
|
|
39
38
|
"exports": {
|