@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.
Files changed (81) hide show
  1. package/internal-do-not-import-from-here/manifests/omnia.fx.core.manifest.json +1 -1
  2. package/internal-do-not-import-from-here/manifests/omnia.fx.manifest.json +1 -1
  3. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  4. package/internal-do-not-import-from-here/services/VersionedLayoutService.d.ts +47 -0
  5. package/internal-do-not-import-from-here/services/index.d.ts +1 -1
  6. package/internal-do-not-import-from-here/stores/VersionedLayoutStore.d.ts +74 -0
  7. package/internal-do-not-import-from-here/stores/index.d.ts +1 -1
  8. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -2
  9. package/internal-do-not-import-from-here/ux/UxModels.d.ts +2 -0
  10. package/internal-do-not-import-from-here/ux/app/management/api/AppManagementApi.d.ts +3 -3
  11. package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/EditLayout.d.ts +3 -3
  12. package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/LayoutListing.d.ts +3 -3
  13. package/internal-do-not-import-from-here/ux/app/management/tabs/layouts/editlayout/LayoutSettingsComponent.d.ts +4 -4
  14. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/LayoutEditorTabRendererInstance.d.ts +2 -2
  15. package/internal-do-not-import-from-here/ux/{app/builders/blades/applayouts → versionedlayout/blade}/LayoutAliasBlade.d.ts +4 -4
  16. package/internal-do-not-import-from-here/ux/versionedlayout/blade/Shared.d.ts +10 -0
  17. package/internal-do-not-import-from-here/ux/{app/builders/blades/AppLayoutBladeBuilder.d.ts → versionedlayout/blade/VersionedLayoutBladeBuilder.d.ts} +0 -0
  18. package/internal-do-not-import-from-here/ux/{app/builders/blades/AppLayoutListBladeBuilder.d.ts → versionedlayout/blade/VersionedLayoutListBladeBuilder.d.ts} +6 -8
  19. package/internal-do-not-import-from-here/ux/versionedlayout/blade/VersionedLayoutSettingsComponent.d.ts +9 -0
  20. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Chrome.d.ts +4 -4
  21. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/IChrome.d.ts +3 -3
  22. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/controller/Topic.d.ts +0 -0
  23. package/internal-do-not-import-from-here/ux/{applayout/controller/AppLayoutController.css.d.ts → versionedlayout/controller/VersionedLayoutController.css.d.ts} +0 -0
  24. package/internal-do-not-import-from-here/ux/{applayout/controller/AppLayoutController.d.ts → versionedlayout/controller/VersionedLayoutController.d.ts} +4 -5
  25. package/internal-do-not-import-from-here/ux/versionedlayout/editor/IVersionedLayoutDefinitionEditorTabRenderer.d.ts +4 -0
  26. package/internal-do-not-import-from-here/ux/versionedlayout/editor/IVersionedLayoutEditor.d.ts +6 -0
  27. package/internal-do-not-import-from-here/ux/versionedlayout/editor/LayoutEditorTabRenderer.d.ts +13 -0
  28. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/LayoutEditorTabRendererSizeMonitor.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/RefreshStateOption.d.ts +0 -0
  30. package/internal-do-not-import-from-here/ux/{applayout/editor/AppLayoutDefinitionEditorItem.d.ts → versionedlayout/editor/VersionedLayoutDefinitionEditorItem.d.ts} +16 -16
  31. package/internal-do-not-import-from-here/ux/versionedlayout/editor/VersionedLayoutDefinitionEditorItemFactory.d.ts +23 -0
  32. package/internal-do-not-import-from-here/ux/{applayout/editor/AppLayoutEditor.d.ts → versionedlayout/editor/VersionedLayoutEditor.d.ts} +9 -9
  33. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutCreationForm.d.ts +9 -9
  34. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutMappingAction.css.d.ts +0 -0
  35. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutMappingAction.d.ts +14 -14
  36. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/alternatelayout/AlternateLayoutRenameForm.d.ts +8 -8
  37. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/displaybreakpoint/DisplayBreakpointAction.css.d.ts +0 -0
  38. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/displaybreakpoint/DisplayBreakpointAction.d.ts +3 -3
  39. package/internal-do-not-import-from-here/ux/versionedlayout/editor/index.d.ts +4 -0
  40. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/messages/checkedbyother/CheckedOutByOtherMessage.d.ts +0 -0
  41. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/Panels.css.d.ts +0 -0
  42. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/Panels.d.ts +1 -1
  43. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionHistory.css.d.ts +0 -0
  44. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionHistory.d.ts +3 -3
  45. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/editor/panels/versionhistory/VersionUserInfo.d.ts +0 -0
  46. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/index.d.ts +1 -2
  47. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/layoutbackgroundimage/LayoutBackgroundImage.d.ts +2 -2
  48. package/internal-do-not-import-from-here/ux/{applayout → versionedlayout}/layoutbackgroundimage/loc/localize.d.ts +0 -0
  49. package/internal-do-not-import-from-here/ux/{applayout/renderer/AppLayoutRenderer.d.ts → versionedlayout/renderer/VersionedLayoutRenderer.d.ts} +16 -17
  50. package/internal-do-not-import-from-here/ux/{applayout/stores/AppLayoutEditorStore.d.ts → versionedlayout/stores/VersionedLayoutEditorStore.d.ts} +1 -1
  51. package/internal-do-not-import-from-here/ux/versionedlayout/stores/index.d.ts +1 -0
  52. package/internal-do-not-import-from-here/ux/{applayout/urlinput/AppLayoutUrlInput.d.ts → versionedlayout/urlinput/VersionedLayoutUrlInput.d.ts} +4 -8
  53. package/internal-do-not-import-from-here/wctypings.d.ts +4 -4
  54. package/package.json +2 -2
  55. package/internal-do-not-import-from-here/services/AppLayoutService.d.ts +0 -45
  56. package/internal-do-not-import-from-here/stores/AppLayoutStore.d.ts +0 -65
  57. package/internal-do-not-import-from-here/ux/app/builders/blades/applayouts/AppLayoutSettingsComponent.d.ts +0 -9
  58. package/internal-do-not-import-from-here/ux/app/builders/core/AppBladeConfig.d.ts +0 -15
  59. package/internal-do-not-import-from-here/ux/app/builders/core/Constants.d.ts +0 -35
  60. package/internal-do-not-import-from-here/ux/app/builders/core/index.d.ts +0 -2
  61. package/internal-do-not-import-from-here/ux/app/builders/index.d.ts +0 -1
  62. package/internal-do-not-import-from-here/ux/app/builders/shareds/AppBladeBuilderMenuItem.d.ts +0 -8
  63. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppBladeBuilder.d.ts +0 -30
  64. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppInstanceBladeBuilder.d.ts +0 -36
  65. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppLayoutBladeBuilder.d.ts +0 -28
  66. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppLayoutListBladeBuilder.d.ts +0 -20
  67. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppNamingPolicyBladeBuilder.d.ts +0 -22
  68. package/internal-do-not-import-from-here/ux/app/builders/shareds/IAppTemplateBladeBuilder.d.ts +0 -40
  69. package/internal-do-not-import-from-here/ux/app/builders/shareds/index.d.ts +0 -6
  70. package/internal-do-not-import-from-here/ux/applayout/controller/IAppLayoutController.d.ts +0 -21
  71. package/internal-do-not-import-from-here/ux/applayout/controller/index.d.ts +0 -1
  72. package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItemFactory.d.ts +0 -23
  73. package/internal-do-not-import-from-here/ux/applayout/editor/IAppLayoutDefinitionEditorTabRenderer.d.ts +0 -4
  74. package/internal-do-not-import-from-here/ux/applayout/editor/IAppLayoutEditor.d.ts +0 -15
  75. package/internal-do-not-import-from-here/ux/applayout/editor/LayoutEditorTabRenderer.d.ts +0 -13
  76. package/internal-do-not-import-from-here/ux/applayout/editor/index.d.ts +0 -4
  77. package/internal-do-not-import-from-here/ux/applayout/renderer/IAppLayoutRenderer.d.ts +0 -9
  78. package/internal-do-not-import-from-here/ux/applayout/renderer/index.d.ts +0 -1
  79. package/internal-do-not-import-from-here/ux/applayout/stores/index.d.ts +0 -1
  80. package/internal-do-not-import-from-here/ux/applayout/urlinput/IAppLayoutUrlInput.d.ts +0 -35
  81. package/internal-do-not-import-from-here/ux/applayout/urlinput/index.d.ts +0 -1
