@ecan-bi/datav 1.0.88 → 1.0.90

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.
Files changed (104) hide show
  1. package/dist/index.es.js +146 -48
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +145 -47
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +13 -17
  6. package/es/container/modal/Modal.js +1 -4
  7. package/es/container/modal/Modal.js.map +1 -1
  8. package/es/container/modal/index.js.map +1 -1
  9. package/es/container/modal/props.js +1 -1
  10. package/es/container/modal/props.js.map +1 -1
  11. package/es/graph/bar/Bar.js +33 -2
  12. package/es/graph/bar/Bar.js.map +1 -1
  13. package/es/graph/bar/index.js.map +1 -1
  14. package/es/graph/bar/props.js +1 -2
  15. package/es/graph/bar/props.js.map +1 -1
  16. package/es/graph/combo-graph/ComboGraph.js +44 -12
  17. package/es/graph/combo-graph/ComboGraph.js.map +1 -1
  18. package/es/graph/combo-graph/props.js +1 -1
  19. package/es/graph/combo-graph/props.js.map +1 -1
  20. package/es/graph/line/Line.js +37 -3
  21. package/es/graph/line/Line.js.map +1 -1
  22. package/es/graph/line/props.js +7 -6
  23. package/es/graph/line/props.js.map +1 -1
  24. package/es/graph/pie/Pie.js +22 -1
  25. package/es/graph/pie/Pie.js.map +1 -1
  26. package/es/graph/pie/props.js +1 -1
  27. package/es/graph/pie/props.js.map +1 -1
  28. package/es/graph/scatter/Scatter.js +10 -1
  29. package/es/graph/scatter/Scatter.js.map +1 -1
  30. package/es/graph/scatter/props.js +1 -1
  31. package/es/graph/scatter/props.js.map +1 -1
  32. package/es/hooks/useRequestData.js +1 -1
  33. package/es/hooks/useRequestData.js.map +1 -1
  34. package/es/hooks/useValueFormatter.js +2 -1
  35. package/es/hooks/useValueFormatter.js.map +1 -1
  36. package/es/hooks/useVariablesInText.js +32 -11
  37. package/es/hooks/useVariablesInText.js.map +1 -1
  38. package/es/setting/provider-config/ProviderConfig.js +3 -1
  39. package/es/setting/provider-config/ProviderConfig.js.map +1 -1
  40. package/es/table/table/Table.js +87 -28
  41. package/es/table/table/Table.js.map +1 -1
  42. package/es/table/table/index.js.map +1 -1
  43. package/es/table/table/props.js +1 -0
  44. package/es/table/table/props.js.map +1 -1
  45. package/es/text/text/Text.js +21 -1
  46. package/es/text/text/Text.js.map +1 -1
  47. package/es/text/text/props.js +4 -1
  48. package/es/text/text/props.js.map +1 -1
  49. package/lib/container/modal/Modal.js +1 -4
  50. package/lib/container/modal/Modal.js.map +1 -1
  51. package/lib/container/modal/index.js.map +1 -1
  52. package/lib/container/modal/props.js +1 -1
  53. package/lib/container/modal/props.js.map +1 -1
  54. package/lib/graph/bar/Bar.js +33 -2
  55. package/lib/graph/bar/Bar.js.map +1 -1
  56. package/lib/graph/bar/index.js.map +1 -1
  57. package/lib/graph/bar/props.js +1 -2
  58. package/lib/graph/bar/props.js.map +1 -1
  59. package/lib/graph/combo-graph/ComboGraph.js +44 -12
  60. package/lib/graph/combo-graph/ComboGraph.js.map +1 -1
  61. package/lib/graph/combo-graph/props.js +1 -1
  62. package/lib/graph/combo-graph/props.js.map +1 -1
  63. package/lib/graph/line/Line.js +37 -3
  64. package/lib/graph/line/Line.js.map +1 -1
  65. package/lib/graph/line/props.js +7 -6
  66. package/lib/graph/line/props.js.map +1 -1
  67. package/lib/graph/pie/Pie.js +22 -1
  68. package/lib/graph/pie/Pie.js.map +1 -1
  69. package/lib/graph/pie/props.js +1 -1
  70. package/lib/graph/pie/props.js.map +1 -1
  71. package/lib/graph/scatter/Scatter.js +10 -1
  72. package/lib/graph/scatter/Scatter.js.map +1 -1
  73. package/lib/graph/scatter/props.js +1 -1
  74. package/lib/graph/scatter/props.js.map +1 -1
  75. package/lib/hooks/useRequestData.js +1 -1
  76. package/lib/hooks/useRequestData.js.map +1 -1
  77. package/lib/hooks/useValueFormatter.js +2 -1
  78. package/lib/hooks/useValueFormatter.js.map +1 -1
  79. package/lib/hooks/useVariablesInText.js +33 -11
  80. package/lib/hooks/useVariablesInText.js.map +1 -1
  81. package/lib/setting/provider-config/ProviderConfig.js +3 -1
  82. package/lib/setting/provider-config/ProviderConfig.js.map +1 -1
  83. package/lib/style.css +6503 -6503
  84. package/lib/table/table/Table.js +87 -28
  85. package/lib/table/table/Table.js.map +1 -1
  86. package/lib/table/table/index.js.map +1 -1
  87. package/lib/table/table/props.js +1 -0
  88. package/lib/table/table/props.js.map +1 -1
  89. package/lib/text/text/Text.js +21 -1
  90. package/lib/text/text/Text.js.map +1 -1
  91. package/lib/text/text/props.js +4 -1
  92. package/lib/text/text/props.js.map +1 -1
  93. package/package.json +1 -1
  94. package/types/container/modal/index.d.ts +1 -1
  95. package/types/control/select/Select.vue.d.ts +1 -0
  96. package/types/control/select/index.d.ts +1 -0
  97. package/types/table/table/Table.vue.d.ts +124 -5
  98. package/types/table/table/index.d.ts +125 -6
  99. package/types/table/table/props.d.ts +63 -0
  100. package/types/text/text/Text.vue.d.ts +66 -0
  101. package/types/text/text/index.d.ts +66 -0
  102. package/types/text/text/props.d.ts +36 -0
  103. package/types/hooks/usePickEchartsData.d.ts +0 -2
  104. package/types/hooks/useTooltipFormatter.d.ts +0 -4
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.0.88 */
1
+ /*! @ecan-bi/datav@1.0.90 */
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";
@@ -6,7 +6,7 @@ import { addListener, removeListener } from "resize-detector";
6
6
  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, CheckboxGroup, Modal as Modal$1, Table as Table$1, TableSummary, TableSummaryRow, TableSummaryCell } from "ant-design-vue";
