@omnia/fx-models 8.0.277-dev → 8.0.279-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/Layout.d.ts CHANGED
@@ -261,6 +261,7 @@ export interface HeaderItemSettings {
261
261
  titleSettings: BlockTitleSettings;
262
262
  anchorName?: string;
263
263
  scrollIntoViewDisabled: boolean;
264
+ titleRenderer?: TitleRendererValue;
264
265
  }
265
266
  export interface SpacingItemSettings {
266
267
  paddingRight: number | SpacingValue;
@@ -60,7 +60,7 @@ export interface VelcronComponentDefinition extends VelcronDefinition {
60
60
  icon?: any;
61
61
  }
62
62
  export type VelcronCustomComponentDefinition = VelcronComponentDefinition;
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";
63
+ export type BuiltInPropertyEditorType = "text" | "number" | "slider" | "switch" | "alignment" | "color" | "flow" | "icon" | "image" | "typography" | "spacing" | "color-schema-type" | "blueprint" | "background" | "grid" | "reference" | "select" | "property-resolver";
64
64
  export type EditorLocation = "inline" | "pane" | "toolbar";
65
65
  export interface VelcronEditor<TSettings = any> {
66
66
  name?: string;
@@ -4,7 +4,6 @@ import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, Velcron
4
4
  import { DynamicState, VelcronDefinition, VelcronEffects, useVelcronThemingStore } from "..";
5
5
  import { guid, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx/models";
6
6
  import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
7
- import { IDataSourcePropertySelection } from "internal/fx/ux/properties/models/PropertyPicker";
8
7
  export interface ResolvedComponentRenderer {
9
8
  component: unknown;
10
9
  definition: VelcronDefinition;
@@ -46,6 +45,14 @@ export interface OnItemRenderedHookResult {
46
45
  cssClass: string;
47
46
  containerRenderer?: VelcronContainerRenderer;
48
47
  }
48
+ export interface VelcronDisplay {
49
+ size: VelcronDisplaySizes;
50
+ }
51
+ export interface VelcronDisplaySizes {
52
+ sm: boolean;
53
+ md: boolean;
54
+ lg: boolean;
55
+ }
49
56
  export interface VelcronRenderContext {
50
57
  id?: string;
51
58
  rootContext: DynamicState;
@@ -71,6 +78,7 @@ export interface VelcronRenderContext {
71
78
  baseDefinition?: VelcronAppDefinition;
72
79
  subApp?: boolean;
73
80
  subAppreferenceId?: guid;
81
+ $display: VelcronDisplay;
74
82
  }
75
83
  export interface VelcronRenderContextEventHandlers {
76
84
  receiving?: {
@@ -372,12 +380,6 @@ export interface VelcronPropertyDefinitionValue {
372
380
  value: PropertyValue;
373
381
  configuration: PropertyConfiguration<PropertyDefinition<any, any, any, PropertySetupBase>>;
374
382
  }
375
- export interface VelcronPropertyDefinitionValueResolver {
376
- source?: IDataSourcePropertySelection;
377
- }
378
- export interface VelcronPropertyEditorValue {
379
- [key: string]: VelcronPropertyDefinitionValueResolver;
380
- }
381
383
  export type VelcronRenderProps<TDefinition> = {
382
384
  definition: TDefinition;
383
385
  renderContext: VelcronRenderContext;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.277-dev",
4
+ "version": "8.0.279-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"