Commit Graph

1383 Commits

Author SHA1 Message Date
贤心
78438c3429 fix: 优化 escape 和 unescape 在解析某些特殊字符串时的潜在问题 (#2628)
* fix: 修复 escape 未转义 unicode 中 & 字符的问题

* chore: update

* fix: 优化 unescape 替换顺序,确保为 escape 替换的反向顺序

* chore: update
2025-04-15 13:23:32 +08:00
贤心
fff6597e10 release: v2.11.0-rc.2 2025-04-14 00:26:24 +08:00
贤心
885a1aa0cf refactor: 重构 rate 组件,由 component 模块构建 (#2626) 2025-04-14 00:21:29 +08:00
贤心
82a1c8f697 refactor(component): 剔除 isRenderOnEvent, isRenderWithoutElem 选项 (#2625) 2025-04-14 00:08:02 +08:00
贤心
394b313fcc fix(laypage): 优化快速点击时文本被选中的问题 (#2623) 2025-04-13 23:47:56 +08:00
贤心
4ddbf1d7cf fix(tabs): 修复 box-sizing 对主体区域中其他组件的样式影响 (#2622) 2025-04-13 23:47:35 +08:00
贤心
4a3be7b793 style(card): 优化 card 面板头部样式,去除高度限制 (#2621) 2025-04-13 23:47:10 +08:00
topwms
44e54e586e feat(tabs): 为 tabs.add 新增 active 选项 (#2607)
* tabs.add新增chang

是否将插入项切换为当前标签,l默认为true

* change参数

* feat: 将 `change` 选项更改命名为 `active`

* chore: 修改 closable 选项 JSDoc 类型

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2025-04-13 23:05:20 +08:00
贤心
df7ae873f9 release: v2.11.0-rc.1 2025-03-31 00:21:41 +08:00
贤心
dfe12a656a Merge branch 'main' into 2.11-dev 2025-03-31 00:09:29 +08:00
贤心
5d42aaa981 style: 清理代码多余空白符 (#2606)
* style: 清理代码多余空白符

* update

---------

Co-authored-by: corededitor <107152508+corededitor@users.noreply.github.com>
2025-03-31 00:08:14 +08:00
贤心
9b0fa5d882 release: v2.10.3
Some checks failed
Issue Close Require / issue-close-require (push) Has been cancelled
2025-03-30 23:49:40 +08:00
贤心
b6bd3850a9 fix(form): 修复 input 设置 lay-vertype="tips" 验证时 tips 层定位异常问题 (#2605) 2025-03-30 23:35:56 +08:00
贤心
6163817a26 release: v2.10.2 2025-03-28 19:00:05 +08:00
贤心
5fa6a80c03 style: 重新添加 lay-ignore 元素的初始化样式 2025-03-28 18:51:45 +08:00
贤心
a9f5772c33 feat: 新增 component.removeInst() 基础方法,用于移除缓存中的组件实例 (#2597) 2025-03-28 18:40:28 +08:00
morning-star
32f298006c fix(layer): getFrameIndex 行为与 2.x 保持一致 (#2592) 2025-03-28 17:20:17 +08:00
augushong
83ce0d3817 feat(form): 优化 lay-ignore 的判断逻辑 (#2585)
* feat: 修改ignore的判断逻辑;增加ignore的开发案例;

* Update src/modules/form.js

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

* Update src/modules/form.js

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

* Update src/modules/form.js

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

* Update src/modules/form.js

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

* test(form): 优化 lay-ignore 示例布局

* docs(form): 优化 lay-ignore 文档说明

* fix(form): 修复 tips 提示风格时对 lay-ignore 目标元素的判断问题

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
Co-authored-by: morning-star <26325820+Sight-wcg@users.noreply.github.com>
2025-03-28 17:20:02 +08:00
morning-star
40a19ae8fd fix(table): 修复竞态问题 (#2584) 2025-03-28 17:18:42 +08:00
morning-star
b2c1a6130b fix(layer): 空图片容器动态添加图片时,无法收集数据的问题 (#2581) 2025-03-28 17:15:24 +08:00
贤心
169f6ff9b8 feat: 重构 laytpl,增强对更多复杂模板结构的解析能力 (#2577)
* feat: 重构 laytpl,增强对更多复杂模板结构的解析能力

* Squashed commit of the following:

commit 6884f80378
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 14:45:58 2025 +0800

    release: v2.10.1

commit 8d643ad6dc
Merge: 5521e48c 213fe5a2
Author: corededitor <107152508+corededitor@users.noreply.github.com>
Date:   Wed Mar 19 14:24:50 2025 +0800

    feat: Merge pull request #2566 from layui/feat/component

    feat: 优化 component, tabs 若干功能

commit 213fe5a209
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 14:15:39 2025 +0800

    docs: 添加 component 文档中实验性选项标记

commit 5521e48c05
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 14:10:46 2025 +0800

    fix: 修复 `body` 初始 `line-height` 无效的问题 (#2569)

commit 8c7cf0f606
Author: 青崖 <33601030+bxjt123@users.noreply.github.com>
Date:   Wed Mar 19 14:10:08 2025 +0800

    优化 checkbox 标签风格选中且禁用时的显示 (#2563)

commit 23b21254d4
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 14:04:44 2025 +0800

    docs: Squashed commit of the following:

    commit 95a0503f41
    Merge: e6eb86ba 87ba4c43
    Author: 贤心 <3277200+sentsim@users.noreply.github.com>
    Date:   Wed Mar 19 14:03:13 2025 +0800

        Merge branch 'main' into 2.x

    commit e6eb86bacb
    Author: morning-star <26325820+Sight-wcg@users.noreply.github.com>
    Date:   Wed Mar 19 14:02:05 2025 +0800

        docs(slider): 修正错别字 (#2578)

    commit 46f7a9783e
    Merge: df1fc4f4 c204590a
    Author: 贤心 <3277200+sentsim@users.noreply.github.com>
    Date:   Fri Mar 14 19:07:50 2025 +0800

        Merge branch 'main' into 2.x

    commit df1fc4f419
    Author: itletu <itletu@163.com>
    Date:   Mon Mar 10 13:54:06 2025 +0800

        docs: 更正 class 公共类文档错误 (#2544)

        | layui-border-box | 设置元素及其所有子元素均为 `box-sizing: border-box` 模型的容器 |

commit 87ba4c4394
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 13:41:33 2025 +0800

    docs(version): 优化 2.9.x 锚点

commit a0f533f0fd
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 13:37:29 2025 +0800

    docs: 修复 tabs 文档示例异常问题

commit 0f0584e2ed
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 13:35:00 2025 +0800

    docs: 修复 tabs 文档中自定义事件示例重新点击 Preview 失效的问题

commit 172957d243
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Wed Mar 19 13:29:09 2025 +0800

    docs: 优化文档中的用词细节 (#2571)

commit 094be4ddcc
Author: letianpailove <113023596+letianpailove@users.noreply.github.com>
Date:   Wed Mar 19 13:28:46 2025 +0800

    fix: 更正 class 公共类文档错误 (#2562)

commit 53ded26cb9
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Sun Mar 16 00:15:25 2025 +0800

    fix: 优化 tabs 重载时未按照传入的 closable 正确渲染可关闭状态

commit bd892bf87e
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Sun Mar 16 00:15:17 2025 +0800

    feat(component): 新增 cache 原型方法,用于元素缓存操作

commit 6ccc5a453d
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Sun Mar 16 00:14:18 2025 +0800

    fix(component): 优化元素 lay-options 属性上的配置在重载时的优先级

commit 79b0a56f50
Author: 贤心 <3277200+sentsim@users.noreply.github.com>
Date:   Sun Mar 16 00:13:55 2025 +0800

    fix(component): 修复 reload 时传入的选项未正确合并的问题

* refactor(laytpl): 优化代码细节

* docs: 重写 laytpl 模块文档
2025-03-27 23:55:04 +08:00
贤心
6884f80378 release: v2.10.1 2025-03-19 14:45:58 +08:00
corededitor
8d643ad6dc feat: Merge pull request #2566 from layui/feat/component
feat: 优化 component, tabs 若干功能
2025-03-19 14:24:50 +08:00
贤心
5521e48c05 fix: 修复 body 初始 line-height 无效的问题 (#2569) 2025-03-19 14:10:46 +08:00
青崖
8c7cf0f606 优化 checkbox 标签风格选中且禁用时的显示 (#2563) 2025-03-19 14:10:08 +08:00
贤心
53ded26cb9 fix: 优化 tabs 重载时未按照传入的 closable 正确渲染可关闭状态 2025-03-16 00:15:25 +08:00
贤心
bd892bf87e feat(component): 新增 cache 原型方法,用于元素缓存操作 2025-03-16 00:15:17 +08:00
贤心
6ccc5a453d fix(component): 优化元素 lay-options 属性上的配置在重载时的优先级 2025-03-16 00:14:18 +08:00
贤心
79b0a56f50 fix(component): 修复 reload 时传入的选项未正确合并的问题 2025-03-16 00:13:55 +08:00
贤心
c01a69225e feat: 新增 扩展任意外部模块的支持,及大量底层优化
- feat: layui.extend() 可扩展无需遵循 Layui 模块规范的任意第三方组件
- feat: 优化 layui.use() 的逻辑
- feat: 优化 layui.link() 的逻辑
- style: 优化 layui.js 整体代码风格
2025-03-14 18:42:30 +08:00
贤心
c204590a06 release: v2.10.0 2025-03-13 15:41:08 +08:00
letianpailove
1c608d9e69 fix: 修正 layui-ellip 类名简写 (#2557)
* 修正 class文档中的 layui-ellip拼写

类名 layui-elip 修改为 layui-ellip,以符合业界及官方文档中通常的拼写形式

* feat: 新增 .layui-ellip 类

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2025-03-13 14:16:47 +08:00
贤心
470f331cf5 release: v2.10.0-rc.5 2025-03-11 23:28:05 +08:00
贤心
bbd2c3bc23 chore: 同步 #2548 更改
commit 01d0518e86
Author: morning-star <26325820+Sight-wcg@users.noreply.github.com>
Date:   Tue Mar 11 08:40:59 2025 +0800

    Update src/modules/layer.js
2025-03-11 23:19:26 +08:00
贤心
967d602937 release: v2.10.0-rc.4 2025-03-10 23:58:45 +08:00
贤心
d8d7687574 chore: Merge branch 'fix/layer-scrollbar' 2025-03-10 23:53:02 +08:00
贤心
de9736b223 fix(layer): 修复在 success 中关闭上一个弹层报错的问题 2025-03-10 23:45:15 +08:00
贤心
7a48455b35 release: v2.10.0-rc.3 2025-03-10 16:57:10 +08:00
贤心
c34c1c8184 release: v2.10.0-rc.2 2025-03-10 16:53:05 +08:00
贤心
b5fd0d112b release: v2.10.0-rc.1 2025-03-10 16:48:56 +08:00
贤心
ef8de08735 release: v2.10.0-rc 2025-03-10 16:45:19 +08:00
贤心
907ea4636e release: v2.10.0-beta 2025-03-10 16:32:51 +08:00
morning-star
e029605793 feat(util): util.toDateString 规范化字符串日期 (#2543) 2025-03-10 14:32:39 +08:00
贤心
c112285cb3 Merge branch 'main' into 2.10-dev 2025-03-10 14:15:12 +08:00
morning-star
6fa811f8a5 fix(form-input-number): 限制允许输入的字符 (#2465)
* fix(form-input-number): 阻止非法字符输入

* chore: 简化代码

* fix: ie8

* update

* fix

* feat(form-input-number): 增强 input-number

* refactor: 移除 lay-keyboard 属性,由 readonly 替代

* update

* update

* docs: 更新文档

* chore: readonly 时禁用控制按钮

* docs: update
2025-03-10 14:08:59 +08:00
贤心
a86211b92f release: v2.9.24 2025-03-07 16:34:04 +08:00
morning-star
a28b4bdb11 fix(layer): 改进设置页面滚动条逻辑 (#2537)
* fix(layer): 改进设置页面滚动条逻辑

* chore: 移除多余参数

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2025-03-07 15:59:05 +08:00
morning-star
ba2106a6e9 fix(treeTable): 修复 checkbox 重复更新 (#2528)
* perf(treeTable): 优化行选中性能

* revert hightlightSelectedRow
2025-03-05 22:24:45 +08:00
morning-star
242c94f57c fix(treeTable): 修复 treeToFlat 改变根节点 pid 问题 (#2526) 2025-03-05 22:13:35 +08:00
morning-star
08ccd5a729 fix(code): 修复选项卡底边框重叠问题 (#2519) 2025-03-05 22:11:20 +08:00