@vyr/builtin 0.0.32 → 0.0.35

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.
Files changed (95) hide show
  1. package/build/common/file.d.ts +3 -0
  2. package/build/common/index.d.ts +1 -1
  3. package/build/component/CodeEditor.vue.d.ts +8 -4
  4. package/build/component/Directory.vue.d.ts +1 -1
  5. package/build/component/Graph.vue.d.ts +6 -6
  6. package/build/component/InteractionItem.vue.d.ts +1 -0
  7. package/build/component/WindowSetting.vue.d.ts +5 -1
  8. package/build/component/index.d.ts +150 -16
  9. package/build/index.d.ts +1 -3
  10. package/build/locale/LanguageProvider.d.ts +21 -233
  11. package/build/option/index.d.ts +0 -4
  12. package/build/service/footer/action/ControllerAction.d.ts +5 -5
  13. package/build/service/footer/action/EditFileAction.d.ts +1 -1
  14. package/build/service/footer/action/SelectAllAction.d.ts +1 -1
  15. package/build/service/footer/action/StickupAction.d.ts +0 -2
  16. package/build/service/footer/action/index.d.ts +0 -1
  17. package/build/service/footer/draggable/Draggable.d.ts +1 -1
  18. package/build/service/global/action/FooterAction.d.ts +4 -10
  19. package/build/service/global/action/SidebarAction.d.ts +1 -2
  20. package/build/service/global/draggable/Draggable.d.ts +1 -1
  21. package/build/service/{footer/action/BackupAction.d.ts → global/group/DeletePrefabAction.d.ts} +3 -4
  22. package/build/service/global/group/DwonloadPrefabAction.d.ts +9 -0
  23. package/build/service/global/group/index.d.ts +3 -0
  24. package/build/service/global/index.d.ts +2 -1
  25. package/build/service/global/smarts/descriptor.d.ts +3 -0
  26. package/build/service/global/smarts/index.d.ts +5 -0
  27. package/build/service/header/action/{ImportExampleAction.d.ts → ImportPrefabAction.d.ts} +3 -3
  28. package/build/service/header/action/index.d.ts +1 -2
  29. package/build/service/inspector/draggable/Draggable.d.ts +1 -1
  30. package/build/service/sidebar/{asset/action → action}/AddNodeAction.d.ts +0 -1
  31. package/build/service/sidebar/{scene/action → action}/AddServiceAction.d.ts +0 -1
  32. package/build/service/sidebar/{asset/action → action}/ControllerAction.d.ts +4 -12
  33. package/build/service/sidebar/{asset/action → action}/CopyAction.d.ts +0 -1
  34. package/build/service/sidebar/{scene/action → action}/CutAction.d.ts +0 -1
  35. package/build/service/sidebar/{asset/action → action}/DeleteAction.d.ts +0 -1
  36. package/build/service/sidebar/{scene/action → action}/RenameAction.d.ts +0 -1
  37. package/build/service/sidebar/{asset/action → action}/SaveAction.d.ts +0 -1
  38. package/build/service/sidebar/{asset/action → action}/StickupAction.d.ts +0 -1
  39. package/build/service/sidebar/draggable/Draggable.d.ts +13 -0
  40. package/build/service/sidebar/index.d.ts +2 -2
  41. package/package.json +1 -1
  42. package/build/common/example.d.ts +0 -5
  43. package/build/component/ColorItem.vue.d.ts +0 -27
  44. package/build/component/DatasetItem.vue.d.ts +0 -15
  45. package/build/component/InputItem.vue.d.ts +0 -19
  46. package/build/component/RuleItem.vue.d.ts +0 -12
  47. package/build/fragment/DynamicFragment.vue.d.ts +0 -3
  48. package/build/fragment/HTMLFragment.vue.d.ts +0 -16
  49. package/build/fragment/PrefabFragment.vue.d.ts +0 -3
  50. package/build/fragment/PrefabInstanceFragment.vue.d.ts +0 -3
  51. package/build/fragment/SchedulerFragment.vue.d.ts +0 -3
  52. package/build/fragment/StyleFragment.vue.d.ts +0 -8
  53. package/build/option/Dynamic.d.ts +0 -5
  54. package/build/option/HTML.d.ts +0 -41
  55. package/build/option/Preset.d.ts +0 -8
  56. package/build/option/Style.d.ts +0 -76
  57. package/build/preset/graphics.d.ts +0 -8
  58. package/build/preset/index.d.ts +0 -3
  59. package/build/preset/scheduler.d.ts +0 -8
  60. package/build/service/global/scripts/index.d.ts +0 -3
  61. package/build/service/header/action/MyExampleAction.d.ts +0 -9
  62. package/build/service/inspector/StyleViewer.vue.d.ts +0 -7
  63. package/build/service/inspector/scene/SceneInspector.vue.d.ts +0 -3
  64. package/build/service/sidebar/asset/AssetNavigator.d.ts +0 -28
  65. package/build/service/sidebar/asset/action/CutAction.d.ts +0 -14
  66. package/build/service/sidebar/asset/action/RenameAction.d.ts +0 -14
  67. package/build/service/sidebar/asset/action/index.d.ts +0 -8
  68. package/build/service/sidebar/asset/draggable/Draggable.d.ts +0 -14
  69. package/build/service/sidebar/asset/index.d.ts +0 -3
  70. package/build/service/sidebar/scene/Scene.vue.d.ts +0 -3
  71. package/build/service/sidebar/scene/SceneItem.vue.d.ts +0 -18
  72. package/build/service/sidebar/scene/SceneNavigator.d.ts +0 -36
  73. package/build/service/sidebar/scene/action/AddNodeAction.d.ts +0 -54
  74. package/build/service/sidebar/scene/action/ControllerAction.d.ts +0 -39
  75. package/build/service/sidebar/scene/action/CopyAction.d.ts +0 -14
  76. package/build/service/sidebar/scene/action/DeleteAction.d.ts +0 -15
  77. package/build/service/sidebar/scene/action/SaveAction.d.ts +0 -14
  78. package/build/service/sidebar/scene/action/StickupAction.d.ts +0 -15
  79. package/build/service/sidebar/scene/draggable/Draggable.d.ts +0 -14
  80. package/build/service/sidebar/scene/draggable/index.d.ts +0 -1
  81. package/build/service/sidebar/scene/index.d.ts +0 -3
  82. package/build/fragment/{InteractionInspectorFragment.vue.d.ts → InteractionFragment.vue.d.ts} +0 -0
  83. package/build/{component/ExampleDialog.vue.d.ts → fragment/SceneFragment.vue.d.ts} +0 -0
  84. package/build/fragment/{DatasetInspectorFragment.vue.d.ts → StoreFragment.vue.d.ts} +0 -0
  85. package/build/service/inspector/{DatasetInspector.vue.d.ts → InputViewer.vue.d.ts} +0 -0
  86. package/build/service/inspector/{DatasetViewer.vue.d.ts → JsonInspector.vue.d.ts} +0 -0
  87. package/build/service/inspector/{DynamicViewer.vue.d.ts → SceneViewer.vue.d.ts} +0 -0
  88. package/build/service/inspector/{PrefabInstanceViewer.vue.d.ts → StoreInspector.vue.d.ts} +0 -0
  89. package/build/service/inspector/{PrefabViewer.vue.d.ts → StoreViewer.vue.d.ts} +0 -0
  90. package/build/service/inspector/{ServiceSchedulerViewer.vue.d.ts → TextViewer.vue.d.ts} +0 -0
  91. package/build/service/sidebar/{asset/Asset.vue.d.ts → Asset.vue.d.ts} +0 -0
  92. package/build/service/sidebar/{asset/AssetItem.vue.d.ts → AssetItem.vue.d.ts} +0 -0
  93. package/build/{fragment/DatasetFragment.vue.d.ts → service/sidebar/Prefab.vue.d.ts} +0 -0
  94. package/build/service/sidebar/{scene/action → action}/index.d.ts +1 -1
  95. /package/build/service/sidebar/{asset/draggable → draggable}/index.d.ts +0 -0
