@omnia/fx 7.1.154-dev → 7.1.156-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/properties/datasource/DataSourcePropertiesService.d.ts +7 -0
- package/internal-do-not-import-from-here/shared/http/Bring.d.ts +1 -1
- package/internal-do-not-import-from-here/shared/models/OmniaSharedBootstrapData.d.ts +1 -0
- package/internal-do-not-import-from-here/shared/models/Tokens.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +0 -10
- package/internal-do-not-import-from-here/ux/compositiontests/OptionsBlockCurrent.d.ts +4 -12
- package/internal-do-not-import-from-here/ux/filterengine/handler/FilterEngineHandler.d.ts +4 -2
- package/internal-do-not-import-from-here/ux/mediapickerproviders/MicrosoftStream/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/Youtube/loc/localize.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/mediapickerproviders/dalleprovider/DallEProvider.css.d.ts +14 -0
- package/internal-do-not-import-from-here/ux/models/ProfileCardStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +2 -0
- package/package.json +2 -2
|
@@ -23,21 +23,28 @@ export interface IWritebackTrigger {
|
|
|
23
23
|
* */
|
|
24
24
|
executeWritebacks(): Promise<void>;
|
|
25
25
|
}
|
|
26
|
+
export interface IChangeUserContextTrigger {
|
|
27
|
+
}
|
|
26
28
|
export declare class DataSourcePropertiesService {
|
|
27
29
|
private propertyDataSourceInstances;
|
|
28
30
|
private specificUser;
|
|
29
31
|
private serviceContainerContext;
|
|
30
32
|
omniaContext: OmniaContext;
|
|
31
33
|
private externalWritebackTrigger;
|
|
34
|
+
private externalChangeUserContextTrigger;
|
|
32
35
|
getDataSources(): Promise<Array<{
|
|
33
36
|
sourceId: PropertyDataSourceId;
|
|
34
37
|
dataSourceTitle: string;
|
|
35
38
|
}>>;
|
|
36
39
|
getSpecificUser(): UserIdentity;
|
|
37
40
|
setSpecificUser(specificUser: UserIdentity): void;
|
|
41
|
+
changeUserContext(user: UserIdentity): void;
|
|
42
|
+
isChangeUserContext(): boolean;
|
|
43
|
+
resetUserContext(): void;
|
|
38
44
|
hasExternalWritebackTrigger(): boolean;
|
|
39
45
|
addOnBeforeExternalWritebackHandler(writebackPreparationFunc: () => Promise<void>): void;
|
|
40
46
|
registerExternalWritebackTrigger(onWriteBackPendingListener: () => void, getExist?: boolean): IWritebackTrigger;
|
|
47
|
+
registerExternalChangeUserContextTrigger(onChangeUserContextListener: () => void): IChangeUserContextTrigger;
|
|
41
48
|
getProperties(datasourceId: PropertyDataSourceId): Promise<Array<DataSourceProperty>>;
|
|
42
49
|
/**
|
|
43
50
|
* Getting more than one possible creator for a given data source property means a selection must be made as several converters/creators could be used to create the desired propertydefinition, e.g. using ui component
|
|
@@ -569,11 +569,6 @@ export interface OmniaUxLocalization {
|
|
|
569
569
|
Description: string;
|
|
570
570
|
Title: string;
|
|
571
571
|
};
|
|
572
|
-
New7SPFxInfrastructure: {
|
|
573
|
-
Category: string;
|
|
574
|
-
Description: string;
|
|
575
|
-
Title: string;
|
|
576
|
-
};
|
|
577
572
|
New7ShowTeamsPresence: {
|
|
578
573
|
Category: string;
|
|
579
574
|
Description: string;
|
|
@@ -590,11 +585,6 @@ export interface OmniaUxLocalization {
|
|
|
590
585
|
Description: string;
|
|
591
586
|
Title: string;
|
|
592
587
|
};
|
|
593
|
-
SharePointExternalIdentityMapping: {
|
|
594
|
-
Category: string;
|
|
595
|
-
Description: string;
|
|
596
|
-
Title: string;
|
|
597
|
-
};
|
|
598
588
|
New7LegacyPre7Permissions: {
|
|
599
589
|
Category: string;
|
|
600
590
|
Description: string;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
2
|
-
|
|
3
|
-
}, never>, any, any, any>> & {
|
|
4
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<
|
|
5
|
-
hideBlock: (hidden: boolean) => void;
|
|
6
|
-
}, never>;
|
|
7
|
-
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
8
|
-
hideBlock: (hidden: boolean) => void;
|
|
9
|
-
}, never>, any, any, any>> & {
|
|
10
|
-
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
11
|
-
hideBlock: (hidden: boolean) => void;
|
|
12
|
-
}, never>;
|
|
1
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
2
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
3
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<unknown, never>, any, any, any>> & {
|
|
4
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<unknown, never>;
|
|
13
5
|
});
|
|
14
6
|
export default _default;
|
|
@@ -34,6 +34,7 @@ export declare class FilterEngineHandler extends Store {
|
|
|
34
34
|
mainSectionMaxWidth: number;
|
|
35
35
|
readonly sectionMinWidth: number;
|
|
36
36
|
private isWaitingForFirstQuery;
|
|
37
|
+
private isUpdatingResult;
|
|
37
38
|
private subscriptionHandler;
|
|
38
39
|
getters: {
|
|
39
40
|
keywordsSearching: () => string;
|
|
@@ -53,6 +54,7 @@ export declare class FilterEngineHandler extends Store {
|
|
|
53
54
|
propertyDefinition: (type: BaseFilterEnginePropertyType) => FilterEngineContextPropertyDefinition;
|
|
54
55
|
propertyOutputs: () => BaseFilterEnginePropertyOutput[];
|
|
55
56
|
isWaitingForFirstQuery: () => boolean;
|
|
57
|
+
isUpdatingResult: () => boolean;
|
|
56
58
|
hasFilter: () => boolean;
|
|
57
59
|
totalSelections: () => number;
|
|
58
60
|
componentId: () => string;
|
|
@@ -65,10 +67,10 @@ export declare class FilterEngineHandler extends Store {
|
|
|
65
67
|
toggleShowDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
|
|
66
68
|
ensureCloseDialog: import("@omnia/fx/stores").StoreMutation<() => void, () => IMessageBusSubscriptionHandler>;
|
|
67
69
|
setLatestRefiner: import("@omnia/fx/stores").StoreMutation<(internalName: string, refiner: Refiner<Refinement>) => void, (internalName: string, refiner: Refiner<Refinement>) => IMessageBusSubscriptionHandler>;
|
|
68
|
-
setUpdateDataCallback: import("@omnia/fx/stores").StoreMutation<(callback: () => void) => void, (callback: () => void) => IMessageBusSubscriptionHandler>;
|
|
70
|
+
setUpdateDataCallback: import("@omnia/fx/stores").StoreMutation<(callback: () => Promise<void>) => void, (callback: () => Promise<void>) => IMessageBusSubscriptionHandler>;
|
|
69
71
|
};
|
|
70
72
|
actions: {
|
|
71
|
-
init: import("@omnia/fx/stores").StoreAction<unknown, (settings: FilterEngineSettings, updateDataCallback?: () => void) => void, (result: void, settings: FilterEngineSettings, updateDataCallback?: () => void) => void, (failureReason: any, settings: FilterEngineSettings, updateDataCallback?: () => void) => void, (settings: FilterEngineSettings, updateDataCallback?: () => void) => Promise<void>>;
|
|
73
|
+
init: import("@omnia/fx/stores").StoreAction<unknown, (settings: FilterEngineSettings, updateDataCallback?: () => Promise<void>) => void, (result: void, settings: FilterEngineSettings, updateDataCallback?: () => Promise<void>) => void, (failureReason: any, settings: FilterEngineSettings, updateDataCallback?: () => Promise<void>) => void, (settings: FilterEngineSettings, updateDataCallback?: () => Promise<void>) => Promise<void>>;
|
|
72
74
|
};
|
|
73
75
|
private getPropertyDefinition;
|
|
74
76
|
private updateFilterState;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { types } from "typestyle";
|
|
2
|
+
import { ITheming } from "@omnia/fx/ux";
|
|
1
3
|
export declare const imageSize = 357.25;
|
|
2
4
|
export declare const DallEProviderStyles: {
|
|
3
5
|
wrapper: string;
|
|
@@ -16,6 +18,18 @@ export declare const DallEProviderStyles: {
|
|
|
16
18
|
promptTip: string;
|
|
17
19
|
FullHeight: string;
|
|
18
20
|
};
|
|
21
|
+
export declare const dallEImageGridStyles: {
|
|
22
|
+
row?: types.NestedCSSProperties;
|
|
23
|
+
column?: types.NestedCSSProperties;
|
|
24
|
+
imageWrapper?: types.NestedCSSProperties;
|
|
25
|
+
image?: types.NestedCSSProperties;
|
|
26
|
+
noResultsWrapper: types.NestedCSSProperties;
|
|
27
|
+
noResultsPositioner: types.NestedCSSProperties;
|
|
28
|
+
noResultsText: (theme: ITheming) => types.NestedCSSProperties;
|
|
29
|
+
overlay?: types.NestedCSSProperties;
|
|
30
|
+
backgroundColor?: types.NestedCSSProperties;
|
|
31
|
+
defaultOverlay?: types.NestedCSSProperties;
|
|
32
|
+
};
|
|
19
33
|
export declare const MediaProviderComponentBaseStyles: {
|
|
20
34
|
baseWrapper: string;
|
|
21
35
|
providerWrapper: string;
|
|
@@ -5,6 +5,7 @@ import { FeatureStore, ProfileCardStore } from "../../stores";
|
|
|
5
5
|
import { IProfileCard } from ".";
|
|
6
6
|
import "./ProfileCard.css";
|
|
7
7
|
import { OmniaTheming } from "../OmniaTheming";
|
|
8
|
+
import { DataSourcePropertiesService } from "../../services";
|
|
8
9
|
export declare class ProfileCardComponent extends VueComponentBase<IProfileCard> implements IWebComponentInstance, IProfileCard {
|
|
9
10
|
user: UserIdentity;
|
|
10
11
|
scopedSlots?: ScopedSlots<IProfileCardScopedSlots>;
|
|
@@ -16,6 +17,7 @@ export declare class ProfileCardComponent extends VueComponentBase<IProfileCard>
|
|
|
16
17
|
href?: string;
|
|
17
18
|
ripple: boolean;
|
|
18
19
|
profileCardStore: ProfileCardStore;
|
|
20
|
+
dataSourcePropertiesService: DataSourcePropertiesService;
|
|
19
21
|
omniaCtx: OmniaContext;
|
|
20
22
|
omniaTheming: OmniaTheming;
|
|
21
23
|
featureStore: FeatureStore;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.156-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.1.
|
|
23
|
+
"@omnia/fx-models": "7.1.156-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|