Compare commits

..

No commits in common. "ffdb796e8f2017be0228b4842c6d40b7f216d303" and "850eea254ca8b57063d4d42487be654f13817a6f" have entirely different histories.

6 changed files with 3 additions and 35 deletions

View File

@ -1,8 +0,0 @@
import { BehaviorRecorder, IAnyBehaviorRecorder } from "@Model/Behavior";
import { Template } from "./Template";
const AllBehaviors: IAnyBehaviorRecorder[] = [
new BehaviorRecorder(Template)
]
export { AllBehaviors };

View File

@ -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 };

View File

@ -52,13 +52,13 @@ class CommandBar extends Component<ICommandBarProps & IMixinSettingProps & IMixi
}
})}
{this.getRenderButton({
iconName: "ProductVariant",
iconName: "CubeShape",
i18NKey: "Command.Bar.Add.Range.Info",
click: () => {
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({
iconName: "Tag",
i18NKey: "Command.Bar.Add.Tag.Info",

View File

@ -54,8 +54,6 @@ const EN_US = {
"Popup.Setting.Title": "Preferences setting",
"Build.In.Label.Name.All.Group": "All group",
"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.Unknown.Error": "Unknown error",
"Common.Attr.Title.Basic": "Basic properties",

View File

@ -54,8 +54,6 @@ const ZH_CN = {
"Popup.Setting.Title": "首选项设置",
"Build.In.Label.Name.All.Group": "全部群",
"Build.In.Label.Name.All.Range": "全部范围",
"Behavior.Template.Title": "行为",
"Behavior.Template.Intro": "这是一个模板行为",
"Common.No.Data": "暂无数据",
"Common.No.Unknown.Error": "未知错误",
"Common.Attr.Title.Basic": "基础属性",

View File

@ -52,7 +52,7 @@ class ObjectCommand extends Component<IMixinStatusProps> {
this.props.status ? this.props.status.newRange() : undefined;
}}
>
<Icon iconName="ProductVariant"></Icon>
<Icon iconName="CubeShape"></Icon>
</div>
<div
className="command-item red"