@omnia/fx 8.0.281-dev → 8.0.283-dev
Sign up to get free protection for your applications and to get access to all the features.
- package/internal-do-not-import-from-here/services/properties/datasource/DataSourcePropertiesService.d.ts +6 -2
- package/internal-do-not-import-from-here/ux/models/Velcron.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/velcron/stores/VelcronDefinitionStore.d.ts +8 -0
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
|
-
import { DataSourceProperty, DataSourcePropertyDisplayInformation, guid, PropertyDefinition, PropertyValue, PropertyValuePrimitiveConverter, UserIdentity } from "../../../models";
|
1
|
+
import { DataSourceProperty, DataSourcePropertyDisplayInformation, guid, PropertyConfiguration, PropertyDefinition, PropertyDefinitionId, PropertyValue, PropertyValuePrimitiveConverter, UserIdentity } from "../../../models";
|
2
2
|
import { OmniaContext } from "../../../contexts";
|
3
|
-
import { DataSourcePropertyDefinitionHandler } from "./DataSourcePropertyDefinitionHandler";
|
3
|
+
import { DataSourcePropertyDefinitionHandler, DataSourcePropertyDefintionHandlerId } from "./DataSourcePropertyDefinitionHandler";
|
4
4
|
import { IDataSourcePropertyCreator } from "./DataSourcePropertyProvider";
|
5
5
|
export declare enum WriteBackStatus {
|
6
6
|
WrittenOk = 0,
|
@@ -56,6 +56,10 @@ export declare class DataSourcePropertiesService {
|
|
56
56
|
* Getting no converters/creators mean this property can not be handled by the system
|
57
57
|
* */
|
58
58
|
getPropertyValueCreators(dataSourceProperty: DataSourceProperty): Promise<Array<DataSourcePropertyDefinitionHandler<PropertyDefinition<PropertyValue, any, any>, DataSourceProperty, any, any>>>;
|
59
|
+
getPropertyRenderInformation(dataSourceProperty: DataSourceProperty, hanlderId: DataSourcePropertyDefintionHandlerId, propertyConfiguration?: PropertyConfiguration<PropertyDefinition<any, any, any>>, value?: any): Promise<{
|
60
|
+
propertyDefinitionId: PropertyDefinitionId;
|
61
|
+
propertyValue: PropertyValue;
|
62
|
+
}>;
|
59
63
|
getPropertiesDisplayInformation(dataSourceProperties: Array<DataSourceProperty>): Promise<Array<{
|
60
64
|
property: DataSourceProperty;
|
61
65
|
displayInformation: DataSourcePropertyDisplayInformation;
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { VelcronPropertyDefinitionValue } from "@omnia/fx-models";
|
1
2
|
import { IDataSourcePropertySelection } from "../properties/models/PropertyPicker";
|
2
3
|
export interface VelcronPropertyDefinitionValueResolver {
|
3
4
|
source?: IDataSourcePropertySelection;
|
4
5
|
}
|
5
|
-
export interface VelcronPropertyEditorValue {
|
6
|
-
[key: string]:
|
6
|
+
export interface VelcronPropertyEditorValue<T extends VelcronPropertyDefinitionValueResolver | VelcronPropertyDefinitionValue> {
|
7
|
+
[key: string]: T;
|
7
8
|
}
|
package/internal-do-not-import-from-here/ux/velcron/renderer/editors/PropertyResolverEditor.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { EditorLocation, VelcronPropertyResolverEditorSettings } from "@omnia/fx-models";
|
2
|
-
import { VelcronPropertyEditorValue } from "@omnia/fx/ux";
|
2
|
+
import { VelcronPropertyDefinitionValueResolver, VelcronPropertyEditorValue } from "@omnia/fx/ux";
|
3
3
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
4
4
|
location?: EditorLocation;
|
5
5
|
} & {
|
6
6
|
settings?: VelcronPropertyResolverEditorSettings;
|
7
7
|
} & {
|
8
|
-
"emit:update:modelValue": (value: VelcronPropertyEditorValue) => void;
|
8
|
+
"emit:update:modelValue": (value: VelcronPropertyEditorValue<VelcronPropertyDefinitionValueResolver>) => void;
|
9
9
|
} & {
|
10
|
-
"v-model"?: VelcronPropertyEditorValue
|
10
|
+
"v-model"?: VelcronPropertyEditorValue<VelcronPropertyDefinitionValueResolver>;
|
11
11
|
} & {
|
12
|
-
modelValue?: VelcronPropertyEditorValue
|
12
|
+
modelValue?: VelcronPropertyEditorValue<VelcronPropertyDefinitionValueResolver>;
|
13
13
|
}>) => any;
|
14
14
|
export default _default;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { DynamicState, VelcronAppDefinition, VelcronDefinitionCategoryRegistration, VelcronDefinitionRegistration, VelcronDefinitionRegistrationWithoutApp, VelcronDefinitionRendererTypeRegistration, VelcronRendererResolverReference, guid } from "@omnia/fx-models";
|
2
|
+
import { VelcronPropertyDefinitionValueResolver, VelcronPropertyEditorValue } from "../../models";
|
2
3
|
export declare const useVelcronDefinitionStore: () => {
|
3
4
|
state: {
|
4
5
|
definitions: VelcronDefinitionRegistration<object>[];
|
@@ -25,6 +26,13 @@ export declare const useVelcronDefinitionStore: () => {
|
|
25
26
|
filteredCategories(filters: Array<guid>, rendererTypeFilters: Array<guid>, includeBuiltIn?: boolean): VelcronDefinitionCategoryRegistration[];
|
26
27
|
filteredRendererTypes(filters: Array<guid>): any[];
|
27
28
|
readonly rendererTypes: VelcronDefinitionRendererTypeRegistration[];
|
29
|
+
stateByDefinition(def: VelcronAppDefinition): {
|
30
|
+
propertyResolver<T = VelcronPropertyDefinitionValueResolver>(): {
|
31
|
+
match: boolean;
|
32
|
+
state: VelcronPropertyEditorValue<T>;
|
33
|
+
setState(value: VelcronPropertyEditorValue<T>): void;
|
34
|
+
};
|
35
|
+
};
|
28
36
|
};
|
29
37
|
actions: {
|
30
38
|
onDispatching: {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.283-dev",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,12 +20,12 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.283-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
27
27
|
"splitpanes": "3.1.5",
|
28
|
-
"vue": "3.5.
|
28
|
+
"vue": "3.5.3",
|
29
29
|
"vuetify": "3.7.0",
|
30
30
|
"tslib": "2.6.2",
|
31
31
|
"typescript": "5.5.4",
|