7
7
  import "ant-design-vue/es/spin/style";
8
8
  import "ant-design-vue/es/skeleton/style";
9
- import { mapValues, without, pick, debounce } from "lodash-es";
9
+ import { mapValues, without, pick, debounce, cloneDeep } from "lodash-es";
10
10
  import axios from "axios";
11
11
  import mitt from "mitt";
12
12
  import dayjs from "dayjs";
@@ -1698,7 +1698,6 @@ const useVariablesInText = (formatter = "", data = {}, { useNewline = false, use
1698
1698
  if (useSpace) {
1699
1699
  formatter = formatter == null ? void 0 : formatter.replace(/\s{2,}?/g, "  ");
1700
1700
  }
1701
- console.log("formatter", formatter);
1702
1701
  return formatter;
1703
1702
  };
1704
1703
  const useRequestData = (props2, callBack = () => {
@@ -1751,7 +1750,7 @@ const useRequestData = (props2, callBack = () => {
1751
1750
  _params[key] = useVariablesInText(value);
1752
1751
  }
1753
1752
  });
1754
- _params = { ...window.requestParams, ..._params, ...params };
1753
+ _params = { ...window.config.requestParams, ..._params, ...params };
1755
1754
  let urlParams = "";
1756
1755
  const keys = Object.keys(_params);
1757
1756
  const last = keys.length - 1;
@@ -2617,7 +2616,6 @@ const _sfc_main$n = defineComponent({
2617
2616
  setTheme();
2618
2617
  });
2619
2618
  const contextRequestUrl = computed(() => {
2620
- console.log("props.contextRequestUrl", props2.contextRequestUrl);
2621
2619
  return useVariablesInText(props2.contextRequestUrl);
2622
2620
  });
2623
2621
  const pageMode = computed(() => props2.pageMode);
@@ -2771,7 +2769,10 @@ const textProps = {
2771
2769
  variableFontSize: "14px",
2772
2770
  data: {},
2773
2771
  variableDefaultValue: "0",
2774
- format: ""
2772
+ format: "",
2773
+ target: "self",
2774
+ href: "",
2775
+ linkPage: ""
2775
2776
  };
2776
2777
  const textComponentProps = transformToComponentProps(textProps);
2777
2778
  const textEvents = ["refreshData", "click"];
@@ -2871,6 +2872,24 @@ const _sfc_main$m = defineComponent({
2871
2872
  });
2872
2873
  const emitEvent = useEmitEvent(props2);
2873
2874
  const click = emitEvent("click", () => {
2875
+ if (!props2.linkPage && !props2.href)
2876
+ return;
2877
+ const linkPage = props2.linkPage || "";
2878
+ const pageUrl = usePageUrl(unref(pageMode), linkPage);
2879
+ const href = props2.href;
2880
+ let url = href || pageUrl;
2881
+ url = useVariablesInText(url);
2882
+ const target = props2.target;
2883
+ if (target == null || target === "")
2884
+ return;
2885
+ if (target !== "event") {
2886
+ window.open(url, "_" + target);
2887
+ } else {
2888
+ window.parent.postMessage({
2889
+ type: "openPage",
2890
+ url: href
2891
+ }, "*");
2892
+ }
2874
2893
  });
2875
2894
  return {
2876
2895
  style: style2,
@@ -2897,7 +2916,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2897
2916
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
2898
2917
  }, null, 12, _hoisted_1$7));
