@omnia/fx 7.9.32-preview → 7.9.33-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.
- package/internal-do-not-import-from-here/services/identities/IdentityService.d.ts +5 -0
- package/internal-do-not-import-from-here/stores/ArchivedIdentityStore.d.ts +23 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/authenticationchecker/AuthenticationChecker.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/identities/IdentityRenderer.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -1
- package/package.json +2 -2
@@ -2,6 +2,7 @@ import { Future, GroupIdentity, GroupMembers, Identity, IdentityQuery, IResolved
|
|
2
2
|
export declare class IdentityService {
|
3
3
|
private httpClient;
|
4
4
|
private baseUrl;
|
5
|
+
private archiveUrl;
|
5
6
|
query(query: IdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
6
7
|
queryUsers(query: UserIdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
7
8
|
getSpecialIdentities(): Future<IResolvedIdentity[]>;
|
@@ -24,4 +25,8 @@ export declare class IdentityService {
|
|
24
25
|
getIdentitiesWithProviderIdentities: (providerId: GuidValue, userIds: GuidValue[]) => Future<{
|
25
26
|
[userIdentityUid: string]: Identity;
|
26
27
|
}>;
|
28
|
+
queryArchive(query: IdentityQuery): Future<ItemQueryResult<IResolvedIdentity>>;
|
29
|
+
resolveArchivedUserIdentities(identites: Identity[]): Future<{
|
30
|
+
[uid: string]: IResolvedIdentity;
|
31
|
+
}>;
|
27
32
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Future, IResolvedIdentity, Identity, IdentityQuery } from "@omnia/fx-models";
|
2
|
+
import { Store } from "./Store";
|
3
|
+
import { IIdentityPickerStore } from "./IdentityStore";
|
4
|
+
export declare class ArchivedIdentityStore extends Store implements IIdentityPickerStore {
|
5
|
+
private identityService;
|
6
|
+
private archivedIdentitiesState;
|
7
|
+
getters: {
|
8
|
+
getResolvedIdentity: (identity: Identity) => IResolvedIdentity;
|
9
|
+
getResolvedIdentities: () => IResolvedIdentity[];
|
10
|
+
};
|
11
|
+
mutations: {
|
12
|
+
addOrUpdateResolvedIdentities: (resolvedIdentities: IResolvedIdentity[]) => void;
|
13
|
+
};
|
14
|
+
actions: {
|
15
|
+
resolveIdentities: import("./Store").StoreAction<unknown, (identities: Identity[]) => void, (result: {
|
16
|
+
[uid: string]: IResolvedIdentity;
|
17
|
+
}, identities: Identity[]) => void, (failureReason: any, identities: Identity[]) => void, (identities: Identity[]) => Promise<{
|
18
|
+
[uid: string]: IResolvedIdentity;
|
19
|
+
}>>;
|
20
|
+
query: import("./Store").StoreAction<unknown, (query: IdentityQuery) => void, (result: import("@omnia/fx-models").ItemQueryResult<IResolvedIdentity>, query: IdentityQuery) => void, (failureReason: any, query: IdentityQuery) => void, (query: IdentityQuery) => Future<import("@omnia/fx-models").ItemQueryResult<IResolvedIdentity>>>;
|
21
|
+
};
|
22
|
+
protected onActivated(): void;
|
23
|
+
}
|
package/internal-do-not-import-from-here/ux/authenticationchecker/AuthenticationChecker.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import Vue from "vue";
|
2
|
-
import { IWebComponentInstance } from "../..";
|
2
|
+
import { IWebComponentInstance, OmniaContext } from "../..";
|
3
3
|
import { SubscriptionHandler } from "../../core";
|
4
4
|
import { AuthenticationCheckerLocalization } from "./loc/localize";
|
5
5
|
import { SharePointContext } from "../../sp";
|
@@ -7,6 +7,7 @@ export declare class AuthenticationChecker extends Vue implements IWebComponentI
|
|
7
7
|
static alreadyRenderedOneInstance: boolean;
|
8
8
|
subscriptionHandler: SubscriptionHandler;
|
9
9
|
sharePointContext: SharePointContext;
|
10
|
+
omniaContext: OmniaContext;
|
10
11
|
private httpClient;
|
11
12
|
loc: AuthenticationCheckerLocalization.locInterface;
|
12
13
|
authValidationApi: string;
|
@@ -17,6 +18,7 @@ export declare class AuthenticationChecker extends Vue implements IWebComponentI
|
|
17
18
|
show: boolean;
|
18
19
|
mounted(): void;
|
19
20
|
init(): void;
|
21
|
+
preventScrollingOnce(): void;
|
20
22
|
validateAuthStatus(enableCircuitBreaker?: () => void): void;
|
21
23
|
render(): VueTsxSupport.JSX.Element;
|
22
24
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { IResolvedIdentity, Identity } from "@omnia/fx-models";
|
2
|
+
import { IIdentityPickerStore } from "@omnia/fx/stores";
|
2
3
|
export type RenderSlotsType = {
|
3
4
|
left?: () => JSX.Element;
|
4
5
|
right?: () => JSX.Element;
|
@@ -69,6 +70,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
69
70
|
};
|
70
71
|
class?: string;
|
71
72
|
};
|
73
|
+
identityStore: IIdentityPickerStore;
|
72
74
|
}, "valueBind">, any, any, any>> & {
|
73
75
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
74
76
|
valueBind: Identity[];
|
@@ -112,6 +114,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
112
114
|
};
|
113
115
|
class?: string;
|
114
116
|
};
|
117
|
+
identityStore: IIdentityPickerStore;
|
115
118
|
}, "valueBind">;
|
116
119
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
117
120
|
valueBind: Identity[];
|
@@ -155,6 +158,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
155
158
|
};
|
156
159
|
class?: string;
|
157
160
|
};
|
161
|
+
identityStore: IIdentityPickerStore;
|
158
162
|
}, "valueBind">, any, any, any>> & {
|
159
163
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
160
164
|
valueBind: Identity[];
|
@@ -198,6 +202,7 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
|
|
198
202
|
};
|
199
203
|
class?: string;
|
200
204
|
};
|
205
|
+
identityStore: IIdentityPickerStore;
|
201
206
|
}, "valueBind">;
|
202
207
|
});
|
203
208
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OmniaContext, IWebComponentInstance } from "@omnia/fx";
|
2
|
-
import { VueComponentBase, ScopedSlots } from "@omnia/fx/ux";
|
2
|
+
import { VueComponentBase, ScopedSlots, IdentitiesLocalization } from "@omnia/fx/ux";
|
3
3
|
import { IProfileCardScopedSlots, UserIdentity } from "../../models";
|
4
4
|
import { FeatureStore, ProfileCardStore } from "../../stores";
|
5
5
|
import { IProfileCard } from ".";
|
@@ -26,6 +26,7 @@ export declare class ProfileCardComponent extends VueComponentBase<IProfileCard>
|
|
26
26
|
featureStore: FeatureStore;
|
27
27
|
private userIdentityStore;
|
28
28
|
private focusStore;
|
29
|
+
identityLoc: IdentitiesLocalization.locInterface;
|
29
30
|
private profileClasses;
|
30
31
|
private tenantPeopleInfo;
|
31
32
|
private showLinkToDelve;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "7.9.
|
4
|
+
"version": "7.9.33-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": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "7.9.
|
23
|
+
"@omnia/fx-models": "7.9.33-preview",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|