@omnia/fx 7.9.72-preview → 7.9.73-preview
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/headingconfigurations/HeadingConfigurationFactory.d.ts +2 -1
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/block/Header.d.ts +4 -9
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts +4 -7
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts +3 -7
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/headingconfigurations/HeadingConfigurationFactory.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HeadingConfiguration, HeadingStyleConfiguration } from "@omnia/fx-models";
|
|
1
|
+
import { HeadingConfiguration, HeadingStyleConfiguration, HeaderLevel } from "@omnia/fx-models";
|
|
2
2
|
export declare const HeadingConfigurationFactory: {
|
|
3
3
|
create(): Array<HeadingConfiguration>;
|
|
4
4
|
createInitial(): HeadingConfiguration;
|
|
5
5
|
createDefaultHeadingStyle(): HeadingStyleConfiguration;
|
|
6
6
|
getHeadingStyle(heading: HeadingConfiguration, useImportant?: boolean): any;
|
|
7
|
+
getHeaderLevels(): Array<HeaderLevel>;
|
|
7
8
|
};
|
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
import { BlockInstance } from "../../../..";
|
|
2
|
-
import { HeadingSettings } from "../../../../../models";
|
|
3
2
|
import { LayoutCanvasStore } from "../../..";
|
|
4
3
|
import { VueComponentBase } from "../../../..";
|
|
5
|
-
import { BlockTitleSettingsStore
|
|
4
|
+
import { BlockTitleSettingsStore } from "../../../../../stores";
|
|
6
5
|
import { OmniaSpfxSettingsProvider } from "internal/fx/spfx/services/SpfxWPSettingProvider";
|
|
7
|
-
import { SettingsService } from "../../../../../services";
|
|
8
6
|
export default class HeaderItem extends VueComponentBase {
|
|
9
7
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
10
8
|
editorStore: LayoutCanvasStore;
|
|
11
9
|
blockInstance: BlockInstance;
|
|
12
10
|
private omniaUxLoc;
|
|
13
11
|
spfxSettingsService: OmniaSpfxSettingsProvider;
|
|
14
|
-
|
|
15
|
-
multilingualStore: MultilingualStore;
|
|
12
|
+
private localizationService;
|
|
16
13
|
private item;
|
|
17
14
|
private settings;
|
|
18
15
|
private model;
|
|
19
|
-
private
|
|
16
|
+
private headerLevels;
|
|
20
17
|
mounted(): void;
|
|
21
|
-
created():
|
|
22
|
-
private loadTextStylesSettings;
|
|
18
|
+
created(): void;
|
|
23
19
|
private headerValueChanged;
|
|
24
20
|
private onIconValueChanged;
|
|
25
21
|
private onHeaderLevelValueChanged;
|
|
26
22
|
private updateSpfxSettings;
|
|
27
|
-
private createHeadingItem;
|
|
28
23
|
render(): VueTsxSupport.JSX.Element;
|
|
29
24
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/blocktitle/BlockTitle.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { VueComponentBase } from "../../../..";
|
|
2
2
|
import { IWebComponentInstance } from "../../../../..";
|
|
3
|
-
import {
|
|
3
|
+
import { HeaderLevel, MultilingualString, TextAlignment } from "../../../../../models";
|
|
4
4
|
import { BlockTitleSettingsStore, DirectionRuleStore, MultilingualStore } from "../../../../../stores";
|
|
5
5
|
import { IBlockTitleComponent } from "./IBlockTitle";
|
|
6
6
|
import { BlockInstance } from "../../../../BlockInstance";
|
|
7
|
-
import { SettingsService } from "../../../../../services";
|
|
8
7
|
export declare class BlockTitleComponent extends VueComponentBase implements IWebComponentInstance, IBlockTitleComponent {
|
|
9
8
|
title: string;
|
|
10
9
|
multilingualtitle: string | MultilingualString;
|
|
@@ -15,17 +14,15 @@ export declare class BlockTitleComponent extends VueComponentBase implements IWe
|
|
|
15
14
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
16
15
|
blockInstance: BlockInstance;
|
|
17
16
|
directionStore: DirectionRuleStore;
|
|
18
|
-
headingSettingsService: SettingsService<HeadingSettings>;
|
|
19
17
|
private model;
|
|
20
|
-
private
|
|
21
|
-
mounted():
|
|
18
|
+
private headerLevels;
|
|
19
|
+
mounted(): void;
|
|
22
20
|
onSectionUpdated(): void;
|
|
23
|
-
private loadTextStylesSettings;
|
|
24
21
|
getFormatedTitleStringValue(title: string): string;
|
|
25
22
|
getFormattedTitleString(): string;
|
|
26
23
|
getTextAlignment(): TextAlignment;
|
|
27
24
|
renderBlockIcon(title: string): VueTsxSupport.JSX.Element;
|
|
28
25
|
renderTitle(title: string): VueTsxSupport.JSX.Element;
|
|
29
|
-
renderTitleWithHeaderLevel(heading:
|
|
26
|
+
renderTitleWithHeaderLevel(heading: HeaderLevel, title: string): import("vue").VNode;
|
|
30
27
|
render(): VueTsxSupport.JSX.Element;
|
|
31
28
|
}
|
package/internal-do-not-import-from-here/ux/layoutcanvas/editor/settings/section/Header.d.ts
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import { HeadingSettings } from "@omnia/fx/models";
|
|
2
1
|
import { LayoutCanvasStore } from "../../..";
|
|
3
2
|
import { BlockTitleSettingsStore, MultilingualStore } from "@omnia/fx/stores";
|
|
4
3
|
import { VueComponentBase } from "@omnia/fx/ux";
|
|
5
|
-
import { SettingsService } from "../../../../../services";
|
|
6
4
|
export default class HeaderSectionItem extends VueComponentBase {
|
|
7
5
|
editorStore: LayoutCanvasStore;
|
|
8
6
|
private subscriptionHandler;
|
|
9
7
|
multilingualStore: MultilingualStore;
|
|
10
8
|
blockTitleSettingsStore: BlockTitleSettingsStore;
|
|
11
|
-
|
|
9
|
+
private localizationService;
|
|
12
10
|
private omniaUxLoc;
|
|
13
11
|
private section;
|
|
14
12
|
private model;
|
|
15
|
-
private
|
|
13
|
+
private headerLevels;
|
|
16
14
|
mounted(): void;
|
|
17
|
-
created():
|
|
18
|
-
private loadTextStylesSettings;
|
|
15
|
+
created(): void;
|
|
19
16
|
/**
|
|
20
17
|
* Watch for section changes
|
|
21
18
|
* */
|
|
@@ -23,6 +20,5 @@ export default class HeaderSectionItem extends VueComponentBase {
|
|
|
23
20
|
private onIconValueChanged;
|
|
24
21
|
private onHeaderLevelValueChanged;
|
|
25
22
|
private onHeaderValueChanged;
|
|
26
|
-
private createHeadingItem;
|
|
27
23
|
render(): VueTsxSupport.JSX.Element;
|
|
28
24
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.9.
|
|
4
|
+
"version": "7.9.73-preview",
|
|
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": "Omnia Digital Workplace AB",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.9.
|
|
23
|
+
"@omnia/fx-models": "7.9.73-preview",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|