Compare commits
	
		
			No commits in common. "ffdb796e8f2017be0228b4842c6d40b7f216d303" and "850eea254ca8b57063d4d42487be654f13817a6f" have entirely different histories.
		
	
	
		
			ffdb796e8f
			...
			850eea254c
		
	
		
| @ -1,8 +0,0 @@ | |||||||
| import { BehaviorRecorder, IAnyBehaviorRecorder } from "@Model/Behavior"; |  | ||||||
| import { Template } from "./Template"; |  | ||||||
| 
 |  | ||||||
| const AllBehaviors: IAnyBehaviorRecorder[] = [ |  | ||||||
|     new BehaviorRecorder(Template) |  | ||||||
| ] |  | ||||||
| 
 |  | ||||||
| export { AllBehaviors }; |  | ||||||
| @ -1,20 +0,0 @@ | |||||||
| import { Behavior } from "@Model/Behavior"; |  | ||||||
| 
 |  | ||||||
| type ITemplateBehaviorParameter = { |  | ||||||
|      |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| type ITemplateBehaviorEvent = {} |  | ||||||
| 
 |  | ||||||
| class Template extends Behavior<ITemplateBehaviorParameter, ITemplateBehaviorEvent> { |  | ||||||
| 
 |  | ||||||
|     public override behaviorId: string = "Template"; |  | ||||||
| 
 |  | ||||||
|     public override behaviorName: string = "Behavior.Template.Title"; |  | ||||||
| 
 |  | ||||||
|     public override iconName: string = "Running"; |  | ||||||
| 
 |  | ||||||
|     public override describe: string = "Behavior.Template.Intro"; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| export { Template }; |  | ||||||
| @ -52,13 +52,13 @@ class CommandBar extends Component<ICommandBarProps & IMixinSettingProps & IMixi | |||||||
|                     } |                     } | ||||||
|                 })} |                 })} | ||||||
|                 {this.getRenderButton({ |                 {this.getRenderButton({ | ||||||
|                     iconName: "ProductVariant", |                     iconName: "CubeShape", | ||||||
|                     i18NKey: "Command.Bar.Add.Range.Info", |                     i18NKey: "Command.Bar.Add.Range.Info", | ||||||
|                     click: () => { |                     click: () => { | ||||||
|                         this.props.status ? this.props.status.newRange() : undefined; |                         this.props.status ? this.props.status.newRange() : undefined; | ||||||
|                     } |                     } | ||||||
|                 })} |                 })} | ||||||
|                 {this.getRenderButton({ iconName: "Running", i18NKey: "Command.Bar.Add.Behavior.Info" })} |                 {this.getRenderButton({ iconName: "StepSharedAdd", i18NKey: "Command.Bar.Add.Behavior.Info" })} | ||||||
|                 {this.getRenderButton({ |                 {this.getRenderButton({ | ||||||
|                     iconName: "Tag", |                     iconName: "Tag", | ||||||
|                     i18NKey: "Command.Bar.Add.Tag.Info", |                     i18NKey: "Command.Bar.Add.Tag.Info", | ||||||
|  | |||||||
| @ -54,8 +54,6 @@ const EN_US = { | |||||||
|     "Popup.Setting.Title": "Preferences setting", |     "Popup.Setting.Title": "Preferences setting", | ||||||
|     "Build.In.Label.Name.All.Group": "All group", |     "Build.In.Label.Name.All.Group": "All group", | ||||||
|     "Build.In.Label.Name.All.Range": "All range", |     "Build.In.Label.Name.All.Range": "All range", | ||||||
|     "Behavior.Template.Title": "Behavior", |  | ||||||
|     "Behavior.Template.Intro": "This is a template behavior", |  | ||||||
|     "Common.No.Data": "No Data", |     "Common.No.Data": "No Data", | ||||||
|     "Common.No.Unknown.Error": "Unknown error", |     "Common.No.Unknown.Error": "Unknown error", | ||||||
|     "Common.Attr.Title.Basic": "Basic properties", |     "Common.Attr.Title.Basic": "Basic properties", | ||||||
|  | |||||||
| @ -54,8 +54,6 @@ const ZH_CN = { | |||||||
|     "Popup.Setting.Title": "首选项设置", |     "Popup.Setting.Title": "首选项设置", | ||||||
|     "Build.In.Label.Name.All.Group": "全部群", |     "Build.In.Label.Name.All.Group": "全部群", | ||||||
|     "Build.In.Label.Name.All.Range": "全部范围", |     "Build.In.Label.Name.All.Range": "全部范围", | ||||||
|     "Behavior.Template.Title": "行为", |  | ||||||
|     "Behavior.Template.Intro": "这是一个模板行为", |  | ||||||
|     "Common.No.Data": "暂无数据", |     "Common.No.Data": "暂无数据", | ||||||
|     "Common.No.Unknown.Error": "未知错误", |     "Common.No.Unknown.Error": "未知错误", | ||||||
|     "Common.Attr.Title.Basic": "基础属性", |     "Common.Attr.Title.Basic": "基础属性", | ||||||
|  | |||||||
| @ -52,7 +52,7 @@ class ObjectCommand extends Component<IMixinStatusProps> { | |||||||
| 					this.props.status ? this.props.status.newRange() : undefined; | 					this.props.status ? this.props.status.newRange() : undefined; | ||||||
| 				}} | 				}} | ||||||
| 			> | 			> | ||||||
| 				<Icon iconName="ProductVariant"></Icon> | 				<Icon iconName="CubeShape"></Icon> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div | 			<div | ||||||
| 				className="command-item red" | 				className="command-item red" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user