@omnia/fx 7.0.349-dev → 7.0.350-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItem.d.ts +24 -16
- package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItemFactory.d.ts +13 -1
- package/internal-do-not-import-from-here/ux/models/AnimatedGifStyles.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/richtexteditor/extensions/AnimatedGif/AnimatedGifToolbar.d.ts +3 -0
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/applayout/editor/AppLayoutDefinitionEditorItem.d.ts
CHANGED
|
@@ -8,36 +8,44 @@ 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 {
|
|
12
|
+
readonly multilingualStore: MultilingualStore;
|
|
13
|
+
readonly editorChromeStore: EditorChromeStore;
|
|
14
|
+
readonly appLayoutEditorStore: AppLayoutEditorStore;
|
|
15
|
+
readonly layoutStore: AppLayoutStore;
|
|
16
|
+
readonly layoutThemeDefinition: ThemeDefinition;
|
|
17
|
+
readonly blockThemeDefinition: ThemeDefinition;
|
|
18
|
+
readonly enableAlternateLayouts: boolean;
|
|
19
|
+
readonly enableBlockLockSettings: boolean;
|
|
20
|
+
readonly hideDeleteButton: boolean;
|
|
21
|
+
readonly hideBreakpointPreview: boolean;
|
|
22
|
+
readonly hasEditPermission: boolean;
|
|
23
|
+
readonly currentIdentity: string;
|
|
24
|
+
readonly parentAppInstanceLayout: AppInstanceLayout;
|
|
25
|
+
}
|
|
26
|
+
export declare class AppLayoutDefinitionEditorItemState {
|
|
27
|
+
appInstanceLayout: AppInstanceLayout;
|
|
28
|
+
versionedData: IVersionedData<AppLayoutDefinition>;
|
|
29
|
+
layout: Layout;
|
|
30
|
+
title: string;
|
|
31
|
+
}
|
|
11
32
|
export declare class AppLayoutDefinitionEditorItem implements IEditorItem {
|
|
33
|
+
private immutableState;
|
|
34
|
+
state: AppLayoutDefinitionEditorItemState;
|
|
12
35
|
loc: OmniaUxLocalization;
|
|
13
36
|
settings: {
|
|
14
37
|
defaultDisplayMode: EditorDisplayModes;
|
|
15
38
|
};
|
|
16
39
|
tabs: IEditorTabRegistration[];
|
|
17
40
|
title: string | JSX.Element | JSX.Element[];
|
|
18
|
-
readonly appInstanceLayout: AppInstanceLayout;
|
|
19
|
-
readonly parentAppInstanceLayout: AppInstanceLayout;
|
|
20
|
-
readonly versionedData: IVersionedData<AppLayoutDefinition>;
|
|
21
|
-
private appLayoutEditorStore;
|
|
22
|
-
private editorChromeStore;
|
|
23
|
-
private layoutStore;
|
|
24
|
-
private multilingualStore;
|
|
25
41
|
private isCheckedOut;
|
|
26
42
|
private isCheckedOutToMe;
|
|
27
|
-
private currentIdentity;
|
|
28
43
|
private layoutEditorCanvasApi;
|
|
29
44
|
private extendedtabRenderer;
|
|
30
45
|
private extendedRightItemExtendButtons;
|
|
31
|
-
private layoutThemeDefinition;
|
|
32
|
-
private blockThemeDefinition;
|
|
33
|
-
private enableAlternateLayouts;
|
|
34
|
-
private enableBlockLockSettings;
|
|
35
46
|
private isDefaultLayout;
|
|
36
|
-
private undeletable;
|
|
37
|
-
private disableBreakpointView;
|
|
38
|
-
private hasPermission;
|
|
39
47
|
panelsRenderer: PanelRenderer;
|
|
40
|
-
constructor(
|
|
48
|
+
constructor(immutableState: AppLayoutDefinitionEditorItemPrivateImutableState, state: AppLayoutDefinitionEditorItemState);
|
|
41
49
|
private createDesignAndPreviewButton;
|
|
42
50
|
addRightItemExtendButton(actionButton: IActionButton): void;
|
|
43
51
|
addTabRenderer(tabId: GuidValue, tabName: string, tabRenderer: IAppLayoutDefinitionEditorTabRenderer): void;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { ThemeDefinition } from "@omnia/fx-models";
|
|
2
2
|
import { AppLayoutDefinitionEditorItem } from "./AppLayoutDefinitionEditorItem";
|
|
3
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
|
+
}
|
|
4
16
|
export declare class AppLayoutDefinitionEditorItemFactory {
|
|
5
17
|
private layoutStore;
|
|
6
18
|
private omniaContext;
|
|
7
19
|
private multilingualStore;
|
|
8
20
|
private permissionService;
|
|
9
21
|
private appStore;
|
|
10
|
-
createEditorItem(
|
|
22
|
+
createEditorItem(configuration: AppLayoutDefinitionEditorItemConfiguration): Promise<AppLayoutDefinitionEditorItem>;
|
|
11
23
|
}
|
|
@@ -8,11 +8,14 @@ export default class AnimatedGifToolbar extends ToolbarExtension implements Anim
|
|
|
8
8
|
onContentChanged?: (content: string) => void;
|
|
9
9
|
omniaTheming: OmniaTheming;
|
|
10
10
|
private loc;
|
|
11
|
+
private omniaUxLoc;
|
|
11
12
|
private showAnimatedGifs;
|
|
12
13
|
private keyword;
|
|
13
14
|
private maxHeight;
|
|
14
15
|
private maxWidth;
|
|
15
16
|
private animatedGifClasses;
|
|
17
|
+
omniaUrl: string;
|
|
18
|
+
created(): void;
|
|
16
19
|
mounted(): void;
|
|
17
20
|
private onCloseAnimatedGifs;
|
|
18
21
|
private getEditorState;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.350-dev",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.0.
|
|
23
|
+
"@omnia/fx-models": "7.0.350-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|