barsa-sap-ui 2.0.38 → 2.0.40

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.
@@ -1,9 +1,8 @@
1
- import { ElementRef, OnDestroy, OnInit, WritableSignal } from '@angular/core';
1
+ import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
2
2
  import { FormBaseComponent } from 'barsa-novin-ray-core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class BarsaChatComponent extends FormBaseComponent implements OnInit, OnDestroy {
5
5
  simple: boolean;
6
- chatContentElement: ElementRef;
7
6
  randomNameArr: string[];
8
7
  randomFamilyArr: string[];
9
8
  randomTextArr: string[];
@@ -33,11 +32,11 @@ export declare class BarsaChatComponent extends FormBaseComponent implements OnI
33
32
  selectedThread: WritableSignal<any | null>;
34
33
  messages: WritableSignal<any[] | null>;
35
34
  replyingMessage: WritableSignal<any | null>;
36
- messageText: string;
35
+ _newMessageText: string;
36
+ onTextChange($event: any): void;
37
37
  ngOnInit(): void;
38
38
  ngOnDestroy(): void;
39
39
  scrollToBottom(force?: boolean, instant?: boolean): void;
40
- checkInput(event: any): Promise<void>;
41
40
  sendMessage(): void;
42
41
  addAttachment(): void;
43
42
  selectThread(thread: any): void;
@@ -27,7 +27,7 @@ export declare enum ThreadStatus {
27
27
  Busy = 3
28
28
  }
29
29
  export type User = {
30
- id: number;
30
+ id: string;
31
31
  avatar: string;
32
32
  name: string;
33
33
  };
@@ -1,12 +1,14 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { ReportViewBaseComponent, UiReportViewBaseSetting } from 'barsa-novin-ray-core';
2
+ import { ReportViewBaseComponent, UiReportViewBaseSetting, MoReportValuePipe, PictureFieldSourcePipe } from 'barsa-novin-ray-core';
3
3
  import { Message } from '../barsa-chat/chat.model';
4
4
  import * as i0 from "@angular/core";
5
- export declare class BarsaChatListComponent extends ReportViewBaseComponent<UiReportViewBaseSetting> implements OnInit, OnChanges {
5
+ export declare class BarsaChatListComponent extends ReportViewBaseComponent<BarsaChatListSettings> implements OnInit, OnChanges {
6
6
  messages: Message[] | null;
7
7
  replyingMessage: Message | null;
8
8
  simple: boolean;
9
9
  setReplyingMessage: EventEmitter<Message>;
10
+ _rval: MoReportValuePipe;
11
+ _picField: PictureFieldSourcePipe;
10
12
  moment: any;
11
13
  ngOnInit(): void;
12
14
  ngOnChanges(changes: SimpleChanges): void;
@@ -14,3 +16,14 @@ export declare class BarsaChatListComponent extends ReportViewBaseComponent<UiRe
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<BarsaChatListComponent, never>;
15
17
  static ɵcmp: i0.ɵɵComponentDeclaration<BarsaChatListComponent, "bsu-barsa-chat-list", never, { "messages": { "alias": "messages"; "required": false; }; "replyingMessage": { "alias": "replyingMessage"; "required": false; }; "simple": { "alias": "simple"; "required": false; }; }, { "setReplyingMessage": "setReplyingMessage"; }, never, never, false, never>;
16
18
  }
19
+ interface BarsaChatListSettings extends UiReportViewBaseSetting {
20
+ UserField: string;
21
+ DisplayNameField: string;
22
+ UserPictureField: string;
23
+ CreationDateField: string;
24
+ ReadAtField: string;
25
+ MessageTextField: string;
26
+ FileDataField: string;
27
+ PictureDataField: string;
28
+ }
29
+ export {};
@@ -10,7 +10,7 @@ export declare class BarsaChatMessageComponent {
10
10
  nextHasBadge: boolean;
11
11
  badgeLabel: string;
12
12
  reply: EventEmitter<any>;
13
- userId: number;
13
+ userId: string;
14
14
  imageRatio(image: any): any;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BarsaChatMessageComponent, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<BarsaChatMessageComponent, "bsu-barsa-chat-message", never, { "message": { "alias": "message"; "required": false; }; "showSender": { "alias": "showSender"; "required": false; }; "nextIsSame": { "alias": "nextIsSame"; "required": false; }; "pervIsSame": { "alias": "pervIsSame"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "nextHasBadge": { "alias": "nextHasBadge"; "required": false; }; "badgeLabel": { "alias": "badgeLabel"; "required": false; }; }, { "reply": "reply"; }, never, never, false, never>;
@@ -38,6 +38,8 @@ export declare class BarsaTreeItemComponent extends BaseViewItemPropsComponent i
38
38
  loadChildren: EventEmitter<MetaobjectDataModel>;
39
39
  dragMoved: EventEmitter<string>;
40
40
  icon$: Observable<string>;
41
+ appComponentIcon: string | null;
42
+ appComponentIconColor: string | null;
41
43
  rowBtns: {
42
44
  Icon: string;
43
45
  Action: string;
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { ContentDensity, ContentDensityService, DialogRef, DialogService } from '@fundamental-ngx/core';
2
+ import { ContentDensity, ContentDensityService, DialogComponent, DialogRef, DialogService } from '@fundamental-ngx/core';
3
3
  import { BaseComponent, MetaobjectDataModel, BbbTranslatePipe, PortalService } from 'barsa-novin-ray-core';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -7,6 +7,7 @@ export declare class UlvFormMultiSelectComponent extends BaseComponent {
7
7
  private _dialogService;
8
8
  private _bbbTranslatePipe;
9
9
  dialogContainer: TemplateRef<any>;
10
+ dialogComponent: DialogComponent;
10
11
  deviceSize: string;
11
12
  contentDensity$: Observable<ContentDensity>;
12
13
  constructor(_dialogService: DialogService, _bbbTranslatePipe: BbbTranslatePipe, _portalService: PortalService, _contentDensityService: ContentDensityService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-sap-ui",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^17.3.5",
6
6
  "@angular/common": "^17.3.5"