@@ -1,6 +1,6 @@
1
- import { AppInstanceLayout } from "@omnia/fx-models";
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: AppInstanceLayout;
5
- }, "selectedLayout" | "handleCloseEditLayout">, any, any, any>;
4
+ selectedLayout: VersionedLayout;
5
+ }, "handleCloseEditLayout" | "selectedLayout">, any, any, any>;
6
6
  export default _default;
@@ -1,7 +1,7 @@
1
- import { AppInstanceLayout } from "@omnia/fx-models";
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: AppInstanceLayout) => void;
5
- handleEditAlias: (layout: AppInstanceLayout) => void;
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 { AppLayoutDefinition } from "@omnia/fx-models";
2
- import { IAppLayoutDefinitionEditorTabRenderer } from "@omnia/fx/ux";
3
- export declare class AppLayoutSettingsTabRenderer implements IAppLayoutDefinitionEditorTabRenderer<AppLayoutDefinition> {
4
- getElement(definition: AppLayoutDefinition, isCheckedOutToMe: boolean): JSX.Element;
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 { AppLayoutDefinition } from "../../models";
1
+ import { VersionedLayoutDefinition } from "../../models";
2
2
  export declare class LayoutEditorTabRendererInstance {
3
- definition: AppLayoutDefinition;
3
+ definition: VersionedLayoutDefinition;
4
4
  size: {
5
5
  maxHeight: number;
6
6
  maxWidth: number;
@@ -1,14 +1,14 @@
1
- import { AppInstanceLayout, JourneyInstance } from "@omnia/fx-models";
1
+ import { VersionedLayout, JourneyInstance } from "@omnia/fx-models";
2
2
  import { VueComponentBase } from "@omnia/fx/ux";
3
3
  export interface LayoutAliasBladeProps {
4
- layout: AppInstanceLayout;
4
+ layout: VersionedLayout;
5
5
  journey: () => JourneyInstance;
6
6
  }
7
7
  export declare class LayoutAliasBlade extends VueComponentBase<LayoutAliasBladeProps, {}, {}> {
8
- layout: AppInstanceLayout;
8
+ layout: VersionedLayout;
9
9
  journey: () => JourneyInstance;
10
10
  private loc;
11
- private appLayoutStore;
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
+ }
@@ -1,23 +1,21 @@
1
1
  import { JourneyInstance } from "@omnia/fx-models";
2
- import { AppLayoutBladeSettings, IAppLayoutListBladeBuilder, VueComponentBase } from "../../..";
3
- import { AppManagementLocalization } from "../../management/core";
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: AppLayoutBladeSettings;
5
+ settings: VersionedLayoutBladeSettings;
7
6
  bladeTitle?: string;
8
- private appInstanceLayoutStore;
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 ensureAppLayoutBladeBuilder;
16
+ private ensureLayoutBladeBuilder;
19
17
  private ensureLayoutAliasBlade;
20
- private travelAppLayoutBladeBuilder;
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
+ }
@@ -1,14 +1,14 @@
1
1
  import { IWebComponentInstance } from "@omnia/fx";
2
- import { AppInstanceLayoutId, GuidValue } from "@omnia/fx/models";
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: GuidValue;
6
+ appInstanceId?: GuidValue;
7
7
  layoutBackgroundImageElementId: string;
8
- appInstanceLayoutId: AppInstanceLayoutId;
8
+ versionedLayoutId: VersionedLayoutId;
9
9
  enableAlternateLayout?: boolean;
10
10
  undeletable?: boolean;
11
- private appLayoutDefinitionEditorItemFactory;
11
+ private versionedLayoutDefinitionEditorItemFactory;
12
12
  private api;
13
13
  created(): void;
14
14
  mounted(): void;
@@ -1,8 +1,8 @@
1
- import { AppInstanceLayoutId, GuidValue } from "../../../models";
1
+ import { VersionedLayoutId, GuidValue } from "../../../models";
2
2
  export interface IChromeComponent {
3
3
  layoutBackgroundImageElementId: string;
4
- appInstanceId: GuidValue;
5
- appInstanceLayoutId: AppInstanceLayoutId;
4
+ appInstanceId?: GuidValue;
5
+ versionedLayoutId: VersionedLayoutId;
6
6
  enableAlternateLayout?: boolean;
7
7
  undeletable?: boolean;
8
8
  }
@@ -1,17 +1,16 @@
1
- import { AppInstanceLayoutId, GuidValue } from "@omnia/fx-models";
1
+ import { VersionedLayoutId, GuidValue } from "@omnia/fx-models";
2
2
  import { VueComponentBase } from "@omnia/fx/ux";
3
- import { IAppLayoutController } from "./IAppLayoutController";
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
- appInstanceLayoutId: AppInstanceLayoutId;
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 appLayoutStore;
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
+ }
@@ -0,0 +1,6 @@
1
+ import { VersionedLayoutEditorStore } from "..";
2
+ import { EditorChromeStore } from "../../editorchrome";
3
+ export interface VersionedLayoutEditorApi {
4
+ editorChromeStore: EditorChromeStore;
5
+ versionedLayoutEditorStore: VersionedLayoutEditorStore;
6
+ }
@@ -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 appLayoutEditorStore;
14
+ private versionedLayoutEditorStore;
15
15
  private maxWidth;
16
16
  private interval;
17
17
  created(): void;
@@ -1,18 +1,18 @@
1
- import { AppInstanceLayout, AppLayoutDefinition, EditorDisplayModes, GuidValue, IActionButton, IEditorItem, IEditorItemPanelsRenderer, IEditorTabRegistration, IVersionedData, Layout, ThemeDefinition } from "@omnia/fx-models";
2
- import { AppLayoutEditorStore } from "..";
3
- import { AppLayoutStore, MultilingualStore } from "../../../stores";
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 { IAppLayoutDefinitionEditorTabRenderer } from "./IAppLayoutDefinitionEditorTabRenderer";
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 AppLayoutDefinitionEditorItemPrivateImutableState {
11
+ export declare class VersionedLayoutDefinitionEditorItemPrivateImutableState {
12
12
  readonly multilingualStore: MultilingualStore;
13
13
  readonly editorChromeStore: EditorChromeStore;
14
- readonly appLayoutEditorStore: AppLayoutEditorStore;
15
- readonly layoutStore: AppLayoutStore;
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 parentAppInstanceLayout: AppInstanceLayout;
24
+ readonly parentVersionedLayout: VersionedLayout;
25
25
  }
26
- export declare class AppLayoutDefinitionEditorItemState {
27
- appInstanceLayout: AppInstanceLayout;
28
- versionedData: IVersionedData<AppLayoutDefinition>;
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 AppLayoutDefinitionEditorItem implements IEditorItem {
32
+ export declare class VersionedLayoutDefinitionEditorItem implements IEditorItem {
33
33
  private immutableState;
34
- state: AppLayoutDefinitionEditorItemState;
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: AppLayoutDefinitionEditorItemPrivateImutableState, state: AppLayoutDefinitionEditorItemState);
48
+ constructor(immutableState: VersionedLayoutDefinitionEditorItemPrivateImutableState, state: VersionedLayoutDefinitionEditorItemState);
49
49
  private createDesignAndPreviewButton;
50
50
  addRightItemExtendButton(actionButton: IActionButton): void;
51
- addTabRenderer(tabId: GuidValue, tabName: string, tabRenderer: IAppLayoutDefinitionEditorTabRenderer): void;
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<AppLayoutDefinition>, mergeWithoutCache?: boolean, refreshStateOption?: RefreshStateOption): Promise<void>;
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 { AppLayoutEditorApi } from "./IAppLayoutEditor";
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: AppLayoutEditorApi) => void;
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
- }, "appInstanceId" | "closeEditor" | "getApi">, any, any, any>> & {
12
+ }, "closeEditor" | "getApi">, any, any, any>> & {
13
13
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
14
- getApi: (api: AppLayoutEditorApi) => void;
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
- }, "appInstanceId" | "closeEditor" | "getApi">;
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: AppLayoutEditorApi) => void;
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
- }, "appInstanceId" | "closeEditor" | "getApi">, any, any, any>> & {
30
+ }, "closeEditor" | "getApi">, any, any, any>> & {
31
31
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
32
- getApi: (api: AppLayoutEditorApi) => void;
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
- }, "appInstanceId" | "closeEditor" | "getApi">;
39
+ }, "closeEditor" | "getApi">;
40
40
  });
