@omnia/fx 7.0.316-dev → 7.0.318-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/stores/CommentLikeStore.d.ts +3 -5
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/editorchrome/navigation/EditorChromeNavigation.css.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/filterengine/handler/PersonFilterEngineHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/post/templates/PostTemplate.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCardDialog.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/social/ILike.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/social/test/CommentLikeService.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,14 +1,12 @@
|
|
|
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
|
|
5
|
-
socialReacts: (isReacts: boolean, reactionType: ReactionType
|
|
4
|
+
export interface ILikeService {
|
|
5
|
+
socialReacts: (topicId: string, commentId: string, isReacts: boolean, reactionType: ReactionType) => Promise<void>;
|
|
6
6
|
toggleLike: (...params: any[]) => Promise<void>;
|
|
7
7
|
}
|
|
8
|
-
export interface ICommentLikeService extends
|
|
8
|
+
export interface ICommentLikeService extends ILikeService {
|
|
9
9
|
getCommentLike: (topicId: string) => Promise<CommentLike>;
|
|
10
|
-
socialReacts: (isReacts: boolean, reactionType: ReactionType, topicId: string, commentId: string) => Promise<void>;
|
|
11
|
-
toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>;
|
|
12
10
|
addComment: (comment: Comment) => Promise<Comment>;
|
|
13
11
|
updateComment: (comment: Comment) => Promise<Comment>;
|
|
14
12
|
deleteComment: (comment: Comment) => Promise<void>;
|
package/internal-do-not-import-from-here/ux/editorchrome/navigation/EditorChromeNavigation.css.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ThemeStyling } from "@omnia/fx-models";
|
|
2
|
+
import { ITheming } from "../../theming";
|
|
2
3
|
/**
|
|
3
4
|
* Styles for the Navigation Panel component
|
|
4
5
|
*/
|
|
@@ -12,6 +13,7 @@ export declare const EditorChromeNavigationStyles: {
|
|
|
12
13
|
actionHeader: {
|
|
13
14
|
icon: string;
|
|
14
15
|
};
|
|
16
|
+
leftResizer: (theming: ITheming) => string;
|
|
15
17
|
action: {
|
|
16
18
|
wrapper: (themeStyle: ThemeStyling) => string;
|
|
17
19
|
title: string;
|
|
@@ -39,7 +39,6 @@ export declare class FilterEngineHandler extends Store {
|
|
|
39
39
|
setLatestRefinements: import("@omnia/fx/stores").StoreAction<unknown, (propertyNames: string[], refiners: Refiner<Refinement>[]) => void, (result: void, propertyNames: string[], refiners: Refiner<Refinement>[]) => void, (failureReason: any, propertyNames: string[], refiners: Refiner<Refinement>[]) => void, (propertyNames: Array<string>, refiners: Refiner<Refinement>[]) => Promise<void>>;
|
|
40
40
|
};
|
|
41
41
|
private getRefinableManagedProperty;
|
|
42
|
-
private getQueryableManagedProperty;
|
|
43
42
|
private handleTopElementResize;
|
|
44
43
|
onActivated(): void;
|
|
45
44
|
onDisposing(): void;
|
package/internal-do-not-import-from-here/ux/filterengine/handler/PersonFilterEngineHandler.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export default class PersonFilterEngineHandler extends Store implements ITypedFi
|
|
|
34
34
|
getManagedProperty(): string;
|
|
35
35
|
private checkLogicBuildQuery;
|
|
36
36
|
generateQueryText(): string;
|
|
37
|
+
private handleLongToken;
|
|
37
38
|
generateRefinerFilter(): string;
|
|
38
39
|
getSelectionCount(): number;
|
|
39
40
|
private getUid;
|
|
@@ -2,7 +2,7 @@ import { IPostCustomSlots, PostPermission, ThemeStore, Theming, VueComponentBase
|
|
|
2
2
|
import { IWebComponentInstance, OmniaContext } from "../../..";
|
|
3
3
|
import { IPersistedPost, IPostBaseContext, IPostBaseWithContext, OmitProperties, ReactionType, ResolvedUserIdentity, ThemeDefinition } from "../../../models";
|
|
4
4
|
import { IRichTextEditor } from "../../richtexteditor";
|
|
5
|
-
import {
|
|
5
|
+
import { ILikeService, 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>>>;
|
|
@@ -70,14 +70,14 @@ export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implement
|
|
|
70
70
|
ensureContentOnSave(content: string): string;
|
|
71
71
|
getContentInsideTag(content: string): string;
|
|
72
72
|
onClickReply(): void;
|
|
73
|
-
onReact(isReacts: boolean, reactionType: ReactionType): Promise<void>;
|
|
73
|
+
onReact(topicId: string, commentId: string, isReacts: boolean, reactionType: ReactionType): Promise<void>;
|
|
74
74
|
onClickRemoveReplyToPost(): void;
|
|
75
75
|
onClickDelete(): void;
|
|
76
76
|
onSave(): void;
|
|
77
77
|
onContentUpdate(content: string): void;
|
|
78
78
|
onMentionUpdate(mentionUsers: Array<ResolvedUserIdentity>): void;
|
|
79
79
|
onEditPostClicked(): void;
|
|
80
|
-
getCommentLikeService():
|
|
80
|
+
getCommentLikeService(): ILikeService;
|
|
81
81
|
private renderUserLink;
|
|
82
82
|
/**
|
|
83
83
|
* Render title for post
|
|
@@ -24,7 +24,7 @@ export declare class ProfileCardDialogComponent extends VueComponentBase impleme
|
|
|
24
24
|
private isReady;
|
|
25
25
|
private showDialog;
|
|
26
26
|
private userInformation;
|
|
27
|
-
private
|
|
27
|
+
private omniaCtxUsername;
|
|
28
28
|
private editPersonProfileHandler;
|
|
29
29
|
private editUserProfileElement;
|
|
30
30
|
private dialogRenderer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
|
|
2
2
|
import { ISocialReaction } from "../../models";
|
|
3
|
-
import {
|
|
3
|
+
import { ILikeService } from "../../stores";
|
|
4
4
|
export interface ILikeComponent {
|
|
5
5
|
topicId: string;
|
|
6
6
|
commendId?: string;
|
|
7
|
-
commentLikeService?:
|
|
7
|
+
commentLikeService?: ILikeService;
|
|
8
8
|
likes?: Array<ISocialReaction>;
|
|
9
9
|
likeListingTemplate?: string;
|
|
10
10
|
extendComponents?: Array<{
|
|
@@ -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: (topicId: string, commentId: string, isReacts: boolean, reactionType: ReactionType) => Promise<void>;
|
|
8
8
|
addComment: (comment: Comment) => Promise<Comment>;
|
|
9
9
|
updateComment: (comment: Comment) => Promise<Comment>;
|
|
10
10
|
deleteComment: (comment: Comment) => Promise<void>;
|
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.318-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.318-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|