@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,24 +1,23 @@
1
- import { AppInstanceLayoutId, GuidValue, ThemeDefinition } from "@omnia/fx-models";
1
+ import { VersionedLayoutId, GuidValue, ThemeDefinition } from "@omnia/fx-models";
2
2
  import { VueComponentBase } from "../..";
3
3
  import { ServiceContainerContext } from "../../../core";
4
- interface InternalAppLayoutRendererProps {
4
+ interface InternalVersionedLayoutRendererProps {
5
5
  layoutBackgroundImageElementId: string;
6
- appInstanceLayoutId: AppInstanceLayoutId;
6
+ versionedLayoutId: VersionedLayoutId;
7
7
  layoutThemeDefinition?: ThemeDefinition;
8
8
  blockThemeDefinition?: ThemeDefinition;
9
9
  enableAlternateLayout?: boolean;
10
10
  }
11
- export declare class InternalAppLayoutRenderer extends VueComponentBase<InternalAppLayoutRendererProps> {
11
+ export declare class InternalVersionedLayoutRenderer extends VueComponentBase<InternalVersionedLayoutRendererProps> {
12
12
  layoutBackgroundImageElementId: string;
13
- appInstanceLayoutId: AppInstanceLayoutId;
13
+ versionedLayoutId: VersionedLayoutId;
14
14
  layoutThemeDefinition: ThemeDefinition;
15
15
  blockThemeDefinition: ThemeDefinition;
16
16
  enableAlternateLayout: boolean;
17
- private appInstanceLayoutStore;
18
- private appLayoutService;
17
+ private versionedLayoutStore;
19
18
  private subscriptionHandler;
20
- private appInstanceLayout;
21
- private parentAppInstanceLayout;
19
+ private versionedLayout;
20
+ private parentVersionedLayout;
22
21
  private versionedData;
23
22
  private breakpoints;
24
23
  private currentBreakpoint;
@@ -40,38 +39,38 @@ export declare class InternalAppLayoutRenderer extends VueComponentBase<Internal
40
39
  declare const _default: (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd"), {}, import("vue-tsx-support").PropsForOutside<{
41
40
  layoutBackgroundImageElementId: string;
42
41
  appInstanceId: GuidValue;
43
- appInstanceLayoutId: AppInstanceLayoutId;
42
+ versionedLayoutId: VersionedLayoutId;
44
43
  layoutThemeDefinition: ThemeDefinition;
45
44
  blockThemeDefinition: ThemeDefinition;
46
45
  enableAlternateLayout: boolean;
47
46
  serviceContainerContext: ServiceContainerContext;
48
- }, "appInstanceId" | "appInstanceLayoutId" | "layoutBackgroundImageElementId">, any, any, any>> & {
47
+ }, "appInstanceId" | "versionedLayoutId" | "layoutBackgroundImageElementId">, any, any, any>> & {
49
48
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
50
49
  layoutBackgroundImageElementId: string;
51
50
  appInstanceId: GuidValue;
52
- appInstanceLayoutId: AppInstanceLayoutId;
51
+ versionedLayoutId: VersionedLayoutId;
53
52
  layoutThemeDefinition: ThemeDefinition;
54
53
  blockThemeDefinition: ThemeDefinition;
55
54
  enableAlternateLayout: boolean;
56
55
  serviceContainerContext: ServiceContainerContext;
57
- }, "appInstanceId" | "appInstanceLayoutId" | "layoutBackgroundImageElementId">;
56
+ }, "appInstanceId" | "versionedLayoutId" | "layoutBackgroundImageElementId">;
58
57
  }) | (import("vue").VueConstructor<import("vue-tsx-support")._TsxComponentInstanceV3<import("vue/types/umd") & import("vue").ShallowUnwrapRef<() => VueTsxSupport.JSX.Element>, {}, import("vue-tsx-support").PropsForOutside<{
59
58
  layoutBackgroundImageElementId: string;
60
59
  appInstanceId: GuidValue;
61
- appInstanceLayoutId: AppInstanceLayoutId;
60
+ versionedLayoutId: VersionedLayoutId;
62
61
  layoutThemeDefinition: ThemeDefinition;
63
62
  blockThemeDefinition: ThemeDefinition;
64
63
  enableAlternateLayout: boolean;
65
64
  serviceContainerContext: ServiceContainerContext;
66
- }, "appInstanceId" | "appInstanceLayoutId" | "layoutBackgroundImageElementId">, any, any, any>> & {
65
+ }, "appInstanceId" | "versionedLayoutId" | "layoutBackgroundImageElementId">, any, any, any>> & {
67
66
  propsDefinition: import("vue-tsx-support").PropsForOutside<{
68
67
  layoutBackgroundImageElementId: string;
69
68
  appInstanceId: GuidValue;
70
- appInstanceLayoutId: AppInstanceLayoutId;
69
+ versionedLayoutId: VersionedLayoutId;
71
70
  layoutThemeDefinition: ThemeDefinition;
72
71
  blockThemeDefinition: ThemeDefinition;
73
72
  enableAlternateLayout: boolean;
74
73
  serviceContainerContext: ServiceContainerContext;
75
- }, "appInstanceId" | "appInstanceLayoutId" | "layoutBackgroundImageElementId">;
74
+ }, "appInstanceId" | "versionedLayoutId" | "layoutBackgroundImageElementId">;
76
75
  });
