Commit Graph

1160 Commits

Author SHA1 Message Date
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
xingyu bab28af986
refactor: components use setup (#3299)
* refactor: /@/ => @/

* refactor: table demo use script setup

* refactor: change /@/ to @/
2023-11-20 12:27:11 +08:00
zhang 003a951bef
feat(menu): Restore side bar settings and added menu mouse move in mode light style (#3295)
* feat(menu):  Added menu mouse move in style

* feat: 恢复菜单主题设置

* type(setting): change the function name to a more appropriate one

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-11-18 16:04:52 +08:00
zhang 72ef3df57f
fix(useFormEvent): 修复表单项存在defaultValue时,updateSchema方法会将setFieldsValue设置的值覆盖问题 (#3287) 2023-11-17 11:56:04 +08:00
黄小民 3b2760ca3a
fix: defaultValue类型为number时的bug (#3288) 2023-11-16 10:00:13 +08:00
bowen 100f3cf26c
fix(BasicForm): validate Form tip height (#3286). close #3281 2023-11-15 09:00:50 +08:00
bowen 2bbc2d2811
perf(IconPicker): input trigger popover by click (#3278) 2023-11-15 09:00:03 +08:00
zhang 2991bb1670
perf(ImageUpload): 根据官方示例设置图片回显格式 (#3252)
* perf(ImageUpload): 根据官方示例设置图片回显格式

* perf(ImageUpload): 优化图片上传组
2023-11-13 13:14:21 +08:00
invalid w 748b99b18f perf(BasicTree): 获取treeData改写成函数 2023-11-09 09:56:11 +08:00
invalid w caf1783525 feat(BasicTree): BasicTree组件暴露treeData数据 2023-11-09 09:47:00 +08:00
xachary 71c3fea88a
fix: validateFields await missing (#3254) 2023-11-08 11:42:54 +08:00
invalid w c373ffd3bf feat(Table-> CustomerCell): helpMessage支持传递 tsx 和 h函数的数据 2023-11-07 11:16:52 +08:00
Kirk Lin f91d777e4f
refactor: fix type check (#3246) 2023-11-07 10:31:32 +08:00
zhang dccc8f625d
优化Upload组件目录结构,以及图片上传组件 (#3241)
* fix(vxe-table): theme dark is not work

* perf(ImageUpload): 优化Upload组件目录结构,以及图片上传组件
2023-11-06 18:24:54 +08:00
zhang 031d613b18
fix(vxe-table): theme dark is not work (#3239) 2023-11-06 18:24:23 +08:00
zhang 509541d11e
style(theme): resolve ts type error and perf themeColor selected (#3237)
* perf(useTree): resolve ts type error

* perf(projectSetting): themeColor selected

* perf(dark): fix mode dark component-background-color var is not work
2023-11-04 09:21:18 +08:00
熊丽君 da1f177284
chore: Update TableImg.vue (#3234)
TableImg Displaying images in the table will result in preview text for other hidden tags AImage
2023-11-04 09:16:37 +08:00
bowen beed7f2e11
feat(Upload): file list add drag func (#3227). resolve #3179 2023-11-02 11:26:35 +08:00
Jiaxin sugar bf060376e6
Update ApiSelect.vue (#3225)
修复 isFirstLoaded 状态没有重置导致 fetch方法只会调用一次
2023-11-02 09:06:49 +08:00
苗大 bb3d5b8ae8
perf(ConfigProvider): 配置antdv主题色, 使其与modifyVars配置一致 (#3219)
* perf(ConfigProvider): 配置antdv主题, 使其与modifyVars配置一致

* fix(dark): 修正颜色写法

* fix(dark): 修正app-content-background-color深色颜色

* style(BasicTable): row striped style add important

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-11-02 09:05:58 +08:00
invalid w 50eac7f353 chore(Table->setting): fix CheckboxGroup onchange event fn type 2023-10-31 16:51:41 +08:00
苗大 e497721e9b
perf(darkMode): 优化深色模式颜色切换相关方法; 增加根据主题更新自定义颜色方法和示例 (#3216)
* perf(darkMode): 优化深色模式颜色切换相关方法; 增加根据主题更新自定义颜色方法和示例

* revert: 撤销notify组件的样式修改测试

* chore: color pattern error

* chore(theme): remove dead code

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
Co-authored-by: invalid w <wangjuesix@gmail.com>
2023-10-31 16:40:08 +08:00
bowen ed267d9c01
fix(FormItem): use getPopupContainer default value (#3215) 2023-10-31 11:43:30 +08:00
invalid w 5b9759710b chore(ApiSelect): optimize the type of OptionsItem 2023-10-30 16:08:56 +08:00
invalid w 8f900871ac perf(useForm): If the args of the setFieldsValue is empty, it will not be executed. close #3209 2023-10-30 12:23:43 +08:00
zhang 06a6c947a9
fix(style): 修复黑暗模式下弹框、demo目录下、按钮样式问题 (#3208)
删除黑暗模式下冗余的样式代码
2023-10-30 08:14:38 +08:00
zhang 4755017bcc
fix: 修复设置抽屉弹框滚动条样式异常 (#3193) 2023-10-26 09:25:37 +08:00
invalid w 41451f4fa3 fix(BasicTable): pagination exceeds page height. close #3185 2023-10-25 17:17:27 +08:00
invalid w 6f0a44f528 chore(TableFooter): resolve ts type error 2023-10-24 12:08:57 +08:00
bowen 92875cbecc
fix(tree): remove expandedKeys prop default value (#3184) 2023-10-24 10:20:13 +08:00
bowen e7fbd74228
fix(Upload): The file name is too long bug (#3182)
* fix(Upload): The file name is too long bug

* fix: preview upload result file name nowrap

* chore: modify i18 to be uploaded

* chore: typing & i18n

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-23 15:32:04 +08:00
zhang 87224715c3
feat: 增加文本省略组件 (#3180)
* feat: 增加文本省略组件

* refactor: 重构文本省略组件

* feat: 增加远程懒加载下拉树功能
2023-10-23 14:42:56 +08:00
1455668754 b776ac4cd8
feat: Form增加ImageUpload组件 (#3172)
* feat: Form增加图片上传组件

* fix: 还原表单组件引用

* chore: ImageUpload demo

* chore: update ImageUpload demo

* fix: 'visible' will be removed in next major version

* chore: 修改api接口返回值参数

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2023-10-21 19:29:53 +08:00
invalid w a0b2a9e949 fix(BasicTree): not inherit slot and not show icon slot. close #1902 2023-10-21 11:48:38 +08:00
invalid w 7b87d6d29e chore(BasicTable): resolve BasicTable component ts type error 2023-10-20 17:15:05 +08:00
invalid w 3d0b88708e chore(BasicTree): Resolve ts type error 2023-10-20 16:47:03 +08:00
Li Kui c42ba1cc1b fix(ApiCascader): apiParamKey not working 2023-10-20 13:34:48 +08:00
invalid w 2ec5f6322d fix(Menu): tab标签切换选中状态焦点重复. fix #1681 2023-10-20 12:00:05 +08:00
bowen 83aa1da3de
fix: SimpleRootMenuContextProps type error (#3176) 2023-10-20 09:55:34 +08:00
invalid w 882270d5ba fix(ApiTree): 多触发一次onchange 2023-10-19 10:52:30 +08:00
invalid w b103c64954 chore(ApiSelect): 该组件设定成手动触发验证 2023-10-19 10:41:11 +08:00
Li Kui 0f2c2eabd6 fix(ApiSelect): BasicForm emit ield-value-change twice 2023-10-18 21:06:10 +08:00
bowen bbc2ede1aa
chore: fix type:check error (#3169) 2023-10-18 19:24:26 +08:00
invalid w 0cf79d4ce2 fix(ApiSelect): Incorrect value type definition. close #3168 2023-10-18 17:24:32 +08:00
Li Kui 8df2590aae fix(BasicTable): headerCell slot title not exist 2023-10-18 10:11:57 +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
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 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 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
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
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
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
黄小民 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 e25af8dd8c chore(useFormEvents): 消除checkIsRangeSlider 校验类型错误 2023-10-09 11:37:59 +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
黄小民 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
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
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
Li Kui 4aaddef06f
fix: type check failed for prop 'onClick' (#3038) 2023-09-18 10:04:15 +08:00
open-carp 74a2f6209f
fix: FormAction组件 绑定表单提交事件 (#3036) 2023-09-18 10:03:52 +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 1ac8c56c6b
fix(Modal): 全屏modal样式问题 #3019 (#3020) 2023-09-13 16:32:00 +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