@omnia/fx 7.0.381-dev → 7.0.383-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/manifests/omnia.fx.core.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/services/VersionedLayoutService.d.ts +47 -0
- package/internal-do-not-import-from-here/services/index.d.ts +1 -1
- package/internal-do-not-import-from-here/stores/VersionedLayoutStore.d.ts +74 -0
- package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/EditLayout.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/LayoutListing.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/editlayout/LayoutSettingsComponent.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/LayoutEditorTabRendererInstance.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{app/builders/blades/applayouts → versionedlayout/blade}/LayoutAliasBlade.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/Shared.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/{app/builders/blades/AppLayoutBladeBuilder.d.ts → versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts} +0 -0
- package/internal-do-not-import-from-here/ux/{app/builders/blades/AppLayoutListBladeBuilder.d.ts → versionedlayout/blade/VersionedLayoutListBladeBuilder.d.ts} +6 -8
- package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutSettingsComponent.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Chrome.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/IChrome.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Topic.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout/controller/AppLayoutController.css.d.ts → versionedlayout/controller/VersionedLayoutController.css.d.ts} +0 -0
- package/internal-do-not-import-from-here/ux/{applayout/controller/AppLayoutController.d.ts → versionedlayout/controller/VersionedLayoutController.d.ts} +4 -5
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/IVersionedLayoutDefinitionEditorTabRenderer.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/IVersionedLayoutEditor.d.ts +6 -0
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +13 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/LayoutEditorTabRendererSizeMonitor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/RefreshStateOption.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout/editor/AppLayoutDefinitionEditorItem.d.ts → versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts} +16 -16
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItemFactory.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/{applayout/editor/AppLayoutEditor.d.ts → versionedlayout/editor/VersionedLayoutEditor.d.ts} +9 -9
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutCreationForm.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutMappingAction.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutMappingAction.d.ts +14 -14
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutRenameForm.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/displaybreakpoint/DisplayBreakpointAction.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/displaybreakpoint/DisplayBreakpointAction.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/versionedlayout/editor/index.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/messages/checkedbyother/CheckedOutByOtherMessage.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/Panels.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/Panels.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionHistory.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionHistory.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionUserInfo.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/index.d.ts +1 -2
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/layoutbackgroundimage/LayoutBackgroundImage.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/layoutbackgroundimage/loc/localize.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/{applayout/renderer/AppLayoutRenderer.d.ts → versionedlayout/renderer/VersionedLayoutRenderer.d.ts} +16 -17
- package/internal-do-not-import-from-here/ux/{applayout/stores/AppLayoutEditorStore.d.ts → versionedlayout/stores/VersionedLayoutEditorStore.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/versionedlayout/stores/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/{applayout/urlinput/AppLayoutUrlInput.d.ts → versionedlayout/urlinput/VersionedLayoutUrlInput.d.ts} +4 -8
- package/internal-do-not-import-from-here/wctypings.d.ts +4 -4
- package/package.json +2 -2
- package/internal-do-not-import-from-here/services/AppLayoutService.d.ts +0 -45
- package/internal-do-not-import-from-here/stores/AppLayoutStore.d.ts +0 -65
- package/internal-do-not-import-from-here/ux/app/builders/blades/applayouts/AppLayoutSettingsComponent.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/app/builders/core/AppBladeConfig.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/app/builders/core/Constants.d.ts +0 -35
- package/internal-do-not-import-from-here/ux/app/builders/core/index.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/app/builders/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/app/builders/shareds/AppBladeBuilderMenuItem.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppBladeBuilder.d.ts +0 -30
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppInstanceBladeBuilder.d.ts +0 -36
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppLayoutBladeBuilder.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppLayoutListBladeBuilder.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppNamingPolicyBladeBuilder.d.ts +0 -22
- package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppTemplateBladeBuilder.d.ts +0 -40
- package/internal-do-not-import-from-here/ux/app/builders/shareds/index.d.ts +0 -6
- package/internal-do-not-import-from-here/ux/applayout/controller/IAppLayoutController.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/applayout/controller/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItemFactory.d.ts +0 -23
- package/internal-do-not-import-from-here/ux/applayout/editor/IAppLayoutDefinitionEditorTabRenderer.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/applayout/editor/IAppLayoutEditor.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/applayout/editor/LayoutEditorTabRenderer.d.ts +0 -13
- package/internal-do-not-import-from-here/ux/applayout/editor/index.d.ts +0 -4
- package/internal-do-not-import-from-here/ux/applayout/renderer/IAppLayoutRenderer.d.ts +0 -9
- package/internal-do-not-import-from-here/ux/applayout/renderer/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/applayout/stores/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/applayout/urlinput/IAppLayoutUrlInput.d.ts +0 -35
- package/internal-do-not-import-from-here/ux/applayout/urlinput/index.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayout } from "@omnia/fx-models";
|
|
2
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<{
|
|
3
3
|
handleCloseEditLayout: () => void;
|
|
4
|
-
selectedLayout:
|
|
5
|
-
}, "
|
|
4
|
+
selectedLayout: VersionedLayout;
|
|
5
|
+
}, "handleCloseEditLayout" | "selectedLayout">, any, any, any>;
|
|
6
6
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayout } from "@omnia/fx-models";
|
|
2
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<{
|
|
3
3
|
handleAddLayout: () => void;
|
|
4
|
-
handleOpenEditLayout: (layout:
|
|
5
|
-
handleEditAlias: (layout:
|
|
4
|
+
handleOpenEditLayout: (layout: VersionedLayout) => void;
|
|
5
|
+
handleEditAlias: (layout: VersionedLayout) => void;
|
|
6
6
|
}, "handleAddLayout" | "handleOpenEditLayout" | "handleEditAlias">, any, any, any>;
|
|
7
7
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class AppLayoutSettingsTabRenderer implements
|
|
4
|
-
getElement(definition:
|
|
1
|
+
import { VersionedLayoutDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { IVersionedLayoutDefinitionEditorTabRenderer } from "@omnia/fx/ux";
|
|
3
|
+
export declare class AppLayoutSettingsTabRenderer implements IVersionedLayoutDefinitionEditorTabRenderer<VersionedLayoutDefinition> {
|
|
4
|
+
getElement(definition: VersionedLayoutDefinition, isCheckedOutToMe: boolean): JSX.Element;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayoutDefinition } from "../../models";
|
|
2
2
|
export declare class LayoutEditorTabRendererInstance {
|
|
3
|
-
definition:
|
|
3
|
+
definition: VersionedLayoutDefinition;
|
|
4
4
|
size: {
|
|
5
5
|
maxHeight: number;
|
|
6
6
|
maxWidth: number;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayout, JourneyInstance } from "@omnia/fx-models";
|
|
2
2
|
import { VueComponentBase } from "@omnia/fx/ux";
|
|
3
3
|
export interface LayoutAliasBladeProps {
|
|
4
|
-
layout:
|
|
4
|
+
layout: VersionedLayout;
|
|
5
5
|
journey: () => JourneyInstance;
|
|
6
6
|
}
|
|
7
7
|
export declare class LayoutAliasBlade extends VueComponentBase<LayoutAliasBladeProps, {}, {}> {
|
|
8
|
-
layout:
|
|
8
|
+
layout: VersionedLayout;
|
|
9
9
|
journey: () => JourneyInstance;
|
|
10
10
|
private loc;
|
|
11
|
-
private
|
|
11
|
+
private versionedLayoutStore;
|
|
12
12
|
private multilingualStore;
|
|
13
13
|
private isSaving;
|
|
14
14
|
private unexptedErrorMessage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GuidValue, VersionedLayoutDefinition, VersionedLayout } from "@omnia/fx/models";
|
|
2
|
+
import { VersionedLayoutEditorApi, VersionedLayoutDefinitionEditorItem } from "@omnia/fx/ux";
|
|
3
|
+
export interface VersionedLayoutBladeSettings<T extends VersionedLayoutDefinition = VersionedLayoutDefinition> {
|
|
4
|
+
layoutDefinition: new () => T;
|
|
5
|
+
appInstanceId?: GuidValue;
|
|
6
|
+
onBeforeCreate?: (layout: VersionedLayoutDefinition) => VersionedLayoutDefinition | Promise<VersionedLayoutDefinition>;
|
|
7
|
+
enableAlias?: boolean;
|
|
8
|
+
setVersionedLayoutDefinitionEditorItem?: (api: VersionedLayoutEditorApi, layout: VersionedLayout) => Promise<VersionedLayoutDefinitionEditorItem>;
|
|
9
|
+
enableBlockLockSettings?: boolean;
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { JourneyInstance } from "@omnia/fx-models";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export declare class AppLayoutListBladeBuilder extends VueComponentBase implements IAppLayoutListBladeBuilder {
|
|
2
|
+
import { VueComponentBase, VersionedLayoutBladeSettings } from "../..";
|
|
3
|
+
export declare class VersionedLayoutListBladeBuilder extends VueComponentBase {
|
|
5
4
|
journey: () => JourneyInstance;
|
|
6
|
-
settings:
|
|
5
|
+
settings: VersionedLayoutBladeSettings;
|
|
7
6
|
bladeTitle?: string;
|
|
8
|
-
private
|
|
7
|
+
private versionedLayoutStore;
|
|
9
8
|
private multilingualStore;
|
|
10
9
|
private omniaLoc;
|
|
11
|
-
loc: AppManagementLocalization.ILocalize;
|
|
12
10
|
private showCreationNewLayout;
|
|
13
11
|
private isCreating;
|
|
14
12
|
private formValidator;
|
|
15
13
|
private layoutCreation;
|
|
16
14
|
created(): void;
|
|
17
15
|
mounted(): void;
|
|
18
|
-
private
|
|
16
|
+
private ensureLayoutBladeBuilder;
|
|
19
17
|
private ensureLayoutAliasBlade;
|
|
20
|
-
private
|
|
18
|
+
private travelLayoutBladeBuilder;
|
|
21
19
|
handleCreateLayout(): void;
|
|
22
20
|
private createNewLayout;
|
|
23
21
|
private closeCreateNewLayoutDialog;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IVersionedLayoutDefinitionEditorTabRenderer } from "@omnia/fx/ux";
|
|
2
|
+
import { VersionedLayoutDefinition } from "@omnia/fx/models";
|
|
3
|
+
export interface IVersionedLayoutSettingsComponentProps {
|
|
4
|
+
definition: VersionedLayoutDefinition;
|
|
5
|
+
isCheckedOutToMe: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class VersionedLayoutSettingsTabRenderer implements IVersionedLayoutDefinitionEditorTabRenderer<VersionedLayoutDefinition> {
|
|
8
|
+
getElement(definition: VersionedLayoutDefinition, isCheckedOutToMe: boolean): JSX.Element;
|
|
9
|
+
}
|
package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Chrome.d.ts
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { IWebComponentInstance } from "@omnia/fx";
|
|
2
|
-
import {
|
|
2
|
+
import { VersionedLayoutId, GuidValue } from "@omnia/fx/models";
|
|
3
3
|
import { VueComponentBase } from "@omnia/fx/ux";
|
|
4
4
|
import { IChromeComponent } from "./IChrome";
|
|
5
5
|
export default class ChromeComponent extends VueComponentBase implements IWebComponentInstance, IChromeComponent {
|
|
6
|
-
appInstanceId
|
|
6
|
+
appInstanceId?: GuidValue;
|
|
7
7
|
layoutBackgroundImageElementId: string;
|
|
8
|
-
|
|
8
|
+
versionedLayoutId: VersionedLayoutId;
|
|
9
9
|
enableAlternateLayout?: boolean;
|
|
10
10
|
undeletable?: boolean;
|
|
11
|
-
private
|
|
11
|
+
private versionedLayoutDefinitionEditorItemFactory;
|
|
12
12
|
private api;
|
|
13
13
|
created(): void;
|
|
14
14
|
mounted(): void;
|
package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/IChrome.d.ts
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayoutId, GuidValue } from "../../../models";
|
|
2
2
|
export interface IChromeComponent {
|
|
3
3
|
layoutBackgroundImageElementId: string;
|
|
4
|
-
appInstanceId
|
|
5
|
-
|
|
4
|
+
appInstanceId?: GuidValue;
|
|
5
|
+
versionedLayoutId: VersionedLayoutId;
|
|
6
6
|
enableAlternateLayout?: boolean;
|
|
7
7
|
undeletable?: boolean;
|
|
8
8
|
}
|
package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Topic.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VersionedLayoutId, GuidValue } from "@omnia/fx-models";
|
|
2
2
|
import { VueComponentBase } from "@omnia/fx/ux";
|
|
3
|
-
|
|
4
|
-
export declare class AppLayoutController extends VueComponentBase implements IAppLayoutController {
|
|
3
|
+
export declare class AppScopedLayoutController extends VueComponentBase {
|
|
5
4
|
layoutBackgroundImageElementId: string;
|
|
6
5
|
appInstanceId: GuidValue;
|
|
7
|
-
|
|
6
|
+
versionedLayoutId: VersionedLayoutId;
|
|
8
7
|
enableAlternateLayout: boolean;
|
|
9
8
|
requireParentToEdit: boolean;
|
|
10
9
|
undeletable: boolean;
|
|
11
10
|
private omniaLoc;
|
|
12
11
|
private permissionService;
|
|
13
12
|
private subscriptionHandler;
|
|
14
|
-
private
|
|
13
|
+
private versionedLayoutStore;
|
|
15
14
|
private isCheckingOutHome;
|
|
16
15
|
private isEditMode;
|
|
17
16
|
private hasPermissionToEdit;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { VersionedLayoutDefinition } from "@omnia/fx-models";
|
|
2
|
+
export interface IVersionedLayoutDefinitionEditorTabRenderer<Type extends VersionedLayoutDefinition = VersionedLayoutDefinition> {
|
|
3
|
+
getElement: (definition: Type, isCheckedOutToMe: boolean) => JSX.Element;
|
|
4
|
+
}
|
package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VersionedLayout, VersionedLayoutDefinition, IEditorTabRenderer, Layout, LayoutEditorCanvasApi, ThemeDefinition } from "@omnia/fx-models";
|
|
2
|
+
export declare class LayoutEditorTabRenderer implements IEditorTabRenderer {
|
|
3
|
+
private versionId;
|
|
4
|
+
private versionedLayout;
|
|
5
|
+
private definition;
|
|
6
|
+
private layout;
|
|
7
|
+
private isCheckedOutToMe;
|
|
8
|
+
private layoutThemeDefinition;
|
|
9
|
+
private blockThemeDefinition;
|
|
10
|
+
private setLayoutEditorCanvasApi;
|
|
11
|
+
constructor(versionId: number, versionedLayout: VersionedLayout, definition: VersionedLayoutDefinition, layout: Layout, isCheckedOutToMe: boolean, layoutThemeDefinition: ThemeDefinition, blockThemeDefinition: ThemeDefinition, setLayoutEditorCanvasApi: (instance: LayoutEditorCanvasApi) => void);
|
|
12
|
+
getElement(): VueTsxSupport.JSX.Element;
|
|
13
|
+
}
|
|
@@ -11,7 +11,7 @@ export default class SizeMonitor extends VueComponentBase<SizeMonitorProps> {
|
|
|
11
11
|
scrollableElementId: string;
|
|
12
12
|
private editorChromeStore;
|
|
13
13
|
private subscriptionHandler;
|
|
14
|
-
private
|
|
14
|
+
private versionedLayoutEditorStore;
|
|
15
15
|
private maxWidth;
|
|
16
16
|
private interval;
|
|
17
17
|
created(): void;
|
|
File without changes
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { VersionedLayout, VersionedLayoutDefinition, EditorDisplayModes, GuidValue, IActionButton, IEditorItem, IEditorItemPanelsRenderer, IEditorTabRegistration, IVersionedData, Layout, ThemeDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { VersionedLayoutEditorStore } from "..";
|
|
3
|
+
import { VersionedLayoutStore, MultilingualStore } from "../../../stores";
|
|
4
4
|
import { EditorChromeStore } from "../../editorchrome";
|
|
5
5
|
import { OmniaUxLocalization } from "../../UxModels";
|
|
6
|
-
import {
|
|
6
|
+
import { IVersionedLayoutDefinitionEditorTabRenderer } from "./IVersionedLayoutDefinitionEditorTabRenderer";
|
|
7
7
|
import { RefreshStateOption } from "./RefreshStateOption";
|
|
8
8
|
declare class PanelRenderer implements IEditorItemPanelsRenderer {
|
|
9
9
|
generateElement(h: any): JSX.Element;
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class VersionedLayoutDefinitionEditorItemPrivateImutableState {
|
|
12
12
|
readonly multilingualStore: MultilingualStore;
|
|
13
13
|
readonly editorChromeStore: EditorChromeStore;
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
14
|
+
readonly versionedLayoutEditorStore: VersionedLayoutEditorStore;
|
|
15
|
+
readonly versionedLayoutStore: VersionedLayoutStore;
|
|
16
16
|
readonly layoutThemeDefinition: ThemeDefinition;
|
|
17
17
|
readonly blockThemeDefinition: ThemeDefinition;
|
|
18
18
|
readonly enableAlternateLayouts: boolean;
|
|
@@ -21,17 +21,17 @@ export declare class AppLayoutDefinitionEditorItemPrivateImutableState {
|
|
|
21
21
|
readonly hideBreakpointPreview: boolean;
|
|
22
22
|
readonly hasEditPermission: boolean;
|
|
23
23
|
readonly currentIdentity: string;
|
|
24
|
-
readonly
|
|
24
|
+
readonly parentVersionedLayout: VersionedLayout;
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
27
|
-
|
|
28
|
-
versionedData: IVersionedData<
|
|
26
|
+
export declare class VersionedLayoutDefinitionEditorItemState {
|
|
27
|
+
versionedLayout: VersionedLayout;
|
|
28
|
+
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
29
29
|
layout: Layout;
|
|
30
30
|
title: string;
|
|
31
31
|
}
|
|
32
|
-
export declare class
|
|
32
|
+
export declare class VersionedLayoutDefinitionEditorItem implements IEditorItem {
|
|
33
33
|
private immutableState;
|
|
34
|
-
state:
|
|
34
|
+
state: VersionedLayoutDefinitionEditorItemState;
|
|
35
35
|
loc: OmniaUxLocalization;
|
|
36
36
|
settings: {
|
|
37
37
|
defaultDisplayMode: EditorDisplayModes;
|
|
@@ -45,10 +45,10 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
45
45
|
private extendedRightItemExtendButtons;
|
|
46
46
|
private isDefaultLayout;
|
|
47
47
|
panelsRenderer: PanelRenderer;
|
|
48
|
-
constructor(immutableState:
|
|
48
|
+
constructor(immutableState: VersionedLayoutDefinitionEditorItemPrivateImutableState, state: VersionedLayoutDefinitionEditorItemState);
|
|
49
49
|
private createDesignAndPreviewButton;
|
|
50
50
|
addRightItemExtendButton(actionButton: IActionButton): void;
|
|
51
|
-
addTabRenderer(tabId: GuidValue, tabName: string, tabRenderer:
|
|
51
|
+
addTabRenderer(tabId: GuidValue, tabName: string, tabRenderer: IVersionedLayoutDefinitionEditorTabRenderer): void;
|
|
52
52
|
private setLayoutEditorCanvasApi;
|
|
53
53
|
private discardChanges;
|
|
54
54
|
private saveAsDraft;
|
|
@@ -57,7 +57,7 @@ export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
|
57
57
|
private clickVersionHistory;
|
|
58
58
|
private checkOut;
|
|
59
59
|
private takeControl;
|
|
60
|
-
setNewVersionedData(newVersionedData: IVersionedData<
|
|
60
|
+
setNewVersionedData(newVersionedData: IVersionedData<VersionedLayoutDefinition>, mergeWithoutCache?: boolean, refreshStateOption?: RefreshStateOption): Promise<void>;
|
|
61
61
|
private setNewEditorItem;
|
|
62
62
|
private loadLayout;
|
|
63
63
|
private generateDisplayBreakpoints;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ThemeDefinition } from "@omnia/fx-models";
|
|
2
|
+
import { VersionedLayoutDefinitionEditorItem } from "./VersionedLayoutDefinitionEditorItem";
|
|
3
|
+
import { VersionedLayoutEditorApi } from "./IVersionedLayoutEditor";
|
|
4
|
+
export interface VersionedLayoutDefinitionEditorItemConfiguration {
|
|
5
|
+
title?: string;
|
|
6
|
+
versionedLayoutId: number;
|
|
7
|
+
api: VersionedLayoutEditorApi;
|
|
8
|
+
layoutThemeDefinition?: ThemeDefinition;
|
|
9
|
+
blockThemeDefinition?: ThemeDefinition;
|
|
10
|
+
enableAlternateLayouts?: boolean;
|
|
11
|
+
enableBlockLockSettings?: boolean;
|
|
12
|
+
hideDeleteAction?: boolean;
|
|
13
|
+
hideBreakpointPreview?: boolean;
|
|
14
|
+
profileAdminEditable?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare class VersionedLayoutDefinitionEditorItemFactory {
|
|
17
|
+
private versionedLayoutStore;
|
|
18
|
+
private omniaContext;
|
|
19
|
+
private multilingualStore;
|
|
20
|
+
private permissionService;
|
|
21
|
+
private appStore;
|
|
22
|
+
createEditorItem(configuration: VersionedLayoutDefinitionEditorItemConfiguration): Promise<VersionedLayoutDefinitionEditorItem>;
|
|
23
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { ServiceContainerContext } from "@omnia/fx";
|
|
2
2
|
import { GuidValue } from "@omnia/fx-models";
|
|
3
|
-
import {
|
|
3
|
+
import { VersionedLayoutEditorApi } from "./IVersionedLayoutEditor";
|
|
4
4
|
declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
|
|
5
|
-
getApi: (api:
|
|
5
|
+
getApi: (api: VersionedLayoutEditorApi) => void;
|
|
6
6
|
appInstanceId: GuidValue;
|
|
7
7
|
closeEditor: () => void;
|
|
8
8
|
navigationDrawerTitle: string;
|
|
9
9
|
renderNavigationDrawer: () => JSX.Element;
|
|
10
10
|
renderNavigationDrawerBottom: () => JSX.Element;
|
|
11
11
|
serviceContainerContext: ServiceContainerContext;
|
|
12
|
-
}, "
|
|
12
|
+
}, "closeEditor" | "getApi">, any, any, any>> & {
|
|
13
13
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
14
|
-
getApi: (api:
|
|
14
|
+
getApi: (api: VersionedLayoutEditorApi) => void;
|
|
15
15
|
appInstanceId: GuidValue;
|
|
16
16
|
closeEditor: () => void;
|
|
17
17
|
navigationDrawerTitle: string;
|
|
18
18
|
renderNavigationDrawer: () => JSX.Element;
|
|
19
19
|
renderNavigationDrawerBottom: () => JSX.Element;
|
|
20
20
|
serviceContainerContext: ServiceContainerContext;
|
|
21
|
-
}, "
|
|
21
|
+
}, "closeEditor" | "getApi">;
|
|
22
22
|
}) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
|
|
23
|
-
getApi: (api:
|
|
23
|
+
getApi: (api: VersionedLayoutEditorApi) => void;
|
|
24
24
|
appInstanceId: GuidValue;
|
|
25
25
|
closeEditor: () => void;
|
|
26
26
|
navigationDrawerTitle: string;
|
|
27
27
|
renderNavigationDrawer: () => JSX.Element;
|
|
28
28
|
renderNavigationDrawerBottom: () => JSX.Element;
|
|
29
29
|
serviceContainerContext: ServiceContainerContext;
|
|
30
|
-
}, "
|
|
30
|
+
}, "closeEditor" | "getApi">, any, any, any>> & {
|
|
31
31
|
propsDefinition: import("vue-tsx-support").PropsForOutside<{
|
|
32
|
-
getApi: (api:
|
|
32
|
+
getApi: (api: VersionedLayoutEditorApi) => void;
|
|
33
33
|
appInstanceId: GuidValue;
|
|
34
34
|
closeEditor: () => void;
|
|
35
35
|
navigationDrawerTitle: string;
|
|
36
36
|
renderNavigationDrawer: () => JSX.Element;
|
|
37
37
|
renderNavigationDrawerBottom: () => JSX.Element;
|
|
38
38
|
serviceContainerContext: ServiceContainerContext;
|
|
39
|
-
}, "
|
|
39
|
+
}, "closeEditor" | "getApi">;
|
|
40
40
|
});
|
|
41
41
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { VersionedAlternateLayout, VersionedLayout } from "../../../../models";
|
|
2
|
+
import { VersionedLayoutStore } from "../../../../stores";
|
|
3
3
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
4
4
|
interface AlternateLayoutCreationFormProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
closed: (createdAlternateLayout?:
|
|
5
|
+
versionedLayout: VersionedLayout;
|
|
6
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
7
|
+
closed: (createdAlternateLayout?: VersionedAlternateLayout) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare class AlternateLayoutCreationForm extends VueComponentBase<AlternateLayoutCreationFormProps> {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
closed: (createdAlternateLayout?:
|
|
10
|
+
versionedLayout: VersionedLayout;
|
|
11
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
12
|
+
closed: (createdAlternateLayout?: VersionedAlternateLayout) => void;
|
|
13
13
|
private omniaLoc;
|
|
14
14
|
private themeStore;
|
|
15
15
|
private formValidator;
|
|
@@ -20,7 +20,7 @@ export declare class AlternateLayoutCreationForm extends VueComponentBase<Altern
|
|
|
20
20
|
created(): void;
|
|
21
21
|
private getSelections;
|
|
22
22
|
private createAlternateLayout;
|
|
23
|
-
private
|
|
23
|
+
private getVersionedAlternateLayoutDefinition;
|
|
24
24
|
render(): VueTsxSupport.JSX.Element;
|
|
25
25
|
}
|
|
26
26
|
export {};
|
|
File without changes
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { VersionedLayoutDefinition, IVersionedData, Layout } from "../../../../models";
|
|
2
|
+
import { VersionedLayoutStore } from "../../../../stores";
|
|
3
3
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
4
|
-
import {
|
|
4
|
+
import { VersionedLayoutEditorStore } from "../../stores";
|
|
5
5
|
import { RefreshStateOption } from "../RefreshStateOption";
|
|
6
6
|
interface AlternateLayoutMappingActionProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
versionedData: IVersionedData<
|
|
11
|
-
setNewEditorItem: (newVersionedData: IVersionedData<
|
|
7
|
+
versionedLayoutEditorStore: VersionedLayoutEditorStore;
|
|
8
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
9
|
+
versionedLayoutId: number;
|
|
10
|
+
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
11
|
+
setNewEditorItem: (newVersionedData: IVersionedData<VersionedLayoutDefinition>) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare class AlternateLayoutMappingAction extends VueComponentBase<AlternateLayoutMappingActionProps> {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
setNewEditorItem: (newVersionedData: IVersionedData<
|
|
18
|
-
versionedData: IVersionedData<
|
|
14
|
+
versionedLayoutEditorStore: VersionedLayoutEditorStore;
|
|
15
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
16
|
+
versionedLayoutId: number;
|
|
17
|
+
setNewEditorItem: (newVersionedData: IVersionedData<VersionedLayoutDefinition>, layout: Layout, refreshStateOption: RefreshStateOption) => void;
|
|
18
|
+
versionedData: IVersionedData<VersionedLayoutDefinition>;
|
|
19
19
|
private subscriptionHandler;
|
|
20
20
|
private themeStore;
|
|
21
21
|
private omniaLoc;
|
|
@@ -26,7 +26,7 @@ export declare class AlternateLayoutMappingAction extends VueComponentBase<Alter
|
|
|
26
26
|
private showRenameLayoutDialog;
|
|
27
27
|
created(): void;
|
|
28
28
|
private get selectingBreakpoint();
|
|
29
|
-
private get
|
|
29
|
+
private get versionedLayout();
|
|
30
30
|
private loadMapping;
|
|
31
31
|
private ensureRemoveInvalidMapping;
|
|
32
32
|
private onDisplayBreakpointChanged;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { VersionedAlternateLayout, VersionedLayout } from "../../../../models";
|
|
2
|
+
import { VersionedLayoutStore } from "../../../../stores";
|
|
3
3
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
4
4
|
interface AlternateLayoutRenameFormProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
6
|
+
versionedLayout: VersionedLayout;
|
|
7
|
+
versionedAlternateLayout: VersionedAlternateLayout;
|
|
8
8
|
closed: (renamed?: boolean) => void;
|
|
9
9
|
}
|
|
10
10
|
export declare class AlternateLayoutRenameForm extends VueComponentBase<AlternateLayoutRenameFormProps> {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
versionedLayout: VersionedLayout;
|
|
12
|
+
versionedAlternateLayout: VersionedAlternateLayout;
|
|
13
|
+
versionedLayoutStore: VersionedLayoutStore;
|
|
14
14
|
closed: (renamed?: boolean) => void;
|
|
15
15
|
private omniaLoc;
|
|
16
16
|
private themeStore;
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DisplayBreakPoint } from "@omnia/fx-models";
|
|
2
2
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
3
|
-
import {
|
|
3
|
+
import { VersionedLayoutEditorStore } from "../../stores";
|
|
4
4
|
interface DisplayBreakpointActionProps {
|
|
5
|
-
|
|
5
|
+
versionedLayoutEditorStore: VersionedLayoutEditorStore;
|
|
6
6
|
}
|
|
7
7
|
export declare class DisplayBreakpointAction extends VueComponentBase<DisplayBreakpointActionProps> {
|
|
8
|
-
|
|
8
|
+
versionedLayoutEditorStore: VersionedLayoutEditorStore;
|
|
9
9
|
private breakpoints;
|
|
10
10
|
private displayBreakpointActionStyles;
|
|
11
11
|
created(): void;
|
|
File without changes
|
|
File without changes
|
package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/Panels.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../VueComponentBase";
|
|
2
2
|
export declare class Panels extends VueComponentBase {
|
|
3
3
|
private editorChromeStore;
|
|
4
|
-
private
|
|
4
|
+
private versionedLayoutEditorStore;
|
|
5
5
|
private styles;
|
|
6
6
|
private renderHistoryPanel;
|
|
7
7
|
render(): VueTsxSupport.JSX.Element;
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../../VueComponentBase";
|
|
2
2
|
export declare class VersionHistory extends VueComponentBase {
|
|
3
|
-
private
|
|
3
|
+
private versionedLayoutService;
|
|
4
4
|
private editorChromeStore;
|
|
5
|
-
private
|
|
6
|
-
private
|
|
5
|
+
private versionedLayoutStore;
|
|
6
|
+
private versionedLayoutEditorStore;
|
|
7
7
|
private loc;
|
|
8
8
|
private versionPanelStyles;
|
|
9
9
|
private versions;
|
|
File without changes
|
|
@@ -7,12 +7,12 @@ export declare class LayoutBackgroundImage extends VueComponentBase<{
|
|
|
7
7
|
hideScrollBehavior?: boolean;
|
|
8
8
|
isLayoutSettings?: boolean;
|
|
9
9
|
canvasApi: LayoutEditorCanvasApi;
|
|
10
|
-
|
|
10
|
+
versionedLayoutId: number;
|
|
11
11
|
}> {
|
|
12
12
|
isLayoutSettings: boolean;
|
|
13
13
|
hideScrollBehavior?: boolean;
|
|
14
14
|
canvasApi: LayoutEditorCanvasApi;
|
|
15
|
-
|
|
15
|
+
versionedLayoutId: number;
|
|
16
16
|
mediaPickerStore: MediaPickerStore;
|
|
17
17
|
multilingualStore: MultilingualStore;
|
|
18
18
|
omniaLoc: OmniaUxLocalization;
|
|
File without changes
|