2899
2918
  }
2900
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-1b461e28"]]);
2919
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-604c9a14"]]);
2901
2920
  const EcanText = withInstall(Text);
2902
2921
  const ScrollText_vue_vue_type_style_index_0_scoped_true_lang = "";
2903
2922
  const _sfc_main$l = defineComponent({
@@ -3617,15 +3636,23 @@ const _sfc_main$f = defineComponent({
3617
3636
  }
3618
3637
  return !!((value == null ? void 0 : value.toLowerCase().indexOf(input == null ? void 0 : input.toLowerCase())) >= 0);
3619
3638
  };
3639
+ const loading = ref(false);
3620
3640
  const handleRequestData = async () => {
3621
3641
  var _a2, _b2;
3622
3642
  if (props2.dataType !== "request" || unref(pageMode) === "design")
3623
3643
  return;
3624
- const res = await requestData();
3625
- options.value = ((_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.rows) || [];
3626
- const firstOption = unref(options)[0];
3627
- if (props2.value === "" && firstOption != null) {
3628
- myValue.value = firstOption[dataFieldNames.value];
3644
+ loading.value = true;
3645
+ try {
3646
+ const res = await requestData();
3647
+ options.value = ((_b2 = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.rows) || [];
3648
+ const firstOption = unref(options)[0];
3649
+ if (props2.value === "" && firstOption != null) {
3650
+ myValue.value = firstOption[dataFieldNames.value];
3651
+ }
3652
+ } catch (e) {
3653
+ console.error(e);
3654
+ } finally {
3655
+ loading.value = false;
3629
3656
  }
3630
3657
  };
3631
3658
  const { getGlobalModel, setGlobalModel } = inject(GLOBAL_MODEL, {
@@ -3655,7 +3682,8 @@ const _sfc_main$f = defineComponent({
3655
3682
  myValue,
3656
3683
  selectChange,
3657
3684
  options,
3658
- filterOption
3685
+ filterOption,
3686
+ loading
3659
3687
  };
3660
3688
  }
3661
3689
  });
@@ -3674,11 +3702,12 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
3674
3702
  "field-names": _ctx.dataFieldNames,
3675
3703
  "show-search": "",
3676
3704
  "filter-option": _ctx.filterOption,
3677
- onChange: _ctx.selectChange
3678
- }, null, 8, ["value", "options", "getPopupContainer", "field-names", "filter-option", "onChange"])
3705
+ onChange: _ctx.selectChange,
3706
+ loading: _ctx.loading
3707
+ }, null, 8, ["value", "options", "getPopupContainer", "field-names", "filter-option", "onChange", "loading"])
3679
3708
  ], 4);
