@omnia/fx 7.0.317-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.
@@ -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 ISocialReactionService {
5
- socialReacts: (isReacts: boolean, reactionType: ReactionType, ...params: any[]) => Promise<void>;
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 ISocialReactionService {
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>;
@@ -520,6 +520,11 @@ export interface OmniaUxLocalization {
520
520
  Description: string;
521
521
  Title: string;
522
522
  };
523
+ AzureAdUserSyncSetup: {
524
+ Category: string;
525
+ Description: string;
526
+ Title: string;
527
+ };
523
528
  };
524
529
  AuditLog: {
525
530
  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;
@@ -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 { ISocialReactionService, UserIdentityStore } from "@omnia/fx/stores";
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(): ISocialReactionService;
80
+ getCommentLikeService(): ILikeService;
81
81
  private renderUserLink;
82
82
  /**
83
83
  * Render title for post
@@ -1,10 +1,10 @@
1
1
  import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
2
2
  import { ISocialReaction } from "../../models";
3
- import { ISocialReactionService } from "../../stores";
3
+ import { ILikeService } from "../../stores";
4
4
  export interface ILikeComponent {
5
5
  topicId: string;
6
6
  commendId?: string;
7
- commentLikeService?: ISocialReactionService;
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: (isReacts: boolean, reactionType: ReactionType, topicId: string, commentId: string) => Promise<void>;
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.317-dev",
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.317-dev",
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",