el-plus 0.0.30 → 0.0.33
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 +18 -0
- package/dist/index.full.js +283 -49
- package/dist/index.full.min.js +1 -1
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +280 -47
- package/es/components/attachment/index.d.ts +174 -0
- package/es/components/attachment/index.mjs +8 -0
- package/es/components/attachment/index.mjs.map +1 -0
- package/es/components/attachment/src/attachment.d.ts +23 -0
- package/es/components/attachment/src/attachment.mjs +31 -0
- package/es/components/attachment/src/attachment.mjs.map +1 -0
- package/es/components/attachment/src/attachment.vue.d.ts +71 -0
- package/es/components/attachment/src/attachment.vue.mjs +6 -0
- package/es/components/attachment/src/attachment.vue.mjs.map +1 -0
- package/es/components/attachment/src/attachment.vue2.mjs +65 -0
- package/es/components/attachment/src/attachment.vue2.mjs.map +1 -0
- package/es/components/attachment/src/use-attachment.d.ts +212 -0
- package/es/components/attachment/src/use-attachment.mjs +80 -0
- package/es/components/attachment/src/use-attachment.mjs.map +1 -0
- package/es/components/attachment/style/css.d.ts +2 -0
- package/es/components/attachment/style/css.mjs +5 -0
- package/es/components/attachment/style/css.mjs.map +1 -0
- package/es/components/attachment/style/index.d.ts +2 -0
- package/es/components/attachment/style/index.mjs +5 -0
- package/es/components/attachment/style/index.mjs.map +1 -0
- package/es/components/form/src/hooks/use-form-item.mjs +9 -12
- package/es/components/form/src/hooks/use-form-item.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +2 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/search-list-page/index.d.ts +213 -192
- package/es/components/search-list-page/src/search-list-page.d.ts +1 -1
- package/es/components/search-list-page/src/search-list-page.vue.d.ts +54 -49
- package/es/components/search-list-page/src/use-search-list-page.d.ts +52 -47
- package/es/components/table/index.d.ts +51 -46
- package/es/components/table/src/table.d.ts +1 -1
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +12 -11
- package/es/components/table/src/table.vue2.mjs +1 -2
- package/es/components/table/src/table.vue2.mjs.map +1 -1
- package/es/components/table/src/use-table.d.ts +1 -71
- package/es/components/table/src/use-table.mjs +7 -9
- package/es/components/table/src/use-table.mjs.map +1 -1
- package/es/components.mjs +3 -1
- package/es/components.mjs.map +1 -1
- package/es/index.mjs +2 -0
- package/es/index.mjs.map +1 -1
- package/es/package.json.mjs +1 -1
- package/es/utils/env.d.ts +2 -1
- package/es/utils/env.mjs +9 -1
- package/es/utils/env.mjs.map +1 -1
- package/es/utils/file.d.ts +2 -0
- package/es/utils/file.mjs +13 -3
- package/es/utils/file.mjs.map +1 -1
- package/es/utils/index.mjs +1 -1
- package/lib/components/attachment/index.d.ts +174 -0
- package/lib/components/attachment/index.js +14 -0
- package/lib/components/attachment/index.js.map +1 -0
- package/lib/components/attachment/src/attachment.d.ts +23 -0
- package/lib/components/attachment/src/attachment.js +33 -0
- package/lib/components/attachment/src/attachment.js.map +1 -0
- package/lib/components/attachment/src/attachment.vue.d.ts +71 -0
- package/lib/components/attachment/src/attachment.vue.js +10 -0
- package/lib/components/attachment/src/attachment.vue.js.map +1 -0
- package/lib/components/attachment/src/attachment.vue2.js +69 -0
- package/lib/components/attachment/src/attachment.vue2.js.map +1 -0
- package/lib/components/attachment/src/use-attachment.d.ts +212 -0
- package/lib/components/attachment/src/use-attachment.js +82 -0
- package/lib/components/attachment/src/use-attachment.js.map +1 -0
- package/lib/components/attachment/style/css.d.ts +2 -0
- package/lib/components/attachment/style/css.js +7 -0
- package/lib/components/attachment/style/css.js.map +1 -0
- package/lib/components/attachment/style/index.d.ts +2 -0
- package/lib/components/attachment/style/index.js +7 -0
- package/lib/components/attachment/style/index.js.map +1 -0
- package/lib/components/form/src/hooks/use-form-item.js +9 -12
- package/lib/components/form/src/hooks/use-form-item.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +4 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/search-list-page/index.d.ts +213 -192
- package/lib/components/search-list-page/src/search-list-page.d.ts +1 -1
- package/lib/components/search-list-page/src/search-list-page.vue.d.ts +54 -49
- package/lib/components/search-list-page/src/use-search-list-page.d.ts +52 -47
- package/lib/components/table/index.d.ts +51 -46
- package/lib/components/table/src/table.d.ts +1 -1
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +12 -11
- package/lib/components/table/src/table.vue2.js +1 -2
- package/lib/components/table/src/table.vue2.js.map +1 -1
- package/lib/components/table/src/use-table.d.ts +1 -71
- package/lib/components/table/src/use-table.js +7 -9
- package/lib/components/table/src/use-table.js.map +1 -1
- package/lib/components.js +3 -1
- package/lib/components.js.map +1 -1
- package/lib/index.js +10 -6
- package/lib/index.js.map +1 -1
- package/lib/package.json.js +1 -1
- package/lib/utils/env.d.ts +2 -1
- package/lib/utils/env.js +9 -0
- package/lib/utils/env.js.map +1 -1
- package/lib/utils/file.d.ts +2 -0
- package/lib/utils/file.js +13 -1
- package/lib/utils/file.js.map +1 -1
- package/lib/utils/index.js +1 -0
- package/lib/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { computed, ref } from 'vue';
|
|
2
|
+
import { useNavigation } from '../../../hooks/use-navigation.mjs';
|
|
3
|
+
import { downloadFile, previewFile } from '../../../utils/file.mjs';
|
|
4
|
+
|
|
5
|
+
const useAttachment = (props, { data }) => {
|
|
6
|
+
const { mode: defaultMode } = useNavigation();
|
|
7
|
+
const mode = computed(() => {
|
|
8
|
+
return props.mode || defaultMode.value;
|
|
9
|
+
});
|
|
10
|
+
const columns = ref([
|
|
11
|
+
{
|
|
12
|
+
type: "EpButtons",
|
|
13
|
+
label: "\u64CD\u4F5C",
|
|
14
|
+
width: "120px",
|
|
15
|
+
props: {
|
|
16
|
+
type: "text",
|
|
17
|
+
list: [
|
|
18
|
+
{
|
|
19
|
+
name: "\u4E0B\u8F7D",
|
|
20
|
+
onClick({ row }) {
|
|
21
|
+
downloadFile({
|
|
22
|
+
src: row.filePath,
|
|
23
|
+
fileName: row.originalFilename || row.originalFileName
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "\u5220\u9664",
|
|
29
|
+
disabled: () => {
|
|
30
|
+
return mode.value === "browse";
|
|
31
|
+
},
|
|
32
|
+
onClick: ({ $index }) => {
|
|
33
|
+
data.value.splice($index, 1);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: "\u9644\u4EF6\u7C7B\u578B",
|
|
41
|
+
prop: "type",
|
|
42
|
+
type: "EpSelect",
|
|
43
|
+
required: true,
|
|
44
|
+
show: () => props.isType,
|
|
45
|
+
props: {
|
|
46
|
+
desc: ({ row }) => {
|
|
47
|
+
return row.typeDesc;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "\u6587\u4EF6\u540D\u79F0",
|
|
53
|
+
prop: "originalFilename",
|
|
54
|
+
type: "EpLink",
|
|
55
|
+
onClick({ row }) {
|
|
56
|
+
previewFile(row.filePath);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: "\u521B\u5EFA\u4EBA",
|
|
61
|
+
prop: "createBy"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
65
|
+
prop: "createTime"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
label: "\u8BF4\u660E",
|
|
69
|
+
prop: "note",
|
|
70
|
+
type: "EpInput",
|
|
71
|
+
show: () => props.isNote
|
|
72
|
+
}
|
|
73
|
+
]);
|
|
74
|
+
return {
|
|
75
|
+
columns
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { useAttachment };
|
|
80
|
+
//# sourceMappingURL=use-attachment.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-attachment.mjs","sources":["../../../../../../packages/components/attachment/src/use-attachment.ts"],"sourcesContent":["import { ref, computed } from 'vue'\nimport { useNavigation } from '@el-plus/hooks/use-navigation'\nimport { downloadFile, previewFile } from '@el-plus/utils/file'\nexport const useAttachment = (props, { data }) => {\n const { mode: defaultMode } = useNavigation()\n const mode = computed(() => {\n return props.mode || defaultMode.value\n })\n\n const columns = ref([\n {\n type: 'EpButtons',\n label: '操作',\n width: '120px',\n props: {\n type: 'text',\n list: [\n {\n name: '下载',\n onClick({ row }) {\n downloadFile({\n src: row.filePath,\n fileName: row.originalFilename || row.originalFileName,\n })\n },\n },\n {\n name: '删除',\n disabled: () => {\n return mode.value === 'browse'\n },\n onClick: ({ $index }) => {\n data.value.splice($index, 1)\n },\n },\n ],\n },\n },\n {\n label: '附件类型',\n prop: 'type',\n type: 'EpSelect',\n required: true,\n show: () => props.isType,\n props: {\n desc: ({ row }) => {\n return row.typeDesc\n },\n },\n },\n {\n label: '文件名称',\n prop: 'originalFilename',\n type: 'EpLink',\n onClick({ row }) {\n previewFile(row.filePath)\n },\n },\n {\n label: '创建人',\n prop: 'createBy',\n },\n {\n label: '创建时间',\n prop: 'createTime',\n },\n {\n label: '说明',\n prop: 'note',\n type: 'EpInput',\n show: () => props.isNote,\n },\n ])\n return {\n columns,\n }\n}\n"],"names":[],"mappings":";;;;AAGO,MAAM,aAAA,GAAgB,CAAC,KAAA,EAAO,EAAE,MAAK,KAAM;AAChD,EAAA,MAAM,EAAE,IAAA,EAAM,WAAA,EAAY,GAAI,aAAA,EAAc;AAC5C,EAAA,MAAM,IAAA,GAAO,SAAS,MAAM;AAC1B,IAAA,OAAO,KAAA,CAAM,QAAQ,WAAA,CAAY,KAAA;AAAA,EACnC,CAAC,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AY,IAAI,QAAQ,CAAA;AAAA,MAC1B;AAAA,KACF;AAAA,IACA;AAAA,MACE,KAAA,EAAO,oBAAA;AAAA,MACP,IAAA,EAAM;AAAA,KACR;AAAA,IACA;AAAA,MACE,KAAA,EAAO,0BAAA;AAAA,MACP,IAAA,EAAM;AAAA,KACR;AAAA,IACA;AAAA,MACE,KAAA,EAAO,cAAA;AAAA,MACP,IAAA,EAAM,MAAA;AAAA,MACN,IAAA,EAAM,SAAA;AAAA,MACN,IAAA,EAAM,MAAM,KAAA,CAAM;AAAA;AACpB,GACD,CAAA;AACD,EAAA,OAAO;AAAA,IACL;AAAA,GACF;AACF;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -8,17 +8,10 @@ const useFormItem = () => {
|
|
|
8
8
|
const useFormItemSlots = (props) => {
|
|
9
9
|
const attrs = useAttrs();
|
|
10
10
|
const {
|
|
11
|
-
type,
|
|
12
|
-
label,
|
|
13
11
|
render,
|
|
14
|
-
required,
|
|
15
12
|
labelRender
|
|
16
13
|
} = props;
|
|
17
14
|
const prop = props.tableProp || props.prop;
|
|
18
|
-
const {
|
|
19
|
-
scopedSlots: renderScopedSlots,
|
|
20
|
-
...renderProps
|
|
21
|
-
} = props.props || {};
|
|
22
15
|
const events = {};
|
|
23
16
|
for (const key in attrs) {
|
|
24
17
|
if (key.startsWith("on")) {
|
|
@@ -33,11 +26,15 @@ const useFormItemSlots = (props) => {
|
|
|
33
26
|
};
|
|
34
27
|
const scopedSlots = {
|
|
35
28
|
default: () => {
|
|
29
|
+
const {
|
|
30
|
+
scopedSlots: renderScopedSlots,
|
|
31
|
+
...renderProps
|
|
32
|
+
} = props.props || {};
|
|
36
33
|
let disabled = props.disabled;
|
|
37
34
|
if (typeof props.disabled === "function") {
|
|
38
35
|
disabled = props.disabled(formData);
|
|
39
36
|
}
|
|
40
|
-
return type ? h(resolveComponent(type), {
|
|
37
|
+
return props.type ? h(resolveComponent(props.type), {
|
|
41
38
|
modelValue: formData[prop],
|
|
42
39
|
"onUpdate:modelValue": (value) => {
|
|
43
40
|
formData[prop] = value;
|
|
@@ -52,21 +49,21 @@ const useFormItemSlots = (props) => {
|
|
|
52
49
|
return createVNode(ElTooltip, {
|
|
53
50
|
"placement": "top",
|
|
54
51
|
"effect": "dark",
|
|
55
|
-
"content": label,
|
|
52
|
+
"content": props.label,
|
|
56
53
|
"disabled": !props.isShowLabel || isTipDisabled.value
|
|
57
54
|
}, {
|
|
58
55
|
default: () => [createVNode("span", {
|
|
59
56
|
"onMouseenter": checkOverflow,
|
|
60
57
|
"style": "display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"
|
|
61
|
-
}, [!props.hideRequiredAsterisk && required ? createVNode("span", {
|
|
58
|
+
}, [!props.hideRequiredAsterisk && props.required ? createVNode("span", {
|
|
62
59
|
"style": "color: var(--el-color-danger);"
|
|
63
|
-
}, [createTextVNode("*")]) : null, props.isShowLabel ? createVNode("span", null, [label]) : ""])]
|
|
60
|
+
}, [createTextVNode("*")]) : null, props.isShowLabel ? createVNode("span", null, [props.label]) : ""])]
|
|
64
61
|
});
|
|
65
62
|
}
|
|
66
63
|
};
|
|
67
64
|
if (labelRender) {
|
|
68
65
|
scopedSlots.label = () => labelRender({
|
|
69
|
-
label
|
|
66
|
+
label: props.label
|
|
70
67
|
});
|
|
71
68
|
}
|
|
72
69
|
if (render) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-form-item.mjs","sources":["../../../../../../../packages/components/form/src/hooks/use-form-item.tsx"],"sourcesContent":["import { h, resolveComponent, useAttrs, ref } from 'vue'\nimport type { FormItemProps } from '../form-item'\nimport type { FormItemRule } from 'element-plus'\nimport { ElTooltip } from 'element-plus'\nimport { useLocale } from '@el-plus/hooks/use-locale'\nexport const useFormItem = () => {\n return {}\n}\nexport const useFormItemSlots = (props: FormItemProps) => {\n const attrs = useAttrs()\n const {
|
|
1
|
+
{"version":3,"file":"use-form-item.mjs","sources":["../../../../../../../packages/components/form/src/hooks/use-form-item.tsx"],"sourcesContent":["import { h, resolveComponent, useAttrs, ref } from 'vue'\nimport type { FormItemProps } from '../form-item'\nimport type { FormItemRule } from 'element-plus'\nimport { ElTooltip } from 'element-plus'\nimport { useLocale } from '@el-plus/hooks/use-locale'\nexport const useFormItem = () => {\n return {}\n}\nexport const useFormItemSlots = (props: FormItemProps) => {\n const attrs = useAttrs()\n const { render, labelRender } = props\n const prop = props.tableProp || props.prop\n const events: Record<string, (...args: any[]) => void> = {}\n for (const key in attrs) {\n if (key.startsWith('on')) {\n events[key] = attrs[key] as (...args: any[]) => void\n }\n }\n const formData = attrs['form-data'] as Record<string, unknown>\n const isTipDisabled = ref(true) // 默认禁用提示\n const checkOverflow = (e: MouseEvent) => {\n const el = e.currentTarget as HTMLElement\n isTipDisabled.value = el.scrollWidth <= el.clientWidth\n }\n const scopedSlots = {\n default: () => {\n const { scopedSlots: renderScopedSlots, ...renderProps } =\n props.props || {}\n let disabled = props.disabled\n if (typeof props.disabled === 'function') {\n disabled = props.disabled(formData)\n }\n return props.type\n ? h(\n resolveComponent(props.type),\n {\n modelValue: formData[prop as string],\n 'onUpdate:modelValue': (value: unknown) => {\n formData[prop as string] = value\n },\n disabled,\n clearable: true,\n ...renderProps,\n ...events,\n },\n renderScopedSlots,\n )\n : formData[prop as string]\n },\n label: () => {\n return (\n <ElTooltip\n placement=\"top\"\n effect=\"dark\"\n content={props.label}\n disabled={!props.isShowLabel || isTipDisabled.value}\n >\n <span\n onMouseenter={checkOverflow}\n style=\"display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;\"\n >\n {!props.hideRequiredAsterisk && props.required ? (\n <span style=\"color: var(--el-color-danger);\">*</span>\n ) : null}\n {props.isShowLabel ? <span>{props.label}</span> : ''}\n </span>\n </ElTooltip>\n )\n },\n }\n\n if (labelRender) {\n scopedSlots.label = () => labelRender({ label: props.label })\n }\n if (render) {\n scopedSlots.default = () => {\n return render(attrs['table-scope'])\n }\n }\n return {\n scopedSlots,\n }\n}\nexport const useFormItemRules = (props: FormItemProps) => {\n const { t } = useLocale()\n const { required, rules, label } = props\n let mergeRules: FormItemRule[] = []\n if (required) {\n const requiredDefault = { required: true }\n mergeRules.push(requiredDefault)\n }\n if (rules) {\n if (Array.isArray(rules)) {\n mergeRules = mergeRules.concat(rules)\n }\n\n if (Object.prototype.toString.call(rules) === '[object Object]') {\n mergeRules.push(rules as FormItemRule)\n }\n }\n\n if (mergeRules) {\n mergeRules.forEach((r) => {\n if (r.required && typeof r.message === 'undefined') {\n r.message = `${label || ''}${t('ep.formItem.required')}`\n }\n })\n }\n return { rules: mergeRules }\n}\n"],"names":["useFormItem","useFormItemSlots","props","attrs","useAttrs","render","labelRender","prop","tableProp","events","key","startsWith","formData","isTipDisabled","ref","checkOverflow","e","el","currentTarget","value","scrollWidth","clientWidth","scopedSlots","default","renderScopedSlots","renderProps","disabled","type","h","resolveComponent","modelValue","clearable","label","_createVNode","ElTooltip","isShowLabel","hideRequiredAsterisk","required","_createTextVNode","useFormItemRules","t","useLocale","rules","mergeRules","requiredDefault","push","Array","isArray","concat","Object","prototype","toString","call","forEach","r","message"],"mappings":";;;;AAKO,MAAMA,cAAcA,MAAM;AAC/B,EAAA,OAAO,EAAC;AACV;AACO,MAAMC,mBAAoBC,CAAAA,KAAAA,KAAyB;AACxD,EAAA,MAAMC,QAAQC,QAAAA,EAAS;AACvB,EAAA,MAAM;AAAA,IAAEC,MAAAA;AAAAA,IAAQC;AAAAA,GAAY,GAAIJ,KAAAA;AAChC,EAAA,MAAMK,IAAAA,GAAOL,KAAAA,CAAMM,SAAAA,IAAaN,KAAAA,CAAMK,IAAAA;AACtC,EAAA,MAAME,SAAmD,EAAC;AAC1D,EAAA,KAAA,MA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7 @@ export { EpHeader } from './header/index.mjs';
|
|
|
9
9
|
export { EpDatePickerRange } from './date-picker-range/index.mjs';
|
|
10
10
|
export { EpCustomColumn } from './custom-column/index.mjs';
|
|
11
11
|
export { EpLink } from './link/index.mjs';
|
|
12
|
+
export { EpAttachment } from './attachment/index.mjs';
|
|
12
13
|
export { buttonsProps } from './buttons/src/buttons.mjs';
|
|
13
14
|
export { expandFormPropsKeys, formEmits, formEmitsKeys, formProps } from './form/src/form.mjs';
|
|
14
15
|
export { expandFormItemPropsKeys, formItemProps } from './form/src/form-item.mjs';
|
|
@@ -22,4 +23,5 @@ export { headerEmits, headerProps } from './header/src/header.mjs';
|
|
|
22
23
|
export { datePickerRangeEmits, datePickerRangeProps } from './date-picker-range/src/date-picker-range.mjs';
|
|
23
24
|
export { customColumnEmits, customColumnProps } from './custom-column/src/custom-column.mjs';
|
|
24
25
|
export { linkProps } from './link/src/link.mjs';
|
|
26
|
+
export { attachmentProps } from './attachment/src/attachment.mjs';
|
|
25
27
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|