yahee-components 0.0.93 → 0.0.94-test1
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/es/annex-upload/annex-upload.vue.js +51 -154
- package/es/annex-upload/annex-upload.vue2.js +119 -2
- package/es/annex-upload/index.js +3 -3
- package/es/border-wrap/border-wrap.vue.js +64 -95
- package/es/border-wrap/border-wrap.vue2.js +46 -2
- package/es/common-import/common-import.vue.js +369 -666
- package/es/common-import/common-import.vue2.js +337 -2
- package/es/common-import/index.js +3 -3
- package/es/complex-search/complex-search.vue.js +36 -36
- package/es/copy/copy.vue.js +37 -55
- package/es/copy/copy.vue2.js +34 -2
- package/es/copy/index.js +3 -3
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +114 -213
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +125 -2
- package/es/drop-down-condition/drop-down-condition.vue.js +113 -213
- package/es/drop-down-condition/drop-down-condition.vue2.js +127 -2
- package/es/echart-gauge/echart-gauge.vue.js +12 -140
- package/es/echart-gauge/echart-gauge.vue2.js +147 -2
- package/es/echart-gauge/index.js +3 -3
- package/es/help-tag/help-tag.vue.js +44 -64
- package/es/help-tag/help-tag.vue2.js +49 -2
- package/es/help-tag/index.js +3 -3
- package/es/help-tag/style/index.css +7 -0
- package/es/image-upload/image-upload.vue.js +109 -170
- package/es/image-upload/image-upload.vue2.js +91 -2
- package/es/image-upload/index.js +3 -3
- package/es/input/index.js +3 -3
- package/es/input/input.vue.js +17 -38
- package/es/input/input.vue2.js +33 -2
- package/es/left-condition/index.js +3 -3
- package/es/left-condition/left-condition-sub.vue.js +32 -91
- package/es/left-condition/left-condition-sub.vue2.js +76 -2
- package/es/left-condition/left-condition.vue.js +70 -218
- package/es/left-condition/left-condition.vue2.js +160 -2
- package/es/left-condition-enum/index.js +3 -3
- package/es/left-condition-enum/left-condition-enum.vue.js +20 -49
- package/es/left-condition-enum/left-condition-enum.vue2.js +40 -2
- package/es/operation-log/operation-log-content.vue.js +71 -92
- package/es/operation-log/operation-log-content.vue2.js +39 -2
- package/es/operation-log/operation-log-dialog.vue.js +46 -68
- package/es/operation-log/operation-log-dialog.vue2.js +38 -2
- package/es/operation-log/operation-log-form.vue.js +108 -183
- package/es/operation-log/operation-log-form.vue2.js +104 -2
- package/es/operation-log/operation-log.vue.js +119 -228
- package/es/operation-log/operation-log.vue2.js +135 -2
- package/es/packages/components/api/log-server.js +6 -6
- package/es/packages/components/api/upload-server.js +1 -1
- package/es/packages/components/hooks/useEcharts.js +19 -19
- package/es/packages/components/hooks/useImg.js +8 -8
- package/es/scale-screen/index.js +4 -4
- package/es/scale-screen/scale-screen.vue.js +19 -126
- package/es/scale-screen/scale-screen.vue2.js +125 -2
- package/es/style.css +8 -0
- package/es/yahee-components.css +1 -1
- package/lib/help-tag/style/index.css +7 -0
- package/lib/style.css +8 -0
- package/package.json +1 -1
- package/types/src/help-tag/help-tag.vue.d.ts +1 -0
- package/types/src/help-tag/index.d.ts +1 -0
- package/types/src/help-tag/props.d.ts +1 -1
|
@@ -1,104 +1,83 @@
|
|
|
1
|
-
import
|
|
2
|
-
import c from "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import "element-plus/theme-chalk/src/image.scss";
|
|
6
|
-
import "element-plus/theme-chalk/src/image-viewer.scss";
|
|
7
|
-
import { Document as y } from "@element-plus/icons-vue";
|
|
8
|
-
const x = { key: 0 }, T = {
|
|
1
|
+
import l from "./operation-log-content.vue2.js";
|
|
2
|
+
import { createElementBlock as o, openBlock as i, createElementVNode as n, normalizeClass as a, toDisplayString as s, createVNode as c, createBlock as d, createCommentVNode as f, withCtx as _ } from "vue";
|
|
3
|
+
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const h = { key: 0 }, m = {
|
|
9
5
|
key: 1,
|
|
10
6
|
class: "d-flex ai-end"
|
|
11
|
-
},
|
|
7
|
+
}, g = ["src"], N = ["href"], u = {
|
|
12
8
|
key: 2,
|
|
13
9
|
class: "d-flex ai-end"
|
|
14
|
-
},
|
|
10
|
+
}, k = ["src"], v = ["href"], x = {
|
|
15
11
|
key: 3,
|
|
16
12
|
class: "d-flex ai-end"
|
|
17
|
-
},
|
|
13
|
+
}, y = ["src"], w = ["href"], T = {
|
|
18
14
|
key: 4,
|
|
19
15
|
class: "d-flex ai-end"
|
|
20
|
-
},
|
|
16
|
+
}, b = ["src"], I = ["href"], B = {
|
|
21
17
|
key: 5,
|
|
22
18
|
class: "d-flex ai-end"
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
t("
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
t("
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
e.ifShowDocument ? (i(), m(o(v), {
|
|
86
|
-
key: 0,
|
|
87
|
-
size: "40"
|
|
88
|
-
}, {
|
|
89
|
-
default: g(() => [
|
|
90
|
-
a(o(y))
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
})) : N("", !0),
|
|
94
|
-
t("div", { innerHTML: d.value }, null, 8, S)
|
|
95
|
-
])) : (i(), n("div", {
|
|
96
|
-
key: 6,
|
|
97
|
-
innerHTML: d.value
|
|
98
|
-
}, null, 8, V))
|
|
99
|
-
]));
|
|
100
|
-
}
|
|
101
|
-
});
|
|
19
|
+
}, C = ["innerHTML"], E = ["innerHTML"];
|
|
20
|
+
function L(W, H, e, t, M, P) {
|
|
21
|
+
return i(), o("div", null, [
|
|
22
|
+
n("div", {
|
|
23
|
+
class: a(["fontsize-15 paddingB10 text-color-primary", e.id == e.info.CreatedBy ? "d-flex" : ""])
|
|
24
|
+
}, s(t.title), 3),
|
|
25
|
+
e.info.Notes.includes(".jpg") && e.info.Notes.startsWith("http") ? (i(), o("div", h, [
|
|
26
|
+
c(t.ElImage, {
|
|
27
|
+
class: "img",
|
|
28
|
+
src: e.info.Notes,
|
|
29
|
+
"preview-src-list": [e.info.Notes]
|
|
30
|
+
}, null, 8, ["src", "preview-src-list"])
|
|
31
|
+
])) : e.info.Notes.includes(".word") && e.info.Notes.startsWith("http") ? (i(), o("div", m, [
|
|
32
|
+
n("img", {
|
|
33
|
+
src: t.useImagePath("file-word.png")
|
|
34
|
+
}, null, 8, g),
|
|
35
|
+
n("a", {
|
|
36
|
+
href: e.info.Notes,
|
|
37
|
+
target: "_blank"
|
|
38
|
+
}, s(e.info.Title), 9, N)
|
|
39
|
+
])) : e.info.Notes.includes(".pdf") && e.info.Notes.startsWith("http") ? (i(), o("div", u, [
|
|
40
|
+
n("img", {
|
|
41
|
+
src: t.useImagePath("pdf.png")
|
|
42
|
+
}, null, 8, k),
|
|
43
|
+
n("a", {
|
|
44
|
+
href: e.info.Notes,
|
|
45
|
+
target: "_blank"
|
|
46
|
+
}, s(e.info.Title), 9, v)
|
|
47
|
+
])) : e.info.Notes.includes(".ppt") && e.info.Notes.startsWith("http") ? (i(), o("div", x, [
|
|
48
|
+
n("img", {
|
|
49
|
+
src: t.useImagePath("ppt.png")
|
|
50
|
+
}, null, 8, y),
|
|
51
|
+
n("a", {
|
|
52
|
+
href: e.info.Notes,
|
|
53
|
+
target: "_blank"
|
|
54
|
+
}, s(e.info.Title), 9, w)
|
|
55
|
+
])) : e.info.Notes.includes(".xls") && e.info.Notes.startsWith("http") ? (i(), o("div", T, [
|
|
56
|
+
n("img", {
|
|
57
|
+
src: t.useImagePath("excel.png")
|
|
58
|
+
}, null, 8, b),
|
|
59
|
+
n("a", {
|
|
60
|
+
href: e.info.Notes,
|
|
61
|
+
target: "_blank"
|
|
62
|
+
}, s(e.info.Title), 9, I)
|
|
63
|
+
])) : e.info.Notes.includes("http") ? (i(), o("div", B, [
|
|
64
|
+
e.ifShowDocument ? (i(), d(t.ElIcon, {
|
|
65
|
+
key: 0,
|
|
66
|
+
size: "40"
|
|
67
|
+
}, {
|
|
68
|
+
default: _(() => [
|
|
69
|
+
c(t.Document)
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
})) : f("", !0),
|
|
73
|
+
n("div", { innerHTML: t.notes }, null, 8, C)
|
|
74
|
+
])) : (i(), o("div", {
|
|
75
|
+
key: 6,
|
|
76
|
+
innerHTML: t.notes
|
|
77
|
+
}, null, 8, E))
|
|
78
|
+
]);
|
|
79
|
+
}
|
|
80
|
+
const j = /* @__PURE__ */ r(l, [["render", L], ["__file", "E:/project/common_componentsweb_new/common_componentsweb/packages/components/src/operation-log/operation-log-content.vue"]]);
|
|
102
81
|
export {
|
|
103
|
-
|
|
82
|
+
j as default
|
|
104
83
|
};
|
|
@@ -1,4 +1,41 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as p, computed as o } from "vue";
|
|
2
|
+
import m from "../packages/components/hooks/useImgPath.js";
|
|
3
|
+
import { ElImage as s, ElIcon as l } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/image.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/image-viewer.scss";
|
|
7
|
+
import { Document as a } from "@element-plus/icons-vue";
|
|
8
|
+
const h = /* @__PURE__ */ p({
|
|
9
|
+
__name: "operation-log-content",
|
|
10
|
+
props: {
|
|
11
|
+
info: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: () => {
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
id: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 0
|
|
19
|
+
},
|
|
20
|
+
ifShowDocument: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !0
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(r, { expose: n }) {
|
|
26
|
+
n();
|
|
27
|
+
const e = r, u = o(() => e.info.Notes.replace(/\n/g, "<br/>")), i = o(() => e.info.Notes.includes("http") ? e.info.Title.split(".")[0] : e.info.Title), t = { props: e, notes: u, title: i, get useImagePath() {
|
|
28
|
+
return m;
|
|
29
|
+
}, get ElIcon() {
|
|
30
|
+
return l;
|
|
31
|
+
}, get ElImage() {
|
|
32
|
+
return s;
|
|
33
|
+
}, get Document() {
|
|
34
|
+
return a;
|
|
35
|
+
} };
|
|
36
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
2
39
|
export {
|
|
3
|
-
|
|
40
|
+
h as default
|
|
4
41
|
};
|
|
@@ -1,70 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
_: 1
|
|
47
|
-
}),
|
|
48
|
-
c(e(f), {
|
|
49
|
-
type: "default",
|
|
50
|
-
onClick: d
|
|
51
|
-
}, {
|
|
52
|
-
default: t(() => [
|
|
53
|
-
r(l(e(a)("取消")), 1)
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
})
|
|
57
|
-
])
|
|
58
|
-
]),
|
|
59
|
-
default: t(() => [
|
|
60
|
-
n("a", {
|
|
61
|
-
href: o.docInfo.fileUrl
|
|
62
|
-
}, l(o.docInfo.fileName), 9, _)
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
}, 8, ["model-value", "title"]));
|
|
66
|
-
}
|
|
67
|
-
});
|
|
1
|
+
import i from "./operation-log-dialog.vue2.js";
|
|
2
|
+
import { createBlock as r, openBlock as d, withCtx as e, createElementVNode as a, toDisplayString as t, createVNode as c, createTextVNode as n } from "vue";
|
|
3
|
+
import f from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = ["href"], _ = { class: "dialog-footer" };
|
|
5
|
+
function g(s, p, l, o, h, k) {
|
|
6
|
+
return d(), r(o.ElDialog, {
|
|
7
|
+
"model-value": l.modelValue,
|
|
8
|
+
width: "600px",
|
|
9
|
+
title: o.M2("上传文件"),
|
|
10
|
+
draggable: "",
|
|
11
|
+
"close-on-click-modal": !1,
|
|
12
|
+
onClose: o.closeDialog
|
|
13
|
+
}, {
|
|
14
|
+
footer: e(() => [
|
|
15
|
+
a("div", _, [
|
|
16
|
+
c(o.ElButton, {
|
|
17
|
+
type: "primary",
|
|
18
|
+
plain: "",
|
|
19
|
+
onClick: o.confirmUpload
|
|
20
|
+
}, {
|
|
21
|
+
default: e(() => [
|
|
22
|
+
n(t(o.M2("确认")), 1)
|
|
23
|
+
]),
|
|
24
|
+
_: 1
|
|
25
|
+
}),
|
|
26
|
+
c(o.ElButton, {
|
|
27
|
+
type: "default",
|
|
28
|
+
onClick: o.closeDialog
|
|
29
|
+
}, {
|
|
30
|
+
default: e(() => [
|
|
31
|
+
n(t(o.M2("取消")), 1)
|
|
32
|
+
]),
|
|
33
|
+
_: 1
|
|
34
|
+
})
|
|
35
|
+
])
|
|
36
|
+
]),
|
|
37
|
+
default: e(() => [
|
|
38
|
+
a("a", {
|
|
39
|
+
href: l.docInfo.fileUrl
|
|
40
|
+
}, t(l.docInfo.fileName), 9, m)
|
|
41
|
+
]),
|
|
42
|
+
_: 1
|
|
43
|
+
}, 8, ["model-value", "title"]);
|
|
44
|
+
}
|
|
45
|
+
const D = /* @__PURE__ */ f(i, [["render", g], ["__file", "E:/project/common_componentsweb_new/common_componentsweb/packages/components/src/operation-log/operation-log-dialog.vue"]]);
|
|
68
46
|
export {
|
|
69
|
-
|
|
47
|
+
D as default
|
|
70
48
|
};
|
|
@@ -1,4 +1,40 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as a } from "vue";
|
|
2
|
+
import { M2 as p } from "../utils/translate.js";
|
|
3
|
+
import { ElButton as i, ElDialog as m } from "element-plus";
|
|
4
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
5
|
+
import "element-plus/theme-chalk/src/dialog.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/overlay.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/button.scss";
|
|
8
|
+
const U = /* @__PURE__ */ a({
|
|
9
|
+
__name: "operation-log-dialog",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
docInfo: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => {
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "confirmUpload"],
|
|
22
|
+
setup(r, { expose: l, emit: n }) {
|
|
23
|
+
l();
|
|
24
|
+
const e = r, o = n, t = { props: e, emits: o, closeDialog: () => {
|
|
25
|
+
o("update:modelValue", !1);
|
|
26
|
+
}, confirmUpload: () => {
|
|
27
|
+
o("confirmUpload", e.docInfo);
|
|
28
|
+
}, get M2() {
|
|
29
|
+
return p;
|
|
30
|
+
}, get ElDialog() {
|
|
31
|
+
return m;
|
|
32
|
+
}, get ElButton() {
|
|
33
|
+
return i;
|
|
34
|
+
} };
|
|
35
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
2
38
|
export {
|
|
3
|
-
|
|
39
|
+
U as default
|
|
4
40
|
};
|