@ecan-bi/datav 1.0.54 → 1.0.57

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
@@ -2893,10 +2893,10 @@ const listProps = __spreadProps(__spreadValues({}, props), {
2893
2893
  });
2894
2894
  const listComponentProps = transformToComponentProps(listProps);
2895
2895
  const listEvents = ["refreshData", "click"];
2896
- var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-461dbe78] {
2896
+ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-f7268778] {
2897
2897
  overflow: hidden;
2898
2898
  }
2899
- .ecan-list-content[data-v-461dbe78] {
2899
+ .ecan-list-content[data-v-f7268778] {
2900
2900
  width: 100%;
2901
2901
  height: 100%;
2902
2902
  overflow: auto;
@@ -2904,7 +2904,7 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
2904
2904
  align-content: flex-start;
2905
2905
  flex-wrap: wrap;
2906
2906
  }
2907
- .title[data-v-461dbe78] {
2907
+ .title[data-v-f7268778] {
2908
2908
  position: absolute;
2909
2909
  z-index: 9;
2910
2910
  display: flex;
@@ -2914,18 +2914,18 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
2914
2914
  font-size: 16px;
2915
2915
  color: #ffffff;
2916
2916
  }
2917
- .title-inner[data-v-461dbe78] {
2917
+ .title-inner[data-v-f7268778] {
2918
2918
  padding-left: 28px;
2919
2919
  padding-right: 20px;
2920
2920
  flex: 1;
2921
2921
  display: flex;
2922
2922
  height: 100%;
2923
2923
  }
2924
- .title-placeholder[data-v-461dbe78] {
2924
+ .title-placeholder[data-v-f7268778] {
2925
2925
  width: 100%;
2926
2926
  height: 32px;
2927
2927
  }
2928
- .item[data-v-461dbe78] {
2928
+ .item[data-v-f7268778] {
2929
2929
  display: flex;
2930
2930
  align-items: center;
2931
2931
  height: 32px;
@@ -2935,13 +2935,13 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
2935
2935
  font-size: 16px;
2936
2936
  color: #ffffff;
2937
2937
  }
2938
- .column[data-v-461dbe78] {
2938
+ .column[data-v-f7268778] {
2939
2939
  flex: 1;
2940
2940
  overflow: hidden;
2941
2941
  text-overflow: ellipsis;
2942
2942
  white-space: nowrap;
2943
2943
  }
2944
- .ranking[data-v-461dbe78] {
2944
+ .ranking[data-v-f7268778] {
2945
2945
  flex: 1;
2946
2946
  display: flex;
2947
2947
  align-items: center;
@@ -2950,28 +2950,28 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
2950
2950
  text-overflow: ellipsis;
2951
2951
  white-space: nowrap;
2952
2952
  }
2953
- .icon[data-v-461dbe78] {
2953
+ .icon[data-v-f7268778] {
2954
2954
  width: 12px;
2955
2955
  height: 8px;
2956
2956
  background: #21BEF7;
2957
2957
  margin-right: 17px;
2958
2958
  opacity: 0.6;
2959
2959
  }
2960
- .item:nth-child(2) .icon[data-v-461dbe78] {
2960
+ .item:nth-child(2) .icon[data-v-f7268778] {
2961
2961
  opacity: 0.8;
2962
2962
  }
2963
- .item:first-child .icon[data-v-461dbe78] {
2963
+ .item:first-child .icon[data-v-f7268778] {
2964
2964
  opacity: 1;
2965
2965
  }
2966
- .sort[data-v-461dbe78] {
2966
+ .sort[data-v-f7268778] {
2967
2967
  font-weight: 600;
2968
2968
  }
2969
- .goUp[data-v-461dbe78] {
2969
+ .goUp[data-v-f7268778] {
2970
2970
  color: #FF512E;
2971
2971
  display: flex;
2972
2972
  align-items: center;
2973
2973
  }
2974
- .goUp[data-v-461dbe78]:before {
2974
+ .goUp[data-v-f7268778]:before {
2975
2975
  content: '';
2976
2976
  display: block;
2977
2977
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
@@ -2981,22 +2981,22 @@ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.
2981
2981
  background-size: cover;
2982
2982
  margin-right: 2px;
2983
2983
  }
2984
- .goDown[data-v-461dbe78] {
2985
- color: #00F7B4;
2984
+ .goDown[data-v-f7268778] {
2985
+ color: #39cf93;
2986
2986
  display: flex;
2987
2987
  align-items: center;
2988
2988
  }
2989
- .goDown[data-v-461dbe78]:before {
2989
+ .goDown[data-v-f7268778]:before {
2990
2990
  content: '';
2991
2991
  display: block;
2992
- background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/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oE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==");
2993
2993
  width: 12px;
2994
2994
  height: 12px;
2995
2995
  background-repeat: no-repeat;
2996
2996
  background-size: cover;
2997
2997
  margin-right: 2px;
2998
2998
  }
2999
- .empty[data-v-461dbe78] {
2999
+ .empty[data-v-f7268778] {
3000
3000
  text-align: center;
3001
3001
  margin-top: 15%;
3002
3002
  }
@@ -3085,7 +3085,7 @@ const _sfc_main$i = defineComponent({
3085
3085
  };
3086
3086
  }
3087
3087
  });
3088
- const _withScopeId$2 = (n) => (pushScopeId("data-v-461dbe78"), n = n(), popScopeId(), n);
3088
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-f7268778"), n = n(), popScopeId(), n);
3089
3089
  const _hoisted_1$5 = {
3090
3090
  key: 0,
3091
3091
  class: "title"
@@ -3185,7 +3185,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
3185
3185
  }, 8, ["loading"])
3186
3186
  ], 4);
3187
3187
  }
3188
- var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-461dbe78"]]);
3188
+ var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-f7268778"]]);
3189
3189
  const EcanList = withInstall(List);
3190
3190
  const proportionProps = __spreadProps(__spreadValues({}, props), {
3191
3191
  name: "\u5360\u6BD4\u56FE",
@@ -3208,11 +3208,11 @@ const proportionProps = __spreadProps(__spreadValues({}, props), {
3208
3208
  strokeTextWidth: "100%",
3209
3209
  lineHeight: "26px",
3210
3210
  decimalFormat: false,
3211
- textDefaultValue: ""
3211
+ variableDefaultValue: ""
3212
3212
  });
3213
3213
  const proportionComponentProps = transformToComponentProps(proportionProps);
3214
3214
  const proportionEvents = ["refreshData", "click"];
3215
- var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-f029c988] {\n overflow: hidden;\n}\n.progress[data-v-f029c988] {\n width: 100%;\n height: 100%;\n}\n.format[data-v-f029c988] {\n margin: 0 auto;\n}\n")();
3215
+ var Proportion_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".ecan-proportion[data-v-4a25add6] {\n overflow: hidden;\n}\n.progress[data-v-4a25add6] {\n width: 100%;\n height: 100%;\n}\n.format[data-v-4a25add6] {\n margin: 0 auto;\n}\n")();
3216
3216
  const _sfc_main$h = defineComponent({
3217
3217
  name: "EcanProportion",
3218
3218
  components: {
@@ -3253,23 +3253,21 @@ const _sfc_main$h = defineComponent({
3253
3253
  const text = computed(() => {
3254
3254
  let text2 = props2.text;
3255
3255
  const data = unref(myData);
3256
- console.log(data);
3257
- const variables = text2.match(/\{.*\}/g) || [];
3256
+ const variables = text2.match(/\{.+\}/g) || [];
3258
3257
  if (text2 === "")
3259
3258
  return unref(value) + "%";
3260
- for (let i = 0; i < variables.length; i++) {
3259
+ for (let i = 0; i < (variables == null ? void 0 : variables.length); i++) {
3261
3260
  const variable = variables[i];
3262
3261
  let statement = variable.slice(1, variable.length - 1);
3263
3262
  const textVariables = statement.match(/[a-zA-Z]\w*/g);
3264
- for (let j = 0; j < textVariables.length; j++) {
3263
+ for (let j = 0; j < (textVariables == null ? void 0 : textVariables.length); j++) {
3265
3264
  const textVariable = textVariables[i];
3266
3265
  if (data[textVariable] != null) {
3267
3266
  statement = statement.replace(textVariable, data[textVariable]);
3268
3267
  } else {
3269
- statement = statement.replace(textVariable, props2.textDefaultValue);
3268
+ statement = statement.replace(textVariable, props2.variableDefaultValue);
3270
3269
  }
3271
3270
  }
3272
- console.log("statement", statement);
3273
3271
  let usedVariable = statement;
3274
3272
  try {
3275
3273
  if (/[+\-*/%]+/g.test(statement)) {
@@ -3282,10 +3280,8 @@ const _sfc_main$h = defineComponent({
3282
3280
  if (props2.decimalFormat) {
3283
3281
  usedVariable = usedVariable == null ? void 0 : usedVariable.toFixed(2);
3284
3282
  }
3285
- console.log("usedVariable", usedVariable);
3286
3283
  text2 = text2.replace(variable, usedVariable + "");
3287
3284
  }
3288
- console.log("text", text2);
3289
3285
  return text2;
3290
3286
  });
3291
3287
  const requestData = useRequestData(props2);
@@ -3366,7 +3362,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
3366
3362
  }, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
3367
3363
  ], 4);
3368
3364
  }
3369
- var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-f029c988"]]);
3365
+ var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-4a25add6"]]);
3370
3366
  const EcanProportion = withInstall(Proportion);
3371
3367
  const inputProps = __spreadProps(__spreadValues({}, props), {
3372
3368
  width: "200px",
@@ -3660,7 +3656,7 @@ const buttonProps = __spreadProps(__spreadValues({}, props), {
3660
3656
  danger: false,
3661
3657
  shape: "default",
3662
3658
  href: "",
3663
- target: "_self",
3659
+ target: "self",
3664
3660
  fontSize: "14px",
3665
3661
  fontWeight: 400
3666
3662
  });
@@ -3677,20 +3673,42 @@ const _sfc_main$c = defineComponent({
3677
3673
  const style2 = usePickComponentStyle(props2);
3678
3674
  const events = props2.events;
3679
3675
  const emitEvent = useEmitEvent(events);
3680
- const click = emitEvent("click");
3676
+ const click = emitEvent("click", () => {
3677
+ if (props2.target === "event") {
3678
+ window.parent.postMessage({
3679
+ type: "openPage",
3680
+ url: props2.href
3681
+ }, "*");
3682
+ }
3683
+ });
3681
3684
  const myText = computed(() => useVariablesInText(props2.text));
3682
3685
  const myHref = computed(() => {
3686
+ if (props2.target === "event")
3687
+ return void 0;
3683
3688
  const href = props2.href;
3684
3689
  if (href) {
3685
3690
  return useVariablesInText(href);
3686
3691
  }
3687
3692
  return void 0;
3688
3693
  });
3694
+ const myTarget = computed(() => {
3695
+ const target = props2.target;
3696
+ if (target === "event") {
3697
+ return void 0;
3698
+ } else {
3699
+ const map = {
3700
+ self: "_self",
3701
+ blank: "_blank"
3702
+ };
3703
+ return map[target];
3704
+ }
3705
+ });
3689
3706
  return {
3690
3707
  style: style2,
3691
3708
  click,
3692
3709
  myText,
3693
- myHref
3710
+ myHref,
3711
+ myTarget
3694
3712
  };
3695
3713
  }
3696
3714
  });
@@ -3707,7 +3725,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
3707
3725
  danger: _ctx.danger,
3708
3726
  shape: _ctx.shape,
3709
3727
  href: _ctx.myHref,
3710
- target: _ctx.target
3728
+ target: _ctx.myTarget
3711
3729
  }, {
3712
3730
  default: withCtx(() => [
3713
3731
  createElementVNode("span", {
@@ -4489,7 +4507,7 @@ const barProps = __spreadProps(__spreadValues({}, props), {
4489
4507
  valueTypeDataFieldNames: { name: "name", value: "value", type: "type" },
4490
4508
  keyTypeDataFieldNames: { name: "name", types: [] },
4491
4509
  dataFieldConfigType: "value",
4492
- barWidth: "0%",
4510
+ barWidth: "40%",
4493
4511
  gridContainLabel: true,
4494
4512
  gridTop: "10%",
4495
4513
  gridBottom: "10%",
@@ -6012,12 +6030,12 @@ const imageProps = __spreadProps(__spreadValues({}, props), {
6012
6030
  width: "300px",
6013
6031
  height: "300px",
6014
6032
  imgUrl: "",
6015
- linkUrl: "",
6016
- linkMethod: "_self",
6033
+ target: "self",
6034
+ href: "",
6017
6035
  linkPage: ""
6018
6036
  });
6019
6037
  const imageComponentProps = transformToComponentProps(imageProps);
6020
- var Image_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-placeholder[data-v-03ae963a] {\n display: grid;\n place-content: center;\n border: 1px solid #d9d9d9;\n font-size: 16px;\n color: #333;\n}\n")();
6038
+ var Image_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".image-placeholder[data-v-2d7002a4] {\n display: grid;\n place-content: center;\n border: 1px solid #d9d9d9;\n font-size: 16px;\n color: #333;\n width: 100%;\n}\n")();
6021
6039
  const _sfc_main$2 = defineComponent({
6022
6040
  name: "EcanImage",
6023
6041
  props: __spreadValues({}, imageComponentProps),
@@ -6030,9 +6048,19 @@ const _sfc_main$2 = defineComponent({
6030
6048
  const onClick = () => {
6031
6049
  const linkPage = props2.linkPage || "";
6032
6050
  const pageUrl = usePageUrl(unref(pageMode), linkPage);
6033
- const linkUrl = props2.linkUrl;
6034
- const url = linkUrl || pageUrl;
6035
- window.open(url, props2.linkMethod);
6051
+ const href = props2.href;
6052
+ const url = href || pageUrl;
6053
+ const target = props2.target;
6054
+ if (target == null || target === "")
6055
+ return;
6056
+ if (target !== "event") {
6057
+ window.open(url, "_" + target);
6058
+ } else {
6059
+ window.parent.postMessage({
6060
+ type: "openPage",
6061
+ url: href
6062
+ }, "*");
6063
+ }
6036
6064
  };
6037
6065
  return {
6038
6066
  style: style2,
@@ -6054,7 +6082,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6054
6082
  style: normalizeStyle(_ctx.style)
6055
6083
  }, " \u8BF7\u4E0A\u4F20\u56FE\u7247 ", 4));
6056
6084
  }
6057
- var Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-03ae963a"]]);
6085
+ var Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-2d7002a4"]]);
6058
6086
  const EcanImage = withInstall(Image);
6059
6087
  const tableProps = __spreadProps(__spreadValues({}, props), {
6060
6088
  zIndex: 2,
@@ -6084,7 +6112,7 @@ const tableProps = __spreadProps(__spreadValues({}, props), {
6084
6112
  target: "",
6085
6113
  color: ""
6086
6114
  }],
6087
- actionColumnWidth: 50,
6115
+ actionColumnWidth: 100,
6088
6116
  columns: [
6089
6117
  {
6090
6118
  title: "\u59D3\u540D",
@@ -6119,16 +6147,16 @@ const tableProps = __spreadProps(__spreadValues({}, props), {
6119
6147
  });
6120
6148
  const tableComponentProps = transformToComponentProps(tableProps);
6121
6149
  const tableEvents = ["click", "refreshData"];
6122
- var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-a84f3122] {
6150
+ var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-a93d649c] {
6123
6151
  width: 100%;
6124
6152
  }
6125
- .goUp[data-v-a84f3122] {
6153
+ .goUp[data-v-a93d649c] {
6126
6154
  color: #FF512E;
6127
6155
  display: flex;
6128
6156
  align-items: center;
6129
6157
  justify-content: center;
6130
6158
  }
6131
- .goUp[data-v-a84f3122]:before {
6159
+ .goUp[data-v-a93d649c]:before {
6132
6160
  content: '';
6133
6161
  display: block;
6134
6162
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
@@ -6138,27 +6166,27 @@ var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `
6138
6166
  background-size: cover;
6139
6167
  margin-right: 2px;
6140
6168
  }
6141
- .goDown[data-v-a84f3122] {
6142
- color: #00F7B4;
6169
+ .goDown[data-v-a93d649c] {
6170
+ color: #39cf93;
6143
6171
  display: flex;
6144
6172
  align-items: center;
6145
6173
  justify-content: center;
6146
6174
  }
6147
- .goDown[data-v-a84f3122]:before {
6175
+ .goDown[data-v-a93d649c]:before {
6148
6176
  content: '';
6149
6177
  display: block;
6150
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6vkCwPu1uIhQq5o7WDOwtrToG+ssDeh4QPgfT2X0AAAAASUVORK5CYII=");
6178
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLy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at;
6154
6182
  background-size: cover;
6155
6183
  margin-right: 2px;
6156
6184
  }
6157
- .action-list[data-v-a84f3122] {
6185
+ .action-list[data-v-a93d649c] {
6158
6186
  display: flex;
6159
6187
  width: 100%;
6160
6188
  }
6161
- .action[data-v-a84f3122] {
6189
+ .action[data-v-a93d649c] {
6162
6190
  flex: 1;
6163
6191
  }
6164
6192
  `)();
@@ -6413,6 +6441,32 @@ const _sfc_main$1 = defineComponent({
6413
6441
  expose({
6414
6442
  refreshData
6415
6443
  });
6444
+ const handleHref = (target, href = "", data) => {
6445
+ if (target === "event") {
6446
+ return void 0;
6447
+ } else {
6448
+ return useVariablesInText(href, data);
6449
+ }
6450
+ };
6451
+ const handleHrefTarget = (target) => {
6452
+ if (target === "event") {
6453
+ return void 0;
6454
+ } else {
6455
+ const map = {
6456
+ self: "_self",
6457
+ blank: "_blank"
6458
+ };
6459
+ return map[target];
6460
+ }
6461
+ };
6462
+ const onTouchHrefEvent = (target, href = "") => {
6463
+ if (target === "event") {
6464
+ window.parent.postMessage({
6465
+ type: "openPage",
6466
+ url: href
6467
+ }, "*");
6468
+ }
6469
+ };
6416
6470
  return {
6417
6471
  x,
6418
6472
  y,
@@ -6427,7 +6481,9 @@ const _sfc_main$1 = defineComponent({
6427
6481
  dataSource,
6428
6482
  summaryList,
6429
6483
  loading,
6430
- useVariablesInText
6484
+ onTouchHrefEvent,
6485
+ handleHref,
6486
+ handleHrefTarget
6431
6487
  };
6432
6488
  }
6433
6489
  });
@@ -6435,7 +6491,7 @@ const _hoisted_1$1 = {
6435
6491
  key: 1,
6436
6492
  class: "action-list"
6437
6493
  };
6438
- const _hoisted_2 = ["href", "target"];
6494
+ const _hoisted_2 = ["href", "target", "onClick"];
6439
6495
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6440
6496
  const _component_a_table_summary_cell = resolveComponent("a-table-summary-cell");
6441
6497
  const _component_a_table_summary_row = resolveComponent("a-table-summary-row");
@@ -6476,13 +6532,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6476
6532
  key: index22
6477
6533
  }, [
6478
6534
  createElementVNode("a", {
6479
- href: _ctx.useVariablesInText(action.href, record),
6480
- target: action.target,
6535
+ href: _ctx.handleHref(action.target, action.href, record),
6536
+ target: _ctx.handleHrefTarget(action.target),
6481
6537
  style: normalizeStyle({
6482
6538
  color: action.color,
6483
6539
  fontSize: _ctx.fontSize,
6484
6540
  fontWeight: _ctx.fontWeight
6485
- })
6541
+ }),
6542
+ onClick: ($event) => _ctx.onTouchHrefEvent(action.target, action.href)
6486
6543
  }, toDisplayString(action.title), 13, _hoisted_2)
6487
6544
  ]);
6488
6545
  }), 128))
@@ -6533,7 +6590,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6533
6590
  }, 8, ["loading"])
6534
6591
  ], 4);
6535
6592
  }
6536
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a84f3122"]]);
6593
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a93d649c"]]);
6537
6594
  const EcanTable = withInstall(Table);
6538
6595
  const mapProps = __spreadProps(__spreadValues({}, props), {
6539
6596
  mapJson: null,