@ecan-bi/datav 1.0.79 → 1.0.80
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 +16 -11
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -11
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +9 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.80 */
|
|
2
2
|
var _a, _b, _c;
|
|
3
3
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, normalizeStyle, createCommentVNode, provide, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, withDirectives, vShow } from "vue";
|
|
4
4
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
@@ -3537,7 +3537,8 @@ const _sfc_main$e = defineComponent({
|
|
|
3537
3537
|
myValue.value = firstOption[props2.dataFieldNames.value];
|
|
3538
3538
|
}
|
|
3539
3539
|
};
|
|
3540
|
-
const { setGlobalModel } = inject(GLOBAL_MODEL, {
|
|
3540
|
+
const { getGlobalModel, setGlobalModel } = inject(GLOBAL_MODEL, {
|
|
3541
|
+
getGlobalModel: (key) => void 0,
|
|
3541
3542
|
setGlobalModel: (key, value) => void 0
|
|
3542
3543
|
});
|
|
3543
3544
|
setGlobalModel(props2.id, {
|
|
@@ -3545,7 +3546,11 @@ const _sfc_main$e = defineComponent({
|
|
|
3545
3546
|
value: myValue
|
|
3546
3547
|
});
|
|
3547
3548
|
const emitEvent = useEmitEvent(props2);
|
|
3548
|
-
const selectChange = emitEvent("selectChange")
|
|
3549
|
+
const selectChange = emitEvent("selectChange", () => {
|
|
3550
|
+
const id = props2.id;
|
|
3551
|
+
const modal = getGlobalModel(id);
|
|
3552
|
+
setGlobalModel(id, { ...modal, RECORD: myValue });
|
|
3553
|
+
});
|
|
3549
3554
|
useOnEvent(props2, {
|
|
3550
3555
|
selectChange
|
|
3551
3556
|
});
|
|
@@ -3579,7 +3584,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3579
3584
|
}, null, 8, ["value", "options", "getPopupContainer", "field-names", "onChange"])
|
|
3580
3585
|
], 4);
|
|
3581
3586
|
}
|
|
3582
|
-
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
3587
|
+
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-1eb4535b"]]);
|
|
3583
3588
|
const EcanSelect = withInstall(Select);
|
|
3584
3589
|
const rangePickerProps = {
|
|
3585
3590
|
...props,
|
|
@@ -5682,8 +5687,8 @@ const borderProps = {
|
|
|
5682
5687
|
name: "\u8FB9\u6846",
|
|
5683
5688
|
keyName: "\u8FB9\u6846",
|
|
5684
5689
|
type: "ecanBorder",
|
|
5685
|
-
width: "
|
|
5686
|
-
height: "
|
|
5690
|
+
width: "300px",
|
|
5691
|
+
height: "300px",
|
|
5687
5692
|
zIndex: 0,
|
|
5688
5693
|
fontSize: "16px",
|
|
5689
5694
|
fontFamily: "",
|
|
@@ -5694,7 +5699,7 @@ const borderProps = {
|
|
|
5694
5699
|
borderRadius: "5px",
|
|
5695
5700
|
borderStyle: "solid",
|
|
5696
5701
|
borderWidth: "2px",
|
|
5697
|
-
backgroundColor: "",
|
|
5702
|
+
backgroundColor: "#ffffff",
|
|
5698
5703
|
useBorderModify: false,
|
|
5699
5704
|
textShadow: "",
|
|
5700
5705
|
data: {}
|
|
@@ -5997,7 +6002,7 @@ const tabsProps = {
|
|
|
5997
6002
|
width: "500px",
|
|
5998
6003
|
height: "400px",
|
|
5999
6004
|
tabFontSize: "14px",
|
|
6000
|
-
backgroundColor: "",
|
|
6005
|
+
backgroundColor: "#ffffff",
|
|
6001
6006
|
activeTabColor: "#1890ff",
|
|
6002
6007
|
tabBackgroundImage: "",
|
|
6003
6008
|
activeTabBackgroundImage: "",
|
|
@@ -6075,7 +6080,7 @@ const _sfc_main$3 = defineComponent({
|
|
|
6075
6080
|
};
|
|
6076
6081
|
}
|
|
6077
6082
|
});
|
|
6078
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
6083
|
+
const _withScopeId = (n) => (pushScopeId("data-v-0becf31e"), n = n(), popScopeId(), n);
|
|
6079
6084
|
const _hoisted_1$3 = ["onClick"];
|
|
6080
6085
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
6081
6086
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6096,7 +6101,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6096
6101
|
padding: `5px ${_ctx.tabHorizontalPadding}`,
|
|
6097
6102
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
6098
6103
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
6099
|
-
|
|
6104
|
+
paddingRight: _ctx.tabBarGutter
|
|
6100
6105
|
}),
|
|
6101
6106
|
key: index2,
|
|
6102
6107
|
onClick: withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
|
|
@@ -6113,7 +6118,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6113
6118
|
_hoisted_2$1
|
|
6114
6119
|
], 4);
|
|
6115
6120
|
}
|
|
6116
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
6121
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-0becf31e"]]);
|
|
6117
6122
|
const EcanTabs = withInstall(Tabs);
|
|
6118
6123
|
const imageProps = {
|
|
6119
6124
|
...props,
|