@ecan-bi/datav 1.0.40 → 1.0.41

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 CHANGED
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  var _a, _b, _c;
21
- import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, ref, normalizeStyle, createCommentVNode, provide, withCtx, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createTextVNode, createSlots, resolveDynamicComponent, mergeProps, withDirectives, vShow } from "vue";
21
+ 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, createTextVNode, createSlots, resolveDynamicComponent, mergeProps, withDirectives, vShow } from "vue";
22
22
  import { throttle, init, use, registerMap } from "echarts/core";
23
23
  import { addListener, removeListener } from "resize-detector";
24
24
  import { Spin as Spin$1, Skeleton as Skeleton$1, message, Progress, Input as Input$1, DatePicker as DatePicker$1, Select as Select$1, RangePicker as RangePicker$1, Button as Button$1, Modal as Modal$1, Table as Table$1, TableSummary, TableSummaryRow, TableSummaryCell } from "ant-design-vue";
@@ -133,7 +133,7 @@ const TAG_NAME = "x-vue-echarts";
133
133
  const THEME_KEY = "ecTheme";
134
134
  const INIT_OPTIONS_KEY = "ecInitOptions";
135
135
  const UPDATE_OPTIONS_KEY = "ecUpdateOptions";
136
- var ECharts = defineComponent({
136
+ var Echarts = defineComponent({
137
137
  name: "echarts",
138
138
  props: __spreadValues(__spreadValues({
139
139
  option: Object,
@@ -1410,7 +1410,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
1410
1410
  ]);
1411
1411
  }
1412
1412
  var Spin = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p]]);
1413
- defineComponent({
1413
+ const _sfc_main$o = defineComponent({
1414
1414
  name: "Skeleton",
1415
1415
  props: {
1416
1416
  loading: {
@@ -1422,6 +1422,19 @@ defineComponent({
1422
1422
  ASkeleton: Skeleton$1
1423
1423
  }
1424
1424
  });
1425
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
1426
+ const _component_a_skeleton = resolveComponent("a-skeleton");
1427
+ return openBlock(), createBlock(_component_a_skeleton, {
1428
+ active: "",
1429
+ loading: _ctx.loading
1430
+ }, {
1431
+ default: withCtx(() => [
1432
+ renderSlot(_ctx.$slots, "default")
1433
+ ]),
1434
+ _: 3
1435
+ }, 8, ["loading"]);
1436
+ }
1437
+ var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
1425
1438
  const withInstall = (main, extra) => {
1426
1439
  main.install = (app) => {
1427
1440
  for (const comp of [main, ...Object.values(extra != null ? extra : {})]) {
@@ -2166,7 +2179,7 @@ const useValueFormatter = (formatter = "", value) => {
2166
2179
  return formatter;
2167
2180
  };
2168
2181
  var PageConfig_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => "#container[data-v-836b53bc] {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n transform-origin: left top;\n z-index: 999;\n}\n.page-config[data-v-836b53bc] {\n position: relative;\n overflow: hidden;\n background-size: cover;\n}\n")();
2169
- const _sfc_main$o = defineComponent({
2182
+ const _sfc_main$n = defineComponent({
2170
2183
  name: "EcanPageConfig",
2171
2184
  props: __spreadValues({}, pageConfigComponentProps),
2172
2185
  setup(props2) {
@@ -2264,7 +2277,7 @@ const _hoisted_1$a = {
2264
2277
  id: "container",
2265
2278
  ref: "container"
2266
2279
  };
2267
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
2280
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2268
2281
  return openBlock(), createElementBlock("div", _hoisted_1$a, [
2269
2282
  _ctx.ready ? (openBlock(), createElementBlock("div", {
2270
2283
  key: 0,
@@ -2275,7 +2288,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
2275
2288
  ], 4)) : createCommentVNode("", true)
2276
2289
  ], 512);
2277
2290
  }
2278
- var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-836b53bc"]]);
2291
+ var PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-836b53bc"]]);
2279
2292
  const EcanPageConfig = withInstall(PageConfig);
2280
2293
  const providerConfig = {
2281
2294
  contextRequestUrl: "",
@@ -2283,7 +2296,7 @@ const providerConfig = {
2283
2296
  theme: "light"
2284
2297
  };
2285
2298
  const providerConfigComponentProps = transformToComponentProps(providerConfig);
2286
- const _sfc_main$n = defineComponent({
2299
+ const _sfc_main$m = defineComponent({
2287
2300
  name: "EcanProviderConfig",
2288
2301
  props: __spreadValues({}, providerConfigComponentProps),
2289
2302
  setup(props2, { expose }) {
@@ -2386,12 +2399,12 @@ const _hoisted_1$9 = {
2386
2399
  id: "ProviderConfig",
2387
2400
  ref: "providerConfig"
2388
2401
  };
2389
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2402
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2390
2403
  return openBlock(), createElementBlock("div", _hoisted_1$9, [
2391
2404
  renderSlot(_ctx.$slots, "default")
2392
2405
  ], 512);
2393
2406
  }
2394
- var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
2407
+ var ProviderConfig = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
2395
2408
  const EcanProviderConfig = withInstall(ProviderConfig);
2396
2409
  const textProps = __spreadProps(__spreadValues({}, props), {
2397
2410
  name: "\u57FA\u7840\u6587\u672C",
@@ -2412,31 +2425,6 @@ const textProps = __spreadProps(__spreadValues({}, props), {
2412
2425
  });
2413
2426
  const textComponentProps = transformToComponentProps(textProps);
2414
2427
  const textEvents = ["refreshData", "click"];
2415
- const _sfc_main$m = defineComponent({
2416
- name: "Skeleton",
2417
- props: {
2418
- loading: {
2419
- type: Boolean,
2420
- default: false
2421
- }
2422
- },
2423
- components: {
2424
- ASkeleton: Skeleton$1
2425
- }
2426
- });
2427
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2428
- const _component_a_skeleton = resolveComponent("a-skeleton");
2429
- return openBlock(), createBlock(_component_a_skeleton, {
2430
- active: "",
2431
- loading: _ctx.loading
2432
- }, {
2433
- default: withCtx(() => [
2434
- renderSlot(_ctx.$slots, "default")
2435
- ]),
2436
- _: 3
2437
- }, 8, ["loading"]);
2438
- }
2439
- var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
2440
2428
  var Text_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".skeleton-wrapper[data-v-04705f6f] {\n overflow: hidden;\n}\n.ecan-text[data-v-04705f6f] {\n overflow: hidden;\n display: flex;\n}\n")();
2441
2429
  const _sfc_main$l = defineComponent({
2442
2430
  name: "EcanText",
@@ -3565,7 +3553,7 @@ const _sfc_main$a = defineComponent({
3565
3553
  props: __spreadValues({}, pieComponentProps),
3566
3554
  components: {
3567
3555
  Spin,
3568
- Echarts: ECharts
3556
+ Echarts
3569
3557
  },
3570
3558
  setup(props2) {
3571
3559
  const style2 = usePickComponentStyle(props2);
@@ -3819,7 +3807,7 @@ const _sfc_main$9 = defineComponent({
3819
3807
  props: __spreadValues({}, lineComponentProps),
3820
3808
  components: {
3821
3809
  Spin,
3822
- Echarts: ECharts
3810
+ Echarts
3823
3811
  },
3824
3812
  setup(props2) {
3825
3813
  const style2 = usePickComponentStyle(props2);
@@ -4150,7 +4138,7 @@ const _sfc_main$8 = defineComponent({
4150
4138
  props: __spreadValues({}, barComponentProps),
4151
4139
  components: {
4152
4140
  Spin,
4153
- Echarts: ECharts,
4141
+ Echarts,
4154
4142
  AModal: Modal$1
4155
4143
  },
4156
4144
  setup(props2, { expose }) {
@@ -4500,7 +4488,7 @@ const _sfc_main$7 = defineComponent({
4500
4488
  props: __spreadValues({}, scatterComponentProps),
4501
4489
  components: {
4502
4490
  Spin,
4503
- Echarts: ECharts
4491
+ Echarts
4504
4492
  },
4505
4493
  setup(props2) {
4506
4494
  const style2 = usePickComponentStyle(props2);
@@ -4679,7 +4667,7 @@ const _sfc_main$6 = defineComponent({
4679
4667
  name: "EcanCustomGraph",
4680
4668
  props: __spreadValues({}, customGraphComponentProps),
4681
4669
  components: {
4682
- Echarts: ECharts
4670
+ Echarts
4683
4671
  },
4684
4672
  setup(props2) {
4685
4673
  const style2 = usePickComponentStyle(props2);
@@ -4818,7 +4806,7 @@ const _sfc_main$5 = defineComponent({
4818
4806
  props: __spreadValues({}, comboGraphComponentProps),
4819
4807
  components: {
4820
4808
  Spin,
4821
- Echarts: ECharts
4809
+ Echarts
4822
4810
  },
4823
4811
  setup(props2) {
4824
4812
  const style2 = usePickComponentStyle(props2);
@@ -5850,7 +5838,7 @@ use([
5850
5838
  const _sfc_main = defineComponent({
5851
5839
  name: "EcanMap",
5852
5840
  components: {
5853
- Echarts: ECharts
5841
+ Echarts
5854
5842
  },
5855
5843
  props: __spreadValues({}, mapComponentProps),
5856
5844
  setup(props2) {