@ecan-bi/datav 1.0.45 → 1.0.46
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 +19 -11
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +19 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +13 -13
- package/package.json +1 -1
- package/types/control/tabs/Tabs.vue.d.ts +0 -14
- package/types/control/tabs/index.d.ts +0 -14
- package/types/control/tabs/props.d.ts +0 -8
package/dist/index.es.js
CHANGED
|
@@ -2618,9 +2618,10 @@ const _sfc_main$n = defineComponent({
|
|
|
2618
2618
|
const requestFnList = requestModelArr[i][1];
|
|
2619
2619
|
await handleRequestFnList(requestFnList);
|
|
2620
2620
|
}
|
|
2621
|
-
requestModel.clear();
|
|
2622
2621
|
} catch (e) {
|
|
2623
2622
|
console.error(e);
|
|
2623
|
+
} finally {
|
|
2624
|
+
requestModel.clear();
|
|
2624
2625
|
}
|
|
2625
2626
|
};
|
|
2626
2627
|
provide(REQUEST_MODEL, {
|
|
@@ -3207,7 +3208,7 @@ const proportionProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3207
3208
|
});
|
|
3208
3209
|
const proportionComponentProps = transformToComponentProps(proportionProps);
|
|
3209
3210
|
const proportionEvents = ["refreshData", "click"];
|
|
3210
|
-
var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-
|
|
3211
|
+
var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-8be86ed2] {\n overflow: hidden;\n}\n.progress[data-v-8be86ed2] {\n width: 100%;\n height: 100%;\n}\n.format[data-v-8be86ed2] {\n margin: 0 auto;\n}\n")();
|
|
3211
3212
|
const _sfc_main$h = defineComponent({
|
|
3212
3213
|
name: "EcanProportion",
|
|
3213
3214
|
components: {
|
|
@@ -3268,6 +3269,7 @@ const _sfc_main$h = defineComponent({
|
|
|
3268
3269
|
var _a2;
|
|
3269
3270
|
if (props2.dataType !== "request" || unref(pageMode) === "design")
|
|
3270
3271
|
return;
|
|
3272
|
+
console.log("\u8BF7\u6C42");
|
|
3271
3273
|
try {
|
|
3272
3274
|
loading.value = true;
|
|
3273
3275
|
const res = await requestData();
|
|
@@ -3340,7 +3342,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3340
3342
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
3341
3343
|
], 4);
|
|
3342
3344
|
}
|
|
3343
|
-
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
3345
|
+
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-8be86ed2"]]);
|
|
3344
3346
|
const EcanProportion = withInstall(Proportion);
|
|
3345
3347
|
const inputProps = __spreadProps(__spreadValues({}, props), {
|
|
3346
3348
|
width: "200px",
|
|
@@ -3696,6 +3698,7 @@ const tabsProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3696
3698
|
name: "\u6807\u7B7E\u9875",
|
|
3697
3699
|
keyName: "\u6807\u7B7E\u9875",
|
|
3698
3700
|
width: "200px",
|
|
3701
|
+
height: "400px",
|
|
3699
3702
|
tabFontSize: "14px",
|
|
3700
3703
|
backgroundColor: "",
|
|
3701
3704
|
activeTabColor: "#1890ff",
|
|
@@ -3703,7 +3706,6 @@ const tabsProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3703
3706
|
activeTabBackgroundImage: "",
|
|
3704
3707
|
tabColor: "#333",
|
|
3705
3708
|
tabBarGutter: "0px",
|
|
3706
|
-
tabHeight: "30px",
|
|
3707
3709
|
value: "",
|
|
3708
3710
|
activeKey: 0,
|
|
3709
3711
|
contains: [],
|
|
@@ -3721,7 +3723,7 @@ const tabsProps = __spreadProps(__spreadValues({}, props), {
|
|
|
3721
3723
|
});
|
|
3722
3724
|
const tabsComponentProps = transformToComponentProps(tabsProps);
|
|
3723
3725
|
const tabsEvents = ["tabChange"];
|
|
3724
|
-
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-tabs[data-v-
|
|
3726
|
+
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-tabs[data-v-d53b6936] {\n display: flex;\n flex-direction: column;\n}\n.tabs-header[data-v-d53b6936] {\n color: #333333;\n display: flex;\n width: 100%;\n}\n.tab[data-v-d53b6936] {\n background-size: 100% 100%;\n background-repeat: no-repeat;\n padding: 0 12px;\n cursor: default;\n}\n.tab-inner[data-v-d53b6936] {\n padding: 12px 0;\n}\n.tab[data-v-d53b6936]:last-child {\n margin-right: 0 !important;\n}\n.tabs-content[data-v-d53b6936] {\n flex: 1;\n}\n")();
|
|
3725
3727
|
const _sfc_main$b = defineComponent({
|
|
3726
3728
|
name: "EcanTabs",
|
|
3727
3729
|
props: __spreadValues({}, tabsComponentProps),
|
|
@@ -3769,7 +3771,7 @@ const _sfc_main$b = defineComponent({
|
|
|
3769
3771
|
};
|
|
3770
3772
|
}
|
|
3771
3773
|
});
|
|
3772
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
3774
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-d53b6936"), n = n(), popScopeId(), n);
|
|
3773
3775
|
const _hoisted_1$3 = ["onClick"];
|
|
3774
3776
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
3775
3777
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -3789,18 +3791,24 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3789
3791
|
style: normalizeStyle({
|
|
3790
3792
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
3791
3793
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
3792
|
-
marginRight: _ctx.tabBarGutter
|
|
3793
|
-
height: _ctx.tabHeight
|
|
3794
|
+
marginRight: _ctx.tabBarGutter
|
|
3794
3795
|
}),
|
|
3795
3796
|
key: index2,
|
|
3796
|
-
onClick: withModifiers(($event) => _ctx.tabChange(tab, index2), ["stop"])
|
|
3797
|
-
},
|
|
3797
|
+
onClick: withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
|
|
3798
|
+
}, [
|
|
3799
|
+
createElementVNode("div", {
|
|
3800
|
+
class: "tab-inner",
|
|
3801
|
+
style: normalizeStyle({
|
|
3802
|
+
borderBottom: `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}`
|
|
3803
|
+
})
|
|
3804
|
+
}, toDisplayString(tab.title), 5)
|
|
3805
|
+
], 12, _hoisted_1$3);
|
|
3798
3806
|
}), 128))
|
|
3799
3807
|
], 4),
|
|
3800
3808
|
_hoisted_2$1
|
|
3801
3809
|
], 4);
|
|
3802
3810
|
}
|
|
3803
|
-
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-
|
|
3811
|
+
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-d53b6936"]]);
|
|
3804
3812
|
const EcanTabs = withInstall(Tabs);
|
|
3805
3813
|
const pieProps = __spreadProps(__spreadValues({}, props), {
|
|
3806
3814
|
id: "",
|