@omnia/fx 7.0.372-dev → 7.0.373-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.
@@ -1,5 +1,5 @@
1
1
  import { types } from "typestyle";
2
2
  export declare const AppManagementStyles: {
3
3
  container: (colorBg: string, isStandalone: boolean) => types.NestedCSSProperties;
4
- body: (headerVisibility: boolean, isStandalone: boolean) => types.NestedCSSProperties;
4
+ body: (headerVisibility: boolean, compensationHeight: number) => types.NestedCSSProperties;
5
5
  };
@@ -1,26 +1,34 @@
1
1
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
2
2
  isStandalone: boolean;
3
3
  appDefinitionId: string;
4
- onClose: () => void;
5
4
  closable: boolean;
5
+ onLayoutEditorOpened: () => void;
6
+ onLayoutEditorClosed: () => void;
7
+ compensationHeight: number;
6
8
  }, never>, any, any, any>> & {
7
9
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
8
10
  isStandalone: boolean;
9
11
  appDefinitionId: string;
10
- onClose: () => void;
11
12
  closable: boolean;
13
+ onLayoutEditorOpened: () => void;
14
+ onLayoutEditorClosed: () => void;
15
+ compensationHeight: number;
12
16
  }, never>;
13
17
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
14
18
  isStandalone: boolean;
15
19
  appDefinitionId: string;
16
- onClose: () => void;
17
20
  closable: boolean;
21
+ onLayoutEditorOpened: () => void;
22
+ onLayoutEditorClosed: () => void;
23
+ compensationHeight: number;
18
24
  }, never>, any, any, any>> & {
19
25
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
20
26
  isStandalone: boolean;
21
27
  appDefinitionId: string;
22
- onClose: () => void;
23
28
  closable: boolean;
29
+ onLayoutEditorOpened: () => void;
30
+ onLayoutEditorClosed: () => void;
31
+ compensationHeight: number;
24
32
  }, never>;
25
33
  });
26
34
  export default _default;
@@ -1,8 +1,8 @@
1
- import { AppInstanceTabSettings, AppLayoutDefinition, AppLayoutTabSettings, AppNamingPolicyTabSettings, AppTemplateTabSettings, ElementRenderer, GuidValue, IAppManagementInstanceApi, IAppManagementInstanceHandler, IAppManagementUsageApi } from "@omnia/fx-models";
1
+ import { AppInstanceTabSettings, AppLayoutDefinition, AppLayoutTabSettings, AppNamingPolicyTabSettings, AppTemplateTabSettings, ElementRenderer, GuidValue, IAppManagementInstanceConfigurationApi, IAppManagementInstanceHandler, IAppManagementUsageApi } from "@omnia/fx-models";
2
2
  import { OmniaUxLocalization } from "@omnia/fx/ux";
3
3
  import { Ref } from "vue";
4
4
  import { AppManagementLocalization } from "../core";
