yahee-components 0.0.75 → 0.0.81
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/api/server.js +24 -19
- package/es/api/tool.js +31 -28
- 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 -640
- package/es/common-import/common-import.vue2.js +328 -2
- package/es/common-import/index.js +3 -3
- package/es/common-import/props.js +4 -1
- package/es/complex-search/complex-search.vue.js +15 -15
- 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/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/server.js +18 -20
- package/es/packages/components/api/tool.js +35 -32
- 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/utils/translate.js +21 -21
- package/package.json +46 -46
- package/readme.md +249 -249
- package/types/src/common-import/common-import.vue.d.ts +10 -0
- package/types/src/common-import/index.d.ts +25 -0
- package/types/src/common-import/props.d.ts +19 -0
- package/types/src/installs.d.ts +25 -0
- package/types/src/left-condition-enum/left-condition-enum.d.ts +3 -0
- package/es/packages/components/api/common/index.js +0 -7
|
@@ -1,106 +1,75 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { useElementSize as E } from "../node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js";
|
|
9
|
-
import { l as I } from "../_virtual/lodash.js";
|
|
10
|
-
const S = { class: "yahee-border-wrap" }, B = ["width", "height"], T = ["fill", "stroke", "d"], z = { class: "dv-border-box-content" }, H = { class: "paddingL20 paddingR20 paddingT20 paddingB10 d-flex ai-center jc-between" }, M = {
|
|
1
|
+
import a from "./border-wrap.vue2.js";
|
|
2
|
+
import { createElementBlock as n, openBlock as i, createElementVNode as t, createCommentVNode as c, createBlock as h, toDisplayString as _, withCtx as d, createVNode as s, renderSlot as l } from "vue";
|
|
3
|
+
import f from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = { class: "yahee-border-wrap" }, g = {
|
|
5
|
+
class: "dv-border-box",
|
|
6
|
+
ref: "domRef"
|
|
7
|
+
}, v = ["width", "height"], w = ["fill", "stroke", "d"], b = { class: "dv-border-box-content" }, k = { class: "paddingL20 paddingR20 paddingT20 paddingB10 d-flex ai-center jc-between" }, L = {
|
|
11
8
|
key: 0,
|
|
12
9
|
class: "d-flex ai-center"
|
|
13
|
-
},
|
|
10
|
+
}, p = {
|
|
14
11
|
class: "fontsize-16 fontBold",
|
|
15
12
|
style: { "margin-right": "4px" }
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
type: Array,
|
|
25
|
-
default: () => []
|
|
26
|
-
},
|
|
27
|
-
backgroundColor: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: "transparent"
|
|
30
|
-
},
|
|
31
|
-
tipsId: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: ""
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
setup(n) {
|
|
37
|
-
const g = ["#6586ec", "#2cf7fe"], c = p(null), a = p(), { width: r, height: i } = E(c, { width: 0, height: 0 }, { box: "border-box" }), _ = C(() => I.merge(g, f.color)), f = n, v = () => {
|
|
38
|
-
L({ Id: f.tipsId }).then((o) => {
|
|
39
|
-
o && o.Content && (a.value = o.Content.Content);
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
return (o, A) => (d(), l("div", S, [
|
|
43
|
-
e("div", {
|
|
44
|
-
class: "dv-border-box",
|
|
45
|
-
ref_key: "domRef",
|
|
46
|
-
ref: c
|
|
13
|
+
}, x = ["innerHTML"], C = { class: "d-flex ai-center" }, B = { class: "item_title_content" };
|
|
14
|
+
function y(r, E, o, e, T, I) {
|
|
15
|
+
return i(), n("div", m, [
|
|
16
|
+
t("div", g, [
|
|
17
|
+
(i(), n("svg", {
|
|
18
|
+
width: e.width,
|
|
19
|
+
height: e.height,
|
|
20
|
+
class: "dv-border-svg-container"
|
|
47
21
|
}, [
|
|
48
|
-
(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, [
|
|
53
|
-
e("path", {
|
|
54
|
-
fill: n.backgroundColor,
|
|
55
|
-
stroke: _.value[0],
|
|
56
|
-
d: `
|
|
22
|
+
t("path", {
|
|
23
|
+
fill: o.backgroundColor,
|
|
24
|
+
stroke: e.mergedColor[0],
|
|
25
|
+
d: `
|
|
57
26
|
M 5 20 L 5 10 L 68 10
|
|
58
|
-
L ${
|
|
59
|
-
L ${
|
|
60
|
-
L 5 ${
|
|
27
|
+
L ${e.width - 20} 10 L ${e.width - 5} 25
|
|
28
|
+
L ${e.width - 5} ${e.height - 5} L 20 ${e.height - 5}
|
|
29
|
+
L 5 ${e.height - 20} L 5 20
|
|
61
30
|
`
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
])
|
|
95
|
-
]),
|
|
96
|
-
e("div", j, [
|
|
97
|
-
u(o.$slots, "content")
|
|
31
|
+
}, null, 8, w)
|
|
32
|
+
], 8, v)),
|
|
33
|
+
t("div", b, [
|
|
34
|
+
t("div", k, [
|
|
35
|
+
o.title !== "" ? (i(), n("div", L, [
|
|
36
|
+
t("div", p, _(o.title), 1),
|
|
37
|
+
o.tipsId ? (i(), h(e.ElPopover, {
|
|
38
|
+
key: 0,
|
|
39
|
+
placement: "bottom",
|
|
40
|
+
width: 400,
|
|
41
|
+
trigger: "click"
|
|
42
|
+
}, {
|
|
43
|
+
reference: d(() => [
|
|
44
|
+
s(e.ElIcon, {
|
|
45
|
+
size: "18",
|
|
46
|
+
color: "#ccc",
|
|
47
|
+
onClick: e.getTipsContent
|
|
48
|
+
}, {
|
|
49
|
+
default: d(() => [
|
|
50
|
+
s(e.InfoFilled)
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
})
|
|
54
|
+
]),
|
|
55
|
+
default: d(() => [
|
|
56
|
+
t("div", { innerHTML: e.tipsContent }, null, 8, x)
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
})) : c("", !0)
|
|
60
|
+
])) : c("", !0),
|
|
61
|
+
t("div", C, [
|
|
62
|
+
l(r.$slots, "filter")
|
|
98
63
|
])
|
|
64
|
+
]),
|
|
65
|
+
t("div", B, [
|
|
66
|
+
l(r.$slots, "content")
|
|
99
67
|
])
|
|
100
|
-
]
|
|
101
|
-
])
|
|
102
|
-
|
|
103
|
-
}
|
|
68
|
+
])
|
|
69
|
+
], 512)
|
|
70
|
+
]);
|
|
71
|
+
}
|
|
72
|
+
const j = /* @__PURE__ */ f(a, [["render", y], ["__file", "D:/projects/frontend/common/common_componentsweb/packages/components/src/border-wrap/border-wrap.vue"]]);
|
|
104
73
|
export {
|
|
105
|
-
|
|
74
|
+
j as default
|
|
106
75
|
};
|
|
@@ -1,4 +1,48 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as u, ref as i, computed as a } from "vue";
|
|
2
|
+
import { GetHelpTag as c } from "../packages/components/api/log/index.js";
|
|
3
|
+
import { InfoFilled as g } from "@element-plus/icons-vue";
|
|
4
|
+
import { ElIcon as C, ElPopover as _ } from "element-plus";
|
|
5
|
+
import "element-plus/theme-chalk/src/base.scss";
|
|
6
|
+
import "element-plus/theme-chalk/src/popper.scss";
|
|
7
|
+
import "element-plus/theme-chalk/src/popover.scss";
|
|
8
|
+
import { useElementSize as h } from "../node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js";
|
|
9
|
+
import { l as b } from "../_virtual/lodash.js";
|
|
10
|
+
const j = /* @__PURE__ */ u({
|
|
11
|
+
__name: "border-wrap",
|
|
12
|
+
props: {
|
|
13
|
+
title: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: ""
|
|
16
|
+
},
|
|
17
|
+
color: {
|
|
18
|
+
type: Array,
|
|
19
|
+
default: () => []
|
|
20
|
+
},
|
|
21
|
+
backgroundColor: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "transparent"
|
|
24
|
+
},
|
|
25
|
+
tipsId: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: ""
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(l, { expose: s }) {
|
|
31
|
+
s();
|
|
32
|
+
const o = ["#6586ec", "#2cf7fe"], r = i(null), n = i(), { width: m, height: d } = h(r, { width: 0, height: 0 }, { box: "border-box" }), f = a(() => b.merge(o, t.color)), t = l, p = { defaultColor: o, domRef: r, tipsContent: n, width: m, height: d, mergedColor: f, props: t, getTipsContent: () => {
|
|
33
|
+
c({ Id: t.tipsId }).then((e) => {
|
|
34
|
+
e && e.Content && (n.value = e.Content.Content);
|
|
35
|
+
});
|
|
36
|
+
}, get InfoFilled() {
|
|
37
|
+
return g;
|
|
38
|
+
}, get ElPopover() {
|
|
39
|
+
return _;
|
|
40
|
+
}, get ElIcon() {
|
|
41
|
+
return C;
|
|
42
|
+
} };
|
|
43
|
+
return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
2
46
|
export {
|
|
3
|
-
|
|
47
|
+
j as default
|
|
4
48
|
};
|