Skip to content

Commit

Permalink
feat✨: amis version update
Browse files Browse the repository at this point in the history
  • Loading branch information
wcz0 committed Aug 15, 2024
1 parent 04eb80a commit 89f37c4
Show file tree
Hide file tree
Showing 171 changed files with 23,254 additions and 23,175 deletions.
328 changes: 164 additions & 164 deletions renderers/ajax_action.go

Large diffs are not rendered by default.

174 changes: 87 additions & 87 deletions renderers/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ func NewAlert() *Alert {
}

/**
* 容器 css 类名
* 是否静态展示
*/
func (a *Alert) ClassName(value interface{}) *Alert {
a.Set("className", value)
func (a *Alert) Static(value interface{}) *Alert {
a.Set("static", value)
return a
}

Expand All @@ -36,26 +36,34 @@ func (a *Alert) StaticOn(value interface{}) *Alert {
}

/**
* 指定为提示框类型
* 左侧图标
*/
func (a *Alert) Type(value interface{}) *Alert {
a.Set("type", value)
func (a *Alert) Icon(value interface{}) *Alert {
a.Set("icon", value)
return a
}

/**
* 提示框标题
* 是否隐藏表达式
*/
func (a *Alert) Title(value interface{}) *Alert {
a.Set("title", value)
func (a *Alert) HiddenOn(value interface{}) *Alert {
a.Set("hiddenOn", value)
return a
}

/**
* 是否显示关闭按钮
* 指定为提示框类型
*/
func (a *Alert) ShowCloseButton(value interface{}) *Alert {
a.Set("showCloseButton", value)
func (a *Alert) Type(value interface{}) *Alert {
a.Set("type", value)
return a
}

/**
* 容器 css 类名
*/
func (a *Alert) ClassName(value interface{}) *Alert {
a.Set("className", value)
return a
}

Expand All @@ -68,105 +76,105 @@ func (a *Alert) StaticPlaceholder(value interface{}) *Alert {
}

/**
* 静态展示表单项类名
* 静态展示表单项Value类名
*/
func (a *Alert) StaticClassName(value interface{}) *Alert {
a.Set("staticClassName", value)
func (a *Alert) StaticInputClassName(value interface{}) *Alert {
a.Set("staticInputClassName", value)
return a
}

/**
* 组件样式
* 编辑器配置,运行时可以忽略
*/
func (a *Alert) Style(value interface{}) *Alert {
a.Set("style", value)
func (a *Alert) EditorSetting(value interface{}) *Alert {
a.Set("editorSetting", value)
return a
}

/**
* 左侧图标
* 内容区域
*/
func (a *Alert) Icon(value interface{}) *Alert {
a.Set("icon", value)
func (a *Alert) Body(value interface{}) *Alert {
a.Set("body", value)
return a
}

/**
* 是否隐藏
* 是否显示关闭按钮
*/
func (a *Alert) Hidden(value interface{}) *Alert {
a.Set("hidden", value)
func (a *Alert) ShowCloseButton(value interface{}) *Alert {
a.Set("showCloseButton", value)
return a
}

/**
* 是否禁用
*/
func (a *Alert) Testid(value interface{}) *Alert {
a.Set("testid", value)
func (a *Alert) Disabled(value interface{}) *Alert {
a.Set("disabled", value)
return a
}

/**
* 提示类型
* 可选值: info | warning | success | danger
* 组件唯一 id,主要用于日志采集
*/
func (a *Alert) Level(value interface{}) *Alert {
a.Set("level", value)
func (a *Alert) Id(value interface{}) *Alert {
a.Set("id", value)
return a
}

/**
* 是否禁用表达式
* 组件样式
*/
func (a *Alert) DisabledOn(value interface{}) *Alert {
a.Set("disabledOn", value)
func (a *Alert) Style(value interface{}) *Alert {
a.Set("style", value)
return a
}

/**
* 是否显示
* 提示类型
* 可选值: info | warning | success | danger
*/
func (a *Alert) Visible(value interface{}) *Alert {
a.Set("visible", value)
func (a *Alert) Level(value interface{}) *Alert {
a.Set("level", value)
return a
}

/**
* 静态展示表单项Value类名
* 是否禁用表达式
*/
func (a *Alert) StaticInputClassName(value interface{}) *Alert {
a.Set("staticInputClassName", value)
func (a *Alert) DisabledOn(value interface{}) *Alert {
a.Set("disabledOn", value)
return a
}

/**
* 关闭按钮CSS类名
*/
func (a *Alert) CloseButtonClassName(value interface{}) *Alert {
a.Set("closeButtonClassName", value)
func (a *Alert) StaticSchema(value interface{}) *Alert {
a.Set("staticSchema", value)
return a
}

/**
* 是否静态展示
*/
func (a *Alert) Static(value interface{}) *Alert {
a.Set("static", value)
func (a *Alert) Testid(value interface{}) *Alert {
a.Set("testid", value)
return a
}

/**
* 是否显示表达式
*/
func (a *Alert) TestIdBuilder(value interface{}) *Alert {
a.Set("testIdBuilder", value)
func (a *Alert) VisibleOn(value interface{}) *Alert {
a.Set("visibleOn", value)
return a
}

/**
* 内容区域
* 静态展示表单项Label类名
*/
func (a *Alert) Body(value interface{}) *Alert {
a.Set("body", value)
func (a *Alert) StaticLabelClassName(value interface{}) *Alert {
a.Set("staticLabelClassName", value)
return a
}

Expand All @@ -179,88 +187,80 @@ func (a *Alert) Actions(value interface{}) *Alert {
}

/**
* 是否隐藏表达式
*/
func (a *Alert) HiddenOn(value interface{}) *Alert {
a.Set("hiddenOn", value)
return a
}

/**
* 是否显示表达式
* 是否显示
*/
func (a *Alert) VisibleOn(value interface{}) *Alert {
a.Set("visibleOn", value)
func (a *Alert) Visible(value interface{}) *Alert {
a.Set("visible", value)
return a
}

/**
* 组件唯一 id,主要用于日志采集
* 关闭按钮CSS类名
*/
func (a *Alert) Id(value interface{}) *Alert {
a.Set("id", value)
func (a *Alert) CloseButtonClassName(value interface{}) *Alert {
a.Set("closeButtonClassName", value)
return a
}

/**
* 事件动作配置
* 图标CSS类名
*/
func (a *Alert) OnEvent(value interface{}) *Alert {
a.Set("onEvent", value)
func (a *Alert) IconClassName(value interface{}) *Alert {
a.Set("iconClassName", value)
return a
}

/**
* 静态展示表单项Label类名
* 可以组件级别用来关闭移动端样式
*/
func (a *Alert) StaticLabelClassName(value interface{}) *Alert {
a.Set("staticLabelClassName", value)
func (a *Alert) UseMobileUI(value interface{}) *Alert {
a.Set("useMobileUI", value)
return a
}

/**
* 可以组件级别用来关闭移动端样式
*/
func (a *Alert) UseMobileUI(value interface{}) *Alert {
a.Set("useMobileUI", value)
func (a *Alert) TestIdBuilder(value interface{}) *Alert {
a.Set("testIdBuilder", value)
return a
}

/**
* 图标CSS类名
* 提示框标题
*/
func (a *Alert) IconClassName(value interface{}) *Alert {
a.Set("iconClassName", value)
func (a *Alert) Title(value interface{}) *Alert {
a.Set("title", value)
return a
}

/**
* 是否禁用
* 是否显示ICON
*/
func (a *Alert) Disabled(value interface{}) *Alert {
a.Set("disabled", value)
func (a *Alert) ShowIcon(value interface{}) *Alert {
a.Set("showIcon", value)
return a
}

/**
* 是否隐藏
*/
func (a *Alert) StaticSchema(value interface{}) *Alert {
a.Set("staticSchema", value)
func (a *Alert) Hidden(value interface{}) *Alert {
a.Set("hidden", value)
return a
}

/**
* 编辑器配置,运行时可以忽略
* 事件动作配置
*/
func (a *Alert) EditorSetting(value interface{}) *Alert {
a.Set("editorSetting", value)
func (a *Alert) OnEvent(value interface{}) *Alert {
a.Set("onEvent", value)
return a
}

/**
* 是否显示ICON
* 静态展示表单项类名
*/
func (a *Alert) ShowIcon(value interface{}) *Alert {
a.Set("showIcon", value)
func (a *Alert) StaticClassName(value interface{}) *Alert {
a.Set("staticClassName", value)
return a
}
Loading

0 comments on commit 89f37c4

Please sign in to comment.