@omnia/fx-models 8.0.270-dev → 8.0.272-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/BlockTitleSettings.d.ts +17 -16
- package/Constants.d.ts +2 -0
- package/Constants.js +2 -0
- package/Exposes.d.ts +2 -0
- package/Exposes.js +2 -0
- package/Layout.d.ts +5 -3
- package/TitleRenderer.d.ts +6 -0
- package/TitleRenderer.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronDefinition.d.ts +1 -1
- package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +5 -4
- package/package.json +1 -1
- package/ux/LinkItemHandlerApi.d.ts +17 -0
- package/ux/LinkItemHandlerApi.js +2 -0
- package/ux/LinkPickerApi.d.ts +17 -0
- package/ux/LinkPickerApi.js +2 -0
- package/ux/index.d.ts +2 -0
- package/ux/index.js +2 -0
package/BlockTitleSettings.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TextAlignment, BorderPositions, IconPositions, IconSizes } from "./Enums";
|
2
2
|
import { IIcon } from "./Icon";
|
3
|
-
import { Spacing } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
3
|
+
import { Spacing, VelcronRendererResolverReference } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
4
4
|
import { BusinessProfileProperty } from "./BusinessProfile";
|
5
5
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
6
6
|
export declare class BusinessProfileBlockTitleSettings extends BusinessProfileProperty implements BlockTitleSettings {
|
7
7
|
constructor();
|
8
|
+
viewTemplate: VelcronRendererResolverReference;
|
8
9
|
bgColor: string;
|
9
10
|
textColor: string;
|
10
11
|
textAlign: TextAlignment;
|
@@ -33,19 +34,19 @@ export interface BlockTitleIconSettings {
|
|
33
34
|
spacing: Spacing;
|
34
35
|
}
|
35
36
|
export interface BlockTitleSettings {
|
36
|
-
bgColor
|
37
|
-
textColor
|
38
|
-
textAlign
|
39
|
-
paddingRight
|
40
|
-
paddingLeft
|
41
|
-
paddingTop
|
42
|
-
paddingBottom
|
43
|
-
fontSize
|
44
|
-
separatorSize
|
45
|
-
separatorColor
|
46
|
-
separatorPosition
|
47
|
-
iconSettings
|
48
|
-
borderRadius
|
49
|
-
followTheming
|
50
|
-
shapeDivider
|
37
|
+
bgColor?: string;
|
38
|
+
textColor?: string;
|
39
|
+
textAlign?: TextAlignment;
|
40
|
+
paddingRight?: number | any;
|
41
|
+
paddingLeft?: number | any;
|
42
|
+
paddingTop?: number | any;
|
43
|
+
paddingBottom?: number | any;
|
44
|
+
fontSize?: number;
|
45
|
+
separatorSize?: number;
|
46
|
+
separatorColor?: string;
|
47
|
+
separatorPosition?: BorderPositions;
|
48
|
+
iconSettings?: BlockTitleIconSettings;
|
49
|
+
borderRadius?: number;
|
50
|
+
followTheming?: boolean;
|
51
|
+
shapeDivider?: ShapeDividerSettings;
|
51
52
|
}
|
package/Constants.d.ts
CHANGED
package/Constants.js
CHANGED
@@ -24,10 +24,12 @@ exports.Constants = {
|
|
24
24
|
flow: {
|
25
25
|
plugins: {
|
26
26
|
text: (0, models_1.guid)("a9edb1ed-9e97-4c1b-a3ec-9f66d1a97ff9"),
|
27
|
+
textAlignment: (0, models_1.guid)("9729a6d1-7219-4a2e-b306-bfe1a3ad40e5"),
|
27
28
|
element: (0, models_1.guid)("32d51673-2a5a-4159-83c4-2c7960da8856"),
|
28
29
|
bold: (0, models_1.guid)("678ed68f-db27-444a-bc06-f86f8e6c86dc"),
|
29
30
|
italic: (0, models_1.guid)("4d6a3d2b-41c1-484a-ad4d-fe566c8be86e"),
|
30
31
|
color: (0, models_1.guid)("5b6dd221-0d30-4405-95c3-ca637f69d8ca"),
|
32
|
+
spacing: (0, models_1.guid)("c8acf700-23be-4ad2-80fa-ee462cff807e"),
|
31
33
|
typography: (0, models_1.guid)("cfc8e261-fe4b-4449-ab9a-19dfe0293ced"),
|
32
34
|
velcron: (0, models_1.guid)("7c254dea-a4fc-486c-9189-618663e657a2"),
|
33
35
|
source: (0, models_1.guid)("9a0e6adc-5102-4628-ab10-e97391a77668"),
|
package/Exposes.d.ts
CHANGED
@@ -68,6 +68,7 @@ export * from "./PropertiesBlockStyles";
|
|
68
68
|
export * from "./PropertyArchive";
|
69
69
|
export * from "./QueryFilter";
|
70
70
|
export * from "./QueryablePropertyMessage";
|
71
|
+
export * from "./BlockTitleSettings";
|
71
72
|
export * from "./Queue";
|
72
73
|
export * from "./RichTextEditorExtension";
|
73
74
|
export * from "./RollupMetricSettings";
|
@@ -93,6 +94,7 @@ export * from "./Theming";
|
|
93
94
|
export * from "./ThemingMenuNode";
|
94
95
|
export * from "./TimePeriodSettings";
|
95
96
|
export * from "./TimeZone";
|
97
|
+
export * from "./TitleRenderer";
|
96
98
|
export * from "./Token";
|
97
99
|
export * from "./TokenDefinition";
|
98
100
|
export * from "./Translation";
|
package/Exposes.js
CHANGED
@@ -74,6 +74,7 @@ tslib_1.__exportStar(require("./PropertiesBlockStyles"), exports);
|
|
74
74
|
tslib_1.__exportStar(require("./PropertyArchive"), exports);
|
75
75
|
tslib_1.__exportStar(require("./QueryFilter"), exports);
|
76
76
|
tslib_1.__exportStar(require("./QueryablePropertyMessage"), exports);
|
77
|
+
tslib_1.__exportStar(require("./BlockTitleSettings"), exports);
|
77
78
|
tslib_1.__exportStar(require("./Queue"), exports);
|
78
79
|
tslib_1.__exportStar(require("./RichTextEditorExtension"), exports);
|
79
80
|
tslib_1.__exportStar(require("./RollupMetricSettings"), exports);
|
@@ -99,6 +100,7 @@ tslib_1.__exportStar(require("./Theming"), exports);
|
|
99
100
|
tslib_1.__exportStar(require("./ThemingMenuNode"), exports);
|
100
101
|
tslib_1.__exportStar(require("./TimePeriodSettings"), exports);
|
101
102
|
tslib_1.__exportStar(require("./TimeZone"), exports);
|
103
|
+
tslib_1.__exportStar(require("./TitleRenderer"), exports);
|
102
104
|
tslib_1.__exportStar(require("./Token"), exports);
|
103
105
|
tslib_1.__exportStar(require("./TokenDefinition"), exports);
|
104
106
|
tslib_1.__exportStar(require("./Translation"), exports);
|
package/Layout.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { MultilingualString, ThemeDefinition, IIcon, Spacing, IconPickerModel, WebComponentDefinition, OmniaBlock, guid, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, HorizontalAlignments, SpacingValue, ColorValue, VerticalAlignments, ContainerVariant, ContainerBlueprint, ColorSchemaTypes, ColorSchema, ChromeBlueprint, BlueprintVariant, TabsBlueprint } from ".";
|
1
|
+
import { TitleRendererValue, MultilingualString, ThemeDefinition, IIcon, Spacing, IconPickerModel, WebComponentDefinition, OmniaBlock, guid, RadialGradientShapes, BlockTitleSettings, LayoutItemActions, LayoutEditorModes, BlockRenderingModes, TabbedDisplayModes, TabbedIconPositions, LayoutDrawerTabs, ILayoutCanvasDefinitionBuilder, MediaPickerImage, IMessageBusTopicSubscription, MediaPickerStorageProviderContext, OmniaBackendRuntimes, OmniaClientRuntimes, LayoutCanvasModes, HorizontalAlignments, SpacingValue, ColorValue, VerticalAlignments, ContainerVariant, ContainerBlueprint, ColorSchemaTypes, ColorSchema, ChromeBlueprint, BlueprintVariant, TabsBlueprint } from ".";
|
2
2
|
import { MessageBusTopicMediator } from "../";
|
3
3
|
import { TargetingFilterProperty } from "../sp";
|
4
4
|
import { ShapeDividerSettings } from "./ShapeDividerSettingsModel";
|
@@ -149,8 +149,10 @@ export interface SectionSettings extends LayoutItemSettings {
|
|
149
149
|
marginSectionTop: SpacingValue;
|
150
150
|
marginSectionBottom: SpacingValue;
|
151
151
|
targetingFilterProperties: TargetingFilterProperty;
|
152
|
-
|
153
|
-
|
152
|
+
anchorName?: string;
|
153
|
+
titleSettings?: BlockTitleSettings;
|
154
|
+
titleRenderer?: TitleRendererValue;
|
155
|
+
sectionTitle?: string | MultilingualString;
|
154
156
|
useFullSpace: boolean;
|
155
157
|
icon: IIcon;
|
156
158
|
useCustomTheme: boolean;
|
package/TitleRenderer.js
ADDED
@@ -61,7 +61,7 @@ export interface VelcronComponentDefinition extends VelcronDefinition {
|
|
61
61
|
}
|
62
62
|
export type VelcronCustomComponentDefinition = VelcronComponentDefinition;
|
63
63
|
export type BuiltInPropertyEditorType = "text" | "number" | "slider" | "switch" | "alignment" | "color" | "markdown" | "icon" | "image" | "typography" | "spacing" | "color-schema-type" | "blueprint" | "background" | "grid" | "reference" | "select" | "property-resolver";
|
64
|
-
export type EditorLocation = "inline
|
64
|
+
export type EditorLocation = "inline" | "pane" | "toolbar";
|
65
65
|
export interface VelcronEditor<TSettings = any> {
|
66
66
|
name?: string;
|
67
67
|
icon?: IFontAwesomeIcon;
|
package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts
CHANGED
@@ -36,11 +36,12 @@ export interface VelcronNumberEditorSettings {
|
|
36
36
|
max: number;
|
37
37
|
step: number;
|
38
38
|
}
|
39
|
+
export interface VelcronPropertyMapping {
|
40
|
+
name: string;
|
41
|
+
definitionId: guid;
|
42
|
+
}
|
39
43
|
export interface VelcronPropertyResolverEditorSettings {
|
40
|
-
properties: Array<
|
41
|
-
name: string;
|
42
|
-
definitionId: guid;
|
43
|
-
}>;
|
44
|
+
properties: Array<VelcronPropertyMapping>;
|
44
45
|
}
|
45
46
|
export interface VelcronBlueprintEditorSettings {
|
46
47
|
type: "container" | "icon";
|
package/package.json
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ApiPath } from "../Extends";
|
2
|
+
import { ILinkItemHandler } from "../../ux/models/linkpicker/LinkItemHandler";
|
3
|
+
export interface ILinkItemHandlerRegistrationApi {
|
4
|
+
registerLinkRenderer: (linkItemHandler: ILinkItemHandler) => boolean;
|
5
|
+
}
|
6
|
+
declare module "./UxApi" {
|
7
|
+
interface IOmniaUxApi {
|
8
|
+
linkItemHandler: {
|
9
|
+
registration: Promise<ILinkItemHandlerRegistrationApi>;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
interface IOmniaUxExtendApiManifest {
|
13
|
+
linkItemHandler: {
|
14
|
+
registration: ApiPath;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ApiPath } from "../Extends";
|
2
|
+
import { LinkPickerRegistration } from "../../ux/models/linkpicker";
|
3
|
+
export interface ILinkProviderRegistrationApi {
|
4
|
+
registerLinkProviders: (items: LinkPickerRegistration | LinkPickerRegistration[]) => void;
|
5
|
+
}
|
6
|
+
declare module "./UxApi" {
|
7
|
+
interface IOmniaUxApi {
|
8
|
+
linkProvider: {
|
9
|
+
registration: Promise<ILinkProviderRegistrationApi>;
|
10
|
+
};
|
11
|
+
}
|
12
|
+
interface IOmniaUxExtendApiManifest {
|
13
|
+
linkProvider: {
|
14
|
+
registration: ApiPath;
|
15
|
+
};
|
16
|
+
}
|
17
|
+
}
|
package/ux/index.d.ts
CHANGED
@@ -24,4 +24,6 @@ export * from "./RouterApi";
|
|
24
24
|
export * from "./ScopedPermissionApi";
|
25
25
|
export * from "./FlowEditorApi";
|
26
26
|
export * from "./FontApi";
|
27
|
+
export * from "./LinkPickerApi";
|
28
|
+
export * from "./LinkItemHandlerApi";
|
27
29
|
export { type Directives, type DirectiveDefinition, type IInternalDirectiveRegistration } from "./Directive";
|
package/ux/index.js
CHANGED
@@ -27,3 +27,5 @@ tslib_1.__exportStar(require("./RouterApi"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./ScopedPermissionApi"), exports);
|
28
28
|
tslib_1.__exportStar(require("./FlowEditorApi"), exports);
|
29
29
|
tslib_1.__exportStar(require("./FontApi"), exports);
|
30
|
+
tslib_1.__exportStar(require("./LinkPickerApi"), exports);
|
31
|
+
tslib_1.__exportStar(require("./LinkItemHandlerApi"), exports);
|