@vyr/vue-browser 0.0.25 → 0.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyr/vue-browser",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -3,7 +3,7 @@ import { LanguageProvider } from '@vyr/locale'
3
3
  interface ZhCNLanguageProvider extends LanguageProvider {
4
4
  'descriptor.type.Template': string
5
5
 
6
- 'sidebar.action.addComponent.label': string
6
+ 'sidebar.action.AddComponent.label': string
7
7
 
8
8
  'inspector.Template.slotName':string
9
9
  }
@@ -14,7 +14,7 @@ const zhCnLanguageProvider: ZhCNLanguageProvider = {
14
14
 
15
15
  'descriptor.type.Template': '插槽',
16
16
 
17
- 'sidebar.action.addComponent.label': '新增组件',
17
+ 'sidebar.action.AddComponent.label': '新增组件',
18
18
 
19
19
  'inspector.Template.slotName':'插槽名称',
20
20
  }
@@ -5,7 +5,7 @@ import { language as builtinLanguage } from '@vyr/builtin'
5
5
  import { language } from '../../../locale'
6
6
 
7
7
  class AddComponentAction extends Action {
8
- static id = 'sidebar.addComponent'
8
+ static id = 'sidebar.AddComponent'
9
9
  static generate = (label: string, Class: typeof Descriptor) => {
10
10
  class ClassAction extends Action {
11
11
  static id = Class.type
@@ -31,7 +31,7 @@ class AddComponentAction extends Action {
31
31
  return new ClassAction()
32
32
  }
33
33
  generate = AddComponentAction.generate
34
- label = language.get('sidebar.action.addComponent.label')
34
+ label = language.get('sidebar.action.AddComponent.label')
35
35
  order = 1
36
36
 
37
37
  constructor() {