Releases: uiwjs/uiw-admin
Releases · uiwjs/uiw-admin
v5.2.3
- 📄 update:ci
d2ab634
@SunLxy - 📄 update:ci
145b3ed
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
19e44a3
@SunLxy - 📄 update:ci
d8ca960
@SunLxy - 📄 update:ci
1d989fd
@SunLxy - 📄 update:ci
a4b7cdd
@SunLxy - 📄 update:ci
0040f7e
@SunLxy - 📄 update:ci
fc8485b
@SunLxy - 🌟 feat:新增create-uiw-admin
3a1d1b1
@SunLxy - 📄 update:ci
727f80e
@SunLxy - 📄 update:ci
2b6a897
@SunLxy - 📄 update:ci
02a45e1
@SunLxy - 📄 update:ci
689c493
@SunLxy - 📄 update:更新create-uiw-admin
67b78cf
@SunLxy - 📄 update:create-uiw-admin
a1b10a2
@SunLxy - 📄 update:ci
bec0181
@SunLxy - 🐞 fix(layoutlayout):优化右上角menu关闭功能,通过useLayouts
f3630f8
@ChenlingasMx - 🐞 fix(Pull):pull branch master
3b84ecb
@ChenlingasMx - 🐞 fix(example):更新basicLayout
7da9c40
@ChenlingasMx - 🐞 fix(basic-layouts):优化useLayouts hook ts类型
d11ecb1
@ChenlingasMx - 🐞 fix(ProForm):删除submitRef api & 增加 form api & 增加useForm hook
57a54eb
@ChenlingasMx
修复 models 类型方式 引入 createModel 进行处理
BasicLayout
import React from 'react'
+ import BasicLayout, { useLayouts } from '@uiw-admin/basic-layouts'
+ const layouts = useLayouts()
- const baseRef = useRef()
const basicLayoutProps = {
menus: [
{
title: '欢迎来到uiw',
icon: 'smile',
+ onClick: () => layouts.closeMenu(),
- onClick: () => baseRef.closeMenu(),
}]}
+ <BasicLayout layouts={layouts} />
- <BasicLayout ref={baseRef} />
ProForm
+import { useForm } from '@uiw-admin/components'
-import { useRef } from 'react'
function Demo() {
+ const form = useForm()
- const baseRef = useRef()
return (
<div>
+ <ProForm form={form} />
- <ProForm submitRef={baseRef} />
+<button onClick={()=>form.submitvalidate()}>保存</button>
-<button onClick={()=>baseRef?.current?.click()}>保存</button>
</div>
)}
v5.2.2
v5.2.1
- 📖 docs(ProForm):更新ProForm文档
6fdcfb0
@ChenlingasMx - 🐞 fix(Pull):pull branch master
86e6833
@ChenlingasMx - 🌟 feat:生成js版本案例
6db2447
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
5fb5ffa
@SunLxy - 📄 Update README.md
4deed70
@SunLxy - 📄 script:修改命令
da3d1d0
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
87be3bc
@SunLxy - 🐞 fix:windows路径
d90c3d8
@SunLxy
v5.2.0
- 🌟 feat(components):新增SelectMultiple多选下拉组件
4ca34e6
@ChenlingasMx - 🆎 fix:type(@uiw-admin/config):修改define默认值类型
89b3d60
@SunLxy - 🌟 feat:和进行兼容处理
a322558
@SunLxy - 🌟 feat:新增 @uiw-admin/user-login 参数
saveField
#80ff0594c
@SunLxy - 🌟 feat:ProTable: add selection
a307a28
@xingyuefeng - 📖 doc:更新文档
89a2f51
@SunLxy - 📖 doc:更新文档
372a3be
@SunLxy - 📄 feat ProTable: add selection
532ae5d
@xingyuefeng - 🐞 fix(components):优化SelectMultiple组件
2adf9f3
@ChenlingasMx - 🐞 fix(Pull):pull branch master
a7914b1
@ChenlingasMx - 🐞 fix(deps): update dependency tsbb to v3.5.5 (#83)
5d595e7
@renovate[bot] - 🐞 fix(Pull):pull branch master
869b6d8
@ChenlingasMx - 🐞 fix(Pull):pull branch master
ce2390f
@ChenlingasMx - 🐞 fix(SelectMultiple):增加上传最大上限maxCount
5fe4f5c
@ChenlingasMx - 🐞 fix(SelectMultiple):暂无数据样式优化
8d41c7d
@ChenlingasMx - 🐞 fix(Pull):pull branch master
966dcca
@ChenlingasMx - 💄 chore: Update ci.yml
312a850
- 📄 update changelog
ad1cd56
@xingyuefeng - 💄 chore: Update ci.yml
4db75c4
- 📄 update changelog
d4ed23f
@xingyuefeng - 📄 update changelog
58a2c07
@xingyuefeng - 📖 doc: update
e1fa0da
@xingyuefeng - 📄 chore ci 修复打包报错
91e35ca
@xingyuefeng - 📖 doc: Update ci.yml
fb95b4a
- 📖 doc: Update README.md
c88046e
- 📖 doc: Update README.md
8d3b192
- 📄 fix Protable: 增加分页回调
6532e73
@xingyuefeng
v5.1.2-alpha.1
v5.1.2
- 🌟 feat(components):新增SelectMultiple多选下拉组件
4ca34e6
@ChenlingasMx - 🆎 fix:type(@uiw-admin/config):修改define默认值类型
89b3d60
@SunLxy - 🌟 feat:和进行兼容处理
a322558
@SunLxy - 🌟 feat:新增 @uiw-admin/user-login 参数
saveField
#80ff0594c
@SunLxy - 📖 doc:更新文档
89a2f51
@SunLxy - 📖 doc:更新文档
372a3be
@SunLxy - 📄 feat ProTable: add selection
532ae5d
@xingyuefeng - 🐞 fix(components):优化SelectMultiple组件
2adf9f3
@ChenlingasMx - 🐞 fix(Pull):pull branch master
a7914b1
@ChenlingasMx - 📄 feat ProTable: add selection
a307a28
@xingyuefeng - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
cb32895
@xingyuefeng - 📄 update changelog
d4ed23f
@xingyuefeng
v5.1.2-alpha.0
- 🌟 feat:新增一个默认define属性,区别sessionStorage和localStorage 存储
29f8e6a
@SunLxy - 🐞 fix(Pull):pull branch master
698cb1c
@ChenlingasMx - 🐞 fix:使用 models 类型问题
4ead17f
@SunLxy - 📄 update readme
4a5ac11
@xingyuefeng - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
2ae520e
@xingyuefeng - 📖 docs(ProForm):更新文档
3accbd0
@ChenlingasMx - 🌍 website: add Skeleton demo
9b83303
@xingyuefeng - 🌍 website: 修改错别字
ced9e6e
@xingyuefeng
修复 models 类型方式 引入 createModel 进行处理
+ import { RootModel } from '@uiw-admin/models'
+ import { createModel } from '@rematch/core'
- export interface GlobalState {
- test: string
- [s: string]: any
- }
const global =
+ createModel<RootModel>()(
{
name: 'global',
- state: {
- test: '测试全局State',
- } as GlobalState,
+ state: {
+ test: '测试全局State',
+ },
- reducers: {
- updateState: (state: GlobalState, payload: GlobalState) => ({
- ...state,
- ...payload,
- }),
- },
+ reducers: {
+ updateState: (state, payload) => ({
+ ...state,
+ ...payload,
+ }),
+ },
effects: (dispatch) => ({
async verify() {
const dph = dispatch
dph.global.updateState({ test: '测试2' })
},
}),
}
+)
export default global
v5.1.1
- 🐞 fix(ProForm):保存和重置按钮可自定义label
519f8c4
@ChenlingasMx - 🌍 website: protable增加文档预览
71e7b2e
@xingyuefeng - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
9434ee1
@xingyuefeng - 🐞 fix:修复 @uiw-admin/router-control 类型DefaultProps
76798b3
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
16fd792
@SunLxy - 📖 doc: @uiw-admin/basic-layouts 添加预览图片
350f9bb
@SunLxy - 📖 doc:@uiw-admin/layout-tabs 加预览文档
99ab838
@SunLxy - 📖 docs(website):增加ProForm & ProDrawer在线文档
2770f6f
@ChenlingasMx - 📖 doc:更新@uiw-admin/user-login 文档预览
e2db5b7
@SunLxy - 📖 doc:更新@uiw-admin/exceptions 文档预览
fa5fdd2
@SunLxy - 🐞 fix(Pull):pull branch master
2f806f1
@ChenlingasMx - 📖 doc:更新文档
4d8c7f1
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
2c89099
@SunLxy - 📖 doc: 优化文档
8edab03
@xingyuefeng - 🌟 feat:@uiw-admin/user-login 组件加 buttons 按钮组参数
3790d59
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
e81795c
@SunLxy - 📖 doc:更新文档
aa245e8
@SunLxy - 📖 doc:更新文档
6507167
@SunLxy - 📖 doc:更新文档
a364ff4
@SunLxy - 🌍 website: 优化文档
0875cc5
@xingyuefeng - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
1713d7b
@xingyuefeng - 🐞 fix(ProForm):增加只读模式下表单项隐藏 & ProForm集成uiw:form & formitem相关api
2cb034f
@ChenlingasMx - 🐞 fix(Pull):pull branch master
bbe5311
@ChenlingasMx - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
98db151
@SunLxy - 🐞 fix(user-login):buttons遍历增加key值
cc0d1b2
@ChenlingasMx - 📖 doc:更新文档
0201209
@SunLxy - 📄 Merge branch 'master' of github.com:uiwjs/uiw-admin
3c5e842
@SunLxy
v5.1.0
- 🐞 fix:修复 @uiw-admin/router-control 默认组件类型
f6d8b3e
@SunLxy - 📄 fix eslint: 完善lint脚本
f193fbd
@xingyuefeng - 📄 delete(plugins):删除widgets插件
17ff33b
@ChenlingasMx
5.1.0
- @uiw-admin/components
- 🌟
PromForm
:增加customWidgetsList prop配置自定义组件
- 🌟
- @uiw-admin/plugins
- 🌟 删除
widgets
插件
- 🌟 删除
// 删除widgets插件 , 在 .kktrc.ts 文件修改
import {
RematchWebpackPlugin,
- WidgetsWebpackPlugin,
RoutesWebpackPlugin
} from '@uiw-admin/plugins'
export default defaultConfig({
define: {
VERSION: JSON.stringify(pkg.version)
// BASE_NAME: "/uiw"
},
plugins: [
new RematchWebpackPlugin(),
- new WidgetsWebpackPlugin(),
new RoutesWebpackPlugin()
],
// publicPath: process.env.NODE_ENV === "development" ? "/" : "/uiw/",
loader: [
rawModules,
{
loader: scopePluginOptions,
options: { allowedFiles: [path.resolve(process.cwd(), 'README.md')] }
},
lessModules
]
})
v5.0.11
- 🐞 fix(Pull):pull branch master
edb327d
@ChenlingasMx - 🐞 fix(Upload):imageList prop 更改为fileList
4b5501a
@ChenlingasMx - 🐞 fix(ProForm):优化只读模式下picture-card按钮权限 & 更换listType为uploadType
c7f5265
@ChenlingasMx - 🐞 fix(Pull):pull branch master
a783628
@ChenlingasMx - 🐞 fix(components):ProTable operateButtons & searchBtns 支持自定义render
b072f0c
@ChenlingasMx - 🐞 fix(Pull):pull master
96ac632
@ChenlingasMx - 🐞 fix(ProForm):uploadType为list时去除图片展示
5b148ea
@ChenlingasMx - 🐞 fix(example):解决打包报错
704f339
@ChenlingasMx - 🆎 type(@uiw-admin/config):: Modify alias type.
fbd4d53
- 📄 update:更新 lint-staged 匹配
f3381b4
@SunLxy - 📖 doc: Update CHANGELOG.md
39f2126
- 📖 doc: Update CHANGELOG.md
6f39a67
- 📖 docs(components):更新Upload文档并且导出组件
b7b0399
@ChenlingasMx