@ecan-bi/indicator-library 1.0.69 → 1.0.70
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/dist/assets/editor.worker-02df2e61.js +1 -1
- package/dist/assets/json.worker-867823a6.js +1 -1
- package/dist/assets/ts.worker-7254b425.js +1 -1
- package/dist/index.es.js +243 -242
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @ecan-bi/indicator-library@1.0.
|
|
2
|
-
import { defineComponent as pe, inject as ee, unref as r, computed as G, ref as z, reactive as yo, onMounted as qe, resolveComponent as O, openBlock as C, createElementBlock as R, createVNode as h, withCtx as b, createElementVNode as H, createTextVNode as j, toDisplayString as se, h as oa, nextTick as Vn, Fragment as le, renderList as be, normalizeClass as go, createBlock as W, createCommentVNode as oe, watch as Se, resolveDirective as bo, withModifiers as Re, withDirectives as hn, normalizeStyle as
|
|
3
|
-
import { debounce as cl, cloneDeep as
|
|
1
|
+
/*! @ecan-bi/indicator-library@1.0.70 */
|
|
2
|
+
import { defineComponent as pe, inject as ee, unref as r, computed as G, ref as z, reactive as yo, onMounted as qe, resolveComponent as O, openBlock as C, createElementBlock as R, createVNode as h, withCtx as b, createElementVNode as H, createTextVNode as j, toDisplayString as se, h as oa, nextTick as Vn, Fragment as le, renderList as be, normalizeClass as go, createBlock as W, createCommentVNode as oe, watch as Se, resolveDirective as bo, withModifiers as Re, withDirectives as hn, normalizeStyle as De, vShow as il, pushScopeId as Rt, popScopeId as Bt, provide as Le, mergeProps as dn, createSlots as or, withKeys as ar, onBeforeUnmount as sl, onUnmounted as ul, Teleport as lr, Transition as rr, toRaw as ir, resolveDynamicComponent as Rn, toHandlers as aa } from "vue";
|
|
3
|
+
import { debounce as cl, cloneDeep as Ce, reduce as sr, pick as Bn, without as ur } from "lodash-es";
|
|
4
4
|
import { Spin as Co, TreeSelect as cr, InputSearch as dl, Pagination as dr, Modal as xt, Button as Qt, Select as nt, SelectOption as Lt, Input as ft, Checkbox as _o, Collapse as pl, CollapsePanel as fl, Tag as pr, CheckableTag as fr, message as ct, DatePicker as mr, Dropdown as wo, Menu as So, MenuItem as Ao, SubMenu as ml, Popover as Gn, Tabs as zn, TabPane as Hn, RadioGroup as To, Radio as vr, InputNumber as Xt, Row as hr, Col as yr, Textarea as xo, Tree as gr, RadioButton as vl, Form as br, FormItem as hl, Tooltip as Cr, Card as _r, MenuDivider as wr, Switch as yl, Table as Sr } from "ant-design-vue";
|
|
5
5
|
import yn from "vuedraggable";
|
|
6
6
|
import "ant-design-vue/es/popover/style";
|
|
@@ -20,7 +20,7 @@ const gl = (e, t) => {
|
|
|
20
20
|
return e;
|
|
21
21
|
}, at = "$request";
|
|
22
22
|
var rl;
|
|
23
|
-
const Xe = ((rl = window == null ? void 0 : window.config) == null ? void 0 : rl.indicatorURL) || "", lt = "INDICATOR_TOKEN", bl = "DATA_LIST", yt = "SELECTED_COMPONENT",
|
|
23
|
+
const Xe = ((rl = window == null ? void 0 : window.config) == null ? void 0 : rl.indicatorURL) || "", lt = "INDICATOR_TOKEN", bl = "DATA_LIST", yt = "SELECTED_COMPONENT", $e = "GRAPHIC_CONFIG", Ge = "UPDATE_GRAPHIC_CONFIG", Cl = "SHOW_STYLE_CONFIG", _l = "REFRESH_DATA", Yn = "CHARTS_OPTIONS", wl = "TABLE_OPTIONS", xr = 18, Lo = "UPDATE_CHARTS_OPTIONS", ko = "UPDATE_TABLE_OPTIONS", Oo = "SOURCE_TYPE", Sl = "CHANGE_CONDITION", Al = "DATA_VIEW_COLUMNS", rt = "RENDER_USED_COMPONENTS", Wn = "UPDATE_USED_COMPONENT", Tl = "MAP_ATTRIBUTE_PROPS", xl = "PAGE_CONFIG", Lr = {
|
|
24
24
|
name: "柱状图",
|
|
25
25
|
type: "bar",
|
|
26
26
|
width: "400px",
|
|
@@ -299,7 +299,7 @@ const Xe = ((rl = window == null ? void 0 : window.config) == null ? void 0 : rl
|
|
|
299
299
|
},
|
|
300
300
|
setup() {
|
|
301
301
|
var x;
|
|
302
|
-
const e = ee(at), t = r(ee(lt)), n = ee(
|
|
302
|
+
const e = ee(at), t = r(ee(lt)), n = ee($e), o = ee(Ge), a = G(() => {
|
|
303
303
|
var v;
|
|
304
304
|
return ((v = r(n)) == null ? void 0 : v.dataViewId) || null;
|
|
305
305
|
}), i = z(!1), s = z([]), c = (x = window == null ? void 0 : window.config) == null ? void 0 : x.pageId, l = yo({
|
|
@@ -452,7 +452,7 @@ const Xe = ((rl = window == null ? void 0 : window.config) == null ? void 0 : rl
|
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
|
-
const
|
|
455
|
+
const he = (e, t) => {
|
|
456
456
|
const n = e.__vccOpts || e;
|
|
457
457
|
for (const [o, a] of t)
|
|
458
458
|
n[o] = a;
|
|
@@ -512,7 +512,7 @@ function Vr(e, t, n, o, a, i) {
|
|
|
512
512
|
])
|
|
513
513
|
]);
|
|
514
514
|
}
|
|
515
|
-
const Rr = /* @__PURE__ */
|
|
515
|
+
const Rr = /* @__PURE__ */ he($r, [["render", Vr], ["__scopeId", "data-v-4a66f7d2"]]);
|
|
516
516
|
function Je(e, t) {
|
|
517
517
|
Br(e) && (e = "100%");
|
|
518
518
|
var n = jr(e);
|
|
@@ -1754,7 +1754,7 @@ const Ps = Wo, Ms = pe({
|
|
|
1754
1754
|
qe(() => {
|
|
1755
1755
|
d();
|
|
1756
1756
|
});
|
|
1757
|
-
const w = ee(
|
|
1757
|
+
const w = ee($e), T = G(() => {
|
|
1758
1758
|
const $ = ["classificationList", "rowHeaderList", "dimensionList"];
|
|
1759
1759
|
let P = [];
|
|
1760
1760
|
for (const k in r(w))
|
|
@@ -1866,7 +1866,7 @@ function Hs(e, t, n, o, a, i) {
|
|
|
1866
1866
|
}, null, 8, ["pageSize", "total", "show-total", "current", "onChange"])
|
|
1867
1867
|
]);
|
|
1868
1868
|
}
|
|
1869
|
-
const Ys = /* @__PURE__ */
|
|
1869
|
+
const Ys = /* @__PURE__ */ he(Ms, [["render", Hs], ["__scopeId", "data-v-056d1f48"]]), Ws = pe({
|
|
1870
1870
|
name: "DataList",
|
|
1871
1871
|
components: {
|
|
1872
1872
|
DataSourceList: Ys,
|
|
@@ -1885,7 +1885,7 @@ function qs(e, t, n, o, a, i) {
|
|
|
1885
1885
|
e.source === "INDICATOR_LIB" ? (C(), W(c, { key: 1 })) : oe("", !0)
|
|
1886
1886
|
], 64);
|
|
1887
1887
|
}
|
|
1888
|
-
const Ks = /* @__PURE__ */
|
|
1888
|
+
const Ks = /* @__PURE__ */ he(Ws, [["render", qs]]), Fl = {
|
|
1889
1889
|
mounted(e) {
|
|
1890
1890
|
e.focus();
|
|
1891
1891
|
}
|
|
@@ -1913,7 +1913,7 @@ const Ks = /* @__PURE__ */ ye(Ws, [["render", qs]]), Fl = {
|
|
|
1913
1913
|
},
|
|
1914
1914
|
setup(e, { expose: t }) {
|
|
1915
1915
|
var x;
|
|
1916
|
-
const n = (x = window == null ? void 0 : window.config) == null ? void 0 : x.pageId, o = ee(at), a = r(ee(lt)), i = ee(
|
|
1916
|
+
const n = (x = window == null ? void 0 : window.config) == null ? void 0 : x.pageId, o = ee(at), a = r(ee(lt)), i = ee($e), s = ee(Ge), c = G(() => r(i).source), l = G(() => r(i).dataViewId), u = z([]), d = async () => {
|
|
1917
1917
|
try {
|
|
1918
1918
|
const v = await o.post(`${Xe}/diagram/groupvalue`, {
|
|
1919
1919
|
source: r(c),
|
|
@@ -2029,7 +2029,7 @@ function Zs(e, t, n, o, a, i) {
|
|
|
2029
2029
|
_: 1
|
|
2030
2030
|
}, 8, ["visible", "onCancel"]);
|
|
2031
2031
|
}
|
|
2032
|
-
const eu = /* @__PURE__ */
|
|
2032
|
+
const eu = /* @__PURE__ */ he(Qs, [["render", Zs], ["__scopeId", "data-v-8e16d201"]]), tu = pe({
|
|
2033
2033
|
name: "CustomGroupModal",
|
|
2034
2034
|
directives: {
|
|
2035
2035
|
focus: Fl
|
|
@@ -2131,15 +2131,15 @@ const eu = /* @__PURE__ */ ye(Qs, [["render", Zs], ["__scopeId", "data-v-8e16d20
|
|
|
2131
2131
|
}, x = (y, _) => {
|
|
2132
2132
|
const D = y.target.value;
|
|
2133
2133
|
r(d).has(D) && ct.error("组名不能相同,请修改"), r(u)[_].title = D, i = !0;
|
|
2134
|
-
}, v = ee(
|
|
2134
|
+
}, v = ee($e), E = ee(Ge), $ = G(() => r(v).source), P = G(() => r(v).dataViewId), k = z(!1), F = () => {
|
|
2135
2135
|
var ie, ue;
|
|
2136
2136
|
const y = r(u);
|
|
2137
2137
|
let _ = "";
|
|
2138
2138
|
r(k) && (_ = (ie = y[0]) == null ? void 0 : ie.title);
|
|
2139
2139
|
const D = y == null ? void 0 : y.length, B = {};
|
|
2140
2140
|
for (let fe = 1; fe < D; fe++) {
|
|
2141
|
-
const
|
|
2142
|
-
B[
|
|
2141
|
+
const ye = y[fe] || {}, { title: Fe, data: Ie } = ye;
|
|
2142
|
+
B[Fe] = (Ie == null ? void 0 : Ie.map((ze) => ze.label)) || [];
|
|
2143
2143
|
}
|
|
2144
2144
|
const U = ((ue = r(v)[e.type]) == null ? void 0 : ue.slice()) || [], J = U[e.index];
|
|
2145
2145
|
J.customGroup = {
|
|
@@ -2390,7 +2390,7 @@ function pu(e, t, n, o, a, i) {
|
|
|
2390
2390
|
_: 1
|
|
2391
2391
|
}, 8, ["title", "visible", "onCancel"]);
|
|
2392
2392
|
}
|
|
2393
|
-
const fu = /* @__PURE__ */
|
|
2393
|
+
const fu = /* @__PURE__ */ he(tu, [["render", pu], ["__scopeId", "data-v-7e3049d2"]]);
|
|
2394
2394
|
let Be = (e = 21) => {
|
|
2395
2395
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e));
|
|
2396
2396
|
for (; e--; ) {
|
|
@@ -2482,7 +2482,7 @@ const yu = pe({
|
|
|
2482
2482
|
},
|
|
2483
2483
|
setup(e) {
|
|
2484
2484
|
var Ot, Et, jt, Dt, He, mt, Ct, _t, it, It, $t, Ft, wt;
|
|
2485
|
-
const t = (Ot = window == null ? void 0 : window.config) == null ? void 0 : Ot.pageId, n = ee(
|
|
2485
|
+
const t = (Ot = window == null ? void 0 : window.config) == null ? void 0 : Ot.pageId, n = ee($e), o = ee(at), a = r(ee(lt)), i = ee(Al), s = ee(rt), c = z(!1), l = Ae(), u = G(() => {
|
|
2486
2486
|
var ne;
|
|
2487
2487
|
const Z = [];
|
|
2488
2488
|
return (ne = r(s)) == null || ne.forEach((ce) => {
|
|
@@ -2604,7 +2604,7 @@ const yu = pe({
|
|
|
2604
2604
|
N(e.index, e.path);
|
|
2605
2605
|
};
|
|
2606
2606
|
Se(v, (Z) => {
|
|
2607
|
-
const ne =
|
|
2607
|
+
const ne = Ce(Z);
|
|
2608
2608
|
Z.fieldType === "DATE" && Z.dataType !== "component" && Z.fieldValue && (ne.fieldValue = Z.fieldValue.format(Z.dateFormat)), F(ne, e.index, e.path);
|
|
2609
2609
|
}, {
|
|
2610
2610
|
deep: !0
|
|
@@ -2726,19 +2726,19 @@ const yu = pe({
|
|
|
2726
2726
|
if (v.value.dataType = ((ve = e.data) == null ? void 0 : ve.dataType) || "", v.value.componentId = ((de = e.data) == null ? void 0 : de.componentId) || "", v.value.keyValue = (Te = e.data) == null ? void 0 : Te.keyValue, r(v).fieldType === "DATE") {
|
|
2727
2727
|
const { activeKey: re, dateCalcTypes: we = [] } = e.data || {};
|
|
2728
2728
|
if (r(v).dateFormat = (Ve = e.data) == null ? void 0 : Ve.dateFormat, r(v).activeKey = re, r(v).calcWays = ((St = e.data) == null ? void 0 : St.calcWays) || [], r(v).dateCalcTypes = we, r(v).useCurrentTime && r(v).dataType !== "component" && (c.value = !0), re === 5) {
|
|
2729
|
-
const
|
|
2730
|
-
if (
|
|
2731
|
-
const me =
|
|
2729
|
+
const ge = r(v).calcWays[0];
|
|
2730
|
+
if (ge) {
|
|
2731
|
+
const me = ge.split("-");
|
|
2732
2732
|
r(f).expression = me[0], r(f).around = me[1];
|
|
2733
2733
|
}
|
|
2734
2734
|
r(f).unit = we[0] || "YEAR";
|
|
2735
2735
|
} else {
|
|
2736
2736
|
r(v).radioValue = ((Q = e.data) == null ? void 0 : Q.radioValue) || "";
|
|
2737
|
-
const
|
|
2738
|
-
var
|
|
2739
|
-
return me.key === ((
|
|
2737
|
+
const ge = r(w).find((me) => {
|
|
2738
|
+
var _e;
|
|
2739
|
+
return me.key === ((_e = e.data) == null ? void 0 : _e.activeKey);
|
|
2740
2740
|
});
|
|
2741
|
-
|
|
2741
|
+
ge && ze(ge, e.data);
|
|
2742
2742
|
}
|
|
2743
2743
|
} else
|
|
2744
2744
|
B.value = ((ae = (X = e.data) == null ? void 0 : X.fieldValue) == null ? void 0 : ae.split(",")) || [];
|
|
@@ -2756,7 +2756,7 @@ const yu = pe({
|
|
|
2756
2756
|
}, ue = (Z, ne) => {
|
|
2757
2757
|
m.value = !0;
|
|
2758
2758
|
const ce = Z.target.value, ve = ne.type, de = r(v).dateFormat, Te = Math.abs(ne.beforeNum), Ve = ne.afterNum;
|
|
2759
|
-
ne.value =
|
|
2759
|
+
ne.value = ke(ce, ve, de, Te, Ve);
|
|
2760
2760
|
}, fe = (Z) => {
|
|
2761
2761
|
const ne = r(v).activeKey;
|
|
2762
2762
|
if (Z !== ne)
|
|
@@ -2765,22 +2765,22 @@ const yu = pe({
|
|
|
2765
2765
|
ne === 0 ? ce = "years" : ne === 1 ? ce = "quarters" : ne === 2 ? ce = "months" : ne === 3 ? ce = "weeks" : ne === 4 && (ce = "days");
|
|
2766
2766
|
const ve = r(v).dateFormat, de = r(v).radioValue;
|
|
2767
2767
|
let Te = 0, Ve = 0;
|
|
2768
|
-
return de === "1" ? Te = Math.abs(r(v).calcWays[0]) : de === "2" && (Ve = r(v).calcWays[0]),
|
|
2769
|
-
},
|
|
2768
|
+
return de === "1" ? Te = Math.abs(r(v).calcWays[0]) : de === "2" && (Ve = r(v).calcWays[0]), ke(de, ce, ve, Te, Ve);
|
|
2769
|
+
}, ye = (Z, ne, ce, ve) => {
|
|
2770
2770
|
if (m.value = !0, ne.radioValue === ve) {
|
|
2771
2771
|
const de = Z.target.value;
|
|
2772
2772
|
ce === "+" ? ne.value = Ae().add(de, ne.type).format(r(v).dateFormat) : ne.value = Ae().subtract(de, ne.type).format(r(v).dateFormat);
|
|
2773
2773
|
}
|
|
2774
|
-
},
|
|
2774
|
+
}, Fe = (Z, ne) => {
|
|
2775
2775
|
r(v).calcWays || (r(v).calcWays = []), r(v).activeKey = ne, r(v).radioValue = Z.radioValue, Z.radioValue === "1" ? r(v).calcWays[0] = "-" + Z.beforeNum : Z.radioValue === "2" ? r(v).calcWays[0] = Z.afterNum : Z.radioValue === "3" ? ne === 4 ? r(v).calcWays[0] = "0" : r(v).calcWays[0] = "BEGIN" : Z.radioValue === "4" && (r(v).calcWays[0] = "END"), ne === 0 ? r(v).dateCalcTypes = ["YEAR"] : ne === 1 ? r(v).dateCalcTypes = ["QUARTER"] : ne === 2 ? r(v).dateCalcTypes = ["MONTH"] : ne === 3 ? r(v).dateCalcTypes = ["WEEK"] : ne === 4 && (r(v).dateCalcTypes = ["DAY"]), $.value = !1;
|
|
2776
|
-
},
|
|
2776
|
+
}, Ie = () => {
|
|
2777
2777
|
r(v).activeKey = 5, r(v).dateCalcTypes = [r(f).unit], r(v).calcWays[0] = `${r(f).expression}-${r(f).around}`, $.value = !1;
|
|
2778
2778
|
};
|
|
2779
2779
|
function ze(Z, ne) {
|
|
2780
2780
|
const { radioValue: ce = "", calcWays: ve = [] } = ne;
|
|
2781
2781
|
Z.radioValue = ce, ve != null && ve.length && (ce === "1" ? Z.beforeNum = Math.abs(ve[0]) : ce === "2" && (Z.afterNum = ve[0]));
|
|
2782
2782
|
}
|
|
2783
|
-
function
|
|
2783
|
+
function ke(Z, ne, ce, ve, de) {
|
|
2784
2784
|
if (Z === "1")
|
|
2785
2785
|
return Ae().subtract(ve, ne).format(ce);
|
|
2786
2786
|
if (Z === "2")
|
|
@@ -2836,11 +2836,11 @@ const yu = pe({
|
|
|
2836
2836
|
changeTabInitDate: ie,
|
|
2837
2837
|
changeRadioValue: ue,
|
|
2838
2838
|
getFieldValue: fe,
|
|
2839
|
-
blurCompare:
|
|
2840
|
-
okDatePickConfig:
|
|
2839
|
+
blurCompare: ye,
|
|
2840
|
+
okDatePickConfig: Fe,
|
|
2841
2841
|
onChangeComponent: L,
|
|
2842
2842
|
filterOption: Ke,
|
|
2843
|
-
okCustomConfig:
|
|
2843
|
+
okCustomConfig: Ie,
|
|
2844
2844
|
clickConditionMenu: ({ key: Z }) => {
|
|
2845
2845
|
V(e.path, e.index, Z === "2" ? "||" : "&&");
|
|
2846
2846
|
}
|
|
@@ -2892,7 +2892,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
2892
2892
|
}, {
|
|
2893
2893
|
title: b(() => [
|
|
2894
2894
|
H("span", {
|
|
2895
|
-
style:
|
|
2895
|
+
style: De(e.condition.rule === N.value ? "color: #1890FF;" : "")
|
|
2896
2896
|
}, se(N.label), 5)
|
|
2897
2897
|
]),
|
|
2898
2898
|
default: b(() => [
|
|
@@ -2904,7 +2904,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
2904
2904
|
}, {
|
|
2905
2905
|
title: b(() => [
|
|
2906
2906
|
H("span", {
|
|
2907
|
-
style:
|
|
2907
|
+
style: De(e.condition.rule === N.value && e.condition.dataType === V.value ? "color: #1890FF;" : "")
|
|
2908
2908
|
}, se(V.label), 5)
|
|
2909
2909
|
]),
|
|
2910
2910
|
default: b(() => [
|
|
@@ -2913,7 +2913,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
2913
2913
|
}, {
|
|
2914
2914
|
default: b(() => [
|
|
2915
2915
|
H("span", {
|
|
2916
|
-
style:
|
|
2916
|
+
style: De(e.condition.rule === N.value && e.condition.dataType === V.value && e.condition.dateFormat === q.value ? "color: #1890FF;" : "")
|
|
2917
2917
|
}, se(q.label), 5)
|
|
2918
2918
|
]),
|
|
2919
2919
|
_: 2
|
|
@@ -2934,7 +2934,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
2934
2934
|
default: b(() => [
|
|
2935
2935
|
j(se(e.dateBtnLabel) + " ", 1),
|
|
2936
2936
|
h(p, {
|
|
2937
|
-
style:
|
|
2937
|
+
style: De(e.downIconStyle)
|
|
2938
2938
|
}, null, 8, ["style"])
|
|
2939
2939
|
]),
|
|
2940
2940
|
_: 1
|
|
@@ -3034,7 +3034,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
3034
3034
|
default: b(() => [
|
|
3035
3035
|
e.showTime ? (C(), R("div", xu, "相对当前时间:" + se(N.value), 1)) : (C(), R("div", Lu, "相对当前时间:" + se(e.getFieldValue(V)), 1)),
|
|
3036
3036
|
h(T, {
|
|
3037
|
-
style:
|
|
3037
|
+
style: De(e.dateRadioStyle),
|
|
3038
3038
|
value: "1"
|
|
3039
3039
|
}, {
|
|
3040
3040
|
default: b(() => [
|
|
@@ -3049,7 +3049,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
3049
3049
|
_: 2
|
|
3050
3050
|
}, 1032, ["style"]),
|
|
3051
3051
|
h(T, {
|
|
3052
|
-
style:
|
|
3052
|
+
style: De(e.dateRadioStyle),
|
|
3053
3053
|
value: "2"
|
|
3054
3054
|
}, {
|
|
3055
3055
|
default: b(() => [
|
|
@@ -3065,7 +3065,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
3065
3065
|
}, 1032, ["style"]),
|
|
3066
3066
|
N.beforeText ? (C(), W(T, {
|
|
3067
3067
|
key: 2,
|
|
3068
|
-
style:
|
|
3068
|
+
style: De(e.dateRadioStyle),
|
|
3069
3069
|
value: "3"
|
|
3070
3070
|
}, {
|
|
3071
3071
|
default: b(() => [
|
|
@@ -3075,7 +3075,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
3075
3075
|
}, 1032, ["style"])) : oe("", !0),
|
|
3076
3076
|
N.afterText ? (C(), W(T, {
|
|
3077
3077
|
key: 3,
|
|
3078
|
-
style:
|
|
3078
|
+
style: De(e.dateRadioStyle),
|
|
3079
3079
|
value: "4"
|
|
3080
3080
|
}, {
|
|
3081
3081
|
default: b(() => [
|
|
@@ -3281,7 +3281,7 @@ function $u(e, t, n, o, a, i) {
|
|
|
3281
3281
|
}, null, 8, ["onClick"])
|
|
3282
3282
|
]);
|
|
3283
3283
|
}
|
|
3284
|
-
const Fu = /* @__PURE__ */
|
|
3284
|
+
const Fu = /* @__PURE__ */ he(yu, [["render", $u], ["__scopeId", "data-v-d10a7ca9"]]), Nu = pe({
|
|
3285
3285
|
name: "ConditionList",
|
|
3286
3286
|
props: {
|
|
3287
3287
|
list: {
|
|
@@ -3348,7 +3348,7 @@ function ju(e, t, n, o, a, i) {
|
|
|
3348
3348
|
], 64))), 128))
|
|
3349
3349
|
])) : oe("", !0);
|
|
3350
3350
|
}
|
|
3351
|
-
const Uu = /* @__PURE__ */
|
|
3351
|
+
const Uu = /* @__PURE__ */ he(Nu, [["render", ju], ["__scopeId", "data-v-553c1496"]]), Gu = pe({
|
|
3352
3352
|
name: "TruncationList",
|
|
3353
3353
|
props: {
|
|
3354
3354
|
list: {
|
|
@@ -3372,7 +3372,7 @@ const Uu = /* @__PURE__ */ ye(Nu, [["render", ju], ["__scopeId", "data-v-553c149
|
|
|
3372
3372
|
deep: !0
|
|
3373
3373
|
}), qe(() => {
|
|
3374
3374
|
var i;
|
|
3375
|
-
(i = e.list) != null && i.length ? o.value =
|
|
3375
|
+
(i = e.list) != null && i.length ? o.value = Ce(e.list) : o.value = [{
|
|
3376
3376
|
num: 0,
|
|
3377
3377
|
rule: "",
|
|
3378
3378
|
name: "其他"
|
|
@@ -3426,7 +3426,7 @@ function Xu(e, t, n, o, a, i) {
|
|
|
3426
3426
|
]))), 128))
|
|
3427
3427
|
]);
|
|
3428
3428
|
}
|
|
3429
|
-
const Ju = /* @__PURE__ */
|
|
3429
|
+
const Ju = /* @__PURE__ */ he(Gu, [["render", Xu], ["__scopeId", "data-v-f543c690"]]), Pe = (e, t) => {
|
|
3430
3430
|
if (typeof e == "string" && typeof t == "string")
|
|
3431
3431
|
return e.toLocaleLowerCase().includes(t.toLocaleLowerCase());
|
|
3432
3432
|
if (typeof e == "string" && Array.isArray(t)) {
|
|
@@ -3447,7 +3447,7 @@ const Ju = /* @__PURE__ */ ye(Gu, [["render", Xu], ["__scopeId", "data-v-f543c69
|
|
|
3447
3447
|
return t;
|
|
3448
3448
|
}, Pl = (e, t) => {
|
|
3449
3449
|
var f;
|
|
3450
|
-
const n =
|
|
3450
|
+
const n = Ce((e == null ? void 0 : e.controlList) || []), {
|
|
3451
3451
|
classificationList: o = [],
|
|
3452
3452
|
rowHeaderList: a = [],
|
|
3453
3453
|
dimensionList: i = [],
|
|
@@ -3804,7 +3804,7 @@ const nc = pe({
|
|
|
3804
3804
|
const n = z("1"), o = () => {
|
|
3805
3805
|
var L;
|
|
3806
3806
|
return `添加过滤条件-${((L = e.item) == null ? void 0 : L.label) || ""}`;
|
|
3807
|
-
}, a = ee(
|
|
3807
|
+
}, a = ee($e), i = ee(Ge), s = ee(rt), c = G(() => {
|
|
3808
3808
|
var L;
|
|
3809
3809
|
return (L = r(a)) == null ? void 0 : L.dataSourceId;
|
|
3810
3810
|
}), l = ee(yt), u = ee(Wn), d = z([]), p = z([]), m = z(!1), g = (L) => {
|
|
@@ -3816,10 +3816,10 @@ const nc = pe({
|
|
|
3816
3816
|
var M, I, Y, K;
|
|
3817
3817
|
if (L) {
|
|
3818
3818
|
if (Array.isArray((M = e.item) == null ? void 0 : M.conditions)) {
|
|
3819
|
-
const y =
|
|
3819
|
+
const y = Ce(((I = e.item) == null ? void 0 : I.conditions) || []);
|
|
3820
3820
|
g(y), d.value = y;
|
|
3821
3821
|
}
|
|
3822
|
-
Array.isArray((Y = e.item) == null ? void 0 : Y.truncations) ? p.value =
|
|
3822
|
+
Array.isArray((Y = e.item) == null ? void 0 : Y.truncations) ? p.value = Ce((K = e.item) == null ? void 0 : K.truncations) || [] : p.value = [{
|
|
3823
3823
|
rule: "",
|
|
3824
3824
|
num: 0,
|
|
3825
3825
|
name: "其他"
|
|
@@ -3844,7 +3844,7 @@ const nc = pe({
|
|
|
3844
3844
|
keyValue: Be()
|
|
3845
3845
|
}));
|
|
3846
3846
|
};
|
|
3847
|
-
|
|
3847
|
+
Le(Sl, {
|
|
3848
3848
|
updateCondition(L, M, I) {
|
|
3849
3849
|
var y;
|
|
3850
3850
|
S = !0;
|
|
@@ -3881,7 +3881,7 @@ const nc = pe({
|
|
|
3881
3881
|
break;
|
|
3882
3882
|
if (ie === I[0].join) {
|
|
3883
3883
|
if (Array.isArray(I[0].conditions)) {
|
|
3884
|
-
const ue =
|
|
3884
|
+
const ue = Ce(I[0].conditions);
|
|
3885
3885
|
J.splice(+B, 1), J.splice(+B, 0, ...ue);
|
|
3886
3886
|
}
|
|
3887
3887
|
} else
|
|
@@ -3907,7 +3907,7 @@ const nc = pe({
|
|
|
3907
3907
|
keyValue: Be()
|
|
3908
3908
|
});
|
|
3909
3909
|
else {
|
|
3910
|
-
const B =
|
|
3910
|
+
const B = Ce(Y[M]);
|
|
3911
3911
|
Y[M] = {
|
|
3912
3912
|
join: I,
|
|
3913
3913
|
conditions: [
|
|
@@ -3944,7 +3944,7 @@ const nc = pe({
|
|
|
3944
3944
|
}), L;
|
|
3945
3945
|
}), A = () => {
|
|
3946
3946
|
var _, D, B;
|
|
3947
|
-
const L = Tt(((_ = r(a)) == null ? void 0 : _.controlList) || []), M = ((D = r(a)[e.type]) == null ? void 0 : D.slice()) || [], I = Tt(
|
|
3947
|
+
const L = Tt(((_ = r(a)) == null ? void 0 : _.controlList) || []), M = ((D = r(a)[e.type]) == null ? void 0 : D.slice()) || [], I = Tt(Ce(M[e.index].conditions));
|
|
3948
3948
|
M[e.index].conditions = r(d), ["classificationList", "rowHeaderList", "dimensionList"].includes(e.type) && ((B = r(p)) != null && B.length) && (M[e.index].truncations = r(p));
|
|
3949
3949
|
const Y = Tt(r(d));
|
|
3950
3950
|
for (const U of Y)
|
|
@@ -4008,7 +4008,7 @@ const nc = pe({
|
|
|
4008
4008
|
}, P = () => {
|
|
4009
4009
|
E();
|
|
4010
4010
|
}, k = ee(at), F = r(ee(lt)), N = (q = window == null ? void 0 : window.config) == null ? void 0 : q.pageId, V = z([]);
|
|
4011
|
-
|
|
4011
|
+
Le(Al, V);
|
|
4012
4012
|
const te = async (L) => {
|
|
4013
4013
|
var M;
|
|
4014
4014
|
if (["leftAxisList", "rightAxisList", "indicators", "queryColumnList"].includes(e.type))
|
|
@@ -4178,7 +4178,7 @@ function lc(e, t, n, o, a, i) {
|
|
|
4178
4178
|
_: 1
|
|
4179
4179
|
}, 8, ["title", "visible", "onOk", "onCancel"]);
|
|
4180
4180
|
}
|
|
4181
|
-
const rc = /* @__PURE__ */
|
|
4181
|
+
const rc = /* @__PURE__ */ he(nc, [["render", lc], ["__scopeId", "data-v-498bb1e7"]]), ic = pe({
|
|
4182
4182
|
name: "ConfigName",
|
|
4183
4183
|
props: {
|
|
4184
4184
|
index: {
|
|
@@ -4196,7 +4196,7 @@ const rc = /* @__PURE__ */ ye(nc, [["render", lc], ["__scopeId", "data-v-498bb1e
|
|
|
4196
4196
|
AModal: xt
|
|
4197
4197
|
},
|
|
4198
4198
|
setup(e, { expose: t }) {
|
|
4199
|
-
const n = z(!1), o = ee(
|
|
4199
|
+
const n = z(!1), o = ee($e), a = ee(Ge), i = z(), s = (d) => {
|
|
4200
4200
|
const { showLabel: p = "", label: m = "" } = d;
|
|
4201
4201
|
i.value = p || m || "", n.value = !0;
|
|
4202
4202
|
}, c = () => {
|
|
@@ -4251,7 +4251,7 @@ function dc(e, t, n, o, a, i) {
|
|
|
4251
4251
|
_: 1
|
|
4252
4252
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
4253
4253
|
}
|
|
4254
|
-
const pc = /* @__PURE__ */
|
|
4254
|
+
const pc = /* @__PURE__ */ he(ic, [["render", dc], ["__scopeId", "data-v-de6a1755"]]), fc = pe({
|
|
4255
4255
|
name: "SortByCpnt",
|
|
4256
4256
|
props: {
|
|
4257
4257
|
index: {
|
|
@@ -4269,14 +4269,14 @@ const pc = /* @__PURE__ */ ye(ic, [["render", dc], ["__scopeId", "data-v-de6a175
|
|
|
4269
4269
|
AModal: xt
|
|
4270
4270
|
},
|
|
4271
4271
|
setup(e, { expose: t }) {
|
|
4272
|
-
const n = z(!1), o = ee(
|
|
4272
|
+
const n = z(!1), o = ee($e), a = ee(Ge), i = ee(rt), s = ee(yt), c = ee(Wn), l = z(), u = G(() => {
|
|
4273
4273
|
var T;
|
|
4274
4274
|
return (T = r(i)) == null ? void 0 : T.filter((A) => A.keyName !== "");
|
|
4275
4275
|
});
|
|
4276
4276
|
let d = [];
|
|
4277
4277
|
const p = (T) => {
|
|
4278
4278
|
const { sortCpnts: A = [] } = T;
|
|
4279
|
-
d =
|
|
4279
|
+
d = Ce(A), l.value = Ce(A), n.value = !0;
|
|
4280
4280
|
}, m = () => {
|
|
4281
4281
|
n.value = !1;
|
|
4282
4282
|
}, g = () => {
|
|
@@ -4382,7 +4382,7 @@ function yc(e, t, n, o, a, i) {
|
|
|
4382
4382
|
_: 1
|
|
4383
4383
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
4384
4384
|
}
|
|
4385
|
-
const gc = /* @__PURE__ */
|
|
4385
|
+
const gc = /* @__PURE__ */ he(fc, [["render", yc], ["__scopeId", "data-v-08af1ef8"]]), bc = pe({
|
|
4386
4386
|
name: "DimByCount",
|
|
4387
4387
|
props: {
|
|
4388
4388
|
index: {
|
|
@@ -4400,7 +4400,7 @@ const gc = /* @__PURE__ */ ye(fc, [["render", yc], ["__scopeId", "data-v-08af1ef
|
|
|
4400
4400
|
AModal: xt
|
|
4401
4401
|
},
|
|
4402
4402
|
setup(e, { expose: t }) {
|
|
4403
|
-
const n = z(!1), o = ee(
|
|
4403
|
+
const n = z(!1), o = ee($e), a = ee(Ge), i = z(), s = z([]), c = (m, g) => {
|
|
4404
4404
|
const { dimByCount: S = "" } = m;
|
|
4405
4405
|
i.value = S, s.value = g.filter((f) => ["DIM", "BUILT_IN_DIM"].includes(f.scope)).map((f) => ({
|
|
4406
4406
|
label: f.title || f.name,
|
|
@@ -4468,7 +4468,7 @@ function Sc(e, t, n, o, a, i) {
|
|
|
4468
4468
|
_: 1
|
|
4469
4469
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
4470
4470
|
}
|
|
4471
|
-
const Ac = /* @__PURE__ */
|
|
4471
|
+
const Ac = /* @__PURE__ */ he(bc, [["render", Sc], ["__scopeId", "data-v-e8608437"]]), uo = (e, t) => {
|
|
4472
4472
|
let n;
|
|
4473
4473
|
for (let o = 0; o < t.length; o++) {
|
|
4474
4474
|
const a = t[o];
|
|
@@ -4504,7 +4504,7 @@ const Ac = /* @__PURE__ */ ye(bc, [["render", Sc], ["__scopeId", "data-v-e860843
|
|
|
4504
4504
|
},
|
|
4505
4505
|
emits: ["update:value", "change"],
|
|
4506
4506
|
setup(e, { emit: t }) {
|
|
4507
|
-
const n = ee(at), o = r(ee(lt)), a = ee(
|
|
4507
|
+
const n = ee(at), o = r(ee(lt)), a = ee($e), i = G(() => r(a).leftAxisList || []), s = G(() => r(a).variableList || []), c = G(
|
|
4508
4508
|
() => r(a).rightAxisList || []
|
|
4509
4509
|
), l = G(() => r(a).indicators || []), u = G(
|
|
4510
4510
|
() => r(a).queryColumnList || []
|
|
@@ -4711,7 +4711,7 @@ function Uc(e, t, n, o, a, i) {
|
|
|
4711
4711
|
})
|
|
4712
4712
|
]);
|
|
4713
4713
|
}
|
|
4714
|
-
const Gc = /* @__PURE__ */
|
|
4714
|
+
const Gc = /* @__PURE__ */ he(Tc, [["render", Uc], ["__scopeId", "data-v-ba051d9b"]]), zc = pe({
|
|
4715
4715
|
name: "CalculationModal",
|
|
4716
4716
|
components: {
|
|
4717
4717
|
FormulaCalculation: Gc,
|
|
@@ -4747,7 +4747,7 @@ const Gc = /* @__PURE__ */ ye(Tc, [["render", Uc], ["__scopeId", "data-v-ba051d9
|
|
|
4747
4747
|
}
|
|
4748
4748
|
},
|
|
4749
4749
|
setup(e, { expose: t }) {
|
|
4750
|
-
const n = ee(rt), o = ee(
|
|
4750
|
+
const n = ee(rt), o = ee($e), a = ee(Ge), i = G(() => r(n)), s = G(
|
|
4751
4751
|
() => r(o)[e.type] || []
|
|
4752
4752
|
), c = G(() => {
|
|
4753
4753
|
const q = ["leftAxisList", "rightAxisList", "queryColumnList", "indicators"];
|
|
@@ -4796,9 +4796,9 @@ const Gc = /* @__PURE__ */ ye(Tc, [["render", Uc], ["__scopeId", "data-v-ba051d9
|
|
|
4796
4796
|
});
|
|
4797
4797
|
}
|
|
4798
4798
|
} else
|
|
4799
|
-
e.mode === "add" && (f.value =
|
|
4799
|
+
e.mode === "add" && (f.value = Ce(d), m.value = Ce(p));
|
|
4800
4800
|
else
|
|
4801
|
-
f.value =
|
|
4801
|
+
f.value = Ce(d), m.value = Ce(p);
|
|
4802
4802
|
window.changeShowTable && window.changeShowTable(!q);
|
|
4803
4803
|
},
|
|
4804
4804
|
{
|
|
@@ -5331,7 +5331,7 @@ function Wc(e, t, n, o, a, i) {
|
|
|
5331
5331
|
_: 1
|
|
5332
5332
|
}, 8, ["title", "visible", "onOk", "onCancel"]);
|
|
5333
5333
|
}
|
|
5334
|
-
const qc = /* @__PURE__ */
|
|
5334
|
+
const qc = /* @__PURE__ */ he(zc, [["render", Wc], ["__scopeId", "data-v-33575cd9"]]), Kc = pe({
|
|
5335
5335
|
name: "DataConfigCard",
|
|
5336
5336
|
directives: {
|
|
5337
5337
|
focus: Fl
|
|
@@ -5377,7 +5377,7 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5377
5377
|
{ label: "年", value: "YYYY" },
|
|
5378
5378
|
{ label: "年月", value: "YYYY-MM" },
|
|
5379
5379
|
{ label: "年月日", value: "YYYY-MM-DD" }
|
|
5380
|
-
], n = ee(
|
|
5380
|
+
], n = ee($e), o = ee(Ge), a = ee(rt), i = ["leftAxisList", "rightAxisList", "indicators"], s = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], c = ee(Oo), l = z(), u = (Q = {}) => {
|
|
5381
5381
|
var re;
|
|
5382
5382
|
const { type: X } = e;
|
|
5383
5383
|
if (r(c) === "SQL_VIEW")
|
|
@@ -5398,33 +5398,34 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5398
5398
|
(e.type === "seriesList" || e.type === "classificationList" && !Pe(r(Te).type, ["list", "circulate"]) || r(d)) && we.forEach((me) => {
|
|
5399
5399
|
me.show = !1;
|
|
5400
5400
|
}), g(we, re), re.randomKey = Be(), we.push(re);
|
|
5401
|
-
|
|
5401
|
+
const ge = {};
|
|
5402
5402
|
if (["IDX", "BUILT_IN_IDX"].includes(re.scope)) {
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5403
|
+
let me = [];
|
|
5404
|
+
const _e = sessionStorage.getItem("indicator-variates");
|
|
5405
|
+
if (_e) {
|
|
5406
|
+
const Oe = JSON.parse(_e);
|
|
5407
|
+
if (Oe != null && Oe.length) {
|
|
5408
|
+
me = ((ae = r(n)) == null ? void 0 : ae.variableList) || [];
|
|
5409
|
+
for (const xe of Oe)
|
|
5410
|
+
me.unshift({
|
|
5411
|
+
...xe,
|
|
5411
5412
|
dataType: "",
|
|
5412
5413
|
id: null,
|
|
5413
5414
|
dateTypeValue: null,
|
|
5414
|
-
format:
|
|
5415
|
-
variableName:
|
|
5416
|
-
variableType:
|
|
5415
|
+
format: xe.valueFormat && xe.valueFormat.toUpperCase() || null,
|
|
5416
|
+
variableName: xe.name,
|
|
5417
|
+
variableType: xe.valueType,
|
|
5417
5418
|
label: re.label,
|
|
5418
5419
|
randomKey: re.randomKey,
|
|
5419
5420
|
keyValue: Be()
|
|
5420
5421
|
});
|
|
5421
5422
|
}
|
|
5422
5423
|
}
|
|
5424
|
+
ge.variableList = me, ge.variableConditions = rn(me, a);
|
|
5423
5425
|
}
|
|
5424
5426
|
o({
|
|
5425
5427
|
[e.type]: we,
|
|
5426
|
-
|
|
5427
|
-
variableConditions: rn(he, a)
|
|
5428
|
+
...ge
|
|
5428
5429
|
}), sessionStorage.setItem("indicator-list-item", ""), sessionStorage.setItem("indicator-variates", "");
|
|
5429
5430
|
} catch (re) {
|
|
5430
5431
|
console.error(re);
|
|
@@ -5435,11 +5436,11 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5435
5436
|
const { cardItem: ae, type: re, index: we } = JSON.parse(Q);
|
|
5436
5437
|
if (!u(ae) || re === e.type)
|
|
5437
5438
|
return;
|
|
5438
|
-
const
|
|
5439
|
-
g(
|
|
5439
|
+
const ge = ((X = r(n)[e.type]) == null ? void 0 : X.slice()) || [];
|
|
5440
|
+
g(ge, ae), ge.push(ae);
|
|
5440
5441
|
const me = r(n)[re].slice() || [];
|
|
5441
5442
|
me.splice(we, 1), o({
|
|
5442
|
-
[e.type]:
|
|
5443
|
+
[e.type]: ge,
|
|
5443
5444
|
[re]: me
|
|
5444
5445
|
});
|
|
5445
5446
|
} catch (ae) {
|
|
@@ -5459,8 +5460,8 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5459
5460
|
}
|
|
5460
5461
|
}
|
|
5461
5462
|
const S = (Q, X) => {
|
|
5462
|
-
var we,
|
|
5463
|
-
const ae = (we = Q.target) == null ? void 0 : we.checked, re = ((
|
|
5463
|
+
var we, ge;
|
|
5464
|
+
const ae = (we = Q.target) == null ? void 0 : we.checked, re = ((ge = r(n)[e.type]) == null ? void 0 : ge.slice()) || [];
|
|
5464
5465
|
(e.type === "seriesList" || e.type === "classificationList" && !Pe(r(Te).type, ["list", "circulate"]) || r(d)) && re.forEach((me) => {
|
|
5465
5466
|
me.show = !1;
|
|
5466
5467
|
}), re[X].show = ae, o({
|
|
@@ -5478,20 +5479,20 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5478
5479
|
const Q = sessionStorage.getItem("indicator-list-item"), X = sessionStorage.getItem("indicator-card-item");
|
|
5479
5480
|
Q ? p(Q) : X && m(X);
|
|
5480
5481
|
}, A = (Q) => {
|
|
5481
|
-
var
|
|
5482
|
-
const { newIndex: X, oldIndex: ae, from: re, to: we } = Q,
|
|
5482
|
+
var _e, Oe;
|
|
5483
|
+
const { newIndex: X, oldIndex: ae, from: re, to: we } = Q, ge = re.id, me = we.id;
|
|
5483
5484
|
if (X >= 0 && ae >= 0) {
|
|
5484
|
-
if (
|
|
5485
|
-
const
|
|
5486
|
-
st && (
|
|
5487
|
-
[e.type]:
|
|
5485
|
+
if (ge === me) {
|
|
5486
|
+
const xe = ((_e = r(n)[e.type]) == null ? void 0 : _e.slice()) || [], st = xe.splice(ae, 1)[0];
|
|
5487
|
+
st && (xe.splice(X, 0, st), o({
|
|
5488
|
+
[e.type]: xe
|
|
5488
5489
|
}));
|
|
5489
5490
|
} else if (e.type === me) {
|
|
5490
|
-
const
|
|
5491
|
-
if (
|
|
5492
|
-
const st =
|
|
5493
|
-
st && (
|
|
5494
|
-
[e.type]:
|
|
5491
|
+
const xe = ((Oe = r(n)[me]) == null ? void 0 : Oe.slice()) || [];
|
|
5492
|
+
if (xe != null && xe.length) {
|
|
5493
|
+
const st = xe.splice(xe.length - 1, 1)[0];
|
|
5494
|
+
st && (xe.splice(X, 0, st), o({
|
|
5495
|
+
[e.type]: xe
|
|
5495
5496
|
}));
|
|
5496
5497
|
}
|
|
5497
5498
|
}
|
|
@@ -5519,12 +5520,12 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5519
5520
|
var ae, re, we;
|
|
5520
5521
|
const X = ((ae = r(n)[e.type]) == null ? void 0 : ae.slice()) || [];
|
|
5521
5522
|
if ((re = X[Q]) != null && re.randomKey) {
|
|
5522
|
-
const
|
|
5523
|
-
for (let me =
|
|
5524
|
-
|
|
5523
|
+
const ge = ((we = r(n)) == null ? void 0 : we.variableList) || [];
|
|
5524
|
+
for (let me = ge.length - 1; me >= 0; me--)
|
|
5525
|
+
ge[me].randomKey === X[Q].randomKey && ge.splice(me, 1);
|
|
5525
5526
|
o({
|
|
5526
|
-
variableConditions: rn(
|
|
5527
|
-
variableList:
|
|
5527
|
+
variableConditions: rn(ge, a),
|
|
5528
|
+
variableList: ge
|
|
5528
5529
|
});
|
|
5529
5530
|
}
|
|
5530
5531
|
X.splice(Q, 1), o({
|
|
@@ -5535,49 +5536,49 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5535
5536
|
}, F = () => {
|
|
5536
5537
|
$ = !0;
|
|
5537
5538
|
}, N = (Q, X, ae) => {
|
|
5538
|
-
var re, we,
|
|
5539
|
+
var re, we, ge, me;
|
|
5539
5540
|
if (E.value[X] = !1, $) {
|
|
5540
|
-
const
|
|
5541
|
+
const _e = (re = Q.target) == null ? void 0 : re.value, Oe = ((we = r(n)[e.type]) == null ? void 0 : we.slice()) || [], xe = Oe.filter((Ee) => {
|
|
5541
5542
|
var Ne;
|
|
5542
|
-
return (Ne =
|
|
5543
|
-
}).map((
|
|
5543
|
+
return (Ne = Ee == null ? void 0 : Ee.formula) == null ? void 0 : Ne.includes(ae);
|
|
5544
|
+
}).map((Ee) => Ee.id), st = Oe.filter((Ee) => {
|
|
5544
5545
|
var Ne;
|
|
5545
|
-
return (Ne =
|
|
5546
|
-
}).map((
|
|
5547
|
-
if (
|
|
5548
|
-
for (const
|
|
5549
|
-
const Ne =
|
|
5550
|
-
Ne.formula = Ne.formula.replaceAll(ae,
|
|
5546
|
+
return (Ne = Ee == null ? void 0 : Ee.builtInValueSource) == null ? void 0 : Ne.includes(ae);
|
|
5547
|
+
}).map((Ee) => Ee.id);
|
|
5548
|
+
if (xe != null && xe.length)
|
|
5549
|
+
for (const Ee of xe) {
|
|
5550
|
+
const Ne = Oe.find((Nt) => Nt.id === Ee);
|
|
5551
|
+
Ne.formula = Ne.formula.replaceAll(ae, _e);
|
|
5551
5552
|
}
|
|
5552
5553
|
if (st != null && st.length)
|
|
5553
|
-
for (const
|
|
5554
|
-
const Ne =
|
|
5555
|
-
Ne.builtInValueSource = Ne.builtInValueSource.replaceAll(ae,
|
|
5554
|
+
for (const Ee of st) {
|
|
5555
|
+
const Ne = Oe.find((Nt) => Nt.id === Ee);
|
|
5556
|
+
Ne.builtInValueSource = Ne.builtInValueSource.replaceAll(ae, _e);
|
|
5556
5557
|
}
|
|
5557
|
-
if (
|
|
5558
|
-
const
|
|
5558
|
+
if (Oe[X].label = _e, (ge = Oe[X]) != null && ge.randomKey) {
|
|
5559
|
+
const Ee = ((me = r(n)) == null ? void 0 : me.variableList) || [], Ne = Ee.filter((Nt) => Nt.randomKey === Oe[X].randomKey);
|
|
5559
5560
|
Ne != null && Ne.length && Ne.forEach((Nt) => {
|
|
5560
|
-
Nt.label =
|
|
5561
|
+
Nt.label = _e;
|
|
5561
5562
|
}), o({
|
|
5562
|
-
variableConditions: rn(
|
|
5563
|
-
variableList:
|
|
5563
|
+
variableConditions: rn(Ee, a),
|
|
5564
|
+
variableList: Ee
|
|
5564
5565
|
});
|
|
5565
5566
|
}
|
|
5566
5567
|
o({
|
|
5567
|
-
[e.type]:
|
|
5568
|
+
[e.type]: Oe
|
|
5568
5569
|
});
|
|
5569
5570
|
}
|
|
5570
5571
|
$ = !1;
|
|
5571
5572
|
}, V = "DEFAULT", te = G(() => {
|
|
5572
5573
|
const Q = [], { scope: X, label: ae } = r(l);
|
|
5573
5574
|
let re = r(n)[e.type] || [];
|
|
5574
|
-
if (["DIM", "BUILT_IN_DIM"].includes(X) && (re = re.filter((
|
|
5575
|
-
const
|
|
5576
|
-
delete
|
|
5575
|
+
if (["DIM", "BUILT_IN_DIM"].includes(X) && (re = re.filter((_e) => _e.label === ae)), X === "DIM" && !r(l).typeGuid.includes("_code")) {
|
|
5576
|
+
const _e = Ce(r(l));
|
|
5577
|
+
delete _e.show, delete _e.truncations, delete _e.conditions, _e.hrpIndexComplexid += "_code", _e.id += "_code", _e.typeGuid += "_code", _e.label = _e.name + "_编码", _e.name = _e.typeGuid, _e.defaultCode = _e.typeGuid, Q.push(_e);
|
|
5577
5578
|
}
|
|
5578
5579
|
const {
|
|
5579
5580
|
leftAxisList: we = [],
|
|
5580
|
-
rightAxisList:
|
|
5581
|
+
rightAxisList: ge = [],
|
|
5581
5582
|
indicators: me = []
|
|
5582
5583
|
} = r(n) || {};
|
|
5583
5584
|
return [
|
|
@@ -5589,27 +5590,27 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5589
5590
|
...re,
|
|
5590
5591
|
...Q,
|
|
5591
5592
|
...we,
|
|
5592
|
-
...
|
|
5593
|
+
...ge,
|
|
5593
5594
|
...me
|
|
5594
5595
|
];
|
|
5595
5596
|
}), q = (Q = {}, X, ae = "ASC") => {
|
|
5596
|
-
var
|
|
5597
|
-
const { label: re, name: we, id:
|
|
5598
|
-
|
|
5597
|
+
var Oe;
|
|
5598
|
+
const { label: re, name: we, id: ge, defaultCode: me } = Q, _e = ((Oe = r(n)[e.type]) == null ? void 0 : Oe.slice()) || [];
|
|
5599
|
+
ge === V ? delete _e[X].sort : _e[X].sort = {
|
|
5599
5600
|
label: re,
|
|
5600
5601
|
columnName: we,
|
|
5601
5602
|
type: "NORMAL",
|
|
5602
5603
|
order: ae,
|
|
5603
5604
|
defaultCode: me
|
|
5604
5605
|
}, o({
|
|
5605
|
-
[e.type]:
|
|
5606
|
+
[e.type]: _e
|
|
5606
5607
|
});
|
|
5607
5608
|
}, L = (Q = {}, X = "ASC") => {
|
|
5608
5609
|
const re = {
|
|
5609
5610
|
ASC: "升序",
|
|
5610
5611
|
DESC: "降序"
|
|
5611
|
-
}[X], { sort: we } = Q, { label:
|
|
5612
|
-
return
|
|
5612
|
+
}[X], { sort: we } = Q, { label: ge, order: me } = we || {};
|
|
5613
|
+
return ge && me === X ? `${re}(${ge})` : re;
|
|
5613
5614
|
}, M = z(), I = z(), Y = z(), K = z(), y = (Q = {}, X) => {
|
|
5614
5615
|
var ae;
|
|
5615
5616
|
M.value = Q, I.value = X, (ae = r(Y)) == null || ae.showModal();
|
|
@@ -5667,22 +5668,22 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5667
5668
|
ae[X].dateFormat = Q, o({
|
|
5668
5669
|
[e.type]: ae
|
|
5669
5670
|
});
|
|
5670
|
-
},
|
|
5671
|
+
}, ye = (Q = "SUM") => `汇总方式(${{
|
|
5671
5672
|
SUM: "总和",
|
|
5672
5673
|
AVG: "平均数",
|
|
5673
5674
|
MIN: "最小值",
|
|
5674
5675
|
MAX: "最大值",
|
|
5675
5676
|
COUNT: "计数"
|
|
5676
|
-
}[Q]})`,
|
|
5677
|
+
}[Q]})`, Fe = (Q) => `是否去重(${{
|
|
5677
5678
|
0: "否",
|
|
5678
5679
|
1: "是"
|
|
5679
|
-
}[Q] || "否"})`,
|
|
5680
|
+
}[Q] || "否"})`, Ie = (Q = {}) => {
|
|
5680
5681
|
var X;
|
|
5681
5682
|
return "过滤" + (Q != null && Q.conditions && ((X = Q == null ? void 0 : Q.conditions) == null ? void 0 : X.length) > 0 ? "(已配置)" : "");
|
|
5682
|
-
}, ze = z(),
|
|
5683
|
+
}, ze = z(), ke = z(), Ke = z(), bt = z(), Cn = (Q = {}, X) => {
|
|
5683
5684
|
M.value = Q, I.value = X, r(ze).showModal();
|
|
5684
5685
|
}, Ot = (Q = {}, X) => {
|
|
5685
|
-
M.value = Q, I.value = X, r(
|
|
5686
|
+
M.value = Q, I.value = X, r(ke).showModal(Q);
|
|
5686
5687
|
}, Et = (Q = {}, X) => {
|
|
5687
5688
|
M.value = Q, I.value = X, r(Ke).showModal(Q);
|
|
5688
5689
|
}, jt = (Q = {}, X) => {
|
|
@@ -5721,8 +5722,8 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5721
5722
|
Authentication: _t,
|
|
5722
5723
|
operateContext: "ygt"
|
|
5723
5724
|
}
|
|
5724
|
-
}), { success:
|
|
5725
|
-
|
|
5725
|
+
}), { success: ge, data: me } = we.data;
|
|
5726
|
+
ge && me && (ne.value = (me == null ? void 0 : me.dataViewColumns) || [], Z.value[ae] = {
|
|
5726
5727
|
name: me.name,
|
|
5727
5728
|
code: me.indexCode
|
|
5728
5729
|
});
|
|
@@ -5773,12 +5774,12 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5773
5774
|
onAggregateChange: ie,
|
|
5774
5775
|
onDistinctChange: ue,
|
|
5775
5776
|
onDateFormatChange: fe,
|
|
5776
|
-
handleAggregateTitle:
|
|
5777
|
-
handleDistinctTitle:
|
|
5777
|
+
handleAggregateTitle: ye,
|
|
5778
|
+
handleDistinctTitle: Fe,
|
|
5778
5779
|
onShowCalculationModal: mt,
|
|
5779
|
-
handleFilterTitle:
|
|
5780
|
+
handleFilterTitle: Ie,
|
|
5780
5781
|
filterModalRef: ze,
|
|
5781
|
-
configNameRef:
|
|
5782
|
+
configNameRef: ke,
|
|
5782
5783
|
sortByCpntRef: Ke,
|
|
5783
5784
|
dimByCountRef: bt,
|
|
5784
5785
|
showFilterModal: Cn,
|
|
@@ -5802,7 +5803,7 @@ const qc = /* @__PURE__ */ ye(zc, [["render", Wc], ["__scopeId", "data-v-33575cd
|
|
|
5802
5803
|
};
|
|
5803
5804
|
}
|
|
5804
5805
|
});
|
|
5805
|
-
const en = (e) => (Rt("data-v-
|
|
5806
|
+
const en = (e) => (Rt("data-v-bbdaad2f"), e = e(), Bt(), e), Qc = { class: "title" }, Xc = { class: "title-text" }, Jc = { class: "field-wrap" }, Zc = { class: "field-item" }, ed = /* @__PURE__ */ en(() => /* @__PURE__ */ H("div", { class: "item-label" }, "名称:", -1)), td = { class: "field-item" }, nd = /* @__PURE__ */ en(() => /* @__PURE__ */ H("div", { class: "item-label" }, "值:", -1)), od = { class: "title" }, ad = { class: "title-text" }, ld = /* @__PURE__ */ en(() => /* @__PURE__ */ H("p", null, "配置了维度后,会使用返回数据的第一条中以【维度名】为key的值作为显示值", -1)), rd = /* @__PURE__ */ en(() => /* @__PURE__ */ H("span", null, "添加计算指标", -1)), id = { class: "card-item-wrap" }, sd = { class: "card-item-inner" }, ud = ["onClick"], cd = ["onClick"], dd = ["onClick"], pd = { style: { display: "flex", "align-items": "center" } }, fd = ["title"], md = /* @__PURE__ */ en(() => /* @__PURE__ */ H("span", { style: { "font-weight": "bold" } }, "指标名:", -1)), vd = { style: { display: "flex", "align-items": "center" } }, hd = ["title"], yd = /* @__PURE__ */ en(() => /* @__PURE__ */ H("span", { style: { "font-weight": "bold" } }, "指标编码:", -1));
|
|
5806
5807
|
function gd(e, t, n, o, a, i) {
|
|
5807
5808
|
const s = O("a-select"), c = O("a-card"), l = O("info-circle-outlined"), u = O("a-popover"), d = O("plus-outlined"), p = O("a-input"), m = O("setting-outlined"), g = O("a-menu-item"), S = O("a-sub-menu"), f = O("a-menu-divider"), w = O("copy-outlined"), T = O("a-menu"), A = O("a-dropdown"), x = O("delete-outlined"), v = O("a-checkbox"), E = O("draggable"), $ = O("custom-sort-modal"), P = O("custom-group-modal"), k = O("filter-modal"), F = O("config-name"), N = O("sort-by-cpnt"), V = O("dim-by-count"), te = O("calculation-modal"), q = bo("focus");
|
|
5808
5809
|
return e.type === "formFields" ? (C(), W(c, {
|
|
@@ -6005,7 +6006,7 @@ function gd(e, t, n, o, a, i) {
|
|
|
6005
6006
|
}, {
|
|
6006
6007
|
default: b(() => [
|
|
6007
6008
|
H("span", {
|
|
6008
|
-
style:
|
|
6009
|
+
style: De(L.dateFormat === I.value || !L.dateFormat && I.value === "YYYY-MM" ? "color: #1890FF;" : "")
|
|
6009
6010
|
}, se(I.label), 5)
|
|
6010
6011
|
]),
|
|
6011
6012
|
_: 2
|
|
@@ -6209,7 +6210,7 @@ function gd(e, t, n, o, a, i) {
|
|
|
6209
6210
|
_: 1
|
|
6210
6211
|
}, 8, ["head-style"]));
|
|
6211
6212
|
}
|
|
6212
|
-
const bd = /* @__PURE__ */
|
|
6213
|
+
const bd = /* @__PURE__ */ he(Kc, [["render", gd], ["__scopeId", "data-v-bbdaad2f"]]), Cd = {
|
|
6213
6214
|
classificationList: {
|
|
6214
6215
|
title: "分类"
|
|
6215
6216
|
},
|
|
@@ -6252,7 +6253,7 @@ const bd = /* @__PURE__ */ ye(Kc, [["render", gd], ["__scopeId", "data-v-c2ca001
|
|
|
6252
6253
|
}), o = z({}), a = yo([]), i = ee(Ge), s = (l, u) => Object.prototype.hasOwnProperty.call(l, u);
|
|
6253
6254
|
return (() => {
|
|
6254
6255
|
var w, T;
|
|
6255
|
-
const l =
|
|
6256
|
+
const l = Ce((w = r(e)) == null ? void 0 : w.graphicConfig), u = ["classificationList", "seriesList", "leftAxisList", "rightAxisList", "indicators", "rowHeaderList", "queryColumnList"], d = {
|
|
6256
6257
|
// leftAxisList + rightAxisList = indicatorList,只是 location 是 LEFT,RIGHT
|
|
6257
6258
|
pie: ["classificationList", "indicators"],
|
|
6258
6259
|
circulate: ["classificationList", "indicators"],
|
|
@@ -6305,7 +6306,7 @@ function Sd(e, t, n, o, a, i) {
|
|
|
6305
6306
|
}, c), null, 16, ["type"]))), 128))
|
|
6306
6307
|
]);
|
|
6307
6308
|
}
|
|
6308
|
-
const Ad = /* @__PURE__ */
|
|
6309
|
+
const Ad = /* @__PURE__ */ he(_d, [["render", Sd], ["__scopeId", "data-v-64cc2643"]]), Td = [
|
|
6309
6310
|
{
|
|
6310
6311
|
title: "基本属性",
|
|
6311
6312
|
props: [
|
|
@@ -7196,7 +7197,7 @@ function kd(e, t, n, o, a, i) {
|
|
|
7196
7197
|
[c]
|
|
7197
7198
|
]);
|
|
7198
7199
|
}
|
|
7199
|
-
const Od = /* @__PURE__ */
|
|
7200
|
+
const Od = /* @__PURE__ */ he(Ld, [["render", kd]]), Ed = pe({
|
|
7200
7201
|
name: "InputNumber",
|
|
7201
7202
|
props: {
|
|
7202
7203
|
value: {
|
|
@@ -7347,7 +7348,7 @@ function Dd(e, t, n, o, a, i) {
|
|
|
7347
7348
|
} : void 0
|
|
7348
7349
|
]), 1032, ["value", "min", "max", "step", "parser", "addon-before", "addon-after", "onChange", "onBlur"]);
|
|
7349
7350
|
}
|
|
7350
|
-
const Rl = /* @__PURE__ */
|
|
7351
|
+
const Rl = /* @__PURE__ */ he(Ed, [["render", Dd]]), Id = pe({
|
|
7351
7352
|
name: "RadioGroup",
|
|
7352
7353
|
props: {
|
|
7353
7354
|
value: {
|
|
@@ -7401,7 +7402,7 @@ function $d(e, t, n, o, a, i) {
|
|
|
7401
7402
|
_: 1
|
|
7402
7403
|
}, 8, ["value", "optionType", "onChange"]);
|
|
7403
7404
|
}
|
|
7404
|
-
const Fd = /* @__PURE__ */
|
|
7405
|
+
const Fd = /* @__PURE__ */ he(Id, [["render", $d]]), Nd = pe({
|
|
7405
7406
|
name: "Select",
|
|
7406
7407
|
props: {
|
|
7407
7408
|
value: {
|
|
@@ -7446,7 +7447,7 @@ function Pd(e, t, n, o, a, i) {
|
|
|
7446
7447
|
_: 1
|
|
7447
7448
|
}, 8, ["value", "onChange"]);
|
|
7448
7449
|
}
|
|
7449
|
-
const Md = /* @__PURE__ */
|
|
7450
|
+
const Md = /* @__PURE__ */ he(Nd, [["render", Pd]]), Vd = pe({
|
|
7450
7451
|
name: "Switch",
|
|
7451
7452
|
props: {
|
|
7452
7453
|
value: {
|
|
@@ -7477,7 +7478,7 @@ const Md = /* @__PURE__ */ ye(Nd, [["render", Pd]]), Vd = pe({
|
|
|
7477
7478
|
function Rd(e, t, n, o, a, i) {
|
|
7478
7479
|
const s = O("a-switch");
|
|
7479
7480
|
return C(), R("div", {
|
|
7480
|
-
style:
|
|
7481
|
+
style: De({ width: `${e.width}px` })
|
|
7481
7482
|
}, [
|
|
7482
7483
|
h(s, {
|
|
7483
7484
|
disabled: e.disabled,
|
|
@@ -7486,7 +7487,7 @@ function Rd(e, t, n, o, a, i) {
|
|
|
7486
7487
|
}, null, 8, ["disabled", "checked", "onChange"])
|
|
7487
7488
|
], 4);
|
|
7488
7489
|
}
|
|
7489
|
-
const Bd = /* @__PURE__ */
|
|
7490
|
+
const Bd = /* @__PURE__ */ he(Vd, [["render", Rd]]);
|
|
7490
7491
|
var je = "top", et = "bottom", tt = "right", Ue = "left", Ko = "auto", gn = [je, et, tt, Ue], Yt = "start", pn = "end", jd = "clippingParents", Bl = "viewport", on = "popper", Ud = "reference", Pa = /* @__PURE__ */ gn.reduce(function(e, t) {
|
|
7491
7492
|
return e.concat([t + "-" + Yt, t + "-" + pn]);
|
|
7492
7493
|
}, []), jl = /* @__PURE__ */ [].concat(gn, [Ko]).reduce(function(e, t) {
|
|
@@ -8049,10 +8050,10 @@ function Ap(e) {
|
|
|
8049
8050
|
if (k)
|
|
8050
8051
|
for (var _ = S ? 3 : 1, D = function(ie) {
|
|
8051
8052
|
var ue = v.find(function(fe) {
|
|
8052
|
-
var
|
|
8053
|
-
if (
|
|
8054
|
-
return
|
|
8055
|
-
return
|
|
8053
|
+
var ye = P.get(fe);
|
|
8054
|
+
if (ye)
|
|
8055
|
+
return ye.slice(0, ie).every(function(Fe) {
|
|
8056
|
+
return Fe;
|
|
8056
8057
|
});
|
|
8057
8058
|
});
|
|
8058
8059
|
if (ue)
|
|
@@ -8181,7 +8182,7 @@ function Fp(e) {
|
|
|
8181
8182
|
var q, L = v === "y" ? je : Ue, M = v === "y" ? et : tt, I = v === "y" ? "height" : "width", Y = $[v], K = Y + w[L], y = Y - w[M], _ = g ? -k[I] / 2 : 0, D = A === Yt ? P[I] : k[I], B = A === Yt ? -k[I] : -P[I], U = t.elements.arrow, J = g && U ? Xo(U) : {
|
|
8182
8183
|
width: 0,
|
|
8183
8184
|
height: 0
|
|
8184
|
-
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zl(), ue = ie[L], fe = ie[M],
|
|
8185
|
+
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zl(), ue = ie[L], fe = ie[M], ye = sn(0, P[I], J[I]), Fe = x ? P[I] / 2 - _ - ye - ue - N.mainAxis : D - ye - ue - N.mainAxis, Ie = x ? -P[I] / 2 + _ + ye + fe + N.mainAxis : B + ye + fe + N.mainAxis, ze = t.elements.arrow && bn(t.elements.arrow), ke = ze ? v === "y" ? ze.clientTop || 0 : ze.clientLeft || 0 : 0, Ke = (q = V == null ? void 0 : V[v]) != null ? q : 0, bt = Y + Fe - Ke - ke, Cn = Y + Ie - Ke, Ot = sn(g ? Un(K, bt) : K, Y, g ? Mt(y, Cn) : y);
|
|
8185
8186
|
$[v] = Ot, te[v] = Ot - Y;
|
|
8186
8187
|
}
|
|
8187
8188
|
if (c) {
|
|
@@ -8513,15 +8514,15 @@ var Ql = { exports: {} }, Wa = { exports: {} };
|
|
|
8513
8514
|
function D(U, J, ie, ue) {
|
|
8514
8515
|
var fe = S(y[U], y, J);
|
|
8515
8516
|
if (fe.type !== "throw") {
|
|
8516
|
-
var
|
|
8517
|
-
return
|
|
8518
|
-
D("next",
|
|
8519
|
-
}, function(
|
|
8520
|
-
D("throw",
|
|
8521
|
-
}) : _.resolve(
|
|
8522
|
-
|
|
8523
|
-
}, function(
|
|
8524
|
-
return D("throw",
|
|
8517
|
+
var ye = fe.arg, Fe = ye.value;
|
|
8518
|
+
return Fe && t(Fe) == "object" && s.call(Fe, "__await") ? _.resolve(Fe.__await).then(function(Ie) {
|
|
8519
|
+
D("next", Ie, ie, ue);
|
|
8520
|
+
}, function(Ie) {
|
|
8521
|
+
D("throw", Ie, ie, ue);
|
|
8522
|
+
}) : _.resolve(Fe).then(function(Ie) {
|
|
8523
|
+
ye.value = Ie, ie(ye);
|
|
8524
|
+
}, function(Ie) {
|
|
8525
|
+
return D("throw", Ie, ie, ue);
|
|
8525
8526
|
});
|
|
8526
8527
|
}
|
|
8527
8528
|
ue(fe.arg);
|
|
@@ -8660,8 +8661,8 @@ var Ql = { exports: {} }, Wa = { exports: {} };
|
|
|
8660
8661
|
if (this.done)
|
|
8661
8662
|
throw y;
|
|
8662
8663
|
var _ = this;
|
|
8663
|
-
function D(fe,
|
|
8664
|
-
return J.type = "throw", J.arg = y, _.next = fe,
|
|
8664
|
+
function D(fe, ye) {
|
|
8665
|
+
return J.type = "throw", J.arg = y, _.next = fe, ye && (_.method = "next", _.arg = o), !!ye;
|
|
8665
8666
|
}
|
|
8666
8667
|
for (var B = this.tryEntries.length - 1; B >= 0; --B) {
|
|
8667
8668
|
var U = this.tryEntries[B], J = U.completion;
|
|
@@ -8782,9 +8783,9 @@ function gt(e, t) {
|
|
|
8782
8783
|
}
|
|
8783
8784
|
}
|
|
8784
8785
|
gt(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"), En.render = function(e, t, n, o, a, i) {
|
|
8785
|
-
return C(), R("div", { class: "saturation", style:
|
|
8786
|
+
return C(), R("div", { class: "saturation", style: De(e.saturationStyle), onMousedown: t[0] || (t[0] = Re(function() {
|
|
8786
8787
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
8787
|
-
}, ["prevent", "stop"])) }, [Kp, Qp, H("div", { class: "slider", style:
|
|
8788
|
+
}, ["prevent", "stop"])) }, [Kp, Qp, H("div", { class: "slider", style: De(e.sliderStyle) }, null, 4)], 36);
|
|
8788
8789
|
}, En.__scopeId = "data-v-24517fec", En.__file = "src/picker/Saturation.vue";
|
|
8789
8790
|
var Dn = pe({ name: "Hue", props: { width: { type: Number, default: 15 }, height: { type: Number, default: 160 }, hue: { type: Number, default: 0 } }, emits: ["change"], setup: function(e, t) {
|
|
8790
8791
|
var n = t.emit, o = G(function() {
|
|
@@ -8811,7 +8812,7 @@ var Dn = pe({ name: "Hue", props: { width: { type: Number, default: 15 }, height
|
|
|
8811
8812
|
gt(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"), Dn.render = function(e, t, n, o, a, i) {
|
|
8812
8813
|
return C(), R("div", { class: "hue", onMousedown: t[0] || (t[0] = Re(function() {
|
|
8813
8814
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
8814
|
-
}, ["prevent", "stop"])) }, [H("canvas", Xp, null, 512), H("div", { class: "slider", style:
|
|
8815
|
+
}, ["prevent", "stop"])) }, [H("canvas", Xp, null, 512), H("div", { class: "slider", style: De(e.sliderStyle) }, null, 4)], 32);
|
|
8815
8816
|
}, Dn.__scopeId = "data-v-78b9f4f0", Dn.__file = "src/picker/Hue.vue";
|
|
8816
8817
|
var In = pe({ name: "Alpha", props: { width: { type: Number, default: 15 }, height: { type: Number, default: 160 }, color: { type: String, default: "#000000" }, alpha: { type: Number, default: 1 } }, setup: function(e, t) {
|
|
8817
8818
|
var n = t.emit, o = G(function() {
|
|
@@ -8848,7 +8849,7 @@ var In = pe({ name: "Alpha", props: { width: { type: Number, default: 15 }, heig
|
|
|
8848
8849
|
gt(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"), In.render = function(e, t, n, o, a, i) {
|
|
8849
8850
|
return C(), R("div", { class: "alpha", onMousedown: t[0] || (t[0] = Re(function() {
|
|
8850
8851
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
8851
|
-
}, ["prevent", "stop"])) }, [H("canvas", Jp, null, 512), H("div", { class: "slider", style:
|
|
8852
|
+
}, ["prevent", "stop"])) }, [H("canvas", Jp, null, 512), H("div", { class: "slider", style: De(e.sliderStyle) }, null, 4)], 32);
|
|
8852
8853
|
}, In.__scopeId = "data-v-24dc9656", In.__file = "src/picker/Alpha.vue";
|
|
8853
8854
|
var $n = pe({ name: "Input", props: { label: { type: String, default: "RGBA" }, value: { type: String, default: "" }, width: { type: Number, default: 168 } }, emits: ["change", "focus", "blur", "enter"], setup: function(e, t) {
|
|
8854
8855
|
var n = t.emit;
|
|
@@ -8921,7 +8922,7 @@ function Qe(e) {
|
|
|
8921
8922
|
return e;
|
|
8922
8923
|
}
|
|
8923
8924
|
gt(".input[data-v-d52a4d02]{display:inline-block;font-size:12px}.label[data-v-d52a4d02]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;width:45px}[pick-colors-theme=dark] .label[data-v-d52a4d02]{background:#252930;color:#999}.value[data-v-d52a4d02]{background:#eceef0;border:1px solid #eceef0;box-sizing:border-box;color:#666;flex:1;height:30px;text-align:center}[pick-colors-theme=dark] .value[data-v-d52a4d02]{background:#2e333a;border:1px solid #2e333a;color:#fff}.value[data-v-d52a4d02]:focus{border:1px solid #1890ff;outline:none}"), $n.render = function(e, t, n, o, a, i) {
|
|
8924
|
-
return C(), R("div", Zp, [H("span", ef, se(e.label), 1), H("input", { class: "value", style:
|
|
8925
|
+
return C(), R("div", Zp, [H("span", ef, se(e.label), 1), H("input", { class: "value", style: De(e.valueStyle), ".value": e.value, onFocus: t[0] || (t[0] = function() {
|
|
8925
8926
|
return e.onFocus && e.onFocus.apply(e, arguments);
|
|
8926
8927
|
}), onInput: t[1] || (t[1] = function() {
|
|
8927
8928
|
return e.onInput && e.onInput.apply(e, arguments);
|
|
@@ -9086,7 +9087,7 @@ var Ka = function(e, t, n) {
|
|
|
9086
9087
|
}), { canvas: t, colorItemStyle: i };
|
|
9087
9088
|
} }), nf = ["draggable"];
|
|
9088
9089
|
gt(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"), cn.render = function(e, t, n, o, a, i) {
|
|
9089
|
-
return C(), R("canvas", { class: "color-item", style:
|
|
9090
|
+
return C(), R("canvas", { class: "color-item", style: De(e.colorItemStyle), ref: "canvas", draggable: e.draggable }, null, 12, nf);
|
|
9090
9091
|
}, cn.__scopeId = "data-v-02da71fd", cn.__file = "src/color-item/ColorItem.vue";
|
|
9091
9092
|
var Nn = pe({ name: "Colors", components: { ColorItem: cn }, props: { colors: { type: Array, default: function() {
|
|
9092
9093
|
return [];
|
|
@@ -9254,7 +9255,7 @@ var Pn = pe({ name: "Picker", components: { Colors: Nn, Saturation: En, Hue: Dn,
|
|
|
9254
9255
|
} }), af = { class: "picker-inner" }, lf = { class: "picker-header" };
|
|
9255
9256
|
gt(".picker[data-v-6ceadec6]{background:#f7f8f9;border-radius:4px;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-inner[data-v-6ceadec6]{padding:10px}[pick-colors-theme=dark] .picker-inner[data-v-6ceadec6]{background:#1d2024;box-shadow:0 0 16px 0 rgba(0,0,0,.16)}.picker-header[data-v-6ceadec6]{display:flex;margin-bottom:5px}.alpha[data-v-6ceadec6],.hue[data-v-6ceadec6]{margin-left:10px}.colors[data-v-6ceadec6]{margin-top:5px}"), Pn.render = function(e, t, n, o, a, i) {
|
|
9256
9257
|
var s = O("saturation"), c = O("hue"), l = O("alpha"), u = O("input-value"), d = O("Colors");
|
|
9257
|
-
return C(), R("div", { class: "picker", style:
|
|
9258
|
+
return C(), R("div", { class: "picker", style: De(e.pickerStyle) }, [H("div", af, [H("div", lf, [h(s, { class: "saturation", hue: e.h, saturation: e.s, value: e.v, onChange: e.onSelectSaturation }, null, 8, ["hue", "saturation", "value", "onChange"]), h(c, { class: "hue", hue: e.h, onChange: e.onSelectHue }, null, 8, ["hue", "onChange"]), e.showAlpha ? (C(), W(l, { key: 0, class: "alpha", alpha: e.a, color: e.rgbStr, onChange: e.onSelectAlpha }, null, 8, ["alpha", "color", "onChange"])) : oe("v-if", !0)]), h(u, { label: e.label, value: e.colorValue, width: e.inputWidth, onChange: e.onInputChange, onBlur: e.handleChange, onEnter: e.handleChange }, null, 8, ["label", "value", "width", "onChange", "onBlur", "onEnter"]), e.colors.length > 0 ? (C(), W(d, { key: 0, class: "colors", colors: e.colors, "selected-index": e.selectColorIndex, onChange: e.onSelectColor }, null, 8, ["colors", "selected-index", "onChange"])) : oe("v-if", !0)])], 4);
|
|
9258
9259
|
}, Pn.__scopeId = "data-v-6ceadec6", Pn.__file = "src/picker/Picker.vue";
|
|
9259
9260
|
var Mn = pe({ name: "AddColorItem", props: { size: { type: Number, default: 20 }, selected: { type: Boolean, default: !1 } }, setup: function(e) {
|
|
9260
9261
|
var t = ee("theme", { theme: "light" }).theme;
|
|
@@ -9288,7 +9289,7 @@ function ao(e) {
|
|
|
9288
9289
|
return e;
|
|
9289
9290
|
}
|
|
9290
9291
|
gt(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"), Mn.render = function(e, t, n, o, a, i) {
|
|
9291
|
-
return C(), R("svg", { style:
|
|
9292
|
+
return C(), R("svg", { style: De(e.addColorItemStyle), class: "add-color-item", viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg" }, [].concat(rf), 4);
|
|
9292
9293
|
}, Mn.__scopeId = "data-v-ceb1719c", Mn.__file = "src/add-color-item/AddColorItem.vue";
|
|
9293
9294
|
var Pt = null, zt = pe({ name: "ColorPicker", components: { ColorItem: cn, Picker: Pn, AddColorItem: Mn }, props: { value: { type: [String, Array] }, theme: { type: String, default: "light" }, size: { type: [Number, String], default: 20 }, width: { type: [Number, String] }, height: { type: [Number, String] }, format: { type: String, default: "hex" }, showPicker: { type: Boolean, default: void 0 }, showAlpha: { type: Boolean, default: !1 }, addColor: { type: Boolean, default: !1 }, deleteColor: { type: Boolean, default: !0 }, max: { type: Number, default: 13 }, popupContainer: { type: [String, Object, Boolean] }, zIndex: { type: Number, default: 1e3 }, colors: { type: Array, default: function() {
|
|
9294
9295
|
return ["#ff4500", "#ff8c00", "#ffd700", "#90ee90", "#00ced1", "#1e90ff", "#c71585", "#ff4500", "#ff7d4d", "#00babd", "#1f93ff", "#fa64c3"];
|
|
@@ -9417,7 +9418,7 @@ var Pt = null, zt = pe({ name: "ColorPicker", components: { ColorItem: cn, Picke
|
|
|
9417
9418
|
var L, M;
|
|
9418
9419
|
(L = r(E)) === null || L === void 0 || L.setAttribute("pick-colors-theme", r(te)), (M = r(w)) === null || M === void 0 || (M = M.$el) === null || M === void 0 || M.setAttribute("pick-colors-theme", r(te));
|
|
9419
9420
|
});
|
|
9420
|
-
}, { immediate: !0 }),
|
|
9421
|
+
}, { immediate: !0 }), Le("theme", { theme: te });
|
|
9421
9422
|
var q = z([]);
|
|
9422
9423
|
return qe(function() {
|
|
9423
9424
|
document.addEventListener("mouseup", P, !1), e.showPicker && x();
|
|
@@ -9459,7 +9460,7 @@ gt(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43a
|
|
|
9459
9460
|
return e.colorItemsRef[d] = p;
|
|
9460
9461
|
}, size: e.size, width: e.width, height: e.height, value: u, selected: e.colorItemSelected(d), "data-index": d, draggable: e.valueList.length > 1, format: e.format }, null, 8, ["size", "width", "height", "value", "selected", "data-index", "draggable", "format"]);
|
|
9461
9462
|
}), 128)), e.addColor && e.addColorItemShow ? (C(), W(c, { key: 0, class: "add-color-item", ref: "addColorItem", selected: e.colorItemSelected(-1), "data-index": -1 }, null, 8, ["selected"])) : oe("v-if", !0), (C(), W(lr, { to: e.toPopupContainer, disabled: e.teleportDisabled }, [h(rr, null, { default: b(function() {
|
|
9462
|
-
return [e.isShowPicker ? (C(), W(l, { key: 0, class: "picker", style:
|
|
9463
|
+
return [e.isShowPicker ? (C(), W(l, { key: 0, class: "picker", style: De(e.pickerStyle), ref: "pickerRef", value: e.selectedColor, format: e.format, "show-alpha": e.showAlpha, colors: e.colors, onChange: e.onPickerChange }, null, 8, ["style", "value", "format", "show-alpha", "colors", "onChange"])) : oe("v-if", !0)];
|
|
9463
9464
|
}), _: 1 })], 8, ["to", "disabled"]))], 544);
|
|
9464
9465
|
}, zt.__scopeId = "data-v-3c43ade8", zt.__file = "src/ColorPicker.vue";
|
|
9465
9466
|
const sf = pe({
|
|
@@ -9507,7 +9508,7 @@ function cf(e, t, n, o, a, i) {
|
|
|
9507
9508
|
}, null, 8, ["value"])
|
|
9508
9509
|
]);
|
|
9509
9510
|
}
|
|
9510
|
-
const df = /* @__PURE__ */
|
|
9511
|
+
const df = /* @__PURE__ */ he(sf, [["render", cf], ["__scopeId", "data-v-e2113f43"]]), pf = pe({
|
|
9511
9512
|
name: "ColorGroupPick",
|
|
9512
9513
|
components: {
|
|
9513
9514
|
PickColors: zt
|
|
@@ -9545,7 +9546,7 @@ function mf(e, t, n, o, a, i) {
|
|
|
9545
9546
|
}, null, 8, ["value", "max", "onChange", "onOverflowMax"])
|
|
9546
9547
|
]);
|
|
9547
9548
|
}
|
|
9548
|
-
const vf = /* @__PURE__ */
|
|
9549
|
+
const vf = /* @__PURE__ */ he(pf, [["render", mf], ["__scopeId", "data-v-b2be8322"]]), hf = pe({
|
|
9549
9550
|
name: "FormGroup",
|
|
9550
9551
|
components: {
|
|
9551
9552
|
Draggable: yn,
|
|
@@ -9690,7 +9691,7 @@ function wf(e, t, n, o, a, i) {
|
|
|
9690
9691
|
])
|
|
9691
9692
|
]);
|
|
9692
9693
|
}
|
|
9693
|
-
const Sf = /* @__PURE__ */
|
|
9694
|
+
const Sf = /* @__PURE__ */ he(hf, [["render", wf], ["__scopeId", "data-v-f0c0ab4d"]]), Af = pe({
|
|
9694
9695
|
name: "Textarea",
|
|
9695
9696
|
props: {
|
|
9696
9697
|
value: {
|
|
@@ -9725,7 +9726,7 @@ function Tf(e, t, n, o, a, i) {
|
|
|
9725
9726
|
onChange: e.onTextareaChange
|
|
9726
9727
|
}, null, 8, ["value", "disabled", "onChange"]);
|
|
9727
9728
|
}
|
|
9728
|
-
const xf = /* @__PURE__ */
|
|
9729
|
+
const xf = /* @__PURE__ */ he(Af, [["render", Tf]]), Lf = pe({
|
|
9729
9730
|
name: "PropsToForm",
|
|
9730
9731
|
components: {
|
|
9731
9732
|
Input: Od,
|
|
@@ -9833,7 +9834,7 @@ function Df(e, t, n, o, a, i) {
|
|
|
9833
9834
|
]))), 128))
|
|
9834
9835
|
]);
|
|
9835
9836
|
}
|
|
9836
|
-
const If = /* @__PURE__ */
|
|
9837
|
+
const If = /* @__PURE__ */ he(Lf, [["render", Df], ["__scopeId", "data-v-c6fb2484"]]);
|
|
9837
9838
|
function $f() {
|
|
9838
9839
|
return new Worker("/assets/editor.worker-02df2e61.js");
|
|
9839
9840
|
}
|
|
@@ -9954,7 +9955,7 @@ const Mf = {
|
|
|
9954
9955
|
function Vf(e, t, n, o, a, i) {
|
|
9955
9956
|
return C(), R("div", Mf, null, 512);
|
|
9956
9957
|
}
|
|
9957
|
-
const er = /* @__PURE__ */
|
|
9958
|
+
const er = /* @__PURE__ */ he(Pf, [["render", Vf], ["__scopeId", "data-v-71e88372"]]), Rf = [
|
|
9958
9959
|
{
|
|
9959
9960
|
title: "列名",
|
|
9960
9961
|
dataIndex: "label",
|
|
@@ -10319,7 +10320,7 @@ function Uf(e, t, n, o, a, i) {
|
|
|
10319
10320
|
}, 8, ["title", "visible", "onOk"])
|
|
10320
10321
|
]);
|
|
10321
10322
|
}
|
|
10322
|
-
const Gf = /* @__PURE__ */
|
|
10323
|
+
const Gf = /* @__PURE__ */ he(Bf, [["render", Uf], ["__scopeId", "data-v-afebddc0"]]), zf = pe({
|
|
10323
10324
|
name: "StyleConfigGroup",
|
|
10324
10325
|
props: {
|
|
10325
10326
|
componentType: {
|
|
@@ -10597,7 +10598,7 @@ function Yf(e, t, n, o, a, i) {
|
|
|
10597
10598
|
}, 8, ["activeKey"]))
|
|
10598
10599
|
]);
|
|
10599
10600
|
}
|
|
10600
|
-
const Wf = /* @__PURE__ */
|
|
10601
|
+
const Wf = /* @__PURE__ */ he(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2ad"]]), qf = pe({
|
|
10601
10602
|
name: "Card",
|
|
10602
10603
|
components: {
|
|
10603
10604
|
CloseOutlined: qn,
|
|
@@ -10652,7 +10653,7 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10652
10653
|
if (Object.prototype.hasOwnProperty.call(J, ie)) {
|
|
10653
10654
|
const ue = r(o)[ie];
|
|
10654
10655
|
if (Array.isArray(ue)) {
|
|
10655
|
-
const fe = ue.find((
|
|
10656
|
+
const fe = ue.find((ye) => Pe(U, ye.onlyType));
|
|
10656
10657
|
fe && y.push({
|
|
10657
10658
|
label: fe.label,
|
|
10658
10659
|
value: ie
|
|
@@ -10746,7 +10747,7 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10746
10747
|
index: e.index,
|
|
10747
10748
|
path: e.path
|
|
10748
10749
|
});
|
|
10749
|
-
}, v = ee(yt), E = ee(
|
|
10750
|
+
}, v = ee(yt), E = ee($e), $ = G(() => {
|
|
10750
10751
|
var ze;
|
|
10751
10752
|
const {
|
|
10752
10753
|
classificationList: y = [],
|
|
@@ -10756,7 +10757,7 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10756
10757
|
indicators: U = [],
|
|
10757
10758
|
rowHeaderList: J = [],
|
|
10758
10759
|
queryColumnList: ie = []
|
|
10759
|
-
} = r(E), ue =
|
|
10760
|
+
} = r(E), ue = Ce([
|
|
10760
10761
|
...y,
|
|
10761
10762
|
..._,
|
|
10762
10763
|
...D,
|
|
@@ -10766,8 +10767,8 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10766
10767
|
...ie
|
|
10767
10768
|
]);
|
|
10768
10769
|
if (ue != null && ue.length)
|
|
10769
|
-
for (const
|
|
10770
|
-
|
|
10770
|
+
for (const ke of ue)
|
|
10771
|
+
ke.id = ke.name;
|
|
10771
10772
|
const fe = [
|
|
10772
10773
|
{
|
|
10773
10774
|
label: "日期",
|
|
@@ -10797,10 +10798,10 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10797
10798
|
typeGuid: "hbdwbh_name",
|
|
10798
10799
|
indexCode: null
|
|
10799
10800
|
},
|
|
10800
|
-
...e.intersection.map((
|
|
10801
|
-
...
|
|
10802
|
-
id:
|
|
10803
|
-
label:
|
|
10801
|
+
...e.intersection.map((ke) => ({
|
|
10802
|
+
...ke,
|
|
10803
|
+
id: ke.name,
|
|
10804
|
+
label: ke.title || ke.label
|
|
10804
10805
|
})),
|
|
10805
10806
|
...ue
|
|
10806
10807
|
];
|
|
@@ -10810,19 +10811,19 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10810
10811
|
id: "parentCode",
|
|
10811
10812
|
genericType: "TEXT"
|
|
10812
10813
|
});
|
|
10813
|
-
const
|
|
10814
|
-
for (let
|
|
10815
|
-
const Ke = fe[
|
|
10816
|
-
|
|
10814
|
+
const ye = /* @__PURE__ */ new Map(), Fe = fe.length;
|
|
10815
|
+
for (let ke = 0; ke < Fe; ke++) {
|
|
10816
|
+
const Ke = fe[ke], { id: bt } = Ke || {};
|
|
10817
|
+
ye.set(bt, Ke);
|
|
10817
10818
|
}
|
|
10818
|
-
return [...
|
|
10819
|
+
return [...ye].map(([ke, Ke]) => Ke);
|
|
10819
10820
|
});
|
|
10820
10821
|
function P(y, _) {
|
|
10821
10822
|
var ie, ue;
|
|
10822
10823
|
const { type: D, id: B, events: U = [] } = y, J = jn(D);
|
|
10823
|
-
r(g) && _ !== r(g) && (Tt(((ie = r(E)) == null ? void 0 : ie.controlList) || []).find((
|
|
10824
|
-
var
|
|
10825
|
-
return fe.on === J && fe.target === ((
|
|
10824
|
+
r(g) && _ !== r(g) && (Tt(((ie = r(E)) == null ? void 0 : ie.controlList) || []).find((ye) => ye.id === r(g)) || p(r(g))), U.find((fe) => {
|
|
10825
|
+
var ye;
|
|
10826
|
+
return fe.on === J && fe.target === ((ye = r(v)) == null ? void 0 : ye.id) && fe.emit === "refreshData";
|
|
10826
10827
|
}) || n({
|
|
10827
10828
|
id: B,
|
|
10828
10829
|
events: [...U, {
|
|
@@ -10834,7 +10835,7 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10834
10835
|
}
|
|
10835
10836
|
const k = (y, _) => {
|
|
10836
10837
|
if (y) {
|
|
10837
|
-
const { label: D, name: B, id: U, genericType: J, indexCode: ie, typeGuid: ue, indexCodeNum: fe } = _ || {},
|
|
10838
|
+
const { label: D, name: B, id: U, genericType: J, indexCode: ie, typeGuid: ue, indexCodeNum: fe } = _ || {}, ye = {
|
|
10838
10839
|
...e.control,
|
|
10839
10840
|
conditionKey: U,
|
|
10840
10841
|
conditionLabel: D,
|
|
@@ -10844,8 +10845,8 @@ const Wf = /* @__PURE__ */ ye(zf, [["render", Yf], ["__scopeId", "data-v-2fb3e2a
|
|
|
10844
10845
|
typeGuid: ue,
|
|
10845
10846
|
indexCodeNum: fe
|
|
10846
10847
|
};
|
|
10847
|
-
Ht(
|
|
10848
|
-
control:
|
|
10848
|
+
Ht(ye, "rule") || (ye.rule = "EQUAL"), Ht(ye, "dataType") || (ye.dataType = "component"), a({
|
|
10849
|
+
control: ye,
|
|
10849
10850
|
index: e.index,
|
|
10850
10851
|
path: e.path
|
|
10851
10852
|
});
|
|
@@ -11079,7 +11080,7 @@ function Qf(e, t, n, o, a, i) {
|
|
|
11079
11080
|
}, null, 8, ["onClick"])
|
|
11080
11081
|
]);
|
|
11081
11082
|
}
|
|
11082
|
-
const Xf = /* @__PURE__ */
|
|
11083
|
+
const Xf = /* @__PURE__ */ he(qf, [["render", Qf], ["__scopeId", "data-v-d25f813a"]]), Jf = pe({
|
|
11083
11084
|
name: "ControlList",
|
|
11084
11085
|
props: {
|
|
11085
11086
|
list: {
|
|
@@ -11145,7 +11146,7 @@ function am(e, t, n, o, a, i) {
|
|
|
11145
11146
|
], 64))), 128))
|
|
11146
11147
|
])) : oe("", !0);
|
|
11147
11148
|
}
|
|
11148
|
-
const lm = /* @__PURE__ */
|
|
11149
|
+
const lm = /* @__PURE__ */ he(Jf, [["render", am], ["__scopeId", "data-v-916ff9bd"]]), rm = pe({
|
|
11149
11150
|
name: "ControlGroup",
|
|
11150
11151
|
props: {
|
|
11151
11152
|
intersection: {
|
|
@@ -11158,7 +11159,7 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11158
11159
|
AButton: Qt
|
|
11159
11160
|
},
|
|
11160
11161
|
setup() {
|
|
11161
|
-
const e = ee(rt), t = ee(
|
|
11162
|
+
const e = ee(rt), t = ee($e), n = ee(Ge), o = G(() => {
|
|
11162
11163
|
var p, m;
|
|
11163
11164
|
const d = ((p = r(t)) == null ? void 0 : p.controlList) || [];
|
|
11164
11165
|
for (const g of d)
|
|
@@ -11200,11 +11201,11 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11200
11201
|
controlList: p
|
|
11201
11202
|
})));
|
|
11202
11203
|
};
|
|
11203
|
-
return
|
|
11204
|
+
return Le("CHANGE_CONTROL", {
|
|
11204
11205
|
onDeleteControl: (d) => {
|
|
11205
11206
|
var w, T, A, x;
|
|
11206
11207
|
const { index: p, path: m } = d;
|
|
11207
|
-
let g =
|
|
11208
|
+
let g = Ce((w = r(o)) == null ? void 0 : w.slice()), S = g;
|
|
11208
11209
|
const f = m.split("-");
|
|
11209
11210
|
if (f != null && f.length) {
|
|
11210
11211
|
for (const v of f)
|
|
@@ -11224,7 +11225,7 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11224
11225
|
break;
|
|
11225
11226
|
if (k === S[0].join) {
|
|
11226
11227
|
if (Array.isArray(S[0].conditions)) {
|
|
11227
|
-
const F =
|
|
11228
|
+
const F = Ce(S[0].conditions);
|
|
11228
11229
|
P.splice(+E, 1), P.splice(+E, 0, ...F);
|
|
11229
11230
|
}
|
|
11230
11231
|
} else
|
|
@@ -11239,7 +11240,7 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11239
11240
|
},
|
|
11240
11241
|
onUpdateControl: (d) => {
|
|
11241
11242
|
var T, A;
|
|
11242
|
-
const { control: p, index: m, path: g } = d, S =
|
|
11243
|
+
const { control: p, index: m, path: g } = d, S = Ce((T = r(o)) == null ? void 0 : T.slice());
|
|
11243
11244
|
let f = S;
|
|
11244
11245
|
const w = g.split("-");
|
|
11245
11246
|
if (w != null && w.length)
|
|
@@ -11254,7 +11255,7 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11254
11255
|
},
|
|
11255
11256
|
onAddMenuControl: (d, p, m) => {
|
|
11256
11257
|
var T, A, x;
|
|
11257
|
-
const g =
|
|
11258
|
+
const g = Ce((T = r(o)) == null ? void 0 : T.slice());
|
|
11258
11259
|
let S = g, f = "";
|
|
11259
11260
|
const w = d.split("-");
|
|
11260
11261
|
if (w != null && w.length) {
|
|
@@ -11268,7 +11269,7 @@ const lm = /* @__PURE__ */ ye(Jf, [["render", am], ["__scopeId", "data-v-916ff9b
|
|
|
11268
11269
|
keyValue: Be()
|
|
11269
11270
|
});
|
|
11270
11271
|
else {
|
|
11271
|
-
const v =
|
|
11272
|
+
const v = Ce(S[p]);
|
|
11272
11273
|
S[p] = {
|
|
11273
11274
|
join: m,
|
|
11274
11275
|
conditions: [
|
|
@@ -11334,7 +11335,7 @@ function cm(e, t, n, o, a, i) {
|
|
|
11334
11335
|
])
|
|
11335
11336
|
]);
|
|
11336
11337
|
}
|
|
11337
|
-
const dm = /* @__PURE__ */
|
|
11338
|
+
const dm = /* @__PURE__ */ he(rm, [["render", cm], ["__scopeId", "data-v-1e37d2d3"]]), pm = pe({
|
|
11338
11339
|
name: "VariableCard",
|
|
11339
11340
|
props: {
|
|
11340
11341
|
item: {
|
|
@@ -11386,7 +11387,7 @@ const dm = /* @__PURE__ */ ye(rm, [["render", cm], ["__scopeId", "data-v-1e37d2d
|
|
|
11386
11387
|
}, {
|
|
11387
11388
|
label: "结束时间",
|
|
11388
11389
|
value: "endTime"
|
|
11389
|
-
}], l = z(
|
|
11390
|
+
}], l = z(Ce(e.item));
|
|
11390
11391
|
Se(l, (v) => {
|
|
11391
11392
|
t("update", {
|
|
11392
11393
|
...v,
|
|
@@ -11748,13 +11749,13 @@ function ym(e, t, n, o, a, i) {
|
|
|
11748
11749
|
}, null, 8, ["onClick"]))
|
|
11749
11750
|
]);
|
|
11750
11751
|
}
|
|
11751
|
-
const gm = /* @__PURE__ */
|
|
11752
|
+
const gm = /* @__PURE__ */ he(pm, [["render", ym], ["__scopeId", "data-v-1d5b6ae6"]]), bm = pe({
|
|
11752
11753
|
name: "VariableGroup",
|
|
11753
11754
|
components: {
|
|
11754
11755
|
VariableItem: gm
|
|
11755
11756
|
},
|
|
11756
11757
|
setup() {
|
|
11757
|
-
const e = ee(
|
|
11758
|
+
const e = ee($e), t = ee(Ge), n = ee(rt), o = G(() => {
|
|
11758
11759
|
var u;
|
|
11759
11760
|
return ((u = r(e)) == null ? void 0 : u.variableList) || [];
|
|
11760
11761
|
}), a = (l) => {
|
|
@@ -11767,7 +11768,7 @@ const gm = /* @__PURE__ */ ye(pm, [["render", ym], ["__scopeId", "data-v-1d5b6ae
|
|
|
11767
11768
|
return {
|
|
11768
11769
|
variableList: o,
|
|
11769
11770
|
onAddVariable: () => {
|
|
11770
|
-
const l =
|
|
11771
|
+
const l = Ce(r(o));
|
|
11771
11772
|
l.push({
|
|
11772
11773
|
keyValue: Be(),
|
|
11773
11774
|
variableType: "TEXT",
|
|
@@ -11783,13 +11784,13 @@ const gm = /* @__PURE__ */ ye(pm, [["render", ym], ["__scopeId", "data-v-1d5b6ae
|
|
|
11783
11784
|
},
|
|
11784
11785
|
onUpdateItem: (l, u) => {
|
|
11785
11786
|
if (u >= 0) {
|
|
11786
|
-
const d =
|
|
11787
|
+
const d = Ce(r(o));
|
|
11787
11788
|
d[u] = l, a(d);
|
|
11788
11789
|
}
|
|
11789
11790
|
},
|
|
11790
11791
|
onDeleteItem: (l) => {
|
|
11791
11792
|
if (l >= 0) {
|
|
11792
|
-
const u =
|
|
11793
|
+
const u = Ce(r(o));
|
|
11793
11794
|
u.splice(l, 1), a(u);
|
|
11794
11795
|
}
|
|
11795
11796
|
}
|
|
@@ -11822,7 +11823,7 @@ function Sm(e, t, n, o, a, i) {
|
|
|
11822
11823
|
])
|
|
11823
11824
|
], 64);
|
|
11824
11825
|
}
|
|
11825
|
-
const Am = /* @__PURE__ */
|
|
11826
|
+
const Am = /* @__PURE__ */ he(bm, [["render", Sm], ["__scopeId", "data-v-fd60cd09"]]), Tm = (e = {}) => {
|
|
11826
11827
|
const t = (s = {}) => {
|
|
11827
11828
|
const { label: c, name: l, location: u, show: d, indexCode: p } = s;
|
|
11828
11829
|
return {
|
|
@@ -12603,7 +12604,7 @@ const Am = /* @__PURE__ */ ye(bm, [["render", Sm], ["__scopeId", "data-v-fd60cd0
|
|
|
12603
12604
|
setup(e, { expose: t }) {
|
|
12604
12605
|
const n = G(() => e.chartsOptions ? r(e.chartsOptions) : l), o = G(() => e.graphicConfig ? r(e.graphicConfig) : c), a = ee(at);
|
|
12605
12606
|
let i = null;
|
|
12606
|
-
const s = ee(lt) || "", c = ee(
|
|
12607
|
+
const s = ee(lt) || "", c = ee($e) || {}, l = ee(Yn) || {}, u = z(null), d = z(null), p = z(), m = z(!1), g = z(!1), S = G(() => g.value ? xr : 12), f = z({}), w = z(), T = G(() => {
|
|
12607
12608
|
const F = r(n.value);
|
|
12608
12609
|
if ((F == null ? void 0 : F.type) === "customGraph")
|
|
12609
12610
|
return w.value;
|
|
@@ -12765,7 +12766,7 @@ function Pm(e, t, n, o, a, i) {
|
|
|
12765
12766
|
}, 8, ["spinning"])
|
|
12766
12767
|
], 512);
|
|
12767
12768
|
}
|
|
12768
|
-
const nr = /* @__PURE__ */
|
|
12769
|
+
const nr = /* @__PURE__ */ he($m, [["render", Pm], ["__scopeId", "data-v-8049fed2"]]), Mm = pe({
|
|
12769
12770
|
name: "DataConfig",
|
|
12770
12771
|
components: {
|
|
12771
12772
|
DataGroup: Ad,
|
|
@@ -12780,7 +12781,7 @@ const nr = /* @__PURE__ */ ye($m, [["render", Pm], ["__scopeId", "data-v-8049fed
|
|
|
12780
12781
|
},
|
|
12781
12782
|
setup() {
|
|
12782
12783
|
var P;
|
|
12783
|
-
const e = z("1"), t = z([0, 1, 2]), n = z(), o = ee(yt), a = ee(Cl), i = ee(
|
|
12784
|
+
const e = z("1"), t = z([0, 1, 2]), n = z(), o = ee(yt), a = ee(Cl), i = ee($e), s = ee(rt), c = ee(xl), l = [
|
|
12784
12785
|
"text",
|
|
12785
12786
|
"proportion",
|
|
12786
12787
|
"select",
|
|
@@ -12789,7 +12790,7 @@ const nr = /* @__PURE__ */ ye($m, [["render", Pm], ["__scopeId", "data-v-8049fed
|
|
|
12789
12790
|
"radar",
|
|
12790
12791
|
"circulate"
|
|
12791
12792
|
], u = G(() => {
|
|
12792
|
-
const k =
|
|
12793
|
+
const k = Ce(r(o));
|
|
12793
12794
|
d(k);
|
|
12794
12795
|
const F = Bn(
|
|
12795
12796
|
k,
|
|
@@ -12803,7 +12804,7 @@ const nr = /* @__PURE__ */ ye($m, [["render", Pm], ["__scopeId", "data-v-8049fed
|
|
|
12803
12804
|
)
|
|
12804
12805
|
);
|
|
12805
12806
|
Pe(k.type, l) ? (F.height = k.height, F.width = k.width) : F.height = "290px";
|
|
12806
|
-
const N =
|
|
12807
|
+
const N = Ce(r(i));
|
|
12807
12808
|
return N.pageMode = "design", N.componentList = s, N.preview = !0, N.pageConfig = c, {
|
|
12808
12809
|
...F,
|
|
12809
12810
|
graphicConfig: N,
|
|
@@ -12888,7 +12889,7 @@ const nr = /* @__PURE__ */ ye($m, [["render", Pm], ["__scopeId", "data-v-8049fed
|
|
|
12888
12889
|
variableConditions: rn(((k = r(i)) == null ? void 0 : k.variableList) || [], s)
|
|
12889
12890
|
});
|
|
12890
12891
|
};
|
|
12891
|
-
return
|
|
12892
|
+
return Le(_l, v), Se(
|
|
12892
12893
|
i,
|
|
12893
12894
|
() => {
|
|
12894
12895
|
v();
|
|
@@ -13005,7 +13006,7 @@ function Bm(e, t, n, o, a, i) {
|
|
|
13005
13006
|
], 64)) : oe("", !0)
|
|
13006
13007
|
]);
|
|
13007
13008
|
}
|
|
13008
|
-
const jm = /* @__PURE__ */
|
|
13009
|
+
const jm = /* @__PURE__ */ he(Mm, [["render", Bm], ["__scopeId", "data-v-d85f4e1e"]]), Um = pe({
|
|
13009
13010
|
name: "IndicatorLibrary",
|
|
13010
13011
|
components: {
|
|
13011
13012
|
DataList: Ks,
|
|
@@ -13060,11 +13061,11 @@ const jm = /* @__PURE__ */ ye(Mm, [["render", Bm], ["__scopeId", "data-v-d85f4e1
|
|
|
13060
13061
|
return ((E = r(s)) == null ? void 0 : E.tableColumns) || [];
|
|
13061
13062
|
}
|
|
13062
13063
|
), l = G(() => e.isShowStyleConfig);
|
|
13063
|
-
let u = r(s).graphicConfig ?
|
|
13064
|
+
let u = r(s).graphicConfig ? Ce(r(s).graphicConfig) : z({});
|
|
13064
13065
|
u = z(u);
|
|
13065
|
-
let d = r(s).chartsOptions ?
|
|
13066
|
+
let d = r(s).chartsOptions ? Ce(r(s).chartsOptions) : z(Ce(Ll.line));
|
|
13066
13067
|
d = z(d);
|
|
13067
|
-
let p = r(s).tableOptions ?
|
|
13068
|
+
let p = r(s).tableOptions ? Ce(r(s).tableOptions) : z(Ce(Ir));
|
|
13068
13069
|
p = z(p);
|
|
13069
13070
|
const m = z([]), g = (E) => {
|
|
13070
13071
|
m.value = E;
|
|
@@ -13086,7 +13087,7 @@ const jm = /* @__PURE__ */ ye(Mm, [["render", Bm], ["__scopeId", "data-v-d85f4e1
|
|
|
13086
13087
|
...r(E)
|
|
13087
13088
|
};
|
|
13088
13089
|
}, T = () => m, A = () => {
|
|
13089
|
-
o.value = !0, r(s).graphicConfig && (u.value =
|
|
13090
|
+
o.value = !0, r(s).graphicConfig && (u.value = Ce(r(s).graphicConfig)), r(s).chartsOptions && (d.value = Ce(r(s).chartsOptions)), Vn(() => {
|
|
13090
13091
|
o.value = !1;
|
|
13091
13092
|
});
|
|
13092
13093
|
}, x = () => ({
|
|
@@ -13095,14 +13096,14 @@ const jm = /* @__PURE__ */ ye(Mm, [["render", Bm], ["__scopeId", "data-v-d85f4e1
|
|
|
13095
13096
|
tableOptions: r(p),
|
|
13096
13097
|
tableColumns: r(c)
|
|
13097
13098
|
});
|
|
13098
|
-
window.getIndicatorData = x, e.request &&
|
|
13099
|
+
window.getIndicatorData = x, e.request && Le(at, e.request), Le(bl, {
|
|
13099
13100
|
setDataList: g,
|
|
13100
13101
|
getDataList: T
|
|
13101
13102
|
});
|
|
13102
13103
|
const v = (E) => {
|
|
13103
13104
|
n("updateUsedComponent", E);
|
|
13104
13105
|
};
|
|
13105
|
-
return
|
|
13106
|
+
return Le(yt, s), Le($e, u), Le(Yn, d), Le(wl, p), Le(Oo, a), Le(Cl, l), Le(lt, i), Le(Ge, S), Le(Lo, f), Le(ko, w), Le(rt, e.renderUsedComponentList), Le(Wn, v), Le(Tl, e.mapAttributeProps), Le(xl, e.pageConfig), t({
|
|
13106
13107
|
graphicConfig: u,
|
|
13107
13108
|
chartsOptions: d,
|
|
13108
13109
|
updateIndicatorData: A
|
|
@@ -13126,7 +13127,7 @@ function Ym(e, t, n, o, a, i) {
|
|
|
13126
13127
|
])
|
|
13127
13128
|
]));
|
|
13128
13129
|
}
|
|
13129
|
-
const Wm = /* @__PURE__ */
|
|
13130
|
+
const Wm = /* @__PURE__ */ he(Um, [["render", Ym], ["__scopeId", "data-v-23d542ce"]]), qm = gl(Wm), Km = gl(nr), ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13130
13131
|
__proto__: null,
|
|
13131
13132
|
EcanChartGraph: Km,
|
|
13132
13133
|
EcanIndicatorLibrary: qm
|