@omnia/fx 7.0.349-dev → 7.0.351-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.
@@ -642,7 +642,7 @@ export interface OmniaUxLocalization {
642
642
  Dialog: {
643
643
  ClearAll: string;
644
644
  ShowResult: string;
645
- DefaultHeader: string;
645
+ Title: string;
646
646
  };
647
647
  };
648
648
  };
@@ -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(multilingualStore: MultilingualStore, editorChromeStore: EditorChromeStore, appLayoutEditorStore: AppLayoutEditorStore, layoutStore: AppLayoutStore, appInstanceLayout: AppInstanceLayout, parentAppInstanceLayout: AppInstanceLayout, versionedData: IVersionedData<AppLayoutDefinition>, layout: Layout, currentIdentity: string, layoutThemeDefinition: ThemeDefinition, blockThemeDefinition: ThemeDefinition, enableAlternateLayouts: boolean, title: string, enableBlockLockSettings: boolean, undeletable: boolean, disableBreakpointView: boolean, hasPermission: boolean);
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(appInstanceLayoutId: number, api: AppLayoutEditorApi, layoutThemeDefinition?: ThemeDefinition, blockThemeDefinition?: ThemeDefinition, enableAlternateLayouts?: boolean, title?: any, enableBlockLockSettings?: boolean, undeletable?: boolean, disableBreakpointsView?: boolean, allowProfileAdminToEdit?: boolean): Promise<AppLayoutDefinitionEditorItem>;
22
+ createEditorItem(configuration: AppLayoutDefinitionEditorItemConfiguration): Promise<AppLayoutDefinitionEditorItem>;
11
23
  }
@@ -18,6 +18,8 @@ export interface IdentitiesLocalization {
18
18
  UserIcon: string;
19
19
  SystemEmail: string;
20
20
  SystemMobile: string;
21
+ PreferredLanguage: string;
22
+ IsExternal: string;
21
23
  };
22
24
  };
23
25
  }
@@ -1,4 +1,5 @@
1
1
  import { types } from "typestyle";
2
2
  export declare const AnimatedGifStyles: {
3
3
  mediaGifContent?: types.NestedCSSProperties;
4
+ giphyLogo?: types.NestedCSSProperties;
4
5
  };
@@ -1,5 +1,5 @@
1
1
  import { PostPermission } from "../IPost";
2
- import { IPersistedPost, IPostBaseContext, IPostBaseWithContext, ResolvedUserIdentity } from "@omnia/fx-models";
2
+ import { type IPersistedPost, IPostBaseContext, IPostBaseWithContext, ResolvedUserIdentity } from "@omnia/fx-models";
3
3
  import { VueComponentBase, VueComponentBaseProps, ITheming } from "@omnia/fx/ux";
4
4
  import { MediaPickerService } from "@omnia/fx/services";
5
5
  interface PostCardDisplayProps {
@@ -1,6 +1,6 @@
1
- import { IPostCustomSlots, PostPermission, ThemeStore, Theming, VueComponentBase } from "../..";
1
+ import { type IPostCustomSlots, PostPermission, ThemeStore, Theming, VueComponentBase } from "../..";
2
2
  import { IWebComponentInstance, OmniaContext } from "../../..";
3
- import { IPersistedPost, IPostBaseContext, IPostBaseWithContext, OmitProperties, ReactionType, ResolvedUserIdentity, ThemeDefinition } from "../../../models";
3
+ import { type IPersistedPost, IPostBaseContext, IPostBaseWithContext, type OmitProperties, ReactionType, ResolvedUserIdentity, type ThemeDefinition } from "../../../models";
4
4
  import { IRichTextEditor } from "../../richtexteditor";
5
5
  import { ILikeService, UserIdentityStore } from "@omnia/fx/stores";
6
6
  export declare class PostTemplate extends VueComponentBase<{}, {}, {}> implements IWebComponentInstance {
@@ -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;
@@ -2,7 +2,7 @@ import { IWebComponentInstance, SubscriptionHandler } from "../..";
2
2
  import { ReactionType, ResolvedUserIdentity, UserIdentity, ISocialReactionStyling, ISocialReaction } from "../../models";
3
3
  import { ILikeComponent } from "./ILike";
4
4
  import { CommentLocalization } from "./loc/localize";
5
- import { CommentLikeStore, ICommentLikeService } from "../../stores";
5
+ import { CommentLikeStore, type ICommentLikeService } from "../../stores";
6
6
  import { OmniaContext } from "../../contexts";
7
7
  import "./Like.css";
8
8
  import { LikeStyles } from "../models";
@@ -1,7 +1,7 @@
1
1
  import { IWebComponentInstance } from "../../..";
2
2
  import { CommentLikeStore, ICommentLikeService } from "../../../stores";
3
3
  import { OmniaContext } from "../../..";
4
- import { Comment, CommentLikeTemplateSettings, ThemeDefinition, ResolvedUserIdentity } from "../../../models";
4
+ import { type Comment, type CommentLikeTemplateSettings, type ThemeDefinition, ResolvedUserIdentity } from "../../../models";
5
5
  import { ICommentTemplate } from "../extensibilities/ICommentTemplate";
6
6
  import { Theming, ThemeStore, VueComponentBase } from "../..";
7
7
  export interface CommentLikeTemplateDynamicInput {
@@ -1,5 +1,5 @@
1
1
  import { IWebComponentInstance, OmniaContext } from "../../..";
2
- import { ISocialReaction, ISocialReactionStyling, ReactionType, ResolvedUserIdentity } from "../../../models";
2
+ import { ISocialReaction, type ISocialReactionStyling, ReactionType, ResolvedUserIdentity } from "../../../models";
3
3
  import { ThemeStore, Theming, VueComponentBase } from "../..";
4
4
  import { ILikeListingTemplateComponent } from "./ILikeListingTemplate";
5
5
  import "../Like.css";
@@ -5,6 +5,8 @@ export declare module UserPropertyProviderLocalization {
5
5
  DisplayName: string;
6
6
  SystemEmail: string;
7
7
  SystemMobile: string;
8
+ PreferredLanguage: string;
9
+ IsExternal: string;
8
10
  };
9
11
  UserPropertiesProvider: {
10
12
  Name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.0.349-dev",
4
+ "version": "7.0.351-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.349-dev",
23
+ "@omnia/fx-models": "7.0.351-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",