@omnia/fx-models 8.0.148-dev → 8.0.150-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/Contexts.d.ts CHANGED
@@ -92,7 +92,6 @@ export interface JourneyBladeRouter<T extends {
92
92
  export interface AdminRoute extends TokenBasedRoute {
93
93
  manifestId: GuidValue;
94
94
  relativePath: string;
95
- blades?: JourneyBladeRouter[];
96
95
  }
97
96
  export interface BusinessProfileRoute extends TokenBasedRoute {
98
97
  profileId: GuidValue;
package/apps/App.d.ts CHANGED
@@ -198,6 +198,7 @@ export interface AppInstanceInfo {
198
198
  [id: string]: any;
199
199
  };
200
200
  appInstanceOutput: AppInstanceOutput;
201
+ businessProfileId: GuidValue;
201
202
  }
202
203
  export interface AppInstanceInfoUser extends AppInstanceInfo {
203
204
  followed: boolean;
@@ -64,6 +64,7 @@ export interface VelcronRenderContext {
64
64
  eventHandlers?: VelcronRenderContextEventHandlersInstance;
65
65
  editMode?: boolean;
66
66
  disposers: Array<() => void>;
67
+ subApp?: boolean;
67
68
  }
68
69
  export interface VelcronRenderContextEventHandlers {
69
70
  receiving?: {
@@ -82,7 +83,8 @@ export interface VelcronRenderContextEventHandlersInstance extends VelcronRender
82
83
  export interface VelcronRenderContextHooks {
83
84
  dialogVisibilityChanged?: ((visible: boolean) => void);
84
85
  onItemSelected?: ((item: VelcronDefinition) => void);
85
- wrapperStyleExtensions?: ((item: VelcronDefinition) => string);
86
+ wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
87
+ renderExtensions?: <TNodeType>(item: VelcronDefinition) => TNodeType;
86
88
  appStyleExtension?: (() => string);
87
89
  onItemCreatedProps?: ((item: VelcronDefinition) => object);
88
90
  }
@@ -179,7 +181,7 @@ export interface VelcronCardDefinition extends VelcronDefinition, VelcronColorSt
179
181
  }
180
182
  export interface VelcronTextDefinition extends VelcronDefinitionWithEditMode, VelcronColorStyling, VelcronTextStyling {
181
183
  type: "text";
182
- value: VelcronBindableProp<string>;
184
+ value?: VelcronBindableProp<string>;
183
185
  placeholder?: VelcronBindableProp<string>;
184
186
  editLabel?: VelcronBindableProp;
185
187
  lineClamp?: number;
@@ -14,6 +14,7 @@ export interface BuiltInPropertyEditors {
14
14
  typography: unknown;
15
15
  spacing: unknown;
16
16
  "color-schema-type": unknown;
17
+ reference: unknown;
17
18
  }
18
19
  export declare enum BuiltInPropertyEditorTypes {
19
20
  text = "text",
@@ -82,6 +83,9 @@ export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
82
83
  export interface VelcronSpacingPropertyEditor extends VelcronPropertyEditor<VelcronSpacingEditorSettings> {
83
84
  type: "spacing";
84
85
  }
86
+ export interface VelcronReferencePropertyEditor extends VelcronPropertyEditor<any> {
87
+ type: "reference";
88
+ }
85
89
  export interface VelcronState {
86
90
  images?: VelcronImagesState;
87
91
  styling?: VelcronStylingState;
@@ -7,4 +7,5 @@ export interface TreeViewItem<TValue = any> {
7
7
  active?: boolean;
8
8
  expanded?: boolean;
9
9
  children?: TreeViewItem[];
10
+ parent?: TreeViewItem;
10
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.148-dev",
4
+ "version": "8.0.150-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"