@omnia/fx 7.5.11-preview → 7.5.12-preview

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,4 +1,4 @@
1
- import { OrgTreeUser, UserInformation, TenantPeopleInformation, UserIdentity } from "../models";
1
+ import { OrgTreeUser, UserInformation, TenantPeopleInformation, UserIdentity, ResolvedUserIdentity } from "../models";
2
2
  import { Store } from "./Store";
3
3
  import { ProfileCardService } from "../services/ProfileCardService";
4
4
  import { LocalizationService } from "../services/LocalizationService";
@@ -14,6 +14,8 @@ export declare class ProfileCardStore extends Store {
14
14
  userInformation: import("./Store").StoreState<{
15
15
  [uid: string]: UserInformation;
16
16
  }>;
17
+ userInProfile: import("./Store").StoreState<UserIdentity>;
18
+ userInProfileResolved: import("./Store").StoreState<ResolvedUserIdentity>;
17
19
  private enablePeopleInformation;
18
20
  private profileCardDialogTabs;
19
21
  tenantPeopleInfomation: import("./Store").StoreState<TenantPeopleInformation>;
@@ -23,15 +25,18 @@ export declare class ProfileCardStore extends Store {
23
25
  getEnablePeopleInformation: () => boolean;
24
26
  getProfileCardDialogTabs: () => Array<string>;
25
27
  getTenantPeopleInformationModel: () => TenantPeopleInformation;
28
+ getResolvedUserInProfile: () => ResolvedUserIdentity;
26
29
  };
27
30
  mutations: {
28
31
  setEnablePeopleInformation: import("./Store").StoreMutation<(value: boolean) => void, (value: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
29
32
  setProfieCardDialogTabs: import("./Store").StoreMutation<(tabs: string[]) => void, (tabs: string[]) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
30
33
  setTenantPeopleInformation: import("./Store").StoreMutation<(value: TenantPeopleInformation) => void, (value: TenantPeopleInformation) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
34
+ setUserInProfile: import("./Store").StoreMutation<(user: UserIdentity) => void, (user: UserIdentity) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
31
35
  };
32
36
  actions: {
33
37
  loadUser: import("./Store").StoreAction<unknown, (user: UserIdentity) => void, (result: OrgTreeUser, user: UserIdentity) => void, (failureReason: any, user: UserIdentity) => void, (user: UserIdentity) => Promise<OrgTreeUser>>;
34
38
  loadUserProperties: import("./Store").StoreAction<unknown, (user: UserIdentity, refresh?: boolean) => void, (result: UserInformation, user: UserIdentity, refresh?: boolean) => void, (failureReason: any, user: UserIdentity, refresh?: boolean) => void, (user: UserIdentity, refresh?: boolean) => Promise<UserInformation>>;
39
+ loadUserInProfile: import("./Store").StoreAction<unknown, () => void, (result: ResolvedUserIdentity) => void, (failureReason: any) => void, () => Promise<ResolvedUserIdentity>>;
35
40
  };
36
41
  onActivated(): void;
37
42
  onDisposing(): void;
@@ -419,6 +419,9 @@ export interface OmniaUxLocalization {
419
419
  FixedValue: string;
420
420
  CurrentPage: string;
421
421
  User: string;
422
+ TargetedUser: string;
423
+ CurrentUser: string;
424
+ SelectedUser: string;
422
425
  };
423
426
  BooleanFilterOption: {
424
427
  Yes: string;
@@ -432,6 +435,7 @@ export interface OmniaUxLocalization {
432
435
  FixedHeader: string;
433
436
  FixedFilterArea: string;
434
437
  };
438
+ UserProperty: string;
435
439
  };
436
440
  EnterpriseGlossary: {
437
441
  EnterpriseGlossaryPicker: string;
@@ -769,6 +773,7 @@ export interface OmniaUxLocalization {
769
773
  NoDefault: string;
770
774
  CurrentUser: string;
771
775
  PickedUser: string;
776
+ SelectedUser: string;
772
777
  };
773
778
  FilterRenderType: {
774
779
  Label: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.5.11-preview",
4
+ "version": "7.5.12-preview",
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.5.11-preview",
23
+ "@omnia/fx-models": "7.5.12-preview",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",