@ecan-bi/datav 1.2.75 → 1.2.76
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/index.es.js +6 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/types/control/button/Button.vue.d.ts +10 -2
- package/types/control/button/index.d.ts +10 -2
- package/types/control/button/props.d.ts +7 -2
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.2.
|
|
1
|
+
/*! @ecan-bi/datav@1.2.76 */
|
|
2
2
|
import { watch as de, inject as te, computed as X, unref as P, watchEffect as Lo, defineComponent as ye, shallowRef as Mn, toRefs as ki, onMounted as qt, onUnmounted as _n, h as An, nextTick as _t, createVNode as ae, resolveComponent as re, openBlock as U, createElementBlock as K, createBlock as Me, renderSlot as cn, withCtx as le, ref as G, normalizeStyle as oe, createCommentVNode as Ne, provide as ct, onBeforeUnmount as _o, useCssVars as En, toDisplayString as Ie, Fragment as Ge, renderList as nt, createElementVNode as ge, normalizeClass as vt, pushScopeId as Dn, popScopeId as Bn, createTextVNode as gt, Teleport as Er, resolveDynamicComponent as Eo, mergeProps as ln, normalizeProps as Dr, toHandlers as Br, withModifiers as Rr, reactive as Ti, withDirectives as Ir, vModelText as _i, vShow as Ei } from "vue";
|
|
3
3
|
import { throttle as Di, init as Bi, use as Dt, registerMap as fn } from "echarts/core";
|
|
4
4
|
import { addListener as Ri, removeListener as Ii } from "resize-detector";
|
|
@@ -9101,8 +9101,9 @@ const Fu = /* @__PURE__ */ me($o, [["render", Mu], ["__scopeId", "data-v-ca49f36
|
|
|
9101
9101
|
target: "self",
|
|
9102
9102
|
fontSize: "14px",
|
|
9103
9103
|
fontWeight: 400,
|
|
9104
|
-
|
|
9105
|
-
buttonBackgroundColor: "#FFFFFF"
|
|
9104
|
+
tooltipTextStyleColor: "",
|
|
9105
|
+
buttonBackgroundColor: "#FFFFFF",
|
|
9106
|
+
borderColor: ""
|
|
9106
9107
|
}, R0 = Se(B0), Nu = ["click"], Pu = ye({
|
|
9107
9108
|
name: "EcanButton",
|
|
9108
9109
|
components: {
|
|
@@ -9120,7 +9121,7 @@ const Fu = /* @__PURE__ */ me($o, [["render", Mu], ["__scopeId", "data-v-ca49f36
|
|
|
9120
9121
|
}, "*");
|
|
9121
9122
|
}), a = X(() => {
|
|
9122
9123
|
const c = {};
|
|
9123
|
-
return e.mode !== "primary" && (c.backgroundColor = e.buttonBackgroundColor || "transparent", c.color = e.
|
|
9124
|
+
return e.mode !== "primary" && (c.backgroundColor = e.buttonBackgroundColor || "transparent", c.color = e.tooltipTextStyleColor, c.borderColor = e.borderColor || "transparent"), {
|
|
9124
9125
|
height: e.height,
|
|
9125
9126
|
...c
|
|
9126
9127
|
};
|
|
@@ -9157,7 +9158,7 @@ function Hu(e, n, t, o, a, r) {
|
|
|
9157
9158
|
href: e.myHref,
|
|
9158
9159
|
target: e.myTarget,
|
|
9159
9160
|
style: oe(e.buttonStyle),
|
|
9160
|
-
class: vt(e.
|
|
9161
|
+
class: vt(e.tooltipTextStyleColor ? "custom-color" : "")
|
|
9161
9162
|
}, {
|
|
9162
9163
|
default: le(() => [
|
|
9163
9164
|
ge("span", {
|