Commit Graph

2304 Commits (92f4a168929a96bdb93f49763781326da45027a9)

Author SHA1 Message Date
morning-star 92f4a16892
fix(table): 修复表格列宽计算一些边缘情况 (#2250)
* fix(table): 修复列宽分配一些边缘情况

* update

* update
2024-09-30 17:33:37 +08:00
贤心 eace40f0cb
fix(layer): 修复 layer.path 潜在的缺陷 (#2257)
* fix(layer): 修复 layer.path 潜在的缺陷

* chore(layer): update
2024-09-30 17:33:00 +08:00
morning-star c6f4dcc0a7
fix(table): 重载时若当前页超过总页数,序号列渲染异常 (#2247) 2024-09-29 22:57:31 +08:00
贤心 e58cdf1e9d release: v2.9.17 2024-09-25 00:35:29 +08:00
贤心 4262ed82b3
feat(table): 优化 table.checkStatus() 方法 (#2239)
* feat(table): 优化 table.checkStatus() 方法

* docs(table): 补充文档
2024-09-25 00:14:02 +08:00
morning-star 8d14ef50e7
🔥 fix(table): 修复表格列宽计算问题 (#2187)
* fix(table): 修复表格列宽计算问题

rebase

* update

* update

* update

* update
2024-09-23 22:47:01 +08:00
morning-star 045ac836ba
fix(dropdown): 修复遮罩层在移动端的点击穿透问题 (#2206) 2024-09-23 12:47:31 +08:00
贤心 f756b41d63
Merge commit from fork 2024-09-23 11:18:29 +08:00
morning-star 5e707cec12
fix(flow): 回滚 #1852 中加载时自动清除绑定元素内容的改动 (#2218) 2024-09-14 14:43:34 +08:00
morning-star f7df4ce82e
fix(table): 优化慢速网络下表头列宽 (#2205) 2024-09-05 09:59:40 +08:00
Jathon-github dc6250f0c3
docs(table-demo): 更新文档 (#2197)
* docs(table-demo): 更新文档

将表头属性 toolbar 替换为等效属性 templet
新版本的表头属性介绍文档中已经移除了关于 toolbar 的介绍

* Update docs/table/examples/demo.md

* Update docs/table/examples/demo.md

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-08-30 11:20:15 +08:00
hjsuper 81e0feacac
docs(form-select): 更新文档 (#2176)
* docs(form-select): 更新文档

1.添加lay-search 属性说明
2.添加lay-creatable 属性说明

* Update docs/form/select.md

* Update docs/form/select.md

* Update docs/form/select.md

* Update docs/form/select.md

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-08-25 22:18:04 +08:00
贤心 79bd6f5023 release: v2.9.16 2024-08-21 14:22:28 +08:00
morning-star d54f721027
fix(form-select): 修复由 #2138 导致的移动端无法选中问题 (#2181) 2024-08-21 14:06:36 +08:00
morning-star d9635625e1
ci: 使用 pkg-pr-new 预发布 PR 并生成预览模板 (#2175)
* ci: 使用 pkg-pr-new 预发布 PR 并生成预览模板

* update

* update

* update

* ci: 更换文件名

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-08-20 00:01:36 +08:00
贤心 7aeb992706 release: v2.9.15 2024-08-16 22:15:50 +08:00
贤心 225b399469 docs: 补充文档 2024-08-16 22:07:52 +08:00
morning-star b4fe5f7101
revert: 恢复 #1773 的变更,以避免设置自动宽度的列被拖拽时的异常问题 (#2169)
revert #1773
2024-08-16 21:55:36 +08:00
贤心 4545ec151a
refactor(table): 重构 table.setRowChecked() 方法 (#2146)
* refactor(table): 重构 table.setRowChecked() 方法

* feat: 进一步优化 `table.setRowChecked()`
fix: 修复单选时未移除其他行数据选中状态的问题

* refactor: 剔除多余判断

* docs: 优化 checked 选项说明
2024-08-16 21:53:20 +08:00
morning-star 61418aef5e
feat(element): 支持指定元素渲染 (#2162)
* feat(element): 支持指定元素渲染

* docs(element): 更新文档

* docs: 更正 tab 定向渲染的文档

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-08-16 18:47:19 +08:00
贤心 4c4c46fc8d
feat(upload): 新增 `error` 回调函数的第四个参数为 xhr 对象 (#2151) 2024-08-09 18:31:28 +08:00
贤心 a8b6b9c696
docs: 新增 JSDELIVR 资源入口 (#2141) 2024-08-09 18:28:52 +08:00
morning-star af792a8452
fix(form-select): 修复 `lay-append-to` 属性开启时在 dropdown 中点击 select 面板导致 dropdown 面板被关闭的问题 (#2138)
* fix(form-select): 开启 `lay-append-to` 时,在 dropdown 中点击 select 面板,会导致 dropdown 面板意外关闭

* update
2024-08-02 14:31:28 +08:00
贤心 130533e967
style: 优化 layui-text 细节,以更好地适应 Markdown (#2126)
* style: 剔除 .layui-text 子元素中非必要标题样式

* style: 优化 .layui-text 引用元素边距
2024-08-02 14:26:25 +08:00
morning-star 6a23ada7d3
feat(form-select): 改进 lay-search 属性,支持设置「是否大小写敏感」和「模糊搜索」
feat(form-select): 弃用 `lay-search="cs"`,新增 `lay-search="{caseSensitive:false, fuzzy: false}"` 方式 (#2121)
2024-07-26 23:29:25 +08:00
sunxiaobin89 829bedc706
feat(element-tab): 新增 tab 切换前的事件 (#2111)
* feat(element-tab): 新增 tab 切换前的事件

* feat(element-tab): 优化 tabChange 添加 skipBeforeChange 参数

* docs(element-tab): 更新 tabChange 和 tabBeforeChange 相关文档

* Update docs/tab/index.md

* Update docs/tab/index.md

* Update docs/tab/index.md

* Update docs/tab/index.md

* chore: 修改名称一致及优化注释

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-07-26 22:34:46 +08:00
贤心 80188cdcd8
fix(carousel): 修复动态删除条目至最后一个时调用 inst.reload 的异常问题 (#2107)
* fix(carousel): 修复外部动态增删条目时调用 inst.reload 的异常问题

* chore: 更正命名,避免歧义

* fix: 修复 slide 方法在条目数为 1 的滑动异常问题
2024-07-26 10:34:52 +08:00
贤心 12e33cedab
docs: 文档细微优化 (#2094)
* docs: 细微优化

* Update docs/versions.md

Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>

* docs: 优化 rowContextmenu 事件示例

---------

Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
2024-07-15 14:49:10 +08:00
贤心 86c8248506 chore: 优化 .gitignore 结构 2024-07-11 18:30:44 +08:00
贤心 f72fdf0c12 docs(LICENSE): 修改 Copyright 及格式文本 2024-07-11 18:30:31 +08:00
贤心 de2072ef48 chore: 调整 EditorConfig 规则顺序
按字母顺序排列,便于阅读
2024-07-11 17:49:51 +08:00
贤心 61f8e5a74c docs(CHANGELOG): 优化文本 2024-07-11 17:29:14 +08:00
贤心 f521188cbe docs: 优化 DISCLAIMER 文案 2024-07-11 17:24:56 +08:00
贤心 8610c4e676 release: v2.9.14 2024-07-09 16:58:05 +08:00
morning-star c2481977e2
feat(form-select): 改进 select 搜索 (#2065) 2024-07-09 16:04:12 +08:00
morning-star c73cb3d781
fix(form-radio): 改变 checked 属性值时,UI 更新异常 (#2084) 2024-07-09 16:03:55 +08:00
贤心 4c6c133a12
refactor(table): 优化行单双击事件机制,避免与单元格编辑等事件冲突 (#2064)
* chore(table): 优化行事件,新增返回 `event` 对象,可用于阻止事件冒泡

* docs: 更新文档

* refactor: 重新优化不触发行事件的机制
2024-07-09 14:22:49 +08:00
贤心 47728370e8
fix(table): 修复无数据时,点击右上角工具栏图标出现提示错位的问题 (#2067) 2024-06-28 16:53:32 +08:00
Pencil-hzp 1e548d7c48
fix(carousel): 修复切换按钮会触发 form 表单 submit 事件的问题 (#2059)
* fix(carousel): 修复切换按钮会触发form表单submit事件的问题

* Update src/modules/carousel.js

* Update src/modules/carousel.js

---------

Co-authored-by: huangzepeng <huangzepeng@excellence.com.cn>
Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2024-06-27 22:48:30 +08:00
morning-star 673dd19b34
fix(form-select): checked 属性设置为非 boolean 类型的值时,UI 更新异常 (#2033)
* fix(form-select): 改进自动更新 UI

* chore:更新注释
2024-06-23 12:24:29 +08:00
贤心 d8441faa38
fix(treeTable): 修复 `cols` 的 `exportTemplet` 函数导出异常的问题 (#2034) 2024-06-23 12:24:08 +08:00
贤心 7884fcf681 release: v2.9.13 2024-06-18 15:20:23 +08:00
morning-star 8ed1ffa8cb
fix(dropdown): 重复 render 时未 reload (#2022)
* fix(dropdown): 重复 render 时未 reload

* update

* update
2024-06-18 15:15:34 +08:00
morning-star db757c4f77
fix(treeTable): 节点展开后全选无效 (#2024) 2024-06-18 13:51:55 +08:00
morning-star ab64a2f84e
docs(foem-select): 更新文档 (#2021) 2024-06-18 13:00:26 +08:00
贤心 c07f564654 release: v2.9.12 2024-06-18 12:10:22 +08:00
贤心 ba21d4496c docs(version): 添加 v2.9.12 更新日志 2024-06-18 12:10:03 +08:00
贤心 f21fef13f7 docs(form-select): 优化 select 示例 2024-06-18 12:02:57 +08:00
贤心 2769fd3254
refactor(table): 重构 defaultToolbar 选项 (#2019)
* test(table): 新增自定义导出示例

* refactor(table): 重构 `defaultToolbar` 选项,增加 `name,onClick` 成员

* refactor: update

* Update docs/table/detail/options.md
2024-06-18 11:48:41 +08:00
morning-star 249d6db78e
perf(table): 优化表格数据量较大时行选中性能 (#2004)
* perf(table): 优化表格数据量较大时行选中性能

* chore: 改进选择器

* refactor: 简化代码

* feat: 多选时禁用过渡效果以提高性能

* update code

* update code
2024-06-18 09:34:41 +08:00