@omnia/fx 7.1.153-dev → 7.1.155-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.
@@ -23,20 +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;
45
+ addOnBeforeExternalWritebackHandler(writebackPreparationFunc: () => Promise<void>): void;
39
46
  registerExternalWritebackTrigger(onWriteBackPendingListener: () => void, getExist?: boolean): IWritebackTrigger;
47
+ registerExternalChangeUserContextTrigger(onChangeUserContextListener: () => void): IChangeUserContextTrigger;
40
48
  getProperties(datasourceId: PropertyDataSourceId): Promise<Array<DataSourceProperty>>;
41
49
  /**
42
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
- New7SharePointIntegration: {
594
- Category: string;
595
- Description: string;
596
- Title: string;
597
- };
598
588
  New7LegacyPre7Permissions: {
599
589
  Category: string;
600
590
  Description: string;
@@ -1 +1,2 @@
1
1
  export * from "./FilterEngineHandler";
2
+ export * from "./FilterEngineRouter";
@@ -14,6 +14,7 @@ export declare module MicrosoftStreamProviderLocalization {
14
14
  AutoPlay: string;
15
15
  Responsive: string;
16
16
  ShowInfo: string;
17
+ VideoInformation: string;
17
18
  };
18
19
  Message: {
19
20
  InvalidInputStartTime: string;
@@ -17,6 +17,7 @@ export declare module YouTubeProviderLocalization {
17
17
  Mute: string;
18
18
  Responsive: string;
19
19
  ShowInfo: string;
20
+ VideoInformation: string;
20
21
  };
21
22
  Message: {
22
23
  InvalidInputStartTime: string;
@@ -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;
@@ -16,4 +16,5 @@ export declare const ProfilecardStyles: {
16
16
  item: types.NestedCSSProperties;
17
17
  legacydialogTitle?: types.NestedCSSProperties;
18
18
  legacyActionButtons?: types.NestedCSSProperties;
19
+ new7DialogCloseBtn?: types.NestedCSSProperties;
19
20
  };
@@ -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.153-dev",
4
+ "version": "7.1.155-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.153-dev",
23
+ "@omnia/fx-models": "7.1.155-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",