Commit Graph

1745 Commits

Author SHA1 Message Date
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
xachary 236ddf3471
fix: repair login about redirect query (#3592)
* fix: repair login about redirect query

* fix: about buildRoutesAction and redirect

* fix: make sure unknown redirect will back to home
2024-02-11 14:30:44 +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 6f4bdae5c2
fix(BackTop): repair BackTup comp (#3581) 2024-01-30 14:14:23 +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 b750fc9e51
style(tabs): tab close button position (#3560) resolve #3557 2024-01-20 10:57:03 +08:00
xachary 54af5bb42d
fix(BasicTable->useColumns): handle deep colunm hidden (#3561) resolve #3559 2024-01-20 10:56:16 +08:00
Li Kui 2c121edd3d
chore(i18n): add ts,js file support (#3552) 2024-01-18 15:42:31 +08:00
苗大 f3fbb57dc9
fix: typo substract -> subtract (#3551) 2024-01-17 19:37:45 +08:00
xachary a121b32252
fix(BasicTable): BasicTable resize wrong in modal (#3549) 2024-01-16 16:50:57 +08:00
crudboy 0c1235e75a
fix: (demo->page>form>high) expose getDataSource close #3529 (#3530) 2024-01-16 16:49:12 +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
Yao 0589458b2d
fix: change salesProductPie.vue's data name to '成交占比'. (#3524)
Co-authored-by: gakkispy <12834847+gakkispy@user.noreply.gitee.com>
2024-01-10 14:39:21 +08:00
xachary 49fdb6c986
fix: content fixed mode with blank page (#3523) 2024-01-10 14:32:34 +08:00
xiaoMingTongXue 50276cb602
fix(layout): 修复切换导航栏模式,分割菜单的状态不同步,导致页面内容区域存在被遮挡的问题 (#3519)
Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
2024-01-10 09:24:12 +08:00
zhang 8f175fca21
chore(menu): about icon is missing (#3522) 2024-01-09 16:19:06 +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 d709dd67b5
fix: scroll back to top when tab switch (#3498). resolve #3490 2024-01-05 09:54:05 +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
xachary 00b8d169cb
style(demo->iframe): fix double scroll when use iframe inner (#3482) 2023-12-29 09:19:09 +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 1e34d3e9e4
feat(layout->tabs): support insert new tab after current tab (#3471)
* feat: insert new tab after current tab

* fix: go params declare wrong
2023-12-27 10:19:34 +08:00
xachary b92c6c40fa
Fix the demo /comp/table/formTable about selection cross pages (#3468)
* fix: keep rowSelection onChange call outside

* fix: demo FormTable about seletion
2023-12-27 09:15:15 +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
luocong2016 b57d9fc60d
feat(demo->useRequest): 更新useRequest 依赖 Effect 函数案例 (#3460) 2023-12-25 17:00:01 +08:00
苗大 1b763fceee
style: 优化滚动条深色模式样式 (#3458) 2023-12-25 14:31:44 +08:00
luocong2016 7fa2578e6d
feat(demo->useRequest): 更新错误重试示例 (#3456) 2023-12-25 14:31:11 +08:00
xachary 75f5b7ac4d
fix(BasicTable): index still show when set showIndexColumn false (#3455) 2023-12-25 11:29:58 +08:00
luocong2016 d6d1120d00
feat(demo): hooks useRequest 异步数据管理 (#3447) 2023-12-22 16:50:41 +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
苗大 b008c44246
perf(darkMode): 深色模式颜色定义以及切换方式优化 (#3436)
* perf(darkMode): 深色模式颜色定义以及切换方式优化

* perf: text-color rgb->rgba

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-12-18 21:15:23 +08:00
苗大 2bc8981b4f
style(autofill): 修复深色模式输入框自动填充后样式异常; 修正登录页不恰当全局样式 (#3435)
* fix(autofill): 修复深色模式输入框自动填充后样式异常

* perf(Login): 去除登录页重复autofill样式;ant-divider-inner-text样式改为仅对登录页深色模式生效

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-12-18 17:35:00 +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
xiaoMingTongXue d502e1d493
fix:修复气泡确认框的底部按钮换行的问题 (#3413)
* fix:修复气泡确认框的底部按钮换行的问题

* fix: 修复气泡确认框的底部按钮换行的问题
2023-12-14 10:53:19 +08:00
xachary af6e73b83f
style: tabs bottom double line fix (#3415) 2023-12-14 09:27:48 +08:00
xachary e23f29464b
feat(IconPicker): IconPicker could allowClear and readonly for form (#3414) 2023-12-14 09:26:34 +08:00
bowen 595b1ce680
fix(FormTable): Invert select bug (#3412) 2023-12-14 09:13:36 +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
luocong2016 d3600daf5c
fix: navigator.clipboard 兼容问题 #3372 (#3403) 2023-12-12 15:25:13 +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
jackhoo(胡彪) 0a1a5ffedc
feat(hooks): useWatermark添加水印防篡改功能(#3395) (#3397)
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2023-12-11 14:14:00 +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
luocong2016 05bc4acb9b
feat: iframe expose postmessage function (#3368)
* feat: iframe postmessage

iframe postmessage

* chore: prettier format code

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-12-01 18:00:08 +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
Sina Kulas dde3652b7d
fix: 解决table复选框点击无法勾选状态问题 (#3370)
Co-authored-by: Tang <11726782+sugar_gitee@user.noreply.gitee.com>
2023-12-01 16:21:30 +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
jackhoo(胡彪) be935eb44e
fix(demo): 修复引导页文件名问题 (#3352)
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2023-11-27 17:59:31 +08:00
1455668754 8b516b75b8
调整后的ImageUpload组件无法正常使用且无法使用单个上传[#3344] (#3345)
* Update typing.ts

* 默认上传单个

* fix(ImageUpload): 修正图片单个上传&返回结果未进行处理
2023-11-27 09:17:19 +08:00
林飞 97b76ea6bc
feat: RefForm页面新增只读功能按钮 (#3346)
* feat(RefForm): 新增只读表单demo
2023-11-27 09:15:31 +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
jackhoo(胡彪) 895352ad22
fix(breadcrumb): 修复面包屑跳转外链时,导致当前页面404问题 (#3337). close #3336
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2023-11-25 14:47:03 +08:00
xingyu 4d2fb0cb6f
refactor: '/@/' ==> '@/' and '/#/ '==> '#/' (#3329)
* refactor: /@/ ==> @/

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

* fix: lint:prettier
2023-11-24 10:32:04 +08:00
xachary 3f65baf503
fix: scrollbar is obscured (#3331) 2023-11-24 00:04:34 +08:00
xingyu 42e9de50a2
fix: Failed to resolve component EllipsisText (#3330) 2023-11-24 00:03:44 +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