@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
@@ -0,0 +1,3 @@
1
+ export declare const createFileByBase64: (data: {
2
+ base64: string;
3
+ }) => Blob;
@@ -1,3 +1,3 @@
1
1
  export * from './provider';
2
+ export * from './file';
2
3
  export * from './save';
3
- export * from './example';
@@ -1,12 +1,16 @@
1
1
  type __VLS_Props = {
2
2
  language: 'json' | 'sql' | 'plaintext';
3
- content: string;
3
+ modelValue: string;
4
4
  readonly: boolean;
5
5
  };
6
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- change: (...args: any[]) => void;
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
7
+ getValue(): string;
8
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (...args: any[]) => void;
10
+ save: (...args: any[]) => void;
8
11
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onChange?: ((...args: any[]) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
13
+ onSave?: ((...args: any[]) => any) | undefined;
10
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
15
  declare const _default: typeof __VLS_export;
12
16
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VirtualNode } from '@vyr/service-rpc';
1
+ import { VirtualNode } from '@vyr/service-gateway';
2
2
  declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  data: {
4
4
  default(): VirtualNode[];
@@ -1,15 +1,15 @@
1
1
  import { Draggable } from '@vyr/design';
2
- import { DeserializationObject, InteractionDescriptor } from '@vyr/engine';
3
- interface Props {
4
- interaction: DeserializationObject<InteractionDescriptor>;
2
+ import { DeserializationObject, Interaction } from '@vyr/engine';
3
+ type __VLS_Props = {
4
+ interaction: DeserializationObject<Interaction>;
5
5
  readonly?: boolean;
6
6
  inputReadonly?: boolean;
7
7
  addable?: boolean;
8
8
  draggable?: Draggable;
9
- }
10
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ };
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  change: (...args: any[]) => void;
12
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
13
  onChange?: ((...args: any[]) => any) | undefined;
14
14
  }>, {
15
15
  readonly: boolean;
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  data: Option;
5
5
  index: number;
6
6
  selectOptions: Option[];
7
+ interactionOptions: Option[];
7
8
  draggable: Draggable;
8
9
  };
9
10
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1,3 +1,7 @@
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>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ change: (...args: any[]) => void;
3
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
4
+ onChange?: ((...args: any[]) => any) | undefined;
5
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
6
  declare const _default: typeof __VLS_export;
3
7
  export default _default;
