Commit Graph

1557 Commits

Author SHA1 Message Date
bowen 40aac6544c
fix(demo): account page table without dept (#3164) 2023-10-17 20:40:51 +08:00
invalid w b3a6ef63bb
feat(Menu): Add custom images to menu (#3158)
* feat(SimpleMenu): Add custom images to menu icons

* style: Set image and text alignment

* feat: 顶部菜单模式路由也支持图片

* feat(mixSilder): 左侧菜单混合模式也支持图片显示

* style(menu): 调整图片对齐样式

* chore(Menu): 调整图片与文字间距样式

* chore: icon和img都传值的情况下, 仅显示img
2023-10-17 12:28:15 +08:00
前端爱码士 a0e43abeab
fix: 修复Modal.confirm的返回类型问题,需要有destroy,update的方法 (#3161)
* fix: 修复Modal.confirm的返回类型问题,需要有destroy,update的方法

* chore: simplify

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-17 10:16:02 +08:00
bowen 18222ab0b6
chore: fix type:check error (#3159) 2023-10-17 09:29:43 +08:00
Li Kui 0bb76a86d2
fix(BasicForm): useForm 中 scheme 选项 slot 与 component冲突 (#3133)
* fix(BasicForm): useForm 中 scheme 选项 slot 与 component冲突

* chore: add type-predicate utils

* chore: add FormSchemaInner type
2023-10-16 16:56:26 +08:00
Li Kui d30fd1d546
chore: replace intro.js with driver.js (#3151) 2023-10-15 11:34:13 +08:00
Li Kui 8f6153fd2a fix(ApiSelect): type warning 2023-10-14 21:05:43 +08:00
invalid w a0d4b10a1f feat(ApiTree): 完善ApiTree组件的重置回显功能. close #2307 2023-10-14 16:57:40 +08:00
invalid w d4f2641b9a chore(Demo): restore ApiTree schema show 2023-10-14 11:19:58 +08:00
invalid w 094a33c0c2 fix(ApiTree): Modify Trigger Selection Event Name 2023-10-14 11:18:48 +08:00
黄小民 95ca2c3ae6
fix: ApiTransfer 不支持disabled (#3149) 2023-10-13 18:00:14 +08:00
黄小民 8e9d4f0a57
fix: #3144 Drawer的footer样式错位问题 (#3148)
fix: #3144 Drawer的footer样式错位问题
2023-10-13 17:33:03 +08:00
invalid w 5aac032acc feat(BasicButton): BasicButton组件支持icon插槽. close #1377 2023-10-13 17:26:07 +08:00
invalid w f5f7952515 chore(Pagination): Remove the unnecessary pagesize attribute 2023-10-13 17:10:03 +08:00
bowen cdac147bc8
fix(LockModal): Cannot unlock (#3143) 2023-10-13 11:22:23 +08:00
wuzhican 4b46be4a79
Pr/code editor boardered (#3142)
* feat: 为CodeEditor添加bordered属性

* fix: 去除重复的ant-inputclass

---------

Co-authored-by: wuzhican <3245076860@qq.com>
2023-10-12 17:16:54 +08:00
bowen f87e078402
chore: fix type:check error (#3139) 2023-10-12 14:50:32 +08:00
bowen 4d02205839
fix(customExport): Failure to export (#3137) 2023-10-12 09:20:56 +08:00
bowen e161c1449a
fix(full-screen): dom fullscreen status text (#3130)
* chore: Fix ts type error

* chore: fix type:check error

* fix(full-screen): dom fullscreen status text
2023-10-11 10:47:24 +08:00
Li Kui 5a388be15e
fix(BasicForm): type instantiation is excessively deep and possibly infinite. (#3128) 2023-10-10 22:35:41 +08:00
bowen 30b3ee5c89
chore: fix type:check error (#3126)
* chore: Fix ts type error

* chore: fix type:check error
2023-10-10 21:06:16 +08:00
黄小民 b43d3069e1
fix: #2744tabs选项卡渲染问题,以及完善路由中affix=true时处理逻辑。 (#3127)
* fix: #2744tabs选项卡渲染问题,以及完善路由中affix=true时处理逻辑。

* fix: type warning

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-10 20:58:40 +08:00
invalid w c5a13dc92f Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2023-10-10 18:06:48 +08:00
invalid w 6dd2818247 chore(demo): 修正表单增删示例类型错误 2023-10-10 18:05:34 +08:00
Li Kui ae58ada82e fix(demo): useForm中DatePicker,RangePicker 日期控件位置不对 2023-10-10 17:48:59 +08:00
Li Kui 8b13f62995 fix(Editor): ts类型错误 2023-10-10 13:28:34 +08:00
invalid w 025cf98f4b chore(MenuItem): watch回调参数类型不一致 2023-10-10 12:25:06 +08:00
invalid w 6e33c26893 fix(SimpleMenuTag): SimpleMenuTag的引用都改为动态组件引用,以消除打包警告.close #3121 2023-10-10 12:23:39 +08:00
invalid w d9fd16f4de Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2023-10-10 12:07:28 +08:00
invalid w a73187ccf4 chore(demo): 消除ts类型错误 2023-10-10 12:07:26 +08:00
黄小民 aa03c87383
fix: ScrollContainer的一个问题 #3046 (#3119) 2023-10-10 11:39:12 +08:00
invalid w f5ce480f0f fix(StrengthMeter): change事件应随handleChange一起抛出。close #3118 2023-10-10 11:30:37 +08:00
invalid w 71c43945a5 fix(EditCellTable): 表格编辑行在使用Switch,checkedValue为数字时无法切换开关.close #2560 2023-10-09 18:20:11 +08:00
bowen 8289332214
chore: Fix ts type error (#3112) 2023-10-09 15:12:23 +08:00
invalid w cea297ce88 chore(error-handle): 处理vue errorHandler绑定事件的参数类型不一致 2023-10-09 12:02:53 +08:00
invalid w e25af8dd8c chore(useFormEvents): 消除checkIsRangeSlider 校验类型错误 2023-10-09 11:37:59 +08:00
invalid w 49d40d685d chore: 消除Switch组件类型错误。close #3111 2023-10-09 11:26:48 +08:00
invalid w 9c6b271097 chore(Form): 消除antd升级导致类型文件引用错误 2023-10-08 18:30:50 +08:00
invalid w ec33820bf9 chore(Preview): 消除 onerror 参数类型错误 2023-10-08 18:25:11 +08:00
invalid w a5a11fb846 chore(Preview):消除Preview Options的函数定义类型错误 2023-10-08 18:20:18 +08:00
invalid w d84f6ef562 chore(Loading): 消除loading组件及示例类型问题 2023-10-08 18:07:42 +08:00
invalid w ba5809669d chore(useCustomRow): 消除find tr函数类型错误 2023-10-08 17:54:53 +08:00
invalid w 1e95706f8b
chore: Fix ts type error (#3100)
* chore: fix onUploadProgress params type error

* fix(BasicButton): extends type error

* fix: useFormRules 类型问题

* fix: IFormConfig 类型问题

* chore: 设定CollapseItem list参数的类型

* chore: 修复sliderSpan类型错误

* chore: 改写成setup组件

* fix: static func type error

* chore: 设定listener 函数 evt类型为Event

* chore(props): 消除ts类型错误

* chore: 移除多余的类型转换

* Update domUtils.ts

* chore: 消除iconPicker类型错误

* Update domUtils.ts

* chore(clickOutside): 消除类型错误

* Update repeatClick.ts

* Update index.ts

* chore: 补全参数类型

* fix(Cropper): avatar uploadapi 类型问题
2023-10-08 17:30:19 +08:00
invalid w 986430513b
fix: tabel取消编辑单元格后会回到初始值. close #2739 (#3108) 2023-10-08 16:15:07 +08:00
invalid w 1519f47f7d
fix(ApiSelect): 移除watchEffect引发的重复请求 (#3107) 2023-10-08 15:25:49 +08:00
invalid w f3f2f548e6
Refactor:移除useCopyToClipboard hook, 使用navigator.clipboard进行替代。close #2723 (#3105)
* feat: 重写复制文本功能

* refactor: 替换复制文本示例代码

* chore: delete useCopyToClipboard hook
2023-10-08 10:50:05 +08:00
invalid w 18f55833e2
fix: 多选框必填选中校验异常,close #3097 (#3103) 2023-10-07 16:37:58 +08:00
1455668754 a3b9ff04f9
修正日期区间拆解时数据为null时异常问题/修正validate|validateFields时,未将对象型数据进行转换 (#3096)
* fix: 修正日期区间拆解时数据为null时异常问题

* fix: 修正validate|validateFields时,未将对象型数据进行转换
2023-10-06 10:02:18 +08:00
invalid w 690d887680
chore: 设定权限列columns宽度,消除演示表格错位问题 (#3087) 2023-09-28 16:21:28 +08:00
invalid w 64b812802f
feat: 支持设置多重水印,增加清除所有水印方法. close #2610 (#3084)
* perf(watermark): 消除水印hook类型问题

* feat: 支持设置多重水印,增加清除所有水印方法

* chore: 应该让用户自己来进行水印清除
2023-09-28 11:05:53 +08:00
黄小民 c0c3116193
fix: #3077 最新代码 ApiTransfer编辑后无法正常显示数据 (#3083) 2023-09-27 17:56:31 +08:00
invalid w a63a10c047 fix: 修复rule validator类型默认为string,导致 radio 等组件在 setFormValues 时,如果值不是string类型,提示校验错误 2023-09-27 16:38:59 +08:00
huangxiaomin d46c6daa13 #3080 按钮权限示例的判断权限异常 2023-09-27 13:58:35 +08:00
invalid w b78f06898f chore(ApiTree): 移除无用的suffixIcon slot, ant的tree组件并没有提供这个slot 2023-09-27 10:13:41 +08:00
invalid w a7ee3367e5 chore: rm unused watchEffect 2023-09-27 10:08:47 +08:00
invalid w b3b2ca0738 chore(ApiTree): 消除绑定属性的类型错误 2023-09-27 10:02:21 +08:00
smirkQAQ aa6168fe20
fix: Fix context menu style not working (#3075) 2023-09-27 08:18:38 +08:00
invalid w 855a410557
style(Modal): modal全屏模式 ant 的modal-footer margin-top调整为0 (#3072) 2023-09-26 09:41:44 +08:00
invalid w b1559e2cad
fix(ApiSelect): ApiSelect首次选择值时仍然提示校验, fix #3065 (#3071) 2023-09-26 09:41:34 +08:00
invalid w c5d24e07f0
Chore: 处理了Vben封装的Drawer,Modal组件的一些类型错误 (#3064)
* chore: rm unuse params

* chore(Modal): getCurrentInstance的uid类型为number

* chore(Drawer): 调整drawer组件的一些类型问题

* chore(Drawer): 移除多余的classname配置

* chore(Drawer): 修复getContainer和antd4 drawer组件类型不一致

* fix(AppSearchModal): 调整setRefs函数的类型
2023-09-26 09:41:25 +08:00
林飞 1cf2a81f2a
feat(table): 表格拖拽列改变宽度
* feat(funcation): update 修复表格无法拖拽列改变宽度

* feat(function): add 完善可伸缩列

---------

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-09-22 10:35:30 +08:00
黄小民 5665fd62a9
fix: 英文版本时提示中的单词没有分开 (#3062) 2023-09-22 08:21:44 +08:00
黄小民 3b62afe110
Update index.less (#3055)
处理 移动滚动条的时候,ant-select-dropdown 没有随form-item移动
2023-09-21 10:40:18 +08:00
invalid w dbdd811705
feat(style): 使用Antd组件提供的切换主题功能 (#3051)
* perf(style): 使用antd4的暗黑主题

* refactor: 抽离切换暗黑主题模式
2023-09-21 10:40:09 +08:00
zmcode a6b65b58a1
feat: 解决Form组件slot必须传递component字段才显示的问题 (#3049)
feat: 解决Form组件slot必须传递component字段才显示的问题
2023-09-21 10:39:44 +08:00
invalid w e4778757ad
style(TableColumn): fix Column settings container is too wide #3043 (#3044) 2023-09-20 08:16:38 +08:00
leo b43fe7adbc
fix(axios): get等方法配置ignoreCancelToken无效 (#3040) 2023-09-18 10:04:24 +08:00
Li Kui 4aaddef06f
fix: type check failed for prop 'onClick' (#3038) 2023-09-18 10:04:15 +08:00
alixhome ce6b25d03b
fix: Change role to toles for LoginResultModel (#3037) 2023-09-18 10:04:00 +08:00
open-carp 74a2f6209f
fix: FormAction组件 绑定表单提交事件 (#3036) 2023-09-18 10:03:52 +08:00
luchanan 99ddc3598a
perf: 指令权限v-auth支持并显示按钮权限 (#3035) 2023-09-17 12:08:17 +08:00
invalid w d3fd22dbbd
chore: 解决 ESLint no-undef 规则校验问题和 basicTable 组件的类型问题,替换popover组件的 visible 属性。 (#3033)
* chore: 关闭eslint的no-undef规则校验

* chore(VFormDesign): 替换表单设计组件的modal是否可见属性

* chore(BasicTable): emit传参类型问题

* chore(Table): 调整函数参数类型

* chore: 调整expandedRowKeys数据类型

* chore(Table): 完善TableRowSelection接口类型

* chore(Table): 完善useRowSelection 文件的类型问题

* chore(useColumns): key赋值的类型问题

* chore(useDataSource): setTableData的类型问题

* chore:  替换rowKeys类型为 (string|number)[]

* fix(edit-cell): 修复edit table Popover 传参问题

* fix(Table):  handleItem函数进行绑定key dataIndex可能为数组,造成类型错误提示
2023-09-16 20:32:33 +08:00
LanceJiang bf2f6390ad
feat: BasicTable 组件 HeaderCell 新增(类customRender) customHeaderRender 方法 自定义渲染支持 (#3030)
示例见: /comp/table/multipleHeader
2023-09-15 15:56:26 +08:00
Li Kui bd024cc521
fix: isible deprecated warnings (#3029) 2023-09-15 15:56:17 +08:00
Li Kui 4ac08e5ae5
fix: type check failed for prop 'onClick' (#3028) 2023-09-15 15:56:06 +08:00
invalid w b0c2ca5393
fix(Header): 顶部菜单混合模式下,头部导航栏样式错位 #3021 (#3024)
* fix(Header): 顶部菜单混合模式下,头部导航栏样式错位 #3021

antdv4的ant-layout-header css会携带父选择器 导致line-height失效

* chore: 移除无用css
2023-09-13 20:26:16 +08:00
invalid w 1ac8c56c6b
fix(Modal): 全屏modal样式问题 #3019 (#3020) 2023-09-13 16:32:00 +08:00
LanceJiang f4149c2f1d
fix: 由于更新ant-vue 新版本到 4.0.2以上 tsx 渲染 FormItem 插入style 导致的出错 改换class (#3016) 2023-09-12 23:19:11 +08:00
Li Kui 3ed49c3f8f
fix: arrow-left icon not centered (#3013) 2023-09-11 22:22:43 +08:00
invalid w 356f132610
style(Drawer): antdv4版本 drawer要使用rootClassName来来配置最外层元素样式 (#3012) 2023-09-11 17:54:40 +08:00
k1ngbanana 1c668f21bf
feat: pageWrapper.vue加入sticky功能 (#3008) 2023-09-08 22:10:29 +08:00
invalid w aaf2fde3cf
antdv升级到4.x版本 (#3006)
* fix(ApiTreeSelect):  ApiTreeSelect组件首次调用会重复请求(#2940)

由于watchEffect,onMounted会立即执行,所以导致重复请求。
并且 watch函数和watchEffect监听的依赖重复了,故删去

* chore: update ant design npm version

* chore: 修改antd的css引用路径

* style(layout):  替换sider header组件传参属性,适配原有组件的样式

* style(Menu): 去除气泡卡片的背景

* chore: typo

* typo(Modal): 将visible替换成open

* typo:修改modal弹窗的绑定函数名称

* style(Modal): 为了解决直接引用 Modal 组件时关闭按钮样式的问题,增加一个名为 "vben-basic-modal" 的类名,以实现样式隔离。

* Update package.json

* typo(Drawer): Drawer 组件 visible 变为 open

* typo(Table): Table 组件 filterDropdownVisible 变为 filterDropdownOpen。

* typo(TreeSelect): 组件弹框的 classname API 统一为 popupClassName,dropdownClassName
2023-09-08 22:10:07 +08:00
invalid w 607a24632a
fix(ApiTreeSelect): ApiTreeSelect组件首次调用会重复请求(#2940) (#3005)
由于watchEffect,onMounted会立即执行,所以导致重复请求。
并且 watch函数和watchEffect监听的依赖重复了,故删去
2023-09-07 21:47:55 +08:00
invalid w 89d7a19f3f
feat(Form): 为fieldMapToTime的映射类型增加时间戳转换 (#2996)
为fieldMapToTime的第三个参数增加 timestamp 和 timestampStartDay 选项

timestamp的作用: 将映射的时间格式转为时间戳

timestampStartDay的作用: 将映射的时间格式转为当天0点开始的时间戳
2023-09-03 16:22:02 +08:00
invalid w a9017da294
perf: 为createAsyncComponent函数增加类型推导 (#2967) (#2991) 2023-09-03 16:21:51 +08:00
Li Kui 1c1ce4b0e3
fix: VxeTable demo parameter typo& tabs close icon not centered (#2989)
* fix(msg): message icon not centered

* fix: VxeTable demo parameter typo

* fix: tabs close icon not centered
2023-08-31 12:49:21 +08:00
Li Kui e31525a803
fix(msg): message icon not centered (#2982) 2023-08-26 07:17:06 +08:00
invalid w 7b26c5994c
feat: 增加Prompt组件, 并且修复 #2976 (#2979)
* feat: 增加Prompt组件

类似于Element UI组件库的MessageBox Prompt组件

* fix: #2976

* refactor: 对appendSchemaByField函数的通用操作进行整理
2023-08-25 12:36:10 +08:00
Li Kui 2c74e790cb
fix(Tree): beforeRightClick type (#2968) 2023-08-16 21:34:57 +08:00
舜岳 b660f96220
refactor: code optimization (#2961) 2023-08-13 09:14:38 +08:00
Aynakeya 5dd3babc4e
update left/right icon not align to center (#2958) 2023-08-13 09:14:15 +08:00
invalid w 5425dc241f
fix: #2767 #2884 #2868 (#2956)
* fix: #2767

* fix: #2884

* fix: #2868
2023-08-13 09:14:04 +08:00
billyshen26 573d395b69
fix: 解决ApiTreeSelect的params更新后fetch不执行 (#2954)
* fix: 解决ApiTreeSelect的params更新后fetch不执行

* feat: 优化ApiTreeSelect参数,可自定义value等

---------

Co-authored-by: Billy Shen <shenfangtao@imaodu.com>
2023-08-11 08:39:13 +08:00
jinmao88 df1fceb291 fix: ci ok 2023-08-10 16:24:33 +08:00
jinmao88 9650122736 fix: ci 2023-08-10 15:52:57 +08:00
jinmao88 c99ef68b7b fix: ci 2023-08-10 15:16:22 +08:00
jinmao88 a95ba47b74 fix: ci 2023-08-10 15:09:38 +08:00
jinmao88 3fd193eb8b fix: ci 2023-08-10 14:51:56 +08:00
jinmao88 6fbc552ed1 fix: ci 2023-08-10 11:52:14 +08:00
jinmao88 833b31129b fix: getAppEnvConfig 2023-08-10 09:11:56 +08:00