@omnia/fx 7.0.371-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.
- package/internal-do-not-import-from-here/ux/app/management/AppManagement.css.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/app/management/AppManagement.d.ts +32 -4
- package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +43 -8
- package/internal-do-not-import-from-here/ux/app/management/tabs/instance/EditItem.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/instance/Item.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/instance/Listing.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/EditLayout.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/LayoutListing.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/addlayout/AddLayout.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/namingpolicies/ListingNamingPolicies.d.ts +1 -4
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/TemplateDetail.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/TemplatesListing.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/GeneralTab.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PoliciesTab.d.ts +1 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertiesTab.d.ts +1 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { types } from "typestyle";
|
|
2
2
|
export declare const AppManagementStyles: {
|
|
3
|
-
container: (
|
|
4
|
-
body: (headerVisibility: boolean) => types.NestedCSSProperties;
|
|
3
|
+
container: (colorBg: string, isStandalone: boolean) => types.NestedCSSProperties;
|
|
4
|
+
body: (headerVisibility: boolean, compensationHeight: number) => types.NestedCSSProperties;
|
|
5
5
|
};
|
|
@@ -1,6 +1,34 @@
|
|
|
1
|
-
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
2
|
+
isStandalone: boolean;
|
|
3
|
+
appDefinitionId: string;
|
|
4
|
+
closable: boolean;
|
|
5
|
+
onLayoutEditorOpened: () => void;
|
|
6
|
+
onLayoutEditorClosed: () => void;
|
|
7
|
+
compensationHeight: number;
|
|
8
|
+
}, never>, any, any, any>> & {
|
|
9
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
10
|
+
isStandalone: boolean;
|
|
11
|
+
appDefinitionId: string;
|
|
12
|
+
closable: boolean;
|
|
13
|
+
onLayoutEditorOpened: () => void;
|
|
14
|
+
onLayoutEditorClosed: () => void;
|
|
15
|
+
compensationHeight: number;
|
|
16
|
+
}, never>;
|
|
17
|
+
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
18
|
+
isStandalone: boolean;
|
|
19
|
+
appDefinitionId: string;
|
|
20
|
+
closable: boolean;
|
|
21
|
+
onLayoutEditorOpened: () => void;
|
|
22
|
+
onLayoutEditorClosed: () => void;
|
|
23
|
+
compensationHeight: number;
|
|
24
|
+
}, never>, any, any, any>> & {
|
|
25
|
+
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
26
|
+
isStandalone: boolean;
|
|
27
|
+
appDefinitionId: string;
|
|
28
|
+
closable: boolean;
|
|
29
|
+
onLayoutEditorOpened: () => void;
|
|
30
|
+
onLayoutEditorClosed: () => void;
|
|
31
|
+
compensationHeight: number;
|
|
32
|
+
}, never>;
|
|
5
33
|
});
|
|
6
34
|
export default _default;
|
|
@@ -1,17 +1,52 @@
|
|
|
1
|
-
import { AppInstanceTabSettings, AppLayoutTabSettings, AppNamingPolicyTabSettings, AppTemplateTabSettings, ElementRenderer, GuidValue,
|
|
1
|
+
import { AppInstanceTabSettings, AppLayoutDefinition, AppLayoutTabSettings, AppNamingPolicyTabSettings, AppTemplateTabSettings, ElementRenderer, GuidValue, IAppManagementInstanceConfigurationApi, IAppManagementInstanceHandler, IAppManagementUsageApi } from "@omnia/fx-models";
|
|
2
|
+
import { OmniaUxLocalization } from "@omnia/fx/ux";
|
|
2
3
|
import { Ref } from "vue";
|
|
3
|
-
|
|
4
|
+
import { AppManagementLocalization } from "../core";
|
|
5
|
+
export interface IAppManagementInstanceApi extends IAppManagementInstanceConfigurationApi {
|
|
4
6
|
readonly appDefinitionId: GuidValue;
|
|
5
7
|
readonly appInstanceTabSettings: AppInstanceTabSettings;
|
|
6
8
|
readonly appTemplateTabSettings: AppTemplateTabSettings;
|
|
7
9
|
readonly appLayoutTabSettings: AppLayoutTabSettings;
|
|
8
10
|
readonly appNamingPolicyTabSettings: AppNamingPolicyTabSettings;
|
|
9
|
-
readonly open: () => IAppManagementDisposable;
|
|
10
11
|
readonly tabs: ElementRenderer[];
|
|
11
|
-
readonly handler: new () => IAppManagementInstanceHandler;
|
|
12
|
-
readonly closable: boolean;
|
|
13
|
-
readonly dispose: () => void;
|
|
14
12
|
readonly headerVisibility: Ref<boolean>;
|
|
15
|
-
readonly
|
|
13
|
+
readonly events: {
|
|
14
|
+
onLayoutEditorOpened: (cb: () => void) => void;
|
|
15
|
+
onLayoutEditorClosed: (cb: () => void) => void;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface IInternalAppManagementUsageApi extends IAppManagementUsageApi {
|
|
19
|
+
getHandler: (appDefinitionId: GuidValue) => Promise<new () => IAppManagementInstanceHandler>;
|
|
20
|
+
}
|
|
21
|
+
export declare class AppManagementInstanceApi implements IAppManagementInstanceApi, IAppManagementInstanceConfigurationApi {
|
|
22
|
+
readonly instanceId: GuidValue;
|
|
23
|
+
appDefinitionId: GuidValue;
|
|
24
|
+
appInstanceTabSettings: AppInstanceTabSettings;
|
|
25
|
+
appTemplateTabSettings: AppTemplateTabSettings;
|
|
26
|
+
appLayoutTabSettings: AppLayoutTabSettings;
|
|
27
|
+
appNamingPolicyTabSettings: AppNamingPolicyTabSettings;
|
|
28
|
+
tabs: ElementRenderer[];
|
|
29
|
+
headerVisibility: Ref<boolean>;
|
|
30
|
+
omniaLoc: OmniaUxLocalization;
|
|
31
|
+
loc: AppManagementLocalization.ILocalize;
|
|
32
|
+
onLayoutEditorOpenedHook: () => void;
|
|
33
|
+
onLayoutEditorClosedHook: () => void;
|
|
34
|
+
constructor(appDefinitionId: GuidValue);
|
|
35
|
+
addAppInstanceTab: (settings: AppInstanceTabSettings) => this;
|
|
36
|
+
addAppTemplateTab: (settings: AppTemplateTabSettings) => this;
|
|
37
|
+
addAppLayoutTab: (settings: AppLayoutTabSettings<AppLayoutDefinition>) => this;
|
|
38
|
+
addNamingPolicyTab: (settings: AppNamingPolicyTabSettings) => this;
|
|
39
|
+
addCustomTab: (elementRenderer: ElementRenderer) => this;
|
|
40
|
+
getAppInstanceTabSettings: () => AppInstanceTabSettings;
|
|
41
|
+
getAppTemplateTabSettings: () => AppTemplateTabSettings;
|
|
42
|
+
getAppLayoutTabSettings: () => AppLayoutTabSettings<AppLayoutDefinition>;
|
|
43
|
+
getNamingPolicyTabSettings: () => AppNamingPolicyTabSettings;
|
|
44
|
+
getTabs: () => ElementRenderer[];
|
|
45
|
+
sortTabs: () => void;
|
|
46
|
+
events: {
|
|
47
|
+
onLayoutEditorOpened: (cb: () => void) => void;
|
|
48
|
+
onLayoutEditorClosed: (cb: () => void) => void;
|
|
49
|
+
};
|
|
50
|
+
render: () => import("vue").VNode;
|
|
51
|
+
dispose: () => void;
|
|
16
52
|
}
|
|
17
|
-
export declare function useCurrentAppManagementInstanceApi(): IInternalAppManagementInstanceApi;
|
|
@@ -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" | "
|
|
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
|
-
}, "
|
|
6
|
+
}, "handleAddLayout" | "handleOpenEditLayout" | "handleEditAlias">, any, any, any>;
|
|
9
7
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/addlayout/AddLayout.d.ts
CHANGED
|
@@ -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
|
-
|
|
5
|
-
}, "appManagementInstanceApi">, any, any, any>;
|
|
3
|
+
}, never>, any, any, any>;
|
|
6
4
|
export default _default;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { AppNamingPolicy } from "@omnia/fx-models";
|
|
2
|
-
import { IInternalAppManagementInstanceApi } from "../../api/AppManagementApi";
|
|
3
2
|
export interface FixedAppNamingPolicy extends AppNamingPolicy {
|
|
4
3
|
display: boolean;
|
|
5
4
|
}
|
|
6
|
-
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<
|
|
7
|
-
appManagementInstanceApi: IInternalAppManagementInstanceApi;
|
|
8
|
-
}, "appManagementInstanceApi">, any, any, any>;
|
|
5
|
+
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<unknown, never>, any, any, any>;
|
|
9
6
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/TemplateDetail.d.ts
CHANGED
|
@@ -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
|
-
appManagementInstanceApi: IInternalAppManagementInstanceApi;
|
|
4
2
|
close: () => void;
|
|
5
|
-
}, "close"
|
|
3
|
+
}, "close">, any, any, any>;
|
|
6
4
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/TemplatesListing.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { 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
|
handleAddTemplate: () => void;
|
|
6
4
|
handleOpenEditTemplate: (template: AppTemplate) => void;
|
|
7
|
-
}, "
|
|
5
|
+
}, "handleAddTemplate" | "handleOpenEditTemplate">, any, any, any>;
|
|
8
6
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/GeneralTab.d.ts
CHANGED
|
@@ -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
|
-
appManagementInstanceApi: IInternalAppManagementInstanceApi;
|
|
4
2
|
close: () => void;
|
|
5
|
-
}, "close"
|
|
3
|
+
}, "close">, any, any, any>;
|
|
6
4
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PoliciesTab.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { AppTemplateTabSettings } from "@omnia/fx-models";
|
|
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
|
-
settings: AppTemplateTabSettings;
|
|
4
2
|
close: () => void;
|
|
5
|
-
}, "close"
|
|
3
|
+
}, "close">, any, any, any>;
|
|
6
4
|
export default _default;
|
package/internal-do-not-import-from-here/ux/app/management/tabs/templates/tabs/PropertiesTab.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DateTimeValue, EnterprisePropertyDefinition, GuidValue, MultilingualString, OptionValue, PropertyIndexedType } from "@omnia/fx-models";
|
|
2
|
-
import { IInternalAppManagementInstanceApi } from "../../../api/AppManagementApi";
|
|
3
2
|
export interface DefaultEnterprisePropertyValue {
|
|
4
3
|
type: PropertyIndexedType;
|
|
5
4
|
title: MultilingualString;
|
|
@@ -15,7 +14,6 @@ export interface FixedDefaultEnterprisePropertyValue extends DefaultEnterprisePr
|
|
|
15
14
|
display: boolean;
|
|
16
15
|
}
|
|
17
16
|
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<{
|
|
18
|
-
appManagementInstanceApi: IInternalAppManagementInstanceApi;
|
|
19
17
|
close: () => void;
|
|
20
|
-
}, "close"
|
|
18
|
+
}, "close">, any, any, any>;
|
|
21
19
|
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.
|
|
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.
|
|
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",
|