@omnia/fx-models 8.0.268-dev → 8.0.269-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/floweditor/FlowRenderPluginSettings.d.ts +5 -0
- package/floweditor/FlowRenderPluginSettings.js +2 -0
- package/floweditor/FlowRendererPluginRegistration.d.ts +6 -0
- package/floweditor/FlowRendererPluginRegistration.js +2 -0
- package/floweditor/index.d.ts +2 -0
- package/floweditor/index.js +2 -0
- package/internal-do-not-import-from-here/shared/models/velcron/VelcronReference.d.ts +1 -1
- package/oxide/OxideTypeDefinitions.d.ts +8 -0
- package/oxide/OxideTypeDefinitions.js +9 -3
- package/package.json +1 -1
- package/ux/FlowEditorApi.d.ts +25 -4
package/floweditor/index.d.ts
CHANGED
package/floweditor/index.js
CHANGED
@@ -4,3 +4,5 @@ const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./FlowEditorActionRegistration"), exports);
|
5
5
|
tslib_1.__exportStar(require("./FlowEditorPluginRegistration"), exports);
|
6
6
|
tslib_1.__exportStar(require("./FlowEditorPluginSettings"), exports);
|
7
|
+
tslib_1.__exportStar(require("./FlowRendererPluginRegistration"), exports);
|
8
|
+
tslib_1.__exportStar(require("./FlowRenderPluginSettings"), exports);
|
@@ -9,7 +9,7 @@ export declare function VelcronResolverId(id: guid): VelcronResolverId;
|
|
9
9
|
export declare const storageBasedVelcronResolverId: VelcronResolverId;
|
10
10
|
export interface VelcronRendererResolverReference {
|
11
11
|
id: VelcronRendererId;
|
12
|
-
|
12
|
+
resolverId: VelcronResolverId;
|
13
13
|
version: string;
|
14
14
|
state?: DynamicState;
|
15
15
|
}
|
@@ -64,6 +64,14 @@ export type OChartVariants = typeof OChartVariationDefinitions[number];
|
|
64
64
|
export declare const OChartVariantsName = "OChartVariants";
|
65
65
|
export type OChartOptions<ChartType extends keyof ChartTypeRegistry> = ChartOptions<ChartType>;
|
66
66
|
export type OChartData<ChartType extends keyof ChartTypeRegistry> = ChartData<ChartType>;
|
67
|
+
/** TextField */
|
68
|
+
export declare const OTextFieldTypeDefinitions: readonly ["default", "search", "find-slim", "link", "media", "editor"];
|
69
|
+
export type OTextFieldTypes = typeof OTextFieldTypeDefinitions[number];
|
70
|
+
export declare const OTextFieldName = "OTextFieldTypes";
|
71
|
+
/** Textarea */
|
72
|
+
export declare const OTextAreaTypeDefinitions: readonly ["editor", "default"];
|
73
|
+
export type OTextAreaTypes = typeof OTextAreaTypeDefinitions[number];
|
74
|
+
export declare const OTextareTypesName = "OTextAreaTypes";
|
67
75
|
/** Dialog */
|
68
76
|
export declare const ODialogTypeDefinitions: readonly ["create-cancel", "save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
69
77
|
export type ODialogTypes = typeof ODialogTypeDefinitions[number];
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.
|
5
|
-
exports.OStepperVariantName = exports.OStepperVariantDefinitions = exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = void 0;
|
3
|
+
exports.OIconVariantDefinitions = exports.OIconAnimationsName = exports.OIconAnimationsDefinition = exports.OIconSizesName = exports.OIconSizeDefinitions = exports.OIconPresetsName = exports.OIconPresetDefinitions = exports.OPanelTypesName = exports.OPanelTypeDefinitions = exports.OPageDividerTypesName = exports.OPageDividerTypeDefinitions = exports.ODialogSizeDefinitions = exports.ODialogTypesName = exports.ODialogTypeDefinitions = exports.OTextareTypesName = exports.OTextAreaTypeDefinitions = exports.OTextFieldName = exports.OTextFieldTypeDefinitions = exports.OChartVariantsName = exports.OChartVariationDefinitions = exports.OColumnVariantsName = exports.OColumnVariantDefinitions = exports.OAlignmentTypesName = exports.OAlignmentTypeDefinitions = exports.OColValuesName = exports.OColValueDefinitions = exports.OButtonGroupTypesName = exports.OButtonGroupTypeDefinitions = exports.OButtonVariantsName = exports.OButtonVariantDefinitions = exports.OButtonPresetsName = exports.OButtonPresetDefinitions = exports.OAlertTypesName = exports.OAlertTypeDefinitions = exports.OAppBarTypesName = exports.OAppBarTypeDefinitions = exports.OProgressSizeTypesName = exports.OProgressSizeTypeDefinitions = exports.OProgressVariantsName = exports.OProgressVariantDefinitions = exports.OProgressTypesName = exports.OProgressTypeDefinitions = exports.OSliderVariantsName = exports.OSliderVariantDefinitions = exports.ODirectionTypesName = exports.ODirectionDefinitions = exports.ONotificationSizeTypeDefinitions = exports.OContentHeightDefinitions = exports.OSizeTypesName = exports.OSizeTypeDefinitions = void 0;
|
4
|
+
exports.OInfiniteScrollStatusDefinitions = exports.ODraggableVariantsName = exports.ODraggableVariationDefinitions = exports.OToolbarVariantsName = exports.OToolbarVariationDefinitions = exports.OTextBoxTypesName = exports.OTextBoxTypeDefinitions = exports.OTextBoxVariantTypesName = exports.OTextBoxVariantTypeDefinitions = exports.OTabVariantsName = exports.OTabVariantDefinitions = exports.OScrollOffsetTypesName = exports.OScrollOffsetTypeDefinitions = exports.OSkeletonLoaderName = exports.OSkeletonLoaderTypeDefinitions = exports.OSelectTypesName = exports.OSelectTypeDefinitions = exports.OScrollTypesName = exports.OScrollTypeDefinitions = exports.OFlexVariantsName = exports.OFlexVariantDefinitions = exports.OVerticalAlignmentsName = exports.OVerticalAlignmentDefinitions = exports.OTabAlignmentsName = exports.OTabAlignmentDefinitions = exports.OHorizontalAlignmentsName = exports.OHorizontalAlignmentDefinitions = exports.OPanelVariantsName = exports.OPanelVariantDefinitions = exports.ORowDirectionsName = exports.ORowDirectionDefinitions = exports.OPaddingTypesName = exports.OPaddingTypeDefinitions = exports.ODividerTypesName = exports.ODividerTypeDefinitions = exports.ONavigationDrawerVariantsName = exports.ONavigationDrawerVariantDefinitions = exports.ONavigationDrawerLocationsName = exports.ONavigationDrawerLocationDefinitions = exports.OMenuLocationsName = exports.OMenuLocationDefinitions = exports.OListLineTypesName = exports.OListLineTypeDefinitions = exports.OListTypesName = exports.OListTypeDefinitions = exports.OListItemVariantsName = exports.OListItemVariantDefinitions = exports.ORatioTypesName = exports.ORatioTypeDefinitions = exports.OIconVariantsName = void 0;
|
5
|
+
exports.OStepperVariantName = exports.OStepperVariantDefinitions = exports.OMultiTextInputModesName = exports.OMultiTextInputModesDefinitions = exports.OSplitpanesVariationTypesName = exports.OSplitpanesVariationDefinitions = exports.ORatingLengthName = exports.ORatingLengthDefinition = exports.ORatingDensityTypesName = exports.ORatingDensityDefinitions = exports.OLazyVariationDefinitions = void 0;
|
6
6
|
/**Shared */
|
7
7
|
const block = ["top", "bottom"];
|
8
8
|
const inline = ["start", "end", "left", "right"];
|
@@ -46,6 +46,12 @@ exports.OColumnVariantsName = "OColumnVariants";
|
|
46
46
|
/** Chart */
|
47
47
|
exports.OChartVariationDefinitions = ["bar", "line", "pie"];
|
48
48
|
exports.OChartVariantsName = "OChartVariants";
|
49
|
+
/** TextField */
|
50
|
+
exports.OTextFieldTypeDefinitions = ["default", "search", "find-slim", "link", "media", "editor"];
|
51
|
+
exports.OTextFieldName = "OTextFieldTypes";
|
52
|
+
/** Textarea */
|
53
|
+
exports.OTextAreaTypeDefinitions = ["editor", "default"];
|
54
|
+
exports.OTextareTypesName = "OTextAreaTypes";
|
49
55
|
/** Dialog */
|
50
56
|
exports.ODialogTypeDefinitions = ["create-cancel", "save-cancel", "confirm", "ok-cancel", "default", "app", "retry"];
|
51
57
|
exports.ODialogTypesName = "ODialogTypes";
|
package/package.json
CHANGED
package/ux/FlowEditorApi.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FlowEditorPluginRegistration } from "@omnia/fx-models";
|
1
|
+
import { FlowEditorPluginRegistration, FlowRendererPluginRegistration } from "@omnia/fx-models";
|
2
2
|
import { ApiPath } from "../Extends";
|
3
3
|
export interface IFlowEditorPluginRegistrationHandler {
|
4
4
|
getAll: () => Array<FlowEditorPluginRegistration>;
|
@@ -10,14 +10,35 @@ export interface IFlowEditorPluginRegistration {
|
|
10
10
|
export interface IFlowEditorRegistrationApi {
|
11
11
|
plugins: IFlowEditorPluginRegistration;
|
12
12
|
}
|
13
|
+
export interface IFlowRendererPluginRegistrationHandler {
|
14
|
+
getAll: () => Array<FlowRendererPluginRegistration>;
|
15
|
+
register: (plugins: FlowRendererPluginRegistration | FlowRendererPluginRegistration[]) => void;
|
16
|
+
}
|
17
|
+
export interface IFlowRendererPluginRegistration {
|
18
|
+
registration: Promise<IFlowRendererPluginRegistrationHandler>;
|
19
|
+
}
|
20
|
+
export interface IFlowRendererRegistrationApi {
|
21
|
+
plugins: IFlowRendererPluginRegistration;
|
22
|
+
}
|
23
|
+
export interface IFlowRegistrationApi {
|
24
|
+
editor: IFlowEditorRegistrationApi;
|
25
|
+
renderer: IFlowRendererRegistrationApi;
|
26
|
+
}
|
13
27
|
declare module "./UxApi" {
|
14
28
|
interface IOmniaUxApi {
|
15
|
-
flow:
|
29
|
+
flow: IFlowRegistrationApi;
|
16
30
|
}
|
17
31
|
interface IOmniaUxExtendApiManifest {
|
18
32
|
flow: {
|
19
|
-
|
20
|
-
|
33
|
+
renderer: {
|
34
|
+
plugins: {
|
35
|
+
registration: ApiPath;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
editor: {
|
39
|
+
plugins: {
|
40
|
+
registration: ApiPath;
|
41
|
+
};
|
21
42
|
};
|
22
43
|
};
|
23
44
|
}
|