@omnia/fx 7.0.344-dev → 7.0.345-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/AppLayoutService.d.ts +3 -2
- package/internal-do-not-import-from-here/stores/AppLayoutStore.d.ts +5 -3
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/AppLayoutController.css.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/AppLayoutController.d.ts +27 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/Chrome.d.ts +18 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/IAppLayoutController.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/IChrome.d.ts +8 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/Topic.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/applayout/controller/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItem.d.ts +17 -5
- package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItemFactory.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/applayout/editor/LayoutEditorTabRenderer.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/applayout/editor/RefreshStateOption.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/applayout/editor/alternatelayout/AlternateLayoutMappingAction.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/applayout/editor/panels/Panels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/applayout/editor/panels/versionhistory/VersionHistory.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/applayout/editor/panels/versionhistory/VersionUserInfo.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/applayout/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/applayout/renderer/AppLayoutRenderer.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/applayout/stores/AppLayoutEditorStore.d.ts +6 -3
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppInstanceAlternateLayout, DisplayBreakpointAlternateLayoutMapping, AppInstanceLayout, AppLayoutDefinition, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionInformation, IVersionReference, LatestReferenceResponse, AppInstanceLayoutId, AppLayoutUrlValidationRequest } from "../models";
|
|
1
|
+
import { AppInstanceAlternateLayout, DisplayBreakpointAlternateLayoutMapping, AppInstanceLayout, AppLayoutDefinition, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionInformation, IVersionReference, LatestReferenceResponse, AppInstanceLayoutId, AppLayoutUrlValidationRequest, AppLayoutVersionedDataWithParentLayout } from "../models";
|
|
2
2
|
interface AppInstanceLayoutCreationResponse {
|
|
3
3
|
checkedOutVersionedData: ICheckedoutVersionedData<AppLayoutDefinition>;
|
|
4
4
|
appInstanceLayout: AppInstanceLayout;
|
|
@@ -14,13 +14,14 @@ interface LayoutPublishingResponse {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class AppLayoutService {
|
|
16
16
|
private httpClient;
|
|
17
|
-
createLayout: (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string) => Promise<AppInstanceLayoutCreationResponse>;
|
|
17
|
+
createLayout: (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => Promise<AppInstanceLayoutCreationResponse>;
|
|
18
18
|
createAlternateLayout: (appInstanceLayout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => Promise<AppInstanceAlternateLayoutCreationResponse>;
|
|
19
19
|
deleteLayout: (layout: AppInstanceLayout) => Promise<void>;
|
|
20
20
|
updateLayout: (layout: AppInstanceLayout) => Promise<AppInstanceLayout>;
|
|
21
21
|
deleteAlternateLayout: (alternateLayout: AppInstanceAlternateLayout) => Promise<AppInstanceLayout>;
|
|
22
22
|
getLayoutDefinitionLatestRef: (dataIdentifier: IVersionedDataIdentifier) => Promise<LatestReferenceResponse>;
|
|
23
23
|
getLayoutDefinitionVersion: (version: IVersionReference) => Promise<IVersionedData<AppLayoutDefinition>>;
|
|
24
|
+
getLayoutDefinitionVersionWithParentLayout: (version: IVersionReference, parentVersion: IVersionReference) => Promise<AppLayoutVersionedDataWithParentLayout>;
|
|
24
25
|
publishLayoutDefinition: (versionedData: IVersionedData<AppLayoutDefinition>) => Promise<LayoutPublishingResponse>;
|
|
25
26
|
updateLayoutDefinition: (versionedData: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<ICheckedoutVersionedData<AppLayoutDefinition>>;
|
|
26
27
|
checkInLayoutDefinition: (versionedData: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SubscriptionHandler } from "../core";
|
|
2
|
-
import { AppInstanceAlternateLayout, AppInstanceLayout, AppInstanceLayoutId, AppLayoutDefinition, DisplayBreakpointAlternateLayoutMapping, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionReference, LatestReferenceResponse } from "../models";
|
|
2
|
+
import { AppInstanceAlternateLayout, AppInstanceLayout, AppInstanceLayoutId, AppLayoutDefinition, DisplayBreakpointAlternateLayoutMapping, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionReference, LatestReferenceResponse, Layout } from "../models";
|
|
3
3
|
import { Store } from "./Store";
|
|
4
4
|
export declare class AppLayoutStore extends Store {
|
|
5
5
|
private appLayoutService;
|
|
@@ -25,12 +25,13 @@ export declare class AppLayoutStore extends Store {
|
|
|
25
25
|
ensureLoadByIdentifier: import("./Store").StoreAction<unknown, (identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (result: void, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, identifier: IVersionedDataIdentifier, useCache?: unknown) => void, (identifier: IVersionedDataIdentifier, useCache?: unknown) => Promise<void>>;
|
|
26
26
|
ensureLoadById: import("./Store").StoreAction<unknown, (appInstanceLayoutId: AppInstanceLayoutId, useCache?: unknown) => void, (result: void, appInstanceLayoutId: AppInstanceLayoutId, useCache?: unknown) => void, (failureReason: any, appInstanceLayoutId: AppInstanceLayoutId, useCache?: unknown) => void, (appInstanceLayoutId: AppInstanceLayoutId, useCache?: unknown) => Promise<void>>;
|
|
27
27
|
ensureLoadDefinition: import("./Store").StoreAction<unknown, (version: IVersionReference) => void, (result: void, version: IVersionReference) => void, (failureReason: any, version: IVersionReference) => void, (version: IVersionReference) => Promise<void>>;
|
|
28
|
+
ensureLoadDefinitionWithParentLayout: import("./Store").StoreAction<unknown, (version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => void, (result: Layout, version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => void, (failureReason: any, version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => void, (version: IVersionReference, parentVersion: IVersionReference, force?: boolean) => Promise<Layout>>;
|
|
28
29
|
ensureLoadDisplayBreakpointMapping: import("./Store").StoreAction<unknown, (appInstanceLayout: AppInstanceLayout, useCache?: unknown) => void, (result: DisplayBreakpointAlternateLayoutMapping, appInstanceLayout: AppInstanceLayout, useCache?: unknown) => void, (failureReason: any, appInstanceLayout: AppInstanceLayout, useCache?: unknown) => void, (appInstanceLayout: AppInstanceLayout, useCache?: unknown) => Promise<DisplayBreakpointAlternateLayoutMapping>>;
|
|
29
30
|
setDisplayBreakpointMapping: import("./Store").StoreAction<unknown, (appInstanceLayout: AppInstanceLayout, mapping: DisplayBreakpointAlternateLayoutMapping) => void, (result: void, appInstanceLayout: AppInstanceLayout, mapping: DisplayBreakpointAlternateLayoutMapping) => void, (failureReason: any, appInstanceLayout: AppInstanceLayout, mapping: DisplayBreakpointAlternateLayoutMapping) => void, (appInstanceLayout: AppInstanceLayout, mapping: DisplayBreakpointAlternateLayoutMapping) => Promise<void>>;
|
|
30
|
-
create: import("./Store").StoreAction<unknown, (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string) => void, (result: {
|
|
31
|
+
create: import("./Store").StoreAction<unknown, (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => void, (result: {
|
|
31
32
|
appInstanceLayout: AppInstanceLayout;
|
|
32
33
|
checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
|
|
33
|
-
}, appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string) => void, (failureReason: any, appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string) => void, (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string) => Promise<{
|
|
34
|
+
}, appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => void, (failureReason: any, appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => void, (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => Promise<{
|
|
34
35
|
appInstanceLayout: AppInstanceLayout;
|
|
35
36
|
checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
|
|
36
37
|
}>>;
|
|
@@ -58,6 +59,7 @@ export declare class AppLayoutStore extends Store {
|
|
|
58
59
|
private addOrUpdateLayoutIntoAppRouteCache;
|
|
59
60
|
private addOrUpdateMappingIntoAppRouteCache;
|
|
60
61
|
private loadDataFromContext;
|
|
62
|
+
private getMergedVersionString;
|
|
61
63
|
protected onActivated(): void;
|
|
62
64
|
protected onDisposing(): void;
|
|
63
65
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AppInstanceLayoutId, GuidValue } from "@omnia/fx-models";
|
|
2
|
+
import { VueComponentBase } from "@omnia/fx/ux";
|
|
3
|
+
import { IAppLayoutController } from "./IAppLayoutController";
|
|
4
|
+
export declare class AppLayoutController extends VueComponentBase implements IAppLayoutController {
|
|
5
|
+
layoutBackgroundImageElementId: string;
|
|
6
|
+
appInstanceId: GuidValue;
|
|
7
|
+
appInstanceLayoutId: AppInstanceLayoutId;
|
|
8
|
+
enableAlternateLayout: boolean;
|
|
9
|
+
requireParentToEdit: boolean;
|
|
10
|
+
undeletable: boolean;
|
|
11
|
+
private omniaLoc;
|
|
12
|
+
private permissionService;
|
|
13
|
+
private subscriptionHandler;
|
|
14
|
+
private appLayoutStore;
|
|
15
|
+
private isCheckingOutHome;
|
|
16
|
+
private isEditMode;
|
|
17
|
+
private hasPermissionToEdit;
|
|
18
|
+
private editable;
|
|
19
|
+
private styles;
|
|
20
|
+
created(): void;
|
|
21
|
+
mounted(): void;
|
|
22
|
+
private checkout;
|
|
23
|
+
private openEditor;
|
|
24
|
+
private renderLayoutReadMode;
|
|
25
|
+
private renderSpeedial;
|
|
26
|
+
render(h: any): VueTsxSupport.JSX.Element;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IWebComponentInstance } from "@omnia/fx";
|
|
2
|
+
import { AppInstanceLayoutId, GuidValue } from "@omnia/fx/models";
|
|
3
|
+
import { VueComponentBase } from "@omnia/fx/ux";
|
|
4
|
+
import { IChromeComponent } from "./IChrome";
|
|
5
|
+
export default class ChromeComponent extends VueComponentBase implements IWebComponentInstance, IChromeComponent {
|
|
6
|
+
appInstanceId: GuidValue;
|
|
7
|
+
layoutBackgroundImageElementId: string;
|
|
8
|
+
appInstanceLayoutId: AppInstanceLayoutId;
|
|
9
|
+
enableAlternateLayout?: boolean;
|
|
10
|
+
undeletable?: boolean;
|
|
11
|
+
private appLayoutDefinitionEditorItemFactory;
|
|
12
|
+
private api;
|
|
13
|
+
created(): void;
|
|
14
|
+
mounted(): void;
|
|
15
|
+
private closeEditor;
|
|
16
|
+
private getApi;
|
|
17
|
+
render(h: any): VueTsxSupport.JSX.Element;
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppInstanceLayoutId, GuidValue } from "../../../models";
|
|
2
|
+
import { TsxAllowUnknowProperties } from "../../TsxAllowUnknowProperties";
|
|
3
|
+
export interface IAppLayoutController {
|
|
4
|
+
layoutBackgroundImageElementId: string;
|
|
5
|
+
appInstanceId: GuidValue;
|
|
6
|
+
appInstanceLayoutId: AppInstanceLayoutId;
|
|
7
|
+
enableAlternateLayout?: boolean;
|
|
8
|
+
requireParentToEdit?: boolean;
|
|
9
|
+
undeletable?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare global {
|
|
12
|
+
namespace JSX {
|
|
13
|
+
interface Element {
|
|
14
|
+
}
|
|
15
|
+
interface ElementClass {
|
|
16
|
+
}
|
|
17
|
+
interface IntrinsicElements {
|
|
18
|
+
"omfx-app-layout-controller": TsxAllowUnknowProperties<IAppLayoutController>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppInstanceLayoutId, GuidValue } from "../../../models";
|
|
2
|
+
export interface IChromeComponent {
|
|
3
|
+
layoutBackgroundImageElementId: string;
|
|
4
|
+
appInstanceId: GuidValue;
|
|
5
|
+
appInstanceLayoutId: AppInstanceLayoutId;
|
|
6
|
+
enableAlternateLayout?: boolean;
|
|
7
|
+
undeletable?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./IAppLayoutController";
|
package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItem.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { AppInstanceLayout, AppLayoutDefinition, EditorDisplayModes, GuidValue, IActionButton, IEditorItem, IEditorTabRegistration, IVersionedData, ThemeDefinition } from "@omnia/fx-models";
|
|
1
|
+
import { AppInstanceLayout, AppLayoutDefinition, EditorDisplayModes, GuidValue, IActionButton, IEditorItem, IEditorItemPanelsRenderer, IEditorTabRegistration, IVersionedData, Layout, ThemeDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { AppLayoutEditorStore } from "..";
|
|
2
3
|
import { AppLayoutStore, MultilingualStore } from "../../../stores";
|
|
3
4
|
import { EditorChromeStore } from "../../editorchrome";
|
|
4
5
|
import { OmniaUxLocalization } from "../../UxModels";
|
|
5
6
|
import { IAppLayoutDefinitionEditorTabRenderer } from "./IAppLayoutDefinitionEditorTabRenderer";
|
|
6
|
-
import {
|
|
7
|
+
import { RefreshStateOption } from "./RefreshStateOption";
|
|
8
|
+
declare class PanelRenderer implements IEditorItemPanelsRenderer {
|
|
9
|
+
generateElement(h: any): JSX.Element;
|
|
10
|
+
}
|
|
7
11
|
export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
8
12
|
loc: OmniaUxLocalization;
|
|
9
13
|
settings: {
|
|
@@ -12,8 +16,8 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
12
16
|
tabs: IEditorTabRegistration[];
|
|
13
17
|
title: string | JSX.Element | JSX.Element[];
|
|
14
18
|
readonly appInstanceLayout: AppInstanceLayout;
|
|
19
|
+
readonly parentAppInstanceLayout: AppInstanceLayout;
|
|
15
20
|
readonly versionedData: IVersionedData<AppLayoutDefinition>;
|
|
16
|
-
readonly closeFunc: () => void;
|
|
17
21
|
private appLayoutEditorStore;
|
|
18
22
|
private editorChromeStore;
|
|
19
23
|
private layoutStore;
|
|
@@ -29,7 +33,11 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
29
33
|
private enableAlternateLayouts;
|
|
30
34
|
private enableBlockLockSettings;
|
|
31
35
|
private isDefaultLayout;
|
|
32
|
-
|
|
36
|
+
private undeletable;
|
|
37
|
+
private disableBreakpointView;
|
|
38
|
+
private hasPermission;
|
|
39
|
+
panelsRenderer: PanelRenderer;
|
|
40
|
+
constructor(multilingualStore: MultilingualStore, editorChromeStore: EditorChromeStore, appLayoutEditorStore: AppLayoutEditorStore, layoutStore: AppLayoutStore, appInstanceLayout: AppInstanceLayout, parentAppInstanceLayout: AppInstanceLayout, versionedData: IVersionedData<AppLayoutDefinition>, layout: Layout, currentIdentity: string, layoutThemeDefinition: ThemeDefinition, blockThemeDefinition: ThemeDefinition, enableAlternateLayouts: boolean, title: string, enableBlockLockSettings: boolean, undeletable: boolean, disableBreakpointView: boolean, hasPermission: boolean);
|
|
33
41
|
private createDesignAndPreviewButton;
|
|
34
42
|
addRightItemExtendButton(actionButton: IActionButton): void;
|
|
35
43
|
addTabRenderer(tabId: GuidValue, tabName: string, tabRenderer: IAppLayoutDefinitionEditorTabRenderer): void;
|
|
@@ -41,7 +49,9 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
41
49
|
private clickVersionHistory;
|
|
42
50
|
private checkOut;
|
|
43
51
|
private takeControl;
|
|
44
|
-
|
|
52
|
+
setNewVersionedData(newVersionedData: IVersionedData<AppLayoutDefinition>, mergeWithoutCache?: boolean, refreshStateOption?: RefreshStateOption): Promise<void>;
|
|
53
|
+
private setNewEditorItem;
|
|
54
|
+
private loadLayout;
|
|
45
55
|
private generateDisplayBreakpoints;
|
|
46
56
|
private generateAlternateLayoutMapping;
|
|
47
57
|
private generateVersionHistoryButton;
|
|
@@ -57,8 +67,10 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
57
67
|
private leftItemExtendRenderer;
|
|
58
68
|
private leftItemRenderer;
|
|
59
69
|
private leftItemRendererForLayoutTab;
|
|
70
|
+
private emptyActionItem;
|
|
60
71
|
private previousJson;
|
|
61
72
|
private triggerAutoSave;
|
|
62
73
|
private fetchLayout;
|
|
63
74
|
onEditorActivation(): void;
|
|
64
75
|
}
|
|
76
|
+
export {};
|
|
@@ -5,5 +5,7 @@ export declare class AppLayoutDefinitionEditorItemFactory {
|
|
|
5
5
|
private layoutStore;
|
|
6
6
|
private omniaContext;
|
|
7
7
|
private multilingualStore;
|
|
8
|
-
|
|
8
|
+
private permissionService;
|
|
9
|
+
private appStore;
|
|
10
|
+
createEditorItem(appInstanceLayoutId: number, api: AppLayoutEditorApi, layoutThemeDefinition?: ThemeDefinition, blockThemeDefinition?: ThemeDefinition, enableAlternateLayouts?: boolean, title?: any, enableBlockLockSettings?: boolean, undeletable?: boolean, disableBreakpointsView?: boolean, allowProfileAdminToEdit?: boolean): Promise<AppLayoutDefinitionEditorItem>;
|
|
9
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { AppInstanceLayout, AppLayoutDefinition, IEditorTabRenderer, LayoutEditorCanvasApi, ThemeDefinition } from "@omnia/fx-models";
|
|
1
|
+
import { AppInstanceLayout, AppLayoutDefinition, IEditorTabRenderer, Layout, LayoutEditorCanvasApi, ThemeDefinition } from "@omnia/fx-models";
|
|
2
2
|
export declare class LayoutEditorTabRenderer implements IEditorTabRenderer {
|
|
3
3
|
private versionId;
|
|
4
4
|
private appLayout;
|
|
5
5
|
private definition;
|
|
6
|
+
private layout;
|
|
6
7
|
private isCheckedOutToMe;
|
|
7
8
|
private layoutThemeDefinition;
|
|
8
9
|
private blockThemeDefinition;
|
|
9
10
|
private setLayoutEditorCanvasApi;
|
|
10
|
-
constructor(versionId: number, appLayout: AppInstanceLayout, definition: AppLayoutDefinition, isCheckedOutToMe: boolean, layoutThemeDefinition: ThemeDefinition, blockThemeDefinition: ThemeDefinition, setLayoutEditorCanvasApi: (instance: LayoutEditorCanvasApi) => void);
|
|
11
|
+
constructor(versionId: number, appLayout: AppInstanceLayout, definition: AppLayoutDefinition, layout: Layout, isCheckedOutToMe: boolean, layoutThemeDefinition: ThemeDefinition, blockThemeDefinition: ThemeDefinition, setLayoutEditorCanvasApi: (instance: LayoutEditorCanvasApi) => void);
|
|
11
12
|
getElement(): VueTsxSupport.JSX.Element;
|
|
12
13
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AppLayoutDefinition, IVersionedData } from "../../../../models";
|
|
1
|
+
import { AppLayoutDefinition, IVersionedData, Layout } from "../../../../models";
|
|
2
2
|
import { AppLayoutStore } from "../../../../stores";
|
|
3
3
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
4
4
|
import { AppLayoutEditorStore } from "../../stores";
|
|
5
|
+
import { RefreshStateOption } from "../RefreshStateOption";
|
|
5
6
|
interface AlternateLayoutMappingActionProps {
|
|
6
7
|
appLayoutEditorStore: AppLayoutEditorStore;
|
|
7
8
|
appInstanceLayoutStore: AppLayoutStore;
|
|
@@ -13,10 +14,9 @@ export declare class AlternateLayoutMappingAction extends VueComponentBase<Alter
|
|
|
13
14
|
appLayoutEditorStore: AppLayoutEditorStore;
|
|
14
15
|
appInstanceLayoutStore: AppLayoutStore;
|
|
15
16
|
appInstanceLayoutId: number;
|
|
16
|
-
setNewEditorItem: (newVersionedData: IVersionedData<AppLayoutDefinition
|
|
17
|
+
setNewEditorItem: (newVersionedData: IVersionedData<AppLayoutDefinition>, layout: Layout, refreshStateOption: RefreshStateOption) => void;
|
|
17
18
|
versionedData: IVersionedData<AppLayoutDefinition>;
|
|
18
19
|
private subscriptionHandler;
|
|
19
|
-
private appLayoutService;
|
|
20
20
|
private themeStore;
|
|
21
21
|
private omniaLoc;
|
|
22
22
|
private styles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueComponentBase } from "
|
|
1
|
+
import { VueComponentBase } from "../../../../VueComponentBase";
|
|
2
2
|
import { Identity, ResolvedUserIdentity } from "@omnia/fx-models";
|
|
3
3
|
import { UserIdentityStore } from "@omnia/fx/stores";
|
|
4
4
|
interface VersionUserInfoProps {
|
|
@@ -18,6 +18,7 @@ export declare class InternalAppLayoutRenderer extends VueComponentBase<Internal
|
|
|
18
18
|
private appLayoutService;
|
|
19
19
|
private subscriptionHandler;
|
|
20
20
|
private appInstanceLayout;
|
|
21
|
+
private parentAppInstanceLayout;
|
|
21
22
|
private versionedData;
|
|
22
23
|
private breakpoints;
|
|
23
24
|
private currentBreakpoint;
|
|
@@ -33,6 +34,7 @@ export declare class InternalAppLayoutRenderer extends VueComponentBase<Internal
|
|
|
33
34
|
private getApi;
|
|
34
35
|
private setLayout;
|
|
35
36
|
private getLayoutForCurrentBreakpoint;
|
|
37
|
+
private getLayoutWithMergeParentForCurrentBreakpoint;
|
|
36
38
|
render(): VueTsxSupport.JSX.Element;
|
|
37
39
|
}
|
|
38
40
|
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
@@ -5,6 +5,7 @@ export declare class AppLayoutEditorStore extends Store implements AppLayoutEdit
|
|
|
5
5
|
private isPreview;
|
|
6
6
|
private openVersionPanel;
|
|
7
7
|
private onLayoutEditorTabRendererInstanceCreatedHook;
|
|
8
|
+
private onCloseHook;
|
|
8
9
|
private displayBreakpointCode;
|
|
9
10
|
private displayBreakpointActionDisabled;
|
|
10
11
|
getters: {
|
|
@@ -13,7 +14,7 @@ export declare class AppLayoutEditorStore extends Store implements AppLayoutEdit
|
|
|
13
14
|
displayBreakpointCode: () => DisplayBreakpointCodes;
|
|
14
15
|
displayBreakpointActionDisabled: () => boolean;
|
|
15
16
|
};
|
|
16
|
-
mutations: {
|
|
17
|
+
readonly mutations: {
|
|
17
18
|
setVersionPanel: import("../../../stores").StoreMutation<(open: boolean) => void, (open: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
18
19
|
closeAllPanel: import("../../../stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
19
20
|
setPreview: import("../../../stores").StoreMutation<(preview: boolean) => void, (preview: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
@@ -21,10 +22,12 @@ export declare class AppLayoutEditorStore extends Store implements AppLayoutEdit
|
|
|
21
22
|
setDisplayBreakpointCode: import("../../../stores").StoreMutation<(code: DisplayBreakpointCodes) => void, (code: DisplayBreakpointCodes) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
22
23
|
setDisplayBreakpointActionDisabled: import("../../../stores").StoreMutation<(disabled: boolean) => void, (disabled: boolean) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
|
23
24
|
};
|
|
24
|
-
events: {
|
|
25
|
+
readonly events: {
|
|
25
26
|
onLayoutEditorTabRendererInstanceCreated: (cb: (instance: LayoutEditorTabRendererInstance) => LayoutEditorTabRendererInstance) => void;
|
|
27
|
+
onClose: (cb: () => void) => void;
|
|
26
28
|
};
|
|
27
|
-
onLayoutEditorTabRendererInstanceCreated: (instance: LayoutEditorTabRendererInstance) => LayoutEditorTabRendererInstance;
|
|
29
|
+
readonly onLayoutEditorTabRendererInstanceCreated: (instance: LayoutEditorTabRendererInstance) => LayoutEditorTabRendererInstance;
|
|
30
|
+
readonly onClose: () => void;
|
|
28
31
|
private closeAllPanel;
|
|
29
32
|
protected onActivated(): void;
|
|
30
33
|
protected onDisposing(): void;
|
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.345-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.345-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|