@omnia/fx 7.8.12-preview → 7.8.14-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,5 +1,5 @@
1
1
  import { OmniaContext } from "../contexts";
2
- import { UserTypeLayoutMode } from "../models";
2
+ import { UserTypeLayoutMode, VersionedLayoutId } from "../models";
3
3
  import { Store } from "./Store";
4
4
  import { UserTypeStore } from "./UserTypeStore";
5
5
  import { VersionedLayoutStore } from "./VersionedLayoutStore";
@@ -7,12 +7,15 @@ export declare class ProfileCardHandlerStore extends Store {
7
7
  omniaContext: OmniaContext;
8
8
  userTypeStore: UserTypeStore;
9
9
  versionedLayoutStore: VersionedLayoutStore;
10
- onActivated(): Promise<void>;
10
+ private userTypes;
11
+ private initPromise;
12
+ protected onActivated(): void;
11
13
  mode: import("./Store").StoreState<UserTypeLayoutMode>;
12
14
  isUsingProfileCard: import("./Store").StoreState<boolean>;
13
15
  getters: {
14
16
  getLayoutMode: () => UserTypeLayoutMode;
15
17
  isUsingProfileCard: () => boolean;
18
+ isInProfileCard: (id: VersionedLayoutId) => boolean;
16
19
  };
17
20
  mutations: {
18
21
  setMode: import("./Store").StoreMutation<(value: UserTypeLayoutMode) => void, (value: UserTypeLayoutMode) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
@@ -21,5 +24,6 @@ export declare class ProfileCardHandlerStore extends Store {
21
24
  switchMode: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
22
25
  useProfileCard: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
23
26
  stopUsingProfileCard: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
27
+ initStore: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
24
28
  };
25
29
  }
@@ -801,6 +801,7 @@ export interface OmniaUxLocalization {
801
801
  CurrentUser: string;
802
802
  PickedUser: string;
803
803
  SelectedUser: string;
804
+ CurrentGroup: string;
804
805
  };
805
806
  FilterRenderType: {
806
807
  Label: string;
@@ -1,35 +1,35 @@
1
- import { IIcon } from "@omnia/fx-models";
1
+ import { FontAwesomeIcon, IIcon } from "@omnia/fx-models";
2
2
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
3
3
  title: string;
4
4
  metricInfo: string;
5
5
  description: string;
6
- icon: IIcon;
7
- foregroundColor: string;
6
+ icon: IIcon | FontAwesomeIcon;
8
7
  iconColor: string;
9
- }, "icon">, any, any, any>> & {
8
+ onClickCallBack: () => void;
9
+ }, never>, any, any, any>> & {
10
10
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
11
11
  title: string;
12
12
  metricInfo: string;
13
13
  description: string;
14
- icon: IIcon;
15
- foregroundColor: string;
14
+ icon: IIcon | FontAwesomeIcon;
16
15
  iconColor: string;
17
- }, "icon">;
16
+ onClickCallBack: () => void;
17
+ }, never>;
18
18
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
19
19
  title: string;
20
20
  metricInfo: string;
21
21
  description: string;
22
- icon: IIcon;
23
- foregroundColor: string;
22
+ icon: IIcon | FontAwesomeIcon;
24
23
  iconColor: string;
25
- }, "icon">, any, any, any>> & {
24
+ onClickCallBack: () => void;
25
+ }, never>, any, any, any>> & {
26
26
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
27
27
  title: string;
28
28
  metricInfo: string;
29
29
  description: string;
30
- icon: IIcon;
31
- foregroundColor: string;
30
+ icon: IIcon | FontAwesomeIcon;
32
31
  iconColor: string;
33
- }, "icon">;
32
+ onClickCallBack: () => void;
33
+ }, never>;
34
34
  });
35
35
  export default _default;
