@ecan-bi/indicator-library 1.1.16 → 1.1.18
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/DrillModal-4ae81051-35a8d9ed.mjs +1 -1
- 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-30ffbf30.mjs → index-2e5feefb.mjs} +598 -595
- package/dist/index-2e5feefb.mjs.map +1 -0
- package/dist/{index-f37fa8d2.mjs → index-466bc69f.mjs} +4 -4
- package/dist/{index-f37fa8d2.mjs.map → index-466bc69f.mjs.map} +1 -1
- package/dist/{index-29f99560.mjs → index-8d705478.mjs} +4 -4
- package/dist/{index-29f99560.mjs.map → index-8d705478.mjs.map} +1 -1
- package/dist/index.es-0b4d4415.mjs +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +28 -28
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/dist/{util-b61ee73f.mjs → util-cd122cd5.mjs} +3 -3
- package/dist/{util-b61ee73f.mjs.map → util-cd122cd5.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-30ffbf30.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! @ecan-bi/indicator-library@1.1.
|
|
2
|
-
import { createVNode as d, defineComponent as me, inject as te, unref as a, computed as Q, ref as H, watch as we, resolveComponent as k, openBlock as m, createBlock as j, withCtx as f, createElementVNode as G, createTextVNode as B, createElementBlock as M, Fragment as ie, renderList as Ae, toDisplayString as
|
|
3
|
-
import { Modal as ft, Button as St, Select as
|
|
4
|
-
import { R as Ot, I as Et, G as
|
|
1
|
+
/*! @ecan-bi/indicator-library@1.1.18 */
|
|
2
|
+
import { createVNode as d, defineComponent as me, inject as te, unref as a, computed as Q, ref as H, watch as we, resolveComponent as k, openBlock as m, createBlock as j, withCtx as f, createElementVNode as G, createTextVNode as B, createElementBlock as M, Fragment as ie, renderList as Ae, toDisplayString as de, resolveDirective as ao, withModifiers as Ne, withDirectives as jt, createCommentVNode as Z, onMounted as Je, vShow as Mn, normalizeStyle as Me, pushScopeId as pt, popScopeId as dt, provide as Qt, createSlots as Sa, normalizeClass as qn, reactive as al, mergeProps as Vt, withKeys as ll, nextTick as Bo, onBeforeUnmount as il, onUnmounted as Ta, Teleport as rl, Transition as sl, toRaw as ul, resolveDynamicComponent as dn, toHandlers as Vo, defineAsyncComponent as cl } from "vue";
|
|
3
|
+
import { Modal as ft, Button as St, Select as Pe, SelectOption as mt, Input as Ze, Checkbox as lo, Collapse as io, CollapsePanel as ro, Tag as pl, CheckableTag as dl, message as We, DatePicker as fl, Dropdown as Rn, Menu as Un, MenuItem as jn, Popover as bn, Tabs as Gn, TabPane as zn, RadioGroup as so, Radio as ml, InputNumber as Tt, Row as vl, Col as bl, Textarea as uo, InputSearch as hl, Tree as yl, RadioButton as Oa, Form as gl, FormItem as Ea, Tooltip as Cl, Card as _l, SubMenu as wl, MenuDivider as Al, Switch as La, Slider as kl, Table as Hn } from "ant-design-vue";
|
|
4
|
+
import { R as Ot, I as Et, G as Re, U as at, a as st, _ as he, c as Fa, d as vt, C as Wn, S as lt, e as co, b as xa, y as Te, m as Gt, f as Da, g as $a, h as Ia, T as Sl, i as Na, p as Tl, M as Ol, j as Ma, k as El, u as Ll, l as Fl, n as xl, P as Dl, o as $l } from "./index-8d705478.mjs";
|
|
5
5
|
import po from "vuedraggable";
|
|
6
6
|
import { cloneDeep as be, reduce as Ro, debounce as Il, pick as Pn, without as Nl } from "lodash-es";
|
|
7
|
-
import { A as qe, d as rn, e as Pa, f as Bn, h as sn, i as Ml } from "./util-
|
|
7
|
+
import { A as qe, d as rn, e as Pa, f as Bn, h as sn, i as Ml } from "./util-cd122cd5.mjs";
|
|
8
8
|
import "ant-design-vue/es/popover/style";
|
|
9
9
|
import "ant-design-vue/es/dropdown/style";
|
|
10
10
|
import He from "dayjs";
|
|
@@ -391,16 +391,16 @@ const Ni = Eo, Va = {
|
|
|
391
391
|
Draggable: po,
|
|
392
392
|
AModal: ft,
|
|
393
393
|
AButton: St,
|
|
394
|
-
ASelect:
|
|
394
|
+
ASelect: Pe,
|
|
395
395
|
ASelectOption: mt,
|
|
396
396
|
DeleteOutlined: Ba
|
|
397
397
|
},
|
|
398
398
|
setup(e, { expose: t }) {
|
|
399
399
|
var J;
|
|
400
|
-
const n = (J = window == null ? void 0 : window.config) == null ? void 0 : J.pageId, o = te(Ot), l = a(te(Et)), r = te(
|
|
401
|
-
const X = e.sortList.filter((ae) => !a(h).find((E) => E.columnName === ae.name) || $.columnName === ae.name),
|
|
400
|
+
const n = (J = window == null ? void 0 : window.config) == null ? void 0 : J.pageId, o = te(Ot), l = a(te(Et)), r = te(Re), s = te(at), c = Q(() => a(r).source), i = Q(() => a(r).dataViewId), u = H([]), p = H("1"), h = H([]), _ = ($) => {
|
|
401
|
+
const X = e.sortList.filter((ae) => !a(h).find((E) => E.columnName === ae.name) || $.columnName === ae.name), K = [];
|
|
402
402
|
return X.forEach((ae, E) => {
|
|
403
|
-
|
|
403
|
+
K.includes(ae.name) ? ae.name = `${ae.name}_ecanrepeat_${E}` : K.push(ae.name);
|
|
404
404
|
}), X;
|
|
405
405
|
}, T = async () => {
|
|
406
406
|
try {
|
|
@@ -417,16 +417,16 @@ const Ni = Eo, Va = {
|
|
|
417
417
|
Authentication: l,
|
|
418
418
|
operateContext: "ygt"
|
|
419
419
|
}
|
|
420
|
-
}), { success: X, data:
|
|
421
|
-
X && (u.value =
|
|
420
|
+
}), { success: X, data: K = [] } = $.data;
|
|
421
|
+
X && (u.value = K == null ? void 0 : K.slice(0, 200));
|
|
422
422
|
} catch ($) {
|
|
423
423
|
console.error($);
|
|
424
424
|
}
|
|
425
425
|
}, F = () => {
|
|
426
426
|
var E, I;
|
|
427
|
-
const $ = ((E = a(r)[e.type]) == null ? void 0 : E.slice()) || [], X = $[e.index], { label:
|
|
427
|
+
const $ = ((E = a(r)[e.type]) == null ? void 0 : E.slice()) || [], X = $[e.index], { label: K, name: ae } = e.item;
|
|
428
428
|
a(p) === "2" ? X.sort = {
|
|
429
|
-
label:
|
|
429
|
+
label: K,
|
|
430
430
|
columnName: ae,
|
|
431
431
|
type: "CUSTOM",
|
|
432
432
|
customOrderColumns: a(u)
|
|
@@ -438,9 +438,9 @@ const Ni = Eo, Va = {
|
|
|
438
438
|
const b = () => {
|
|
439
439
|
S = !0;
|
|
440
440
|
}, g = H(!1), y = ($) => {
|
|
441
|
-
var
|
|
441
|
+
var K;
|
|
442
442
|
const { sort: X } = $;
|
|
443
|
-
X ? Array.isArray(X) ? (p.value = ((
|
|
443
|
+
X ? Array.isArray(X) ? (p.value = ((K = X[0]) == null ? void 0 : K.type) === "CUSTOM" ? "2" : "1", a(p) === "1" ? h.value = be(X) : h.value = []) : (p.value = (X == null ? void 0 : X.type) === "CUSTOM" ? "2" : "1", a(p) === "1" ? h.value = [be(X)] : h.value = []) : h.value = [], g.value = !0;
|
|
444
444
|
}, x = () => {
|
|
445
445
|
g.value = !1;
|
|
446
446
|
}, C = () => {
|
|
@@ -449,9 +449,9 @@ const Ni = Eo, Va = {
|
|
|
449
449
|
return t({
|
|
450
450
|
showModal: y
|
|
451
451
|
}), we(g, ($) => {
|
|
452
|
-
var X,
|
|
452
|
+
var X, K;
|
|
453
453
|
if ($) {
|
|
454
|
-
const ae = (
|
|
454
|
+
const ae = (K = (X = e.item) == null ? void 0 : X.sort) == null ? void 0 : K.customOrderColumns;
|
|
455
455
|
ae == null ? T() : u.value = ae;
|
|
456
456
|
} else
|
|
457
457
|
u.value = [];
|
|
@@ -466,8 +466,8 @@ const Ni = Eo, Va = {
|
|
|
466
466
|
getSortOptions: _,
|
|
467
467
|
onChange: b,
|
|
468
468
|
onDeleteConfig: () => {
|
|
469
|
-
var
|
|
470
|
-
const $ = ((
|
|
469
|
+
var K;
|
|
470
|
+
const $ = ((K = a(r)[e.type]) == null ? void 0 : K.slice()) || [], X = $[e.index];
|
|
471
471
|
delete X.sort, s({
|
|
472
472
|
[e.type]: $
|
|
473
473
|
}), x();
|
|
@@ -485,10 +485,10 @@ const Ni = Eo, Va = {
|
|
|
485
485
|
h.value.splice($, 1);
|
|
486
486
|
},
|
|
487
487
|
onColumnChange: ($) => {
|
|
488
|
-
const X = a(h).find((
|
|
488
|
+
const X = a(h).find((K) => K.columnName === $);
|
|
489
489
|
if (X) {
|
|
490
|
-
const
|
|
491
|
-
|
|
490
|
+
const K = e.sortList.find((ae) => ae.name === $);
|
|
491
|
+
K && (X.label = K.label, K.defaultCode ? X.defaultCode = K.defaultCode : delete X.defaultCode);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
};
|
|
@@ -606,7 +606,7 @@ function Ui(e, t, n, o, l, r) {
|
|
|
606
606
|
onChange: e.onChange
|
|
607
607
|
}, {
|
|
608
608
|
item: f(({ element: F }) => [
|
|
609
|
-
G("div", Ri,
|
|
609
|
+
G("div", Ri, de(F), 1)
|
|
610
610
|
]),
|
|
611
611
|
_: 1
|
|
612
612
|
}, 8, ["modelValue", "onChange"])
|
|
@@ -628,7 +628,7 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
628
628
|
components: {
|
|
629
629
|
CloseOutlined: hn,
|
|
630
630
|
AModal: ft,
|
|
631
|
-
ASelect:
|
|
631
|
+
ASelect: Pe,
|
|
632
632
|
ASelectOption: mt,
|
|
633
633
|
AButton: St,
|
|
634
634
|
AInput: Ze,
|
|
@@ -696,9 +696,9 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
696
696
|
}
|
|
697
697
|
let O = !0;
|
|
698
698
|
if ((D = a(p)) != null && D.length)
|
|
699
|
-
for (const
|
|
700
|
-
if ((z =
|
|
701
|
-
for (const se of
|
|
699
|
+
for (const W of a(p)) {
|
|
700
|
+
if ((z = W == null ? void 0 : W.data) != null && z.length) {
|
|
701
|
+
for (const se of W.data)
|
|
702
702
|
if (se.label === v) {
|
|
703
703
|
O = !1;
|
|
704
704
|
break;
|
|
@@ -729,8 +729,8 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
729
729
|
}
|
|
730
730
|
const O = [], D = a(p).length;
|
|
731
731
|
for (let z = 0; z < D; z++) {
|
|
732
|
-
const
|
|
733
|
-
a(p)[z].data =
|
|
732
|
+
const W = a(p)[z];
|
|
733
|
+
a(p)[z].data = W.data.filter((se) => (se.checked && O.push({
|
|
734
734
|
...se,
|
|
735
735
|
checked: !1
|
|
736
736
|
}), !se.checked));
|
|
@@ -746,27 +746,27 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
746
746
|
}, A = (v, O) => {
|
|
747
747
|
const D = v.target.value;
|
|
748
748
|
a(h).has(D) && We.error("组名不能相同,请修改"), a(p)[O].title = D, r = !0;
|
|
749
|
-
}, P = te(
|
|
750
|
-
var ce,
|
|
749
|
+
}, P = te(Re), R = te(at), N = Q(() => a(P).source), J = Q(() => a(P).dataViewId), $ = H(!1), X = () => {
|
|
750
|
+
var ce, pe;
|
|
751
751
|
const v = a(p);
|
|
752
752
|
let O = "";
|
|
753
753
|
a($) && (O = (ce = v[0]) == null ? void 0 : ce.title);
|
|
754
754
|
const D = v == null ? void 0 : v.length, z = {};
|
|
755
755
|
for (let ve = 1; ve < D; ve++) {
|
|
756
|
-
const
|
|
757
|
-
z[
|
|
756
|
+
const ye = v[ve] || {}, { title: Be, data: Ge } = ye;
|
|
757
|
+
z[Be] = (Ge == null ? void 0 : Ge.map((xe) => xe.label)) || [];
|
|
758
758
|
}
|
|
759
|
-
const
|
|
759
|
+
const W = ((pe = a(P)[e.type]) == null ? void 0 : pe.slice()) || [], se = W[e.index];
|
|
760
760
|
se.customGroup = {
|
|
761
761
|
groupInfoMap: z,
|
|
762
762
|
otherGroupName: O
|
|
763
763
|
}, R({
|
|
764
|
-
[e.type]:
|
|
764
|
+
[e.type]: W
|
|
765
765
|
});
|
|
766
|
-
},
|
|
767
|
-
|
|
766
|
+
}, K = H(!1), ae = () => {
|
|
767
|
+
K.value = !0;
|
|
768
768
|
}, E = () => {
|
|
769
|
-
|
|
769
|
+
K.value = !1;
|
|
770
770
|
}, I = () => {
|
|
771
771
|
E(), r && X(), r = !1;
|
|
772
772
|
}, V = () => {
|
|
@@ -778,14 +778,14 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
778
778
|
data: []
|
|
779
779
|
};
|
|
780
780
|
let z = 1;
|
|
781
|
-
for (const
|
|
782
|
-
if (Object.prototype.hasOwnProperty.call(D,
|
|
783
|
-
const ce = D[
|
|
784
|
-
label:
|
|
781
|
+
for (const W in D)
|
|
782
|
+
if (Object.prototype.hasOwnProperty.call(D, W)) {
|
|
783
|
+
const ce = D[W].map((pe) => (q.add(pe), {
|
|
784
|
+
label: pe,
|
|
785
785
|
checked: !1
|
|
786
786
|
}));
|
|
787
787
|
a(p)[z] = {
|
|
788
|
-
title:
|
|
788
|
+
title: W,
|
|
789
789
|
data: ce
|
|
790
790
|
}, z++;
|
|
791
791
|
}
|
|
@@ -812,20 +812,20 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
812
812
|
}
|
|
813
813
|
), { success: D, data: z = [] } = O.data;
|
|
814
814
|
if (D) {
|
|
815
|
-
const
|
|
815
|
+
const W = [];
|
|
816
816
|
(v = z == null ? void 0 : z.slice(0, 200)) == null || v.forEach((se) => {
|
|
817
|
-
q.has(se) ||
|
|
817
|
+
q.has(se) || W.push({
|
|
818
818
|
label: se,
|
|
819
819
|
checked: !1
|
|
820
820
|
});
|
|
821
|
-
}), a(p)[0].data =
|
|
821
|
+
}), a(p)[0].data = W;
|
|
822
822
|
}
|
|
823
823
|
} catch (O) {
|
|
824
824
|
console.error(O);
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
return we(
|
|
828
|
-
|
|
828
|
+
K,
|
|
829
829
|
(v) => {
|
|
830
830
|
v && ne(), window.changeShowTable && window.changeShowTable(!v);
|
|
831
831
|
},
|
|
@@ -835,7 +835,7 @@ const ji = /* @__PURE__ */ he(Mi, [["render", Ui], ["__scopeId", "data-v-6a468e3
|
|
|
835
835
|
), t({
|
|
836
836
|
showModal: ae
|
|
837
837
|
}), {
|
|
838
|
-
visible:
|
|
838
|
+
visible: K,
|
|
839
839
|
title: s,
|
|
840
840
|
activeKey: u,
|
|
841
841
|
customGroupList: p,
|
|
@@ -883,7 +883,7 @@ function nr(e, t, n, o, l, r) {
|
|
|
883
883
|
G("div", null, [
|
|
884
884
|
G("span", Wi, [
|
|
885
885
|
B(" 已选"),
|
|
886
|
-
G("span", Yi,
|
|
886
|
+
G("span", Yi, de(e.selectCount), 1),
|
|
887
887
|
B("个 ")
|
|
888
888
|
]),
|
|
889
889
|
d(c, {
|
|
@@ -895,7 +895,7 @@ function nr(e, t, n, o, l, r) {
|
|
|
895
895
|
default: f(() => [
|
|
896
896
|
(m(!0), M(ie, null, Ae(e.customGroupList, (y, x) => (m(), j(s, { key: x }, {
|
|
897
897
|
default: f(() => [
|
|
898
|
-
B(
|
|
898
|
+
B(de(y.title), 1)
|
|
899
899
|
]),
|
|
900
900
|
_: 2
|
|
901
901
|
}, 1024))), 128))
|
|
@@ -964,8 +964,8 @@ function nr(e, t, n, o, l, r) {
|
|
|
964
964
|
[g]
|
|
965
965
|
]) : (m(), M("div", {
|
|
966
966
|
key: 0,
|
|
967
|
-
onClick:
|
|
968
|
-
},
|
|
967
|
+
onClick: Ne((C) => e.onEditTitle(x), ["prevent", "stop"])
|
|
968
|
+
}, de(y.title), 9, Ji))
|
|
969
969
|
]),
|
|
970
970
|
extra: f(() => [
|
|
971
971
|
G("div", Zi, [
|
|
@@ -990,7 +990,7 @@ function nr(e, t, n, o, l, r) {
|
|
|
990
990
|
_: 1
|
|
991
991
|
}),
|
|
992
992
|
d(_, {
|
|
993
|
-
onClick:
|
|
993
|
+
onClick: Ne((C) => e.onDeleteGroup(x), ["prevent", "stop"])
|
|
994
994
|
}, null, 8, ["onClick"])
|
|
995
995
|
], 64)) : Z("", !0)
|
|
996
996
|
])
|
|
@@ -1005,7 +1005,7 @@ function nr(e, t, n, o, l, r) {
|
|
|
1005
1005
|
key: A
|
|
1006
1006
|
}, {
|
|
1007
1007
|
default: f(() => [
|
|
1008
|
-
G("span", tr,
|
|
1008
|
+
G("span", tr, de(C.label), 1)
|
|
1009
1009
|
]),
|
|
1010
1010
|
_: 2
|
|
1011
1011
|
}, 1032, ["checked", "onUpdate:checked"]))), 128))
|
|
@@ -1071,7 +1071,7 @@ const rr = me({
|
|
|
1071
1071
|
components: {
|
|
1072
1072
|
CloseOutlined: hn,
|
|
1073
1073
|
AppstoreAddOutlined: mo,
|
|
1074
|
-
ASelect:
|
|
1074
|
+
ASelect: Pe,
|
|
1075
1075
|
AInput: Ze,
|
|
1076
1076
|
ADatePicker: fl,
|
|
1077
1077
|
AButton: St,
|
|
@@ -1111,26 +1111,26 @@ const rr = me({
|
|
|
1111
1111
|
},
|
|
1112
1112
|
setup(e) {
|
|
1113
1113
|
var xt, Xe, bt, Dt, $t, wt, At, kt, It, ht, Wt, yt, Cn, Yt, on;
|
|
1114
|
-
const t = (xt = window == null ? void 0 : window.config) == null ? void 0 : xt.pageId, n = te(
|
|
1114
|
+
const t = (xt = window == null ? void 0 : window.config) == null ? void 0 : xt.pageId, n = te(Re), o = te(Ot), l = a(te(Et)), r = te(Fa), s = te(vt), c = H(!1), i = He(), u = Q(() => {
|
|
1115
1115
|
var le;
|
|
1116
1116
|
const ee = [];
|
|
1117
1117
|
return (le = a(s)) == null || le.forEach((ue) => {
|
|
1118
|
-
const { keyName:
|
|
1118
|
+
const { keyName: ge = "", id: Ce = "", type: Oe } = ue;
|
|
1119
1119
|
Oe === "ecanRangePicker" ? ee.push({
|
|
1120
|
-
value: `${
|
|
1121
|
-
label: `${
|
|
1122
|
-
keyName: `${
|
|
1123
|
-
id:
|
|
1120
|
+
value: `${Ce}-startTime`,
|
|
1121
|
+
label: `${ge || Ce}-开始时间值`,
|
|
1122
|
+
keyName: `${ge || Ce}-startTime`,
|
|
1123
|
+
id: Ce
|
|
1124
1124
|
}, {
|
|
1125
|
-
value: `${
|
|
1126
|
-
label: `${
|
|
1127
|
-
keyName: `${
|
|
1128
|
-
id:
|
|
1125
|
+
value: `${Ce}-endTime`,
|
|
1126
|
+
label: `${ge || Ce}-结束时间值`,
|
|
1127
|
+
keyName: `${ge || Ce}-endTime`,
|
|
1128
|
+
id: Ce
|
|
1129
1129
|
}) : ee.push({
|
|
1130
|
-
value:
|
|
1131
|
-
label: `${
|
|
1132
|
-
keyName: `${
|
|
1133
|
-
id:
|
|
1130
|
+
value: Ce,
|
|
1131
|
+
label: `${ge || Ce}`,
|
|
1132
|
+
keyName: `${ge || Ce}`,
|
|
1133
|
+
id: Ce
|
|
1134
1134
|
});
|
|
1135
1135
|
}), ee;
|
|
1136
1136
|
}), p = Q(() => [
|
|
@@ -1205,23 +1205,23 @@ const rr = me({
|
|
|
1205
1205
|
if (ee === "DATE" && !le)
|
|
1206
1206
|
return ue && He(ue);
|
|
1207
1207
|
if (le === "component") {
|
|
1208
|
-
const
|
|
1209
|
-
return
|
|
1208
|
+
const ge = a(u).find((Ce) => Ce.keyName === ue);
|
|
1209
|
+
return ge ? ge.value : ue;
|
|
1210
1210
|
} else
|
|
1211
1211
|
return ue;
|
|
1212
1212
|
}
|
|
1213
1213
|
const R = H([]), N = H(!1), J = Q(() => A.value.fieldType === "DATE"), $ = Q(() => {
|
|
1214
1214
|
const ee = e.type, { source: le } = a(n);
|
|
1215
1215
|
let ue = [];
|
|
1216
|
-
const
|
|
1216
|
+
const ge = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], Ce = ["controlList", "sqlConditions", "variableList", "variableConditions"];
|
|
1217
1217
|
if (le === "EDV_DATA_SET")
|
|
1218
1218
|
ue = R.value;
|
|
1219
|
-
else if (
|
|
1219
|
+
else if (ge.includes(ee)) {
|
|
1220
1220
|
let Oe = [];
|
|
1221
|
-
for (const
|
|
1222
|
-
if (Object.prototype.hasOwnProperty.call(a(n),
|
|
1223
|
-
const it = a(n)[
|
|
1224
|
-
Array.isArray(it) && (
|
|
1221
|
+
for (const Ue in a(n))
|
|
1222
|
+
if (Object.prototype.hasOwnProperty.call(a(n), Ue) && !Ce.includes(Ue)) {
|
|
1223
|
+
const it = a(n)[Ue];
|
|
1224
|
+
Array.isArray(it) && (ge.includes(Ue) ? Oe = Oe.concat(it.filter((De) => De.show)) : Oe = Oe.concat(it));
|
|
1225
1225
|
}
|
|
1226
1226
|
ue = Oe;
|
|
1227
1227
|
} else
|
|
@@ -1231,7 +1231,7 @@ const rr = me({
|
|
|
1231
1231
|
label: Oe.label || Oe.title,
|
|
1232
1232
|
value: Oe.name
|
|
1233
1233
|
}));
|
|
1234
|
-
}), { updateCondition: X, deleteCondition:
|
|
1234
|
+
}), { updateCondition: X, deleteCondition: K, addCondition: ae } = te(Wn, {
|
|
1235
1235
|
// eslint-disable-next-line no-void
|
|
1236
1236
|
updateCondition: (ee, le, ue) => {
|
|
1237
1237
|
},
|
|
@@ -1242,7 +1242,7 @@ const rr = me({
|
|
|
1242
1242
|
addCondition: (ee, le, ue) => {
|
|
1243
1243
|
}
|
|
1244
1244
|
}), E = () => {
|
|
1245
|
-
|
|
1245
|
+
K(e.index, e.path);
|
|
1246
1246
|
};
|
|
1247
1247
|
we(A, (ee) => {
|
|
1248
1248
|
const le = be(ee);
|
|
@@ -1254,18 +1254,18 @@ const rr = me({
|
|
|
1254
1254
|
});
|
|
1255
1255
|
const I = (ee) => {
|
|
1256
1256
|
var Nt;
|
|
1257
|
-
const le = a($).find((Mt) => Mt.value === ee) || {}, { name: ue, genericType:
|
|
1257
|
+
const le = a($).find((Mt) => Mt.value === ee) || {}, { name: ue, genericType: ge, id: Ce, edvDataSetId: Oe, label: Ue, typeGuid: it, indexCode: De, indexCodeNum: Kt } = le;
|
|
1258
1258
|
A.value = {
|
|
1259
|
-
id:
|
|
1259
|
+
id: Ce,
|
|
1260
1260
|
fieldName: ue,
|
|
1261
|
-
fieldType:
|
|
1262
|
-
label:
|
|
1261
|
+
fieldType: ge,
|
|
1262
|
+
label: Ue,
|
|
1263
1263
|
// 重置规则
|
|
1264
1264
|
rule: "",
|
|
1265
|
-
fieldValue:
|
|
1265
|
+
fieldValue: ge === "DATE" ? null : void 0,
|
|
1266
1266
|
targetSource: "",
|
|
1267
1267
|
typeGuid: it,
|
|
1268
|
-
indexCode:
|
|
1268
|
+
indexCode: De,
|
|
1269
1269
|
edvDataSetId: Oe,
|
|
1270
1270
|
indexCodeNum: Kt,
|
|
1271
1271
|
dataType: "",
|
|
@@ -1351,8 +1351,8 @@ const rr = me({
|
|
|
1351
1351
|
Authentication: l,
|
|
1352
1352
|
operateContext: "ygt"
|
|
1353
1353
|
}
|
|
1354
|
-
}), { success: ue, data:
|
|
1355
|
-
ue && (w.value = (ee =
|
|
1354
|
+
}), { success: ue, data: ge = [] } = le.data;
|
|
1355
|
+
ue && (w.value = (ee = ge == null ? void 0 : ge.slice(0, 200)) == null ? void 0 : ee.map((Ce) => ({ label: Ce, value: Ce })));
|
|
1356
1356
|
} catch (le) {
|
|
1357
1357
|
console.error(le);
|
|
1358
1358
|
}
|
|
@@ -1360,48 +1360,48 @@ const rr = me({
|
|
|
1360
1360
|
a(A).rule = ee, a(A).fieldValue = a(A).fieldType === "DATE" ? null : void 0, ["IN", "NOT_IN"].includes(ee) && v();
|
|
1361
1361
|
}, D = (ee) => {
|
|
1362
1362
|
a(A).dataType = ee, a(A).fieldValue = "", a(A).modelKey = "", a(A).prop = "";
|
|
1363
|
-
}, z = H(),
|
|
1363
|
+
}, z = H(), W = (ee) => {
|
|
1364
1364
|
z.value = ee, a(A).fieldValue = (ee == null ? void 0 : ee.join(",")) || "";
|
|
1365
1365
|
}, se = (ee) => {
|
|
1366
1366
|
const { keyPath: le } = ee;
|
|
1367
1367
|
a(A).rule = le[0], a(A).dataType = le[1], a(A).dateFormat = le[2], a(A).fieldValue = "", a(A).modelKey = "", a(A).prop = "";
|
|
1368
1368
|
};
|
|
1369
1369
|
Je(async () => {
|
|
1370
|
-
var
|
|
1371
|
-
if (A.value.dataType = ((
|
|
1372
|
-
const { activeKey: U, dateCalcTypes:
|
|
1373
|
-
if (a(A).dateFormat = (Kt = e.data) == null ? void 0 : Kt.dateFormat, a(A).activeKey = U, a(A).calcWays = ((Nt = e.data) == null ? void 0 : Nt.calcWays) || [], a(A).dateCalcTypes =
|
|
1370
|
+
var Ce, Oe, Ue, it, De, Kt, Nt, Mt, _n, wn;
|
|
1371
|
+
if (A.value.dataType = ((Ce = e.data) == null ? void 0 : Ce.dataType) || "", A.value.componentId = ((Oe = e.data) == null ? void 0 : Oe.componentId) || "", A.value.keyValue = (Ue = e.data) == null ? void 0 : Ue.keyValue, A.value.modelKey = (it = e.data) == null ? void 0 : it.modelKey, A.value.prop = (De = e.data) == null ? void 0 : De.prop, a(A).fieldType === "DATE") {
|
|
1372
|
+
const { activeKey: U, dateCalcTypes: Y = [] } = e.data || {};
|
|
1373
|
+
if (a(A).dateFormat = (Kt = e.data) == null ? void 0 : Kt.dateFormat, a(A).activeKey = U, a(A).calcWays = ((Nt = e.data) == null ? void 0 : Nt.calcWays) || [], a(A).dateCalcTypes = Y, a(A).useCurrentTime && a(A).dataType !== "component" && (c.value = !0), U === 5) {
|
|
1374
1374
|
const oe = a(A).calcWays[0];
|
|
1375
1375
|
if (oe) {
|
|
1376
1376
|
const re = oe.split("-");
|
|
1377
1377
|
a(b).expression = re[0], a(b).around = re[1];
|
|
1378
1378
|
}
|
|
1379
|
-
a(b).unit =
|
|
1379
|
+
a(b).unit = Y[0] || "YEAR";
|
|
1380
1380
|
} else {
|
|
1381
1381
|
a(A).radioValue = ((Mt = e.data) == null ? void 0 : Mt.radioValue) || "";
|
|
1382
1382
|
const oe = a(g).find((re) => {
|
|
1383
1383
|
var _e;
|
|
1384
1384
|
return re.key === ((_e = e.data) == null ? void 0 : _e.activeKey);
|
|
1385
1385
|
});
|
|
1386
|
-
oe &&
|
|
1386
|
+
oe && Se(oe, e.data);
|
|
1387
1387
|
}
|
|
1388
1388
|
} else
|
|
1389
1389
|
z.value = ((wn = (_n = e.data) == null ? void 0 : _n.fieldValue) == null ? void 0 : wn.split(",")) || [];
|
|
1390
1390
|
const { fieldType: ee, fieldName: le, rule: ue } = A.value;
|
|
1391
1391
|
ee !== "DATE" && le && ue && ["IN", "NOT_IN"].includes(ue) && v();
|
|
1392
|
-
const { source:
|
|
1393
|
-
|
|
1392
|
+
const { source: ge } = a(n);
|
|
1393
|
+
ge === "EDV_DATA_SET" && await o.get(`${st}/dataset/` + a(n).edvDataSetId || "", {
|
|
1394
1394
|
headers: {
|
|
1395
1395
|
Authentication: l,
|
|
1396
1396
|
operateContext: "ygt"
|
|
1397
1397
|
}
|
|
1398
1398
|
}).then((U) => {
|
|
1399
|
-
U.data.success && (R.value = U.data.data.column.map((
|
|
1400
|
-
...
|
|
1401
|
-
genericType:
|
|
1399
|
+
U.data.success && (R.value = U.data.data.column.map((Y) => ({
|
|
1400
|
+
...Y,
|
|
1401
|
+
genericType: Y.columnCategory === "0" ? "TEXT" : Y.columnCategory === "1" ? "NUMBER" : "DATE",
|
|
1402
1402
|
edvDataSetId: U.data.data.id,
|
|
1403
|
-
name:
|
|
1404
|
-
label:
|
|
1403
|
+
name: Y.columnName,
|
|
1404
|
+
label: Y.columnName
|
|
1405
1405
|
})));
|
|
1406
1406
|
}).catch((U) => {
|
|
1407
1407
|
console.error(U);
|
|
@@ -1415,42 +1415,42 @@ const rr = me({
|
|
|
1415
1415
|
a(g).forEach((le) => {
|
|
1416
1416
|
le.beforeNum = 0, le.afterNum = 0, le.radioValue = "1", le.value = "";
|
|
1417
1417
|
});
|
|
1418
|
-
},
|
|
1418
|
+
}, pe = (ee, le) => {
|
|
1419
1419
|
T.value = !0;
|
|
1420
|
-
const ue = ee.target.value,
|
|
1421
|
-
le.value =
|
|
1420
|
+
const ue = ee.target.value, ge = le.type, Ce = a(A).dateFormat, Oe = Math.abs(le.beforeNum), Ue = le.afterNum;
|
|
1421
|
+
le.value = ze(ue, ge, Ce, Oe, Ue);
|
|
1422
1422
|
}, ve = (ee) => {
|
|
1423
1423
|
const le = a(A).activeKey;
|
|
1424
1424
|
if (ee !== le)
|
|
1425
1425
|
return;
|
|
1426
1426
|
let ue = "";
|
|
1427
1427
|
le === 0 ? ue = "years" : le === 1 ? ue = "quarters" : le === 2 ? ue = "months" : le === 3 ? ue = "weeks" : le === 4 && (ue = "days");
|
|
1428
|
-
const
|
|
1429
|
-
let Oe = 0,
|
|
1430
|
-
return
|
|
1431
|
-
},
|
|
1432
|
-
if (T.value = !0, le.radioValue ===
|
|
1433
|
-
const
|
|
1434
|
-
ue === "+" ? le.value = He().add(
|
|
1428
|
+
const ge = a(A).dateFormat, Ce = a(A).radioValue;
|
|
1429
|
+
let Oe = 0, Ue = 0;
|
|
1430
|
+
return Ce === "1" ? Oe = Math.abs(a(A).calcWays[0]) : Ce === "2" && (Ue = a(A).calcWays[0]), ze(Ce, ue, ge, Oe, Ue);
|
|
1431
|
+
}, ye = (ee, le, ue, ge) => {
|
|
1432
|
+
if (T.value = !0, le.radioValue === ge) {
|
|
1433
|
+
const Ce = ee.target.value;
|
|
1434
|
+
ue === "+" ? le.value = He().add(Ce, le.type).format(a(A).dateFormat) : le.value = He().subtract(Ce, le.type).format(a(A).dateFormat);
|
|
1435
1435
|
}
|
|
1436
|
-
},
|
|
1436
|
+
}, Be = Q(() => {
|
|
1437
1437
|
let ee = !1;
|
|
1438
1438
|
const { calcWays: le = [] } = a(A), ue = le[0];
|
|
1439
1439
|
return ue && parseFloat(ue) !== 0 && (ee = !0), ee;
|
|
1440
|
-
}),
|
|
1440
|
+
}), Ge = (ee, le) => {
|
|
1441
1441
|
a(A).calcWays || (a(A).calcWays = []), a(A).activeKey = le, a(A).radioValue = ee.radioValue, ee.radioValue === "1" ? a(A).calcWays[0] = "-" + ee.beforeNum : ee.radioValue === "2" ? a(A).calcWays[0] = ee.afterNum : ee.radioValue === "3" ? le === 4 ? a(A).calcWays[0] = "0" : a(A).calcWays[0] = "BEGIN" : ee.radioValue === "4" && (a(A).calcWays[0] = "END"), le === 0 ? a(A).dateCalcTypes = ["YEAR"] : le === 1 ? a(A).dateCalcTypes = ["QUARTER"] : le === 2 ? a(A).dateCalcTypes = ["MONTH"] : le === 3 ? a(A).dateCalcTypes = ["WEEK"] : le === 4 && (a(A).dateCalcTypes = ["DAY"]), N.value = !1;
|
|
1442
|
-
},
|
|
1442
|
+
}, xe = () => {
|
|
1443
1443
|
a(A).activeKey = 5, a(A).dateCalcTypes = [a(b).unit], a(A).calcWays[0] = `${a(b).expression}-${a(b).around}`, N.value = !1;
|
|
1444
1444
|
};
|
|
1445
|
-
function
|
|
1446
|
-
const { radioValue: ue = "", calcWays:
|
|
1447
|
-
ee.radioValue = ue,
|
|
1445
|
+
function Se(ee, le) {
|
|
1446
|
+
const { radioValue: ue = "", calcWays: ge = [] } = le;
|
|
1447
|
+
ee.radioValue = ue, ge != null && ge.length && (ue === "1" ? ee.beforeNum = Math.abs(ge[0]) : ue === "2" && (ee.afterNum = ge[0]));
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function ze(ee, le, ue, ge, Ce) {
|
|
1450
1450
|
if (ee === "1")
|
|
1451
|
-
return He().subtract(
|
|
1451
|
+
return He().subtract(ge, le).format(ue);
|
|
1452
1452
|
if (ee === "2")
|
|
1453
|
-
return He().add(
|
|
1453
|
+
return He().add(Ce, le).format(ue);
|
|
1454
1454
|
if (ee === "3") {
|
|
1455
1455
|
if (le === "years")
|
|
1456
1456
|
return He().startOf("year").format(ue);
|
|
@@ -1479,7 +1479,7 @@ const rr = me({
|
|
|
1479
1479
|
valueOptions: w,
|
|
1480
1480
|
onRuleChange: O,
|
|
1481
1481
|
onDataTypeChange: D,
|
|
1482
|
-
onFieldValueSelectChange:
|
|
1482
|
+
onFieldValueSelectChange: W,
|
|
1483
1483
|
fieldValues: z,
|
|
1484
1484
|
onDelete: E,
|
|
1485
1485
|
isDateType: J,
|
|
@@ -1501,18 +1501,18 @@ const rr = me({
|
|
|
1501
1501
|
isShowCustomDataType: Ft,
|
|
1502
1502
|
handleMenuClick: se,
|
|
1503
1503
|
changeTabInitDate: ce,
|
|
1504
|
-
changeRadioValue:
|
|
1504
|
+
changeRadioValue: pe,
|
|
1505
1505
|
getFieldValue: ve,
|
|
1506
|
-
blurCompare:
|
|
1507
|
-
okDatePickConfig:
|
|
1506
|
+
blurCompare: ye,
|
|
1507
|
+
okDatePickConfig: Ge,
|
|
1508
1508
|
onChangeComponent: V,
|
|
1509
1509
|
filterOption: _t,
|
|
1510
|
-
okCustomConfig:
|
|
1510
|
+
okCustomConfig: xe,
|
|
1511
1511
|
clickConditionMenu: ({ key: ee }) => {
|
|
1512
1512
|
ae(e.path, e.index, ee === "2" ? "||" : "&&");
|
|
1513
1513
|
},
|
|
1514
1514
|
dataSetfieldOptions: R,
|
|
1515
|
-
isConfigFlag:
|
|
1515
|
+
isConfigFlag: Be
|
|
1516
1516
|
};
|
|
1517
1517
|
}
|
|
1518
1518
|
});
|
|
@@ -1540,7 +1540,7 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1540
1540
|
default: f(() => [
|
|
1541
1541
|
G("span", {
|
|
1542
1542
|
title: N.label
|
|
1543
|
-
},
|
|
1543
|
+
}, de(N.label), 9, ur)
|
|
1544
1544
|
]),
|
|
1545
1545
|
_: 2
|
|
1546
1546
|
}, 1032, ["value"]))), 128))
|
|
@@ -1567,7 +1567,7 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1567
1567
|
value: N.value
|
|
1568
1568
|
}, {
|
|
1569
1569
|
default: f(() => [
|
|
1570
|
-
B(
|
|
1570
|
+
B(de(N.label), 1)
|
|
1571
1571
|
]),
|
|
1572
1572
|
_: 2
|
|
1573
1573
|
}, 1032, ["value"]))), 128))
|
|
@@ -1581,7 +1581,7 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1581
1581
|
e.condition.dataType ? (m(), j(c, {
|
|
1582
1582
|
key: 1,
|
|
1583
1583
|
"show-search": "",
|
|
1584
|
-
style:
|
|
1584
|
+
style: Me({
|
|
1585
1585
|
width: e.condition.fieldValue === "PARENT" ? "" : "calc(100% - 130px)",
|
|
1586
1586
|
marginRight: "10px"
|
|
1587
1587
|
}),
|
|
@@ -1671,7 +1671,7 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1671
1671
|
e.isDateType ? (m(), j(p, {
|
|
1672
1672
|
key: 5,
|
|
1673
1673
|
class: "calendar-icon",
|
|
1674
|
-
style:
|
|
1674
|
+
style: Me({
|
|
1675
1675
|
color: e.isUseCurrentTime || e.isConfigFlag ? "#1890ff" : ""
|
|
1676
1676
|
}),
|
|
1677
1677
|
onClick: t[9] || (t[9] = (N) => {
|
|
@@ -1714,9 +1714,9 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1714
1714
|
onChange: ($) => e.changeRadioValue($, N)
|
|
1715
1715
|
}, {
|
|
1716
1716
|
default: f(() => [
|
|
1717
|
-
e.showTime ? (m(), M("div", br, "相对当前时间:" +
|
|
1717
|
+
e.showTime ? (m(), M("div", br, "相对当前时间:" + de(N.value), 1)) : (m(), M("div", hr, "相对当前时间:" + de(e.getFieldValue(J)), 1)),
|
|
1718
1718
|
d(T, {
|
|
1719
|
-
style:
|
|
1719
|
+
style: Me(e.dateRadioStyle),
|
|
1720
1720
|
value: "1"
|
|
1721
1721
|
}, {
|
|
1722
1722
|
default: f(() => [
|
|
@@ -1726,12 +1726,12 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1726
1726
|
min: 0,
|
|
1727
1727
|
onBlur: ($) => e.blurCompare($, N, "-", "1")
|
|
1728
1728
|
}, null, 8, ["value", "onUpdate:value", "onBlur"]),
|
|
1729
|
-
G("span", yr,
|
|
1729
|
+
G("span", yr, de(N.beforeLabel), 1)
|
|
1730
1730
|
]),
|
|
1731
1731
|
_: 2
|
|
1732
1732
|
}, 1032, ["style"]),
|
|
1733
1733
|
d(T, {
|
|
1734
|
-
style:
|
|
1734
|
+
style: Me(e.dateRadioStyle),
|
|
1735
1735
|
value: "2"
|
|
1736
1736
|
}, {
|
|
1737
1737
|
default: f(() => [
|
|
@@ -1741,27 +1741,27 @@ function Ar(e, t, n, o, l, r) {
|
|
|
1741
1741
|
min: 0,
|
|
1742
1742
|
onBlur: ($) => e.blurCompare($, N, "+", "2")
|
|
1743
1743
|
}, null, 8, ["value", "onUpdate:value", "onBlur"]),
|
|
1744
|
-
G("span", gr,
|
|
1744
|
+
G("span", gr, de(N.afterLabel), 1)
|
|
1745
1745
|
]),
|
|
1746
1746
|
_: 2
|
|
1747
1747
|
}, 1032, ["style"]),
|
|
1748
1748
|
N.beforeText ? (m(), j(T, {
|
|
1749
1749
|
key: 2,
|
|
1750
|
-
style:
|
|
1750
|
+
style: Me(e.dateRadioStyle),
|
|
1751
1751
|
value: "3"
|
|
1752
1752
|
}, {
|
|
1753
1753
|
default: f(() => [
|
|
1754
|
-
B(
|
|
1754
|
+
B(de(N.beforeText), 1)
|
|
1755
1755
|
]),
|
|
1756
1756
|
_: 2
|
|
1757
1757
|
}, 1032, ["style"])) : Z("", !0),
|
|
1758
1758
|
N.afterText ? (m(), j(T, {
|
|
1759
1759
|
key: 3,
|
|
1760
|
-
style:
|
|
1760
|
+
style: Me(e.dateRadioStyle),
|
|
1761
1761
|
value: "4"
|
|
1762
1762
|
}, {
|
|
1763
1763
|
default: f(() => [
|
|
1764
|
-
B(
|
|
1764
|
+
B(de(N.afterText), 1)
|
|
1765
1765
|
]),
|
|
1766
1766
|
_: 2
|
|
1767
1767
|
}, 1032, ["style"])) : Z("", !0)
|
|
@@ -2007,7 +2007,7 @@ const Dr = /* @__PURE__ */ he(Sr, [["render", xr], ["__scopeId", "data-v-553c149
|
|
|
2007
2007
|
}
|
|
2008
2008
|
},
|
|
2009
2009
|
components: {
|
|
2010
|
-
ASelect:
|
|
2010
|
+
ASelect: Pe,
|
|
2011
2011
|
AInput: Ze,
|
|
2012
2012
|
AInputNumber: Tt
|
|
2013
2013
|
},
|
|
@@ -2106,7 +2106,7 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2106
2106
|
const n = H("1"), o = () => {
|
|
2107
2107
|
var I;
|
|
2108
2108
|
return `添加过滤条件-${((I = e.item) == null ? void 0 : I.label) || ""}`;
|
|
2109
|
-
}, l = te(
|
|
2109
|
+
}, l = te(Re), r = te(at), s = te(vt), c = Q(() => {
|
|
2110
2110
|
var I;
|
|
2111
2111
|
return (I = a(l)) == null ? void 0 : I.dataSourceId;
|
|
2112
2112
|
}), i = te(lt), u = te(co), p = H([]), h = H([]), _ = H(!1), T = te(xa), F = (I) => {
|
|
@@ -2175,19 +2175,19 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2175
2175
|
if (q.splice(I, 1), q.length === 1) {
|
|
2176
2176
|
if (ne.length > 0) {
|
|
2177
2177
|
const O = ne.length - 1, D = ne[O], z = ne.slice(0, O);
|
|
2178
|
-
let
|
|
2178
|
+
let W = a(p), se = "";
|
|
2179
2179
|
for (const ce of z)
|
|
2180
|
-
if (
|
|
2181
|
-
se = (w =
|
|
2180
|
+
if (W[ce])
|
|
2181
|
+
se = (w = W[ce]) == null ? void 0 : w.join, W = (v = W[ce]) == null ? void 0 : v.conditions;
|
|
2182
2182
|
else
|
|
2183
2183
|
break;
|
|
2184
2184
|
if (se === q[0].join) {
|
|
2185
2185
|
if (Array.isArray(q[0].conditions)) {
|
|
2186
2186
|
const ce = be(q[0].conditions);
|
|
2187
|
-
|
|
2187
|
+
W.splice(+D, 1), W.splice(+D, 0, ...ce);
|
|
2188
2188
|
}
|
|
2189
2189
|
} else
|
|
2190
|
-
|
|
2190
|
+
W[D] = q[0];
|
|
2191
2191
|
}
|
|
2192
2192
|
} else
|
|
2193
2193
|
q.length === 0 && (p.value = []);
|
|
@@ -2251,10 +2251,10 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2251
2251
|
const ne = rn(a(p));
|
|
2252
2252
|
for (const z of ne)
|
|
2253
2253
|
if (z.dataType === "component" && z.fieldValue) {
|
|
2254
|
-
const
|
|
2255
|
-
|
|
2254
|
+
const W = a(y).find((se) => se.value === z.fieldValue);
|
|
2255
|
+
W && (z.fieldValue = W.keyName);
|
|
2256
2256
|
}
|
|
2257
|
-
const L = q.filter((z) => !ne.find((
|
|
2257
|
+
const L = q.filter((z) => !ne.find((W) => W.componentId === z.componentId)).filter((z) => !I.find((W) => W.id === z.componentId)), w = ne.filter((z) => !q.find((W) => W.componentId === z.componentId));
|
|
2258
2258
|
C(L, w), r({
|
|
2259
2259
|
[e.type]: V,
|
|
2260
2260
|
sqlConditions: Pa({
|
|
@@ -2277,9 +2277,9 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2277
2277
|
if (w) {
|
|
2278
2278
|
const { type: v, id: O, events: D = [] } = w, z = Bn(v);
|
|
2279
2279
|
if (L.add)
|
|
2280
|
-
D.find((
|
|
2280
|
+
D.find((W) => {
|
|
2281
2281
|
var se;
|
|
2282
|
-
return
|
|
2282
|
+
return W.on === z && W.target === ((se = a(i)) == null ? void 0 : se.id) && W.emit === "refreshData";
|
|
2283
2283
|
}) || u({
|
|
2284
2284
|
id: O,
|
|
2285
2285
|
events: [...D, {
|
|
@@ -2289,11 +2289,11 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2289
2289
|
}].reverse()
|
|
2290
2290
|
});
|
|
2291
2291
|
else if (L.delete) {
|
|
2292
|
-
const
|
|
2292
|
+
const W = D.findIndex((se) => {
|
|
2293
2293
|
var ce;
|
|
2294
2294
|
return se.on === z && se.target === ((ce = a(i)) == null ? void 0 : ce.id) && se.emit === "refreshData";
|
|
2295
2295
|
});
|
|
2296
|
-
|
|
2296
|
+
W !== -1 && (D.splice(W, 1), u({
|
|
2297
2297
|
id: O,
|
|
2298
2298
|
events: D
|
|
2299
2299
|
}));
|
|
@@ -2309,8 +2309,8 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2309
2309
|
S && x(), S = !1, P();
|
|
2310
2310
|
}, N = () => {
|
|
2311
2311
|
P();
|
|
2312
|
-
}, J = te(Ot), $ = a(te(Et)), X = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId,
|
|
2313
|
-
Qt(Fa,
|
|
2312
|
+
}, J = te(Ot), $ = a(te(Et)), X = (E = window == null ? void 0 : window.config) == null ? void 0 : E.pageId, K = H([]);
|
|
2313
|
+
Qt(Fa, K);
|
|
2314
2314
|
const ae = async (I) => {
|
|
2315
2315
|
var V;
|
|
2316
2316
|
if (["leftAxisList", "rightAxisList", "indicators", "queryColumnList"].includes(e.type))
|
|
@@ -2327,7 +2327,7 @@ const jr = /* @__PURE__ */ he($r, [["render", Ur], ["__scopeId", "data-v-f543c69
|
|
|
2327
2327
|
operateContext: "ygt"
|
|
2328
2328
|
}
|
|
2329
2329
|
}), { success: w, data: v = [] } = L.data;
|
|
2330
|
-
w && ((V = v == null ? void 0 : v.dataViewColumns) != null && V.length) && (
|
|
2330
|
+
w && ((V = v == null ? void 0 : v.dataViewColumns) != null && V.length) && (K.value = v.dataViewColumns.map((O) => ({
|
|
2331
2331
|
...O,
|
|
2332
2332
|
label: O.title || O.label
|
|
2333
2333
|
})));
|
|
@@ -2499,7 +2499,7 @@ const Yr = /* @__PURE__ */ he(Gr, [["render", Wr], ["__scopeId", "data-v-498b433
|
|
|
2499
2499
|
AModal: ft
|
|
2500
2500
|
},
|
|
2501
2501
|
setup(e, { expose: t }) {
|
|
2502
|
-
const n = H(!1), o = te(
|
|
2502
|
+
const n = H(!1), o = te(Re), l = te(at), r = H(), s = (p) => {
|
|
2503
2503
|
const { showLabel: h = "", label: _ = "" } = p;
|
|
2504
2504
|
r.value = h || _ || "", n.value = !0;
|
|
2505
2505
|
}, c = () => {
|
|
@@ -2568,11 +2568,11 @@ const Zr = /* @__PURE__ */ he(Kr, [["render", Jr], ["__scopeId", "data-v-de6a175
|
|
|
2568
2568
|
}
|
|
2569
2569
|
},
|
|
2570
2570
|
components: {
|
|
2571
|
-
ASelect:
|
|
2571
|
+
ASelect: Pe,
|
|
2572
2572
|
AModal: ft
|
|
2573
2573
|
},
|
|
2574
2574
|
setup(e, { expose: t }) {
|
|
2575
|
-
const n = H(!1), o = te(
|
|
2575
|
+
const n = H(!1), o = te(Re), l = te(at), r = te(vt), s = te(lt), c = te(co), i = H(), u = Q(() => {
|
|
2576
2576
|
var g;
|
|
2577
2577
|
return (g = a(r)) == null ? void 0 : g.filter((y) => y.keyName !== "");
|
|
2578
2578
|
});
|
|
@@ -2594,15 +2594,15 @@ const Zr = /* @__PURE__ */ he(Kr, [["render", Jr], ["__scopeId", "data-v-de6a175
|
|
|
2594
2594
|
for (const R of C) {
|
|
2595
2595
|
const N = a(r).find((J) => J.id === R.componentId);
|
|
2596
2596
|
if (N) {
|
|
2597
|
-
const { type: J, id: $, events: X = [] } = N,
|
|
2597
|
+
const { type: J, id: $, events: X = [] } = N, K = Bn(J);
|
|
2598
2598
|
if (R.add)
|
|
2599
2599
|
X.find((ae) => {
|
|
2600
2600
|
var E;
|
|
2601
|
-
return ae.on ===
|
|
2601
|
+
return ae.on === K && ae.target === ((E = a(s)) == null ? void 0 : E.id) && ae.emit === "refreshData";
|
|
2602
2602
|
}) || c({
|
|
2603
2603
|
id: $,
|
|
2604
2604
|
events: [...X, {
|
|
2605
|
-
on:
|
|
2605
|
+
on: K,
|
|
2606
2606
|
target: (P = a(s)) == null ? void 0 : P.id,
|
|
2607
2607
|
emit: "refreshData"
|
|
2608
2608
|
}].reverse()
|
|
@@ -2610,7 +2610,7 @@ const Zr = /* @__PURE__ */ he(Kr, [["render", Jr], ["__scopeId", "data-v-de6a175
|
|
|
2610
2610
|
else if (R.delete) {
|
|
2611
2611
|
const ae = X.findIndex((E) => {
|
|
2612
2612
|
var I;
|
|
2613
|
-
return E.on ===
|
|
2613
|
+
return E.on === K && E.target === ((I = a(s)) == null ? void 0 : I.id) && E.emit === "refreshData";
|
|
2614
2614
|
});
|
|
2615
2615
|
ae !== -1 && (X.splice(ae, 1), c({
|
|
2616
2616
|
id: $,
|
|
@@ -2699,11 +2699,11 @@ const ls = /* @__PURE__ */ he(es, [["render", as], ["__scopeId", "data-v-08af1ef
|
|
|
2699
2699
|
}
|
|
2700
2700
|
},
|
|
2701
2701
|
components: {
|
|
2702
|
-
ASelect:
|
|
2702
|
+
ASelect: Pe,
|
|
2703
2703
|
AModal: ft
|
|
2704
2704
|
},
|
|
2705
2705
|
setup(e, { expose: t }) {
|
|
2706
|
-
const n = H(!1), o = te(
|
|
2706
|
+
const n = H(!1), o = te(Re), l = te(at), r = H(), s = H([]), c = (_, T) => {
|
|
2707
2707
|
const { dimByCount: F = "" } = _;
|
|
2708
2708
|
r.value = F, s.value = T.filter((S) => ["DIM", "BUILT_IN_DIM", "FIELD"].includes(S.scope)).map((S) => ({
|
|
2709
2709
|
label: S.title || S.name,
|
|
@@ -2807,16 +2807,16 @@ const ps = /* @__PURE__ */ he(is, [["render", cs], ["__scopeId", "data-v-aa1c298
|
|
|
2807
2807
|
},
|
|
2808
2808
|
emits: ["update:value", "change"],
|
|
2809
2809
|
setup(e, { emit: t }) {
|
|
2810
|
-
const n = te(Ot), o = a(te(Et)), l = te(
|
|
2810
|
+
const n = te(Ot), o = a(te(Et)), l = te(Re), r = Q(() => a(l).leftAxisList || []), s = Q(() => a(l).variableList || []), c = Q(
|
|
2811
2811
|
() => a(l).rightAxisList || []
|
|
2812
2812
|
), i = Q(() => a(l).indicators || []), u = Q(
|
|
2813
2813
|
() => a(l).queryColumnList || []
|
|
2814
2814
|
), p = Q(() => a(l).indexLibColumns || []), h = Q(() => {
|
|
2815
2815
|
var X;
|
|
2816
2816
|
let $ = a(r).concat(a(c)).concat(a(i)).concat(a(u));
|
|
2817
|
-
return (X = a(p)) != null && X.length && ($ = a(u).concat(a(p))), e.mode === "edit" ? ($ == null ? void 0 : $.filter((
|
|
2817
|
+
return (X = a(p)) != null && X.length && ($ = a(u).concat(a(p))), e.mode === "edit" ? ($ == null ? void 0 : $.filter((K) => {
|
|
2818
2818
|
var ae;
|
|
2819
|
-
return
|
|
2819
|
+
return K.id !== ((ae = e.item) == null ? void 0 : ae.id);
|
|
2820
2820
|
})) || [] : $ || [];
|
|
2821
2821
|
}), _ = Q(() => s.value.filter(($) => !$.randomKey)), T = Q({
|
|
2822
2822
|
get: () => e.value || "",
|
|
@@ -2825,38 +2825,38 @@ const ps = /* @__PURE__ */ he(is, [["render", cs], ["__scopeId", "data-v-aa1c298
|
|
|
2825
2825
|
}
|
|
2826
2826
|
}), F = H("1"), S = H(""), b = ($) => {
|
|
2827
2827
|
const X = document.getElementById("calTextArea");
|
|
2828
|
-
let
|
|
2828
|
+
let K = T.value;
|
|
2829
2829
|
if (document.selection) {
|
|
2830
2830
|
const ae = document.selection.createRange();
|
|
2831
2831
|
ae.text = $;
|
|
2832
2832
|
} else if (typeof X.selectionStart == "number" && typeof X.selectionEnd == "number") {
|
|
2833
2833
|
const ae = X.selectionStart, E = X.selectionEnd;
|
|
2834
2834
|
let I = ae;
|
|
2835
|
-
|
|
2835
|
+
K = K.substring(0, ae) + $ + K.substring(E, K.length), I += $.length, X.selectionStart = X.selectionEnd = I;
|
|
2836
2836
|
} else
|
|
2837
|
-
|
|
2838
|
-
T.value =
|
|
2837
|
+
K += $;
|
|
2838
|
+
T.value = K;
|
|
2839
2839
|
}, g = ["+", "-", "*", "/", "(", ")"], y = ($, X) => {
|
|
2840
|
-
let
|
|
2840
|
+
let K = "";
|
|
2841
2841
|
switch (X) {
|
|
2842
2842
|
case "name": {
|
|
2843
|
-
|
|
2843
|
+
K = "${" + $ + "}";
|
|
2844
2844
|
break;
|
|
2845
2845
|
}
|
|
2846
2846
|
case "function": {
|
|
2847
|
-
|
|
2847
|
+
K = $ + "()";
|
|
2848
2848
|
break;
|
|
2849
2849
|
}
|
|
2850
2850
|
default:
|
|
2851
|
-
|
|
2851
|
+
K = $;
|
|
2852
2852
|
}
|
|
2853
|
-
b(
|
|
2853
|
+
b(K);
|
|
2854
2854
|
}, x = [], C = H([]), A = H(!0), P = H([]), R = ($) => {
|
|
2855
2855
|
var X;
|
|
2856
|
-
for (const
|
|
2857
|
-
(X =
|
|
2858
|
-
key:
|
|
2859
|
-
title:
|
|
2856
|
+
for (const K of $)
|
|
2857
|
+
(X = K == null ? void 0 : K.children) != null && X.length ? R(K.children) : x.push({
|
|
2858
|
+
key: K.key,
|
|
2859
|
+
title: K.title
|
|
2860
2860
|
});
|
|
2861
2861
|
}, N = async () => {
|
|
2862
2862
|
try {
|
|
@@ -2865,8 +2865,8 @@ const ps = /* @__PURE__ */ he(is, [["render", cs], ["__scopeId", "data-v-aa1c298
|
|
|
2865
2865
|
Authentication: o,
|
|
2866
2866
|
operateContext: "ygt"
|
|
2867
2867
|
}
|
|
2868
|
-
}), { success: X, data:
|
|
2869
|
-
X && (
|
|
2868
|
+
}), { success: X, data: K = [] } = $.data;
|
|
2869
|
+
X && (K != null && K.length) && (R(K), P.value = K);
|
|
2870
2870
|
} catch ($) {
|
|
2871
2871
|
console.error($);
|
|
2872
2872
|
}
|
|
@@ -2874,7 +2874,7 @@ const ps = /* @__PURE__ */ he(is, [["render", cs], ["__scopeId", "data-v-aa1c298
|
|
|
2874
2874
|
C.value = $, A.value = !1;
|
|
2875
2875
|
};
|
|
2876
2876
|
return we(S, ($) => {
|
|
2877
|
-
const X = x.map((
|
|
2877
|
+
const X = x.map((K) => K.title.indexOf($) > -1 ? Qn(K.key, P.value) : null).filter((K, ae, E) => K && E.indexOf(K) === ae);
|
|
2878
2878
|
C.value = X, S.value = $, A.value = !0;
|
|
2879
2879
|
}), Je(() => {
|
|
2880
2880
|
N();
|
|
@@ -2911,13 +2911,13 @@ function xs(e, t, n, o, l, r) {
|
|
|
2911
2911
|
default: f(() => [
|
|
2912
2912
|
d(s, { value: "1" }, {
|
|
2913
2913
|
default: f(() => [
|
|
2914
|
-
B("数值字段(" +
|
|
2914
|
+
B("数值字段(" + de(e.fieldList.length) + ")", 1)
|
|
2915
2915
|
]),
|
|
2916
2916
|
_: 1
|
|
2917
2917
|
}),
|
|
2918
2918
|
d(s, { value: "2" }, {
|
|
2919
2919
|
default: f(() => [
|
|
2920
|
-
B("全局变量(" +
|
|
2920
|
+
B("全局变量(" + de(e.varList.length) + ")", 1)
|
|
2921
2921
|
]),
|
|
2922
2922
|
_: 1
|
|
2923
2923
|
})
|
|
@@ -2929,12 +2929,12 @@ function xs(e, t, n, o, l, r) {
|
|
|
2929
2929
|
class: "field",
|
|
2930
2930
|
key: g,
|
|
2931
2931
|
onClick: (y) => e.selectedElem(b.label, "name")
|
|
2932
|
-
},
|
|
2932
|
+
}, de(b.label), 9, bs))), 128)) : Z("", !0),
|
|
2933
2933
|
e.activeKey === "2" ? (m(!0), M(ie, { key: 1 }, Ae(e.varList, (b, g) => (m(), M("div", {
|
|
2934
2934
|
class: "field",
|
|
2935
2935
|
key: g,
|
|
2936
2936
|
onClick: (y) => e.selectedElem(b.variableName, "name")
|
|
2937
|
-
},
|
|
2937
|
+
}, de(b.variableName), 9, hs))), 128)) : Z("", !0)
|
|
2938
2938
|
])
|
|
2939
2939
|
]),
|
|
2940
2940
|
_: 1
|
|
@@ -2957,7 +2957,7 @@ function xs(e, t, n, o, l, r) {
|
|
|
2957
2957
|
(m(!0), M(ie, null, Ae(e.calculMethods, (b, g) => (m(), M("li", {
|
|
2958
2958
|
onClick: (y) => e.selectedElem(b, "symbol"),
|
|
2959
2959
|
key: g
|
|
2960
|
-
},
|
|
2960
|
+
}, de(b), 9, Cs))), 128))
|
|
2961
2961
|
]),
|
|
2962
2962
|
d(F, {
|
|
2963
2963
|
placement: "topRight",
|
|
@@ -2985,10 +2985,10 @@ function xs(e, t, n, o, l, r) {
|
|
|
2985
2985
|
d(h, { placement: "top" }, Sa({
|
|
2986
2986
|
default: f(() => [
|
|
2987
2987
|
b.indexOf(e.searchFuncValue) > -1 ? (m(), M("span", Ts, [
|
|
2988
|
-
B(
|
|
2989
|
-
G("span", Os,
|
|
2990
|
-
B(" " +
|
|
2991
|
-
])) : (m(), M("span", Es,
|
|
2988
|
+
B(de(b.substr(0, b.indexOf(e.searchFuncValue))) + " ", 1),
|
|
2989
|
+
G("span", Os, de(e.searchFuncValue), 1),
|
|
2990
|
+
B(" " + de(b.substr(b.indexOf(e.searchFuncValue) + e.searchFuncValue.length)), 1)
|
|
2991
|
+
])) : (m(), M("span", Es, de(b), 1)),
|
|
2992
2992
|
g ? (m(), M("span", {
|
|
2993
2993
|
key: 2,
|
|
2994
2994
|
class: "insertsty",
|
|
@@ -3002,11 +3002,11 @@ function xs(e, t, n, o, l, r) {
|
|
|
3002
3002
|
fn: f(() => [
|
|
3003
3003
|
G("div", null, [
|
|
3004
3004
|
ks,
|
|
3005
|
-
G("span", null,
|
|
3005
|
+
G("span", null, de(y), 1)
|
|
3006
3006
|
]),
|
|
3007
3007
|
G("div", null, [
|
|
3008
3008
|
Ss,
|
|
3009
|
-
G("span", null,
|
|
3009
|
+
G("span", null, de(x), 1)
|
|
3010
3010
|
])
|
|
3011
3011
|
]),
|
|
3012
3012
|
key: "0"
|
|
@@ -3043,7 +3043,7 @@ const Ds = /* @__PURE__ */ he(ds, [["render", xs], ["__scopeId", "data-v-4217a6c
|
|
|
3043
3043
|
AModal: ft,
|
|
3044
3044
|
AFormItem: Ea,
|
|
3045
3045
|
AInput: Ze,
|
|
3046
|
-
ASelect:
|
|
3046
|
+
ASelect: Pe,
|
|
3047
3047
|
ASelectOption: mt,
|
|
3048
3048
|
ATextarea: uo,
|
|
3049
3049
|
AInputNumber: Tt,
|
|
@@ -3071,7 +3071,7 @@ const Ds = /* @__PURE__ */ he(ds, [["render", xs], ["__scopeId", "data-v-4217a6c
|
|
|
3071
3071
|
}
|
|
3072
3072
|
},
|
|
3073
3073
|
setup(e, { expose: t }) {
|
|
3074
|
-
const n = te(vt), o = te(
|
|
3074
|
+
const n = te(vt), o = te(Re), l = te(at), r = te(lt), s = Q(() => a(n)), c = Q(
|
|
3075
3075
|
() => a(o)[e.type] || []
|
|
3076
3076
|
), i = Q(() => {
|
|
3077
3077
|
const E = ["leftAxisList", "rightAxisList", "queryColumnList", "indicators"];
|
|
@@ -3210,7 +3210,7 @@ const Ds = /* @__PURE__ */ he(ds, [["render", xs], ["__scopeId", "data-v-4217a6c
|
|
|
3210
3210
|
F.value.clearValidate(), P();
|
|
3211
3211
|
}, X = () => {
|
|
3212
3212
|
g = !0, a(b).builtInCalcWay = "";
|
|
3213
|
-
},
|
|
3213
|
+
}, K = Q(() => {
|
|
3214
3214
|
let E = "";
|
|
3215
3215
|
const I = a(b).builtInCalcWay, V = a(b).builtInValueSource;
|
|
3216
3216
|
if (!V || !I)
|
|
@@ -3287,7 +3287,7 @@ const Ds = /* @__PURE__ */ he(ds, [["render", xs], ["__scopeId", "data-v-4217a6c
|
|
|
3287
3287
|
onOK: J,
|
|
3288
3288
|
onChange: y,
|
|
3289
3289
|
formRules: N,
|
|
3290
|
-
accessLogic:
|
|
3290
|
+
accessLogic: K,
|
|
3291
3291
|
formRef: F,
|
|
3292
3292
|
onChangeBuiltInFormula: X,
|
|
3293
3293
|
componentList: s,
|
|
@@ -3460,7 +3460,7 @@ function Ms(e, t, n, o, l, r) {
|
|
|
3460
3460
|
disabled: e.mode === "edit" && e.item.label === g.name
|
|
3461
3461
|
}, {
|
|
3462
3462
|
default: f(() => [
|
|
3463
|
-
B(
|
|
3463
|
+
B(de(g.label), 1)
|
|
3464
3464
|
]),
|
|
3465
3465
|
_: 2
|
|
3466
3466
|
}, 1032, ["value", "disabled"]))), 128))
|
|
@@ -3541,7 +3541,7 @@ function Ms(e, t, n, o, l, r) {
|
|
|
3541
3541
|
[
|
|
3542
3542
|
"BUILT_IN_RANK_IN_GROUPO",
|
|
3543
3543
|
"BUILT_IN_ALL_VALUE_IN_GROUPO"
|
|
3544
|
-
].includes(e.formState.builtInFormula) && e.formState.builtInValueSource ? (m(), M("div", Is, " 蓝色字段跟随您后续维度设置的顺序而变化,以获取相应的" +
|
|
3544
|
+
].includes(e.formState.builtInFormula) && e.formState.builtInValueSource ? (m(), M("div", Is, " 蓝色字段跟随您后续维度设置的顺序而变化,以获取相应的" + de(e.formState.builtInValueSource), 1)) : Z("", !0),
|
|
3545
3545
|
d(h, {
|
|
3546
3546
|
value: e.accessLogic,
|
|
3547
3547
|
rows: 6,
|
|
@@ -3682,7 +3682,7 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3682
3682
|
ASubMenu: wl,
|
|
3683
3683
|
AMenuItem: jn,
|
|
3684
3684
|
AMenuDivider: Al,
|
|
3685
|
-
ASelect:
|
|
3685
|
+
ASelect: Pe,
|
|
3686
3686
|
APopover: bn,
|
|
3687
3687
|
Draggable: po,
|
|
3688
3688
|
ConfigName: Zr,
|
|
@@ -3709,7 +3709,7 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3709
3709
|
{ label: "升序", value: "ASC" },
|
|
3710
3710
|
{ label: "降序", value: "DESC" },
|
|
3711
3711
|
{ label: "无", value: "" }
|
|
3712
|
-
], o = te(
|
|
3712
|
+
], o = te(Re), l = te(at), r = te(vt), s = ["leftAxisList", "rightAxisList", "indicators"], c = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], i = {
|
|
3713
3713
|
CURRENT: "本期值",
|
|
3714
3714
|
LAST_CYCLE: "上期值",
|
|
3715
3715
|
LAST_YEAR: "同比值",
|
|
@@ -3728,130 +3728,130 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3728
3728
|
}
|
|
3729
3729
|
}), _ = (U = {}) => {
|
|
3730
3730
|
var re;
|
|
3731
|
-
const { type:
|
|
3731
|
+
const { type: Y } = e;
|
|
3732
3732
|
if (a(u) === "SQL_VIEW")
|
|
3733
3733
|
return !0;
|
|
3734
3734
|
a(u) === "EDV_DATA_SET" && l({ edvDataSetId: U.parentId });
|
|
3735
3735
|
let oe = !1;
|
|
3736
|
-
if (U.scope === "FIELD" && (oe = !0, U.genericType === "0" && s.includes(
|
|
3737
|
-
const _e = ((re = a(o)[
|
|
3736
|
+
if (U.scope === "FIELD" && (oe = !0, U.genericType === "0" && s.includes(Y) && (oe = !1)), ["IDX", "BUILT_IN_IDX"].includes(U.scope) ? s.includes(Y) && (oe = !0) : ["DIM", "BUILT_IN_DIM"].includes(U.scope) && c.includes(Y) && (oe = !0), Y === "dimensionList") {
|
|
3737
|
+
const _e = ((re = a(o)[Y]) == null ? void 0 : re.slice()) || [];
|
|
3738
3738
|
(_e == null ? void 0 : _e.length) === 1 && (oe = !1);
|
|
3739
3739
|
}
|
|
3740
3740
|
return oe;
|
|
3741
3741
|
}, T = Q(() => {
|
|
3742
3742
|
var U;
|
|
3743
|
-
return Te((U = a(
|
|
3743
|
+
return Te((U = a(De)) == null ? void 0 : U.type, ["dataSelect"]) && e.type === "indicators";
|
|
3744
3744
|
}), F = (U = "{}") => {
|
|
3745
|
-
var
|
|
3745
|
+
var Y, oe;
|
|
3746
3746
|
try {
|
|
3747
3747
|
const re = JSON.parse(U);
|
|
3748
3748
|
if (!_(re))
|
|
3749
3749
|
return;
|
|
3750
|
-
const _e = ((
|
|
3751
|
-
(e.type === "seriesList" || e.type === "classificationList" && !Te(a(
|
|
3750
|
+
const _e = ((Y = a(o)[e.type]) == null ? void 0 : Y.slice()) || [];
|
|
3751
|
+
(e.type === "seriesList" || e.type === "classificationList" && !Te(a(De).type, ["list", "circulate", "scatter"]) || a(T) || Te(a(De).type, ["indexPanel"])) && _e.forEach((Fe) => {
|
|
3752
3752
|
Fe.show = !1;
|
|
3753
3753
|
}), b(_e, re), re.randomKey = Ee(), _e.push(re);
|
|
3754
|
-
const { type:
|
|
3754
|
+
const { type: ke } = e, fe = {};
|
|
3755
3755
|
if (["IDX", "BUILT_IN_IDX", "FIELD"].includes(re.scope)) {
|
|
3756
3756
|
const Fe = ((oe = a(o)) == null ? void 0 : oe.variableList) || [];
|
|
3757
|
-
let
|
|
3758
|
-
if (re.scope === "FIELD" && !s.includes(
|
|
3759
|
-
const Le = JSON.parse(
|
|
3757
|
+
let Ie = sessionStorage.getItem("indicator-variates");
|
|
3758
|
+
if (re.scope === "FIELD" && !s.includes(ke) && (Ie = "[]"), Ie) {
|
|
3759
|
+
const Le = JSON.parse(Ie);
|
|
3760
3760
|
if (Le != null && Le.length)
|
|
3761
|
-
for (const
|
|
3761
|
+
for (const Ve of Le)
|
|
3762
3762
|
Fe.unshift({
|
|
3763
|
-
...
|
|
3763
|
+
...Ve,
|
|
3764
3764
|
dataType: "",
|
|
3765
3765
|
id: null,
|
|
3766
|
-
variableValue: a(u) === "EDV_DATA_SET" ?
|
|
3766
|
+
variableValue: a(u) === "EDV_DATA_SET" ? Ve.defaultValue : null,
|
|
3767
3767
|
dateTypeValue: null,
|
|
3768
|
-
format:
|
|
3769
|
-
variableName:
|
|
3770
|
-
variableType:
|
|
3768
|
+
format: Ve.valueFormat && Ve.valueFormat.toUpperCase() || null,
|
|
3769
|
+
variableName: Ve.name,
|
|
3770
|
+
variableType: Ve.valueType,
|
|
3771
3771
|
label: re.label,
|
|
3772
3772
|
randomKey: re.randomKey,
|
|
3773
3773
|
keyValue: Ee(),
|
|
3774
3774
|
disabled: a(u) === "EDV_DATA_SET"
|
|
3775
3775
|
});
|
|
3776
3776
|
}
|
|
3777
|
-
|
|
3777
|
+
fe.variableList = Fe, fe.variableConditions = sn(Fe, r);
|
|
3778
3778
|
}
|
|
3779
3779
|
l({
|
|
3780
3780
|
[e.type]: _e,
|
|
3781
|
-
...
|
|
3781
|
+
...fe
|
|
3782
3782
|
}), sessionStorage.setItem("indicator-list-item", ""), sessionStorage.setItem("indicator-variates", "");
|
|
3783
3783
|
} catch (re) {
|
|
3784
3784
|
console.error(re);
|
|
3785
3785
|
}
|
|
3786
3786
|
}, S = (U = "{}") => {
|
|
3787
|
-
var
|
|
3787
|
+
var Y;
|
|
3788
3788
|
try {
|
|
3789
3789
|
const { cardItem: oe, type: re, index: _e } = JSON.parse(U);
|
|
3790
3790
|
if (!_(oe) || re === e.type)
|
|
3791
3791
|
return;
|
|
3792
|
-
const
|
|
3793
|
-
b(
|
|
3794
|
-
const
|
|
3795
|
-
|
|
3796
|
-
[e.type]:
|
|
3797
|
-
[re]:
|
|
3792
|
+
const ke = ((Y = a(o)[e.type]) == null ? void 0 : Y.slice()) || [];
|
|
3793
|
+
b(ke, oe), ke.push(oe);
|
|
3794
|
+
const fe = a(o)[re].slice() || [];
|
|
3795
|
+
fe.splice(_e, 1), l({
|
|
3796
|
+
[e.type]: ke,
|
|
3797
|
+
[re]: fe
|
|
3798
3798
|
});
|
|
3799
3799
|
} catch (oe) {
|
|
3800
3800
|
console.error(oe);
|
|
3801
3801
|
}
|
|
3802
3802
|
};
|
|
3803
|
-
function b(U,
|
|
3803
|
+
function b(U, Y) {
|
|
3804
3804
|
const oe = [];
|
|
3805
3805
|
if (U.forEach((re) => {
|
|
3806
|
-
re.label.includes(
|
|
3806
|
+
re.label.includes(Y.label) && oe.push(re.label.split(Y.label)[1]);
|
|
3807
3807
|
}), oe.length >= 1) {
|
|
3808
3808
|
for (let re = 1; re <= oe.length; re++)
|
|
3809
3809
|
if (!oe.includes(re + "")) {
|
|
3810
|
-
|
|
3810
|
+
Y.label = Y.label + re;
|
|
3811
3811
|
break;
|
|
3812
3812
|
}
|
|
3813
3813
|
}
|
|
3814
3814
|
}
|
|
3815
|
-
const g = (U,
|
|
3816
|
-
var _e,
|
|
3817
|
-
const oe = (_e = U.target) == null ? void 0 : _e.checked, re = ((
|
|
3818
|
-
(e.type === "seriesList" || e.type === "classificationList" && !Te(a(
|
|
3819
|
-
|
|
3820
|
-
}), re[
|
|
3815
|
+
const g = (U, Y) => {
|
|
3816
|
+
var _e, ke;
|
|
3817
|
+
const oe = (_e = U.target) == null ? void 0 : _e.checked, re = ((ke = a(o)[e.type]) == null ? void 0 : ke.slice()) || [];
|
|
3818
|
+
(e.type === "seriesList" || e.type === "classificationList" && !Te(a(De).type, ["list", "circulate"]) || a(T) || Te(a(De).type, ["indexPanel"])) && re.forEach((fe) => {
|
|
3819
|
+
fe.show = !1;
|
|
3820
|
+
}), re[Y].show = oe, l({
|
|
3821
3821
|
[e.type]: re
|
|
3822
3822
|
});
|
|
3823
3823
|
}, y = (U) => {
|
|
3824
3824
|
var oe;
|
|
3825
|
-
const
|
|
3826
|
-
|
|
3827
|
-
[e.type]:
|
|
3825
|
+
const Y = ((oe = a(o)[e.type]) == null ? void 0 : oe.slice()) || [];
|
|
3826
|
+
Y.splice(U, 1), l({
|
|
3827
|
+
[e.type]: Y
|
|
3828
3828
|
});
|
|
3829
3829
|
}, x = () => {
|
|
3830
3830
|
sessionStorage.setItem("indicator-card-item", "");
|
|
3831
3831
|
}, C = (U) => {
|
|
3832
|
-
const
|
|
3833
|
-
|
|
3832
|
+
const Y = sessionStorage.getItem("indicator-list-item"), oe = sessionStorage.getItem("indicator-card-item");
|
|
3833
|
+
Y ? F(Y) : oe && S(oe);
|
|
3834
3834
|
}, A = (U) => {
|
|
3835
|
-
var Fe,
|
|
3836
|
-
const { newIndex:
|
|
3837
|
-
if (
|
|
3838
|
-
if (
|
|
3839
|
-
const Le = ((Fe = a(o)[e.type]) == null ? void 0 : Fe.slice()) || [],
|
|
3840
|
-
|
|
3835
|
+
var Fe, Ie;
|
|
3836
|
+
const { newIndex: Y, oldIndex: oe, from: re, to: _e } = U, ke = re.id, fe = _e.id;
|
|
3837
|
+
if (Y >= 0 && oe >= 0) {
|
|
3838
|
+
if (ke === fe) {
|
|
3839
|
+
const Le = ((Fe = a(o)[e.type]) == null ? void 0 : Fe.slice()) || [], Ve = Le.splice(oe, 1)[0];
|
|
3840
|
+
Ve && (Le.splice(Y, 0, Ve), l({
|
|
3841
3841
|
[e.type]: Le
|
|
3842
3842
|
}));
|
|
3843
|
-
} else if (e.type ===
|
|
3844
|
-
const Le = ((
|
|
3843
|
+
} else if (e.type === fe) {
|
|
3844
|
+
const Le = ((Ie = a(o)[fe]) == null ? void 0 : Ie.slice()) || [];
|
|
3845
3845
|
if (Le != null && Le.length) {
|
|
3846
|
-
const
|
|
3847
|
-
|
|
3846
|
+
const Ve = Le.splice(Le.length - 1, 1)[0];
|
|
3847
|
+
Ve && (Le.splice(Y, 0, Ve), l({
|
|
3848
3848
|
[e.type]: Le
|
|
3849
3849
|
}));
|
|
3850
3850
|
}
|
|
3851
3851
|
}
|
|
3852
3852
|
}
|
|
3853
|
-
}, P = (U,
|
|
3854
|
-
const oe = U.oldIndex, re =
|
|
3853
|
+
}, P = (U, Y) => {
|
|
3854
|
+
const oe = U.oldIndex, re = Y[oe];
|
|
3855
3855
|
re && sessionStorage.setItem("indicator-card-item", JSON.stringify({
|
|
3856
3856
|
cardItem: re,
|
|
3857
3857
|
type: e.type,
|
|
@@ -3871,69 +3871,69 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3871
3871
|
);
|
|
3872
3872
|
const $ = (U) => {
|
|
3873
3873
|
var oe, re, _e;
|
|
3874
|
-
const
|
|
3875
|
-
if ((re =
|
|
3876
|
-
const
|
|
3877
|
-
for (let
|
|
3878
|
-
|
|
3874
|
+
const Y = ((oe = a(o)[e.type]) == null ? void 0 : oe.slice()) || [];
|
|
3875
|
+
if ((re = Y[U]) != null && re.randomKey) {
|
|
3876
|
+
const ke = ((_e = a(o)) == null ? void 0 : _e.variableList) || [];
|
|
3877
|
+
for (let fe = ke.length - 1; fe >= 0; fe--)
|
|
3878
|
+
ke[fe].randomKey === Y[U].randomKey && ke.splice(fe, 1);
|
|
3879
3879
|
l({
|
|
3880
|
-
variableConditions: sn(
|
|
3881
|
-
variableList:
|
|
3880
|
+
variableConditions: sn(ke, r),
|
|
3881
|
+
variableList: ke
|
|
3882
3882
|
});
|
|
3883
3883
|
}
|
|
3884
|
-
|
|
3885
|
-
[e.type]:
|
|
3884
|
+
Y.splice(U, 1), l({
|
|
3885
|
+
[e.type]: Y
|
|
3886
3886
|
});
|
|
3887
3887
|
}, X = (U) => {
|
|
3888
3888
|
N.value[U] = !0;
|
|
3889
|
-
},
|
|
3889
|
+
}, K = () => {
|
|
3890
3890
|
J = !0;
|
|
3891
3891
|
}, ae = (U) => {
|
|
3892
3892
|
U.key === "Escape" && (U.stopPropagation(), U.preventDefault());
|
|
3893
|
-
}, E = (U,
|
|
3894
|
-
var re, _e,
|
|
3895
|
-
if (N.value[
|
|
3896
|
-
const Fe = (re = U.target) == null ? void 0 : re.value,
|
|
3897
|
-
var
|
|
3898
|
-
return (
|
|
3899
|
-
}).map((
|
|
3900
|
-
var
|
|
3901
|
-
return (
|
|
3902
|
-
}).map((
|
|
3893
|
+
}, E = (U, Y, oe) => {
|
|
3894
|
+
var re, _e, ke, fe;
|
|
3895
|
+
if (N.value[Y] = !1, J) {
|
|
3896
|
+
const Fe = (re = U.target) == null ? void 0 : re.value, Ie = ((_e = a(o)[e.type]) == null ? void 0 : _e.slice()) || [], Le = Ie.filter(($e) => {
|
|
3897
|
+
var je;
|
|
3898
|
+
return (je = $e == null ? void 0 : $e.formula) == null ? void 0 : je.includes(oe);
|
|
3899
|
+
}).map(($e) => $e.id), Ve = Ie.filter(($e) => {
|
|
3900
|
+
var je;
|
|
3901
|
+
return (je = $e == null ? void 0 : $e.builtInValueSource) == null ? void 0 : je.includes(oe);
|
|
3902
|
+
}).map(($e) => $e.id);
|
|
3903
3903
|
if (Le != null && Le.length)
|
|
3904
|
-
for (const
|
|
3905
|
-
const
|
|
3906
|
-
|
|
3904
|
+
for (const $e of Le) {
|
|
3905
|
+
const je = Ie.find((Pt) => Pt.id === $e);
|
|
3906
|
+
je.formula = je.formula.replaceAll(oe, Fe);
|
|
3907
3907
|
}
|
|
3908
|
-
if (
|
|
3909
|
-
for (const
|
|
3910
|
-
const
|
|
3911
|
-
|
|
3908
|
+
if (Ve != null && Ve.length)
|
|
3909
|
+
for (const $e of Ve) {
|
|
3910
|
+
const je = Ie.find((Pt) => Pt.id === $e);
|
|
3911
|
+
je.builtInValueSource = je.builtInValueSource.replaceAll(oe, Fe);
|
|
3912
3912
|
}
|
|
3913
|
-
if (
|
|
3914
|
-
const
|
|
3915
|
-
|
|
3913
|
+
if (Ie[Y].label = Fe, (ke = Ie[Y]) != null && ke.randomKey) {
|
|
3914
|
+
const $e = ((fe = a(o)) == null ? void 0 : fe.variableList) || [], je = $e.filter((Pt) => Pt.randomKey === Ie[Y].randomKey);
|
|
3915
|
+
je != null && je.length && je.forEach((Pt) => {
|
|
3916
3916
|
Pt.label = Fe;
|
|
3917
3917
|
}), l({
|
|
3918
|
-
variableConditions: sn(
|
|
3919
|
-
variableList:
|
|
3918
|
+
variableConditions: sn($e, r),
|
|
3919
|
+
variableList: $e
|
|
3920
3920
|
});
|
|
3921
3921
|
}
|
|
3922
3922
|
l({
|
|
3923
|
-
[e.type]:
|
|
3923
|
+
[e.type]: Ie
|
|
3924
3924
|
});
|
|
3925
3925
|
}
|
|
3926
3926
|
J = !1;
|
|
3927
3927
|
}, I = "DEFAULT", V = Q(() => {
|
|
3928
|
-
const U = [], { scope:
|
|
3929
|
-
if (
|
|
3930
|
-
const
|
|
3931
|
-
delete
|
|
3928
|
+
const U = [], { scope: Y } = a(p) || {}, oe = a(o)[e.type] || [];
|
|
3929
|
+
if (Y === "DIM" && !a(p).typeGuid.includes("_code")) {
|
|
3930
|
+
const fe = be(a(p));
|
|
3931
|
+
delete fe.show, delete fe.truncations, delete fe.conditions, fe.hrpIndexComplexid += "_code", fe.id += "_code", fe.typeGuid += "_code", fe.label = fe.name + "_编码", fe.name = fe.typeGuid, fe.defaultCode = fe.typeGuid, U.push(fe);
|
|
3932
3932
|
}
|
|
3933
3933
|
const {
|
|
3934
3934
|
leftAxisList: re = [],
|
|
3935
3935
|
rightAxisList: _e = [],
|
|
3936
|
-
indicators:
|
|
3936
|
+
indicators: ke = []
|
|
3937
3937
|
} = a(o) || {};
|
|
3938
3938
|
return [
|
|
3939
3939
|
// {
|
|
@@ -3945,33 +3945,36 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3945
3945
|
...U,
|
|
3946
3946
|
...re,
|
|
3947
3947
|
..._e,
|
|
3948
|
-
...
|
|
3948
|
+
...ke
|
|
3949
3949
|
];
|
|
3950
|
-
}), q = (U = {},
|
|
3951
|
-
var
|
|
3952
|
-
const { label: re, name: _e, id:
|
|
3953
|
-
|
|
3950
|
+
}), q = (U = {}, Y, oe = "ASC") => {
|
|
3951
|
+
var Ie;
|
|
3952
|
+
const { label: re, name: _e, id: ke, defaultCode: fe } = U, Fe = ((Ie = a(o)[e.type]) == null ? void 0 : Ie.slice()) || [];
|
|
3953
|
+
ke === I ? delete Fe[Y].sort : Fe[Y].sort = {
|
|
3954
3954
|
label: re,
|
|
3955
3955
|
columnName: _e,
|
|
3956
3956
|
type: "NORMAL",
|
|
3957
3957
|
order: oe,
|
|
3958
|
-
defaultCode:
|
|
3958
|
+
defaultCode: fe
|
|
3959
3959
|
}, l({
|
|
3960
3960
|
[e.type]: Fe
|
|
3961
3961
|
});
|
|
3962
|
-
}, ne = (U = {},
|
|
3962
|
+
}, ne = (U = {}, Y = "ASC") => {
|
|
3963
3963
|
const re = {
|
|
3964
3964
|
ASC: "升序",
|
|
3965
3965
|
DESC: "降序"
|
|
3966
|
-
}[
|
|
3967
|
-
return
|
|
3968
|
-
}, L = H(), w = H(), v = H(), O = H(), D = (U = {},
|
|
3966
|
+
}[Y], { sort: _e } = U, { label: ke, order: fe } = _e || {};
|
|
3967
|
+
return ke && fe === Y ? `${re}(${ke})` : re;
|
|
3968
|
+
}, L = H(), w = H(), v = H(), O = H(), D = (U = {}, Y) => {
|
|
3969
3969
|
var oe;
|
|
3970
|
-
L.value = U, w.value =
|
|
3971
|
-
}, z = (U) => "排序" + (U != null && U.sort ? "(已配置)" : ""),
|
|
3970
|
+
L.value = U, w.value = Y, (oe = a(v)) == null || oe.showModal(U);
|
|
3971
|
+
}, z = (U) => "排序" + (U != null && U.sort ? "(已配置)" : ""), W = (U = {}, Y) => {
|
|
3972
3972
|
var oe;
|
|
3973
|
-
L.value = U, w.value =
|
|
3974
|
-
}, se = (U) =>
|
|
3973
|
+
L.value = U, w.value = Y, (oe = a(O)) == null || oe.showModal();
|
|
3974
|
+
}, se = (U) => {
|
|
3975
|
+
var Y, oe;
|
|
3976
|
+
return "自定义分组" + (!(U != null && U.customGroup) || !Object.keys(((Y = U.customGroup) == null ? void 0 : Y.groupInfoMap) || {}).length && !((oe = U.customGroup) != null && oe.otherGroupName) ? "" : "(已配置)");
|
|
3977
|
+
}, ce = [
|
|
3975
3978
|
{
|
|
3976
3979
|
name: "总和",
|
|
3977
3980
|
value: "SUM"
|
|
@@ -3992,7 +3995,7 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
3992
3995
|
name: "计数",
|
|
3993
3996
|
value: "COUNT"
|
|
3994
3997
|
}
|
|
3995
|
-
],
|
|
3998
|
+
], pe = [
|
|
3996
3999
|
{
|
|
3997
4000
|
name: "是",
|
|
3998
4001
|
value: 1
|
|
@@ -4001,74 +4004,74 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
4001
4004
|
name: "否",
|
|
4002
4005
|
value: 0
|
|
4003
4006
|
}
|
|
4004
|
-
], ve = (U,
|
|
4007
|
+
], ve = (U, Y) => {
|
|
4005
4008
|
var re;
|
|
4006
4009
|
const oe = ((re = a(o)[e.type]) == null ? void 0 : re.slice()) || [];
|
|
4007
|
-
oe[
|
|
4010
|
+
oe[Y].aggregate = U, l({
|
|
4008
4011
|
[e.type]: oe
|
|
4009
4012
|
});
|
|
4010
|
-
},
|
|
4013
|
+
}, ye = (U, Y) => {
|
|
4011
4014
|
var re;
|
|
4012
4015
|
const oe = ((re = a(o)[e.type]) == null ? void 0 : re.slice()) || [];
|
|
4013
|
-
oe[
|
|
4016
|
+
oe[Y].distinct = U, l({
|
|
4014
4017
|
[e.type]: oe
|
|
4015
4018
|
});
|
|
4016
|
-
},
|
|
4019
|
+
}, Be = (U, Y) => {
|
|
4017
4020
|
var re;
|
|
4018
4021
|
const oe = ((re = a(o)[e.type]) == null ? void 0 : re.slice()) || [];
|
|
4019
|
-
oe[
|
|
4022
|
+
oe[Y].dateFormat = U, l({
|
|
4020
4023
|
[e.type]: oe
|
|
4021
4024
|
});
|
|
4022
|
-
},
|
|
4025
|
+
}, Ge = (U, Y) => {
|
|
4023
4026
|
var re;
|
|
4024
4027
|
const oe = ((re = a(o)[e.type]) == null ? void 0 : re.slice()) || [];
|
|
4025
|
-
oe[
|
|
4028
|
+
oe[Y].sort = U, l({
|
|
4026
4029
|
[e.type]: oe
|
|
4027
4030
|
});
|
|
4028
|
-
},
|
|
4031
|
+
}, xe = (U = "SUM") => `汇总方式(${{
|
|
4029
4032
|
SUM: "总和",
|
|
4030
4033
|
AVG: "平均数",
|
|
4031
4034
|
MIN: "最小值",
|
|
4032
4035
|
MAX: "最大值",
|
|
4033
4036
|
COUNT: "计数"
|
|
4034
|
-
}[U]})`,
|
|
4035
|
-
const
|
|
4037
|
+
}[U]})`, Se = (U) => {
|
|
4038
|
+
const Y = {
|
|
4036
4039
|
ASC: "升序",
|
|
4037
4040
|
DESC: "降序"
|
|
4038
4041
|
};
|
|
4039
|
-
return U ? `排序(${
|
|
4040
|
-
},
|
|
4042
|
+
return U ? `排序(${Y[U]})` : "排序";
|
|
4043
|
+
}, ze = (U) => `是否去重(${{
|
|
4041
4044
|
0: "否",
|
|
4042
4045
|
1: "是"
|
|
4043
4046
|
}[U] || "否"})`, _t = (U = {}) => {
|
|
4044
|
-
var
|
|
4045
|
-
return "过滤" + (U != null && U.conditions && ((
|
|
4046
|
-
}, Ft = H(), nn = H(), xt = H(), Xe = H(), bt = (U = {},
|
|
4047
|
-
L.value = U, w.value =
|
|
4048
|
-
}, Dt = (U = {},
|
|
4049
|
-
L.value = U, w.value =
|
|
4050
|
-
}, $t = (U = {},
|
|
4051
|
-
L.value = U, w.value =
|
|
4052
|
-
}, wt = (U = {},
|
|
4053
|
-
L.value = U, w.value =
|
|
4054
|
-
}, At = H(), kt = H("add"), It = (U,
|
|
4047
|
+
var Y;
|
|
4048
|
+
return "过滤" + (U != null && U.conditions && ((Y = U == null ? void 0 : U.conditions) == null ? void 0 : Y.length) > 0 ? "(已配置)" : "");
|
|
4049
|
+
}, Ft = H(), nn = H(), xt = H(), Xe = H(), bt = (U = {}, Y) => {
|
|
4050
|
+
L.value = U, w.value = Y, a(Ft).showModal();
|
|
4051
|
+
}, Dt = (U = {}, Y) => {
|
|
4052
|
+
L.value = U, w.value = Y, a(nn).showModal(U);
|
|
4053
|
+
}, $t = (U = {}, Y) => {
|
|
4054
|
+
L.value = U, w.value = Y, a(xt).showModal(U);
|
|
4055
|
+
}, wt = (U = {}, Y) => {
|
|
4056
|
+
L.value = U, w.value = Y, a(Xe).showModal(U, a(Ce));
|
|
4057
|
+
}, At = H(), kt = H("add"), It = (U, Y, oe) => {
|
|
4055
4058
|
var re;
|
|
4056
|
-
kt.value = U, U === "edit" && (L.value =
|
|
4059
|
+
kt.value = U, U === "edit" && (L.value = Y, w.value = oe), (re = a(At)) == null || re.showModal();
|
|
4057
4060
|
}, ht = te(Ot), Wt = a(te(Et)), yt = H([]), Cn = Q(() => a(o)[e.type] || {});
|
|
4058
4061
|
we(o, () => {
|
|
4059
4062
|
var U;
|
|
4060
|
-
Te(a(
|
|
4061
|
-
label:
|
|
4062
|
-
value:
|
|
4063
|
+
Te(a(De).type, ["scatter", "valueline"]) && ((U = a(o)) != null && U.indicators) && (yt.value = a(o).indicators.map((Y) => ({
|
|
4064
|
+
label: Y.label,
|
|
4065
|
+
value: Y.label
|
|
4063
4066
|
})));
|
|
4064
4067
|
}), we(() => o.value.classificationList, () => {
|
|
4065
4068
|
on();
|
|
4066
4069
|
});
|
|
4067
4070
|
const Yt = H(""), on = async () => {
|
|
4068
4071
|
const { source: U } = a(o);
|
|
4069
|
-
if (U !== "EDV_DATA_SET" || !Te(a(
|
|
4072
|
+
if (U !== "EDV_DATA_SET" || !Te(a(De).type, "select"))
|
|
4070
4073
|
return;
|
|
4071
|
-
const { classificationList:
|
|
4074
|
+
const { classificationList: Y = [] } = a(o), oe = Y.find((fe) => fe.show);
|
|
4072
4075
|
if (oe != null && oe.parentId) {
|
|
4073
4076
|
if (a(Yt) === oe.parentId)
|
|
4074
4077
|
return;
|
|
@@ -4082,68 +4085,68 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
4082
4085
|
Authentication: Wt,
|
|
4083
4086
|
operateContext: "ygt"
|
|
4084
4087
|
}
|
|
4085
|
-
}), { success: _e, data:
|
|
4088
|
+
}), { success: _e, data: ke = [] } = re.data;
|
|
4086
4089
|
if (_e) {
|
|
4087
|
-
const
|
|
4090
|
+
const fe = ke.column.map((Fe) => ({
|
|
4088
4091
|
label: Fe.columnName,
|
|
4089
4092
|
value: Fe.columnName
|
|
4090
4093
|
}));
|
|
4091
|
-
a(o).selectFieldOptions =
|
|
4094
|
+
a(o).selectFieldOptions = fe, yt.value = fe;
|
|
4092
4095
|
}
|
|
4093
4096
|
}, ee = async () => {
|
|
4094
4097
|
const { source: U } = a(o);
|
|
4095
|
-
if (!Te(a(
|
|
4098
|
+
if (!Te(a(De).type, ["scatter", "valueline"]))
|
|
4096
4099
|
try {
|
|
4097
4100
|
if (U === "EDV_DATA_SET")
|
|
4098
4101
|
await on();
|
|
4099
4102
|
else {
|
|
4100
|
-
const
|
|
4103
|
+
const Y = await ht.post(`${st}/diagram/dimFields`, {}, {
|
|
4101
4104
|
headers: {
|
|
4102
4105
|
Authentication: Wt,
|
|
4103
4106
|
operateContext: "ygt"
|
|
4104
4107
|
}
|
|
4105
|
-
}), { success: oe, data: re = [] } =
|
|
4108
|
+
}), { success: oe, data: re = [] } = Y.data;
|
|
4106
4109
|
oe && (a(o).selectFieldOptions = re || [], yt.value = re);
|
|
4107
4110
|
}
|
|
4108
|
-
} catch (
|
|
4109
|
-
console.error(
|
|
4111
|
+
} catch (Y) {
|
|
4112
|
+
console.error(Y);
|
|
4110
4113
|
}
|
|
4111
|
-
}, le = (U,
|
|
4114
|
+
}, le = (U, Y) => {
|
|
4112
4115
|
const oe = a(o)[e.type] || {};
|
|
4113
|
-
oe[
|
|
4116
|
+
oe[Y] = U, l({
|
|
4114
4117
|
[e.type]: oe
|
|
4115
4118
|
});
|
|
4116
|
-
}, ue = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"],
|
|
4119
|
+
}, ue = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], ge = H({}), Ce = H([]), Oe = async (U, Y) => {
|
|
4117
4120
|
var re;
|
|
4118
|
-
const { name: oe } =
|
|
4119
|
-
if (!ue.includes(e.type) && U && Gt(
|
|
4121
|
+
const { name: oe } = Y;
|
|
4122
|
+
if (!ue.includes(e.type) && U && Gt(Y, "indexCode")) {
|
|
4120
4123
|
const _e = await ht.post(`${st}/diagram/hrpIndexWithComplex`, {
|
|
4121
4124
|
dataSourceId: "",
|
|
4122
|
-
indexGuid:
|
|
4123
|
-
indexCode:
|
|
4125
|
+
indexGuid: Y.id,
|
|
4126
|
+
indexCode: Y.indexCode,
|
|
4124
4127
|
pageId: (re = window == null ? void 0 : window.config) == null ? void 0 : re.pageId
|
|
4125
4128
|
}, {
|
|
4126
4129
|
headers: {
|
|
4127
4130
|
Authentication: Wt,
|
|
4128
4131
|
operateContext: "ygt"
|
|
4129
4132
|
}
|
|
4130
|
-
}), { success:
|
|
4131
|
-
|
|
4132
|
-
name:
|
|
4133
|
-
code:
|
|
4133
|
+
}), { success: ke, data: fe } = _e.data;
|
|
4134
|
+
ke && fe && (Ce.value = (fe == null ? void 0 : fe.dataViewColumns) || [], ge.value[oe] = {
|
|
4135
|
+
name: fe.name,
|
|
4136
|
+
code: fe.indexCode
|
|
4134
4137
|
});
|
|
4135
4138
|
}
|
|
4136
|
-
},
|
|
4139
|
+
}, Ue = (U) => {
|
|
4137
4140
|
p.value = U;
|
|
4138
4141
|
}, it = (U) => {
|
|
4139
|
-
const
|
|
4140
|
-
document.body.appendChild(
|
|
4141
|
-
},
|
|
4142
|
-
var U,
|
|
4143
|
-
return Te((U = a(
|
|
4142
|
+
const Y = document.createElement("input");
|
|
4143
|
+
document.body.appendChild(Y), Y.setAttribute("value", U), Y.select(), document.execCommand("copy"), document.body.removeChild(Y), We.success("复制成功");
|
|
4144
|
+
}, De = te(lt), Kt = Q(() => e.type === "indicators" && a(De).type === "ecanTable"), Nt = Q(() => !!["indicators", "classificationList", "leftAxisList", "rightAxisList"].includes(e.type)), Mt = Q(() => {
|
|
4145
|
+
var U, Y;
|
|
4146
|
+
return Te((U = a(De)) == null ? void 0 : U.type, ["table"]) && ((Y = a(o)) == null ? void 0 : Y.isIndexSet);
|
|
4144
4147
|
}), _n = Q(() => !ue.includes(e.type) && !a(T) && (!a(Mt) || e.type !== "indicators")), wn = (U) => U ? i[U] : "--";
|
|
4145
4148
|
return Je(() => {
|
|
4146
|
-
e.type === "formFields" && (a(
|
|
4149
|
+
e.type === "formFields" && (a(De).type === "ecanDataSelect" ? yt.value = [
|
|
4147
4150
|
{
|
|
4148
4151
|
label: "维度编码",
|
|
4149
4152
|
value: "_code"
|
|
@@ -4174,18 +4177,18 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
4174
4177
|
handleCustomSortTitle: z,
|
|
4175
4178
|
handleCustomGroupTitle: se,
|
|
4176
4179
|
customGroupModalRef: O,
|
|
4177
|
-
showCustomGroupModal:
|
|
4180
|
+
showCustomGroupModal: W,
|
|
4178
4181
|
editLabelList: N,
|
|
4179
|
-
onLabelChange:
|
|
4182
|
+
onLabelChange: K,
|
|
4180
4183
|
handleInputKeyDown: ae,
|
|
4181
4184
|
aggregateList: ce,
|
|
4182
|
-
distinctList:
|
|
4185
|
+
distinctList: pe,
|
|
4183
4186
|
onAggregateChange: ve,
|
|
4184
|
-
onDistinctChange:
|
|
4185
|
-
onDateFormatChange:
|
|
4186
|
-
onIndSortChange:
|
|
4187
|
-
handleAggregateTitle:
|
|
4188
|
-
handleDistinctTitle:
|
|
4187
|
+
onDistinctChange: ye,
|
|
4188
|
+
onDateFormatChange: Be,
|
|
4189
|
+
onIndSortChange: Ge,
|
|
4190
|
+
handleAggregateTitle: xe,
|
|
4191
|
+
handleDistinctTitle: ze,
|
|
4189
4192
|
onShowCalculationModal: It,
|
|
4190
4193
|
handleFilterTitle: _t,
|
|
4191
4194
|
filterModalRef: Ft,
|
|
@@ -4201,9 +4204,9 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
4201
4204
|
fieldData: Cn,
|
|
4202
4205
|
onFieldChange: le,
|
|
4203
4206
|
onVisibleChange: Oe,
|
|
4204
|
-
onClickSetting:
|
|
4207
|
+
onClickSetting: Ue,
|
|
4205
4208
|
copyDataViewName: it,
|
|
4206
|
-
dataViewMap:
|
|
4209
|
+
dataViewMap: ge,
|
|
4207
4210
|
isShowConfigName: Kt,
|
|
4208
4211
|
showConfigNameModal: Dt,
|
|
4209
4212
|
dimensionType: ue,
|
|
@@ -4211,17 +4214,17 @@ const Ps = /* @__PURE__ */ he($s, [["render", Ms], ["__scopeId", "data-v-c0f1950
|
|
|
4211
4214
|
showSortByCpntModal: $t,
|
|
4212
4215
|
dataSelectIndicators: T,
|
|
4213
4216
|
showDimByCountModal: wt,
|
|
4214
|
-
selectedComponent:
|
|
4217
|
+
selectedComponent: De,
|
|
4215
4218
|
lowerCaseIncludes: Te,
|
|
4216
4219
|
isShowCalcBtn: _n,
|
|
4217
4220
|
isIndexSet: Mt,
|
|
4218
4221
|
compositeIndicator: h,
|
|
4219
|
-
handleIndSortTitle:
|
|
4222
|
+
handleIndSortTitle: Se,
|
|
4220
4223
|
getIndexSetRawLabel: wn
|
|
4221
4224
|
};
|
|
4222
4225
|
}
|
|
4223
4226
|
});
|
|
4224
|
-
const Ht = (e) => (pt("data-v-
|
|
4227
|
+
const Ht = (e) => (pt("data-v-a69f8f41"), e = e(), dt(), e), Vs = { class: "title" }, Rs = { class: "title-text" }, Us = { class: "field-wrap" }, js = { class: "field-item" }, Gs = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("div", { class: "item-label" }, "名称:", -1)), zs = { class: "field-item" }, Hs = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("div", { class: "item-label" }, "值:", -1)), Ws = {
|
|
4225
4228
|
key: 0,
|
|
4226
4229
|
class: "field-item"
|
|
4227
4230
|
}, Ys = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("div", {
|
|
@@ -4229,7 +4232,7 @@ const Ht = (e) => (pt("data-v-fba771aa"), e = e(), dt(), e), Vs = { class: "titl
|
|
|
4229
4232
|
style: { width: "20px" }
|
|
4230
4233
|
}, null, -1)), Ks = { class: "title" }, qs = { class: "title-text" }, Xs = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("p", null, "配置了维度后,会使用返回数据的第一条中以【维度名】为key的值作为显示值", -1)), Qs = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("span", null, "添加计算指标", -1)), Js = { class: "card-item-wrap" }, Zs = { class: "card-item-inner" }, eu = ["onClick"], tu = ["onClick"], nu = ["onClick"], ou = { style: { display: "flex", "align-items": "center" } }, au = ["title"], lu = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("span", { style: { "font-weight": "bold" } }, "指标名:", -1)), iu = { style: { display: "flex", "align-items": "center" } }, ru = ["title"], su = /* @__PURE__ */ Ht(() => /* @__PURE__ */ G("span", { style: { "font-weight": "bold" } }, "指标编码:", -1));
|
|
4231
4234
|
function uu(e, t, n, o, l, r) {
|
|
4232
|
-
const s = k("a-select"), c = k("a-checkbox"), i = k("a-card"), u = k("info-circle-outlined"), p = k("a-popover"), h = k("plus-outlined"), _ = k("a-input"), T = k("setting-outlined"), F = k("a-menu-item"), S = k("a-menu-divider"), b = k("a-sub-menu"), g = k("copy-outlined"), y = k("a-menu"), x = k("a-dropdown"), C = k("delete-outlined"), A = k("draggable"), P = k("custom-sort-modal"), R = k("custom-group-modal"), N = k("filter-modal"), J = k("config-name"), $ = k("sort-by-cpnt"), X = k("dim-by-count"),
|
|
4235
|
+
const s = k("a-select"), c = k("a-checkbox"), i = k("a-card"), u = k("info-circle-outlined"), p = k("a-popover"), h = k("plus-outlined"), _ = k("a-input"), T = k("setting-outlined"), F = k("a-menu-item"), S = k("a-menu-divider"), b = k("a-sub-menu"), g = k("copy-outlined"), y = k("a-menu"), x = k("a-dropdown"), C = k("delete-outlined"), A = k("draggable"), P = k("custom-sort-modal"), R = k("custom-group-modal"), N = k("filter-modal"), J = k("config-name"), $ = k("sort-by-cpnt"), X = k("dim-by-count"), K = k("calculation-modal"), ae = ao("focus");
|
|
4233
4236
|
return e.type === "formFields" ? (m(), j(i, {
|
|
4234
4237
|
key: 0,
|
|
4235
4238
|
class: "data-config-card",
|
|
@@ -4241,7 +4244,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4241
4244
|
}, {
|
|
4242
4245
|
title: f(() => [
|
|
4243
4246
|
G("div", Vs, [
|
|
4244
|
-
G("div", Rs,
|
|
4247
|
+
G("div", Rs, de(e.title), 1)
|
|
4245
4248
|
])
|
|
4246
4249
|
]),
|
|
4247
4250
|
default: f(() => [
|
|
@@ -4294,7 +4297,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4294
4297
|
title: f(() => [
|
|
4295
4298
|
G("div", Ks, [
|
|
4296
4299
|
G("div", qs, [
|
|
4297
|
-
B(
|
|
4300
|
+
B(de(e.title) + " ", 1),
|
|
4298
4301
|
e.type === "dimensionList" ? (m(), j(p, {
|
|
4299
4302
|
key: 0,
|
|
4300
4303
|
title: "提示",
|
|
@@ -4312,7 +4315,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4312
4315
|
e.isShowCalcBtn ? (m(), M("div", {
|
|
4313
4316
|
key: 0,
|
|
4314
4317
|
class: "add-calculation",
|
|
4315
|
-
onClick: t[3] || (t[3] =
|
|
4318
|
+
onClick: t[3] || (t[3] = Ne((E) => e.onShowCalculationModal("add"), ["prevent", "stop"]))
|
|
4316
4319
|
}, [
|
|
4317
4320
|
d(h, { class: "add-calculation-icon" }),
|
|
4318
4321
|
Qs
|
|
@@ -4361,20 +4364,20 @@ function uu(e, t, n, o, l, r) {
|
|
|
4361
4364
|
!e.editLabelList[I] && E.label ? (m(), M("div", {
|
|
4362
4365
|
key: 0,
|
|
4363
4366
|
class: "name",
|
|
4364
|
-
onClick:
|
|
4365
|
-
},
|
|
4367
|
+
onClick: Ne((V) => e.onEdit(I), ["prevent", "stop"])
|
|
4368
|
+
}, de(E.label), 9, eu)) : Z("", !0),
|
|
4366
4369
|
!e.editLabelList[I] && !E.label ? (m(), M("div", {
|
|
4367
4370
|
key: 1,
|
|
4368
4371
|
class: "name placeholder",
|
|
4369
|
-
onClick:
|
|
4372
|
+
onClick: Ne((V) => e.onEdit(I), ["prevent", "stop"])
|
|
4370
4373
|
}, " 请点击填入名字 ", 8, tu)) : Z("", !0),
|
|
4371
4374
|
e.editLabelList[I] ? jt((m(), j(_, {
|
|
4372
4375
|
key: 2,
|
|
4373
4376
|
"default-value": E.label,
|
|
4374
4377
|
size: "small",
|
|
4375
|
-
onPointerdown: t[5] || (t[5] =
|
|
4378
|
+
onPointerdown: t[5] || (t[5] = Ne(() => {
|
|
4376
4379
|
}, ["stop"])),
|
|
4377
|
-
onMousedown: t[6] || (t[6] =
|
|
4380
|
+
onMousedown: t[6] || (t[6] = Ne(() => {
|
|
4378
4381
|
}, ["stop"])),
|
|
4379
4382
|
onBlur: (V) => e.onCommitLabelChange(V, I, E.label),
|
|
4380
4383
|
onPressEnter: (V) => e.onCommitLabelChange(V, I, E.label),
|
|
@@ -4386,11 +4389,11 @@ function uu(e, t, n, o, l, r) {
|
|
|
4386
4389
|
["FORMULA", "BUILT_IN", "COMPONENT"].includes(E.calcType) ? (m(), M("span", {
|
|
4387
4390
|
key: 3,
|
|
4388
4391
|
class: "calculation-icon",
|
|
4389
|
-
onClick:
|
|
4392
|
+
onClick: Ne((V) => e.onShowCalculationModal("edit", E, I), ["prevent", "stop"])
|
|
4390
4393
|
}, " fx ", 8, nu)) : Z("", !0),
|
|
4391
4394
|
d(p, { title: "" }, {
|
|
4392
4395
|
content: f(() => [
|
|
4393
|
-
B(
|
|
4396
|
+
B(de(e.getIndexSetRawLabel(E.calcType)), 1)
|
|
4394
4397
|
]),
|
|
4395
4398
|
default: f(() => [
|
|
4396
4399
|
e.type === "indexLibColumns" && !["FORMULA", "BUILT_IN", "COMPONENT"].includes(E.calcType) ? (m(), j(u, {
|
|
@@ -4413,7 +4416,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4413
4416
|
onClick: (V) => e.showCustomSortModal(E, I)
|
|
4414
4417
|
}, {
|
|
4415
4418
|
default: f(() => [
|
|
4416
|
-
B(
|
|
4419
|
+
B(de(e.handleCustomSortTitle(E)), 1)
|
|
4417
4420
|
]),
|
|
4418
4421
|
_: 2
|
|
4419
4422
|
}, 1032, ["onClick"]),
|
|
@@ -4422,7 +4425,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4422
4425
|
onClick: (V) => e.showCustomGroupModal(E, I)
|
|
4423
4426
|
}, {
|
|
4424
4427
|
default: f(() => [
|
|
4425
|
-
B(
|
|
4428
|
+
B(de(e.handleCustomGroupTitle(E)), 1)
|
|
4426
4429
|
]),
|
|
4427
4430
|
_: 2
|
|
4428
4431
|
}, 1032, ["onClick"]),
|
|
@@ -4437,8 +4440,8 @@ function uu(e, t, n, o, l, r) {
|
|
|
4437
4440
|
}, {
|
|
4438
4441
|
default: f(() => [
|
|
4439
4442
|
G("span", {
|
|
4440
|
-
style:
|
|
4441
|
-
},
|
|
4443
|
+
style: Me(E.dateFormat === V.value || !E.dateFormat && V.value === "YYYY-MM-DD" ? "color: #1890FF;" : "")
|
|
4444
|
+
}, de(V.label), 5)
|
|
4442
4445
|
]),
|
|
4443
4446
|
_: 2
|
|
4444
4447
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -4452,7 +4455,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4452
4455
|
onClick: (V) => e.showFilterModal(E, I)
|
|
4453
4456
|
}, {
|
|
4454
4457
|
default: f(() => [
|
|
4455
|
-
B(
|
|
4458
|
+
B(de(e.handleFilterTitle(E)), 1)
|
|
4456
4459
|
]),
|
|
4457
4460
|
_: 2
|
|
4458
4461
|
}, 1032, ["onClick"]),
|
|
@@ -4469,8 +4472,8 @@ function uu(e, t, n, o, l, r) {
|
|
|
4469
4472
|
}, {
|
|
4470
4473
|
default: f(() => [
|
|
4471
4474
|
G("span", {
|
|
4472
|
-
style:
|
|
4473
|
-
},
|
|
4475
|
+
style: Me(E.sort && E.sort === V.value ? "color: #1890FF;" : "")
|
|
4476
|
+
}, de(V.label), 5)
|
|
4474
4477
|
]),
|
|
4475
4478
|
_: 2
|
|
4476
4479
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -4490,7 +4493,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4490
4493
|
onClick: (q) => e.onAggregateChange(V.value, I)
|
|
4491
4494
|
}, {
|
|
4492
4495
|
default: f(() => [
|
|
4493
|
-
B(
|
|
4496
|
+
B(de(V.name), 1)
|
|
4494
4497
|
]),
|
|
4495
4498
|
_: 2
|
|
4496
4499
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -4541,7 +4544,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4541
4544
|
onClick: (q) => e.onDistinctChange(V.value, I)
|
|
4542
4545
|
}, {
|
|
4543
4546
|
default: f(() => [
|
|
4544
|
-
B(
|
|
4547
|
+
B(de(V.name), 1)
|
|
4545
4548
|
]),
|
|
4546
4549
|
_: 2
|
|
4547
4550
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -4562,7 +4565,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4562
4565
|
title: e.dataViewMap[E.name].name
|
|
4563
4566
|
}, [
|
|
4564
4567
|
lu,
|
|
4565
|
-
B(" " +
|
|
4568
|
+
B(" " + de(e.dataViewMap[E.name].name), 1)
|
|
4566
4569
|
], 8, au),
|
|
4567
4570
|
d(g, {
|
|
4568
4571
|
style: { color: "#52C41A", "margin-left": "10px" },
|
|
@@ -4583,7 +4586,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4583
4586
|
title: e.dataViewMap[E.name].code
|
|
4584
4587
|
}, [
|
|
4585
4588
|
su,
|
|
4586
|
-
B(" " +
|
|
4589
|
+
B(" " + de(e.dataViewMap[E.name].code), 1)
|
|
4587
4590
|
], 8, ru),
|
|
4588
4591
|
d(g, {
|
|
4589
4592
|
style: { color: "#52C41A", "margin-left": "10px" },
|
|
@@ -4609,7 +4612,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4609
4612
|
e.type !== "indexLibColumns" || E.calcType === "FORMULA" ? (m(), j(C, {
|
|
4610
4613
|
key: 5,
|
|
4611
4614
|
class: "delete-icon",
|
|
4612
|
-
onClick:
|
|
4615
|
+
onClick: Ne((V) => e.onDelete(I), ["prevent"])
|
|
4613
4616
|
}, null, 8, ["onClick"])) : Z("", !0)
|
|
4614
4617
|
])
|
|
4615
4618
|
]),
|
|
@@ -4654,7 +4657,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4654
4657
|
type: e.type,
|
|
4655
4658
|
ref: "dimByCountRef"
|
|
4656
4659
|
}, null, 8, ["index", "type"]),
|
|
4657
|
-
d(
|
|
4660
|
+
d(K, {
|
|
4658
4661
|
type: e.type,
|
|
4659
4662
|
item: e.currentItem,
|
|
4660
4663
|
index: e.currentIndex,
|
|
@@ -4665,7 +4668,7 @@ function uu(e, t, n, o, l, r) {
|
|
|
4665
4668
|
_: 1
|
|
4666
4669
|
}, 8, ["head-style"]));
|
|
4667
4670
|
}
|
|
4668
|
-
const cu = /* @__PURE__ */ he(Bs, [["render", uu], ["__scopeId", "data-v-
|
|
4671
|
+
const cu = /* @__PURE__ */ he(Bs, [["render", uu], ["__scopeId", "data-v-a69f8f41"]]), pu = {
|
|
4669
4672
|
classificationList: {
|
|
4670
4673
|
title: "分类"
|
|
4671
4674
|
},
|
|
@@ -9022,7 +9025,7 @@ const _u = /* @__PURE__ */ he(gu, [["render", Cu]]), wu = me({
|
|
|
9022
9025
|
},
|
|
9023
9026
|
components: {
|
|
9024
9027
|
AInputNumber: Tt,
|
|
9025
|
-
ASelect:
|
|
9028
|
+
ASelect: Pe,
|
|
9026
9029
|
ASelectOption: mt
|
|
9027
9030
|
},
|
|
9028
9031
|
emits: ["change"],
|
|
@@ -9091,7 +9094,7 @@ function Au(e, t, n, o, l, r) {
|
|
|
9091
9094
|
value: p
|
|
9092
9095
|
}, {
|
|
9093
9096
|
default: f(() => [
|
|
9094
|
-
B(
|
|
9097
|
+
B(de(u), 1)
|
|
9095
9098
|
]),
|
|
9096
9099
|
_: 2
|
|
9097
9100
|
}, 1032, ["value"]))), 128))
|
|
@@ -9115,7 +9118,7 @@ function Au(e, t, n, o, l, r) {
|
|
|
9115
9118
|
value: p
|
|
9116
9119
|
}, {
|
|
9117
9120
|
default: f(() => [
|
|
9118
|
-
B(
|
|
9121
|
+
B(de(u), 1)
|
|
9119
9122
|
]),
|
|
9120
9123
|
_: 2
|
|
9121
9124
|
}, 1032, ["value"]))), 128))
|
|
@@ -9173,7 +9176,7 @@ function Su(e, t, n, o, l, r) {
|
|
|
9173
9176
|
value: i.value
|
|
9174
9177
|
}, {
|
|
9175
9178
|
default: f(() => [
|
|
9176
|
-
B(
|
|
9179
|
+
B(de(i.label), 1)
|
|
9177
9180
|
]),
|
|
9178
9181
|
_: 2
|
|
9179
9182
|
}, 1032, ["value"]))), 128))
|
|
@@ -9197,7 +9200,7 @@ const Tu = /* @__PURE__ */ he(ku, [["render", Su]]), Ou = me({
|
|
|
9197
9200
|
}
|
|
9198
9201
|
},
|
|
9199
9202
|
components: {
|
|
9200
|
-
ASelect:
|
|
9203
|
+
ASelect: Pe,
|
|
9201
9204
|
ASelectOption: mt
|
|
9202
9205
|
},
|
|
9203
9206
|
emits: ["change"],
|
|
@@ -9221,7 +9224,7 @@ function Eu(e, t, n, o, l, r) {
|
|
|
9221
9224
|
value: i.value
|
|
9222
9225
|
}, {
|
|
9223
9226
|
default: f(() => [
|
|
9224
|
-
B(
|
|
9227
|
+
B(de(i.label), 1)
|
|
9225
9228
|
]),
|
|
9226
9229
|
_: 2
|
|
9227
9230
|
}, 1032, ["value"]))), 128))
|
|
@@ -9260,7 +9263,7 @@ const Lu = /* @__PURE__ */ he(Ou, [["render", Eu]]), Fu = me({
|
|
|
9260
9263
|
function xu(e, t, n, o, l, r) {
|
|
9261
9264
|
const s = k("a-switch");
|
|
9262
9265
|
return m(), M("div", {
|
|
9263
|
-
style:
|
|
9266
|
+
style: Me({ width: `${e.width}px` })
|
|
9264
9267
|
}, [
|
|
9265
9268
|
d(s, {
|
|
9266
9269
|
disabled: e.disabled,
|
|
@@ -9542,14 +9545,14 @@ function aa(e) {
|
|
|
9542
9545
|
}
|
|
9543
9546
|
var X = Object.assign({
|
|
9544
9547
|
position: c
|
|
9545
|
-
}, u && tc),
|
|
9548
|
+
}, u && tc), K = p === !0 ? nc({
|
|
9546
9549
|
x: T,
|
|
9547
9550
|
y: S
|
|
9548
9551
|
}, Qe(n)) : {
|
|
9549
9552
|
x: T,
|
|
9550
9553
|
y: S
|
|
9551
9554
|
};
|
|
9552
|
-
if (T =
|
|
9555
|
+
if (T = K.x, S = K.y, i) {
|
|
9553
9556
|
var ae;
|
|
9554
9557
|
return Object.assign({}, X, (ae = {}, ae[C] = y ? "0" : "", ae[x] = g ? "0" : "", ae.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + T + "px, " + S + "px)" : "translate3d(" + T + "px, " + S + "px, 0)", ae));
|
|
9555
9558
|
}
|
|
@@ -9765,10 +9768,10 @@ function mn(e, t) {
|
|
|
9765
9768
|
right: J.right - A.right + g.right
|
|
9766
9769
|
}, X = e.modifiersData.offset;
|
|
9767
9770
|
if (_ === an && X) {
|
|
9768
|
-
var
|
|
9771
|
+
var K = X[l];
|
|
9769
9772
|
Object.keys($).forEach(function(ae) {
|
|
9770
9773
|
var E = [ot, nt].indexOf(ae) >= 0 ? 1 : -1, I = [Ye, nt].indexOf(ae) >= 0 ? "y" : "x";
|
|
9771
|
-
$[ae] +=
|
|
9774
|
+
$[ae] += K[I] * E;
|
|
9772
9775
|
});
|
|
9773
9776
|
}
|
|
9774
9777
|
return $;
|
|
@@ -9802,17 +9805,17 @@ function vc(e) {
|
|
|
9802
9805
|
function bc(e) {
|
|
9803
9806
|
var t = e.state, n = e.options, o = e.name;
|
|
9804
9807
|
if (!t.modifiersData[o]._skip) {
|
|
9805
|
-
for (var l = n.mainAxis, r = l === void 0 ? !0 : l, s = n.altAxis, c = s === void 0 ? !0 : s, i = n.fallbackPlacements, u = n.padding, p = n.boundary, h = n.rootBoundary, _ = n.altBoundary, T = n.flipVariations, F = T === void 0 ? !0 : T, S = n.allowedAutoPlacements, b = t.options.placement, g = ut(b), y = g === b, x = i || (y || !F ? [Tn(b)] : vc(b)), C = [b].concat(x).reduce(function(z,
|
|
9806
|
-
return z.concat(ut(
|
|
9807
|
-
placement:
|
|
9808
|
+
for (var l = n.mainAxis, r = l === void 0 ? !0 : l, s = n.altAxis, c = s === void 0 ? !0 : s, i = n.fallbackPlacements, u = n.padding, p = n.boundary, h = n.rootBoundary, _ = n.altBoundary, T = n.flipVariations, F = T === void 0 ? !0 : T, S = n.allowedAutoPlacements, b = t.options.placement, g = ut(b), y = g === b, x = i || (y || !F ? [Tn(b)] : vc(b)), C = [b].concat(x).reduce(function(z, W) {
|
|
9809
|
+
return z.concat(ut(W) === Lo ? mc(t, {
|
|
9810
|
+
placement: W,
|
|
9808
9811
|
boundary: p,
|
|
9809
9812
|
rootBoundary: h,
|
|
9810
9813
|
padding: u,
|
|
9811
9814
|
flipVariations: F,
|
|
9812
9815
|
allowedAutoPlacements: S
|
|
9813
|
-
}) :
|
|
9816
|
+
}) : W);
|
|
9814
9817
|
}, []), A = t.rects.reference, P = t.rects.popper, R = /* @__PURE__ */ new Map(), N = !0, J = C[0], $ = 0; $ < C.length; $++) {
|
|
9815
|
-
var X = C[$],
|
|
9818
|
+
var X = C[$], K = ut(X), ae = tn(X) === Jt, E = [Ye, nt].indexOf(K) >= 0, I = E ? "width" : "height", V = mn(t, {
|
|
9816
9819
|
placement: X,
|
|
9817
9820
|
boundary: p,
|
|
9818
9821
|
rootBoundary: h,
|
|
@@ -9821,7 +9824,7 @@ function bc(e) {
|
|
|
9821
9824
|
}), q = E ? ae ? ot : Ke : ae ? nt : Ye;
|
|
9822
9825
|
A[I] > P[I] && (q = Tn(q));
|
|
9823
9826
|
var ne = Tn(q), L = [];
|
|
9824
|
-
if (r && L.push(V[
|
|
9827
|
+
if (r && L.push(V[K] <= 0), c && L.push(V[q] <= 0, V[ne] <= 0), L.every(function(z) {
|
|
9825
9828
|
return z;
|
|
9826
9829
|
})) {
|
|
9827
9830
|
J = X, N = !1;
|
|
@@ -9830,11 +9833,11 @@ function bc(e) {
|
|
|
9830
9833
|
R.set(X, L);
|
|
9831
9834
|
}
|
|
9832
9835
|
if (N)
|
|
9833
|
-
for (var w = F ? 3 : 1, v = function(
|
|
9836
|
+
for (var w = F ? 3 : 1, v = function(W) {
|
|
9834
9837
|
var se = C.find(function(ce) {
|
|
9835
|
-
var
|
|
9836
|
-
if (
|
|
9837
|
-
return
|
|
9838
|
+
var pe = R.get(ce);
|
|
9839
|
+
if (pe)
|
|
9840
|
+
return pe.slice(0, W).every(function(ve) {
|
|
9838
9841
|
return ve;
|
|
9839
9842
|
});
|
|
9840
9843
|
});
|
|
@@ -9955,7 +9958,7 @@ function Tc(e) {
|
|
|
9955
9958
|
} : Object.assign({
|
|
9956
9959
|
mainAxis: 0,
|
|
9957
9960
|
altAxis: 0
|
|
9958
|
-
}, J), X = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
9961
|
+
}, J), X = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, K = {
|
|
9959
9962
|
x: 0,
|
|
9960
9963
|
y: 0
|
|
9961
9964
|
};
|
|
@@ -9964,14 +9967,14 @@ function Tc(e) {
|
|
|
9964
9967
|
var ae, E = C === "y" ? Ye : Ke, I = C === "y" ? nt : ot, V = C === "y" ? "height" : "width", q = P[C], ne = q + b[E], L = q - b[I], w = T ? -N[V] / 2 : 0, v = y === Jt ? R[V] : N[V], O = y === Jt ? -N[V] : -R[V], D = t.elements.arrow, z = T && D ? xo(D) : {
|
|
9965
9968
|
width: 0,
|
|
9966
9969
|
height: 0
|
|
9967
|
-
},
|
|
9968
|
-
P[C] = _t,
|
|
9970
|
+
}, W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ya(), se = W[E], ce = W[I], pe = un(0, R[V], z[V]), ve = x ? R[V] / 2 - w - pe - se - $.mainAxis : v - pe - se - $.mainAxis, ye = x ? -R[V] / 2 + w + pe + ce + $.mainAxis : O + pe + ce + $.mainAxis, Be = t.elements.arrow && gn(t.elements.arrow), Ge = Be ? C === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, xe = (ae = X == null ? void 0 : X[C]) != null ? ae : 0, Se = q + ve - xe - Ge, ze = q + ye - xe, _t = un(T ? Vn(ne, Se) : ne, q, T ? Rt(L, ze) : L);
|
|
9971
|
+
P[C] = _t, K[C] = _t - q;
|
|
9969
9972
|
}
|
|
9970
9973
|
if (c) {
|
|
9971
9974
|
var Ft, nn = C === "x" ? Ye : Ke, xt = C === "x" ? nt : ot, Xe = P[A], bt = A === "y" ? "height" : "width", Dt = Xe + b[nn], $t = Xe - b[xt], wt = [Ye, Ke].indexOf(g) !== -1, At = (Ft = X == null ? void 0 : X[A]) != null ? Ft : 0, kt = wt ? Dt : Xe - R[bt] - N[bt] - At + $.altAxis, It = wt ? Xe + R[bt] + N[bt] - At - $.altAxis : $t, ht = T && wt ? Xu(kt, Xe, It) : un(T ? kt : Dt, Xe, T ? It : $t);
|
|
9972
|
-
P[A] = ht,
|
|
9975
|
+
P[A] = ht, K[A] = ht - Xe;
|
|
9973
9976
|
}
|
|
9974
|
-
t.modifiersData[o] =
|
|
9977
|
+
t.modifiersData[o] = K;
|
|
9975
9978
|
}
|
|
9976
9979
|
}
|
|
9977
9980
|
const Oc = {
|
|
@@ -10260,8 +10263,8 @@ var Za = { exports: {} }, fa = { exports: {} };
|
|
|
10260
10263
|
};
|
|
10261
10264
|
}
|
|
10262
10265
|
function T(L, w, v, O) {
|
|
10263
|
-
var D = w && w.prototype instanceof C ? w : C, z = Object.create(D.prototype),
|
|
10264
|
-
return c(z, "_invoke", { value: ae(L, v,
|
|
10266
|
+
var D = w && w.prototype instanceof C ? w : C, z = Object.create(D.prototype), W = new q(O || []);
|
|
10267
|
+
return c(z, "_invoke", { value: ae(L, v, W) }), z;
|
|
10265
10268
|
}
|
|
10266
10269
|
function F(L, w, v) {
|
|
10267
10270
|
try {
|
|
@@ -10292,31 +10295,31 @@ var Za = { exports: {} }, fa = { exports: {} };
|
|
|
10292
10295
|
});
|
|
10293
10296
|
});
|
|
10294
10297
|
}
|
|
10295
|
-
function
|
|
10296
|
-
function v(D, z,
|
|
10298
|
+
function K(L, w) {
|
|
10299
|
+
function v(D, z, W, se) {
|
|
10297
10300
|
var ce = F(L[D], L, z);
|
|
10298
10301
|
if (ce.type !== "throw") {
|
|
10299
|
-
var
|
|
10300
|
-
return ve && t(ve) == "object" && s.call(ve, "__await") ? w.resolve(ve.__await).then(function(
|
|
10301
|
-
v("next",
|
|
10302
|
-
}, function(
|
|
10303
|
-
v("throw",
|
|
10304
|
-
}) : w.resolve(ve).then(function(
|
|
10305
|
-
|
|
10306
|
-
}, function(
|
|
10307
|
-
return v("throw",
|
|
10302
|
+
var pe = ce.arg, ve = pe.value;
|
|
10303
|
+
return ve && t(ve) == "object" && s.call(ve, "__await") ? w.resolve(ve.__await).then(function(ye) {
|
|
10304
|
+
v("next", ye, W, se);
|
|
10305
|
+
}, function(ye) {
|
|
10306
|
+
v("throw", ye, W, se);
|
|
10307
|
+
}) : w.resolve(ve).then(function(ye) {
|
|
10308
|
+
pe.value = ye, W(pe);
|
|
10309
|
+
}, function(ye) {
|
|
10310
|
+
return v("throw", ye, W, se);
|
|
10308
10311
|
});
|
|
10309
10312
|
}
|
|
10310
10313
|
se(ce.arg);
|
|
10311
10314
|
}
|
|
10312
10315
|
var O;
|
|
10313
10316
|
c(this, "_invoke", { value: function(D, z) {
|
|
10314
|
-
function
|
|
10317
|
+
function W() {
|
|
10315
10318
|
return new w(function(se, ce) {
|
|
10316
10319
|
v(D, z, se, ce);
|
|
10317
10320
|
});
|
|
10318
10321
|
}
|
|
10319
|
-
return O = O ? O.then(
|
|
10322
|
+
return O = O ? O.then(W, W) : W();
|
|
10320
10323
|
} });
|
|
10321
10324
|
}
|
|
10322
10325
|
function ae(L, w, v) {
|
|
@@ -10330,9 +10333,9 @@ var Za = { exports: {} }, fa = { exports: {} };
|
|
|
10330
10333
|
return { value: o, done: !0 };
|
|
10331
10334
|
}
|
|
10332
10335
|
for (v.method = D, v.arg = z; ; ) {
|
|
10333
|
-
var
|
|
10334
|
-
if (
|
|
10335
|
-
var se = E(
|
|
10336
|
+
var W = v.delegate;
|
|
10337
|
+
if (W) {
|
|
10338
|
+
var se = E(W, v);
|
|
10336
10339
|
if (se) {
|
|
10337
10340
|
if (se === x)
|
|
10338
10341
|
continue;
|
|
@@ -10405,13 +10408,13 @@ var Za = { exports: {} }, fa = { exports: {} };
|
|
|
10405
10408
|
return Object.setPrototypeOf ? Object.setPrototypeOf(L, P) : (L.__proto__ = P, _(L, h, "GeneratorFunction")), L.prototype = Object.create($), L;
|
|
10406
10409
|
}, l.awrap = function(L) {
|
|
10407
10410
|
return { __await: L };
|
|
10408
|
-
}, X(
|
|
10411
|
+
}, X(K.prototype), _(K.prototype, p, function() {
|
|
10409
10412
|
return this;
|
|
10410
|
-
}), l.AsyncIterator =
|
|
10413
|
+
}), l.AsyncIterator = K, l.async = function(L, w, v, O, D) {
|
|
10411
10414
|
D === void 0 && (D = Promise);
|
|
10412
|
-
var z = new
|
|
10413
|
-
return l.isGeneratorFunction(w) ? z : z.next().then(function(
|
|
10414
|
-
return
|
|
10415
|
+
var z = new K(T(L, w, v, O), D);
|
|
10416
|
+
return l.isGeneratorFunction(w) ? z : z.next().then(function(W) {
|
|
10417
|
+
return W.done ? W.value : z.next();
|
|
10415
10418
|
});
|
|
10416
10419
|
}, X($), _($, h, "Generator"), _($, u, function() {
|
|
10417
10420
|
return this;
|
|
@@ -10443,21 +10446,21 @@ var Za = { exports: {} }, fa = { exports: {} };
|
|
|
10443
10446
|
if (this.done)
|
|
10444
10447
|
throw L;
|
|
10445
10448
|
var w = this;
|
|
10446
|
-
function v(ce,
|
|
10447
|
-
return z.type = "throw", z.arg = L, w.next = ce,
|
|
10449
|
+
function v(ce, pe) {
|
|
10450
|
+
return z.type = "throw", z.arg = L, w.next = ce, pe && (w.method = "next", w.arg = o), !!pe;
|
|
10448
10451
|
}
|
|
10449
10452
|
for (var O = this.tryEntries.length - 1; O >= 0; --O) {
|
|
10450
10453
|
var D = this.tryEntries[O], z = D.completion;
|
|
10451
10454
|
if (D.tryLoc === "root")
|
|
10452
10455
|
return v("end");
|
|
10453
10456
|
if (D.tryLoc <= this.prev) {
|
|
10454
|
-
var
|
|
10455
|
-
if (
|
|
10457
|
+
var W = s.call(D, "catchLoc"), se = s.call(D, "finallyLoc");
|
|
10458
|
+
if (W && se) {
|
|
10456
10459
|
if (this.prev < D.catchLoc)
|
|
10457
10460
|
return v(D.catchLoc, !0);
|
|
10458
10461
|
if (this.prev < D.finallyLoc)
|
|
10459
10462
|
return v(D.finallyLoc);
|
|
10460
|
-
} else if (
|
|
10463
|
+
} else if (W) {
|
|
10461
10464
|
if (this.prev < D.catchLoc)
|
|
10462
10465
|
return v(D.catchLoc, !0);
|
|
10463
10466
|
} else {
|
|
@@ -10565,9 +10568,9 @@ function Ct(e, t) {
|
|
|
10565
10568
|
}
|
|
10566
10569
|
}
|
|
10567
10570
|
Ct(".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, l, r) {
|
|
10568
|
-
return m(), M("div", { class: "saturation", style:
|
|
10571
|
+
return m(), M("div", { class: "saturation", style: Me(e.saturationStyle), onMousedown: t[0] || (t[0] = Ne(function() {
|
|
10569
10572
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
10570
|
-
}, ["prevent", "stop"])) }, [Uc, jc, G("div", { class: "slider", style:
|
|
10573
|
+
}, ["prevent", "stop"])) }, [Uc, jc, G("div", { class: "slider", style: Me(e.sliderStyle) }, null, 4)], 36);
|
|
10571
10574
|
}, En.__scopeId = "data-v-24517fec", En.__file = "src/picker/Saturation.vue";
|
|
10572
10575
|
var Ln = me({ name: "Hue", props: { width: { type: Number, default: 15 }, height: { type: Number, default: 160 }, hue: { type: Number, default: 0 } }, emits: ["change"], setup: function(e, t) {
|
|
10573
10576
|
var n = t.emit, o = Q(function() {
|
|
@@ -10592,9 +10595,9 @@ var Ln = me({ name: "Hue", props: { width: { type: Number, default: 15 }, height
|
|
|
10592
10595
|
} };
|
|
10593
10596
|
} }), Gc = { ref: "canvas" };
|
|
10594
10597
|
Ct(".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}"), Ln.render = function(e, t, n, o, l, r) {
|
|
10595
|
-
return m(), M("div", { class: "hue", onMousedown: t[0] || (t[0] =
|
|
10598
|
+
return m(), M("div", { class: "hue", onMousedown: t[0] || (t[0] = Ne(function() {
|
|
10596
10599
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
10597
|
-
}, ["prevent", "stop"])) }, [G("canvas", Gc, null, 512), G("div", { class: "slider", style:
|
|
10600
|
+
}, ["prevent", "stop"])) }, [G("canvas", Gc, null, 512), G("div", { class: "slider", style: Me(e.sliderStyle) }, null, 4)], 32);
|
|
10598
10601
|
}, Ln.__scopeId = "data-v-78b9f4f0", Ln.__file = "src/picker/Hue.vue";
|
|
10599
10602
|
var Fn = me({ 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) {
|
|
10600
10603
|
var n = t.emit, o = Q(function() {
|
|
@@ -10629,9 +10632,9 @@ var Fn = me({ name: "Alpha", props: { width: { type: Number, default: 15 }, heig
|
|
|
10629
10632
|
} };
|
|
10630
10633
|
} }), zc = { ref: "canvas" };
|
|
10631
10634
|
Ct(".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}"), Fn.render = function(e, t, n, o, l, r) {
|
|
10632
|
-
return m(), M("div", { class: "alpha", onMousedown: t[0] || (t[0] =
|
|
10635
|
+
return m(), M("div", { class: "alpha", onMousedown: t[0] || (t[0] = Ne(function() {
|
|
10633
10636
|
return e.onSelect && e.onSelect.apply(e, arguments);
|
|
10634
|
-
}, ["prevent", "stop"])) }, [G("canvas", zc, null, 512), G("div", { class: "slider", style:
|
|
10637
|
+
}, ["prevent", "stop"])) }, [G("canvas", zc, null, 512), G("div", { class: "slider", style: Me(e.sliderStyle) }, null, 4)], 32);
|
|
10635
10638
|
}, Fn.__scopeId = "data-v-24dc9656", Fn.__file = "src/picker/Alpha.vue";
|
|
10636
10639
|
var xn = me({ 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) {
|
|
10637
10640
|
var n = t.emit;
|
|
@@ -10704,7 +10707,7 @@ function et(e) {
|
|
|
10704
10707
|
return e;
|
|
10705
10708
|
}
|
|
10706
10709
|
Ct(".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}"), xn.render = function(e, t, n, o, l, r) {
|
|
10707
|
-
return m(), M("div", Hc, [G("span", Wc,
|
|
10710
|
+
return m(), M("div", Hc, [G("span", Wc, de(e.label), 1), G("input", { class: "value", style: Me(e.valueStyle), ".value": e.value, onFocus: t[0] || (t[0] = function() {
|
|
10708
10711
|
return e.onFocus && e.onFocus.apply(e, arguments);
|
|
10709
10712
|
}), onInput: t[1] || (t[1] = function() {
|
|
10710
10713
|
return e.onInput && e.onInput.apply(e, arguments);
|
|
@@ -10869,7 +10872,7 @@ var va = function(e, t, n) {
|
|
|
10869
10872
|
}), { canvas: t, colorItemStyle: r };
|
|
10870
10873
|
} }), Kc = ["draggable"];
|
|
10871
10874
|
Ct(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"), pn.render = function(e, t, n, o, l, r) {
|
|
10872
|
-
return m(), M("canvas", { class: "color-item", style:
|
|
10875
|
+
return m(), M("canvas", { class: "color-item", style: Me(e.colorItemStyle), ref: "canvas", draggable: e.draggable }, null, 12, Kc);
|
|
10873
10876
|
}, pn.__scopeId = "data-v-02da71fd", pn.__file = "src/color-item/ColorItem.vue";
|
|
10874
10877
|
var $n = me({ name: "Colors", components: { ColorItem: pn }, props: { colors: { type: Array, default: function() {
|
|
10875
10878
|
return [];
|
|
@@ -10907,7 +10910,7 @@ function rt(e) {
|
|
|
10907
10910
|
Ct(".colors[data-v-0f8b52a8]{align-items:center;display:flex;flex-wrap:wrap;margin-top:5px}.color-item[data-v-0f8b52a8]{margin:5px}"), $n.render = function(e, t, n, o, l, r) {
|
|
10908
10911
|
var s = k("color-item");
|
|
10909
10912
|
return m(), M("div", qc, [(m(!0), M(ie, null, Ae(e.useColors, function(c, i) {
|
|
10910
|
-
return m(), j(s, { key: i, class: "color-item", size: 16, value: c, border: !1, "border-radius": 3, selected: e.selectedIndex === i, onClick:
|
|
10913
|
+
return m(), j(s, { key: i, class: "color-item", size: 16, value: c, border: !1, "border-radius": 3, selected: e.selectedIndex === i, onClick: Ne(function(u) {
|
|
10911
10914
|
return e.onSelectColor(c, +i);
|
|
10912
10915
|
}, ["stop", "prevent"]) }, null, 8, ["value", "selected", "onClick"]);
|
|
10913
10916
|
}), 128))]);
|
|
@@ -11037,7 +11040,7 @@ var In = me({ name: "Picker", components: { Colors: $n, Saturation: En, Hue: Ln,
|
|
|
11037
11040
|
} }), Xc = { class: "picker-inner" }, Qc = { class: "picker-header" };
|
|
11038
11041
|
Ct(".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}"), In.render = function(e, t, n, o, l, r) {
|
|
11039
11042
|
var s = k("saturation"), c = k("hue"), i = k("alpha"), u = k("input-value"), p = k("Colors");
|
|
11040
|
-
return m(), M("div", { class: "picker", style:
|
|
11043
|
+
return m(), M("div", { class: "picker", style: Me(e.pickerStyle) }, [G("div", Xc, [G("div", Qc, [d(s, { class: "saturation", hue: e.h, saturation: e.s, value: e.v, onChange: e.onSelectSaturation }, null, 8, ["hue", "saturation", "value", "onChange"]), d(c, { class: "hue", hue: e.h, onChange: e.onSelectHue }, null, 8, ["hue", "onChange"]), e.showAlpha ? (m(), j(i, { key: 0, class: "alpha", alpha: e.a, color: e.rgbStr, onChange: e.onSelectAlpha }, null, 8, ["alpha", "color", "onChange"])) : Z("v-if", !0)]), d(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 ? (m(), j(p, { key: 0, class: "colors", colors: e.colors, "selected-index": e.selectColorIndex, onChange: e.onSelectColor }, null, 8, ["colors", "selected-index", "onChange"])) : Z("v-if", !0)])], 4);
|
|
11041
11044
|
}, In.__scopeId = "data-v-6ceadec6", In.__file = "src/picker/Picker.vue";
|
|
11042
11045
|
var Nn = me({ name: "AddColorItem", props: { size: { type: Number, default: 20 }, selected: { type: Boolean, default: !1 } }, setup: function(e) {
|
|
11043
11046
|
var t = te("theme", { theme: "light" }).theme;
|
|
@@ -11071,7 +11074,7 @@ function Kn(e) {
|
|
|
11071
11074
|
return e;
|
|
11072
11075
|
}
|
|
11073
11076
|
Ct(".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}"), Nn.render = function(e, t, n, o, l, r) {
|
|
11074
|
-
return m(), M("svg", { style:
|
|
11077
|
+
return m(), M("svg", { style: Me(e.addColorItemStyle), class: "add-color-item", viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg" }, [].concat(Jc), 4);
|
|
11075
11078
|
}, Nn.__scopeId = "data-v-ceb1719c", Nn.__file = "src/add-color-item/AddColorItem.vue";
|
|
11076
11079
|
var Bt = null, Ut = me({ name: "ColorPicker", components: { ColorItem: pn, Picker: In, AddColorItem: Nn }, 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() {
|
|
11077
11080
|
return ["#ff4500", "#ff8c00", "#ffd700", "#90ee90", "#00ced1", "#1e90ff", "#c71585", "#ff4500", "#ff7d4d", "#00babd", "#1f93ff", "#fa64c3"];
|
|
@@ -11190,7 +11193,7 @@ var Bt = null, Ut = me({ name: "ColorPicker", components: { ColorItem: pn, Picke
|
|
|
11190
11193
|
return typeof e.popupContainer == "string" || qt(e.popupContainer) === "object" && e.popupContainer != null ? e.popupContainer : "body";
|
|
11191
11194
|
}), X = Q(function() {
|
|
11192
11195
|
return typeof e.popupContainer == "boolean" && e.popupContainer === !1;
|
|
11193
|
-
}),
|
|
11196
|
+
}), K = Q(function() {
|
|
11194
11197
|
return e.theme;
|
|
11195
11198
|
});
|
|
11196
11199
|
we(function() {
|
|
@@ -11198,9 +11201,9 @@ var Bt = null, Ut = me({ name: "ColorPicker", components: { ColorItem: pn, Picke
|
|
|
11198
11201
|
}, function() {
|
|
11199
11202
|
Bo(function() {
|
|
11200
11203
|
var E, I;
|
|
11201
|
-
(E = a(A)) === null || E === void 0 || E.setAttribute("pick-colors-theme", a(
|
|
11204
|
+
(E = a(A)) === null || E === void 0 || E.setAttribute("pick-colors-theme", a(K)), (I = a(b)) === null || I === void 0 || (I = I.$el) === null || I === void 0 || I.setAttribute("pick-colors-theme", a(K));
|
|
11202
11205
|
});
|
|
11203
|
-
}, { immediate: !0 }), Qt("theme", { theme:
|
|
11206
|
+
}, { immediate: !0 }), Qt("theme", { theme: K });
|
|
11204
11207
|
var ae = H([]);
|
|
11205
11208
|
return Je(function() {
|
|
11206
11209
|
document.addEventListener("mouseup", R, !1), e.showPicker && x();
|
|
@@ -11229,20 +11232,20 @@ var Bt = null, Ut = me({ name: "ColorPicker", components: { ColorItem: pn, Picke
|
|
|
11229
11232
|
} });
|
|
11230
11233
|
Ct(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"), Ut.render = function(e, t, n, o, l, r) {
|
|
11231
11234
|
var s = k("color-item"), c = k("add-color-item"), i = k("picker");
|
|
11232
|
-
return m(), M("div", { class: "color-picker", ref: "colorPicker", onDragstart: t[0] || (t[0] =
|
|
11235
|
+
return m(), M("div", { class: "color-picker", ref: "colorPicker", onDragstart: t[0] || (t[0] = Ne(function() {
|
|
11233
11236
|
return e.onColorItemDragStart && e.onColorItemDragStart.apply(e, arguments);
|
|
11234
|
-
}, ["stop"])), onDragover: t[1] || (t[1] =
|
|
11237
|
+
}, ["stop"])), onDragover: t[1] || (t[1] = Ne(function() {
|
|
11235
11238
|
return e.onColorItemDragOver && e.onColorItemDragOver.apply(e, arguments);
|
|
11236
|
-
}, ["prevent", "stop"])), onDrop: t[2] || (t[2] =
|
|
11239
|
+
}, ["prevent", "stop"])), onDrop: t[2] || (t[2] = Ne(function() {
|
|
11237
11240
|
return e.onColorItemDrop && e.onColorItemDrop.apply(e, arguments);
|
|
11238
|
-
}, ["prevent", "stop"])), onClick: t[3] || (t[3] =
|
|
11241
|
+
}, ["prevent", "stop"])), onClick: t[3] || (t[3] = Ne(function() {
|
|
11239
11242
|
return e.onColorClick && e.onColorClick.apply(e, arguments);
|
|
11240
11243
|
}, ["stop"])) }, [(m(!0), M(ie, null, Ae(e.values, function(u, p) {
|
|
11241
11244
|
return m(), j(s, { class: "color-item", key: p, ref_for: !0, ref: function(h) {
|
|
11242
11245
|
return e.colorItemsRef[p] = h;
|
|
11243
11246
|
}, size: e.size, width: e.width, height: e.height, value: u, selected: e.colorItemSelected(p), "data-index": p, draggable: e.valueList.length > 1, format: e.format }, null, 8, ["size", "width", "height", "value", "selected", "data-index", "draggable", "format"]);
|
|
11244
11247
|
}), 128)), e.addColor && e.addColorItemShow ? (m(), j(c, { key: 0, class: "add-color-item", ref: "addColorItem", selected: e.colorItemSelected(-1), "data-index": -1 }, null, 8, ["selected"])) : Z("v-if", !0), (m(), j(rl, { to: e.toPopupContainer, disabled: e.teleportDisabled }, [d(sl, null, { default: f(function() {
|
|
11245
|
-
return [e.isShowPicker ? (m(), j(i, { key: 0, class: "picker", style:
|
|
11248
|
+
return [e.isShowPicker ? (m(), j(i, { key: 0, class: "picker", style: Me(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"])) : Z("v-if", !0)];
|
|
11246
11249
|
}), _: 1 })], 8, ["to", "disabled"]))], 544);
|
|
11247
11250
|
}, Ut.__scopeId = "data-v-3c43ade8", Ut.__file = "src/ColorPicker.vue";
|
|
11248
11251
|
const Zc = me({
|
|
@@ -11444,7 +11447,7 @@ function fp(e, t, n, o, l, r) {
|
|
|
11444
11447
|
class: "form-item",
|
|
11445
11448
|
key: _
|
|
11446
11449
|
}, [
|
|
11447
|
-
Array.isArray(h.label) ? (m(), M("span", cp,
|
|
11450
|
+
Array.isArray(h.label) ? (m(), M("span", cp, de(h.useLabelIndex ? h.label[p] + (p + 1) : h.label[p]), 1)) : (m(), M("span", pp, de(h.useLabelIndex ? h.label + (p + 1) : h.label), 1)),
|
|
11448
11451
|
(m(), j(dn(e.useComponentType(h.type)), Vt({
|
|
11449
11452
|
class: "value",
|
|
11450
11453
|
[e.formatTypeValue(h.typeValue) || ""]: typeof u == "string" ? u : u[h.value] ?? h.defaultValue,
|
|
@@ -11596,7 +11599,7 @@ const Cp = /* @__PURE__ */ he(yp, [["render", gp]]), _p = me({
|
|
|
11596
11599
|
}
|
|
11597
11600
|
},
|
|
11598
11601
|
setup(e) {
|
|
11599
|
-
const t = te(Da), n = te(
|
|
11602
|
+
const t = te(Da), n = te(Re), o = te($a), l = te(Ia), r = Q(() => {
|
|
11600
11603
|
var _;
|
|
11601
11604
|
return (_ = a(t)) == null ? void 0 : _.type;
|
|
11602
11605
|
}), s = (_) => {
|
|
@@ -11692,7 +11695,7 @@ function Tp(e, t, n, o, l, r) {
|
|
|
11692
11695
|
return m(), M("div", wp, [
|
|
11693
11696
|
(m(!0), M(ie, null, Ae(e.formProps, (s, c) => (m(), M(ie, { key: c }, [
|
|
11694
11697
|
s.hide !== !0 ? (m(), M("div", Ap, [
|
|
11695
|
-
G("span", kp,
|
|
11698
|
+
G("span", kp, de(s.label), 1),
|
|
11696
11699
|
G("div", Sp, [
|
|
11697
11700
|
Array.isArray(s) ? (m(!0), M(ie, { key: 0 }, Ae(s, (i, u) => (m(), j(dn(i.component), Vt({
|
|
11698
11701
|
key: u,
|
|
@@ -11843,7 +11846,7 @@ const ol = /* @__PURE__ */ he(xp, [["render", $p], ["__scopeId", "data-v-71e8837
|
|
|
11843
11846
|
AMenu: Un,
|
|
11844
11847
|
AMenuItem: jn,
|
|
11845
11848
|
AInput: Ze,
|
|
11846
|
-
ASelect:
|
|
11849
|
+
ASelect: Pe,
|
|
11847
11850
|
ADropdown: Rn
|
|
11848
11851
|
},
|
|
11849
11852
|
props: {
|
|
@@ -12048,7 +12051,7 @@ const Hp = /* @__PURE__ */ he(Bp, [["render", zp], ["__scopeId", "data-v-49c6481
|
|
|
12048
12051
|
// ImagePicker,
|
|
12049
12052
|
AButton: St,
|
|
12050
12053
|
AModal: ft,
|
|
12051
|
-
ASelect:
|
|
12054
|
+
ASelect: Pe
|
|
12052
12055
|
// SvgIcon
|
|
12053
12056
|
},
|
|
12054
12057
|
props: {
|
|
@@ -12556,14 +12559,14 @@ const ud = /* @__PURE__ */ he(rd, [["render", sd]]), cd = [
|
|
|
12556
12559
|
ACheckbox: lo,
|
|
12557
12560
|
AInput: Ze,
|
|
12558
12561
|
AInputNumber: Tt,
|
|
12559
|
-
ASelect:
|
|
12562
|
+
ASelect: Pe,
|
|
12560
12563
|
ASelectOption: mt,
|
|
12561
12564
|
Editor: ol,
|
|
12562
12565
|
CodeOutlined: Yl,
|
|
12563
12566
|
ConditionsTable: ud
|
|
12564
12567
|
},
|
|
12565
12568
|
setup() {
|
|
12566
|
-
const e = te(lt), t = te(
|
|
12569
|
+
const e = te(lt), t = te(Re), n = Q(
|
|
12567
12570
|
() => {
|
|
12568
12571
|
var C;
|
|
12569
12572
|
return !!((C = a(e)) != null && C.isGroupTable);
|
|
@@ -12596,7 +12599,7 @@ const ud = /* @__PURE__ */ he(rd, [["render", sd]]), cd = [
|
|
|
12596
12599
|
}
|
|
12597
12600
|
console.log("columns", C, o), C.forEach((J) => {
|
|
12598
12601
|
var X;
|
|
12599
|
-
let $ = (X = a(o)) == null ? void 0 : X.find((
|
|
12602
|
+
let $ = (X = a(o)) == null ? void 0 : X.find((K) => K.label === J.label);
|
|
12600
12603
|
$ || ($ = {
|
|
12601
12604
|
label: J.label,
|
|
12602
12605
|
prop: J.label,
|
|
@@ -12692,7 +12695,7 @@ function fd(e, t, n, o, l, r) {
|
|
|
12692
12695
|
readOnly: !0,
|
|
12693
12696
|
onClick: (C) => e.renderSave(y, "renderText", "列自定义函数")
|
|
12694
12697
|
}, null, 8, ["value", "onUpdate:value", "onClick"])) : (m(), M(ie, { key: 0 }, [
|
|
12695
|
-
B(
|
|
12698
|
+
B(de(g), 1)
|
|
12696
12699
|
], 64))
|
|
12697
12700
|
], 64)) : b.dataIndex === "headerTemplate" ? (m(), M(ie, { key: 3 }, [
|
|
12698
12701
|
y.style ? (m(), j(c, {
|
|
@@ -12702,7 +12705,7 @@ function fd(e, t, n, o, l, r) {
|
|
|
12702
12705
|
readOnly: !0,
|
|
12703
12706
|
onClick: (C) => e.renderSave(y, "headerTemplate", "列表头自定义函数")
|
|
12704
12707
|
}, null, 8, ["value", "onUpdate:value", "onClick"])) : (m(), M(ie, { key: 0 }, [
|
|
12705
|
-
B(
|
|
12708
|
+
B(de(g), 1)
|
|
12706
12709
|
], 64))
|
|
12707
12710
|
], 64)) : b.dataIndex === "headerAlign" ? (m(), j(u, {
|
|
12708
12711
|
key: 4,
|
|
@@ -12848,7 +12851,7 @@ function fd(e, t, n, o, l, r) {
|
|
|
12848
12851
|
], 64)) : b.dataIndex === "conditions" ? (m(), j(h, {
|
|
12849
12852
|
key: 10,
|
|
12850
12853
|
class: "icon",
|
|
12851
|
-
onClick:
|
|
12854
|
+
onClick: Ne((C) => e.openConditions(x), ["stop"])
|
|
12852
12855
|
}, null, 8, ["onClick"])) : Z("", !0)
|
|
12853
12856
|
]),
|
|
12854
12857
|
_: 1
|
|
@@ -12921,13 +12924,13 @@ const md = /* @__PURE__ */ he(pd, [["render", fd], ["__scopeId", "data-v-bb09539
|
|
|
12921
12924
|
components: {
|
|
12922
12925
|
ATable: Hn,
|
|
12923
12926
|
AInputNumber: Tt,
|
|
12924
|
-
ASelect:
|
|
12927
|
+
ASelect: Pe,
|
|
12925
12928
|
ASelectOption: mt,
|
|
12926
12929
|
ACollapse: io,
|
|
12927
12930
|
ACollapsePanel: ro
|
|
12928
12931
|
},
|
|
12929
12932
|
setup() {
|
|
12930
|
-
const e = te(lt), t = te(
|
|
12933
|
+
const e = te(lt), t = te(Re), n = H(["cardFormat"]), o = () => {
|
|
12931
12934
|
var u;
|
|
12932
12935
|
const r = ((u = a(t)) == null ? void 0 : u.indicators) || [], s = e.value.columnsConfigMap || {}, c = { dataFormat: [], retentiondigit: "" }, i = r.reduce(
|
|
12933
12936
|
(p, h) => ({ ...p, [h.label]: { ...c, ...s[h.label] || {} } }),
|
|
@@ -13045,7 +13048,7 @@ const yd = /* @__PURE__ */ he(bd, [["render", hd], ["__scopeId", "data-v-7276111
|
|
|
13045
13048
|
TableColumnConfig: md,
|
|
13046
13049
|
Editor: ol,
|
|
13047
13050
|
AFormItem: Ea,
|
|
13048
|
-
ASelect:
|
|
13051
|
+
ASelect: Pe,
|
|
13049
13052
|
ASelectOption: mt,
|
|
13050
13053
|
ACollapse: io,
|
|
13051
13054
|
ACollapsePanel: ro,
|
|
@@ -13064,12 +13067,12 @@ const yd = /* @__PURE__ */ he(bd, [["render", hd], ["__scopeId", "data-v-7276111
|
|
|
13064
13067
|
var P;
|
|
13065
13068
|
return (P = a(o)) == null ? void 0 : P.type;
|
|
13066
13069
|
}), h = ["showTotalBool", "totalName", "expandAll"], _ = Q(() => bu.map((P) => {
|
|
13067
|
-
const { props: R, title: N, enableProps: J, onlyType: $, excludeType: X } = P,
|
|
13070
|
+
const { props: R, title: N, enableProps: J, onlyType: $, excludeType: X } = P, K = [];
|
|
13068
13071
|
R.forEach((I) => {
|
|
13069
|
-
typeof I == "string" && (h.includes(I) ? e.isGroupTable &&
|
|
13072
|
+
typeof I == "string" && (h.includes(I) ? e.isGroupTable && K.push(I) : K.push(I));
|
|
13070
13073
|
});
|
|
13071
13074
|
let ae, E;
|
|
13072
|
-
return e.componentType === "table" && ($ != null && $.includes(e.componentType)) ? (ae = typeof J == "string" && l.value ? l.value[J] : void 0, E = Pn(a(l),
|
|
13075
|
+
return e.componentType === "table" && ($ != null && $.includes(e.componentType)) ? (ae = typeof J == "string" && l.value ? l.value[J] : void 0, E = Pn(a(l), K)) : (ae = typeof J == "string" && o.value ? o.value[J] : void 0, E = Pn(a(o), K)), {
|
|
13073
13076
|
title: N,
|
|
13074
13077
|
enableProps: ae,
|
|
13075
13078
|
enablePropsName: J,
|
|
@@ -13309,7 +13312,7 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13309
13312
|
components: {
|
|
13310
13313
|
CloseOutlined: hn,
|
|
13311
13314
|
AInput: Ze,
|
|
13312
|
-
ASelect:
|
|
13315
|
+
ASelect: Pe,
|
|
13313
13316
|
MenuOutlined: wo,
|
|
13314
13317
|
ADropdown: Rn,
|
|
13315
13318
|
AMenu: Un,
|
|
@@ -13359,25 +13362,25 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13359
13362
|
];
|
|
13360
13363
|
}), p = Q(() => {
|
|
13361
13364
|
var D, z;
|
|
13362
|
-
const v = [], O = (D = a(i)) == null ? void 0 : D.find((
|
|
13365
|
+
const v = [], O = (D = a(i)) == null ? void 0 : D.find((W) => {
|
|
13363
13366
|
var se;
|
|
13364
|
-
return
|
|
13367
|
+
return W.id === ((se = e.control) == null ? void 0 : se.id);
|
|
13365
13368
|
});
|
|
13366
13369
|
if (O) {
|
|
13367
|
-
const
|
|
13370
|
+
const W = O.type, se = Pn(O, ["value", "startTime", "endTime"]);
|
|
13368
13371
|
(z = Object.keys(se)) != null && z.length || (se.value = "");
|
|
13369
13372
|
for (const ce in se)
|
|
13370
13373
|
if (Object.prototype.hasOwnProperty.call(se, ce)) {
|
|
13371
|
-
const
|
|
13372
|
-
if (Array.isArray(
|
|
13373
|
-
const ve =
|
|
13374
|
+
const pe = a(o)[ce];
|
|
13375
|
+
if (Array.isArray(pe)) {
|
|
13376
|
+
const ve = pe.find((ye) => Te(W, ye.onlyType));
|
|
13374
13377
|
ve && v.push({
|
|
13375
13378
|
label: ve.label,
|
|
13376
13379
|
value: ce
|
|
13377
13380
|
});
|
|
13378
13381
|
} else
|
|
13379
13382
|
v.push({
|
|
13380
|
-
label:
|
|
13383
|
+
label: pe.label,
|
|
13381
13384
|
value: ce
|
|
13382
13385
|
});
|
|
13383
13386
|
}
|
|
@@ -13394,13 +13397,13 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13394
13397
|
function T(v) {
|
|
13395
13398
|
const O = a(i).find((D) => D.id === v);
|
|
13396
13399
|
if (O) {
|
|
13397
|
-
const { type: D, id: z, events:
|
|
13400
|
+
const { type: D, id: z, events: W = [] } = O, se = Bn(D), ce = W.findIndex((pe) => {
|
|
13398
13401
|
var ve;
|
|
13399
|
-
return
|
|
13402
|
+
return pe.on === se && pe.target === ((ve = a(R)) == null ? void 0 : ve.id) && pe.emit === "refreshData";
|
|
13400
13403
|
});
|
|
13401
|
-
ce !== -1 && (
|
|
13404
|
+
ce !== -1 && (W.splice(ce, 1), n({
|
|
13402
13405
|
id: z,
|
|
13403
|
-
events:
|
|
13406
|
+
events: W
|
|
13404
13407
|
}));
|
|
13405
13408
|
}
|
|
13406
13409
|
}
|
|
@@ -13473,36 +13476,36 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13473
13476
|
index: e.index,
|
|
13474
13477
|
path: e.path
|
|
13475
13478
|
});
|
|
13476
|
-
}, R = te(lt), N = te(
|
|
13479
|
+
}, R = te(lt), N = te(Re);
|
|
13477
13480
|
function J(v, O) {
|
|
13478
|
-
var ce,
|
|
13479
|
-
const { type: D, id: z, events:
|
|
13480
|
-
a(S) && O !== a(S) && (rn(((ce = a(N)) == null ? void 0 : ce.controlList) || []).find((
|
|
13481
|
-
var
|
|
13482
|
-
return ve.on === se && ve.target === ((
|
|
13481
|
+
var ce, pe;
|
|
13482
|
+
const { type: D, id: z, events: W = [] } = v, se = Bn(D);
|
|
13483
|
+
a(S) && O !== a(S) && (rn(((ce = a(N)) == null ? void 0 : ce.controlList) || []).find((ye) => ye.id === a(S)) || T(a(S))), W.find((ve) => {
|
|
13484
|
+
var ye;
|
|
13485
|
+
return ve.on === se && ve.target === ((ye = a(R)) == null ? void 0 : ye.id) && ve.emit === "refreshData";
|
|
13483
13486
|
}) || n({
|
|
13484
13487
|
id: z,
|
|
13485
|
-
events: [...
|
|
13488
|
+
events: [...W, {
|
|
13486
13489
|
on: se,
|
|
13487
|
-
target: (
|
|
13490
|
+
target: (pe = a(R)) == null ? void 0 : pe.id,
|
|
13488
13491
|
emit: "refreshData"
|
|
13489
13492
|
}].reverse()
|
|
13490
13493
|
});
|
|
13491
13494
|
}
|
|
13492
13495
|
const $ = (v, O) => {
|
|
13493
13496
|
if (v) {
|
|
13494
|
-
const { label: D, name: z, id:
|
|
13497
|
+
const { label: D, name: z, id: W, genericType: se, indexCode: ce, typeGuid: pe, indexCodeNum: ve } = O || {}, ye = {
|
|
13495
13498
|
...e.control,
|
|
13496
|
-
conditionKey:
|
|
13499
|
+
conditionKey: W,
|
|
13497
13500
|
conditionLabel: D,
|
|
13498
13501
|
conditionName: z,
|
|
13499
13502
|
conditionValueType: se,
|
|
13500
13503
|
indexCode: ce,
|
|
13501
|
-
typeGuid:
|
|
13504
|
+
typeGuid: pe,
|
|
13502
13505
|
indexCodeNum: ve
|
|
13503
13506
|
};
|
|
13504
|
-
Gt(
|
|
13505
|
-
control:
|
|
13507
|
+
Gt(ye, "rule") || (ye.rule = "EQUAL"), Gt(ye, "dataType") || (ye.dataType = "component"), r({
|
|
13508
|
+
control: ye,
|
|
13506
13509
|
index: e.index,
|
|
13507
13510
|
path: e.path
|
|
13508
13511
|
});
|
|
@@ -13517,7 +13520,7 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13517
13520
|
}, X = (v, O) => {
|
|
13518
13521
|
var D;
|
|
13519
13522
|
return (D = O == null ? void 0 : O.keyName) == null ? void 0 : D.toLowerCase().includes(v == null ? void 0 : v.toLowerCase());
|
|
13520
|
-
},
|
|
13523
|
+
}, K = (v, O) => {
|
|
13521
13524
|
var D;
|
|
13522
13525
|
return (D = O == null ? void 0 : O.label) == null ? void 0 : D.toLowerCase().includes(v == null ? void 0 : v.toLowerCase());
|
|
13523
13526
|
}, ae = Q(() => {
|
|
@@ -13562,15 +13565,15 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13562
13565
|
let v = !1;
|
|
13563
13566
|
const { id: O = "", dataType: D = "component" } = e.control;
|
|
13564
13567
|
if (O && D === "component") {
|
|
13565
|
-
const z = a(i).find((se) => se.id === O),
|
|
13566
|
-
Te(z == null ? void 0 : z.type,
|
|
13568
|
+
const z = a(i).find((se) => se.id === O), W = ["table", "bar", "combograph", "line", "pie", "radar", "scatter", "list", "circulate"];
|
|
13569
|
+
Te(z == null ? void 0 : z.type, W) && (v = !0);
|
|
13567
13570
|
}
|
|
13568
13571
|
return O === "PARENT" && (v = !0), v;
|
|
13569
13572
|
}), V = Q(() => {
|
|
13570
13573
|
let v = !1;
|
|
13571
13574
|
const { id: O = "", dataType: D = "component" } = e.control;
|
|
13572
13575
|
if (O && D === "component") {
|
|
13573
|
-
const z = a(i).find((
|
|
13576
|
+
const z = a(i).find((W) => W.id === O);
|
|
13574
13577
|
Te((z == null ? void 0 : z.type) || "", "range") && (v = !0);
|
|
13575
13578
|
}
|
|
13576
13579
|
return O === "PARENT" && (v = !0), v;
|
|
@@ -13578,7 +13581,7 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13578
13581
|
let v = !1;
|
|
13579
13582
|
const { id: O = "", dataType: D = "component" } = e.control;
|
|
13580
13583
|
if (O && D === "component") {
|
|
13581
|
-
const z = a(i).find((
|
|
13584
|
+
const z = a(i).find((W) => W.id === O);
|
|
13582
13585
|
Te((z == null ? void 0 : z.type) || "", ["date", "range"]) && (v = !0);
|
|
13583
13586
|
}
|
|
13584
13587
|
return v;
|
|
@@ -13597,7 +13600,7 @@ const wd = /* @__PURE__ */ he(gd, [["render", _d], ["__scopeId", "data-v-9a2fa8f
|
|
|
13597
13600
|
onCustomValueChange: A,
|
|
13598
13601
|
onConditionKeyChange: $,
|
|
13599
13602
|
idFilterOption: X,
|
|
13600
|
-
filterOption:
|
|
13603
|
+
filterOption: K,
|
|
13601
13604
|
onFormatChange: (v) => {
|
|
13602
13605
|
r({
|
|
13603
13606
|
control: {
|
|
@@ -13823,11 +13826,11 @@ const Id = /* @__PURE__ */ he(Od, [["render", $d], ["__scopeId", "data-v-2588920
|
|
|
13823
13826
|
components: {
|
|
13824
13827
|
ControlList: Id,
|
|
13825
13828
|
AButton: St,
|
|
13826
|
-
ASelect:
|
|
13829
|
+
ASelect: Pe,
|
|
13827
13830
|
APopover: bn
|
|
13828
13831
|
},
|
|
13829
13832
|
setup() {
|
|
13830
|
-
const e = H(!1), t = H([]), n = te(vt), o = te(
|
|
13833
|
+
const e = H(!1), t = H([]), n = te(vt), o = te(Re), l = te(at), r = te(El), s = Q(() => {
|
|
13831
13834
|
var g, y;
|
|
13832
13835
|
const b = ((g = a(o)) == null ? void 0 : g.controlList) || [];
|
|
13833
13836
|
for (const x of b)
|
|
@@ -13882,9 +13885,9 @@ const Id = /* @__PURE__ */ he(Od, [["render", $d], ["__scopeId", "data-v-2588920
|
|
|
13882
13885
|
if (Array.isArray(C) && C[g])
|
|
13883
13886
|
if (C.splice(g, 1), C.length === 1) {
|
|
13884
13887
|
if (A.length > 0) {
|
|
13885
|
-
const $ = A.length - 1, X = A[$],
|
|
13888
|
+
const $ = A.length - 1, X = A[$], K = A.slice(0, $);
|
|
13886
13889
|
let ae = x, E = "";
|
|
13887
|
-
for (const I of
|
|
13890
|
+
for (const I of K)
|
|
13888
13891
|
if (ae[I])
|
|
13889
13892
|
E = (N = ae[I]) == null ? void 0 : N.join, ae = (J = ae[I]) == null ? void 0 : J.conditions;
|
|
13890
13893
|
else
|
|
@@ -14027,7 +14030,7 @@ function zd(e, t, n, o, l, r) {
|
|
|
14027
14030
|
return [
|
|
14028
14031
|
G("div", Vd, [
|
|
14029
14032
|
Rd,
|
|
14030
|
-
e.indicatorComponents.length ? (m(), M("div", Ud,
|
|
14033
|
+
e.indicatorComponents.length ? (m(), M("div", Ud, de(e.selectedIds.length) + " / " + de(e.indicatorComponents.length) + " 项 ", 1)) : Z("", !0),
|
|
14031
14034
|
G("div", jd, [
|
|
14032
14035
|
d(c, {
|
|
14033
14036
|
style: { width: "75%" },
|
|
@@ -14096,7 +14099,7 @@ const Hd = /* @__PURE__ */ he(Nd, [["render", zd], ["__scopeId", "data-v-9d5f3b1
|
|
|
14096
14099
|
components: {
|
|
14097
14100
|
CloseOutlined: hn,
|
|
14098
14101
|
AppstoreAddOutlined: mo,
|
|
14099
|
-
ASelect:
|
|
14102
|
+
ASelect: Pe,
|
|
14100
14103
|
ASelectOption: mt,
|
|
14101
14104
|
AInput: Ze,
|
|
14102
14105
|
APopover: bn,
|
|
@@ -14215,7 +14218,7 @@ function Qd(e, t, n, o, l, r) {
|
|
|
14215
14218
|
key: 0,
|
|
14216
14219
|
class: "var-indicator",
|
|
14217
14220
|
title: e.label
|
|
14218
|
-
},
|
|
14221
|
+
}, de(e.label), 9, Kd)) : Z("", !0),
|
|
14219
14222
|
d(s, {
|
|
14220
14223
|
class: "field-name",
|
|
14221
14224
|
value: e.variableData.variableName,
|
|
@@ -14501,7 +14504,7 @@ const Jd = /* @__PURE__ */ he(Wd, [["render", Qd], ["__scopeId", "data-v-0d77395
|
|
|
14501
14504
|
VariableItem: Jd
|
|
14502
14505
|
},
|
|
14503
14506
|
setup() {
|
|
14504
|
-
const e = te(
|
|
14507
|
+
const e = te(Re), t = te(at), n = te(vt), o = Q(() => {
|
|
14505
14508
|
var u;
|
|
14506
14509
|
return ((u = a(e)) == null ? void 0 : u.variableList) || [];
|
|
14507
14510
|
}), l = (i) => {
|
|
@@ -14627,7 +14630,7 @@ function sf(e, t, n, o, l, r) {
|
|
|
14627
14630
|
pagination: e.pagination
|
|
14628
14631
|
}, {
|
|
14629
14632
|
bodyCell: f(({ column: c, record: i }) => [
|
|
14630
|
-
c.retentiondigit !== void 0 ? (m(), M("span", rf,
|
|
14633
|
+
c.retentiondigit !== void 0 ? (m(), M("span", rf, de(e.handleFormat(i, c)), 1)) : Z("", !0)
|
|
14631
14634
|
]),
|
|
14632
14635
|
_: 1
|
|
14633
14636
|
}, 8, ["columns", "data-source", "pagination"]);
|
|
@@ -14648,7 +14651,7 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14648
14651
|
},
|
|
14649
14652
|
setup(e, { expose: t }) {
|
|
14650
14653
|
var L;
|
|
14651
|
-
const n = H(null), o = H(), l = H("1"), r = H([0, 1, 2]), s = H(), c = H(), i = te(lt), u = te(xl), p = te(
|
|
14654
|
+
const n = H(null), o = H(), l = H("1"), r = H([0, 1, 2]), s = H(), c = H(), i = te(lt), u = te(xl), p = te(Re), h = te(vt), _ = te(Dl), T = te(Ma), F = te($l), S = ["text", "proportion", "select", "checkbox", "radio", "radar", "circulate"], b = Q(() => {
|
|
14652
14655
|
const w = be(a(i));
|
|
14653
14656
|
y(w);
|
|
14654
14657
|
const v = Pn(
|
|
@@ -14667,8 +14670,8 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14667
14670
|
sourceTop: w.top
|
|
14668
14671
|
};
|
|
14669
14672
|
}), g = Q(() => {
|
|
14670
|
-
var z,
|
|
14671
|
-
const { token: w, context: v } = a(i), O = (((z = a(c)) == null ? void 0 : z.clientWidth) || 0) + "px", D = (((
|
|
14673
|
+
var z, W;
|
|
14674
|
+
const { token: w, context: v } = a(i), O = (((z = a(c)) == null ? void 0 : z.clientWidth) || 0) + "px", D = (((W = a(c)) == null ? void 0 : W.clientHeight) || 0) + "px";
|
|
14672
14675
|
return {
|
|
14673
14676
|
id: a(i).componentId,
|
|
14674
14677
|
name: a(i).name,
|
|
@@ -14703,24 +14706,24 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14703
14706
|
v && C.value === "table" && ae(), window.changeShowTable && window.changeShowTable(v), w === "3" && X();
|
|
14704
14707
|
}, R = H([]), N = te(Ot), J = a(te(Et)), $ = (L = window == null ? void 0 : window.config) == null ? void 0 : L.pageId;
|
|
14705
14708
|
function X() {
|
|
14706
|
-
var
|
|
14707
|
-
const { leftAxisList: w = [], rightAxisList: v = [],
|
|
14708
|
-
for (const
|
|
14709
|
-
const { id:
|
|
14710
|
-
|
|
14709
|
+
var se;
|
|
14710
|
+
const { leftAxisList: w = [], rightAxisList: v = [], indicators: O = [], dataSourceId: D = "" } = a(p), z = [...w, ...v, ...O], W = {};
|
|
14711
|
+
for (const ce of z) {
|
|
14712
|
+
const { id: pe = "", indexCode: ve = "" } = ce;
|
|
14713
|
+
pe && !Gt(ce, "calcType") && !W[pe] && (W[pe] = ve);
|
|
14711
14714
|
}
|
|
14712
|
-
if ((
|
|
14713
|
-
const
|
|
14714
|
-
for (const
|
|
14715
|
-
|
|
14716
|
-
new Promise((
|
|
14715
|
+
if ((se = Object.keys(W)) != null && se.length) {
|
|
14716
|
+
const ce = [];
|
|
14717
|
+
for (const pe in W)
|
|
14718
|
+
ce.push(
|
|
14719
|
+
new Promise((ve, ye) => {
|
|
14717
14720
|
N.post(
|
|
14718
14721
|
`${st}/diagram/hrpIndexWithComplex`,
|
|
14719
14722
|
{
|
|
14720
14723
|
pageId: $,
|
|
14721
|
-
indexGuid:
|
|
14722
|
-
indexCode:
|
|
14723
|
-
dataSourceId:
|
|
14724
|
+
indexGuid: pe,
|
|
14725
|
+
indexCode: W[pe],
|
|
14726
|
+
dataSourceId: D
|
|
14724
14727
|
},
|
|
14725
14728
|
{
|
|
14726
14729
|
headers: {
|
|
@@ -14728,48 +14731,48 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14728
14731
|
operateContext: "ygt"
|
|
14729
14732
|
}
|
|
14730
14733
|
}
|
|
14731
|
-
).then((
|
|
14732
|
-
var
|
|
14733
|
-
const { success:
|
|
14734
|
-
|
|
14735
|
-
}).catch((
|
|
14736
|
-
|
|
14734
|
+
).then((Be) => {
|
|
14735
|
+
var Se;
|
|
14736
|
+
const { success: Ge, data: xe = [] } = Be.data;
|
|
14737
|
+
Ge && ((Se = xe == null ? void 0 : xe.dataViewColumns) != null && Se.length) ? ve(xe.dataViewColumns) : ye(xe);
|
|
14738
|
+
}).catch((Be) => {
|
|
14739
|
+
ye(Be);
|
|
14737
14740
|
});
|
|
14738
14741
|
})
|
|
14739
14742
|
);
|
|
14740
|
-
Promise.all(
|
|
14741
|
-
if (
|
|
14742
|
-
const
|
|
14743
|
-
(
|
|
14743
|
+
Promise.all(ce).then((pe) => {
|
|
14744
|
+
if (pe != null && pe.length) {
|
|
14745
|
+
const ve = pe.reduce(
|
|
14746
|
+
(ye, Be) => ye.filter((Ge) => Be.find((xe) => xe.typeGuid === Ge.typeGuid))
|
|
14744
14747
|
);
|
|
14745
|
-
|
|
14748
|
+
K(ve.filter((ye) => ye.typeGuid));
|
|
14746
14749
|
}
|
|
14747
14750
|
});
|
|
14748
14751
|
} else
|
|
14749
|
-
|
|
14752
|
+
K([]);
|
|
14750
14753
|
}
|
|
14751
|
-
function
|
|
14752
|
-
var
|
|
14754
|
+
function K(w) {
|
|
14755
|
+
var xe;
|
|
14753
14756
|
const {
|
|
14754
14757
|
classificationList: v = [],
|
|
14755
14758
|
seriesList: O = [],
|
|
14756
14759
|
leftAxisList: D = [],
|
|
14757
14760
|
rightAxisList: z = [],
|
|
14758
|
-
indicators:
|
|
14761
|
+
indicators: W = [],
|
|
14759
14762
|
rowHeaderList: se = [],
|
|
14760
14763
|
queryColumnList: ce = []
|
|
14761
|
-
} = a(p),
|
|
14764
|
+
} = a(p), pe = be([
|
|
14762
14765
|
...v,
|
|
14763
14766
|
...O,
|
|
14764
14767
|
...D,
|
|
14765
14768
|
...z,
|
|
14766
|
-
...
|
|
14769
|
+
...W,
|
|
14767
14770
|
...se,
|
|
14768
14771
|
...ce
|
|
14769
14772
|
]);
|
|
14770
|
-
if (
|
|
14771
|
-
for (const
|
|
14772
|
-
|
|
14773
|
+
if (pe != null && pe.length)
|
|
14774
|
+
for (const Se of pe)
|
|
14775
|
+
Se.id = Se.name;
|
|
14773
14776
|
const ve = [
|
|
14774
14777
|
{
|
|
14775
14778
|
label: "日期(内置)",
|
|
@@ -14823,36 +14826,36 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14823
14826
|
typeGuid: "the_day",
|
|
14824
14827
|
indexCode: null
|
|
14825
14828
|
},
|
|
14826
|
-
...w.map((
|
|
14827
|
-
...
|
|
14828
|
-
id:
|
|
14829
|
-
label:
|
|
14829
|
+
...w.map((Se) => ({
|
|
14830
|
+
...Se,
|
|
14831
|
+
id: Se.name,
|
|
14832
|
+
label: Se.title || Se.label
|
|
14830
14833
|
})),
|
|
14831
|
-
...
|
|
14834
|
+
...pe
|
|
14832
14835
|
];
|
|
14833
|
-
if (((
|
|
14834
|
-
const { selectFieldOptions:
|
|
14836
|
+
if (((xe = a(i)) == null ? void 0 : xe.type) === "ecanSelect") {
|
|
14837
|
+
const { selectFieldOptions: Se = [] } = a(p);
|
|
14835
14838
|
if (ve.unshift({
|
|
14836
14839
|
label: "上级编码",
|
|
14837
14840
|
name: "上级编码",
|
|
14838
14841
|
id: "parentCode",
|
|
14839
14842
|
genericType: "TEXT"
|
|
14840
|
-
}),
|
|
14841
|
-
for (const
|
|
14843
|
+
}), Se != null && Se.length)
|
|
14844
|
+
for (const ze of Se)
|
|
14842
14845
|
ve.unshift({
|
|
14843
|
-
label:
|
|
14844
|
-
name:
|
|
14845
|
-
id:
|
|
14846
|
+
label: ze.label,
|
|
14847
|
+
name: ze.value,
|
|
14848
|
+
id: ze.value,
|
|
14846
14849
|
genericType: "TEXT"
|
|
14847
14850
|
});
|
|
14848
14851
|
}
|
|
14849
|
-
const
|
|
14850
|
-
for (let
|
|
14851
|
-
const
|
|
14852
|
-
|
|
14852
|
+
const ye = /* @__PURE__ */ new Map(), Be = ve.length;
|
|
14853
|
+
for (let Se = 0; Se < Be; Se++) {
|
|
14854
|
+
const ze = ve[Se], { id: _t } = ze || {};
|
|
14855
|
+
ye.set(_t, ze);
|
|
14853
14856
|
}
|
|
14854
|
-
const
|
|
14855
|
-
R.value =
|
|
14857
|
+
const Ge = [...ye];
|
|
14858
|
+
R.value = Ge.map(([Se, ze]) => ze);
|
|
14856
14859
|
}
|
|
14857
14860
|
const ae = () => {
|
|
14858
14861
|
var v;
|
|
@@ -14894,15 +14897,15 @@ const uf = /* @__PURE__ */ he(lf, [["render", sf]]), cf = me({
|
|
|
14894
14897
|
if (w === "10") {
|
|
14895
14898
|
const { dimensions: O, indicators: D } = be(v), z = [];
|
|
14896
14899
|
if (O) {
|
|
14897
|
-
for (const
|
|
14898
|
-
|
|
14899
|
-
key:
|
|
14900
|
-
label:
|
|
14900
|
+
for (const W of O)
|
|
14901
|
+
W.showTitle && (W.label = W.showTitle), z.push({
|
|
14902
|
+
key: W.name,
|
|
14903
|
+
label: W.showTitle,
|
|
14901
14904
|
width: null,
|
|
14902
|
-
position:
|
|
14905
|
+
position: W.positionType || "rows"
|
|
14903
14906
|
});
|
|
14904
|
-
for (const
|
|
14905
|
-
|
|
14907
|
+
for (const W of D)
|
|
14908
|
+
W.showTitle && (W.label = W.showTitle);
|
|
14906
14909
|
}
|
|
14907
14910
|
E({
|
|
14908
14911
|
dimensionList: z,
|
|
@@ -15053,8 +15056,8 @@ function ff(e, t, n, o, l, r) {
|
|
|
15053
15056
|
], 64)) : Z("", !0)
|
|
15054
15057
|
], 2);
|
|
15055
15058
|
}
|
|
15056
|
-
const Of = /* @__PURE__ */ he(cf, [["render", ff], ["__scopeId", "data-v-
|
|
15059
|
+
const Of = /* @__PURE__ */ he(cf, [["render", ff], ["__scopeId", "data-v-d35b9e54"]]);
|
|
15057
15060
|
export {
|
|
15058
15061
|
Of as default
|
|
15059
15062
|
};
|
|
15060
|
-
//# sourceMappingURL=index-
|
|
15063
|
+
//# sourceMappingURL=index-2e5feefb.mjs.map
|