el-plus-crud 0.1.126 → 0.1.128
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/.claude/settings.local.json +7 -0
- package/CHANGELOG.md +20 -0
- package/dist/components/el-plus-form/components/ElPlusFormTag.vue.d.ts +2 -2
- package/dist/components/el-plus-form/components/FilePreviewDrawer.vue.d.ts +7 -0
- package/dist/el-plus-crud.mjs +3179 -3063
- package/dist/el-plus-crud.umd.js +1 -1
- package/dist/style.css +1 -1
- package/docs/superpowers/specs/2026-08-20-file-preview-drawer-design.md +38 -0
- package/example/App.vue +3 -2
- package/lib/components/el-plus-form/components/ElPlusFormFile.vue +9 -9
- package/lib/components/el-plus-form/components/ElPlusFormTag.vue +2 -1
- package/lib/components/el-plus-form/components/ElPlusFormTree.vue +26 -0
- package/lib/components/el-plus-form/components/ElPlusFormUpload.vue +16 -8
- package/lib/components/el-plus-form/components/FilePreviewDrawer.vue +118 -0
- package/lib/components-list.ts +2 -0
- package/package.json +1 -1
- package/types/index.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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.128](https://github.com/KDJack/el-plus-crud/compare/v0.1.127...v0.1.128) (2026-08-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **form:** tree 组件 checkStrictly 模式支持勾选双向联动 ([3f4b592](https://github.com/KDJack/el-plus-crud/commit/3f4b592ff78add47a689b1dbd481f35af918fe3a))
|
|
11
|
+
|
|
12
|
+
### [0.1.127](https://github.com/KDJack/el-plus-crud/compare/v0.1.126...v0.1.127) (2026-08-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **form:** file/upload 非图片附件预览改为抽屉内嵌 iframe ([c3d46cb](https://github.com/KDJack/el-plus-crud/commit/c3d46cb76c417d7d9c19b60fbc72a8d16db54ad4))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **form:** tag 组件 v-model 类型放宽为 any,兼容表格单元格绑定对象/数组原始值 ([522ba27](https://github.com/KDJack/el-plus-crud/commit/522ba27459ee679b31cfffdbc48d1d4a98588f3d))
|
|
23
|
+
* **form:** upload 上传项补落 previewUrl/shareUrl,附件预览不再回退原始地址 ([63a5388](https://github.com/KDJack/el-plus-crud/commit/63a53888d89cb78152c0ae8d723e9c896c471705))
|
|
24
|
+
|
|
5
25
|
### [0.1.126](https://github.com/KDJack/el-plus-crud/compare/v0.1.124...v0.1.126) (2026-08-19)
|
|
6
26
|
|
|
7
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
modelValue?:
|
|
2
|
+
modelValue?: any;
|
|
3
3
|
field?: string | undefined;
|
|
4
4
|
loading?: boolean | undefined;
|
|
5
5
|
desc: {
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
10
10
|
} | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
modelValue?:
|
|
13
|
+
modelValue?: any;
|
|
14
14
|
field?: string | undefined;
|
|
15
15
|
loading?: boolean | undefined;
|
|
16
16
|
desc: {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
+
openPreview: (item: any, cfg?: boolean | {
|
|
3
|
+
size?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
}) => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|