el-plus-crud 0.1.106 → 0.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.107](https://github.com/KDJack/el-plus-crud/compare/v0.1.106...v0.1.107) (2026-08-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **form:** 修复 ElPlusFormBtn 默认插槽文字被隐藏 ([bd2f6c7](https://github.com/KDJack/el-plus-crud/commit/bd2f6c72e7c3819e1cc861807588a37527551ef1))
|
|
11
|
+
* **form:** 消除 el-checkbox label-as-value 弃用告警 ([9dbd79c](https://github.com/KDJack/el-plus-crud/commit/9dbd79c51e4d6559eae65be4011b86caef726cf8))
|
|
12
|
+
|
|
5
13
|
### [0.1.106](https://github.com/KDJack/el-plus-crud/compare/v0.1.105...v0.1.106) (2026-08-04)
|
|
6
14
|
|
|
7
15
|
|
package/dist/el-plus-crud.mjs
CHANGED
|
@@ -490,7 +490,7 @@ const Uo = {
|
|
|
490
490
|
loading: u.value,
|
|
491
491
|
size: ((v = n.desc) == null ? void 0 : v.size) || oe(l).size || "default"
|
|
492
492
|
}, i.value, {
|
|
493
|
-
class: { btnHideLabel: !((D = n.desc) != null && D.label) }
|
|
493
|
+
class: { btnHideLabel: !((D = n.desc) != null && D.label) && !N.$slots.default }
|
|
494
494
|
}), {
|
|
495
495
|
default: x(() => [
|
|
496
496
|
Ye(N.$slots, "default", {}, () => {
|
|
@@ -513,7 +513,7 @@ const Uo = {
|
|
|
513
513
|
size: ((z = n.desc) == null ? void 0 : z.size) || oe(l).size || "default"
|
|
514
514
|
}, i.value, me(c.value), {
|
|
515
515
|
style: { pointerEvents: (w = e.desc) != null && w.isTag ? "none" : "all" },
|
|
516
|
-
class: { "no-label": !((I = n.desc) != null && I.label), btnHideLabel: !((f = n.desc) != null && f.label) }
|
|
516
|
+
class: { "no-label": !((I = n.desc) != null && I.label), btnHideLabel: !((f = n.desc) != null && f.label) && !N.$slots.default }
|
|
517
517
|
}), {
|
|
518
518
|
default: x(() => [
|
|
519
519
|
Ye(N.$slots, "default", {}, () => {
|
|
@@ -4211,7 +4211,7 @@ const Lr = { class: "required-dot" }, Cr = ["innerHTML"], Er = { class: "require
|
|
|
4211
4211
|
labelPosition: Lt() ? "top" : ((_ = a.formAttrs) == null ? void 0 : _.labelPosition) || "right",
|
|
4212
4212
|
style: {
|
|
4213
4213
|
// ponytail: 窄屏(isMobile<768)弹窗表单铺满,避免 80% 宽 + 居中导致表单项未占满整行
|
|
4214
|
-
width: a.maxWidth || (a.isTable ? "100%" : a.isDialog ? Lt()
|
|
4214
|
+
width: a.maxWidth || (a.isTable ? "100%" : a.isDialog ? (Lt(), "100%") : "1000px"),
|
|
4215
4215
|
// ponytail: 窄屏弹窗铺满(100%)时去除右内边距,避免与父级 padding 叠加导致左右不对称
|
|
4216
4216
|
paddingRight: a.isTable || a.isDialog && Lt() ? "0" : "20px"
|
|
4217
4217
|
}
|