@@ -1,14 +0,0 @@
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 };
@@ -1,14 +0,0 @@
1
- import { Action, DataService } from "@vyr/runtime";
2
- declare class RenameAction 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 { RenameAction };
@@ -1,8 +0,0 @@
1
- export * from './ControllerAction';
2
- export * from './AddNodeAction';
3
- export * from './SaveAction';
4
- export * from './CopyAction';
5
- export * from './CutAction';
6
- export * from './StickupAction';
7
- export * from './DeleteAction';
8
- export * from './RenameAction';
@@ -1,14 +0,0 @@
1
- import { DraggableData, DraggableEndType } from '@vyr/declare';
2
- import { Draggable as _Draggable } from "@vyr/runtime";
3
- import { Descriptor } from "@vyr/engine";
4
- import { VirtualNode } from "@vyr/service-rpc";
5
- declare class Draggable extends _Draggable<Descriptor> {
6
- readonly id: string;
7
- isVirtualNode(dragData: DraggableData<Descriptor | VirtualNode>): dragData is DraggableData<VirtualNode>;
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;
12
- prefab(dragData: DraggableData<VirtualNode>, targetData: DraggableData<Descriptor>): Promise<void>;
13
- }
14
- export { Draggable };
@@ -1,3 +0,0 @@
1
- export * as action from './action';
2
- export * as draggable from './draggable';
3
- export * from './AssetNavigator';
@@ -1,3 +0,0 @@
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;
@@ -1,18 +0,0 @@
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;
@@ -1,36 +0,0 @@
1
- import { DraggableData, DraggableEndType } from '@vyr/declare';
2
- import { Descriptor, DeserializationObject } from "@vyr/engine";
3
- import { Draggable, SidebarNavigator } from "@vyr/runtime";
4
- import { Job } from "@vyr/remote";
5
- import { Option } from "@vyr/design";
6
- import { VirtualNode } from "@vyr/service-rpc";
7
- declare class SceneNavigator extends SidebarNavigator {
8
- key: string;
9
- createSceneOption: {
10
- label: string;
11
- value: string;
12
- };
13
- visibilityMap: {
14
- [k: string]: boolean;
15
- };
16
- sceneOptions: Option[];
17
- addScene: boolean;
18
- newSceneName: string;
19
- currentScene: string;
20
- constructor(key: string);
21
- active(): void;
22
- unactive(): void;
23
- private _updateScenes;
24
- selectRootNode(): Promise<void>;
25
- createScene(): Promise<void>;
26
- deleteScene(index: number): Promise<void>;
27
- updateVisibilityMapBySearch(): {
28
- [k: string]: boolean;
29
- };
30
- finishedWhereInspectorDraggable(draggable: Draggable, dragData: DraggableData<VirtualNode>, targetData: DraggableData, type: DraggableEndType): void;
31
- ensureReadonlyWhereInteraction(client: string): boolean;
32
- saveWhereInteraction(content: DeserializationObject<Descriptor>): void;
33
- remoteTransformEvent(task: InstanceType<typeof Job['invoke']['transform']['Response']>): void;
34
- remotePickEvent(task: InstanceType<typeof Job['invoke']['pick']['Response']>): Promise<void>;
35
- }
36
- export { SceneNavigator };
@@ -1,54 +0,0 @@
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 };
@@ -1,39 +0,0 @@
1
- import { Descriptor } from '@vyr/engine';
2
- import { Action, DataService } from '@vyr/runtime';
3
- import { TreeOption } from '@vyr/design';
4
- import { SceneService } from '@vyr/service-scene';
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
- createScene: (name: string, sceneService?: SceneService) => void;
31
- deleteScene: (url: string, sceneService?: SceneService) => void;
32
- changeScene: (url: string, sceneService?: SceneService) => void;
33
- changeSceneItem: (items: Descriptor[], sceneService?: SceneService, dataService?: DataService) => void;
34
- getSceneItemVisible: (item: TreeOption) => boolean;
35
- addSceneItem: (name: string, item: Descriptor, sceneService?: SceneService, dataService?: DataService) => void;
36
- renameSceneItem: (name: string, item: Descriptor, sceneService?: SceneService, dataService?: DataService) => void;
37
- setSceneItemVisible: (item: Descriptor, sceneService?: SceneService) => void;
38
- }
39
- export { ControllerAction };
@@ -1,14 +0,0 @@
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 };
@@ -1,15 +0,0 @@
1
- import { Action, DataService } from "@vyr/runtime";
2
- import { SceneService } from "@vyr/service-scene";
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, sceneService: SceneService): void;
12
- executeShortcutkey(dataService: DataService, sceneService: SceneService): void;
13
- execute(): void;
14
- }
15
- export { DeleteAction };
@@ -1,14 +0,0 @@
1
- import { Action, DataService } from "@vyr/runtime";
2
- declare class SaveAction 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 { SaveAction };
@@ -1,15 +0,0 @@
1
- import { Action, DataService } from "@vyr/runtime";
2
- import { SceneService } from "@vyr/service-scene";
3
- declare class StickupAction 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, sceneService: SceneService): void;
12
- executeShortcutkey(dataService: DataService, sceneService: SceneService): void;
13
- execute(): void;
14
- }
15
- export { StickupAction };
@@ -1,14 +0,0 @@
1
- import { DraggableData, DraggableEndType } from '@vyr/declare';
2
- import { Draggable as _Draggable } from "@vyr/runtime";
3
- import { Descriptor } from "@vyr/engine";
4
- import { ExampleVO, VirtualNode } from "@vyr/service-rpc";
5
- declare class Draggable extends _Draggable<Descriptor> {
6
- readonly id: string;
7
- isVirtualNode(dragData: DraggableData<Descriptor | VirtualNode | ExampleVO>): dragData is DraggableData<VirtualNode>;
8
- starter(dragData: Descriptor): boolean;
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
- prefab(dragData: DraggableData<VirtualNode>, targetData: DraggableData<Descriptor>): Promise<void>;
13
- }
14
- export { Draggable };
@@ -1 +0,0 @@
1
- export * from './Draggable';
@@ -1,3 +0,0 @@
1
- export * as action from './action';
2
- export * as draggable from './draggable';
3
- export * from './SceneNavigator';
@@ -1,6 +1,6 @@
1
1
  export * from './ControllerAction';
2
- export * from './AddServiceAction';
3
2
  export * from './AddNodeAction';
3
+ export * from './AddServiceAction';
4
4
  export * from './SaveAction';
5
5
  export * from './CopyAction';
6
6
  export * from './CutAction';