@omnia/fx 8.0.96-vnext → 8.0.98-vnext
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/internal-do-not-import-from-here/ux/docs/Docs.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/journey/v2/stores/JourneyStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/monaco/Monaco.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/core/actions/Date.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/core/actions/IActionHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/core/actions/Timer.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/core/actions/index.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +5 -4
- package/internal-do-not-import-from-here/ux/velcron/core/parser/VelcronActions.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/velcron/docs/DocDataTypes.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/docs/actions/Date.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/docs/actions/Introduction.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/docs/actions/Timer.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/docs/actions/index.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/velcron/docs/index.d.ts +1 -0
- package/package.json +2 -2
@@ -46,6 +46,7 @@ export declare const builtInDocumentationCategories: {
|
|
46
46
|
};
|
47
47
|
export declare const velcronDocumentationCategories: {
|
48
48
|
gettingStarted: DocumentationCategory;
|
49
|
+
actions: DocumentationCategory;
|
49
50
|
components: DocumentationCategory;
|
50
51
|
};
|
51
52
|
export interface ComponentSpecRegistration {
|
@@ -46,10 +46,10 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
|
|
46
46
|
readonly isNested: boolean;
|
47
47
|
};
|
48
48
|
actions: {
|
49
|
-
|
49
|
+
withBlade: (bladeId: GuidValue) => {
|
50
50
|
moveNext(): void;
|
51
51
|
movePrev(): void;
|
52
|
-
travelTo(toBladeId:
|
52
|
+
travelTo(toBladeId: GuidValue): void;
|
53
53
|
createObservableValueToSave<T_1>(value: T_1): {
|
54
54
|
value: T_1;
|
55
55
|
setValue: (value: T_1) => void;
|
@@ -8,6 +8,8 @@ import "monaco-editor/esm/vs/editor/contrib/comment/browser/comment.js";
|
|
8
8
|
import "monaco-editor/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js";
|
9
9
|
import "monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.js";
|
10
10
|
import "monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js";
|
11
|
+
import "monaco-editor/esm/vs/language/json/monaco.contribution";
|
12
|
+
import "monaco-editor/esm/vs/language/json/jsonMode";
|
11
13
|
import "monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution";
|
12
14
|
import "monaco-editor/esm/vs/basic-languages/javascript/javascript";
|
13
15
|
import "monaco-editor/esm/vs/basic-languages/html/html.contribution";
|
@@ -44,19 +44,20 @@ export interface VelcronRenderContext {
|
|
44
44
|
colors?: ReturnType<typeof useVelcronColorSchemaStore>;
|
45
45
|
blueprints?: ReturnType<typeof useVelcronBlueprintStore>;
|
46
46
|
actions?: {
|
47
|
-
[name: string]:
|
47
|
+
[name: string]: Array<string>;
|
48
48
|
};
|
49
49
|
components?: Array<VelcronCustomComponentDefinition>;
|
50
50
|
properties?: {
|
51
51
|
[name: string]: VelcronPrimitiveType | VelcroncomponentArrayType;
|
52
52
|
};
|
53
53
|
computed?: {
|
54
|
-
[name: string]:
|
54
|
+
[name: string]: Array<string>;
|
55
55
|
};
|
56
56
|
parent?: VelcronRenderContext;
|
57
57
|
hooks?: VelcronRenderContextHooks;
|
58
58
|
eventHandlers?: VelcronRenderContextEventHandlers;
|
59
59
|
editMode?: boolean;
|
60
|
+
disposers: Array<() => void>;
|
60
61
|
}
|
61
62
|
export interface VelcronRenderContextEventHandlers {
|
62
63
|
receiving?: {
|
@@ -172,13 +173,13 @@ export interface VelcronAppDefinition<TState extends DynamicState = DynamicState
|
|
172
173
|
body?: Array<VelcronDefinition>;
|
173
174
|
events?: VelcronOnLoadEvent & VelcronOnEditModeEvent;
|
174
175
|
actions?: {
|
175
|
-
[name: string]:
|
176
|
+
[name: string]: Array<string>;
|
176
177
|
};
|
177
178
|
components?: Array<VelcronCustomComponentDefinition>;
|
178
179
|
propEditors?: Array<VelcronPropertyEditor>;
|
179
180
|
state?: TState;
|
180
181
|
computed?: {
|
181
|
-
[name: string]:
|
182
|
+
[name: string]: Array<string>;
|
182
183
|
};
|
183
184
|
}
|
184
185
|
export interface VelcronComponentDefinition extends VelcronDefinition {
|
@@ -7,7 +7,7 @@ export declare class VelcronActions {
|
|
7
7
|
static registerAction(name: string, handler: IActionHandler): void;
|
8
8
|
static parseAndExecuteActions(templates: Array<string>, renderContext: VelcronRenderContext, customActionContext?: VelcronCustomActionExecutionContext): void;
|
9
9
|
static parseFunction(target: {
|
10
|
-
[name: string]:
|
10
|
+
[name: string]: Array<string>;
|
11
11
|
}, template: string, renderContext: VelcronRenderContext, params: Array<VelcronActionParameterValue>, foundCb: (name: string, params: {}) => void): void;
|
12
12
|
static getActionFromTemplate(partialTemplate: string, eventId: string, renderContext: VelcronRenderContext, customActionContext?: VelcronCustomActionExecutionContext): VelcronAction;
|
13
13
|
static valueIsAction(value: string): boolean;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { VelcronAppDefinition } from "@omnia/fx-models";
|
1
2
|
import { EventSpec, PropertySpec } from "@omnia/fx/ux";
|
2
3
|
export declare const docDataTypes: {
|
3
4
|
string: string;
|
@@ -24,3 +25,6 @@ export declare const velcronSpacingMapping: {
|
|
24
25
|
export declare function printEnum(obj: any): string;
|
25
26
|
export declare function printObject(obj: any): string;
|
26
27
|
export declare function evalsBooleanProp(name: string, description: string): PropertySpec;
|
28
|
+
export declare function renderVelcronInMarkdown(def: VelcronAppDefinition): string;
|
29
|
+
export declare function renderCodeInMarkdown(def: any): string;
|
30
|
+
export declare function renderVelcronExample(def: VelcronAppDefinition): string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
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.98-vnext",
|
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,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Precio Fishbone",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "8.0.
|
23
|
+
"@omnia/fx-models": "8.0.98-vnext",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|