@@ -1,16 +1,150 @@
1
- import VyrRuleItem from './RuleItem.vue';
2
- import VyrColorItem from './ColorItem.vue';
3
- import VyrInteractionItem from './InteractionItem.vue';
4
- import VyrDatasetItem from './DatasetItem.vue';
5
- import VyrVariableItem from './VariableItem.vue';
6
- import VyrInputItem from './InputItem.vue';
7
- import VyrDirectory from './Directory.vue';
8
- import VyrTimeline from './Timeline.vue';
9
- import VyrWindowSetting from './WindowSetting.vue';
10
- import VyrGraph from './Graph.vue';
11
- import VyrExampleDialog from './ExampleDialog.vue';
12
- import VyrCodeEditor from './CodeEditor.vue';
13
- import VyrHeaderSearch from './HeaderSearch.vue';
14
- import ErrorComponent from './ErrorComponent.vue';
15
- import LoadingComponent from './LoadingComponent.vue';
16
- export { VyrRuleItem, VyrColorItem, VyrInteractionItem, VyrDatasetItem, VyrVariableItem, VyrInputItem, VyrDirectory, VyrTimeline, VyrWindowSetting, VyrGraph, VyrExampleDialog, VyrCodeEditor, VyrHeaderSearch, ErrorComponent, LoadingComponent, };
1
+ declare const VyrInteractionItem: import("vue").DefineComponent<{
2
+ data: import("@vyr/design").Option;
3
+ index: number;
4
+ selectOptions: import("@vyr/design").Option[];
5
+ interactionOptions: import("@vyr/design").Option[];
6
+ draggable: import("@vyr/runtime").Draggable;
7
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ change: (...args: any[]) => void;
9
+ setting: (...args: any[]) => void;
10
+ setUrl: (...args: any[]) => void;
11
+ }, string, import("vue").PublicProps, Readonly<{
12
+ data: import("@vyr/design").Option;
13
+ index: number;
14
+ selectOptions: import("@vyr/design").Option[];
15
+ interactionOptions: import("@vyr/design").Option[];
16
+ draggable: import("@vyr/runtime").Draggable;
17
+ }> & Readonly<{
18
+ onChange?: ((...args: any[]) => any) | undefined;
19
+ onSetting?: ((...args: any[]) => any) | undefined;
20
+ onSetUrl?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const VyrVariableItem: import("vue").DefineComponent<{
23
+ data: import("@vyr/design").Option;
24
+ typeOptions: import("@vyr/design").Option[];
25
+ selectOptions: import("@vyr/design").Option[];
26
+ getter: Partial<import("@vyr/design").DataGetter>;
27
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ change: (...args: any[]) => void;
29
+ }, string, import("vue").PublicProps, Readonly<{
30
+ data: import("@vyr/design").Option;
31
+ typeOptions: import("@vyr/design").Option[];
32
+ selectOptions: import("@vyr/design").Option[];
33
+ getter: Partial<import("@vyr/design").DataGetter>;
34
+ }> & Readonly<{
35
+ onChange?: ((...args: any[]) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
+ declare const VyrDirectory: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
38
+ data: {
39
+ default(): import("@vyr/gateway").VirtualNode[];
40
+ };
41
+ active: {
42
+ default(): (item: import("@vyr/gateway").VirtualNode) => boolean;
43
+ };
44
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
+ click: (...args: any[]) => void;
46
+ mousedown: (...args: any[]) => void;
47
+ rightClick: (...args: any[]) => void;
48
+ doubleClick: (...args: any[]) => void;
49
+ changeName: (...args: any[]) => void;
50
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
51
+ data: {
52
+ default(): import("@vyr/gateway").VirtualNode[];
53
+ };
54
+ active: {
55
+ default(): (item: import("@vyr/gateway").VirtualNode) => boolean;
56
+ };
57
+ }>> & Readonly<{
58
+ onClick?: ((...args: any[]) => any) | undefined;
59
+ onMousedown?: ((...args: any[]) => any) | undefined;
60
+ onRightClick?: ((...args: any[]) => any) | undefined;
61
+ onDoubleClick?: ((...args: any[]) => any) | undefined;
62
+ onChangeName?: ((...args: any[]) => any) | undefined;
63
+ }>, {
64
+ data: import("@vyr/gateway").VirtualNode[];
65
+ active: (item: import("@vyr/gateway").VirtualNode) => boolean;
66
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
67
+ declare const VyrTimeline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ updateTime: (...args: any[]) => void;
69
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
70
+ onUpdateTime?: ((...args: any[]) => any) | undefined;
71
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
+ declare const VyrWindowSetting: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ change: (...args: any[]) => void;
74
+ }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
75
+ onChange?: ((...args: any[]) => any) | undefined;
76
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
+ declare const VyrGraph: import("vue").DefineComponent<{
78
+ interaction: import("@vyr/engine").DeserializationObject<import("@vyr/engine").Interaction>;
79
+ readonly?: boolean;
80
+ inputReadonly?: boolean;
81
+ addable?: boolean;
82
+ draggable?: import("@vyr/design").Draggable;
83
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
+ change: (...args: any[]) => void;
85
+ }, string, import("vue").PublicProps, Readonly<{
86
+ interaction: import("@vyr/engine").DeserializationObject<import("@vyr/engine").Interaction>;
87
+ readonly?: boolean;
88
+ inputReadonly?: boolean;
89
+ addable?: boolean;
90
+ draggable?: import("@vyr/design").Draggable;
91
+ }> & Readonly<{
92
+ onChange?: ((...args: any[]) => any) | undefined;
93
+ }>, {
94
+ readonly: boolean;
95
+ addable: boolean;
96
+ inputReadonly: boolean;
97
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
98
+ declare const VyrCodeEditor: import("vue").DefineComponent<{
99
+ language: "json" | "sql" | "plaintext";
100
+ modelValue: string;
101
+ readonly: boolean;
102
+ }, {
103
+ getValue(): string;
104
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
105
+ "update:modelValue": (...args: any[]) => void;
106
+ save: (...args: any[]) => void;
107
+ }, string, import("vue").PublicProps, Readonly<{
108
+ language: "json" | "sql" | "plaintext";
109
+ modelValue: string;
110
+ readonly: boolean;
111
+ }> & Readonly<{
112
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
+ onSave?: ((...args: any[]) => any) | undefined;
114
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
115
+ declare const VyrHeaderSearch: import("vue").DefineComponent<{
116
+ modelValue: any;
117
+ placeholder: string;
118
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
119
+ search: (...args: any[]) => void;
120
+ "update:modelValue": (...args: any[]) => void;
121
+ }, string, import("vue").PublicProps, Readonly<{
122
+ modelValue: any;
123
+ placeholder: string;
124
+ }> & Readonly<{
125
+ onSearch?: ((...args: any[]) => any) | undefined;
126
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
127
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
128
+ declare const ErrorComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
129
+ tips: {
130
+ default: string;
131
+ };
132
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
133
+ tips: {
134
+ default: string;
135
+ };
136
+ }>> & Readonly<{}>, {
137
+ tips: string;
138
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
139
+ declare const LoadingComponent: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
140
+ tips: {
141
+ default: string;
142
+ };
143
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
144
+ tips: {
145
+ default: string;
146
+ };
147
+ }>> & Readonly<{}>, {
148
+ tips: string;
149
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
150
+ export { VyrInteractionItem, VyrVariableItem, VyrDirectory, VyrTimeline, VyrWindowSetting, VyrGraph, VyrCodeEditor, VyrHeaderSearch, ErrorComponent, LoadingComponent, };
package/build/index.d.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  import BaseFragment from './fragment/BaseFragment.vue';
2
- import HTMLFragment from './fragment/HTMLFragment.vue';
3
2
  export * from './locale';
4
3
  export * as option from './option';
5
- export * from './preset';
6
4
  export * from './common';
7
5
  export * from './component';
8
6
  export * from './singleton';
9
7
  export * from './service';
10
- export { BaseFragment, HTMLFragment };
8
+ export { BaseFragment };
@@ -2,26 +2,14 @@ import { LanguageProvider } from '@vyr/locale';
2
2
  interface ZhCNLanguageProvider extends LanguageProvider {
3
3
  'fetch.type': string;
4
4
  'descriptor.type.TS': string;
5
- 'descriptor.type.Style': string;
6
- 'descriptor.type.Dataset': string;
5
+ 'descriptor.type.Scene': string;
6
+ 'descriptor.type.Store': string;
7
7
  'descriptor.type.Interaction': string;
8
- 'descriptor.type.Prefabe': string;
9
- 'descriptor.type.Prefabe.scene': string;
10
- 'descriptor.type.Prefabe.html': string;
11
- 'descriptor.type.Dynamic': string;
12
8
  'descriptor.type.Div': string;
9
+ 'descriptor.type.Input': string;
10
+ 'descriptor.type.Text': string;
13
11
  'descriptor.type.AnimationUnit': string;
14
12
  'descriptor.type.HTMLService': string;
15
- 'descriptor.type.PrefabeInstance': string;
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;
25
13
  'component.colorItem.type': string;
26
14
  'component.colorItem.color': string;
27
15
  'component.colorItem.index': string;
@@ -30,9 +18,8 @@ interface ZhCNLanguageProvider extends LanguageProvider {
30
18
  'component.interactionItem.url.placeholder': string;
31
19
  'component.variableItem.value.placeholder': string;
32
20
  'component.graph.label.placeholder': string;
33
- 'component.graph.url.placeholder': string;
21
+ 'component.graph.script.placeholder': string;
34
22
  'component.graph.input': string;
35
- 'component.graph.add': string;
36
23
  'component.errorComponent.tips': string;
37
24
  'component.loadingComponent.tips': string;
38
25
  'option.fetch.type.GET': string;
@@ -44,97 +31,6 @@ interface ZhCNLanguageProvider extends LanguageProvider {
44
31
  'option.color.type.default': string;
45
32
  'option.color.type.linear': string;
46
33
  'option.color.type.radial': string;
47
- 'option.Style.cursor.default': string;
48
- 'option.Style.cursor.pointer': string;
49
- 'option.Style.cursor.move': string;
50
- 'option.Style.cursor.progress': string;
51
- 'option.Style.cursor.wait': string;
52
- 'option.Style.cursor.help': string;
53
- 'option.Style.cursor.not-allowed': string;
54
- 'option.Style.box-sizing.border-box': string;
55
- 'option.Style.box-sizing.content-box': string;
56
- 'option.Style.overflow.visible': string;
57
- 'option.Style.overflow.hidden': string;
58
- 'option.Style.overflow.scroll': string;
59
- 'option.Style.overflow.auto': string;
60
- 'option.Style.vertical-align.top': string;
61
- 'option.Style.vertical-align.middle': string;
62
- 'option.Style.vertical-align.bottom': string;
63
- 'option.Style.vertical-align.baseline': string;
64
- 'option.Style.vertical-align.text-top': string;
65
- 'option.Style.vertical-align.text-bottom': string;
66
- 'option.Style.vertical-align.sub': string;
67
- 'option.Style.vertical-align.super': string;
68
- 'option.Style.background-repeat.repeat': string;
69
- 'option.Style.background-repeat.no-repeat': string;
70
- 'option.Style.background-repeat.repeat-x': string;
71
- 'option.Style.background-repeat.repeat-y': string;
72
- 'option.Style.background-repeat.round': string;
73
- 'option.Style.background-repeat.space': string;
74
- 'option.Style.backgroundBlendMode.normal': string;
75
- 'option.Style.backgroundBlendMode.multiply': string;
76
- 'option.Style.backgroundBlendMode.darken': string;
77
- 'option.Style.backgroundBlendMode.screen': string;
78
- 'option.Style.backgroundBlendMode.lighten': string;
79
- 'option.Style.backgroundBlendMode.overlay': string;
80
- 'option.Style.backgroundBlendMode.hard-light': string;
81
- 'option.Style.backgroundBlendMode.soft-light': string;
82
- 'option.Style.backgroundBlendMode.difference': string;
83
- 'option.Style.backgroundBlendMode.exclusion': string;
84
- 'option.Style.backgroundBlendMode.hue': string;
85
- 'option.Style.backgroundBlendMode.saturation': string;
86
- 'option.Style.backgroundBlendMode.color': string;
87
- 'option.Style.backgroundBlendMode.luminosity': string;
88
- 'option.Style.backgroundBlendMode.color-dodge': string;
89
- 'option.Style.backgroundBlendMode.color-burn': string;
90
- 'option.Style.background-clip.border-box': string;
91
- 'option.Style.background-clip.padding-box': string;
92
- 'option.Style.background-clip.content-box': string;
93
- 'option.Style.background-clip.text': string;
94
- 'option.Style.inset.true': string;
95
- 'option.Style.inset.false': string;
96
- 'option.Style.border-style.solid': string;
97
- 'option.Style.border-style.dashed': string;
98
- 'option.Style.border-style.dotted': string;
99
- 'option.Style.border-style.double': string;
100
- 'option.Style.border-style.groove': string;
101
- 'option.Style.border-style.ridge': string;
102
- 'option.Style.border-style.inset': string;
103
- 'option.Style.border-style.outset': string;
104
- 'option.Style.border-style.none': string;
105
- 'option.Style.border-style.hidden': string;
106
- 'option.Style.font-weight.normal': string;
107
- 'option.Style.font-weight.bold': string;
108
- 'option.Style.font-weight.bolder': string;
109
- 'option.Style.font-weight.lighter': string;
110
- 'option.Style.font-weight.100': string;
111
- 'option.Style.font-weight.200': string;
112
- 'option.Style.font-weight.300': string;
113
- 'option.Style.font-weight.400': string;
114
- 'option.Style.font-weight.500': string;
115
- 'option.Style.font-weight.600': string;
116
- 'option.Style.font-weight.700': string;
117
- 'option.Style.font-weight.800': string;
118
- 'option.Style.font-weight.900': string;
119
- 'option.Style.font-style.normal': string;
120
- 'option.Style.font-style.italic': string;
121
- 'option.Style.font-style.oblique': string;
122
- 'option.Style.text-align.left': string;
123
- 'option.Style.text-align.center': string;
124
- 'option.Style.text-align.right': string;
125
- 'option.Style.text-align.justify': string;
126
- 'option.Style.white-space.normal': string;
127
- 'option.Style.white-space.nowrap': string;
128
- 'option.Style.white-space.pre': string;
129
- 'option.Style.white-space.pre-wrap': string;
130
- 'option.Style.white-space.pre-line': string;
131
- 'option.Style.white-space.break-spaces': string;
132
- 'option.Style.text-decoration.none': string;
133
- 'option.Style.text-decoration.underline': string;
134
- 'option.Style.text-decoration.line-through': string;
135
- 'option.Style.text-decoration.overline': string;
136
- 'option.Style.text-decoration.blink': string;
137
- 'option.Style.text-decoration.inherit': string;
138
34
  'option.animation.unit.boolean': string;
139
35
  'option.animation.unit.number': string;
140
36
  'option.animation.unit.color': string;
@@ -151,90 +47,35 @@ interface ZhCNLanguageProvider extends LanguageProvider {
151
47
  'option.animation.zeroSlopeAtStart.false': string;
152
48
  'option.animation.zeroSlopeAtEnd.true': string;
153
49
  'option.animation.zeroSlopeAtEnd.false': string;
154
- 'option.Dynamic.dataConfig.self': string;
155
- 'option.Dynamic.dataConfig.dataPath': string;
156
- 'option.HTML.display.block': string;
157
- 'option.HTML.display.inline': string;
158
- 'option.HTML.display.inline-block': string;
159
- 'option.HTML.display.flex': string;
160
- 'option.HTML.display.inline-flex': string;
161
- 'option.HTML.flexDirection.row': string;
162
- 'option.HTML.flexDirection.row-reverse': string;
163
- 'option.HTML.flexDirection.column': string;
164
- 'option.HTML.flexDirection.column-reverse': string;
165
- 'option.HTML.flexWrap.nowrap': string;
166
- 'option.HTML.flexWrap.wrap': string;
167
- 'option.HTML.flexWrap.wrap-reverse': string;
168
- 'option.HTML.justifyContent.flex-start': string;
169
- 'option.HTML.justifyContent.flex-end': string;
170
- 'option.HTML.justifyContent.center': string;
171
- 'option.HTML.justifyContent.space-between': string;
172
- 'option.HTML.justifyContent.space-around': string;
173
- 'option.HTML.justifyContent.space-evenly': string;
174
- 'option.HTML.alignItems.flex-start': string;
175
- 'option.HTML.alignItems.flex-end': string;
176
- 'option.HTML.alignItems.center': string;
177
- 'option.HTML.alignItems.stretch': string;
178
- 'option.HTML.alignItems.baseline': string;
179
- 'option.HTML.alignContent.flex-start': string;
180
- 'option.HTML.alignContent.flex-end': string;
181
- 'option.HTML.alignContent.center': string;
182
- 'option.HTML.alignContent.stretch': string;
183
- 'option.HTML.alignContent.space-between': string;
184
- 'option.HTML.alignContent.space-around': string;
185
- 'option.HTML.position.static': string;
186
- 'option.HTML.position.relative': string;
187
- 'option.HTML.position.absolute': string;
188
- 'option.HTML.position.fixed': string;
189
- 'option.HTML.xAxis.left': string;
190
- 'option.HTML.xAxis.right': string;
191
- 'option.HTML.yAxis.top': string;
192
- 'option.HTML.yAxis.bottom': string;
193
- 'option.HTML.size.px': string;
194
- 'option.HTML.size.%': string;
195
50
  'option.state.true': string;
196
51
  'option.state.false': string;
197
52
  'option.boolean.true': string;
198
53
  'option.boolean.false': string;
199
- 'preset.dialog.title': string;
200
- 'preset.scheduler.switch': string;
201
- 'preset.scheduler.switch.select': string;
202
- 'preset.scheduler.invoke': string;
203
- 'preset.scheduler.invoke.target': string;
204
- 'preset.scheduler.invoke.interaction': string;
205
54
  'global.action.Redo.label': string;
206
55
  'global.action.Undo.label': string;
207
56
  'header.menus.file.label': string;
208
57
  'header.menus.scene.label': string;
209
58
  'header.action.ExportScene.label': string;
210
- 'header.action.ImportExample.label': string;
59
+ 'header.action.ImportPrefa.label': string;
211
60
  'header.action.PreviewScene.label': string;
212
61
  'header.action.RealTimePreview.label': string;
213
- 'header.action.MyExample.label': string;
214
62
  'body.windowSetting.width': string;
215
63
  'body.windowSetting.height': string;
216
64
  'body.windowSetting.scale': string;
217
65
  'body.windowSetting.background': string;
218
- 'sidebar.scene.label': string;
219
- 'sidebar.scene.createScene': string;
220
- 'sidebar.asset.label': string;
66
+ 'sidebar.label': string;
221
67
  'sidebar.action.region.notExecute': string;
222
- 'sidebar.action.save.example': string;
223
- 'sidebar.action.scene.AddNode.label': string;
224
- 'sidebar.action.scene.AddService.label': string;
225
- 'sidebar.action.scene.Copy.label': string;
226
- 'sidebar.action.scene.Cut.label': string;
227
- 'sidebar.action.scene.Delete.label': string;
228
- 'sidebar.action.scene.Rename.label': string;
229
- 'sidebar.action.scene.Save.label': string;
230
- 'sidebar.action.scene.Stickup.label': string;
68
+ 'sidebar.action.save.prefab': string;
231
69
  'sidebar.action.asset.AddNode.label': string;
70
+ 'sidebar.action.asset.AddService.label': string;
232
71
  'sidebar.action.asset.Copy.label': string;
233
72
  'sidebar.action.asset.Cut.label': string;
234
73
  'sidebar.action.asset.Delete.label': string;
235
74
  'sidebar.action.asset.Rename.label': string;
236
75
  'sidebar.action.asset.Save.label': string;
237
76
  'sidebar.action.asset.Stickup.label': string;
77
+ 'sidebar.prefab.delete.confirm.message': string;
78
+ 'sidebar.prefab.search.placeholder': string;
238
79
  'footer.action.region.notFound': string;
239
80
  'footer.action.AddDir.label': string;
240
81
  'footer.action.Copy.label': string;
@@ -252,80 +93,27 @@ interface ZhCNLanguageProvider extends LanguageProvider {
252
93
  'inspector.base.id': string;
253
94
  'inspector.base.name': string;
254
95
  'inspector.no-data': string;
255
- 'inspector.Dataset.url': string;
256
- 'inspector.Dataset.auto': string;
257
- 'inspector.Dataset.styleColor.title': string;
258
- 'inspector.Dataset.attr.name.placeholder': string;
259
- 'inspector.Dataset.attr.value.placeholder': string;
260
- 'inspector.Dataset.title': string;
261
- 'inspector.Dataset.placeholder': string;
262
- 'inspector.Dataset.divider.dynamic': string;
263
- 'inspector.Dataset.dataConfig.key': string;
264
- 'inspector.Dataset.dataConfig.url': string;
96
+ 'inspector.Store.title': string;
97
+ 'inspector.Store.placeholder': string;
265
98
  'inspector.Interaction.title': string;
266
99
  'inspector.Interaction.confirm.title': string;
267
- 'inspector.Style.inherit': string;
268
- 'inspector.Style.cursor': string;
269
- 'inspector.Style.padding': string;
270
- 'inspector.Style.box-sizing': string;
271
- 'inspector.Style.overflow-x': string;
272
- 'inspector.Style.overflow-y': string;
273
- 'inspector.Style.vertical-align': string;
274
- 'inspector.Style.background': string;
275
- 'inspector.Style.background-blend-mode': string;
276
- 'inspector.Style.background-clip': string;
277
- 'inspector.Style.transition': string;
278
- 'inspector.Style.box-shadow': string;
279
- 'inspector.Style.text-shadow': string;
280
- 'inspector.Style.shadow.parameter': string;
281
- 'inspector.Style.border-color': string;
282
- 'inspector.Style.border-width': string;
283
- 'inspector.Style.border-style': string;
284
- 'inspector.Style.color': string;
285
- 'inspector.Style.font-size': string;
286
- 'inspector.Style.font-weight': string;
287
- 'inspector.Style.font-style': string;
288
- 'inspector.Style.text-align': string;
289
- 'inspector.Style.white-space': string;
290
- 'inspector.Style.text-decoration': string;
291
- 'inspector.Style.letter-spacing': string;
292
- 'inspector.Style.line-height': string;
293
- 'inspector.Style.font-family': string;
100
+ 'inspector.JSON.title': string;
101
+ 'inspector.JSON.save.failed': string;
102
+ 'inspector.Store.url': string;
103
+ 'inspector.Store.url.placeholder': string;
294
104
  'inspector.AnimationUnit.play': string;
295
105
  'inspector.AnimationUnit.type': string;
296
- 'inspector.AnimationUnit.path': string;
106
+ 'inspector.AnimationUnit.propertyPath': string;
297
107
  'inspector.AnimationUnit.startValue': string;
298
108
  'inspector.AnimationUnit.endValue': string;
299
109
  'inspector.AnimationUnit.duration': string;
300
110
  'inspector.AnimationUnit.startTime': string;
301
111
  'inspector.AnimationUnit.count': string;
302
112
  'inspector.AnimationUnit.mode': string;
303
- 'inspector.HTML.active': string;
304
- 'inspector.HTML.style': string;
305
- 'inspector.HTML.display': string;
306
- 'inspector.HTML.flexWrap': string;
307
- 'inspector.HTML.flexDirection': string;
308
- 'inspector.HTML.justifyContent': string;
309
- 'inspector.HTML.alignItems': string;
310
- 'inspector.HTML.alignContent': string;
311
- 'inspector.HTML.position': string;
312
- 'inspector.HTML.xAxis': string;
313
- 'inspector.HTML.yAxis': string;
314
- 'inspector.HTML.translate': string;
315
- 'inspector.HTML.width': string;
316
- 'inspector.HTML.height': string;
317
- 'inspector.HTML.flexGrow': string;
318
- 'inspector.HTML.margin': string;
319
- 'inspector.HTML.opacity': string;
320
- 'inspector.HTML.zIndex': string;
321
- 'inspector.Div.text': string;
322
113
  'inspector.Div.backroundIamge': string;
323
- 'inspector.Dynamic.url': string;
324
- 'inspector.Dynamic.dataConfig': string;
325
- 'inspector.Dynamic.dataPath': string;
326
- 'inspector.PrefabInstance.url': string;
327
- 'inspector.Scheduler.camera': string;
328
- 'sidebar.action.active.notFound': string;
114
+ 'inspector.htmlAttributes.Input.value': string;
115
+ 'inspector.Text.content': string;
116
+ 'inspector.Scene.camera': string;
329
117
  'rightMenu.notClose': string;
330
118
  }
331
119
  declare const zhCnLanguageProvider: ZhCNLanguageProvider;
@@ -17,9 +17,5 @@ declare const booleanByNumberOptions: {
17
17
  export { stateOptions, stateByNumberOptions, booleanOptions, booleanByNumberOptions, };
18
18
  export * as Net from './Net';
19
19
  export * as Color from './Color';
20
- export * as Style from './Style';
21
20
  export * as Variable from './Variable';
22
21
  export * as Animation from './Animation';
23
- export * as Dynamic from './Dynamic';
24
- export * as HTML from './HTML';
25
- export * as Preset from './Preset';
@@ -1,16 +1,16 @@
1
- import { Action, DataService } from '@vyr/runtime';
2
- import { VirtualNode } from '@vyr/service-rpc';
1
+ import { Action, DataService, FooterController } from '@vyr/runtime';
2
+ import { VirtualNode } from '@vyr/service-gateway';
3
3
  import { AssetService } from '@vyr/service-asset';
4
- import { Controller } from '../../global/action/FooterAction';
5
4
  declare class ControllerAction extends Action {
6
5
  static id: string;
7
- controller: Controller;
6
+ controller: FooterController;
8
7
  label: string;
9
8
  code: string;
10
- setController(controller: Controller): void;
9
+ setController(controller: FooterController): void;
11
10
  validator(e: KeyboardEvent): boolean;
12
11
  update(): void;
13
12
  private getDirectory;
13
+ private getCurrentItemByManifest;
14
14
  setRegion(region: "directory" | "manifest"): void;
15
15
  private switch;
16
16
  private expand;
@@ -1,5 +1,5 @@
1
1
  import { Action, DataService } from "@vyr/runtime";
2
- import { VirtualNode } from '@vyr/service-rpc';
2
+ import { VirtualNode } from '@vyr/service-gateway';
3
3
  declare class EditFileAction extends Action {
4
4
  static id: string;
5
5
  static handler(item: VirtualNode, dataService: DataService): void;
@@ -1,5 +1,5 @@
1
1
  import { Action, DataService } from "@vyr/runtime";
2
- import { VirtualNode } from '@vyr/service-rpc';
2
+ import { VirtualNode } from '@vyr/service-gateway';
3
3
  declare class SelectAllAction extends Action {
4
4
  static id: string;
5
5
  label: string;
@@ -1,11 +1,9 @@
1
- import { VirtualNode } from '@vyr/service-rpc';
2
1
  import { AssetService } from '@vyr/service-asset';
3
2
  import { Action, DataService } from '@vyr/runtime';
4
3
  declare class StickupAction extends Action {
5
4
  static id: string;
6
5
  label: string;
7
6
  validator(e: KeyboardEvent): boolean;
8
- disabledRule(mouseItem: VirtualNode, dataService: DataService): boolean;
9
7
  updateRightMenu(): void;
10
8
  updateShortcutkey(): void;
11
9
  update(): void;