@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.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.80 */
|
|
2
2
|
(function(global, factory) {
|
|
3
3
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
|
|
4
4
|
})(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, renderers, charts, components$1, echarts) {
|
|
@@ -3543,7 +3543,8 @@
|
|
|
3543
3543
|
myValue.value = firstOption[props2.dataFieldNames.value];
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
|
-
const { setGlobalModel } = vue.inject(GLOBAL_MODEL, {
|
|
3546
|
+
const { getGlobalModel, setGlobalModel } = vue.inject(GLOBAL_MODEL, {
|
|
3547
|
+
getGlobalModel: (key) => void 0,
|
|
3547
3548
|
setGlobalModel: (key, value) => void 0
|
|
3548
3549
|
});
|
|
3549
3550
|
setGlobalModel(props2.id, {
|
|
@@ -3551,7 +3552,11 @@
|
|
|
3551
3552
|
value: myValue
|
|
3552
3553
|
});
|
|
3553
3554
|
const emitEvent = useEmitEvent(props2);
|
|
3554
|
-
const selectChange = emitEvent("selectChange")
|
|
3555
|
+
const selectChange = emitEvent("selectChange", () => {
|
|
3556
|
+
const id = props2.id;
|
|
3557
|
+
const modal = getGlobalModel(id);
|
|
3558
|
+
setGlobalModel(id, { ...modal, RECORD: myValue });
|
|
3559
|
+
});
|
|
3555
3560
|
useOnEvent(props2, {
|
|
3556
3561
|
selectChange
|
|
3557
3562
|
});
|
|
@@ -3585,7 +3590,7 @@
|
|
|
3585
3590
|
}, null, 8, ["value", "options", "getPopupContainer", "field-names", "onChange"])
|
|
3586
3591
|
], 4);
|
|
3587
3592
|
}
|
|
3588
|
-
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
3593
|
+
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-1eb4535b"]]);
|
|
3589
3594
|
const EcanSelect = withInstall(Select);
|
|
3590
3595
|
const rangePickerProps = {
|
|
3591
3596
|
...props,
|
|
@@ -5688,8 +5693,8 @@
|
|
|
5688
5693
|
name: "\u8FB9\u6846",
|
|
5689
5694
|
keyName: "\u8FB9\u6846",
|
|
5690
5695
|
type: "ecanBorder",
|
|
5691
|
-
width: "
|
|
5692
|
-
height: "
|
|
5696
|
+
width: "300px",
|
|
5697
|
+
height: "300px",
|
|
5693
5698
|
zIndex: 0,
|
|
5694
5699
|
fontSize: "16px",
|
|
5695
5700
|
fontFamily: "",
|
|
@@ -5700,7 +5705,7 @@
|
|
|
5700
5705
|
borderRadius: "5px",
|
|
5701
5706
|
borderStyle: "solid",
|
|
5702
5707
|
borderWidth: "2px",
|
|
5703
|
-
backgroundColor: "",
|
|
5708
|
+
backgroundColor: "#ffffff",
|
|
5704
5709
|
useBorderModify: false,
|
|
5705
5710
|
textShadow: "",
|
|
5706
5711
|
data: {}
|
|
@@ -6003,7 +6008,7 @@
|
|
|
6003
6008
|
width: "500px",
|
|
6004
6009
|
height: "400px",
|
|
6005
6010
|
tabFontSize: "14px",
|
|
6006
|
-
backgroundColor: "",
|
|
6011
|
+
backgroundColor: "#ffffff",
|
|
6007
6012
|
activeTabColor: "#1890ff",
|
|
6008
6013
|
tabBackgroundImage: "",
|
|
6009
6014
|
activeTabBackgroundImage: "",
|
|
@@ -6081,7 +6086,7 @@
|
|
|
6081
6086
|
};
|
|
6082
6087
|
}
|
|
6083
6088
|
});
|
|
6084
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
6089
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-0becf31e"), n = n(), vue.popScopeId(), n);
|
|
6085
6090
|
const _hoisted_1$3 = ["onClick"];
|
|
6086
6091
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
6087
6092
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6102,7 +6107,7 @@
|
|
|
6102
6107
|
padding: `5px ${_ctx.tabHorizontalPadding}`,
|
|
6103
6108
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
6104
6109
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
6105
|
-
|
|
6110
|
+
paddingRight: _ctx.tabBarGutter
|
|
6106
6111
|
}),
|
|
6107
6112
|
key: index2,
|
|
6108
6113
|
onClick: vue.withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
|
|
@@ -6119,7 +6124,7 @@
|
|
|
6119
6124
|
_hoisted_2$1
|
|
6120
6125
|
], 4);
|
|
6121
6126
|
}
|
|
6122
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
6127
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-0becf31e"]]);
|
|
6123
6128
|
const EcanTabs = withInstall(Tabs);
|
|
6124
6129
|
const imageProps = {
|
|
6125
6130
|
...props,
|