@appsbd/vue3-appsbd-ui 1.0.20 → 1.0.21
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/.ai/ai_ref_AbInputField.md +2 -2
- package/AI_REFERENCE.md +1 -1
- package/CHANGELOG.md +12 -6
- package/dist/style.css +1 -1
- package/dist/vue3-appsbd-ui.cjs.js +14 -14
- package/dist/vue3-appsbd-ui.es.js +178 -167
- package/package.json +1 -1
|
@@ -1819,8 +1819,12 @@ const i_ = /* @__PURE__ */ sr(lM, [["render", mM]]), yM = ["aria-valuenow", "ari
|
|
|
1819
1819
|
}
|
|
1820
1820
|
},
|
|
1821
1821
|
watch: {
|
|
1822
|
+
// the measure span is v-if-ed on the label, so re-attach the observer when it (dis)appears
|
|
1822
1823
|
label() {
|
|
1823
|
-
this.$nextTick(this.
|
|
1824
|
+
this.$nextTick(this.setupOutlinedNotch);
|
|
1825
|
+
},
|
|
1826
|
+
isHideLabel() {
|
|
1827
|
+
this.$nextTick(this.setupOutlinedNotch);
|
|
1824
1828
|
},
|
|
1825
1829
|
variant() {
|
|
1826
1830
|
this.$nextTick(this.setupOutlinedNotch);
|
|
@@ -1895,7 +1899,7 @@ const i_ = /* @__PURE__ */ sr(lM, [["render", mM]]), yM = ["aria-valuenow", "ari
|
|
|
1895
1899
|
class: re([[t.effectiveContainerClass, t.dynamicIconBorder, { "apbd-number-field": t.isStepper, "apbd-number-field-bordered": t.isStepper && r.isBorder, "apbd-input-inset": t.isInset, "apbd-input-outlined": t.isOutlined }], "apbd-input-container"]),
|
|
1896
1900
|
style: qe(t.widthStyle)
|
|
1897
1901
|
}, [
|
|
1898
|
-
(r.label || t.$slots.label) && !r.isHideLabel && !t.isOutlined ? (T(), I("label", {
|
|
1902
|
+
(r.label || t.$slots.label) && !r.isHideLabel && !t.isOutlined && !t.isInset ? (T(), I("label", {
|
|
1899
1903
|
key: 0,
|
|
1900
1904
|
class: "form-label",
|
|
1901
1905
|
for: (n = t.$attrs) == null ? void 0 : n.id
|
|
@@ -1905,15 +1909,15 @@ const i_ = /* @__PURE__ */ sr(lM, [["render", mM]]), yM = ["aria-valuenow", "ari
|
|
|
1905
1909
|
])
|
|
1906
1910
|
], 8, _M)) : V("", !0),
|
|
1907
1911
|
E("div", wM, [
|
|
1908
|
-
t.isOutlined && (r.label || t.$slots.label) && !r.isHideLabel ? (T(), I("label", {
|
|
1912
|
+
(t.isOutlined || t.isInset) && (r.label || t.$slots.label) && !r.isHideLabel ? (T(), I("label", {
|
|
1909
1913
|
key: 0,
|
|
1910
|
-
class: "form-label apbd-outlined-label",
|
|
1914
|
+
class: re(["form-label", t.isOutlined ? "apbd-outlined-label" : "apbd-inset-label"]),
|
|
1911
1915
|
for: (a = t.$attrs) == null ? void 0 : a.id
|
|
1912
1916
|
}, [
|
|
1913
1917
|
z(t.$slots, "label", {}, () => [
|
|
1914
1918
|
te(H(M(Z)(r.label)), 1)
|
|
1915
1919
|
])
|
|
1916
|
-
],
|
|
1920
|
+
], 10, SM)) : V("", !0),
|
|
1917
1921
|
t.isOutlined && (r.label || t.$slots.label) && !r.isHideLabel ? (T(), I("span", xM, [
|
|
1918
1922
|
z(t.$slots, "label", {}, () => [
|
|
1919
1923
|
te(H(M(Z)(r.label)), 1)
|
|
@@ -1963,7 +1967,7 @@ const i_ = /* @__PURE__ */ sr(lM, [["render", mM]]), yM = ["aria-valuenow", "ari
|
|
|
1963
1967
|
id: (h = t.$attrs) == null ? void 0 : h.id,
|
|
1964
1968
|
as: (v = t.$attrs) == null ? void 0 : v.as,
|
|
1965
1969
|
style: r.inputStyle || ((p = t.$attrs) == null ? void 0 : p.style),
|
|
1966
|
-
placeholder: M(Z)(r.placeholder) || (t.isOutlined ? " " : ""),
|
|
1970
|
+
placeholder: M(Z)(r.placeholder) || (t.isOutlined || t.isInset ? " " : ""),
|
|
1967
1971
|
label: M(Z)(r.label ?? r.type),
|
|
1968
1972
|
name: t.generatedName,
|
|
1969
1973
|
value: r.modelValue ? r.modelValue : (g = t.$attrs) == null ? void 0 : g.value,
|
|
@@ -3048,7 +3052,7 @@ const KM = ["for"], QM = { class: "datetime-target-container" }, JM = { class: "
|
|
|
3048
3052
|
}, Se = (j) => {
|
|
3049
3053
|
const le = k(t.value, v.value);
|
|
3050
3054
|
B.value = h.value ? le.hour : le.hour === 0 ? 12 : le.hour > 12 ? le.hour - 12 : le.hour, F.value = le.minute, J.value = le.hour >= 12 ? "PM" : "AM", a.value && a.value.hide ? a.value.hide() : j && j();
|
|
3051
|
-
}, He = se($.getMonth()), Ze = se($.getFullYear()), Q = se(Math.floor($.getFullYear() / 12) * 12), U = se("date"), ge = G(() => u.value[He.value]), oe = G(() => Q.value),
|
|
3055
|
+
}, He = se($.getMonth()), Ze = se($.getFullYear()), Q = se(Math.floor($.getFullYear() / 12) * 12), U = se("date"), ge = G(() => u.value[He.value]), oe = G(() => Q.value), de = G(() => Q.value + 11), Ve = G(() => {
|
|
3052
3056
|
const j = [];
|
|
3053
3057
|
for (let le = Q.value; le < Q.value + 12; le++)
|
|
3054
3058
|
j.push(le);
|
|
@@ -3184,7 +3188,7 @@ const KM = ["for"], QM = { class: "datetime-target-container" }, JM = { class: "
|
|
|
3184
3188
|
onClick: at($e, ["stop"]),
|
|
3185
3189
|
class: "cal-title-btn"
|
|
3186
3190
|
}, [
|
|
3187
|
-
U.value === "date" ? (T(), I("span", rA, H(ge.value) + " " + H(m(Ze.value)), 1)) : U.value === "month" ? (T(), I("span", nA, H(m(Ze.value)), 1)) : U.value === "year" ? (T(), I("span", aA, H(m(oe.value)) + " - " + H(m(
|
|
3191
|
+
U.value === "date" ? (T(), I("span", rA, H(ge.value) + " " + H(m(Ze.value)), 1)) : U.value === "month" ? (T(), I("span", nA, H(m(Ze.value)), 1)) : U.value === "year" ? (T(), I("span", aA, H(m(oe.value)) + " - " + H(m(de.value)), 1)) : V("", !0)
|
|
3188
3192
|
]),
|
|
3189
3193
|
E("button", {
|
|
3190
3194
|
type: "button",
|
|
@@ -4172,7 +4176,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
4172
4176
|
"onUpdate:modelValue": F[1] || (F[1] = (ge) => y.value = ge)
|
|
4173
4177
|
}), {
|
|
4174
4178
|
default: q(() => {
|
|
4175
|
-
var ge, oe,
|
|
4179
|
+
var ge, oe, de, Ve, $e;
|
|
4176
4180
|
return [
|
|
4177
4181
|
E("div", {
|
|
4178
4182
|
ref_key: "multiselectRef",
|
|
@@ -4182,7 +4186,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
4182
4186
|
`multiselect-${g.value}`,
|
|
4183
4187
|
(ge = M(a)) == null ? void 0 : ge.class,
|
|
4184
4188
|
{
|
|
4185
|
-
"form-control": ((oe = M(n)) == null ? void 0 : oe.prefix) || ((
|
|
4189
|
+
"form-control": ((oe = M(n)) == null ? void 0 : oe.prefix) || ((de = M(n)) == null ? void 0 : de.postfix) || r.prefix || r.postfix,
|
|
4186
4190
|
"is-active": u.value,
|
|
4187
4191
|
"is-disabled": e.disabled
|
|
4188
4192
|
}
|
|
@@ -5382,7 +5386,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
5382
5386
|
let ue = U.value;
|
|
5383
5387
|
return e.hideSelected && O.value && Q.value && (ue = ue.filter((Te) => !we(Te))), ue;
|
|
5384
5388
|
}), oe = G(() => !O.value || J.value <= 0 ? !0 : (Array.isArray(F.value) ? F.value.length : 0) < J.value);
|
|
5385
|
-
function
|
|
5389
|
+
function de() {
|
|
5386
5390
|
k.value || c.value || (c.value = !0, h.value = -1, W(), n("open"), Nt(() => {
|
|
5387
5391
|
l.value ? l.value.focus() : s.value && s.value.focus();
|
|
5388
5392
|
}));
|
|
@@ -5397,7 +5401,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
5397
5401
|
return;
|
|
5398
5402
|
ue.preventDefault(), Ve(), s.value && s.value.focus();
|
|
5399
5403
|
} else
|
|
5400
|
-
ue.preventDefault(),
|
|
5404
|
+
ue.preventDefault(), de();
|
|
5401
5405
|
}
|
|
5402
5406
|
function Ae(ue) {
|
|
5403
5407
|
if (k.value) return;
|
|
@@ -5434,7 +5438,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
5434
5438
|
}
|
|
5435
5439
|
}
|
|
5436
5440
|
function X() {
|
|
5437
|
-
f.value = !0, c.value ||
|
|
5441
|
+
f.value = !0, c.value || de();
|
|
5438
5442
|
}
|
|
5439
5443
|
function K() {
|
|
5440
5444
|
setTimeout(() => {
|
|
@@ -5442,7 +5446,7 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
5442
5446
|
}, 200);
|
|
5443
5447
|
}
|
|
5444
5448
|
async function De() {
|
|
5445
|
-
n("search-change", d.value), !c.value && d.value &&
|
|
5449
|
+
n("search-change", d.value), !c.value && d.value && de(), e.isAjaxSearch && (clearTimeout(m.value), d.value !== "" && (g.value = !0, m.value = setTimeout(async () => {
|
|
5446
5450
|
try {
|
|
5447
5451
|
const ue = await e.onSearch(d.value);
|
|
5448
5452
|
ue && (v.value = [...ue]);
|
|
@@ -5457,13 +5461,13 @@ const NA = /* @__PURE__ */ sr(EA, [["render", PA]]), RA = ["for"], OA = ["for"],
|
|
|
5457
5461
|
if (!k.value)
|
|
5458
5462
|
switch (ue.key) {
|
|
5459
5463
|
case "ArrowDown":
|
|
5460
|
-
ue.preventDefault(), c.value ? (h.value = Math.min(h.value + 1, ge.value.length - 1), Fe()) :
|
|
5464
|
+
ue.preventDefault(), c.value ? (h.value = Math.min(h.value + 1, ge.value.length - 1), Fe()) : de();
|
|
5461
5465
|
break;
|
|
5462
5466
|
case "ArrowUp":
|
|
5463
5467
|
ue.preventDefault(), c.value && (h.value = Math.max(h.value - 1, 0), Fe());
|
|
5464
5468
|
break;
|
|
5465
5469
|
case "Enter":
|
|
5466
|
-
ue.preventDefault(), c.value && h.value >= 0 && h.value < ge.value.length ? Ae(ge.value[h.value]) : c.value ||
|
|
5470
|
+
ue.preventDefault(), c.value && h.value >= 0 && h.value < ge.value.length ? Ae(ge.value[h.value]) : c.value || de();
|
|
5467
5471
|
break;
|
|
5468
5472
|
case "Escape":
|
|
5469
5473
|
ue.preventDefault(), Ve();
|
|
@@ -6193,7 +6197,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6193
6197
|
const ge = URL.createObjectURL(Q), oe = new window.Image();
|
|
6194
6198
|
oe.onload = () => {
|
|
6195
6199
|
URL.revokeObjectURL(ge);
|
|
6196
|
-
const
|
|
6200
|
+
const de = n.maxWidth !== void 0 ? parseFloat(n.maxWidth) : 1 / 0, Ve = n.maxHeight !== void 0 ? parseFloat(n.maxHeight) : 1 / 0, $e = Math.min(1, de / oe.naturalWidth, Ve / oe.naturalHeight);
|
|
6197
6201
|
if (!($e < 1)) {
|
|
6198
6202
|
U(Q);
|
|
6199
6203
|
return;
|
|
@@ -6230,7 +6234,14 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6230
6234
|
var ge, oe;
|
|
6231
6235
|
_.value = !1;
|
|
6232
6236
|
const U = (oe = (ge = Q.dataTransfer) == null ? void 0 : ge.files) == null ? void 0 : oe[0];
|
|
6233
|
-
|
|
6237
|
+
if (U) {
|
|
6238
|
+
try {
|
|
6239
|
+
const de = new DataTransfer();
|
|
6240
|
+
de.items.add(U), a.value && (a.value.files = de.files);
|
|
6241
|
+
} catch {
|
|
6242
|
+
}
|
|
6243
|
+
S([U]);
|
|
6244
|
+
}
|
|
6234
6245
|
}, S = async (Q) => {
|
|
6235
6246
|
var U, ge;
|
|
6236
6247
|
if (!(!Q || Q.length === 0))
|
|
@@ -6240,8 +6251,8 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6240
6251
|
return;
|
|
6241
6252
|
}
|
|
6242
6253
|
let oe = null;
|
|
6243
|
-
for (const
|
|
6244
|
-
const Ve = await y(
|
|
6254
|
+
for (const de of Array.from(Q)) {
|
|
6255
|
+
const Ve = await y(de);
|
|
6245
6256
|
Ve && (oe = Ve);
|
|
6246
6257
|
}
|
|
6247
6258
|
oe && e("update:modelValue", oe), e("onSelectFiles", Q);
|
|
@@ -6279,13 +6290,13 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6279
6290
|
R.x = J(oe.x + U, 0, R.imgW - oe.w), R.y = J(oe.y + ge, 0, R.imgH - oe.h);
|
|
6280
6291
|
return;
|
|
6281
6292
|
}
|
|
6282
|
-
const
|
|
6283
|
-
let Lt = Math.max(md,
|
|
6293
|
+
const de = P.mode.includes("e") ? 1 : -1, Ve = P.mode.includes("s") ? 1 : -1, $e = de > 0 ? oe.x : oe.x + oe.w, Ae = Ve > 0 ? oe.y : oe.y + oe.h, rt = J((de > 0 ? oe.x + oe.w : oe.x) + U, 0, R.imgW), ut = J((Ve > 0 ? oe.y + oe.h : oe.y) + ge, 0, R.imgH);
|
|
6294
|
+
let Lt = Math.max(md, de > 0 ? rt - $e : $e - rt), X = Math.max(md, Ve > 0 ? ut - Ae : Ae - ut);
|
|
6284
6295
|
if (n.cropAspectRatio) {
|
|
6285
|
-
const K = n.cropAspectRatio, De = Math.min(
|
|
6296
|
+
const K = n.cropAspectRatio, De = Math.min(de > 0 ? R.imgW - $e : $e, (Ve > 0 ? R.imgH - Ae : Ae) * K);
|
|
6286
6297
|
Lt = Math.min(Math.max(Lt, md), De), X = Lt / K;
|
|
6287
6298
|
}
|
|
6288
|
-
R.w = Lt, R.h = X, R.x =
|
|
6299
|
+
R.w = Lt, R.h = X, R.x = de > 0 ? $e : $e - Lt, R.y = Ve > 0 ? Ae : Ae - X;
|
|
6289
6300
|
}, be = () => {
|
|
6290
6301
|
P = null, window.removeEventListener("pointermove", ae), window.removeEventListener("pointerup", be), window.removeEventListener("pointercancel", be);
|
|
6291
6302
|
}, we = () => {
|
|
@@ -6305,14 +6316,14 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6305
6316
|
oe.width,
|
|
6306
6317
|
oe.height
|
|
6307
6318
|
);
|
|
6308
|
-
const
|
|
6319
|
+
const de = { "image/jpeg": "jpg", "image/png": "png", "image/webp": "webp" }, Ve = de[U.type] ? U.type : "image/png", $e = U.name.replace(/\.[^.]+$/, "") || "image";
|
|
6309
6320
|
oe.toBlob(
|
|
6310
6321
|
(Ae) => {
|
|
6311
6322
|
if (B(), !Ae) {
|
|
6312
6323
|
He(U);
|
|
6313
6324
|
return;
|
|
6314
6325
|
}
|
|
6315
|
-
He(new File([Ae], `${$e}.${
|
|
6326
|
+
He(new File([Ae], `${$e}.${de[Ve]}`, { type: Ve }));
|
|
6316
6327
|
},
|
|
6317
6328
|
Ve,
|
|
6318
6329
|
0.92
|
|
@@ -6500,7 +6511,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6500
6511
|
(T(), I(Ce, null, Ge(A, (oe) => E("span", {
|
|
6501
6512
|
key: oe,
|
|
6502
6513
|
class: re(["afu-crop-handle", "afu-crop-handle-" + oe]),
|
|
6503
|
-
onPointerdown: at((
|
|
6514
|
+
onPointerdown: at((de) => ee(de, oe), ["prevent", "stop"])
|
|
6504
6515
|
}, null, 42, $k)), 64))
|
|
6505
6516
|
], 36)) : V("", !0)
|
|
6506
6517
|
])
|
|
@@ -6539,7 +6550,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
6539
6550
|
], 2);
|
|
6540
6551
|
};
|
|
6541
6552
|
}
|
|
6542
|
-
}, d_ = /* @__PURE__ */ sr(Hk, [["__scopeId", "data-v-
|
|
6553
|
+
}, d_ = /* @__PURE__ */ sr(Hk, [["__scopeId", "data-v-37b57c72"]]), Wk = {
|
|
6543
6554
|
__name: "AbCustomField",
|
|
6544
6555
|
props: {
|
|
6545
6556
|
fieldInputs: {
|
|
@@ -7208,7 +7219,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
7208
7219
|
}))), l.value[De] = Ne, ca(l), n.isQuickAdvanceAutoSearch && ae();
|
|
7209
7220
|
}
|
|
7210
7221
|
}
|
|
7211
|
-
function
|
|
7222
|
+
function de(X) {
|
|
7212
7223
|
X.value && (l.value.forEach((K) => {
|
|
7213
7224
|
K.propName !== X.propName && (X.type === "d" && K.type === "dr" || X.type === "dr" && K.type === "d") && (K.value = "");
|
|
7214
7225
|
}), ca(l), n.isQuickAdvance && n.isQuickAdvanceAutoSearch && ae());
|
|
@@ -7679,7 +7690,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
7679
7690
|
"container-class": "mb-0",
|
|
7680
7691
|
name: W.name,
|
|
7681
7692
|
modelValue: W.value,
|
|
7682
|
-
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) =>
|
|
7693
|
+
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) => de(W)],
|
|
7683
7694
|
"max-date": F.value,
|
|
7684
7695
|
attributes: [{ key: "today", dot: !0, dates: /* @__PURE__ */ new Date() }],
|
|
7685
7696
|
isLeftIconBorder: !0,
|
|
@@ -7703,7 +7714,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
7703
7714
|
"container-class": "mb-0",
|
|
7704
7715
|
name: W.name,
|
|
7705
7716
|
modelValue: W.value,
|
|
7706
|
-
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) =>
|
|
7717
|
+
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) => de(W)],
|
|
7707
7718
|
"max-date": F.value,
|
|
7708
7719
|
attributes: [{ key: "today", dot: !0, dates: /* @__PURE__ */ new Date() }],
|
|
7709
7720
|
isLeftIconBorder: !0,
|
|
@@ -7932,7 +7943,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
7932
7943
|
"container-class": "mb-0",
|
|
7933
7944
|
name: W.name,
|
|
7934
7945
|
modelValue: W.value,
|
|
7935
|
-
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) =>
|
|
7946
|
+
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) => de(W)],
|
|
7936
7947
|
showInInput: !1,
|
|
7937
7948
|
size: P.value,
|
|
7938
7949
|
width: W.width,
|
|
@@ -7951,7 +7962,7 @@ const wk = ["for"], Sk = ["accept"], xk = { class: "afu-dz-icon" }, Ck = {
|
|
|
7951
7962
|
"container-class": "mb-0",
|
|
7952
7963
|
name: W.name,
|
|
7953
7964
|
modelValue: W.value,
|
|
7954
|
-
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) =>
|
|
7965
|
+
"onUpdate:modelValue": [(pe) => W.value = pe, (pe) => de(W)],
|
|
7955
7966
|
showInInput: !1,
|
|
7956
7967
|
size: P.value,
|
|
7957
7968
|
"is-range": !0,
|
|
@@ -10974,7 +10985,7 @@ function pP(r, t) {
|
|
|
10974
10985
|
e = Ke(e, r[n], t);
|
|
10975
10986
|
return e;
|
|
10976
10987
|
}
|
|
10977
|
-
function
|
|
10988
|
+
function fe(r, t) {
|
|
10978
10989
|
if (Object.assign)
|
|
10979
10990
|
Object.assign(r, t);
|
|
10980
10991
|
else
|
|
@@ -11240,7 +11251,7 @@ function Ec(r, t) {
|
|
|
11240
11251
|
};
|
|
11241
11252
|
n.prototype = r, e = new n();
|
|
11242
11253
|
}
|
|
11243
|
-
return t &&
|
|
11254
|
+
return t && fe(e, t), e;
|
|
11244
11255
|
}
|
|
11245
11256
|
function x_(r) {
|
|
11246
11257
|
var t = r.style;
|
|
@@ -12978,7 +12989,7 @@ function em(r) {
|
|
|
12978
12989
|
var t = Jg.get(r);
|
|
12979
12990
|
return t || (t = Qg(r, -0.1), Jg.put(r, t)), t;
|
|
12980
12991
|
} else if (Lc(r)) {
|
|
12981
|
-
var e =
|
|
12992
|
+
var e = fe({}, r);
|
|
12982
12993
|
return e.colorStops = ye(r.colorStops, function(n) {
|
|
12983
12994
|
return {
|
|
12984
12995
|
offset: n.offset,
|
|
@@ -13113,7 +13124,7 @@ var jo = [0, 0, 0, 0], pN = function() {
|
|
|
13113
13124
|
c && (l = c, s = ws);
|
|
13114
13125
|
}
|
|
13115
13126
|
else if (Lc(e)) {
|
|
13116
|
-
var d =
|
|
13127
|
+
var d = fe({}, l);
|
|
13117
13128
|
d.colorStops = ye(e.colorStops, function(h) {
|
|
13118
13129
|
return {
|
|
13119
13130
|
offset: h.offset,
|
|
@@ -13854,7 +13865,7 @@ var Vd = "__zr_normal__", zd = Xs.concat(["ignore"]), MN = Na(Xs, function(r, t)
|
|
|
13854
13865
|
return n[3] = 1, ea(n, "rgba");
|
|
13855
13866
|
}, r.prototype.traverse = function(t, e) {
|
|
13856
13867
|
}, r.prototype.attrKV = function(t, e) {
|
|
13857
|
-
t === "textConfig" ? this.setTextConfig(e) : t === "textContent" ? this.setTextContent(e) : t === "clipPath" ? this.setClipPath(e) : t === "extra" ? (this.extra = this.extra || {},
|
|
13868
|
+
t === "textConfig" ? this.setTextConfig(e) : t === "textContent" ? this.setTextContent(e) : t === "clipPath" ? this.setClipPath(e) : t === "extra" ? (this.extra = this.extra || {}, fe(this.extra, e)) : this[t] = e;
|
|
13858
13869
|
}, r.prototype.hide = function() {
|
|
13859
13870
|
this.ignore = !0, this.markRedraw();
|
|
13860
13871
|
}, r.prototype.show = function() {
|
|
@@ -13964,12 +13975,12 @@ var Vd = "__zr_normal__", zd = Xs.concat(["ignore"]), MN = Na(Xs, function(r, t)
|
|
|
13964
13975
|
}, r.prototype._mergeStates = function(t) {
|
|
13965
13976
|
for (var e = {}, n, a = 0; a < t.length; a++) {
|
|
13966
13977
|
var i = t[a];
|
|
13967
|
-
|
|
13978
|
+
fe(e, i), i.textConfig && (n = n || {}, fe(n, i.textConfig));
|
|
13968
13979
|
}
|
|
13969
13980
|
return n && (e.textConfig = n), e;
|
|
13970
13981
|
}, r.prototype._applyStateObj = function(t, e, n, a, i, o) {
|
|
13971
13982
|
var s = !(e && a);
|
|
13972
|
-
e && e.textConfig ? (this.textConfig =
|
|
13983
|
+
e && e.textConfig ? (this.textConfig = fe({}, a ? this.textConfig : n.textConfig), fe(this.textConfig, e.textConfig)) : s && n.textConfig && (this.textConfig = n.textConfig);
|
|
13973
13984
|
for (var l = {}, u = !1, c = 0; c < zd.length; c++) {
|
|
13974
13985
|
var d = zd[c], f = i && MN[d];
|
|
13975
13986
|
e && e[d] != null ? f ? (u = !0, l[d] = e[d]) : this[d] = e[d] : s && n[d] != null && (f ? (u = !0, l[d] = n[d]) : this[d] = n[d]);
|
|
@@ -14012,7 +14023,7 @@ var Vd = "__zr_normal__", zd = Xs.concat(["ignore"]), MN = Na(Xs, function(r, t)
|
|
|
14012
14023
|
t.innerTransformable = new ci(), this._attachComponent(t), this._textContent = t, this.markRedraw();
|
|
14013
14024
|
}
|
|
14014
14025
|
}, r.prototype.setTextConfig = function(t) {
|
|
14015
|
-
this.textConfig || (this.textConfig = {}),
|
|
14026
|
+
this.textConfig || (this.textConfig = {}), fe(this.textConfig, t), this.markRedraw();
|
|
14016
14027
|
}, r.prototype.removeTextConfig = function() {
|
|
14017
14028
|
this.textConfig = null, this.markRedraw();
|
|
14018
14029
|
}, r.prototype.removeTextContent = function() {
|
|
@@ -15005,7 +15016,7 @@ function sp(r, t) {
|
|
|
15005
15016
|
return o;
|
|
15006
15017
|
}(n) : (a = function() {
|
|
15007
15018
|
(e.$constructor || n).apply(this, arguments);
|
|
15008
|
-
}, gP(a, this)),
|
|
15019
|
+
}, gP(a, this)), fe(a.prototype, e), a[rw] = !0, a.extend = this.extend, a.superCall = fR, a.superApply = hR, a.superClass = n, a;
|
|
15009
15020
|
};
|
|
15010
15021
|
}
|
|
15011
15022
|
function uR(r) {
|
|
@@ -15153,7 +15164,7 @@ function yR(r, t, e, n, a, i) {
|
|
|
15153
15164
|
}
|
|
15154
15165
|
function iw(r, t, e, n) {
|
|
15155
15166
|
n = n || {};
|
|
15156
|
-
var a =
|
|
15167
|
+
var a = fe({}, n);
|
|
15157
15168
|
a.font = t, e = Ye(e, "..."), a.maxIterations = Ye(n.maxIterations, 2);
|
|
15158
15169
|
var i = a.minChar = Ye(n.minChar, 0);
|
|
15159
15170
|
a.cnCharWidth = Fr("国", t);
|
|
@@ -15415,7 +15426,7 @@ var xm = ["z", "z2", "invisible"], AR = ["invisible"], Vo = function(r) {
|
|
|
15415
15426
|
}, t.prototype.attrKV = function(e, n) {
|
|
15416
15427
|
e !== "style" ? r.prototype.attrKV.call(this, e, n) : this.style ? this.setStyle(n) : this.useStyle(n);
|
|
15417
15428
|
}, t.prototype.setStyle = function(e, n) {
|
|
15418
|
-
return typeof e == "string" ? this.style[e] = n :
|
|
15429
|
+
return typeof e == "string" ? this.style[e] = n : fe(this.style, e), this.dirtyStyle(), this;
|
|
15419
15430
|
}, t.prototype.dirtyStyle = function(e) {
|
|
15420
15431
|
e || this.markRedraw(), this.__dirty |= _s, this._rect && (this._rect = null);
|
|
15421
15432
|
}, t.prototype.dirty = function() {
|
|
@@ -15465,7 +15476,7 @@ var xm = ["z", "z2", "invisible"], AR = ["invisible"], Vo = function(r) {
|
|
|
15465
15476
|
}
|
|
15466
15477
|
return a && (n.style = a), n;
|
|
15467
15478
|
}, t.prototype._mergeStyle = function(e, n) {
|
|
15468
|
-
return
|
|
15479
|
+
return fe(e, n), e;
|
|
15469
15480
|
}, t.prototype.getAnimationStyleProps = function() {
|
|
15470
15481
|
return $c;
|
|
15471
15482
|
}, t.initDefaultProps = function() {
|
|
@@ -15777,17 +15788,17 @@ var Ii = function() {
|
|
|
15777
15788
|
break;
|
|
15778
15789
|
case wt.R:
|
|
15779
15790
|
s = u = n[x], l = c = n[x + 1], d = n[x++], f = n[x++];
|
|
15780
|
-
var
|
|
15791
|
+
var de = n[x++], Ve = n[x++];
|
|
15781
15792
|
if (h) {
|
|
15782
15793
|
var D = v[m++];
|
|
15783
15794
|
if (g + D > y) {
|
|
15784
15795
|
var $e = y - g;
|
|
15785
|
-
t.moveTo(d, f), t.lineTo(d + Zd($e,
|
|
15796
|
+
t.moveTo(d, f), t.lineTo(d + Zd($e, de), f), $e -= de, $e > 0 && t.lineTo(d + de, f + Zd($e, Ve)), $e -= Ve, $e > 0 && t.lineTo(d + Xd(de - $e, 0), f + Ve), $e -= de, $e > 0 && t.lineTo(d, f + Xd(Ve - $e, 0));
|
|
15786
15797
|
break e;
|
|
15787
15798
|
}
|
|
15788
15799
|
g += D;
|
|
15789
15800
|
}
|
|
15790
|
-
t.rect(d, f,
|
|
15801
|
+
t.rect(d, f, de, Ve);
|
|
15791
15802
|
break;
|
|
15792
15803
|
case wt.Z:
|
|
15793
15804
|
if (h) {
|
|
@@ -16071,7 +16082,7 @@ var uw = tt({
|
|
|
16071
16082
|
a && this.useStyle(a);
|
|
16072
16083
|
for (var i = 0; i < n.length; i++) {
|
|
16073
16084
|
var o = n[i], s = e[o];
|
|
16074
|
-
o === "style" ? this.style ?
|
|
16085
|
+
o === "style" ? this.style ? fe(this.style, s) : this.useStyle(s) : o === "shape" ? fe(this.shape, s) : r.prototype.attrKV.call(this, o, s);
|
|
16075
16086
|
}
|
|
16076
16087
|
this.style || this.useStyle({});
|
|
16077
16088
|
}, t.prototype.getDefaultStyle = function() {
|
|
@@ -16157,7 +16168,7 @@ var uw = tt({
|
|
|
16157
16168
|
e === "shape" ? this.setShape(n) : r.prototype.attrKV.call(this, e, n);
|
|
16158
16169
|
}, t.prototype.setShape = function(e, n) {
|
|
16159
16170
|
var a = this.shape;
|
|
16160
|
-
return a || (a = this.shape = {}), typeof e == "string" ? a[e] = n :
|
|
16171
|
+
return a || (a = this.shape = {}), typeof e == "string" ? a[e] = n : fe(a, e), this.dirtyShape(), this;
|
|
16161
16172
|
}, t.prototype.shapeChanged = function() {
|
|
16162
16173
|
return !!(this.__dirty & lo);
|
|
16163
16174
|
}, t.prototype.createStyle = function(e) {
|
|
@@ -16165,13 +16176,13 @@ var uw = tt({
|
|
|
16165
16176
|
}, t.prototype._innerSaveToNormal = function(e) {
|
|
16166
16177
|
r.prototype._innerSaveToNormal.call(this, e);
|
|
16167
16178
|
var n = this._normalState;
|
|
16168
|
-
e.shape && !n.shape && (n.shape =
|
|
16179
|
+
e.shape && !n.shape && (n.shape = fe({}, this.shape));
|
|
16169
16180
|
}, t.prototype._applyStateObj = function(e, n, a, i, o, s) {
|
|
16170
16181
|
r.prototype._applyStateObj.call(this, e, n, a, i, o, s);
|
|
16171
16182
|
var l = !(n && i), u;
|
|
16172
|
-
if (n && n.shape ? o ? i ? u = n.shape : (u =
|
|
16183
|
+
if (n && n.shape ? o ? i ? u = n.shape : (u = fe({}, a.shape), fe(u, n.shape)) : (u = fe({}, i ? this.shape : a.shape), fe(u, n.shape)) : l && (u = a.shape), u)
|
|
16173
16184
|
if (o) {
|
|
16174
|
-
this.shape =
|
|
16185
|
+
this.shape = fe({}, this.shape);
|
|
16175
16186
|
for (var c = {}, d = kt(u), f = 0; f < d.length; f++) {
|
|
16176
16187
|
var h = d[f];
|
|
16177
16188
|
typeof u[h] == "object" ? this.shape[h] = u[h] : c[h] = u[h];
|
|
@@ -16426,11 +16437,11 @@ var Dm = {
|
|
|
16426
16437
|
if (!n)
|
|
16427
16438
|
return e;
|
|
16428
16439
|
var a = n.rich, i = e.rich || a && {};
|
|
16429
|
-
return
|
|
16440
|
+
return fe(e, n), a && i ? (this._mergeRich(i, a), e.rich = i) : i && (e.rich = i), e;
|
|
16430
16441
|
}, t.prototype._mergeRich = function(e, n) {
|
|
16431
16442
|
for (var a = kt(n), i = 0; i < a.length; i++) {
|
|
16432
16443
|
var o = a[i];
|
|
16433
|
-
e[o] = e[o] || {},
|
|
16444
|
+
e[o] = e[o] || {}, fe(e[o], n[o]);
|
|
16434
16445
|
}
|
|
16435
16446
|
}, t.prototype.getAnimationStyleProps = function() {
|
|
16436
16447
|
return QR;
|
|
@@ -16630,11 +16641,11 @@ function lO(r, t, e, n) {
|
|
|
16630
16641
|
if (Xi(s) || Xi(l)) {
|
|
16631
16642
|
n = n || {};
|
|
16632
16643
|
var u = n.style || {};
|
|
16633
|
-
u.fill === "inherit" ? (i = !0, n =
|
|
16644
|
+
u.fill === "inherit" ? (i = !0, n = fe({}, n), u = fe({}, u), u.fill = s) : !Xi(u.fill) && Xi(s) ? (i = !0, n = fe({}, n), u = fe({}, u), u.fill = em(s)) : !Xi(u.stroke) && Xi(l) && (i || (n = fe({}, n), u = fe({}, u)), u.stroke = em(l)), n.style = u;
|
|
16634
16645
|
}
|
|
16635
16646
|
}
|
|
16636
16647
|
if (n && n.z2 == null) {
|
|
16637
|
-
i || (n =
|
|
16648
|
+
i || (n = fe({}, n));
|
|
16638
16649
|
var c = r.z2EmphasisLift;
|
|
16639
16650
|
n.z2 = r.z2 + (c ?? hl);
|
|
16640
16651
|
}
|
|
@@ -16642,7 +16653,7 @@ function lO(r, t, e, n) {
|
|
|
16642
16653
|
}
|
|
16643
16654
|
function uO(r, t, e) {
|
|
16644
16655
|
if (e && e.z2 == null) {
|
|
16645
|
-
e =
|
|
16656
|
+
e = fe({}, e);
|
|
16646
16657
|
var n = r.z2SelectLift;
|
|
16647
16658
|
e.z2 = r.z2 + (n ?? aO);
|
|
16648
16659
|
}
|
|
@@ -16654,7 +16665,7 @@ function cO(r, t, e) {
|
|
|
16654
16665
|
});
|
|
16655
16666
|
e = e || {};
|
|
16656
16667
|
var o = e.style || {};
|
|
16657
|
-
return o.opacity == null && (e =
|
|
16668
|
+
return o.opacity == null && (e = fe({}, e), o = fe({
|
|
16658
16669
|
// Already being applied 'emphasis'. DON'T mul opacity multiple times.
|
|
16659
16670
|
opacity: n ? a : i.opacity * 0.1
|
|
16660
16671
|
}, o), e.style = o), e;
|
|
@@ -17041,7 +17052,7 @@ function Sw(r) {
|
|
|
17041
17052
|
return r.setData != null;
|
|
17042
17053
|
}
|
|
17043
17054
|
function xw(r, t) {
|
|
17044
|
-
var e = TO(r), n =
|
|
17055
|
+
var e = TO(r), n = fe({}, t);
|
|
17045
17056
|
return n.buildPath = function(a) {
|
|
17046
17057
|
if (Sw(a)) {
|
|
17047
17058
|
a.setData(e.data);
|
|
@@ -17177,15 +17188,15 @@ function NO(r, t) {
|
|
|
17177
17188
|
if (!F)
|
|
17178
17189
|
r.moveTo(c + P, d + $);
|
|
17179
17190
|
else if (A > fn) {
|
|
17180
|
-
var U = Dn(m, A), ge = Dn(y, A), oe = Bl(O, R, P, $, n, U, f),
|
|
17181
|
-
r.moveTo(c + oe.cx + oe.x0, d + oe.cy + oe.y0), A < S && U === ge ? r.arc(c + oe.cx, d + oe.cy, A, ur(oe.y0, oe.x0), ur(
|
|
17191
|
+
var U = Dn(m, A), ge = Dn(y, A), oe = Bl(O, R, P, $, n, U, f), de = Bl(D, L, Y, B, n, ge, f);
|
|
17192
|
+
r.moveTo(c + oe.cx + oe.x0, d + oe.cy + oe.y0), A < S && U === ge ? r.arc(c + oe.cx, d + oe.cy, A, ur(oe.y0, oe.x0), ur(de.y0, de.x0), !f) : (U > 0 && r.arc(c + oe.cx, d + oe.cy, U, ur(oe.y0, oe.x0), ur(oe.y1, oe.x1), !f), r.arc(c, d, n, ur(oe.cy + oe.y1, oe.cx + oe.x1), ur(de.cy + de.y1, de.cx + de.x1), !f), ge > 0 && r.arc(c + de.cx, d + de.cy, ge, ur(de.y1, de.x1), ur(de.y0, de.x0), !f));
|
|
17182
17193
|
} else
|
|
17183
17194
|
r.moveTo(c + P, d + $), r.arc(c, d, n, l, u, !f);
|
|
17184
17195
|
if (!(a > fn) || !F)
|
|
17185
17196
|
r.lineTo(c + Y, d + B);
|
|
17186
17197
|
else if (k > fn) {
|
|
17187
|
-
var U = Dn(p, k), ge = Dn(g, k), oe = Bl(Y, B, D, L, a, -ge, f),
|
|
17188
|
-
r.lineTo(c + oe.cx + oe.x0, d + oe.cy + oe.y0), k < C && U === ge ? r.arc(c + oe.cx, d + oe.cy, k, ur(oe.y0, oe.x0), ur(
|
|
17198
|
+
var U = Dn(p, k), ge = Dn(g, k), oe = Bl(Y, B, D, L, a, -ge, f), de = Bl(P, $, O, R, a, -U, f);
|
|
17199
|
+
r.lineTo(c + oe.cx + oe.x0, d + oe.cy + oe.y0), k < C && U === ge ? r.arc(c + oe.cx, d + oe.cy, k, ur(oe.y0, oe.x0), ur(de.y0, de.x0), !f) : (ge > 0 && r.arc(c + oe.cx, d + oe.cy, ge, ur(oe.y0, oe.x0), ur(oe.y1, oe.x1), !f), r.arc(c, d, a, ur(oe.cy + oe.y1, oe.cx + oe.x1), ur(de.cy + de.y1, de.cx + de.x1), f), U > 0 && r.arc(c + de.cx, d + de.cy, U, ur(de.y1, de.x1), ur(de.y0, de.x0), !f));
|
|
17189
17200
|
} else
|
|
17190
17201
|
r.lineTo(c + Y, d + B), r.arc(c, d, a, u, l, f);
|
|
17191
17202
|
}
|
|
@@ -17739,7 +17750,7 @@ function Iw(r, t, e) {
|
|
|
17739
17750
|
y: o.y,
|
|
17740
17751
|
rotation: o.rotation
|
|
17741
17752
|
};
|
|
17742
|
-
return tV(o) && (s.shape =
|
|
17753
|
+
return tV(o) && (s.shape = fe({}, o.shape)), s;
|
|
17743
17754
|
}
|
|
17744
17755
|
var i = n(r);
|
|
17745
17756
|
t.traverse(function(o) {
|
|
@@ -17771,7 +17782,7 @@ function rV(r, t) {
|
|
|
17771
17782
|
};
|
|
17772
17783
|
}
|
|
17773
17784
|
function Yc(r, t, e) {
|
|
17774
|
-
var n =
|
|
17785
|
+
var n = fe({
|
|
17775
17786
|
rectHover: !0
|
|
17776
17787
|
}, t), a = n.style = {
|
|
17777
17788
|
strokeNoScale: !0
|
|
@@ -17971,7 +17982,7 @@ function nn(r, t) {
|
|
|
17971
17982
|
}
|
|
17972
17983
|
function Xt(r, t, e, n, a) {
|
|
17973
17984
|
var i = {};
|
|
17974
|
-
return iV(i, r, e, n, a), t &&
|
|
17985
|
+
return iV(i, r, e, n, a), t && fe(i, t), i;
|
|
17975
17986
|
}
|
|
17976
17987
|
function ey(r, t, e) {
|
|
17977
17988
|
t = t || {};
|
|
@@ -18586,7 +18597,7 @@ function CV(r, t, e, n, a) {
|
|
|
18586
18597
|
level: r.level
|
|
18587
18598
|
});
|
|
18588
18599
|
else {
|
|
18589
|
-
var o =
|
|
18600
|
+
var o = fe({}, Ts);
|
|
18590
18601
|
if (r.level > 0)
|
|
18591
18602
|
for (var s = 0; s < of.length; ++s)
|
|
18592
18603
|
o[of[s]] = "{primary|" + o[of[s]] + "}";
|
|
@@ -19383,10 +19394,10 @@ echarts.use([` + L + "]);" : "Unknown series " + D));
|
|
|
19383
19394
|
if (S && S.constructor === k)
|
|
19384
19395
|
S.name = w.keyInfo.name, S.mergeOption(C, this), S.optionUpdated(C, !1);
|
|
19385
19396
|
else {
|
|
19386
|
-
var O =
|
|
19397
|
+
var O = fe({
|
|
19387
19398
|
componentIndex: x
|
|
19388
19399
|
}, w.keyInfo);
|
|
19389
|
-
S = new k(C, this, this, O),
|
|
19400
|
+
S = new k(C, this, this, O), fe(S, O), w.brandNew && (S.__requireNewView = !0), S.init(C, this, this), S.optionUpdated(null, !0);
|
|
19390
19401
|
}
|
|
19391
19402
|
}
|
|
19392
19403
|
S ? (g.push(S.option), m.push(S), y++) : (g.push(void 0), m.push(void 0));
|
|
@@ -20115,7 +20126,7 @@ var ei, ti, ri, Sy, xy, dS = (
|
|
|
20115
20126
|
var t;
|
|
20116
20127
|
xy = function(o, s, l) {
|
|
20117
20128
|
var u = l.sourceFormat, c = l.seriesLayoutBy, d = l.startIndex, f = l.dimensionsDefine, h = Sy[kp(u, c)];
|
|
20118
|
-
if (process.env.NODE_ENV !== "production" && We(h, "Invalide sourceFormat: " + u),
|
|
20129
|
+
if (process.env.NODE_ENV !== "production" && We(h, "Invalide sourceFormat: " + u), fe(o, h), u === ta)
|
|
20119
20130
|
o.getItem = e, o.count = a, o.fillStorage = n;
|
|
20120
20131
|
else {
|
|
20121
20132
|
var v = fS(u, c);
|
|
@@ -20513,7 +20524,7 @@ function wz(r) {
|
|
|
20513
20524
|
return a;
|
|
20514
20525
|
} else if (t === Cn) {
|
|
20515
20526
|
for (var a = [], i = 0, o = e.length; i < o; i++)
|
|
20516
|
-
a.push(
|
|
20527
|
+
a.push(fe({}, e[i]));
|
|
20517
20528
|
return a;
|
|
20518
20529
|
}
|
|
20519
20530
|
}
|
|
@@ -21210,7 +21221,7 @@ function Pz(r, t, e, n) {
|
|
|
21210
21221
|
N(s, function(p, g) {
|
|
21211
21222
|
var m = t.valueFormatter, y = wS(p)(
|
|
21212
21223
|
// Inherit valueFormatter
|
|
21213
|
-
m ?
|
|
21224
|
+
m ? fe(fe({}, r), {
|
|
21214
21225
|
valueFormatter: m
|
|
21215
21226
|
}) : r,
|
|
21216
21227
|
p,
|
|
@@ -21305,8 +21316,8 @@ var vf = (
|
|
|
21305
21316
|
}, r.prototype.wrapRichTextStyle = function(t, e) {
|
|
21306
21317
|
var n = {};
|
|
21307
21318
|
ve(e) ? N(e, function(i) {
|
|
21308
|
-
return
|
|
21309
|
-
}) :
|
|
21319
|
+
return fe(n, i);
|
|
21320
|
+
}) : fe(n, e);
|
|
21310
21321
|
var a = this._generateStyleName();
|
|
21311
21322
|
return this.richTextStyles[a] = n, "{" + a + "|" + t + "}";
|
|
21312
21323
|
}, r;
|
|
@@ -21765,7 +21776,7 @@ var Qz = {
|
|
|
21765
21776
|
if (e.setVisual("style", o), e.setVisual("drawType", l), !t.isSeriesFiltered(r) && c)
|
|
21766
21777
|
return e.setVisual("colorFromPalette", !1), {
|
|
21767
21778
|
dataEach: function(h, v) {
|
|
21768
|
-
var p = r.getDataParams(v), g =
|
|
21779
|
+
var p = r.getDataParams(v), g = fe({}, o);
|
|
21769
21780
|
g[l] = c(p), h.setItemVisual(v, "style", g);
|
|
21770
21781
|
}
|
|
21771
21782
|
};
|
|
@@ -21782,7 +21793,7 @@ var Qz = {
|
|
|
21782
21793
|
if (l && l[n]) {
|
|
21783
21794
|
rs.option = l[n];
|
|
21784
21795
|
var u = a(rs), c = o.ensureUniqueItemVisual(s, "style");
|
|
21785
|
-
|
|
21796
|
+
fe(c, u), rs.option.decal && (o.setItemVisual(s, "decal", rs.option.decal), rs.option.decal.dirty = !0), i in u && o.setItemVisual(s, "colorFromPalette", !1);
|
|
21786
21797
|
}
|
|
21787
21798
|
} : null
|
|
21788
21799
|
};
|
|
@@ -22357,7 +22368,7 @@ var fB = (
|
|
|
22357
22368
|
var s = sv[o], l = r.get(s);
|
|
22358
22369
|
Ee(l) ? (i = !0, a[s] = l) : n[s] = l;
|
|
22359
22370
|
}
|
|
22360
|
-
if (n.symbol = n.symbol || r.defaultSymbol, e.setVisual(
|
|
22371
|
+
if (n.symbol = n.symbol || r.defaultSymbol, e.setVisual(fe({
|
|
22361
22372
|
legendIcon: r.legendIcon || n.symbol,
|
|
22362
22373
|
symbolKeepAspect: r.get("symbolKeepAspect")
|
|
22363
22374
|
}, n)), t.isSeriesFiltered(r))
|
|
@@ -22453,7 +22464,7 @@ function gB(r, t) {
|
|
|
22453
22464
|
}
|
|
22454
22465
|
N([[r + "ToggleSelect", "toggleSelect"], [r + "Select", "select"], [r + "UnSelect", "unselect"]], function(n) {
|
|
22455
22466
|
t(n[0], function(a, i, o) {
|
|
22456
|
-
a =
|
|
22467
|
+
a = fe({}, a), process.env.NODE_ENV !== "production" && Zt(a.type, n[1]), o.dispatchAction(fe(a, {
|
|
22457
22468
|
type: n[1],
|
|
22458
22469
|
seriesIndex: e(i, a)
|
|
22459
22470
|
}));
|
|
@@ -22473,7 +22484,7 @@ function eo(r, t, e, n, a) {
|
|
|
22473
22484
|
type: i,
|
|
22474
22485
|
seriesId: o.id,
|
|
22475
22486
|
name: ve(f) ? d.getName(f[0]) : d.getName(f),
|
|
22476
|
-
selected: Me(l) ? l :
|
|
22487
|
+
selected: Me(l) ? l : fe({}, l)
|
|
22477
22488
|
});
|
|
22478
22489
|
}
|
|
22479
22490
|
}));
|
|
@@ -22974,8 +22985,8 @@ function cv(r, t) {
|
|
|
22974
22985
|
}
|
|
22975
22986
|
O += m[R], ++P, ++R, R === m.length && (R = 0);
|
|
22976
22987
|
}
|
|
22977
|
-
function Q(U, ge, oe,
|
|
22978
|
-
var $e = a ? 1 : e, Ae = gr(Ve, U * $e, ge * $e, oe * $e,
|
|
22988
|
+
function Q(U, ge, oe, de, Ve) {
|
|
22989
|
+
var $e = a ? 1 : e, Ae = gr(Ve, U * $e, ge * $e, oe * $e, de * $e, o.color, o.symbolKeepAspect);
|
|
22979
22990
|
if (a) {
|
|
22980
22991
|
var rt = n.painter.renderOneToVNode(Ae);
|
|
22981
22992
|
rt && x.children.push(rt);
|
|
@@ -23379,7 +23390,7 @@ var to, yf, ql, pa, bf, _f, wf, ns, as, i0, o0, Sf, s0, Kl, l0, qS, Ur, u0, KS =
|
|
|
23379
23390
|
var g = p.dataModel || o.getSeriesByIndex(p.seriesIndex);
|
|
23380
23391
|
return l = g && g.getDataParams(p.dataIndex, p.dataType, s) || {}, !0;
|
|
23381
23392
|
} else if (p.eventData)
|
|
23382
|
-
return l =
|
|
23393
|
+
return l = fe({}, p.eventData), !0;
|
|
23383
23394
|
}, !0), l) {
|
|
23384
23395
|
var c = l.componentType, d = l.componentIndex;
|
|
23385
23396
|
(c === "markLine" || c === "markPoint" || c === "markArea") && (c = "series", d = l.seriesIndex);
|
|
@@ -23443,7 +23454,7 @@ var to, yf, ql, pa, bf, _f, wf, ns, as, i0, o0, Sf, s0, Kl, l0, qS, Ur, u0, KS =
|
|
|
23443
23454
|
try {
|
|
23444
23455
|
a && to(this), pa.update.call(this, {
|
|
23445
23456
|
type: "resize",
|
|
23446
|
-
animation:
|
|
23457
|
+
animation: fe({
|
|
23447
23458
|
// Disable animation
|
|
23448
23459
|
duration: 0
|
|
23449
23460
|
}, e && e.animation)
|
|
@@ -23471,7 +23482,7 @@ var to, yf, ql, pa, bf, _f, wf, ns, as, i0, o0, Sf, s0, Kl, l0, qS, Ur, u0, KS =
|
|
|
23471
23482
|
}
|
|
23472
23483
|
this._loadingFX && this._zr.remove(this._loadingFX), this._loadingFX = null;
|
|
23473
23484
|
}, t.prototype.makeActionFromEvent = function(e) {
|
|
23474
|
-
var n =
|
|
23485
|
+
var n = fe({}, e);
|
|
23475
23486
|
return n.type = Fs[e.type], n;
|
|
23476
23487
|
}, t.prototype.dispatchAction = function(e, n) {
|
|
23477
23488
|
if (this._disposed) {
|
|
@@ -23668,11 +23679,11 @@ var to, yf, ql, pa, bf, _f, wf, ns, as, i0, o0, Sf, s0, Kl, l0, qS, Ur, u0, KS =
|
|
|
23668
23679
|
this[cr] = !0;
|
|
23669
23680
|
var x = [d], S = !1;
|
|
23670
23681
|
d.batch && (S = !0, x = ye(d.batch, function(R) {
|
|
23671
|
-
return R = tt(
|
|
23682
|
+
return R = tt(fe({}, R), d), R.batch = null, R;
|
|
23672
23683
|
}));
|
|
23673
23684
|
var C = [], A, k = Zh(d), D = Gm(d);
|
|
23674
23685
|
if (D && _w(this._api), N(x, function(R) {
|
|
23675
|
-
if (A = m.action(R, h._model, h._api), A = A ||
|
|
23686
|
+
if (A = m.action(R, h._model, h._api), A = A || fe({}, R), A.type = y.event || A.type, C.push(A), D) {
|
|
23676
23687
|
var P = op(d), $ = P.queryOptionMap, Y = P.mainTypeSpecified, B = Y ? $.keys()[0] : "series";
|
|
23677
23688
|
ql(h, _, R, B), Ur(h);
|
|
23678
23689
|
} else k ? (ql(h, _, R, "series"), Ur(h)) : w && ql(h, _, R, w.main, w.sub);
|
|
@@ -23776,7 +23787,7 @@ var to, yf, ql, pa, bf, _f, wf, ns, as, i0, o0, Sf, s0, Kl, l0, qS, Ur, u0, KS =
|
|
|
23776
23787
|
});
|
|
23777
23788
|
}, Kl = function(d, f, h, v, p, g) {
|
|
23778
23789
|
var m = d._scheduler;
|
|
23779
|
-
p =
|
|
23790
|
+
p = fe(p || {}, {
|
|
23780
23791
|
updatedSeries: f.getSeries()
|
|
23781
23792
|
}), vn.trigger("series:beforeupdate", f, h, p);
|
|
23782
23793
|
var y = !1;
|
|
@@ -24197,7 +24208,7 @@ var Eu = (
|
|
|
24197
24208
|
/** @class */
|
|
24198
24209
|
/* @__PURE__ */ function() {
|
|
24199
24210
|
function r(t) {
|
|
24200
|
-
this.otherDims = {}, t != null &&
|
|
24211
|
+
this.otherDims = {}, t != null && fe(this, t);
|
|
24201
24212
|
}
|
|
24202
24213
|
return r;
|
|
24203
24214
|
}()
|
|
@@ -24408,7 +24419,7 @@ var os = Pe, ga = ye, S$ = typeof Int32Array > "u" ? Array : Int32Array, x$ = "e
|
|
|
24408
24419
|
}, r.prototype.getCalculationInfo = function(t) {
|
|
24409
24420
|
return this._calculationInfo[t];
|
|
24410
24421
|
}, r.prototype.setCalculationInfo = function(t, e) {
|
|
24411
|
-
os(t) ?
|
|
24422
|
+
os(t) ? fe(this._calculationInfo, t) : this._calculationInfo[t] = e;
|
|
24412
24423
|
}, r.prototype.getName = function(t) {
|
|
24413
24424
|
var e = this.getRawIndex(t), n = this._nameList[e];
|
|
24414
24425
|
return n == null && this._nameDimIdx != null && (n = ss(this, this._nameDimIdx, e)), n == null && (n = ""), n;
|
|
@@ -24518,7 +24529,7 @@ var os = Pe, ga = ye, S$ = typeof Int32Array > "u" ? Array : Int32Array, x$ = "e
|
|
|
24518
24529
|
var e = this._visual;
|
|
24519
24530
|
return e && e[t];
|
|
24520
24531
|
}, r.prototype.setVisual = function(t, e) {
|
|
24521
|
-
this._visual = this._visual || {}, os(t) ?
|
|
24532
|
+
this._visual = this._visual || {}, os(t) ? fe(this._visual, t) : this._visual[t] = e;
|
|
24522
24533
|
}, r.prototype.getItemVisual = function(t, e) {
|
|
24523
24534
|
var n = this._itemVisuals[t], a = n && n[e];
|
|
24524
24535
|
return a ?? this.getVisual(e);
|
|
@@ -24528,20 +24539,20 @@ var os = Pe, ga = ye, S$ = typeof Int32Array > "u" ? Array : Int32Array, x$ = "e
|
|
|
24528
24539
|
var n = this._itemVisuals, a = n[t];
|
|
24529
24540
|
a || (a = n[t] = {});
|
|
24530
24541
|
var i = a[e];
|
|
24531
|
-
return i == null && (i = this.getVisual(e), ve(i) ? i = i.slice() : os(i) && (i =
|
|
24542
|
+
return i == null && (i = this.getVisual(e), ve(i) ? i = i.slice() : os(i) && (i = fe({}, i)), a[e] = i), i;
|
|
24532
24543
|
}, r.prototype.setItemVisual = function(t, e, n) {
|
|
24533
24544
|
var a = this._itemVisuals[t] || {};
|
|
24534
|
-
this._itemVisuals[t] = a, os(e) ?
|
|
24545
|
+
this._itemVisuals[t] = a, os(e) ? fe(a, e) : a[e] = n;
|
|
24535
24546
|
}, r.prototype.clearAllVisual = function() {
|
|
24536
24547
|
this._visual = {}, this._itemVisuals = [];
|
|
24537
24548
|
}, r.prototype.setLayout = function(t, e) {
|
|
24538
|
-
os(t) ?
|
|
24549
|
+
os(t) ? fe(this._layout, t) : this._layout[t] = e;
|
|
24539
24550
|
}, r.prototype.getLayout = function(t) {
|
|
24540
24551
|
return this._layout[t];
|
|
24541
24552
|
}, r.prototype.getItemLayout = function(t) {
|
|
24542
24553
|
return this._itemLayouts[t];
|
|
24543
24554
|
}, r.prototype.setItemLayout = function(t, e, n) {
|
|
24544
|
-
this._itemLayouts[t] = n ?
|
|
24555
|
+
this._itemLayouts[t] = n ? fe(this._itemLayouts[t] || {}, e) : e;
|
|
24545
24556
|
}, r.prototype.clearItemLayouts = function() {
|
|
24546
24557
|
this._itemLayouts.length = 0;
|
|
24547
24558
|
}, r.prototype.setItemGraphicEl = function(t, e) {
|
|
@@ -24589,7 +24600,7 @@ var os = Pe, ga = ye, S$ = typeof Int32Array > "u" ? Array : Int32Array, x$ = "e
|
|
|
24589
24600
|
e.hasOwnProperty(n) && (t[n] = e[n]);
|
|
24590
24601
|
}), t.__wrappedMethods = e.__wrappedMethods, N(T$, function(n) {
|
|
24591
24602
|
t[n] = ze(e[n]);
|
|
24592
|
-
}), t._calculationInfo =
|
|
24603
|
+
}), t._calculationInfo = fe({}, e._calculationInfo);
|
|
24593
24604
|
}, Tf = function(t, e) {
|
|
24594
24605
|
var n = t._nameList, a = t._idList, i = t._nameDimIdx, o = t._idDimIdx, s = n[e], l = a[e];
|
|
24595
24606
|
if (s == null && i != null && (n[e] = s = ss(t, i, e)), l == null && o != null && (a[e] = l = ss(t, o, e)), l == null && s != null) {
|
|
@@ -24641,7 +24652,7 @@ function Vp(r, t) {
|
|
|
24641
24652
|
else {
|
|
24642
24653
|
O = A, k = O.name;
|
|
24643
24654
|
var R = O.ordinalMeta;
|
|
24644
|
-
O.ordinalMeta = null, O =
|
|
24655
|
+
O.ordinalMeta = null, O = fe({}, O), O.ordinalMeta = R, D = O.dimsDef, L = O.otherDims, O.name = O.coordDim = O.coordDimIndex = O.dimsDef = O.otherDims = null;
|
|
24645
24656
|
}
|
|
24646
24657
|
var P = d.get(k);
|
|
24647
24658
|
if (P !== !1) {
|
|
@@ -26849,7 +26860,7 @@ var i3 = function() {
|
|
|
26849
26860
|
function r(t, e, n, a) {
|
|
26850
26861
|
this.type = "canvas", this._zlevelList = [], this._prevDisplayList = [], this._layers = {}, this._layerConfig = {}, this._needsManuallyCompositing = !1, this.type = "canvas";
|
|
26851
26862
|
var i = !t.nodeName || t.nodeName.toUpperCase() === "CANVAS";
|
|
26852
|
-
this._opts = n =
|
|
26863
|
+
this._opts = n = fe({}, n || {}), this.dpr = n.devicePixelRatio || Xu, this._singleCanvas = i, this.root = t;
|
|
26853
26864
|
var o = t.style;
|
|
26854
26865
|
o && (x_(t), t.innerHTML = ""), this.storage = e;
|
|
26855
26866
|
var s = this._zlevelList;
|
|
@@ -27310,7 +27321,7 @@ var dd = (
|
|
|
27310
27321
|
var x = e.getItemVisual(n, "style"), S = x.fill;
|
|
27311
27322
|
if (s instanceof un) {
|
|
27312
27323
|
var C = s.style;
|
|
27313
|
-
s.useStyle(
|
|
27324
|
+
s.useStyle(fe({
|
|
27314
27325
|
// TODO other properties like x, y ?
|
|
27315
27326
|
image: C.image,
|
|
27316
27327
|
x: C.x,
|
|
@@ -27319,7 +27330,7 @@ var dd = (
|
|
|
27319
27330
|
height: C.height
|
|
27320
27331
|
}, x));
|
|
27321
27332
|
} else
|
|
27322
|
-
s.__isEmptyBrush ? s.useStyle(
|
|
27333
|
+
s.__isEmptyBrush ? s.useStyle(fe({}, x)) : s.useStyle(x), s.style.decal = null, s.setColor(S, o && o.symbolInnerColor), s.style.strokeNoScale = !0;
|
|
27323
27334
|
var A = e.getItemVisual(n, "liftZ"), k = this._z2;
|
|
27324
27335
|
A != null ? k == null && (this._z2 = s.z2, s.z2 += A) : k != null && (s.z2 = k, this._z2 = null);
|
|
27325
27336
|
var D = o && o.useNameLabel;
|
|
@@ -28824,7 +28835,7 @@ var P3 = (
|
|
|
28824
28835
|
}, R0 = {
|
|
28825
28836
|
cartesian2d: function(r, t, e, n, a, i, o, s, l) {
|
|
28826
28837
|
var u = new bt({
|
|
28827
|
-
shape:
|
|
28838
|
+
shape: fe({}, n),
|
|
28828
28839
|
z2: 1
|
|
28829
28840
|
});
|
|
28830
28841
|
if (u.__dataIndex = e, u.name = "item", i) {
|
|
@@ -28944,7 +28955,7 @@ function B0(r, t, e, n, a, i, o, s) {
|
|
|
28944
28955
|
if (s) {
|
|
28945
28956
|
if (!i.get("roundCap")) {
|
|
28946
28957
|
var c = r.shape, d = As(n.getModel("itemStyle"), c, !0);
|
|
28947
|
-
|
|
28958
|
+
fe(c, d), r.setShape(c);
|
|
28948
28959
|
}
|
|
28949
28960
|
} else {
|
|
28950
28961
|
var u = n.get(["itemStyle", "borderRadius"]) || 0;
|
|
@@ -29307,8 +29318,8 @@ function Y3(r) {
|
|
|
29307
29318
|
else {
|
|
29308
29319
|
var U = (Q ? (C.r + C.r0) / 2 * ae : C.r * ae) + n, ge = (Q ? (C.r + C.r0) / 2 * be : C.r * be) + a;
|
|
29309
29320
|
if (we = U + ae * 3, Se = ge + be * 3, !Q) {
|
|
29310
|
-
var oe = U + ae * (F + l - C.r),
|
|
29311
|
-
P === "edge" ? we = ae < 0 ? c + $ : c + u - $ : we = Ve + (ae < 0 ? -R : R), Se = $e, He = [[U, ge], [oe,
|
|
29321
|
+
var oe = U + ae * (F + l - C.r), de = ge + be * (F + l - C.r), Ve = oe + (ae < 0 ? -1 : 1) * J, $e = de;
|
|
29322
|
+
P === "edge" ? we = ae < 0 ? c + $ : c + u - $ : we = Ve + (ae < 0 ? -R : R), Se = $e, He = [[U, ge], [oe, de], [Ve, $e]];
|
|
29312
29323
|
}
|
|
29313
29324
|
Ze = Q ? "center" : P === "edge" ? ae > 0 ? "right" : "left" : ae > 0 ? "left" : "right";
|
|
29314
29325
|
}
|
|
@@ -29393,7 +29404,7 @@ var Z3 = (
|
|
|
29393
29404
|
return i.setTextContent(o), i.updateData(e, n, a, !0), i;
|
|
29394
29405
|
}
|
|
29395
29406
|
return t.prototype.updateData = function(e, n, a, i) {
|
|
29396
|
-
var o = this, s = e.hostModel, l = e.getItemModel(n), u = l.getModel("emphasis"), c = e.getItemLayout(n), d =
|
|
29407
|
+
var o = this, s = e.hostModel, l = e.getItemModel(n), u = l.getModel("emphasis"), c = e.getItemLayout(n), d = fe(As(l.getModel("itemStyle"), c, !0), c);
|
|
29397
29408
|
if (isNaN(d.startAngle)) {
|
|
29398
29409
|
o.setShape(d);
|
|
29399
29410
|
return;
|
|
@@ -29430,20 +29441,20 @@ var Z3 = (
|
|
|
29430
29441
|
}, s, n);
|
|
29431
29442
|
o.useStyle(e.getItemVisual(n, "style")), bn(o, l);
|
|
29432
29443
|
var h = (c.startAngle + c.endAngle) / 2, v = s.get("selectedOffset"), p = Math.cos(h) * v, g = Math.sin(h) * v, m = l.getShallow("cursor");
|
|
29433
|
-
m && o.attr("cursor", m), this._updateLabel(s, e, n), o.ensureState("emphasis").shape =
|
|
29444
|
+
m && o.attr("cursor", m), this._updateLabel(s, e, n), o.ensureState("emphasis").shape = fe({
|
|
29434
29445
|
r: c.r + (u.get("scale") && u.get("scaleSize") || 0)
|
|
29435
|
-
}, As(u.getModel("itemStyle"), c)),
|
|
29446
|
+
}, As(u.getModel("itemStyle"), c)), fe(o.ensureState("select"), {
|
|
29436
29447
|
x: p,
|
|
29437
29448
|
y: g,
|
|
29438
29449
|
shape: As(l.getModel(["select", "itemStyle"]), c)
|
|
29439
|
-
}),
|
|
29450
|
+
}), fe(o.ensureState("blur"), {
|
|
29440
29451
|
shape: As(l.getModel(["blur", "itemStyle"]), c)
|
|
29441
29452
|
});
|
|
29442
29453
|
var y = o.getTextGuideLine(), b = o.getTextContent();
|
|
29443
|
-
y &&
|
|
29454
|
+
y && fe(y.ensureState("select"), {
|
|
29444
29455
|
x: p,
|
|
29445
29456
|
y: g
|
|
29446
|
-
}),
|
|
29457
|
+
}), fe(b.ensureState("select"), {
|
|
29447
29458
|
x: p,
|
|
29448
29459
|
y: g
|
|
29449
29460
|
}), Hr(this, u.get("focus"), u.get("blurScope"), u.get("disabled"));
|
|
@@ -29493,7 +29504,7 @@ var Z3 = (
|
|
|
29493
29504
|
}
|
|
29494
29505
|
if (this._emptyCircleSector && l.remove(this._emptyCircleSector), o.count() === 0 && e.get("showEmptyCircle")) {
|
|
29495
29506
|
var f = Xx(e), h = new $n({
|
|
29496
|
-
shape:
|
|
29507
|
+
shape: fe(Zx(e, a), f)
|
|
29497
29508
|
});
|
|
29498
29509
|
h.useStyle(e.getModel("emptyCircleStyle").getItemStyle()), this._emptyCircleSector = h, l.add(h);
|
|
29499
29510
|
}
|
|
@@ -29520,7 +29531,7 @@ var Z3 = (
|
|
|
29520
29531
|
function fd(r, t, e) {
|
|
29521
29532
|
t = ve(t) && {
|
|
29522
29533
|
coordDimensions: t
|
|
29523
|
-
} ||
|
|
29534
|
+
} || fe({
|
|
29524
29535
|
encodeDefine: r.getEncode()
|
|
29525
29536
|
}, t);
|
|
29526
29537
|
var n = r.getSource(), a = Vp(n, t).dimensions, i = new ra(a, r);
|
|
@@ -30609,7 +30620,7 @@ var Ma = Math.PI, na = (
|
|
|
30609
30620
|
if (a === "auto" && r.handleAutoShown && (a = r.handleAutoShown("axisLine")), !!a) {
|
|
30610
30621
|
var i = t.axis.getExtent(), o = n.transform, s = [i[0], 0], l = [i[1], 0], u = s[0] > l[0];
|
|
30611
30622
|
o && (wr(s, s, o), wr(l, l, o));
|
|
30612
|
-
var c =
|
|
30623
|
+
var c = fe({
|
|
30613
30624
|
lineCap: "round"
|
|
30614
30625
|
}, t.getModel(["axisLine", "lineStyle"]).getLineStyle()), d = new wn({
|
|
30615
30626
|
shape: {
|
|
@@ -31054,7 +31065,7 @@ var DF = ["axisLine", "axisTickLabel", "axisName"], kF = ["splitArea", "splitLin
|
|
|
31054
31065
|
this.group.removeAll();
|
|
31055
31066
|
var o = this._axisGroup;
|
|
31056
31067
|
if (this._axisGroup = new dt(), this.group.add(this._axisGroup), !!e.get("show")) {
|
|
31057
|
-
var s = e.getCoordSysModel(), l = xv(s, e), u = new na(e,
|
|
31068
|
+
var s = e.getCoordSysModel(), l = xv(s, e), u = new na(e, fe({
|
|
31058
31069
|
handleAutoShown: function(d) {
|
|
31059
31070
|
for (var f = s.coordinateSystem.getCartesians(), h = 0; h < f.length; h++)
|
|
31060
31071
|
if (gv(f[h].getOtherAxis(e.axis).scale))
|
|
@@ -31300,7 +31311,7 @@ var OF = (
|
|
|
31300
31311
|
m.eachChild(function(C) {
|
|
31301
31312
|
if (C instanceof un) {
|
|
31302
31313
|
var A = C.style;
|
|
31303
|
-
C.useStyle(
|
|
31314
|
+
C.useStyle(fe({
|
|
31304
31315
|
// TODO other properties like x, y ?
|
|
31305
31316
|
image: A.image,
|
|
31306
31317
|
x: A.x,
|
|
@@ -32316,7 +32327,7 @@ function d4(r) {
|
|
|
32316
32327
|
}
|
|
32317
32328
|
function f4(r, t) {
|
|
32318
32329
|
if (m4(this)) {
|
|
32319
|
-
var e =
|
|
32330
|
+
var e = fe({}, rn(this).datas);
|
|
32320
32331
|
e[this.dataType] = t, cC(t, e, r);
|
|
32321
32332
|
} else
|
|
32322
32333
|
Qp(t, this.dataType, rn(this).mainData, r);
|
|
@@ -32699,7 +32710,7 @@ function C4(r) {
|
|
|
32699
32710
|
var e = t.getData(), n = e.tree;
|
|
32700
32711
|
n.eachNode(function(a) {
|
|
32701
32712
|
var i = a.getModel(), o = i.getModel("itemStyle").getItemStyle(), s = e.ensureUniqueItemVisual(a.dataIndex, "style");
|
|
32702
|
-
|
|
32713
|
+
fe(s, o);
|
|
32703
32714
|
});
|
|
32704
32715
|
});
|
|
32705
32716
|
}
|
|
@@ -32813,7 +32824,7 @@ var k4 = (
|
|
|
32813
32824
|
var n = r.prototype.getDataParams.apply(this, arguments), a = this.getData().tree.getNodeByDataIndex(e);
|
|
32814
32825
|
return n.treeAncestors = eg(a, this), n.treePathInfo = n.treeAncestors, n;
|
|
32815
32826
|
}, t.prototype.setLayoutInfo = function(e) {
|
|
32816
|
-
this.layoutInfo = this.layoutInfo || {},
|
|
32827
|
+
this.layoutInfo = this.layoutInfo || {}, fe(this.layoutInfo, e);
|
|
32817
32828
|
}, t.prototype.mapIdToIndex = function(e) {
|
|
32818
32829
|
var n = this._idIndexMap;
|
|
32819
32830
|
n || (n = this._idIndexMap = je(), this._idIndexMapCount = 0);
|
|
@@ -33221,7 +33232,7 @@ var Av = dt, gb = bt, mb = 3, yb = "label", bb = "upperLabel", V4 = hl * 10, z4
|
|
|
33221
33232
|
}), N(this._storage, function(d, f) {
|
|
33222
33233
|
N(d, function(h, v) {
|
|
33223
33234
|
var p = n.lastsForAnimation[f][v], g = {};
|
|
33224
|
-
p && (h instanceof dt ? p.oldX != null && (g.x = h.x, g.y = h.y, h.x = p.oldX, h.y = p.oldY) : (p.oldShape && (g.shape =
|
|
33235
|
+
p && (h instanceof dt ? p.oldX != null && (g.x = h.x, g.y = h.y, h.x = p.oldX, h.y = p.oldY) : (p.oldShape && (g.shape = fe({}, h.shape), h.setShape(p.oldShape)), p.fadein ? (h.setStyle("opacity", 0), g.style = {
|
|
33225
33236
|
opacity: 1
|
|
33226
33237
|
}) : h.style.opacity !== 1 && (g.style = {
|
|
33227
33238
|
opacity: 1
|
|
@@ -33411,7 +33422,7 @@ function F4(r, t, e, n, a, i, o, s, l, u) {
|
|
|
33411
33422
|
ae(U);
|
|
33412
33423
|
else {
|
|
33413
33424
|
U.invisible = !1;
|
|
33414
|
-
var
|
|
33425
|
+
var de = o.getVisual("style"), Ve = de.stroke, $e = _b(x);
|
|
33415
33426
|
$e.fill = Ve;
|
|
33416
33427
|
var Ae = ii(S);
|
|
33417
33428
|
Ae.fill = S.get("borderColor");
|
|
@@ -33424,7 +33435,7 @@ function F4(r, t, e, n, a, i, o, s, l, u) {
|
|
|
33424
33435
|
// PENDING: convert ZRColor to ColorString for text.
|
|
33425
33436
|
U,
|
|
33426
33437
|
Ve,
|
|
33427
|
-
|
|
33438
|
+
de.opacity,
|
|
33428
33439
|
{
|
|
33429
33440
|
x: p,
|
|
33430
33441
|
y: 0,
|
|
@@ -33441,12 +33452,12 @@ function F4(r, t, e, n, a, i, o, s, l, u) {
|
|
|
33441
33452
|
function ee(Q, U) {
|
|
33442
33453
|
var ge = it(U);
|
|
33443
33454
|
ge.dataIndex = o.dataIndex, ge.seriesIndex = r.seriesIndex;
|
|
33444
|
-
var oe = Math.max(h - 2 * p, 0),
|
|
33455
|
+
var oe = Math.max(h - 2 * p, 0), de = Math.max(v - 2 * p, 0);
|
|
33445
33456
|
if (U.culling = !0, U.setShape({
|
|
33446
33457
|
x: p,
|
|
33447
33458
|
y: p,
|
|
33448
33459
|
width: oe,
|
|
33449
|
-
height:
|
|
33460
|
+
height: de,
|
|
33450
33461
|
r: k
|
|
33451
33462
|
}), g)
|
|
33452
33463
|
ae(U);
|
|
@@ -33463,7 +33474,7 @@ function F4(r, t, e, n, a, i, o, s, l, u) {
|
|
|
33463
33474
|
!Q.invisible && i.push(Q);
|
|
33464
33475
|
}
|
|
33465
33476
|
function be(Q, U, ge, oe) {
|
|
33466
|
-
var
|
|
33477
|
+
var de = f.getModel(oe ? bb : yb), Ve = Nr(f.get("name"), null), $e = de.getShallow("show");
|
|
33467
33478
|
Fn(Q, nn(f, oe ? bb : yb), {
|
|
33468
33479
|
defaultText: $e ? Ve : null,
|
|
33469
33480
|
inheritColor: U,
|
|
@@ -33490,30 +33501,30 @@ function F4(r, t, e, n, a, i, o, s, l, u) {
|
|
|
33490
33501
|
function we(Q, U, ge) {
|
|
33491
33502
|
var oe = Q ? Q.text : null;
|
|
33492
33503
|
if (!U && ge.isLeafRoot && oe != null) {
|
|
33493
|
-
var
|
|
33494
|
-
Q.text =
|
|
33504
|
+
var de = r.get("drillDownIcon", !0);
|
|
33505
|
+
Q.text = de ? de + " " + oe : oe;
|
|
33495
33506
|
}
|
|
33496
33507
|
}
|
|
33497
33508
|
function Se(Q, U, ge, oe) {
|
|
33498
|
-
var
|
|
33499
|
-
return
|
|
33509
|
+
var de = y != null && e[Q][y], Ve = a[Q];
|
|
33510
|
+
return de ? (e[Q][y] = null, He(Ve, de)) : g || (de = new U(), de instanceof Vo && (de.z2 = H4(ge, oe)), Ze(Ve, de)), t[Q][m] = de;
|
|
33500
33511
|
}
|
|
33501
33512
|
function He(Q, U) {
|
|
33502
33513
|
var ge = Q[m] = {};
|
|
33503
|
-
U instanceof Av ? (ge.oldX = U.x, ge.oldY = U.y) : ge.oldShape =
|
|
33514
|
+
U instanceof Av ? (ge.oldX = U.x, ge.oldY = U.y) : ge.oldShape = fe({}, U.shape);
|
|
33504
33515
|
}
|
|
33505
33516
|
function Ze(Q, U) {
|
|
33506
|
-
var ge = Q[m] = {}, oe = o.parentNode,
|
|
33517
|
+
var ge = Q[m] = {}, oe = o.parentNode, de = U instanceof dt;
|
|
33507
33518
|
if (oe && (!n || n.direction === "drillDown")) {
|
|
33508
33519
|
var Ve = 0, $e = 0, Ae = a.background[oe.getRawIndex()];
|
|
33509
|
-
!n && Ae && Ae.oldShape && (Ve = Ae.oldShape.width, $e = Ae.oldShape.height),
|
|
33520
|
+
!n && Ae && Ae.oldShape && (Ve = Ae.oldShape.width, $e = Ae.oldShape.height), de ? (ge.oldX = 0, ge.oldY = $e) : ge.oldShape = {
|
|
33510
33521
|
x: Ve,
|
|
33511
33522
|
y: $e,
|
|
33512
33523
|
width: 0,
|
|
33513
33524
|
height: 0
|
|
33514
33525
|
};
|
|
33515
33526
|
}
|
|
33516
|
-
ge.fadein = !
|
|
33527
|
+
ge.fadein = !de;
|
|
33517
33528
|
}
|
|
33518
33529
|
}
|
|
33519
33530
|
function H4(r, t) {
|
|
@@ -33809,7 +33820,7 @@ function mC(r, t, e, n) {
|
|
|
33809
33820
|
}
|
|
33810
33821
|
}
|
|
33811
33822
|
function j4(r, t, e) {
|
|
33812
|
-
var n =
|
|
33823
|
+
var n = fe({}, t), a = e.designatedVisualItemStyle;
|
|
33813
33824
|
return N(["color", "colorAlpha", "colorSaturation"], function(i) {
|
|
33814
33825
|
a[i] = t[i];
|
|
33815
33826
|
var o = r.get(i);
|
|
@@ -33856,7 +33867,7 @@ function Yf(r, t) {
|
|
|
33856
33867
|
} : null;
|
|
33857
33868
|
}
|
|
33858
33869
|
function Q4(r, t, e, n, a, i) {
|
|
33859
|
-
var o =
|
|
33870
|
+
var o = fe({}, t);
|
|
33860
33871
|
if (a) {
|
|
33861
33872
|
var s = a.type, l = s === "color" && gC(a).drColorMappingBy, u = l === "index" ? n : l === "id" ? i.mapIdToIndex(e.getId()) : e.getValue(r.get("visualDimension"));
|
|
33862
33873
|
o[s] = a.mapValueToVisual(u);
|
|
@@ -33889,7 +33900,7 @@ const rH = {
|
|
|
33889
33900
|
};
|
|
33890
33901
|
p.setLayout(_), bC(p, b, !1, 0), _ = p.getLayout(), tg(g, function(x, S) {
|
|
33891
33902
|
var C = (g[S + 1] || p).getValue();
|
|
33892
|
-
x.setLayout(
|
|
33903
|
+
x.setLayout(fe({
|
|
33893
33904
|
dataExtent: [C, C],
|
|
33894
33905
|
borderWidth: 0,
|
|
33895
33906
|
upperHeight: 0
|
|
@@ -34615,7 +34626,7 @@ var bH = (
|
|
|
34615
34626
|
var $ = y.getItemGraphicEl(k), Y = y.getItemVisual(k, "style"), B = Y.fill;
|
|
34616
34627
|
if ($ instanceof un) {
|
|
34617
34628
|
var F = $.style;
|
|
34618
|
-
$.useStyle(
|
|
34629
|
+
$.useStyle(fe({
|
|
34619
34630
|
image: F.image,
|
|
34620
34631
|
x: F.x,
|
|
34621
34632
|
y: F.y,
|
|
@@ -35346,7 +35357,7 @@ var FH = (
|
|
|
35346
35357
|
var m = [];
|
|
35347
35358
|
N(g, function(_, w) {
|
|
35348
35359
|
var x;
|
|
35349
|
-
ve(_) ? (x = _.slice(), _.unshift(w)) : ve(_.value) ? (x =
|
|
35360
|
+
ve(_) ? (x = _.slice(), _.unshift(w)) : ve(_.value) ? (x = fe({}, _), x.value = x.value.slice(), _.value.unshift(w)) : x = _, m.push(x);
|
|
35350
35361
|
}), t.data = m;
|
|
35351
35362
|
}
|
|
35352
35363
|
var y = this.defaultValueDimensions, b = [{
|
|
@@ -35394,7 +35405,7 @@ var ZH = {
|
|
|
35394
35405
|
var o = a.getItemModel(i), s = a.getItemLayout(i).sign, l = o.getItemStyle();
|
|
35395
35406
|
l.fill = lg(s, o), l.stroke = ug(s, o) || l.fill;
|
|
35396
35407
|
var u = a.ensureUniqueItemVisual(i, "style");
|
|
35397
|
-
|
|
35408
|
+
fe(u, l);
|
|
35398
35409
|
}
|
|
35399
35410
|
}
|
|
35400
35411
|
};
|
|
@@ -36500,7 +36511,7 @@ function jb(r, t, e, n, a) {
|
|
|
36500
36511
|
return;
|
|
36501
36512
|
}
|
|
36502
36513
|
var o = D8(t, r), s = o.payloadBatch, l = o.snapToValue;
|
|
36503
|
-
s[0] && a.seriesIndex == null &&
|
|
36514
|
+
s[0] && a.seriesIndex == null && fe(a, s[0]), !n && r.snap && i.containData(l) && l != null && (t = l), e.showPointer(r, t, s), e.showTooltip(r, o, l);
|
|
36504
36515
|
}
|
|
36505
36516
|
}
|
|
36506
36517
|
function D8(r, t) {
|
|
@@ -37758,7 +37769,7 @@ Wn({
|
|
|
37758
37769
|
N(r.newOption.series, function(n) {
|
|
37759
37770
|
var a = t.getSeriesByName(n.name)[0];
|
|
37760
37771
|
if (!a)
|
|
37761
|
-
e.push(
|
|
37772
|
+
e.push(fe({
|
|
37762
37773
|
// Default is scatter
|
|
37763
37774
|
type: "scatter"
|
|
37764
37775
|
}, n));
|
|
@@ -38676,7 +38687,7 @@ var R6 = new bt({
|
|
|
38676
38687
|
var L = My(A.formatTooltip(k, !0, null)), O = L.frag;
|
|
38677
38688
|
if (O) {
|
|
38678
38689
|
var R = gs([A], i).get("valueFormatter");
|
|
38679
|
-
S.blocks.push(R ?
|
|
38690
|
+
S.blocks.push(R ? fe({
|
|
38680
38691
|
valueFormatter: R
|
|
38681
38692
|
}, O) : O);
|
|
38682
38693
|
}
|
|
@@ -38701,7 +38712,7 @@ var R6 = new bt({
|
|
|
38701
38712
|
if (!(g != null && g !== "item")) {
|
|
38702
38713
|
var m = u.getDataParams(c, d), y = new vf();
|
|
38703
38714
|
m.marker = y.makeTooltipMarker("item", Ni(m.color), h);
|
|
38704
|
-
var b = My(u.formatTooltip(c, !1, d)), _ = p.get("order"), w = p.get("valueFormatter"), x = b.frag, S = x ? Ey(w ?
|
|
38715
|
+
var b = My(u.formatTooltip(c, !1, d)), _ = p.get("order"), w = p.get("valueFormatter"), x = b.frag, S = x ? Ey(w ? fe({
|
|
38705
38716
|
valueFormatter: w
|
|
38706
38717
|
}, x) : x, y, h, _, i.get("useUTC"), p.get("textStyle")) : b.text, C = "item_" + u.name + "_" + c;
|
|
38707
38718
|
this._showOrMove(p, function() {
|
|
@@ -39113,7 +39124,7 @@ var pu = Tt(), sa = (
|
|
|
39113
39124
|
}
|
|
39114
39125
|
u ? u._mergeOption(l, n, !0) : (i && vu(l), N(l.data, function(c) {
|
|
39115
39126
|
c instanceof Array ? (vu(c[0]), vu(c[1])) : vu(c);
|
|
39116
|
-
}), u = this.createMarkerModelFromSeries(l, this, n),
|
|
39127
|
+
}), u = this.createMarkerModelFromSeries(l, this, n), fe(u, {
|
|
39117
39128
|
mainType: this.mainType,
|
|
39118
39129
|
// Use the same series index and name
|
|
39119
39130
|
seriesIndex: s.seriesIndex,
|
|
@@ -39344,7 +39355,7 @@ function Q6(r, t, e) {
|
|
|
39344
39355
|
var n;
|
|
39345
39356
|
r ? n = ye(r && r.dimensions, function(s) {
|
|
39346
39357
|
var l = t.getData().getDimensionInfo(t.getData().mapDimension(s)) || {};
|
|
39347
|
-
return
|
|
39358
|
+
return fe(fe({}, l), {
|
|
39348
39359
|
name: s,
|
|
39349
39360
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
39350
39361
|
ordinalMeta: null
|
|
@@ -39433,7 +39444,7 @@ var eW = (
|
|
|
39433
39444
|
} else
|
|
39434
39445
|
process.env.NODE_ENV !== "production" && Da("Invalid markLine data."), i = [];
|
|
39435
39446
|
}
|
|
39436
|
-
var g = [sl(r, i[0]), sl(r, i[1]),
|
|
39447
|
+
var g = [sl(r, i[0]), sl(r, i[1]), fe({}, i[2])];
|
|
39437
39448
|
return g[2].type = g[2].type || null, Ke(g[2], g[0]), Ke(g[2], g[1]), g;
|
|
39438
39449
|
};
|
|
39439
39450
|
function Mc(r) {
|
|
@@ -39541,7 +39552,7 @@ function aW(r, t, e) {
|
|
|
39541
39552
|
var n;
|
|
39542
39553
|
r ? n = ye(r && r.dimensions, function(u) {
|
|
39543
39554
|
var c = t.getData().getDimensionInfo(t.getData().mapDimension(u)) || {};
|
|
39544
|
-
return
|
|
39555
|
+
return fe(fe({}, c), {
|
|
39545
39556
|
name: u,
|
|
39546
39557
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
39547
39558
|
ordinalMeta: null
|
|
@@ -39737,7 +39748,7 @@ function cW(r, t, e) {
|
|
|
39737
39748
|
if (r) {
|
|
39738
39749
|
var o = ye(r && r.dimensions, function(u) {
|
|
39739
39750
|
var c = t.getData(), d = c.getDimensionInfo(c.mapDimension(u)) || {};
|
|
39740
|
-
return
|
|
39751
|
+
return fe(fe({}, d), {
|
|
39741
39752
|
name: u,
|
|
39742
39753
|
// DON'T use ordinalMeta to parse and collect ordinal.
|
|
39743
39754
|
ordinalMeta: null
|
|
@@ -40015,7 +40026,7 @@ var fW = function(r, t) {
|
|
|
40015
40026
|
if (!C.containName(p))
|
|
40016
40027
|
return;
|
|
40017
40028
|
var A = C.indexOfName(p), k = C.getItemVisual(A, "style"), D = C.getItemVisual(A, "legendIcon"), L = tn(k.fill);
|
|
40018
|
-
L && L[3] === 0 && (L[3] = 0.2, k =
|
|
40029
|
+
L && L[3] === 0 && (L[3] = 0.2, k = fe(fe({}, k), {
|
|
40019
40030
|
fill: ea(L, "rgba")
|
|
40020
40031
|
}));
|
|
40021
40032
|
var O = this._createItem(S, p, v, h, n, e, {}, k, D, d, i);
|
|
@@ -41653,7 +41664,7 @@ var kn = yt, XW = N, V1 = Math.min, vh = Math.max, jW = 12, qW = 6, KW = (
|
|
|
41653
41664
|
var u = e.getModel("indicatorStyle").getItemStyle();
|
|
41654
41665
|
if (l instanceof un) {
|
|
41655
41666
|
var c = l.style;
|
|
41656
|
-
l.useStyle(
|
|
41667
|
+
l.useStyle(fe({
|
|
41657
41668
|
// TODO other properties like x, y ?
|
|
41658
41669
|
image: c.image,
|
|
41659
41670
|
x: c.x,
|
|
@@ -42824,7 +42835,7 @@ const hG = {
|
|
|
42824
42835
|
}
|
|
42825
42836
|
function b() {
|
|
42826
42837
|
if (!(n.disabled || n.readonly)) {
|
|
42827
|
-
if (
|
|
42838
|
+
if (de.value) {
|
|
42828
42839
|
$t();
|
|
42829
42840
|
return;
|
|
42830
42841
|
}
|
|
@@ -42984,8 +42995,8 @@ const hG = {
|
|
|
42984
42995
|
function oe() {
|
|
42985
42996
|
U.value = null;
|
|
42986
42997
|
}
|
|
42987
|
-
const
|
|
42988
|
-
Mt(
|
|
42998
|
+
const de = se(!1);
|
|
42999
|
+
Mt(de, (ne) => {
|
|
42989
43000
|
ne || Nt(Ze);
|
|
42990
43001
|
});
|
|
42991
43002
|
function Ve() {
|
|
@@ -43059,7 +43070,7 @@ const hG = {
|
|
|
43059
43070
|
}
|
|
43060
43071
|
}
|
|
43061
43072
|
function Et() {
|
|
43062
|
-
if (n.disabled || n.readonly ||
|
|
43073
|
+
if (n.disabled || n.readonly || de.value) return;
|
|
43063
43074
|
const ne = window.SpeechRecognition || window.webkitSpeechRecognition;
|
|
43064
43075
|
if (!ne) {
|
|
43065
43076
|
o.error(Z("Voice input is not supported in this browser"));
|
|
@@ -43078,13 +43089,13 @@ const hG = {
|
|
|
43078
43089
|
}, j.onerror = (me) => {
|
|
43079
43090
|
a("voice-error", me), me.error === "not-allowed" || me.error === "service-not-allowed" || me.error === "audio-capture" ? (st = !0, o.error(Z("Microphone permission denied"))) : me.error !== "no-speech" && me.error !== "aborted" && o.error(Z("Voice input error"));
|
|
43080
43091
|
}, j.onend = () => {
|
|
43081
|
-
if (!_e &&
|
|
43092
|
+
if (!_e && de.value && !st)
|
|
43082
43093
|
try {
|
|
43083
43094
|
mt = "", j.start();
|
|
43084
43095
|
return;
|
|
43085
43096
|
} catch {
|
|
43086
43097
|
}
|
|
43087
|
-
|
|
43098
|
+
de.value = !1, Gt();
|
|
43088
43099
|
const me = _e || "stop";
|
|
43089
43100
|
if (_e = null, me === "cancel") {
|
|
43090
43101
|
Oe = !1, He(le), a("voice-cancel");
|
|
@@ -43098,10 +43109,10 @@ const hG = {
|
|
|
43098
43109
|
j = null, a("voice-error", me), o.error(Z("Voice input error"));
|
|
43099
43110
|
return;
|
|
43100
43111
|
}
|
|
43101
|
-
|
|
43112
|
+
de.value = !0, a("voice-start");
|
|
43102
43113
|
}
|
|
43103
43114
|
function gt() {
|
|
43104
|
-
if (
|
|
43115
|
+
if (de.value) {
|
|
43105
43116
|
_e = "stop";
|
|
43106
43117
|
try {
|
|
43107
43118
|
j == null || j.stop();
|
|
@@ -43110,7 +43121,7 @@ const hG = {
|
|
|
43110
43121
|
}
|
|
43111
43122
|
}
|
|
43112
43123
|
function $t() {
|
|
43113
|
-
if (
|
|
43124
|
+
if (de.value) {
|
|
43114
43125
|
_e = "stop", ke = !0;
|
|
43115
43126
|
try {
|
|
43116
43127
|
j == null || j.stop();
|
|
@@ -43119,7 +43130,7 @@ const hG = {
|
|
|
43119
43130
|
}
|
|
43120
43131
|
}
|
|
43121
43132
|
function Pt() {
|
|
43122
|
-
if (
|
|
43133
|
+
if (de.value) {
|
|
43123
43134
|
Oe = !0, _e = "cancel";
|
|
43124
43135
|
try {
|
|
43125
43136
|
j == null || j.stop();
|
|
@@ -43157,7 +43168,7 @@ const hG = {
|
|
|
43157
43168
|
]]),
|
|
43158
43169
|
style: qe(u.value)
|
|
43159
43170
|
}, [
|
|
43160
|
-
J.value.length && !
|
|
43171
|
+
J.value.length && !de.value ? (T(), I("div", _G, [
|
|
43161
43172
|
(T(!0), I(Ce, null, Ge(J.value, (Be) => (T(), I("div", {
|
|
43162
43173
|
key: Be.id,
|
|
43163
43174
|
class: "apbd-chat-input__file-chip",
|
|
@@ -43223,16 +43234,16 @@ const hG = {
|
|
|
43223
43234
|
E("div", DG, [
|
|
43224
43235
|
r.showVoiceButton ? (T(), I("div", kG, [
|
|
43225
43236
|
E("div", IG, [
|
|
43226
|
-
|
|
43227
|
-
|
|
43228
|
-
|
|
43237
|
+
de.value ? (T(), I("span", LG)) : V("", !0),
|
|
43238
|
+
de.value ? (T(), I("span", EG)) : V("", !0),
|
|
43239
|
+
de.value ? (T(), I("span", PG)) : V("", !0),
|
|
43229
43240
|
E("button", {
|
|
43230
43241
|
type: "button",
|
|
43231
|
-
class: re(["apbd-chat-input__voice-btn", { "apbd-chat-input__voice-btn--listening":
|
|
43242
|
+
class: re(["apbd-chat-input__voice-btn", { "apbd-chat-input__voice-btn--listening": de.value }]),
|
|
43232
43243
|
disabled: r.disabled || r.readonly || !ut,
|
|
43233
|
-
title: ut ?
|
|
43234
|
-
"aria-label":
|
|
43235
|
-
onClick: me[0] || (me[0] = (Be) =>
|
|
43244
|
+
title: ut ? de.value ? M(Z)("Stop recording") : M(Z)("Voice input") : M(rt) ? M(Z)("Voice input only works in Safari on iOS") : M(Z)("Voice input is not supported in this browser"),
|
|
43245
|
+
"aria-label": de.value ? M(Z)("Stop recording") : M(Z)("Voice input"),
|
|
43246
|
+
onClick: me[0] || (me[0] = (Be) => de.value ? gt() : Et())
|
|
43236
43247
|
}, [
|
|
43237
43248
|
ce(M(J1), { size: 18 })
|
|
43238
43249
|
], 10, NG)
|