Compare commits

...

529 Commits

Author SHA1 Message Date
Argo-Tianyi
481be3a5b2 release: publish 5.0.28 2021-04-29 17:20:23 +08:00
Argo
4fd5a23ecd !1366 fix(#I3OVJC): resolve Checkbox not show invalid message when enable ValidateAllProperties on ValidateForm
* fix: 修复验证所有属性时 CheckboxList 无验证问题
* refactor: 代码复用使用 Validate 方法
* refactor: 提炼 Validate 方法代码复用
* Merge branch 'dev' into dev-checkboxlist
* refactor: ValidateForm 验证跳过集合
* refactor: 使用 OfType 代替 Where 过滤条件
* refactor: 移除 sealed 关键字
2021-04-29 17:13:38 +08:00
Argo
a4d112e0a4 !1365 fix(#I3OUQZ): validate form support complex class validation function
* revert: 移除表单验证过滤条件
2021-04-29 16:13:40 +08:00
Argo
305283993c !1364 docs(#I3OTB9): update table detail row sample code menu text
* docs: 更新英语下明细行菜单
2021-04-29 13:25:28 +08:00
Argo
e6bdaae6ce !1363 feat(#I3OT83): sub class support new keyword override parent class property
* feat: 内部使用 GetProperty 方法统一使用 GetProperties
2021-04-29 13:22:57 +08:00
Argo
ce64046690 !1362 feat(#I29FLZ): redesign SideMenu UI support float submenu on Collapsed mode
* feat: 增加侧栏收缩状态下级联选中功能
* revert: 移除间隙防止鼠标在间隙时菜单消失
* style: 微调收缩模式下子菜单间隙
* feat: 收缩模式下移除缩进功能
* style: 更新收缩模式下子菜单展开箭头样式
* feat: 微调收缩状态下样式
* style: 更新样式
* Merge branch 'dev' into dev-menu-collapse
* chore: 更新 Collapsed 状态下脚本
* feat: 移除 SideMenu 的 IsCollapsed 参数
* feat: 增加收缩状态下样式
* style: 增加收缩图标样式
* docs: 更新动态更新菜单数据源示例
* scripts: 支持动态更新数据源
* fix: 修复变量错误问题
* Merge branch 'dev' into dev-menu-collapse
* refactor: 移除 bugs 文件
* Merge branch 'dev' into dev-menu-collapse
* feat: 菜单增加全部展开功能
* feat: 增加自动展开功能
* docs: 增加全部展开按钮
* chore: 增加全部展开资源文件
* scripts: 更新脚本支持全部展开
* fix: Tree 组件内 Checkbox 禁止显示 Label
* chore: 规范化资源文件
* refactor: 更新侧边栏菜单示例
* style: 更新侧边栏菜单样式
* docs: 删除 menus 资源文件
* docs: Menus 示例文档增加多语言支持
* refactor: 移除 IndentSize 属性
* perf: 提高性能
* refactor: 精简代码
* feat: 增加菜单初始化功能
* refactor: 移除 DisabledNavigation 属性
* style: 精简样式
* feat: 更新过期方法提示信息
* feat: TopMenu 增加单独使用保护
* refactor: 格式化代码
* docs: 更新菜单数据源增加异步模拟方法
* feat: 修复顶栏下拉菜单无法收起问题
* feat: 增加空集合保护
* feat: 增加默认构造函数
* feat: 从新设计 MenuItem Items 属性
* fix: 修复顶栏 dropdown 无法收缩问题
* feat: 微调顶栏带图标菜单样式
* docs: 增加资源文件
* wip
* style: 增加顶栏宽度设置
* feat: 顶栏 MenuLink 移除前后图标占位
* feat: 增加顶栏切换菜单动画效果
* refactor: 更新顶栏菜单
* feat: 侧栏增加禁用支持
* feat: 顶栏不进行缩进操作
* refactor: 移除不用的方法
* chore: 更新样式
* feat: 增加 MenuItem 扩展方法
* refactor: 增加禁用样式
* chore: 精简样式 nav-link-text 更改为 text
* style: 移除顶端间隙
* refactor: 微调 badge 顺序
* scripts: 增加首次加载展开节点功能
* refactor: 精简样式
* feat: 防止 SideMenu 独立使用
* refactor: 精简样式
* chore: 精简 javascript 脚本
* docs: 更新样式表顺序
* docs: 更新示例文档
* feat: 增加菜单手风琴功能切换
* feat: 根节点不缩进
* style: 微调菜单左右间距
* chore: 增加资源文件
* chore: 更新脚本
* style: 减少右侧间隙
* chore: 完善手风琴效果
* feat: 增加递归设置 Indent 方法
* docs: 微调侧边栏菜单宽度为 300
* feat: 设置几个菜单匹配方式为 MatchLink.All
* chore: 更新侧边栏菜单样式
* feat: Menu 组件增加侧边栏脚本调用方法
* feat: MenuLink 右侧箭头占位
* chore: 更新侧边栏右侧箭头样式
* chore: 增加侧边栏菜单脚本
* docs: 更新资源文件行设置菜单
* style: 更新菜单背景色
* feat: Menu 组件增加缩进参数默认 16
* refactor: 重构侧边栏菜单
* refactor: 更新代码使用 Enumerable.Empty
* feat: 增加缩进功能
* feat: 增加 Indent 属性
* style: 增加菜单集合右侧小箭头样式
* style: 更新样式
* docs: 更新注释文档
* Merge branch 'dev' into dev-Menu
* Merge branch 'dev' into dev-Menu
* fix: 修复翻页或者更改每页显示条目数后 ShowTips 失效问题
* Merge branch 'dev' into dev-Menu
* wip: 侧边栏菜单优化(未完成)
* refactor: remove OnCollapsed default value
* feat: SideMenu add IsCollapsed parameter
2021-04-29 12:46:25 +08:00
Argo
d7547b76a2 !1361 docs(#I3OGXE): add microsoft docs learn
* docs: 增加 mvp 链接
* docs: 更新 ms-docs 文章
* chore: 增加图片
2021-04-27 21:17:49 +08:00
Argo
dbaebf2c2e !1360 docs(#I3OER7): add ad external link
* chore: 更新 ad 广告脚本顺序与样式
* chore: 更新广告样式
* chore: 增加样式
* chore: 增加 banner
* chore: 增加流量脚本
2021-04-27 15:55:36 +08:00
Argo
8fd8689969 !1359 feat(#I3ODK8): TryConvertTo throw exception when type is string
* fix: 修复 TryConvertTo 报错问题
2021-04-27 14:06:33 +08:00
Argo
b038291382 !1358 feat(#I3OAUQ): Select support Placeholder
* docs: 更新 Select 绑定可为空类型示例
* feat: 可为空类型首选项支持 PlaceHolder 设置
2021-04-26 21:45:29 +08:00
Argo
a0fb963bc3 !1357 feat(#I3O7QY): add TryConvertTo string extensions method
* refactor: 增加错误保护
* test: 更新输出日志信息
* refactor: 删除不用的代码
* feat: 增加 TryConvertTo 方法
* test: 更新性能测试
2021-04-26 15:04:58 +08:00
刘亮
3b37589ef9 !1356 feat(#I3O56M): CheckboxList MultiSelect support List<Guid> data
* Merge branch 'dev' of gitee.com:LongbowEnterprise/BootstrapBlazor into dev
* fix checkboxlist and multiselect when bind-value is a List<guid>
* update bind to new property
2021-04-26 10:53:08 +08:00
Argo
4e082ca7da !1355 fix(#I3HWSW): throw exception when use new keyword change property Type in sub class
* fix: 修复获取属性时遇到 new 关键字重写属性报错问题
2021-04-26 00:39:48 +08:00
刘亮
7549240abf !1354 fix(#I3HWSW): throw exception when use new keyword change property Type in sub class
* update bind to new property
2021-04-26 00:14:52 +08:00
阿凡达
f0f2c733da !1353 docs: update SwalCategory xml doc
* update src/BootstrapBlazor/Components/SweetAlert/SwalOption.cs.
2021-04-25 21:34:56 +08:00
Argo
35c550bfa3 !1352 fix(#I3O3QP): checkbox label should not shown in Tree component
* fix: Tree 组件内 Checkbox 禁止显示 Label
2021-04-25 19:38:03 +08:00
Argo
5638f86466 !1351 fix(#I3MJKW): resolve throw exception InputUpload component
* release: publish 5.0.28-beta01
* fix: 修复 InputUpload 抛异常问题
2021-04-23 20:24:20 +08:00
Argo
795d39a07d !1350 fix(#I3MC54): resolve Pagination component not render after change ItemsPerPage source
* Merge branch 'dev-docs' into dev-fix
* fix: 每页显示数量变更时重新刷新组件
* chore: 更新依赖组件 5.0.18
2021-04-22 18:39:12 +08:00
Argo
41a1382e76 !1349 chore(#I3NMBT): extensions upgrade to 5.0.18
* chore: 扩展组件更新到 5.0.18
* docs: 更新英文 main 编译状态链接
2021-04-22 14:58:39 +08:00
Argo-Cloud
ac4e5c03c6 release: publish 5.0.27 2021-04-22 14:37:18 +08:00
Argo
28aacd755f !1348 feat(#I3NM1W): redesign Transfer component support Validation
* docs: 更新异步加载数据源示例
* feat: 支持客户端验证
* style: 增加客户端验证样式
* Merge branch 'dev-docs' into dev-transfer
* docs: 增加资源文件
* docs: 删除资源文件
* !1344 docs(#I3NF1P): Menu support localization
* docs: 更新示例文档
* feat: 支持表单验证
* perf: 未双向绑定时减少 invoke 调用
* style: 增加 Transfer 项目样式防止折行
* docs: 更新 github action main 分支状态
* docs: 更新资源文件
* docs: 更新 action 链接
2021-04-22 14:35:21 +08:00
Argo
bebdf4e7c6 !1346 docs(#I3NFM4): update readme.md
* chore: 增加 build actions
* docs: 更新 readme 文档
2021-04-21 16:30:46 +08:00
Argo
2fb689e987 !1345 fix(#I3NF8X): InputNumber throw exception in wasm mode on Centos server
* fix: 修复 wasm 模式下 InputNumber 报错问题
2021-04-21 16:06:59 +08:00
Argo
98f945121b !1344 docs(#I3NF1P): Menu support localization
* docs: 更新资源文件
* docs: Table 支持多语言
* docs: 数据组件支持多语言
* docs: 表单组件支持多语言
* docs: 消息组件支持多语言
* docs: 导航菜单支持多语言
* docs: 布局组件多语言
* docs: 增加组件总览多语言
* docs: 增加快速上手英文菜单
* refactor: 更新首页响应式布局
* style: 微调按钮宽度
* chore: BaseLayout 增加 c# 代码
* chore: 增加资源文件
* style: 更新 theme z-index 值
* feat: CultureChooser 组件支持本地化
* Merge branch 'dev' into dev-localizer
* refactor: WIP
2021-04-21 15:52:58 +08:00
Argo
4be6ccbc92 !1343 docs(#I3N1EB): update download sample code
* docs: 更新示例
* refactor: 格式化文档
* chore: 打包 js 文件
2021-04-20 17:03:08 +08:00
j4587698
bc0ba0733c !1342 feat(#I3J3DD): Download component support URL link feature
* 下载组件增加获取url的功能
2021-04-20 16:15:58 +08:00
Argo
d91bd93554 !1341 docs(#I3MZ20): update async get data from webapi cascading update select Items sample code
* release: publish 5.0.27-beta07
* docs: 更新异步级联更新下拉框示例
2021-04-20 12:58:09 +08:00
Argo
818bea5062 !1340 fix(#I3IA28): increase delay interval to 300 prevent removeChild throw exception
* fix: 修复 removeChild 客户端脚本错误
2021-04-20 12:40:50 +08:00
Argo
b12513bbe6 !1339 fix(#I3MZ03): checkbox component show label on transfer panel inside ValidateForm
* fix: Transfer 内部 Checkbox 为针对 ValidateForm 适配问题
2021-04-20 12:35:48 +08:00
Argo
314b837d63 !1338 fix(#I3MR1F): resolve Option not render in Select component
* fix: Select 组件 Options 不能加载问题
2021-04-19 20:07:22 +08:00
Argo
253618307e !1337 fix(#I3MNBI): remove duplicate OnClickWithoutRender callback
* refactor: 移除重复的 OnClickWithoutRender
2021-04-19 18:40:30 +08:00
Argo-Cloud
ede70e7010 release: publish 5.0.27-beta04 2021-04-19 15:39:52 +08:00
Argo
22b472fab6 !1336 refactor(#I3MDXO): redesign Select component
* refactor: 更新 Dropdown 组件适配 SelectBase 改动
* docs: 更新 Select 示例代码
* refactor: 重构 SelectBase 精简代码
* refactor: 移除 bind-Items 双向绑定
2021-04-19 15:38:30 +08:00
Argo
bbc442b0f6 !1335 feat(#I3LVCV): Select support bind-Items feature
* docs: 更新 Select 级联参数示例
* refactor: 重构代码
* feat: 更新首次加载触发条件
* feat: 增加 Items 双向绑定支持
* docs: 更新过期提示信息
* refactor: 增加 Items 为空检查
* refactor: 增加 Items 双向绑定支持
2021-04-19 00:31:49 +08:00
Argo
c6a51e3e29 !1334 fix(#I3LVBZ): MultiSelect OnParameterSet should check CurrentValueAsString
* docs: 更改级联参数示例
* fix: 修复级联更改数据源不正确问题
2021-04-19 00:30:21 +08:00
Argo
866824d7ea !1333 refactor(#I3LS7P): multi-select change Items type to IEnumerable<T>
* docs: 更新 MultiSelect 组件示例文档
* feat: MultiSelect 数据源更改为 IEnumerable 支持 out 关键字
2021-04-18 22:50:50 +08:00
Argo
bce5422c24 !1332 refactor(#I3LFLZ): remove MultiSelect Items bind
* release: publish 5.0.27-beta03
* docs: 更新 OnSelectedItemsChanged 方法示例
* feat: 移除 Items 双向绑定
* Revert "feat: 移除 OnSelectedItemsChanged 回调"
* docs: 更新 MultSelect 示例文档
* feat: 移除 OnSelectedItemsChanged 回调
2021-04-18 17:29:41 +08:00
Argo
b81130da87 !1331 docs(#I3L2BR): add catch for ExampleExtensions
* docs: 获取源码方法增加 TaskCancelException 捕获
2021-04-18 15:53:53 +08:00
Argo
cc0e92a511 !1330 refactor(#I3L26F): Modal disposing changed to async
* refactor: 增加 TaskCanceledException 保护
* refactor: Modal 使用异步销毁方法
2021-04-18 15:51:42 +08:00
Argo
7166fceed1 !1329 fix(#I3KWF7): button submit type not work in ValidateForm on IsAsync mode
* fix: 修复表单提交按钮异步操作时图标不变化
2021-04-18 14:21:48 +08:00
Argo
69d26ba5af !1328 feat(#I3KWB0): update FormatValueString method in MultiSelect
* refactor: MultiSelect 内部使用缓存提高性能
* docs: 更新 MultiSelect 示例文档
* fix: MultiSelect 内部支持异步赋值
2021-04-18 14:20:07 +08:00
Argo
6246d0792f !1327 feat(#I3JCAS): add stream parameter override method on Download component
* feat: 增加一个流参数重载方法
* docs: 更新 Download 组件示例
* refactor: 优化 Download 组件代码
* docs: 更新 Download 组件示例代码
* refactor: 重构代码增加注释
* chore: 格式化脚本
* docs: 增加 Option 注释
2021-04-17 16:32:11 +08:00
Argo
c608060f44 !1326 feat(#I3J9XZ): MultSelect support bind-Items
* release: publish 5.0.27-beta02
* docs: 更新 MultiSelect 示例
* feat: MultiSelect 组件 Items 增加双向绑定支持
* docs: 更新 MultiSelect 示例文档
* refactor: 更新 SelectedItems 内部逻辑
2021-04-17 14:20:16 +08:00
Argo
b85a89a671 !1325 fix(#I3J8UD): sub class of ValidationAttribute not working on ValidateForm
* fix: 修复 Validation 派生类不生效问题
2021-04-17 11:56:23 +08:00
j4587698
08b3745b8d !1322 feat(#I3J3DD): add Download component
* 添加示例页面
* 增加Download组件
2021-04-17 10:22:09 +08:00
Argo
2d57844dce !1324 fix(#I3J5CT): throw client javascript exception can't find $.initTheme function when reboot app
* chore: 增加 version 关键字
* chore: 微调脚本加载顺序
2021-04-16 15:22:11 +08:00
Argo
234e7b3f17 !1323 feat(#I3J5C9): Transfer support bind-Items feature
* chore: 增加 SetItems 方法过期标签
* docs: 微调样式
* refactor: 优化性能
* docs: 更新双向绑定示例
* fix: 修复全选为过滤搜索条件问题
* docs: 更新示例代码独立数据源
* style: 微调搜索栏样式
* docs: 更新示例文档
* docs: 增加资源文件
* refactor: 重构内部逻辑
* refactor: 移除基类
* docs: 更新更改数据源示例
* feat: 增加 SetItems 方法
2021-04-16 15:19:08 +08:00
Argo
71915a8669 !1321 feat(#I3J1VX): Display support Nullable<bool> and Null
* fix: 修复 bool? 类型与 Null 值显示不正确问题
2021-04-16 00:34:24 +08:00
Argo-Cloud
b57b70855e release: publish 5.0.27-beta01 2021-04-15 19:32:21 +08:00
Argo
aaa8d5f2d6 !1320 fix(#I3J0GH): render twice in Dialog component
* fix: 移除 StateHasChanged 方法
2021-04-15 17:56:24 +08:00
Argo
7c24ec65a2 !1319 fix(#I3IXZW): Button IsAsync function not working in 5.0.26
* fix: 按钮异步提交功能丢失
* refactor: wip
2021-04-15 14:08:15 +08:00
Argo
a7b3bf4105 !1318 feat(#I3IWEU): extensions upgrade version to 5.0.17
* chore: 部署脚本增加 dotnet restore
* chore: 扩展类版本更新到 5.0.17
* chore: 更新 sdk 到  5.0.202
2021-04-15 11:18:51 +08:00
Argo-Cloud
1feb75425e release: publish 5.0.26 2021-04-15 10:46:22 +08:00
Argo
8b1fd0cc7c !1317 fix(#I3IVZV): Avatar GetUrlAsync not working after render
* fix: 修复 GetUrlAsync 不生效问题
2021-04-15 10:46:19 +08:00
Argo
e49bfaab5f !1316 fix(#I3IVUS): should be Show Text value on Display component when provider Data parameter
* fix: 修复 Display 组件提供 Data 后显示内容不正确问题
2021-04-15 10:35:57 +08:00
Argo
1711200a39 !1315 fix(#I3ITV3): CloseOtherTabs and CloseAllTabs not rerender UI
* release: publish 5.0.26-beta08
* fix: Tab 公开方法 CloseOtherTabs 与 CloseAllTabs 未刷新 UI 问题
2021-04-14 19:13:26 +08:00
Argo
22e56afff6 !1314 feat(#I3ISWR): add OnCollapseChanged callback on Collapse component
* docs: 增加 Collapse 点击事件回调示例
* feat: 增加 CollapseItem 点击事件
* feat: 增加 Collapse 状态回调方法
2021-04-14 17:02:35 +08:00
Argo
fe9d30a0a2 !1313 feat(#I3IQKI): add TitleColor parameter on Collapse component
* docs: Collpase 增加 TitleColor 示例
* feat: Collapse 增加 TitleColor 参数
* style: 更新 CollapseItem Title 样式
2021-04-14 15:49:42 +08:00
Argo
2761d641d0 !1312 fix(#I3IR9J): Button support change the Icon parameter dynamic
* fix: Icon 支持动态更新
2021-04-14 14:36:27 +08:00
Argo-Cloud
39bf5c595b release: publish 5.0.26-beta07 2021-04-14 11:20:00 +08:00
Argo
c00fab53d4 !1311 feat(#I3IQ1A): MultiSelect support reset SelectedItems after call SetItems method
* docs: 更新 MultiSelect 组件更新数据源重置候选项示例
* feat: MultiSelect 组件切换数据源时支持已选项
2021-04-14 11:12:01 +08:00
Argo
4b24062b44 !1310 feat(#I3IOAD): Avatar component support change GetUrlAsync callback
* fix: 修复 Avatar 组件在表格中无法更新问题
2021-04-14 00:41:00 +08:00
Argo
72b491488e !1309 fix(#I3ILGW): PopoverConfirm button not work with DialogService
* release: publish 5.0.26-beta06
* fix: 修复 Table 组件行内删除按钮不选中行问题
* refactor: 移动 Show 方法到按钮类中
* refactor: 移除对 IsAsync 的支持直接使用 OnClick
* docs: 更新文档
* refactor: 移除 Hide 方法
* Revert "refactor: 删除不使用的文件"
* refactor: 精简服务类内部代码
* refactor: 使用 OnClickButton 优化性能
* refactor: 移除 PopoverConfirmBase 基类
* docs: 更新注释文档
* refactor: 删除不使用的文件
2021-04-13 22:58:46 +08:00
Argo
e20fbd193f !1307 feat(#I3ILXS): add generic method ToEnumDisplayName<TEnum> for EnumExtensions
* feat: 增加 ToEnumDisplayName 泛型方法
* refactor: 增加 Enum 泛型方法
2021-04-13 16:08:45 +08:00
Argo
2b55cbb8ed !1306 docs(#I3IK0J): update Labels sample code link
* docs: 更改 BB 仓库分支为 main
* docs: 增加 ConfigureAwait 方法
* test: 增加一个 delegate 单元测试
* docs: 更改 Labels 位置
2021-04-13 15:53:50 +08:00
Argo
12ba06f35c !1305 refactor(#I3IGXO): RequiredValidator redesign make sure Localizer avaliable
* refactor: RequiredValidator 内部资源文件处理更新
2021-04-12 22:22:15 +08:00
Argo
b8ff10d26b !1304 fix(#I3IGA9): TitleService throw exception object disposed
* refactor: 重构 Title 组件内部逻辑
2021-04-12 18:55:01 +08:00
Argo-Cloud
2edcc489ca release: publish 5.0.26-beta05 2021-04-12 18:27:08 +08:00
Argo
0bb2ae50a4 !1303 fix(#I3IG3A): Layout throw exception when call DisposeAsync
* fix: Layout 组件 DisposeAsync 抛出异常
2021-04-12 18:22:12 +08:00
Argo
ec234e8d3c !1302 docs(#I3IFZU): update README.md file
* docs: 更改 BootstrapBlazor 分支为 main
2021-04-12 18:11:57 +08:00
Argo
99a501d5d2 !1301 chore(#I3ICOP): upgrade sdk to 5.0202
* refactor: 更新依赖组件到 5.05
2021-04-12 13:12:15 +08:00
Argo-Cloud
1af4e6308c release: publish 5.0.26-beta04 2021-04-11 23:59:39 +08:00
Argo
958a9d6ae0 !1300 feat(#I3IA2H): Table SaveModelAsync method support ShowLoading parameter
* docs: 增加 Loading 示例代码链接
* feat: 增加内部 InternalToggleLoading 方法
* refactor: 增加 ShowLoading 支持
* feat: 增加内部 ToggleLoading 方法
2021-04-11 23:33:07 +08:00
Argo
12b49f6fa5 !1299 fix(#I3IA28): resolve throw invalid exception when reload Table component
* fix: 增加 Disposing 保护
2021-04-11 23:29:05 +08:00
Argo-Cloud
bb054152be release: publish 5.0.26-beta03 2021-04-10 23:49:36 +08:00
Argo
bdadf3a83c !1297 feat(#I3I8CP): Table sort feature support ShowLoading parameter
* feat: 重新设计 ShowLoading 方法
* docs: 更新注释
* refactor: 完善 ShowLoading 逻辑
* refactor: 精简代码
* feat: 精简 Loading 代码
* feat: 精简 Loading 代码
* refactor: 精简 Loading 代码
* feat: 更新 OnSortAsync 代码
* script: 更新脚本
2021-04-10 23:45:06 +08:00
Argo-Cloud
e52a236c26 release: publish 5.0.26-beta02 2021-04-09 16:26:01 +08:00
Argo
4ba98c0471 !1293 feat(#I3I447): page and page items support ShowLoading parameter
* feat: Table 组件翻页方法支持 ShowLoading
* feat: 增加 wasm 模式脚本调用判断
* scripts: 更新脚本
2021-04-09 16:25:25 +08:00
Argo
d7f6ef805a !1292 fix(#I3I3OX): not rerender ui after DELETE file on CardUpload component
* style: 更新 CardUpload 宽度
* fix: 修复 CardUpload 无法删除问题
2021-04-09 15:48:34 +08:00
Argo
d8c9f17321 !1291 feat(#I3I268): EditDialog support Table ShowLoading parameter
* feat: EditDialog 增加遮罩
* docs: 更新菜单状态
* script: 增加 EditDialog 遮罩样式与脚本
* docs: 增加数据加载示例文档
* docs: 增加数据加载菜单
* refactor: 移除双向绑定
2021-04-09 12:36:41 +08:00
Argo
b157b76610 !1290 fix(#I3I010): redesign ShowLoading logic of Table component
* release: 5.0.26-beta01
* feat: 搜索相关按钮支持 ShowLoading 功能
* feat: 删除按钮支持 Loading 功能
* perf: 工具栏按钮使用无刷新方法提高性能
* feat: 编辑按钮对 Loading 支持
* feat: 新建按钮增加对 Loading 支持
* refactor: Table 组件刷新按钮提高性能使用无刷新方法
2021-04-09 01:55:14 +08:00
Argo
918266778a !1289 chore(#I3HZQO): upgrade extensions to 5.0.16
* chore: 依赖扩展组件升级到 5.0.16
* chore: 依赖组件升级到 5.0.16
2021-04-08 21:33:44 +08:00
Argo-Cloud
2cdea01d9e release: publish 5.0.25 2021-04-08 20:36:08 +08:00
Argo
a2947ffd2c !1285 feat(#I3HZA6): add SetItems on MultiSelect component
* docs: MultiSelect 增加级联选择示例
* feat: MultiSelect 增加 SetItems 方法
2021-04-08 19:13:11 +08:00
circlelee1981
252d9a713f !1281 fix(#I3HYGJ): throw exception after callback from webapi if close dialog manual
* update Modal.razor.cs 避免重复关闭
2021-04-08 17:12:52 +08:00
Argo
252187a361 !1283 fix(#I3HYFW): revert !1280 PR for fix can't catch property inherit from parent class
* 修复Lambda 扩展方法无法获取基类属性,添加相应单元测试
2021-04-08 17:10:06 +08:00
Argo-Cloud
8420543845 release: publish 5.0.24 2021-04-08 14:58:20 +08:00
Argo
2dab2c3005 !1280 fix(#I3HWSW): throw exception when use new keyword change property Type in sub class
* docs: 格式化文档
* test: 增加单元测试
* fix: Lambda 扩展方法获取属性方法支持继承类使用 new 关键字更改属性类型
* docs: 更新 Items 注释文档
* chore: 更新依赖组件
2021-04-08 14:44:47 +08:00
Argo
cd4322cc20 !1278 feat(#I3HT3D): Upload component support inside ValidateForm
* style: 更新头像上传框样式
* docs: 增加头像框上传组件在表单中使用示例
* feat: 上传组件支持数据验证
* feat: 表单数据验证逻辑增加对 Upload 组件支持
* refactor: Chart/Markdown 组件继承 IDisposable 接口
* feat: 增加 ValidateFile 方法
* feat: AvatarUpload 支持上传文件改变时立即客户端验证
* feat: InputUpload 支持文件改变时立即进行客户端验证
2021-04-07 19:18:56 +08:00
Argo
6217855c84 !1277 refactor(#I3HSBU): Chart/Markdown implement IDisposable interface
* chore: 更新扩展组件版本
* refactor: IAsyncDisposable 接口更新
* refactor: Chart/Markdown 组件继承 IDisposable 接口
2021-04-07 19:10:59 +08:00
Argo
bfc54e86b2 !1276 feat(#I3HK4J): add IsTree parameter on Table component
* docs: 更新 Table 树形数据文档
* feat: Table 组件树形结构又 IsTree 参数控制
2021-04-07 00:40:32 +08:00
Argo
f06d7feda1 !1272 perf(#I3H1FQ): update component inherits IDisposable or IAsyncDisposable interface
* refactor: BootstrapComponentBase 移除 IDispose 接口
* refactor: QRCode 继承 IDispose 接口
* refactor: Rate 继承 IDispose 接口
* refactor: MultiSelect 继承 IDispose 接口
* refactor: Slider 继承 IDispose 接口
* refactor: Swal 继承 IDispose 接口
* refactor: Title 继承 IDispose 接口
* refactor: TableFilter 继承 IDispose 接口
* refactor: Toast 继承 IDispose 接口
* refactor: Timer 继承 IDispose 接口
* refactor: Modal 继承 IDispose 接口
* refactor: Message 继承 IDispose 接口
* refactor: Editor 继承 IDispose 接口
* refactor: Table 组件按钮继承 IDispose 接口
* refactor: Dialog 继承 IDispose 接口
* refactor: TimePickerCell 继承 IDispose 接口
* refactor: ColorPicker 继承 IDispose 接口
* refactor: Captcha 组件继承 IDisposable 接口
* refactor: Camera 继承 IAsyncDisposable 接口
* refactor: ValidateBase 移除 Dispose 方法
* refactor: BarcodeReader 继承 IAsyncDisposable 接口
* feat: Layout 继承 IAsyncDisposable 接口
* revert: 移除 DEBUG 宏定义
2021-04-06 11:51:13 +08:00
Argo
dc10c2ad2d !1271 feat(#I3GOGP): add Data parameter on Display component
* release: publish 5.0.24-beta06
* docs: 更新 Display 组件示例
* feat: Display 组件增加 Data 参数
* release: publish 5.0.24-beta05
2021-04-06 01:48:19 +08:00
Argo
8d9e4bc00a !1270 refactor(#I3GLM6): update the popconfirm button default value
* docs: 更新确认弹窗示例
* docs: 更新确认弹窗按钮默认值
2021-04-06 00:40:31 +08:00
Argo
aa3de4ee74 !1269 fix(#I3GJ68): update extensions version resolve chart and markdown component throw exception
* fix: 更新依赖组件到 5.0.16-beta01
* refactor: 更新依赖组件到最新版
* release: 扩展组件升级到 5.0.14
* refactor: 更新 WebsiteOpitons 支持本地环境
* revert: 移除 Display 同步格式化回调方法
2021-04-05 23:55:29 +08:00
Argo
0f68ef4022 !1268 feat(#I3FKWM): Display provider FormatterAsync callback
* docs: 更新同步格式化回调委托示例
* feat: Display 组件增加同步格式化字符串回调委托
* docs: 更新异步格式化回调委托示例
* feat: Display 组件支持异步格式化
2021-04-05 15:40:35 +08:00
Argo-Cloud
657ed3cf69 release: publish 5.0.24-beta04 2021-04-05 02:02:12 +08:00
Argo
36fb575512 !1267 refactor(#I3FBXA): remove CultureStorageExtensions class
* docs: 更新文档错别字 Content
* refactor: 移除 CultureStorageExtensions 扩展
2021-04-05 01:55:03 +08:00
Argo
4b6e0edaf5 !1266 refactor(#I3FBU8): remove TItem Item parameter
* refactor: 合并 OnClickWithourRender 回调委托
* refactor: 重构 TableCellButton 精简代码
2021-04-05 01:45:12 +08:00
Argo
6a28892db4 !1265 docs(#I3FA8Y): update popconfirm button in cell sample code
* release: publish 5.0.24-beta03
* docs: 更新表格单元格内显示确认弹窗示例
2021-04-04 23:07:36 +08:00
Argo
d299f8b4cf !1264 fix(#I3F9DM): upload validation always failed
* fix: 修复 Upload 客户端验证失效问题
2021-04-04 21:47:37 +08:00
Argo
e036b4ee7c !1263 feat(#I3F81W): add Display component
* docs: 更新示例文档增加 form-inline 示例
* docs: 更新内联样式下 Display 组件示例
* feat: EditorForm 支持 Display 组件
* style: 更新 EditorForm 内 Display 组件样式
* docs: 更新 EditorForm 示例代码
* docs: 更新 Display 组件示例代码
* feat: Display 组件内置对枚举集合数组处理逻辑
* feat: 增加 DisplayBase 基类
* refactor: 重构代码使用 NullableUnderlyingType 变量
* refactor: 重构代码 FormatValueAsString 使用参数
* feat: TooltipComponentBase 继承 IAsyncDisposable 接口
* feat: 更新 Checkbox 默认颜色
* docs: 更新 Display 组件示例文档
* feat: 增加 Display 组件
* docs: 更新 Inputs 组件文档
* feat: 增加组件统计合计配置功能
* docs: 增加 Display 组件菜单
2021-04-04 19:33:03 +08:00
Argo
ab8b333e14 !1262 feat(#I3F0V9): add GetUrlAsync callback method on Avatar
* docs: 更新 Avatar 异步加载图片示例
* feat: Avatar 支持异步加载图片
2021-04-04 00:29:29 +08:00
Argo
d9bbf0853a !1261 feat(#I3EZMH): Checkbox support Color parameter
* docs: 更新示例代码
* feat: Checkbox 组件增加 Color 颜色设置
2021-04-03 21:29:17 +08:00
Argo
8bf4f7aa8d !1260 feat(#I3EZGY): add IsDiabled on SelectItem
* docs: 增加 Select 选项禁用示例
* feat: 增加禁用项点击事件保护
* style: 增加 IsDisabled 样式
* scripts: 更新脚本增加针对 IsDisabled 选项逻辑
* feat: 增加 IsDisalbed 属性
2021-04-03 21:11:13 +08:00
Argo
9b364ae87d !1259 fix(#I3EY3W): SelectedRows of Table always null if not use bind-SelectedRows
* release: publish 5.0.24-beta02
* fix: 修复 SelectedRows 为空
2021-04-03 18:17:52 +08:00
Argo
3e2e6e0198 !1258 feat(#I3EX6X): add Title component
* docs: 更新网站 Title 示例
* docs: 更新首页网站标题
* refactor: 增加资源文件
* feat: 增加 IDisposable 接口逻辑
* docs: 更新 Title 组件文档
* Merge branch 'dev' into dev-title
* docs: 增加网站标题示例文档
* feat: 增加 Title 服务
* scripts: 增加 SetTitle 脚本
2021-04-03 18:01:41 +08:00
Argo
e4a3a886c7 !1257 fix(#I3EVJM): resolve throw exception when change page has Dialog component
* fix: 修复切换页面导致脚本错误问题
* Merge branch 'dev' into dev-toast
* Merge branch 'dev-dialog2' into dev-toast
* Merge branch 'dev-dialog' into dev-toast
* docs: 格式化文档
* docs: 更新 Toasts 文档
* fix: 修复 Modal 组件未释放资源问题
* refactor: SweetAlert 继承 IDispose 接口
2021-04-03 15:45:51 +08:00
Yinmany
c51c2b67e9 !1256 fix(#I3EVJM): Modal should be call dispose method
* update src/BootstrapBlazor/Components/Modal/Modal.razor.cs.
2021-04-03 14:31:46 +08:00
Argo
743ae67586 !1255 feat(#I3EVG0): update DefaultFileList parameter logic in Upload
* refactor: 重构代码
* refactor: 更改 DefaultFileList 逻辑首次加载时读取
2021-04-03 10:57:06 +08:00
Argo
10105843ef !1254 revert(#I3EVFW): revert Avatar logic
* fix: 修复示例文档 Icon 模式未设置图标问题
2021-04-03 10:54:36 +08:00
Argo
de240b9d1c !1253 fix(#I3EVFA): update InputNumber throw exception on ShowButton mode
* fix: 修复 InputNumber 显示按钮时 float double decimal 报错问题
2021-04-03 10:47:07 +08:00
Argo
7ac372fbc5 !1251 fix(#I3EPOP): step attribute missing on Input type is number
* release: publish 5.0.24-beta01
* fix: 修复 Step 生成不正确问题
2021-04-02 02:38:20 +08:00
Argo
6fa9cd4916 !1250 feat(#I3EPO5): add global config for Toast placement
* feat: 全局配置增加 ToastPlacement 设置项
* feat: 增加泛型 Copy 方法
2021-04-02 01:58:01 +08:00
Argo
0d2d01e4d2 !1249 fix(#I3EPN1): column show/hide feature not work on Table card view mode
Merge pull request !1249 from Argo/dev-chore
2021-04-02 00:53:28 +08:00
circlelee1981
48cfc05834 !1247 SearchText lambda expression should be use Or logic
* update DefaultDataService 参与搜索的各条件用"OR"运算
2021-04-02 00:26:47 +08:00
Argo
07c9da99e1 !1248 feat(#I3EGFT): TimePicker can use mouse wheel choose time
* refactor: 兼容 firefox
* feat: 增加滚轮逻辑代码
* refactor: 增加 Interop 类带返回值方法
* script: 增加滚轮 js 效果代码
2021-04-02 00:18:43 +08:00
Argo
3fc6c80c86 !1245 chore(#I3EM8C): update dependence to 5.0.23
* chore: 更新扩展组件版本
* chore: 扩展类版本更新到 5.0.13
* refactor: 移除 Markdown 版本号
2021-04-01 16:00:22 +08:00
Argo-Cloud
f8dcc0b6b2 release: publish 5.0.23 2021-04-01 13:47:35 +08:00
Argo
73a34d169d !1244 docs(#I3EJIM): update selected rows in line Button sample code
* docs: 更新行内按钮操作后选中当前行示例
* feat: 行内按钮支持设置当前行选中功能
* fix: 修复小屏幕下行号不正确问题
2021-04-01 12:08:54 +08:00
Argo
bdda880aa5 !1243 fix(#I3EJHX): table line no keep increase on mobile mode
* fix: 修复小屏幕下行号不正确问题
2021-04-01 12:04:49 +08:00
Argo
62cae7a29e !1242 feat(#I3EIU2): InputNumber set default value for single double decimal
* feat: Step 增加默认值
2021-04-01 11:01:38 +08:00
Argo
abbbfdd0a3 !1241 feat(#I3EHKZ): add checkbox-list style for min-height default value 35px
* style: 更新样式设置最小高度
2021-04-01 00:26:46 +08:00
Argo
c1e6fffdee !1240 refactor(#I3EHK7): redesign EditorForm cascading value for show label
* feat: 修复 EditorForm 级联参数确保 ShowLabel 判断准确
2021-04-01 00:12:32 +08:00
Argo
324455eedd !1239 fix(#I3EGGO): validate component should not auto show label when bind data
* fix: 修复 EditorForm ShowLabel 逻辑
2021-03-31 18:13:54 +08:00
Argo-Cloud
4941e31bb7 release: publish 5.0.23-beta13 2021-03-31 17:40:51 +08:00
Argo
4a15cd7608 !1238 feat(#I3D6UP): update ValidateForm/EditorForm/Validate component ShowLabel logic
* docs: 增加表单标签菜单
* docs: 更新文档
* feat: 调整 CheckboxList 显示内容
* feat: 优先考虑 EditorForm 未嵌套 ValidateForm 情况
* docs: 增加 label 文档
* refactor: 更改方法关键字
* feat: 更新 Checkbox ShowLabel 逻辑
* feat: 更新 ShowLabel 逻辑
* refactor: Toggle 组件使用 IsShowLabel 参数
* refactor: EditForm 更改为 ValidateForm
* feat: ValidateForm 增加 ShowLabel 参数
* feat: EditorForm ShowLabel 参数使用 ValidateForm 级联值
2021-03-31 17:40:16 +08:00
Argo
437b4d96c7 !1237 feat(#I3EG1S): avatar/upload support reset Url parameter use code
* feat: 更改参数逻辑
2021-03-31 17:39:05 +08:00
Argo-Cloud
7d740425e7 release: publish 5.0.23-beta12 2021-03-31 01:27:43 +08:00
Argo
8155325018 !1236 fix(#I3EB63): not restore the default display text when use variable
* fix: 修复标签不能动态改变问题
2021-03-31 01:13:28 +08:00
Argo
3555963903 !1235 docs(#I3EB62): update docs for table edit sample code
* docs: 更新无限弹窗示例
* docs: 增加 TableEdit 示例文档说明
* Merge branch 'dev' into dev-docs
* refactor: remove SetKey
* refactor: update key
* refactor: 优化代码
* docs: update sample code link
2021-03-31 01:04:50 +08:00
Argo
05246ee852 !1234 fix(#I3EB4V): ValidateForm valid failed when change model by code
* fix: 修复 ValidateForm 表单不支持动态更改 Model 问题
2021-03-31 00:18:44 +08:00
zglp
f215ecec7b !1230 docs(#I3E9Q5): update Dialog ShowModal sample code
* 移除多余空格
* Merge remote-tracking branch 'Argo/dev-dialog-table' into dev-DialogShowModal
* Merge branch 'dev' into dev-DialogShowModal
* fix: 修复弹窗实战示例2
* 修复对话框调用ShowModal组件渲染两次
2021-03-30 17:44:54 +08:00
Argo
68283dda24 !1233 docs(#I3E8DI): remove unused c# file
* refactor: 重构代码逻辑
* refactor: 移除文件
* docs: 更新明细行示例代码
2021-03-30 15:52:05 +08:00
Argo
ad35968019 !1231 docs(#I3E7HZ): update Table AufoRefresh sample code
* docs: 更新配置文档
* docs: 更新 Table 组件自动更新文档示例
2021-03-30 14:35:26 +08:00
Argo
3610c1e89f !1229 docs(#I3E6RM): update Table Column sample code
* docs: 更新列示例文档
* chore: update nuget package source
* chore: update eidtorconfig file
2021-03-30 13:03:49 +08:00
Argo-Cloud
a03d6d4869 chore: add nuget.config file 2021-03-29 17:17:19 +08:00
Argo-Cloud
5517556bb9 release: markdown 组件发布 beta01 版本 2021-03-29 16:48:48 +08:00
Argo
37c562d176 !1228 feat(#I3E183): VadliateForm support async submit button
* docs: 增加异步提交表单示例
* feat: 验证表单支持异步提交按钮
2021-03-29 15:29:07 +08:00
j4587698
b27ed69ada !1227 feat(#I3DX9J): add IsViewer for Markdown component
* 添加MarkdownEditor的Viewer模式
2021-03-29 15:23:38 +08:00
Argo
d37f192a66 !1226 feat(#I3DZKZ): add logic for single async button on Table Toolbar
* docs: 更新示例文档
* feat: 增加异步按钮单独控制功能
2021-03-29 12:03:02 +08:00
Argo
ecf6bd1464 !1225 fix(#I3DYX5): select All item in Table filter not trigger OnQueryAsync method
* fix: 修复 Table Filter 功能选择全部时不重新查询问题
2021-03-29 11:04:18 +08:00
Argo
52462a457c !1224 feat(#I3DYJF): add style for label not required in validate form
* style: 微调表单组件内 Label 对齐方式
2021-03-29 10:35:36 +08:00
Argo
c0a19c9596 !1223 fix(#I3DXDI): expand all items when click padding area on Collapse body
* release: publish 5.0.23-beta10
* refactor: 增加静态关键字
* fix: 移除点击事件
2021-03-29 00:23:40 +08:00
Argo
82366af97a !1222 refactor(#I3DWY8): change service lifetime to scope
* refactor: 移除 BootstrapBlazorRoot 代码
* refactor: 重构代码
* feat: 更新 ServiceProviderHelper 逻辑
* refactor: 重构代码
* refactor: 更改服务生命周期为 Scope
2021-03-28 18:58:09 +08:00
Argo
e7c9a879e9 !1221 docs(#I3DWJQ): update async download sample code
* release: publish 5.0.23-beta08
* docs: 更新异步下载示例
2021-03-28 15:14:42 +08:00
Argo
9d316d6abf !1220 feat(#I3DWIV): ToolbarButton support IsAsync mode
* docs: 更新异步下载示例
* feat: TableToolbarButton 支持 IsAsync 功能
* docs: 更新 Table 组件数据导出示例
* feat: 更改 ToastBox 参数形式
* feat: ToastOption 配置类内置 ToastBox 实例用于关闭弹窗
* refactor: 精简代码
* scripts: 增加关闭弹窗方法
* docs: 增加异步下载示例
* docs: 更新注释文档
2021-03-28 15:07:28 +08:00
Argo
8614831edc !1219 feat(#I3DWIO): add Close method on ToastOption
* docs: 更新 Table 组件数据导出示例
* feat: 更改 ToastBox 参数形式
* feat: ToastOption 配置类内置 ToastBox 实例用于关闭弹窗
* refactor: 精简代码
* scripts: 增加关闭弹窗方法
* docs: 更新注释文档
2021-03-28 15:05:36 +08:00
Argo
3fbf39878a !1218 fix(#I3DVN9): filter the Editable property on EditDialog if not set Items value
* Merge branch 'dev' into dev-editor-dialog
* release: publish 5.0.23-beta07
* fix: EditDialog 自动使用 Editable 条件的属性
* refactor: 更改参数类型为 KeyValuePair<string, object?>
2021-03-28 02:15:46 +08:00
Argo
74e4268f01 !1217 refactor(#I3DVN8): use KeyValuePair<string, object?> type for NET6.0
* refactor: 更改参数类型为 KeyValuePair<string, object?>
2021-03-28 02:08:42 +08:00
Argo
e592416919 !1216 fix(#I3DVN3): not filter the Searchable condition in SearchDialog
* fix: SearchDialog 未过滤 Searchable 条件
* refactor: 更新 GenerateColumns 方法
2021-03-28 01:40:48 +08:00
Argo
b525035da4 !1215 fix(#I3DVN2): update Button logic prevent reassign OnClick event callback
* fix: 修复 Button 点击事件二次赋值问题
2021-03-28 01:38:25 +08:00
Argo
ec3a123bfb !1214 feat(#I3DVAK): add IsAsync parameter on Button
* docs: 更新按钮菜单状态
* docs: 增加异步加载示例
* feat: Button 增加 IsAsync 属性
* refactor: 移除不使用的代码
2021-03-27 20:17:39 +08:00
Argo
5f121ec1ce !1213 fix(#I3DUHU): duplicate add Button in table toolbar when switch ShowButton
* release: pubulish 5.0.23-beta06
* fix: 修复按钮添加后无法移除问题
2021-03-27 14:53:50 +08:00
Argo
fbe7fd228b !1212 docs(#I3DU7B): add row menu link
* refactor: 移除测试按钮
* docs: add row component menu
* docs: update checkboxlist IsDisabled doc
* docs: 增加 ValidateForm 视频链接
2021-03-27 13:30:03 +08:00
Argo
72420740ea !1211 feat(#I3DU67): upload support Disable feature
* feat: 卡片式上传组件支持禁用
* style: 更新卡片式上传组件样式
* feat: 头像上传组件支持禁用
* style: 头像类型上传组件更新样式
* feat: 上传按钮样式组件支持禁用
* style: 更新样式
* refactor: InputUpload 增加禁用功能
2021-03-27 12:59:36 +08:00
Argo
11dace83c6 !1210 docs(#I3DTRQ): add DataService sample code
* docs: 增加自定义数据服务示例
2021-03-27 10:46:19 +08:00
Argo
82ca776f88 !1209 feat(#I3DTRL): add disable feature on CheckboxList
* docs: CheckboxList 增加禁用示例
* feat: CheckboxList 支持禁用功能
2021-03-27 10:44:50 +08:00
Argo
978279f363 !1208 fix(#I3DP5D): remove editable is false items in Table use EditMode is EditForm
* release: publish 5.0.23-beta05
* fix: 修复 EditMode 为 EditForm 时自动生成 Editable = false 列仍然出现
2021-03-26 21:10:13 +08:00
Argo
18b1c3bf86 !1207 refactor(#I3DP46): remove BootstrapBlazorRoot component
* release: publish 5.0.23-beta04
* feat: 完善 ServiceProviderHelper 逻辑
2021-03-26 20:55:53 +08:00
Argo
e5cf86ea4f !1206 feat(#I3DN0R): redesign Upload component for inside in ValidateForm
* release: publish 5.0.23-beta03
* docs: 更新资源文件
* docs: 更新设置预览地址示例
* docs: 更新示例文档
* feat: 增加表单内使用显示标签方法
* refactor: 增加泛型支持
2021-03-26 17:30:39 +08:00
Argo
c162fc28e5 !1205 docs(#I3DKZQ): add Bulma link
* docs: 增加 Bulma 链接
2021-03-26 15:55:30 +08:00
Argo
5ea38c99d1 !1204 fix(#I3DHAR): improve ServiceProviderHelper class use BootstrapBlazorRoot make sure use the same ServiceProvider
* docs: 格式化 wasm 代码
* refactor: 精简代码移除注册服务代码
* docs: 示例文档增加 BootstrapBlazorRoot 组件
* feat: 增加 BootstrapBlazorRoot 组件
* refactor: 更改注入服务生命周期为 Singleton
* docs: 更改 SwalService 注入服务位置
* docs: 增加主题切换配置
* docs: 更新 Theme 主题切换按钮 z-index = 10
2021-03-26 15:04:25 +08:00
Argo
ca286e8e99 !1203 feat(#I3DF9O): add ShowResetSearch parameter default value is true
* docs: 更新清空搜索按钮文档
* feat: 增加清空搜索按钮控制参数
2021-03-26 00:18:17 +08:00
Argo
131473a5c0 !1202 docs(#I3DECD): update table export sample code
* docs: 更新导出示例链接
* docs: 更新导出功能示例
2021-03-25 23:21:46 +08:00
Argo
eb992f8ada !1201 docs(#I3DDGK): update table filter sample code
* docs: 更新示例文档链接
* docs: 更新过滤示例代码
2021-03-25 22:23:30 +08:00
Argo-Cloud
c04a142697 release: publish 5.0.23-beta01 2021-03-25 22:44:02 +08:00
zglp
120c22ccb3 !1198 fix(#I3DC8H): missing ValidateContext in CustomerValidator
* 修复自定义ValidationAttribute时ValidationContext为null
2021-03-25 20:43:18 +08:00
Argo
6cd9acf32d !1200 feat(#I3D7YR): add red * before label when bind field has required attribute
* feat: 增加 Required 标签检查
* docs: 更新文档
* style: 更新样式
* feat: 表单组件支持必填项显示 *
* feat: VaildateBase 增加 Required 属性用于增加 html 标签
* feat: ValidateForm 增加 ShowRequiredMark 参数默认为 true
* refactor: 使用注入服务获取 JsonLocalzationOptions
2021-03-25 18:32:01 +08:00
Argo
f722ad07fe !1199 feat(#I3D71B): update ServiceProviderHelper logic for make ServiceProvider same scope
* refactor: 根据 ServiceProviderHelper 调整代码
* feat: 增加 ssr 模式对 HttpContextAccessor 的注入
* feat: 更新 ServiceProviderHelper 内部逻辑保证 Scope 一致性
2021-03-25 15:31:20 +08:00
Argo
de747e1bc2 !1197 feat(#I3CXJY): Select auto generate Items if TValue is enum
* docs: 精简代码不需要设置 Items
* docs: 更新 ValidateForms 中对 Select 枚举类型处理示例
* feat: Select 组件内置对枚举类型的处理
* docs: 更新 ValidateForm 示例文档
* refactor: 更新 SetError 方法
2021-03-24 16:04:34 +08:00
zglp
d05b6bba8c !1195 fix(#I3CTEJ): update OnTreeExpand method
* 修复OnTreeExpand中调用异步函数出错
2021-03-24 11:36:04 +08:00
Argo
a28667f25e !1196 docs(#I3CSYA): update dependence lib
* chore: 更新依赖组件到最新版
* chore: 扩展类更新版本懂啊 5.0.12
2021-03-24 11:23:29 +08:00
刘亮
23e385b107 !1194 feat(#I3CSX1): add SetError override method
* 加入SetError的一个重载,使用字符串指定字段
2021-03-24 11:16:51 +08:00
Argo Zhang
c50d429102 docs: add link for changelog 5.0.22 2021-03-24 10:37:31 +08:00
Argo Zhang
a9ccb16e19 release: publish 5.0.22 2021-03-24 10:28:15 +08:00
Argo Zhang
49ecc6cc27 docs: update changelog 5.0.22 2021-03-24 10:22:57 +08:00
Argo-Cloud
e24d35e3b7 release: publish 5.0.22-beta04 2021-03-24 03:02:18 +08:00
Argo
6c6af4a444 !1193 feat(#I3CQYI): add OnEditAsync callback on Table
* feat: 增加 OnEditAsync 回调委托
2021-03-24 00:54:53 +08:00
Argo
e84bbc3e4d !1192 feat(#I3CQY7): redesign row component for grid layout
* docs: 微调文档
* chore: 开启压缩
* Merge branch 'dev' into dev-rows
* docs: 更新示例代码
* scripts: 支持嵌套使用
* Merge branch 'dev' into dev-rows
* feat: IValidateComponent 增加禁用与跳过属性
* docs: 更新示例代码
* refactor: 精简代码
* feat: 增加 grid 脚本用于自动布局
* docs: 更新嵌套示例
* docs: 更新 Row 组件示例使用实际组件呈现
* style: 更新 Select 在 Row 组件中的布局样式
* style: 增加 Switch 组件在 form-row 中的布局样式
* docs: 更新示例
* feat: 完善布局脚本
* docs: 更新示例
* chore: 增加样式与脚本
* refactor: 更新 Row 组件
* feat: 增加 row 类型与每行组件数量枚举类型
* revert: 重置 BootstrapComponentBase
2021-03-24 00:37:10 +08:00
Argo
4b5524c583 !1191 feat(#I3CQXQ): auto generate column can customer component for property
* Merge branch 'dev' into dev-EditorForm
* docs: 移除布尔类型数据渲染模板
* feat: 组件内部处理 bool 数据类型呈现组件
* feat: IEditorItem 增加 ComponentType 属性可自定义呈现组件
2021-03-24 00:19:29 +08:00
Argo
8caca1b0e5 !1190 docs(#I3CQXN): update table detail row sample code
* docs: 更新明细行示例
2021-03-24 00:13:05 +08:00
Argo
fa56698d87 !1189 fix(#I3CPLZ): update item count in EFCore data service
* release: 发布 5.0.12-beta02
* fix: 修复 EFCore 页码不正确问题
2021-03-23 18:42:01 +08:00
Argo
3b24f9ccc7 !1188 feat(#I3CPJK): Switch compatible with Row
* style: 增加 Switch 组件在 form-row 中的布局样式
2021-03-23 18:30:03 +08:00
Argo
6d35296b37 !1187 feat(#I3CPJ8): Select compatible with Row
* style: 更新 Select 在 Row 组件中的布局样式
2021-03-23 18:26:57 +08:00
Argo
ca6ece9ac8 !1186 perf(#I3CPID): improve validate performance
* feat: IValidateComponent 增加禁用与跳过属性
2021-03-23 18:23:02 +08:00
zglp
7f78203481 !1172 feat(#I3CFJS): keep Tree expand state after edit
* 修复编辑后Table树形结构自动收缩的问题
* 添加具有单表维护功能的树形数据案例
* 修复Table树形结构数据源不更新问题
2021-03-22 14:07:30 +08:00
Argo
14668753de !1185 fix(#I3CFAS): update logic in EFCore extensions
* fix: 修复默认条件导致递归无限循环问题
* fix: 修复 EFCore 扩展导致高级搜索高亮问题
* fix: 修复 EFCore 扩展过滤条件缺失 Filter 判断问题
2021-03-22 13:43:33 +08:00
circlelee1981
4aec42a6ae !1181 fix(#I3CFAS): remove condition default parameter
* update IQueryableExtensions.cs 去除condition参数的默认值, 避免递归运算
2021-03-22 13:41:30 +08:00
Argo
1d106f0261 !1184 docs(#I3CF7E): update Foo sample code
* refactor: 拆分 Educations 到 Rows 组件内部
2021-03-22 13:28:18 +08:00
Argo
4cb72b5584 !1183 fix(#I3CF4K): use same service lifetime in EFCore extensions
* release: 发布 5.0.12-beta01
* fix: 修复注册服务生命周期不一致问题
2021-03-22 13:25:54 +08:00
Argo
09b750b57f !1182 docs(#I3CF12): update fixed column sample code
* docs: 更新固定列示例代码
* docs: 格式化文档
* docs: update components (#74)
2021-03-22 12:37:59 +08:00
Argo
10b205b67d !1178 fix(#I3CCK1): update SwalService for Delay parameter use WebSiteOption config
* fix: 修复 Swal 组件延时时间未使用全局配置问题
2021-03-21 21:59:13 +08:00
Argo
288e32da5e !1177 fix(#I3CCIQ): update Message for effect of WebsiteOption MessageDelay config
* feat: Message 组件支持全局配置延时时间
* refactor: 移除 MessageBase 基类
2021-03-21 21:43:32 +08:00
Argo
2b429cb9e0 !1176 docs(#I3CC5Q): update target framework config
* docs: 更新 Table 树形数据视频链接
* chore: 更改目标框架设置文件
* release: publish 5.022-beta03
* chore: 更新框架版本脚本
2021-03-21 17:57:01 +08:00
Argo
5f9d9388a8 !1175 fix(#I3CBSW): use ManualEventReset compatible with web assembly
* refactor: 修复 wasm 版本号无法使用 FileVersionInfo 类问题
* refactor: 移除 ManualResetEventSlim 类修复 wasm 无法使用问题
2021-03-21 14:57:27 +08:00
Argo
29bbffe68e !1174 chore(#I3CBS1): use props file set TargetFramework
* chore: 统一设置框架
* chore: net5.0 框架消除 8620 警告
* refactor: 重构参数集合可为空消除警告
2021-03-21 14:50:57 +08:00
Argo
217cc078ca !1173 feat(#I3CBQT): wasm add check browser compatibility
* feat: 增加不支持 wasm 检测
2021-03-21 14:29:47 +08:00
Argo
d6b05efc5d !1171 feat(#I3CBI6): add complex poco data annotation validation
* release: publish 5.0.22-beta02
* docs: 更新 SetError 示例
* feat: 更新 SetError 方法
* feat: 更新 ValidateContext DisplayName
* docs: 更新资源文件
* docs: 增加复杂类型数据验证支持
* docs: 增加资源文件
* feat: ValidateForm 支持验证所有字段
* feat: 重新设计验证逻辑支持复杂类型
* feat: Lambda 扩展方法增加 GetPropertyValue 方法
* feat: Validate 组件 id 生成规则增加 Model 值
* refactor: 增加级联参数判断
2021-03-21 11:31:03 +08:00
Argo
dfbc622273 !1170 refactor(#I3CA0I): rename DynamicComponent to BootstrapDynamicComponent
* docs: 更新文档链接
* refactor: DynamicComponent 改名为 BootstraplDynamicComponent
* feat: 增加 BootstrapDynamicComponent 类
2021-03-20 15:08:21 +08:00
Argo
33557825cf !1169 docs(#I3C8Q3): update dialog samples
* docs: update dialog samples
* docs: 更新无限弹窗示例
* feat: 移除 KeepChildrenState 参数
* fix: 修复 Tab 组件在弹窗中 active 蓝条初始化不正确问题
2021-03-20 00:29:53 +08:00
Argo
ee21d06ffa !1168 fix(#I3C8PH): update Tab miss under line style in Dialog when first render
* fix: 修复 Tab 组件在弹窗中 active 蓝条初始化不正确问题
2021-03-20 00:15:21 +08:00
Argo-Cloud
9088449686 release: publish 5.0.22-beta01 2021-03-19 15:42:06 +08:00
Argo
d44a8a59b8 !1167 feat(#I3C6GH): add loading icon for delay load tree children data on Table
* docs: 更新示例代码增加 1 秒延时示例
* feat: 增加属性数据节点展开动画效果
* style: 移除树形数据节点样式
2021-03-19 15:41:30 +08:00
Argo
fefaa2ba00 !1166 docs(#I3C4HV): update fix header sample code
* docs: 更新固定表头示例
2021-03-19 11:29:42 +08:00
Argo
175cd55b8b !1165 docs(#I3C4F0): update multiple table header sample
* docs: Table 组件更新多表头示例
2021-03-19 11:21:50 +08:00
Argo
3b0314026b !1164 fix(#I3C436): update row logic
Merge pull request !1164 from Argo/dev-rows
2021-03-19 10:47:07 +08:00
liu liang
7053d7345d feat: update row logic
(cherry picked from commit e72baf078b757a761b5cb1765033e7876c71a674)
2021-03-19 10:44:27 +08:00
Argo
1bb9c2aa51 !1163 fix(#I3C2W4): advance search button highlight when use NullDataService
* fix: 修复内置数据注入服务导致高级搜索高亮
2021-03-19 00:17:19 +08:00
Argo
9b39bbcb5e !1162 docs(#I3C2W1): add changelog markdown file
* docs: 增加 changelog 文档
* docs: 更新 Readme 文档增加小挂件
2021-03-19 00:14:38 +08:00
Argo
98d00a409e !1161 fix(#I3C205): move switch click handler to span element
* fix: 移动 onclick 事件到 span 元素上
* refactor: 移除自定义显示文本
* style: 微调小屏幕下 Table 组件的值列高度问题
* style: 微调 switch 组件在表单内的高度
* refactor: 移除 SwitchBase 基类
2021-03-18 19:24:23 +08:00
Argo-Cloud
f08b573e8f chore: update dependeces version to 5.0.11 2021-03-18 16:48:41 +08:00
Argo-Cloud
9bb79547e2 chore: upgrade extension version to 5.0.11 2021-03-18 16:41:38 +08:00
Argo-Cloud
8127653713 release: publish 5.0.21 2021-03-18 16:36:39 +08:00
Argo
aa1f894613 !1160 feat(#I3BZ5J): add BootstrapBlazor lib version info on website
* docs: 网站增加组件版本信息
2021-03-18 16:00:08 +08:00
Argo
5b1dde7dbc !1159 fix(#I3BXFM): Table throw exception if not register IDataService instance
* release: publish 5.0.21-beta01
* fix: 修复未注册数据服务时 Table 组件报错问题
2021-03-18 13:24:54 +08:00
Argo-Cloud
79a381eec5 chore: update dependences lib 2021-03-18 11:24:15 +08:00
Argo-Cloud
77cfdf67cd release: update extensions verstion to 5.0.10 2021-03-18 11:04:52 +08:00
Argo Zhang
b914021fa8 release: publish 5.0.20 2021-03-18 10:57:31 +08:00
Argo
93e00fedd9 !1158 feat(#I3BULP): add DataServices parameter on Table
* release: publish 5.0.20-beta07
* docs: 更新数据注入服务文档
* feat: 增加 DataServices 参数
2021-03-17 20:51:02 +08:00
zglp
fa963c191d !1157 feat(#I3BUL0): multi-select support array
* 修复多项选中数组双向绑定
* 添加多项选择绑定int[]示例
* 多项选择支持数组
2021-03-17 20:21:00 +08:00
Argo
30550b5d78 !1156 docs(#I3BQTC): add ValidateAllProperties for ValidateForm component sample
* docs: 更新 ValidateForm 示例
* chore: rename master to publish
* chore: update github actions scripts
* chore: update pack action
2021-03-17 11:42:46 +08:00
Argo-Cloud
3fee0405ba release: publish 5.0.20-beta06 2021-03-16 19:01:10 +08:00
Argo
76b0e80dad !1155 feat(#I3BNXX): add ValidateAllProperties parameter on ValidateForm defaut is false
* feat: ValidateForm 支持仅验证表单中的字段
* feat: 增加验证所有属性逻辑
2021-03-16 19:00:18 +08:00
Argo
23135b9f1f !1154 feat(#I3BN0L): add SetError method on ValidateForm
* feat: ValidateForm 增加 SetError 方法
* refactor: 移除 ValidateFormBase 基类
2021-03-16 17:06:40 +08:00
Argo
4c0b88e262 !1153 feat(#I3BKXC): show trash icon when mouse hover upload failed item
* style: 文件上传失败鼠标悬停时显示垃圾桶图标
* docs: 精简代码
2021-03-16 14:01:37 +08:00
Argo
03d2b9cdff !1152 fix(#I3ALSP): update show progress when set IsMultiple to true on Upload component
* docs: 更新菜单状态
* docs: 更新 Upload 示例
* fix: 增加多文件上传更新 UI 逻辑
* style: 微调主题按钮 z-index
2021-03-16 13:10:34 +08:00
Argo
47e79428ea !1151 fix(#I3BGMV): update active row style when fix column and enable strip
* fix: 修复固定列选中行样式问题
2021-03-16 11:03:25 +08:00
Argo-Cloud
cbe2d97f9e Revert "!1150 update src/BootstrapBlazor/Components/Table/Table.razor.cs.css."
This reverts commit 2f354f251f.
2021-03-16 11:02:33 +08:00
freesaber
2f354f251f !1150 update src/BootstrapBlazor/Components/Table/Table.razor.cs.css.
* update src/BootstrapBlazor/Components/Table/Table.razor.cs.css.
2021-03-16 11:01:50 +08:00
Argo
6206549288 !1149 fix(#I3BGMV): background color incorrect active row when enable fix column and strip
* fix: 修复固定列斑马线选中行颜色不一致问题
2021-03-15 17:11:14 +08:00
Argo-Cloud
d360322de7 release: publish 5.0.20-beta05 2021-03-15 16:28:28 +08:00
Argo
a98df6ee4d !1148 fix(#I3BG6W): can't close Modal
* fix: 修复 Modal 无法关闭问题
2021-03-15 16:28:31 +08:00
Argo
eeb957f025 !1147 fix(#I3AB7H): add spin icon in upload process
* feat: ButtonUpload 增加上传中小动画
2021-03-15 14:18:42 +08:00
Argo-Cloud
0dc763db61 Revert "!1146 update src/BootstrapBlazor/Components/Upload/ButtonUpload.razor."
This reverts commit 5f5fe78443.
2021-03-15 14:11:09 +08:00
Conway
5f5fe78443 !1146 update src/BootstrapBlazor/Components/Upload/ButtonUpload.razor.
* update src/BootstrapBlazor/Components/Upload/ButtonUpload.razor.
2021-03-15 14:00:59 +08:00
zglp
a5c4a46552 !1145 fix(#I3BEBQ): highlight active item in Cascader
* 修复选中节点不高亮显示的Bug
* 修复点击子节点边缘会触发父级节点事件的BUG
* Merge branch 'dev' of https://gitee.com/s_z_j/BootstrapBlazor into dev
* 修复级联选择值改变显示文本不更新问题
* Merge branch 'dev' of https://gitee.com/s_z_j/BootstrapBlazor into dev
* 添加隐藏保存、删除失败后的吐司提示功能
2021-03-15 13:29:53 +08:00
Argo-Cloud
da5b490785 release: publish 5.0.20-beta04 2021-03-14 20:52:20 +08:00
Argo
91d9a9d059 !1144 fix(#I3BBNS): clicktoselect not work after add tree data feature on table
* fix: 修复行点击无响应问题
* Revert "!1134 fix(#I3B50S): update table not render after edit data in tree"
2021-03-14 20:50:22 +08:00
Argo
f144ee18ec !1143 perf(#I3BBMK): improve swal etc dialog performance
* feat: 优化搜索弹窗逻辑
* refactor: Foo 模型增加搜索配置项
* refactor: 精简代码
* feat: EditDialog 支持弹窗新逻辑
* refactor: 重构 SweetAlert 组件
* refactor: 移除不必要的刷新调用
* refactor: 更新注释
* refactor: 重命名方法名称
* refactor: 格式化代码
* feat: 增加代码关闭弹窗触发 Dialog OnClose 逻辑
* refactor: Dialog 参数增加 NotNull 标签
* refactor: 移除 base 基类精简代码
* docs: 移动悬浮窗到文档结尾部分
* refactor: 微调主题关闭按钮位置与颜色
2021-03-14 20:26:31 +08:00
Argo-Cloud
37737d7520 release: publish 5.0.20-beta03 2021-03-14 02:16:07 +08:00
Argo
2f1f37d714 !1142 feat(#I3BADG): Dialog support loop call show method
* docs: 增加无限弹窗示例
* feat: Dialog 支持无限弹窗
* style: 减小 Header 上下间隙
* docs: 微调主题关闭按钮样式
2021-03-14 02:13:50 +08:00
zglp
694e4a4618 !1140 fix(#I3B9GU): text not rerender after selected value changed
* 修复级联选择值改变显示文本不更新问题
* Merge branch 'dev' of https://gitee.com/s_z_j/BootstrapBlazor into dev
* 添加隐藏保存、删除失败后的吐司提示功能
2021-03-13 20:49:10 +08:00
Argo
357cae0b1b !1141 refactor(#I3B9GN): redesign switch theme logic
* feat: 重构主题切换功能
* fix: 修复无法选择主题问题
* style: 微调脚本与样式
* docs: 选择主题文字使用资源文件
* docs: 增加资源文件
2021-03-13 20:46:21 +08:00
Argo
5005a582c9 !1139 feat(#I3B8RN): provider Theme feature on website
* feat: 增加主题切换功能
* style: 更新主题选择按钮样式
* refactor: 增加主题选择 UI
* feat: 增加主题选择组件
* docs: 增加资源文件
* feat: 增加那个当前主题参数可配置
* feat: Opitons 增加 Themes 参数
* feat: 增加 Theme 组件
2021-03-13 17:48:47 +08:00
zglp
f18b073451 !1138 feat(#I3B8FX): add ShowErrorToast parameter on Table
* 添加隐藏保存、删除失败后的吐司提示功能
2021-03-13 16:06:36 +08:00
zglp
b27b2b591f !1137 feat(#I3B7UV): add Cascader component
* 添加级联选择文档
* 实现级联选择组件
2021-03-13 12:49:53 +08:00
Argo
6f35fc96ec !1136 fix(#I3B502): resolve ClickToSelect conflict with extension buttons click event
* release: publish 5.0.20-beta02
* fix: 修复点击行选中功能与扩展操作列中按钮事件冲突问题
2021-03-12 18:46:36 +08:00
Argo
a4bb6d66f5 !1135 docs(#I3B51K): update wasm website link
* refactor: 增加未注册 BootstrapBlazor 提示信息
* chore: 更新默认网站设置
2021-03-12 15:47:07 +08:00
Shelden Xie
426d5a2446 !1134 fix(#I3B50S): update table not render after edit data in tree
* update src/BootstrapBlazor/Components/Table/Table.razor.cs.
2021-03-12 15:44:39 +08:00
Argo
5bc0f754eb !1133 docs(#I3B4IN): add br request for wasm
* chore: 更新 decode 链接地址
* feat: 增加压缩优化机制
* feat: 使用 br 压缩
2021-03-12 14:52:30 +08:00
Argo
ffecd4d19f !1132 docs(#I3B30O): add ccflow link
* docs: 增加 ccflow 友情链接
2021-03-12 11:05:19 +08:00
Argo
56c7ff015a !1131 docs(#I3B1VU): update TablePages sample code
* docs: 更新分页示例
* docs: 更新代码配置文件
2021-03-12 01:26:34 +08:00
Argo
710db2ca60 !1130 feat(#I3B1VL): EditorForm auto layout for Textarea component
* docs: 增加 Textarea 示例
* feat: 增加 Textarea 组件布局逻辑
* refactor: 精简代码
* refactor: 格式化代码
2021-03-12 01:11:08 +08:00
zglp
336496ff69 !1129 feat(#I3B1UH): EditorForm support TextArea component
* 修复特性不支持int?
* 表单组件自动生成模型支持多行文本
2021-03-12 00:35:16 +08:00
Argo
10cbea9245 !1128 fix(#I3AZOI): update top menu css
* fix: 修复菜单顶栏用法样式问题
2021-03-11 16:57:42 +08:00
Argo
f07897e9ae !1127 perf(#I3AYCH): improve Dialog performance prevent duplicate render on ChildContent
* perf: 优化 Dialog 性能方式 ChildContent 二次渲染
* refactor: 更新 Close 方法引用
* chore: 更新依赖组件版本
* docs: 更新 Table 文档
2021-03-11 13:57:31 +08:00
Argo-Cloud
7ad7304179 release: publish 5.0.19 2021-03-11 10:28:50 +08:00
Argo
5140e3b169 !1126 feat(#I39LMX): show Tree in table component
* style: 增加小箭头旋转动画
* refactor: 更新首列显示箭头并点击单元格生效逻辑
* perf: 提高性能
* style: 更新样式
* refactor: 格式化文件
* feat: 增加 StopPropagation 属性
* refactor: 更新 TryGetTreeNodeByItem 方法
* feat: 更新主键生成逻辑
* feat: 修复树形节点展开收缩功能
2021-03-11 00:11:03 +08:00
Argo
ff915663fc !1125 feat(#I3AS8G): add ShowLoading parameter default false
* feat: 增加 ShowLoading 参数设置是否显示正在加载中
2021-03-11 00:08:41 +08:00
Argo
fe61580e7a !1124 chore(#I3ARM2): Switch split css
* feat: Switch 组件增加最小宽度
* style: 拆分 switch 样式
* style: 适配宽屏
2021-03-10 11:10:54 +08:00
Argo
2b48759f05 !1123 refactor(#I3ARCO): select responsive for col-12 in form inline
* style: 更新 select 样式适配 col-12 下充满
2021-03-10 10:45:47 +08:00
Argo
34f86d360e !1122 docs(#I3APVB): add Tables sample code
* refactor: 增加表格示例代码
2021-03-10 00:58:21 +08:00
Argo
85d20ccdfa !1121 docs(#I3APUU): add TableRow sample code
* refactor: 增加 TablesRow 脚本
* refactor: 精简代码
* docs: 加粗字体
2021-03-10 00:28:57 +08:00
Argo
fe87c70bf3 !1120 refactor(#I3APSA): add TableEdit sample code
* refactor: 增加表单编辑示例代码
* docs: 更新文档章节字体
2021-03-09 23:36:04 +08:00
Argo
e1c24b6eec !1119 fix(#I3APK9): initialValue not work markdown in Dialog component
* chore: 更新 Markdown 组件
* fix: 修复 Markdown 组件弹窗内初始化不正确问题
* refactor: 更新 BootstrapAdmin 链接地址
2021-03-09 21:56:56 +08:00
Argo
3a273c7b53 !1118 feat(#I3ANOO): markdown support bind-Value bind-Html
* release: publish 5.0.19-beta06
* feat: 更新 Markdown 组件支持双向绑定
* feat: Markdown 支持双向绑定
* scripts: 更新脚本
* refactor: 消除警告信息
* refactor: 重构代码
* chore: 更新版本
2021-03-09 16:40:15 +08:00
Argo
a5e745b58c !1117 fix(#I3AJ4W): validation not work when item set IsDisabled to true
* fix: 修复组件设置 IsDisabled 或者 SkipValidate 验证结果被清除问题
2021-03-09 11:29:07 +08:00
Argo
0ad65e2bc9 !1116 docs(#I3AHZF): add video link
* docs: 增加项目模板视频链接
* docs: 增加本地化视频链接
* docs: 拆分 QQ 群
* docs: 增加 Upload 组件视频链接地址
* docs: 更新视频链接图标
* Merge branch 'dev' into dev-video
* docs: 视频文件链接排序
2021-03-08 17:08:34 +08:00
Argo
d79b74af63 !1115 docs(#I3AFUU): add QQGroup component
* docs: 增加开源地址链接
* docs: 增加 QQGroup 组件
2021-03-08 13:06:03 +08:00
Argo
27ed956106 !1114 fix(#I3AFC3): throw exception use Tab component in web assembly
* fix: 增加 Authorization 服务修复 wams 报错问题
2021-03-08 11:32:48 +08:00
Argo
e244c799d2 !1113 docs(#I3ADJI): add QQ group link
* docs: 更新 QQ 群信息
2021-03-08 10:17:41 +08:00
Argo
67d1356c55 !1112 refactor(#I3ADJE): update Table save method logic
* Merge branch 'dev' into dev-Table
* fix: 修复 EditMode 为 EditForm 时新建后不显示问题
* Revert "fix: add OnQueryAsync after Save method"
2021-03-08 00:14:11 +08:00
Argo-Cloud
20eae0483d Revert "fix: add OnQueryAsync after Save method"
This reverts commit 691ef7487c.
2021-03-08 00:55:55 +08:00
Argo
7da1d8d584 !1111 docs(#I3AD4S): fix header can't fixed on safari browser
* refactor: 格式化属性变量名
* style: 增加透明度
* style: 减少透明度
* style: 宽度调整为 260
* docs: 移动 MS Learn 到顶部防止 sticky 不工作问题
* style: 微调样式
2021-03-07 19:22:42 +08:00
Argo
f1da137233 !1110 revert(#I3ACKY): remove resource file
* refactor: 更新 Row 组件
2021-03-07 13:54:01 +08:00
Argo
1fc5db5457 !1109 feat(#I3ACJW): add new layout component Row
* fix row
* refactor: 格式化代码消除警告信息
* refactor: 增加骨架屏显示
* refactor: 格式化代码
* refactor: 移除合并重复代码
* refactor: 增加 Rows 组件
* Squashed commit of the following:
2021-03-07 13:21:59 +08:00
Argo
26cae3afcb !1108 docs(#I3ACJ9): add close button on MS learn popup
* docs:  ms-learn 增加关闭按钮
2021-03-07 12:57:56 +08:00
Argo-Cloud
9fc803822e release: publish 5.0.19.beta02 2021-03-07 10:28:44 +08:00
alex chow
691ef7487c fix: add OnQueryAsync after Save method 2021-03-07 10:28:03 +08:00
Argo
45b6d568ab !1107 chore(#I3AAWZ): update Markdown to beta03
* chore: 更新 Markdown 组件到 beta03 版本
2021-03-06 15:08:41 +08:00
Argo
89b8f75066 !1106 docs(#I3AASW): add ms learn link
* feat: 增加 MS Learn 链接地址
* refactor: 更新脚本
2021-03-06 14:39:45 +08:00
Argo-Cloud
49ed9c1ab2 release: 发布新版本 5.0.19-beta01 2021-03-05 15:51:18 +08:00
Argo
c0d86114cb !1104 perf(#I3A4ZZ): improve markdown performance
* docs: 更新示例文档
* chore: 移除对项目的依赖
* chore: 更新版本为 beta02
* fix: 修复公开方法不合理使用时报错问题
* chore: 更新脚本内置中文语言包
* chore: 增加项目引用
* docs: 格式化文档
* docs: 格式化文档
* docs: 增加代码部分类
* chore: 更新版本号
* refactor: 格式化代码
* docs: format new code
* docs: refactor code of Markdown
* docs: format InitialEditType
2021-03-05 15:49:33 +08:00
Argo
66f1506252 !1105 docs(#I3A5B7): fix CheckboxList in EditorFrom sample
* docs: 更新 EditorForm 中有 CheckboxList 示例
2021-03-05 13:53:18 +08:00
Argo
29ff6f72ba !1103 docs(#I3A4ZV): remove source map from ColorPicker
* docs: remove source map
2021-03-05 12:28:53 +08:00
一事冇诚
becd77ee36 !1102 doc: update DatePicker docs
* doc: DatePicker 组件 文档Attributes 属性中 DateFormat 修正为 Format
2021-03-05 12:03:00 +08:00
zglp
fa5a391629 !1100 feat(#I3A4WB): support Attribute localization
* 添加统一配置本地化错误信息
2021-03-05 12:02:04 +08:00
Argo
85e252db76 !1101 feat(#I3A1HR): add ShowBorder parameter on CheckboxList
* Merge branch 'dev' into dev-checkbox-ui
* docs: 增加 CheckboxList 无边框样式
* feat: 增加 ShowBorder 参数
* chore: 拆分 CheckboxList 样式
* docs: 增加资源文件
* docs: 格式化文档
2021-03-04 17:08:12 +08:00
j4587698
a22e75acb3 !1099 feat(#I39HHV): improve function on Markdown
* 删除Value赋初值的方式,改为使用Set方式赋值
* Merge branch 'dev' of gitee.com:LongbowEnterprise/BootstrapBlazor into…
* Markdown组件增加功能
2021-03-04 17:03:01 +08:00
Argo-Cloud
055da80f47 chore: upgrade dependence version 2021-03-04 14:17:22 +08:00
Argo-Cloud
d9ec5edbd0 chore: remove master branch for release action 2021-03-04 15:42:20 +08:00
Argo-Cloud
1a3f6cbfb7 chore: upgrade extensions dependence 2021-03-04 15:40:58 +08:00
Argo-Cloud
209b31f29f release: publish 5.0.18 2021-03-04 15:37:16 +08:00
Argo
e59b1f6cc0 !1098 docs(#I39YCM): update readme add ms learn link
* docs: 增加学习链接
2021-03-04 12:30:26 +08:00
Argo
ba17c5f3be !1097 fix(#I39YAU): update sample CheckboxList in ValidateForm
* docs: 修复 CheckboxList 组件在表单中无法选中问题
2021-03-04 11:18:22 +08:00
Argo Zhang
7887295f5d docs: add ms learn link 2021-03-03 17:22:55 +08:00
Argo
dfe0d25b90 !1096 docs(#I39T2R): remove Markdown dependence files
* chore: 更新项目依赖
* docs: 格式化文档
* chore: 更新打包脚本
* docs: 移除 Markdown 依赖脚本资源
2021-03-03 16:38:01 +08:00
j4587698
0c7e806772 !1086 feat(#I39HHV): rewrite Markdown component
* Merge branch 'dev' of gitee.com:LongbowEnterprise/BootstrapBlazor into dev
* 重写Markdown组件
* 重写Markdown
https://gitee.com/LongbowEnterprise/BootstrapBlazor/issues/I39HHV
2021-03-03 15:56:42 +08:00
Argo-Cloud
7dbe16c283 release: publish 5.0.18-beta04 2021-03-03 15:46:25 +08:00
Argo
dadc6364d5 !1095 feat(#I39SF1): validation components support switch IsDisabled value
* fix: 表单组件切换禁用状态后客户端验证功能失效问题
2021-03-03 15:37:50 +08:00
Argo
3cff3a2773 !1094 feat(#I39S5H): auto set DisplayText when ShowLabel is true
* docs: 格式化文档
* feat: 自动读取 DisplayText
2021-03-03 15:21:32 +08:00
Argo
a32b056edc !1093 feat(#I39D7A): add cascading parameter for EditorForm ShowLabel
* docs: 示例中移除显式设置显示标签代码
* feat: 增加 EditorForm 是否显示标签级联传参
2021-03-03 14:42:22 +08:00
Argo
9e98df0a70 !1092 docs(#I39P6P): sort css/javascript on bundler config file
* chore: js 脚本排序
* chore: css 脚本排序
2021-03-02 23:08:38 +08:00
freesaber
4f1c6b7dbf !1091 add await keyword
* update src/Extensions/Components/BootstrapBlazor.TableExport/ExcelExport.cs.
2021-03-02 16:33:11 +08:00
Argo
3c1ef468c3 !1090 feat(#I39LMO): add StopPropagation parameter on Button
* docs: 格式化文档
* add StopPropagation property into Button
2021-03-02 12:15:16 +08:00
Argo
ea0c9c247e !1089 feat(#I39KPB): add format value function on Table Export extensions
* feat: 增加数据导出格式化功能
2021-03-02 12:03:54 +08:00
Argo
b0712ee8a0 !1088 feat(#I37PCP): add tree render mode on Table
* docs: 增加新功能标签
* docs: 更新文档
* docs: 增加缩进宽度示例
* feat: 更改 IndentSize 单位
* refactor: 修复子节点缩进逻辑
* docs: 更新示例
* feat: 增加父级节点
* docs: 调整显示顺序
* feat: 增加 ToggleTreeNode 功能
* feat: 增加子数据缓存功能
* docs: 更新资源文件
* docs: 格式化文档
* refactor: 格式化文档
* docs: 增加树形数据展示示例
* feat: 首列增加展开小箭头
* style: 增加树形数据小箭头图标样式
* docs: 增加示例文档
* docs: 增加树形数据 Table 菜单
2021-03-02 11:20:37 +08:00
一事冇诚
d44518a27f !1087 fix(#I39FYW): upgrade BootstrapBlazor.TableExport to 5.0.7
* fix(#I39FYW): BootstrapBlazor.TableExport 升级至 5.0.7
2021-03-02 07:17:29 +08:00
Robin
2903168890 !1085 feat(#I39CS0): add DisplayCount parameter on autocomplete
* 给AutoComplete组件增加一个可以设置显示数量的属性
2021-02-28 23:57:54 +08:00
Argo
9fc0cb899d !1084 feat(#I39BRI): add baidu tongji feature on sample weibsite
* chore: head meta 标签排序
* chore: 增加字符集
* chore: 增加统计脚本
2021-02-28 14:31:50 +08:00
Argo
44d79413f1 !1083 feat(#I34WV3): add ColorPicker component
* release: 发布 5.0.18-beta03
* docs: 增加示例文档
* feat: 增加 ShowBar 与 Disable 功能
* chore: 更新样式与脚本
* feat: 增加 ColorPicker 组件
* docs: 增加 ColorPicker 组件菜单
* chore: 增加样式与脚本
* docs: 增加 colorpicker 资源
2021-02-27 20:45:28 +08:00
Argo
a32bfc0186 !1082 fix(#I399SX): resolve show display name when set ShowCheckbox on Tree inside ValidateForm
* docs: 增加验证表单内使用 Tree 组件示例
* fix: 修复 验证表单内使用 带 Checkbox 的 Tree 组件时显示 Checked 问题
2021-02-27 13:02:51 +08:00
Argo
85986a646b !1081 feat(#I399SQ): improve performance for BootstrapInput
* refactor: ValidateBase 更新转化失败提示信息
* feat: EditorForm 自动生成逻辑扩大对数据类型的支持
* refactor: BootstrapInput 默认不进行 number 类型转换精简逻辑
* refactor: 移除 ParsingErrorMessage 默认值
2021-02-27 13:00:34 +08:00
Argo
51e8113805 !1080 docs(#I399P5): Foo hobby property support localization
* refactor: Foo Hobby 属性支持多语言
* refactor: 移除 FooExtensions 扩展类
2021-02-27 11:51:02 +08:00
Argo-Unicom
9f74787a83 release: publish 5.0.18-beta02 2021-02-27 01:50:31 +08:00
Argo
9d5c81111a !1079 feat(#I39984): add ItemsPerRow on EditorForm
* feat: 增加 ItemsPerRow 属性
* fix: 修复 EditorItem 丢失 Data 属性问题
2021-02-27 01:46:17 +08:00
Argo
8f5a3edb40 !1078 fix(#I39983): resolve EditorItem data parameter not working issue
* fix: 修复 EditorItem 丢失 Data 属性问题
2021-02-27 01:43:48 +08:00
Argo
349624d3d0 !1076 perf(#I3990S): improve Tab performance
* perf: 优化 Tab 解决渲染两次问题
* refactort: 精简代码
* refactor: 移除 TabSet 引用
2021-02-26 21:41:54 +08:00
Argo
880f4cf7aa !1074 fix(#I396Q9): add Nullable check for GetItemValue
* refactor: 更改数据类型
* release: 发布新版本 5.0.18-beta01
* fix: 修复单元格数据为空时报错问题
2021-02-26 14:49:17 +08:00
Argo
9ab918d653 !1073 feat(#I394IQ): EditDialog support CheckboxList component
* fix: EditDialog 不支持 CheckboxList 问题
* feat: 移除 EditorOrderAttribute 属性
* docs: 代码优化
2021-02-26 14:35:13 +08:00
Argo
22744fd5fa !1072 feat(#I395UU): integrate Authorize with Tab
* refactor: 剥离鉴权代码到 TabAuthorizeView 中
* feat: 更新获取 TabItemText 逻辑
* refactor: 移除不使用的方法
* feat: 增加鉴权逻辑
* feat: 增加鉴权缓存类
* feat: Tab 组件增加 NotAuthorized 模板
* chore: 引用 Authorization 包
2021-02-26 12:25:37 +08:00
Argo
248752a041 !1071 refactor(#I392VD): redesign NavigationManager extensions NavigateTo method
* docs: 更新导航到新标签页示例
* feat: 重构 NavigationManager 扩展类
* docs: 更新 Table 搜索示例文档连接
2021-02-25 19:57:54 +08:00
Argo
c3610486a4 !1070 docs(#I393A5): update table search sample
* docs: 更新 TablesSearch 搜索示例
* fix: 更正 GetSearchs 内部逻辑应该使用 Searchable 值
* refactor: GetSortLambda 方法移除参数
* docs: 格式化文档
* docs: 更新 readme
2021-02-25 18:49:23 +08:00
Argo
00fbcbfe3f !1069 fix(#I3939R): use searchable instead of filterable in Table search feature
* fix: 更正 GetSearchs 内部逻辑应该使用 Searchable 值
2021-02-25 18:47:46 +08:00
模块化固态长方体空间传送工程师
d4766c24e0 !1068 fix(#I3927O): sidebar vertical height incorrect
* 合并冲突
* 解决左侧NavMenu 不自动平铺为全屏的BUG
* 修复了 OnSearchTextChanged 多次触发的问题,将该事件触发移动到了OnAfterRenderAsync
2021-02-25 16:32:46 +08:00
Argo-Unicom
6bcf7ca171 release: publish 5.0.17 2021-02-25 15:23:06 +08:00
Argo
77d26c62de !1067 fix(#I391IW): Select default select item incorrect when items contain Empty string
* docs: 精简代码
* feat: 恢复代码
* WIP: 改造代码
2021-02-25 15:19:47 +08:00
模块化固态长方体空间传送工程师
f70a76fcec !1065 Select OnSelectedItemChanged trigger twice
* 修复了 OnSearchTextChanged 多次触发的问题,将该事件触发移动到了OnAfterRenderAsync
2021-02-25 13:44:34 +08:00
Argo
31c977d2e4 !1064 docs(#I38WV9): add TabLink sample
* feat: 示例文档增加多标签条件判断
* docs: 格式化文档
* docs: 增加导航示例
* docs: 格式化文档
* docs: 更新注释信息
2021-02-24 18:09:21 +08:00
Argo
e93fc965dc !1063 chore(#I38WH5): update github actions for duplicate push package
* chore: 更新 github actions
* docs: 格式化文档
* docs: 更新网站配置文件
2021-02-24 17:25:30 +08:00
Argo
719c65195e !1062 docs(#I38V0P): add backup host support
* docs: 更改默认配置兼容 zylweb.cn 域名
2021-02-24 14:49:55 +08:00
Argo
2a91def036 !1061 docs(#I38TW0): update table selection rows sample
* docs: 更新选中行示例
2021-02-24 11:34:18 +08:00
Argo
1e6e02fcba !1060 fix(#I38TQ2): first show AutoGenerateColumnAttribute Text value
* fix: 修复 AutoGenerateColumnu 标签中 Text 属性优先级
2021-02-24 11:16:56 +08:00
Argo
55926098d5 !1059 fix(#I38TAE): redesign EditItem GetDisplayName logic
* fix: 修复 EditItem Text 显示逻辑
2021-02-24 10:32:47 +08:00
Argo
853a6ef2a3 !1058 docs(#I38S8Z): update TablesToolbar sample
* docs: 更新 TablesToolbar 示例
* docs: 更新 TablesFooter 示例
* feat: 改造 Foo 扩展方法
2021-02-24 00:14:53 +08:00
Argo
8598543a24 !1057 docs(#I38S8X): update TablesFooter sample
* docs: 更新 TablesFooter 示例
* feat: 改造 Foo 扩展方法
2021-02-24 00:13:07 +08:00
Argo
07f12cb005 !1056 docs(#I38S8V): update TablesDialog sample
* docs: 更新 TablesDialog 示例
* docs: 移除 Imports 文件
2021-02-24 00:10:59 +08:00
Argo
e27ca79a72 !1055 docs(#I38S0X): update TablesWrap sample
* docs: 更新 TablesWrap 示例
* docs: 增加资源文件
* feat: Table 组件显示支持枚举类型 Display 标签
* docs: 增加 Hobbys 资源文件
2021-02-23 21:24:05 +08:00
Argo
0c80e6500d !1054 feat(#I38S0V): Table cell value support enum localization
* feat: Table 组件显示支持枚举类型 Display 标签
2021-02-23 21:21:21 +08:00
Argo
6b322bf3c2 !1053 fix(#I38RI8): EditItem Text not work
* fix: 修复 EditItem 设置 Text 失效问题
2021-02-23 19:11:19 +08:00
Argo
258a068df8 !1052 feat(#I38P39): Table support auto generate CheckboxList
* docs: 精简代码
* feat: 增加 CheckboxList 自动生成功能
* docs: 更新打包样式
* feat: IEditorItem 增加 Data 属性
2021-02-23 14:54:13 +08:00
Argo
622c5cefef !1051 docs(#I38O9H): popover split css/javascript
* docs: 拆分 Popover 样式
2021-02-23 12:06:54 +08:00
Argo
3ac851f22b !1050 docs(#I38MAE): Light split css
* docs: 更新 Light 示例文档说明
* chore: 压缩打包 Light 样式
* docs: 拆分 Light 组件样式
* refactor: 改造 Light 组件移除基类
2021-02-22 22:15:57 +08:00
Argo
16b0926a11 !1049 docs(#I38M19): remove table base usage filterable and sortable parameters
* docs: 更新 Table 组件基本使用示例
2021-02-22 20:29:55 +08:00
Argo
6961e95dd6 !1048 fix(#I38FXH): resolve Formatter/FormatString not work issue
* refactor: 移动 Format 扩展方法到 Utility 静态类中
* refactor: 重构 FormatValueAsString 方法
* refactor: 移动部分静态方法到 Utility 静态类中
* release: 发布新版本 5.0.17-beta01
* fix: 修复 InputNumber 组件 Formatter 未生效问题
2021-02-21 23:24:45 +08:00
Argo
7c74167bf9 !1047 refactor(#I38G33): alert split css
* docs: 更新打包压缩配置文件
* docs: 压缩 Alert 样式
* docs: 拆分 Alert 组件样式
2021-02-21 22:41:50 +08:00
Argo
88d56864ad !1046 refactor(#I38G25): tooltip split javascript/css
* docs: 更新脚本压缩打包配置文件
* docs: 压缩 Tooltip 样式
* refactor: 拆分 Tooltip 样式
* docs: 压缩 Tooltip 脚本
* refactor: 拆分 Tooltip 脚本
2021-02-21 22:25:47 +08:00
Argo
75c3193999 !1045 refactor(#I38DIQ): Popover split javascript
* chore: 打包压缩
* refactor: 拆分脚本
2021-02-20 23:14:38 +08:00
Argo
4d34c4745f !1044 refactor(#I38DIG): PopConfirmButton split javascript
* refactor: 拆分 PopConfirmButton 脚本
2021-02-20 23:04:07 +08:00
Argo
814c793f70 !1043 fix(#I389Z8): resolve missing GetDisplayName extensions method issue
* fix: 修复 GetDisplayName 方法报错
2021-02-20 22:40:16 +08:00
Argo
65f9f227ef !1042 docs(#I38D4L): add Pear Admin link
* docs: 增加 Pear Admin 链接地址
2021-02-20 18:53:30 +08:00
Argo
d3be7a4b7c !1041 refactor(#I38COI): redesign object TMode extensions method
* refactor: 重构扩展方法避免 object 扩展方法过多
2021-02-20 17:23:59 +08:00
Argo
14a5dca60a !1040 feat(#I3896P): InputNumber support wasm mode
* docs: 更新菜单
* docs: 更新控制数据范围描述信息
* feat: 增加按钮模式下区间检查逻辑
* feat: 增加区间判断功能
* docs: 更新 InputNumber 示例文档
* refactor: 重构 Step Min Max 属性逻辑
* refactor: 重构 FormatValueAsString 方法
* docs: 增加 BootstrapInputNumber 资源文件
* refactor: IsNumber 判断与微软保持一致
* refactor: 拆分 Button 按钮相关样式
2021-02-19 23:13:20 +08:00
Argo
b6af9e5395 !1038 feat(#I387VP): update css for table header dark/light
* docs: 增加表头样式示例
* style: 调整 Header 样式
* refactor: 拆分获取 Desc 标签逻辑优化性能
* refactor: 移动 TableHeadStyle 位置
* refactor: 增加 new 关键字消除警告信息
2021-02-19 16:10:47 +08:00
galosoft
b76fa11dff !1032 feat(#I3879S): Table header support dark style
* [新功能]:表格添加thead样式控制,遵循原始bootstrap thead-light和thead-dark两个选项(Table.raz…
2021-02-19 14:45:34 +08:00
Argo
8b4deeb953 !1037 feat(#I3873U): Input can search placeholder key in localization file
* docs: 更新示例文档
* docs: 增加资源文件
* feat: 增加对 Number 数据类型支持
* docs: 移除不使用的属性
* docs: 移除本地化显示设置
* refactor: 组件移除 Base 基类
* feat: FieldIdentifier 扩展增加 GetPlaceHolder 方法
* docs: 精简命名空间
* docs: 增加弹窗视频链接
2021-02-19 14:23:34 +08:00
Argo
2fb3321d82 !1036 feat(#I384PY): placeholder support localization
* docs: 更改静态类可见性
* docs: ValidateForms 增加 PlaceHolder 本地化
* refactor: 重构 FieldIdentifier 扩展方法
* docs: 增加 PlaceHolder 资源文件
2021-02-18 21:34:12 +08:00
Argo
5471c35487 !1035 docs(#I384B3): rename forms to validateforms
* docs: 更新菜单链接重命名 ValidateForms
* docs: 增加 EnumEducation 资源文件
* docs: 移除 EditorDemo
* docs: 移除示例文档中的 PlaceHolder 硬编码
* docs: 增加 EnumEducation 资源文件
* docs: 移动代码位置提高可读性
2021-02-18 17:55:00 +08:00
Argo
07b4f612c1 !1034 feat(#I383U7): Table support IEnumerable<string> data use CheckboxList by default
* docs: 数据服务示例增加对 CheckboxList 组件演示
* feat: Table 组件支持 CheckboxList 组件
* fix: 修复 CheckboxList 初始值不正确问题
2021-02-18 16:29:21 +08:00
Argo
ed48846f2d !1033 fix(#I383TL): Fix incorrect initialization value on CheckboxList
* fix: 修复 CheckboxList 初始值不正确问题
2021-02-18 16:25:59 +08:00
Argo
556e49414d !1031 chore(#I382HU): extensions upgrade to 5.0.7
* release: publish 5.0.7
2021-02-18 11:35:42 +08:00
Argo-Unicom
b4e5cfe535 release: publish 5.0.16 2021-02-18 11:31:13 +08:00
Argo
4b6f8cccd8 !1030 chore(#I382H0): move mini cli into props file
* docs: 重构示例代码消除警告信息
* chore: 移动打包 CLI 到 props 文件中
2021-02-18 11:30:31 +08:00
Argo
8121f33fe9 !1029 fix(#I381H0): resolve dropdown menu not work on MultiSelect
* fix: 修复 MultiSelect 无法出现下拉框问题
2021-02-17 21:31:59 +08:00
Argo
82acfdd1d3 !1028 feat(#I381ED): add AutoGenerateClassAttribute for class attribute
* release: 发布新版本 5.0.16-beta02
* docs: 更新示例文档设置 Hobby 不显示
* feat: 增加对类查找标签进行设置功能
2021-02-17 20:13:55 +08:00
Argo
6c9f25db6b !1027 docs(#I3815A): update width of input control in Dialog samples
* docs: 更新 Dialog 实战演示宽度
2021-02-17 18:34:28 +08:00
Argo
bc9a49aa01 !1026 fix(#I380R5): update style for dropdown-menu default is show
* fix: 修复 Select 组件在弹窗中菜单默认打开问题
2021-02-17 18:00:31 +08:00
Argo
e001143357 !1025 docs(#I380KS): auto calcate component count on ComponentCate
* docs: EditorForms 示例增加多语言示例
* docs: 移除默认值
* refactor: 重命名组件属性参数
* style: 微调样式
* docs: 更新子组件汇总数据算法
* docs: 移除 DropdownList 菜单
2021-02-17 17:36:11 +08:00
Argo
8bb3cb9117 !1024 feat(#I38043): remove DropdownList component
* feat: 移除 DropdownList 组件
2021-02-17 16:37:06 +08:00
Argo
ef3ca4d861 !1023 feat(#I3801J): redesign CheckboxList improve performance
* docs: 更新 OnSelectedChanged 回调说明
* docs: 微调布局
* docs: 更新 CheckboxList 绑定枚举类型说明文档
* fix: 修复双向绑定示例
* refactor: Items 增加 NotNull 标签
* docs: 更新 CheckboxLists 示例
* refactor: 移除 CheckboxListBase 基类
* docs: 移除 CheckboxListSimple 组件
2021-02-17 16:31:06 +08:00
刘亮
476c9ba693 !1019 feat(#I37YU5): CheckboxList refact parameters when use SelectedItem 2021-02-15 19:57:24 +08:00
Argo
bbda424057 !1022 docs(#I37YRG): replace BindItem to Foo demo class
* docs: 更新 EditorForm 演示示例
* feat: 更新显示名称逻辑
* docs: DummyModel to Model
* refactor: 精简 AutoCompletes 文档
* refactor: 精简 AttributeItem 类
* docs: 更改类名 BindItem 为 Foo
* docs: 重命名 BindItem 为 Foo
* refactor: 演示示例统一使用 BindItem
* Merge branch 'dev-datetime-range' into dev-docs
* chore: 移除脚本
* Merge branch 'dev-datetime-range' into dev-docs
* chore: 拆分脚本
* refactor: 增加样式路径约束防止污染
* refactor: 精简样式
* style: 重命名下拉框样式名称
* style: 更新 Select 样式
* refactor: 更改 multi-select-menu-item 为 dropdown-item
* style: 合并下拉框小箭头样式
* docs: 更新 Table 组件示例演示固定高度
2021-02-15 19:48:52 +08:00
Argo
d4c0742492 !1021 docs(#I37YRD): refactor css for Select/MultiSelect
* Merge branch 'dev-datetime-range' into dev-docs
* chore: 移除脚本
* Merge branch 'dev-datetime-range' into dev-docs
* chore: 拆分脚本
* refactor: 增加样式路径约束防止污染
* refactor: 精简样式
* style: 重命名下拉框样式名称
* style: 更新 Select 样式
* refactor: 更改 multi-select-menu-item 为 dropdown-item
* style: 合并下拉框小箭头样式
* docs: 更新 Table 组件示例演示固定高度
2021-02-15 17:03:27 +08:00
Argo
8a66fb2dfd !1020 docs(#I37YR9): DateTimeRange splic javascript
* chore: 移除脚本
* chore: 拆分脚本
2021-02-15 17:00:50 +08:00
Argo
e07eb41d8d !1018 docs(#I37Y9T): add fix header and pageable samples
* docs: 更新 Table 组件示例演示固定高度
2021-02-14 15:38:31 +08:00
Argo
7e3806850b !1017 docs(#I37Y3L): console split css/javascript
* refactor: 移动代码到实现类中
* chore: 拆分样式与脚本
2021-02-14 01:47:22 +08:00
Argo
63b108086c !1016 chore(#I37Y3D): Transfer split css
* chore: Transfer 拆分样式
* refactor: 增加 Required 标签
* docs: 更改 CheckboxList 说明文档
* docs: 移除 RequiredValidator 资源文件
* docs: 增加学历客户端验证资源文件
2021-02-14 01:33:27 +08:00
Argo
da2609ceff !1015 feat(#I37Y39): add ValidatorBase for IValidator interface
* refactor: 增加 ValidatorBase 基类
* docs: 更新 Enum 扩展类注释
* refactor: 格式化文档
* refactor: 移动 TryGetLocalizerString 方法
* refactor: 移动 Min/Max 到 Validator 目录下
2021-02-14 00:53:52 +08:00
刘亮
318829f9dc !1011 feat(#I37XNC): Select/MultiSelect support Enum no set Items
* 修改Select和MultiSelect控件,支持不指定Items,直接绑定枚举
2021-02-13 12:16:37 +08:00
Argo
fa05e01ac6 !1014 docs(#I37XME): add localization for Foo demos
* refactor: 增加示例文档资源文件
2021-02-13 10:51:52 +08:00
Argo
9cb85a9a78 !1013 feat(#I37XMA): CheckboxList support RequiredAttribute
* refactor: 重命名 TryGetLocalizerString 方法
* feat: CheckboxList 组件支持 Required 标签
* feat: 自定义 RequiredValidator 支持 IEnumerable 数据类型
* refactor: 移除自定义标签组件
* docs: CheckboxList 组件使用 RequiredAttribute
* docs: 增加 Dummy 多语言文件
2021-02-13 10:38:23 +08:00
Argo
860b44eb30 !1012 feat(#I37XM9): remove ValidatorBase use ValidateAttribute
* docs: 移除自定义验证标签
* docs: 移除 RequiredValidator 标签
* docs: 移除 RequiredValidator 组件
* refactor: 移除自定义标签组件
* docs: CheckboxList 组件使用 RequiredAttribute
* docs: 增加 Dummy 多语言文件
2021-02-13 10:36:02 +08:00
Argo
21dc9ef00b !1010 refactor(#I37XBX): move markdown.js to Markdown extensions
* chore: 更新组件依赖
* chore: 更新组件版本号
* feat: Markdown 组件增加客户端脚本
* chore: 移动 markdown 脚本到扩展组件中
2021-02-12 14:17:28 +08:00
Argo
b83b3d50dc !1009 refactor(#I37XBV): Tree split css/javascript
* refactor: Tree split css/javascript
2021-02-12 14:01:47 +08:00
Argo
d636770642 !1008 refactor(#I37XBU): multi-select split javascript
* refactor: 拆分 MultiSelect 脚本
2021-02-12 13:54:05 +08:00
Argo
b28fbbecb3 !1007 fix(#I37XAM): resolve can not collapse dropdown on Table toolbar
* fix: 修复 table 组件工具栏中下拉框组件无法收缩问题
* style: 更新 Table 组件 Column 列样式
* chore: 更新依赖组件
2021-02-12 11:30:12 +08:00
Argo
3fc7171acd !1006 fix(#I37X40): no response when search box has value and set AutoGenerateColumns to true
* release: publish 5.0.16-beta01
* fix: 修复 SearchText 与自动生成模板冲突
* refactor: 优化多语言性能
* refactor: 移除 DisplaName 标签判断
2021-02-11 16:25:35 +08:00
Argo-Unicom
cd54a77cc1 release: publish 5.0.15 2021-02-11 07:36:37 +08:00
Argo
24f78db5cb !1005 feat(#I37X0J): Enum support localization
* refactor: 精简代码提高可读性
* feat: Enum 数据类型支持 Display DisplayName 标签
2021-02-11 07:27:40 +08:00
Argo
8e03ba3dec !1004 feat(#I37WSA): Tab route parameter feature support wasm
* release: 发布新版本 5.0.15-beta10
* refactor: 使用新的 RouteTableFactory
* refactor: 重构 RouteTableFactory
* feat: 集成微软路由代码
2021-02-10 20:17:24 +08:00
Argo
6e030b41a5 !1003 refactor(#I37WL2): refactor EFCore data access service extension method
* refactor: 优化 EFCore 扩展方法
2021-02-10 15:21:04 +08:00
Argo
36fcbb4b5e !1002 refactor(#I37WKC): improve the sample for localization of wasm
* refactor: 更新 wasm 模式下多语言示例
* feat: 增加 wasm 模式使用微软资源文件示例
2021-02-10 15:01:16 +08:00
Nine
e55217712f !1001 feat(#I37WK6): EFCore data access service support page query
* refactor: 优化EFCore查询方法
* feat: 添加 IQueryable 扩展方法
2021-02-10 14:58:58 +08:00
Argo
86b160f698 !1000 chore(#I37WH5): upgrade runtime to 5.0.103
* chore: upgrade project dependence
* chore: upgrade github actions runtime to 103
* refactor: 移除 global.json 配置
2021-02-10 13:04:30 +08:00
Argo
5d55608613 !999 fix(#I37WGY): EFCore DataAccess extensions services lifetime not same
* refactor: 增加命名空间
* refactor: 更新 EFCore 注入服务支持声明周期
2021-02-10 12:54:44 +08:00
Argo
cfe3d3c081 !998 feat(#I37WAM): PetaPoco extensions support PageQuery
* feat: 增加分页查询扩展
* refactor: QueryPageOptions 增加 IsPage 参数用于区分是否分页
* refactor: QueryData 参数 TotalCount 更改为 long 类型
2021-02-10 11:50:43 +08:00
Nine
f59f1fe539 !997 !997 feat(#I37UNW): EFCore DataAccessService provider service lifetime parameter
* feat(#I37UNW): 新增配置 DBContext 生命周期方法
2021-02-10 10:52:58 +08:00
Argo-Unicom
1c7b7b9d73 release: publish 5.0.15-beta09 2021-02-09 22:01:01 +08:00
Argo
bd14df741f !996 feat(#I2EB09): Table pagination add ShowTopPagination parameter
* docs: 增加分页组件显示在顶端的示例
* feat: Table 组件分页组件可配置显示在顶端
2021-02-09 20:31:56 +08:00
Argo
82d65a8a67 !995 feat(#I37SLN): Select support keyboard navigation
* feat: Select 支持键盘
2021-02-09 17:38:44 +08:00
Argo
3c6ab3d2f2 !994 feat(#I2DTSM): multi-select add ButtonTemplate feature
* docs: 更新菜单状态
* docs: 增加按钮扩展模板示例
* feat: 增加 ButtonTemplate 扩展模板
2021-02-09 15:03:37 +08:00
Argo
49fbcc01ab !993 feat(#I37TO8): use TryAddSingleton inject IDataService
* feat: 注入数据服务内部使用 TryAddSingleton
2021-02-09 13:36:05 +08:00
Argo
07bf9cac51 !992 fix(#I37SIW): result incorrect when has or condition in filters
* docs: 更改注释文档
* fix: 修复 Filter 中 or 逻辑不正确问题
* refactor: 精简代码
* feat: 重构 Freesql 使用 DynamicFilter 过滤
2021-02-09 00:30:21 +08:00
Argo
97ba54da12 !991 feat(#I37SGI): Table SearchText integrate into Searchs parameter
* feat: Table 组件 SearchText 未集成到 Searchs 中
2021-02-09 00:20:15 +08:00
Argo
c7d123fafd !990 feat(#I37RHU): PetaPoco extensions support sort function
* refactor: 更新依赖增加排序功能支持
* feat: 增加排序功能
* feat: 扩展支持排序
2021-02-08 16:53:52 +08:00
Argo
4ec5a1720a !989 feat(#I37RAV): add vertical layout for radio
* docs: 增加垂直分布示例
* feat: 增加 IsVertical 属性设置垂直分布
* chore: 拆分样式
2021-02-08 16:34:33 +08:00
Argo
981cc6552e !988 feat(#I37QXD): EFCore 扩展数据注入服务增加排序功能
* feat: EFCore 支持排序
2021-02-08 15:53:11 +08:00
alex chow
55c93e51a5 feat: add vertical UI for Radio (#64)
* 修改 AutoGenerateColumnAttribute 设置显示顺序排序方法

        /// <summary>
        /// 获得/设置 显示顺序 ,规则如下:
        /// <para></para>
        /// &gt;0时排前面,1,2,3...
        /// <para></para>
        /// =0时排中间(默认)
        /// <para></para>
        /// &lt;0时排后面,...-3,-2,-1
        /// </summary>

* 评分组件 RateComponent 截图调整

* Update Coms.razor

多项选择器 MultiSelect URL 错误

* Radio添加 RadioGroup 竖向排列
2021-02-08 15:46:58 +08:00
Argo
8166660deb !987 feat(#I37QTQ): EFCore extensions support Filter/Search/Sort function
* release: publish 5.0.15-beta08
* feat: 增加 过滤搜索排序 功能
* docs: 增加排序列测试
* fix: 修复查找 Sort 二义性问题
* feat: 增加 Sort 处理逻辑
2021-02-08 15:35:42 +08:00
Argo
00642f61d9 !986 fix(#I37QCR): localization for Display and Validation of ms resx not working
* fix: 修复 resx 模式 DisplayName 与 Validation 失效问题
2021-02-08 14:35:38 +08:00
Argo
38d77761a0 !985 feat(#I37OUU): DataAnnotation support localization
* release: publish 5.0.15-beta07
* fix: DataAnnotation 未查找资源文件问题
2021-02-08 01:36:07 +08:00
Argo
5dc18028b5 !984 docs(#I37OUT): update multi select link address
* docs: 更新多选下拉框路径
2021-02-08 01:31:52 +08:00
Argo
65116a3a18 !983 feat(#I37OUO): add sort lambda expression for EFCore query
* feat: 增加 QueryableOrderBy 方法
2021-02-08 01:05:25 +08:00
Argo
67fca69358 !982 feat(#I37OTW): Tab support router parameters
* docs: 增加多标签路由支持参数示例
* feat: Tab 整页面多标签模式下支持路由参数
2021-02-08 04:02:03 +08:00
Argo
f7e5e01f34 !981 docs(#I37NFX): update docs for localization
* docs: 更新注释
* refactor: 更新设置默认文化逻辑
* docs: 更新微软格式资源文件指定方式
2021-02-07 19:35:48 +08:00
Argo-Unicom
a68b4ce7d6 release: 发布新版本 5.0.15-beta06 2021-02-07 17:00:28 +08:00
alex chow
1b683eadcd Translate and complete documents (#60)
* 修改 AutoGenerateColumnAttribute 设置显示顺序排序方法

        /// <summary>
        /// 获得/设置 显示顺序 ,规则如下:
        /// <para></para>
        /// &gt;0时排前面,1,2,3...
        /// <para></para>
        /// =0时排中间(默认)
        /// <para></para>
        /// &lt;0时排后面,...-3,-2,-1
        /// </summary>

* 评分组件 RateComponent 截图调整

* !977 feat(#I378AP): add ShowToday shortcut button on DateTimeRange
* docs: 增加显示今天按钮示例
* refactor: Table 移动端样式
* fix: 更新样式判断逻辑截取时间比较
* feat: DateTimeRange 增加今天按钮

* 文档补上 DateTimeRanges 的事件方法

* !978 fix(#I379HU): DisplayName not show when not found in resource
* docs: 更新占位符示例
* fix: 增加资源文件未找到时回退机制
* docs: 更新 Inputs 文档
* fix: 修复资源未找到时不查找 Display 等标签问题

* release: publish 5.0.15-beta05

* 文档补上 DateTimeRanges 的事件方法

* Translation component BootstrapBlazor.Shared.Pages.QRCodes

* Translated something.

Already translated:
1. BootstrapBlazor.Shared.Pages.Components.AttributeTable
2. BootstrapBlazor.Shared.Common.AttributeItem
3. BootstrapBlazor.Shared.Shared.ComponentLayout
4. BootstrapBlazor.Shared.Pages.QRCodes

* 翻译

BootstrapBlazor.Shared.Pages.Components.MethodTable
BootstrapBlazor.Shared.Common.EventItem
BootstrapBlazor.Shared.Common.MethodItem

Co-authored-by: Argo <argo@163.com>
2021-02-07 16:53:03 +08:00
Argo
0910818b76 !980 feat(#I37IMJ): refactor JsonStringLocalizerFactory and JsonStringLocalizer full support resource file
* revert: 恢复默认设置
* refactor: 增加配置参数
* refactor: 优化性能使用 FirstOrDefault
* refactor: 重构 JsonStringLocalizer 逻辑
* refactor: 更新配置方式
* refactor: 增加 ResourceManagerStringLocalizerType 类型
* refactor: 增加创建 Localizer 方法
2021-02-07 16:35:47 +08:00
Argo
85cc1ea1eb !979 feat(#I37EZI): not register IStringLocalizerFactory when AddLocalization before AddBootstrapBlazor
* fix: 防止被 AddLocalization 覆盖掉
2021-02-07 11:44:45 +08:00
Argo-Unicom
e9c7071db5 release: publish 5.0.15-beta05 2021-02-07 00:29:04 +08:00
Argo
99931026ff !978 fix(#I379HU): DisplayName not show when not found in resource
* docs: 更新占位符示例
* fix: 增加资源文件未找到时回退机制
* docs: 更新 Inputs 文档
* fix: 修复资源未找到时不查找 Display 等标签问题
2021-02-07 00:20:38 +08:00
Argo
d3fd75b5e0 !977 feat(#I378AP): add ShowToday shortcut button on DateTimeRange
* docs: 增加显示今天按钮示例
* refactor: Table 移动端样式
* fix: 更新样式判断逻辑截取时间比较
* feat: DateTimeRange 增加今天按钮
2021-02-06 14:07:32 +08:00
Argo-Unicom
b273fe21e0 Merge remote-tracking branch 'github.com/dev' into dev 2021-02-06 01:55:23 +08:00
alex chow
6eca0d7eb6 update Order logic (#59) 2021-02-06 01:54:44 +08:00
Argo
121c7c648f !976 docs(#I377KQ): update localization docs
* release: publish 5.0.15-beta04
* feat: wasm 模式增加设置默认文化代码
* docs: 更新本地化文档
* docs: 更新注释文件
2021-02-06 01:46:05 +08:00
Argo
c70bbe0ebc !975 feat(#I377FQ): localization support fallback logic
* chore: 增加本地化支持文化配置
* refactor: 更改获取支持文化方式
* feat: 增加删除 Cookie 小功能
* refactor: 增加本地化中间件
* feat: 增加去除父文化信息
* refactor: 移除不使用的代码
* feat: 增加多语言回落机制
* refactor: 更改资源文件名
2021-02-06 00:14:01 +08:00
Argo
69374ac111 !974 feat(#I374T0): localization for display name provider fallback logic
* release: publish 5.0.15-beta03
* docs: 移除 console.log 语句
* refactor: 增加 docs 多语言设置
* refactor: 移除 ColumnNameAttribute
* feat: 显示名称增加回落机制
2021-02-05 18:17:26 +08:00
Argo
20ba5be17a !973 feat(#I372U7): add Step parameter on IEditITem interface
* docs: 移除不使用的文件
* feat: Table 编辑框增加步长参数
2021-02-05 16:53:27 +08:00
Argo
f4cb518f45 !972 chore(#I371RB): add dev branch auto pack to nuget
* chore: 更新打包脚本
2021-02-05 15:15:52 +08:00
Argo
b484c2bff9 !971 fix(#I371PS): update css for TableFilter size when add second filter
* style: 调整 Filter 中 Select 样式
2021-02-05 15:08:22 +08:00
Argo
567e79548e !970 fix(#I371AC): TableFilter/SearchText tooltip show wrong place after press Enter key
* release: 发布 5.0.15-beta02
* feat: 增加客户端关闭 Filter 逻辑
* feat: 增加二次查询遮罩
* style: 增加 table-loader 样式与脚本
* revert: 撤销二次查询显示 loading 功能
2021-02-05 14:21:40 +08:00
Argo
11148d5818 !969 fix(#I36VZ9): update style for Select in TableFilter make width equals to the others
* chore: 拆分 TableFilter 样式
2021-02-05 12:14:42 +08:00
Argo
1ebc7013fc !968 feat(#I36RZR): PetaPoco add FetchAsync extension method support IEnumerable<IFilterAction>
* feat: PetaPoco 扩展增加表达式生成 Sql 语句方法
2021-02-05 00:57:53 +08:00
Argo
1016fdb3cd !967 fix(#I2M6ZO): resolve Editor height not working when set value
* release: publish 5.0.15-beta01
* fix: 修复 Editor 高度不生效问题
2021-02-04 15:56:05 +08:00
Argo-Unicom
6ef730a296 release: publish 5.0.14 2021-02-04 13:43:40 +08:00
Argo
622e63b714 !966 feat(#I2X3FZ): add Max/Min parameters on MultiSelect
* fix: 修复 ToggleRow 未更新 UI 问题
* feat: 增加禁用背景色
* feat: 优化设置最大值 UI 效果增加选项禁用功能
* docs: 增加示例
* feat: MultiSelect 组件增加 Max Min 属性
* feat: 增加下拉菜单小箭头
* refactor: 拆分样式
2021-02-04 13:42:16 +08:00
Argo
261191fc0b !965 fix(#I34ZFS): resolve Table component click dropdown item not working in mobile mode
* fix: 修复移动端点击图标外无响应问题
2021-02-04 01:47:07 +08:00
Argo
39e0189499 !964 fix(#I361PT): resolve localization json file not working issue
* release: publish 5.0.14-beta07
* fix: 修复无法切换语言问题
2021-02-04 01:40:21 +08:00
Argo-Unicom
762ae2c531 release: publish 5.0.14-beta06 2021-02-04 01:02:01 +08:00
Argo
77fa1ac187 !963 feat(#I361MM): localization support inject json file
* refactor: 移除多语言设置
* feat: 多语言支持外置 json 文件
2021-02-04 01:00:47 +08:00
Argo
b37700ab64 !962 feat(#I361KY): validation support localization
* feat: 表单标签支持多语言
* feat: 支持 resx 资源文件方式查找 Display 功能
* feat: 支持 resx 格式资源文件
* feat: 验证标签支持多语言
* refactor: 重命名 Create 方法
* refactor: 更改为静态方法
* refactor: 多语言工厂类增加 Create 静态方法
* refactor: 精简代码移除不使用的回调方法
* refactor: 增加参数默认值为 Resources
* feat: 更新扩展 json 资源文件方法精简代码
* refactor: 精简 resx 资源文件支持方式
2021-02-03 23:18:21 +08:00
Argo
a77dfd3cbf !961 fix(#I3556Q): DateTimeRange disabled style not working in safari browser
* chore: 更新打包脚本
* style: 适配 safari 浏览器禁用效果样式
2021-02-02 17:38:17 +08:00
Argo
fba4fc5e45 !960 fix(#I34XCD): resolve arrow outside components on Select
* fix: 修复 Select 组件单独使用时下拉小箭头位置不正确问题
2021-02-02 13:29:47 +08:00
Argo
97442be3c6 !959 refactor(#I34X8K): add outline style on Select
* refactor: 移除边框颜色设置
* style: 移除 outline 设置
2021-02-02 12:36:55 +08:00
Argo
23200dd4b4 !957 feat(#I2EIDF): show loading spin when fetch data
* feat: show loading spin when fetch data
2021-02-01 17:54:41 +08:00
Argo
4d34de0982 !956 fix(#I34MW2): resolve TableColumn Template not working when set AutoGenerateColumns to true
* fix: 修复列模板失效问题
2021-02-01 17:04:31 +08:00
Argo
b2be0e6d52 !955 docs(#I34JRV): Update GoTop docs
* docs: 更新示例文档
* chore: 拆分脚本与样式
* docs: 移动文件
2021-02-01 14:11:22 +08:00
Argo
6d9c765978 !954 chore(#I3472N): Layout css/javascript split
* docs: 更新注释文档
* chore: 拆分脚本与样式
2021-01-31 23:41:19 +08:00
Argo
11e7aa5f3f !953 chore(#I346YK): update github actions
* chore: update action branch to master
* chore: update dependences
* chore: 拆分 SourceLink
* chore: 打包增加条件
2021-01-31 23:21:01 +08:00
Argo
983f4ff47e !952 chore(#I31HVL): support SourceLink feature
* chore: 增加调试包
2021-01-30 20:34:36 +08:00
Argo
91acef7b9f !951 refactor(#I2Z145): Tab css/javascript split
* refactor: Tab 组件拆分样式与脚本
2021-01-30 14:17:28 +08:00
Argo
56c16c1c78 !950 refactor(#I2YL8I): DateTimeRange css/javascript split
* chore: DateTimeRange 组件拆分样式与脚本
2021-01-30 13:47:13 +08:00
Argo
7b92e40f78 !949 refactor(#I2WAWE): TimePickerBody css/javascript split
* chore: 更改脚本名称增加 bb 前缀
* chore: 拆分脚本与样式
2021-01-29 16:02:37 +08:00
Argo
3b2ba726aa !948 refactor(#I2WARK): DateTimePicker css/javascript split
* docs: 更改脚本名称增加 bb 前缀
* docs: 拆分脚本与样式
* docs: 增加 static 关键字消除警告信息
2021-01-29 15:48:47 +08:00
Argo
c31a3f58ed !947 docs(#I2VVFT): remove code file paramter from Block
* docs: 移除 CodeFile
2021-01-29 12:07:41 +08:00
Argo
edc615f137 !946 refactor(#I2SHHK): Select/Dropdown css/javascript split
* refactor: 移动样式到 Dropdown 组件内部
* refactor: 移动代码到 Select 组件内部
* refactor: 移动客户端脚本到组件内
* refactor: 拆分样式与脚本
2021-01-28 17:17:18 +08:00
Argo-Clound
10440211c5 chore: update extensions dependence 2021-01-28 15:44:18 +08:00
Argo Zhang
657c4dd717 release: publish 5.0.13 2021-01-28 14:09:31 +08:00
Argo
8726eb0ce6 !945 fix(#I2SBO5): throw NullReferenceException when not set ExcludeUrl parameter click menu on sidebar
* fix: 修复开启多标签功能后点击侧边栏菜单内部 ExcludeUrl 为空问题
2021-01-28 14:03:53 +08:00
Argo
e0d0880ea2 !944 docs(#I2RS32): update docs repository file path
* fix: 修复请求路径不正确问题
2021-01-28 11:49:02 +08:00
Argo
cf6d3f9afc !943 docs(#I2PQCP): update table docs
* fix: 修复路径问题
* docs: 文档 c# 代码支持单独配置
* docs: 拆分代码到独立文件中
* docs: 更新 multi-selects 示例文档路径
2021-01-28 00:58:32 +08:00
Argo
e9760d6621 !942 feat(#I2PI5I): localization support custom provider json/resx file
* feat: 多语言支持自定义扩展
2021-01-27 21:07:54 +08:00
jinybing
2c9db509f6 !940 fix(#I2P8QE): set value to false on init
* update src/BootstrapBlazor/Components/Checkbox/CheckboxListBase.cs.
2021-01-27 16:26:07 +08:00
Argo-Clound
154f4307b8 release: publish 5.0.13-beta05 2021-01-27 15:49:14 +08:00
Argo
f7f2102427 !941 feat(#I2P8BF): support microsoft Oidc authentication
* feat: Layout 组件增加 ExcludeUrls 属性用于 OCID 路径配置
* feat: Tab 组件支持 OCID 认证跳转
2021-01-27 15:48:23 +08:00
Argo
764540e2ac !939 docs(#I2P7G8): update localization docs
Merge pull request !939 from Argo/dev-docs
2021-01-27 14:20:39 +08:00
Argo
0d000b5e49 !938 docs(#I2NI3I): reactive first tab item when location changed
* feat: 组件切换后自动激活第一个标签页
* feat: C# 代码增加无设置
* feat: Video 组件增加视频地址暂无
2021-01-27 00:07:04 +08:00
jinybing
66cb3d5547 !937 fix(#I2ODSR): update clone extensions method
* update src/BootstrapBlazor/Extensions/ObjectExtensions.cs.
2021-01-26 21:07:33 +08:00
Argo
9bbd3013ac !936 fix(#I2NVGQ): should be not show scroll in EditForm edit mode in Table component
* fix: 修复 table 组件 EditForm 模式下出现滚动条问题
2021-01-26 13:11:26 +08:00
Argo
1b7a07114d !935 fix(#I2NVEN): should be reset PageIndex to 1 when click Filter confirm button
* chore: 配置文件允许跨域访问更改为 https
* fix: 修复点击过滤确认按钮时页码未设置 1 问题
2021-01-26 12:44:44 +08:00
Argo-Clound
cc61aa4bcd release: 发布新版本 5.0.13-beta04 2021-01-26 02:45:09 +08:00
Argo
7aa00b2777 !934 docs(#I2NGP4): resolve can not fetch source code in wasm mode
* refactor: 增加调试环境 webapi 主机头自动切换功能
* feat: 判断 wasm 模式通过 webapi 获取源码
* feat: 增加 Code webapi 用于获取源码
2021-01-26 02:43:32 +08:00
alex chow
58f2190ba5 docs: update components overview (#48) 2021-01-26 00:23:46 +08:00
Argo
6486a4f049 !933 fix(#I2MIE6): should be close camera when close page
* chore: 打包脚本
* Revert "chore: 更新配置文件方便调试"
* chore: 更新配置文件方便调试
* fix: 页面切换是关闭已打开的摄像头
2021-01-26 00:13:51 +08:00
Argo
f24e4deb13 !932 fix(#I2MB22): try/catch TaskCanceledException
* fix: 增加 TaskCanceledExption 异常保护
2021-01-25 22:30:47 +08:00
Argo
46b942a99b !931 feat(#I2MAIU): support RESX type resource file
* feat: 支持 resx 类型资源文件
* refactor: 移除构造函数
* feat: 支持外部多语言
* refactor: 精简 JsonStringLocalizer 准备兼容外设资源文件
2021-01-25 20:23:23 +08:00
Argo-Clound
aa94abb401 release: publish 新版本 5.0.13-beta03 2021-01-25 14:54:54 +08:00
Argo
90dbf4a8a4 !930 fix(#I2M4Q9): not render after call RemoveTab method
* docs: 更新示例文档
* fix: 修复 RemoveTab 方法内部未调用 StateHasChanged 方法
2021-01-25 14:39:45 +08:00
Argo
a74507fb9e !929 fix(#I2LBM8): throw NullReferenceException when ColumnVisibles is null
* fix: ColumnVisibles 为空导致抛异常
2021-01-25 14:03:48 +08:00
Argo
ccffef2284 !928 fix(#I2M62K): throw exception when switch Time page
* fix: 修复计时器未结束是切换页面报错问题
2021-01-25 13:53:45 +08:00
Argo
1a6d329407 !926 fix(#I2KUXE): menu item not navigation in Layout component
* release: 发布新版本 5.0.13-beta02
* fix: 修复 Tab 不导航问题
2021-01-24 18:33:25 +08:00
Argo
3efa6672ad !925 docs(#I2K714): fix table sub menu can't navigator issue
* docs: 更新视频链接
2021-01-24 11:23:00 +08:00
Argo-Cloud
eedfa3fdc9 docs: update Install docs 2021-01-23 01:49:11 +08:00
Argo-Shenghui
083e3af44c release: publish 5.0.13-beta01 2021-01-23 01:09:07 +08:00
Argo
9dd896edc1 !924 feat(#I2EH6R): add TabLink component
* feat: 增加 Closable 参数
* feat: 增加 TabLink 组件
2021-01-23 01:04:34 +08:00
Argo
af8924c4f6 !923 refactor(#I2EH4N): compatible slash in URL
* feat: 增加 NavigationManager 扩展增加导航到 Tab 方法
* revert: 恢复 AddTab 方法
* refactor: 兼容路径中的 / 问题
* refactor: TabItemTextOption 增加 Icon Active 属性
* fix: Tab 导航地址兼容 / 开头
2021-01-23 01:01:06 +08:00
Argo
0e25984e97 !922 docs(#I2EAWA): update video link
* docs: 增加视频链接
2021-01-22 02:41:45 +08:00
Argo
ac8319432b !921 refactor(#I2EAX0): use TryAdd instead of Add for register services
Merge pull request !921 from Argo/dev-refactor
2021-01-22 02:05:02 +08:00
Argo
0c288c58c8 !920 docs(#I2EAWA): add video link on website
* refactor: 增加视频地址
* refactor: 移动配置文件到根目录
* feat: 更新配置信息提高性能
* refactor: 更新逻辑移除文件夹判断
* feat: 增加视频链接
* docs: 更新配置文件
* refactor: 移除扩展方法精简代码
2021-01-22 01:09:52 +08:00
Argo Zhang
27bdfd6e29 release: publish 5.0.12 2021-01-21 21:36:34 +08:00
Argo
4d2c80455c !919 fix(#I2E8RX): WebsiteOptions not work in new Docs system
* refactor: 更新 wasm 模式下配置
* refactor: 更新 wasm 模式下 WebsiteOptions
* feat: 移除 Block Footer
* fix: 增加语法高亮
* wip: 临时移除语法高亮
* fix: 更新加载完成逻辑
* fix: 增加 CanCopy 逻辑判断
* fix: 修复 WebsiteOptions 注入问题
* fix: 修复 WebsiteOption 异常问题
2021-01-21 21:31:44 +08:00
Argo
58d55948a9 !918 docs(#I2E8RX): redesign Docs system
* refactor: 移除 doc 工程
* docs: 更新 logo 图标减小文件大小
* docs: 更新资源文件路径
* feat: 通过资源文件获取文件名称
* chore: 增加文件名资源文件
* docs: 更新 widgets 路由路径
* refactor: 更改 WebsiteOptions 注册方式
* feat: 使用注入服务获取仓库地址
* refactor: 精简代码
* refactor: 移除命名空间
* docs: 移动手写输入到 Samples 文件夹
* refacotr: 移动 Table 示例文档位置
* refactor: 优化代码写法
* refactor: 重新整理文件夹
* style: 微调示例页 Tab 样式
* refactor: 优化 Pre 组件
* style: 更新 Header 样式
* docs: 增加命名空间引用
* docs: 更新介绍文档
* refactor: 增加 ComponentLayout 模板
* refactor: 移除 Example 可为空判断
* refactor: 移除不使用的回调委托
2021-01-21 16:05:38 +08:00
Argo
1db27bd0e3 !917 perf(#I2E2UV): improve SearchText performance in Table component
* docs: 增加搜索查询方法
* feat: 增加 Table 组件搜索文本框的客户端事件
* feat: Table 组件搜索框移除 onkeyup 事件
* docs: 增加 ShowLabel 属性设置
2021-01-20 14:35:45 +08:00
Argo
6c33415d60 !916 feat(#I2E24Y): add GroupBox component
* docs: 增加与 EditorForms 关联
* chore: 移除 from-demo 样式
* docs: EditorForms 使用 GroupBox 示例
* docs: 增加 GroupBox 示例
* chore: 增加 GroupBox 组件样式
* feat: 增加 GroupBox 组件
2021-01-20 12:32:43 +08:00
Argo
ad0dde6a77 !915 perf(#I2E1T9): improve SeachDialog/EditDialog/EditorForm logic
* docs: 调整菜单
* refactor: 更新扩展方法 GenerateColumns 方法
* docs: BindItem Id 列不可以用于查询与编辑
* refactor: 重构 EditorForm 逻辑
2021-01-20 11:31:08 +08:00
Argo
c69602576c !914 fix(#I2DVNZ): fix head not work in project template layout
* Merge branch 'dev' into dev-tab
* fix: 修复滚动条问题
2021-01-19 15:37:39 +08:00
Argo
7c2ed72d90 !913 fix(#I2DTTD): can't click button on Editor paragraph button
* fix: Editor 组件段落 Tooltip 抖动导致无法点击按钮
2021-01-19 15:17:06 +08:00
Argo
fc0cbdf9ab !912 feat(#I2DTKH): add cascading parameter on Layout component and new TabSet property for Tab instance
* chore: 更新版本号
* feat: Layout 组件增加级联参数给自组件使用
2021-01-19 11:00:16 +08:00
Argo
35a9063263 !911 feat(I2DSFW): add Searchs on QueryOption for SearchText
* chore: 更新样式文件
* docs: 更新查询功能文档
* feat: QueryOption 增加 Searchs 属性
* refactor: 拉姆达表达式增加逻辑关系参数
* refactor: 增加 InternalSearchAction 类
* refactor: 更新代码
* docs: 更新图片路径
* refactor: SearchText 更改为可为空类型
2021-01-19 02:20:52 +08:00
Argo
03179ce854 !910 perf(#I2DSFI): improve Tab performance
* docs: 更新 Tab 组件文档
* refactor: Remove 更改为 RemoveTab
* docs: 更新 Add 方法为 AddTab
* refactor: 移除 OnSetTabText 回调委托
* refactor: 重命名 TabItemTextOptions 配置类
* perf: 优化 Tab 按钮性能减少渲染次数
* refactor: 重命名 LayoutDemo 页面
* perf: 重构代码减少 Tab 组件刷新次数
* refactor: 样式 is-active 更改为 active
* refactor: 增加 PreventDefault 属性
* refactor: Tab 公开常用方法
* refactor: 移除级联参数精简逻辑
* feat: 增加 Tab 级联参数给子组件使用
* refactor: 增加 Layout 级联参数作用域
* feat: 公开 Tab 实例
* refactor: 移动部分逻辑到 Layout 组件中
2021-01-19 00:33:35 +08:00
Argo
0e0b4f3753 !909 fix(#I2DIR4): Expression contains add Null check
* refactor: 增加 Issue 跟踪
* docs: 更新 EFCore 示例文档
* fix: Contains 方法增加空判断
2021-01-18 13:18:55 +08:00
Argo
8d27c9f512 !908 fix(#I2DOK0): Tab content add Key word
* fix: 修复 Tab 状态未保持问题
2021-01-18 12:31:30 +08:00
Argo
36173dc1c1 !907 fix(#I2DIR4): Filter expression contains method throw exception
* revert: 恢复字符串包含方法调用
* feat: TableFilter 增加异步支持
* refactor: 增加 static 关键字
2021-01-18 01:20:48 +08:00
Argo-Cloud
6e41983480 chore: update Chart component 2021-01-18 00:16:38 +08:00
Argo
586df7d7a3 !906 fix(#I2DMDH): Chart component throw exception
* release: 发布新版本 5.0.5-beta01
* refactor: 增加 await 关键字
* refactor: 使用 await 关键字
* chore: 更新多语言资源文件
* chore: 移除德语资源文件
2021-01-18 00:13:12 +08:00
Argo
9da9aae4c8 !905 feat(#I2DMC3): Upload component split
* docs: 移除 Events 说明小节
* docs: 格式化文档
* refactor: 更新 ButtonUpload 组件
* refactor: InputUpload 组件
* docs: 更新文档
* docs: 更新示例文档
* refactor: 重构代码
* refactor: 更新 CardUpload 演示示例
* feat: 重构已上传项目样式
* feat: 重构是否显示进度条方法
* feat: 增加 OnFileDelete 默认实现
* feat: InputUpload 支持取消操作
* refactor: 提交代码备份
* feat: 增加 MultipleUploadBase
* refactor: 重构 InputUpload
* feat: 增加 UploadBase 基类
* docs: 更新文档文件
* feat: 拆分 ButtonUpload 组件
* feat: 拆分 ButtonUpload 组件
* feat: 拆分 InputUpload 组件
2021-01-17 23:25:26 +08:00
Argo
a8285ceee0 !904 fix(#I2DFX2): Table row Highlight css not work on odd row
* fix: 行高亮失效
2021-01-16 01:55:25 +08:00
Argo
fb605ab836 !903 fix(#I2DIQD): missing table export javascript
* docs: 增加 Table 导出数据脚本
2021-01-16 00:51:37 +08:00
Argo
18a078b7d0 !902 feat(#I2DIPZ): Upload support Validation feature
* chore: 更新 tooltip 脚本
* docs: 增加示例文档文件
* docs: 更新示例文档
* docs: 增加表单内使用 Upload 组件示例
* feat: 增加 FileValidation 验证标签
* feat: 增加 ToFileSizeString 扩展方法
* docs: 增加资源文件
2021-01-16 00:31:28 +08:00
Argo
27f64b5b6d !901 refactor(#I2DIPY): renove IValidator interface on EqualToValidator
* refactor: 移除 EqualToValidator 接口
2021-01-16 00:29:13 +08:00
Argo
e0cbf7e3df !900 feat(#I2DIPV): add GetAllSubItems method on TreeItem/MenuItem
* fix: MenuItem GetAllSubItems 方法丢失子项
* Merge branch 'dev' into dev-release-tree
* release: publish 5.0.12-beta07
* Merge branch 'dev-tree' into dev-release-tree
* release: publish 5.0.12-beta06
* Merge branch 'dev-tree' into dev-release-tree
* release: publish 5.0.12-beta05
* feat: Tab 组件增加 OnSetTabText 回调委托用于自定义 Tab 标签 Text
* release: publish 5.0.12-beta04
* fix: 修复菜单点击导航时 Tab 忽略大小写问题
* feat: 增加 GetAllSubItems 方法
* fix: 修复 TreeItem 获取子项缺失问题
2021-01-16 00:25:24 +08:00
Argo
ecce016d5b !899 fix(#I2DA62): Tab not work when click MenuItem
* release: publish 5.0.12-beta04
* fix: 修复菜单点击导航时 Tab 忽略大小写问题
2021-01-16 00:17:54 +08:00
Argo
fb1b20cecb !898 perf(#I2DIPM): Alert OnDismiss method change EventCallback to Func
* perf: Alert OnDismiss 更改为 Func<Task> 提高性能
2021-01-16 00:12:51 +08:00
一事冇诚
3e5f8b0132 !897 docs(#I2DGI6): update table export javascript docs
* doc(#I2DGI6): Table 组件导出功能文档增加引用 js 文件说明
2021-01-15 15:54:26 +08:00
紫夜
1daa39c907 !896 docs: update Accept property description on Upload
* Upload文档信息Accept属性描述错误;
2021-01-15 15:51:00 +08:00
Argo
167659efb9 !895 feat(#I2DF15): Drawer css/javascript split
* feat: Drawer 组件拆分样式与脚本
2021-01-15 11:50:56 +08:00
Argo
9dabca417d !894 feat(#I2DEYA): Dialog javascript split
* feat: Dialog 拆分脚本
2021-01-15 11:38:51 +08:00
Argo
84bc83f0cb !893 feat(#I2DETZ): Table Filter javascript split
* feat: TableFilter 拆分脚本
2021-01-15 11:22:48 +08:00
Argo
e678a2f5b8 !892 feat(#I2DEME): Table css/javascript split
* feat: Table 组件拆分样式与脚本
2021-01-15 11:02:18 +08:00
Argo
60307c7477 !891 feat(#I2DEIU): Modal css/javascript split
* refactor: 重构 Modal 组件
* chore: Modal 组件拆分样式与脚本
2021-01-15 10:52:55 +08:00
Argo-Cloud
30d6014347 release: publish 5.0.12-beta03 2021-01-14 19:14:22 +08:00
Argo
f20dc947d2 !890 fix(#I2DA7I): Column.Text not effect when set AutoGernerateColumns true
* fix: 修复设置 AutoGenerateColumn=true 后列设置 Text 失效问题
2021-01-14 19:11:29 +08:00
Argo
65b303b85c !889 feat(#I2DAZN): Add KeepChildrenState property on DialogOption
* docs: 增加子组件是否保持支持
* feat: 增加 KeepChildrenState 支持
* refactor: 增加 KeepChildrenState 属性
* refactor: 移除 KeepChildrenState 属性
2021-01-14 19:01:43 +08:00
Argo
ddfe18403e !888 fix(#I2D9GE): remove tab navigation url case sensitive
* fix: 修复 Tab 地址比较区分大小写问题
2021-01-14 15:49:35 +08:00
Argo-Cloud
780c62779e release: publish 5.0.12-beta01 2021-01-14 15:04:42 +08:00
Argo
6a0f46fe33 !887 fix(#I2D8XN): Rate component missing style
* fix: Rate 组件失效问题
2021-01-14 15:03:39 +08:00
Argo
7ba667ae0c !886 feat(#I2D80L): Scroll css/javascript split
* chore: 移除分号
* chore: 消除警告信息
* chore: 更新打包脚本
* chore: Scroll 组件拆分样式与脚本
* refactor: 移动样式到组件内部
* chore: 更新项目依赖
2021-01-14 14:01:47 +08:00
Argo
16d2a5ea43 !885 chore(#I2D7T0): upgrade extensions version
* chore: 升级版本到 5.0.4 更新依赖
2021-01-14 12:11:37 +08:00
1564 changed files with 80065 additions and 92213 deletions

View File

@@ -64,8 +64,8 @@ dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
dotnet_prefer_inferred_tuple_names = true:suggestion
dotnet_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent

26
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Build Project
on:
push:
branches:
- main
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.202
- name: Build
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
run: |
dotnet restore src/BootstrapBlazor --no-cache
dotnet build src/BootstrapBlazor

View File

@@ -3,9 +3,7 @@ name: Deploy To Huawei VM
on:
push:
branches:
- master
- dev
- hot-fix
- master-off
jobs:
deploy:
@@ -25,4 +23,3 @@ jobs:
cd ~/BootstrapBlazor
git checkout dev
sh ~/deploy-blazor.sh
sh ~/deploy-wasm.sh

View File

@@ -3,9 +3,7 @@ name: Package to Nuget
on:
push:
branches:
- master
- dev
- hot-fix
- pack
jobs:
pack:
@@ -17,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.102
dotnet-version: 5.0.202
- name: Publish to Nuget
env:
@@ -25,21 +23,3 @@ jobs:
run: |
dotnet pack src/BootstrapBlazor -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/Components/BootstrapBlazor.Chart -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.Chart.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/Components/BootstrapBlazor.TableExport -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.TableExport.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/Components/BootstrapBlazor.Markdown -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.Markdown.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.PetaPoco -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.PetaPoco.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.EntityFrameworkCore -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.EntityFrameworkCore.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.FreeSql -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.FreeSql.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate

View File

@@ -3,9 +3,7 @@ name: Deploy To Pages
on:
push:
branches:
- master
- dev
- hot-fix
- publish
jobs:
publish:
@@ -17,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.102
dotnet-version: 5.0.202
- name: Publish wasm
run: |

40
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Package to Nuget
on:
push:
branches:
- release
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.202
- name: Publish to Nuget
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
run: |
dotnet pack src/Extensions/Components/BootstrapBlazor.Chart -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.Chart.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/Components/BootstrapBlazor.TableExport -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.TableExport.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/Components/BootstrapBlazor.Markdown -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.Markdown.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.PetaPoco -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.PetaPoco.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.EntityFrameworkCore -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.EntityFrameworkCore.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
dotnet pack src/Extensions/DataServices/BootstrapBlazor.DataAcces.FreeSql -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.DataAcces.FreeSql.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate

View File

@@ -36,9 +36,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "appveyor", "appveyor", "{1E
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "github", "github", "{F0754254-903C-411B-972C-EC91254B4A67}"
ProjectSection(SolutionItems) = preProject
.github\workflows\build.yml = .github\workflows\build.yml
.github\workflows\deploy.yml = .github\workflows\deploy.yml
.github\workflows\pack.yml = .github\workflows\pack.yml
.github\workflows\publish.yml = .github\workflows\publish.yml
.github\workflows\release.yml = .github\workflows\release.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{9437A6C6-CF87-4B75-916B-C1EF558BD8EF}"
@@ -85,8 +87,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor.TableExport
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor.Shared", "src\BootstrapBlazor.Shared\BootstrapBlazor.Shared.csproj", "{C63F35FD-FE14-4517-9457-9DA43F0DCB9E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor.Docs", "src\BootstrapBlazor.Docs\BootstrapBlazor.Docs.csproj", "{09F31634-B9A7-4EB3-97D3-8DA5B5210730}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor.Server", "src\BootstrapBlazor.Server\BootstrapBlazor.Server.csproj", "{1ED371F3-2B28-4B2D-91B8-0C00DA42CB65}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor.WebAssembly.ClientHost", "src\Wasm\BootstrapBlazor.WebAssembly.ClientHost\BootstrapBlazor.WebAssembly.ClientHost.csproj", "{0556D9AB-8673-4248-8817-4D99F4DCC568}"
@@ -135,10 +135,6 @@ Global
{C63F35FD-FE14-4517-9457-9DA43F0DCB9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C63F35FD-FE14-4517-9457-9DA43F0DCB9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C63F35FD-FE14-4517-9457-9DA43F0DCB9E}.Release|Any CPU.Build.0 = Release|Any CPU
{09F31634-B9A7-4EB3-97D3-8DA5B5210730}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{09F31634-B9A7-4EB3-97D3-8DA5B5210730}.Debug|Any CPU.Build.0 = Debug|Any CPU
{09F31634-B9A7-4EB3-97D3-8DA5B5210730}.Release|Any CPU.ActiveCfg = Release|Any CPU
{09F31634-B9A7-4EB3-97D3-8DA5B5210730}.Release|Any CPU.Build.0 = Release|Any CPU
{1ED371F3-2B28-4B2D-91B8-0C00DA42CB65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1ED371F3-2B28-4B2D-91B8-0C00DA42CB65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1ED371F3-2B28-4B2D-91B8-0C00DA42CB65}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -173,7 +169,6 @@ Global
{EEB9751A-5C06-4725-8037-FA9C0F140018} = {CD062AB6-244D-402A-8F33-C37DAC5856CC}
{5ED0DD16-1583-4FC3-B2E9-FE5DBA98BD47} = {CD062AB6-244D-402A-8F33-C37DAC5856CC}
{C63F35FD-FE14-4517-9457-9DA43F0DCB9E} = {A2182155-43ED-44C1-BF6F-1B70EBD2DFFE}
{09F31634-B9A7-4EB3-97D3-8DA5B5210730} = {A2182155-43ED-44C1-BF6F-1B70EBD2DFFE}
{1ED371F3-2B28-4B2D-91B8-0C00DA42CB65} = {A2182155-43ED-44C1-BF6F-1B70EBD2DFFE}
{0556D9AB-8673-4248-8817-4D99F4DCC568} = {C8E79F4C-8C55-4E13-96B5-3D2BD6A07B74}
{FFFD2EB7-AE88-4DAD-A825-528B2CEFB4B5} = {C8E79F4C-8C55-4E13-96B5-3D2BD6A07B74}

90
CHANGELOG.zh-CN.md Normal file
View File

@@ -0,0 +1,90 @@
<h1 align="center">Bootstrap Blazor 组件库</h1>
<div align="center">
<h2>一套基于 Bootstrap 和 Blazor 的企业级组件库</h2>
[![Nuget](https://img.shields.io/nuget/v/BootstrapBlazor.svg?color=red&logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Nuget](https://img.shields.io/nuget/dt/BootstrapBlazor.svg?logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Commit Date](https://img.shields.io/github/last-commit/ArgoZhang/BootstrapBlazor/master.svg?logo=github&logoColor=green&label=commit)](https://github.com/ArgoZhang/BootstrapBlazor)
</div>
---
### 发布周期
- 主版本号:与 Microsoft .NET 主版本号一致
- 次版本号:与 Microsoft .NET 次版本号一致
- 修订版本号:每周四发布正式版(翻车紧急修复会跳版本号)日常每天发布新功能测试版本或者修复 BUG 测试版本 beta-##
---
### 5.0.22
`2021-03-24`
#### 增加功能
- !1193 feat(#I3CQYI): Table 组件编辑按钮增加回调委托 [#I3CQYI](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1193)
- !1192 feat(#I3CQY7): 增加 Row 组件用于栅格系统布局 [#I3CQY7](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1192)
- !1191 feat(#I3CQXQ): 自动生成标签 AutoGenerateColumn 增加 ComponentType 属性用于自定义呈现组件 [#I3CQXQ](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1191)
- !1188 feat(#I3CQY7): Switch 组件适配 Row 组件支持 row form-row form-inline 三种模式 [#I3CQY7](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1188)
- !1187 feat(#I3CPJ8): Select 组件适配 Row 组件支持 row form-row form-inline 三种模式 [#I3CPJ8](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1187)
- !1172 feat(#I3CFJS): Table 组件树形数据支持 CRUD 并且保持编辑前展开收缩状态 [#I3CFJS](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1172)
- !1173 feat(#I3CBQT): 增加演示网站 wasm 模式对浏览器是否兼容性提示功能 [#I3CBQT](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1173)
- !1171 feat(#I3CBI6): DataAnnotation 支持复杂类型的验证 [#I3CBI6](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1171)
- !1167 feat(#I3C6GH): Table 组件展开树形数据是增加 Spin 动画效果 [#I3C6GH](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1167)
#### 问题修复
- !1189 fix(#I3CPLZ): 更新 EFCore 数据注入服务获取记录总数逻辑 [#I3CPLZ](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1189)
- !1185 fix(#I3CFAS): 修复 EFCore 数据注入服务排序导致递归循环引用问题 [#I3CFAS](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1185)
- !1183 fix(#I3CF4K): 更新 EFCore 数据注入服务使服务生命周期内部与参数一致默认 Scope [#I3CF4K](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1183)
- !1178 fix(#I3CCK1): 修复全局配置 SwalDelay 参数在 Swal 组件中未生效问题 [#I3CCK1](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1178)
- !1177 fix(#I3CCIQ): 修复全局配置 MessageDelay 参数在 Message 组件中未生效问题 [#I3CCIQ](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1177)
- !1175 fix(#I3CBSW): 修复 Timer 计时器组件不兼容 wasm 模式问题 [#I3CBSW](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1175)
- !1168 fix(#I3C8PH): 修复 Tab 组件首次加载时活动标签页蓝色火柴棍特效不能正常呈现问题 [#I3C8PH](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1168)
- !1163 fix(#I3C2W4): 修复内置数据服务导致高级搜索默认高亮状态问题 [#I3C2W4](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1163)
- !1161 fix(#I3C205): 更新 Switch 组件点击事件触发组件 [#I3C205](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1161)
#### 示例更新
- !1190 docs(#I3CQXN): 更新 Table 组件明细行示例代码
- !1182 docs(#I3CF12): 更新 Table 组件更新固定列示例代码
- !1169 docs(#I3C8Q3): 更新 dialog 示例代码
- !1166 docs(#I3C4HV): 更新 Table 组件固定表头示例代码
- !1165 docs(#I3C4F0): 更新 Table 组件多表头示例代码
#### 性能优化
- !1186 perf(#I3CPID): 优化 ValidateForm 组件提高内部性能 [#I3CPID](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1186)
- !1170 refactor(#I3CA0I): DynamicComponent 改名为 BootstrapDynamicComponent [#I3CA0I](https://gitee.com/LongbowEnterprise/BootstrapBlazor/pulls/1170)
### 5.0.21
`2021-03-18`
* !1158 feat(#I3BULP): Table 组件增加数据服参数未设置时使用全局注入数据服务
* !1157 feat(#I3BUL0): MultiSelect 组件支持双向绑定数组类型
* !1155 feat(#I3BNXX): ValidateForm 组件增加 ValidateAllProperties 参数是否开启检查所有字段默认 false 仅检查表单中的绑定字段
* !1154 feat(#I3BN0L): ValidateForm 组件增加 SetError 方法可主动设置绑定字段提示信息
* !1153 feat(#I3BKXC): 优化 Upload 组件 ButtonUpload 模式上传失败后鼠标悬停图标
* !1152 fix(#I3ALSP): 修复 Upload 组件 ShowProgress 与 IsMultiple 参数共同使用时出错问题
* !1151 fix(#I3BGMV): 修复 Table 组件固定列后选中行样式被遮挡问题
* !1147 fix(#I3AB7H): Upload 组件上传中增加 Spin 动画
* !1145 fix(#I3BEBQ): 修复 Cascader 组件选中项样式
* !1144 fix(#I3BBNS): 修复 Table 组件加载树形数据后与 ClickToSelect 参数冲突问题
* !1143 perf(#I3BBMK): 优化 SweetAlert 组件内部弹窗性能
* !1142 feat(#I3BADG): Dialog 组件支持无限弹窗
* !1140 fix(#I3B9GU): 修复 Cascader 组件选择后显示文字不更新问题
* !1139 feat(#I3B8RN): 演示站点增加切换主题功能
* !1138 feat(#I3B8FX): Table 组件增加 ShowErrorToast 参数用于控制是否显示操作提示弹窗
* !1137 feat(#I3B7UV): 新增 Cascader 组件
* !1136 fix(#I3B502): 修复 Table 组件 ClickToSelect 属性与扩展操作按钮冲突问题
* !1134 fix(#I3B50S): 修复 Table 组件树形数据点击节点无刷新问题
* !1131 docs(#I3B1VU): Table 组件更新分页示例
* !1130 feat(#I3B1VL): EditorForm 组件自动布局支持 Textarea 组件类型
* !1128 fix(#I3AZOI): 修复 Menu 组件顶栏超过 5 个子菜单时样式不正确问题
* !1127 perf(#I3AYCH): 优化 Dialog 组件性能阻止点击关闭等按钮导致子组件二次渲染问题

View File

@@ -1,5 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Copyright>Argo Zhang</Copyright>
<Authors>Argo Zhang(argo@163.com)</Authors>
<Company>Longbow</Company>

8
NuGet.Config Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="azure" value="https://nuget.cdn.azure.cn/v3/index.json" />
<add key="cnblogs" value="https://nuget.cnblogs.com/v3/index.json" />
<add key="huawei" value="https://repo.huaweicloud.com/repository/nuget/v3/index.json" />
</packageSources>
</configuration>

View File

@@ -1,15 +1,15 @@
<h1 align="center">Bootstrap Blazor Component</h1>
<h1 align="center">Bootstrap Blazor Component</h1>
<div align="center">
<h2>A set of enterprise-class UI components based on Bootstrap and Blazor.</h2>
[![Github build](https://img.shields.io/github/workflow/status/ArgoZhang/BootstrapBlazor/Package%20to%20Nuget/master?label=master&logo=github&logoColor=green)](https://github.com/ArgoZhang/BootstrapAdmin/actions?query=workflow%3A%22Auto+Build+CI%22+branch%3Amaster)
[![Github build](https://img.shields.io/github/workflow/status/ArgoZhang/BootstrapBlazor/Build%20Project/main?label=main&logo=github&logoColor=green)](https://github.com/ArgoZhang/BootstrapBlazor/actions?query=workflow%3A%22Build+Project%22+branch%3Amain)
[![Nuget](https://img.shields.io/nuget/v/BootstrapBlazor.svg?color=red&logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Nuget](https://img.shields.io/nuget/dt/BootstrapBlazor.svg?logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Github](https://img.shields.io/github/license/argozhang/bootstrapblazor.svg?logo=git&logoColor=red)](https://github.com/ArgoZhang/BootstrapBlazor/blob/master/LICENSE)
[![Github](https://img.shields.io/github/license/argozhang/bootstrapblazor.svg?logo=git&logoColor=red)](https://github.com/ArgoZhang/BootstrapBlazor/blob/main/LICENSE)
[![Repo Size](https://img.shields.io/github/repo-size/ArgoZhang/BootstrapBlazor.svg?logo=github&logoColor=green&label=repo)](https://github.com/ArgoZhang/BootstrapBlazor)
[![Commit Date](https://img.shields.io/github/last-commit/ArgoZhang/BootstrapBlazor/master.svg?logo=github&logoColor=green&label=commit)](https://github.com/ArgoZhang/BootstrapBlazor)
[![Commit Date](https://img.shields.io/github/last-commit/ArgoZhang/BootstrapBlazor/main.svg?logo=github&logoColor=green&label=commit)](https://github.com/ArgoZhang/BootstrapBlazor)
</div>

View File

@@ -1,4 +1,18 @@
# Bootstrap Blazor Component
<h1 align="center">Bootstrap Blazor 组件库</h1>
<div align="center">
<h2>一套基于 Bootstrap 和 Blazor 的企业级组件库</h2>
[![Github build](https://img.shields.io/github/workflow/status/ArgoZhang/BootstrapBlazor/Build%20Project/main?label=main&logo=github&logoColor=green)](https://github.com/ArgoZhang/BootstrapBlazor/actions?query=workflow%3A%22Build+Project%22+branch%3Amain)
[![Nuget](https://img.shields.io/nuget/v/BootstrapBlazor.svg?color=red&logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Nuget](https://img.shields.io/nuget/dt/BootstrapBlazor.svg?logo=nuget&logoColor=green)](https://www.nuget.org/packages/BootstrapBlazor/)
[![Github](https://img.shields.io/github/license/argozhang/bootstrapblazor.svg?logo=git&logoColor=red)](https://github.com/ArgoZhang/BootstrapBlazor/blob/main/LICENSE)
[![Repo Size](https://img.shields.io/github/repo-size/ArgoZhang/BootstrapBlazor.svg?logo=github&logoColor=green&label=repo)](https://github.com/ArgoZhang/BootstrapBlazor)
[![Commit Date](https://img.shields.io/github/last-commit/ArgoZhang/BootstrapBlazor/main.svg?logo=github&logoColor=green&label=commit)](https://github.com/ArgoZhang/BootstrapBlazor)
</div>
---
<a href="README.md">English</a> | <span>中文</span>
@@ -28,17 +42,29 @@ Blazor 是一个使用 .NET 生成交互式客户端 Web UI 的框架:
2. 安装 Visual Studio 2019 最新版 [官方网址](https://visualstudio.microsoft.com/vs/getting-started/)
3. 获取本项目代码 [BootstrapBlazor](https://gitee.com/LongbowEnterprise/BootstrapBlazor)
## 相关资源
- [Blazor 官方文档](https://docs.microsoft.com/zh-cn/aspnet/core/blazor/?WT.mc_id=DT-MVP-5004174)
- [生成 Blazor Web 应用](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/?WT.mc_id=DT-MVP-5004174)
- [什么是 Blazor](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/2-understand-blazor-webassembly?WT.mc_id=DT-MVP-5004174)
- [练习 - 配置开发环境](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/3-exercise-configure-enviromnent?WT.mc_id=DT-MVP-5004174)
- [Blazor 组件](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/4-blazor-components?WT.mc_id=DT-MVP-5004174)
- [练习 - 添加组件](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/5-exercise-add-component?WT.mc_id=DT-MVP-5004174)
- [数据绑定和事件](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/6-csharp-razor-binding?WT.mc_id=DT-MVP-5004174)
- [练习 - 数据绑定和事件](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/7-exercise-razor-binding?WT.mc_id=DT-MVP-5004174)
- [总结](https://docs.microsoft.com/zh-cn/learn/modules/build-blazor-webassembly-visual-studio-code/8-summary?WT.mc_id=DT-MVP-5004174)
## QQ交流群
[![QQ](https://img.shields.io/badge/QQ-795206915-green.svg?logo=tencent%20qq&logoColor=red)](https://shang.qq.com/wpa/qunwpa?idkey=d381355e50ff91db410c3da3eadb081ba859f64c2877e86343f4709b171f28b8)
[![QQ](https://img.shields.io/badge/QQ-795206915(满)-red.svg?logo=tencent%20qq&logoColor=red)](https://qm.qq.com/cgi-bin/qm/qr?k=1-jF9-5WA_3GFiJgXem2U_AQfqbdyOlV&jump_from=webapi) [![QQ](https://img.shields.io/badge/QQ-675147445-green.svg?logo=tencent%20qq&logoColor=red)](https://qm.qq.com/cgi-bin/qm/qr?k=Geker7hCXK0HC-J8_974645j_n6w0OE0&jump_from=webapi)
## 视频教程
B 站视频集锦 [传送门](https://gitee.com/LongbowEnterprise/BootstrapBlazor/wikis/%E8%A7%86%E9%A2%91%E8%B5%84%E6%BA%90?sort_id=3300624)
B 站视频集锦 [传送门](https://space.bilibili.com/660853738/channel/index)
## 组件
Blazor应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面、对话框或数据输入窗体。
Blazor 应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面、对话框或数据输入窗体。
组件是内置到 .NET 程序集的 .NET 类,用来:
- 定义灵活的 UI 呈现逻辑。
@@ -48,18 +74,16 @@ Blazor应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面
### 内置组件
内置组件 [传送门](https://www.blazor.zone/alerts)
内置组件 [传送门](https://www.blazor.zone/components)
## 分支说明
- master 稳定分支
- dev 开发功能分支
- publish 与演示网站同步
- 其他 均为临时分支
## 演示地址
[![website](https://img.shields.io/badge/Github-https://argozhang.github.io-success.svg?logo=buzzfeed&logoColor=red&color=red)](https://argozhang.github.io)
[![website](https://img.shields.io/badge/linux-https://www.blazor.zone-success.svg?logo=buzzfeed&logoColor=green)](https://www.blazor.zone)
[![website](https://img.shields.io/badge/Github-海外-success.svg?logo=buzzfeed&logoColor=red&color=red)](https://argozhang.github.io) [![website](https://img.shields.io/badge/linux-备站-success.svg?logo=buzzfeed&logoColor=green)](https://blazor.zylweb.cn) [![website](https://img.shields.io/badge/linux-主站-success.svg?logo=buzzfeed&logoColor=green)](https://www.blazor.zone)
## GVP 奖杯
![项目奖杯](https://images.gitee.com/uploads/images/2021/0112/120620_e596ac3c_554725.png "GVP.png")

View File

@@ -1,5 +0,0 @@
{
"sdk": {
"version": "5.0.102"
}
}

View File

@@ -2,6 +2,7 @@
cd ~/BootstrapBlazor
git pull
dotnet restore --no-cache
dotnet publish src/BootstrapBlazor.WebConsole -c Release
systemctl stop ba.blazor

View File

@@ -1,11 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<SupportedPlatform Include="browser" />
</ItemGroup>
</Project>

View File

@@ -1,7 +0,0 @@
<Alert Color="Color.Primary">主要的警告框</Alert>
<Alert Color="Color.Secondary">次要的警告框</Alert>
<Alert Color="Color.Success">成功的警告框</Alert>
<Alert Color="Color.Danger">危险的警告框</Alert>
<Alert Color="Color.Warning">警告的警告框</Alert>
<Alert Color="Color.Info">信息的警告框</Alert>
<Alert Color="Color.Dark">黑暗的警告框</Alert>

View File

@@ -1,7 +0,0 @@
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Primary">主要的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Secondary">次要的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Success">成功的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Danger">危险的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Warning">警告的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Info">信息的警告框</Alert>
<Alert ShowDismiss="true" OnDismiss="@DismissClick" Color="Color.Dark">黑暗的警告框</Alert>

View File

@@ -1,4 +0,0 @@
<Alert Icon="fa fa-check-circle" Color="Color.Success">成功提示的文案</Alert>
<Alert Icon="fa fa-warning" Color="Color.Warning">警告提示的文案</Alert>
<Alert Icon="fa fa-question-circle" Color="Color.Info">消息提示的文案</Alert>
<Alert Icon="fa fa-times-circle" Color="Color.Danger">错误提示的文案</Alert>

View File

@@ -1,15 +0,0 @@
<Alert ShowBar="true" Color="Color.Info">
<div>消息提示的文案</div>
</Alert>
<Alert ShowBar="true" Color="Color.Success">
<div>成功提示的文案</div>
</Alert>
<Alert ShowBar="true" Color="Color.Primary">
<div>主要的警告框</div>
</Alert>
<Alert ShowBar="true" Color="Color.Warning">
<div>警告的警告框</div>
</Alert>
<Alert ShowBar="true" Color="Color.Danger">
<div>危险的警告框</div>
</Alert>

View File

@@ -1,15 +0,0 @@
<ul class="demo-ul">
<li><Anchor Target="anchor1" Offset="50">Anchor1</Anchor></li>
<li><Anchor Target="anchor2" Offset="50">Anchor2</Anchor></li>
<li><Anchor Target="anchor3" Offset="50">Anchor3</Anchor></li>
<li><Anchor Target="anchor4" Offset="50">Anchor4</Anchor></li>
</ul>
<h4 id="anchor1">Archor1</h4>
<div>@ContentText1</div>
<h4 id="anchor2">Archor2</h4>
<div>@ContentText1</div>
<h4 id="anchor3">Archor3</h4>
<div>@ContentText1</div>
<h4 id="anchor4">Archor4</h4>
<div>@ContentText1</div>

View File

@@ -1 +0,0 @@
<AutoComplete Items="@Items" />

View File

@@ -1 +0,0 @@
<AutoComplete Items="@Items" ValueChanged="@OnValueChanged" />

View File

@@ -1 +0,0 @@
<AutoComplete Items="@StaticItems" NoDataTip="没有找到你想要的数据" />

View File

@@ -1 +0,0 @@
<AutoComplete Items="@StaticItems" IsLikeMatch="true" IgnoreCase="false" />

View File

@@ -1,31 +0,0 @@
<p>前置标签显式规则与 <code>BootstrapInput</code> 组件一致 <a href="inputs">[传送门]</a></p>
<Divider Text="双向绑定显示标签" Alignment="Alignment.Left" style="margin: 2rem 0;"></Divider>
<ValidateForm class="form-inline" Model="@Model">
<div class="row">
<div class="form-group col-12">
<AutoComplete Items="@StaticItems" @bind-Value="@Model.Name" ShowLabel="true" />
</div>
</div>
</ValidateForm>
<Divider Text="双向绑定不显示标签" Alignment="Alignment.Left" style="margin: 2rem 0;" />
<div class="form-inline">
<div class="row">
<div class="form-group col-12">
<AutoComplete Items="@StaticItems" @bind-Value="@Model.Name" ShowLabel="false" />
</div>
</div>
</div>
<Divider Text="自定义 DisplayText" Alignment="Alignment.Left" style="margin: 2rem 0;"></Divider>
<div class="form-inline">
<div class="row">
<div class="form-group col-12">
<AutoComplete Items="@StaticItems" @bind-Value="@Model.Name" DisplayText="自定义城市" ShowLabel="true" />
</div>
</div>
</div>
@code {
private Foo Model { get; set; } = new Foo() { Name = "" };
private IEnumerable<string> StaticItems => new List<string> { "1", "12", "123", "1234", "12345", "123456", "abc", "abcdef", "ABC", "aBcDeFg", "ABCDEFG" };
}

View File

@@ -1,11 +0,0 @@
<Avatar Url="images/argo-c.png" IsCircle="true" Size="Size.ExtraLarge" />
<Avatar Url="images/argo-c.png" IsCircle="true" Size="Size.Large" />
<Avatar Url="images/argo-c.png" IsCircle="true" />
<Avatar Url="images/argo-c.png" IsCircle="true" Size="Size.Small" />
<Avatar Url="images/argo-c.png" IsCircle="true" Size="Size.ExtraSmall" />
<Avatar Url="images/argo.png" Size="Size.ExtraLarge" />
<Avatar Url="images/argo.png" Size="Size.Large" />
<Avatar Url="images/argo.png" />
<Avatar Url="images/argo.png" Size="Size.Small" />
<Avatar Url="images/argo.png" Size="Size.ExtraSmall" />

View File

@@ -1,3 +0,0 @@
<Avatar IsCircle="true" IsIcon="true" />
<Avatar IsCircle="true" Url="images/argo-c.png" />
<Avatar IsCircle="true" IsText="true" Text="User"/>

View File

@@ -1,4 +0,0 @@
<Avatar IsCircle="true" IsBorder="true" Url="images/argo-c.png" />
<Avatar IsCircle="true" IsBorder="true" Url="images/argo-c1.png" />
<Avatar IsCircle="true" IsBorder="true" IsIcon="true" Icon="fa fa-tv" />
<Avatar IsCircle="true" IsBorder="true" IsText="true" Text="AZ" />

View File

@@ -1,8 +0,0 @@
<Badge Color="Color.Primary">primary</Badge>
<Badge Color="Color.Secondary">secondary</Badge>
<Badge Color="Color.Success">success</Badge>
<Badge Color="Color.Danger">danger</Badge>
<Badge Color="Color.Warning">warning</Badge>
<Badge Color="Color.Info">info</Badge>
<Badge Color="Color.Dark">dark</Badge>
<Badge Color="Color.Light">light</Badge>

View File

@@ -1,8 +0,0 @@
<Badge IsPill="true" Color="Color.Primary">primary</Badge>
<Badge IsPill="true" Color="Color.Secondary">secondary</Badge>
<Badge IsPill="true" Color="Color.Success">success</Badge>
<Badge IsPill="true" Color="Color.Danger">danger</Badge>
<Badge IsPill="true" Color="Color.Warning">warning</Badge>
<Badge IsPill="true" Color="Color.Info">info</Badge>
<Badge IsPill="true" Color="Color.Dark">dark</Badge>
<Badge IsPill="true" Color="Color.Light">light</Badge>

View File

@@ -1,11 +0,0 @@
<Button Color="Color.Primary">
<i class="fa fa-tv"></i>
<span>主要按钮</span>
<Badge Color="Color.Danger">1</Badge>
</Button>
<div class="badge-widget">
<i class="fa fa-tv"></i>
<Badge Color="Color.Success">
<span style="padding: 0 2px;">8</span>
</Badge>
</div>

View File

@@ -1,34 +0,0 @@
<BarcodeReader OnInit="@OnInit" OnResult="@OnResult" OnStart="@OnStart" OnClose="@OnClose" OnError="@OnError" />
@code {
private Task OnInit(IEnumerable<Camera> devices)
{
var cams = string.Join("", devices.Select(i => i.Label));
Trace?.Log($"初始化摄像头完成 {cams}");
return Task.CompletedTask;
}
private Task OnResult(string barcode)
{
Trace?.Log($"扫描到条码 {barcode}");
return Task.CompletedTask;
}
private Task OnError(string error)
{
Trace?.Log($"发生错误 {error}");
return Task.CompletedTask;
}
private Task OnStart()
{
Trace?.Log($"打开摄像头");
return Task.CompletedTask;
}
private Task OnClose()
{
Trace?.Log($"关闭摄像头");
return Task.CompletedTask;
}
}

View File

@@ -1,15 +0,0 @@
<BarcodeReader ScanType="@ScanType.Image" OnResult="@OnImageResult" OnError="@OnImageError" />
@code {
private Task OnImageResult(string barcode)
{
//Trace2?.Log($"扫描到条码 {barcode}");
return Task.CompletedTask;
}
private Task OnImageError(string err)
{
//Trace2?.Log($"发生错误 {err}");
return Task.CompletedTask;
}
}

View File

@@ -1 +0,0 @@
<BarcodeReader OnResult="@OnImageResult" OnError="@OnImageError" AutoStart="true" />

View File

@@ -1,21 +0,0 @@
<Breadcrumb Value="@DataSource" />
@code {
[NotNull]
private IEnumerable<BreadcrumbItem>? DataSource { get; set; }
/// <summary>
/// OnInitialized 方法
/// </summary>
protected override void OnInitialized()
{
base.OnInitialized();
DataSource = new List<BreadcrumbItem>
{
new BreadcrumbItem("Home", "#"),
new BreadcrumbItem("Library", "#"),
new BreadcrumbItem("Data")
};
}
}

View File

@@ -1,9 +0,0 @@
<Button @onclick="@ButtonClick" Color="Color.Primary">主要按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Secondary">次要按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Success">成功按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Danger">危险按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Warning">警告按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Info">信息按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Dark">黑暗按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Light">高亮按钮</Button>
<Button @onclick="@ButtonClick" Color="Color.Link">链接按钮</Button>

View File

@@ -1,9 +0,0 @@
<Button IsOutline="true" Color="Color.Primary">主要按钮</Button>
<Button IsOutline="true" Color="Color.Secondary">次要按钮</Button>
<Button IsOutline="true" Color="Color.Success">成功按钮</Button>
<Button IsOutline="true" Color="Color.Danger">危险按钮</Button>
<Button IsOutline="true" Color="Color.Warning">警告按钮</Button>
<Button IsOutline="true" Color="Color.Info">信息按钮</Button>
<Button IsOutline="true" Color="Color.Dark">黑暗按钮</Button>
<Button IsOutline="true" Color="Color.Light">高亮按钮</Button>
<Button IsOutline="true" Color="Color.Link">链接按钮</Button>

View File

@@ -1,7 +0,0 @@
<Button Size="Size.ExtraSmall" Color="Color.Primary">超小按钮</Button>
<Button Size="Size.Small" Color="Color.Secondary">小按钮</Button>
<Button Size="Size.None" Color="Color.Info">按钮</Button>
<Button Size="Size.Medium" Color="Color.Success">中等按钮</Button>
<Button Size="Size.Large" Color="Color.Danger">大按钮</Button>
<Button Size="Size.ExtraLarge" Color="Color.Warning">超大按钮</Button>
<Button IsBlock="true" Color="Color.Primary">Block 按钮</Button>

View File

@@ -1,33 +0,0 @@
<Button IsDisabled="true" Color="Color.Primary">主要按钮</Button>
<Button IsDisabled="true" Color="Color.Secondary">次要按钮</Button>
<Button IsDisabled="true" Color="Color.Success">成功按钮</Button>
<Button IsDisabled="true" Color="Color.Danger">危险按钮</Button>
<Button IsDisabled="true" Color="Color.Warning">警告按钮</Button>
<Button IsDisabled="true" Color="Color.Info">信息按钮</Button>
<Button IsDisabled="true" Color="Color.Dark">黑暗按钮</Button>
<Button IsDisabled="true" Color="Color.Light">高亮按钮</Button>
<Button IsDisabled="true" Color="Color.Link">链接按钮</Button>
<Button Text="点击被禁用" OnClick="@ClickButton1" @ref="ButtonDisableDemo" IsDisabled="@IsDisable">
<Tooltip Title="点击按钮后由于被禁用 Tooltip 被销毁" Placement="Placement.Top" Trigger="hover" />
</Button>
<Button Color="Color.Info" Text="点击后使第一个按钮可用" OnClickWithoutRender="@ClickButton2" class="ml-3"></Button>
@code {
private Button ButtonDisableDemo { get; set; }
private bool IsDisable { get; set; }
private void ClickButton1()
{
IsDisable = !IsDisable;
StateHasChanged();
}
private Task ClickButton2()
{
IsDisable = false;
ButtonDisableDemo.SetDisable(false);
return Task.CompletedTask;
}
}

View File

@@ -1,4 +0,0 @@
<div class="btn-group" role="group">
<Button Color="Color.Primary">按钮一</Button>
<Button Color="Color.Success">按钮二</Button>
</div>

View File

@@ -1,2 +0,0 @@
<Button Color="Color.Primary" Icon="fa fa-fa" Text="状态按钮"></Button>
<Button Color="Color.Info" Icon="fa fa-spinner fa-spin fa-fw" Text="进度按钮"></Button>

View File

@@ -1,6 +0,0 @@
<Button ButtonStyle="ButtonStyle.Round" Color="Color.Primary">主要按钮</Button>
<Button ButtonStyle="ButtonStyle.Round" Color="Color.Secondary">次要按钮</Button>
<Button ButtonStyle="ButtonStyle.Round" Color="Color.Success">成功按钮</Button>
<Button ButtonStyle="ButtonStyle.Round" Color="Color.Danger">危险按钮</Button>
<Button ButtonStyle="ButtonStyle.Round" Color="Color.Warning">警告按钮</Button>
<Button ButtonStyle="ButtonStyle.Circle" Icon="fa fa-fw fa-cubes"></Button>

View File

@@ -1,14 +0,0 @@
<WinButton Text="按钮一" OnClick="@ClickButtonShowText"></WinButton>
<WinButton Text="按钮二" OnClick="@ClickButtonShowText"></WinButton>
<div>@ButtonText</div>
@code {
private string ButtonText { get; set; } = "";
private Task ClickButtonShowText(string text)
{
ButtonText = text;
StateHasChanged();
return Task.CompletedTask;
}
}

View File

@@ -1 +0,0 @@
<Calendar ValueChanged="@OnValueChanged" />

View File

@@ -1 +0,0 @@
<Calendar @bind-Value="@BindValue" />

View File

@@ -1 +0,0 @@
<Calendar ViewModel="CalendarViewModel.Week" />

View File

@@ -1,63 +0,0 @@
<Calendar ViewModel="CalendarViewModel.Week">
<tr>
<td class="none"></td>
<td rowspan="4"><div class="less ch">语文</div></td>
<td>数学</td>
<td>语文</td>
<td>数学</td>
<td>英语</td>
<td class="none"></td>
</tr>
<tr>
<td class="none"></td>
<td>数学</td>
<td rowspan="3"><div class="less en">英语</div></td>
<td>数学</td>
<td>英语</td>
<td class="none"></td>
</tr>
<tr>
<td class="none"></td>
<td>数学</td>
<td>数学</td>
<td>英语</td>
<td class="none"></td>
</tr>
<tr>
<td class="none"></td>
<td>数学</td>
<td>数学</td>
<td>英语</td>
<td class="none"></td>
</tr>
<tr>
<td style="background-color: #f8f9fa;" colspan="7">午休</td>
</tr>
<tr>
<td class="none"></td>
<td>数学</td>
<td>语文</td>
<td>英语</td>
<td>数学</td>
<td>英语</td>
<td class="none"></td>
</tr>
<tr>
<td class="none"></td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td class="none"></td>
</tr>
<tr>
<td class="none"></td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td>自习</td>
<td class="none"></td>
</tr>
</Calendar>

View File

@@ -1,37 +0,0 @@
<Camera OnInit="@OnInit" OnStart="@OnStart" OnClose="@OnClose" OnError="@OnError" OnCapture="@OnCapture" />
<Logger @ref="Trace" class="mt-3" />
@code {
private Logger Trace { get; set; }
private Task OnInit(IEnumerable<DeviceItem> devices)
{
var cams = string.Join("", devices.Select(i => i.Label));
Trace?.Log($"初始化摄像头完成 {cams}");
return Task.CompletedTask;
}
private Task OnError(string err)
{
Trace?.Log("发生错误 {err}");
return Task.CompletedTask;
}
private Task OnStart()
{
Trace?.Log("打开摄像头");
return Task.CompletedTask;
}
private Task OnClose()
{
Trace?.Log("关闭摄像头");
return Task.CompletedTask;
}
private Task OnCapture()
{
Trace?.Log("拍照完成");
return Task.CompletedTask;
}
}

View File

@@ -1 +0,0 @@
<Camera ShowPreview="true" />

View File

@@ -1 +0,0 @@
<Camera AutoStart="true" />

View File

@@ -1 +0,0 @@
<Captcha />

View File

@@ -1 +0,0 @@
<Captcha ImagesPath="@ImagesPath" ImagesName="@ImagesName" />

View File

@@ -1 +0,0 @@
<Captcha GetImageName="@GetImageName" />

View File

@@ -1,7 +0,0 @@
<Card style="width: 18rem;">
<CardBody>
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</CardBody>
</Card>

View File

@@ -1,13 +0,0 @@
<Card>
<CardHeader>
Featured
</CardHeader>
<CardBody>
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</CardBody>
<CardFooter>
2 days ago
</CardFooter>
</Card>

View File

@@ -1,13 +0,0 @@
<Card IsCenter="true">
<CardHeader>
Featured
</CardHeader>
<CardBody>
<h5 class="card-title">Special title treatment</h5>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</CardBody>
<CardFooter>
2 days ago
</CardFooter>
</Card>

View File

@@ -1,65 +0,0 @@
<div class="row flex">
<Card Color="Color.Primary" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Primary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Secondary" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Success card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Success" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Secondary card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Warning" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Warning card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Danger" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Danger card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Info" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Info card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
<Card Color="Color.Dark" Class="ml-3 mt-2" IsCenter="true" style="width: 18rem;">
<CardHeader>
Header
</CardHeader>
<CardBody>
<h5 class="card-title">Dark card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</CardBody>
</Card>
</div>

View File

@@ -1,10 +0,0 @@
<Carousel Images="@Images" Width="280"></Carousel>
@code {
private IEnumerable<string> Images = new List<string>()
{
"images/Pic0.jpg",
"images/Pic1.jpg",
"images/Pic2.jpg"
};
}

View File

@@ -1 +0,0 @@
<Carousel Images="@Images" Width="280" IsFade="true"></Carousel>

View File

@@ -1,27 +0,0 @@
<Carousel Images="@Images" Width="280" IsFade="true" OnClick="@OnClick"></Carousel>
<Logger @ref="Trace" class="mt-3" />
@code {
/// <summary>
///
/// </summary>
private Logger? Trace { get; set; }
private IEnumerable<string> Images => new List<string>()
{
"_content/BootstrapBlazor.Shared/images/Pic0.jpg",
"_content/BootstrapBlazor.Shared/images/Pic1.jpg",
"_content/BootstrapBlazor.Shared/images/Pic2.jpg"
};
/// <summary>
///
/// </summary>
/// <param name="imageUrl"></param>
/// <returns></returns>
private Task OnClick(string imageUrl)
{
Trace?.Log($"Image Clicked: {imageUrl}");
return Task.CompletedTask;
}
}

View File

@@ -1,22 +0,0 @@
<Chart OnInit="@(() => OnInit(LineDatasetCount, LineDataCount))" />
@code{
private Task<ChartDataSource> OnInit(int dsCount, int daCount)
{
var ds = new ChartDataSource();
ds.Options.XAxes.Add(new ChartAxes() { LabelString = "天数" });
ds.Options.YAxes.Add(new ChartAxes() { LabelString = "数值" });
ds.Labels = Enumerable.Range(1, daCount).Select(i => i.ToString());
for (var index = 0; index < dsCount; index++)
{
ds.Data.Add(new ChartDataset()
{
Label = $"数据集 {index}",
Data = Enumerable.Range(1, daCount).Select(i => Random(20, 37)).Cast<object>()
});
}
return Task.FromResult(ds);
}
}

View File

@@ -1,22 +0,0 @@
<Chart ChartType="ChartType.Bar" OnInit="@(() => OnInit(BarDatasetCount, BarDataCount))" />
@code{
private Task<ChartDataSource> OnInit(int dsCount, int daCount)
{
var ds = new ChartDataSource();
ds.Options.XAxes.Add(new ChartAxes() { LabelString = "天数" });
ds.Options.YAxes.Add(new ChartAxes() { LabelString = "数值" });
ds.Labels = Enumerable.Range(1, daCount).Select(i => i.ToString());
for (var index = 0; index < dsCount; index++)
{
ds.Data.Add(new ChartDataset()
{
Label = $"数据集 {index}",
Data = Enumerable.Range(1, daCount).Select(i => Randomer.Next(20, 37)).Cast<object>()
});
}
return Task.FromResult(ds);
}
}

View File

@@ -1,25 +0,0 @@
<Chart ChartType="ChartType.Pie" OnInit="@(() => OnPieInit(PieDatasetCount, PieDataCount))" />
@code{
private Task<ChartDataSource> OnPieInit(int dsCount, int daCount)
{
var ds = new ChartDataSource();
ds.Options.XAxes.Add(new ChartAxes() { LabelString = "天数" });
ds.Options.ShowXAxesLine = false;
ds.Options.YAxes.Add(new ChartAxes() { LabelString = "数值" });
ds.Options.ShowYAxesLine = false;
ds.Labels = Colors.Take(daCount);
for (var index = 0; index < dsCount; index++)
{
ds.Data.Add(new ChartDataset()
{
Label = $"数据集 {index}",
Data = Enumerable.Range(1, daCount).Select(i => Randomer.Next(20, 37)).Cast<object>()
});
}
return Task.FromResult(ds);
}
}

View File

@@ -1,25 +0,0 @@
<Chart ChartType="ChartType.Doughnut" OnInit="@(() => OnPieInit(DoughnutDatasetCount, DoughnutDataCount))" />
@code{
private Task<ChartDataSource> OnPieInit(int dsCount, int daCount)
{
var ds = new ChartDataSource();
ds.Options.XAxes.Add(new ChartAxes() { LabelString = "天数" });
ds.Options.ShowXAxesLine = false;
ds.Options.YAxes.Add(new ChartAxes() { LabelString = "数值" });
ds.Options.ShowYAxesLine = false;
ds.Labels = Colors.Take(daCount);
for (var index = 0; index < dsCount; index++)
{
ds.Data.Add(new ChartDataset()
{
Label = $"数据集 {index}",
Data = Enumerable.Range(1, daCount).Select(i => Randomer.Next(20, 37)).Cast<object>()
});
}
return Task.FromResult(ds);
}
}

View File

@@ -1,25 +0,0 @@
<Chart ChartType="ChartType.Bubble" OnInit="@(() => OnBubbleInit(BubbleDatasetCount, BubbleDataCount))" />
@code{
private Task<ChartDataSource> OnPieInit(int dsCount, int daCount)
{
var ds = new ChartDataSource();
ds.Options.XAxes.Add(new ChartAxes() { LabelString = "天数" });
ds.Options.ShowXAxesLine = false;
ds.Options.YAxes.Add(new ChartAxes() { LabelString = "数值" });
ds.Options.ShowYAxesLine = false;
ds.Labels = Colors.Take(daCount);
for (var index = 0; index < dsCount; index++)
{
ds.Data.Add(new ChartDataset()
{
Label = $"数据集 {index}",
Data = Enumerable.Range(1, daCount).Select(i => Randomer.Next(20, 37)).Cast<object>()
});
}
return Task.FromResult(ds);
}
}

View File

@@ -1,2 +0,0 @@
<Checkbox TValue="string" State="CheckboxState.Checked" DisplayText="选中" ShowLabel="true"></Checkbox>
<Checkbox TValue="string" State="CheckboxState.UnChecked" DisplayText="未选" ShowLabel="true"></Checkbox>

View File

@@ -1,10 +0,0 @@
<div class="form-inline">
<div class="row">
<div class="form-group col-12 col-md-4">
<Checkbox TValue="string" State="CheckboxState.Checked" IsDisabled="true" DisplayText="选中" ShowLabel="true"></Checkbox>
</div>
<div class="form-group col-12 col-md-4">
<Checkbox TValue="string" State="CheckboxState.UnChecked" IsDisabled="true" DisplayText="未选" ShowLabel="true"></Checkbox>
</div>
</div>
</div>

View File

@@ -1 +0,0 @@
<Checkbox TValue="string" DisplayText="显示文字" ShowAfterLabel="true"></Checkbox>

View File

@@ -1,17 +0,0 @@
<div class="form-inline">
<div class="row">
<div class="form-group col-12">
<Checkbox DisplayText="双向绑定" ShowLabel="true" @bind-Value="@BindValue"></Checkbox>
</div>
<div class="form-group col-12">
<BootstrapInput @bind-Value="@BindValue" IsDisabled="true"></BootstrapInput>
</div>
</div>
</div>
@code {
/// <summary>
///
/// </summary>
private bool BindValue { get; set; }
}

View File

@@ -1,18 +0,0 @@
<div class="form-inline">
<div class="row">
<div class="form-group col-12">
<Checkbox DisplayText="双向绑定" ShowLabel="true" @bind-Value="@BindValue"></Checkbox>
</div>
<div class="form-group col-12">
<BootstrapInput @bind-Value="@BindValue" IsDisabled="true"></BootstrapInput>
</div>
</div>
</div>
@code {
/// <summary>
///
/// </summary>
private bool BindValue { get; set; }
}
}

View File

@@ -1,20 +0,0 @@
<ValidateForm class="form-inline" Model="@Model">
<div class="row">
<div class="form-group col-12 col-sm-6">
<Checkbox @bind-Value="@Model.BindValue" ShowLabel="true"></Checkbox>
</div>
<div class="form-group col-12 col-sm-6">
<Checkbox @bind-Value="@Model.BindValue" ShowLabel="true" DisplayText="手写标签"></Checkbox>
</div>
</div>
</ValidateForm>
@code {
class Foo
{
[DisplayName("标签文字")]
public bool BindValue { get; set; }
}
private Foo Model { get; set; } = new Foo();
}

View File

@@ -1,35 +0,0 @@
<CheckboxList TModel="Foo" TValue="string" @bind-Value="@Value1" Items="@Items1"
OnSelectedChanged="@OnSelectedChanged"
ValueField="Value" TextField="Text" CheckedField="Checked"></CheckboxList>
@code {
private class Foo
{
public string Text { get; set; } = "";
public int Value { get; set; }
public bool Checked { get; set; }
}
/// <summary>
///
/// </summary>
private IEnumerable<Foo> Items1 { get; set; } = new List<Foo>()
{
new Foo { Text = "Item 1", Value = 1, Checked = true },
new Foo { Text = "Item 2", Value = 2, Checked = false },
new Foo { Text = "Item 3", Value = 3, Checked = true },
new Foo { Text = "Item 4", Value = 4, Checked = false }
};
private string Value1 { get; set; } = "1,3";
private Task OnSelectedChanged(IEnumerable<Foo> items, Foo foo, string value)
{
Trace?.Log($"{foo.Text} - {foo.Checked} Value: {foo.Value} 共 {items.Where(i => i.Checked).Count()} 项被选中 组件绑定值 value{value}");
Trace?.Log($"组件绑定值 Value1{Value1}");
return Task.CompletedTask;
}
}

View File

@@ -1,44 +0,0 @@
<ValidateForm Model="@FooModel">
<div class="form-inline">
<div class="row">
<div class="form-group col-12">
<CheckboxList TModel="Foo" TValue="string" @bind-Value="@FooModel.Value" Items="@Items2"
ValueField="Value" TextField="Text" CheckedField="Checked">
<RequiredValidator />
</CheckboxList>
</div>
</div>
<div class="row">
<div class="form-group col-12">
<div class="control-label">绑定值:</div>
<div class="form-control">@FooModel.Value</div>
</div>
</div>
</div>
</ValidateForm>
@code {
private class Model
{
public string Value { get; set; } = "5,8";
}
private Model FooModel { get; set; } = new Model();
private class Foo
{
public string Text { get; set; } = "";
public int Value { get; set; }
public bool Checked { get; set; }
}
private IEnumerable<Foo> Items2 { get; set; } = new List<Foo>()
{
new Foo { Text = "Item 5", Value = 5, Checked = true },
new Foo { Text = "Item 6", Value = 6, Checked = false },
new Foo { Text = "Item 7", Value = 7, Checked = true },
new Foo { Text = "Item 8", Value = 8, Checked = false }
};
}

View File

@@ -1,35 +0,0 @@
<CheckboxList TModel="Foo" TValue="IEnumerable<int>" Items="@Items3" @bind-Value="@Value2"
ValueField="Value" TextField="Text" CheckedField="Checked"></CheckboxList>
<div class="form-inline mt-3">
<div class="row">
<div class="form-group col-12">
<div class="control-label">绑定值:</div>
<div class="form-control">@(string.Join(",", Value2))</div>
</div>
</div>
</div>
<CheckboxList TModel="Foo" TValue="IEnumerable<string>" Items="@Items4" @bind-Value="@Value3"
ValueField="Text" TextField="Text" CheckedField="Checked"></CheckboxList>
@code {
private IEnumerable<Foo> Items3 { get; set; } = new List<Foo>()
{
new Foo { Text = "Item 9", Value = 9, Checked = false },
new Foo { Text = "Item 10", Value = 10, Checked = false },
new Foo { Text = "Item 11", Value = 11, Checked = false },
new Foo { Text = "Item 12", Value = 12, Checked = false }
};
private IEnumerable<Foo> Items4 { get; set; } = new List<Foo>()
{
new Foo { Text = "Item 13", Value = 13, Checked = false },
new Foo { Text = "Item 14", Value = 14, Checked = false },
new Foo { Text = "Item 15", Value = 15, Checked = false },
new Foo { Text = "Item 16", Value = 16, Checked = false },
});
private IEnumerable<int> Value2 { get; set; } = new int[] { 9, 10 };
private IEnumerable<string> Value3 { get; set; } = new string[] { "Item 13", "Item 15" };
}

View File

@@ -1 +0,0 @@
<Circle Value="@CircleValue" />

View File

@@ -1,7 +0,0 @@
<Circle Value="10" Color="Color.Primary" />
<Circle Value="20" Color="Color.Success" />
<Circle Value="30" Color="Color.Info" />
<Circle Value="40" Color="Color.Warning" />
<Circle Value="50" Color="Color.Danger" />
<Circle Value="60" Color="Color.Secondary" />
<Circle Value="70" Color="Color.Dark" />

View File

@@ -1 +0,0 @@
<Circle Value="80" Color="Color.Info" StrokeWidth="5" />

View File

@@ -1,10 +0,0 @@
<Circle Width="250" Value="75" Color="Color.Success" StrokeWidth="10" ShowProgress="false">
<div class="circle-demo">
<h1>42,001,776</h1>
<p>消费人群规模</p>
<span>
总占人数
<i>75%</i>
</span>
</div>
</Circle>

View File

@@ -1,21 +0,0 @@
<Collapse>
<CollapseItems>
<CollapseItem Text="一致性 Consistency">
<div>与现实生活一致:与现实生活的流程、逻辑保持一致,遵循用户习惯的语言和概念;</div>
<div>在界面中一致:所有的元素和结构需保持一致,比如:设计样式、图标和文本、元素的位置等。</div>
</CollapseItem>
<CollapseItem Text="反馈 Feedback" IsCollapsed="false">
<div>控制反馈:通过界面样式和交互动效让用户可以清晰的感知自己的操作;</div>
<div>页面反馈:操作后,通过页面元素的变化清晰地展现当前状态。</div>
</CollapseItem>
<CollapseItem Text="效率 Efficiency">
<div>简化流程:设计简洁直观的操作流程;</div>
<div>清晰明确:语言表达清晰且表意明确,让用户快速理解进而作出决策;</div>
<div>帮助用户识别:界面简单直白,让用户快速识别而非回忆,减少用户记忆负担。</div>
</CollapseItem>
<CollapseItem Text="可控 Controllability">
<div>用户决策:根据场景可给予用户操作建议或安全提示,但不能代替用户进行决策;</div>
<div>结果可控:用户可以自由的进行操作,包括撤销、回退和终止当前操作等。</div>
</CollapseItem>
</CollapseItems>
</Collapse>

View File

@@ -1,21 +0,0 @@
<Collapse ShowArrow="true">
<CollapseItems>
<CollapseItem Text="一致性 Consistency">
<div>与现实生活一致:与现实生活的流程、逻辑保持一致,遵循用户习惯的语言和概念;</div>
<div>在界面中一致:所有的元素和结构需保持一致,比如:设计样式、图标和文本、元素的位置等。</div>
</CollapseItem>
<CollapseItem Text="反馈 Feedback" IsCollapsed="false">
<div>控制反馈:通过界面样式和交互动效让用户可以清晰的感知自己的操作;</div>
<div>页面反馈:操作后,通过页面元素的变化清晰地展现当前状态。</div>
</CollapseItem>
<CollapseItem Text="效率 Efficiency">
<div>简化流程:设计简洁直观的操作流程;</div>
<div>清晰明确:语言表达清晰且表意明确,让用户快速理解进而作出决策;</div>
<div>帮助用户识别:界面简单直白,让用户快速识别而非回忆,减少用户记忆负担。</div>
</CollapseItem>
<CollapseItem Text="可控 Controllability">
<div>用户决策:根据场景可给予用户操作建议或安全提示,但不能代替用户进行决策;</div>
<div>结果可控:用户可以自由的进行操作,包括撤销、回退和终止当前操作等。</div>
</CollapseItem>
</CollapseItems>
</Collapse>

View File

@@ -1,21 +0,0 @@
<Collapse ShowArrow="true" IsAccordion ="true">
<CollapseItems>
<CollapseItem Text="一致性 Consistency">
<div>与现实生活一致:与现实生活的流程、逻辑保持一致,遵循用户习惯的语言和概念;</div>
<div>在界面中一致:所有的元素和结构需保持一致,比如:设计样式、图标和文本、元素的位置等。</div>
</CollapseItem>
<CollapseItem Text="反馈 Feedback">
<div>控制反馈:通过界面样式和交互动效让用户可以清晰的感知自己的操作;</div>
<div>页面反馈:操作后,通过页面元素的变化清晰地展现当前状态。</div>
</CollapseItem>
<CollapseItem Text="效率 Efficiency">
<div>简化流程:设计简洁直观的操作流程;</div>
<div>清晰明确:语言表达清晰且表意明确,让用户快速理解进而作出决策;</div>
<div>帮助用户识别:界面简单直白,让用户快速识别而非回忆,减少用户记忆负担。</div>
</CollapseItem>
<CollapseItem Text="可控 Controllability">
<div>用户决策:根据场景可给予用户操作建议或安全提示,但不能代替用户进行决策;</div>
<div>结果可控:用户可以自由的进行操作,包括撤销、回退和终止当前操作等。</div>
</CollapseItem>
</CollapseItems>
</Collapse>

View File

@@ -1 +0,0 @@
<Collapse ExpandedText="点击我折叠" CollapsedText="点击我展开">学习让我快乐</Collapse>

View File

@@ -1 +0,0 @@
<Console Items="@Messages" Height="126" />

View File

@@ -1 +0,0 @@
<Console Items="@Messages" Height="126" OnClear="@OnClear" />

View File

@@ -1 +0,0 @@
<Console Items="@ColorMessages" Height="126" OnClear="@OnClear" />

View File

@@ -1 +0,0 @@
<Console Items="@Messages" Height="126" ShowAutoScroll="true" />

View File

@@ -1,13 +0,0 @@
<DatePickerBody IsShown="true" ValueChanged="@DateValueChanged" ShowFooter="false" />
@code {
/// <summary>
///
/// </summary>
/// <param name="d"></param>
private Task DateValueChanged(DateTime d)
{
DateLogger?.Log($"选择的日期为: {d:yyyy-MM-dd}");
return Task.CompletedTask;
}
}

View File

@@ -1,2 +0,0 @@
<DateTimePicker TValue="DateTime" ViewModel="DatePickerViewModel.Date" Value="@(DateTime.Today.AddDays(3 - DateTime.Today.Day))"
MinValue="@(DateTime.Today.AddDays(1 - DateTime.Today.Day))" MaxValue="@(DateTime.Today.AddDays(14 - DateTime.Today.Day))" />

View File

@@ -1 +0,0 @@
<DateTimePicker TValue="DateTime" Value="@DateTime.Today" />

View File

@@ -1,32 +0,0 @@
<DateTimePicker TValue="DateTime?" Value="@BindValue" ValueChanged="@DateTimeValueChanged" Placement="Placement.Right" />
<input class="form-control" @bind="@BindValueString" />
@code{
protected DateTime BindValue { get; set; } = DateTime.Today;
private string BindValueString
{
get
{
return BindValue.HasValue ? BindValue.Value.ToString("yyyy-MM-dd") : "";
}
set
{
if (DateTime.TryParse(value, out var d))
{
BindValue = d;
}
else
{
BindValue = DateTime.Today;
}
}
}
private Task DateTimeValueChanged(DateTime? d)
{
BindValue = d;
DateTimeLogger?.Log($"选择的时间为: {d:yyyy-MM-dd}");
return Task.CompletedTask;
}
}

View File

@@ -1 +0,0 @@
<DateTimePicker TValue="DateTime" ViewModel="DatePickerViewModel.DateTime" />

View File

@@ -1 +0,0 @@
<DateTimePicker TValue="DateTime?" ViewModel="DatePickerViewModel.DateTime" />

View File

@@ -1,5 +0,0 @@
<DateTimePicker TValue="DateTime?" @bind-Value="@BindNullValue" DisplayText="选择时间" ShowLabel="true" />
@code {
private DateTime? BindNullValue { get; set; }
}

View File

@@ -1 +0,0 @@
<DateTimePicker TValue="DateTime" IsDisabled="true" />

View File

@@ -1 +0,0 @@
<DateTimePicker TValue="DateTime" ShowSidebar="true" ViewModel="DatePickerViewModel.DateTime"/>

View File

@@ -1,15 +0,0 @@
<DateTimeRange @bind-Value="@DateTimeRangeValue1" OnConfirm="OnConfirm" />
<Logger @ref="DateLogger" class="mt-3" />
@code {
[NotNull]
private Logger? DateLogger { get; set; }
private DateTimeRangeValue DateTimeRangeValue1 { get; set; } = new DateTimeRangeValue();
private Task OnConfirm(DateTimeRangeValue value)
{
DateLogger?.Log($"选择的时间范围是: {value.Start:yyyy-MM-dd} - {value.End:yyyy-MM-dd}");
return Task.CompletedTask;
}
}

View File

@@ -1,15 +0,0 @@
<DateTimeRange @bind-Value="@DateTimeRangeValue2" />
<div>
@if (DateTimeRangeValue2.Start != DateTime.MinValue)
{
<span>时间范围:</span> @DateTimeRangeValue2.Start.ToString("yyyy-MM-dd");
}
@if (DateTimeRangeValue2.End != DateTime.MinValue)
{
<span> - </span> @DateTimeRangeValue2.End.ToString("yyyy-MM-dd");
}
</div>
@code {
private DateTimeRangeValue DateTimeRangeValue2 { get; set; } = new DateTimeRangeValue();
}

View File

@@ -1,5 +0,0 @@
<DateTimeRange Value="@DateTimeRangeValue3" IsDisabled="true" />
@code {
private DateTimeRangeValue DateTimeRangeValue3 { get; set; } = new DateTimeRangeValue() { Start = DateTime.Today, End = DateTime.Today.AddDays(3) };
}

View File

@@ -1,5 +0,0 @@
<DateTimeRange Value="@DateTimeRangeValue4" ShowSidebar="true" />
@code {
private DateTimeRangeValue DateTimeRangeValue4 { get; set; } = new DateTimeRangeValue();
}

View File

@@ -1,29 +0,0 @@
<Button @onclick="@OnClick">点击打开 Dialog</Button>
<Dialog></Dialog>
@code {
/// <summary>
/// 获得 DialogService 实例
/// </summary>
[Inject]
private DialogService? DialogService { get; set; }
/// <summary>
/// 点击按钮调用 Dialog 服务
/// </summary>
/// <returns></returns>
private Task OnClick()
{
DialogService?.Show(new DialogOption()
{
Title = "我是服务创建的弹出框",
BodyTemplate = DynamicComponent.CreateComponent<Button>(new KeyValuePair<string, object>[]
{
new KeyValuePair<string, object>(nameof(Button.ChildContent), new RenderFragment(builder => builder.AddContent(0, "我是服务创建的按钮")))
})
.Render()
});
return Task.CompletedTask;
}
}

Some files were not shown because too many files have changed in this diff Show More