Commit Graph

1160 Commits

Author SHA1 Message Date
zhang 13b031eef9
fix(BasicModal): 修复BasicModal添加wrapClassName样式异常问题 (#3726)
* fix(BasicModal): 全屏样式异常

* fix(BasicModal): 修复BasicModal添加wrapClassName样式异常问题

* fix(BasicModal): 修复BasicModal添加wrapClassName样式异常问题
2024-04-10 16:10:31 +08:00
zhang 6054fa2ffa
fix(BasicTable): 修复BasicTable数据为空时,重置后高度不能自适应问题 (#3724)
* fix(BasicTable): 修复BasicTable数据为空时,重置后高度不能自适应问题

* fix(BasicTable): 修复BasicTable数据为空时,重置后高度不能自适应问题
2024-04-10 16:09:31 +08:00
Zhong 212e78fa76
fix(component): resovle fullscreen content issues with "fixedHeight" and "contentFullHeight" combined (#3721) 2024-04-10 16:09:16 +08:00
zhang ade6d4c22d
fix(Modal): 修复BasicModal跟原生Modal样式冲突问题 (#3720) 2024-04-09 10:39:05 +08:00
zhang de5f9e3047
feat(BasicTable): 新增表格搜索获取参数的方法 (#3715)
* feat(BasicTable): 新增表格搜索获取参数的方法

* feat(BasicTable): 新增表格搜索获取参数的方法

* feat(BasicTable): 新增表格搜索获取参数的方法

* feat(BasicTable): 新增表格搜索获取参数的方法
2024-04-05 13:42:30 +08:00
Zhong 38d58ab47a
fix(component): resolve the error when clicking on a row when clickRowToExpand is true (#3714) 2024-04-04 08:35:17 +08:00
likui628 6528dc45df refactor: improving the readability 2024-04-02 16:25:35 +08:00
Electrolux b28a46edcb
feat(feature):upload->preview & upload->resultfield (#3707)
* feat(components->upload->resultField): upload和imageupload组件中添加resultField与demo

* feat(components->upload->preview): upload组件中添加自定义预览组件的方法与demo
2024-03-31 07:02:02 +08:00
1455668754 b5c87cf6ab
fix: 1.修正ImageUpload直接使用时无法正常回传value 2.修正ImageUpload无法正常初始化第一次传值 (#3704) 2024-03-31 07:01:51 +08:00
Electrolux c7ab4a5298
feat(type->api): resultField推断api的返回值应该包含recordbale类型 (#3699)
* feat(type->api): resultField推断api的返回值应该包含object类型

* perf(format): simplify type about api response
2024-03-29 09:09:04 +08:00
zhang 573fd53b4e
fix(menu): top menu and breadcrumb show wrong (#3703) 2024-03-29 09:07:55 +08:00
苗大 ea863f2d2d
style(BasicTable): 表头帮助图标 多余颜色样式去除, 修复深色图标看不清问题 (#3701) 2024-03-28 18:30:47 +08:00
Werheng Zhang 05030ee984
refactor: 优化代码 (#3695)
优化变量使用及定义的顺序
优化ts及tsx文件类型
使用===替换==
替换不必要的map为forEach
优化部分注释
2024-03-27 14:22:54 +08:00
No name 09f795e00e
fix: bug RangePicker with componentProps valueFormat ('YYYY-MM-DD') does not return the formatted value when using form validate() method #3690 (#3691)
close #3690
2024-03-27 09:29:54 +08:00
苗大 c1809cd6c5
fix: 菜单搜索功能修复 (#3688) 2024-03-26 14:19:22 +08:00
苗大 7c52f083db
feat(VirtualScroll): 虚拟滚动增加滚动到顶部, 底部, 指定项方法 (#3687) 2024-03-25 14:24:29 +08:00
zandko 9882e8df86
feat(input): add auto-trimming for vxe-table input components (#3684)
* fix: Correct spelling errors in form component

* fix: Correct spelling errors in form component

* fix: Correct spelling errors in vxetable component
2024-03-25 11:41:53 +08:00
Ze.Rui 0434e718ed
Pref: 路由菜单取title字段 而不是name,树结构数据修改 (#3666)
* perf: 修改路由菜单获取title字段

* perf: 调整树结构获取的数据源

* perf: 修改getI18nName 获取值方式

---------

Co-authored-by: 赵泽瑞 <zhaozerui@jilinxiangyun.com>
2024-03-15 16:50:31 +08:00
松鼠 3d733de399
fix(ApiSelect): ApiSelect的isFirstLoaded赋值逻辑,只有当加载报错时才能恢复未初次加载状态 (#3671) 2024-03-14 10:02:20 +08:00
苗大 02b3a2fce8
chore: typo in Container (#3669) 2024-03-12 15:27:47 +08:00
crudboy c827ffb8e6
fix(component): insertNextAt is not a function (#3656) (#3657) 2024-03-06 20:31:36 +08:00
Zhong d42acb477c
fix(component): resolve the defaultValue error in setting the date type (#3652)
closed #3651
2024-03-06 09:16:37 +08:00
Zhong bc5e5fa015
fix(component): resolve the issue of "vxe-table" export function not being able to be used (#3646)
closed #3614
2024-03-05 19:28:15 +08:00
Mr.Dear 9372f1d159
feat: fix ellipsis bug (#3644) 2024-03-05 13:05:26 +08:00
黄小民 89830ec7e6
fix: basemodal 无法透传 attributes 至 Modal.tsx (#3637) 2024-03-04 10:56:20 +08:00
xachary aef90aa2a0
fix(CropperAvatar): wrong type about the prop size (#3635) 2024-03-02 10:02:18 +08:00
Carlos Andres Padillla Sainz 76ffd8fdf1
fix: Update TableAction.vue (#3619)
Clearing icon property to avoid using icon name in PopConfirmButton and delegate the icon only to the Icon component
2024-02-21 16:09:19 +08:00
Li Kui b233973974
fix: TableAction设置icon显示iconify关键字 (#3608) 2024-02-19 19:44:55 +08:00
xingyu 0cb379e5ab
chore: update deps (#3602)
* chore: up vue 3.4.13 antdv 4.1.0

* fix: stylelint

* chore: update deps

* feat: vite-html

* fix: eslint

* fix: type check

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2024-02-19 11:45:29 +08:00
xachary b6bcf8d36d
fix(CropperModal): beforeUpload should return false (#3601) 2024-02-19 11:37:55 +08:00
xachary 5ec4446443
fix(PopConfirmButton): avoid type lint error (#3600) 2024-02-19 11:26:20 +08:00
Tian_ya_luer e6a73840ab
fix: 当TableAction的actions属性中的ActionItem传递了color属性时,PopConfirm的指示箭头颜色异常问题 (#3597)
Co-authored-by: linja <linja@film.com>
2024-02-11 14:30:12 +08:00
xachary 43aa743032
fix(BasicForm->FormItem): model should update before event call (#3573). resolve #3570 2024-01-24 17:10:36 +08:00
苗大 778ebe1f44
fix(PageWrapper): 修复headerSticky样式 (#3569) 2024-01-24 09:03:15 +08:00
xachary a1e862bde7
fix(ScrollContainer): enable x scroll (#3564) 2024-01-23 21:11:43 +08:00
luchanan e6a7e4c4fc
perf(component): formItem: label支持函数渲染 (#3504)
* perf(component): formItem: label支持函数渲染

(cherry picked from commit abd6e2b1298712e58cc69cdaa55f44e3393b71a5)

* perf(component): formItem: label支持函数渲染

* feat(component): formItem: label支持函数渲染

* perf(component): formItem: label支持函数渲染

(cherry picked from commit abd6e2b1298712e58cc69cdaa55f44e3393b71a5)

perf(component): formItem: label支持函数渲染

feat(component): formItem: label支持函数渲染

* chore: update label type

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2024-01-21 21:27:50 +08:00
xachary 54af5bb42d
fix(BasicTable->useColumns): handle deep colunm hidden (#3561) resolve #3559 2024-01-20 10:56:16 +08:00
xachary a121b32252
fix(BasicTable): BasicTable resize wrong in modal (#3549) 2024-01-16 16:50:57 +08:00
xachary 974c1fad7f
fix(BasicTable): getSelectRows return duplicate records (#3545) 2024-01-15 14:06:19 +08:00
xachary e23e3383dd
fix(BasicTable->rowKey&scroll): declear and usage about rowKey and scroll (#3541)
* fix(rowKey&scroll): declear and usage about rowKey and scroll

* fix: key/keyValue type declare fix
2024-01-12 14:20:45 +08:00
xachary 69c36021fa
fix(BasicTable): selection wrong by click input when cross pages (#3540). resolve #3539 2024-01-12 09:17:25 +08:00
xachary abae7f3295
feat(BasicTable): table enable accordion expand (#3533). resolve #3525 2024-01-11 15:29:36 +08:00
xachary 83f16da2d3
fix(ApiCascader): wrong api reload (#3536) resolve #3534 2024-01-11 15:28:45 +08:00
superlollipop c2c9f4f556
fix: contextmenu location not right when body with scroll (#3516)
Co-authored-by: quanbisen <bisen_quan@lebo.cn>
2024-01-08 11:15:49 +08:00
xachary 7ffe1726b9
fix(layout->menu): can`t hover when menu is colappsed (#3499) resolve #3492 2024-01-05 09:52:19 +08:00
luocong2016 f0ca8d5a03
fix(component->markdown): 浏览器媒体获取兼容 (#3470) 2024-01-05 09:48:04 +08:00
xingyu 626c54504e
chore: update deps (#3465)
* chore: update deps

* fix: eslint

* chore: update deps

* chore: stylelint v16

* fix: stylelint

* fix: typecheck

* chore: node v18.12.0

* fix: type

* fix: style

* chore: up vue 3.4.3

* chore: prettier format

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2024-01-05 09:45:30 +08:00
nullcache 6fbb57621e
fix: handleFormValues 不再将所有空字符串转换为undefined (#3496) 2024-01-02 20:18:52 +08:00
xachary d88f455cd3
fix(BasicTable): showIndexColumn/showRowSelection cache should by route name (#3489) 2024-01-02 09:46:41 +08:00
xiaoMingTongXue 98e2e4c89a
fix(BasicForm): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题 (#3483)
* types(component): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题

* types(component): 修复 table 组件的 useTableForm 入参的 fetch 和 TableActionType 的 reload 类型定义报错的问题

---------

Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
2024-01-02 09:44:50 +08:00
xachary 78234e2ef0
style: fix basic tree style alignment (#3487) 2024-01-01 14:10:44 +08:00
xachary 2f921cfb88
fix(BasicTable): avoid select when edit cell (#3484) 2023-12-29 11:50:25 +08:00
xachary 816553bfcd
feat(demo->BasicTable): add TableSelectionBar and enable checkbox rowSelection demo (#3477)
* feat: add TableSelectionBar

* feat: enable TableSelectionBar for checkbox rowSelection demo
2023-12-29 09:20:02 +08:00
zzc0217 3de22b44b1
chore: 表单使用updateSchema时只对更新的schema重设默认值
* fix: 修复搜索表单使用updateSchema时,如果使用fieldMapToTime引起的bug

* fix: set all schema to default value

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-27 10:47:43 +08:00
xachary fc002d3db3
fix: column setting index column sort (#3463)
* fix: keep rowSelection onChange call outside

* fix: ColumnSetting index column sort wrong
2023-12-26 20:41:03 +08:00
xiaoMingTongXue 141f3bdbd0
fix: 修复表单按钮的类型定义外部无法修改重置或者提交按钮的文字的问题
* 解决 eslint-plugin-vue 关于 v-show 无法在 template 中报错的问题

* fix: 修复表单按钮的类型定义外部无法修改重置或者提交按钮的文字的问题

* chore: remove type ButtonOptions

---------

Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-26 17:56:13 +08:00
xachary cc97f06354
fix: modal open logic missing (#3462)
* fix: keep rowSelection onChange call outside

* fix: watch open logic lost after build (modal)
2023-12-25 19:43:37 +08:00
xachary a7b2f14b90
fix(BasicTable): keep rowSelection onChange call outside (#3461). resolve #3453 2023-12-25 17:15:39 +08:00
xachary 75f5b7ac4d
fix(BasicTable): index still show when set showIndexColumn false (#3455) 2023-12-25 11:29:58 +08:00
likui628 9e055ad273 fix: FormItem won't render when a component is not provided 2023-12-21 16:58:57 +08:00
likui628 2db4cfbd33 chore: remove slot from ComponentFormSchema type 2023-12-21 16:12:57 +08:00
xk 6bb79180fc
feat(BasicForm): Improve ts types for BasicForm (#3426)
* fix(ApiCascader): Resolve api type conflict with labelField/valueField

* chore: Improve ts types for BasicForm

* fix(ApiCascader): Resolve API type error

* chore: Resolve type:check error

* chore: fix form type error

* fix(ApiRadioGroup): Resolve api type conflict with labelField/valueField

* fix(ApiTree): api type error

* chore(demo): form basic page schemas use FormSchemaAll

* chore: FormSchemaAll to FormSchema

* fix: ComponentFormSchemaType

* fix: Object literal may only specify known properties

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-21 15:59:32 +08:00
xachary 65122ea1a5
fix(BasicTable): ColumnSetting about selectedRowKeys override (#3446) 2023-12-21 09:37:41 +08:00
xachary 86ecb2729e
fix(BasicTable): column setting about action fixed and default not cache (#3441) 2023-12-20 09:14:35 +08:00
松鼠 7ba83e71bf
fix(BasicTable): 滑动表格内容合计行不跟随滑动bug (#3438) resolve #2166 2023-12-19 14:42:35 +08:00
xachary 089a98953e
fix: watch open logic lost after build (#3421)
* fix: watch open logic lost after build

* fix: drawer for better understand
2023-12-16 21:33:44 +08:00
xachary 404a4720b0
fix: EditableCell about checked/unChecked Value, getDisable, rowKey missing for updating (#3418). resolve #3419 2023-12-15 16:12:43 +08:00
xachary e23f29464b
feat(IconPicker): IconPicker could allowClear and readonly for form (#3414) 2023-12-14 09:26:34 +08:00
invalid w 23b684977c chore: 自定义组件默认rule校验默认触发逻辑为blur 2023-12-13 18:34:02 +08:00
invalid w 1296590e3a chore(ApiRadioGroup): 移除多余的change事件 2023-12-13 18:28:56 +08:00
invalid w ccf4027533 fix(ApiSelect): 修复监听不到params的变动 2023-12-13 17:35:25 +08:00
invalid w fdde6f06b2 fix(BasicForm->ApiRadioGroup): when options click, duplicate requests. resolve #3387 2023-12-13 17:25:45 +08:00
luchanan 2828ed304a
Revert "feat: table搜索表单值发生改变可以触发reload (#3378)" (#3407)
This reverts commit 1ca3f7c2c0.
2023-12-13 09:11:07 +08:00
xachary fec67b4d53
fix(BasicTable): ColumnSetting mistake when use setColumns (#3408) 2023-12-13 09:10:17 +08:00
xachary f4df2d5a4b
feat: ColumnSetting and SizeSetting persist (#3398) 2023-12-12 12:04:03 +08:00
bowen 57e6e4f004
fix(BasicDrawer): remove toRaw props (#3399) 2023-12-11 17:55:01 +08:00
xachary 20698c052c
fix: table height calc when fullcontent and footer visible change (#3392)
* fix: table height calc when fullcontent and footer visible change

* fix: useRootSetting dep path wrong
2023-12-11 09:49:26 +08:00
TOUCHERS bca5154a9d
fix(BasicTable): table表格宽度自适应,隐藏的列导致宽度增加 (#3388) 2023-12-08 09:13:14 +08:00
luchanan 6b6b790f87
fix: 使用suffix时,label没有垂直居中 (#3384) 2023-12-07 10:52:42 +08:00
luchanan 1ca3f7c2c0
feat: table搜索表单值发生改变可以触发reload (#3378) 2023-12-06 12:07:14 +08:00
zhang e656b5d8dc
feat(treeTable): add function collapseRows and demo (#3375)
* feat(treeTable): add function collapseRows and demo
2023-12-04 11:54:31 +08:00
zhang 943f50051c
perf(BasicTree): 外部获取treeData不必通过treeDataRef.value (#3353) 2023-12-04 11:54:11 +08:00
Simon He 7207a0b840
chore(table): typo (#3374) 2023-12-04 11:53:11 +08:00
林飞 cd71e60dd1
feat(Form): 在Form将BasicTitle识做为Divider一样的处理 (#3371)
* feat(Form): 在Form将BasicTitle识做为Divider一样的处理

* refactor: 抽离是否存在SimpleComponents的校验逻辑

---------

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-12-01 17:48:11 +08:00
林飞 522e892d79
feat(vxetable): 新增 clearEdit 方法 (#3369)
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-12-01 14:36:31 +08:00
林飞 f6147fa449
feat(Form): 新增Transfer、CropperAvatar、BasicTitle 组件至Form中,并添加至演示页面 (#3362)
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-11-30 14:10:45 +08:00
林飞 2376e8f67d
feat: 修复 vxetable 实例中缺少的 getRefMaps 和 getComputeMaps 方法 (#3361)
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-11-30 09:16:37 +08:00
松鼠 beee35173b
fix: 修复BasicForm使用componentProps函数返回valueFormat时DatePicker无法正确格式化的问题 (#3357)
* 修复BasicForm使用componentProps函数返回valueFormat时DatePicker无法正确格式化的问题

* chore: resolve prettier error

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-29 16:56:49 +08:00
韩菱纱 b0e8154f9f
feat: 解决Form updateSchema后执行setProps导致schemaRef被重置的问题 (#3354) 2023-11-28 18:00:34 +08:00
1455668754 8b516b75b8
调整后的ImageUpload组件无法正常使用且无法使用单个上传[#3344] (#3345)
* Update typing.ts

* 默认上传单个

* fix(ImageUpload): 修正图片单个上传&返回结果未进行处理
2023-11-27 09:17:19 +08:00
林飞 342328ce5f
feat: 新增表单只读功能 (#3335)
* fix(useFormEvents): 修复setFieldsValue 方法设置完值后,表单属性丢失formActionType 的bug

* feat: 新增 sync 的action

* feat(FormItem): 新增只读属性

* feat(FormItem): 新增表单只读属性

---------

Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-11-26 14:04:13 +08:00
xachary 0f13758554
fix: table index column width is not enough in english (#3342) 2023-11-25 16:15:07 +08:00
xingyu 4d2fb0cb6f
refactor: '/@/' ==> '@/' and '/#/ '==> '#/' (#3329)
* refactor: /@/ ==> @/

* chore: '/@/' ==> '@/' and '/#/ '==> '#/'

* fix: lint:prettier
2023-11-24 10:32:04 +08:00
xingyu c8744a057e
fix(BasicTable): ref table (#3327) 2023-11-23 17:41:37 +08:00
zhang f62043b1fc
fix(DatePicker): date show is wrong and setup script defineExpose (#3324)
* fix(useFormEvents): some function is lost in componentsProps

* fix(useFormEvents): some function is lost in componentsProps

* fix(useFormEvents): some function is lost in componentsProps

* fix(DatePicker): date show is wrong

* fix(useFormEvents): some function is lost in componentsProps

* fix(useFormEvents): some function is lost in componentsProps

* fix(useFormEvents): some function is lost in componentsProps

* fix(DatePicker): date show is wrong

* fix(DatePicker): date show is wrong
2023-11-23 13:46:46 +08:00
xingyu 0cfaa40bd0
refactor: layouts use setup (#3312)
* refactor: layouts use setup

* refactor: dashboard use setup

* fix: breadcrumbs types

* fix: noticeList type check error

* fix: noticeList type check error

* chore(Breadcrumb): revert setup change

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-23 12:14:06 +08:00
xachary 617b01338c
fix: fullscreen-modal width wrong (#3321)
* fix: fullscreen-modal width wrong

* fix: ModalWrapper expose setModalHeight missing
2023-11-23 09:10:21 +08:00
bowen f58ef6777c
fix(BasicForm): script setup defineExpose (#3316) 2023-11-22 10:02:26 +08:00
bowen 2cd5a40322
fix(type): type:check error (#3309) 2023-11-21 15:38:00 +08:00
林飞 82671d0750
fix(useFormEvents): 修复setFieldsValue 方法设置完值后,函数 componentProps丢失formActionType 的bug (#3301)
Co-authored-by: gavin-james <meaganlindesy1258@gmail.com>
2023-11-20 16:59:05 +08:00