@ecan-bi/indicator-library 1.1.37 → 1.1.38
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/AntdIcon-7ebd41b4.mjs +1 -1
- package/dist/DrillModal-3f5a0070-e4053b53.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-2f89205a.mjs → index-060ef291.mjs} +3 -3
- package/dist/{index-2f89205a.mjs.map → index-060ef291.mjs.map} +1 -1
- package/dist/{index-ac168659.mjs → index-cf72af88.mjs} +4 -4
- package/dist/{index-ac168659.mjs.map → index-cf72af88.mjs.map} +1 -1
- package/dist/{index-32b18d63.mjs → index-fadf33e3.mjs} +653 -651
- package/dist/index-fadf33e3.mjs.map +1 -0
- package/dist/index.es-7e69466e.mjs +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +17 -17
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/indicator/indicator-library/data-config/data-config-group/data-config-card/DataConfigCard.vue.d.ts +1 -1
- package/dist/index-32b18d63.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! @ecan-bi/indicator-library@1.1.
|
|
2
|
-
import { createVNode as p, defineComponent as ve, inject as J, unref as a, computed as Q, ref as K, watch as Le, resolveComponent as k, openBlock as h, createBlock as U, withCtx as v, createElementVNode as j, createTextVNode as
|
|
1
|
+
/*! @ecan-bi/indicator-library@1.1.38 */
|
|
2
|
+
import { createVNode as p, defineComponent as ve, inject as J, unref as a, computed as Q, ref as K, watch as Le, resolveComponent as k, openBlock as h, createBlock as U, withCtx as v, createElementVNode as j, createTextVNode as P, createElementBlock as N, Fragment as ie, renderList as Ee, normalizeStyle as Be, toDisplayString as pe, createCommentVNode as X, nextTick as ao, resolveDirective as vo, withDirectives as Yt, withModifiers as Pe, pushScopeId as ot, popScopeId as at, onMounted as Ze, vShow as Wn, provide as en, createSlots as Pa, normalizeClass as lo, reactive as Sl, mergeProps as zt, withKeys as Tl, onBeforeUnmount as Ol, onUnmounted as Va, Teleport as El, Transition as Ll, toRaw as Dl, resolveDynamicComponent as yn, toHandlers as Xo, defineAsyncComponent as $l } from "vue";
|
|
3
3
|
import { Modal as yt, Button as xt, Select as Ge, SelectOption as Ot, Input as lt, Checkbox as bo, Collapse as ho, CollapsePanel as yo, Tag as Fl, CheckableTag as Il, Dropdown as wn, Menu as kn, SubMenu as Ba, MenuItem as An, Popover as ln, message as tt, DatePicker as xl, Tabs as Xn, TabPane as Qn, RadioGroup as go, Radio as Nl, InputNumber as Nt, Row as Ml, Col as Pl, Textarea as Co, InputSearch as Vl, Tree as Bl, RadioButton as Ra, Form as Rl, FormItem as Ua, Tooltip as Ul, Card as jl, MenuDivider as Gl, Switch as ja, Slider as zl, Table as Jn } from "ant-design-vue";
|
|
4
|
-
import { R as Et, f as it, I as Lt, G as Re, U as et, a as ht, _ as
|
|
4
|
+
import { R as Et, f as it, I as Lt, G as Re, U as et, a as ht, _ as _e, h as Ga, C as Zn, S as pt, i as _o, e as Sn, j as fn, k as za, l as Kn, N as Fe, n as Ht, T as qt, o as Ha, p as Wa, q as Ka, r as Hl, s as Ya, t as Wl, M as Kl, u as qa, v as Yl, Z as ql, w as Xl, x as Ql, y as Jl, z as Zl, P as ei, A as ti } from "./index-cf72af88.mjs";
|
|
5
5
|
import eo from "vuedraggable";
|
|
6
6
|
import { cloneDeep as he, reduce as Qo, debounce as ni, pick as Yn, without as oi } from "lodash-es";
|
|
7
7
|
import { A as Ye } from "./AntdIcon-7ebd41b4.mjs";
|
|
@@ -426,15 +426,15 @@ const lr = Bo, Qa = {
|
|
|
426
426
|
var Y;
|
|
427
427
|
return (Y = a(l)) == null ? void 0 : Y.filter((te) => te.keyName);
|
|
428
428
|
}), E = (Y) => {
|
|
429
|
-
const te = e.sortList.filter((T) => !a(b).find((z) => z.columnName === T.name) || Y.columnName === T.name),
|
|
429
|
+
const te = e.sortList.filter((T) => !a(b).find((z) => z.columnName === T.name) || Y.columnName === T.name), B = [];
|
|
430
430
|
return te.forEach((T) => {
|
|
431
|
-
|
|
431
|
+
B.find((z) => z.name === T.name) || B.push(T);
|
|
432
432
|
}), [
|
|
433
433
|
{
|
|
434
434
|
label: "组件值",
|
|
435
435
|
name: "component-value"
|
|
436
436
|
},
|
|
437
|
-
...
|
|
437
|
+
...B
|
|
438
438
|
];
|
|
439
439
|
}, O = async () => {
|
|
440
440
|
try {
|
|
@@ -451,16 +451,16 @@ const lr = Bo, Qa = {
|
|
|
451
451
|
Authentication: r,
|
|
452
452
|
operateContext: "ygt"
|
|
453
453
|
}
|
|
454
|
-
}), { success: te, data:
|
|
455
|
-
te && (f.value =
|
|
454
|
+
}), { success: te, data: B = [] } = Y.data;
|
|
455
|
+
te && (f.value = B == null ? void 0 : B.slice(0, 200));
|
|
456
456
|
} catch (Y) {
|
|
457
457
|
console.error(Y);
|
|
458
458
|
}
|
|
459
459
|
}, d = () => {
|
|
460
460
|
var z, F;
|
|
461
|
-
const Y = ((z = a(s)[e.type]) == null ? void 0 : z.slice()) || [], te = Y[e.index], { label:
|
|
461
|
+
const Y = ((z = a(s)[e.type]) == null ? void 0 : z.slice()) || [], te = Y[e.index], { label: B, name: T } = e.item;
|
|
462
462
|
a(m) === "2" ? te.sort = {
|
|
463
|
-
label:
|
|
463
|
+
label: B,
|
|
464
464
|
columnName: T,
|
|
465
465
|
type: "CUSTOM",
|
|
466
466
|
customOrderColumns: a(f)
|
|
@@ -472,20 +472,20 @@ const lr = Bo, Qa = {
|
|
|
472
472
|
const g = () => {
|
|
473
473
|
y = !0;
|
|
474
474
|
}, x = K(!1), w = (Y) => {
|
|
475
|
-
var
|
|
475
|
+
var B;
|
|
476
476
|
const { sort: te } = Y;
|
|
477
|
-
te ? Array.isArray(te) ? (m.value = ((
|
|
477
|
+
te ? Array.isArray(te) ? (m.value = ((B = te[0]) == null ? void 0 : B.type) === "CUSTOM" ? "2" : "1", a(m) === "1" ? b.value = he(te) : b.value = []) : (m.value = (te == null ? void 0 : te.type) === "CUSTOM" ? "2" : "1", a(m) === "1" ? b.value = [he(te)] : b.value = []) : b.value = [], x.value = !0;
|
|
478
478
|
}, C = () => {
|
|
479
479
|
x.value = !1;
|
|
480
|
-
},
|
|
480
|
+
}, V = () => {
|
|
481
481
|
a(m) === "2" ? (y && d(), y = !1) : d(), C();
|
|
482
482
|
};
|
|
483
483
|
return t({
|
|
484
484
|
showModal: w
|
|
485
485
|
}), Le(x, (Y) => {
|
|
486
|
-
var te,
|
|
486
|
+
var te, B;
|
|
487
487
|
if (Y) {
|
|
488
|
-
const T = (
|
|
488
|
+
const T = (B = (te = e.item) == null ? void 0 : te.sort) == null ? void 0 : B.customOrderColumns;
|
|
489
489
|
T == null ? O() : f.value = T;
|
|
490
490
|
} else
|
|
491
491
|
f.value = [];
|
|
@@ -501,13 +501,13 @@ const lr = Bo, Qa = {
|
|
|
501
501
|
getSortOptions: E,
|
|
502
502
|
onChange: g,
|
|
503
503
|
onDeleteConfig: () => {
|
|
504
|
-
var
|
|
505
|
-
const Y = ((
|
|
504
|
+
var B;
|
|
505
|
+
const Y = ((B = a(s)[e.type]) == null ? void 0 : B.slice()) || [], te = Y[e.index];
|
|
506
506
|
delete te.sort, u({
|
|
507
507
|
[e.type]: Y
|
|
508
508
|
}), C();
|
|
509
509
|
},
|
|
510
|
-
onCancel:
|
|
510
|
+
onCancel: V,
|
|
511
511
|
onAddSort: () => {
|
|
512
512
|
a(b).push({
|
|
513
513
|
label: "",
|
|
@@ -521,11 +521,11 @@ const lr = Bo, Qa = {
|
|
|
521
521
|
b.value.splice(Y, 1);
|
|
522
522
|
},
|
|
523
523
|
onColumnChange: (Y) => {
|
|
524
|
-
const te = a(b).find((
|
|
524
|
+
const te = a(b).find((B) => B.columnName === Y);
|
|
525
525
|
if (te) {
|
|
526
526
|
Y === "component-value" ? te.label = "" : te.componentId = "";
|
|
527
|
-
const
|
|
528
|
-
|
|
527
|
+
const B = e.sortList.find((T) => T.name === Y);
|
|
528
|
+
B && (te.label = B.label, B.defaultCode ? te.defaultCode = B.defaultCode : delete te.defaultCode);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
};
|
|
@@ -564,7 +564,7 @@ function dr(e, t, n, o, l, r) {
|
|
|
564
564
|
onClick: e.onAddSort
|
|
565
565
|
}, {
|
|
566
566
|
default: v(() => [
|
|
567
|
-
|
|
567
|
+
P(" 新增 ")
|
|
568
568
|
]),
|
|
569
569
|
_: 1
|
|
570
570
|
}, 8, ["onClick"])
|
|
@@ -614,13 +614,13 @@ function dr(e, t, n, o, l, r) {
|
|
|
614
614
|
default: v(() => [
|
|
615
615
|
p(i, { value: "ASC" }, {
|
|
616
616
|
default: v(() => [
|
|
617
|
-
|
|
617
|
+
P("升序")
|
|
618
618
|
]),
|
|
619
619
|
_: 1
|
|
620
620
|
}),
|
|
621
621
|
p(i, { value: "DESC" }, {
|
|
622
622
|
default: v(() => [
|
|
623
|
-
|
|
623
|
+
P("降序")
|
|
624
624
|
]),
|
|
625
625
|
_: 1
|
|
626
626
|
})
|
|
@@ -648,7 +648,7 @@ function dr(e, t, n, o, l, r) {
|
|
|
648
648
|
onClick: e.onDeleteConfig
|
|
649
649
|
}, {
|
|
650
650
|
default: v(() => [
|
|
651
|
-
|
|
651
|
+
P(" 删除配置 ")
|
|
652
652
|
]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, ["onClick"])
|
|
@@ -676,7 +676,7 @@ function dr(e, t, n, o, l, r) {
|
|
|
676
676
|
_: 1
|
|
677
677
|
}, 8, ["visible", "onCancel"]);
|
|
678
678
|
}
|
|
679
|
-
const pr = /* @__PURE__ */
|
|
679
|
+
const pr = /* @__PURE__ */ _e(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44e"]]), fr = ve({
|
|
680
680
|
name: "CustomGroupModal",
|
|
681
681
|
directives: {
|
|
682
682
|
focus: Qa
|
|
@@ -756,9 +756,9 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
756
756
|
}
|
|
757
757
|
let fe = !0;
|
|
758
758
|
if ((be = a(i)) != null && be.length)
|
|
759
|
-
for (const
|
|
760
|
-
if ((De =
|
|
761
|
-
for (const Ve of
|
|
759
|
+
for (const Ae of a(i)) {
|
|
760
|
+
if ((De = Ae == null ? void 0 : Ae.data) != null && De.length) {
|
|
761
|
+
for (const Ve of Ae.data)
|
|
762
762
|
if (Ve.label === de) {
|
|
763
763
|
fe = !1;
|
|
764
764
|
break;
|
|
@@ -771,7 +771,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
771
771
|
label: de,
|
|
772
772
|
checked: !1,
|
|
773
773
|
isNew: !0
|
|
774
|
-
}),
|
|
774
|
+
}), V(le), r = !0, a(f)[le] = "", a(c)[le] = !1) : tt.error("名称已存在,请重新命名");
|
|
775
775
|
}, y = (le, de) => {
|
|
776
776
|
le && (a(f)[de] = "", ao(() => {
|
|
777
777
|
var fe;
|
|
@@ -800,7 +800,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
800
800
|
index: be
|
|
801
801
|
})).filter((fe) => fe.index !== de)
|
|
802
802
|
)
|
|
803
|
-
),
|
|
803
|
+
), V = (le) => {
|
|
804
804
|
const de = a(u);
|
|
805
805
|
de.includes(String(le)) || de.push(String(le));
|
|
806
806
|
}, R = () => {
|
|
@@ -824,7 +824,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
824
824
|
a(i)[le].data = [
|
|
825
825
|
...de,
|
|
826
826
|
...a(i)[le].data
|
|
827
|
-
],
|
|
827
|
+
], V(le), r = !0;
|
|
828
828
|
}, H = (le) => {
|
|
829
829
|
if (a(E) === 0) {
|
|
830
830
|
tt.error("当前移入分组已选个数为0");
|
|
@@ -839,7 +839,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
839
839
|
a(i).push({
|
|
840
840
|
title: de,
|
|
841
841
|
data: fe
|
|
842
|
-
}),
|
|
842
|
+
}), V(be), r = !0;
|
|
843
843
|
}, G = (le) => {
|
|
844
844
|
le.checked || (le.checked = !0);
|
|
845
845
|
}, ae = (le) => {
|
|
@@ -849,7 +849,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
849
849
|
}, te = (le, de) => {
|
|
850
850
|
const fe = le.target.value;
|
|
851
851
|
a(b).has(fe) && tt.error("组名不能相同,请修改"), a(i)[de].title = fe, r = !0;
|
|
852
|
-
},
|
|
852
|
+
}, B = J(Re), T = J(et), z = Q(() => a(B).source), F = Q(() => a(B).dataViewId), ee = K(!1), $ = () => {
|
|
853
853
|
var Ve, qe;
|
|
854
854
|
const le = a(i);
|
|
855
855
|
let de = "";
|
|
@@ -859,8 +859,8 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
859
859
|
const ft = le[ze] || {}, { title: St, data: mt } = ft;
|
|
860
860
|
be[St] = (mt == null ? void 0 : mt.map((gt) => gt.label)) || [];
|
|
861
861
|
}
|
|
862
|
-
const De = ((qe = a(
|
|
863
|
-
|
|
862
|
+
const De = ((qe = a(B)[e.type]) == null ? void 0 : qe.slice()) || [], Ae = De[e.index];
|
|
863
|
+
Ae.customGroup = {
|
|
864
864
|
groupInfoMap: be,
|
|
865
865
|
otherGroupName: de
|
|
866
866
|
}, T({
|
|
@@ -876,7 +876,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
876
876
|
r = !0;
|
|
877
877
|
}, oe = /* @__PURE__ */ new Set(), ue = /* @__PURE__ */ new Set();
|
|
878
878
|
let ce = !1;
|
|
879
|
-
const
|
|
879
|
+
const we = async () => {
|
|
880
880
|
const le = e.item.customGroup || {}, de = le.otherGroupName, fe = le.groupInfoMap;
|
|
881
881
|
(de === "" || de == null) && (ee.value = !1), a(i)[0] = {
|
|
882
882
|
title: de || "未分组",
|
|
@@ -907,7 +907,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
907
907
|
hrpIndexTypeGuid: e.item.typeGuid,
|
|
908
908
|
pageId: o,
|
|
909
909
|
pageFlag: !0,
|
|
910
|
-
edvDataSetId: a(
|
|
910
|
+
edvDataSetId: a(B).edvDataSetId || ""
|
|
911
911
|
},
|
|
912
912
|
{
|
|
913
913
|
headers: {
|
|
@@ -917,13 +917,13 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
917
917
|
}
|
|
918
918
|
), { success: fe, data: be = [] } = de.data;
|
|
919
919
|
if (fe) {
|
|
920
|
-
ce = !0, be == null || be.forEach((
|
|
921
|
-
ue.add(
|
|
920
|
+
ce = !0, be == null || be.forEach((Ae) => {
|
|
921
|
+
ue.add(Ae);
|
|
922
922
|
});
|
|
923
923
|
const De = [];
|
|
924
|
-
(le = be == null ? void 0 : be.slice(0, 200)) == null || le.forEach((
|
|
925
|
-
oe.has(
|
|
926
|
-
label:
|
|
924
|
+
(le = be == null ? void 0 : be.slice(0, 200)) == null || le.forEach((Ae) => {
|
|
925
|
+
oe.has(Ae) || De.push({
|
|
926
|
+
label: Ae,
|
|
927
927
|
checked: !1
|
|
928
928
|
});
|
|
929
929
|
}), a(i)[0].data = De;
|
|
@@ -942,7 +942,7 @@ const pr = /* @__PURE__ */ Ce(ir, [["render", dr], ["__scopeId", "data-v-3eb2d44
|
|
|
942
942
|
return Le(
|
|
943
943
|
D,
|
|
944
944
|
(le) => {
|
|
945
|
-
le &&
|
|
945
|
+
le && we(), window.changeShowTable && window.changeShowTable(!le);
|
|
946
946
|
},
|
|
947
947
|
{
|
|
948
948
|
flush: "post"
|
|
@@ -982,7 +982,7 @@ const mr = (e) => (ot("data-v-661fc221"), e = e(), at(), e), vr = { class: "cust
|
|
|
982
982
|
class: "group-title"
|
|
983
983
|
}, Ar = { class: "new-value-popover" }, Sr = { class: "extra" }, Tr = { class: "custom-group-list" }, Or = { class: "text" };
|
|
984
984
|
function Er(e, t, n, o, l, r) {
|
|
985
|
-
const s = k("a-button"), u = k("a-checkbox"), i = k("a-input"), c = k("edit-outlined"), f = k("plus-outlined"), m = k("a-popover"), b = k("a-tag"), _ = k("close-outlined"), E = k("a-checkable-tag"), O = k("a-menu-item"), d = k("a-sub-menu"), y = k("a-menu"), g = k("a-dropdown"), x = k("a-collapse-panel"), w = k("a-collapse"), C = k("a-modal"),
|
|
985
|
+
const s = k("a-button"), u = k("a-checkbox"), i = k("a-input"), c = k("edit-outlined"), f = k("plus-outlined"), m = k("a-popover"), b = k("a-tag"), _ = k("close-outlined"), E = k("a-checkable-tag"), O = k("a-menu-item"), d = k("a-sub-menu"), y = k("a-menu"), g = k("a-dropdown"), x = k("a-collapse-panel"), w = k("a-collapse"), C = k("a-modal"), V = vo("focus");
|
|
986
986
|
return h(), U(C, {
|
|
987
987
|
title: e.title,
|
|
988
988
|
visible: e.visible,
|
|
@@ -1006,7 +1006,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1006
1006
|
onClick: e.onAddGroup
|
|
1007
1007
|
}, {
|
|
1008
1008
|
default: v(() => [
|
|
1009
|
-
|
|
1009
|
+
P("创建分组")
|
|
1010
1010
|
]),
|
|
1011
1011
|
_: 1
|
|
1012
1012
|
}, 8, ["onClick"]),
|
|
@@ -1016,15 +1016,15 @@ function Er(e, t, n, o, l, r) {
|
|
|
1016
1016
|
onChange: e.onUseOtherGroup
|
|
1017
1017
|
}, {
|
|
1018
1018
|
default: v(() => [
|
|
1019
|
-
|
|
1019
|
+
P(" 将未分组设为其他分组 ")
|
|
1020
1020
|
]),
|
|
1021
1021
|
_: 1
|
|
1022
1022
|
}, 8, ["checked", "onChange"])
|
|
1023
1023
|
]),
|
|
1024
1024
|
j("span", yr, [
|
|
1025
|
-
|
|
1025
|
+
P(" 已选"),
|
|
1026
1026
|
j("span", gr, pe(e.selectCount), 1),
|
|
1027
|
-
|
|
1027
|
+
P("个 ")
|
|
1028
1028
|
])
|
|
1029
1029
|
]),
|
|
1030
1030
|
Cr
|
|
@@ -1050,7 +1050,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1050
1050
|
onBlur: (H) => e.onFinishEditTitle(L),
|
|
1051
1051
|
onPressEnter: (H) => e.onFinishEditTitle(L)
|
|
1052
1052
|
}, null, 8, ["value", "onChange", "onBlur", "onPressEnter"])), [
|
|
1053
|
-
[
|
|
1053
|
+
[V]
|
|
1054
1054
|
]) : (h(), N("div", kr, pe(R.title), 1)),
|
|
1055
1055
|
e.customGroupEditTitleList[L] ? X("", !0) : (h(), U(c, {
|
|
1056
1056
|
key: 2,
|
|
@@ -1083,7 +1083,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1083
1083
|
onClick: (H) => e.onAddValue(L)
|
|
1084
1084
|
}, {
|
|
1085
1085
|
default: v(() => [
|
|
1086
|
-
|
|
1086
|
+
P(" 确认 ")
|
|
1087
1087
|
]),
|
|
1088
1088
|
_: 2
|
|
1089
1089
|
}, 1032, ["onClick"])
|
|
@@ -1113,7 +1113,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1113
1113
|
color: "blue"
|
|
1114
1114
|
}, {
|
|
1115
1115
|
default: v(() => [
|
|
1116
|
-
|
|
1116
|
+
P(" 其他组 ")
|
|
1117
1117
|
]),
|
|
1118
1118
|
_: 1
|
|
1119
1119
|
})) : X("", !0),
|
|
@@ -1123,7 +1123,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1123
1123
|
color: "green"
|
|
1124
1124
|
}, {
|
|
1125
1125
|
default: v(() => [
|
|
1126
|
-
|
|
1126
|
+
P(" 自定义组 ")
|
|
1127
1127
|
]),
|
|
1128
1128
|
_: 1
|
|
1129
1129
|
}),
|
|
@@ -1152,7 +1152,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1152
1152
|
onClick: (Y) => e.onMoveInGroup(ae.index)
|
|
1153
1153
|
}, {
|
|
1154
1154
|
default: v(() => [
|
|
1155
|
-
|
|
1155
|
+
P(pe(ae.title), 1)
|
|
1156
1156
|
]),
|
|
1157
1157
|
_: 2
|
|
1158
1158
|
}, 1032, ["onClick"]))), 128)),
|
|
@@ -1161,7 +1161,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1161
1161
|
disabled: ""
|
|
1162
1162
|
}, {
|
|
1163
1163
|
default: v(() => [
|
|
1164
|
-
|
|
1164
|
+
P(" 暂无分组 ")
|
|
1165
1165
|
]),
|
|
1166
1166
|
_: 1
|
|
1167
1167
|
}))
|
|
@@ -1173,7 +1173,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1173
1173
|
onClick: (ae) => e.onMergeToNewGroup(H)
|
|
1174
1174
|
}, {
|
|
1175
1175
|
default: v(() => [
|
|
1176
|
-
|
|
1176
|
+
P(" 合并为新分组 ")
|
|
1177
1177
|
]),
|
|
1178
1178
|
_: 2
|
|
1179
1179
|
}, 1032, ["onClick"])
|
|
@@ -1214,7 +1214,7 @@ function Er(e, t, n, o, l, r) {
|
|
|
1214
1214
|
_: 1
|
|
1215
1215
|
}, 8, ["title", "visible", "onCancel"]);
|
|
1216
1216
|
}
|
|
1217
|
-
const Lr = /* @__PURE__ */
|
|
1217
|
+
const Lr = /* @__PURE__ */ _e(fr, [["render", Er], ["__scopeId", "data-v-661fc221"]]);
|
|
1218
1218
|
let Ne = (e = 21) => {
|
|
1219
1219
|
let t = "", n = crypto.getRandomValues(new Uint8Array(e));
|
|
1220
1220
|
for (; e--; ) {
|
|
@@ -1308,22 +1308,22 @@ const Ir = ve({
|
|
|
1308
1308
|
var re;
|
|
1309
1309
|
const ne = [];
|
|
1310
1310
|
return (re = a(s)) == null || re.forEach((me) => {
|
|
1311
|
-
const { keyName:
|
|
1311
|
+
const { keyName: Se = "", id: ke = "", type: xe } = me;
|
|
1312
1312
|
xe === "ecanRangePicker" ? ne.push({
|
|
1313
|
-
value: `${
|
|
1314
|
-
label: `${
|
|
1315
|
-
keyName: `${
|
|
1316
|
-
id:
|
|
1313
|
+
value: `${ke}-startTime`,
|
|
1314
|
+
label: `${Se || ke}-开始时间值`,
|
|
1315
|
+
keyName: `${Se || ke}-startTime`,
|
|
1316
|
+
id: ke
|
|
1317
1317
|
}, {
|
|
1318
|
-
value: `${
|
|
1319
|
-
label: `${
|
|
1320
|
-
keyName: `${
|
|
1321
|
-
id:
|
|
1318
|
+
value: `${ke}-endTime`,
|
|
1319
|
+
label: `${Se || ke}-结束时间值`,
|
|
1320
|
+
keyName: `${Se || ke}-endTime`,
|
|
1321
|
+
id: ke
|
|
1322
1322
|
}) : ne.push({
|
|
1323
|
-
value:
|
|
1324
|
-
label: `${
|
|
1325
|
-
keyName: `${
|
|
1326
|
-
id:
|
|
1323
|
+
value: ke,
|
|
1324
|
+
label: `${Se || ke}`,
|
|
1325
|
+
keyName: `${Se || ke}`,
|
|
1326
|
+
id: ke
|
|
1327
1327
|
});
|
|
1328
1328
|
}), ne;
|
|
1329
1329
|
}), f = Q(() => [
|
|
@@ -1379,7 +1379,7 @@ const Ir = ve({
|
|
|
1379
1379
|
fieldType: (ft = e.data) == null ? void 0 : ft.fieldType,
|
|
1380
1380
|
rule: (St = e.data) == null ? void 0 : St.rule,
|
|
1381
1381
|
id: (mt = e.data) == null ? void 0 : mt.id,
|
|
1382
|
-
fieldValue:
|
|
1382
|
+
fieldValue: V(),
|
|
1383
1383
|
label: (gt = e.data) == null ? void 0 : gt.label,
|
|
1384
1384
|
// 暂时传空
|
|
1385
1385
|
targetSource: "",
|
|
@@ -1393,28 +1393,28 @@ const Ir = ve({
|
|
|
1393
1393
|
modelKey: (Ln = e.data) == null ? void 0 : Ln.modelKey,
|
|
1394
1394
|
prop: (Dn = e.data) == null ? void 0 : Dn.prop
|
|
1395
1395
|
});
|
|
1396
|
-
function
|
|
1396
|
+
function V() {
|
|
1397
1397
|
const { fieldType: ne = "", dataType: re = "", fieldValue: me = "" } = e.data;
|
|
1398
1398
|
if (ne === "DATE" && !re)
|
|
1399
1399
|
return me && Xe(me);
|
|
1400
1400
|
if (re === "component") {
|
|
1401
|
-
const
|
|
1402
|
-
return
|
|
1401
|
+
const Se = a(c).find((ke) => ke.keyName === me);
|
|
1402
|
+
return Se ? Se.value : me;
|
|
1403
1403
|
} else
|
|
1404
1404
|
return me;
|
|
1405
1405
|
}
|
|
1406
1406
|
const R = K([]), L = K(!1), H = Q(() => C.value.fieldType === "DATE"), G = Q(() => {
|
|
1407
1407
|
const ne = e.type, { source: re } = a(n);
|
|
1408
1408
|
let me = [];
|
|
1409
|
-
const
|
|
1409
|
+
const Se = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], ke = ["controlList", "sqlConditions", "variableList", "variableConditions"];
|
|
1410
1410
|
if (re === "EDV_DATA_SET")
|
|
1411
1411
|
me = R.value;
|
|
1412
|
-
else if (
|
|
1412
|
+
else if (Se.includes(ne)) {
|
|
1413
1413
|
let xe = [];
|
|
1414
1414
|
for (const He in a(n))
|
|
1415
|
-
if (Object.prototype.hasOwnProperty.call(a(n), He) && !
|
|
1415
|
+
if (Object.prototype.hasOwnProperty.call(a(n), He) && !ke.includes(He)) {
|
|
1416
1416
|
const rt = a(n)[He];
|
|
1417
|
-
Array.isArray(rt) && (
|
|
1417
|
+
Array.isArray(rt) && (Se.includes(He) ? xe = xe.concat(rt.filter((Ct) => Ct.show)) : xe = xe.concat(rt));
|
|
1418
1418
|
}
|
|
1419
1419
|
me = xe;
|
|
1420
1420
|
} else
|
|
@@ -1434,7 +1434,7 @@ const Ir = ve({
|
|
|
1434
1434
|
// eslint-disable-next-line no-void
|
|
1435
1435
|
addCondition: (ne, re, me) => {
|
|
1436
1436
|
}
|
|
1437
|
-
}),
|
|
1437
|
+
}), B = () => {
|
|
1438
1438
|
Y(e.index, e.path);
|
|
1439
1439
|
};
|
|
1440
1440
|
Le(C, (ne) => {
|
|
@@ -1447,15 +1447,15 @@ const Ir = ve({
|
|
|
1447
1447
|
});
|
|
1448
1448
|
const T = (ne) => {
|
|
1449
1449
|
var Ut;
|
|
1450
|
-
const re = a(G).find((Ft) => Ft.value === ne) || {}, { name: me, genericType:
|
|
1450
|
+
const re = a(G).find((Ft) => Ft.value === ne) || {}, { name: me, genericType: Se, id: ke, edvDataSetId: xe, label: He, typeGuid: rt, indexCode: Ct, indexCodeNum: vt } = re;
|
|
1451
1451
|
C.value = {
|
|
1452
|
-
id:
|
|
1452
|
+
id: ke,
|
|
1453
1453
|
fieldName: me,
|
|
1454
|
-
fieldType:
|
|
1454
|
+
fieldType: Se,
|
|
1455
1455
|
label: He,
|
|
1456
1456
|
// 重置规则
|
|
1457
1457
|
rule: "",
|
|
1458
|
-
fieldValue:
|
|
1458
|
+
fieldValue: Se === "DATE" ? null : void 0,
|
|
1459
1459
|
targetSource: "",
|
|
1460
1460
|
typeGuid: rt,
|
|
1461
1461
|
indexCode: Ct,
|
|
@@ -1544,8 +1544,8 @@ const Ir = ve({
|
|
|
1544
1544
|
Authentication: l,
|
|
1545
1545
|
operateContext: "ygt"
|
|
1546
1546
|
}
|
|
1547
|
-
}), { success: me, data:
|
|
1548
|
-
me && (D.value = (ne =
|
|
1547
|
+
}), { success: me, data: Se = [] } = re.data;
|
|
1548
|
+
me && (D.value = (ne = Se == null ? void 0 : Se.slice(0, 200)) == null ? void 0 : ne.map((ke) => ({ label: ke, value: ke })));
|
|
1549
1549
|
} catch (re) {
|
|
1550
1550
|
console.error(re);
|
|
1551
1551
|
}
|
|
@@ -1560,8 +1560,8 @@ const Ir = ve({
|
|
|
1560
1560
|
a(C).rule = re[0], a(C).dataType = re[1], a(C).dateFormat = re[2], a(C).fieldValue = "", a(C).modelKey = "", a(C).prop = "";
|
|
1561
1561
|
};
|
|
1562
1562
|
Ze(async () => {
|
|
1563
|
-
var
|
|
1564
|
-
if (C.value.dataType = ((
|
|
1563
|
+
var ke, xe, He, rt, Ct, vt, Ut, Ft, cn, $n;
|
|
1564
|
+
if (C.value.dataType = ((ke = e.data) == null ? void 0 : ke.dataType) || "", C.value.componentId = ((xe = e.data) == null ? void 0 : xe.componentId) || "", C.value.keyValue = (He = e.data) == null ? void 0 : He.keyValue, C.value.modelKey = (rt = e.data) == null ? void 0 : rt.modelKey, C.value.prop = (Ct = e.data) == null ? void 0 : Ct.prop, a(C).fieldType === "DATE") {
|
|
1565
1565
|
const { activeKey: _t, dateCalcTypes: bt = [] } = e.data || {};
|
|
1566
1566
|
if (a(C).dateFormat = (vt = e.data) == null ? void 0 : vt.dateFormat, a(C).activeKey = _t, a(C).calcWays = ((Ut = e.data) == null ? void 0 : Ut.calcWays) || [], a(C).dateCalcTypes = bt, a(C).useCurrentTime && a(C).dataType !== "component" && (u.value = !0), _t === 5) {
|
|
1567
1567
|
const It = a(C).calcWays[0];
|
|
@@ -1582,8 +1582,8 @@ const Ir = ve({
|
|
|
1582
1582
|
q.value = (($n = (cn = e.data) == null ? void 0 : cn.fieldValue) == null ? void 0 : $n.split(",")) || [];
|
|
1583
1583
|
const { fieldType: ne, fieldName: re, rule: me } = C.value;
|
|
1584
1584
|
ne !== "DATE" && re && me && ["IN", "NOT_IN"].includes(me) && A();
|
|
1585
|
-
const { source:
|
|
1586
|
-
|
|
1585
|
+
const { source: Se } = a(n);
|
|
1586
|
+
Se === "EDV_DATA_SET" && await o.get(`${ht}/dataset/` + a(n).edvDataSetId || "", {
|
|
1587
1587
|
headers: {
|
|
1588
1588
|
Authentication: l,
|
|
1589
1589
|
operateContext: "ygt"
|
|
@@ -1608,23 +1608,23 @@ const Ir = ve({
|
|
|
1608
1608
|
a(y).forEach((re) => {
|
|
1609
1609
|
re.beforeNum = 0, re.afterNum = 0, re.radioValue = "1", re.value = "";
|
|
1610
1610
|
});
|
|
1611
|
-
},
|
|
1611
|
+
}, we = (ne, re) => {
|
|
1612
1612
|
_.value = !0;
|
|
1613
|
-
const me = ne.target.value,
|
|
1614
|
-
re.value = be(me,
|
|
1613
|
+
const me = ne.target.value, Se = re.type, ke = a(C).dateFormat, xe = Math.abs(re.beforeNum), He = re.afterNum;
|
|
1614
|
+
re.value = be(me, Se, ke, xe, He);
|
|
1615
1615
|
}, Te = (ne) => {
|
|
1616
1616
|
const re = a(C).activeKey;
|
|
1617
1617
|
if (ne !== re)
|
|
1618
1618
|
return;
|
|
1619
1619
|
let me = "";
|
|
1620
1620
|
re === 0 ? me = "years" : re === 1 ? me = "quarters" : re === 2 ? me = "months" : re === 3 ? me = "weeks" : re === 4 && (me = "days");
|
|
1621
|
-
const
|
|
1621
|
+
const Se = a(C).dateFormat, ke = a(C).radioValue;
|
|
1622
1622
|
let xe = 0, He = 0;
|
|
1623
|
-
return
|
|
1624
|
-
}, ye = (ne, re, me,
|
|
1625
|
-
if (_.value = !0, re.radioValue ===
|
|
1626
|
-
const
|
|
1627
|
-
me === "+" ? re.value = Xe().add(
|
|
1623
|
+
return ke === "1" ? xe = Math.abs(a(C).calcWays[0]) : ke === "2" && (He = a(C).calcWays[0]), be(ke, me, Se, xe, He);
|
|
1624
|
+
}, ye = (ne, re, me, Se) => {
|
|
1625
|
+
if (_.value = !0, re.radioValue === Se) {
|
|
1626
|
+
const ke = ne.target.value;
|
|
1627
|
+
me === "+" ? re.value = Xe().add(ke, re.type).format(a(C).dateFormat) : re.value = Xe().subtract(ke, re.type).format(a(C).dateFormat);
|
|
1628
1628
|
}
|
|
1629
1629
|
}, Ie = Q(() => {
|
|
1630
1630
|
let ne = !1;
|
|
@@ -1636,14 +1636,14 @@ const Ir = ve({
|
|
|
1636
1636
|
a(C).activeKey = 5, a(C).dateCalcTypes = [a(d).unit], a(C).calcWays[0] = `${a(d).expression}-${a(d).around}`, L.value = !1;
|
|
1637
1637
|
};
|
|
1638
1638
|
function fe(ne, re) {
|
|
1639
|
-
const { radioValue: me = "", calcWays:
|
|
1640
|
-
ne.radioValue = me,
|
|
1639
|
+
const { radioValue: me = "", calcWays: Se = [] } = re;
|
|
1640
|
+
ne.radioValue = me, Se != null && Se.length && (me === "1" ? ne.beforeNum = Math.abs(Se[0]) : me === "2" && (ne.afterNum = Se[0]));
|
|
1641
1641
|
}
|
|
1642
|
-
function be(ne, re, me,
|
|
1642
|
+
function be(ne, re, me, Se, ke) {
|
|
1643
1643
|
if (ne === "1")
|
|
1644
|
-
return Xe().subtract(
|
|
1644
|
+
return Xe().subtract(Se, re).format(me);
|
|
1645
1645
|
if (ne === "2")
|
|
1646
|
-
return Xe().add(
|
|
1646
|
+
return Xe().add(ke, re).format(me);
|
|
1647
1647
|
if (ne === "3") {
|
|
1648
1648
|
if (re === "years")
|
|
1649
1649
|
return Xe().startOf("year").format(me);
|
|
@@ -1663,7 +1663,7 @@ const Ir = ve({
|
|
|
1663
1663
|
}
|
|
1664
1664
|
return "";
|
|
1665
1665
|
}
|
|
1666
|
-
const De = (ne, re) => re.label.toLowerCase().indexOf(ne.toLowerCase()) >= 0,
|
|
1666
|
+
const De = (ne, re) => re.label.toLowerCase().indexOf(ne.toLowerCase()) >= 0, Ae = Q(() => a(H) || !["IN", "NOT_IN"].includes(a(C).rule));
|
|
1667
1667
|
return {
|
|
1668
1668
|
fieldOptions: G,
|
|
1669
1669
|
ruleOptions: F,
|
|
@@ -1674,7 +1674,7 @@ const Ir = ve({
|
|
|
1674
1674
|
onDataTypeChange: I,
|
|
1675
1675
|
onFieldValueSelectChange: oe,
|
|
1676
1676
|
fieldValues: q,
|
|
1677
|
-
onDelete:
|
|
1677
|
+
onDelete: B,
|
|
1678
1678
|
isDateType: H,
|
|
1679
1679
|
formatList: O,
|
|
1680
1680
|
tabDateList: y,
|
|
@@ -1691,10 +1691,10 @@ const Ir = ve({
|
|
|
1691
1691
|
customTabData: d,
|
|
1692
1692
|
isUseCurrentTime: u,
|
|
1693
1693
|
currentTime: i,
|
|
1694
|
-
isShowCustomDataType:
|
|
1694
|
+
isShowCustomDataType: Ae,
|
|
1695
1695
|
handleMenuClick: ue,
|
|
1696
1696
|
changeTabInitDate: ce,
|
|
1697
|
-
changeRadioValue:
|
|
1697
|
+
changeRadioValue: we,
|
|
1698
1698
|
getFieldValue: Te,
|
|
1699
1699
|
blurCompare: ye,
|
|
1700
1700
|
okDatePickConfig: le,
|
|
@@ -1718,7 +1718,7 @@ const xr = { class: "condition" }, Nr = ["title"], Mr = { class: "rule" }, Pr =
|
|
|
1718
1718
|
class: "use-current-time"
|
|
1719
1719
|
}, Ur = { class: "tabFilterRadio" }, jr = { key: 0 }, Gr = { key: 1 }, zr = { style: { "margin-left": "10px" } }, Hr = { style: { "margin-left": "10px" } }, Wr = { style: { position: "absolute", bottom: "10px" } }, Kr = { style: { display: "flex" } }, Yr = { style: { position: "absolute", bottom: "10px", left: "0", "text-align": "center", width: "100%" } };
|
|
1720
1720
|
function qr(e, t, n, o, l, r) {
|
|
1721
|
-
const s = k("a-select-option"), u = k("a-select"), i = k("a-date-picker"), c = k("a-input"), f = k("appstore-add-outlined"), m = k("a-checkbox"), b = k("a-input-number"), _ = k("a-radio"), E = k("a-radio-group"), O = k("a-button"), d = k("a-tab-pane"), y = k("a-tabs"), g = k("a-popover"), x = k("menu-outlined"), w = k("a-menu-item"), C = k("a-menu"),
|
|
1721
|
+
const s = k("a-select-option"), u = k("a-select"), i = k("a-date-picker"), c = k("a-input"), f = k("appstore-add-outlined"), m = k("a-checkbox"), b = k("a-input-number"), _ = k("a-radio"), E = k("a-radio-group"), O = k("a-button"), d = k("a-tab-pane"), y = k("a-tabs"), g = k("a-popover"), x = k("menu-outlined"), w = k("a-menu-item"), C = k("a-menu"), V = k("a-dropdown"), R = k("close-outlined");
|
|
1722
1722
|
return h(), N("div", xr, [
|
|
1723
1723
|
p(u, {
|
|
1724
1724
|
class: "field-name",
|
|
@@ -1760,7 +1760,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1760
1760
|
value: L.value
|
|
1761
1761
|
}, {
|
|
1762
1762
|
default: v(() => [
|
|
1763
|
-
|
|
1763
|
+
P(pe(L.label), 1)
|
|
1764
1764
|
]),
|
|
1765
1765
|
_: 2
|
|
1766
1766
|
}, 1032, ["value"]))), 128))
|
|
@@ -1885,7 +1885,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1885
1885
|
"onUpdate:checked": t[10] || (t[10] = (L) => e.isUseCurrentTime = L)
|
|
1886
1886
|
}, {
|
|
1887
1887
|
default: v(() => [
|
|
1888
|
-
|
|
1888
|
+
P("使用当前时间")
|
|
1889
1889
|
]),
|
|
1890
1890
|
_: 1
|
|
1891
1891
|
}, 8, ["checked"])
|
|
@@ -1944,7 +1944,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1944
1944
|
value: "3"
|
|
1945
1945
|
}, {
|
|
1946
1946
|
default: v(() => [
|
|
1947
|
-
|
|
1947
|
+
P(pe(L.beforeText), 1)
|
|
1948
1948
|
]),
|
|
1949
1949
|
_: 2
|
|
1950
1950
|
}, 1032, ["style"])) : X("", !0),
|
|
@@ -1954,7 +1954,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1954
1954
|
value: "4"
|
|
1955
1955
|
}, {
|
|
1956
1956
|
default: v(() => [
|
|
1957
|
-
|
|
1957
|
+
P(pe(L.afterText), 1)
|
|
1958
1958
|
]),
|
|
1959
1959
|
_: 2
|
|
1960
1960
|
}, 1032, ["style"])) : X("", !0)
|
|
@@ -1967,7 +1967,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1967
1967
|
onClick: t[11] || (t[11] = (G) => e.popoverVisible = !1)
|
|
1968
1968
|
}, {
|
|
1969
1969
|
default: v(() => [
|
|
1970
|
-
|
|
1970
|
+
P("取消")
|
|
1971
1971
|
]),
|
|
1972
1972
|
_: 1
|
|
1973
1973
|
}),
|
|
@@ -1975,7 +1975,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1975
1975
|
onClick: (G) => e.okDatePickConfig(L, H)
|
|
1976
1976
|
}, {
|
|
1977
1977
|
default: v(() => [
|
|
1978
|
-
|
|
1978
|
+
P("确定")
|
|
1979
1979
|
]),
|
|
1980
1980
|
_: 2
|
|
1981
1981
|
}, 1032, ["onClick"])
|
|
@@ -1999,7 +1999,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
1999
1999
|
default: v(() => [
|
|
2000
2000
|
p(s, { value: "rangeValue" }, {
|
|
2001
2001
|
default: v(() => [
|
|
2002
|
-
|
|
2002
|
+
P("范围差值")
|
|
2003
2003
|
]),
|
|
2004
2004
|
_: 1
|
|
2005
2005
|
})
|
|
@@ -2014,31 +2014,31 @@ function qr(e, t, n, o, l, r) {
|
|
|
2014
2014
|
default: v(() => [
|
|
2015
2015
|
p(s, { value: "YEAR" }, {
|
|
2016
2016
|
default: v(() => [
|
|
2017
|
-
|
|
2017
|
+
P("年")
|
|
2018
2018
|
]),
|
|
2019
2019
|
_: 1
|
|
2020
2020
|
}),
|
|
2021
2021
|
p(s, { value: "QUARTER" }, {
|
|
2022
2022
|
default: v(() => [
|
|
2023
|
-
|
|
2023
|
+
P("季度")
|
|
2024
2024
|
]),
|
|
2025
2025
|
_: 1
|
|
2026
2026
|
}),
|
|
2027
2027
|
p(s, { value: "MONTH" }, {
|
|
2028
2028
|
default: v(() => [
|
|
2029
|
-
|
|
2029
|
+
P("月")
|
|
2030
2030
|
]),
|
|
2031
2031
|
_: 1
|
|
2032
2032
|
}),
|
|
2033
2033
|
p(s, { value: "WEEK" }, {
|
|
2034
2034
|
default: v(() => [
|
|
2035
|
-
|
|
2035
|
+
P("周")
|
|
2036
2036
|
]),
|
|
2037
2037
|
_: 1
|
|
2038
2038
|
}),
|
|
2039
2039
|
p(s, { value: "DAY" }, {
|
|
2040
2040
|
default: v(() => [
|
|
2041
|
-
|
|
2041
|
+
P("天")
|
|
2042
2042
|
]),
|
|
2043
2043
|
_: 1
|
|
2044
2044
|
})
|
|
@@ -2052,13 +2052,13 @@ function qr(e, t, n, o, l, r) {
|
|
|
2052
2052
|
default: v(() => [
|
|
2053
2053
|
p(s, { value: "before" }, {
|
|
2054
2054
|
default: v(() => [
|
|
2055
|
-
|
|
2055
|
+
P("前")
|
|
2056
2056
|
]),
|
|
2057
2057
|
_: 1
|
|
2058
2058
|
}),
|
|
2059
2059
|
p(s, { value: "after" }, {
|
|
2060
2060
|
default: v(() => [
|
|
2061
|
-
|
|
2061
|
+
P("后")
|
|
2062
2062
|
]),
|
|
2063
2063
|
_: 1
|
|
2064
2064
|
})
|
|
@@ -2072,13 +2072,13 @@ function qr(e, t, n, o, l, r) {
|
|
|
2072
2072
|
onClick: t[15] || (t[15] = (L) => e.popoverVisible = !1)
|
|
2073
2073
|
}, {
|
|
2074
2074
|
default: v(() => [
|
|
2075
|
-
|
|
2075
|
+
P("取消")
|
|
2076
2076
|
]),
|
|
2077
2077
|
_: 1
|
|
2078
2078
|
}),
|
|
2079
2079
|
p(O, { onClick: e.okCustomConfig }, {
|
|
2080
2080
|
default: v(() => [
|
|
2081
|
-
|
|
2081
|
+
P("确定")
|
|
2082
2082
|
]),
|
|
2083
2083
|
_: 1
|
|
2084
2084
|
}, 8, ["onClick"])
|
|
@@ -2093,19 +2093,19 @@ function qr(e, t, n, o, l, r) {
|
|
|
2093
2093
|
]),
|
|
2094
2094
|
_: 1
|
|
2095
2095
|
}, 8, ["visible"]),
|
|
2096
|
-
p(
|
|
2096
|
+
p(V, { trigger: ["click"] }, {
|
|
2097
2097
|
overlay: v(() => [
|
|
2098
2098
|
p(C, { onClick: e.clickConditionMenu }, {
|
|
2099
2099
|
default: v(() => [
|
|
2100
2100
|
p(w, { key: "1" }, {
|
|
2101
2101
|
default: v(() => [
|
|
2102
|
-
|
|
2102
|
+
P("添加且条件")
|
|
2103
2103
|
]),
|
|
2104
2104
|
_: 1
|
|
2105
2105
|
}),
|
|
2106
2106
|
p(w, { key: "2" }, {
|
|
2107
2107
|
default: v(() => [
|
|
2108
|
-
|
|
2108
|
+
P("添加或条件")
|
|
2109
2109
|
]),
|
|
2110
2110
|
_: 1
|
|
2111
2111
|
})
|
|
@@ -2124,7 +2124,7 @@ function qr(e, t, n, o, l, r) {
|
|
|
2124
2124
|
}, null, 8, ["onClick"])
|
|
2125
2125
|
]);
|
|
2126
2126
|
}
|
|
2127
|
-
const Xr = /* @__PURE__ */
|
|
2127
|
+
const Xr = /* @__PURE__ */ _e(Ir, [["render", qr], ["__scopeId", "data-v-5904964a"]]), Qr = ve({
|
|
2128
2128
|
name: "ConditionList",
|
|
2129
2129
|
props: {
|
|
2130
2130
|
list: {
|
|
@@ -2191,7 +2191,7 @@ function os(e, t, n, o, l, r) {
|
|
|
2191
2191
|
], 64))), 128))
|
|
2192
2192
|
])) : X("", !0);
|
|
2193
2193
|
}
|
|
2194
|
-
const as = /* @__PURE__ */
|
|
2194
|
+
const as = /* @__PURE__ */ _e(Qr, [["render", os], ["__scopeId", "data-v-553c1496"]]), ls = ve({
|
|
2195
2195
|
name: "TruncationList",
|
|
2196
2196
|
props: {
|
|
2197
2197
|
list: {
|
|
@@ -2246,7 +2246,7 @@ function fs(e, t, n, o, l, r) {
|
|
|
2246
2246
|
}, null, 8, ["value", "onUpdate:value", "options"])
|
|
2247
2247
|
]),
|
|
2248
2248
|
j("div", ss, [
|
|
2249
|
-
|
|
2249
|
+
P(" N= "),
|
|
2250
2250
|
p(u, {
|
|
2251
2251
|
value: c.num,
|
|
2252
2252
|
"onUpdate:value": (m) => c.num = m,
|
|
@@ -2269,7 +2269,7 @@ function fs(e, t, n, o, l, r) {
|
|
|
2269
2269
|
]))), 128))
|
|
2270
2270
|
]);
|
|
2271
2271
|
}
|
|
2272
|
-
const ms = /* @__PURE__ */
|
|
2272
|
+
const ms = /* @__PURE__ */ _e(ls, [["render", fs], ["__scopeId", "data-v-f543c690"]]), vs = ve({
|
|
2273
2273
|
name: "FilterModal",
|
|
2274
2274
|
props: {
|
|
2275
2275
|
item: {
|
|
@@ -2295,7 +2295,7 @@ const ms = /* @__PURE__ */ Ce(ls, [["render", fs], ["__scopeId", "data-v-f543c69
|
|
|
2295
2295
|
ATabPane: Qn
|
|
2296
2296
|
},
|
|
2297
2297
|
setup(e, { expose: t }) {
|
|
2298
|
-
var
|
|
2298
|
+
var B;
|
|
2299
2299
|
const n = K("1"), o = () => {
|
|
2300
2300
|
var T;
|
|
2301
2301
|
return `添加过滤条件-${((T = e.item) == null ? void 0 : T.label) || ""}`;
|
|
@@ -2496,13 +2496,13 @@ const ms = /* @__PURE__ */ Ce(ls, [["render", fs], ["__scopeId", "data-v-f543c69
|
|
|
2496
2496
|
}
|
|
2497
2497
|
const C = () => {
|
|
2498
2498
|
b.value = !0;
|
|
2499
|
-
},
|
|
2499
|
+
}, V = () => {
|
|
2500
2500
|
f.value = [], b.value = !1;
|
|
2501
2501
|
}, R = () => {
|
|
2502
|
-
O && x(), O = !1,
|
|
2502
|
+
O && x(), O = !1, V();
|
|
2503
2503
|
}, L = () => {
|
|
2504
|
-
|
|
2505
|
-
}, H = J(Et), G = a(J(Lt)), ae = (
|
|
2504
|
+
V();
|
|
2505
|
+
}, H = J(Et), G = a(J(Lt)), ae = (B = window == null ? void 0 : window.config) == null ? void 0 : B.pageId, Y = K([]);
|
|
2506
2506
|
en(Ga, Y);
|
|
2507
2507
|
const te = async (T) => {
|
|
2508
2508
|
var z;
|
|
@@ -2586,7 +2586,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2586
2586
|
onClick: t[0] || (t[0] = (b) => e.addCondition("&&"))
|
|
2587
2587
|
}, {
|
|
2588
2588
|
default: v(() => [
|
|
2589
|
-
|
|
2589
|
+
P(" 添加且条件 ")
|
|
2590
2590
|
]),
|
|
2591
2591
|
_: 1
|
|
2592
2592
|
}),
|
|
@@ -2595,7 +2595,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2595
2595
|
onClick: t[1] || (t[1] = (b) => e.addCondition("||"))
|
|
2596
2596
|
}, {
|
|
2597
2597
|
default: v(() => [
|
|
2598
|
-
|
|
2598
|
+
P(" 添加或条件 ")
|
|
2599
2599
|
]),
|
|
2600
2600
|
_: 1
|
|
2601
2601
|
})
|
|
@@ -2604,7 +2604,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2604
2604
|
onClick: t[2] || (t[2] = (b) => e.addCondition())
|
|
2605
2605
|
}, {
|
|
2606
2606
|
default: v(() => [
|
|
2607
|
-
|
|
2607
|
+
P(" 添加条件 ")
|
|
2608
2608
|
]),
|
|
2609
2609
|
_: 1
|
|
2610
2610
|
}))
|
|
@@ -2640,7 +2640,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2640
2640
|
onClick: t[4] || (t[4] = (b) => e.addCondition("&&"))
|
|
2641
2641
|
}, {
|
|
2642
2642
|
default: v(() => [
|
|
2643
|
-
|
|
2643
|
+
P(" 添加且条件 ")
|
|
2644
2644
|
]),
|
|
2645
2645
|
_: 1
|
|
2646
2646
|
}),
|
|
@@ -2649,7 +2649,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2649
2649
|
onClick: t[5] || (t[5] = (b) => e.addCondition("||"))
|
|
2650
2650
|
}, {
|
|
2651
2651
|
default: v(() => [
|
|
2652
|
-
|
|
2652
|
+
P(" 添加或条件 ")
|
|
2653
2653
|
]),
|
|
2654
2654
|
_: 1
|
|
2655
2655
|
})
|
|
@@ -2658,7 +2658,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2658
2658
|
onClick: t[6] || (t[6] = (b) => e.addCondition())
|
|
2659
2659
|
}, {
|
|
2660
2660
|
default: v(() => [
|
|
2661
|
-
|
|
2661
|
+
P(" 添加条件 ")
|
|
2662
2662
|
]),
|
|
2663
2663
|
_: 1
|
|
2664
2664
|
}))
|
|
@@ -2674,7 +2674,7 @@ function ys(e, t, n, o, l, r) {
|
|
|
2674
2674
|
_: 1
|
|
2675
2675
|
}, 8, ["title", "visible", "onOk", "onCancel"]);
|
|
2676
2676
|
}
|
|
2677
|
-
const gs = /* @__PURE__ */
|
|
2677
|
+
const gs = /* @__PURE__ */ _e(vs, [["render", ys], ["__scopeId", "data-v-498b4331"]]), Cs = ve({
|
|
2678
2678
|
name: "ConfigName",
|
|
2679
2679
|
props: {
|
|
2680
2680
|
index: {
|
|
@@ -2747,7 +2747,7 @@ function As(e, t, n, o, l, r) {
|
|
|
2747
2747
|
_: 1
|
|
2748
2748
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
2749
2749
|
}
|
|
2750
|
-
const Ss = /* @__PURE__ */
|
|
2750
|
+
const Ss = /* @__PURE__ */ _e(Cs, [["render", As], ["__scopeId", "data-v-de6a1755"]]), Ts = ve({
|
|
2751
2751
|
name: "SortByCpnt",
|
|
2752
2752
|
props: {
|
|
2753
2753
|
index: {
|
|
@@ -2776,7 +2776,7 @@ const Ss = /* @__PURE__ */ Ce(Cs, [["render", As], ["__scopeId", "data-v-de6a175
|
|
|
2776
2776
|
}, b = () => {
|
|
2777
2777
|
n.value = !1;
|
|
2778
2778
|
}, _ = () => {
|
|
2779
|
-
var C,
|
|
2779
|
+
var C, V;
|
|
2780
2780
|
const y = fn(((C = a(o)) == null ? void 0 : C.controlList) || []), g = f.filter((R) => !a(i).includes(R)).filter((R) => !y.find((L) => L.id === R)), x = a(i).filter((R) => !f.includes(R)).filter((R) => !y.find((L) => L.id === R)), w = g.map((R) => ({
|
|
2781
2781
|
componentId: R,
|
|
2782
2782
|
delete: !0
|
|
@@ -2790,20 +2790,20 @@ const Ss = /* @__PURE__ */ Ce(Cs, [["render", As], ["__scopeId", "data-v-de6a175
|
|
|
2790
2790
|
const { type: H, id: G, events: ae = [] } = L, Y = Kn(H);
|
|
2791
2791
|
if (R.add)
|
|
2792
2792
|
ae.find((te) => {
|
|
2793
|
-
var
|
|
2794
|
-
return te.on === Y && te.target === ((
|
|
2793
|
+
var B;
|
|
2794
|
+
return te.on === Y && te.target === ((B = a(s)) == null ? void 0 : B.id) && te.emit === "refreshData";
|
|
2795
2795
|
}) || u({
|
|
2796
2796
|
id: G,
|
|
2797
2797
|
events: [...ae, {
|
|
2798
2798
|
on: Y,
|
|
2799
|
-
target: (
|
|
2799
|
+
target: (V = a(s)) == null ? void 0 : V.id,
|
|
2800
2800
|
emit: "refreshData"
|
|
2801
2801
|
}].reverse()
|
|
2802
2802
|
});
|
|
2803
2803
|
else if (R.delete) {
|
|
2804
|
-
const te = ae.findIndex((
|
|
2804
|
+
const te = ae.findIndex((B) => {
|
|
2805
2805
|
var T;
|
|
2806
|
-
return
|
|
2806
|
+
return B.on === Y && B.target === ((T = a(s)) == null ? void 0 : T.id) && B.emit === "refreshData";
|
|
2807
2807
|
});
|
|
2808
2808
|
te !== -1 && (ae.splice(te, 1), u({
|
|
2809
2809
|
id: G,
|
|
@@ -2878,7 +2878,7 @@ function Ds(e, t, n, o, l, r) {
|
|
|
2878
2878
|
_: 1
|
|
2879
2879
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
2880
2880
|
}
|
|
2881
|
-
const $s = /* @__PURE__ */
|
|
2881
|
+
const $s = /* @__PURE__ */ _e(Ts, [["render", Ds], ["__scopeId", "data-v-08af1ef8"]]), Fs = ve({
|
|
2882
2882
|
name: "DimByCount",
|
|
2883
2883
|
props: {
|
|
2884
2884
|
index: {
|
|
@@ -2964,7 +2964,7 @@ function Ms(e, t, n, o, l, r) {
|
|
|
2964
2964
|
_: 1
|
|
2965
2965
|
}, 8, ["visible", "onOk", "onCancel"]);
|
|
2966
2966
|
}
|
|
2967
|
-
const Ps = /* @__PURE__ */
|
|
2967
|
+
const Ps = /* @__PURE__ */ _e(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298e"]]), ro = (e, t) => {
|
|
2968
2968
|
let n;
|
|
2969
2969
|
for (let o = 0; o < t.length; o++) {
|
|
2970
2970
|
const l = t[o];
|
|
@@ -3028,9 +3028,9 @@ const Ps = /* @__PURE__ */ Ce(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298
|
|
|
3028
3028
|
const te = document.selection.createRange();
|
|
3029
3029
|
te.text = G;
|
|
3030
3030
|
} else if (typeof ae.selectionStart == "number" && typeof ae.selectionEnd == "number") {
|
|
3031
|
-
const te = ae.selectionStart,
|
|
3031
|
+
const te = ae.selectionStart, B = ae.selectionEnd;
|
|
3032
3032
|
let T = te;
|
|
3033
|
-
Y = Y.substring(0, te) + G + Y.substring(
|
|
3033
|
+
Y = Y.substring(0, te) + G + Y.substring(B, Y.length), T += G.length, ae.selectionStart = ae.selectionEnd = T;
|
|
3034
3034
|
} else
|
|
3035
3035
|
Y += G;
|
|
3036
3036
|
_.value = Y;
|
|
@@ -3049,7 +3049,7 @@ const Ps = /* @__PURE__ */ Ce(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298
|
|
|
3049
3049
|
Y = G;
|
|
3050
3050
|
}
|
|
3051
3051
|
d(Y);
|
|
3052
|
-
}, x = [], w = K([]), C = K(!0),
|
|
3052
|
+
}, x = [], w = K([]), C = K(!0), V = K([]), R = (G) => {
|
|
3053
3053
|
var ae;
|
|
3054
3054
|
for (const Y of G)
|
|
3055
3055
|
(ae = Y == null ? void 0 : Y.children) != null && ae.length ? R(Y.children) : x.push({
|
|
@@ -3064,7 +3064,7 @@ const Ps = /* @__PURE__ */ Ce(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298
|
|
|
3064
3064
|
operateContext: "ygt"
|
|
3065
3065
|
}
|
|
3066
3066
|
}), { success: ae, data: Y = [] } = G.data;
|
|
3067
|
-
ae && (Y != null && Y.length) && (R(Y),
|
|
3067
|
+
ae && (Y != null && Y.length) && (R(Y), V.value = Y);
|
|
3068
3068
|
} catch (G) {
|
|
3069
3069
|
console.error(G);
|
|
3070
3070
|
}
|
|
@@ -3072,7 +3072,7 @@ const Ps = /* @__PURE__ */ Ce(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298
|
|
|
3072
3072
|
w.value = G, C.value = !1;
|
|
3073
3073
|
};
|
|
3074
3074
|
return Le(O, (G) => {
|
|
3075
|
-
const ae = x.map((Y) => Y.title.indexOf(G) > -1 ? ro(Y.key,
|
|
3075
|
+
const ae = x.map((Y) => Y.title.indexOf(G) > -1 ? ro(Y.key, V.value) : null).filter((Y, te, B) => Y && B.indexOf(Y) === te);
|
|
3076
3076
|
w.value = ae, O.value = G, C.value = !0;
|
|
3077
3077
|
}), Ze(() => {
|
|
3078
3078
|
L();
|
|
@@ -3081,7 +3081,7 @@ const Ps = /* @__PURE__ */ Ce(Fs, [["render", Ms], ["__scopeId", "data-v-aa1c298
|
|
|
3081
3081
|
varList: b,
|
|
3082
3082
|
myValue: _,
|
|
3083
3083
|
calculMethods: y,
|
|
3084
|
-
funcDescsData:
|
|
3084
|
+
funcDescsData: V,
|
|
3085
3085
|
searchFuncValue: O,
|
|
3086
3086
|
expandedKeys: w,
|
|
3087
3087
|
autoExpandParent: C,
|
|
@@ -3109,13 +3109,13 @@ function ou(e, t, n, o, l, r) {
|
|
|
3109
3109
|
default: v(() => [
|
|
3110
3110
|
p(s, { value: "1" }, {
|
|
3111
3111
|
default: v(() => [
|
|
3112
|
-
|
|
3112
|
+
P("数值字段(" + pe(e.fieldList.length) + ")", 1)
|
|
3113
3113
|
]),
|
|
3114
3114
|
_: 1
|
|
3115
3115
|
}),
|
|
3116
3116
|
p(s, { value: "2" }, {
|
|
3117
3117
|
default: v(() => [
|
|
3118
|
-
|
|
3118
|
+
P("全局变量(" + pe(e.varList.length) + ")", 1)
|
|
3119
3119
|
]),
|
|
3120
3120
|
_: 1
|
|
3121
3121
|
})
|
|
@@ -3183,9 +3183,9 @@ function ou(e, t, n, o, l, r) {
|
|
|
3183
3183
|
p(m, { placement: "top" }, Pa({
|
|
3184
3184
|
default: v(() => [
|
|
3185
3185
|
d.indexOf(e.searchFuncValue) > -1 ? (h(), N("span", Js, [
|
|
3186
|
-
|
|
3186
|
+
P(pe(d.substr(0, d.indexOf(e.searchFuncValue))) + " ", 1),
|
|
3187
3187
|
j("span", Zs, pe(e.searchFuncValue), 1),
|
|
3188
|
-
|
|
3188
|
+
P(" " + pe(d.substr(d.indexOf(e.searchFuncValue) + e.searchFuncValue.length)), 1)
|
|
3189
3189
|
])) : (h(), N("span", eu, pe(d), 1)),
|
|
3190
3190
|
y ? (h(), N("span", {
|
|
3191
3191
|
key: 2,
|
|
@@ -3218,7 +3218,7 @@ function ou(e, t, n, o, l, r) {
|
|
|
3218
3218
|
]),
|
|
3219
3219
|
default: v(() => [
|
|
3220
3220
|
j("span", nu, [
|
|
3221
|
-
|
|
3221
|
+
P(" 更多函数 "),
|
|
3222
3222
|
p(_, { style: { "font-size": "12px", margin: "2px 0 0 2px", color: "#1890ff" } })
|
|
3223
3223
|
])
|
|
3224
3224
|
]),
|
|
@@ -3233,7 +3233,7 @@ function ou(e, t, n, o, l, r) {
|
|
|
3233
3233
|
})
|
|
3234
3234
|
]);
|
|
3235
3235
|
}
|
|
3236
|
-
const au = /* @__PURE__ */
|
|
3236
|
+
const au = /* @__PURE__ */ _e(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea1"]]), lu = ve({
|
|
3237
3237
|
name: "CalculationModal",
|
|
3238
3238
|
components: {
|
|
3239
3239
|
FormulaCalculation: au,
|
|
@@ -3276,9 +3276,9 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3276
3276
|
const n = J(it), o = J(Re), l = J(et), r = J(pt), s = Q(() => a(n)), u = Q(
|
|
3277
3277
|
() => a(o)[e.type] || []
|
|
3278
3278
|
), i = Q(() => {
|
|
3279
|
-
const
|
|
3279
|
+
const B = ["leftAxisList", "rightAxisList", "queryColumnList", "indicators"];
|
|
3280
3280
|
let T = [];
|
|
3281
|
-
for (const z of
|
|
3281
|
+
for (const z of B)
|
|
3282
3282
|
Object.prototype.hasOwnProperty.call(a(o), z) && (T = T.concat(a(o)[z]));
|
|
3283
3283
|
return T;
|
|
3284
3284
|
}), c = { span: 4 }, f = { span: 18 }, m = {
|
|
@@ -3295,8 +3295,8 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3295
3295
|
}, _ = K({}), E = K(), O = K(!1), d = K();
|
|
3296
3296
|
Le(
|
|
3297
3297
|
O,
|
|
3298
|
-
(
|
|
3299
|
-
if (
|
|
3298
|
+
(B) => {
|
|
3299
|
+
if (B)
|
|
3300
3300
|
if (e.mode === "edit") {
|
|
3301
3301
|
const {
|
|
3302
3302
|
label: T,
|
|
@@ -3325,7 +3325,7 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3325
3325
|
e.mode === "add" && (d.value = he(m), _.value = he(b));
|
|
3326
3326
|
else
|
|
3327
3327
|
d.value = he(m), _.value = he(b);
|
|
3328
|
-
window.changeShowTable && window.changeShowTable(!
|
|
3328
|
+
window.changeShowTable && window.changeShowTable(!B);
|
|
3329
3329
|
},
|
|
3330
3330
|
{
|
|
3331
3331
|
immediate: !0,
|
|
@@ -3335,17 +3335,17 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3335
3335
|
let y = !1;
|
|
3336
3336
|
const g = () => {
|
|
3337
3337
|
y = !0;
|
|
3338
|
-
}, x = (
|
|
3339
|
-
const T = a(s).find((z) => z.id ===
|
|
3338
|
+
}, x = (B) => {
|
|
3339
|
+
const T = a(s).find((z) => z.id === B);
|
|
3340
3340
|
T && (d.value.builtInCalcWay = T.keyName), y = !0;
|
|
3341
3341
|
}, w = () => {
|
|
3342
3342
|
var ee;
|
|
3343
|
-
const
|
|
3343
|
+
const B = ((ee = a(o)[e.type]) == null ? void 0 : ee.slice()) || [], { label: T, builtInFormula: z } = a(d) || {}, F = {};
|
|
3344
3344
|
if (z === "DATE_OFFSET" && (F.builtInCalcWay = `${a(_).value}-${a(_).unit}-${a(_).around}`), e.mode === "add") {
|
|
3345
3345
|
const $ = Ne();
|
|
3346
|
-
Fe(a(r).type, ["indexPanel"]) &&
|
|
3346
|
+
Fe(a(r).type, ["indexPanel"]) && B.forEach((D) => {
|
|
3347
3347
|
D.show = !1;
|
|
3348
|
-
}),
|
|
3348
|
+
}), B.push({
|
|
3349
3349
|
...a(d),
|
|
3350
3350
|
...F,
|
|
3351
3351
|
id: $,
|
|
@@ -3353,20 +3353,20 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3353
3353
|
name: T
|
|
3354
3354
|
});
|
|
3355
3355
|
} else
|
|
3356
|
-
e.mode === "edit" && (
|
|
3357
|
-
...
|
|
3356
|
+
e.mode === "edit" && (B[e.index] = {
|
|
3357
|
+
...B[e.index],
|
|
3358
3358
|
...a(d),
|
|
3359
3359
|
...F,
|
|
3360
3360
|
name: T
|
|
3361
3361
|
});
|
|
3362
3362
|
l({
|
|
3363
|
-
[e.type]:
|
|
3363
|
+
[e.type]: B
|
|
3364
3364
|
});
|
|
3365
3365
|
}, C = () => {
|
|
3366
3366
|
O.value = !0;
|
|
3367
|
-
},
|
|
3367
|
+
}, V = () => {
|
|
3368
3368
|
O.value = !1;
|
|
3369
|
-
}, R = async (
|
|
3369
|
+
}, R = async (B, T) => {
|
|
3370
3370
|
if (T === "")
|
|
3371
3371
|
return Promise.reject(new Error("请输入指标名"));
|
|
3372
3372
|
{
|
|
@@ -3374,7 +3374,7 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3374
3374
|
return z ? z.id === e.item.id ? Promise.resolve() : Promise.reject(new Error("指标名不能重复")) : Promise.resolve();
|
|
3375
3375
|
}
|
|
3376
3376
|
}, L = Q(() => {
|
|
3377
|
-
let
|
|
3377
|
+
let B = {
|
|
3378
3378
|
label: [
|
|
3379
3379
|
{
|
|
3380
3380
|
required: !0,
|
|
@@ -3383,8 +3383,8 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3383
3383
|
}
|
|
3384
3384
|
]
|
|
3385
3385
|
};
|
|
3386
|
-
return d.value.calcType === "BUILT_IN" && (
|
|
3387
|
-
...
|
|
3386
|
+
return d.value.calcType === "BUILT_IN" && (B = {
|
|
3387
|
+
...B,
|
|
3388
3388
|
builtInFormula: [
|
|
3389
3389
|
{
|
|
3390
3390
|
required: !0,
|
|
@@ -3403,28 +3403,28 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3403
3403
|
message: "请选择取数原则"
|
|
3404
3404
|
}
|
|
3405
3405
|
]
|
|
3406
|
-
}),
|
|
3406
|
+
}), B;
|
|
3407
3407
|
}), H = () => {
|
|
3408
3408
|
E.value.validate().then(() => {
|
|
3409
|
-
y && w(), y = !1,
|
|
3409
|
+
y && w(), y = !1, V();
|
|
3410
3410
|
});
|
|
3411
3411
|
}, G = () => {
|
|
3412
|
-
E.value.clearValidate(),
|
|
3412
|
+
E.value.clearValidate(), V();
|
|
3413
3413
|
}, ae = () => {
|
|
3414
3414
|
y = !0, a(d).builtInCalcWay = "";
|
|
3415
3415
|
}, Y = Q(() => {
|
|
3416
|
-
let
|
|
3416
|
+
let B = "";
|
|
3417
3417
|
const T = a(d).builtInCalcWay, z = a(d).builtInValueSource;
|
|
3418
3418
|
if (!z || !T)
|
|
3419
|
-
return
|
|
3419
|
+
return B;
|
|
3420
3420
|
switch (a(d).builtInFormula) {
|
|
3421
3421
|
case "BUILT_IN_RANK": {
|
|
3422
|
-
T === "ASC" ?
|
|
3422
|
+
T === "ASC" ? B = "【" + z + "】由小到大在所有值中的排名" : B = "【" + z + "】由大到小在所有值中的排名";
|
|
3423
3423
|
break;
|
|
3424
3424
|
}
|
|
3425
3425
|
case "BUILT_IN_RANK_IN_GROUPO": {
|
|
3426
|
-
|
|
3427
|
-
`, T === "ASC" ?
|
|
3426
|
+
B = `所有【】的
|
|
3427
|
+
`, T === "ASC" ? B = B + "【" + z + "】由小到大的组内的排名" : B = B + "【" + z + "】由大到小的组内的排名";
|
|
3428
3428
|
break;
|
|
3429
3429
|
}
|
|
3430
3430
|
case "BUILT_IN_ALL_VALUE": {
|
|
@@ -3447,12 +3447,12 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3447
3447
|
break;
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
|
-
|
|
3450
|
+
B = "将所有【" + z + "】" + F;
|
|
3451
3451
|
break;
|
|
3452
3452
|
}
|
|
3453
3453
|
case "BUILT_IN_ALL_VALUE_IN_GROUPO": {
|
|
3454
3454
|
let F = "";
|
|
3455
|
-
switch (
|
|
3455
|
+
switch (B = `所有【】的
|
|
3456
3456
|
`, T) {
|
|
3457
3457
|
case "SUM": {
|
|
3458
3458
|
F = "求和";
|
|
@@ -3471,12 +3471,12 @@ const au = /* @__PURE__ */ Ce(Vs, [["render", ou], ["__scopeId", "data-v-ea364ea
|
|
|
3471
3471
|
break;
|
|
3472
3472
|
}
|
|
3473
3473
|
}
|
|
3474
|
-
|
|
3474
|
+
B = B + "将所有【" + z + "】" + F;
|
|
3475
3475
|
break;
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
3478
|
-
return
|
|
3479
|
-
}), te = (
|
|
3478
|
+
return B;
|
|
3479
|
+
}), te = (B, T) => T.keyName.toLowerCase().indexOf(B.toLowerCase()) >= 0;
|
|
3480
3480
|
return t({
|
|
3481
3481
|
showModal: C
|
|
3482
3482
|
}), {
|
|
@@ -3555,7 +3555,7 @@ function su(e, t, n, o, l, r) {
|
|
|
3555
3555
|
default: v(() => [
|
|
3556
3556
|
p(i, { value: "FORMULA" }, {
|
|
3557
3557
|
default: v(() => [
|
|
3558
|
-
|
|
3558
|
+
P("公式")
|
|
3559
3559
|
]),
|
|
3560
3560
|
_: 1
|
|
3561
3561
|
}),
|
|
@@ -3564,7 +3564,7 @@ function su(e, t, n, o, l, r) {
|
|
|
3564
3564
|
value: "BUILT_IN"
|
|
3565
3565
|
}, {
|
|
3566
3566
|
default: v(() => [
|
|
3567
|
-
|
|
3567
|
+
P("内置公式")
|
|
3568
3568
|
]),
|
|
3569
3569
|
_: 1
|
|
3570
3570
|
})),
|
|
@@ -3573,7 +3573,7 @@ function su(e, t, n, o, l, r) {
|
|
|
3573
3573
|
value: "COMPONENT"
|
|
3574
3574
|
}, {
|
|
3575
3575
|
default: v(() => [
|
|
3576
|
-
|
|
3576
|
+
P("固定值")
|
|
3577
3577
|
]),
|
|
3578
3578
|
_: 1
|
|
3579
3579
|
}))
|
|
@@ -3610,37 +3610,37 @@ function su(e, t, n, o, l, r) {
|
|
|
3610
3610
|
default: v(() => [
|
|
3611
3611
|
p(i, { value: "BUILT_IN_ALL_VALUE" }, {
|
|
3612
3612
|
default: v(() => [
|
|
3613
|
-
|
|
3613
|
+
P("所有值")
|
|
3614
3614
|
]),
|
|
3615
3615
|
_: 1
|
|
3616
3616
|
}),
|
|
3617
3617
|
p(i, { value: "BUILT_IN_ALL_VALUE_IN_GROUPO" }, {
|
|
3618
3618
|
default: v(() => [
|
|
3619
|
-
|
|
3619
|
+
P("组内所有值")
|
|
3620
3620
|
]),
|
|
3621
3621
|
_: 1
|
|
3622
3622
|
}),
|
|
3623
3623
|
p(i, { value: "BUILT_IN_RANK" }, {
|
|
3624
3624
|
default: v(() => [
|
|
3625
|
-
|
|
3625
|
+
P("排名")
|
|
3626
3626
|
]),
|
|
3627
3627
|
_: 1
|
|
3628
3628
|
}),
|
|
3629
3629
|
p(i, { value: "BUILT_IN_RANK_IN_GROUPO" }, {
|
|
3630
3630
|
default: v(() => [
|
|
3631
|
-
|
|
3631
|
+
P("组内排名")
|
|
3632
3632
|
]),
|
|
3633
3633
|
_: 1
|
|
3634
3634
|
}),
|
|
3635
3635
|
p(i, { value: "FIRST_ROW_RATE" }, {
|
|
3636
3636
|
default: v(() => [
|
|
3637
|
-
|
|
3637
|
+
P("首行占比")
|
|
3638
3638
|
]),
|
|
3639
3639
|
_: 1
|
|
3640
3640
|
}),
|
|
3641
3641
|
p(i, { value: "DATE_OFFSET" }, {
|
|
3642
3642
|
default: v(() => [
|
|
3643
|
-
|
|
3643
|
+
P("日期偏移")
|
|
3644
3644
|
]),
|
|
3645
3645
|
_: 1
|
|
3646
3646
|
})
|
|
@@ -3669,7 +3669,7 @@ function su(e, t, n, o, l, r) {
|
|
|
3669
3669
|
disabled: e.mode === "edit" && e.item.label === y.name
|
|
3670
3670
|
}, {
|
|
3671
3671
|
default: v(() => [
|
|
3672
|
-
|
|
3672
|
+
P(pe(y.label), 1)
|
|
3673
3673
|
]),
|
|
3674
3674
|
_: 2
|
|
3675
3675
|
}, 1032, ["value", "disabled"]))), 128))
|
|
@@ -3698,38 +3698,38 @@ function su(e, t, n, o, l, r) {
|
|
|
3698
3698
|
) ? (h(), N(ie, { key: 0 }, [
|
|
3699
3699
|
p(i, { value: "SUM" }, {
|
|
3700
3700
|
default: v(() => [
|
|
3701
|
-
|
|
3701
|
+
P("求和")
|
|
3702
3702
|
]),
|
|
3703
3703
|
_: 1
|
|
3704
3704
|
}),
|
|
3705
3705
|
p(i, { value: "AVG" }, {
|
|
3706
3706
|
default: v(() => [
|
|
3707
|
-
|
|
3707
|
+
P("求平均")
|
|
3708
3708
|
]),
|
|
3709
3709
|
_: 1
|
|
3710
3710
|
}),
|
|
3711
3711
|
p(i, { value: "MAX" }, {
|
|
3712
3712
|
default: v(() => [
|
|
3713
|
-
|
|
3713
|
+
P("求最大值")
|
|
3714
3714
|
]),
|
|
3715
3715
|
_: 1
|
|
3716
3716
|
}),
|
|
3717
3717
|
p(i, { value: "MIN" }, {
|
|
3718
3718
|
default: v(() => [
|
|
3719
|
-
|
|
3719
|
+
P("求最小值")
|
|
3720
3720
|
]),
|
|
3721
3721
|
_: 1
|
|
3722
3722
|
})
|
|
3723
3723
|
], 64)) : (h(), N(ie, { key: 1 }, [
|
|
3724
3724
|
p(i, { value: "ASC" }, {
|
|
3725
3725
|
default: v(() => [
|
|
3726
|
-
|
|
3726
|
+
P("升序")
|
|
3727
3727
|
]),
|
|
3728
3728
|
_: 1
|
|
3729
3729
|
}),
|
|
3730
3730
|
p(i, { value: "DESC" }, {
|
|
3731
3731
|
default: v(() => [
|
|
3732
|
-
|
|
3732
|
+
P("降序")
|
|
3733
3733
|
]),
|
|
3734
3734
|
_: 1
|
|
3735
3735
|
})
|
|
@@ -3803,19 +3803,19 @@ function su(e, t, n, o, l, r) {
|
|
|
3803
3803
|
default: v(() => [
|
|
3804
3804
|
p(i, { value: "YEAR" }, {
|
|
3805
3805
|
default: v(() => [
|
|
3806
|
-
|
|
3806
|
+
P("年")
|
|
3807
3807
|
]),
|
|
3808
3808
|
_: 1
|
|
3809
3809
|
}),
|
|
3810
3810
|
p(i, { value: "MONTH" }, {
|
|
3811
3811
|
default: v(() => [
|
|
3812
|
-
|
|
3812
|
+
P("月")
|
|
3813
3813
|
]),
|
|
3814
3814
|
_: 1
|
|
3815
3815
|
}),
|
|
3816
3816
|
p(i, { value: "DAY" }, {
|
|
3817
3817
|
default: v(() => [
|
|
3818
|
-
|
|
3818
|
+
P("天")
|
|
3819
3819
|
]),
|
|
3820
3820
|
_: 1
|
|
3821
3821
|
})
|
|
@@ -3831,13 +3831,13 @@ function su(e, t, n, o, l, r) {
|
|
|
3831
3831
|
default: v(() => [
|
|
3832
3832
|
p(i, { value: "before" }, {
|
|
3833
3833
|
default: v(() => [
|
|
3834
|
-
|
|
3834
|
+
P("前")
|
|
3835
3835
|
]),
|
|
3836
3836
|
_: 1
|
|
3837
3837
|
}),
|
|
3838
3838
|
p(i, { value: "after" }, {
|
|
3839
3839
|
default: v(() => [
|
|
3840
|
-
|
|
3840
|
+
P("后")
|
|
3841
3841
|
]),
|
|
3842
3842
|
_: 1
|
|
3843
3843
|
})
|
|
@@ -3868,7 +3868,7 @@ function su(e, t, n, o, l, r) {
|
|
|
3868
3868
|
_: 1
|
|
3869
3869
|
}, 8, ["title", "visible", "onOk", "onCancel"]);
|
|
3870
3870
|
}
|
|
3871
|
-
const uu = /* @__PURE__ */
|
|
3871
|
+
const uu = /* @__PURE__ */ _e(lu, [["render", su], ["__scopeId", "data-v-7a7bcf24"]]), cu = ve({
|
|
3872
3872
|
name: "VariableCard",
|
|
3873
3873
|
props: {
|
|
3874
3874
|
item: {
|
|
@@ -3938,11 +3938,11 @@ const uu = /* @__PURE__ */ Ce(lu, [["render", su], ["__scopeId", "data-v-7a7bcf2
|
|
|
3938
3938
|
var C;
|
|
3939
3939
|
let w = null;
|
|
3940
3940
|
if (((C = a(i)) == null ? void 0 : C.dataType) === "component") {
|
|
3941
|
-
const
|
|
3941
|
+
const V = a(l).find((R) => {
|
|
3942
3942
|
var L;
|
|
3943
3943
|
return R.id === ((L = a(i)) == null ? void 0 : L.id);
|
|
3944
3944
|
});
|
|
3945
|
-
|
|
3945
|
+
V && (w = V);
|
|
3946
3946
|
}
|
|
3947
3947
|
return w;
|
|
3948
3948
|
}), f = Q(() => {
|
|
@@ -3972,8 +3972,8 @@ const uu = /* @__PURE__ */ Ce(lu, [["render", su], ["__scopeId", "data-v-7a7bcf2
|
|
|
3972
3972
|
}, y = () => {
|
|
3973
3973
|
a(i).format = null;
|
|
3974
3974
|
}, g = (w, C) => {
|
|
3975
|
-
var
|
|
3976
|
-
return (
|
|
3975
|
+
var V;
|
|
3976
|
+
return (V = C == null ? void 0 : C.keyName) == null ? void 0 : V.toLowerCase().includes(w == null ? void 0 : w.toLowerCase());
|
|
3977
3977
|
};
|
|
3978
3978
|
return Le(b, (w) => {
|
|
3979
3979
|
w && (a(i).operateType || (a(i).operateType = "add"), a(i).operateMode || (a(i).operateMode = "year"), a(i).operateValue || (a(i).operateValue = 0), a(i).activeOperateKey || (a(i).activeOperateKey = 1));
|
|
@@ -4105,13 +4105,13 @@ function mu(e, t, n, o, l, r) {
|
|
|
4105
4105
|
default: v(() => [
|
|
4106
4106
|
p(i, { value: "add" }, {
|
|
4107
4107
|
default: v(() => [
|
|
4108
|
-
|
|
4108
|
+
P("加")
|
|
4109
4109
|
]),
|
|
4110
4110
|
_: 1
|
|
4111
4111
|
}),
|
|
4112
4112
|
p(i, { value: "minus" }, {
|
|
4113
4113
|
default: v(() => [
|
|
4114
|
-
|
|
4114
|
+
P("减")
|
|
4115
4115
|
]),
|
|
4116
4116
|
_: 1
|
|
4117
4117
|
})
|
|
@@ -4128,37 +4128,37 @@ function mu(e, t, n, o, l, r) {
|
|
|
4128
4128
|
default: v(() => [
|
|
4129
4129
|
p(i, { value: "year" }, {
|
|
4130
4130
|
default: v(() => [
|
|
4131
|
-
|
|
4131
|
+
P("年")
|
|
4132
4132
|
]),
|
|
4133
4133
|
_: 1
|
|
4134
4134
|
}),
|
|
4135
4135
|
p(i, { value: "month" }, {
|
|
4136
4136
|
default: v(() => [
|
|
4137
|
-
|
|
4137
|
+
P("月")
|
|
4138
4138
|
]),
|
|
4139
4139
|
_: 1
|
|
4140
4140
|
}),
|
|
4141
4141
|
p(i, { value: "week" }, {
|
|
4142
4142
|
default: v(() => [
|
|
4143
|
-
|
|
4143
|
+
P("周")
|
|
4144
4144
|
]),
|
|
4145
4145
|
_: 1
|
|
4146
4146
|
}),
|
|
4147
4147
|
p(i, { value: "day" }, {
|
|
4148
4148
|
default: v(() => [
|
|
4149
|
-
|
|
4149
|
+
P("日")
|
|
4150
4150
|
]),
|
|
4151
4151
|
_: 1
|
|
4152
4152
|
}),
|
|
4153
4153
|
p(i, { value: "hour" }, {
|
|
4154
4154
|
default: v(() => [
|
|
4155
|
-
|
|
4155
|
+
P("时")
|
|
4156
4156
|
]),
|
|
4157
4157
|
_: 1
|
|
4158
4158
|
}),
|
|
4159
4159
|
p(i, { value: "minute" }, {
|
|
4160
4160
|
default: v(() => [
|
|
4161
|
-
|
|
4161
|
+
P("分")
|
|
4162
4162
|
]),
|
|
4163
4163
|
_: 1
|
|
4164
4164
|
})
|
|
@@ -4186,7 +4186,7 @@ function mu(e, t, n, o, l, r) {
|
|
|
4186
4186
|
default: v(() => [
|
|
4187
4187
|
p(i, { value: "rangeValue" }, {
|
|
4188
4188
|
default: v(() => [
|
|
4189
|
-
|
|
4189
|
+
P("范围差值")
|
|
4190
4190
|
]),
|
|
4191
4191
|
_: 1
|
|
4192
4192
|
})
|
|
@@ -4201,37 +4201,37 @@ function mu(e, t, n, o, l, r) {
|
|
|
4201
4201
|
default: v(() => [
|
|
4202
4202
|
p(i, { value: "year" }, {
|
|
4203
4203
|
default: v(() => [
|
|
4204
|
-
|
|
4204
|
+
P("年")
|
|
4205
4205
|
]),
|
|
4206
4206
|
_: 1
|
|
4207
4207
|
}),
|
|
4208
4208
|
p(i, { value: "month" }, {
|
|
4209
4209
|
default: v(() => [
|
|
4210
|
-
|
|
4210
|
+
P("月")
|
|
4211
4211
|
]),
|
|
4212
4212
|
_: 1
|
|
4213
4213
|
}),
|
|
4214
4214
|
p(i, { value: "week" }, {
|
|
4215
4215
|
default: v(() => [
|
|
4216
|
-
|
|
4216
|
+
P("周")
|
|
4217
4217
|
]),
|
|
4218
4218
|
_: 1
|
|
4219
4219
|
}),
|
|
4220
4220
|
p(i, { value: "day" }, {
|
|
4221
4221
|
default: v(() => [
|
|
4222
|
-
|
|
4222
|
+
P("日")
|
|
4223
4223
|
]),
|
|
4224
4224
|
_: 1
|
|
4225
4225
|
}),
|
|
4226
4226
|
p(i, { value: "hour" }, {
|
|
4227
4227
|
default: v(() => [
|
|
4228
|
-
|
|
4228
|
+
P("时")
|
|
4229
4229
|
]),
|
|
4230
4230
|
_: 1
|
|
4231
4231
|
}),
|
|
4232
4232
|
p(i, { value: "minute" }, {
|
|
4233
4233
|
default: v(() => [
|
|
4234
|
-
|
|
4234
|
+
P("分")
|
|
4235
4235
|
]),
|
|
4236
4236
|
_: 1
|
|
4237
4237
|
})
|
|
@@ -4245,13 +4245,13 @@ function mu(e, t, n, o, l, r) {
|
|
|
4245
4245
|
default: v(() => [
|
|
4246
4246
|
p(i, { value: "minus" }, {
|
|
4247
4247
|
default: v(() => [
|
|
4248
|
-
|
|
4248
|
+
P("前")
|
|
4249
4249
|
]),
|
|
4250
4250
|
_: 1
|
|
4251
4251
|
}),
|
|
4252
4252
|
p(i, { value: "add" }, {
|
|
4253
4253
|
default: v(() => [
|
|
4254
|
-
|
|
4254
|
+
P("后")
|
|
4255
4255
|
]),
|
|
4256
4256
|
_: 1
|
|
4257
4257
|
})
|
|
@@ -4286,7 +4286,7 @@ function mu(e, t, n, o, l, r) {
|
|
|
4286
4286
|
}, null, 8, ["onClick"])) : X("", !0)
|
|
4287
4287
|
]);
|
|
4288
4288
|
}
|
|
4289
|
-
const vu = /* @__PURE__ */
|
|
4289
|
+
const vu = /* @__PURE__ */ _e(cu, [["render", mu], ["__scopeId", "data-v-8b26f157"]]), Ro = (e = {}) => e.globalCondition === !0 || e.globalCondition == null && !e.randomKey, mn = (e) => (e || []).map((t) => ({
|
|
4290
4290
|
...t,
|
|
4291
4291
|
globalCondition: Ro(t)
|
|
4292
4292
|
})), el = (e, t, n) => {
|
|
@@ -4417,12 +4417,12 @@ const vu = /* @__PURE__ */ Ce(cu, [["render", mu], ["__scopeId", "data-v-8b26f15
|
|
|
4417
4417
|
for (const w of g)
|
|
4418
4418
|
if ((x = w.dataSetParams) != null && x.length)
|
|
4419
4419
|
for (const C of w.dataSetParams)
|
|
4420
|
-
d.has(C.name) || (y.push(C.name), d.set(C.name, O.find((
|
|
4420
|
+
d.has(C.name) || (y.push(C.name), d.set(C.name, O.find((V) => V.variableName === C.name)));
|
|
4421
4421
|
for (const w of y) {
|
|
4422
4422
|
const C = d.get(w);
|
|
4423
4423
|
if (C) {
|
|
4424
|
-
const
|
|
4425
|
-
for (const L of
|
|
4424
|
+
const V = O.filter((L) => L.variableName === w && C.randomKey !== L.randomKey), R = ["label", "randomKey", "keyValue"];
|
|
4425
|
+
for (const L of V)
|
|
4426
4426
|
for (const H in C)
|
|
4427
4427
|
R.includes(H) || (L[H] = C[H]);
|
|
4428
4428
|
}
|
|
@@ -4464,7 +4464,7 @@ function _u(e, t, n, o, l, r) {
|
|
|
4464
4464
|
])
|
|
4465
4465
|
], 64);
|
|
4466
4466
|
}
|
|
4467
|
-
const tl = /* @__PURE__ */
|
|
4467
|
+
const tl = /* @__PURE__ */ _e(hu, [["render", _u], ["__scopeId", "data-v-b2de4b00"]]), wu = ve({
|
|
4468
4468
|
name: "VariableModal",
|
|
4469
4469
|
components: {
|
|
4470
4470
|
AModal: yt,
|
|
@@ -4547,7 +4547,7 @@ function ku(e, t, n, o, l, r) {
|
|
|
4547
4547
|
_: 1
|
|
4548
4548
|
}, 8, ["title", "visible", "onCancel"]);
|
|
4549
4549
|
}
|
|
4550
|
-
const Au = /* @__PURE__ */
|
|
4550
|
+
const Au = /* @__PURE__ */ _e(wu, [["render", ku]]), Su = ve({
|
|
4551
4551
|
name: "DataConfigCard",
|
|
4552
4552
|
directives: {
|
|
4553
4553
|
focus: Qa
|
|
@@ -4607,68 +4607,68 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4607
4607
|
DW: "单位"
|
|
4608
4608
|
}, f = J(Sn), m = K(), b = Q({
|
|
4609
4609
|
get() {
|
|
4610
|
-
var
|
|
4611
|
-
return ((
|
|
4610
|
+
var M;
|
|
4611
|
+
return ((M = a(l)) == null ? void 0 : M.compositeIndicator) || !1;
|
|
4612
4612
|
},
|
|
4613
|
-
set(
|
|
4613
|
+
set(M) {
|
|
4614
4614
|
r({
|
|
4615
|
-
compositeIndicator:
|
|
4615
|
+
compositeIndicator: M
|
|
4616
4616
|
});
|
|
4617
4617
|
}
|
|
4618
|
-
}), _ = (
|
|
4618
|
+
}), _ = (M = {}) => {
|
|
4619
4619
|
var se;
|
|
4620
4620
|
const { type: W } = e;
|
|
4621
4621
|
if (a(f) === "SQL_VIEW")
|
|
4622
4622
|
return !0;
|
|
4623
|
-
a(f) === "EDV_DATA_SET" && r({ edvDataSetId:
|
|
4623
|
+
a(f) === "EDV_DATA_SET" && r({ edvDataSetId: M.parentId });
|
|
4624
4624
|
let Z = !1;
|
|
4625
|
-
if (
|
|
4626
|
-
const
|
|
4627
|
-
(
|
|
4625
|
+
if (M.scope === "FIELD" && (Z = !0, (["0", "2"].includes(M.genericType) && u.includes(W) || M.genericType === "1" && i.includes(W)) && (Z = !1)), ["IDX", "BUILT_IN_IDX"].includes(M.scope) ? u.includes(W) && (Z = !0) : ["DIM", "BUILT_IN_DIM"].includes(M.scope) && i.includes(W) && (Z = !0), W === "dimensionList") {
|
|
4626
|
+
const ge = ((se = a(l)[W]) == null ? void 0 : se.slice()) || [];
|
|
4627
|
+
(ge == null ? void 0 : ge.length) === 1 && (Z = !1);
|
|
4628
4628
|
}
|
|
4629
4629
|
return Z;
|
|
4630
4630
|
}, E = Q(() => {
|
|
4631
|
-
var
|
|
4632
|
-
return Fe((
|
|
4633
|
-
}), O = (
|
|
4631
|
+
var M;
|
|
4632
|
+
return Fe((M = a(o)) == null ? void 0 : M.type, ["dataSelect"]) && e.type === "indicators";
|
|
4633
|
+
}), O = (M = "{}") => {
|
|
4634
4634
|
var W, Z;
|
|
4635
4635
|
try {
|
|
4636
|
-
const se = JSON.parse(
|
|
4636
|
+
const se = JSON.parse(M);
|
|
4637
4637
|
if (!_(se))
|
|
4638
4638
|
return;
|
|
4639
|
-
const
|
|
4640
|
-
(e.type === "seriesList" || e.type === "specialIndicatorList" || e.type === "classificationList" && !Fe(a(o).type, ["list", "circulate", "scatter"]) || a(E) || Fe(a(o).type, ["indexPanel"])) &&
|
|
4641
|
-
|
|
4642
|
-
}), y(
|
|
4639
|
+
const ge = ((W = a(l)[e.type]) == null ? void 0 : W.slice()) || [];
|
|
4640
|
+
(e.type === "seriesList" || e.type === "specialIndicatorList" || e.type === "classificationList" && !Fe(a(o).type, ["list", "circulate", "scatter"]) || a(E) || Fe(a(o).type, ["indexPanel"])) && ge.forEach((Ce) => {
|
|
4641
|
+
Ce.show = !1;
|
|
4642
|
+
}), y(ge, se), se.randomKey = Ne(), ge.push(se);
|
|
4643
4643
|
const { type: $e } = e, Oe = {};
|
|
4644
4644
|
if (["IDX", "BUILT_IN_IDX", "FIELD"].includes(se.scope)) {
|
|
4645
|
-
let
|
|
4645
|
+
let Ce = ((Z = a(l)) == null ? void 0 : Z.variableList) || [], Ue = sessionStorage.getItem("indicator-variates");
|
|
4646
4646
|
if (se.scope === "FIELD" && !u.includes($e) && (Ue = "[]"), Ue) {
|
|
4647
4647
|
const Me = JSON.parse(Ue);
|
|
4648
4648
|
if (Me != null && Me.length) {
|
|
4649
4649
|
const Ke = el(Me, se, a(f));
|
|
4650
|
-
Ke != null && Ke.length &&
|
|
4650
|
+
Ke != null && Ke.length && Ce.unshift(...Ke);
|
|
4651
4651
|
}
|
|
4652
4652
|
}
|
|
4653
|
-
|
|
4653
|
+
Ce = mn(Ce), Oe.variableList = Ce, Oe.variableConditions = Ht(Ce, s);
|
|
4654
4654
|
}
|
|
4655
4655
|
r({
|
|
4656
|
-
[e.type]:
|
|
4656
|
+
[e.type]: ge,
|
|
4657
4657
|
...Oe
|
|
4658
4658
|
}), sessionStorage.setItem("indicator-list-item", ""), sessionStorage.setItem("indicator-variates", "");
|
|
4659
4659
|
} catch (se) {
|
|
4660
4660
|
console.error(se);
|
|
4661
4661
|
}
|
|
4662
|
-
}, d = (
|
|
4662
|
+
}, d = (M = "{}") => {
|
|
4663
4663
|
var W;
|
|
4664
4664
|
try {
|
|
4665
|
-
const { cardItem: Z, type: se, index:
|
|
4665
|
+
const { cardItem: Z, type: se, index: ge } = JSON.parse(M);
|
|
4666
4666
|
if (!_(Z) || se === e.type)
|
|
4667
4667
|
return;
|
|
4668
4668
|
const $e = ((W = a(l)[e.type]) == null ? void 0 : W.slice()) || [];
|
|
4669
4669
|
y($e, Z), $e.push(Z);
|
|
4670
4670
|
const Oe = a(l)[se].slice() || [];
|
|
4671
|
-
Oe.splice(
|
|
4671
|
+
Oe.splice(ge, 1), r({
|
|
4672
4672
|
[e.type]: $e,
|
|
4673
4673
|
[se]: Oe
|
|
4674
4674
|
});
|
|
@@ -4676,9 +4676,9 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4676
4676
|
console.error(Z);
|
|
4677
4677
|
}
|
|
4678
4678
|
};
|
|
4679
|
-
function y(
|
|
4679
|
+
function y(M, W) {
|
|
4680
4680
|
const Z = [];
|
|
4681
|
-
if (
|
|
4681
|
+
if (M.forEach((se) => {
|
|
4682
4682
|
se.label.includes(W.label) && Z.push(se.label.split(W.label)[1]);
|
|
4683
4683
|
}), Z.length >= 1) {
|
|
4684
4684
|
for (let se = 1; se <= Z.length; se++)
|
|
@@ -4688,31 +4688,31 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4688
4688
|
}
|
|
4689
4689
|
}
|
|
4690
4690
|
}
|
|
4691
|
-
const g = (
|
|
4692
|
-
var
|
|
4693
|
-
const Z = (
|
|
4691
|
+
const g = (M, W) => {
|
|
4692
|
+
var ge, $e;
|
|
4693
|
+
const Z = (ge = M.target) == null ? void 0 : ge.checked, se = (($e = a(l)[e.type]) == null ? void 0 : $e.slice()) || [];
|
|
4694
4694
|
(e.type === "seriesList" || e.type === "classificationList" && !Fe(a(o).type, ["list", "circulate"]) || a(E) || Fe(a(o).type, ["indexPanel"])) && se.forEach((Oe) => {
|
|
4695
4695
|
Oe.show = !1;
|
|
4696
4696
|
}), se[W].show = Z, r({
|
|
4697
4697
|
[e.type]: se
|
|
4698
4698
|
});
|
|
4699
|
-
}, x = (
|
|
4699
|
+
}, x = (M) => {
|
|
4700
4700
|
var Z;
|
|
4701
4701
|
const W = ((Z = a(l)[e.type]) == null ? void 0 : Z.slice()) || [];
|
|
4702
|
-
W.splice(
|
|
4702
|
+
W.splice(M, 1), r({
|
|
4703
4703
|
[e.type]: W
|
|
4704
4704
|
});
|
|
4705
4705
|
}, w = () => {
|
|
4706
4706
|
sessionStorage.setItem("indicator-card-item", "");
|
|
4707
|
-
}, C = (
|
|
4707
|
+
}, C = (M) => {
|
|
4708
4708
|
const W = sessionStorage.getItem("indicator-list-item"), Z = sessionStorage.getItem("indicator-card-item");
|
|
4709
4709
|
W ? O(W) : Z && d(Z);
|
|
4710
|
-
},
|
|
4711
|
-
var
|
|
4712
|
-
const { newIndex: W, oldIndex: Z, from: se, to:
|
|
4710
|
+
}, V = (M) => {
|
|
4711
|
+
var Ce, Ue;
|
|
4712
|
+
const { newIndex: W, oldIndex: Z, from: se, to: ge } = M, $e = se.id, Oe = ge.id;
|
|
4713
4713
|
if (W >= 0 && Z >= 0) {
|
|
4714
4714
|
if ($e === Oe) {
|
|
4715
|
-
const Me = ((
|
|
4715
|
+
const Me = ((Ce = a(l)[e.type]) == null ? void 0 : Ce.slice()) || [], Ke = Me.splice(Z, 1)[0];
|
|
4716
4716
|
Ke && (Me.splice(W, 0, Ke), r({
|
|
4717
4717
|
[e.type]: Me
|
|
4718
4718
|
}));
|
|
@@ -4726,8 +4726,8 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4726
4726
|
}
|
|
4727
4727
|
}
|
|
4728
4728
|
}
|
|
4729
|
-
}, R = (
|
|
4730
|
-
const Z =
|
|
4729
|
+
}, R = (M, W) => {
|
|
4730
|
+
const Z = M.oldIndex, se = W[Z];
|
|
4731
4731
|
se && sessionStorage.setItem("indicator-card-item", JSON.stringify({
|
|
4732
4732
|
cardItem: se,
|
|
4733
4733
|
type: e.type,
|
|
@@ -4737,40 +4737,40 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4737
4737
|
let G = !1;
|
|
4738
4738
|
Le(
|
|
4739
4739
|
() => a(L).length,
|
|
4740
|
-
(
|
|
4741
|
-
H.value = new Array(
|
|
4740
|
+
(M) => {
|
|
4741
|
+
H.value = new Array(M).fill(!1);
|
|
4742
4742
|
},
|
|
4743
4743
|
{
|
|
4744
4744
|
flush: "post",
|
|
4745
4745
|
immediate: !0
|
|
4746
4746
|
}
|
|
4747
4747
|
);
|
|
4748
|
-
const ae = (
|
|
4749
|
-
var Z, se,
|
|
4748
|
+
const ae = (M) => {
|
|
4749
|
+
var Z, se, ge;
|
|
4750
4750
|
const W = ((Z = a(l)[e.type]) == null ? void 0 : Z.slice()) || [];
|
|
4751
|
-
if ((se = W[
|
|
4752
|
-
const $e = ((
|
|
4753
|
-
for (let
|
|
4754
|
-
$e[
|
|
4751
|
+
if ((se = W[M]) != null && se.randomKey) {
|
|
4752
|
+
const $e = ((ge = a(l)) == null ? void 0 : ge.variableList) || [];
|
|
4753
|
+
for (let Ce = $e.length - 1; Ce >= 0; Ce--)
|
|
4754
|
+
$e[Ce].randomKey === W[M].randomKey && $e.splice(Ce, 1);
|
|
4755
4755
|
const Oe = mn($e);
|
|
4756
4756
|
r({
|
|
4757
4757
|
variableConditions: Ht(Oe, s),
|
|
4758
4758
|
variableList: Oe
|
|
4759
4759
|
});
|
|
4760
4760
|
}
|
|
4761
|
-
W.splice(
|
|
4761
|
+
W.splice(M, 1), r({
|
|
4762
4762
|
[e.type]: W
|
|
4763
4763
|
});
|
|
4764
|
-
}, Y = (
|
|
4765
|
-
H.value[
|
|
4764
|
+
}, Y = (M) => {
|
|
4765
|
+
H.value[M] = !0;
|
|
4766
4766
|
}, te = () => {
|
|
4767
4767
|
G = !0;
|
|
4768
|
-
},
|
|
4769
|
-
|
|
4770
|
-
}, T = (
|
|
4771
|
-
var se,
|
|
4768
|
+
}, B = (M) => {
|
|
4769
|
+
M.key === "Escape" && (M.stopPropagation(), M.preventDefault());
|
|
4770
|
+
}, T = (M, W, Z) => {
|
|
4771
|
+
var se, ge, $e, Oe;
|
|
4772
4772
|
if (H.value[W] = !1, G) {
|
|
4773
|
-
const
|
|
4773
|
+
const Ce = (se = M.target) == null ? void 0 : se.value, Ue = ((ge = a(l)[e.type]) == null ? void 0 : ge.slice()) || [], Me = Ue.filter((je) => {
|
|
4774
4774
|
var We;
|
|
4775
4775
|
return (We = je == null ? void 0 : je.formula) == null ? void 0 : We.includes(Z);
|
|
4776
4776
|
}).map((je) => je.id), Ke = Ue.filter((je) => {
|
|
@@ -4780,17 +4780,17 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4780
4780
|
if (Me != null && Me.length)
|
|
4781
4781
|
for (const je of Me) {
|
|
4782
4782
|
const We = Ue.find((Qt) => Qt.id === je);
|
|
4783
|
-
We.formula = We.formula.replaceAll(Z,
|
|
4783
|
+
We.formula = We.formula.replaceAll(Z, Ce);
|
|
4784
4784
|
}
|
|
4785
4785
|
if (Ke != null && Ke.length)
|
|
4786
4786
|
for (const je of Ke) {
|
|
4787
4787
|
const We = Ue.find((Qt) => Qt.id === je);
|
|
4788
|
-
We.builtInValueSource = We.builtInValueSource.replaceAll(Z,
|
|
4788
|
+
We.builtInValueSource = We.builtInValueSource.replaceAll(Z, Ce);
|
|
4789
4789
|
}
|
|
4790
|
-
if (Ue[W].label =
|
|
4790
|
+
if (Ue[W].label = Ce, ($e = Ue[W]) != null && $e.randomKey) {
|
|
4791
4791
|
const je = ((Oe = a(l)) == null ? void 0 : Oe.variableList) || [], We = je.filter((no) => no.randomKey === Ue[W].randomKey);
|
|
4792
4792
|
We != null && We.length && We.forEach((no) => {
|
|
4793
|
-
no.label =
|
|
4793
|
+
no.label = Ce;
|
|
4794
4794
|
});
|
|
4795
4795
|
const Qt = mn(je);
|
|
4796
4796
|
r({
|
|
@@ -4804,14 +4804,14 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4804
4804
|
}
|
|
4805
4805
|
G = !1;
|
|
4806
4806
|
}, z = "DEFAULT", F = Q(() => {
|
|
4807
|
-
const
|
|
4807
|
+
const M = [], { scope: W } = a(m) || {}, Z = a(l)[e.type] || [];
|
|
4808
4808
|
if (W === "DIM" && !a(m).typeGuid.includes("_code")) {
|
|
4809
|
-
const
|
|
4810
|
-
delete
|
|
4809
|
+
const Ce = he(a(m));
|
|
4810
|
+
delete Ce.show, delete Ce.truncations, delete Ce.conditions, Ce.hrpIndexComplexid += "_code", Ce.id += "_code", Ce.typeGuid += "_code", Ce.label = Ce.name + "_编码", Ce.name = Ce.typeGuid, Ce.defaultCode = Ce.typeGuid, M.push(Ce);
|
|
4811
4811
|
}
|
|
4812
4812
|
const {
|
|
4813
4813
|
leftAxisList: se = [],
|
|
4814
|
-
rightAxisList:
|
|
4814
|
+
rightAxisList: ge = [],
|
|
4815
4815
|
indicators: $e = [],
|
|
4816
4816
|
specialIndicators: Oe = []
|
|
4817
4817
|
} = a(l) || {};
|
|
@@ -4822,40 +4822,40 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4822
4822
|
// name: '默认'
|
|
4823
4823
|
// },
|
|
4824
4824
|
...Z,
|
|
4825
|
-
...
|
|
4825
|
+
...M,
|
|
4826
4826
|
...se,
|
|
4827
|
-
...
|
|
4827
|
+
...ge,
|
|
4828
4828
|
...$e,
|
|
4829
4829
|
...Oe
|
|
4830
4830
|
];
|
|
4831
|
-
}), ee = (
|
|
4831
|
+
}), ee = (M = {}, W, Z = "ASC") => {
|
|
4832
4832
|
var Ue;
|
|
4833
|
-
const { label: se, name:
|
|
4834
|
-
$e === z ? delete
|
|
4833
|
+
const { label: se, name: ge, id: $e, defaultCode: Oe } = M, Ce = ((Ue = a(l)[e.type]) == null ? void 0 : Ue.slice()) || [];
|
|
4834
|
+
$e === z ? delete Ce[W].sort : Ce[W].sort = {
|
|
4835
4835
|
label: se,
|
|
4836
|
-
columnName:
|
|
4836
|
+
columnName: ge,
|
|
4837
4837
|
type: "NORMAL",
|
|
4838
4838
|
order: Z,
|
|
4839
4839
|
defaultCode: Oe
|
|
4840
4840
|
}, r({
|
|
4841
|
-
[e.type]:
|
|
4841
|
+
[e.type]: Ce
|
|
4842
4842
|
});
|
|
4843
|
-
}, $ = (
|
|
4843
|
+
}, $ = (M = {}, W = "ASC") => {
|
|
4844
4844
|
const se = {
|
|
4845
4845
|
ASC: "升序",
|
|
4846
4846
|
DESC: "降序"
|
|
4847
|
-
}[W], { sort:
|
|
4847
|
+
}[W], { sort: ge } = M, { label: $e, order: Oe } = ge || {};
|
|
4848
4848
|
return $e && Oe === W ? `${se}(${$e})` : se;
|
|
4849
|
-
}, D = K(), A = K(), S = K(), I = K(), q = (
|
|
4849
|
+
}, D = K(), A = K(), S = K(), I = K(), q = (M = {}, W) => {
|
|
4850
4850
|
var Z;
|
|
4851
|
-
D.value =
|
|
4852
|
-
}, oe = (
|
|
4851
|
+
D.value = M, A.value = W, (Z = a(S)) == null || Z.showModal(M);
|
|
4852
|
+
}, oe = (M) => "排序" + (M != null && M.sort ? "(已配置)" : ""), ue = (M = {}, W) => {
|
|
4853
4853
|
var Z;
|
|
4854
|
-
D.value =
|
|
4855
|
-
}, ce = (
|
|
4854
|
+
D.value = M, A.value = W, (Z = a(I)) == null || Z.showModal();
|
|
4855
|
+
}, ce = (M) => {
|
|
4856
4856
|
var W, Z;
|
|
4857
|
-
return "自定义分组" + (!(
|
|
4858
|
-
},
|
|
4857
|
+
return "自定义分组" + (!(M != null && M.customGroup) || !Object.keys(((W = M.customGroup) == null ? void 0 : W.groupInfoMap) || {}).length && !((Z = M.customGroup) != null && Z.otherGroupName) ? "" : "(已配置)");
|
|
4858
|
+
}, we = [
|
|
4859
4859
|
{
|
|
4860
4860
|
name: "显示",
|
|
4861
4861
|
value: "show"
|
|
@@ -4916,101 +4916,103 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
4916
4916
|
name: "否",
|
|
4917
4917
|
value: 0
|
|
4918
4918
|
}
|
|
4919
|
-
], de = (
|
|
4919
|
+
], de = (M, W) => {
|
|
4920
4920
|
var se;
|
|
4921
4921
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4922
|
-
Z[W].showInDrillTable =
|
|
4922
|
+
Z[W].showInDrillTable = M, r({
|
|
4923
4923
|
[e.type]: Z
|
|
4924
4924
|
});
|
|
4925
|
-
}, fe = (
|
|
4925
|
+
}, fe = (M, W) => {
|
|
4926
4926
|
var se;
|
|
4927
4927
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4928
|
-
for (const
|
|
4929
|
-
|
|
4930
|
-
Z[W].gaugeIndType =
|
|
4928
|
+
for (const ge of Z)
|
|
4929
|
+
ge.gaugeIndType === M && (ge.gaugeIndType = "");
|
|
4930
|
+
Z[W].gaugeIndType = M, r({
|
|
4931
4931
|
[e.type]: Z
|
|
4932
4932
|
});
|
|
4933
|
-
}, be = (
|
|
4933
|
+
}, be = (M, W) => {
|
|
4934
4934
|
var se;
|
|
4935
4935
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4936
|
-
for (const
|
|
4937
|
-
|
|
4938
|
-
Z[W].budgetIndType =
|
|
4936
|
+
for (const ge of Z)
|
|
4937
|
+
ge.budgetIndType === M && (ge.budgetIndType = "");
|
|
4938
|
+
Z[W].budgetIndType = M, r({
|
|
4939
4939
|
[e.type]: Z
|
|
4940
4940
|
});
|
|
4941
|
-
}, De = (
|
|
4941
|
+
}, De = (M, W) => {
|
|
4942
4942
|
var se;
|
|
4943
4943
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4944
|
-
|
|
4944
|
+
for (let ge = 0; ge < Z.length; ge++)
|
|
4945
|
+
ge === W ? Z[W].aggregate = M : e.type === "queryColumnList" && (Z[ge].aggregate = "");
|
|
4946
|
+
r({
|
|
4945
4947
|
[e.type]: Z
|
|
4946
4948
|
});
|
|
4947
|
-
},
|
|
4949
|
+
}, Ae = (M, W) => {
|
|
4948
4950
|
var se;
|
|
4949
4951
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4950
|
-
Z[W].distinct =
|
|
4952
|
+
Z[W].distinct = M, r({
|
|
4951
4953
|
[e.type]: Z
|
|
4952
4954
|
});
|
|
4953
|
-
}, Ve = (
|
|
4955
|
+
}, Ve = (M, W) => {
|
|
4954
4956
|
var se;
|
|
4955
4957
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4956
|
-
Z[W].dateFormat =
|
|
4958
|
+
Z[W].dateFormat = M, r({
|
|
4957
4959
|
[e.type]: Z
|
|
4958
4960
|
});
|
|
4959
|
-
}, qe = (
|
|
4961
|
+
}, qe = (M, W) => {
|
|
4960
4962
|
var se;
|
|
4961
4963
|
const Z = ((se = a(l)[e.type]) == null ? void 0 : se.slice()) || [];
|
|
4962
|
-
Z[W].sort =
|
|
4964
|
+
Z[W].sort = M, r({
|
|
4963
4965
|
[e.type]: Z
|
|
4964
4966
|
});
|
|
4965
|
-
}, ze = (
|
|
4967
|
+
}, ze = (M = "show") => `在钻取的普通表中(${{
|
|
4966
4968
|
show: "显示",
|
|
4967
4969
|
hide: "隐藏"
|
|
4968
|
-
}[
|
|
4970
|
+
}[M]})`, ft = (M) => `指标类型(${{
|
|
4969
4971
|
main: "主指标",
|
|
4970
4972
|
target: "目标指标"
|
|
4971
|
-
}[
|
|
4973
|
+
}[M] || "无"})`, St = (M) => `指标类型(${{
|
|
4972
4974
|
cuml: "累计指标",
|
|
4973
4975
|
current: "当期指标"
|
|
4974
|
-
}[
|
|
4976
|
+
}[M] || "无"})`, mt = (M) => `汇总方式${M ? "(" + {
|
|
4975
4977
|
SUM: "总和",
|
|
4976
4978
|
AVG: "平均数",
|
|
4977
4979
|
MIN: "最小值",
|
|
4978
4980
|
MAX: "最大值",
|
|
4979
4981
|
COUNT: "计数"
|
|
4980
4982
|
// GROUP: '聚合'
|
|
4981
|
-
}[
|
|
4983
|
+
}[M] + ")" : ""}`, gt = (M) => {
|
|
4982
4984
|
const W = {
|
|
4983
4985
|
ASC: "升序",
|
|
4984
4986
|
DESC: "降序"
|
|
4985
4987
|
};
|
|
4986
|
-
return
|
|
4987
|
-
}, Vt = (
|
|
4988
|
+
return M ? `排序(${W[M]})` : "排序";
|
|
4989
|
+
}, Vt = (M) => `是否去重(${{
|
|
4988
4990
|
0: "否",
|
|
4989
4991
|
1: "是"
|
|
4990
|
-
}[
|
|
4992
|
+
}[M] || "否"})`, Bt = (M = {}) => {
|
|
4991
4993
|
var W;
|
|
4992
|
-
return "过滤" + (
|
|
4993
|
-
}, Rt = (
|
|
4994
|
+
return "过滤" + (M != null && M.conditions && ((W = M == null ? void 0 : M.conditions) == null ? void 0 : W.length) > 0 ? "(已配置)" : "");
|
|
4995
|
+
}, Rt = (M = {}) => {
|
|
4994
4996
|
var W;
|
|
4995
|
-
return
|
|
4996
|
-
}, $t = K(), rn = K(), sn = K(), un = K(), Ln = (
|
|
4997
|
-
D.value =
|
|
4998
|
-
}, Dn = (
|
|
4999
|
-
D.value =
|
|
5000
|
-
}, ne = (
|
|
5001
|
-
D.value =
|
|
5002
|
-
}, re = (
|
|
5003
|
-
D.value =
|
|
5004
|
-
}, me = K(),
|
|
4997
|
+
return M.randomKey && Array.isArray(M.dataSetParams) && M.dataSetParams.length ? !0 : !!(M.randomKey && (((W = a(l)) == null ? void 0 : W.variableList) || []).some((Z) => Z.randomKey === M.randomKey));
|
|
4998
|
+
}, $t = K(), rn = K(), sn = K(), un = K(), Ln = (M = {}, W) => {
|
|
4999
|
+
D.value = M, A.value = W, a($t).showModal();
|
|
5000
|
+
}, Dn = (M = {}, W) => {
|
|
5001
|
+
D.value = M, A.value = W, a(rn).showModal(M);
|
|
5002
|
+
}, ne = (M = {}, W) => {
|
|
5003
|
+
D.value = M, A.value = W, a(sn).showModal(M);
|
|
5004
|
+
}, re = (M = {}, W) => {
|
|
5005
|
+
D.value = M, A.value = W, a(un).showModal(M, a(jt));
|
|
5006
|
+
}, me = K(), Se = (M = {}, W) => {
|
|
5005
5007
|
var Z;
|
|
5006
|
-
D.value =
|
|
5007
|
-
},
|
|
5008
|
+
D.value = M, A.value = W, (Z = a(me)) == null || Z.showModal(M);
|
|
5009
|
+
}, ke = K(), xe = K("add"), He = (M, W, Z) => {
|
|
5008
5010
|
var se;
|
|
5009
|
-
xe.value =
|
|
5011
|
+
xe.value = M, M === "edit" && (D.value = W, A.value = Z), (se = a(ke)) == null || se.showModal();
|
|
5010
5012
|
}, rt = J(Et), Ct = a(J(Lt)), vt = K([]), Ut = Q(() => a(l)[e.type] || {});
|
|
5011
5013
|
Le(l, () => {
|
|
5012
|
-
var
|
|
5013
|
-
Fe(a(o).type, ["scatter", "valueline"]) && ((
|
|
5014
|
+
var M;
|
|
5015
|
+
Fe(a(o).type, ["scatter", "valueline"]) && ((M = a(l)) != null && M.indicators) && (vt.value = a(l).indicators.map((W) => ({
|
|
5014
5016
|
label: W.label,
|
|
5015
5017
|
value: W.label
|
|
5016
5018
|
})));
|
|
@@ -5020,8 +5022,8 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5020
5022
|
cn();
|
|
5021
5023
|
});
|
|
5022
5024
|
const Ft = K(""), cn = async () => {
|
|
5023
|
-
const { source:
|
|
5024
|
-
if (
|
|
5025
|
+
const { source: M } = a(l);
|
|
5026
|
+
if (M !== "EDV_DATA_SET" || !Fe(a(o).type, "select"))
|
|
5025
5027
|
return;
|
|
5026
5028
|
const { classificationList: W = [] } = a(l), Z = W.find((Oe) => Oe.show);
|
|
5027
5029
|
if (Z != null && Z.parentId) {
|
|
@@ -5037,19 +5039,19 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5037
5039
|
Authentication: Ct,
|
|
5038
5040
|
operateContext: "ygt"
|
|
5039
5041
|
}
|
|
5040
|
-
}), { success:
|
|
5041
|
-
if (
|
|
5042
|
-
const Oe = $e.column.map((
|
|
5043
|
-
label:
|
|
5044
|
-
value:
|
|
5042
|
+
}), { success: ge, data: $e = [] } = se.data;
|
|
5043
|
+
if (ge) {
|
|
5044
|
+
const Oe = $e.column.map((Ce) => ({
|
|
5045
|
+
label: Ce.columnName,
|
|
5046
|
+
value: Ce.columnName
|
|
5045
5047
|
}));
|
|
5046
5048
|
a(l).selectFieldOptions = Oe, vt.value = Oe;
|
|
5047
5049
|
}
|
|
5048
5050
|
}, $n = async () => {
|
|
5049
|
-
const { source:
|
|
5051
|
+
const { source: M } = a(l);
|
|
5050
5052
|
if (!Fe(a(o).type, ["scatter", "valueline"]))
|
|
5051
5053
|
try {
|
|
5052
|
-
if (
|
|
5054
|
+
if (M === "EDV_DATA_SET")
|
|
5053
5055
|
await cn();
|
|
5054
5056
|
else {
|
|
5055
5057
|
const W = await rt.post(`${ht}/diagram/dimFields`, {}, {
|
|
@@ -5063,16 +5065,16 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5063
5065
|
} catch (W) {
|
|
5064
5066
|
console.error(W);
|
|
5065
5067
|
}
|
|
5066
|
-
}, _t = (
|
|
5068
|
+
}, _t = (M, W) => {
|
|
5067
5069
|
const Z = a(l)[e.type] || {};
|
|
5068
|
-
Z[W] =
|
|
5070
|
+
Z[W] = M, r({
|
|
5069
5071
|
[e.type]: Z
|
|
5070
5072
|
});
|
|
5071
|
-
}, bt = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], It = K({}), jt = K([]), Fn = async (
|
|
5073
|
+
}, bt = ["classificationList", "seriesList", "rowHeaderList", "queryColumnList", "dimensionList"], It = K({}), jt = K([]), Fn = async (M, W) => {
|
|
5072
5074
|
var se;
|
|
5073
5075
|
const { name: Z } = W;
|
|
5074
|
-
if (!bt.includes(e.type) &&
|
|
5075
|
-
const
|
|
5076
|
+
if (!bt.includes(e.type) && M && qt(W, "indexCode")) {
|
|
5077
|
+
const ge = await rt.post(`${ht}/diagram/hrpIndexWithComplex`, {
|
|
5076
5078
|
dataSourceId: "",
|
|
5077
5079
|
indexGuid: W.id,
|
|
5078
5080
|
indexCode: W.indexCode,
|
|
@@ -5082,21 +5084,21 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5082
5084
|
Authentication: Ct,
|
|
5083
5085
|
operateContext: "ygt"
|
|
5084
5086
|
}
|
|
5085
|
-
}), { success: $e, data: Oe } =
|
|
5087
|
+
}), { success: $e, data: Oe } = ge.data;
|
|
5086
5088
|
$e && Oe && (jt.value = (Oe == null ? void 0 : Oe.dataViewColumns) || [], It.value[Z] = {
|
|
5087
5089
|
name: Oe.name,
|
|
5088
5090
|
code: Oe.indexCode
|
|
5089
5091
|
});
|
|
5090
5092
|
}
|
|
5091
|
-
}, yl = (
|
|
5092
|
-
m.value =
|
|
5093
|
-
}, gl = (
|
|
5093
|
+
}, yl = (M) => {
|
|
5094
|
+
m.value = M;
|
|
5095
|
+
}, gl = (M) => {
|
|
5094
5096
|
const W = document.createElement("input");
|
|
5095
|
-
document.body.appendChild(W), W.setAttribute("value",
|
|
5097
|
+
document.body.appendChild(W), W.setAttribute("value", M), W.select(), document.execCommand("copy"), document.body.removeChild(W), tt.success("复制成功");
|
|
5096
5098
|
}, Cl = Q(() => e.type === "indicators" && a(o).type === "ecanTable"), _l = Q(() => !!["indicators", "classificationList", "leftAxisList", "rightAxisList"].includes(e.type)), wl = Q(() => {
|
|
5097
|
-
var
|
|
5098
|
-
return Fe((
|
|
5099
|
-
}), kl = Q(() => !bt.includes(e.type) && !a(E)), Al = (
|
|
5099
|
+
var M, W;
|
|
5100
|
+
return Fe((M = a(o)) == null ? void 0 : M.type, ["table"]) && ((W = a(l)) == null ? void 0 : W.isIndexSet);
|
|
5101
|
+
}), kl = Q(() => !bt.includes(e.type) && !a(E)), Al = (M) => M ? c[M] : "--";
|
|
5100
5102
|
return Ze(() => {
|
|
5101
5103
|
e.type === "formFields" && (a(o).type === "ecanDataSelect" ? vt.value = [
|
|
5102
5104
|
{
|
|
@@ -5113,7 +5115,7 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5113
5115
|
onDropEnd: x,
|
|
5114
5116
|
onDragItemEnd: w,
|
|
5115
5117
|
onDragItemAdd: C,
|
|
5116
|
-
onDragItemSort:
|
|
5118
|
+
onDragItemSort: V,
|
|
5117
5119
|
onDragItemStart: R,
|
|
5118
5120
|
cardItemList: L,
|
|
5119
5121
|
onDelete: ae,
|
|
@@ -5132,9 +5134,9 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5132
5134
|
showCustomGroupModal: ue,
|
|
5133
5135
|
editLabelList: H,
|
|
5134
5136
|
onLabelChange: te,
|
|
5135
|
-
handleInputKeyDown:
|
|
5137
|
+
handleInputKeyDown: B,
|
|
5136
5138
|
aggregateList: Ie,
|
|
5137
|
-
showHideList:
|
|
5139
|
+
showHideList: we,
|
|
5138
5140
|
indTypeList: Te,
|
|
5139
5141
|
budgetTypeList: ye,
|
|
5140
5142
|
distinctList: le,
|
|
@@ -5142,7 +5144,7 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5142
5144
|
onShowHideChange: de,
|
|
5143
5145
|
onIndTypeChange: fe,
|
|
5144
5146
|
onBudgetTypeChange: be,
|
|
5145
|
-
onDistinctChange:
|
|
5147
|
+
onDistinctChange: Ae,
|
|
5146
5148
|
onDateFormatChange: Ve,
|
|
5147
5149
|
onIndSortChange: qe,
|
|
5148
5150
|
handleAggregateTitle: mt,
|
|
@@ -5157,7 +5159,7 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5157
5159
|
sortByCpntRef: sn,
|
|
5158
5160
|
dimByCountRef: un,
|
|
5159
5161
|
showFilterModal: Ln,
|
|
5160
|
-
calculationModalRef:
|
|
5162
|
+
calculationModalRef: ke,
|
|
5161
5163
|
calculationModalMode: xe,
|
|
5162
5164
|
formatList: t,
|
|
5163
5165
|
indSortList: n,
|
|
@@ -5178,7 +5180,7 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5178
5180
|
dataSelectIndicators: E,
|
|
5179
5181
|
showDimByCountModal: re,
|
|
5180
5182
|
variableModalRef: me,
|
|
5181
|
-
showVariableModal:
|
|
5183
|
+
showVariableModal: Se,
|
|
5182
5184
|
selectedComponent: o,
|
|
5183
5185
|
lowerCaseIncludes: Fe,
|
|
5184
5186
|
isShowCalcBtn: kl,
|
|
@@ -5189,7 +5191,7 @@ const Au = /* @__PURE__ */ Ce(wu, [["render", ku]]), Su = ve({
|
|
|
5189
5191
|
};
|
|
5190
5192
|
}
|
|
5191
5193
|
});
|
|
5192
|
-
const Mt = (e) => (ot("data-v-
|
|
5194
|
+
const Mt = (e) => (ot("data-v-ee26ac51"), e = e(), at(), e), Tu = { class: "title" }, Ou = { class: "title-text" }, Eu = { class: "field-wrap" }, Lu = { class: "field-item" }, Du = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("div", { class: "item-label" }, "名称:", -1)), $u = { class: "field-item" }, Fu = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("div", { class: "item-label" }, "值:", -1)), Iu = {
|
|
5193
5195
|
key: 0,
|
|
5194
5196
|
class: "field-item"
|
|
5195
5197
|
}, xu = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("div", { class: "item-label" }, "父节点:", -1)), Nu = {
|
|
@@ -5200,7 +5202,7 @@ const Mt = (e) => (ot("data-v-822c7fdd"), e = e(), at(), e), Tu = { class: "titl
|
|
|
5200
5202
|
style: { width: "20px" }
|
|
5201
5203
|
}, null, -1)), Pu = { class: "title" }, Vu = { class: "title-text" }, Bu = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("p", null, "配置了维度后,会使用返回数据的第一条中以【维度名】为key的值作为显示值", -1)), Ru = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("span", null, "添加计算指标", -1)), Uu = { class: "card-item-wrap" }, ju = { class: "card-item-inner" }, Gu = ["onClick"], zu = ["onClick"], Hu = ["onClick"], Wu = { style: { display: "flex", "align-items": "center" } }, Ku = ["title"], Yu = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("span", { style: { "font-weight": "bold" } }, "指标名:", -1)), qu = { style: { display: "flex", "align-items": "center" } }, Xu = ["title"], Qu = /* @__PURE__ */ Mt(() => /* @__PURE__ */ j("span", { style: { "font-weight": "bold" } }, "指标编码:", -1));
|
|
5202
5204
|
function Ju(e, t, n, o, l, r) {
|
|
5203
|
-
const s = k("a-select"), u = k("a-checkbox"), i = k("a-card"), c = k("info-circle-outlined"), f = k("a-popover"), m = k("plus-outlined"), b = k("a-input"), _ = k("setting-outlined"), E = k("a-menu-item"), O = k("a-menu-divider"), d = k("a-sub-menu"), y = k("copy-outlined"), g = k("a-menu"), x = k("a-dropdown"), w = k("delete-outlined"), C = k("draggable"),
|
|
5205
|
+
const s = k("a-select"), u = k("a-checkbox"), i = k("a-card"), c = k("info-circle-outlined"), f = k("a-popover"), m = k("plus-outlined"), b = k("a-input"), _ = k("setting-outlined"), E = k("a-menu-item"), O = k("a-menu-divider"), d = k("a-sub-menu"), y = k("copy-outlined"), g = k("a-menu"), x = k("a-dropdown"), w = k("delete-outlined"), C = k("draggable"), V = k("custom-sort-modal"), R = k("custom-group-modal"), L = k("filter-modal"), H = k("config-name"), G = k("sort-by-cpnt"), ae = k("dim-by-count"), Y = k("calculation-modal"), te = k("variable-modal"), B = vo("focus");
|
|
5204
5206
|
return e.type === "formFields" ? (h(), U(i, {
|
|
5205
5207
|
key: 0,
|
|
5206
5208
|
class: "data-config-card",
|
|
@@ -5255,7 +5257,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5255
5257
|
"onUpdate:checked": t[3] || (t[3] = (T) => e.fieldData.hasAllOption = T)
|
|
5256
5258
|
}, {
|
|
5257
5259
|
default: v(() => [
|
|
5258
|
-
|
|
5260
|
+
P(" 显示【全部】选项 ")
|
|
5259
5261
|
]),
|
|
5260
5262
|
_: 1
|
|
5261
5263
|
}, 8, ["checked"])
|
|
@@ -5275,7 +5277,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5275
5277
|
title: v(() => [
|
|
5276
5278
|
j("div", Pu, [
|
|
5277
5279
|
j("div", Vu, [
|
|
5278
|
-
|
|
5280
|
+
P(pe(e.title) + " ", 1),
|
|
5279
5281
|
e.type === "dimensionList" ? (h(), U(f, {
|
|
5280
5282
|
key: 0,
|
|
5281
5283
|
title: "提示",
|
|
@@ -5305,7 +5307,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5305
5307
|
style: { "margin-left": "15px" }
|
|
5306
5308
|
}, {
|
|
5307
5309
|
default: v(() => [
|
|
5308
|
-
|
|
5310
|
+
P("合计")
|
|
5309
5311
|
]),
|
|
5310
5312
|
_: 1
|
|
5311
5313
|
}, 8, ["checked"])) : X("", !0)
|
|
@@ -5364,7 +5366,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5364
5366
|
onChange: e.onLabelChange,
|
|
5365
5367
|
onKeydown: e.handleInputKeyDown
|
|
5366
5368
|
}, null, 8, ["default-value", "onBlur", "onPressEnter", "onChange", "onKeydown"])), [
|
|
5367
|
-
[
|
|
5369
|
+
[B]
|
|
5368
5370
|
]) : X("", !0),
|
|
5369
5371
|
["FORMULA", "BUILT_IN", "COMPONENT"].includes(T.calcType) ? (h(), N("span", {
|
|
5370
5372
|
key: 3,
|
|
@@ -5373,7 +5375,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5373
5375
|
}, " fx ", 8, Hu)) : X("", !0),
|
|
5374
5376
|
p(f, { title: "" }, {
|
|
5375
5377
|
content: v(() => [
|
|
5376
|
-
|
|
5378
|
+
P(pe(e.getIndexSetRawLabel(T.calcType)), 1)
|
|
5377
5379
|
]),
|
|
5378
5380
|
default: v(() => [
|
|
5379
5381
|
e.type === "indexLibColumns" && !["FORMULA", "BUILT_IN", "COMPONENT"].includes(T.calcType) ? (h(), U(c, {
|
|
@@ -5396,7 +5398,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5396
5398
|
onClick: (F) => e.showCustomSortModal(T, z)
|
|
5397
5399
|
}, {
|
|
5398
5400
|
default: v(() => [
|
|
5399
|
-
|
|
5401
|
+
P(pe(e.handleCustomSortTitle(T)), 1)
|
|
5400
5402
|
]),
|
|
5401
5403
|
_: 2
|
|
5402
5404
|
}, 1032, ["onClick"]),
|
|
@@ -5405,7 +5407,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5405
5407
|
onClick: (F) => e.showCustomGroupModal(T, z)
|
|
5406
5408
|
}, {
|
|
5407
5409
|
default: v(() => [
|
|
5408
|
-
|
|
5410
|
+
P(pe(e.handleCustomGroupTitle(T)), 1)
|
|
5409
5411
|
]),
|
|
5410
5412
|
_: 2
|
|
5411
5413
|
}, 1032, ["onClick"]),
|
|
@@ -5435,7 +5437,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5435
5437
|
onClick: (F) => e.showFilterModal(T, z)
|
|
5436
5438
|
}, {
|
|
5437
5439
|
default: v(() => [
|
|
5438
|
-
|
|
5440
|
+
P(pe(e.handleFilterTitle(T)), 1)
|
|
5439
5441
|
]),
|
|
5440
5442
|
_: 2
|
|
5441
5443
|
}, 1032, ["onClick"]),
|
|
@@ -5462,7 +5464,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5462
5464
|
}, 1032, ["title"]),
|
|
5463
5465
|
p(O)
|
|
5464
5466
|
], 64)),
|
|
5465
|
-
["
|
|
5467
|
+
["queryColumnList", "leftAxisList", "rightAxisList", "indicators"].includes(e.type) ? (h(), N(ie, { key: 2 }, [
|
|
5466
5468
|
p(d, {
|
|
5467
5469
|
title: e.handleAggregateTitle(T.aggregate)
|
|
5468
5470
|
}, {
|
|
@@ -5473,7 +5475,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5473
5475
|
onClick: (ee) => e.onAggregateChange(F.value, z)
|
|
5474
5476
|
}, {
|
|
5475
5477
|
default: v(() => [
|
|
5476
|
-
|
|
5478
|
+
P(pe(F.name), 1)
|
|
5477
5479
|
]),
|
|
5478
5480
|
_: 2
|
|
5479
5481
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5481,13 +5483,13 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5481
5483
|
_: 2
|
|
5482
5484
|
}, 1032, ["title"]),
|
|
5483
5485
|
p(O)
|
|
5484
|
-
], 64)),
|
|
5486
|
+
], 64)) : X("", !0),
|
|
5485
5487
|
e.idxList.includes(e.type) && e.hasIndicatorVariables(T) ? (h(), N(ie, { key: 3 }, [
|
|
5486
5488
|
p(E, {
|
|
5487
5489
|
onClick: (F) => e.showVariableModal(T, z)
|
|
5488
5490
|
}, {
|
|
5489
5491
|
default: v(() => [
|
|
5490
|
-
|
|
5492
|
+
P(" 配置变量 ")
|
|
5491
5493
|
]),
|
|
5492
5494
|
_: 2
|
|
5493
5495
|
}, 1032, ["onClick"]),
|
|
@@ -5498,7 +5500,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5498
5500
|
onClick: (F) => e.showConfigNameModal(T, z)
|
|
5499
5501
|
}, {
|
|
5500
5502
|
default: v(() => [
|
|
5501
|
-
|
|
5503
|
+
P(" 修改展示名称 ")
|
|
5502
5504
|
]),
|
|
5503
5505
|
_: 2
|
|
5504
5506
|
}, 1032, ["onClick"]),
|
|
@@ -5509,7 +5511,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5509
5511
|
onClick: (F) => e.showSortByCpntModal(T, z)
|
|
5510
5512
|
}, {
|
|
5511
5513
|
default: v(() => [
|
|
5512
|
-
|
|
5514
|
+
P(" 关联组件排序 ")
|
|
5513
5515
|
]),
|
|
5514
5516
|
_: 2
|
|
5515
5517
|
}, 1032, ["onClick"]),
|
|
@@ -5525,7 +5527,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5525
5527
|
onClick: (ee) => e.onShowHideChange(F.value, z)
|
|
5526
5528
|
}, {
|
|
5527
5529
|
default: v(() => [
|
|
5528
|
-
|
|
5530
|
+
P(pe(F.name), 1)
|
|
5529
5531
|
]),
|
|
5530
5532
|
_: 2
|
|
5531
5533
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5544,7 +5546,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5544
5546
|
onClick: (ee) => e.onIndTypeChange(F.value, z)
|
|
5545
5547
|
}, {
|
|
5546
5548
|
default: v(() => [
|
|
5547
|
-
|
|
5549
|
+
P(pe(F.name), 1)
|
|
5548
5550
|
]),
|
|
5549
5551
|
_: 2
|
|
5550
5552
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5562,7 +5564,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5562
5564
|
onClick: (ee) => e.onBudgetTypeChange(F.value, z)
|
|
5563
5565
|
}, {
|
|
5564
5566
|
default: v(() => [
|
|
5565
|
-
|
|
5567
|
+
P(pe(F.name), 1)
|
|
5566
5568
|
]),
|
|
5567
5569
|
_: 2
|
|
5568
5570
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5575,7 +5577,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5575
5577
|
onClick: (F) => e.showDimByCountModal(T, z)
|
|
5576
5578
|
}, {
|
|
5577
5579
|
default: v(() => [
|
|
5578
|
-
|
|
5580
|
+
P(" 关联维度 ")
|
|
5579
5581
|
]),
|
|
5580
5582
|
_: 2
|
|
5581
5583
|
}, 1032, ["onClick"]),
|
|
@@ -5590,7 +5592,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5590
5592
|
onClick: (ee) => e.onDistinctChange(F.value, z)
|
|
5591
5593
|
}, {
|
|
5592
5594
|
default: v(() => [
|
|
5593
|
-
|
|
5595
|
+
P(pe(F.name), 1)
|
|
5594
5596
|
]),
|
|
5595
5597
|
_: 2
|
|
5596
5598
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -5611,7 +5613,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5611
5613
|
title: e.dataViewMap[T.name].name
|
|
5612
5614
|
}, [
|
|
5613
5615
|
Yu,
|
|
5614
|
-
|
|
5616
|
+
P(" " + pe(e.dataViewMap[T.name].name), 1)
|
|
5615
5617
|
], 8, Ku),
|
|
5616
5618
|
p(y, {
|
|
5617
5619
|
style: { color: "#52C41A", "margin-left": "10px" },
|
|
@@ -5632,7 +5634,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5632
5634
|
title: e.dataViewMap[T.name].code
|
|
5633
5635
|
}, [
|
|
5634
5636
|
Qu,
|
|
5635
|
-
|
|
5637
|
+
P(" " + pe(e.dataViewMap[T.name].code), 1)
|
|
5636
5638
|
], 8, Xu),
|
|
5637
5639
|
p(y, {
|
|
5638
5640
|
style: { color: "#52C41A", "margin-left": "10px" },
|
|
@@ -5669,7 +5671,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5669
5671
|
_: 1
|
|
5670
5672
|
}, 8, ["modelValue", "id", "group", "onAdd", "onSort", "onEnd"])
|
|
5671
5673
|
], 2),
|
|
5672
|
-
p(
|
|
5674
|
+
p(V, {
|
|
5673
5675
|
item: e.currentItem,
|
|
5674
5676
|
index: e.currentIndex,
|
|
5675
5677
|
type: e.type,
|
|
@@ -5720,7 +5722,7 @@ function Ju(e, t, n, o, l, r) {
|
|
|
5720
5722
|
_: 1
|
|
5721
5723
|
}, 8, ["head-style"]));
|
|
5722
5724
|
}
|
|
5723
|
-
const Zu = /* @__PURE__ */
|
|
5725
|
+
const Zu = /* @__PURE__ */ _e(Su, [["render", Ju], ["__scopeId", "data-v-ee26ac51"]]), ec = {
|
|
5724
5726
|
classificationList: {
|
|
5725
5727
|
title: "分类"
|
|
5726
5728
|
},
|
|
@@ -5833,7 +5835,7 @@ function oc(e, t, n, o, l, r) {
|
|
|
5833
5835
|
}, u), null, 16, ["type"]))), 128))
|
|
5834
5836
|
]);
|
|
5835
5837
|
}
|
|
5836
|
-
const ac = /* @__PURE__ */
|
|
5838
|
+
const ac = /* @__PURE__ */ _e(tc, [["render", oc], ["__scopeId", "data-v-b87dcb12"]]), lc = [
|
|
5837
5839
|
{
|
|
5838
5840
|
title: "基本属性",
|
|
5839
5841
|
props: [
|
|
@@ -10038,7 +10040,7 @@ function uc(e, t, n, o, l, r) {
|
|
|
10038
10040
|
[u]
|
|
10039
10041
|
]);
|
|
10040
10042
|
}
|
|
10041
|
-
const cc = /* @__PURE__ */
|
|
10043
|
+
const cc = /* @__PURE__ */ _e(sc, [["render", uc]]), dc = ve({
|
|
10042
10044
|
name: "InputNumber",
|
|
10043
10045
|
props: {
|
|
10044
10046
|
value: {
|
|
@@ -10153,7 +10155,7 @@ function pc(e, t, n, o, l, r) {
|
|
|
10153
10155
|
value: f
|
|
10154
10156
|
}, {
|
|
10155
10157
|
default: v(() => [
|
|
10156
|
-
|
|
10158
|
+
P(pe(c), 1)
|
|
10157
10159
|
]),
|
|
10158
10160
|
_: 2
|
|
10159
10161
|
}, 1032, ["value"]))), 128))
|
|
@@ -10177,7 +10179,7 @@ function pc(e, t, n, o, l, r) {
|
|
|
10177
10179
|
value: f
|
|
10178
10180
|
}, {
|
|
10179
10181
|
default: v(() => [
|
|
10180
|
-
|
|
10182
|
+
P(pe(c), 1)
|
|
10181
10183
|
]),
|
|
10182
10184
|
_: 2
|
|
10183
10185
|
}, 1032, ["value"]))), 128))
|
|
@@ -10189,7 +10191,7 @@ function pc(e, t, n, o, l, r) {
|
|
|
10189
10191
|
} : void 0
|
|
10190
10192
|
]), 1032, ["value", "min", "max", "step", "parser", "addon-before", "addon-after", "onChange", "onBlur"]);
|
|
10191
10193
|
}
|
|
10192
|
-
const nl = /* @__PURE__ */
|
|
10194
|
+
const nl = /* @__PURE__ */ _e(dc, [["render", pc]]), fc = ve({
|
|
10193
10195
|
name: "RadioGroup",
|
|
10194
10196
|
props: {
|
|
10195
10197
|
value: {
|
|
@@ -10235,7 +10237,7 @@ function mc(e, t, n, o, l, r) {
|
|
|
10235
10237
|
value: i.value
|
|
10236
10238
|
}, {
|
|
10237
10239
|
default: v(() => [
|
|
10238
|
-
|
|
10240
|
+
P(pe(i.label), 1)
|
|
10239
10241
|
]),
|
|
10240
10242
|
_: 2
|
|
10241
10243
|
}, 1032, ["value"]))), 128))
|
|
@@ -10243,7 +10245,7 @@ function mc(e, t, n, o, l, r) {
|
|
|
10243
10245
|
_: 1
|
|
10244
10246
|
}, 8, ["value", "optionType", "onChange"]);
|
|
10245
10247
|
}
|
|
10246
|
-
const vc = /* @__PURE__ */
|
|
10248
|
+
const vc = /* @__PURE__ */ _e(fc, [["render", mc]]), bc = ve({
|
|
10247
10249
|
name: "Select",
|
|
10248
10250
|
props: {
|
|
10249
10251
|
value: {
|
|
@@ -10283,7 +10285,7 @@ function hc(e, t, n, o, l, r) {
|
|
|
10283
10285
|
value: i.value
|
|
10284
10286
|
}, {
|
|
10285
10287
|
default: v(() => [
|
|
10286
|
-
|
|
10288
|
+
P(pe(i.label), 1)
|
|
10287
10289
|
]),
|
|
10288
10290
|
_: 2
|
|
10289
10291
|
}, 1032, ["value"]))), 128))
|
|
@@ -10291,7 +10293,7 @@ function hc(e, t, n, o, l, r) {
|
|
|
10291
10293
|
_: 1
|
|
10292
10294
|
}, 8, ["value", "onChange"]);
|
|
10293
10295
|
}
|
|
10294
|
-
const yc = /* @__PURE__ */
|
|
10296
|
+
const yc = /* @__PURE__ */ _e(bc, [["render", hc]]), gc = ve({
|
|
10295
10297
|
name: "Switch",
|
|
10296
10298
|
props: {
|
|
10297
10299
|
value: {
|
|
@@ -10331,7 +10333,7 @@ function Cc(e, t, n, o, l, r) {
|
|
|
10331
10333
|
}, null, 8, ["disabled", "checked", "onChange"])
|
|
10332
10334
|
], 4);
|
|
10333
10335
|
}
|
|
10334
|
-
const _c = /* @__PURE__ */
|
|
10336
|
+
const _c = /* @__PURE__ */ _e(gc, [["render", Cc]]);
|
|
10335
10337
|
var Qe = "top", ct = "bottom", dt = "right", Je = "left", Uo = "auto", On = [Qe, ct, dt, Je], tn = "start", gn = "end", wc = "clippingParents", ol = "viewport", dn = "popper", kc = "reference", ma = /* @__PURE__ */ On.reduce(function(e, t) {
|
|
10336
10338
|
return e.concat([t + "-" + tn, t + "-" + gn]);
|
|
10337
10339
|
}, []), al = /* @__PURE__ */ [].concat(On, [Uo]).reduce(function(e, t) {
|
|
@@ -10540,8 +10542,8 @@ var Rc = function(t, n) {
|
|
|
10540
10542
|
function Uc(e) {
|
|
10541
10543
|
var t, n = e.state, o = e.name, l = e.options, r = n.elements.arrow, s = n.modifiersData.popperOffsets, u = kt(n.placement), i = zo(u), c = [Je, dt].indexOf(u) >= 0, f = c ? "height" : "width";
|
|
10542
10544
|
if (!(!r || !s)) {
|
|
10543
|
-
var m = Rc(l.padding, n), b = Go(r), _ = i === "y" ? Qe : Je, E = i === "y" ? ct : dt, O = n.rects.reference[f] + n.rects.reference[i] - s[i] - n.rects.popper[f], d = s[i] - n.rects.reference[i], y = En(r), g = y ? i === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, x = O / 2 - d / 2, w = m[_], C = g - b[f] - m[E],
|
|
10544
|
-
n.modifiersData[o] = (t = {}, t[L] = R, t.centerOffset = R -
|
|
10545
|
+
var m = Rc(l.padding, n), b = Go(r), _ = i === "y" ? Qe : Je, E = i === "y" ? ct : dt, O = n.rects.reference[f] + n.rects.reference[i] - s[i] - n.rects.popper[f], d = s[i] - n.rects.reference[i], y = En(r), g = y ? i === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, x = O / 2 - d / 2, w = m[_], C = g - b[f] - m[E], V = g / 2 - b[f] / 2 + x, R = vn(w, V, C), L = i;
|
|
10546
|
+
n.modifiersData[o] = (t = {}, t[L] = R, t.centerOffset = R - V, t);
|
|
10545
10547
|
}
|
|
10546
10548
|
}
|
|
10547
10549
|
function jc(e) {
|
|
@@ -10584,20 +10586,20 @@ function ba(e) {
|
|
|
10584
10586
|
_ = d.x, O = d.y;
|
|
10585
10587
|
var y = s.hasOwnProperty("x"), g = s.hasOwnProperty("y"), x = Je, w = Qe, C = window;
|
|
10586
10588
|
if (c) {
|
|
10587
|
-
var
|
|
10588
|
-
if (
|
|
10589
|
+
var V = En(n), R = "clientHeight", L = "clientWidth";
|
|
10590
|
+
if (V === nt(n) && (V = Pt(n), Tt(V).position !== "static" && u === "absolute" && (R = "scrollHeight", L = "scrollWidth")), V = V, l === Qe || (l === Je || l === dt) && r === gn) {
|
|
10589
10591
|
w = ct;
|
|
10590
|
-
var H = m &&
|
|
10592
|
+
var H = m && V === C && C.visualViewport ? C.visualViewport.height : (
|
|
10591
10593
|
// $FlowFixMe[prop-missing]
|
|
10592
|
-
|
|
10594
|
+
V[R]
|
|
10593
10595
|
);
|
|
10594
10596
|
O -= H - o.height, O *= i ? 1 : -1;
|
|
10595
10597
|
}
|
|
10596
10598
|
if (l === Je || (l === Qe || l === ct) && r === gn) {
|
|
10597
10599
|
x = dt;
|
|
10598
|
-
var G = m &&
|
|
10600
|
+
var G = m && V === C && C.visualViewport ? C.visualViewport.width : (
|
|
10599
10601
|
// $FlowFixMe[prop-missing]
|
|
10600
|
-
|
|
10602
|
+
V[L]
|
|
10601
10603
|
);
|
|
10602
10604
|
_ -= G - o.width, _ *= i ? 1 : -1;
|
|
10603
10605
|
}
|
|
@@ -10815,12 +10817,12 @@ function dl(e) {
|
|
|
10815
10817
|
}
|
|
10816
10818
|
function Cn(e, t) {
|
|
10817
10819
|
t === void 0 && (t = {});
|
|
10818
|
-
var n = t, o = n.placement, l = o === void 0 ? e.placement : o, r = n.strategy, s = r === void 0 ? e.strategy : r, u = n.boundary, i = u === void 0 ? wc : u, c = n.rootBoundary, f = c === void 0 ? ol : c, m = n.elementContext, b = m === void 0 ? dn : m, _ = n.altBoundary, E = _ === void 0 ? !1 : _, O = n.padding, d = O === void 0 ? 0 : O, y = sl(typeof d != "number" ? d : ul(d, On)), g = b === dn ? kc : dn, x = e.rects.popper, w = e.elements[E ? g : b], C = nd(Xt(w) ? w : w.contextElement || Pt(e.elements.popper), i, f, s),
|
|
10819
|
-
reference:
|
|
10820
|
+
var n = t, o = n.placement, l = o === void 0 ? e.placement : o, r = n.strategy, s = r === void 0 ? e.strategy : r, u = n.boundary, i = u === void 0 ? wc : u, c = n.rootBoundary, f = c === void 0 ? ol : c, m = n.elementContext, b = m === void 0 ? dn : m, _ = n.altBoundary, E = _ === void 0 ? !1 : _, O = n.padding, d = O === void 0 ? 0 : O, y = sl(typeof d != "number" ? d : ul(d, On)), g = b === dn ? kc : dn, x = e.rects.popper, w = e.elements[E ? g : b], C = nd(Xt(w) ? w : w.contextElement || Pt(e.elements.popper), i, f, s), V = on(e.elements.reference), R = dl({
|
|
10821
|
+
reference: V,
|
|
10820
10822
|
element: x,
|
|
10821
10823
|
strategy: "absolute",
|
|
10822
10824
|
placement: l
|
|
10823
|
-
}), L = uo(Object.assign({}, x, R)), H = b === dn ? L :
|
|
10825
|
+
}), L = uo(Object.assign({}, x, R)), H = b === dn ? L : V, G = {
|
|
10824
10826
|
top: C.top - H.top + y.top,
|
|
10825
10827
|
bottom: H.bottom - C.bottom + y.bottom,
|
|
10826
10828
|
left: C.left - H.left + y.left,
|
|
@@ -10829,8 +10831,8 @@ function Cn(e, t) {
|
|
|
10829
10831
|
if (b === dn && ae) {
|
|
10830
10832
|
var Y = ae[l];
|
|
10831
10833
|
Object.keys(G).forEach(function(te) {
|
|
10832
|
-
var
|
|
10833
|
-
G[te] += Y[T] *
|
|
10834
|
+
var B = [dt, ct].indexOf(te) >= 0 ? 1 : -1, T = [Qe, ct].indexOf(te) >= 0 ? "y" : "x";
|
|
10835
|
+
G[te] += Y[T] * B;
|
|
10834
10836
|
});
|
|
10835
10837
|
}
|
|
10836
10838
|
return G;
|
|
@@ -10873,15 +10875,15 @@ function ld(e) {
|
|
|
10873
10875
|
flipVariations: E,
|
|
10874
10876
|
allowedAutoPlacements: O
|
|
10875
10877
|
}) : oe);
|
|
10876
|
-
}, []), C = t.rects.reference,
|
|
10877
|
-
var ae = w[G], Y = kt(ae), te = an(ae) === tn,
|
|
10878
|
+
}, []), C = t.rects.reference, V = t.rects.popper, R = /* @__PURE__ */ new Map(), L = !0, H = w[0], G = 0; G < w.length; G++) {
|
|
10879
|
+
var ae = w[G], Y = kt(ae), te = an(ae) === tn, B = [Qe, ct].indexOf(Y) >= 0, T = B ? "width" : "height", z = Cn(t, {
|
|
10878
10880
|
placement: ae,
|
|
10879
10881
|
boundary: f,
|
|
10880
10882
|
rootBoundary: m,
|
|
10881
10883
|
altBoundary: b,
|
|
10882
10884
|
padding: c
|
|
10883
|
-
}), F =
|
|
10884
|
-
C[T] >
|
|
10885
|
+
}), F = B ? te ? dt : Je : te ? ct : Qe;
|
|
10886
|
+
C[T] > V[T] && (F = Mn(F));
|
|
10885
10887
|
var ee = Mn(F), $ = [];
|
|
10886
10888
|
if (r && $.push(z[Y] <= 0), u && $.push(z[F] <= 0, z[ee] <= 0), $.every(function(q) {
|
|
10887
10889
|
return q;
|
|
@@ -10894,9 +10896,9 @@ function ld(e) {
|
|
|
10894
10896
|
if (L)
|
|
10895
10897
|
for (var D = E ? 3 : 1, A = function(oe) {
|
|
10896
10898
|
var ue = w.find(function(ce) {
|
|
10897
|
-
var
|
|
10898
|
-
if (
|
|
10899
|
-
return
|
|
10899
|
+
var we = R.get(ce);
|
|
10900
|
+
if (we)
|
|
10901
|
+
return we.slice(0, oe).every(function(Te) {
|
|
10900
10902
|
return Te;
|
|
10901
10903
|
});
|
|
10902
10904
|
});
|
|
@@ -11009,7 +11011,7 @@ function vd(e) {
|
|
|
11009
11011
|
rootBoundary: c,
|
|
11010
11012
|
padding: m,
|
|
11011
11013
|
altBoundary: f
|
|
11012
|
-
}), y = kt(t.placement), g = an(t.placement), x = !g, w = zo(y), C = md(w),
|
|
11014
|
+
}), y = kt(t.placement), g = an(t.placement), x = !g, w = zo(y), C = md(w), V = t.modifiersData.popperOffsets, R = t.rects.reference, L = t.rects.popper, H = typeof O == "function" ? O(Object.assign({}, t.rects, {
|
|
11013
11015
|
placement: t.placement
|
|
11014
11016
|
})) : O, G = typeof H == "number" ? {
|
|
11015
11017
|
mainAxis: H,
|
|
@@ -11021,17 +11023,17 @@ function vd(e) {
|
|
|
11021
11023
|
x: 0,
|
|
11022
11024
|
y: 0
|
|
11023
11025
|
};
|
|
11024
|
-
if (
|
|
11026
|
+
if (V) {
|
|
11025
11027
|
if (r) {
|
|
11026
|
-
var te,
|
|
11028
|
+
var te, B = w === "y" ? Qe : Je, T = w === "y" ? ct : dt, z = w === "y" ? "height" : "width", F = V[w], ee = F + d[B], $ = F - d[T], D = _ ? -L[z] / 2 : 0, A = g === tn ? R[z] : L[z], S = g === tn ? -L[z] : -R[z], I = t.elements.arrow, q = _ && I ? Go(I) : {
|
|
11027
11029
|
width: 0,
|
|
11028
11030
|
height: 0
|
|
11029
|
-
}, oe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : rl(), ue = oe[
|
|
11030
|
-
|
|
11031
|
+
}, oe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : rl(), ue = oe[B], ce = oe[T], we = vn(0, R[z], q[z]), Te = x ? R[z] / 2 - D - we - ue - G.mainAxis : A - we - ue - G.mainAxis, ye = x ? -R[z] / 2 + D + we + ce + G.mainAxis : S + we + ce + G.mainAxis, Ie = t.elements.arrow && En(t.elements.arrow), le = Ie ? w === "y" ? Ie.clientTop || 0 : Ie.clientLeft || 0 : 0, de = (te = ae == null ? void 0 : ae[w]) != null ? te : 0, fe = F + Te - de - le, be = F + ye - de, De = vn(_ ? qn(ee, fe) : ee, F, _ ? Wt($, be) : $);
|
|
11032
|
+
V[w] = De, Y[w] = De - F;
|
|
11031
11033
|
}
|
|
11032
11034
|
if (u) {
|
|
11033
|
-
var
|
|
11034
|
-
|
|
11035
|
+
var Ae, Ve = w === "x" ? Qe : Je, qe = w === "x" ? ct : dt, ze = V[C], ft = C === "y" ? "height" : "width", St = ze + d[Ve], mt = ze - d[qe], gt = [Qe, Je].indexOf(y) !== -1, Vt = (Ae = ae == null ? void 0 : ae[C]) != null ? Ae : 0, Bt = gt ? St : ze - R[ft] - L[ft] - Vt + G.altAxis, Rt = gt ? ze + R[ft] + L[ft] - Vt - G.altAxis : mt, $t = _ && gt ? Bc(Bt, ze, Rt) : vn(_ ? Bt : St, ze, _ ? Rt : mt);
|
|
11036
|
+
V[C] = $t, Y[C] = $t - ze;
|
|
11035
11037
|
}
|
|
11036
11038
|
t.modifiersData[o] = Y;
|
|
11037
11039
|
}
|
|
@@ -11183,8 +11185,8 @@ function Sd(e) {
|
|
|
11183
11185
|
f.reset = !1, w = -1;
|
|
11184
11186
|
continue;
|
|
11185
11187
|
}
|
|
11186
|
-
var C = f.orderedModifiers[w],
|
|
11187
|
-
typeof
|
|
11188
|
+
var C = f.orderedModifiers[w], V = C.fn, R = C.options, L = R === void 0 ? {} : R, H = C.name;
|
|
11189
|
+
typeof V == "function" && (f = V({
|
|
11188
11190
|
state: f,
|
|
11189
11191
|
options: L,
|
|
11190
11192
|
name: H,
|
|
@@ -11219,9 +11221,9 @@ function Sd(e) {
|
|
|
11219
11221
|
name: y,
|
|
11220
11222
|
instance: _,
|
|
11221
11223
|
options: x
|
|
11222
|
-
}),
|
|
11224
|
+
}), V = function() {
|
|
11223
11225
|
};
|
|
11224
|
-
m.push(C ||
|
|
11226
|
+
m.push(C || V);
|
|
11225
11227
|
}
|
|
11226
11228
|
});
|
|
11227
11229
|
}
|
|
@@ -11338,7 +11340,7 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11338
11340
|
}
|
|
11339
11341
|
function C() {
|
|
11340
11342
|
}
|
|
11341
|
-
function
|
|
11343
|
+
function V() {
|
|
11342
11344
|
}
|
|
11343
11345
|
var R = {};
|
|
11344
11346
|
b(R, c, function() {
|
|
@@ -11346,7 +11348,7 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11346
11348
|
});
|
|
11347
11349
|
var L = Object.getPrototypeOf, H = L && L(L(ee([])));
|
|
11348
11350
|
H && H !== r && s.call(H, c) && (R = H);
|
|
11349
|
-
var G =
|
|
11351
|
+
var G = V.prototype = w.prototype = Object.create(R);
|
|
11350
11352
|
function ae($) {
|
|
11351
11353
|
["next", "throw", "return"].forEach(function(D) {
|
|
11352
11354
|
b($, D, function(A) {
|
|
@@ -11358,13 +11360,13 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11358
11360
|
function A(I, q, oe, ue) {
|
|
11359
11361
|
var ce = E($[I], $, q);
|
|
11360
11362
|
if (ce.type !== "throw") {
|
|
11361
|
-
var
|
|
11363
|
+
var we = ce.arg, Te = we.value;
|
|
11362
11364
|
return Te && t(Te) == "object" && s.call(Te, "__await") ? D.resolve(Te.__await).then(function(ye) {
|
|
11363
11365
|
A("next", ye, oe, ue);
|
|
11364
11366
|
}, function(ye) {
|
|
11365
11367
|
A("throw", ye, oe, ue);
|
|
11366
11368
|
}) : D.resolve(Te).then(function(ye) {
|
|
11367
|
-
|
|
11369
|
+
we.value = ye, oe(we);
|
|
11368
11370
|
}, function(ye) {
|
|
11369
11371
|
return A("throw", ye, oe, ue);
|
|
11370
11372
|
});
|
|
@@ -11394,7 +11396,7 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11394
11396
|
for (A.method = I, A.arg = q; ; ) {
|
|
11395
11397
|
var oe = A.delegate;
|
|
11396
11398
|
if (oe) {
|
|
11397
|
-
var ue =
|
|
11399
|
+
var ue = B(oe, A);
|
|
11398
11400
|
if (ue) {
|
|
11399
11401
|
if (ue === x)
|
|
11400
11402
|
continue;
|
|
@@ -11420,10 +11422,10 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11420
11422
|
}
|
|
11421
11423
|
};
|
|
11422
11424
|
}
|
|
11423
|
-
function
|
|
11425
|
+
function B($, D) {
|
|
11424
11426
|
var A = D.method, S = $.iterator[A];
|
|
11425
11427
|
if (S === o)
|
|
11426
|
-
return D.delegate = null, A === "throw" && $.iterator.return && (D.method = "return", D.arg = o,
|
|
11428
|
+
return D.delegate = null, A === "throw" && $.iterator.return && (D.method = "return", D.arg = o, B($, D), D.method === "throw") || A !== "return" && (D.method = "throw", D.arg = new TypeError("The iterator does not provide a '" + A + "' method")), x;
|
|
11427
11429
|
var I = E(S, $.iterator, D.arg);
|
|
11428
11430
|
if (I.type === "throw")
|
|
11429
11431
|
return D.method = "throw", D.arg = I.arg, D.delegate = null, x;
|
|
@@ -11460,11 +11462,11 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11460
11462
|
}
|
|
11461
11463
|
throw new TypeError(t($) + " is not iterable");
|
|
11462
11464
|
}
|
|
11463
|
-
return C.prototype =
|
|
11465
|
+
return C.prototype = V, u(G, "constructor", { value: V, configurable: !0 }), u(V, "constructor", { value: C, configurable: !0 }), C.displayName = b(V, m, "GeneratorFunction"), l.isGeneratorFunction = function($) {
|
|
11464
11466
|
var D = typeof $ == "function" && $.constructor;
|
|
11465
11467
|
return !!D && (D === C || (D.displayName || D.name) === "GeneratorFunction");
|
|
11466
11468
|
}, l.mark = function($) {
|
|
11467
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf($,
|
|
11469
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf($, V) : ($.__proto__ = V, b($, m, "GeneratorFunction")), $.prototype = Object.create(G), $;
|
|
11468
11470
|
}, l.awrap = function($) {
|
|
11469
11471
|
return { __await: $ };
|
|
11470
11472
|
}, ae(Y.prototype), b(Y.prototype, f, function() {
|
|
@@ -11505,8 +11507,8 @@ var fl = { exports: {} }, Sa = { exports: {} };
|
|
|
11505
11507
|
if (this.done)
|
|
11506
11508
|
throw $;
|
|
11507
11509
|
var D = this;
|
|
11508
|
-
function A(ce,
|
|
11509
|
-
return q.type = "throw", q.arg = $, D.next = ce,
|
|
11510
|
+
function A(ce, we) {
|
|
11511
|
+
return q.type = "throw", q.arg = $, D.next = ce, we && (D.method = "next", D.arg = o), !!we;
|
|
11510
11512
|
}
|
|
11511
11513
|
for (var S = this.tryEntries.length - 1; S >= 0; --S) {
|
|
11512
11514
|
var I = this.tryEntries[S], q = I.completion;
|
|
@@ -12043,10 +12045,10 @@ var zn = ve({ name: "Picker", components: { Colors: Gn, Saturation: Vn, Hue: Bn,
|
|
|
12043
12045
|
}
|
|
12044
12046
|
}), d = K(-1), y = function(g, x, w) {
|
|
12045
12047
|
if (g.length !== 0) {
|
|
12046
|
-
var C = fo(g, x, w),
|
|
12047
|
-
if (!(isNaN(
|
|
12048
|
+
var C = fo(g, x, w), V = C.h, R = C.s, L = C.v;
|
|
12049
|
+
if (!(isNaN(V) || isNaN(R) || isNaN(L))) {
|
|
12048
12050
|
var H = 1, G = C.a;
|
|
12049
|
-
isNaN(G) || (H = G), r.value = { h:
|
|
12051
|
+
isNaN(G) || (H = G), r.value = { h: V, s: R, v: L, a: H };
|
|
12050
12052
|
}
|
|
12051
12053
|
}
|
|
12052
12054
|
};
|
|
@@ -12061,7 +12063,7 @@ var zn = ve({ name: "Picker", components: { Colors: Gn, Saturation: Vn, Hue: Bn,
|
|
|
12061
12063
|
}, handleChange: function() {
|
|
12062
12064
|
var g, x = (g = a(u)) === null || g === void 0 ? void 0 : g.trim();
|
|
12063
12065
|
if (x !== "") {
|
|
12064
|
-
var w = e.showAlpha, C = e.format,
|
|
12066
|
+
var w = e.showAlpha, C = e.format, V = function(R, L, H) {
|
|
12065
12067
|
if (H)
|
|
12066
12068
|
switch (L) {
|
|
12067
12069
|
case "rgb":
|
|
@@ -12085,7 +12087,7 @@ var zn = ve({ name: "Picker", components: { Colors: Gn, Saturation: Vn, Hue: Bn,
|
|
|
12085
12087
|
return /^#([0-9a-fA-f]{3}|[0-9a-fA-F]{6})$/g.test(R);
|
|
12086
12088
|
}
|
|
12087
12089
|
}(x, C, w);
|
|
12088
|
-
|
|
12090
|
+
V ? y(x, C, w) : a(s) != null ? r.value = a(s) : u.value = "";
|
|
12089
12091
|
} else
|
|
12090
12092
|
r.value = null;
|
|
12091
12093
|
}, selectColorIndex: d, onSelectColor: function(g, x) {
|
|
@@ -12139,14 +12141,14 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12139
12141
|
return ["#ff4500", "#ff8c00", "#ffd700", "#90ee90", "#00ced1", "#1e90ff", "#c71585", "#ff4500", "#ff7d4d", "#00babd", "#1f93ff", "#fa64c3"];
|
|
12140
12142
|
} } }, emits: ["change", "update:value", "update:showPicker", "overflowMax", "closePicker"], setup: function(e, t) {
|
|
12141
12143
|
var n = t.emit, o = K([]), l = Q(function() {
|
|
12142
|
-
return a(o).map(function(
|
|
12143
|
-
return po(
|
|
12144
|
+
return a(o).map(function(B) {
|
|
12145
|
+
return po(B, "hex", e.showAlpha);
|
|
12144
12146
|
});
|
|
12145
12147
|
});
|
|
12146
12148
|
Le(function() {
|
|
12147
12149
|
return e.value;
|
|
12148
12150
|
}, function() {
|
|
12149
|
-
var
|
|
12151
|
+
var B = e.value || "", T = Array.isArray(B) ? B : [B];
|
|
12150
12152
|
o.value = T.map(function(z) {
|
|
12151
12153
|
return po(z, e.format, e.showAlpha);
|
|
12152
12154
|
});
|
|
@@ -12161,13 +12163,13 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12161
12163
|
}, { immediate: !0 });
|
|
12162
12164
|
var i, c, f, m, b, _, E, O = K(null), d = K(null), y = (i = O, c = d, f = { zIndex: e.zIndex }, m = K({}), b = { strategy: "absolute", placement: "auto", onFirstUpdate: function() {
|
|
12163
12165
|
Gt.update();
|
|
12164
|
-
}, modifiers: [{ name: "offset", options: { offset: [0, 5] } }, { name: "computeStyles", options: { gpuAcceleration: !1, adaptive: !0 } }, { name: "flip", options: { fallbackPlacements: ["top"], allowedAutoPlacements: ["top", "bottom"] } }, { name: "applyStyles", enabled: !1 }, { name: "updateState", enabled: !0, phase: "write", requires: ["computeStyles"], fn: function(
|
|
12165
|
-
var T =
|
|
12166
|
+
}, modifiers: [{ name: "offset", options: { offset: [0, 5] } }, { name: "computeStyles", options: { gpuAcceleration: !1, adaptive: !0 } }, { name: "flip", options: { fallbackPlacements: ["top"], allowedAutoPlacements: ["top", "bottom"] } }, { name: "applyStyles", enabled: !1 }, { name: "updateState", enabled: !0, phase: "write", requires: ["computeStyles"], fn: function(B) {
|
|
12167
|
+
var T = B.state, z = T.styles, F = T.placement, ee = z.popper;
|
|
12166
12168
|
m.value = oo(oo(oo({}, ee), f), {}, { transformOrigin: F === "top" ? "center bottom" : "" });
|
|
12167
12169
|
} }] }, Le(function() {
|
|
12168
12170
|
return [a(i), a(c)];
|
|
12169
|
-
}, function(
|
|
12170
|
-
var z, F = _n(
|
|
12171
|
+
}, function(B, T) {
|
|
12172
|
+
var z, F = _n(B, 2), ee = F[0], $ = F[1], D = _n(T, 2), A = D[0], S = D[1];
|
|
12171
12173
|
if (ee && $ && (A !== ee || S !== A)) {
|
|
12172
12174
|
(z = Gt) === null || z === void 0 || z.destroy();
|
|
12173
12175
|
var I = ee.$el || ee, q = $.$el || $;
|
|
@@ -12176,14 +12178,14 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12176
12178
|
});
|
|
12177
12179
|
}
|
|
12178
12180
|
}), Ol(function() {
|
|
12179
|
-
var
|
|
12180
|
-
Gt && ((
|
|
12181
|
+
var B;
|
|
12182
|
+
Gt && ((B = Gt) === null || B === void 0 || B.destroy(), Gt = null);
|
|
12181
12183
|
}), { instance: Gt, style: m }), g = y.style, x = function() {
|
|
12182
12184
|
a(O) == null && (O.value = a(te)[0], r.value = 0), e.showPicker === void 0 ? u.value = !0 : n("update:showPicker", !0);
|
|
12183
12185
|
}, w = function() {
|
|
12184
12186
|
r.value = void 0, e.showPicker === void 0 ? u.value = !1 : n("update:showPicker", !1), n("closePicker", Dl(Array.isArray(e.value) || e.addColor ? a(o) : a(o)[0]));
|
|
12185
|
-
}, C = K(),
|
|
12186
|
-
var
|
|
12187
|
+
}, C = K(), V = function() {
|
|
12188
|
+
var B = Aa(xn.mark(function T(z) {
|
|
12187
12189
|
var F, ee, $, D;
|
|
12188
12190
|
return xn.wrap(function(A) {
|
|
12189
12191
|
for (; ; )
|
|
@@ -12211,10 +12213,10 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12211
12213
|
}, T);
|
|
12212
12214
|
}));
|
|
12213
12215
|
return function(T) {
|
|
12214
|
-
return
|
|
12216
|
+
return B.apply(this, arguments);
|
|
12215
12217
|
};
|
|
12216
12218
|
}(), R = function() {
|
|
12217
|
-
var
|
|
12219
|
+
var B = Aa(xn.mark(function T(z) {
|
|
12218
12220
|
var F, ee, $, D, A;
|
|
12219
12221
|
return xn.wrap(function(S) {
|
|
12220
12222
|
for (; ; )
|
|
@@ -12242,7 +12244,7 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12242
12244
|
}, T);
|
|
12243
12245
|
}));
|
|
12244
12246
|
return function(T) {
|
|
12245
|
-
return
|
|
12247
|
+
return B.apply(this, arguments);
|
|
12246
12248
|
};
|
|
12247
12249
|
}();
|
|
12248
12250
|
Le(u, function() {
|
|
@@ -12259,8 +12261,8 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12259
12261
|
return [e.theme, a(d)];
|
|
12260
12262
|
}, function() {
|
|
12261
12263
|
ao(function() {
|
|
12262
|
-
var
|
|
12263
|
-
(
|
|
12264
|
+
var B, T;
|
|
12265
|
+
(B = a(C)) === null || B === void 0 || B.setAttribute("pick-colors-theme", a(Y)), (T = a(d)) === null || T === void 0 || (T = T.$el) === null || T === void 0 || T.setAttribute("pick-colors-theme", a(Y));
|
|
12264
12266
|
});
|
|
12265
12267
|
}, { immediate: !0 }), en("theme", { theme: Y });
|
|
12266
12268
|
var te = K([]);
|
|
@@ -12268,22 +12270,22 @@ var Gt = null, Kt = ve({ name: "ColorPicker", components: { ColorItem: hn, Picke
|
|
|
12268
12270
|
document.addEventListener("mouseup", R, !1), e.showPicker && x();
|
|
12269
12271
|
}), Va(function() {
|
|
12270
12272
|
document.removeEventListener("mouseup", R, !1), _ && (clearTimeout(_), _ = null), E && (clearTimeout(E), E = null);
|
|
12271
|
-
}), { valueList: o, colorItemSelected: function(
|
|
12272
|
-
return (e.addColor ? a(o).length > 0 : a(o).length > 1) && a(r) ===
|
|
12273
|
-
}, selectedColor: s, selectedIndex: r, isShowPicker: u, addColorItemShow: H, onPickerChange: function(
|
|
12273
|
+
}), { valueList: o, colorItemSelected: function(B) {
|
|
12274
|
+
return (e.addColor ? a(o).length > 0 : a(o).length > 1) && a(r) === B;
|
|
12275
|
+
}, selectedColor: s, selectedIndex: r, isShowPicker: u, addColorItemShow: H, onPickerChange: function(B) {
|
|
12274
12276
|
var T = a(r), z = a(o).slice(), F = a(o).length;
|
|
12275
12277
|
if (T != null) {
|
|
12276
|
-
T >= 0 ? z[T] =
|
|
12278
|
+
T >= 0 ? z[T] = B : (r.value = F, z.push(B));
|
|
12277
12279
|
var ee = "";
|
|
12278
|
-
ee = Array.isArray(e.value) || e.addColor ? z :
|
|
12280
|
+
ee = Array.isArray(e.value) || e.addColor ? z : B, e.value === void 0 ? o.value = Array.isArray(ee) ? ee : [ee] : (n("update:value", ee), n("change", ee, B, T)), e.addColor && F >= e.max && (H.value = !1, n("overflowMax"));
|
|
12279
12281
|
}
|
|
12280
|
-
}, colorPicker: C, onColorClick:
|
|
12281
|
-
|
|
12282
|
-
var T =
|
|
12282
|
+
}, colorPicker: C, onColorClick: V, pickerRef: d, onColorItemDragStart: function(B) {
|
|
12283
|
+
B.dataTransfer.effectAllowed = "move";
|
|
12284
|
+
var T = B.target;
|
|
12283
12285
|
L = +T.dataset.index;
|
|
12284
|
-
}, onColorItemDragOver: function(
|
|
12285
|
-
}, onColorItemDrop: function(
|
|
12286
|
-
var T = +
|
|
12286
|
+
}, onColorItemDragOver: function(B) {
|
|
12287
|
+
}, onColorItemDrop: function(B) {
|
|
12288
|
+
var T = +B.target.dataset.index, z = Ed(a(o)), F = z[L];
|
|
12287
12289
|
z.splice(L, 1);
|
|
12288
12290
|
var ee = z.slice(0, T), $ = z.splice(T), D = ee.concat([F]).concat($);
|
|
12289
12291
|
n("update:value", D), n("change", D, D[L], L);
|
|
@@ -12353,7 +12355,7 @@ function zd(e, t, n, o, l, r) {
|
|
|
12353
12355
|
}, null, 8, ["value"])
|
|
12354
12356
|
]);
|
|
12355
12357
|
}
|
|
12356
|
-
const Hd = /* @__PURE__ */
|
|
12358
|
+
const Hd = /* @__PURE__ */ _e(jd, [["render", zd], ["__scopeId", "data-v-2ee2749b"]]), Wd = ve({
|
|
12357
12359
|
name: "ColorGroupPick",
|
|
12358
12360
|
components: {
|
|
12359
12361
|
PickColors: Kt
|
|
@@ -12391,7 +12393,7 @@ function Yd(e, t, n, o, l, r) {
|
|
|
12391
12393
|
}, null, 8, ["value", "max", "onChange", "onOverflowMax"])
|
|
12392
12394
|
]);
|
|
12393
12395
|
}
|
|
12394
|
-
const qd = /* @__PURE__ */
|
|
12396
|
+
const qd = /* @__PURE__ */ _e(Wd, [["render", Yd], ["__scopeId", "data-v-b2be8322"]]), Xd = ve({
|
|
12395
12397
|
name: "FormGroup",
|
|
12396
12398
|
components: {
|
|
12397
12399
|
Draggable: eo,
|
|
@@ -12536,7 +12538,7 @@ function np(e, t, n, o, l, r) {
|
|
|
12536
12538
|
])
|
|
12537
12539
|
]);
|
|
12538
12540
|
}
|
|
12539
|
-
const op = /* @__PURE__ */
|
|
12541
|
+
const op = /* @__PURE__ */ _e(Xd, [["render", np], ["__scopeId", "data-v-f0c0ab4d"]]), ap = ve({
|
|
12540
12542
|
name: "Textarea",
|
|
12541
12543
|
props: {
|
|
12542
12544
|
value: {
|
|
@@ -12571,7 +12573,7 @@ function lp(e, t, n, o, l, r) {
|
|
|
12571
12573
|
onChange: e.onTextareaChange
|
|
12572
12574
|
}, null, 8, ["value", "disabled", "onChange"]);
|
|
12573
12575
|
}
|
|
12574
|
-
const ip = /* @__PURE__ */
|
|
12576
|
+
const ip = /* @__PURE__ */ _e(ap, [["render", lp]]), rp = ve({
|
|
12575
12577
|
name: "Slider",
|
|
12576
12578
|
components: {
|
|
12577
12579
|
ASlider: zl,
|
|
@@ -12628,7 +12630,7 @@ function sp(e, t, n, o, l, r) {
|
|
|
12628
12630
|
_: 1
|
|
12629
12631
|
});
|
|
12630
12632
|
}
|
|
12631
|
-
const up = /* @__PURE__ */
|
|
12633
|
+
const up = /* @__PURE__ */ _e(rp, [["render", sp]]), cp = ve({
|
|
12632
12634
|
name: "PropsToForm",
|
|
12633
12635
|
components: {
|
|
12634
12636
|
Input: cc,
|
|
@@ -12673,7 +12675,7 @@ const up = /* @__PURE__ */ Ce(rp, [["render", sp]]), cp = ve({
|
|
|
12673
12675
|
events: x,
|
|
12674
12676
|
effect: w,
|
|
12675
12677
|
effectVal: C,
|
|
12676
|
-
props:
|
|
12678
|
+
props: V
|
|
12677
12679
|
} = E;
|
|
12678
12680
|
_[O] = {
|
|
12679
12681
|
...E,
|
|
@@ -12687,7 +12689,7 @@ const up = /* @__PURE__ */ Ce(rp, [["render", sp]]), cp = ve({
|
|
|
12687
12689
|
...x
|
|
12688
12690
|
},
|
|
12689
12691
|
...c(w),
|
|
12690
|
-
props: { ...
|
|
12692
|
+
props: { ...V, ...m(V, a(n)) }
|
|
12691
12693
|
};
|
|
12692
12694
|
}, i = Q(() => {
|
|
12693
12695
|
const b = e.props;
|
|
@@ -12776,7 +12778,7 @@ function vp(e, t, n, o, l, r) {
|
|
|
12776
12778
|
], 64))), 128))
|
|
12777
12779
|
]);
|
|
12778
12780
|
}
|
|
12779
|
-
const bp = /* @__PURE__ */
|
|
12781
|
+
const bp = /* @__PURE__ */ _e(cp, [["render", vp], ["__scopeId", "data-v-62456472"]]);
|
|
12780
12782
|
function hp() {
|
|
12781
12783
|
return new Worker("/assets/editor.worker-02df2e61.js");
|
|
12782
12784
|
}
|
|
@@ -12897,7 +12899,7 @@ const _p = {
|
|
|
12897
12899
|
function wp(e, t, n, o, l, r) {
|
|
12898
12900
|
return h(), N("div", _p, null, 512);
|
|
12899
12901
|
}
|
|
12900
|
-
const hl = /* @__PURE__ */
|
|
12902
|
+
const hl = /* @__PURE__ */ _e(Cp, [["render", wp], ["__scopeId", "data-v-71e88372"]]), kp = ve({
|
|
12901
12903
|
name: "Condition",
|
|
12902
12904
|
components: {
|
|
12903
12905
|
CloseOutlined: Tn,
|
|
@@ -13017,13 +13019,13 @@ function Sp(e, t, n, o, l, r) {
|
|
|
13017
13019
|
default: v(() => [
|
|
13018
13020
|
p(c, { key: "1" }, {
|
|
13019
13021
|
default: v(() => [
|
|
13020
|
-
|
|
13022
|
+
P("添加且条件")
|
|
13021
13023
|
]),
|
|
13022
13024
|
_: 1
|
|
13023
13025
|
}),
|
|
13024
13026
|
p(c, { key: "2" }, {
|
|
13025
13027
|
default: v(() => [
|
|
13026
|
-
|
|
13028
|
+
P("添加或条件")
|
|
13027
13029
|
]),
|
|
13028
13030
|
_: 1
|
|
13029
13031
|
})
|
|
@@ -13042,7 +13044,7 @@ function Sp(e, t, n, o, l, r) {
|
|
|
13042
13044
|
}, null, 8, ["onClick"])
|
|
13043
13045
|
]);
|
|
13044
13046
|
}
|
|
13045
|
-
const Tp = /* @__PURE__ */
|
|
13047
|
+
const Tp = /* @__PURE__ */ _e(kp, [["render", Sp], ["__scopeId", "data-v-9fcdf54d"]]), Op = ve({
|
|
13046
13048
|
name: "ConditionList",
|
|
13047
13049
|
props: {
|
|
13048
13050
|
list: {
|
|
@@ -13103,7 +13105,7 @@ function Ip(e, t, n, o, l, r) {
|
|
|
13103
13105
|
], 64))), 128))
|
|
13104
13106
|
])) : X("", !0);
|
|
13105
13107
|
}
|
|
13106
|
-
const xp = /* @__PURE__ */
|
|
13108
|
+
const xp = /* @__PURE__ */ _e(Op, [["render", Ip], ["__scopeId", "data-v-49c6481f"]]), Np = ve({
|
|
13107
13109
|
components: {
|
|
13108
13110
|
ConditionList: xp,
|
|
13109
13111
|
PickColors: Kt,
|
|
@@ -13198,15 +13200,15 @@ const xp = /* @__PURE__ */ Ce(Op, [["render", Ip], ["__scopeId", "data-v-49c6481
|
|
|
13198
13200
|
let y = a(l);
|
|
13199
13201
|
const g = d.split("-");
|
|
13200
13202
|
if (g != null && g.length) {
|
|
13201
|
-
for (const
|
|
13202
|
-
if (y[+
|
|
13203
|
-
y = (x = y[+
|
|
13203
|
+
for (const V of g)
|
|
13204
|
+
if (y[+V])
|
|
13205
|
+
y = (x = y[+V]) == null ? void 0 : x.conditions;
|
|
13204
13206
|
else
|
|
13205
13207
|
break;
|
|
13206
13208
|
if (Array.isArray(y) && y[O])
|
|
13207
13209
|
if (y.splice(O, 1), y.length === 1) {
|
|
13208
13210
|
if (g.length > 0) {
|
|
13209
|
-
const
|
|
13211
|
+
const V = g.length - 1, R = g[V], L = g.slice(0, V);
|
|
13210
13212
|
let H = a(l), G = "";
|
|
13211
13213
|
for (const ae of L)
|
|
13212
13214
|
if (H[+ae])
|
|
@@ -13226,13 +13228,13 @@ const xp = /* @__PURE__ */ Ce(Op, [["render", Ip], ["__scopeId", "data-v-49c6481
|
|
|
13226
13228
|
}
|
|
13227
13229
|
},
|
|
13228
13230
|
addCondition(O, d, y) {
|
|
13229
|
-
var C,
|
|
13231
|
+
var C, V;
|
|
13230
13232
|
let g = a(l), x = "";
|
|
13231
13233
|
const w = O.split("-");
|
|
13232
13234
|
if (O && (w != null && w.length))
|
|
13233
13235
|
for (const R of w)
|
|
13234
13236
|
if (g[+R])
|
|
13235
|
-
x = (C = g[+R]) == null ? void 0 : C.join, g = (
|
|
13237
|
+
x = (C = g[+R]) == null ? void 0 : C.join, g = (V = g[+R]) == null ? void 0 : V.conditions;
|
|
13236
13238
|
else
|
|
13237
13239
|
break;
|
|
13238
13240
|
if (x === y)
|
|
@@ -13294,14 +13296,14 @@ function Yp(e, t, n, o, l, r) {
|
|
|
13294
13296
|
j("div", Mp, [
|
|
13295
13297
|
j("div", Pp, [
|
|
13296
13298
|
j("div", Vp, [
|
|
13297
|
-
|
|
13299
|
+
P(" 条件配置 "),
|
|
13298
13300
|
Array.isArray(e.conditionList) && e.conditionList.length > 0 ? (h(), N(ie, { key: 0 }, [
|
|
13299
13301
|
p(s, {
|
|
13300
13302
|
class: "add-and-condition",
|
|
13301
13303
|
onClick: t[0] || (t[0] = (m) => e.addCondition("&&"))
|
|
13302
13304
|
}, {
|
|
13303
13305
|
default: v(() => [
|
|
13304
|
-
|
|
13306
|
+
P(" 添加且条件 ")
|
|
13305
13307
|
]),
|
|
13306
13308
|
_: 1
|
|
13307
13309
|
}),
|
|
@@ -13310,7 +13312,7 @@ function Yp(e, t, n, o, l, r) {
|
|
|
13310
13312
|
onClick: t[1] || (t[1] = (m) => e.addCondition("||"))
|
|
13311
13313
|
}, {
|
|
13312
13314
|
default: v(() => [
|
|
13313
|
-
|
|
13315
|
+
P(" 添加或条件 ")
|
|
13314
13316
|
]),
|
|
13315
13317
|
_: 1
|
|
13316
13318
|
})
|
|
@@ -13320,7 +13322,7 @@ function Yp(e, t, n, o, l, r) {
|
|
|
13320
13322
|
onClick: t[2] || (t[2] = (m) => e.addCondition())
|
|
13321
13323
|
}, {
|
|
13322
13324
|
default: v(() => [
|
|
13323
|
-
|
|
13325
|
+
P(" 添加条件 ")
|
|
13324
13326
|
]),
|
|
13325
13327
|
_: 1
|
|
13326
13328
|
}))
|
|
@@ -13369,7 +13371,7 @@ function Yp(e, t, n, o, l, r) {
|
|
|
13369
13371
|
_: 1
|
|
13370
13372
|
}, 8, ["visible", "onOk"]);
|
|
13371
13373
|
}
|
|
13372
|
-
const qp = /* @__PURE__ */
|
|
13374
|
+
const qp = /* @__PURE__ */ _e(Np, [["render", Yp], ["__scopeId", "data-v-a29d848a"]]), Xp = ve({
|
|
13373
13375
|
components: {
|
|
13374
13376
|
AModal: yt,
|
|
13375
13377
|
AButton: xt,
|
|
@@ -13403,8 +13405,8 @@ const qp = /* @__PURE__ */ Ce(Np, [["render", Yp], ["__scopeId", "data-v-a29d848
|
|
|
13403
13405
|
], i = K([]), c = K(), f = (y, g = "") => {
|
|
13404
13406
|
let x = "";
|
|
13405
13407
|
return y.forEach((w, C) => {
|
|
13406
|
-
const { value:
|
|
13407
|
-
w.conditions ? x += `(${f(w.conditions, w.join)})` :
|
|
13408
|
+
const { value: V, rule: R } = w;
|
|
13409
|
+
w.conditions ? x += `(${f(w.conditions, w.join)})` : V && R && (x += `value ${R} '${V}'`), x += `${C === y.length - 1 ? "" : g ? " " + g + " " : ""}`;
|
|
13408
13410
|
}), x;
|
|
13409
13411
|
}, m = (y) => {
|
|
13410
13412
|
i.value = [], c.value = y;
|
|
@@ -13412,8 +13414,8 @@ const qp = /* @__PURE__ */ Ce(Np, [["render", Yp], ["__scopeId", "data-v-a29d848
|
|
|
13412
13414
|
if (g)
|
|
13413
13415
|
i.value = he(g);
|
|
13414
13416
|
else if (x) {
|
|
13415
|
-
const
|
|
13416
|
-
i.value.push(he(
|
|
13417
|
+
const V = { conditionCode: x, conditions: w, attribute: C, name: "新条件" };
|
|
13418
|
+
i.value.push(he(V)), delete y.conditionCode, delete y.conditions, delete y.attribute;
|
|
13417
13419
|
}
|
|
13418
13420
|
o.value = !0;
|
|
13419
13421
|
}, b = () => {
|
|
@@ -13473,7 +13475,7 @@ function Qp(e, t, n, o, l, r) {
|
|
|
13473
13475
|
default: v(() => [
|
|
13474
13476
|
p(s, { onClick: e.addRule }, {
|
|
13475
13477
|
default: v(() => [
|
|
13476
|
-
|
|
13478
|
+
P("新增条件")
|
|
13477
13479
|
]),
|
|
13478
13480
|
_: 1
|
|
13479
13481
|
}, 8, ["onClick"]),
|
|
@@ -13499,7 +13501,7 @@ function Qp(e, t, n, o, l, r) {
|
|
|
13499
13501
|
onClick: (E) => e.openRuleModal(b, _)
|
|
13500
13502
|
}, {
|
|
13501
13503
|
default: v(() => [
|
|
13502
|
-
|
|
13504
|
+
P("编辑")
|
|
13503
13505
|
]),
|
|
13504
13506
|
_: 2
|
|
13505
13507
|
}, 1032, ["onClick"]),
|
|
@@ -13509,7 +13511,7 @@ function Qp(e, t, n, o, l, r) {
|
|
|
13509
13511
|
style: { "margin-left": "6px" }
|
|
13510
13512
|
}, {
|
|
13511
13513
|
default: v(() => [
|
|
13512
|
-
|
|
13514
|
+
P("删除")
|
|
13513
13515
|
]),
|
|
13514
13516
|
_: 2
|
|
13515
13517
|
}, 1032, ["onClick"])
|
|
@@ -13528,7 +13530,7 @@ function Qp(e, t, n, o, l, r) {
|
|
|
13528
13530
|
}, null, 8, ["data", "index", "onSave"])
|
|
13529
13531
|
], 64);
|
|
13530
13532
|
}
|
|
13531
|
-
const Jp = /* @__PURE__ */
|
|
13533
|
+
const Jp = /* @__PURE__ */ _e(Xp, [["render", Qp]]), Zp = [
|
|
13532
13534
|
{
|
|
13533
13535
|
title: "列名",
|
|
13534
13536
|
dataIndex: "label",
|
|
@@ -13647,13 +13649,13 @@ const Jp = /* @__PURE__ */ Ce(Xp, [["render", Qp]]), Zp = [
|
|
|
13647
13649
|
}
|
|
13648
13650
|
);
|
|
13649
13651
|
const f = () => {
|
|
13650
|
-
var C,
|
|
13652
|
+
var C, V, R, L;
|
|
13651
13653
|
let w = [];
|
|
13652
13654
|
if (l.value = [], n.value) {
|
|
13653
13655
|
const H = ((R = a(t)) == null ? void 0 : R.rowHeaderList) || [], G = ((L = a(t)) == null ? void 0 : L.indicators) || [];
|
|
13654
13656
|
w = [...H, ...G];
|
|
13655
13657
|
} else {
|
|
13656
|
-
const H = ((C = a(t)) == null ? void 0 : C.queryColumnList) || [], G = ((
|
|
13658
|
+
const H = ((C = a(t)) == null ? void 0 : C.queryColumnList) || [], G = ((V = a(t)) == null ? void 0 : V.indicators) || [];
|
|
13657
13659
|
w = [...H, ...G];
|
|
13658
13660
|
}
|
|
13659
13661
|
console.log("columns", w, o), w.forEach((H) => {
|
|
@@ -13693,8 +13695,8 @@ const Jp = /* @__PURE__ */ Ce(Xp, [["render", Qp]]), Zp = [
|
|
|
13693
13695
|
});
|
|
13694
13696
|
const m = (w, C) => {
|
|
13695
13697
|
w.style = C.target.checked, w.style ? w.renderBool === void 0 && (w.renderBool = !1) : delete w.renderBool;
|
|
13696
|
-
}, b = (w, C,
|
|
13697
|
-
w && C && (r = w, s = C, u.value = w[C] || "", c.value = !0, i.value =
|
|
13698
|
+
}, b = (w, C, V) => {
|
|
13699
|
+
w && C && (r = w, s = C, u.value = w[C] || "", c.value = !0, i.value = V);
|
|
13698
13700
|
}, _ = (w) => {
|
|
13699
13701
|
try {
|
|
13700
13702
|
u.value = w;
|
|
@@ -13754,7 +13756,7 @@ function nf(e, t, n, o, l, r) {
|
|
|
13754
13756
|
readOnly: !0,
|
|
13755
13757
|
onClick: (w) => e.renderSave(g, "renderText", "列自定义函数")
|
|
13756
13758
|
}, null, 8, ["value", "onUpdate:value", "onClick"])) : (h(), N(ie, { key: 0 }, [
|
|
13757
|
-
|
|
13759
|
+
P(pe(y), 1)
|
|
13758
13760
|
], 64))
|
|
13759
13761
|
], 64)) : d.dataIndex === "headerTemplate" ? (h(), N(ie, { key: 3 }, [
|
|
13760
13762
|
g.style ? (h(), U(u, {
|
|
@@ -13764,7 +13766,7 @@ function nf(e, t, n, o, l, r) {
|
|
|
13764
13766
|
readOnly: !0,
|
|
13765
13767
|
onClick: (w) => e.renderSave(g, "headerTemplate", "列表头自定义函数")
|
|
13766
13768
|
}, null, 8, ["value", "onUpdate:value", "onClick"])) : (h(), N(ie, { key: 0 }, [
|
|
13767
|
-
|
|
13769
|
+
P(pe(y), 1)
|
|
13768
13770
|
], 64))
|
|
13769
13771
|
], 64)) : d.dataIndex === "headerAlign" ? (h(), U(c, {
|
|
13770
13772
|
key: 4,
|
|
@@ -13776,19 +13778,19 @@ function nf(e, t, n, o, l, r) {
|
|
|
13776
13778
|
default: v(() => [
|
|
13777
13779
|
p(i, { value: "left" }, {
|
|
13778
13780
|
default: v(() => [
|
|
13779
|
-
|
|
13781
|
+
P("左对齐")
|
|
13780
13782
|
]),
|
|
13781
13783
|
_: 1
|
|
13782
13784
|
}),
|
|
13783
13785
|
p(i, { value: "center" }, {
|
|
13784
13786
|
default: v(() => [
|
|
13785
|
-
|
|
13787
|
+
P("居中")
|
|
13786
13788
|
]),
|
|
13787
13789
|
_: 1
|
|
13788
13790
|
}),
|
|
13789
13791
|
p(i, { value: "right" }, {
|
|
13790
13792
|
default: v(() => [
|
|
13791
|
-
|
|
13793
|
+
P("右对齐")
|
|
13792
13794
|
]),
|
|
13793
13795
|
_: 1
|
|
13794
13796
|
})
|
|
@@ -13804,19 +13806,19 @@ function nf(e, t, n, o, l, r) {
|
|
|
13804
13806
|
default: v(() => [
|
|
13805
13807
|
p(i, { value: "left" }, {
|
|
13806
13808
|
default: v(() => [
|
|
13807
|
-
|
|
13809
|
+
P("左对齐")
|
|
13808
13810
|
]),
|
|
13809
13811
|
_: 1
|
|
13810
13812
|
}),
|
|
13811
13813
|
p(i, { value: "center" }, {
|
|
13812
13814
|
default: v(() => [
|
|
13813
|
-
|
|
13815
|
+
P("居中")
|
|
13814
13816
|
]),
|
|
13815
13817
|
_: 1
|
|
13816
13818
|
}),
|
|
13817
13819
|
p(i, { value: "right" }, {
|
|
13818
13820
|
default: v(() => [
|
|
13819
|
-
|
|
13821
|
+
P("右对齐")
|
|
13820
13822
|
]),
|
|
13821
13823
|
_: 1
|
|
13822
13824
|
})
|
|
@@ -13832,19 +13834,19 @@ function nf(e, t, n, o, l, r) {
|
|
|
13832
13834
|
default: v(() => [
|
|
13833
13835
|
p(i, { value: "" }, {
|
|
13834
13836
|
default: v(() => [
|
|
13835
|
-
|
|
13837
|
+
P("不固定")
|
|
13836
13838
|
]),
|
|
13837
13839
|
_: 1
|
|
13838
13840
|
}),
|
|
13839
13841
|
p(i, { value: "left" }, {
|
|
13840
13842
|
default: v(() => [
|
|
13841
|
-
|
|
13843
|
+
P("靠左")
|
|
13842
13844
|
]),
|
|
13843
13845
|
_: 1
|
|
13844
13846
|
}),
|
|
13845
13847
|
p(i, { value: "right" }, {
|
|
13846
13848
|
default: v(() => [
|
|
13847
|
-
|
|
13849
|
+
P("靠右")
|
|
13848
13850
|
]),
|
|
13849
13851
|
_: 1
|
|
13850
13852
|
})
|
|
@@ -13862,19 +13864,19 @@ function nf(e, t, n, o, l, r) {
|
|
|
13862
13864
|
default: v(() => [
|
|
13863
13865
|
p(i, { value: "#,000" }, {
|
|
13864
13866
|
default: v(() => [
|
|
13865
|
-
|
|
13867
|
+
P("千分位")
|
|
13866
13868
|
]),
|
|
13867
13869
|
_: 1
|
|
13868
13870
|
}),
|
|
13869
13871
|
p(i, { value: "#.00" }, {
|
|
13870
13872
|
default: v(() => [
|
|
13871
|
-
|
|
13873
|
+
P("保留小数")
|
|
13872
13874
|
]),
|
|
13873
13875
|
_: 1
|
|
13874
13876
|
}),
|
|
13875
13877
|
p(i, { value: "#" }, {
|
|
13876
13878
|
default: v(() => [
|
|
13877
|
-
|
|
13879
|
+
P("保留有效位")
|
|
13878
13880
|
]),
|
|
13879
13881
|
_: 1
|
|
13880
13882
|
})
|
|
@@ -13894,7 +13896,7 @@ function nf(e, t, n, o, l, r) {
|
|
|
13894
13896
|
"onUpdate:checked": (w) => g.calculateShow.sum = w
|
|
13895
13897
|
}, {
|
|
13896
13898
|
default: v(() => [
|
|
13897
|
-
|
|
13899
|
+
P("合计")
|
|
13898
13900
|
]),
|
|
13899
13901
|
_: 2
|
|
13900
13902
|
}, 1032, ["checked", "onUpdate:checked"]),
|
|
@@ -13903,7 +13905,7 @@ function nf(e, t, n, o, l, r) {
|
|
|
13903
13905
|
"onUpdate:checked": (w) => g.calculateShow.avg = w
|
|
13904
13906
|
}, {
|
|
13905
13907
|
default: v(() => [
|
|
13906
|
-
|
|
13908
|
+
P("平均")
|
|
13907
13909
|
]),
|
|
13908
13910
|
_: 2
|
|
13909
13911
|
}, 1032, ["checked", "onUpdate:checked"])
|
|
@@ -13951,7 +13953,7 @@ function nf(e, t, n, o, l, r) {
|
|
|
13951
13953
|
}, null, 8, ["onConfirm"])
|
|
13952
13954
|
]);
|
|
13953
13955
|
}
|
|
13954
|
-
const of = /* @__PURE__ */
|
|
13956
|
+
const of = /* @__PURE__ */ _e(ef, [["render", nf], ["__scopeId", "data-v-bb095396"]]), af = [
|
|
13955
13957
|
{
|
|
13956
13958
|
title: "列名",
|
|
13957
13959
|
dataIndex: "label",
|
|
@@ -14052,19 +14054,19 @@ function rf(e, t, n, o, l, r) {
|
|
|
14052
14054
|
default: v(() => [
|
|
14053
14055
|
p(s, { value: "#,000" }, {
|
|
14054
14056
|
default: v(() => [
|
|
14055
|
-
|
|
14057
|
+
P("千分位")
|
|
14056
14058
|
]),
|
|
14057
14059
|
_: 1
|
|
14058
14060
|
}),
|
|
14059
14061
|
p(s, { value: "#.00" }, {
|
|
14060
14062
|
default: v(() => [
|
|
14061
|
-
|
|
14063
|
+
P("保留小数")
|
|
14062
14064
|
]),
|
|
14063
14065
|
_: 1
|
|
14064
14066
|
}),
|
|
14065
14067
|
p(s, { value: "#" }, {
|
|
14066
14068
|
default: v(() => [
|
|
14067
|
-
|
|
14069
|
+
P("保留有效位")
|
|
14068
14070
|
]),
|
|
14069
14071
|
_: 1
|
|
14070
14072
|
})
|
|
@@ -14089,7 +14091,7 @@ function rf(e, t, n, o, l, r) {
|
|
|
14089
14091
|
_: 1
|
|
14090
14092
|
}, 8, ["activeKey"]);
|
|
14091
14093
|
}
|
|
14092
|
-
const sf = /* @__PURE__ */
|
|
14094
|
+
const sf = /* @__PURE__ */ _e(lf, [["render", rf], ["__scopeId", "data-v-72761110"]]), uf = ve({
|
|
14093
14095
|
name: "StyleConfigGroup",
|
|
14094
14096
|
props: {
|
|
14095
14097
|
componentType: {
|
|
@@ -14115,61 +14117,61 @@ const sf = /* @__PURE__ */ Ce(lf, [["render", rf], ["__scopeId", "data-v-7276111
|
|
|
14115
14117
|
IndicatorContainer: sf
|
|
14116
14118
|
},
|
|
14117
14119
|
setup(e) {
|
|
14118
|
-
const t = K([]), n = K(["表格"]), o = J(Ha), l = J(Hl), r = J(Wa), s = J(Ka), u = J(Ya), i = J(pt), c = (
|
|
14120
|
+
const t = K([]), n = K(["表格"]), o = J(Ha), l = J(Hl), r = J(Wa), s = J(Ka), u = J(Ya), i = J(pt), c = (V) => {
|
|
14119
14121
|
r(
|
|
14120
14122
|
{
|
|
14121
|
-
...Wl[
|
|
14123
|
+
...Wl[V]
|
|
14122
14124
|
},
|
|
14123
14125
|
!1
|
|
14124
14126
|
), a(i).type = a(f), u();
|
|
14125
14127
|
}, f = Q(() => {
|
|
14126
|
-
var
|
|
14127
|
-
return (
|
|
14128
|
-
}), m = ["showTotalBool", "totalName", "expandAll"], b = Q(() => lc.map((
|
|
14129
|
-
const { props: R, title: L, enableProps: H, onlyType: G, excludeType: ae } =
|
|
14128
|
+
var V;
|
|
14129
|
+
return (V = a(o)) == null ? void 0 : V.type;
|
|
14130
|
+
}), m = ["showTotalBool", "totalName", "expandAll"], b = Q(() => lc.map((V) => {
|
|
14131
|
+
const { props: R, title: L, enableProps: H, onlyType: G, excludeType: ae } = V, Y = [];
|
|
14130
14132
|
R.forEach((T) => {
|
|
14131
14133
|
typeof T == "string" && (m.includes(T) ? e.isGroupTable && Y.push(T) : Y.push(T));
|
|
14132
14134
|
});
|
|
14133
|
-
let te,
|
|
14134
|
-
return e.componentType === "table" && (G != null && G.includes(e.componentType)) ? (te = typeof H == "string" && l.value ? l.value[H] : void 0,
|
|
14135
|
+
let te, B;
|
|
14136
|
+
return e.componentType === "table" && (G != null && G.includes(e.componentType)) ? (te = typeof H == "string" && l.value ? l.value[H] : void 0, B = Yn(a(l), Y)) : (te = typeof H == "string" && o.value ? o.value[H] : void 0, B = Yn(a(o), Y)), {
|
|
14135
14137
|
title: L,
|
|
14136
14138
|
enableProps: te,
|
|
14137
14139
|
enablePropsName: H,
|
|
14138
14140
|
onlyType: G,
|
|
14139
14141
|
excludeType: ae,
|
|
14140
|
-
props:
|
|
14142
|
+
props: B
|
|
14141
14143
|
};
|
|
14142
|
-
}).filter(({ props:
|
|
14143
|
-
const { onlyType: L, excludeType: H } =
|
|
14144
|
+
}).filter(({ props: V }) => Object.keys(V).length > 0)), _ = (V, R) => {
|
|
14145
|
+
const { onlyType: L, excludeType: H } = V;
|
|
14144
14146
|
return L == null && H == null ? !0 : L ? Fe(R, L) : H ? !Fe(R, H) : !1;
|
|
14145
|
-
}, E = (
|
|
14147
|
+
}, E = (V, R) => (R == null || R.stopPropagation(), V), O = (V, R) => {
|
|
14146
14148
|
R != null && r({
|
|
14147
|
-
[R]:
|
|
14149
|
+
[R]: V
|
|
14148
14150
|
});
|
|
14149
|
-
}, d = Q(() => JSON.stringify(a(o), null, 2)), y = (
|
|
14151
|
+
}, d = Q(() => JSON.stringify(a(o), null, 2)), y = (V) => {
|
|
14150
14152
|
try {
|
|
14151
|
-
const R = JSON.parse(
|
|
14153
|
+
const R = JSON.parse(V || "{}");
|
|
14152
14154
|
r(R, !1);
|
|
14153
14155
|
} catch (R) {
|
|
14154
14156
|
console.error(R);
|
|
14155
14157
|
}
|
|
14156
|
-
}, g = K(""), x = (
|
|
14158
|
+
}, g = K(""), x = (V) => {
|
|
14157
14159
|
try {
|
|
14158
|
-
g.value =
|
|
14160
|
+
g.value = V;
|
|
14159
14161
|
} catch (R) {
|
|
14160
14162
|
console.error(R);
|
|
14161
14163
|
}
|
|
14162
|
-
}, w = (
|
|
14164
|
+
}, w = (V, R) => {
|
|
14163
14165
|
try {
|
|
14164
14166
|
s({
|
|
14165
|
-
[R]:
|
|
14167
|
+
[R]: V
|
|
14166
14168
|
});
|
|
14167
14169
|
} catch (L) {
|
|
14168
14170
|
console.error(L);
|
|
14169
14171
|
}
|
|
14170
14172
|
}, C = Q(() => {
|
|
14171
|
-
var
|
|
14172
|
-
return ["customGraph"].includes((
|
|
14173
|
+
var V;
|
|
14174
|
+
return ["customGraph"].includes((V = a(o)) == null ? void 0 : V.type);
|
|
14173
14175
|
});
|
|
14174
14176
|
return {
|
|
14175
14177
|
type: f,
|
|
@@ -14206,31 +14208,31 @@ function df(e, t, n, o, l, r) {
|
|
|
14206
14208
|
default: v(() => [
|
|
14207
14209
|
p(s, { value: "line" }, {
|
|
14208
14210
|
default: v(() => [
|
|
14209
|
-
|
|
14211
|
+
P("折线图")
|
|
14210
14212
|
]),
|
|
14211
14213
|
_: 1
|
|
14212
14214
|
}),
|
|
14213
14215
|
p(s, { value: "bar" }, {
|
|
14214
14216
|
default: v(() => [
|
|
14215
|
-
|
|
14217
|
+
P("柱状图")
|
|
14216
14218
|
]),
|
|
14217
14219
|
_: 1
|
|
14218
14220
|
}),
|
|
14219
14221
|
p(s, { value: "pie" }, {
|
|
14220
14222
|
default: v(() => [
|
|
14221
|
-
|
|
14223
|
+
P("饼图")
|
|
14222
14224
|
]),
|
|
14223
14225
|
_: 1
|
|
14224
14226
|
}),
|
|
14225
14227
|
p(s, { value: "comboGraph" }, {
|
|
14226
14228
|
default: v(() => [
|
|
14227
|
-
|
|
14229
|
+
P("组合图表")
|
|
14228
14230
|
]),
|
|
14229
14231
|
_: 1
|
|
14230
14232
|
}),
|
|
14231
14233
|
p(s, { value: "customGraph" }, {
|
|
14232
14234
|
default: v(() => [
|
|
14233
|
-
|
|
14235
|
+
P("自定义图表")
|
|
14234
14236
|
]),
|
|
14235
14237
|
_: 1
|
|
14236
14238
|
})
|
|
@@ -14366,7 +14368,7 @@ function df(e, t, n, o, l, r) {
|
|
|
14366
14368
|
e.componentType === "card" ? (h(), U(O, { key: 2 })) : X("", !0)
|
|
14367
14369
|
]);
|
|
14368
14370
|
}
|
|
14369
|
-
const pf = /* @__PURE__ */
|
|
14371
|
+
const pf = /* @__PURE__ */ _e(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f5"]]), ff = ve({
|
|
14370
14372
|
name: "Card",
|
|
14371
14373
|
components: {
|
|
14372
14374
|
CloseOutlined: Tn,
|
|
@@ -14430,16 +14432,16 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14430
14432
|
(q = Object.keys(ue)) != null && q.length || (ue.value = "");
|
|
14431
14433
|
for (const ce in ue)
|
|
14432
14434
|
if (Object.prototype.hasOwnProperty.call(ue, ce)) {
|
|
14433
|
-
const
|
|
14434
|
-
if (Array.isArray(
|
|
14435
|
-
const Te =
|
|
14435
|
+
const we = a(o)[ce];
|
|
14436
|
+
if (Array.isArray(we)) {
|
|
14437
|
+
const Te = we.find((ye) => Fe(oe, ye.onlyType));
|
|
14436
14438
|
Te && A.push({
|
|
14437
14439
|
label: Te.label,
|
|
14438
14440
|
value: ce
|
|
14439
14441
|
});
|
|
14440
14442
|
} else
|
|
14441
14443
|
A.push({
|
|
14442
|
-
label:
|
|
14444
|
+
label: we.label,
|
|
14443
14445
|
value: ce
|
|
14444
14446
|
});
|
|
14445
14447
|
}
|
|
@@ -14456,9 +14458,9 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14456
14458
|
function _(A) {
|
|
14457
14459
|
const S = a(i).find((I) => I.id === A);
|
|
14458
14460
|
if (S) {
|
|
14459
|
-
const { type: I, id: q, events: oe = [] } = S, ue = Kn(I), ce = oe.findIndex((
|
|
14461
|
+
const { type: I, id: q, events: oe = [] } = S, ue = Kn(I), ce = oe.findIndex((we) => {
|
|
14460
14462
|
var Te;
|
|
14461
|
-
return
|
|
14463
|
+
return we.on === ue && we.target === ((Te = a(R)) == null ? void 0 : Te.id) && we.emit === "refreshData";
|
|
14462
14464
|
});
|
|
14463
14465
|
ce !== -1 && (oe.splice(ce, 1), n({
|
|
14464
14466
|
id: q,
|
|
@@ -14528,7 +14530,7 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14528
14530
|
index: e.index,
|
|
14529
14531
|
path: e.path
|
|
14530
14532
|
});
|
|
14531
|
-
},
|
|
14533
|
+
}, V = (A) => {
|
|
14532
14534
|
const S = { ...e.control };
|
|
14533
14535
|
A == null ? delete S.mode : S.mode = A, delete S.conditionLabel, delete S.conditionName, delete S.conditionKey, delete S.conditionValueType, r({
|
|
14534
14536
|
control: S,
|
|
@@ -14537,7 +14539,7 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14537
14539
|
});
|
|
14538
14540
|
}, R = J(pt), L = J(Re);
|
|
14539
14541
|
function H(A, S) {
|
|
14540
|
-
var ce,
|
|
14542
|
+
var ce, we;
|
|
14541
14543
|
const { type: I, id: q, events: oe = [] } = A, ue = Kn(I);
|
|
14542
14544
|
a(O) && S !== a(O) && (fn(((ce = a(L)) == null ? void 0 : ce.controlList) || []).find((ye) => ye.id === a(O)) || _(a(O))), oe.find((Te) => {
|
|
14543
14545
|
var ye;
|
|
@@ -14546,21 +14548,21 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14546
14548
|
id: q,
|
|
14547
14549
|
events: [...oe, {
|
|
14548
14550
|
on: ue,
|
|
14549
|
-
target: (
|
|
14551
|
+
target: (we = a(R)) == null ? void 0 : we.id,
|
|
14550
14552
|
emit: "refreshData"
|
|
14551
14553
|
}].reverse()
|
|
14552
14554
|
});
|
|
14553
14555
|
}
|
|
14554
14556
|
const G = (A, S) => {
|
|
14555
14557
|
if (A) {
|
|
14556
|
-
const { label: I, name: q, id: oe, genericType: ue, indexCode: ce, typeGuid:
|
|
14558
|
+
const { label: I, name: q, id: oe, genericType: ue, indexCode: ce, typeGuid: we, indexCodeNum: Te, isExtProperty: ye } = S || {}, Ie = {
|
|
14557
14559
|
...e.control,
|
|
14558
14560
|
conditionKey: oe,
|
|
14559
14561
|
conditionLabel: I,
|
|
14560
14562
|
conditionName: q,
|
|
14561
14563
|
conditionValueType: ue,
|
|
14562
14564
|
indexCode: ce,
|
|
14563
|
-
typeGuid:
|
|
14565
|
+
typeGuid: we,
|
|
14564
14566
|
indexCodeNum: Te
|
|
14565
14567
|
};
|
|
14566
14568
|
qt(Ie, "rule") || (Ie.rule = "EQUAL"), qt(Ie, "dataType") || (Ie.dataType = "component"), ye && (Ie.isExtProperty = ye), r({
|
|
@@ -14614,7 +14616,7 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14614
14616
|
{ label: "等于", value: "EQUAL" },
|
|
14615
14617
|
{ label: "不等于", value: "NOT_EQUAL" }
|
|
14616
14618
|
] : [];
|
|
14617
|
-
}),
|
|
14619
|
+
}), B = [{
|
|
14618
14620
|
label: "自定义值",
|
|
14619
14621
|
value: ""
|
|
14620
14622
|
}, {
|
|
@@ -14653,7 +14655,7 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14653
14655
|
onIdFocus: d,
|
|
14654
14656
|
onPropChange: y,
|
|
14655
14657
|
onParentPropChange: g,
|
|
14656
|
-
onModeChange:
|
|
14658
|
+
onModeChange: V,
|
|
14657
14659
|
onRuleChange: x,
|
|
14658
14660
|
onDataTypeChange: w,
|
|
14659
14661
|
onCustomValueChange: C,
|
|
@@ -14682,7 +14684,7 @@ const pf = /* @__PURE__ */ Ce(uf, [["render", df], ["__scopeId", "data-v-9a2fa8f
|
|
|
14682
14684
|
},
|
|
14683
14685
|
clickConditionMenu: b,
|
|
14684
14686
|
ruleOption: te,
|
|
14685
|
-
dataTypeOption:
|
|
14687
|
+
dataTypeOption: B,
|
|
14686
14688
|
isShowProp: z,
|
|
14687
14689
|
isShowFormat: F,
|
|
14688
14690
|
isShowModelProp: T,
|
|
@@ -14783,13 +14785,13 @@ function vf(e, t, n, o, l, r) {
|
|
|
14783
14785
|
default: v(() => [
|
|
14784
14786
|
p(c, { key: "1" }, {
|
|
14785
14787
|
default: v(() => [
|
|
14786
|
-
|
|
14788
|
+
P("添加且条件")
|
|
14787
14789
|
]),
|
|
14788
14790
|
_: 1
|
|
14789
14791
|
}),
|
|
14790
14792
|
p(c, { key: "2" }, {
|
|
14791
14793
|
default: v(() => [
|
|
14792
|
-
|
|
14794
|
+
P("添加或条件")
|
|
14793
14795
|
]),
|
|
14794
14796
|
_: 1
|
|
14795
14797
|
})
|
|
@@ -14808,7 +14810,7 @@ function vf(e, t, n, o, l, r) {
|
|
|
14808
14810
|
}, null, 8, ["onClick"])
|
|
14809
14811
|
]);
|
|
14810
14812
|
}
|
|
14811
|
-
const bf = /* @__PURE__ */
|
|
14813
|
+
const bf = /* @__PURE__ */ _e(ff, [["render", vf], ["__scopeId", "data-v-a513148f"]]), hf = ve({
|
|
14812
14814
|
name: "ControlList",
|
|
14813
14815
|
props: {
|
|
14814
14816
|
list: {
|
|
@@ -14874,7 +14876,7 @@ function kf(e, t, n, o, l, r) {
|
|
|
14874
14876
|
], 64))), 128))
|
|
14875
14877
|
])) : X("", !0);
|
|
14876
14878
|
}
|
|
14877
|
-
const Af = /* @__PURE__ */
|
|
14879
|
+
const Af = /* @__PURE__ */ _e(hf, [["render", kf], ["__scopeId", "data-v-2588920e"]]), Sf = ve({
|
|
14878
14880
|
name: "ControlGroup",
|
|
14879
14881
|
props: {
|
|
14880
14882
|
conditionOptions: {
|
|
@@ -14931,9 +14933,9 @@ const Af = /* @__PURE__ */ Ce(hf, [["render", kf], ["__scopeId", "data-v-2588920
|
|
|
14931
14933
|
controlList: y
|
|
14932
14934
|
})));
|
|
14933
14935
|
}, f = (d) => {
|
|
14934
|
-
var
|
|
14936
|
+
var V, R, L, H;
|
|
14935
14937
|
const { index: y, path: g } = d;
|
|
14936
|
-
let x = he((
|
|
14938
|
+
let x = he((V = a(s)) == null ? void 0 : V.slice()), w = x;
|
|
14937
14939
|
const C = g.split("-");
|
|
14938
14940
|
if (C != null && C.length) {
|
|
14939
14941
|
for (const G of C)
|
|
@@ -14945,13 +14947,13 @@ const Af = /* @__PURE__ */ Ce(hf, [["render", kf], ["__scopeId", "data-v-2588920
|
|
|
14945
14947
|
if (w.splice(y, 1), w.length === 1) {
|
|
14946
14948
|
if (C.length > 0) {
|
|
14947
14949
|
const G = C.length - 1, ae = C[G], Y = C.slice(0, G);
|
|
14948
|
-
let te = x,
|
|
14950
|
+
let te = x, B = "";
|
|
14949
14951
|
for (const T of Y)
|
|
14950
14952
|
if (te[T])
|
|
14951
|
-
|
|
14953
|
+
B = (L = te[T]) == null ? void 0 : L.join, te = (H = te[T]) == null ? void 0 : H.conditions;
|
|
14952
14954
|
else
|
|
14953
14955
|
break;
|
|
14954
|
-
if (
|
|
14956
|
+
if (B === w[0].join) {
|
|
14955
14957
|
if (Array.isArray(w[0].conditions)) {
|
|
14956
14958
|
const T = he(w[0].conditions);
|
|
14957
14959
|
te.splice(+ae, 1), te.splice(+ae, 0, ...T);
|
|
@@ -14969,9 +14971,9 @@ const Af = /* @__PURE__ */ Ce(hf, [["render", kf], ["__scopeId", "data-v-2588920
|
|
|
14969
14971
|
var R, L;
|
|
14970
14972
|
const { control: y, index: g, path: x } = d, w = he((R = a(s)) == null ? void 0 : R.slice());
|
|
14971
14973
|
let C = w;
|
|
14972
|
-
const
|
|
14973
|
-
if (
|
|
14974
|
-
for (const H of
|
|
14974
|
+
const V = x.split("-");
|
|
14975
|
+
if (V != null && V.length)
|
|
14976
|
+
for (const H of V)
|
|
14975
14977
|
if (C[H])
|
|
14976
14978
|
C = (L = C[H]) == null ? void 0 : L.conditions;
|
|
14977
14979
|
else
|
|
@@ -14983,9 +14985,9 @@ const Af = /* @__PURE__ */ Ce(hf, [["render", kf], ["__scopeId", "data-v-2588920
|
|
|
14983
14985
|
var R, L, H;
|
|
14984
14986
|
const x = he((R = a(s)) == null ? void 0 : R.slice());
|
|
14985
14987
|
let w = x, C = "";
|
|
14986
|
-
const
|
|
14987
|
-
if (
|
|
14988
|
-
for (const G of
|
|
14988
|
+
const V = d.split("-");
|
|
14989
|
+
if (V != null && V.length) {
|
|
14990
|
+
for (const G of V)
|
|
14989
14991
|
if (w[G])
|
|
14990
14992
|
C = (L = w[G]) == null ? void 0 : L.join, w = (H = w[G]) == null ? void 0 : H.conditions;
|
|
14991
14993
|
else
|
|
@@ -15055,7 +15057,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15055
15057
|
onClick: t[0] || (t[0] = (f) => e.onAddControl("&&"))
|
|
15056
15058
|
}, {
|
|
15057
15059
|
default: v(() => [
|
|
15058
|
-
|
|
15060
|
+
P("添加且条件")
|
|
15059
15061
|
]),
|
|
15060
15062
|
_: 1
|
|
15061
15063
|
}),
|
|
@@ -15064,7 +15066,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15064
15066
|
style: { "margin-left": "15px" }
|
|
15065
15067
|
}, {
|
|
15066
15068
|
default: v(() => [
|
|
15067
|
-
|
|
15069
|
+
P("添加或条件")
|
|
15068
15070
|
]),
|
|
15069
15071
|
_: 1
|
|
15070
15072
|
})
|
|
@@ -15073,7 +15075,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15073
15075
|
onClick: t[2] || (t[2] = (f) => e.onAddControl())
|
|
15074
15076
|
}, {
|
|
15075
15077
|
default: v(() => [
|
|
15076
|
-
|
|
15078
|
+
P("添加条件")
|
|
15077
15079
|
]),
|
|
15078
15080
|
_: 1
|
|
15079
15081
|
})),
|
|
@@ -15108,7 +15110,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15108
15110
|
onClick: e.handleConfirmSync
|
|
15109
15111
|
}, {
|
|
15110
15112
|
default: v(() => [
|
|
15111
|
-
|
|
15113
|
+
P(" 确定 ")
|
|
15112
15114
|
]),
|
|
15113
15115
|
_: 1
|
|
15114
15116
|
}, 8, ["disabled", "onClick"])
|
|
@@ -15124,7 +15126,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15124
15126
|
style: { float: "right" }
|
|
15125
15127
|
}, {
|
|
15126
15128
|
default: v(() => [
|
|
15127
|
-
|
|
15129
|
+
P(" 应用到其他组件 ")
|
|
15128
15130
|
]),
|
|
15129
15131
|
_: 1
|
|
15130
15132
|
})) : X("", !0)
|
|
@@ -15142,7 +15144,7 @@ function xf(e, t, n, o, l, r) {
|
|
|
15142
15144
|
])
|
|
15143
15145
|
]);
|
|
15144
15146
|
}
|
|
15145
|
-
const Nf = /* @__PURE__ */
|
|
15147
|
+
const Nf = /* @__PURE__ */ _e(Sf, [["render", xf], ["__scopeId", "data-v-9d5f3b17"]]), Mf = ve({
|
|
15146
15148
|
name: "VariableGroup",
|
|
15147
15149
|
components: {
|
|
15148
15150
|
Draggable: eo,
|
|
@@ -15225,7 +15227,7 @@ function Kf(e, t, n, o, l, r) {
|
|
|
15225
15227
|
j("div", Bf, [
|
|
15226
15228
|
p(s, { onClick: e.onAddGroup }, {
|
|
15227
15229
|
default: v(() => [
|
|
15228
|
-
|
|
15230
|
+
P("添加组")
|
|
15229
15231
|
]),
|
|
15230
15232
|
_: 1
|
|
15231
15233
|
}, 8, ["onClick"])
|
|
@@ -15294,7 +15296,7 @@ function Kf(e, t, n, o, l, r) {
|
|
|
15294
15296
|
])) : X("", !0)
|
|
15295
15297
|
], 64);
|
|
15296
15298
|
}
|
|
15297
|
-
const Yf = /* @__PURE__ */
|
|
15299
|
+
const Yf = /* @__PURE__ */ _e(Mf, [["render", Kf], ["__scopeId", "data-v-8f3d3f6d"]]), qf = ve({
|
|
15298
15300
|
name: "TableGraph",
|
|
15299
15301
|
components: { ATable: Jn },
|
|
15300
15302
|
props: {
|
|
@@ -15357,7 +15359,7 @@ function Qf(e, t, n, o, l, r) {
|
|
|
15357
15359
|
_: 1
|
|
15358
15360
|
}, 8, ["columns", "data-source", "pagination"]);
|
|
15359
15361
|
}
|
|
15360
|
-
const Jf = /* @__PURE__ */
|
|
15362
|
+
const Jf = /* @__PURE__ */ _e(qf, [["render", Qf]]), Zf = ve({
|
|
15361
15363
|
name: "DataConfig",
|
|
15362
15364
|
components: {
|
|
15363
15365
|
DataGroup: ac,
|
|
@@ -15430,21 +15432,21 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15430
15432
|
}), C = Q(() => {
|
|
15431
15433
|
var S;
|
|
15432
15434
|
return (S = a(y)) == null ? void 0 : S.type;
|
|
15433
|
-
}),
|
|
15435
|
+
}), V = Q(() => {
|
|
15434
15436
|
var S;
|
|
15435
15437
|
return !!((S = a(y)) != null && S.isGroupTable);
|
|
15436
15438
|
}), R = (S) => {
|
|
15437
15439
|
const I = S === "1";
|
|
15438
|
-
I && C.value === "table" &&
|
|
15440
|
+
I && C.value === "table" && B(), window.changeShowTable && window.changeShowTable(I), S === "3" && Y();
|
|
15439
15441
|
}, L = K([]), H = J(Et), G = a(J(Lt)), ae = (A = window == null ? void 0 : window.config) == null ? void 0 : A.pageId;
|
|
15440
15442
|
function Y() {
|
|
15441
|
-
var
|
|
15443
|
+
var we;
|
|
15442
15444
|
const { leftAxisList: S = [], rightAxisList: I = [], indicators: q = [], dataSourceId: oe = "" } = a(m), ue = [...S, ...I, ...q], ce = {};
|
|
15443
15445
|
for (const Te of ue) {
|
|
15444
15446
|
const { id: ye = "", indexCode: Ie = "" } = Te;
|
|
15445
15447
|
ye && !qt(Te, "calcType") && !ce[ye] && (ce[ye] = Ie);
|
|
15446
15448
|
}
|
|
15447
|
-
if ((
|
|
15449
|
+
if ((we = Object.keys(ce)) != null && we.length) {
|
|
15448
15450
|
const Te = [];
|
|
15449
15451
|
for (const ye in ce)
|
|
15450
15452
|
Te.push(
|
|
@@ -15491,7 +15493,7 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15491
15493
|
leftAxisList: oe = [],
|
|
15492
15494
|
rightAxisList: ue = [],
|
|
15493
15495
|
indicators: ce = [],
|
|
15494
|
-
rowHeaderList:
|
|
15496
|
+
rowHeaderList: we = [],
|
|
15495
15497
|
queryColumnList: Te = []
|
|
15496
15498
|
} = a(m), ye = he([
|
|
15497
15499
|
...I,
|
|
@@ -15499,12 +15501,12 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15499
15501
|
...oe,
|
|
15500
15502
|
...ue,
|
|
15501
15503
|
...ce,
|
|
15502
|
-
...
|
|
15504
|
+
...we,
|
|
15503
15505
|
...Te
|
|
15504
15506
|
]);
|
|
15505
15507
|
if (ye != null && ye.length)
|
|
15506
|
-
for (const
|
|
15507
|
-
|
|
15508
|
+
for (const Ae of ye)
|
|
15509
|
+
Ae.id = Ae.name;
|
|
15508
15510
|
const Ie = [
|
|
15509
15511
|
{
|
|
15510
15512
|
label: "日期(内置)",
|
|
@@ -15560,22 +15562,22 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15560
15562
|
}
|
|
15561
15563
|
], le = [
|
|
15562
15564
|
...a(i) === "EDV_DATA_SET" ? [] : Ie,
|
|
15563
|
-
...S.map((
|
|
15564
|
-
...
|
|
15565
|
-
id:
|
|
15566
|
-
label:
|
|
15565
|
+
...S.map((Ae) => ({
|
|
15566
|
+
...Ae,
|
|
15567
|
+
id: Ae.name,
|
|
15568
|
+
label: Ae.title || Ae.label
|
|
15567
15569
|
})),
|
|
15568
15570
|
...ye
|
|
15569
15571
|
];
|
|
15570
15572
|
if (Fe((De = a(c)) == null ? void 0 : De.type, "select")) {
|
|
15571
|
-
const { selectFieldOptions:
|
|
15573
|
+
const { selectFieldOptions: Ae = [] } = a(m);
|
|
15572
15574
|
if (le.unshift({
|
|
15573
15575
|
label: "上级编码",
|
|
15574
15576
|
name: "上级编码",
|
|
15575
15577
|
id: "parentCode",
|
|
15576
15578
|
genericType: "TEXT"
|
|
15577
|
-
}),
|
|
15578
|
-
for (const Ve of
|
|
15579
|
+
}), Ae != null && Ae.length)
|
|
15580
|
+
for (const Ve of Ae)
|
|
15579
15581
|
le.unshift({
|
|
15580
15582
|
label: Ve.label,
|
|
15581
15583
|
name: Ve.value,
|
|
@@ -15584,14 +15586,14 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15584
15586
|
});
|
|
15585
15587
|
}
|
|
15586
15588
|
const de = /* @__PURE__ */ new Map(), fe = le.length;
|
|
15587
|
-
for (let
|
|
15588
|
-
const Ve = le[
|
|
15589
|
+
for (let Ae = 0; Ae < fe; Ae++) {
|
|
15590
|
+
const Ve = le[Ae], { id: qe } = Ve || {};
|
|
15589
15591
|
de.set(qe, Ve);
|
|
15590
15592
|
}
|
|
15591
15593
|
const be = [...de];
|
|
15592
|
-
L.value = be.map(([
|
|
15594
|
+
L.value = be.map(([Ae, Ve]) => Ve);
|
|
15593
15595
|
}
|
|
15594
|
-
const
|
|
15596
|
+
const B = () => {
|
|
15595
15597
|
var I;
|
|
15596
15598
|
let S;
|
|
15597
15599
|
f && C.value === "table" ? S = window.updateConfig : S = (I = a(s)) == null ? void 0 : I.refreshData, typeof S == "function" && S();
|
|
@@ -15605,10 +15607,10 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15605
15607
|
variableConditions: Ht(((S = a(m)) == null ? void 0 : S.variableList) || [], b)
|
|
15606
15608
|
});
|
|
15607
15609
|
};
|
|
15608
|
-
en(Ya,
|
|
15610
|
+
en(Ya, B), Le(
|
|
15609
15611
|
m,
|
|
15610
15612
|
() => {
|
|
15611
|
-
z() ||
|
|
15613
|
+
z() || B();
|
|
15612
15614
|
},
|
|
15613
15615
|
{
|
|
15614
15616
|
deep: !0,
|
|
@@ -15628,7 +15630,7 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15628
15630
|
};
|
|
15629
15631
|
Ze(async () => {
|
|
15630
15632
|
E.value && (await ee(), setTimeout(() => {
|
|
15631
|
-
|
|
15633
|
+
B();
|
|
15632
15634
|
}, 0));
|
|
15633
15635
|
});
|
|
15634
15636
|
const $ = () => a(s).getSaveData(), D = ({ type: S, data: I }) => {
|
|
@@ -15661,7 +15663,7 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15661
15663
|
componentRef: s,
|
|
15662
15664
|
pivotTableWrapRef: u,
|
|
15663
15665
|
type: C,
|
|
15664
|
-
isGroupTable:
|
|
15666
|
+
isGroupTable: V,
|
|
15665
15667
|
isPivotTable: E,
|
|
15666
15668
|
isIframeMode: O,
|
|
15667
15669
|
component: y,
|
|
@@ -15672,7 +15674,7 @@ const Jf = /* @__PURE__ */ Ce(qf, [["render", Qf]]), Zf = ve({
|
|
|
15672
15674
|
dataConfigPaneRef: o,
|
|
15673
15675
|
asyncTableComponent: n,
|
|
15674
15676
|
pageConfig: _,
|
|
15675
|
-
refreshData:
|
|
15677
|
+
refreshData: B,
|
|
15676
15678
|
refreshAction: F,
|
|
15677
15679
|
onChange: R,
|
|
15678
15680
|
onPivotTableChange: D
|
|
@@ -15706,7 +15708,7 @@ function nm(e, t, n, o, l, r) {
|
|
|
15706
15708
|
p(b)
|
|
15707
15709
|
]),
|
|
15708
15710
|
default: v(() => [
|
|
15709
|
-
|
|
15711
|
+
P(" 刷新 ")
|
|
15710
15712
|
]),
|
|
15711
15713
|
_: 1
|
|
15712
15714
|
}, 8, ["onClick"])
|
|
@@ -15808,8 +15810,8 @@ function nm(e, t, n, o, l, r) {
|
|
|
15808
15810
|
], 64)) : X("", !0)
|
|
15809
15811
|
], 2);
|
|
15810
15812
|
}
|
|
15811
|
-
const bm = /* @__PURE__ */
|
|
15813
|
+
const bm = /* @__PURE__ */ _e(Zf, [["render", nm], ["__scopeId", "data-v-a1aff0b4"]]);
|
|
15812
15814
|
export {
|
|
15813
15815
|
bm as default
|
|
15814
15816
|
};
|
|
15815
|
-
//# sourceMappingURL=index-
|
|
15817
|
+
//# sourceMappingURL=index-fadf33e3.mjs.map
|