@bcc-code/vue-bcc-chat-ui 2.0.1 → 2.0.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.
@@ -1,6 +1,186 @@
1
1
  import { ChatInstallOptions } from "./types";
2
2
  declare function install(app: any, options: ChatInstallOptions): Promise<void>;
3
3
  declare const _default: {
4
+ theme: import("vue").Ref<{
5
+ palette: {
6
+ mode: string;
7
+ background: {
8
+ light?: string | undefined;
9
+ dark?: string | undefined;
10
+ };
11
+ primary: {
12
+ light?: string | undefined;
13
+ dark?: string | undefined;
14
+ };
15
+ error: {
16
+ light?: string | undefined;
17
+ dark?: string | undefined;
18
+ };
19
+ accent: {
20
+ light?: string | undefined;
21
+ dark?: string | undefined;
22
+ };
23
+ accent50: {
24
+ light?: string | undefined;
25
+ dark?: string | undefined;
26
+ };
27
+ accent100: {
28
+ light?: string | undefined;
29
+ dark?: string | undefined;
30
+ };
31
+ accent200: {
32
+ light?: string | undefined;
33
+ dark?: string | undefined;
34
+ };
35
+ accent300: {
36
+ light?: string | undefined;
37
+ dark?: string | undefined;
38
+ };
39
+ accent400: {
40
+ light?: string | undefined;
41
+ dark?: string | undefined;
42
+ };
43
+ accent500: {
44
+ light?: string | undefined;
45
+ dark?: string | undefined;
46
+ };
47
+ accent600: {
48
+ light?: string | undefined;
49
+ dark?: string | undefined;
50
+ };
51
+ accent700: {
52
+ light?: string | undefined;
53
+ dark?: string | undefined;
54
+ };
55
+ accent800: {
56
+ light?: string | undefined;
57
+ dark?: string | undefined;
58
+ };
59
+ accent900: {
60
+ light?: string | undefined;
61
+ dark?: string | undefined;
62
+ };
63
+ success: {
64
+ light?: string | undefined;
65
+ dark?: string | undefined;
66
+ };
67
+ secondary: {
68
+ light?: string | undefined;
69
+ dark?: string | undefined;
70
+ };
71
+ getAccent: (mode?: string | undefined) => string | undefined;
72
+ getAccent50: (mode?: string | undefined) => string | undefined;
73
+ getAccent100: (mode?: string | undefined) => string | undefined;
74
+ getAccent200: (mode?: string | undefined) => string | undefined;
75
+ getAccent300: (mode?: string | undefined) => string | undefined;
76
+ getAccent400: (mode?: string | undefined) => string | undefined;
77
+ getAccent500: (mode?: string | undefined) => string | undefined;
78
+ getAccent600: (mode?: string | undefined) => string | undefined;
79
+ getAccent700: (mode?: string | undefined) => string | undefined;
80
+ getAccent800: (mode?: string | undefined) => string | undefined;
81
+ getAccent900: (mode?: string | undefined) => string | undefined;
82
+ getSuccess: (mode?: string | undefined) => string | undefined;
83
+ getError: (mode?: string | undefined) => string | undefined;
84
+ getPrimary: (mode?: string | undefined) => string | undefined;
85
+ getSecondary: (mode?: string | undefined) => string | undefined;
86
+ getBackground: (mode?: string | undefined) => string | undefined;
87
+ setMode: (mode: string) => void;
88
+ setBackground: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
89
+ setPrimary: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
90
+ setSecondary: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
91
+ setError: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
92
+ setAccent: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
93
+ setAccent50: (colorset?: import("@cometchat/uikit-resources").PaletteItem | undefined) => void;
94
+ setAccent100: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
95
+ setAccent200: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
96
+ setAccent300: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
97
+ setAccent400: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
98
+ setAccent500: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
99
+ setAccent600: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
100
+ setAccent700: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
101
+ setAccent800: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
102
+ setAccent900: (colorset: import("@cometchat/uikit-resources").PaletteItem) => void;
103
+ };
104
+ typography: {
105
+ fontFamily: string;
106
+ fontWeightRegular: string;
107
+ fontWeightMedium: string;
108
+ fontWeightSemibold: string;
109
+ fontWeightBold: string;
110
+ heading: {
111
+ fontFamily: string;
112
+ fontWeight: string;
113
+ fontSize: string;
114
+ };
115
+ name: {
116
+ fontFamily: string;
117
+ fontWeight: string;
118
+ fontSize: string;
119
+ };
120
+ title1: {
121
+ fontFamily: string;
122
+ fontWeight: string;
123
+ fontSize: string;
124
+ };
125
+ title2: {
126
+ fontFamily: string;
127
+ fontWeight: string;
128
+ fontSize: string;
129
+ };
130
+ subtitle1: {
131
+ fontFamily: string;
132
+ fontWeight: string;
133
+ fontSize: string;
134
+ };
135
+ subtitle2: {
136
+ fontFamily: string;
137
+ fontWeight: string;
138
+ fontSize: string;
139
+ };
140
+ text1: {
141
+ fontFamily: string;
142
+ fontWeight: string;
143
+ fontSize: string;
144
+ };
145
+ text2: {
146
+ fontFamily: string;
147
+ fontWeight: string;
148
+ fontSize: string;
149
+ };
150
+ text3: {
151
+ fontFamily: string;
152
+ fontWeight: string;
153
+ fontSize: string;
154
+ };
155
+ caption1: {
156
+ fontFamily: string;
157
+ fontWeight: string;
158
+ fontSize: string;
159
+ };
160
+ caption2: {
161
+ fontFamily: string;
162
+ fontWeight: string;
163
+ fontSize: string;
164
+ };
165
+ setFontFamily: (fontFamily: string) => void;
166
+ setFontWeightRegular: (fontWeightRegular: string) => void;
167
+ setFontWeightMedium: (fontWeightMedium: string) => void;
168
+ setFontWeightSemibold: (fontWeightSemibold: string) => void;
169
+ setFontWeightBold: (fontWeightBold: string) => void;
170
+ setHeading: (headingFont: import("@cometchat/uikit-resources").CometChatFont) => void;
171
+ setName: (nameFont: import("@cometchat/uikit-resources").CometChatFont) => void;
172
+ setTitle1: (titleFont: import("@cometchat/uikit-resources").CometChatFont) => void;
173
+ setTitle2: (titleFont: import("@cometchat/uikit-resources").CometChatFont) => void;
174
+ setSubtitle1: (subtitleFont: import("@cometchat/uikit-resources").CometChatFont) => void;
175
+ setSubtitle2: (subtitleFont: import("@cometchat/uikit-resources").CometChatFont) => void;
176
+ setText1: (textFont: import("@cometchat/uikit-resources").CometChatFont) => void;
177
+ setText2: (textFont: import("@cometchat/uikit-resources").CometChatFont) => void;
178
+ setText3: (textFont: import("@cometchat/uikit-resources").CometChatFont) => void;
179
+ setCaption1: (captionFont: import("@cometchat/uikit-resources").CometChatFont) => void;
180
+ setCaption2: (captionFont: import("@cometchat/uikit-resources").CometChatFont) => void;
181
+ };
182
+ }>;
183
+ setThemeMode: (mode: import("./types").ThemeMode) => void;
4
184
  loggedIn: import("vue").Ref<boolean>;
5
185
  login: (accessToken?: string | null | undefined) => Promise<boolean | undefined>;
6
186
  logout: () => Promise<boolean>;