@vlprojects-chat/chat 0.0.54 → 0.0.57

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.
@@ -6,14 +6,17 @@ interface IParams {
6
6
  declare const UI_base: import("mobx-keystone")._Model<unknown, {
7
7
  route: import("mobx-keystone").OptionalModelProp<string>;
8
8
  channelId: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
9
+ lang: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
9
10
  params: import("mobx-keystone").ModelProp<IParams, IParams | null | undefined, IParams, IParams | null | undefined, string, false, string>;
10
11
  }, import("mobx-keystone").SnapshotInOfObject<import("mobx-keystone").ModelPropsToCreationData<{
11
12
  route: import("mobx-keystone").OptionalModelProp<string>;
12
13
  channelId: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
14
+ lang: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
13
15
  params: import("mobx-keystone").ModelProp<IParams, IParams | null | undefined, IParams, IParams | null | undefined, string, false, string>;
14
16
  }>>, import("mobx-keystone").SnapshotOutOfObject<import("mobx-keystone").ModelPropsToData<{
15
17
  route: import("mobx-keystone").OptionalModelProp<string>;
16
18
  channelId: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
19
+ lang: import("mobx-keystone").ModelProp<string, string | null | undefined, string, string | null | undefined, string, false, string>;
17
20
  params: import("mobx-keystone").ModelProp<IParams, IParams | null | undefined, IParams, IParams | null | undefined, string, false, string>;
18
21
  }>>>;
19
22
  export default class UI extends UI_base {
@@ -13,6 +13,7 @@ declare const _default: {
13
13
  enter: string;
14
14
  enterYourName: string;
15
15
  enterTheChat: string;
16
+ "channelPage.chat": string;
16
17
  or: string;
17
18
  login: string;
18
19
  signIn: string;
@@ -110,6 +111,7 @@ declare const _default: {
110
111
  enterYourName: string;
111
112
  enterTheChat: string;
112
113
  or: string;
114
+ "channelPage.chat": string;
113
115
  login: string;
114
116
  signIn: string;
115
117
  signInTheChat: string;
@@ -6,6 +6,7 @@ export interface IRUser {
6
6
  role: UserRoleEnum;
7
7
  username: string;
8
8
  displayName: string;
9
+ lang: string | null;
9
10
  }
10
11
  export interface IRChannelMessage {
11
12
  id: string;
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
2
  interface IProps {
3
- title?: string;
3
+ title?: string | React.ReactNode;
4
4
  active?: boolean;
5
5
  sx?: Record<string, string>;
6
6
  }
@@ -0,0 +1,10 @@
1
+ import { CSSProperties, ReactElement } from 'react';
2
+ interface IProps {
3
+ className?: string;
4
+ width?: number;
5
+ height?: number;
6
+ fill?: string;
7
+ style?: CSSProperties;
8
+ }
9
+ declare const _default: (props: IProps) => ReactElement;
10
+ export default _default;
@@ -3,7 +3,8 @@ export declare enum ListenerEventEnum {
3
3
  }
4
4
  export declare enum EventBusEventEnum {
5
5
  MessageSent = "MessageSent",
6
- ChatLoaded = "ChatLoaded"
6
+ ChatLoaded = "ChatLoaded",
7
+ ChatClose = "ChatClose"
7
8
  }
8
9
  export interface IEvents {
9
10
  event: EventBusEventEnum;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.0.54",
4
+ "version": "0.0.57",
5
5
  "description": "chat",
6
6
  "license": "ISC",
7
7
  "main": "dist/index.js",
@@ -1,2 +0,0 @@
1
- declare const intl: import("react-intl").IntlShape;
2
- export default intl;