41
41
  export default _default;
@@ -1,15 +1,15 @@
1
- import { AppInstanceAlternateLayout, AppInstanceLayout } from "../../../../models";
2
- import { AppLayoutStore } from "../../../../stores";
1
+ import { VersionedAlternateLayout, VersionedLayout } from "../../../../models";
2
+ import { VersionedLayoutStore } from "../../../../stores";
3
3
  import { VueComponentBase } from "../../../VueComponentBase";
4
4
  interface AlternateLayoutCreationFormProps {
5
- appInstanceLayout: AppInstanceLayout;
6
- appInstanceLayoutStore: AppLayoutStore;
7
- closed: (createdAlternateLayout?: AppInstanceAlternateLayout) => void;
5
+ versionedLayout: VersionedLayout;
6
+ versionedLayoutStore: VersionedLayoutStore;
7
+ closed: (createdAlternateLayout?: VersionedAlternateLayout) => void;
8
8
  }
9
9
  export declare class AlternateLayoutCreationForm extends VueComponentBase<AlternateLayoutCreationFormProps> {
10
- appInstanceLayout: AppInstanceLayout;
11
- appInstanceLayoutStore: AppLayoutStore;
12
- closed: (createdAlternateLayout?: AppInstanceAlternateLayout) => void;
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 getAppAlternateLayoutDefinition;
23
+ private getVersionedAlternateLayoutDefinition;
24
24
  render(): VueTsxSupport.JSX.Element;
25
25
  }
