@omnia/fx 7.0.303-dev → 7.0.305-dev
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/internal-do-not-import-from-here/services/PostService.d.ts +2 -1
- package/internal-do-not-import-from-here/stores/CommentLikeStore.d.ts +6 -2
- package/internal-do-not-import-from-here/stores/PostStore.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/PersonFilterEngineHandler.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/post/IPost.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.css.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +7 -9
- package/internal-do-not-import-from-here/ux/social/ILike.d.ts +4 -5
- package/internal-do-not-import-from-here/ux/social/Like.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/social/extensibilities/ILikeListingTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/templates/CommentLikeTemplate.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/templates/ILikeListingTemplate.d.ts +4 -5
- package/internal-do-not-import-from-here/ux/social/templates/LikeListingTemplate.d.ts +12 -9
- package/internal-do-not-import-from-here/ux/social/test/CommentLikeService.d.ts +1 -1
- package/internal-do-not-import-from-here/wcdefinitions.json +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue, IPersistedPost, IPostBaseContext, IPostBaseWithContext, IPostReference } from "../models";
|
|
1
|
+
import { GuidValue, IPersistedPost, IPostBaseContext, IPostBaseWithContext, IPostReference, ReactionType } from "../models";
|
|
2
2
|
export declare class PostService<TContextType extends IPostBaseContext> {
|
|
3
3
|
private serviceContainerContext;
|
|
4
4
|
private extensionHttpClients;
|
|
@@ -8,6 +8,7 @@ export declare class PostService<TContextType extends IPostBaseContext> {
|
|
|
8
8
|
get<TPostType extends IPostBaseWithContext<TContextType>>(postRef: IPostReference): Promise<IPersistedPost<TPostType>>;
|
|
9
9
|
getContext<TPostType extends IPostBaseWithContext<TContextType>>(omniaServiceId: GuidValue, postTypeId: GuidValue, topicId: GuidValue): Promise<Array<IPersistedPost<TPostType>>>;
|
|
10
10
|
toggleLike<TPostType extends IPostBaseWithContext<TContextType>>(postToToggle: IPersistedPost<TPostType>): Promise<IPersistedPost<TPostType>>;
|
|
11
|
+
socialReacts<TPostType extends IPostBaseWithContext<TContextType>>(postToReact: IPersistedPost<TPostType>, isReacts: boolean, reactionType: ReactionType): Promise<IPersistedPost<TPostType>>;
|
|
11
12
|
private getHttpClientForServiceId;
|
|
12
13
|
private getBaseUrl;
|
|
13
14
|
private getQueryString;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { CommentLike, Like, Comment, ResolvedUserIdentity, ReactionType } from "../models";
|
|
2
2
|
import { Store } from "../stores/Store";
|
|
3
3
|
import { IdentityStore } from "./IdentityStore";
|
|
4
|
-
export interface
|
|
4
|
+
export interface ISocialReactionService {
|
|
5
|
+
socialReacts: (isReacts: boolean, reactionType: ReactionType, ...params: any[]) => Promise<void>;
|
|
6
|
+
toggleLike: (...params: any[]) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export interface ICommentLikeService extends ISocialReactionService {
|
|
5
9
|
getCommentLike: (topicId: string) => Promise<CommentLike>;
|
|
6
|
-
socialReacts: (
|
|
10
|
+
socialReacts: (isReacts: boolean, reactionType: ReactionType, topicId: string, commentId: string) => Promise<void>;
|
|
7
11
|
toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>;
|
|
8
12
|
addComment: (comment: Comment) => Promise<Comment>;
|
|
9
13
|
updateComment: (comment: Comment) => Promise<Comment>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GuidValue, IPersistedPost, IPostBaseContext, IPostBaseWithContext, ResolvedUserIdentity } from "../models";
|
|
1
|
+
import { GuidValue, IPersistedPost, IPostBaseContext, IPostBaseWithContext, ReactionType, ResolvedUserIdentity } from "../models";
|
|
2
2
|
import { PostService } from "../services/PostService";
|
|
3
3
|
import { Store } from "./Store";
|
|
4
4
|
import { UserIdentityStore } from "./UserIdentityStore";
|
|
@@ -27,6 +27,7 @@ export declare class PostStore<TPostType extends IPostBaseWithContext<TContextTy
|
|
|
27
27
|
mutations: {};
|
|
28
28
|
actions: {
|
|
29
29
|
toggleLike: import("./Store").StoreAction<unknown, (persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (result: IPersistedPost<IPostBaseWithContext<TContextType>>, persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (failureReason: any, persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => Promise<IPersistedPost<IPostBaseWithContext<TContextType>>>>;
|
|
30
|
+
socialReacts: import("./Store").StoreAction<unknown, (postToReact: IPersistedPost<TPostType>, isReacts: boolean, reactionType: ReactionType) => void, (result: IPersistedPost<IPostBaseWithContext<TContextType>>, postToReact: IPersistedPost<TPostType>, isReacts: boolean, reactionType: ReactionType) => void, (failureReason: any, postToReact: IPersistedPost<TPostType>, isReacts: boolean, reactionType: ReactionType) => void, (postToReact: IPersistedPost<TPostType>, isReacts: boolean, reactionType: ReactionType) => Promise<IPersistedPost<IPostBaseWithContext<TContextType>>>>;
|
|
30
31
|
createPost: import("./Store").StoreAction<unknown, (post: TPostType, currentUser: ResolvedUserIdentity) => void, (result: IPersistedPost<TPostType>, post: TPostType, currentUser: ResolvedUserIdentity) => void, (failureReason: any, post: TPostType, currentUser: ResolvedUserIdentity) => void, (post: TPostType, currentUser: ResolvedUserIdentity) => Promise<IPersistedPost<TPostType>>>;
|
|
31
32
|
deletePost: import("./Store").StoreAction<unknown, (persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (result: IPersistedPost<TPostType>, persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (failureReason: any, persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => void, (persistedPost: IPersistedPost<TPostType>, currentUser: ResolvedUserIdentity) => Promise<IPersistedPost<TPostType>>>;
|
|
32
33
|
updatePost: import("./Store").StoreAction<unknown, (persistedPost: IPersistedPost<TPostType>) => void, (result: IPersistedPost<TPostType>, persistedPost: IPersistedPost<TPostType>) => void, (failureReason: any, persistedPost: IPersistedPost<TPostType>) => void, (persistedPost: IPersistedPost<TPostType>) => Promise<IPersistedPost<TPostType>>>;
|
package/internal-do-not-import-from-here/ux/filterengine/handler/PersonFilterEngineHandler.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export default class PersonFilterEngineHandler extends Store implements ITypedFi
|
|
|
35
35
|
getManagedProperty(): string;
|
|
36
36
|
generateQueryText(): string;
|
|
37
37
|
generateRefinerFilter(): string[];
|
|
38
|
-
|
|
38
|
+
getSelectionCount(): number;
|
|
39
39
|
private getUid;
|
|
40
40
|
onActivated: () => void;
|
|
41
41
|
onDisposing: () => void;
|
|
@@ -39,6 +39,7 @@ export default class LayoutEditorCanvas extends VueComponentBase implements IWeb
|
|
|
39
39
|
mounted(): void;
|
|
40
40
|
beforeDestroy(): void;
|
|
41
41
|
private handleWindowResize;
|
|
42
|
+
private enalbeRightResizer;
|
|
42
43
|
private DragStart;
|
|
43
44
|
private DragStop;
|
|
44
45
|
private ResizePanelSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PostStyle, TsxAllowUnknowProperties } from "..";
|
|
2
|
-
import { GuidValue, OmitProperties, ThemeDefinition, IPostBaseWithContext, IPostBaseContext, IPersistedPost, ResolvedUserIdentity } from "../../models";
|
|
2
|
+
import { GuidValue, OmitProperties, ThemeDefinition, IPostBaseWithContext, IPostBaseContext, IPersistedPost, ResolvedUserIdentity, ReactionType } from "../../models";
|
|
3
3
|
import { IRichTextEditor } from "../richtexteditor";
|
|
4
4
|
export interface IPostCustomSlots {
|
|
5
5
|
/**
|
|
@@ -25,6 +25,7 @@ export declare type PostHandler<TPostTypeWithContext extends IPostBaseWithContex
|
|
|
25
25
|
handleUpdatingPost: (updatingPost: IPersistedPost<TPostTypeWithContext>) => Promise<IPersistedPost<TPostTypeWithContext>>;
|
|
26
26
|
handleDeletingPost: (deletingPost: IPersistedPost<TPostTypeWithContext>) => Promise<IPersistedPost<TPostTypeWithContext>>;
|
|
27
27
|
handleTogglingLike: (togglingPost: IPersistedPost<TPostTypeWithContext>) => Promise<IPersistedPost<TPostTypeWithContext>>;
|
|
28
|
+
handleSocialReacts: (postToReact: IPersistedPost<TPostTypeWithContext>, isReacts: boolean, reactionType: ReactionType) => Promise<IPersistedPost<TPostTypeWithContext>>;
|
|
28
29
|
};
|
|
29
30
|
export interface PostProvider<TPostContext extends IPostBaseContext = IPostBaseContext, TPostTypeWithContext extends IPostBaseWithContext<TPostContext> = IPostBaseWithContext<TPostContext>> {
|
|
30
31
|
posts: Array<IPersistedPost<TPostTypeWithContext>>;
|
|
@@ -10,7 +10,6 @@ export declare const PostTemplateStyles: {
|
|
|
10
10
|
noticeReply: string;
|
|
11
11
|
editContentFooter: string;
|
|
12
12
|
footerWrapper: (theming: ITheming) => string;
|
|
13
|
-
postActionLink: (theming: ITheming) => string;
|
|
14
13
|
title: (theming: ITheming) => string;
|
|
15
14
|
dateInfo: string;
|
|
16
15
|
editOptionsMenu: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IPostCustomSlots, PostPermission, ThemeStore, Theming, VueComponentBase } from "../..";
|
|
2
2
|
import { IWebComponentInstance, OmniaContext } from "../../..";
|
|
3
|
-
import { IPersistedPost, IPostBaseContext, IPostBaseWithContext, OmitProperties, ResolvedUserIdentity, ThemeDefinition } from "../../../models";
|
|
3
|
+
import { IPersistedPost, IPostBaseContext, IPostBaseWithContext, OmitProperties, ReactionType, ResolvedUserIdentity, ThemeDefinition } from "../../../models";
|
|
4
4
|
import { IRichTextEditor } from "../../richtexteditor";
|
|
5
|
-
import { UserIdentityStore } from "@omnia/fx/stores";
|
|
5
|
+
import { ISocialReactionService, UserIdentityStore } from "@omnia/fx/stores";
|
|
6
6
|
export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implements IWebComponentInstance {
|
|
7
7
|
persistedPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>;
|
|
8
8
|
persistedPosts: Array<IPersistedPost<IPostBaseWithContext<IPostBaseContext>>>;
|
|
@@ -22,6 +22,7 @@ export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implement
|
|
|
22
22
|
handleUpdatingPost: (updatingPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => Promise<IPersistedPost<IPostBaseWithContext<IPostBaseContext>>>;
|
|
23
23
|
handleDeletingPost: (deletingPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => Promise<IPersistedPost<IPostBaseWithContext<IPostBaseContext>>>;
|
|
24
24
|
handleTogglingLike: (togglingPost: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>) => Promise<IPersistedPost<IPostBaseWithContext<IPostBaseContext>>>;
|
|
25
|
+
handleSocialReacts: (postToReact: IPersistedPost<IPostBaseWithContext<IPostBaseContext>>, isReacts: boolean, reactionType: ReactionType) => Promise<IPersistedPost<IPostBaseWithContext<IPostBaseContext>>>;
|
|
25
26
|
customSlots?: IPostCustomSlots;
|
|
26
27
|
hideEditOption?: boolean;
|
|
27
28
|
getTopPostIds: () => {
|
|
@@ -47,14 +48,11 @@ export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implement
|
|
|
47
48
|
private isAddingOrUpdatingPost;
|
|
48
49
|
private isDeleting;
|
|
49
50
|
private draftContent;
|
|
50
|
-
private showLikeListing;
|
|
51
|
-
private focusedElement;
|
|
52
51
|
private language;
|
|
53
52
|
private resetContent;
|
|
54
53
|
private isRTEPlaceholderClicked;
|
|
55
54
|
private isLoadingRTE;
|
|
56
55
|
private isRenderRTE;
|
|
57
|
-
private currentUserLiked;
|
|
58
56
|
private draftMentionUsers;
|
|
59
57
|
private customCardThemeId;
|
|
60
58
|
private childTargetThemeId;
|
|
@@ -64,22 +62,22 @@ export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implement
|
|
|
64
62
|
created(): void;
|
|
65
63
|
mounted(): void;
|
|
66
64
|
beforeUnmount(): void;
|
|
65
|
+
private migrateData;
|
|
66
|
+
private getReactions;
|
|
67
67
|
private ensureCustomThemeRegistered;
|
|
68
68
|
private ensureCustomThemeUnregistered;
|
|
69
69
|
getReplyToPost(): IPersistedPost<IPostBaseWithContext<IPostBaseContext>>;
|
|
70
|
-
setCurrentUserLiked(liked: boolean): void;
|
|
71
70
|
ensureContentOnSave(content: string): string;
|
|
72
71
|
getContentInsideTag(content: string): string;
|
|
73
72
|
onClickReply(): void;
|
|
74
|
-
|
|
73
|
+
onReact(isReacts: boolean, reactionType: ReactionType): Promise<void>;
|
|
75
74
|
onClickRemoveReplyToPost(): void;
|
|
76
75
|
onClickDelete(): void;
|
|
77
76
|
onSave(): void;
|
|
78
|
-
onKeydownShowLikeListing(event: any): void;
|
|
79
|
-
onHideLikeListing(): void;
|
|
80
77
|
onContentUpdate(content: string): void;
|
|
81
78
|
onMentionUpdate(mentionUsers: Array<ResolvedUserIdentity>): void;
|
|
82
79
|
onEditPostClicked(): void;
|
|
80
|
+
getCommentLikeService(): ISocialReactionService;
|
|
83
81
|
private renderUserLink;
|
|
84
82
|
/**
|
|
85
83
|
* Render title for post
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ISocialReaction } from "../../models";
|
|
3
|
+
import { ISocialReactionService } from "../../stores";
|
|
4
4
|
export interface ILikeComponent {
|
|
5
5
|
topicId: string;
|
|
6
6
|
commendId?: string;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
commentLikeService?: ISocialReactionService;
|
|
8
|
+
likes?: Array<ISocialReaction>;
|
|
9
9
|
likeListingTemplate?: string;
|
|
10
10
|
extendComponents?: Array<{
|
|
11
11
|
elem: string;
|
|
12
12
|
dynamicInput?: any;
|
|
13
13
|
}>;
|
|
14
|
-
isSocialReactionsMode?: boolean;
|
|
15
14
|
isCompactMode?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare global {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IWebComponentInstance, SubscriptionHandler } from "../..";
|
|
2
|
-
import {
|
|
2
|
+
import { ReactionType, ResolvedUserIdentity, UserIdentity, ISocialReactionStyling, ISocialReaction } from "../../models";
|
|
3
3
|
import { ILikeComponent } from "./ILike";
|
|
4
4
|
import { CommentLocalization } from "./loc/localize";
|
|
5
5
|
import { CommentLikeStore, ICommentLikeService } from "../../stores";
|
|
@@ -26,23 +26,23 @@ export declare class LikeComponent extends VueComponentBase implements IWebCompo
|
|
|
26
26
|
elem: string;
|
|
27
27
|
dynamicInput: any;
|
|
28
28
|
}>;
|
|
29
|
-
likes: Array<
|
|
29
|
+
likes: Array<ISocialReaction>;
|
|
30
30
|
commentLikeService: ICommentLikeService;
|
|
31
31
|
styles?: typeof LikeStyles;
|
|
32
|
-
isSocialReactionsMode?: boolean;
|
|
33
32
|
isCompactMode?: boolean;
|
|
34
33
|
currentUser: ResolvedUserIdentity;
|
|
35
34
|
showLikeListing: boolean;
|
|
36
|
-
|
|
35
|
+
socialReactionStylings: Array<ISocialReactionStyling>;
|
|
36
|
+
isSocialReactionsMode: boolean;
|
|
37
37
|
isShowingSocialReactionsDetail: boolean;
|
|
38
|
-
currentSocialReaction:
|
|
38
|
+
currentSocialReaction: ISocialReactionStyling;
|
|
39
39
|
private likeClasses;
|
|
40
40
|
beforeDestroy(): void;
|
|
41
41
|
created(): void;
|
|
42
42
|
mounted(): void;
|
|
43
43
|
initSocialReactionsMode(): void;
|
|
44
44
|
onSocialReactionClick(isReacts: boolean, reactionType: ReactionType): void;
|
|
45
|
-
|
|
45
|
+
getReactionsToShow(): Array<LikeUser>;
|
|
46
46
|
renderUserLink(item: LikeUser): VueTsxSupport.JSX.Element;
|
|
47
47
|
renderLikedByTitle(likesToShow: Array<LikeUser>, isCurrentUserLike: boolean): VueTsxSupport.JSX.Element[];
|
|
48
48
|
onOpenSocialReactionsDetail(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "../../..";
|
|
2
2
|
import { CommentLikeStore, ICommentLikeService } from "../../../stores";
|
|
3
3
|
import { OmniaContext } from "../../..";
|
|
4
|
-
import { Comment,
|
|
4
|
+
import { Comment, CommentLikeTemplateSettings, ThemeDefinition, ResolvedUserIdentity } from "../../../models";
|
|
5
5
|
import { ICommentTemplate } from "../extensibilities/ICommentTemplate";
|
|
6
6
|
import { Theming, ThemeStore, VueComponentBase } from "../..";
|
|
7
7
|
export interface CommentLikeTemplateDynamicInput {
|
|
@@ -48,7 +48,7 @@ export declare class CommentLikeTemplate extends VueComponentBase<{}, {}, {}> im
|
|
|
48
48
|
created(): void;
|
|
49
49
|
mounted(): void;
|
|
50
50
|
getReplyToComment(): Comment;
|
|
51
|
-
|
|
51
|
+
getSocialReactions(): import("@omnia/fx-models").Like[];
|
|
52
52
|
onClickReply(): void;
|
|
53
53
|
onClickMarkBestReply(): void;
|
|
54
54
|
onClickRemoveReplyToComment(): void;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { TsxAllowUnknowProperties } from "../../TsxAllowUnknowProperties";
|
|
2
2
|
import { ILikeListingtemplate } from "../extensibilities/ILikeListingTemplate";
|
|
3
|
-
import {
|
|
3
|
+
import { ISocialReactionStyling, ISocialReaction } from "../../../models";
|
|
4
4
|
export interface ILikeListingTemplateComponent extends ILikeListingtemplate {
|
|
5
|
-
likes
|
|
6
|
-
|
|
7
|
-
currentSocialReaction?:
|
|
5
|
+
likes?: Array<ISocialReaction>;
|
|
6
|
+
socialReactionStylings?: Array<ISocialReactionStyling>;
|
|
7
|
+
currentSocialReaction?: ISocialReactionStyling;
|
|
8
8
|
close: () => void;
|
|
9
|
-
isSocialReactionsMode?: boolean;
|
|
10
9
|
}
|
|
11
10
|
declare global {
|
|
12
11
|
namespace VueTsxSupport.JSX {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IWebComponentInstance } from "../../..";
|
|
2
|
-
import {
|
|
1
|
+
import { IWebComponentInstance, OmniaContext } from "../../..";
|
|
2
|
+
import { ISocialReaction, ISocialReactionStyling, ResolvedUserIdentity } from "../../../models";
|
|
3
3
|
import { ThemeStore, Theming, VueComponentBase } from "../..";
|
|
4
4
|
import { ILikeListingTemplateComponent } from "./ILikeListingTemplate";
|
|
5
5
|
import "../Like.css";
|
|
6
6
|
import { CommentLocalization } from "../loc/localize";
|
|
7
7
|
import { UserIdentityStore } from "@omnia/fx/stores";
|
|
8
8
|
export declare class LikeListingTemplate extends VueComponentBase implements IWebComponentInstance, ILikeListingTemplateComponent {
|
|
9
|
-
likes: Array<
|
|
10
|
-
|
|
11
|
-
currentSocialReaction?:
|
|
9
|
+
likes: Array<ISocialReaction>;
|
|
10
|
+
socialReactionStylings?: Array<ISocialReactionStyling>;
|
|
11
|
+
currentSocialReaction?: ISocialReactionStyling;
|
|
12
12
|
close: () => void;
|
|
13
|
-
|
|
13
|
+
omniaContext: OmniaContext;
|
|
14
14
|
userIdentityStore: UserIdentityStore;
|
|
15
15
|
themeStore: ThemeStore;
|
|
16
16
|
commentLocalization: CommentLocalization.locInterface;
|
|
@@ -28,10 +28,13 @@ export declare class LikeListingTemplate extends VueComponentBase implements IWe
|
|
|
28
28
|
replyAndLikeActionLink?: any;
|
|
29
29
|
};
|
|
30
30
|
selectedTabId: number;
|
|
31
|
+
isSocialReactionsMode: boolean;
|
|
32
|
+
currentUser: ResolvedUserIdentity;
|
|
31
33
|
private model;
|
|
32
|
-
created(): void
|
|
34
|
+
created(): Promise<void>;
|
|
33
35
|
mounted(): void;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
initSocialReactionsMode(): void;
|
|
37
|
+
renderTab(socialReactionStyling: ISocialReactionStyling): VueTsxSupport.JSX.Element;
|
|
38
|
+
renderTabItem(socialReactionStyling: ISocialReactionStyling): VueTsxSupport.JSX.Element;
|
|
36
39
|
render(h: any): VueTsxSupport.JSX.Element;
|
|
37
40
|
}
|
|
@@ -4,7 +4,7 @@ export declare class CommentLikeService implements ICommentLikeService {
|
|
|
4
4
|
constructor();
|
|
5
5
|
getCommentLike: (topicId: string) => Promise<CommentLike>;
|
|
6
6
|
toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>;
|
|
7
|
-
socialReacts: (
|
|
7
|
+
socialReacts: (isReacts: boolean, reactionType: ReactionType, topicId: string, commentId: string) => Promise<void>;
|
|
8
8
|
addComment: (comment: Comment) => Promise<Comment>;
|
|
9
9
|
updateComment: (comment: Comment) => Promise<Comment>;
|
|
10
10
|
deleteComment: (comment: Comment) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-like-listing-template":["likedBy","close","likes","
|
|
1
|
+
{"omfx-enterpriseproperties-taxonomyfield-value-definition":["availableParents"],"omfx-targeting-filter":["filter","onFilterChanged","fullWidth"],"omfx-term-picker":["startWithIds","termSetId","preSelectedTermIds","lcid","onTermsSelected","filterOptions","validator","description"],"omfx-termset-picker":["termSetId","onChanged"],"omnia-fx-spfx-wp-settings":["onClosed","onChange"],"omfx-queryable-enterpriseproperties":["serviceId","additionalBuiltInProperties "],"omfx-app-instance-delete-blade":["appInstance","handleClose","handleDeleteCompleted"],"omfx-app-instance-permission-blade":["appInstance","handleClose","onAppPermissionsUpdated"],"omfx-app-instance-information-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-users-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-instance-enterprise-step":["context","registerOnGoToNext","registerOnGoToPrev"],"omfx-app-provisioning-wizard":["initialAppTemplate","initialAppDefinition","initialAppInstance","onInstancePropertiesChanged","onProvisioningStarted","onProvisioningCompleted","styles","templatesToShow"],"omfx-button":["preset","icon","tooltip","size","mode","styles","onClick"],"omfx-color-picker":["display","valueBind","onValueChanged","errorMessages","validator","attachedToParent"],"omfx-confirm-dialog":["dialogOptions","onClose","styles","icon"],"omfx-context-language-picker":["onValueChanged","scopedSlots"],"omfx-datatable":["items","header","onSort","renderItem","onPaging","scrollElementSelector"],"omfx-date-time-picker":["valueBind","onValueChanged","formatter","description"],"omfx-enterpriseproperties-datetimefield-display":["settings"],"omfx-enterpriseproperty-picker":["preSelectedPropertyInternalName","propertyItems","externalPropertyItems","onChange","requiredWithValidator"],"omfx-enterprisepropertyset-picker":["preSelectedPropertySetId","propertySetItems","onChange","requiredWithValidator"],"omfx-features-journey":["onInstanceClosed"],"omfx-file-uploader":["onFileChanged","limitedFileTypes"],"omfx-numeric-indicator":["clickCallback","valueBind","label","style"],"omfx-barchart-indicator":["clickCallback","loadData","hasData","chartValues"],"omfx-heading":["styles","onChange"],"omfx-icon":["valueBind","styles","iconAttrs"],"omfx-icon-picker":["valueBind","onValueChanged","errorMessages","validator"],"omfx-iframe":["js","html","css","iframeHeight","iframeCustomStyle"],"omfx-media-imagegrid":["images","onImageSelected"],"omfx-input-language-picker":["multilingualContext"],"omfx-journey":["onInstanceCreated","onInstanceClosed","blades"],"omfx-language-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-media-picker-image":["image","imageStyle"],"omfx-media-picker-video":["video"],"omfx-multilingual-input":["valueBind","richTextSettings","requiredWithValidator","onValueChanged"],"omfx-organizationtree":["valueBind","onNewUserSelected"],"omfx-reportees":["users","manager","onUserClick"],"omfx-permission-input":["settings","contextParams"],"omfx-persona":["largeImage","linkToProfilecard","highlight","user","onUserClick"],"omfx-post-component":["richTextSettings","cardStyle","showMoreSize","styles","allowLikes","enableMention","customSlots"],"omfx-like-listing-template":["likedBy","close","likes","socialReactionStylings","currentSocialReaction","close"],"omfx-aboutuser":["user"],"omfx-profilecard":["user","scopedSlots","appendToBody"],"omfx-profilecard-dialog":["user"],"omfx-rich-text-editor":["onContentChange","onContentDataChange","onInstanceCreated"],"omfx-rich-text-editor-renderer":["editorContent"],"omfx-rollup-filter":["valueBind","onFilterChange","useRollupFilterRouter"],"omfx-security-trimer":["content","alternativeContent","roles"],"omfx-settings-pane":["valueBind","onCancel","onSave"],"omfx-comment-component":["topicId","comments","template","dynamicInput","richTextSettings","enableBestReply","canMarkBestReply","sortOrder","allowLikes","cardStyle","showMoreSize","additionalRoles"],"omfx-people-tagging-component":["content","richTextSettings","enableMention","contentChanged","mentionChanged","resetContetnRte"],"omfx-like-component":["topicId","commendId","commentLikeService","likes","likeListingTemplate","extendComponents"],"omfx-spacing-picker":["valueBind","onValueChanged"],"omfx-status-message-overlay":["content"],"omfx-template-picker":["valueBind","templates","onValueChanged"],"omfx-text-translator":["onTranslateCompleted"],"omfx-themedefinition-editor":["hideBodySettings","hideChromeSettings","hideBorderSettings","valueBind","onValueChanged","attachedToParent"],"omfx-timezone-picker":["valueBind","onValueChanged","scopedSlots","styles"],"omfx-url-input":["valueBind","requiredWithValidator","onValueChanged","onBlur"],"omfx-field-validation":["useValidator","checkValue","rules"],"omfx-wizard":["styles","onInstanceCreated","steps"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.305-dev",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.0.
|
|
23
|
+
"@omnia/fx-models": "7.0.305-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|