@vyr/builtin 0.0.18 → 0.0.20
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/component/ExampleDialog.vue.d.ts +3 -0
- package/build/component/index.d.ts +2 -1
- package/build/locale/LanguageProvider.d.ts +9 -4
- package/build/service/global/draggable/Draggable.d.ts +10 -0
- package/build/service/global/draggable/index.d.ts +1 -0
- package/build/service/global/index.d.ts +1 -0
- package/build/service/header/action/MyExampleAction.d.ts +9 -0
- package/build/service/header/action/index.d.ts +1 -0
- package/build/service/sidebar/asset/AssetNavigator.d.ts +2 -2
- package/build/service/sidebar/scene/SceneNavigator.d.ts +5 -5
- package/build/service/sidebar/scene/draggable/Draggable.d.ts +5 -5
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -8,7 +8,8 @@ import VyrDirectory from './Directory.vue';
|
|
|
8
8
|
import VyrTimeline from './Timeline.vue';
|
|
9
9
|
import VyrWindowSetting from './WindowSetting.vue';
|
|
10
10
|
import VyrGraph from './Graph.vue';
|
|
11
|
+
import VyrExampleDialog from './ExampleDialog.vue';
|
|
11
12
|
import VyrCodeEditor from './CodeEditor.vue';
|
|
12
13
|
import ErrorComponent from './ErrorComponent.vue';
|
|
13
14
|
import LoadingComponent from './LoadingComponent.vue';
|
|
14
|
-
export { VyrRuleItem, VyrColorItem, VyrInteractionItem, VyrDatasetItem, VyrVariableItem, VyrInputItem, VyrDirectory, VyrTimeline, VyrWindowSetting, VyrGraph, VyrCodeEditor, ErrorComponent, LoadingComponent, };
|
|
15
|
+
export { VyrRuleItem, VyrColorItem, VyrInteractionItem, VyrDatasetItem, VyrVariableItem, VyrInputItem, VyrDirectory, VyrTimeline, VyrWindowSetting, VyrGraph, VyrExampleDialog, VyrCodeEditor, ErrorComponent, LoadingComponent, };
|
|
@@ -14,15 +14,19 @@ interface ZhCNLanguageProvider extends LanguageProvider {
|
|
|
14
14
|
'descriptor.type.HTMLService': string;
|
|
15
15
|
'descriptor.type.PrefabeInstance': string;
|
|
16
16
|
'descriptor.type.ServiceScheduler': string;
|
|
17
|
+
'example.action.add': string;
|
|
18
|
+
'example.action.name': string;
|
|
19
|
+
'example.action.tags': string;
|
|
20
|
+
'example.action.image': string;
|
|
21
|
+
'example.action.description': string;
|
|
22
|
+
'example.delete.confirm.message': string;
|
|
23
|
+
'example.nodata.message': string;
|
|
24
|
+
'example.search.placeholder': string;
|
|
17
25
|
'component.colorItem.type': string;
|
|
18
26
|
'component.colorItem.color': string;
|
|
19
27
|
'component.colorItem.index': string;
|
|
20
28
|
'component.colorItem.gradient': string;
|
|
21
29
|
'component.colorItem.center': string;
|
|
22
|
-
'dialog.action.example.add': string;
|
|
23
|
-
'dialog.action.example.name': string;
|
|
24
|
-
'dialog.action.example.image': string;
|
|
25
|
-
'dialog.action.example.description': string;
|
|
26
30
|
'component.interactionItem.url.placeholder': string;
|
|
27
31
|
'component.variableItem.value.placeholder': string;
|
|
28
32
|
'component.graph.label.placeholder': string;
|
|
@@ -205,6 +209,7 @@ interface ZhCNLanguageProvider extends LanguageProvider {
|
|
|
205
209
|
'header.action.exportScene.label': string;
|
|
206
210
|
'header.action.previewScene.label': string;
|
|
207
211
|
'header.action.realTimePreview.label': string;
|
|
212
|
+
'header.action.myExample.label': string;
|
|
208
213
|
'body.windowSetting.width': string;
|
|
209
214
|
'body.windowSetting.height': string;
|
|
210
215
|
'body.windowSetting.scale': string;
|
|
@@ -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';
|
|
@@ -4,11 +4,11 @@ import { Draggable, SidebarNavigator } from "@vyr/runtime";
|
|
|
4
4
|
import { Message, VirtualNode } from "@vyr/service-rpc";
|
|
5
5
|
import { Job } from "@vyr/remote";
|
|
6
6
|
declare class AssetNavigator extends SidebarNavigator {
|
|
7
|
-
|
|
7
|
+
key: string;
|
|
8
8
|
visibilityMap: {
|
|
9
9
|
[k: string]: boolean;
|
|
10
10
|
};
|
|
11
|
-
constructor();
|
|
11
|
+
constructor(key: string);
|
|
12
12
|
active(): void;
|
|
13
13
|
unactive(): void;
|
|
14
14
|
watchOpen(msg: InstanceType<typeof Message['asset']['open']['NoticeMessage']>): void;
|
|
@@ -5,19 +5,19 @@ import { Job } from "@vyr/remote";
|
|
|
5
5
|
import { Option } from "@vyr/design";
|
|
6
6
|
import { VirtualNode } from "@vyr/service-rpc";
|
|
7
7
|
declare class SceneNavigator extends SidebarNavigator {
|
|
8
|
-
|
|
8
|
+
key: string;
|
|
9
9
|
createSceneOption: {
|
|
10
10
|
label: string;
|
|
11
11
|
value: string;
|
|
12
12
|
};
|
|
13
|
+
visibilityMap: {
|
|
14
|
+
[k: string]: boolean;
|
|
15
|
+
};
|
|
13
16
|
sceneOptions: Option[];
|
|
14
17
|
addScene: boolean;
|
|
15
18
|
newSceneName: string;
|
|
16
19
|
currentScene: string;
|
|
17
|
-
|
|
18
|
-
[k: string]: boolean;
|
|
19
|
-
};
|
|
20
|
-
constructor();
|
|
20
|
+
constructor(key: string);
|
|
21
21
|
active(): void;
|
|
22
22
|
unactive(): void;
|
|
23
23
|
private _updateScenes;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DraggableData, DraggableEndType } from '@vyr/declare';
|
|
2
2
|
import { Draggable as _Draggable } from "@vyr/runtime";
|
|
3
3
|
import { Descriptor } from "@vyr/engine";
|
|
4
|
-
import { VirtualNode } from "@vyr/service-rpc";
|
|
4
|
+
import { ExampleVO, VirtualNode } from "@vyr/service-rpc";
|
|
5
5
|
declare class Draggable extends _Draggable<Descriptor> {
|
|
6
6
|
readonly id: string;
|
|
7
|
-
isVirtualNode(dragData: DraggableData<Descriptor | VirtualNode>): dragData is DraggableData<VirtualNode>;
|
|
7
|
+
isVirtualNode(dragData: DraggableData<Descriptor | VirtualNode | ExampleVO>): dragData is DraggableData<VirtualNode>;
|
|
8
8
|
starter(dragData: Descriptor): boolean;
|
|
9
|
-
validator(dragData: DraggableData<Descriptor | VirtualNode>, targetData: DraggableData<Descriptor>): boolean;
|
|
10
|
-
limit(dragData: DraggableData<Descriptor | VirtualNode>, targetData: DraggableData<Descriptor>, type: DraggableEndType): DraggableEndType;
|
|
11
|
-
finished(dragData: DraggableData<Descriptor | VirtualNode>, targetData: DraggableData<Descriptor>, type: DraggableEndType): void
|
|
9
|
+
validator(dragData: DraggableData<Descriptor | VirtualNode | ExampleVO>, targetData: DraggableData<Descriptor>): boolean;
|
|
10
|
+
limit(dragData: DraggableData<Descriptor | VirtualNode | ExampleVO>, targetData: DraggableData<Descriptor>, type: DraggableEndType): DraggableEndType;
|
|
11
|
+
finished(dragData: DraggableData<Descriptor | VirtualNode | ExampleVO>, targetData: DraggableData<Descriptor>, type: DraggableEndType): Promise<void>;
|
|
12
12
|
prefab(dragData: DraggableData<VirtualNode>, targetData: DraggableData<Descriptor>): Promise<void>;
|
|
13
13
|
}
|
|
14
14
|
export { Draggable };
|