@byteluck-fe/runtime-engine 7.0.0-beta.10 → 7.0.0-beta.11
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/runtime-engine.js
CHANGED
|
@@ -10349,7 +10349,7 @@ const ui = () => {
|
|
|
10349
10349
|
let r = !1;
|
|
10350
10350
|
return r = et.isPc(), window.location.pathname.indexOf("/mobile/preview") > -1 && (r = !1), r;
|
|
10351
10351
|
}, Qte = () => window.navigator.userAgent.match(/(iPhone)/i);
|
|
10352
|
-
function
|
|
10352
|
+
function Pt(r, e, t, n = 1) {
|
|
10353
10353
|
et.isPc() ? r === "success" ? Te.config.globalProperties.$message.success({
|
|
10354
10354
|
content: e,
|
|
10355
10355
|
duration: n,
|
|
@@ -18683,7 +18683,7 @@ ct.Node = Hse;
|
|
|
18683
18683
|
zse.registerPostcss(ct);
|
|
18684
18684
|
var YF = ct;
|
|
18685
18685
|
ct.default = ct;
|
|
18686
|
-
const
|
|
18686
|
+
const bt = /* @__PURE__ */ Jd(YF);
|
|
18687
18687
|
var vS = { exports: {} }, gS = { exports: {} }, yS = { exports: {} }, mS = { exports: {} }, _S = { exports: {} }, bS = { exports: {} }, tn = {}, SS = { exports: {} };
|
|
18688
18688
|
(function(r, e) {
|
|
18689
18689
|
e.__esModule = !0, e.default = a;
|
|
@@ -20808,36 +20808,36 @@ nt.isPseudo = void 0;
|
|
|
20808
20808
|
nt.isPseudoClass = Nue;
|
|
20809
20809
|
nt.isPseudoElement = p$;
|
|
20810
20810
|
nt.isUniversal = nt.isTag = nt.isString = nt.isSelector = nt.isRoot = void 0;
|
|
20811
|
-
var
|
|
20811
|
+
var wt = Ge, Vr, Cue = (Vr = {}, Vr[wt.ATTRIBUTE] = !0, Vr[wt.CLASS] = !0, Vr[wt.COMBINATOR] = !0, Vr[wt.COMMENT] = !0, Vr[wt.ID] = !0, Vr[wt.NESTING] = !0, Vr[wt.PSEUDO] = !0, Vr[wt.ROOT] = !0, Vr[wt.SELECTOR] = !0, Vr[wt.STRING] = !0, Vr[wt.TAG] = !0, Vr[wt.UNIVERSAL] = !0, Vr);
|
|
20812
20812
|
function uP(r) {
|
|
20813
20813
|
return typeof r == "object" && Cue[r.type];
|
|
20814
20814
|
}
|
|
20815
20815
|
function kn(r, e) {
|
|
20816
20816
|
return uP(e) && e.type === r;
|
|
20817
20817
|
}
|
|
20818
|
-
var f$ = kn.bind(null,
|
|
20818
|
+
var f$ = kn.bind(null, wt.ATTRIBUTE);
|
|
20819
20819
|
nt.isAttribute = f$;
|
|
20820
|
-
var Aue = kn.bind(null,
|
|
20820
|
+
var Aue = kn.bind(null, wt.CLASS);
|
|
20821
20821
|
nt.isClassName = Aue;
|
|
20822
|
-
var Eue = kn.bind(null,
|
|
20822
|
+
var Eue = kn.bind(null, wt.COMBINATOR);
|
|
20823
20823
|
nt.isCombinator = Eue;
|
|
20824
|
-
var Iue = kn.bind(null,
|
|
20824
|
+
var Iue = kn.bind(null, wt.COMMENT);
|
|
20825
20825
|
nt.isComment = Iue;
|
|
20826
|
-
var Due = kn.bind(null,
|
|
20826
|
+
var Due = kn.bind(null, wt.ID);
|
|
20827
20827
|
nt.isIdentifier = Due;
|
|
20828
|
-
var Oue = kn.bind(null,
|
|
20828
|
+
var Oue = kn.bind(null, wt.NESTING);
|
|
20829
20829
|
nt.isNesting = Oue;
|
|
20830
|
-
var cP = kn.bind(null,
|
|
20830
|
+
var cP = kn.bind(null, wt.PSEUDO);
|
|
20831
20831
|
nt.isPseudo = cP;
|
|
20832
|
-
var Mue = kn.bind(null,
|
|
20832
|
+
var Mue = kn.bind(null, wt.ROOT);
|
|
20833
20833
|
nt.isRoot = Mue;
|
|
20834
|
-
var Lue = kn.bind(null,
|
|
20834
|
+
var Lue = kn.bind(null, wt.SELECTOR);
|
|
20835
20835
|
nt.isSelector = Lue;
|
|
20836
|
-
var Rue = kn.bind(null,
|
|
20836
|
+
var Rue = kn.bind(null, wt.STRING);
|
|
20837
20837
|
nt.isString = Rue;
|
|
20838
|
-
var d$ = kn.bind(null,
|
|
20838
|
+
var d$ = kn.bind(null, wt.TAG);
|
|
20839
20839
|
nt.isTag = d$;
|
|
20840
|
-
var kue = kn.bind(null,
|
|
20840
|
+
var kue = kn.bind(null, wt.UNIVERSAL);
|
|
20841
20841
|
nt.isUniversal = kue;
|
|
20842
20842
|
function p$(r) {
|
|
20843
20843
|
return cP(r) && r.value && (r.value.startsWith("::") || r.value.toLowerCase() === ":before" || r.value.toLowerCase() === ":after" || r.value.toLowerCase() === ":first-letter" || r.value.toLowerCase() === ":first-line");
|
|
@@ -21089,30 +21089,30 @@ jx.exports = (r = {}) => {
|
|
|
21089
21089
|
jx.exports.postcss = !0;
|
|
21090
21090
|
var jue = jx.exports;
|
|
21091
21091
|
const Xue = /* @__PURE__ */ Jd(jue);
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
|
|
21095
|
-
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
|
|
21112
|
-
|
|
21113
|
-
|
|
21114
|
-
|
|
21115
|
-
|
|
21092
|
+
bt.stringify;
|
|
21093
|
+
bt.fromJSON;
|
|
21094
|
+
bt.plugin;
|
|
21095
|
+
bt.parse;
|
|
21096
|
+
bt.list;
|
|
21097
|
+
bt.document;
|
|
21098
|
+
bt.comment;
|
|
21099
|
+
bt.atRule;
|
|
21100
|
+
bt.rule;
|
|
21101
|
+
bt.decl;
|
|
21102
|
+
bt.root;
|
|
21103
|
+
bt.CssSyntaxError;
|
|
21104
|
+
bt.Declaration;
|
|
21105
|
+
bt.Container;
|
|
21106
|
+
bt.Processor;
|
|
21107
|
+
bt.Document;
|
|
21108
|
+
bt.Comment;
|
|
21109
|
+
bt.Warning;
|
|
21110
|
+
bt.AtRule;
|
|
21111
|
+
bt.Result;
|
|
21112
|
+
bt.Input;
|
|
21113
|
+
bt.Rule;
|
|
21114
|
+
bt.Root;
|
|
21115
|
+
bt.Node;
|
|
21116
21116
|
class _$ {
|
|
21117
21117
|
pluginName = "CustomVueControlPlugin";
|
|
21118
21118
|
engine;
|
|
@@ -21161,7 +21161,7 @@ class _$ {
|
|
|
21161
21161
|
}
|
|
21162
21162
|
})
|
|
21163
21163
|
);
|
|
21164
|
-
const u =
|
|
21164
|
+
const u = bt(l).process(
|
|
21165
21165
|
n.style.source,
|
|
21166
21166
|
{ from: void 0 }
|
|
21167
21167
|
).css;
|
|
@@ -21854,7 +21854,7 @@ class T$ {
|
|
|
21854
21854
|
});
|
|
21855
21855
|
this.updateStore(_, g);
|
|
21856
21856
|
} else
|
|
21857
|
-
|
|
21857
|
+
Pt(
|
|
21858
21858
|
"fail",
|
|
21859
21859
|
v?.message ?? te("LRT.message.fillingFailed")
|
|
21860
21860
|
);
|
|
@@ -23378,7 +23378,7 @@ class N$ {
|
|
|
23378
23378
|
}
|
|
23379
23379
|
async handlerFormSubmit(e) {
|
|
23380
23380
|
if (this.engine.isMounted === !1) {
|
|
23381
|
-
|
|
23381
|
+
Pt("fail", te("LRT.common.hasError")), e.options?.changeSubmitStatus("reset");
|
|
23382
23382
|
return;
|
|
23383
23383
|
}
|
|
23384
23384
|
const t = e.options?.type, n = this.engine.externalParams.data?.form_process_param?.draft, a = t === "saveAs", i = !!this.uId;
|
|
@@ -23415,7 +23415,7 @@ class N$ {
|
|
|
23415
23415
|
l
|
|
23416
23416
|
) ?? o;
|
|
23417
23417
|
if (f === !1)
|
|
23418
|
-
return e.options?.
|
|
23418
|
+
return e.options?.changeSubmitStatus("reset"), { data: {} };
|
|
23419
23419
|
{
|
|
23420
23420
|
const d = Ct();
|
|
23421
23421
|
let p = {
|
|
@@ -26362,7 +26362,7 @@ function Yy(r, e, t) {
|
|
|
26362
26362
|
(_) => _.key === f.key
|
|
26363
26363
|
).length && f.key)
|
|
26364
26364
|
if (y.length >= 20) {
|
|
26365
|
-
|
|
26365
|
+
Pt("warning", te("LRT.message.appLauncherTabTip"));
|
|
26366
26366
|
return;
|
|
26367
26367
|
} else {
|
|
26368
26368
|
if (!f.formKey) {
|
|
@@ -26449,7 +26449,7 @@ function Ude(r, e, t) {
|
|
|
26449
26449
|
});
|
|
26450
26450
|
if (y.code === Ke.SUCCESS)
|
|
26451
26451
|
return y.data;
|
|
26452
|
-
|
|
26452
|
+
Pt("fail", y?.message ?? "");
|
|
26453
26453
|
}, h = async () => {
|
|
26454
26454
|
const g = await p() || "";
|
|
26455
26455
|
if (!g)
|
|
@@ -28654,33 +28654,33 @@ function qye(r) {
|
|
|
28654
28654
|
return e = e % 43, e;
|
|
28655
28655
|
}
|
|
28656
28656
|
im.CODE39 = Bye;
|
|
28657
|
-
var xa = {}, IP = {}, uc = {},
|
|
28658
|
-
Object.defineProperty(
|
|
28657
|
+
var xa = {}, IP = {}, uc = {}, St = {};
|
|
28658
|
+
Object.defineProperty(St, "__esModule", {
|
|
28659
28659
|
value: !0
|
|
28660
28660
|
});
|
|
28661
28661
|
var Fc;
|
|
28662
28662
|
function X0(r, e, t) {
|
|
28663
28663
|
return e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
28664
28664
|
}
|
|
28665
|
-
var hq =
|
|
28666
|
-
|
|
28667
|
-
var Gye =
|
|
28668
|
-
|
|
28669
|
-
|
|
28670
|
-
|
|
28671
|
-
|
|
28672
|
-
|
|
28665
|
+
var hq = St.SET_A = 0, vq = St.SET_B = 1, gq = St.SET_C = 2;
|
|
28666
|
+
St.SHIFT = 98;
|
|
28667
|
+
var Gye = St.START_A = 103, zye = St.START_B = 104, Uye = St.START_C = 105;
|
|
28668
|
+
St.MODULO = 103;
|
|
28669
|
+
St.STOP = 106;
|
|
28670
|
+
St.FNC1 = 207;
|
|
28671
|
+
St.SET_BY_CODE = (Fc = {}, X0(Fc, Gye, hq), X0(Fc, zye, vq), X0(Fc, Uye, gq), Fc);
|
|
28672
|
+
St.SWAP = {
|
|
28673
28673
|
101: hq,
|
|
28674
28674
|
100: vq,
|
|
28675
28675
|
99: gq
|
|
28676
28676
|
};
|
|
28677
|
-
|
|
28678
|
-
|
|
28679
|
-
|
|
28680
|
-
|
|
28681
|
-
|
|
28682
|
-
|
|
28683
|
-
|
|
28677
|
+
St.A_START_CHAR = String.fromCharCode(208);
|
|
28678
|
+
St.B_START_CHAR = String.fromCharCode(209);
|
|
28679
|
+
St.C_START_CHAR = String.fromCharCode(210);
|
|
28680
|
+
St.A_CHARS = "[\0-_È-Ï]";
|
|
28681
|
+
St.B_CHARS = "[ -È-Ï]";
|
|
28682
|
+
St.C_CHARS = "(Ï*[0-9]{2}Ï*)";
|
|
28683
|
+
St.BARS = [11011001100, 11001101100, 11001100110, 10010011e3, 10010001100, 10001001100, 10011001e3, 10011000100, 10001100100, 11001001e3, 11001000100, 11000100100, 10110011100, 10011011100, 10011001110, 10111001100, 10011101100, 10011100110, 11001110010, 11001011100, 11001001110, 11011100100, 11001110100, 11101101110, 11101001100, 11100101100, 11100100110, 11101100100, 11100110100, 11100110010, 11011011e3, 11011000110, 11000110110, 10100011e3, 10001011e3, 10001000110, 10110001e3, 10001101e3, 10001100010, 11010001e3, 11000101e3, 11000100010, 10110111e3, 10110001110, 10001101110, 10111011e3, 10111000110, 10001110110, 11101110110, 11010001110, 11000101110, 11011101e3, 11011100010, 11011101110, 11101011e3, 11101000110, 11100010110, 11101101e3, 11101100010, 11100011010, 11101111010, 11001000010, 11110001010, 1010011e4, 10100001100, 1001011e4, 10010000110, 10000101100, 10000100110, 1011001e4, 10110000100, 1001101e4, 10011000010, 10000110100, 10000110010, 11000010010, 1100101e4, 11110111010, 11000010100, 10001111010, 10100111100, 10010111100, 10010011110, 10111100100, 10011110100, 10011110010, 11110100100, 11110010100, 11110010010, 11011011110, 11011110110, 11110110110, 10101111e3, 10100011110, 10001011110, 10111101e3, 10111100010, 11110101e3, 11110100010, 10111011110, 10111101110, 11101011110, 11110101110, 11010000100, 1101001e4, 11010011100, 1100011101011];
|
|
28684
28684
|
Object.defineProperty(uc, "__esModule", {
|
|
28685
28685
|
value: !0
|
|
28686
28686
|
});
|
|
@@ -28694,7 +28694,7 @@ var Hye = function() {
|
|
|
28694
28694
|
return function(e, t, n) {
|
|
28695
28695
|
return t && r(e.prototype, t), n && r(e, n), e;
|
|
28696
28696
|
};
|
|
28697
|
-
}(), Wye = Br, jye = Xye(Wye), jr =
|
|
28697
|
+
}(), Wye = Br, jye = Xye(Wye), jr = St;
|
|
28698
28698
|
function Xye(r) {
|
|
28699
28699
|
return r && r.__esModule ? r : { default: r };
|
|
28700
28700
|
}
|
|
@@ -28794,7 +28794,7 @@ var DP = {};
|
|
|
28794
28794
|
Object.defineProperty(DP, "__esModule", {
|
|
28795
28795
|
value: !0
|
|
28796
28796
|
});
|
|
28797
|
-
var lo =
|
|
28797
|
+
var lo = St, yq = function(e) {
|
|
28798
28798
|
return e.match(new RegExp("^" + lo.A_CHARS + "*"))[0].length;
|
|
28799
28799
|
}, mq = function(e) {
|
|
28800
28800
|
return e.match(new RegExp("^" + lo.B_CHARS + "*"))[0].length;
|
|
@@ -28879,7 +28879,7 @@ var ome = function() {
|
|
|
28879
28879
|
return function(e, t, n) {
|
|
28880
28880
|
return t && r(e.prototype, t), n && r(e, n), e;
|
|
28881
28881
|
};
|
|
28882
|
-
}(), sme = uc, lme = ume(sme), kD =
|
|
28882
|
+
}(), sme = uc, lme = ume(sme), kD = St;
|
|
28883
28883
|
function ume(r) {
|
|
28884
28884
|
return r && r.__esModule ? r : { default: r };
|
|
28885
28885
|
}
|
|
@@ -28924,7 +28924,7 @@ var hme = function() {
|
|
|
28924
28924
|
return function(e, t, n) {
|
|
28925
28925
|
return t && r(e.prototype, t), n && r(e, n), e;
|
|
28926
28926
|
};
|
|
28927
|
-
}(), vme = uc, gme = yme(vme), ND =
|
|
28927
|
+
}(), vme = uc, gme = yme(vme), ND = St;
|
|
28928
28928
|
function yme(r) {
|
|
28929
28929
|
return r && r.__esModule ? r : { default: r };
|
|
28930
28930
|
}
|
|
@@ -28969,7 +28969,7 @@ var wme = function() {
|
|
|
28969
28969
|
return function(e, t, n) {
|
|
28970
28970
|
return t && r(e.prototype, t), n && r(e, n), e;
|
|
28971
28971
|
};
|
|
28972
|
-
}(), Tme = uc, xme = Pme(Tme), BD =
|
|
28972
|
+
}(), Tme = uc, xme = Pme(Tme), BD = St;
|
|
28973
28973
|
function Pme(r) {
|
|
28974
28974
|
return r && r.__esModule ? r : { default: r };
|
|
28975
28975
|
}
|
|
@@ -35183,7 +35183,7 @@ function xm(r, e, t) {
|
|
|
35183
35183
|
function EG(r, e) {
|
|
35184
35184
|
xm("log", r, e);
|
|
35185
35185
|
}
|
|
35186
|
-
function
|
|
35186
|
+
function Tt(r, e) {
|
|
35187
35187
|
xm("warn", r, e);
|
|
35188
35188
|
}
|
|
35189
35189
|
function Ve(r, e) {
|
|
@@ -35369,7 +35369,7 @@ function jt(r, e) {
|
|
|
35369
35369
|
return r == null ? e : ae(r) ? r : Fe(r) || vg(r) ? r + "" : e;
|
|
35370
35370
|
}
|
|
35371
35371
|
function LO(r) {
|
|
35372
|
-
process.env.NODE_ENV !== "production" &&
|
|
35372
|
+
process.env.NODE_ENV !== "production" && Tt("`" + r + "` is invalid id or name. Must be a string or number.");
|
|
35373
35373
|
}
|
|
35374
35374
|
function RO(r) {
|
|
35375
35375
|
return vg(r) || bC(r);
|
|
@@ -35479,7 +35479,7 @@ function wC(r, e) {
|
|
|
35479
35479
|
others: i
|
|
35480
35480
|
};
|
|
35481
35481
|
}
|
|
35482
|
-
var
|
|
35482
|
+
var xt = {
|
|
35483
35483
|
useDefault: !0,
|
|
35484
35484
|
enableAll: !1,
|
|
35485
35485
|
enableNone: !1
|
|
@@ -35489,7 +35489,7 @@ var Pt = {
|
|
|
35489
35489
|
enableNone: !0
|
|
35490
35490
|
};
|
|
35491
35491
|
function gc(r, e, t, n) {
|
|
35492
|
-
n = n ||
|
|
35492
|
+
n = n || xt;
|
|
35493
35493
|
var a = t.index, i = t.id, o = t.name, s = {
|
|
35494
35494
|
models: null,
|
|
35495
35495
|
specified: a != null || i != null || o != null
|
|
@@ -39632,7 +39632,7 @@ function yp(r) {
|
|
|
39632
39632
|
return u ? (s === Sa.dataCoordSys ? (process.env.NODE_ENV !== "production" && ue(e.mainType === "series"), e.coordinateSystem = u) : e.boxCoordinateSystem = u, !0) : (process.env.NODE_ENV !== "production" && (i || Ve(t + " cannot be found for" + (" " + e.type + " (index: " + e.componentIndex + ")."))), !1);
|
|
39633
39633
|
}
|
|
39634
39634
|
var Yz = function(r, e) {
|
|
39635
|
-
var t = e.getReferringComponents(r,
|
|
39635
|
+
var t = e.getReferringComponents(r, xt).models[0];
|
|
39636
39636
|
return t && t.coordinateSystem;
|
|
39637
39637
|
}, Gv = D, Kz = ["left", "right", "top", "bottom", "width", "height"], Es = [["width", "left", "right"], ["height", "top", "bottom"]];
|
|
39638
39638
|
function YC(r, e, t, n, a) {
|
|
@@ -40152,13 +40152,13 @@ function ZC(r) {
|
|
|
40152
40152
|
return gc(r.ecModel, "dataset", {
|
|
40153
40153
|
index: r.get("datasetIndex", !0),
|
|
40154
40154
|
id: r.get("datasetId", !0)
|
|
40155
|
-
},
|
|
40155
|
+
}, xt).models[0];
|
|
40156
40156
|
}
|
|
40157
40157
|
function PCe(r) {
|
|
40158
40158
|
return !r.get("transform", !0) && !r.get("fromTransformResult", !0) ? [] : gc(r.ecModel, "dataset", {
|
|
40159
40159
|
index: r.get("fromDatasetIndex", !0),
|
|
40160
40160
|
id: r.get("fromDatasetId", !0)
|
|
40161
|
-
},
|
|
40161
|
+
}, xt).models;
|
|
40162
40162
|
}
|
|
40163
40163
|
function oU(r, e) {
|
|
40164
40164
|
return sU(r.data, r.sourceFormat, r.seriesLayoutBy, r.dimensionsDefine, r.startIndex, e);
|
|
@@ -40408,7 +40408,7 @@ echarts.use([` + I + "]);" : "Unknown series " + A));
|
|
|
40408
40408
|
}
|
|
40409
40409
|
if (f === "tooltip") {
|
|
40410
40410
|
if (_) {
|
|
40411
|
-
process.env.NODE_ENV !== "production" && (b || (
|
|
40411
|
+
process.env.NODE_ENV !== "production" && (b || (Tt("Currently only one tooltip component is allowed."), b = !0));
|
|
40412
40412
|
return;
|
|
40413
40413
|
}
|
|
40414
40414
|
_ = !0;
|
|
@@ -44580,16 +44580,16 @@ var ns, J_, Ih, Qa, Dh, Q_, eb, Gl, zl, mL, _L, tb, bL, Oh, SL, dn, wL, Ul, rIe
|
|
|
44580
44580
|
i = i || !!c.containPoint(n);
|
|
44581
44581
|
else if (l === "seriesModels") {
|
|
44582
44582
|
var f = this._chartsMap[u.__viewId];
|
|
44583
|
-
f && f.containPoint ? i = i || f.containPoint(n, u) : process.env.NODE_ENV !== "production" &&
|
|
44583
|
+
f && f.containPoint ? i = i || f.containPoint(n, u) : process.env.NODE_ENV !== "production" && Tt(l + ": " + (f ? "The found component do not support containPoint." : "No view mapping to the found component."));
|
|
44584
44584
|
} else
|
|
44585
|
-
process.env.NODE_ENV !== "production" &&
|
|
44585
|
+
process.env.NODE_ENV !== "production" && Tt(l + ": containPoint is not supported");
|
|
44586
44586
|
}, this);
|
|
44587
44587
|
}, this), !!i;
|
|
44588
44588
|
}, e.prototype.getVisual = function(t, n) {
|
|
44589
44589
|
var a = this._model, i = wu(a, t, {
|
|
44590
44590
|
defaultMainType: "series"
|
|
44591
44591
|
}), o = i.seriesModel;
|
|
44592
|
-
process.env.NODE_ENV !== "production" && (o ||
|
|
44592
|
+
process.env.NODE_ENV !== "production" && (o || Tt("There is no specified series model"));
|
|
44593
44593
|
var s = o.getData(), l = i.hasOwnProperty("dataIndexInside") ? i.dataIndexInside : i.hasOwnProperty("dataIndex") ? s.indexOfRawIndex(i.dataIndex) : null;
|
|
44594
44594
|
return l != null ? iA(s, l, n) : mp(s, n);
|
|
44595
44595
|
}, e.prototype.getViewOfComponentModel = function(t) {
|
|
@@ -44612,7 +44612,7 @@ var ns, J_, Ih, Qa, Dh, Q_, eb, Gl, zl, mL, _L, tb, bL, Oh, SL, dn, wL, Ul, rIe
|
|
|
44612
44612
|
var f = u.componentType, d = u.componentIndex;
|
|
44613
44613
|
(f === "markLine" || f === "markPoint" || f === "markArea") && (f = "series", d = u.seriesIndex);
|
|
44614
44614
|
var p = f && d != null && s.getComponent(f, d), h = p && t[p.mainType === "series" ? "_chartsMap" : "_componentsMap"][p.__viewId];
|
|
44615
|
-
process.env.NODE_ENV !== "production" && !c && !(p && h) &&
|
|
44615
|
+
process.env.NODE_ENV !== "production" && !c && !(p && h) && Tt("model or view can not be found by params"), u.event = o, u.type = a, t._$eventProcessor.eventInfo = {
|
|
44616
44616
|
targetEl: l,
|
|
44617
44617
|
packedEvent: u,
|
|
44618
44618
|
model: p,
|
|
@@ -44685,7 +44685,7 @@ var ns, J_, Ih, Qa, Dh, Q_, eb, Gl, zl, mL, _L, tb, bL, Oh, SL, dn, wL, Ul, rIe
|
|
|
44685
44685
|
return;
|
|
44686
44686
|
}
|
|
44687
44687
|
if (ye(t) && (n = t, t = ""), t = t || "default", this.hideLoading(), !dT[t]) {
|
|
44688
|
-
process.env.NODE_ENV !== "production" &&
|
|
44688
|
+
process.env.NODE_ENV !== "production" && Tt("Loading effects " + t + " not exists.");
|
|
44689
44689
|
return;
|
|
44690
44690
|
}
|
|
44691
44691
|
var a = dT[t](this._api, n), i = this._zr;
|
|
@@ -44887,7 +44887,7 @@ var ns, J_, Ih, Qa, Dh, Q_, eb, Gl, zl, mL, _L, tb, bL, Oh, SL, dn, wL, Ul, rIe
|
|
|
44887
44887
|
if (S[d] && (m = S[d](g, _, h, v)) != null)
|
|
44888
44888
|
return m;
|
|
44889
44889
|
}
|
|
44890
|
-
process.env.NODE_ENV !== "production" &&
|
|
44890
|
+
process.env.NODE_ENV !== "production" && Tt("No coordinate system that supports " + d + " found by the given finder.");
|
|
44891
44891
|
}
|
|
44892
44892
|
Dh = t, Q_ = function(f, d) {
|
|
44893
44893
|
var p = f._chartsMap, h = f._scheduler;
|
|
@@ -45150,7 +45150,7 @@ lA.one = function(r, e, t) {
|
|
|
45150
45150
|
};
|
|
45151
45151
|
var nIe = ["click", "dblclick", "mouseover", "mouseout", "mousemove", "mousedown", "mouseup", "globalout", "contextmenu"];
|
|
45152
45152
|
function $r(r) {
|
|
45153
|
-
process.env.NODE_ENV !== "production" &&
|
|
45153
|
+
process.env.NODE_ENV !== "production" && Tt("Instance " + r + " has been disposed");
|
|
45154
45154
|
}
|
|
45155
45155
|
var zg = {}, lT = {}, uT = {}, cT = [], fT = [], Ug = [], o3 = {}, dT = {}, TL = {}, aIe = {}, iIe = "_echarts_instance_";
|
|
45156
45156
|
function s3(r, e) {
|
|
@@ -45995,7 +45995,7 @@ function IIe(r) {
|
|
|
45995
45995
|
}
|
|
45996
45996
|
var DIe = {
|
|
45997
45997
|
cartesian2d: function(r, e, t, n) {
|
|
45998
|
-
var a = r.getReferringComponents("xAxis",
|
|
45998
|
+
var a = r.getReferringComponents("xAxis", xt).models[0], i = r.getReferringComponents("yAxis", xt).models[0];
|
|
45999
45999
|
if (process.env.NODE_ENV !== "production") {
|
|
46000
46000
|
if (!a)
|
|
46001
46001
|
throw new Error('xAxis "' + Wt(r.get("xAxisIndex"), r.get("xAxisId"), 0) + '" not found');
|
|
@@ -46005,13 +46005,13 @@ var DIe = {
|
|
|
46005
46005
|
e.coordSysDims = ["x", "y"], t.set("x", a), t.set("y", i), Wl(a) && (n.set("x", a), e.firstCategoryDimIndex = 0), Wl(i) && (n.set("y", i), e.firstCategoryDimIndex == null && (e.firstCategoryDimIndex = 1));
|
|
46006
46006
|
},
|
|
46007
46007
|
singleAxis: function(r, e, t, n) {
|
|
46008
|
-
var a = r.getReferringComponents("singleAxis",
|
|
46008
|
+
var a = r.getReferringComponents("singleAxis", xt).models[0];
|
|
46009
46009
|
if (process.env.NODE_ENV !== "production" && !a)
|
|
46010
46010
|
throw new Error("singleAxis should be specified.");
|
|
46011
46011
|
e.coordSysDims = ["single"], t.set("single", a), Wl(a) && (n.set("single", a), e.firstCategoryDimIndex = 0);
|
|
46012
46012
|
},
|
|
46013
46013
|
polar: function(r, e, t, n) {
|
|
46014
|
-
var a = r.getReferringComponents("polar",
|
|
46014
|
+
var a = r.getReferringComponents("polar", xt).models[0], i = a.findAxisModel("radiusAxis"), o = a.findAxisModel("angleAxis");
|
|
46015
46015
|
if (process.env.NODE_ENV !== "production") {
|
|
46016
46016
|
if (!o)
|
|
46017
46017
|
throw new Error("angleAxis option not found");
|
|
@@ -46031,7 +46031,7 @@ var DIe = {
|
|
|
46031
46031
|
});
|
|
46032
46032
|
},
|
|
46033
46033
|
matrix: function(r, e, t, n) {
|
|
46034
|
-
var a = r.getReferringComponents("matrix",
|
|
46034
|
+
var a = r.getReferringComponents("matrix", xt).models[0];
|
|
46035
46035
|
if (process.env.NODE_ENV !== "production" && !a)
|
|
46036
46036
|
throw new Error("matrix coordinate system should be specified.");
|
|
46037
46037
|
e.coordSysDims = ["x", "y"];
|
|
@@ -46831,7 +46831,7 @@ function rDe(r, e, t, n, a, i) {
|
|
|
46831
46831
|
if (N.push({
|
|
46832
46832
|
value: B
|
|
46833
46833
|
}), l++ > o) {
|
|
46834
|
-
process.env.NODE_ENV !== "production" &&
|
|
46834
|
+
process.env.NODE_ENV !== "production" && Tt("Exceed safe limit in time scale.");
|
|
46835
46835
|
break;
|
|
46836
46836
|
}
|
|
46837
46837
|
if (F[k](F[M]() + E), B = F.getTime(), i) {
|
|
@@ -51146,7 +51146,7 @@ var vMe = (
|
|
|
51146
51146
|
return e.prototype.render = function(t, n, a, i) {
|
|
51147
51147
|
this._model = t, this._removeOnRenderedListener(a), this._updateDrawMode(t);
|
|
51148
51148
|
var o = t.get("coordinateSystem");
|
|
51149
|
-
o === "cartesian2d" || o === "polar" ? (this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(t, n, a) : this._renderNormal(t, n, a, i)) : process.env.NODE_ENV !== "production" &&
|
|
51149
|
+
o === "cartesian2d" || o === "polar" ? (this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(t, n, a) : this._renderNormal(t, n, a, i)) : process.env.NODE_ENV !== "production" && Tt("Only cartesian2d and polar supported for bar.");
|
|
51150
51150
|
}, e.prototype.incrementalPrepareRender = function(t) {
|
|
51151
51151
|
this._clear(), this._updateDrawMode(t), this._updateLargeClip(t);
|
|
51152
51152
|
}, e.prototype.incrementalRender = function(t, n) {
|
|
@@ -51369,7 +51369,7 @@ var vMe = (
|
|
|
51369
51369
|
};
|
|
51370
51370
|
function gMe(r, e) {
|
|
51371
51371
|
var t = r.get("realtimeSort", !0), n = e.getBaseAxis();
|
|
51372
|
-
if (process.env.NODE_ENV !== "production" && t && (n.type !== "category" &&
|
|
51372
|
+
if (process.env.NODE_ENV !== "production" && t && (n.type !== "category" && Tt("`realtimeSort` will not work because this bar series is not based on a category axis."), e.type !== "cartesian2d" && Tt("`realtimeSort` will not work because this bar series is not on cartesian2d.")), t && n.type === "category" && e.type === "cartesian2d")
|
|
51373
51373
|
return {
|
|
51374
51374
|
baseAxis: n,
|
|
51375
51375
|
otherAxis: e.getOtherAxis(n)
|
|
@@ -52497,7 +52497,7 @@ var PT = (
|
|
|
52497
52497
|
return r !== null && r.apply(this, arguments) || this;
|
|
52498
52498
|
}
|
|
52499
52499
|
return e.prototype.getCoordSysModel = function() {
|
|
52500
|
-
return this.getReferringComponents("grid",
|
|
52500
|
+
return this.getReferringComponents("grid", xt).models[0];
|
|
52501
52501
|
}, e.type = "cartesian2dAxis", e;
|
|
52502
52502
|
}(Be)
|
|
52503
52503
|
);
|
|
@@ -53443,7 +53443,7 @@ function ER(r) {
|
|
|
53443
53443
|
yAxisModel: null
|
|
53444
53444
|
};
|
|
53445
53445
|
return D(e, function(t, n) {
|
|
53446
|
-
var a = n.replace(/Model$/, ""), i = r.getReferringComponents(a,
|
|
53446
|
+
var a = n.replace(/Model$/, ""), i = r.getReferringComponents(a, xt).models[0];
|
|
53447
53447
|
if (process.env.NODE_ENV !== "production" && !i)
|
|
53448
53448
|
throw new Error(a + ' "' + Ir(r.get(a + "Index"), r.get(a + "Id"), 0) + '" not found');
|
|
53449
53449
|
e[n] = i;
|
|
@@ -53493,7 +53493,7 @@ function z5(r, e, t) {
|
|
|
53493
53493
|
var _ = (i[0].value - o[0].value) / l, b = (i[s].value - o[s].value) / l;
|
|
53494
53494
|
if (a.setExtent.call(r, v + h * _, g + h * b), a.setInterval.call(r, h), (_ || b) && a.setNiceExtent.call(r, v + h, g - h), process.env.NODE_ENV !== "production") {
|
|
53495
53495
|
var S = a.getTicks.call(r);
|
|
53496
|
-
S[1] && (!BIe(h) || Iw(S[1].value) > Iw(h)) &&
|
|
53496
|
+
S[1] && (!BIe(h) || Iw(S[1].value) > Iw(h)) && Tt("The ticks may be not readable when set min: " + e.get("min") + ", max: " + e.get("max") + (" and alignTicks: true. (" + ((n = e.axis) === null || n === void 0 ? void 0 : n.dim) + "AxisIndex: " + e.componentIndex + ")"), !0);
|
|
53497
53497
|
}
|
|
53498
53498
|
}
|
|
53499
53499
|
var IR = [
|
|
@@ -53570,7 +53570,7 @@ var IR = [
|
|
|
53570
53570
|
var a = this._findConvertTarget(t);
|
|
53571
53571
|
return a.cartesian ? a.cartesian.pointToData(n) : a.axis ? a.axis.coordToData(a.axis.toLocalCoord(n)) : null;
|
|
53572
53572
|
}, r.prototype._findConvertTarget = function(e) {
|
|
53573
|
-
var t = e.seriesModel, n = e.xAxisModel || t && t.getReferringComponents("xAxis",
|
|
53573
|
+
var t = e.seriesModel, n = e.xAxisModel || t && t.getReferringComponents("xAxis", xt).models[0], a = e.yAxisModel || t && t.getReferringComponents("yAxis", xt).models[0], i = e.gridModel, o = this._coordsList, s, l;
|
|
53574
53574
|
if (t)
|
|
53575
53575
|
s = t.coordinateSystem, De(o, s) < 0 && (s = null);
|
|
53576
53576
|
else if (n && a)
|
|
@@ -56357,7 +56357,7 @@ var eke = {
|
|
|
56357
56357
|
}) || this;
|
|
56358
56358
|
i.dimensions = iH, i.type = "geo", i._nameCoordMap = fe(), i.map = n;
|
|
56359
56359
|
var o = a.projection, s = Ci.load(n, a.nameMap, a.nameProperty), l = Ci.getGeoResource(n), u = i.resourceType = l ? l.type : null, c = i.regions = s.regions, f = eke[l.type];
|
|
56360
|
-
i._regionsMap = s.regionsMap, i.regions = s.regions, process.env.NODE_ENV !== "production" && o && (u === "geoSVG" && (process.env.NODE_ENV !== "production" &&
|
|
56360
|
+
i._regionsMap = s.regionsMap, i.regions = s.regions, process.env.NODE_ENV !== "production" && o && (u === "geoSVG" && (process.env.NODE_ENV !== "production" && Tt("Map " + n + " with SVG source can't use projection. Only GeoJSON source supports projection."), o = null), o.project && o.unproject || (process.env.NODE_ENV !== "production" && Tt("project and unproject must be both provided in the projeciton."), o = null)), i.projection = o;
|
|
56361
56361
|
var d;
|
|
56362
56362
|
if (o)
|
|
56363
56363
|
for (var p = 0; p < c.length; p++) {
|
|
@@ -56412,7 +56412,7 @@ var eke = {
|
|
|
56412
56412
|
Gt(oH, Tl);
|
|
56413
56413
|
function ok(r) {
|
|
56414
56414
|
var e = r.geoModel, t = r.seriesModel;
|
|
56415
|
-
return e ? e.coordinateSystem : t ? t.coordinateSystem || (t.getReferringComponents("geo",
|
|
56415
|
+
return e ? e.coordinateSystem : t ? t.coordinateSystem || (t.getReferringComponents("geo", xt).models[0] || {}).coordinateSystem : null;
|
|
56416
56416
|
}
|
|
56417
56417
|
const sk = oH;
|
|
56418
56418
|
function lk(r, e) {
|
|
@@ -56480,7 +56480,7 @@ var rke = (
|
|
|
56480
56480
|
targetModel: o,
|
|
56481
56481
|
coordSysType: "geo",
|
|
56482
56482
|
coordSysProvider: function() {
|
|
56483
|
-
var s = o.subType === "map" ? o.getHostGeoModel() : o.getReferringComponents("geo",
|
|
56483
|
+
var s = o.subType === "map" ? o.getHostGeoModel() : o.getReferringComponents("geo", xt).models[0];
|
|
56484
56484
|
return s && s.coordinateSystem;
|
|
56485
56485
|
},
|
|
56486
56486
|
allowNotFound: !0
|
|
@@ -58590,7 +58590,7 @@ function BT(r) {
|
|
|
58590
58590
|
function vH(r, e) {
|
|
58591
58591
|
return r.visual = e, r.type === "color" && (r.parsedVisual = Z(e, function(t) {
|
|
58592
58592
|
var n = Wr(t);
|
|
58593
|
-
return !n && process.env.NODE_ENV !== "production" &&
|
|
58593
|
+
return !n && process.env.NODE_ENV !== "production" && Tt("'" + t + "' is an illegal color, fallback to '#000000'", !0), n || [0, 0, 0, 1];
|
|
58594
58594
|
})), e;
|
|
58595
58595
|
}
|
|
58596
58596
|
var s2e = {
|
|
@@ -61930,7 +61930,7 @@ function nBe(r, e) {
|
|
|
61930
61930
|
i.name = "parallel_" + a, i.resize(n, e), n.coordinateSystem = i, i.model = n, t.push(i);
|
|
61931
61931
|
}), r.eachSeries(function(n) {
|
|
61932
61932
|
if (n.get("coordinateSystem") === "parallel") {
|
|
61933
|
-
var a = n.getReferringComponents("parallel",
|
|
61933
|
+
var a = n.getReferringComponents("parallel", xt).models[0];
|
|
61934
61934
|
n.coordinateSystem = a.coordinateSystem;
|
|
61935
61935
|
}
|
|
61936
61936
|
}), t;
|
|
@@ -65278,7 +65278,7 @@ var e1 = 2, LFe = (
|
|
|
65278
65278
|
}
|
|
65279
65279
|
return t;
|
|
65280
65280
|
}, e.prototype.getInitialData = function(t, n) {
|
|
65281
|
-
for (var a = this.getReferringComponents("singleAxis",
|
|
65281
|
+
for (var a = this.getReferringComponents("singleAxis", xt).models[0], i = a.get("type"), o = Je(t.data, function(h) {
|
|
65282
65282
|
return h[2] !== void 0;
|
|
65283
65283
|
}), s = this.fixData(o || []), l = [], u = this.nameMap = fe(), c = 0, f = 0; f < s.length; ++f)
|
|
65284
65284
|
l.push(s[f][e1]), u.get(s[f][e1]) || (u.set(s[f][e1], c), c++);
|
|
@@ -66197,7 +66197,7 @@ var ya = {}, p$e = {
|
|
|
66197
66197
|
setStyle: function(r, e) {
|
|
66198
66198
|
process.env.NODE_ENV !== "production" && Jl(r);
|
|
66199
66199
|
var t = ya.el, n = t.style;
|
|
66200
|
-
return n && (process.env.NODE_ENV !== "production" && lr(e) &&
|
|
66200
|
+
return n && (process.env.NODE_ENV !== "production" && lr(e) && Tt("style." + r + " must not be assigned with NaN."), n[r] = e, t.dirtyStyle && t.dirtyStyle()), this;
|
|
66201
66201
|
},
|
|
66202
66202
|
getStyle: function(r) {
|
|
66203
66203
|
process.env.NODE_ENV !== "production" && Jl(r);
|
|
@@ -66316,7 +66316,7 @@ function m$e(r, e) {
|
|
|
66316
66316
|
}
|
|
66317
66317
|
var g4;
|
|
66318
66318
|
process.env.NODE_ENV !== "production" && (g4 = function(r, e) {
|
|
66319
|
-
le(cy, r) ||
|
|
66319
|
+
le(cy, r) || Tt("Prop `" + r + "` is not a permitted in `" + e + "`. Only `" + Ne(cy).join("`, `") + "` are permitted.");
|
|
66320
66320
|
});
|
|
66321
66321
|
var y4 = Re(), _$e = ["percent", "easing", "shape", "style", "extra"];
|
|
66322
66322
|
function m4(r) {
|
|
@@ -66359,7 +66359,7 @@ function dy(r, e, t) {
|
|
|
66359
66359
|
}), l.whenWithKeys(a * c.percent, d, p, c.easing);
|
|
66360
66360
|
}
|
|
66361
66361
|
}
|
|
66362
|
-
}), l && (process.env.NODE_ENV !== "production" && (u ||
|
|
66362
|
+
}), l && (process.env.NODE_ENV !== "production" && (u || Tt("End frame with percent: 1 is missing in the keyframeAnimation.", !0)), l.delay(e.delay || 0).duration(a).start(e.easing));
|
|
66363
66363
|
}
|
|
66364
66364
|
});
|
|
66365
66365
|
}
|
|
@@ -67635,7 +67635,7 @@ var fE = (
|
|
|
67635
67635
|
return r !== null && r.apply(this, arguments) || this;
|
|
67636
67636
|
}
|
|
67637
67637
|
return e.prototype.getCoordSysModel = function() {
|
|
67638
|
-
return this.getReferringComponents("polar",
|
|
67638
|
+
return this.getReferringComponents("polar", xt).models[0];
|
|
67639
67639
|
}, e.type = "polarAxis", e;
|
|
67640
67640
|
}(Be)
|
|
67641
67641
|
);
|
|
@@ -67833,7 +67833,7 @@ var Sqe = {
|
|
|
67833
67833
|
$2(o, l), $2(s, u), mqe(i, n, e), t.push(i), n.coordinateSystem = i, i.model = n;
|
|
67834
67834
|
}), r.eachSeries(function(n) {
|
|
67835
67835
|
if (n.get("coordinateSystem") === "polar") {
|
|
67836
|
-
var a = n.getReferringComponents("polar",
|
|
67836
|
+
var a = n.getReferringComponents("polar", xt).models[0];
|
|
67837
67837
|
if (process.env.NODE_ENV !== "production" && !a)
|
|
67838
67838
|
throw new Error('Polar "' + Wt(n.get("polarIndex"), n.get("polarId"), 0) + '" not found');
|
|
67839
67839
|
n.coordinateSystem = a.coordinateSystem;
|
|
@@ -68507,7 +68507,7 @@ function Hqe(r, e) {
|
|
|
68507
68507
|
i.name = "single_" + a, i.resize(n, e), n.coordinateSystem = i, t.push(i);
|
|
68508
68508
|
}), r.eachSeries(function(n) {
|
|
68509
68509
|
if (n.get("coordinateSystem") === "singleAxis") {
|
|
68510
|
-
var a = n.getReferringComponents("singleAxis",
|
|
68510
|
+
var a = n.getReferringComponents("singleAxis", xt).models[0];
|
|
68511
68511
|
n.coordinateSystem = a && a.coordinateSystem;
|
|
68512
68512
|
}
|
|
68513
68513
|
}), t;
|
|
@@ -70208,9 +70208,9 @@ var h1 = (
|
|
|
70208
70208
|
if (f) {
|
|
70209
70209
|
var d = new h1();
|
|
70210
70210
|
if (d.add(f.componentIndex), t.set(c, d), i = !1, c === "x" || c === "y") {
|
|
70211
|
-
var p = f.getReferringComponents("grid",
|
|
70211
|
+
var p = f.getReferringComponents("grid", xt).models[0];
|
|
70212
70212
|
p && D(u, function(h) {
|
|
70213
|
-
f.componentIndex !== h.componentIndex && p === h.getReferringComponents("grid",
|
|
70213
|
+
f.componentIndex !== h.componentIndex && p === h.getReferringComponents("grid", xt).models[0] && d.add(h.componentIndex);
|
|
70214
70214
|
});
|
|
70215
70215
|
}
|
|
70216
70216
|
}
|
|
@@ -70373,7 +70373,7 @@ var uu = D, gN = In, XGe = (
|
|
|
70373
70373
|
var e = [];
|
|
70374
70374
|
return this.ecModel.eachSeries(function(t) {
|
|
70375
70375
|
if ($Ge(t)) {
|
|
70376
|
-
var n = oo(this._dimName), a = t.getReferringComponents(n,
|
|
70376
|
+
var n = oo(this._dimName), a = t.getReferringComponents(n, xt).models[0];
|
|
70377
70377
|
a && this._axisIndex === a.componentIndex && e.push(t);
|
|
70378
70378
|
}
|
|
70379
70379
|
}, this), e;
|
|
@@ -70864,7 +70864,7 @@ var mN = "__ec_magicType_stack__", lze = [["line", "bar"], ["stack"]], uze = (
|
|
|
70864
70864
|
if (v && v.type === "cartesian2d" && (a === "line" || a === "bar")) {
|
|
70865
70865
|
var g = v.getAxesByScale("ordinal")[0];
|
|
70866
70866
|
if (g) {
|
|
70867
|
-
var y = g.dim, m = y + "Axis", _ = f.getReferringComponents(m,
|
|
70867
|
+
var y = g.dim, m = y + "Axis", _ = f.getReferringComponents(m, xt).models[0], b = _.componentIndex;
|
|
70868
70868
|
s[m] = s[m] || [];
|
|
70869
70869
|
for (var S = 0; S <= b; S++)
|
|
70870
70870
|
s[m][b] = s[m][b] || {};
|
|
@@ -71122,7 +71122,7 @@ var _ze = (
|
|
|
71122
71122
|
}
|
|
71123
71123
|
cw(_, "click", w), cw(b, "click", function() {
|
|
71124
71124
|
if (d == null && f != null || d != null && f == null) {
|
|
71125
|
-
process.env.NODE_ENV !== "production" &&
|
|
71125
|
+
process.env.NODE_ENV !== "production" && Tt("It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored."), w();
|
|
71126
71126
|
return;
|
|
71127
71127
|
}
|
|
71128
71128
|
var T;
|
|
@@ -78155,7 +78155,7 @@ function OB(r) {
|
|
|
78155
78155
|
return D(r, function(t) {
|
|
78156
78156
|
var n = t.data, a = t.dataGroupId;
|
|
78157
78157
|
if (n.count() > yW) {
|
|
78158
|
-
process.env.NODE_ENV !== "production" &&
|
|
78158
|
+
process.env.NODE_ENV !== "production" && Tt("Universal transition is disabled on large data > 10k.");
|
|
78159
78159
|
return;
|
|
78160
78160
|
}
|
|
78161
78161
|
for (var i = n.getIndices(), o = 0; o < i.length; o++)
|
|
@@ -78334,7 +78334,7 @@ function THe(r, e) {
|
|
|
78334
78334
|
});
|
|
78335
78335
|
});
|
|
78336
78336
|
function i(o) {
|
|
78337
|
-
t.get(o) &&
|
|
78337
|
+
t.get(o) && Tt("Duplicated seriesKey in universalTransition " + o);
|
|
78338
78338
|
}
|
|
78339
78339
|
return D(e.updatedSeries, function(o) {
|
|
78340
78340
|
if (o.isUniversalTransitionEnabled() && o.isAnimationEnabled()) {
|
|
@@ -78980,7 +78980,7 @@ function zHe(r, e) {
|
|
|
78980
78980
|
return Vt().identifyAxisBreak(s, n);
|
|
78981
78981
|
});
|
|
78982
78982
|
if (!a) {
|
|
78983
|
-
process.env.NODE_ENV !== "production" &&
|
|
78983
|
+
process.env.NODE_ENV !== "production" && Tt("Can not find axis break by start: " + n.start + ", end: " + n.end);
|
|
78984
78984
|
return;
|
|
78985
78985
|
}
|
|
78986
78986
|
var i = e.type, o = {
|
|
@@ -79919,7 +79919,7 @@ async function t4e(r) {
|
|
|
79919
79919
|
};
|
|
79920
79920
|
{
|
|
79921
79921
|
const C = x.message || te("LRT.message.calledServiceFail");
|
|
79922
|
-
return
|
|
79922
|
+
return Pt("fail", C), {
|
|
79923
79923
|
input: d,
|
|
79924
79924
|
output: x.data,
|
|
79925
79925
|
error: x
|
|
@@ -80032,7 +80032,7 @@ async function n4e(r) {
|
|
|
80032
80032
|
if (!s || !l)
|
|
80033
80033
|
return e && r.engine?.emit("globalLock:end", {
|
|
80034
80034
|
value: t
|
|
80035
|
-
}),
|
|
80035
|
+
}), Pt("fail", "缺少 action_code 或 model_code(service_name)"), {
|
|
80036
80036
|
input: a,
|
|
80037
80037
|
output: {},
|
|
80038
80038
|
error: { state: "FAIL", message: "缺少 action_code 或 model_code" }
|
|
@@ -80064,7 +80064,7 @@ async function n4e(r) {
|
|
|
80064
80064
|
output: !0
|
|
80065
80065
|
};
|
|
80066
80066
|
const b = _.message || te("LRT.message.calledServiceFail");
|
|
80067
|
-
return
|
|
80067
|
+
return Pt("fail", b), {
|
|
80068
80068
|
input: m,
|
|
80069
80069
|
output: _.data,
|
|
80070
80070
|
error: _
|
|
@@ -80116,7 +80116,7 @@ async function a4e(r) {
|
|
|
80116
80116
|
}
|
|
80117
80117
|
} catch (o) {
|
|
80118
80118
|
const s = te("LRT.message.callJsFailed");
|
|
80119
|
-
return
|
|
80119
|
+
return Pt("fail", s), console.error("调用js方法内--" + a.method + "--函数🐛🐛🐛" + o), {
|
|
80120
80120
|
input: r,
|
|
80121
80121
|
output: {},
|
|
80122
80122
|
error: { data: o, state: "FAIL" }
|
|
@@ -80539,73 +80539,57 @@ async function S4e(r) {
|
|
|
80539
80539
|
}
|
|
80540
80540
|
const w4e = async (r) => {
|
|
80541
80541
|
let e, t = "";
|
|
80542
|
-
|
|
80542
|
+
const n = r?.optCode;
|
|
80543
|
+
if (n) {
|
|
80543
80544
|
r.context?.getInstance()?.id;
|
|
80544
|
-
const { dataCode:
|
|
80545
|
-
t =
|
|
80546
|
-
const
|
|
80547
|
-
app_id:
|
|
80545
|
+
const { dataCode: i, formKey: o, uId: s, formType: l, url: u, data: c } = r.context?.externalParams, f = r.context?.externalParams?.formEngineModal?.enabled === !0, d = f ? r?.optType ?? n : r?.optType;
|
|
80546
|
+
t = u?.sappId ?? "";
|
|
80547
|
+
const p = c.app_id, h = r.context?.getInstances().find((b) => r.context?.assertInstance(b, "title")), v = {
|
|
80548
|
+
app_id: p,
|
|
80548
80549
|
//@ts-ignore
|
|
80549
|
-
data_set: { data_code:
|
|
80550
|
-
data_uid:
|
|
80551
|
-
form_key:
|
|
80552
|
-
opt_code:
|
|
80553
|
-
opt_type:
|
|
80554
|
-
resource_type:
|
|
80550
|
+
data_set: { data_code: i },
|
|
80551
|
+
data_uid: s,
|
|
80552
|
+
form_key: o,
|
|
80553
|
+
opt_code: n ?? "custom",
|
|
80554
|
+
opt_type: d ?? "custom",
|
|
80555
|
+
resource_type: l,
|
|
80555
80556
|
sapp_id: t,
|
|
80556
|
-
form_process_param:
|
|
80557
|
-
page_title:
|
|
80557
|
+
form_process_param: c.form_process_param,
|
|
80558
|
+
page_title: h?.props.caption,
|
|
80558
80559
|
channel_param_id: void 0
|
|
80559
80560
|
};
|
|
80560
|
-
let
|
|
80561
|
-
const
|
|
80562
|
-
|
|
80561
|
+
let g;
|
|
80562
|
+
const y = Ct(), m = f && d === "update" ? "save" : d === "draft" ? "saveAs" : d;
|
|
80563
|
+
if (f && d === "cancel")
|
|
80564
|
+
return await r.context?.emit("custom:contextClose", {
|
|
80565
|
+
instance: r.instance,
|
|
80566
|
+
rowIndex: r.rowIndex
|
|
80567
|
+
}), !0;
|
|
80568
|
+
switch (d) {
|
|
80569
|
+
case "update":
|
|
80563
80570
|
case "submit_audit":
|
|
80564
80571
|
case "form_submit":
|
|
80565
80572
|
case "save":
|
|
80566
|
-
if (p = await r.context?.emit("dataview:saveOrSaveAs", {
|
|
80567
|
-
options: {
|
|
80568
|
-
btn: {
|
|
80569
|
-
type: v,
|
|
80570
|
-
optObj: {
|
|
80571
|
-
optCode: r?.optCode,
|
|
80572
|
-
optType: r?.optType
|
|
80573
|
-
}
|
|
80574
|
-
},
|
|
80575
|
-
success: async () => new Promise((y) => {
|
|
80576
|
-
let m = "";
|
|
80577
|
-
v === "save" ? m = Cf().form.save : m = Cf().process.save, bt("success", m, y);
|
|
80578
|
-
}),
|
|
80579
|
-
fail: async (y) => {
|
|
80580
|
-
bt("fail", y, () => {
|
|
80581
|
-
});
|
|
80582
|
-
}
|
|
80583
|
-
}
|
|
80584
|
-
}), e = p?.[0] ?? [], e === !1)
|
|
80585
|
-
return !1;
|
|
80586
|
-
if (e[0] === void 0)
|
|
80587
|
-
return;
|
|
80588
|
-
e = e[0];
|
|
80589
|
-
break;
|
|
80590
80573
|
case "draft":
|
|
80591
|
-
if (
|
|
80574
|
+
if (g = await r.context?.emit("dataview:saveOrSaveAs", {
|
|
80592
80575
|
options: {
|
|
80593
80576
|
btn: {
|
|
80594
|
-
type:
|
|
80577
|
+
type: m,
|
|
80595
80578
|
optObj: {
|
|
80596
|
-
optCode:
|
|
80597
|
-
optType:
|
|
80579
|
+
optCode: n,
|
|
80580
|
+
optType: d
|
|
80598
80581
|
}
|
|
80599
80582
|
},
|
|
80600
|
-
success: async () => new Promise((
|
|
80601
|
-
|
|
80583
|
+
success: async () => new Promise((b) => {
|
|
80584
|
+
let S = "";
|
|
80585
|
+
d === "draft" ? S = Cf().form.saveAs : d === "save" || d === "update" ? S = Cf().form.save : S = Cf().process.save, Pt("success", S, b);
|
|
80602
80586
|
}),
|
|
80603
|
-
fail: async (
|
|
80604
|
-
|
|
80587
|
+
fail: async (b) => {
|
|
80588
|
+
Pt("fail", b, () => {
|
|
80605
80589
|
});
|
|
80606
80590
|
}
|
|
80607
80591
|
}
|
|
80608
|
-
}), e =
|
|
80592
|
+
}), e = g?.[0] ?? [], e === !1)
|
|
80609
80593
|
return !1;
|
|
80610
80594
|
if (e[0] === void 0)
|
|
80611
80595
|
return;
|
|
@@ -80614,23 +80598,23 @@ const w4e = async (r) => {
|
|
|
80614
80598
|
case "unsubmit":
|
|
80615
80599
|
case "audit":
|
|
80616
80600
|
case "unaudit":
|
|
80617
|
-
e = await
|
|
80601
|
+
e = await y.default.InvokeOptOperatorPrivateV1ApiAppsPOST({
|
|
80618
80602
|
//由于后端接口参数不固定且无法提供可选参数
|
|
80619
|
-
payload:
|
|
80620
|
-
}), e.code === Ke.SUCCESS ?
|
|
80621
|
-
}) :
|
|
80603
|
+
payload: v
|
|
80604
|
+
}), e.code === Ke.SUCCESS ? Pt("success", Cf().opertaion.button, () => {
|
|
80605
|
+
}) : Pt("fail", e.message, () => {
|
|
80622
80606
|
});
|
|
80623
80607
|
break;
|
|
80624
80608
|
default:
|
|
80625
|
-
e = await
|
|
80609
|
+
e = await y.default.InvokeOptOperatorPrivateV1ApiAppsPOST({
|
|
80626
80610
|
//由于后端接口参数不固定且无法提供可选参数
|
|
80627
|
-
payload:
|
|
80628
|
-
}), e.code !== Ke.SUCCESS &&
|
|
80611
|
+
payload: v
|
|
80612
|
+
}), e.code !== Ke.SUCCESS && Pt("fail", e?.message);
|
|
80629
80613
|
break;
|
|
80630
80614
|
}
|
|
80631
80615
|
if (e.code !== Ke.SUCCESS)
|
|
80632
80616
|
return !1;
|
|
80633
|
-
const
|
|
80617
|
+
const _ = await r.context?.emit("click-finish", {
|
|
80634
80618
|
instance: r.instance,
|
|
80635
80619
|
value: {
|
|
80636
80620
|
data_uid: e?.data?.data_uid,
|
|
@@ -80641,48 +80625,48 @@ const w4e = async (r) => {
|
|
|
80641
80625
|
},
|
|
80642
80626
|
rowIndex: r.rowIndex
|
|
80643
80627
|
});
|
|
80644
|
-
if (
|
|
80628
|
+
if (_ && _.includes(!1))
|
|
80645
80629
|
return !1;
|
|
80646
80630
|
if (r.payload.options) {
|
|
80647
|
-
const
|
|
80648
|
-
r.payload.options.value ? (r.payload.options.value.data_uid =
|
|
80649
|
-
data_uid:
|
|
80650
|
-
opt_code:
|
|
80631
|
+
const b = e?.data?.data_uid, S = e?.data?.opt_code;
|
|
80632
|
+
r.payload.options.value ? (r.payload.options.value.data_uid = b, r.payload.options.value.opt_code = S) : r.payload.options.value = {
|
|
80633
|
+
data_uid: b,
|
|
80634
|
+
opt_code: S
|
|
80651
80635
|
}, r.payload.options.options ? r.payload.options.options.result = e?.data : r.payload.options.options = {
|
|
80652
80636
|
result: e?.data
|
|
80653
80637
|
};
|
|
80654
80638
|
}
|
|
80655
80639
|
}
|
|
80656
80640
|
r.payload?.options?.actionsGlobals && (r.payload.options.actionsGlobals.isRunFormOptExecutor = !0);
|
|
80657
|
-
const
|
|
80658
|
-
if (
|
|
80659
|
-
const
|
|
80641
|
+
const a = r?.payload?.options?.options?.result?.continue_approval_task_id;
|
|
80642
|
+
if (a != null) {
|
|
80643
|
+
const i = r?.payload?.options?.options?.result?.app_id, o = window.multipleTabs?.isInternally(), s = Te.config.globalProperties.$router, l = Te.config.globalProperties.$route, u = {
|
|
80660
80644
|
name: "approval",
|
|
80661
80645
|
params: {
|
|
80662
|
-
appId:
|
|
80663
|
-
taskId:
|
|
80646
|
+
appId: i,
|
|
80647
|
+
taskId: a
|
|
80664
80648
|
},
|
|
80665
80649
|
query: {
|
|
80666
|
-
header:
|
|
80667
|
-
open_mode:
|
|
80650
|
+
header: l.query.header,
|
|
80651
|
+
open_mode: l.query.open_mode
|
|
80668
80652
|
}
|
|
80669
|
-
},
|
|
80670
|
-
if (
|
|
80653
|
+
}, c = Hn.getFullPath(s.resolve(u).href);
|
|
80654
|
+
if (o) {
|
|
80671
80655
|
if (VE({
|
|
80672
80656
|
// operateType: 'view',
|
|
80673
|
-
openUrl:
|
|
80657
|
+
openUrl: c
|
|
80674
80658
|
}) === !1)
|
|
80675
80659
|
return;
|
|
80676
|
-
et.openWindow(
|
|
80660
|
+
et.openWindow(c), window.multipleTabs.closePage({ hasTip: !1 });
|
|
80677
80661
|
} else if (window.opener !== void 0)
|
|
80678
|
-
window.location.href =
|
|
80662
|
+
window.location.href = c;
|
|
80679
80663
|
else {
|
|
80680
80664
|
if (VE({
|
|
80681
80665
|
// operateType: 'view',
|
|
80682
|
-
openUrl:
|
|
80666
|
+
openUrl: c
|
|
80683
80667
|
}) === !1)
|
|
80684
80668
|
return;
|
|
80685
|
-
et.openWindow(
|
|
80669
|
+
et.openWindow(c), window.closeIframe();
|
|
80686
80670
|
}
|
|
80687
80671
|
return !1;
|
|
80688
80672
|
}
|
|
@@ -80711,10 +80695,10 @@ const w4e = async (r) => {
|
|
|
80711
80695
|
break;
|
|
80712
80696
|
}
|
|
80713
80697
|
}
|
|
80714
|
-
return
|
|
80698
|
+
return Pt(s, l ?? "", () => {
|
|
80715
80699
|
}, 3), !0;
|
|
80716
80700
|
} else
|
|
80717
|
-
return
|
|
80701
|
+
return Pt("fail", o.message ?? "", () => {
|
|
80718
80702
|
}, 3), !1;
|
|
80719
80703
|
};
|
|
80720
80704
|
async function x4e(r) {
|
|
@@ -80722,15 +80706,17 @@ async function x4e(r) {
|
|
|
80722
80706
|
let t;
|
|
80723
80707
|
const n = r.engine.getAction().actionUtils;
|
|
80724
80708
|
let a = !0;
|
|
80725
|
-
if (e?.externalParams?.formType === Ta.FORM)
|
|
80709
|
+
if (e?.externalParams?.formType === Ta.FORM) {
|
|
80710
|
+
const o = e?.externalParams?.formEngineModal?.enabled === !0;
|
|
80726
80711
|
switch (r.options?.instance?.props.optObj?.optType) {
|
|
80727
80712
|
case "cancel":
|
|
80728
|
-
a = await C4e(e, n);
|
|
80713
|
+
o || (a = await C4e(e, n));
|
|
80729
80714
|
break;
|
|
80730
80715
|
case "draft":
|
|
80731
80716
|
a = await A4e(e, n);
|
|
80732
80717
|
break;
|
|
80733
80718
|
}
|
|
80719
|
+
}
|
|
80734
80720
|
a && (t = await P4e(r));
|
|
80735
80721
|
let i = {};
|
|
80736
80722
|
return (t === !1 || a === !1) && (i = { state: "FAIL" }), {
|
|
@@ -80954,7 +80940,7 @@ class TW {
|
|
|
80954
80940
|
// 审批提交数据
|
|
80955
80941
|
async submitData(e, t, n) {
|
|
80956
80942
|
if (this.engine.isMounted === !1) {
|
|
80957
|
-
|
|
80943
|
+
Pt("fail", te("LRT.common.hasError"));
|
|
80958
80944
|
return;
|
|
80959
80945
|
}
|
|
80960
80946
|
hD(e, "ApprovalPlugin.ts, submitData, ~777~");
|
|
@@ -81018,7 +81004,7 @@ class TW {
|
|
|
81018
81004
|
if (h?.includes(!1))
|
|
81019
81005
|
n && n();
|
|
81020
81006
|
else {
|
|
81021
|
-
s.opt_code &&
|
|
81007
|
+
s.opt_code && Pt("success", Cf().opertaion.button, () => {
|
|
81022
81008
|
});
|
|
81023
81009
|
let v = p.data?.handlers;
|
|
81024
81010
|
o && p.data?.continue_approval_task_id && (v = p.data?.handlers?.map(
|
|
@@ -81036,12 +81022,12 @@ class TW {
|
|
|
81036
81022
|
}
|
|
81037
81023
|
});
|
|
81038
81024
|
} else
|
|
81039
|
-
|
|
81025
|
+
Pt(
|
|
81040
81026
|
"fail",
|
|
81041
81027
|
p.message ?? te("LRT.common.hasError")
|
|
81042
81028
|
), this.okButtonProps.loading = !1, n && n(), e.options.fail(p);
|
|
81043
81029
|
}).catch((p) => {
|
|
81044
|
-
|
|
81030
|
+
Pt("fail", String(p) ?? "Bad Request"), n(p);
|
|
81045
81031
|
});
|
|
81046
81032
|
}
|
|
81047
81033
|
}
|
|
@@ -83035,7 +83021,7 @@ class MW {
|
|
|
83035
83021
|
{ payload: l }
|
|
83036
83022
|
);
|
|
83037
83023
|
let f = [];
|
|
83038
|
-
return c.code === Ke.SUCCESS ? f = Rs(c?.data?.handlers || []) :
|
|
83024
|
+
return c.code === Ke.SUCCESS ? f = Rs(c?.data?.handlers || []) : Pt("fail", c.message || ""), this.engine?.emit("globalLock:end", {
|
|
83039
83025
|
value: u
|
|
83040
83026
|
}), f;
|
|
83041
83027
|
}
|
|
@@ -83267,7 +83253,7 @@ class RW {
|
|
|
83267
83253
|
const o = i.data?.data_set || [];
|
|
83268
83254
|
this.convertResultToStatisticsDatasource(o);
|
|
83269
83255
|
} else
|
|
83270
|
-
|
|
83256
|
+
Pt("fail", i.message || "");
|
|
83271
83257
|
}
|
|
83272
83258
|
changeCountTipStatus(e) {
|
|
83273
83259
|
if (!this.$btn)
|
|
@@ -84430,7 +84416,7 @@ class YW {
|
|
|
84430
84416
|
}
|
|
84431
84417
|
});
|
|
84432
84418
|
const b = d?.[0]?.[0], S = o.props.caption + ":" + (g ? b.includes(_?.props.caption || "") ? "" : _?.props.caption : "") + d?.[0]?.[0];
|
|
84433
|
-
|
|
84419
|
+
Pt("fail", S);
|
|
84434
84420
|
break;
|
|
84435
84421
|
case "calcResult": {
|
|
84436
84422
|
const w = n.source.controlId, T = n.result, P = n.rowIndex, x = e.getInstance(w, P), C = e.getState(w, P);
|
|
@@ -86067,7 +86053,7 @@ class DWe {
|
|
|
86067
86053
|
checkToSendMessage(e, t) {
|
|
86068
86054
|
const n = this.getPrompt(e);
|
|
86069
86055
|
if (e.options?.isCheckCurrentDisplay !== !1 && !n) {
|
|
86070
|
-
|
|
86056
|
+
Pt("fail", te("LRT.37ef1751967604827"));
|
|
86071
86057
|
return;
|
|
86072
86058
|
}
|
|
86073
86059
|
const a = this.getInstanceId(e.instance), i = v0(a, this.engine), s = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeListViewTitle(title: unknown, fallback?: string): string;
|