26
26
  export {};
@@ -1,21 +1,21 @@
1
- import { AppLayoutDefinition, IVersionedData, Layout } from "../../../../models";
2
- import { AppLayoutStore } from "../../../../stores";
1
+ import { VersionedLayoutDefinition, IVersionedData, Layout } from "../../../../models";
2
+ import { VersionedLayoutStore } from "../../../../stores";
3
3
  import { VueComponentBase } from "../../../VueComponentBase";
4
- import { AppLayoutEditorStore } from "../../stores";
4
+ import { VersionedLayoutEditorStore } from "../../stores";
5
5
  import { RefreshStateOption } from "../RefreshStateOption";
6
6
  interface AlternateLayoutMappingActionProps {
7
- appLayoutEditorStore: AppLayoutEditorStore;
8
- appInstanceLayoutStore: AppLayoutStore;
9
- appInstanceLayoutId: number;
10
- versionedData: IVersionedData<AppLayoutDefinition>;
11
- setNewEditorItem: (newVersionedData: IVersionedData<AppLayoutDefinition>) => void;
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
- appLayoutEditorStore: AppLayoutEditorStore;
15
- appInstanceLayoutStore: AppLayoutStore;
16
- appInstanceLayoutId: number;
17
- setNewEditorItem: (newVersionedData: IVersionedData<AppLayoutDefinition>, layout: Layout, refreshStateOption: RefreshStateOption) => void;
18
- versionedData: IVersionedData<AppLayoutDefinition>;
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 appInstanceLayout();
29
+ private get versionedLayout();
30
30
  private loadMapping;
31
31
  private ensureRemoveInvalidMapping;
32
32
  private onDisplayBreakpointChanged;
@@ -1,16 +1,16 @@
1
- import { AppInstanceAlternateLayout, AppInstanceLayout } from "../../../../models";
2
- import { AppLayoutStore } from "../../../../stores";
1
+ import { VersionedAlternateLayout, VersionedLayout } from "../../../../models";
2
+ import { VersionedLayoutStore } from "../../../../stores";
3
3
  import { VueComponentBase } from "../../../VueComponentBase";
4
4
  interface AlternateLayoutRenameFormProps {
5
- appInstanceLayoutStore: AppLayoutStore;
6
- appInstanceLayout: AppInstanceLayout;
7
- appInstanceAlternateLayout: AppInstanceAlternateLayout;
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
- appInstanceLayout: AppInstanceLayout;
12
- appInstanceAlternateLayout: AppInstanceAlternateLayout;
13
- appInstanceLayoutStore: AppLayoutStore;
11
+ versionedLayout: VersionedLayout;
12
+ versionedAlternateLayout: VersionedAlternateLayout;
13
+ versionedLayoutStore: VersionedLayoutStore;
14
14
  closed: (renamed?: boolean) => void;
15
15
  private omniaLoc;
16
16
  private themeStore;
@@ -1,11 +1,11 @@
1
1
  import { DisplayBreakPoint } from "@omnia/fx-models";
2
2
  import { VueComponentBase } from "../../../VueComponentBase";
3
- import { AppLayoutEditorStore } from "../../stores";
3
+ import { VersionedLayoutEditorStore } from "../../stores";
4
4
  interface DisplayBreakpointActionProps {
5
- appLayoutEditorStore: AppLayoutEditorStore;
5
+ versionedLayoutEditorStore: VersionedLayoutEditorStore;
6
6
  }
7
7
  export declare class DisplayBreakpointAction extends VueComponentBase<DisplayBreakpointActionProps> {
8
- appLayoutEditorStore: AppLayoutEditorStore;
8
+ versionedLayoutEditorStore: VersionedLayoutEditorStore;
9
9
  private breakpoints;
10
10
  private displayBreakpointActionStyles;
11
11
  created(): void;
@@ -0,0 +1,4 @@
1
+ export * from "./IVersionedLayoutDefinitionEditorTabRenderer";
2
+ export * from "./VersionedLayoutDefinitionEditorItem";
3
+ export * from "./VersionedLayoutDefinitionEditorItemFactory";
4
+ export * from "./IVersionedLayoutEditor";
@@ -1,7 +1,7 @@
1
1
  import { VueComponentBase } from "../../../VueComponentBase";
2
2
  export declare class Panels extends VueComponentBase {
3
3
  private editorChromeStore;
4
- private appLayoutEditorStore;
4
+ private versionedLayoutEditorStore;
5
5
  private styles;
6
6
  private renderHistoryPanel;
7
7
  render(): VueTsxSupport.JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import { VueComponentBase } from "../../../../VueComponentBase";
2
2
  export declare class VersionHistory extends VueComponentBase {
3
- private appLayoutService;
3
+ private versionedLayoutService;
4
4
  private editorChromeStore;
5
- private appInstanceLayoutStore;
6
- private appLayoutEditorStore;
5
+ private versionedLayoutStore;
6
+ private versionedLayoutEditorStore;
7
7
  private loc;
8
8
  private versionPanelStyles;
9
9
  private versions;
@@ -1,5 +1,4 @@
1
1
  export * from "./editor";
2
- export * from "./renderer";
3
- export * from "./controller";
4
2
  export * from "./stores";
5
3
  export * from "./LayoutEditorTabRendererInstance";
4
+ export * from "./blade/Shared";
@@ -7,12 +7,12 @@ export declare class LayoutBackgroundImage extends VueComponentBase<{
7
7
  hideScrollBehavior?: boolean;
8
8
  isLayoutSettings?: boolean;
9
9
  canvasApi: LayoutEditorCanvasApi;
10
- appLayoutId: number;
10
+ versionedLayoutId: number;
11
11
  }> {
12
12
  isLayoutSettings: boolean;
13
13
  hideScrollBehavior?: boolean;
14
14
  canvasApi: LayoutEditorCanvasApi;
15
- appLayoutId: number;
15
+ versionedLayoutId: number;
16
16
  mediaPickerStore: MediaPickerStore;
17
17
  multilingualStore: MultilingualStore;
18
18
  omniaLoc: OmniaUxLocalization;