3680
3709
  }
3681
- const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-38e47a34"]]);
3710
+ const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-7ae9493f"]]);
3682
3711
  const EcanSelect = withInstall(Select);
3683
3712
  const rangePickerProps = {
3684
3713
  ...props,
@@ -6194,7 +6223,7 @@ const modalProps = {
6194
6223
  keyName: "\u5F39\u7A97",
6195
6224
  componentList: [],
6196
6225
  fullModal: false,
6197
- destroyOnClose: false,
6226
+ destroyOnClose: true,
6198
6227
  position: "default"
6199
6228
  };
6200
6229
  const modalComponentProps = transformToComponentProps(modalProps);
@@ -6306,9 +6335,6 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
6306
6335
  width: _ctx.isFullModal || _ctx.isFullWidth ? "100%" : _ctx.modalWith,
6307
6336
  destroyOnClose: _ctx.destroyOnClose,
6308
6337
  style: normalizeStyle(_ctx.modalStyle),
6309
- bodyStyle: {
6310
- background: "red"
6311
- },
6312
6338
  onOk: _ctx.onOk,
6313
6339
  onCancel: _ctx.onCancel
6314
6340
  }, createSlots({
@@ -6347,7 +6373,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
6347
6373
  } : void 0
6348
6374
  ]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
6349
6375
  }
6350
- const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-24c6a724"]]);
6376
+ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-780a06e1"]]);
6351
6377
  const EcanModal = withInstall(Modal);
