@omnia/fx-models 8.0.30-dev → 8.0.31-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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VelcronEvent, VelcronOnUpdatedEvent, VelcronOnClosedEvent, VelcronOnCloseRequestedEvent, VelcronOnEditModeEvent, VelcronOnLoadEvent, VelcronOnPressEvent } from "./VelcronEvents";
|
|
2
2
|
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "./VelcronTypes";
|
|
3
3
|
import { AssignOperators, VelcronHorizontalAlignments, VelcronIconTypes, VelcronActionTypes, VelcronVerticalAlignments } from "./Enums";
|
|
4
|
-
import { DynamicState, VelcronPropertyEditor, useVelcronThemingStore } from "..";
|
|
4
|
+
import { ActivityRendererReference, DynamicState, VelcronPropertyEditor, useVelcronThemingStore } from "..";
|
|
5
5
|
import { GuidValue, PropertyConfiguration, PropertyValue, PropertyDefinition, PropertySetupBase } from "@omnia/fx/models";
|
|
6
6
|
import { useVelcronColorSchemaStore } from "../stores/VelcronColorSchema";
|
|
7
7
|
import { useVelcronBlueprintStore } from "../stores/VelcronBlueprint";
|
|
@@ -28,6 +28,7 @@ export interface BuiltInComponentRenderers {
|
|
|
28
28
|
"slot": unknown;
|
|
29
29
|
"property": unknown;
|
|
30
30
|
"checkbox": unknown;
|
|
31
|
+
"reference": unknown;
|
|
31
32
|
}
|
|
32
33
|
export interface ColorSchemaReference {
|
|
33
34
|
name: string;
|
|
@@ -71,6 +72,7 @@ export interface VelcronRenderContextHooks {
|
|
|
71
72
|
onItemSelected?: ((item: VelcronDefinition) => void);
|
|
72
73
|
onItemRendered?: ((item: VelcronDefinition) => OnItemRenderedHookResult);
|
|
73
74
|
onItemCreatedProps?: ((item: VelcronDefinition) => object);
|
|
75
|
+
onLoadReference?: ((reference: ActivityRendererReference) => Promise<VelcronDefinition>);
|
|
74
76
|
}
|
|
75
77
|
export interface VelcronContainerRenderer {
|
|
76
78
|
definition: VelcronDefinition;
|
|
@@ -299,6 +301,10 @@ export interface VelcronSlotDefinition extends VelcronDefinition {
|
|
|
299
301
|
type: "slot";
|
|
300
302
|
bind: VelcronBindableProp<string>;
|
|
301
303
|
}
|
|
304
|
+
export interface VelcronReferencefinition extends VelcronDefinition {
|
|
305
|
+
type: "reference";
|
|
306
|
+
to: ActivityRendererReference;
|
|
307
|
+
}
|
|
302
308
|
export interface VelcronPropertyDefinition extends VelcronDefinition {
|
|
303
309
|
type: "property";
|
|
304
310
|
bind: VelcronBindableProp<string>;
|