@omnia/fx-models 8.0.271-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.
@@ -33,10 +33,6 @@ export interface BlockTitleIconSettings {
33
33
  icon: IIcon;
34
34
  spacing: Spacing;
35
35
  }
36
- export interface BlockTitleViewSettings {
37
- viewTemplate: VelcronRendererResolverReference;
38
- state: any;
39
- }
40
36
  export interface BlockTitleSettings {
41
37
  bgColor?: string;
42
38
  textColor?: string;
package/Constants.d.ts CHANGED
@@ -19,10 +19,12 @@ export declare const Constants: {
19
19
  flow: {
20
20
  plugins: {
21
21
  text: guid;
22
+ textAlignment: guid;
22
23
  element: guid;
23
24
  bold: guid;
24
25
  italic: guid;
25
26
  color: guid;
27
+ spacing: guid;
26
28
  typography: guid;
27
29
  velcron: guid;
28
30
  source: guid;
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, BlockTitleViewSettings } 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";
@@ -151,7 +151,7 @@ export interface SectionSettings extends LayoutItemSettings {
151
151
  targetingFilterProperties: TargetingFilterProperty;
152
152
  anchorName?: string;
153
153
  titleSettings?: BlockTitleSettings;
154
- titleViewSettings?: BlockTitleViewSettings;
154
+ titleRenderer?: TitleRendererValue;
155
155
  sectionTitle?: string | MultilingualString;
156
156
  useFullSpace: boolean;
157
157
  icon: IIcon;
@@ -0,0 +1,6 @@
1
+ import { VelcronRendererResolverReference } from "@omnia/fx-models";
2
+ export type TitleRendererValue = TitleRendererSettings | string;
3
+ export interface TitleRendererSettings {
4
+ renderer: VelcronRendererResolverReference;
5
+ state: any;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 " | "pane" | "toolbar";
64
+ export type EditorLocation = "inline" | "pane" | "toolbar";
65
65
  export interface VelcronEditor<TSettings = any> {
66
66
  name?: string;
67
67
  icon?: IFontAwesomeIcon;
@@ -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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.271-dev",
4
+ "version": "8.0.272-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"