6352
6378
  const tabsProps = {
6353
6379
  ...props,
@@ -6552,13 +6578,16 @@ const tableProps = {
6552
6578
  width: "400px",
6553
6579
  height: "240px",
6554
6580
  bordered: false,
6581
+ headerFontSize: "14px",
6555
6582
  fontSize: "14px",
6556
6583
  isUseSeq: false,
6557
6584
  size: "default",
6585
+ headerFontWeight: 400,
6558
6586
  fontWeight: 400,
6559
6587
  columnsFixedNum: 0,
6560
6588
  scrollX: 0,
6561
6589
  paginationShow: true,
6590
+ isReverse: false,
6562
6591
  simple: false,
6563
6592
  headerCellBackgroundColor: "",
6564
6593
  cellBackgroundColor: "",
@@ -6646,27 +6675,34 @@ const _sfc_main$1 = defineComponent({
6646
6675
  });
6647
6676
  const x = computed(() => props2.scrollX);
6648
6677
  const y = computed(() => parseFloat(props2.height) - unref(splitY));
6649
- const myColumns = computed(() => {
6650
- let columns = [];
6678
+ const myColumns = ref([]);
6679
+ const myDataSource = ref(props2.data);
6680
+ const tableColumns = ref([]);
6681
+ const tableDataSource = ref([]);
6682
+ const total = ref(0);
6683
+ const pageNum = ref(1);
6684
+ const pageSize = computed(() => props2.paginationPageSize);
6685
+ const handleColumns = (columns = []) => {
6686
+ let _columns = [];
6651
6687
  const isUseSeq = props2.isUseSeq;
6652
6688
  if (isUseSeq) {
6653
- columns.push({
6689
+ _columns.push({
6654
6690
  title: "\u5E8F\u53F7",
6655
6691
  dataIndex: "SEQ"
6656
6692
  });
6657
6693
  }
6658
- columns = columns.concat(props2.columns);
6694
+ _columns = _columns.concat(cloneDeep(columns));
6659
6695
  if (props2.isUseAction) {
6660
- columns.push({
6696
+ _columns.push({
6661
6697
  title: "\u64CD\u4F5C",
6662
6698
  dataIndex: "ACTION",
6663
6699
  width: props2.actionColumnWidth
6664
6700
  });
6665
6701
  }
6666
- const len = columns.length;
6702
+ const len = _columns.length;
6667
6703
  const columnsFixedNum = props2.columnsFixedNum;
6668
6704
  for (let i = 0; i < len; i++) {
6669
- const column = columns[i];
6705
+ const column = _columns[i];
6670
6706
  if (i < columnsFixedNum) {
6671
6707
  column.fixed = "left";
6672
6708
  } else {
@@ -6695,16 +6731,73 @@ const _sfc_main$1 = defineComponent({
6695
6731
  }
6696
6732
  });
6697
6733
  }
6698
- return columns;
6734
+ myColumns.value = _columns;
6735
+ };
6736
+ watch(() => [
6737
+ props2.columns,
6738
+ props2.isUseSeq,
6739
+ props2.isUseAction,
6740
+ props2.columnsFixedNum,
6741
+ props2.actionColumnWidth,
6742
+ props2.headerCellBackgroundColor,
6743
+ props2.cellBackgroundColor,
6744
+ props2.borderColor
6745
+ ], () => {
6746
+ handleColumns(props2.columns);
6747
+ }, {
6748
+ immediate: true,
6749
+ deep: true
6699
6750
  });
6700
- const total = ref(0);
6701
- const pageNum = ref(1);
6702
- const pageSize = computed(() => props2.paginationPageSize);
6703
- const dataSource = ref(props2.data);
6704
6751
  watch(() => [props2.data, props2.dataType], ([data, dataType]) => {
6705
6752
  if (dataType !== "static")
6706
6753
  return;
6707
- dataSource.value = data;
6754
+ myDataSource.value = data;
6755
+ });
6756
+ const handleReverseTable = (columns, dataSource) => {
6757
+ const firstColumns = columns[0];
6758
+ const _columns = [{
6759
+ title: firstColumns.title,
6760
+ dataIndex: "col0",
6761
+ key: "col0",
6762
+ align: "center"
6763
+ }];
6764
+ for (let i = 0; i < dataSource.length; i++) {
6765
+ const data = dataSource[i];
6766
+ const dataIndex = "col" + (i + 1);
6767
+ _columns.push({
6768
+ title: data[firstColumns.dataIndex],
6769
+ dataIndex,
6770
+ key: dataIndex,
6771
+ align: "center"
6772
+ });
6773
+ }
6774
+ const _dataSource = [];
6775
+ for (let i = 1; i < columns.length; i++) {
6776
+ const column = columns[i];
6777
+ const _data = { col0: column.title };
6778
+ for (let j = 0; j < dataSource.length; j++) {
6779
+ const data = dataSource[j];
6780
+ _data[`col${j + 1}`] = data[column.dataIndex];
6781
+ }
6782
+ _dataSource.push(_data);
6783
+ }
6784
+ return {
6785
+ columns: _columns,
6786
+ dataSource: _dataSource
6787
+ };
6788
+ };
6789
+ watch(() => [props2.isReverse, myColumns.value, myDataSource.value], () => {
6790
+ if (props2.isReverse) {
6791
+ const { columns, dataSource } = handleReverseTable(unref(myColumns), unref(myDataSource));
6792
+ tableColumns.value = columns;
6793
+ tableDataSource.value = dataSource;
6794
+ } else {
6795
+ tableColumns.value = unref(myColumns);
6796
+ tableDataSource.value = unref(myDataSource);
6797
+ }
6798
+ }, {
6799
+ deep: true,
6800
+ immediate: true
6708
6801
  });
6709
6802
  const orderCondition = ref(void 0);
6710
6803
  const requestData = useRequestData(props2);
@@ -6728,7 +6821,7 @@ const _sfc_main$1 = defineComponent({
6728
6821
  const res = await requestData(params);
6729
6822
  const { rows = [], total: tableTotal = 0 } = ((_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.data) || {};
6730
6823
  total.value = tableTotal;
6731
- dataSource.value = rows;
6824
+ myDataSource.value = rows;
6732
6825
  } catch (e) {
6733
6826
  console.error(e);
6734
6827
  } finally {
@@ -6801,12 +6894,10 @@ const _sfc_main$1 = defineComponent({
6801
6894
  getGlobalModel: (key) => void 0,
6802
6895
  setGlobalModel: (key, value) => void 0
6803
6896
  });
6804
- const dataColumns = ref([]);
6805
- const handleIndicatorDataset = (colmuns = [], rows = []) => {
6806
- dataColumns.value = colmuns.map((it) => {
6807
- return { title: it, dataIndex: it, key: it };
6808
- });
6809
- dataSource.value = rows;
6897
+ const handleIndicatorDataset = (dataColumns = [], dataRows = []) => {
6898
+ const _columns = dataColumns.map((column) => ({ title: column, dataIndex: column, key: column }));
6899
+ handleColumns(_columns);
6900
+ myDataSource.value = dataRows;
6810
6901
  };
6811
6902
  const indicatorData = useIndicatorData(props2);
6812
6903
  const handleIndicatorData = async () => {
@@ -6867,7 +6958,7 @@ const _sfc_main$1 = defineComponent({
6867
6958
  return [];
6868
6959
  const start = (unref(pageNum) - 1) * unref(pageSize);
6869
6960
  const end = start + unref(pageSize);
6870
- const records = unref(dataSource).slice(start, end);
6961
+ const records = unref(myDataSource).slice(start, end);
6871
6962
  for (let i = 0; i < records.length; i++) {
6872
6963
  const record = records[i];
6873
6964
  for (let j = 0; j < summaryList2.length; j++) {
@@ -6913,15 +7004,14 @@ const _sfc_main$1 = defineComponent({
6913
7004
  return {
6914
7005
  x,
6915
7006
  y,
6916
- myColumns,
6917
7007
  style: style2,
6918
7008
  customRow,
6919
7009
  pagination,
6920
7010
  formatFn,
6921
7011
  contrastClass,
6922
7012
  tableChange,
6923
- dataColumns,
6924
- dataSource,
7013
+ tableDataSource,
7014
+ tableColumns,
6925
7015
  summaryList,
6926
7016
  loading,
6927
7017
  onTouchHrefEvent,
@@ -6952,8 +7042,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6952
7042
  style: {
6953
7043
  height: "100%"
6954
7044
  },
6955
- columns: _ctx.dataColumns.length > 0 ? _ctx.dataColumns : _ctx.myColumns,
6956
- "data-source": _ctx.dataSource,
7045
+ columns: _ctx.tableColumns,
7046
+ "data-source": _ctx.tableDataSource,
6957
7047
  bordered: _ctx.bordered,
6958
7048
  size: _ctx.size,
6959
7049
  customRow: _ctx.customRow,
@@ -6961,6 +7051,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6961
7051
  pagination: _ctx.pagination,
6962
7052
  onChange: _ctx.tableChange
6963
7053
  }, {
7054
+ headerCell: withCtx(({ column }) => [
7055
+ createElementVNode("span", {
7056
+ style: normalizeStyle({
7057
+ fontSize: _ctx.headerFontSize,
7058
+ fontWeight: _ctx.headerFontWeight
7059
+ })
7060
+ }, toDisplayString(column.title), 5)
7061
+ ]),
6964
7062
  bodyCell: withCtx(({ column, index: index2, text, record }) => [
6965
7063
  column.dataIndex === "SEQ" ? (openBlock(), createElementBlock("span", {
6966
7064
  key: 0,
@@ -7033,7 +7131,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7033
7131
  }, 8, ["loading"])
7034
7132
  ], 4);
7035
7133
  }
7036
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0963bd5a"]]);
7134
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-32101ced"]]);
7037
7135
  const EcanTable = withInstall(Table);
7038
7136
  const mapProps = {
7039
7137
  ...props,