@@ -4,24 +4,28 @@ declare const _default: (import("vue").VueConstructor<import("vue-tsx-support").
4
4
  eventActions: EventAction[];
5
5
  isEditMode: boolean;
6
6
  analyticsSettingsChanged: () => void;
7
- }, "analyticsSettings" | "eventActions">, any, any, any>> & {
7
+ allowEventActionTemplate: boolean;
8
+ }, "analyticsSettings">, any, any, any>> & {
8
9
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
9
10
  analyticsSettings: AnalyticsSettings;
10
11
  eventActions: EventAction[];
11
12
  isEditMode: boolean;
12
13
  analyticsSettingsChanged: () => void;
13
- }, "analyticsSettings" | "eventActions">;
14
+ allowEventActionTemplate: boolean;
15
+ }, "analyticsSettings">;
14
16
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
15
17
  analyticsSettings: AnalyticsSettings;
16
18
  eventActions: EventAction[];
17
19
  isEditMode: boolean;
18
20
  analyticsSettingsChanged: () => void;
19
- }, "analyticsSettings" | "eventActions">, any, any, any>> & {
21
+ allowEventActionTemplate: boolean;
22
+ }, "analyticsSettings">, any, any, any>> & {
20
23
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
21
24
  analyticsSettings: AnalyticsSettings;
22
25
  eventActions: EventAction[];
23
26
  isEditMode: boolean;
24
27
  analyticsSettingsChanged: () => void;
25
- }, "analyticsSettings" | "eventActions">;
28
+ allowEventActionTemplate: boolean;
29
+ }, "analyticsSettings">;
26
30
  });
27
31
  export default _default;
@@ -6,6 +6,7 @@ export declare module AnalyticsSettingsLocalization {
6
6
  EnableEventTracking: string;
7
7
  EventCategory: string;
8
8
  EventActions: string;
9
+ EventAction: string;
9
10
  EventName: string;
10
11
  };
11
12
  }
@@ -1,7 +1,7 @@
1
1
  export declare module FilePickerMyComputerProviderLocalization {
2
2
  const namespace = "Omnia.Ux.FilePicker.MyComputerProvider";
3
3
  interface locInterface {
4
- WarningMessage: string;
4
+ New7WarningMessage: string;
5
5
  Title: string;
6
6
  }
7
7
  }
@@ -1,27 +1,27 @@
1
1
  import { ImageItem } from "../../../../models";
2
2
  interface UnsplashImageSource {
3
- original: string;
4
- large2x: string;
5
- large: string;
6
- medium: string;
3
+ full: string;
4
+ raw: string;
5
+ regular: string;
7
6
  small: string;
8
- portrait: string;
9
- landscape: string;
10
- tiny: string;
7
+ small_s3: string;
8
+ thumb: string;
11
9
  }
12
10
  export interface UnsplashServerImage {
13
11
  id: number;
14
12
  width: number;
15
13
  height: number;
16
- url: string;
17
- photographer: string;
18
- photographer_url: string;
19
- photographer_id: number;
20
- avg_color: string;
21
- src: UnsplashImageSource;
22
- liked: boolean;
14
+ color: string;
15
+ urls: UnsplashImageSource;
16
+ user: UnsplashUser;
17
+ slug: string;
23
18
  }
24
19
  export interface UnsplashImage extends ImageItem {
25
20
  serverImage: UnsplashServerImage;
26
21
  }
22
+ export interface UnsplashUser {
23
+ id: string;
24
+ username: string;
25
+ name: string;
26
+ }
27
27
  export {};
@@ -1,6 +1,6 @@
1
1
  import { UnsplashImage } from "../models/UnsplashImage";
2
2
  export declare class UnsplashImageService {
3
- private httpClient;
4
3
  private commonHttpClient;
5
- search: (keyword: string, offset?: number, limit?: number) => Promise<Array<UnsplashImage>>;
4
+ search: (searchText: string, offset?: number, limit?: number) => Promise<Array<UnsplashImage>>;
5
+ private getImages;
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.8.12-preview",
4
+ "version": "7.8.14-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.8.12-preview",
23
+ "@omnia/fx-models": "7.8.14-preview",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",