yahee-components 0.0.113 → 0.0.115
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 +55 -0
- package/es/annex-upload/annex-upload.vue2.js +121 -0
- package/es/annex-upload/index.js +7 -0
- package/es/annex-upload/mimeType.js +822 -0
- package/es/annex-upload/style/index.css +7 -0
- package/es/border-wrap/border-wrap.vue.js +75 -0
- package/es/border-wrap/border-wrap.vue2.js +48 -0
- package/es/border-wrap/index.js +7 -0
- package/es/border-wrap/props.js +11 -0
- package/es/border-wrap/style/index.css +24 -0
- package/es/common-import/common-import.vue.js +394 -0
- package/es/common-import/common-import.vue2.js +366 -0
- package/es/common-import/index.js +7 -0
- package/es/common-import/props.js +23 -0
- package/es/common-import/style/index.css +32 -0
- package/es/complex-search/batch-search-dialog.vue.js +119 -0
- package/es/complex-search/batch-search-dialog.vue2.js +50 -0
- package/es/complex-search/complex-search.vue.js +122 -0
- package/es/complex-search/complex-search.vue2.js +71 -0
- package/es/complex-search/index.js +7 -0
- package/es/complex-search/props.js +19 -0
- package/es/complex-search/style/index.css +24 -0
- package/es/complex-search/useComplexSearch.js +44 -0
- package/es/copy/copy.vue.js +39 -0
- package/es/copy/copy.vue2.js +36 -0
- package/es/copy/index.js +7 -0
- package/es/copy/props.js +9 -0
- package/es/copy/style/index.css +12 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +120 -0
- package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +127 -0
- package/es/country-platform-shop-condition/index.js +7 -0
- package/es/country-platform-shop-condition/style/index.css +59 -0
- package/es/drop-down-condition/drop-down-condition.vue.js +125 -0
- package/es/drop-down-condition/drop-down-condition.vue2.js +129 -0
- package/es/drop-down-condition/index.js +7 -0
- package/es/drop-down-condition/style/index.css +64 -0
- package/es/echart-gauge/echart-gauge.vue.js +14 -0
- package/es/echart-gauge/echart-gauge.vue2.js +149 -0
- package/es/echart-gauge/index.js +7 -0
- package/es/echart-gauge/props.js +9 -0
- package/es/echart-gauge/style/index.css +4 -0
- package/es/file-download-wrapper/file-download-wrapper.vue.js +164 -0
- package/es/file-download-wrapper/file-download-wrapper.vue2.js +115 -0
- package/es/file-download-wrapper/index.js +7 -0
- package/es/file-download-wrapper/key.js +17 -0
- package/es/file-download-wrapper/props.js +12 -0
- package/es/file-download-wrapper/style/index.css +66 -0
- package/es/filter-container/filter-container.vue.js +24 -0
- package/es/filter-container/filter-container.vue2.js +61 -0
- package/es/filter-container/index.js +7 -0
- package/es/filter-container/key.js +4 -0
- package/es/filter-container/props.js +11 -0
- package/es/filter-container/style/index.css +16 -0
- package/es/filter-wrapper/filter-wrapper.vue.js +19 -0
- package/es/filter-wrapper/filter-wrapper.vue2.js +56 -0
- package/es/filter-wrapper/index.js +7 -0
- package/es/filter-wrapper/props.js +10 -0
- package/es/filter-wrapper/style/index.css +3 -0
- package/es/height-collapse/height-collapse.vue.js +26 -0
- package/es/height-collapse/height-collapse.vue2.js +44 -0
- package/es/height-collapse/index.js +7 -0
- package/es/height-collapse/props.js +11 -0
- package/es/height-collapse/style/index.css +32 -0
- package/es/help-tag/help-tag.vue.js +46 -0
- package/es/help-tag/help-tag.vue2.js +51 -0
- package/es/help-tag/index.js +7 -0
- package/es/help-tag/props.js +9 -0
- package/es/help-tag/style/index.css +8 -0
- package/es/image-upload/image-upload.vue.js +116 -0
- package/es/image-upload/image-upload.vue2.js +93 -0
- package/es/image-upload/index.js +7 -0
- package/es/image-upload/style/index.css +33 -0
- package/es/index.js +63 -0
- package/es/installs.js +41 -0
- package/es/left-condition/index.js +7 -0
- package/es/left-condition/left-condition-sub.vue.js +36 -0
- package/es/left-condition/left-condition-sub.vue2.js +78 -0
- package/es/left-condition/left-condition.vue.js +77 -0
- package/es/left-condition/left-condition.vue2.js +162 -0
- package/es/left-condition/style/index.css +10 -0
- package/es/left-condition-enum/index.js +7 -0
- package/es/left-condition-enum/left-condition-enum.vue.js +22 -0
- package/es/left-condition-enum/left-condition-enum.vue2.js +42 -0
- package/es/left-condition-enum/style/index.css +10 -0
- package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +99 -0
- package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +22 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +38 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +53 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +141 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +71 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +46 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +77 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +136 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +181 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +58 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +9 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +70 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +14 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +13 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +89 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +4 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +8 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +23 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +30 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +8 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +4 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +8 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +15 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +85 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +63 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +54 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +9 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +9 -0
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +222 -0
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +97 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +96 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +56 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +242 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +345 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +56 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +487 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +23 -0
- package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
- package/es/operation-log/operation-log.vue2.js +88 -77
- package/lib/annex-upload/style/index.css +7 -0
- package/lib/border-wrap/style/index.css +24 -0
- package/lib/common-import/style/index.css +32 -0
- package/lib/complex-search/style/index.css +24 -0
- package/lib/copy/style/index.css +12 -0
- package/lib/country-platform-shop-condition/style/index.css +59 -0
- package/lib/drop-down-condition/style/index.css +64 -0
- package/lib/echart-gauge/style/index.css +4 -0
- package/lib/file-download-wrapper/style/index.css +66 -0
- package/lib/filter-container/style/index.css +16 -0
- package/lib/filter-wrapper/style/index.css +3 -0
- package/lib/height-collapse/style/index.css +32 -0
- package/lib/help-tag/style/index.css +8 -0
- package/lib/image-upload/style/index.css +33 -0
- package/lib/left-condition/style/index.css +10 -0
- package/lib/left-condition-enum/style/index.css +10 -0
- package/lib/operation-log/style/index.css +234 -0
- package/lib/scale-screen/style/index.css +0 -0
- package/lib/style.css +1405 -0
- package/lib/styles/custom.css +82 -0
- package/lib/styles/globals.css +699 -0
- package/lib/styles/index.css +753 -0
- package/lib/styles/variables.css +34 -0
- package/package.json +1 -1
- package/types/src/operation-log/operation-log.vue.d.ts +2 -2
package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js
ADDED
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { __extends as re } from "../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { each as Q, isArray as U, retrieve as te, extend as z } from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
|
|
3
|
+
import * as Z from "../../util/graphic.js";
|
|
4
|
+
import { toggleHoverEmphasis as ae } from "../../util/states.js";
|
|
5
|
+
import { normalizeSymbolOffset as ne, createSymbol as oe } from "../../util/symbol.js";
|
|
6
|
+
import { parsePercent as L, isNumeric as le } from "../../util/number.js";
|
|
7
|
+
import ce from "../../view/Chart.js";
|
|
8
|
+
import { getDefaultLabel as se } from "../helper/labelHelper.js";
|
|
9
|
+
import { setLabelStyle as ve, getLabelStatesModels as ue } from "../../label/labelStyle.js";
|
|
10
|
+
import pe from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Image.js";
|
|
11
|
+
import { getECData as he } from "../../util/innerStore.js";
|
|
12
|
+
import { createClipPath as de } from "../helper/createClipPathFromCoordSys.js";
|
|
13
|
+
import X from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Group.js";
|
|
14
|
+
import fe from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Circle.js";
|
|
15
|
+
import q from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/shape/Rect.js";
|
|
16
|
+
import { updateProps as F, removeElement as me } from "../../animation/basicTransition.js";
|
|
17
|
+
var ge = ["itemStyle", "borderWidth"], V = [{
|
|
18
|
+
xy: "x",
|
|
19
|
+
wh: "width",
|
|
20
|
+
index: 0,
|
|
21
|
+
posDesc: ["left", "right"]
|
|
22
|
+
}, {
|
|
23
|
+
xy: "y",
|
|
24
|
+
wh: "height",
|
|
25
|
+
index: 1,
|
|
26
|
+
posDesc: ["top", "bottom"]
|
|
27
|
+
}], B = new fe(), He = (
|
|
28
|
+
/** @class */
|
|
29
|
+
function(i) {
|
|
30
|
+
re(r, i);
|
|
31
|
+
function r() {
|
|
32
|
+
var e = i !== null && i.apply(this, arguments) || this;
|
|
33
|
+
return e.type = r.type, e;
|
|
34
|
+
}
|
|
35
|
+
return r.prototype.render = function(e, n, a) {
|
|
36
|
+
var t = this.group, o = e.getData(), d = this._data, f = e.coordinateSystem, m = f.getBaseAxis(), u = m.isHorizontal(), p = f.master.getRect(), l = {
|
|
37
|
+
ecSize: {
|
|
38
|
+
width: a.getWidth(),
|
|
39
|
+
height: a.getHeight()
|
|
40
|
+
},
|
|
41
|
+
seriesModel: e,
|
|
42
|
+
coordSys: f,
|
|
43
|
+
coordSysExtent: [[p.x, p.x + p.width], [p.y, p.y + p.height]],
|
|
44
|
+
isHorizontal: u,
|
|
45
|
+
valueDim: V[+u],
|
|
46
|
+
categoryDim: V[1 - +u]
|
|
47
|
+
};
|
|
48
|
+
o.diff(d).add(function(c) {
|
|
49
|
+
if (o.hasValue(c)) {
|
|
50
|
+
var s = G(o, c), h = W(o, c, s, l), g = H(o, l, h);
|
|
51
|
+
o.setItemGraphicEl(c, g), t.add(g), k(g, l, h);
|
|
52
|
+
}
|
|
53
|
+
}).update(function(c, s) {
|
|
54
|
+
var h = d.getItemGraphicEl(s);
|
|
55
|
+
if (!o.hasValue(c)) {
|
|
56
|
+
t.remove(h);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
var g = G(o, c), S = W(o, c, g, l), _ = ee(o, S);
|
|
60
|
+
h && _ !== h.__pictorialShapeStr && (t.remove(h), o.setItemGraphicEl(c, null), h = null), h ? Re(h, l, S) : h = H(o, l, S, !0), o.setItemGraphicEl(c, h), h.__pictorialSymbolMeta = S, t.add(h), k(h, l, S);
|
|
61
|
+
}).remove(function(c) {
|
|
62
|
+
var s = d.getItemGraphicEl(c);
|
|
63
|
+
s && b(d, c, s.__pictorialSymbolMeta.animationModel, s);
|
|
64
|
+
}).execute();
|
|
65
|
+
var v = e.get("clip", !0) ? de(e.coordinateSystem, !1, e) : null;
|
|
66
|
+
return v ? t.setClipPath(v) : t.removeClipPath(), this._data = o, this.group;
|
|
67
|
+
}, r.prototype.remove = function(e, n) {
|
|
68
|
+
var a = this.group, t = this._data;
|
|
69
|
+
e.get("animation") ? t && t.eachItemGraphicEl(function(o) {
|
|
70
|
+
b(t, he(o).dataIndex, e, o);
|
|
71
|
+
}) : a.removeAll();
|
|
72
|
+
}, r.type = "pictorialBar", r;
|
|
73
|
+
}(ce)
|
|
74
|
+
);
|
|
75
|
+
function W(i, r, e, n) {
|
|
76
|
+
var a = i.getItemLayout(r), t = e.get("symbolRepeat"), o = e.get("symbolClip"), d = e.get("symbolPosition") || "start", f = e.get("symbolRotate"), m = (f || 0) * Math.PI / 180 || 0, u = e.get("symbolPatternSize") || 2, p = e.isAnimationEnabled(), l = {
|
|
77
|
+
dataIndex: r,
|
|
78
|
+
layout: a,
|
|
79
|
+
itemModel: e,
|
|
80
|
+
symbolType: i.getItemVisual(r, "symbol") || "circle",
|
|
81
|
+
style: i.getItemVisual(r, "style"),
|
|
82
|
+
symbolClip: o,
|
|
83
|
+
symbolRepeat: t,
|
|
84
|
+
symbolRepeatDirection: e.get("symbolRepeatDirection"),
|
|
85
|
+
symbolPatternSize: u,
|
|
86
|
+
rotation: m,
|
|
87
|
+
animationModel: p ? e : null,
|
|
88
|
+
hoverScale: p && e.get(["emphasis", "scale"]),
|
|
89
|
+
z2: e.getShallow("z", !0) || 0
|
|
90
|
+
};
|
|
91
|
+
Se(e, t, a, n, l), _e(i, r, a, t, o, l.boundingLength, l.pxSign, u, n, l), xe(e, l.symbolScale, m, n, l);
|
|
92
|
+
var v = l.symbolSize, c = ne(e.get("symbolOffset"), v);
|
|
93
|
+
return Pe(e, v, a, t, o, c, d, l.valueLineWidth, l.boundingLength, l.repeatCutLength, n, l), l;
|
|
94
|
+
}
|
|
95
|
+
function Se(i, r, e, n, a) {
|
|
96
|
+
var t = n.valueDim, o = i.get("symbolBoundingData"), d = n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()), f = d.toGlobalCoord(d.dataToCoord(0)), m = 1 - +(e[t.wh] <= 0), u;
|
|
97
|
+
if (U(o)) {
|
|
98
|
+
var p = [A(d, o[0]) - f, A(d, o[1]) - f];
|
|
99
|
+
p[1] < p[0] && p.reverse(), u = p[m];
|
|
100
|
+
} else o != null ? u = A(d, o) - f : r ? u = n.coordSysExtent[t.index][m] - f : u = e[t.wh];
|
|
101
|
+
a.boundingLength = u, r && (a.repeatCutLength = e[t.wh]);
|
|
102
|
+
var l = t.xy === "x", v = d.inverse;
|
|
103
|
+
a.pxSign = l && !v || !l && v ? u >= 0 ? 1 : -1 : u > 0 ? 1 : -1;
|
|
104
|
+
}
|
|
105
|
+
function A(i, r) {
|
|
106
|
+
return i.toGlobalCoord(i.dataToCoord(i.scale.parse(r)));
|
|
107
|
+
}
|
|
108
|
+
function _e(i, r, e, n, a, t, o, d, f, m) {
|
|
109
|
+
var u = f.valueDim, p = f.categoryDim, l = Math.abs(e[p.wh]), v = i.getItemVisual(r, "symbolSize"), c;
|
|
110
|
+
U(v) ? c = v.slice() : v == null ? c = ["100%", "100%"] : c = [v, v], c[p.index] = L(c[p.index], l), c[u.index] = L(c[u.index], n ? l : Math.abs(t)), m.symbolSize = c;
|
|
111
|
+
var s = m.symbolScale = [c[0] / d, c[1] / d];
|
|
112
|
+
s[u.index] *= (f.isHorizontal ? -1 : 1) * o;
|
|
113
|
+
}
|
|
114
|
+
function xe(i, r, e, n, a) {
|
|
115
|
+
var t = i.get(ge) || 0;
|
|
116
|
+
t && (B.attr({
|
|
117
|
+
scaleX: r[0],
|
|
118
|
+
scaleY: r[1],
|
|
119
|
+
rotation: e
|
|
120
|
+
}), B.updateTransform(), t /= B.getLineScale(), t *= r[n.valueDim.index]), a.valueLineWidth = t || 0;
|
|
121
|
+
}
|
|
122
|
+
function Pe(i, r, e, n, a, t, o, d, f, m, u, p) {
|
|
123
|
+
var l = u.categoryDim, v = u.valueDim, c = p.pxSign, s = Math.max(r[v.index] + d, 0), h = s;
|
|
124
|
+
if (n) {
|
|
125
|
+
var g = Math.abs(f), S = te(i.get("symbolMargin"), "15%") + "", _ = !1;
|
|
126
|
+
S.lastIndexOf("!") === S.length - 1 && (_ = !0, S = S.slice(0, S.length - 1));
|
|
127
|
+
var x = L(S, r[v.index]), R = Math.max(s + x * 2, 0), w = _ ? 0 : x * 2, Y = le(n), P = Y ? n : j((g + w) / R), ie = g - P * s;
|
|
128
|
+
x = ie / 2 / (_ ? P : Math.max(P - 1, 1)), R = s + x * 2, w = _ ? 0 : x * 2, !Y && n !== "fixed" && (P = m ? j((Math.abs(m) + w) / R) : 0), h = P * R - w, p.repeatTimes = P, p.symbolMargin = x;
|
|
129
|
+
}
|
|
130
|
+
var I = c * (h / 2), D = p.pathPosition = [];
|
|
131
|
+
D[l.index] = e[l.wh] / 2, D[v.index] = o === "start" ? I : o === "end" ? f - I : f / 2, t && (D[0] += t[0], D[1] += t[1]);
|
|
132
|
+
var E = p.bundlePosition = [];
|
|
133
|
+
E[l.index] = e[l.xy], E[v.index] = e[v.xy];
|
|
134
|
+
var O = p.barRectShape = z({}, e);
|
|
135
|
+
O[v.wh] = c * Math.max(Math.abs(e[v.wh]), Math.abs(D[v.index] + I)), O[l.wh] = e[l.wh];
|
|
136
|
+
var C = p.clipShape = {};
|
|
137
|
+
C[l.xy] = -e[l.xy], C[l.wh] = u.ecSize[l.wh], C[v.xy] = 0, C[v.wh] = e[v.wh];
|
|
138
|
+
}
|
|
139
|
+
function J(i) {
|
|
140
|
+
var r = i.symbolPatternSize, e = oe(
|
|
141
|
+
// Consider texture img, make a big size.
|
|
142
|
+
i.symbolType,
|
|
143
|
+
-r / 2,
|
|
144
|
+
-r / 2,
|
|
145
|
+
r,
|
|
146
|
+
r
|
|
147
|
+
);
|
|
148
|
+
return e.attr({
|
|
149
|
+
culling: !0
|
|
150
|
+
}), e.type !== "image" && e.setStyle({
|
|
151
|
+
strokeNoScale: !0
|
|
152
|
+
}), e;
|
|
153
|
+
}
|
|
154
|
+
function K(i, r, e, n) {
|
|
155
|
+
var a = i.__pictorialBundle, t = e.symbolSize, o = e.valueLineWidth, d = e.pathPosition, f = r.valueDim, m = e.repeatTimes || 0, u = 0, p = t[r.valueDim.index] + o + e.symbolMargin * 2;
|
|
156
|
+
for (T(i, function(s) {
|
|
157
|
+
s.__pictorialAnimationIndex = u, s.__pictorialRepeatTimes = m, u < m ? y(s, null, c(u), e, n) : y(s, null, {
|
|
158
|
+
scaleX: 0,
|
|
159
|
+
scaleY: 0
|
|
160
|
+
}, e, n, function() {
|
|
161
|
+
a.remove(s);
|
|
162
|
+
}), u++;
|
|
163
|
+
}); u < m; u++) {
|
|
164
|
+
var l = J(e);
|
|
165
|
+
l.__pictorialAnimationIndex = u, l.__pictorialRepeatTimes = m, a.add(l);
|
|
166
|
+
var v = c(u);
|
|
167
|
+
y(l, {
|
|
168
|
+
x: v.x,
|
|
169
|
+
y: v.y,
|
|
170
|
+
scaleX: 0,
|
|
171
|
+
scaleY: 0
|
|
172
|
+
}, {
|
|
173
|
+
scaleX: v.scaleX,
|
|
174
|
+
scaleY: v.scaleY,
|
|
175
|
+
rotation: v.rotation
|
|
176
|
+
}, e, n);
|
|
177
|
+
}
|
|
178
|
+
function c(s) {
|
|
179
|
+
var h = d.slice(), g = e.pxSign, S = s;
|
|
180
|
+
return (e.symbolRepeatDirection === "start" ? g > 0 : g < 0) && (S = m - 1 - s), h[f.index] = p * (S - m / 2 + 0.5) + d[f.index], {
|
|
181
|
+
x: h[0],
|
|
182
|
+
y: h[1],
|
|
183
|
+
scaleX: e.symbolScale[0],
|
|
184
|
+
scaleY: e.symbolScale[1],
|
|
185
|
+
rotation: e.rotation
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
function $(i, r, e, n) {
|
|
190
|
+
var a = i.__pictorialBundle, t = i.__pictorialMainPath;
|
|
191
|
+
t ? y(t, null, {
|
|
192
|
+
x: e.pathPosition[0],
|
|
193
|
+
y: e.pathPosition[1],
|
|
194
|
+
scaleX: e.symbolScale[0],
|
|
195
|
+
scaleY: e.symbolScale[1],
|
|
196
|
+
rotation: e.rotation
|
|
197
|
+
}, e, n) : (t = i.__pictorialMainPath = J(e), a.add(t), y(t, {
|
|
198
|
+
x: e.pathPosition[0],
|
|
199
|
+
y: e.pathPosition[1],
|
|
200
|
+
scaleX: 0,
|
|
201
|
+
scaleY: 0,
|
|
202
|
+
rotation: e.rotation
|
|
203
|
+
}, {
|
|
204
|
+
scaleX: e.symbolScale[0],
|
|
205
|
+
scaleY: e.symbolScale[1]
|
|
206
|
+
}, e, n));
|
|
207
|
+
}
|
|
208
|
+
function N(i, r, e) {
|
|
209
|
+
var n = z({}, r.barRectShape), a = i.__pictorialBarRect;
|
|
210
|
+
a ? y(a, null, {
|
|
211
|
+
shape: n
|
|
212
|
+
}, r, e) : (a = i.__pictorialBarRect = new q({
|
|
213
|
+
z2: 2,
|
|
214
|
+
shape: n,
|
|
215
|
+
silent: !0,
|
|
216
|
+
style: {
|
|
217
|
+
stroke: "transparent",
|
|
218
|
+
fill: "transparent",
|
|
219
|
+
lineWidth: 0
|
|
220
|
+
}
|
|
221
|
+
}), a.disableMorphing = !0, i.add(a));
|
|
222
|
+
}
|
|
223
|
+
function M(i, r, e, n) {
|
|
224
|
+
if (e.symbolClip) {
|
|
225
|
+
var a = i.__pictorialClipPath, t = z({}, e.clipShape), o = r.valueDim, d = e.animationModel, f = e.dataIndex;
|
|
226
|
+
if (a)
|
|
227
|
+
F(a, {
|
|
228
|
+
shape: t
|
|
229
|
+
}, d, f);
|
|
230
|
+
else {
|
|
231
|
+
t[o.wh] = 0, a = new q({
|
|
232
|
+
shape: t
|
|
233
|
+
}), i.__pictorialBundle.setClipPath(a), i.__pictorialClipPath = a;
|
|
234
|
+
var m = {};
|
|
235
|
+
m[o.wh] = e.clipShape[o.wh], Z[n ? "updateProps" : "initProps"](a, {
|
|
236
|
+
shape: m
|
|
237
|
+
}, d, f);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
function G(i, r) {
|
|
242
|
+
var e = i.getItemModel(r);
|
|
243
|
+
return e.getAnimationDelayParams = ye, e.isAnimationEnabled = De, e;
|
|
244
|
+
}
|
|
245
|
+
function ye(i) {
|
|
246
|
+
return {
|
|
247
|
+
index: i.__pictorialAnimationIndex,
|
|
248
|
+
count: i.__pictorialRepeatTimes
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
function De() {
|
|
252
|
+
return this.parentModel.isAnimationEnabled() && !!this.getShallow("animation");
|
|
253
|
+
}
|
|
254
|
+
function H(i, r, e, n) {
|
|
255
|
+
var a = new X(), t = new X();
|
|
256
|
+
return a.add(t), a.__pictorialBundle = t, t.x = e.bundlePosition[0], t.y = e.bundlePosition[1], e.symbolRepeat ? K(a, r, e) : $(a, r, e), N(a, e, n), M(a, r, e, n), a.__pictorialShapeStr = ee(i, e), a.__pictorialSymbolMeta = e, a;
|
|
257
|
+
}
|
|
258
|
+
function Re(i, r, e) {
|
|
259
|
+
var n = e.animationModel, a = e.dataIndex, t = i.__pictorialBundle;
|
|
260
|
+
F(t, {
|
|
261
|
+
x: e.bundlePosition[0],
|
|
262
|
+
y: e.bundlePosition[1]
|
|
263
|
+
}, n, a), e.symbolRepeat ? K(i, r, e, !0) : $(i, r, e, !0), N(i, e, !0), M(i, r, e, !0);
|
|
264
|
+
}
|
|
265
|
+
function b(i, r, e, n) {
|
|
266
|
+
var a = n.__pictorialBarRect;
|
|
267
|
+
a && a.removeTextContent();
|
|
268
|
+
var t = [];
|
|
269
|
+
T(n, function(o) {
|
|
270
|
+
t.push(o);
|
|
271
|
+
}), n.__pictorialMainPath && t.push(n.__pictorialMainPath), n.__pictorialClipPath && (e = null), Q(t, function(o) {
|
|
272
|
+
me(o, {
|
|
273
|
+
scaleX: 0,
|
|
274
|
+
scaleY: 0
|
|
275
|
+
}, e, r, function() {
|
|
276
|
+
n.parent && n.parent.remove(n);
|
|
277
|
+
});
|
|
278
|
+
}), i.setItemGraphicEl(r, null);
|
|
279
|
+
}
|
|
280
|
+
function ee(i, r) {
|
|
281
|
+
return [i.getItemVisual(r.dataIndex, "symbol") || "none", !!r.symbolRepeat, !!r.symbolClip].join(":");
|
|
282
|
+
}
|
|
283
|
+
function T(i, r, e) {
|
|
284
|
+
Q(i.__pictorialBundle.children(), function(n) {
|
|
285
|
+
n !== i.__pictorialBarRect && r.call(e, n);
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
function y(i, r, e, n, a, t) {
|
|
289
|
+
r && i.attr(r), n.symbolClip && !a ? e && i.attr(e) : e && Z[a ? "updateProps" : "initProps"](i, e, n.animationModel, n.dataIndex, t);
|
|
290
|
+
}
|
|
291
|
+
function k(i, r, e) {
|
|
292
|
+
var n = e.dataIndex, a = e.itemModel, t = a.getModel("emphasis"), o = t.getModel("itemStyle").getItemStyle(), d = a.getModel(["blur", "itemStyle"]).getItemStyle(), f = a.getModel(["select", "itemStyle"]).getItemStyle(), m = a.getShallow("cursor"), u = t.get("focus"), p = t.get("blurScope"), l = t.get("scale");
|
|
293
|
+
T(i, function(s) {
|
|
294
|
+
if (s instanceof pe) {
|
|
295
|
+
var h = s.style;
|
|
296
|
+
s.useStyle(z({
|
|
297
|
+
// TODO other properties like dx, dy ?
|
|
298
|
+
image: h.image,
|
|
299
|
+
x: h.x,
|
|
300
|
+
y: h.y,
|
|
301
|
+
width: h.width,
|
|
302
|
+
height: h.height
|
|
303
|
+
}, e.style));
|
|
304
|
+
} else
|
|
305
|
+
s.useStyle(e.style);
|
|
306
|
+
var g = s.ensureState("emphasis");
|
|
307
|
+
g.style = o, l && (g.scaleX = s.scaleX * 1.1, g.scaleY = s.scaleY * 1.1), s.ensureState("blur").style = d, s.ensureState("select").style = f, m && (s.cursor = m), s.z2 = e.z2;
|
|
308
|
+
});
|
|
309
|
+
var v = r.valueDim.posDesc[+(e.boundingLength > 0)], c = i.__pictorialBarRect;
|
|
310
|
+
c.ignoreClip = !0, ve(c, ue(a), {
|
|
311
|
+
labelFetcher: r.seriesModel,
|
|
312
|
+
labelDataIndex: n,
|
|
313
|
+
defaultText: se(r.seriesModel.getData(), n),
|
|
314
|
+
inheritColor: e.style.fill,
|
|
315
|
+
defaultOpacity: e.style.opacity,
|
|
316
|
+
defaultOutsidePosition: v
|
|
317
|
+
}), ae(i, u, p, t.get("disabled"));
|
|
318
|
+
}
|
|
319
|
+
function j(i) {
|
|
320
|
+
var r = Math.round(i);
|
|
321
|
+
return Math.abs(i - r) < 1e-4 ? r : Math.ceil(i);
|
|
322
|
+
}
|
|
323
|
+
export {
|
|
324
|
+
He as default
|
|
325
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { curry as i } from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
|
|
2
|
+
import { layout as a, createProgressiveLayout as m } from "../../layout/barGrid.js";
|
|
3
|
+
import I from "../../processor/dataSample.js";
|
|
4
|
+
import p from "./BarSeries.js";
|
|
5
|
+
import c from "./BarView.js";
|
|
6
|
+
function R(o) {
|
|
7
|
+
o.registerChartView(c), o.registerSeriesModel(p), o.registerLayout(o.PRIORITY.VISUAL.LAYOUT, i(a, "bar")), o.registerLayout(o.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, m("bar")), o.registerProcessor(o.PRIORITY.PROCESSOR.STATISTIC, I("bar")), o.registerAction({
|
|
8
|
+
type: "changeAxisOrder",
|
|
9
|
+
event: "changeAxisOrder",
|
|
10
|
+
update: "update"
|
|
11
|
+
}, function(r, e) {
|
|
12
|
+
var t = r.componentType || "series";
|
|
13
|
+
e.eachComponent({
|
|
14
|
+
mainType: t,
|
|
15
|
+
query: r
|
|
16
|
+
}, function(n) {
|
|
17
|
+
r.sortInfo && n.axis.setCategorySortInfo(r.sortInfo);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
R as install
|
|
23
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import o from "./PictorialBarView.js";
|
|
2
|
+
import i from "./PictorialBarSeries.js";
|
|
3
|
+
import { layout as t, createProgressiveLayout as a } from "../../layout/barGrid.js";
|
|
4
|
+
import { curry as e } from "../../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
|
|
5
|
+
function I(r) {
|
|
6
|
+
r.registerChartView(o), r.registerSeriesModel(i), r.registerLayout(r.PRIORITY.VISUAL.LAYOUT, e(t, "pictorialBar")), r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, a("pictorialBar"));
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
I as install
|
|
10
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { CaretLeft as
|
|
3
|
-
import { ElMessage as
|
|
1
|
+
import { defineComponent as Y, toRefs as G, ref as s, reactive as z, onMounted as J, nextTick as Q } from "vue";
|
|
2
|
+
import { CaretLeft as W, CaretRight as X } from "@element-plus/icons-vue";
|
|
3
|
+
import { ElMessage as g, ElButton as Z, ElIcon as ee, ElScrollbar as te } from "element-plus";
|
|
4
4
|
import "element-plus/theme-chalk/src/base.scss";
|
|
5
5
|
import "element-plus/theme-chalk/src/badge.scss";
|
|
6
6
|
import "element-plus/theme-chalk/src/message.scss";
|
|
7
7
|
import "element-plus/theme-chalk/src/scrollbar.scss";
|
|
8
8
|
import "element-plus/theme-chalk/src/button.scss";
|
|
9
|
-
import { useUpload as
|
|
10
|
-
import { useFile as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { M2 as
|
|
16
|
-
import
|
|
17
|
-
import
|
|
9
|
+
import { useUpload as oe } from "../packages/components/hooks/useUpload.js";
|
|
10
|
+
import { useFile as ne } from "../packages/components/hooks/useImg.js";
|
|
11
|
+
import se from "./operation-log-form.vue.js";
|
|
12
|
+
import ae from "./operation-log-content.vue.js";
|
|
13
|
+
import ie from "./operation-log-dialog.vue.js";
|
|
14
|
+
import le from "../_virtual/dayjs.min.js";
|
|
15
|
+
import { M2 as a } from "../utils/translate.js";
|
|
16
|
+
import re from "../annex-upload/annex-upload.vue.js";
|
|
17
|
+
import ge from "../node_modules/.pnpm/v3-infinite-loading@1.3.2/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js";
|
|
18
18
|
/* empty css */
|
|
19
|
-
import { findGlobalNotes as
|
|
20
|
-
const
|
|
19
|
+
import { findGlobalNotes as ce, insertGlobalnotes as P } from "../packages/components/api/log/index.js";
|
|
20
|
+
const Oe = /* @__PURE__ */ Y({
|
|
21
21
|
name: "YaheeOperationLog",
|
|
22
22
|
__name: "operation-log",
|
|
23
23
|
props: {
|
|
@@ -26,112 +26,123 @@ const be = /* @__PURE__ */ _({
|
|
|
26
26
|
topHeight: { type: Number, required: !1, default: 90 },
|
|
27
27
|
ifShowDocument: { type: Boolean, required: !1, default: !0 }
|
|
28
28
|
},
|
|
29
|
-
setup(
|
|
30
|
-
|
|
31
|
-
const
|
|
29
|
+
setup(U, { expose: _ }) {
|
|
30
|
+
_();
|
|
31
|
+
const n = U, { ifShowDocument: A } = G(n), c = s(!1), I = s(!1), h = s(!1), N = s({}), i = z({
|
|
32
32
|
List: [],
|
|
33
33
|
LoginId: 0
|
|
34
|
-
}), p =
|
|
34
|
+
}), p = s(""), d = s([]), o = {
|
|
35
35
|
PageIndex: -1,
|
|
36
36
|
StartOn: "",
|
|
37
37
|
EndOn: "",
|
|
38
38
|
Notes: "",
|
|
39
39
|
Mark: null,
|
|
40
40
|
UserIds: []
|
|
41
|
-
},
|
|
42
|
-
|
|
41
|
+
}, l = () => {
|
|
42
|
+
c.value = !0;
|
|
43
43
|
const e = new FormData();
|
|
44
44
|
e.append(
|
|
45
45
|
"filter",
|
|
46
46
|
JSON.stringify({
|
|
47
|
-
BusinessKey:
|
|
48
|
-
BusinessName:
|
|
49
|
-
PageIndex:
|
|
50
|
-
StartOn:
|
|
51
|
-
EndOn:
|
|
52
|
-
UserIds:
|
|
53
|
-
Notes:
|
|
54
|
-
Mark:
|
|
47
|
+
BusinessKey: n.businessKey,
|
|
48
|
+
BusinessName: n.businessName,
|
|
49
|
+
PageIndex: o.PageIndex,
|
|
50
|
+
StartOn: o.StartOn,
|
|
51
|
+
EndOn: o.EndOn,
|
|
52
|
+
UserIds: o.UserIds,
|
|
53
|
+
Notes: o.Notes,
|
|
54
|
+
Mark: o.Mark
|
|
55
55
|
})
|
|
56
|
-
),
|
|
57
|
-
var
|
|
58
|
-
i.LoginId = t.LoginId,
|
|
56
|
+
), ce(e).then((t) => {
|
|
57
|
+
var r;
|
|
58
|
+
i.LoginId = t.LoginId, o.PageIndex === 0 ? i.List = t.List || [] : i.List = [...i.List || [], ...t.List || []], ((r = t == null ? void 0 : t.List) == null ? void 0 : r.length) === 0 && (I.value = !0);
|
|
59
59
|
}).finally(() => {
|
|
60
|
-
|
|
60
|
+
c.value = !1;
|
|
61
61
|
});
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
i.List = [],
|
|
66
|
-
},
|
|
67
|
-
d.value.length > 0 &&
|
|
68
|
-
|
|
62
|
+
}, w = () => {
|
|
63
|
+
c.value || (c.value = !0, o.PageIndex += 1, l());
|
|
64
|
+
}, T = (e) => {
|
|
65
|
+
i.List = [], o.PageIndex = 0, o.StartOn = e.timeValue ? e.timeValue[0] : "", o.EndOn = e.timeValue ? e.timeValue[1] : "", o.UserIds = e.CreatedBy ? [e.CreatedBy] : [], o.Notes = e.search, o.Mark = e.Mark, l();
|
|
66
|
+
}, k = () => {
|
|
67
|
+
d.value.length > 0 && H(d.value[0]).then(async () => {
|
|
68
|
+
g.success(a("上传文件成功!")), o.PageIndex = 0, d.value = [], await l(), y();
|
|
69
69
|
});
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
}, K = (e) => {
|
|
71
|
+
H(e).then(() => {
|
|
72
|
+
g.success(a("上传文件成功!")), h.value = !1, o.PageIndex = 0, l();
|
|
73
73
|
});
|
|
74
|
-
},
|
|
74
|
+
}, H = (e) => {
|
|
75
75
|
const t = new FormData();
|
|
76
|
-
return t.append("BusinessKey",
|
|
77
|
-
},
|
|
76
|
+
return t.append("BusinessKey", n.businessKey), t.append("BusinessName", n.businessName), t.append("notes", e.fileUrl), t.append("ViewTitle", e.fileName), P(t);
|
|
77
|
+
}, q = () => {
|
|
78
78
|
if (!p.value) {
|
|
79
|
-
|
|
79
|
+
g.info(a("备注不能为空!"));
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
const e = new FormData();
|
|
83
|
-
e.append("BusinessKey",
|
|
84
|
-
|
|
83
|
+
e.append("BusinessKey", n.businessKey), e.append("BusinessName", n.businessName), e.append("notes", p.value), e.append("ViewTitle", "备注"), P(e).then(async () => {
|
|
84
|
+
g.success(a("添加备注成功!")), o.PageIndex = 0, p.value = "", await l(), y();
|
|
85
85
|
});
|
|
86
|
-
},
|
|
86
|
+
}, V = (e) => {
|
|
87
87
|
if (e.clipboardData || e.originalEvent) {
|
|
88
88
|
if (e.clipboardData.items.length === 0) {
|
|
89
|
-
|
|
89
|
+
g.error(a("复制文件到剪切板失败,请点击按钮上传!"));
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
if (e.clipboardData.files.length > 0) {
|
|
93
|
-
|
|
93
|
+
h.value = !0;
|
|
94
94
|
for (let t = 0; t < e.clipboardData.files.length; t++) {
|
|
95
|
-
e.clipboardData.files[t].size / 1024 / 1024 < 100 ||
|
|
96
|
-
const { name:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
fileName:
|
|
100
|
-
fileUrl:
|
|
95
|
+
e.clipboardData.files[t].size / 1024 / 1024 < 100 || g.error(a("上传文件大小不能超过 100MB!"));
|
|
96
|
+
const { name: m } = e.clipboardData.files[t];
|
|
97
|
+
oe("115", e.clipboardData.files[t]).then((b) => {
|
|
98
|
+
N.value = {
|
|
99
|
+
fileName: m || "",
|
|
100
|
+
fileUrl: ne({ fileId: b[0] })
|
|
101
101
|
};
|
|
102
102
|
}).catch(() => {
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
}, E = s(null), y = () => {
|
|
108
|
+
E.value.scrollTo({ top: 0, behavior: "smooth" });
|
|
109
|
+
}, M = s(0), u = s(null);
|
|
110
|
+
J(() => {
|
|
111
|
+
var r, m;
|
|
112
|
+
console.log("=== onMounted 触发(DOM 已挂载但布局未完成)===");
|
|
113
|
+
const e = (r = document.getElementsByClassName("log-form")[0]) == null ? void 0 : r.clientHeight, t = (m = u.value) == null ? void 0 : m.offsetHeight;
|
|
114
|
+
console.log("【nextTick 前】logFormHeight:", e, "| textAreaHeight:", t), Q(() => {
|
|
115
|
+
var D, O;
|
|
116
|
+
const b = (D = document.getElementsByClassName("log-form")[0]) == null ? void 0 : D.clientHeight, $ = (O = u.value) == null ? void 0 : O.offsetHeight;
|
|
117
|
+
console.log("【nextTick 后】logFormHeight:", b, "| textAreaHeight:", $), requestAnimationFrame(() => {
|
|
118
|
+
var S, F, C;
|
|
119
|
+
const f = (S = document.getElementsByClassName("log-form")[0]) == null ? void 0 : S.clientHeight, v = (F = u.value) == null ? void 0 : F.offsetHeight, x = window.innerHeight, L = (C = document.querySelector(".yahee-operation-log")) == null ? void 0 : C.parentElement, j = L == null ? void 0 : L.clientHeight;
|
|
120
|
+
console.log("【rAF 后 — 最终计算】"), console.log("window.innerHeight:", x), console.log("logFormHeight:", f), console.log("textAreaHeight:", v), console.log("props.topHeight:", n.topHeight), console.log("父容器 clientHeight:", j), console.log(`算式: ${x} - ${f} - ${v} - ${n.topHeight}`);
|
|
121
|
+
const R = x - f - v - n.topHeight;
|
|
122
|
+
console.log(`结果: ${R}`), console.log("============================="), M.value = window.innerHeight - f - u.value.offsetHeight - n.topHeight, w();
|
|
123
|
+
});
|
|
124
|
+
});
|
|
114
125
|
});
|
|
115
|
-
const
|
|
116
|
-
return
|
|
126
|
+
const B = { props: n, ifShowDocument: A, loading: c, noMore: I, showDialog: h, docInfo: N, dataList: i, textareaText: p, compAnalysisFile: d, params: o, getLogMessage: l, load: w, filterChange: T, change: k, confirmUpload: K, uploadFile: H, sendEditQuill: q, handlePaste: V, infiniteList: E, scrollTop: y, boxHeight: M, logText: u, get CaretRight() {
|
|
127
|
+
return X;
|
|
117
128
|
}, get CaretLeft() {
|
|
118
|
-
return
|
|
129
|
+
return W;
|
|
119
130
|
}, get ElScrollbar() {
|
|
120
|
-
return
|
|
131
|
+
return te;
|
|
121
132
|
}, get ElIcon() {
|
|
122
|
-
return
|
|
133
|
+
return ee;
|
|
123
134
|
}, get ElButton() {
|
|
124
|
-
return
|
|
125
|
-
}, OperationLogForm:
|
|
126
|
-
return
|
|
135
|
+
return Z;
|
|
136
|
+
}, OperationLogForm: se, OperationLogContent: ae, OperationLogDialog: ie, get dayjs() {
|
|
137
|
+
return le;
|
|
127
138
|
}, get M2() {
|
|
128
|
-
return
|
|
129
|
-
}, YaheeAnnexUpload:
|
|
130
|
-
return
|
|
139
|
+
return a;
|
|
140
|
+
}, YaheeAnnexUpload: re, get InfiniteLoading() {
|
|
141
|
+
return ge;
|
|
131
142
|
} };
|
|
132
|
-
return Object.defineProperty(
|
|
143
|
+
return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
|
|
133
144
|
}
|
|
134
145
|
});
|
|
135
146
|
export {
|
|
136
|
-
|
|
147
|
+
Oe as default
|
|
137
148
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.yahee-border-wrap .dv-border-box {
|
|
2
|
+
position: relative;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100%;
|
|
6
|
+
}
|
|
7
|
+
.yahee-border-wrap .dv-border-svg-container {
|
|
8
|
+
position: absolute;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
top: 0px;
|
|
12
|
+
left: 0px;
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
.yahee-border-wrap .dv-border-box-content {
|
|
16
|
+
position: relative;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
.yahee-border-wrap .item_title_content {
|
|
21
|
+
width: calc(100% - 40px);
|
|
22
|
+
margin: 0 auto;
|
|
23
|
+
height: calc(100% - 60px);
|
|
24
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.yahee-common-import .el-dialog {
|
|
3
|
+
min-width: 800px;
|
|
4
|
+
}
|
|
5
|
+
.yahee-common-import .upload-record {
|
|
6
|
+
margin: 10px 0 10px 0;
|
|
7
|
+
height: 30px;
|
|
8
|
+
width: 80px;
|
|
9
|
+
}
|
|
10
|
+
.yahee-common-import .uploadProgress {
|
|
11
|
+
padding: 10px;
|
|
12
|
+
margin: 5px 0 5px 0;
|
|
13
|
+
border: solid 1px gray;
|
|
14
|
+
border-radius: 10px;
|
|
15
|
+
}
|
|
16
|
+
.yahee-common-import .page-pagination {
|
|
17
|
+
margin-top: 10px;
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
}
|
|
21
|
+
.yahee-common-import .ellipsis-cell {
|
|
22
|
+
white-space: nowrap; /* 禁止换行 */
|
|
23
|
+
overflow: hidden; /* 隐藏超出的内容 */
|
|
24
|
+
text-overflow: ellipsis; /* 显示省略号 */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* 添加全局样式 */
|
|
28
|
+
.custom-common-import-alert .el-message-box__content {
|
|
29
|
+
max-height: 60vh;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
white-space: pre-wrap; /* 保留换行符 */
|
|
32
|
+
}
|