yh-report 1.1.14 → 1.1.16
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/{StatementDesign-a197eec1.mjs → StatementDesign-e195e75d.mjs} +18 -19
- package/StatementDesign-e195e75d.mjs.map +1 -0
- package/{StatementDetail-9029b33d.mjs → StatementDetail-37d03dc2.mjs} +9 -10
- package/StatementDetail-37d03dc2.mjs.map +1 -0
- package/{StatementList-ee7e02b6.mjs → StatementList-9d8a75d9.mjs} +6 -4
- package/{StatementList-ee7e02b6.mjs.map → StatementList-9d8a75d9.mjs.map} +1 -1
- package/{statement-run.vue_vue_type_style_index_0_lang-15ef7458.mjs → index-32854c49.mjs} +4461 -4202
- package/index-32854c49.mjs.map +1 -0
- package/index.es.js +8 -52
- package/index.es.js.map +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/StatementDesign-a197eec1.mjs.map +0 -1
- package/StatementDetail-9029b33d.mjs.map +0 -1
- package/statement-run.vue_vue_type_style_index_0_lang-15ef7458.mjs.map +0 -1
- package/util-3d1a3dd7.mjs +0 -192
- package/util-3d1a3dd7.mjs.map +0 -1
|
@@ -4,8 +4,7 @@ import { ElMessage as ln, ElScrollbar as sp, ElDialog as Io, ElButton as Lt, ElF
|
|
|
4
4
|
import { defineStore as X1, storeToRefs as St } from "pinia";
|
|
5
5
|
import { cloneDeep as hr } from "lodash-es";
|
|
6
6
|
import { useRoute as lp, onBeforeRouteLeave as A1 } from "vue-router";
|
|
7
|
-
import {
|
|
8
|
-
import { a as z1, s as G1, i as B1, b as fp, e as F1 } from "./util-3d1a3dd7.mjs";
|
|
7
|
+
import { a as V1, b as up, e as D1, l as M1, s as Y1, f as hp, h as L1, i as U1, j as I1, _ as cp, k as W1, m as fp, n as j1, o as N1, p as q1, q as z1, r as G1, t as B1, u as F1 } from "./index-32854c49.mjs";
|
|
9
8
|
import { useFullscreen as H1 } from "@vueuse/core";
|
|
10
9
|
import "@/libs/api.request.js";
|
|
11
10
|
import "echarts";
|
|
@@ -95,13 +94,13 @@ function J1 (n) {
|
|
|
95
94
|
}, s.value = null, a.value = null, o.value = null, u.value = [], h.value = [];
|
|
96
95
|
}
|
|
97
96
|
function i (x) {
|
|
98
|
-
|
|
97
|
+
D1(x).then(({ id: $, name: S, code: k, description: C, remoteStatementOptions: R, listDataStr: b, selectDataStr: w, paramsDataStr: Z, remoteChartCongfig: E }) => {
|
|
99
98
|
try {
|
|
100
99
|
if (R = R.map(K1), e.value.id = $, e.value.name = S, e.value.code = k, e.value.description = C, e.value.statementOptions = R, e.value.listData = b, e.value.selectData = w, Z && (e.value.paramsData = JSON.parse(Z)), e.value.chartConfig = E, R.length && R.length > 0) {
|
|
101
100
|
let X = R.at(0);
|
|
102
101
|
X && (a.value = 0, s.value = X);
|
|
103
102
|
}
|
|
104
|
-
b && (u.value =
|
|
103
|
+
b && (u.value = M1(b));
|
|
105
104
|
} catch (X) {
|
|
106
105
|
console.error(X);
|
|
107
106
|
}
|
|
@@ -109,7 +108,7 @@ function J1 (n) {
|
|
|
109
108
|
}
|
|
110
109
|
function r () {
|
|
111
110
|
let { id: x, code: $, name: S, description: k, statementOptions: C, listData: R, paramsData: b, selectData: w, chartConfig: Z } = e.value;
|
|
112
|
-
|
|
111
|
+
Y1({
|
|
113
112
|
id: x,
|
|
114
113
|
code: $,
|
|
115
114
|
name: S,
|
|
@@ -1988,11 +1987,11 @@ const Yv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1988
1987
|
Sortable: ge,
|
|
1989
1988
|
Swap: Av,
|
|
1990
1989
|
default: ge
|
|
1991
|
-
}, Symbol.toStringTag, { value: "Module" })), Lv = /* @__PURE__ */
|
|
1990
|
+
}, Symbol.toStringTag, { value: "Module" })), Lv = /* @__PURE__ */ L1(Yv);
|
|
1992
1991
|
(function (n, e) {
|
|
1993
1992
|
(function (i, r) {
|
|
1994
1993
|
n.exports = r(x1, Lv);
|
|
1995
|
-
})(typeof self < "u" ? self :
|
|
1994
|
+
})(typeof self < "u" ? self : I1, function (t, i) {
|
|
1996
1995
|
return (
|
|
1997
1996
|
/******/
|
|
1998
1997
|
function (r) {
|
|
@@ -4862,7 +4861,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4862
4861
|
});
|
|
4863
4862
|
})(dp);
|
|
4864
4863
|
var Uv = dp.exports;
|
|
4865
|
-
const wp = /* @__PURE__ */
|
|
4864
|
+
const wp = /* @__PURE__ */ U1(Uv);
|
|
4866
4865
|
const jo = (n) => (w1("data-v-d8031da4"), n = n(), P1(), n), Iv = { class: "field-action background-opacity" }, Wv = ["onClick"], jv = /* @__PURE__ */ jo(() => /* @__PURE__ */ Y("i", { class: "iconfont icon-diceng" }, null, -1)), Nv = [
|
|
4867
4866
|
jv
|
|
4868
4867
|
], qv = ["onClick"], zv = /* @__PURE__ */ jo(() => /* @__PURE__ */ Y("i", { class: "iconfont icon-dingceng" }, null, -1)), Gv = [
|
|
@@ -5091,7 +5090,7 @@ const jo = (n) => (w1("data-v-d8031da4"), n = n(), P1(), n), Iv = { class: "fiel
|
|
|
5091
5090
|
var ie, q;
|
|
5092
5091
|
let L = (q = (ie = t.statement) == null ? void 0 : ie.custom) != null && q.fullContainer ? "100%" : `${t.statement.width}px`, U = `${t.statement.height}px`, A = d[t.statement.theme.themeName];
|
|
5093
5092
|
t.statement.theme.themeName === "custom" && t.statement.theme.themeColor && (A = t.statement.theme.themeColor);
|
|
5094
|
-
const re = A ?
|
|
5093
|
+
const re = A ? W1(A) : !1;
|
|
5095
5094
|
return {
|
|
5096
5095
|
width: L,
|
|
5097
5096
|
height: U,
|
|
@@ -5411,7 +5410,7 @@ const jo = (n) => (w1("data-v-d8031da4"), n = n(), P1(), n), Iv = { class: "fiel
|
|
|
5411
5410
|
});
|
|
5412
5411
|
function u (f) {
|
|
5413
5412
|
Array.isArray(l.value) || (l.value = []);
|
|
5414
|
-
let d = hr(
|
|
5413
|
+
let d = hr(j1);
|
|
5415
5414
|
d.type = f, l.value.push(d);
|
|
5416
5415
|
}
|
|
5417
5416
|
function h ({ option: f, index: d }) {
|
|
@@ -5559,7 +5558,7 @@ const Wb = /* @__PURE__ */ Y("div", { class: "charts-params" }, null, -1), jb =
|
|
|
5559
5558
|
item: Q(({ element: d }) => [
|
|
5560
5559
|
y(ib, { elData: d }, {
|
|
5561
5560
|
default: Q(() => [
|
|
5562
|
-
y(
|
|
5561
|
+
y(N1, { chartData: d }, null, 8, ["chartData"])
|
|
5563
5562
|
]),
|
|
5564
5563
|
_: 2
|
|
5565
5564
|
}, 1032, ["elData"])
|
|
@@ -28759,7 +28758,7 @@ const wT = { class: "chart-series-box" }, PT = {
|
|
|
28759
28758
|
setup (n) {
|
|
28760
28759
|
const e = (s) => {
|
|
28761
28760
|
let a = hr(s);
|
|
28762
|
-
return a.id = r(), a.width = 600, a.height = 400, a.option = hr(
|
|
28761
|
+
return a.id = r(), a.width = 600, a.height = 400, a.option = hr(q1[s.type]), a;
|
|
28763
28762
|
}, t = (s) => {
|
|
28764
28763
|
}, i = (s) => {
|
|
28765
28764
|
}, r = () => {
|
|
@@ -31995,7 +31994,7 @@ const I5 = function (n, e) {
|
|
|
31995
31994
|
class: "statement-content"
|
|
31996
31995
|
}, iC = /* @__PURE__ */ Y("div", { class: "drag-tap left" }, null, -1), nC = /* @__PURE__ */ Y("div", { class: "statement-option-title" }, [
|
|
31997
31996
|
/* @__PURE__ */ Y("div", { class: "statement-option-title-context" }, "图表样式")
|
|
31998
|
-
], -1), rC = /* @__PURE__ */ Y("div", { class: "statement-form-sub-title" }, "数据", -1), sC = /* @__PURE__ */ Y("div", { class: "statement-form-sub-title" }, "固定定位", -1), aC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "顶部距离", -1), oC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "左侧距离", -1),
|
|
31997
|
+
], -1), rC = /* @__PURE__ */ Y("div", { class: "statement-form-sub-title" }, "数据", -1), sC = /* @__PURE__ */ Y("div", { class: "statement-form-sub-title" }, "固定定位", -1), aC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "顶部距离", -1), oC = /* @__PURE__ */ Y("span", { class: "tooltip-span" }, "左侧距离", -1), yC = /* @__PURE__ */ wt({
|
|
31999
31998
|
__name: "StatementDesign",
|
|
32000
31999
|
setup (n) {
|
|
32001
32000
|
const e = xt(), { detail: t, keyControl: i, listData: r, showListData: s, sourceData: a, isPreview: o, selectedChartId: l, selectedChart: u, activeChartParamDataIndex: h } = St(e), c = Oe(), { isFullscreen: f, toggle: d } = H1(c), O = Te(() => s.value.map((U) => ({
|
|
@@ -32005,7 +32004,7 @@ const I5 = function (n, e) {
|
|
|
32005
32004
|
label: A.name,
|
|
32006
32005
|
value: A.columnName.toUpperCase()
|
|
32007
32006
|
}))
|
|
32008
|
-
}))), g = Te(() =>
|
|
32007
|
+
}))), g = Te(() => z1.includes(u.value.type)), m = Te(() => {
|
|
32009
32008
|
let U = "X轴轴坐标数据";
|
|
32010
32009
|
switch (u.value.type) {
|
|
32011
32010
|
case "rowBar":
|
|
@@ -32079,9 +32078,9 @@ const I5 = function (n, e) {
|
|
|
32079
32078
|
}
|
|
32080
32079
|
}), N = (U) => {
|
|
32081
32080
|
const A = a.value[U[0]];
|
|
32082
|
-
E.value =
|
|
32081
|
+
E.value = B1(u.value, E.value, U, A);
|
|
32083
32082
|
}, L = (U) => {
|
|
32084
|
-
U.length <= 0 || (E.value =
|
|
32083
|
+
U.length <= 0 || (E.value = F1(u.value, E.value, U, a.value, !1, s.value));
|
|
32085
32084
|
};
|
|
32086
32085
|
return ji(
|
|
32087
32086
|
() => l,
|
|
@@ -32261,7 +32260,7 @@ const I5 = function (n, e) {
|
|
|
32261
32260
|
]),
|
|
32262
32261
|
v(o) ? he("", !0) : (M(), ee(qb, { key: 0 })),
|
|
32263
32262
|
v(o) ? (M(), K("div", tC, [
|
|
32264
|
-
y(
|
|
32263
|
+
y(G1, {
|
|
32265
32264
|
id: v(w).params.id
|
|
32266
32265
|
}, null, 8, ["id"])
|
|
32267
32266
|
])) : he("", !0),
|
|
@@ -32671,6 +32670,6 @@ const I5 = function (n, e) {
|
|
|
32671
32670
|
}
|
|
32672
32671
|
});
|
|
32673
32672
|
export {
|
|
32674
|
-
|
|
32673
|
+
yC as default
|
|
32675
32674
|
};
|
|
32676
|
-
//# sourceMappingURL=StatementDesign-
|
|
32675
|
+
//# sourceMappingURL=StatementDesign-e195e75d.mjs.map
|