@omnia/fx 8.0.303-dev → 8.0.304-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/internal-do-not-import-from-here/ux/commandpalette/commands/utils/{ColorPickerCommand.d.ts → OpenDevDocsCommand.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/commandpalette/commands/utils/OpenVelcronStudioCommand.d.ts +2 -0
- package/internal-do-not-import-from-here/ux/commandpalette/commands/utils/{OmniaVerseCommand.d.ts → ThemePickerCommand.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/commandpalette/commands/utils/index.d.ts +3 -2
- package/internal-do-not-import-from-here/ux/commandpalette/stores/CommandStore.d.ts +32 -36
- package/internal-do-not-import-from-here/ux/oxide/splitpane/Splitpane.d.ts +7 -5
- package/package.json +2 -2
@@ -1,2 +1,2 @@
|
|
1
1
|
import { CommandDefinition } from "../../models/CommandDefinition";
|
2
|
-
export declare const
|
2
|
+
export declare const openDevDocsCommand: CommandDefinition;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { CommandDefinition } from "../../models/CommandDefinition";
|
2
|
-
export declare const
|
2
|
+
export declare const themePickerCommand: CommandDefinition;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
export * from "./
|
1
|
+
export * from "./ThemePickerCommand";
|
2
2
|
export * from "./CreateGuidCommand";
|
3
3
|
export * from "./Base64EncodeCommand";
|
4
4
|
export * from "./Base64DecodeCommand";
|
5
|
-
export * from "./
|
5
|
+
export * from "./OpenDevDocsCommand";
|
6
|
+
export * from "./OpenVelcronStudioCommand";
|
@@ -1,40 +1,36 @@
|
|
1
|
-
import {
|
2
|
-
import { CommandDefinition, ICommandStore } from "../models/CommandDefinition";
|
1
|
+
import { CommandDefinition } from "../models/CommandDefinition";
|
3
2
|
import { CommandPaletteCustomComponentOptions, CommandPaletteInputBox, CommandPaletteListPickItem, CommandPaletteMessage } from "../models";
|
4
|
-
export declare
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
export declare const useCommandStore: () => {
|
4
|
+
state: {
|
5
|
+
commandsState: CommandDefinition[];
|
6
|
+
showInputBoxState: CommandPaletteInputBox;
|
7
|
+
showMessageState: CommandPaletteMessage;
|
8
|
+
listPickerState: CommandPaletteListPickItem<any>[];
|
9
|
+
customComponentState: unknown;
|
10
|
+
componentOptions: CommandPaletteCustomComponentOptions;
|
11
|
+
};
|
12
|
+
events: import("@omnia/fx/stores").StoreEvents<{
|
13
|
+
commandsState: CommandDefinition[];
|
14
|
+
showInputBoxState: CommandPaletteInputBox;
|
15
|
+
showMessageState: CommandPaletteMessage;
|
16
|
+
listPickerState: CommandPaletteListPickItem<any>[];
|
17
|
+
customComponentState: unknown;
|
18
|
+
componentOptions: CommandPaletteCustomComponentOptions;
|
19
|
+
}, Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>>;
|
20
|
+
actions: import("@omnia/fx/stores").StoreReturnDefineAction<{
|
21
|
+
registerCommand: (command: CommandDefinition) => void;
|
22
|
+
setInputBoxResult: (value: string) => void;
|
23
|
+
setListPickerResult: <T>(value: CommandPaletteListPickItem<T>) => void;
|
24
|
+
showMessage: (message: CommandPaletteMessage) => void;
|
25
|
+
resetState: () => void;
|
26
|
+
showInputBox: (title: string) => Promise<CommandPaletteInputBox>;
|
27
|
+
showListPicker: <T>(pickerItems: Array<CommandPaletteListPickItem<T>>) => Promise<CommandPaletteListPickItem<T>>;
|
28
|
+
showComponent: (component: unknown, containerStyle: CommandPaletteCustomComponentOptions) => Promise<void>;
|
29
|
+
}>;
|
30
|
+
get: {
|
16
31
|
allCommands: (search: string) => CommandDefinition[];
|
17
32
|
currentListPickItems: (search: string) => CommandPaletteListPickItem<any>[];
|
18
|
-
inputBox: () => CommandPaletteInputBox;
|
19
|
-
message: () => CommandPaletteMessage;
|
20
|
-
component: () => unknown;
|
21
|
-
containerStyle: () => CommandPaletteCustomComponentOptions;
|
22
|
-
};
|
23
|
-
/**
|
24
|
-
* Implementation of mutations
|
25
|
-
*/
|
26
|
-
mutations: {
|
27
|
-
registerCommand: import("@omnia/fx/stores").StoreMutation<(command: CommandDefinition) => void, (command: CommandDefinition) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
28
|
-
setInputBoxResult: import("@omnia/fx/stores").StoreMutation<(value: string) => void, (value: string) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
29
|
-
setListPickerResult: import("@omnia/fx/stores").StoreMutation<(<T>(value: CommandPaletteListPickItem<T>) => void), (value: CommandPaletteListPickItem<unknown>) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
30
|
-
showMessage: import("@omnia/fx/stores").StoreMutation<(message: CommandPaletteMessage) => void, (message: CommandPaletteMessage) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
31
|
-
resetState: import("@omnia/fx/stores").StoreMutation<() => void, () => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
|
32
|
-
};
|
33
|
-
actions: {
|
34
|
-
showInputBox: import("@omnia/fx/stores").StoreAction<unknown, (title: string) => void, (result: CommandPaletteInputBox, title: string) => void, (failureReason: any, title: string) => void, (title: string) => Promise<CommandPaletteInputBox>>;
|
35
|
-
showListPicker: import("@omnia/fx/stores").StoreAction<unknown, (pickerItems: CommandPaletteListPickItem<unknown>[]) => void, (result: CommandPaletteListPickItem<unknown>, pickerItems: CommandPaletteListPickItem<unknown>[]) => void, (failureReason: any, pickerItems: CommandPaletteListPickItem<unknown>[]) => void, <T>(pickerItems: Array<CommandPaletteListPickItem<T>>) => Promise<CommandPaletteListPickItem<T>>>;
|
36
|
-
showComponent: import("@omnia/fx/stores").StoreAction<unknown, (component: unknown, containerStyle: CommandPaletteCustomComponentOptions) => void, (result: void, component: unknown, containerStyle: CommandPaletteCustomComponentOptions) => void, (failureReason: any, component: unknown, containerStyle: CommandPaletteCustomComponentOptions) => void, (component: unknown, containerStyle: CommandPaletteCustomComponentOptions) => Promise<void>>;
|
37
33
|
};
|
38
|
-
|
39
|
-
|
40
|
-
}
|
34
|
+
} & {
|
35
|
+
dispose?: () => void;
|
36
|
+
};
|
@@ -1,14 +1,16 @@
|
|
1
1
|
import { DefineEmit, DefineProp, DefinePropTheming } from "@omnia/fx/ux";
|
2
2
|
import "splitpanes/dist/splitpanes.css";
|
3
3
|
import { OSplitpanesVariation } from "@omnia/fx-models";
|
4
|
-
interface
|
5
|
-
givenSize: number;
|
6
|
-
id: number;
|
7
|
-
index: number;
|
4
|
+
export interface SplitpaneSize {
|
8
5
|
max: number;
|
9
6
|
min: number;
|
10
7
|
size: number;
|
11
8
|
}
|
12
|
-
|
9
|
+
interface PanelEventClick extends SplitpaneSize {
|
10
|
+
givenSize: number;
|
11
|
+
id: number;
|
12
|
+
index: number;
|
13
|
+
}
|
14
|
+
type SplitpaneProps = DefinePropTheming & DefineProp<"class", String | String[]> & DefineProp<"variant", OSplitpanesVariation, false, "vertical", "Controls the orientation of the component."> & DefineProp<"height", string | number, false, "100%", "The height of the component."> & DefineEmit<"panelClick", (event: PanelEventClick) => void, "Emits when one of panels is clicked."> & DefineEmit<"resized", (sizes: SplitpaneSize[]) => void, "Emits when pane components are resized.">;
|
13
15
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<SplitpaneProps>) => any;
|
14
16
|
export default _default;
|
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.304-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,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.304-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|