@vknext/shared 1.4.6 → 1.4.8
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const waitMECommunityCommonContext: () => Promise<import("../types").IMECommonContext>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./utils/waitVariable.js";const t=()=>o("MECommunityCommonContext");export{t as waitMECommunityCommonContext};
|
package/dist/vkcom/types.d.ts
CHANGED
|
@@ -24,7 +24,14 @@ interface IWall {
|
|
|
24
24
|
init: (props: IWallInitProps) => void;
|
|
25
25
|
votingUpdateFull: (_: string, e: string) => void;
|
|
26
26
|
initReplyEditable: (replyBox: HTMLElement, replyField: HTMLElement, postId: string) => void;
|
|
27
|
-
showEditReply: (
|
|
27
|
+
showEditReply: (
|
|
28
|
+
postId: string,
|
|
29
|
+
e?: unknown,
|
|
30
|
+
o?: boolean,
|
|
31
|
+
i?: boolean,
|
|
32
|
+
focus?: boolean,
|
|
33
|
+
onInited?: () => void,
|
|
34
|
+
) => void;
|
|
28
35
|
[key: string | symbol]: any;
|
|
29
36
|
}
|
|
30
37
|
|
|
@@ -757,8 +764,16 @@ interface INav {
|
|
|
757
764
|
fromStr(string: string): NavGoLocProps;
|
|
758
765
|
objLoc: NavGoLocProps;
|
|
759
766
|
setLoc(loc: NavGoLocProps): void;
|
|
760
|
-
go(
|
|
761
|
-
|
|
767
|
+
go(
|
|
768
|
+
loc: NavGoLoc | string,
|
|
769
|
+
ev?: string | React.MouseEvent<HTMLElement, MouseEvent>["nativeEvent"] | null | Event,
|
|
770
|
+
opts?: Record<string, any>,
|
|
771
|
+
): void;
|
|
772
|
+
change: (
|
|
773
|
+
loc: NavGoLoc,
|
|
774
|
+
ev?: string | React.MouseEvent<HTMLElement, MouseEvent>["nativeEvent"] | null,
|
|
775
|
+
opts?: Record<string, any>,
|
|
776
|
+
) => void;
|
|
762
777
|
onLocationChange: (handler: (locStr: string) => unknown) => () => void;
|
|
763
778
|
addNavigationStartListener: (handler: (locStr: string) => unknown) => () => void;
|
|
764
779
|
/**
|
|
@@ -856,6 +871,7 @@ declare global {
|
|
|
856
871
|
var vk: IVK;
|
|
857
872
|
var getAudioPlayer: () => IAudioPlayer;
|
|
858
873
|
var MECommonContext: IMECommonContext;
|
|
874
|
+
var MECommunityCommonContext: IMECommonContext;
|
|
859
875
|
var nav: INav;
|
|
860
876
|
var Photoview: IPhotoview;
|
|
861
877
|
var uiActionsMenu: IUIActionsMenu;
|