Commit Graph

2465 Commits (a7267a4b5db48e4b7624d7d05d8273c2f252be4e)

Author SHA1 Message Date
贤心 a7267a4b5d
chore(hash): 新增返回 pathname, 与 layui.url 一致 (#2649)
`path` 将在合适的版本移除
2025-04-18 21:04:38 +08:00
贤心 3617209874
fix(component): 优化 render, events 执行的条件 (#2643) 2025-04-17 23:16:17 +08:00
贤心 1f2fc91431
style(css): 清理 IE 低版本 css hack (#2642) 2025-04-17 23:16:02 +08:00
morning-star 6fc761e63b
chore(laytpl): 兼容性调整 (#2638) 2025-04-17 23:12:06 +08:00
morning-star a1e084c6b4
feat(form-select): select 点击外部关闭支持检测 iframe (#2631)
* feat(lay): lay.onClickoutside 新增 detectIframe 选项

* feat(form-select): select 支持检测 iframe 点击

* feat(lay): lay.touchSwipe 新增 preventDefault 选项

* docs: 优化部分注释文案,避免非技术人员理解错位

尽量避免词汇:监听、侦听。可用事件「触发」或「响应」等相近含义的词语替代

---------

Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com>
2025-04-17 23:11:41 +08:00
morning-star 3842a98360
feat(dropdown): onClickoutside 检测 iframe 区域 (#2629) 2025-04-17 23:08:57 +08:00
贤心 a060a484e4 release: v2.11.0-rc.3 2025-04-15 14:59:09 +08:00
贤心 d2e01d0491 docs(versions): 添加 v2.9.26 更新日志 2025-04-15 13:46:01 +08:00
贤心 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
贤心 4af2bb53b1 docs(version): 优化各系列版本更新日志引导文案 2025-04-03 00:00:12 +08:00
贤心 cb58805a18 docs(versions): 优化更新日志文件结构 2025-04-02 23:21:35 +08:00
贤心 df7ae873f9 release: v2.11.0-rc.1 2025-03-31 00:21:41 +08:00
贤心 c4e134fe91
feat: 升级 2.11 核心 (#2560) 2025-03-31 00:11:26 +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 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
贤心 2f404fb6ed
docs: 优化文档细节 (#2594) 2025-03-28 00:34:06 +08:00
贤心 e80d26e002 docs(laytpl): 修改标签规则模板文件名 2025-03-28 00:19:32 +08:00
贤心 6c16514a65
Merge branch 'main' into 2.11-dev 2025-03-28 00:10:17 +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
贤心 b4fbb28a04 docs: 重写 `layui.extend()` 新版文档 2025-03-24 00:18:03 +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
贤心 213fe5a209 docs: 添加 component 文档中实验性选项标记 2025-03-19 14:15:39 +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
贤心 23b21254d4 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` 模型的容器 |
2025-03-19 14:05:41 +08:00
贤心 87ba4c4394 docs(version): 优化 2.9.x 锚点 2025-03-19 13:41:33 +08:00
贤心 a0f533f0fd docs: 修复 tabs 文档示例异常问题 2025-03-19 13:37:29 +08:00
贤心 0f0584e2ed docs: 修复 tabs 文档中自定义事件示例重新点击 Preview 失效的问题 2025-03-19 13:35:00 +08:00
贤心 172957d243
docs: 优化文档中的用词细节 (#2571) 2025-03-19 13:29:09 +08:00
letianpailove 094be4ddcc
fix: 更正 class 公共类文档错误 (#2562) 2025-03-19 13:28:46 +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