@bcc-code/vue-bcc-chat-ui 1.3.2 → 1.4.1
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/dist/chat/index.d.ts +1 -0
- package/dist/chat/mobileView.d.ts +10 -0
- package/dist/vue-bcc-chat-ui.js +7273 -7240
- package/package.json +1 -1
- package/src/components/BccChatMessageList.vue +15 -3
package/dist/chat/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ declare const _default: {
|
|
|
29
29
|
install: (app: any) => Promise<void>;
|
|
30
30
|
switchView: () => void;
|
|
31
31
|
isMobileView: any;
|
|
32
|
+
watchAndApplyStyle: typeof import("./mobileView").watchAndApplyStyle;
|
|
32
33
|
};
|
|
33
34
|
connection: {
|
|
34
35
|
setAccessToken: (token: string) => Promise<void>;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
export declare const switchView: () => void;
|
|
2
2
|
export declare const install: (app: any) => Promise<void>;
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param targetSelector
|
|
6
|
+
* @param searchSelector Which elements to find and apply the style to
|
|
7
|
+
* @param style The css styles to apply
|
|
8
|
+
* @param shadowDomSelector (optional) If the elements are in a shadow dom, you can specify the selector to find the shadow dom (e.g. 'my-element'
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function watchAndApplyStyle(targetSelector: string, searchSelector: string, style: Record<string, string>, shadowDomSelector?: string): MutationObserver | undefined;
|
|
3
12
|
declare const _default: {
|
|
4
13
|
install: (app: any) => Promise<void>;
|
|
5
14
|
switchView: () => void;
|
|
6
15
|
isMobileView: any;
|
|
16
|
+
watchAndApplyStyle: typeof watchAndApplyStyle;
|
|
7
17
|
};
|
|
8
18
|
export default _default;
|