g-ui-web 1.1.3 → 1.1.4
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/lib/g-ui-web.js +53 -37
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +4 -4
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +1 -1
package/lib/g-ui-web.js
CHANGED
|
@@ -97008,21 +97008,19 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
97008
97008
|
emits: ["arrow-click"],
|
|
97009
97009
|
setup(e, { expose: t, emit: r }) {
|
|
97010
97010
|
Ws((k) => ({
|
|
97011
|
-
"
|
|
97012
|
-
"
|
|
97013
|
-
"
|
|
97014
|
-
"
|
|
97015
|
-
"
|
|
97016
|
-
|
|
97017
|
-
|
|
97018
|
-
"
|
|
97019
|
-
"
|
|
97020
|
-
"
|
|
97021
|
-
|
|
97011
|
+
"6b192e68": l.value,
|
|
97012
|
+
"292ff87e": u.value,
|
|
97013
|
+
"860fc2a6": c.value,
|
|
97014
|
+
"16e7e09c": d.value,
|
|
97015
|
+
"067a560e": f.value,
|
|
97016
|
+
"6397b35d": g.value,
|
|
97017
|
+
bf6a6178: h.value,
|
|
97018
|
+
"9ab5dd6a": v.value,
|
|
97019
|
+
"9b6a3e74": m.value,
|
|
97020
|
+
"29630aaf": _.value,
|
|
97021
|
+
"6d8a1845": b.value
|
|
97022
97022
|
}));
|
|
97023
|
-
const n = Tr()
|
|
97024
|
-
console.log(n.name, "nnn");
|
|
97025
|
-
const a = e, o = R(() => a.bg && a.type != "default" ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-top-${a.size} g-target-s-${a.type}`), i = R(() => a.bg && a.type != "default" ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-bottom-${a.size} g-target-s-${a.type}`), s = R(() => a.bg && a.type != "default" ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-left-${a.size} g-target-s-${a.type}`), l = R(() => a.border ? "1px solid" : "0"), u = R(() => a.border ? "var(--border-radius-base)" : ""), c = R(() => a.bg ? n.name && typeof n.name == "string" && n.name.includes("white") ? `var(--color-${a.type}-lights-7)` : `var(--color-${a.type}-lights-6)` : ""), d = R(() => a.bg ? `var(--color-${a.type})` : ""), f = R(() => a.border && a.type != "default" ? `var(--color-${a.type})` : "var(--target-font-color)"), p = R(() => {
|
|
97023
|
+
const n = Tr(), a = e, o = R(() => a.bg && a.type != "default" ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-top-${a.size} g-target-s-${a.type}`), i = R(() => a.bg && a.type != "default" ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-bottom-${a.size} g-target-s-${a.type}`), s = R(() => a.bg && a.type != "default" ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-left-${a.size} g-target-s-${a.type}`), l = R(() => a.border ? "1px solid" : "0"), u = R(() => a.border ? "var(--border-radius-base)" : ""), c = R(() => a.bg ? n.name && typeof n.name == "string" && n.name.includes("white") ? `var(--color-${a.type}-lights-7)` : `var(--color-${a.type}-lights-6)` : ""), d = R(() => a.bg ? `var(--color-${a.type})` : ""), f = R(() => a.border && a.type != "default" ? `var(--color-${a.type})` : "var(--target-font-color)"), p = R(() => {
|
|
97026
97024
|
if (a.aspect)
|
|
97027
97025
|
if (a.aspectPlacement == "left") {
|
|
97028
97026
|
if (a.border)
|
|
@@ -97063,7 +97061,7 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
97063
97061
|
if (a.bg && !a.border)
|
|
97064
97062
|
return a.type != "default" ? `var(--color-${a.type}-num-10)` : "var(--color-primary-num-5)";
|
|
97065
97063
|
}), m = R(() => a.aspect ? "calc(var(--layout-padding-default) * 1.5)" : "calc(var(--layout-padding-default) * 0.2)"), b = R(() => {
|
|
97066
|
-
if (
|
|
97064
|
+
if (n.name == "om-blue" && a.size == "lg")
|
|
97067
97065
|
return 18 * 1.42 + "px";
|
|
97068
97066
|
if (n.name != "om-blue" && a.size == "lg")
|
|
97069
97067
|
return "calc(var(--font-size-base) * 1.42)";
|
|
@@ -97286,7 +97284,7 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
97286
97284
|
], 64);
|
|
97287
97285
|
};
|
|
97288
97286
|
}
|
|
97289
|
-
}), cct = /* @__PURE__ */ Qn(uct, [["__scopeId", "data-v-
|
|
97287
|
+
}), cct = /* @__PURE__ */ Qn(uct, [["__scopeId", "data-v-d6c07e52"]]), dct = tr(cct), fct = { class: "left" }, pct = { class: "right" }, hct = { class: "top" }, vct = { class: "bottom" }, gct = H({
|
|
97290
97288
|
name: "GTargetR"
|
|
97291
97289
|
}), mct = /* @__PURE__ */ H({
|
|
97292
97290
|
...gct,
|
|
@@ -97615,15 +97613,15 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
97615
97613
|
emits: ["arrow-click"],
|
|
97616
97614
|
setup(e, { expose: t, emit: r }) {
|
|
97617
97615
|
Ws((E) => ({
|
|
97618
|
-
|
|
97619
|
-
|
|
97620
|
-
|
|
97621
|
-
"
|
|
97622
|
-
"
|
|
97623
|
-
"
|
|
97624
|
-
|
|
97625
|
-
"
|
|
97626
|
-
|
|
97616
|
+
a2077606: u.value,
|
|
97617
|
+
fa95a822: c.value,
|
|
97618
|
+
d7cd4d48: d.value,
|
|
97619
|
+
"62ca2a21": f.value,
|
|
97620
|
+
"025c1eb0": p.value,
|
|
97621
|
+
"495a474e": m.value,
|
|
97622
|
+
"0c5ffa96": v.value,
|
|
97623
|
+
"20e32bba": g.value,
|
|
97624
|
+
"0bd01437": b.value
|
|
97627
97625
|
}));
|
|
97628
97626
|
const n = Tr(), a = e, o = z(null), i = R(() => a.bg && a.type != "default" ? `g-target-m-top-${a.size} g-target-m-${a.type} g-target-m-bg` : !a.bg && a.border ? `g-target-m-top-${a.size} g-target-m-${a.type} g-target-m-border` : `g-target-m-top-${a.size} g-target-m-${a.type}`), s = R(() => a.bg && a.type != "default" ? `g-target-m-bottom-${a.size} g-target-m-${a.type} g-target-m-bg` : !a.bg && a.border ? `g-target-m-bottom-${a.size} g-target-m-${a.type} g-target-m-border` : `g-target-m-bottom-${a.size} g-target-m-${a.type}`), l = R(() => a.bg && a.type != "default" ? `g-target-m-right-${a.size} g-target-m-${a.type} g-target-m-bg` : !a.bg && a.border ? `g-target-m-right-${a.size} g-target-m-${a.type} g-target-m-border` : `g-target-m-right-${a.size} g-target-m-${a.type}`), u = R(() => a.border ? "1px solid" : "0"), c = R(() => a.border ? "var(--border-radius-base)" : ""), d = R(() => a.bg ? n.name && typeof n.name == "string" && n.name.includes("white") ? `var(--color-${a.type}-lights-7)` : `var(--color-${a.type}-lights-6)` : ""), f = R(() => a.bg ? `var(--color-${a.type})` : ""), p = R(() => a.border ? `var(--color-${a.type})` : ""), h = R(() => {
|
|
97629
97627
|
if (a.aspect)
|
|
@@ -97666,6 +97664,24 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
97666
97664
|
if (a.bg && !a.border)
|
|
97667
97665
|
return a.type != "default" ? `var(--color-${a.type}-num-10)` : "var(--color-primary-num-5)";
|
|
97668
97666
|
}), b = R(() => a.aspect ? "calc(var(--layout-padding-default) * 1.5)" : "calc(var(--layout-padding-default) * 0.5)");
|
|
97667
|
+
R(() => {
|
|
97668
|
+
if (n.name == "om-blue" && a.size == "lg")
|
|
97669
|
+
return 18 * 1.42 + "px";
|
|
97670
|
+
if (n.name != "om-blue" && a.size == "lg")
|
|
97671
|
+
return "calc(var(--font-size-base) * 1.42)";
|
|
97672
|
+
if (n.name == "om-blue" && a.size == "md")
|
|
97673
|
+
return "18px";
|
|
97674
|
+
if (n.name != "om-blue" && a.size == "md")
|
|
97675
|
+
return "calc(var(--font-size-base)";
|
|
97676
|
+
if (n.name == "om-blue" && a.size == "sm")
|
|
97677
|
+
return 18 * 0.85 + "px";
|
|
97678
|
+
if (n.name != "om-blue" && a.size == "sm")
|
|
97679
|
+
return "calc(var(--font-size-base) * 0.85)";
|
|
97680
|
+
if (n.name == "om-blue" && a.size == "xs")
|
|
97681
|
+
return 18 * 0.85 + "px";
|
|
97682
|
+
if (n.name != "om-blue" && a.size == "xs")
|
|
97683
|
+
return "calc(var(--font-size-base) * 0.85)";
|
|
97684
|
+
});
|
|
97669
97685
|
let _ = z([]), w = z([]);
|
|
97670
97686
|
const C = z({}), x = (E, T) => {
|
|
97671
97687
|
const A = [];
|
|
@@ -98590,14 +98606,14 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
98590
98606
|
},
|
|
98591
98607
|
setup(e, { expose: t }) {
|
|
98592
98608
|
Ws((M) => ({
|
|
98593
|
-
"
|
|
98594
|
-
"
|
|
98595
|
-
"
|
|
98596
|
-
|
|
98597
|
-
"
|
|
98598
|
-
"
|
|
98599
|
-
"
|
|
98600
|
-
"
|
|
98609
|
+
"127d08f5": v.value,
|
|
98610
|
+
"492c0787": w.value,
|
|
98611
|
+
"3de4fe6e": b.value,
|
|
98612
|
+
"1ad354e1": _.value,
|
|
98613
|
+
"4fe50ff0": C.value,
|
|
98614
|
+
"23c2b2a8": g.value,
|
|
98615
|
+
"3e9f599e": h.value,
|
|
98616
|
+
"6571a118": p.value
|
|
98601
98617
|
}));
|
|
98602
98618
|
let r = cn.state;
|
|
98603
98619
|
const n = Tr(), a = e;
|
|
@@ -98646,7 +98662,7 @@ const Hut = /* @__PURE__ */ Ll(zut), Wut = ["id"], Gut = /* @__PURE__ */ H({
|
|
|
98646
98662
|
a.size,
|
|
98647
98663
|
a.bg,
|
|
98648
98664
|
a.options.subText,
|
|
98649
|
-
n.name.includes("white") ? `--color-${a.type}-lights-6` : `--color-${a.type}-lights-1`
|
|
98665
|
+
n.name.includes("om-blue") ? `--color-${a.type}-lights-6` : n.name.includes("white") ? `--color-${a.type}-lights-6` : `--color-${a.type}-lights-1`
|
|
98650
98666
|
), l.value[0] = {
|
|
98651
98667
|
title: k == null ? void 0 : k.title,
|
|
98652
98668
|
field: s.value[k == null ? void 0 : k.field],
|
|
@@ -115290,7 +115306,7 @@ ${m.value}${(t == null ? void 0 : t.unit) || ""}`,
|
|
|
115290
115306
|
dataIndex: 0
|
|
115291
115307
|
}), _.value[1] = 0)) : (T.off("click"), T.on("click", async (M) => {
|
|
115292
115308
|
var k;
|
|
115293
|
-
if (
|
|
115309
|
+
if (d.value) {
|
|
115294
115310
|
if (M.seriesIndex > 0) {
|
|
115295
115311
|
const V = d.value.series[M.seriesIndex].data[M.dataIndex];
|
|
115296
115312
|
if (b.value = M.seriesIndex, _.value[M.seriesIndex] = M.dataIndex, V && V.children && V.children.length > 0) {
|
|
@@ -115508,7 +115524,7 @@ ${P.value}${(A == null ? void 0 : A.unit) || ""}`;
|
|
|
115508
115524
|
], 2);
|
|
115509
115525
|
};
|
|
115510
115526
|
}
|
|
115511
|
-
}), _8t = /* @__PURE__ */ Qn(b8t, [["__scopeId", "data-v-
|
|
115527
|
+
}), _8t = /* @__PURE__ */ Qn(b8t, [["__scopeId", "data-v-5e5e514d"]]), w8t = tr(_8t), C8t = { class: "g-calendar" }, x8t = { class: "g-calendar-header" }, S8t = { class: "switch-box" }, E8t = { class: "switch-box1" }, T8t = { class: "switch-box2" }, A8t = {
|
|
115512
115528
|
key: 0,
|
|
115513
115529
|
class: "todoList"
|
|
115514
115530
|
}, M8t = { class: "popover-inbox" }, k8t = ["onClick"], D8t = {
|
|
@@ -115943,7 +115959,7 @@ ${P.value}${(A == null ? void 0 : A.unit) || ""}`;
|
|
|
115943
115959
|
], 2);
|
|
115944
115960
|
};
|
|
115945
115961
|
}
|
|
115946
|
-
}), H8t = /* @__PURE__ */ Qn(z8t, [["__scopeId", "data-v-9bc90b2c"]]), W8t = tr(H8t), G8t = Tr(), T_ = document.documentElement, U8t = (e) => e || "", K8t = (e, t, r, n) => (
|
|
115962
|
+
}), H8t = /* @__PURE__ */ Qn(z8t, [["__scopeId", "data-v-9bc90b2c"]]), W8t = tr(H8t), G8t = Tr(), T_ = document.documentElement, U8t = (e) => e || "", K8t = (e, t, r, n) => ({
|
|
115947
115963
|
backgroundColor: G8t.chartOption.backgroundColor,
|
|
115948
115964
|
color: JSON.parse(getComputedStyle(T_).getPropertyValue("--ui-chart-colors")),
|
|
115949
115965
|
tooltip: {
|
package/lib/g-ui-web.js.gz
CHANGED
|
Binary file
|