77
76
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { DisplayBreakpointCodes } from "@omnia/fx-models";
2
2
  import { Store } from "../../../stores";
3
3
  import { LayoutEditorTabRendererInstance } from "../LayoutEditorTabRendererInstance";
4
- export declare class AppLayoutEditorStore extends Store implements AppLayoutEditorStore {
4
+ export declare class VersionedLayoutEditorStore extends Store implements VersionedLayoutEditorStore {
5
5
  private isPreview;
6
6
  private openVersionPanel;
7
7
  private onLayoutEditorTabRendererInstanceCreatedHook;
@@ -0,0 +1 @@
1
+ export * from "./VersionedLayoutEditorStore";
@@ -1,18 +1,15 @@
1
- import { AppInstanceLayoutId, GuidValue } from "@omnia/fx-models";
1
+ import { VersionedLayoutId, GuidValue } from "@omnia/fx-models";
2
2
  import { IWebComponentInstance } from "../../../";
3
3
  import { VueComponentBase } from "../../VueComponentBase";
4
- import { IAppLayoutUrlInput } from "./IAppLayoutUrlInput";
5
- export declare class AppLayoutUrlInput extends VueComponentBase implements IAppLayoutUrlInput, IWebComponentInstance {
4
+ export declare class VersionedLayoutUrlInput extends VueComponentBase implements IWebComponentInstance {
6
5
  filled: boolean;
7
6
  urlSegment: string;
8
7
  appInstanceId: GuidValue;
9
8
  onUrlSegmentChanged: (urlSegment: string) => void;
10
- ignoreFromLayoutId: AppInstanceLayoutId;
9
+ ignoreFromLayoutId: VersionedLayoutId;
11
10
  private omniaUxLoc;
12
- private appLayoutService;
11
+ private versionedLayoutService;
13
12
  private internalUrlSegment;
14
- private isRootRouteExist;
15
- private useRootRoute;
16
13
  private validating;
17
14
  private pendingValidation;
18
15
  private isValid;
@@ -22,7 +19,6 @@ export declare class AppLayoutUrlInput extends VueComponentBase implements IAppL
22
19
  private latestTimewatchState;
23
20
  created(): void;
24
21
  mounted(): void;
25
- private updateUseRootRoute;
26
22
  onUrlSegmentPropChanged(): void;
27
23
  private validateUrlSegment;
28
24
  private validateUrlSegmentWithTimeWatch;
@@ -12,8 +12,6 @@ import wcdf7481b60b764c08865e658d9607387a from './ux/app/management/tabs/templat
12
12
  import wc6c400e11caad44bf8d174b145b6f122d from './ux/app/management/tabs/layouts/LayoutTab';
13
13
  import wc211ad37d3c1747c2a3fce889a433ebaa from './ux/app/management/tabs/namingpolicies/NamingPolicyTab';
14
14
  import wc20bd8ac81b314379a3676ca3b31c720e from './ux/app/management/components/TabsManagement';
15
- import wcba03fc7e6921468289c0a0ffe0cf942e from './ux/applayout/renderer/AppLayoutRenderer';
16
- import wc73154f51a92944acbe248779a3fa7ef5 from './ux/applayout/editor/AppLayoutEditor';
17
15
  import wc8e21d658d6f84d70870d29805b27df86 from './ux/appprovisioning/appshowinpubliclistingsinput/AppShowInPublicListingsInput';
18
16
  import wc5dfa7b609aed43ffab03dad33c65b2da from './ux/commandpalette/CommandPalette';
19
17
  import wc4723b5b26f5744beb18b5175c1e93f78 from './ux/compositiontests/CompositionBlockCurrent';
@@ -83,6 +81,8 @@ import wc80bd5b0978ea40439001d3d409236382 from './ux/velcron/blocks/VelcronBlock
83
81
  import wce8526e8ed3f74e848e0dd747fd4d376d from './ux/velcron/blocks/VelcronBlockSettings';
84
82
  import wcc75ffd4cf2f14b6685c5c2d894fdf00f from './ux/velcron/editor/VelcronEditor';
85
83
  import wc3dd4d94bcc254f9fac2100a3ff84dc7e from './ux/velcron/renderer/VelcronRenderer';
84
+ import wcba03fc7e6921468289c0a0ffe0cf942e from './ux/versionedlayout/renderer/VersionedLayoutRenderer';
85
+ import wc73154f51a92944acbe248779a3fa7ef5 from './ux/versionedlayout/editor/VersionedLayoutEditor';
86
86
  declare global {
87
87
  namespace VueTsxSupport.JSX {
88
88
  interface Element {
@@ -102,8 +102,6 @@ declare global {
102
102
  "omfx-app-management-layout-tab": base.CombinedTsxComponentAttrs<typeof wc6c400e11caad44bf8d174b145b6f122d.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
103
103
  "omfx-app-management-namingpolicy-tab": base.CombinedTsxComponentAttrs<typeof wc211ad37d3c1747c2a3fce889a433ebaa.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
104
104
  "omfx-tab-management": base.CombinedTsxComponentAttrs<typeof wc20bd8ac81b314379a3676ca3b31c720e.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
105
- "omfx-app-layout-renderer": base.CombinedTsxComponentAttrs<typeof wcba03fc7e6921468289c0a0ffe0cf942e.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
106
- "omfx-app-layout-editor": base.CombinedTsxComponentAttrs<typeof wc73154f51a92944acbe248779a3fa7ef5.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
107
105
  "omfx-app-show-in-public-listings-input": base.CombinedTsxComponentAttrs<typeof wc8e21d658d6f84d70870d29805b27df86.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
108
106
  "omfx-command-palette": base.CombinedTsxComponentAttrs<typeof wc5dfa7b609aed43ffab03dad33c65b2da.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
109
107
  "omfx-composition-block-current": base.CombinedTsxComponentAttrs<typeof wc4723b5b26f5744beb18b5175c1e93f78.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
@@ -173,6 +171,8 @@ declare global {
173
171
  "omfx-velcron-block-settings": base.CombinedTsxComponentAttrs<typeof wce8526e8ed3f74e848e0dd747fd4d376d.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
174
172
  "omfx-velcron-editor": base.CombinedTsxComponentAttrs<typeof wcc75ffd4cf2f14b6685c5c2d894fdf00f.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
175
173
  "omfx-velcron-renderer": base.CombinedTsxComponentAttrs<typeof wc3dd4d94bcc254f9fac2100a3ff84dc7e.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
174
+ "omfx-versioned-layout-renderer": base.CombinedTsxComponentAttrs<typeof wcba03fc7e6921468289c0a0ffe0cf942e.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
175
+ "omfx-versioned-layout-editor": base.CombinedTsxComponentAttrs<typeof wc73154f51a92944acbe248779a3fa7ef5.propsDefinition, {}, {}, {}, {}, true> & VueComponentBaseProps;
176
176
  }
177
177
  }
178
178
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.381-dev",
4
+ "version": "7.0.383-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.381-dev",
23
+ "@omnia/fx-models": "7.0.383-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",
@@ -1,45 +0,0 @@
1
- import { AppInstanceAlternateLayout, DisplayBreakpointAlternateLayoutMapping, AppInstanceLayout, AppLayoutDefinition, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionInformation, IVersionReference, LatestReferenceResponse, AppInstanceLayoutId, AppLayoutUrlValidationRequest, AppLayoutVersionedDataWithParentLayout } from "../models";
2
- interface AppInstanceLayoutCreationResponse {
3
- checkedOutVersionedData: ICheckedoutVersionedData<AppLayoutDefinition>;
4
- appInstanceLayout: AppInstanceLayout;
5
- }
6
- interface AppInstanceAlternateLayoutCreationResponse {
7
- checkedOutVersionedData: ICheckedoutVersionedData<AppLayoutDefinition>;
8
- appInstanceLayout: AppInstanceLayout;
9
- appInstanceAlternateLayout: AppInstanceAlternateLayout;
10
- }
11
- interface LayoutPublishingResponse {
12
- appInstanceLayout: AppInstanceLayout;
13
- publishedVersionedData: IVersionedData<AppLayoutDefinition>;
14
- }
15
- export declare class AppLayoutService {
16
- private static readonly AppDefaultLayoutInPublicListingSettingsKeyPrefix;
17
- private httpClient;
18
- private settingsService;
19
- createLayout: (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => Promise<AppInstanceLayoutCreationResponse>;
20
- createAlternateLayout: (appInstanceLayout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => Promise<AppInstanceAlternateLayoutCreationResponse>;
21
- deleteLayout: (layout: AppInstanceLayout) => Promise<void>;
22
- updateLayout: (layout: AppInstanceLayout) => Promise<AppInstanceLayout>;
23
- deleteAlternateLayout: (alternateLayout: AppInstanceAlternateLayout) => Promise<AppInstanceLayout>;
24
- getLayoutDefinitionLatestRef: (dataIdentifier: IVersionedDataIdentifier) => Promise<LatestReferenceResponse>;
25
- getLayoutDefinitionVersion: (version: IVersionReference) => Promise<IVersionedData<AppLayoutDefinition>>;
26
- getLayoutDefinitionVersionWithParentLayout: (version: IVersionReference, parentVersion: IVersionReference) => Promise<AppLayoutVersionedDataWithParentLayout>;
27
- publishLayoutDefinition: (versionedData: IVersionedData<AppLayoutDefinition>) => Promise<LayoutPublishingResponse>;
28
- updateLayoutDefinition: (versionedData: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<ICheckedoutVersionedData<AppLayoutDefinition>>;
29
- checkInLayoutDefinition: (versionedData: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>;
30
- checkOutLayoutDefinition: (dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => Promise<ICheckedoutVersionedData<AppLayoutDefinition>>;
31
- discardLayoutDefinition: (versionedData: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>;
32
- getLayoutByIdentifier: (identifier: IVersionedDataIdentifier) => Promise<AppInstanceLayout>;
33
- getLayoutById: (layoutId: number) => Promise<AppInstanceLayout>;
34
- getLayoutsByAppId: (appInstanceId: GuidValue) => Promise<AppInstanceLayout[]>;
35
- getLayoutVersionInformation: (dataIdentifier: IVersionedDataIdentifier) => Promise<IVersionInformation[]>;
36
- setDisplayBreakpointAlternateLayoutMapping: (appInstanceLayoutId: AppInstanceLayoutId, mapping: DisplayBreakpointAlternateLayoutMapping) => Promise<void>;
37
- getDefaultAppLayoutInPublicListing: (appInstanceId: GuidValue) => Promise<AppInstanceLayoutId>;
38
- setDefaultAppLayoutInPublicListing: (appInstanceLayoutId: AppInstanceLayoutId, appInstanceId: GuidValue) => Promise<void>;
39
- getDisplayBreakpointAlternateLayoutMappings: (...appInstanceLayoutIds: AppInstanceLayoutId[]) => Promise<{
40
- [appInstanceLayoutId: number]: DisplayBreakpointAlternateLayoutMapping;
41
- }>;
42
- updateAlternateLayout: (alternateLayout: AppInstanceAlternateLayout) => Promise<AppInstanceLayout>;
43
- validateLayoutUrl: (request: AppLayoutUrlValidationRequest) => Promise<boolean>;
44
- }
45
- export {};
@@ -1,65 +0,0 @@
1
- import { SubscriptionHandler } from "../core";
2
- import { AppInstanceAlternateLayout, AppInstanceLayout, AppInstanceLayoutId, AppLayoutDefinition, DisplayBreakpointAlternateLayoutMapping, GuidValue, ICheckedoutVersionedData, IVersionedData, IVersionedDataIdentifier, IVersionReference, LatestReferenceResponse, Layout } from "../models";
3
- import { Store } from "./Store";
4
- export declare class AppLayoutStore extends Store {
5
- private appLayoutService;
6
- private omniaContext;
7
- private internal;
8
- subscriptionHandler: SubscriptionHandler;
9
- getters: {
10
- getLayout: (appInstanceLayoutId: number) => AppInstanceLayout;
11
- getLayoutByIdentifer: (identifier: IVersionedDataIdentifier) => AppInstanceLayout;
12
- getLayoutDefinition: (version: IVersionReference) => IVersionedData<AppLayoutDefinition>;
13
- getLatestRef: (dataIdentifier: IVersionedDataIdentifier) => LatestReferenceResponse;
14
- getLayoutWithDefinition: <Definition extends AppLayoutDefinition>(appInstanceId: GuidValue, definition: new () => Definition) => AppInstanceLayout[];
15
- };
16
- private addOrUpdateDefinitions;
17
- private addOrUpdateLayouts;
18
- private addOrUpdateMappings;
19
- private removeLayous;
20
- private removeDefinitions;
21
- private replaceAllLayouts;
22
- actions: {
23
- ensureLoad: import("./Store").StoreAction<unknown, (appInstanceId: GuidValue) => void, (result: void, appInstanceId: GuidValue) => void, (failureReason: any, appInstanceId: GuidValue) => void, (appInstanceId: GuidValue) => Promise<void>>;
24
- ensureLoadLayoutDefinitionLatestRef: import("./Store").StoreAction<unknown, (dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (result: void, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (failureReason: any, dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => void, (dataIdentifier: IVersionedDataIdentifier, useCache?: unknown) => Promise<void>>;
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
- 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
- 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>>;
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>>;
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>>;
31
- create: import("./Store").StoreAction<unknown, (appInstanceId: GuidValue, definition: AppLayoutDefinition, urlSegment: string, parentLayoutId?: AppInstanceLayoutId) => void, (result: {
32
- appInstanceLayout: AppInstanceLayout;
33
- checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
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<{
35
- appInstanceLayout: AppInstanceLayout;
36
- checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
37
- }>>;
38
- createAlternate: import("./Store").StoreAction<unknown, (layout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => void, (result: {
39
- appInstanceLayout: AppInstanceLayout;
40
- appInstanceAlternateLayout: AppInstanceAlternateLayout;
41
- checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
42
- }, layout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => void, (failureReason: any, layout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => void, (layout: AppInstanceLayout, title: string, definition: AppLayoutDefinition) => Promise<{
43
- appInstanceLayout: AppInstanceLayout;
44
- appInstanceAlternateLayout: AppInstanceAlternateLayout;
45
- checkedOutVersionedData: IVersionedData<AppLayoutDefinition>;
46
- }>>;
47
- publishDefinition: import("./Store").StoreAction<unknown, (version: IVersionedData<AppLayoutDefinition>) => void, (result: IVersionedData<AppLayoutDefinition>, version: IVersionedData<AppLayoutDefinition>) => void, (failureReason: any, version: IVersionedData<AppLayoutDefinition>) => void, (version: IVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>>;
48
- updateDefinition: import("./Store").StoreAction<unknown, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (result: ICheckedoutVersionedData<AppLayoutDefinition>, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (failureReason: any, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<ICheckedoutVersionedData<AppLayoutDefinition>>>;
49
- checkOutDefinition: import("./Store").StoreAction<unknown, (dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => void, (result: ICheckedoutVersionedData<AppLayoutDefinition>, dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => void, (failureReason: any, dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => void, (dataIdentifier: IVersionedDataIdentifier, takeOver?: boolean) => Promise<ICheckedoutVersionedData<AppLayoutDefinition>>>;
50
- checkInDefinition: import("./Store").StoreAction<unknown, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (result: IVersionedData<AppLayoutDefinition>, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (failureReason: any, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>>;
51
- discardDefinition: import("./Store").StoreAction<unknown, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (result: IVersionedData<AppLayoutDefinition>, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (failureReason: any, version: ICheckedoutVersionedData<AppLayoutDefinition>) => void, (version: ICheckedoutVersionedData<AppLayoutDefinition>) => Promise<IVersionedData<AppLayoutDefinition>>>;
52
- delete: import("./Store").StoreAction<unknown, (layout: AppInstanceLayout) => void, (result: AppInstanceLayout, layout: AppInstanceLayout) => void, (failureReason: any, layout: AppInstanceLayout) => void, (layout: AppInstanceLayout) => Promise<AppInstanceLayout>>;
53
- deleteAlternate: import("./Store").StoreAction<unknown, (alternateLayout: AppInstanceAlternateLayout) => void, (result: AppInstanceLayout, alternateLayout: AppInstanceAlternateLayout) => void, (failureReason: any, alternateLayout: AppInstanceAlternateLayout) => void, (alternateLayout: AppInstanceAlternateLayout) => Promise<AppInstanceLayout>>;
54
- updateAlternateLayout: import("./Store").StoreAction<unknown, (alternateLayout: AppInstanceAlternateLayout) => void, (result: AppInstanceLayout, alternateLayout: AppInstanceAlternateLayout) => void, (failureReason: any, alternateLayout: AppInstanceAlternateLayout) => void, (alternateLayout: AppInstanceAlternateLayout) => Promise<AppInstanceLayout>>;
55
- updateLayout: import("./Store").StoreAction<unknown, (layout: AppInstanceLayout) => void, (result: AppInstanceLayout, layout: AppInstanceLayout) => void, (failureReason: any, layout: AppInstanceLayout) => void, (layout: AppInstanceLayout) => Promise<AppInstanceLayout>>;
56
- };
57
- private removeLatestRef;
58
- private removeLayoutFromAppRouteCache;
59
- private addOrUpdateLayoutIntoAppRouteCache;
60
- private addOrUpdateMappingIntoAppRouteCache;
61
- private loadDataFromContext;
62
- private getMergedVersionString;
63
- protected onActivated(): void;
64
- protected onDisposing(): void;
65
- }
@@ -1,9 +0,0 @@
1
- import { IAppLayoutDefinitionEditorTabRenderer } from "@omnia/fx/ux";
2
- import { AppLayoutDefinition } from "../../../../../models";
3
- export interface IAppLayoutSettingsComponentProps {
4
- definition: AppLayoutDefinition;
5
- isCheckedOutToMe: boolean;
6
- }
7
- export declare class AppLayoutSettingsTabRenderer implements IAppLayoutDefinitionEditorTabRenderer<AppLayoutDefinition> {
8
- getElement(definition: AppLayoutDefinition, isCheckedOutToMe: boolean): JSX.Element;
9
- }
@@ -1,15 +0,0 @@
1
- import { AppLayoutBladeSettings, AppNamingPolicyBladeSettings, AppTemplateBladeSettings, IAppBladeBuilderInstance, IAppBladeConfig } from "../shareds";
2
- import { AppInstanceBladeSettings } from "../shareds/IAppInstanceBladeBuilder";
3
- export declare class AppBladeConfig implements IAppBladeConfig {
4
- private appBuilder;
5
- constructor(appBuilder: IAppBladeBuilderInstance);
6
- appLayoutBladeSettings: AppLayoutBladeSettings;
7
- appInstanceBladeSettings: AppInstanceBladeSettings;
8
- appTemplateBladeSettings: AppTemplateBladeSettings;
9
- appNamingPolicyBladeSettings: AppNamingPolicyBladeSettings;
10
- done(): IAppBladeBuilderInstance;
11
- addAppTemplateBlade(settings: AppTemplateBladeSettings): this;
12
- addAppLayoutBlade(settings: AppLayoutBladeSettings): this;
13
- addAppInstanceListingBlade(settings: AppInstanceBladeSettings): this;
14
- addNamingPolicyBlade(settings: AppNamingPolicyBladeSettings): this;
15
- }
@@ -1,35 +0,0 @@
1
- export declare const AppInstanceListColumn: {
2
- Title: string;
3
- AppAdministrator: string;
4
- AppTemplateId: string;
5
- CreatedAt: string;
6
- CreatedBy: string;
7
- LastActivity: string;
8
- };
9
- export declare const LastActivityPeriod: number;
10
- export declare const AppTemplateBladeIds: {
11
- general: string;
12
- properties: string;
13
- features: string;
14
- customSteps: string;
15
- templateDetail: string;
16
- policies: string;
17
- };
18
- export declare const AppInstanceBladeIds: {
19
- home: string;
20
- edit: string;
21
- appProvisioning: string;
22
- permission: string;
23
- routePath: string;
24
- features: string;
25
- delete: string;
26
- attach: string;
27
- };
28
- export declare const AppBuilderBladeIds: {
29
- appList: string;
30
- appLayoutBuilder: string;
31
- appLayoutAlias: string;
32
- appLayoutList: string;
33
- appTemplate: string;
34
- appNamingPolicy: string;
35
- };
@@ -1,2 +0,0 @@
1
- export * from "./AppBladeConfig";
2
- export * from "./Constants";
@@ -1 +0,0 @@
1
- export * from "./shareds";
@@ -1,8 +0,0 @@
1
- import { GuidValue, IIcon, JourneyInstance } from "@omnia/fx/models";
2
- export interface AppBladeBuilderMenuItem {
3
- id: GuidValue;
4
- icon: IIcon;
5
- title: string;
6
- onClick: (item: AppBladeBuilderMenuItem, journey: JourneyInstance) => void;
7
- order?: number;
8
- }
@@ -1,30 +0,0 @@
1
- import { JourneyInstance } from "@omnia/fx-models";
2
- import { AppBladeBuilderMenuItem, AppLayoutBladeSettings, AppNamingPolicyBladeSettings, AppTemplateBladeSettings, TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- import { AppInstanceBladeSettings } from "./IAppInstanceBladeBuilder";
4
- export interface IAppBladeConfig {
5
- addAppInstanceListingBlade: (settings: AppInstanceBladeSettings) => IAppBladeConfig;
6
- addAppTemplateBlade: (settings: AppTemplateBladeSettings) => IAppBladeConfig;
7
- addAppLayoutBlade: (settings: AppLayoutBladeSettings) => IAppBladeConfig;
8
- addNamingPolicyBlade: (settings: AppNamingPolicyBladeSettings) => IAppBladeConfig;
9
- }
10
- export interface IAppBladeBuilderInstance {
11
- addMenuItems: (items: AppBladeBuilderMenuItem | AppBladeBuilderMenuItem[]) => IAppBladeBuilderInstance;
12
- configure: () => IAppBladeConfig;
13
- }
14
- export interface IAppBladeBuilder {
15
- getApi: (instance: IAppBladeBuilderInstance) => void | Promise<void>;
16
- journey: () => JourneyInstance;
17
- }
18
- declare global {
19
- namespace VueTsxSupport.JSX {
20
- interface Element {
21
- }
22
- interface ElementClass {
23
- }
24
- interface ElementAttributesProperty {
25
- }
26
- interface IntrinsicElements {
27
- "omfx-app-blade-builder": TsxAllowUnknowProperties<IAppBladeBuilder>;
28
- }
29
- }
30
- }
@@ -1,36 +0,0 @@
1
- import { AppInstance, GuidValue, JourneyInstance, RolePermissionSetting } from "@omnia/fx-models";
2
- import { TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- export interface AppInstanceBladeRouteSettings {
4
- editable: boolean;
5
- routePrefix: string;
6
- }
7
- export interface InactiveTabSettings {
8
- active: boolean;
9
- appendElement?: (callbackFunction: () => void) => JSX.Element;
10
- }
11
- export interface AppInstanceBladeSettings {
12
- appDefinitionId: GuidValue;
13
- editBlade: (appInstance: AppInstance, handleClose: () => void) => JSX.Element;
14
- activeOrphanedTab?: boolean;
15
- activeInactiveTab?: InactiveTabSettings;
16
- onPermissionsUpdated?: (rolePermissionSetting: RolePermissionSetting[], appInstance: AppInstance) => Promise<void>;
17
- attachSiteBlade?: (handleClose: () => void, handleAppInstanceInit: (appInstance: AppInstance) => void) => JSX.Element;
18
- routeSettings?: AppInstanceBladeRouteSettings;
19
- }
20
- export interface IAppLayoutBladeBuilder {
21
- journey: () => JourneyInstance;
22
- settings: AppInstanceBladeSettings;
23
- }
24
- declare global {
25
- namespace VueTsxSupport.JSX {
26
- interface Element {
27
- }
28
- interface ElementClass {
29
- }
30
- interface ElementAttributesProperty {
31
- }
32
- interface IntrinsicElements {
33
- "omfx-app-instance-blade-builder": TsxAllowUnknowProperties<IAppLayoutBladeBuilder>;
34
- }
35
- }
36
- }
@@ -1,28 +0,0 @@
1
- import { AppInstanceLayout, AppLayoutDefinition, GuidValue, JourneyInstance } from "@omnia/fx-models";
2
- import { AppLayoutDefinitionEditorItem, AppLayoutEditorApi, TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- export interface AppLayoutBladeSettings<T extends AppLayoutDefinition = AppLayoutDefinition> {
4
- layoutDefinition: new () => T;
5
- appInstanceId: GuidValue;
6
- onBeforeCreate?: (layout: AppLayoutDefinition) => AppLayoutDefinition | Promise<AppLayoutDefinition>;
7
- enableAlias?: boolean;
8
- setAppLayoutDefinitionEditorItem?: (api: AppLayoutEditorApi, layout: AppInstanceLayout) => Promise<AppLayoutDefinitionEditorItem>;
9
- enableBlockLockSettings?: boolean;
10
- }
11
- export interface IAppLayoutBladeBuilder {
12
- journey: () => JourneyInstance;
13
- settings: AppLayoutBladeSettings;
14
- selectedLayout: AppInstanceLayout;
15
- }
16
- declare global {
17
- namespace VueTsxSupport.JSX {
18
- interface Element {
19
- }
20
- interface ElementClass {
21
- }
22
- interface ElementAttributesProperty {
23
- }
24
- interface IntrinsicElements {
25
- "omfx-app-layout-blade-builder": TsxAllowUnknowProperties<IAppLayoutBladeBuilder>;
26
- }
27
- }
28
- }
@@ -1,20 +0,0 @@
1
- import { JourneyInstance } from "@omnia/fx-models";
2
- import { AppLayoutBladeSettings, TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- export interface IAppLayoutListBladeBuilder {
4
- settings: AppLayoutBladeSettings;
5
- bladeTitle?: string;
6
- journey: () => JourneyInstance;
7
- }
8
- declare global {
9
- namespace VueTsxSupport.JSX {
10
- interface Element {
11
- }
12
- interface ElementClass {
13
- }
14
- interface ElementAttributesProperty {
15
- }
16
- interface IntrinsicElements {
17
- "omfx-app-layout-list-blade-builder": TsxAllowUnknowProperties<IAppLayoutListBladeBuilder>;
18
- }
19
- }
20
- }
@@ -1,22 +0,0 @@
1
- import { GuidValue, JourneyInstance } from "@omnia/fx-models";
2
- import { TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- export interface AppNamingPolicyBladeSettings {
4
- appDefinitionId: GuidValue;
5
- }
6
- export interface IAppNamingPolicyBladeBuilder {
7
- journey: () => JourneyInstance;
8
- settings: AppNamingPolicyBladeSettings;
9
- }
10
- declare global {
11
- namespace VueTsxSupport.JSX {
12
- interface Element {
13
- }
14
- interface ElementClass {
15
- }
16
- interface ElementAttributesProperty {
17
- }
18
- interface IntrinsicElements {
19
- "omfx-app-naming-policy-blade-builder": TsxAllowUnknowProperties<IAppNamingPolicyBladeBuilder>;
20
- }
21
- }
22
- }
@@ -1,40 +0,0 @@
1
- import { AppTemplate, GuidValue, JourneyInstance } from "@omnia/fx-models";
2
- import { AppBladeBuilderMenuItem, TsxAllowUnknowProperties } from "@omnia/fx/ux";
3
- import { VueComponentBase } from "../../../VueComponentBase";
4
- interface ValidationResult {
5
- isValid: boolean;
6
- message: string;
7
- }
8
- interface TemplatePoliciesConfiguration {
9
- enable: boolean;
10
- enableNamingPolicy?: boolean;
11
- appendElement?: (template: AppTemplate, parentComponentRef: VueComponentBase<any>) => JSX.Element;
12
- }
13
- export interface AppTemplateBladeSettings {
14
- appDefinitionId: GuidValue;
15
- appendMenuItems?: AppBladeBuilderMenuItem[];
16
- policies?: TemplatePoliciesConfiguration;
17
- validator?: (template: AppTemplate) => Promise<ValidationResult>;
18
- gerneralMenuItem?: {
19
- prependElement?: (template: AppTemplate, parentComponentRef: VueComponentBase<any>) => JSX.Element;
20
- };
21
- beforeCreate?: <T extends AppTemplate = AppTemplate>(template: T) => void;
22
- }
23
- export interface IAppTemplateBladeBuilder {
24
- journey: () => JourneyInstance;
25
- settings: AppTemplateBladeSettings;
26
- }
27
- declare global {
28
- namespace VueTsxSupport.JSX {
29
- interface Element {
30
- }
31
- interface ElementClass {
32
- }
33
- interface ElementAttributesProperty {
34
- }
35
- interface IntrinsicElements {
36
- "omfx-app-template-blade-builder": TsxAllowUnknowProperties<IAppTemplateBladeBuilder>;
37
- }
38
- }
39
- }
40
- export {};
@@ -1,6 +0,0 @@
1
- export * from "./IAppBladeBuilder";
2
- export * from "./IAppTemplateBladeBuilder";
3
- export * from "./IAppLayoutBladeBuilder";
4
- export * from "./AppBladeBuilderMenuItem";
5
- export * from "./IAppNamingPolicyBladeBuilder";
6
- export * from "./IAppLayoutListBladeBuilder";
@@ -1,21 +0,0 @@
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
- }
@@ -1 +0,0 @@
1
- export * from "./IAppLayoutController";
@@ -1,23 +0,0 @@
1
- import { ThemeDefinition } from "@omnia/fx-models";
2
- import { AppLayoutDefinitionEditorItem } from "./AppLayoutDefinitionEditorItem";
3
- import { AppLayoutEditorApi } from "./IAppLayoutEditor";
4
- export interface AppLayoutDefinitionEditorItemConfiguration {
5
- title?: string;
6
- appInstanceLayoutId: number;
7
- api: AppLayoutEditorApi;
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 AppLayoutDefinitionEditorItemFactory {
17
- private layoutStore;
18
- private omniaContext;
19
- private multilingualStore;
20
- private permissionService;
21
- private appStore;
22
- createEditorItem(configuration: AppLayoutDefinitionEditorItemConfiguration): Promise<AppLayoutDefinitionEditorItem>;
23
- }
@@ -1,4 +0,0 @@
1
- import { AppLayoutDefinition } from "@omnia/fx-models";
2
- export interface IAppLayoutDefinitionEditorTabRenderer<Type extends AppLayoutDefinition = AppLayoutDefinition> {
3
- getElement: (definition: Type, isCheckedOutToMe: boolean) => JSX.Element;
4
- }