@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.umd.js
CHANGED
|
@@ -2628,9 +2628,10 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
2628
2628
|
const requestFnList = requestModelArr[i][1];
|
|
2629
2629
|
await handleRequestFnList(requestFnList);
|
|
2630
2630
|
}
|
|
2631
|
-
requestModel.clear();
|
|
2632
2631
|
} catch (e) {
|
|
2633
2632
|
console.error(e);
|
|
2633
|
+
} finally {
|
|
2634
|
+
requestModel.clear();
|
|
2634
2635
|
}
|
|
2635
2636
|
};
|
|
2636
2637
|
vue.provide(REQUEST_MODEL, {
|
|
@@ -3217,7 +3218,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3217
3218
|
});
|
|
3218
3219
|
const proportionComponentProps = transformToComponentProps(proportionProps);
|
|
3219
3220
|
const proportionEvents = ["refreshData", "click"];
|
|
3220
|
-
var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-
|
|
3221
|
+
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")();
|
|
3221
3222
|
const _sfc_main$h = vue.defineComponent({
|
|
3222
3223
|
name: "EcanProportion",
|
|
3223
3224
|
components: {
|
|
@@ -3278,6 +3279,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3278
3279
|
var _a2;
|
|
3279
3280
|
if (props2.dataType !== "request" || vue.unref(pageMode) === "design")
|
|
3280
3281
|
return;
|
|
3282
|
+
console.log("\u8BF7\u6C42");
|
|
3281
3283
|
try {
|
|
3282
3284
|
loading.value = true;
|
|
3283
3285
|
const res = await requestData();
|
|
@@ -3350,7 +3352,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3350
3352
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
3351
3353
|
], 4);
|
|
3352
3354
|
}
|
|
3353
|
-
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-
|
|
3355
|
+
var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-8be86ed2"]]);
|
|
3354
3356
|
const EcanProportion = withInstall(Proportion);
|
|
3355
3357
|
const inputProps = __spreadProps(__spreadValues({}, props), {
|
|
3356
3358
|
width: "200px",
|
|
@@ -3706,6 +3708,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3706
3708
|
name: "\u6807\u7B7E\u9875",
|
|
3707
3709
|
keyName: "\u6807\u7B7E\u9875",
|
|
3708
3710
|
width: "200px",
|
|
3711
|
+
height: "400px",
|
|
3709
3712
|
tabFontSize: "14px",
|
|
3710
3713
|
backgroundColor: "",
|
|
3711
3714
|
activeTabColor: "#1890ff",
|
|
@@ -3713,7 +3716,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3713
3716
|
activeTabBackgroundImage: "",
|
|
3714
3717
|
tabColor: "#333",
|
|
3715
3718
|
tabBarGutter: "0px",
|
|
3716
|
-
tabHeight: "30px",
|
|
3717
3719
|
value: "",
|
|
3718
3720
|
activeKey: 0,
|
|
3719
3721
|
contains: [],
|
|
@@ -3731,7 +3733,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3731
3733
|
});
|
|
3732
3734
|
const tabsComponentProps = transformToComponentProps(tabsProps);
|
|
3733
3735
|
const tabsEvents = ["tabChange"];
|
|
3734
|
-
var Tabs_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-tabs[data-v-
|
|
3736
|
+
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")();
|
|
3735
3737
|
const _sfc_main$b = vue.defineComponent({
|
|
3736
3738
|
name: "EcanTabs",
|
|
3737
3739
|
props: __spreadValues({}, tabsComponentProps),
|
|
@@ -3779,7 +3781,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3779
3781
|
};
|
|
3780
3782
|
}
|
|
3781
3783
|
});
|
|
3782
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
3784
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d53b6936"), n = n(), vue.popScopeId(), n);
|
|
3783
3785
|
const _hoisted_1$3 = ["onClick"];
|
|
3784
3786
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
3785
3787
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -3799,18 +3801,24 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
3799
3801
|
style: vue.normalizeStyle({
|
|
3800
3802
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
3801
3803
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
3802
|
-
marginRight: _ctx.tabBarGutter
|
|
3803
|
-
height: _ctx.tabHeight
|
|
3804
|
+
marginRight: _ctx.tabBarGutter
|
|
3804
3805
|
}),
|
|
3805
3806
|
key: index2,
|
|
3806
|
-
onClick: vue.withModifiers(($event) => _ctx.tabChange(tab, index2), ["stop"])
|
|
3807
|
-
},
|
|
3807
|
+
onClick: vue.withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
|
|
3808
|
+
}, [
|
|
3809
|
+
vue.createElementVNode("div", {
|
|
3810
|
+
class: "tab-inner",
|
|
3811
|
+
style: vue.normalizeStyle({
|
|
3812
|
+
borderBottom: `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}`
|
|
3813
|
+
})
|
|
3814
|
+
}, vue.toDisplayString(tab.title), 5)
|
|
3815
|
+
], 12, _hoisted_1$3);
|
|
3808
3816
|
}), 128))
|
|
3809
3817
|
], 4),
|
|
3810
3818
|
_hoisted_2$1
|
|
3811
3819
|
], 4);
|
|
3812
3820
|
}
|
|
3813
|
-
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-
|
|
3821
|
+
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-d53b6936"]]);
|
|
3814
3822
|
const EcanTabs = withInstall(Tabs);
|
|
3815
3823
|
const pieProps = __spreadProps(__spreadValues({}, props), {
|
|
3816
3824
|
id: "",
|