@vyr/builtin 0.0.1
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/build/common/example.d.ts +5 -0
- package/build/common/index.d.ts +3 -0
- package/build/common/provider.d.ts +5 -0
- package/build/common/save.d.ts +4 -0
- package/build/component/AttrItem.vue.d.ts +11 -0
- package/build/component/CodeEditor.vue.d.ts +11 -0
- package/build/component/ColorItem.vue.d.ts +27 -0
- package/build/component/Directory.vue.d.ts +33 -0
- package/build/component/ErrorComponent.vue.d.ts +13 -0
- package/build/component/EventItem.vue.d.ts +19 -0
- package/build/component/Graph.vue.d.ts +18 -0
- package/build/component/InputItem.vue.d.ts +15 -0
- package/build/component/InteractionItem.vue.d.ts +19 -0
- package/build/component/LoadingComponent.vue.d.ts +13 -0
- package/build/component/RuleItem.vue.d.ts +12 -0
- package/build/component/Timeline.vue.d.ts +7 -0
- package/build/component/VariableItem.vue.d.ts +14 -0
- package/build/component/WindowSetting.vue.d.ts +3 -0
- package/build/component/index.d.ts +13 -0
- package/build/fragment/AnimationUnitFragment.vue.d.ts +6 -0
- package/build/fragment/BaseFragment.vue.d.ts +6 -0
- package/build/fragment/DatasetFragment.vue.d.ts +3 -0
- package/build/fragment/DatasetInspectorFragment.vue.d.ts +13 -0
- package/build/fragment/DynamicFragment.vue.d.ts +3 -0
- package/build/fragment/EventsInspectorFragment.vue.d.ts +21 -0
- package/build/fragment/HTMLFragment.vue.d.ts +16 -0
- package/build/fragment/InteractionInspectorFragment.vue.d.ts +21 -0
- package/build/fragment/PrefabFragment.vue.d.ts +3 -0
- package/build/fragment/PrefabInstanceFragment.vue.d.ts +3 -0
- package/build/fragment/SchedulerFragment.vue.d.ts +3 -0
- package/build/fragment/StyleFragment.vue.d.ts +8 -0
- package/build/index.d.ts +10 -0
- package/build/locale/Language.d.ts +3 -0
- package/build/locale/LanguageProvider.d.ts +323 -0
- package/build/locale/index.d.ts +2 -0
- package/build/option/Animation.d.ts +25 -0
- package/build/option/Color.d.ts +5 -0
- package/build/option/Dataset.d.ts +6 -0
- package/build/option/Dynamic.d.ts +5 -0
- package/build/option/HTML.d.ts +41 -0
- package/build/option/Net.d.ts +6 -0
- package/build/option/Preset.d.ts +8 -0
- package/build/option/Style.d.ts +76 -0
- package/build/option/Variable.d.ts +5 -0
- package/build/option/index.d.ts +17 -0
- package/build/preset/graphics.d.ts +8 -0
- package/build/preset/index.d.ts +3 -0
- package/build/preset/scheduler.d.ts +8 -0
- package/build/service/footer/action/AddDirAction.d.ts +10 -0
- package/build/service/footer/action/AddMoreAction.d.ts +26 -0
- package/build/service/footer/action/AddScriptAction.d.ts +25 -0
- package/build/service/footer/action/BackupAction.d.ts +10 -0
- package/build/service/footer/action/ControllerAction.d.ts +39 -0
- package/build/service/footer/action/CopyAction.d.ts +13 -0
- package/build/service/footer/action/CutAction.d.ts +13 -0
- package/build/service/footer/action/DeleteAction.d.ts +14 -0
- package/build/service/footer/action/EditFileAction.d.ts +15 -0
- package/build/service/footer/action/RenameAction.d.ts +13 -0
- package/build/service/footer/action/SelectAllAction.d.ts +14 -0
- package/build/service/footer/action/StickupAction.d.ts +16 -0
- package/build/service/footer/action/index.d.ts +11 -0
- package/build/service/footer/action/raw/typescriptScript.d.ts +5 -0
- package/build/service/footer/draggable/Draggable.d.ts +10 -0
- package/build/service/footer/draggable/index.d.ts +1 -0
- package/build/service/footer/index.d.ts +2 -0
- package/build/service/global/action/FooterAction.d.ts +18 -0
- package/build/service/global/action/RedoAction.d.ts +9 -0
- package/build/service/global/action/SidebarAction.d.ts +14 -0
- package/build/service/global/action/UndoAction.d.ts +9 -0
- package/build/service/global/action/index.d.ts +4 -0
- package/build/service/global/draggable/GraphDraggable.d.ts +14 -0
- package/build/service/global/draggable/index.d.ts +1 -0
- package/build/service/global/index.d.ts +2 -0
- package/build/service/global/scripts/index.d.ts +5 -0
- package/build/service/header/action/ExportProjectAction.d.ts +9 -0
- package/build/service/header/action/ExportSceneAction.d.ts +9 -0
- package/build/service/header/action/PreviewSceneAction.d.ts +14 -0
- package/build/service/header/action/index.d.ts +3 -0
- package/build/service/header/index.d.ts +1 -0
- package/build/service/index.d.ts +6 -0
- package/build/service/inspector/AnimationUnitViewer.vue.d.ts +7 -0
- package/build/service/inspector/DatasetInspector.vue.d.ts +7 -0
- package/build/service/inspector/DatasetViewer.vue.d.ts +7 -0
- package/build/service/inspector/DivViewer.vue.d.ts +7 -0
- package/build/service/inspector/DynamicViewer.vue.d.ts +7 -0
- package/build/service/inspector/EventsInspector.vue.d.ts +7 -0
- package/build/service/inspector/InteractionInspector.vue.d.ts +7 -0
- package/build/service/inspector/PrefabInstanceViewer.vue.d.ts +7 -0
- package/build/service/inspector/PrefabViewer.vue.d.ts +7 -0
- package/build/service/inspector/ServiceSchedulerViewer.vue.d.ts +7 -0
- package/build/service/inspector/ServiceViewer.vue.d.ts +7 -0
- package/build/service/inspector/StyleViewer.vue.d.ts +7 -0
- package/build/service/inspector/asset/AssetInspector.vue.d.ts +3 -0
- package/build/service/inspector/draggable/Draggable.d.ts +10 -0
- package/build/service/inspector/draggable/index.d.ts +1 -0
- package/build/service/inspector/index.d.ts +1 -0
- package/build/service/inspector/scene/SceneInspector.vue.d.ts +3 -0
- package/build/service/sidebar/asset/Asset.vue.d.ts +3 -0
- package/build/service/sidebar/asset/AssetItem.vue.d.ts +18 -0
- package/build/service/sidebar/asset/AssetNavigator.d.ts +28 -0
- package/build/service/sidebar/asset/action/AddNodeAction.d.ts +54 -0
- package/build/service/sidebar/asset/action/ControllerAction.d.ts +36 -0
- package/build/service/sidebar/asset/action/CopyAction.d.ts +14 -0
- package/build/service/sidebar/asset/action/CutAction.d.ts +14 -0
- package/build/service/sidebar/asset/action/DeleteAction.d.ts +15 -0
- package/build/service/sidebar/asset/action/RenameAction.d.ts +14 -0
- package/build/service/sidebar/asset/action/SaveAction.d.ts +14 -0
- package/build/service/sidebar/asset/action/StickupAction.d.ts +15 -0
- package/build/service/sidebar/asset/action/index.d.ts +8 -0
- package/build/service/sidebar/asset/draggable/Draggable.d.ts +14 -0
- package/build/service/sidebar/asset/draggable/index.d.ts +1 -0
- package/build/service/sidebar/asset/index.d.ts +3 -0
- package/build/service/sidebar/index.d.ts +2 -0
- package/build/service/sidebar/scene/Scene.vue.d.ts +3 -0
- package/build/service/sidebar/scene/SceneItem.vue.d.ts +18 -0
- package/build/service/sidebar/scene/SceneNavigator.d.ts +36 -0
- package/build/service/sidebar/scene/action/AddNodeAction.d.ts +54 -0
- package/build/service/sidebar/scene/action/AddServiceAction.d.ts +54 -0
- package/build/service/sidebar/scene/action/ControllerAction.d.ts +39 -0
- package/build/service/sidebar/scene/action/CopyAction.d.ts +14 -0
- package/build/service/sidebar/scene/action/CutAction.d.ts +14 -0
- package/build/service/sidebar/scene/action/DeleteAction.d.ts +15 -0
- package/build/service/sidebar/scene/action/RenameAction.d.ts +14 -0
- package/build/service/sidebar/scene/action/SaveAction.d.ts +14 -0
- package/build/service/sidebar/scene/action/StickupAction.d.ts +15 -0
- package/build/service/sidebar/scene/action/index.d.ts +9 -0
- package/build/service/sidebar/scene/draggable/Draggable.d.ts +14 -0
- package/build/service/sidebar/scene/draggable/index.d.ts +1 -0
- package/build/service/sidebar/scene/index.d.ts +3 -0
- package/build/singleton/index.d.ts +1 -0
- package/build/singleton/rightMenu.d.ts +10 -0
- package/package.json +25 -0
- package/src/shims-vue.d.ts +10 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
declare class CopyAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
validator(e: KeyboardEvent): boolean;
|
|
6
|
+
updateRightMenu(): void;
|
|
7
|
+
updateShortcutkey(): void;
|
|
8
|
+
update(): void;
|
|
9
|
+
executeRightMenu(dataService: DataService): void;
|
|
10
|
+
executeShortcutkey(dataService: DataService): void;
|
|
11
|
+
execute(): void;
|
|
12
|
+
}
|
|
13
|
+
export { CopyAction };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
declare class CutAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
validator(e: KeyboardEvent): boolean;
|
|
6
|
+
updateRightMenu(): void;
|
|
7
|
+
updateShortcutkey(): void;
|
|
8
|
+
update(): void;
|
|
9
|
+
executeRightMenu(dataService: DataService): void;
|
|
10
|
+
executeShortcutkey(dataService: DataService): void;
|
|
11
|
+
execute(): void;
|
|
12
|
+
}
|
|
13
|
+
export { CutAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
import { AssetService } from "@vyr/service-asset";
|
|
3
|
+
declare class DeleteAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
validator(e: KeyboardEvent): boolean;
|
|
7
|
+
updateRightMenu(): void;
|
|
8
|
+
updateShortcutkey(): void;
|
|
9
|
+
update(): void;
|
|
10
|
+
executeRightMenu(dataService: DataService, assetService: AssetService): void;
|
|
11
|
+
executeShortcutkey(dataService: DataService, assetService: AssetService): void;
|
|
12
|
+
execute(): void;
|
|
13
|
+
}
|
|
14
|
+
export { DeleteAction };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
import { VirtualNode } from '@vyr/service-rpc';
|
|
3
|
+
declare class EditFileAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
static handler(item: VirtualNode, dataService: DataService): void;
|
|
6
|
+
label: string;
|
|
7
|
+
validator(e: KeyboardEvent): boolean;
|
|
8
|
+
updateRightMenu(dataService: DataService): void;
|
|
9
|
+
updateShortcutkey(dataService: DataService): void;
|
|
10
|
+
update(): void;
|
|
11
|
+
executeRightMenu(dataService: DataService): void;
|
|
12
|
+
executeShortcutkey(dataService: DataService): void;
|
|
13
|
+
execute(): void;
|
|
14
|
+
}
|
|
15
|
+
export { EditFileAction };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
declare class RenameAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
validator(e: KeyboardEvent): boolean;
|
|
6
|
+
updateRightMenu(): false | undefined;
|
|
7
|
+
updateShortcutkey(): void;
|
|
8
|
+
update(): void;
|
|
9
|
+
executeRightMenu(dataService: DataService): void;
|
|
10
|
+
executeShortcutkey(dataService: DataService): void;
|
|
11
|
+
execute(): void;
|
|
12
|
+
}
|
|
13
|
+
export { RenameAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
import { VirtualNode } from '@vyr/service-rpc';
|
|
3
|
+
declare class SelectAllAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
show: boolean;
|
|
7
|
+
/**全选时若按住alt则进行反选操作 */
|
|
8
|
+
alt: boolean;
|
|
9
|
+
validator(e: KeyboardEvent): boolean;
|
|
10
|
+
update(): void;
|
|
11
|
+
includes(item: VirtualNode, dataService: DataService): boolean;
|
|
12
|
+
execute(): void;
|
|
13
|
+
}
|
|
14
|
+
export { SelectAllAction };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VirtualNode } from '@vyr/service-rpc';
|
|
2
|
+
import { AssetService } from '@vyr/service-asset';
|
|
3
|
+
import { Action, DataService } from '@vyr/runtime';
|
|
4
|
+
declare class StickupAction extends Action {
|
|
5
|
+
static id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
validator(e: KeyboardEvent): boolean;
|
|
8
|
+
disabledRule(mouseItem: VirtualNode, dataService: DataService): boolean;
|
|
9
|
+
updateRightMenu(): void;
|
|
10
|
+
updateShortcutkey(): void;
|
|
11
|
+
update(): void;
|
|
12
|
+
executeRightMenu(dataService: DataService, assetService: AssetService): void;
|
|
13
|
+
executeShortcutkey(dataService: DataService, assetService: AssetService): void;
|
|
14
|
+
execute(): void;
|
|
15
|
+
}
|
|
16
|
+
export { StickupAction };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './BackupAction';
|
|
2
|
+
export * from './ControllerAction';
|
|
3
|
+
export * from './AddDirAction';
|
|
4
|
+
export * from './CopyAction';
|
|
5
|
+
export * from './CutAction';
|
|
6
|
+
export * from './StickupAction';
|
|
7
|
+
export * from './DeleteAction';
|
|
8
|
+
export * from './RenameAction';
|
|
9
|
+
export * from './SelectAllAction';
|
|
10
|
+
export * from './EditFileAction';
|
|
11
|
+
export * from './AddMoreAction';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Draggable as _Draggable } from "@vyr/runtime";
|
|
2
|
+
import { DraggableData, DraggableEndType } from '@vyr/declare';
|
|
3
|
+
import { VirtualNode } from "@vyr/service-rpc";
|
|
4
|
+
declare class Draggable extends _Draggable<VirtualNode> {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
starter(dragData: VirtualNode): boolean;
|
|
7
|
+
validator(dragData: DraggableData<VirtualNode>, targetData: DraggableData<VirtualNode>): boolean;
|
|
8
|
+
finished(dragData: DraggableData<VirtualNode>, targetData: DraggableData<VirtualNode>, type: DraggableEndType): void;
|
|
9
|
+
}
|
|
10
|
+
export { Draggable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Draggable';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Action } from "@vyr/runtime";
|
|
2
|
+
import { VirtualNode } from "@vyr/service-rpc";
|
|
3
|
+
interface Controller {
|
|
4
|
+
expand: (item: VirtualNode, type?: boolean) => void;
|
|
5
|
+
change: (items: VirtualNode[]) => void;
|
|
6
|
+
search: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare class FooterAction extends Action {
|
|
9
|
+
static id: string;
|
|
10
|
+
controller: Controller;
|
|
11
|
+
label: string;
|
|
12
|
+
code: string;
|
|
13
|
+
setController(controller: Controller): void;
|
|
14
|
+
validator(e: KeyboardEvent): boolean;
|
|
15
|
+
update(): void;
|
|
16
|
+
execute(): void;
|
|
17
|
+
}
|
|
18
|
+
export { Controller, FooterAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, DataService } from '@vyr/runtime';
|
|
2
|
+
import { RpcService } from '@vyr/service-rpc';
|
|
3
|
+
declare class SidebarAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
code: string;
|
|
7
|
+
validator(e: KeyboardEvent): boolean;
|
|
8
|
+
update(): void;
|
|
9
|
+
selectSidebar(): void;
|
|
10
|
+
toggleSidebar(key: string, dataService: DataService, rpcService: RpcService): void;
|
|
11
|
+
selectRegion(): void;
|
|
12
|
+
execute(): void;
|
|
13
|
+
}
|
|
14
|
+
export { SidebarAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { RoutineNode } from '@vyr/engine';
|
|
3
|
+
import { DraggableData, DraggableEndType } from '@vyr/declare';
|
|
4
|
+
import { Draggable } from "@vyr/runtime";
|
|
5
|
+
import { VirtualAsset } from '@vyr/service-rpc';
|
|
6
|
+
declare class GraphDraggable extends Draggable<VirtualAsset> {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly current: Ref<RoutineNode | null, RoutineNode | null>;
|
|
9
|
+
constructor(current: Ref<RoutineNode | null>);
|
|
10
|
+
starter(dragData: VirtualAsset): boolean;
|
|
11
|
+
validator(dragData: DraggableData<VirtualAsset>, targetData: DraggableData): boolean;
|
|
12
|
+
finished(dragData: DraggableData<VirtualAsset>, targetData: DraggableData, type: DraggableEndType): void;
|
|
13
|
+
}
|
|
14
|
+
export { GraphDraggable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GraphDraggable';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action } from '@vyr/runtime';
|
|
2
|
+
declare class PreviewSceneAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
validator(): boolean;
|
|
6
|
+
update(): void;
|
|
7
|
+
execute(): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
declare class RealTimePreviewSceneAction extends PreviewSceneAction {
|
|
10
|
+
static id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
execute(): Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export { PreviewSceneAction, RealTimePreviewSceneAction };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as action from './action';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
raw: string;
|
|
3
|
+
uuid: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Draggable as _Draggable } from "@vyr/runtime";
|
|
2
|
+
import { DraggableData, DraggableEndType } from '@vyr/declare';
|
|
3
|
+
import { VirtualNode } from "@vyr/service-rpc";
|
|
4
|
+
declare class Draggable extends _Draggable<VirtualNode> {
|
|
5
|
+
readonly id: string;
|
|
6
|
+
starter(dragData: VirtualNode): boolean;
|
|
7
|
+
validator(dragData: DraggableData<VirtualNode>, targetData: DraggableData): boolean;
|
|
8
|
+
finished(dragData: DraggableData<VirtualNode>, targetData: DraggableData, type: DraggableEndType): void;
|
|
9
|
+
}
|
|
10
|
+
export { Draggable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Draggable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './draggable';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeOption } from '@vyr/design';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
data: {
|
|
4
|
+
default(): TreeOption;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
visible: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
data: {
|
|
10
|
+
default(): TreeOption;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{
|
|
13
|
+
onVisible?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
data: TreeOption;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DraggableData, DraggableEndType } from '@vyr/declare';
|
|
2
|
+
import { Descriptor, DeserializationObject } from "@vyr/engine";
|
|
3
|
+
import { Draggable, SidebarNavigator } from "@vyr/runtime";
|
|
4
|
+
import { Message, VirtualNode } from "@vyr/service-rpc";
|
|
5
|
+
import { Job } from "@vyr/remote";
|
|
6
|
+
declare class AssetNavigator extends SidebarNavigator {
|
|
7
|
+
static key: string;
|
|
8
|
+
visibilityMap: {
|
|
9
|
+
[k: string]: boolean;
|
|
10
|
+
};
|
|
11
|
+
constructor();
|
|
12
|
+
active(): void;
|
|
13
|
+
unactive(): void;
|
|
14
|
+
watchOpen(msg: InstanceType<typeof Message['asset']['open']['NoticeMessage']>): void;
|
|
15
|
+
watchClose(msg: InstanceType<typeof Message['asset']['close']['NoticeMessage']>): void;
|
|
16
|
+
changeAsset(cur: string): Promise<void>;
|
|
17
|
+
closeAsset(): Promise<void>;
|
|
18
|
+
selectRootNode(): void;
|
|
19
|
+
updateVisibilityMapBySearch(): {
|
|
20
|
+
[k: string]: boolean;
|
|
21
|
+
};
|
|
22
|
+
finishedWhereInspectorDraggable(draggable: Draggable, dragData: DraggableData<VirtualNode>, targetData: DraggableData, type: DraggableEndType): void;
|
|
23
|
+
ensureReadonlyWhereRoutine(client: string): boolean;
|
|
24
|
+
saveWhereRoutine(content: DeserializationObject<Descriptor>): void;
|
|
25
|
+
remoteTransformEvent(task: InstanceType<typeof Job['invoke']['transform']['Response']>): void;
|
|
26
|
+
remotePickEvent(task: InstanceType<typeof Job['invoke']['pick']['Response']>): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
export { AssetNavigator };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Descriptor } from "@vyr/engine";
|
|
2
|
+
import { Action } from "@vyr/runtime";
|
|
3
|
+
declare class AddNodeAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
static generate: (label: string, Class: typeof Descriptor) => {
|
|
6
|
+
label: string;
|
|
7
|
+
update(): void;
|
|
8
|
+
validator(): boolean;
|
|
9
|
+
execute(): void;
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly value: number;
|
|
12
|
+
order: number;
|
|
13
|
+
trigger: number;
|
|
14
|
+
show: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
children: Action[];
|
|
17
|
+
active(): boolean;
|
|
18
|
+
};
|
|
19
|
+
generate: (label: string, Class: typeof Descriptor) => {
|
|
20
|
+
label: string;
|
|
21
|
+
update(): void;
|
|
22
|
+
validator(): boolean;
|
|
23
|
+
execute(): void;
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly value: number;
|
|
26
|
+
order: number;
|
|
27
|
+
trigger: number;
|
|
28
|
+
show: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
children: Action[];
|
|
31
|
+
active(): boolean;
|
|
32
|
+
};
|
|
33
|
+
label: string;
|
|
34
|
+
order: number;
|
|
35
|
+
children: {
|
|
36
|
+
label: string;
|
|
37
|
+
update(): void;
|
|
38
|
+
validator(): boolean;
|
|
39
|
+
execute(): void;
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly value: number;
|
|
42
|
+
order: number;
|
|
43
|
+
trigger: number;
|
|
44
|
+
show: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
children: Action[];
|
|
47
|
+
active(): boolean;
|
|
48
|
+
}[];
|
|
49
|
+
active(): boolean;
|
|
50
|
+
update(): void;
|
|
51
|
+
validator(): boolean;
|
|
52
|
+
execute(): void;
|
|
53
|
+
}
|
|
54
|
+
export { AddNodeAction };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Descriptor } from '@vyr/engine';
|
|
2
|
+
import { Action, DataService } from '@vyr/runtime';
|
|
3
|
+
import { TreeOption } from '@vyr/design';
|
|
4
|
+
import { AssetService } from '@vyr/service-asset';
|
|
5
|
+
interface Controller {
|
|
6
|
+
expand: (item: Descriptor, type?: boolean) => void;
|
|
7
|
+
change: (items: Descriptor[]) => void;
|
|
8
|
+
search: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare class ControllerAction extends Action {
|
|
11
|
+
static id: string;
|
|
12
|
+
static options: string[];
|
|
13
|
+
controller: Controller;
|
|
14
|
+
label: string;
|
|
15
|
+
code: string;
|
|
16
|
+
setController(controller: Controller): void;
|
|
17
|
+
active(): boolean;
|
|
18
|
+
validator(e: KeyboardEvent): boolean;
|
|
19
|
+
update(): void;
|
|
20
|
+
private useCurrentSelectItem;
|
|
21
|
+
private getVisibleCollection;
|
|
22
|
+
private expand;
|
|
23
|
+
private enter;
|
|
24
|
+
private quit;
|
|
25
|
+
private moveup;
|
|
26
|
+
private movedown;
|
|
27
|
+
changeTransform(): void;
|
|
28
|
+
execute(): void;
|
|
29
|
+
changeTransformController(clean?: boolean): void;
|
|
30
|
+
changeAssetItem: (items: Descriptor[], dataService?: DataService) => void;
|
|
31
|
+
getAssetItemVisible: (item: TreeOption) => boolean;
|
|
32
|
+
addAssetItem: (name: string, item: Descriptor, assetService?: AssetService, dataService?: DataService) => void;
|
|
33
|
+
renameAssetItem: (name: string, item: Descriptor, assetService?: AssetService, dataService?: DataService) => void;
|
|
34
|
+
setAssetItemVisible: (item: Descriptor, assetService?: AssetService, dataService?: DataService) => void;
|
|
35
|
+
}
|
|
36
|
+
export { ControllerAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
declare class CopyAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
active(): boolean;
|
|
6
|
+
validator(e: KeyboardEvent): boolean;
|
|
7
|
+
updateRightMenu(): void;
|
|
8
|
+
updateShortcutkey(): void;
|
|
9
|
+
update(): void;
|
|
10
|
+
executeRightMenu(dataService: DataService): void;
|
|
11
|
+
executeShortcutkey(dataService: DataService): void;
|
|
12
|
+
execute(): void;
|
|
13
|
+
}
|
|
14
|
+
export { CopyAction };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
declare class CutAction extends Action {
|
|
3
|
+
static id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
active(): boolean;
|
|
6
|
+
validator(e: KeyboardEvent): boolean;
|
|
7
|
+
updateRightMenu(): void;
|
|
8
|
+
updateShortcutkey(): void;
|
|
9
|
+
update(): void;
|
|
10
|
+
executeRightMenu(dataService: DataService): void;
|
|
11
|
+
executeShortcutkey(dataService: DataService): void;
|
|
12
|
+
execute(): void;
|
|
13
|
+
}
|
|
14
|
+
export { CutAction };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Action, DataService } from "@vyr/runtime";
|
|
2
|
+
import { AssetService } from "@vyr/service-asset";
|
|
3
|
+
declare class DeleteAction extends Action {
|
|
4
|
+
static id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
active(): boolean;
|
|
7
|
+
validator(e: KeyboardEvent): boolean;
|
|
8
|
+
updateRightMenu(): void;
|
|
9
|
+
updateShortcutkey(): void;
|
|
10
|
+
update(): void;
|
|
11
|
+
executeRightMenu(dataService: DataService, assetService: AssetService): void;
|
|
12
|
+
executeShortcutkey(dataService: DataService, assetService: AssetService): void;
|
|
13
|
+
execute(): void;
|
|
14
|
+
}
|
|
15
|
+
export { DeleteAction };
|