5
- export interface IInternalAppManagementInstanceApi extends IAppManagementInstanceApi {
5
+ export interface IAppManagementInstanceApi extends IAppManagementInstanceConfigurationApi {
6
6
  readonly appDefinitionId: GuidValue;
7
7
  readonly appInstanceTabSettings: AppInstanceTabSettings;
8
8
  readonly appTemplateTabSettings: AppTemplateTabSettings;
@@ -10,11 +10,15 @@ export interface IInternalAppManagementInstanceApi extends IAppManagementInstanc
10
10
  readonly appNamingPolicyTabSettings: AppNamingPolicyTabSettings;
11
11
  readonly tabs: ElementRenderer[];
12
12
  readonly headerVisibility: Ref<boolean>;
13
+ readonly events: {
14
+ onLayoutEditorOpened: (cb: () => void) => void;
15
+ onLayoutEditorClosed: (cb: () => void) => void;
16
+ };
13
17
  }
14
18
  export interface IInternalAppManagementUsageApi extends IAppManagementUsageApi {
15
19
  getHandler: (appDefinitionId: GuidValue) => Promise<new () => IAppManagementInstanceHandler>;
16
20
  }
17
- export declare class AppManagementInstanceApi implements IInternalAppManagementInstanceApi {
21
+ export declare class AppManagementInstanceApi implements IAppManagementInstanceApi, IAppManagementInstanceConfigurationApi {
18
22
  readonly instanceId: GuidValue;
19
23
  appDefinitionId: GuidValue;
20
24
  appInstanceTabSettings: AppInstanceTabSettings;
@@ -25,6 +29,8 @@ export declare class AppManagementInstanceApi implements IInternalAppManagementI
25
29
  headerVisibility: Ref<boolean>;
26
30
  omniaLoc: OmniaUxLocalization;
27
31
  loc: AppManagementLocalization.ILocalize;
32
+ onLayoutEditorOpenedHook: () => void;
33
+ onLayoutEditorClosedHook: () => void;
28
34
  constructor(appDefinitionId: GuidValue);
29
35
  addAppInstanceTab: (settings: AppInstanceTabSettings) => this;
30
36
  addAppTemplateTab: (settings: AppTemplateTabSettings) => this;
@@ -37,6 +43,10 @@ export declare class AppManagementInstanceApi implements IInternalAppManagementI
37
43
  getNamingPolicyTabSettings: () => AppNamingPolicyTabSettings;
38
44
  getTabs: () => ElementRenderer[];
39
45
  sortTabs: () => void;
46
+ events: {
47
+ onLayoutEditorOpened: (cb: () => void) => void;
48
+ onLayoutEditorClosed: (cb: () => void) => void;
49
+ };
40
50
  render: () => import("vue").VNode;
41
51
  dispose: () => void;
42
52
  }
@@ -1,8 +1,6 @@
1
1
  import { AppInstance } from "@omnia/fx/models";
2
- import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
3
2
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
3
  item: AppInstance;
5
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
6
4
  onUpdated: () => void;
7
5
  }, never>, any, any, any>;
8
6
  export default _default;
@@ -1,11 +1,9 @@
1
1
  import { AppInstance, AppTemplate, TenantRegionalSettings } from "@omnia/fx/models";
2
- import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
3
2
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
3
  tabId: string;
5
4
  item: AppInstance;
6
5
  showOrHideInfo: (item: AppInstance) => void;
7
6
  regionalSettings: TenantRegionalSettings;
8
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
9
7
  editApp: (item: AppInstance) => void;
10
8
  deleteApp: (item: AppInstance) => void;
11
9
  openFeatures: (appInstance: AppInstance) => void;
@@ -1,7 +1,5 @@
1
1
  import { AppInstance, AppTemplate } from "@omnia/fx/models";
2
- import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
3
2
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
5
3
  openAppWizard: (initAppInsance: AppInstance, initAppTemplate: AppTemplate) => void;
6
4
  editApp: (appInstance: AppInstance) => void;
7
5
  deleteApp: (appInstance: AppInstance) => void;
@@ -1,8 +1,6 @@
1
1
  import { AppInstanceLayout } from "@omnia/fx-models";
2
- import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
3
2
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
5
3
  handleCloseEditLayout: () => void;
6
4
  selectedLayout: AppInstanceLayout;
7
- }, "selectedLayout" | "appManagementInstanceApi" | "handleCloseEditLayout">, any, any, any>;
5
+ }, "selectedLayout" | "handleCloseEditLayout">, any, any, any>;
8
6
  export default _default;
@@ -1,9 +1,7 @@
1
1
  import { AppInstanceLayout } from "@omnia/fx-models";
2
- import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
3
2
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
4
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
5
3
  handleAddLayout: () => void;
6
4
  handleOpenEditLayout: (layout: AppInstanceLayout) => void;
7
5
  handleEditAlias: (layout: AppInstanceLayout) => void;
8
- }, "appManagementInstanceApi" | "handleAddLayout" | "handleOpenEditLayout" | "handleEditAlias">, any, any, any>;
6
+ }, "handleAddLayout" | "handleOpenEditLayout" | "handleEditAlias">, any, any, any>;
9
7
  export default _default;
@@ -1,6 +1,4 @@
1
- import { IInternalAppManagementInstanceApi } from "../../../api/AppManagementApi";
2
1
  declare const _default: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, import("vue-tsx-support").PropsForOutside<{
3
2
  showCreationNewLayout: boolean;
4
- appManagementInstanceApi: IInternalAppManagementInstanceApi;
5
- }, "appManagementInstanceApi">, any, any, any>;
3
+ }, never>, any, any, any>;
6
4
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.372-dev",
4
+ "version": "7.0.373-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.0.372-dev",
23
+ "@omnia/fx-models": "7.0.373-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",