@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.umd.js CHANGED
@@ -2903,10 +2903,10 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2903
2903
  });
2904
2904
  const listComponentProps = transformToComponentProps(listProps);
2905
2905
  const listEvents = ["refreshData", "click"];
2906
- var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-461dbe78] {
2906
+ var List_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.ecan-list[data-v-f7268778] {
2907
2907
  overflow: hidden;
2908
2908
  }
2909
- .ecan-list-content[data-v-461dbe78] {
2909
+ .ecan-list-content[data-v-f7268778] {
2910
2910
  width: 100%;
2911
2911
  height: 100%;
2912
2912
  overflow: auto;
@@ -2914,7 +2914,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2914
2914
  align-content: flex-start;
2915
2915
  flex-wrap: wrap;
2916
2916
  }
2917
- .title[data-v-461dbe78] {
2917
+ .title[data-v-f7268778] {
2918
2918
  position: absolute;
2919
2919
  z-index: 9;
2920
2920
  display: flex;
@@ -2924,18 +2924,18 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2924
2924
  font-size: 16px;
2925
2925
  color: #ffffff;
2926
2926
  }
2927
- .title-inner[data-v-461dbe78] {
2927
+ .title-inner[data-v-f7268778] {
2928
2928
  padding-left: 28px;
2929
2929
  padding-right: 20px;
2930
2930
  flex: 1;
2931
2931
  display: flex;
2932
2932
  height: 100%;
2933
2933
  }
2934
- .title-placeholder[data-v-461dbe78] {
2934
+ .title-placeholder[data-v-f7268778] {
2935
2935
  width: 100%;
2936
2936
  height: 32px;
2937
2937
  }
2938
- .item[data-v-461dbe78] {
2938
+ .item[data-v-f7268778] {
2939
2939
  display: flex;
2940
2940
  align-items: center;
2941
2941
  height: 32px;
@@ -2945,13 +2945,13 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2945
2945
  font-size: 16px;
2946
2946
  color: #ffffff;
2947
2947
  }
2948
- .column[data-v-461dbe78] {
2948
+ .column[data-v-f7268778] {
2949
2949
  flex: 1;
2950
2950
  overflow: hidden;
2951
2951
  text-overflow: ellipsis;
2952
2952
  white-space: nowrap;
2953
2953
  }
2954
- .ranking[data-v-461dbe78] {
2954
+ .ranking[data-v-f7268778] {
2955
2955
  flex: 1;
2956
2956
  display: flex;
2957
2957
  align-items: center;
@@ -2960,28 +2960,28 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2960
2960
  text-overflow: ellipsis;
2961
2961
  white-space: nowrap;
2962
2962
  }
2963
- .icon[data-v-461dbe78] {
2963
+ .icon[data-v-f7268778] {
2964
2964
  width: 12px;
2965
2965
  height: 8px;
2966
2966
  background: #21BEF7;
2967
2967
  margin-right: 17px;
2968
2968
  opacity: 0.6;
2969
2969
  }
2970
- .item:nth-child(2) .icon[data-v-461dbe78] {
2970
+ .item:nth-child(2) .icon[data-v-f7268778] {
2971
2971
  opacity: 0.8;
2972
2972
  }
2973
- .item:first-child .icon[data-v-461dbe78] {
2973
+ .item:first-child .icon[data-v-f7268778] {
2974
2974
  opacity: 1;
2975
2975
  }
2976
- .sort[data-v-461dbe78] {
2976
+ .sort[data-v-f7268778] {
2977
2977
  font-weight: 600;
2978
2978
  }
2979
- .goUp[data-v-461dbe78] {
2979
+ .goUp[data-v-f7268778] {
2980
2980
  color: #FF512E;
2981
2981
  display: flex;
2982
2982
  align-items: center;
2983
2983
  }
2984
- .goUp[data-v-461dbe78]:before {
2984
+ .goUp[data-v-f7268778]:before {
2985
2985
  content: '';
2986
2986
  display: block;
2987
2987
  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=");
@@ -2991,22 +2991,22 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2991
2991
  background-size: cover;
2992
2992
  margin-right: 2px;
2993
2993
  }
2994
- .goDown[data-v-461dbe78] {
2995
- color: #00F7B4;
2994
+ .goDown[data-v-f7268778] {
2995
+ color: #39cf93;
2996
2996
  display: flex;
2997
2997
  align-items: center;
2998
2998
  }
2999
- .goDown[data-v-461dbe78]:before {
2999
+ .goDown[data-v-f7268778]:before {
3000
3000
  content: '';
3001
3001
  display: block;
3002
- 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/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6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AQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==");
3003
3003
  width: 12px;
3004
3004
  height: 12px;
3005
3005
  background-repeat: no-repeat;
3006
3006
  background-size: cover;
3007
3007
  margin-right: 2px;
3008
3008
  }
3009
- .empty[data-v-461dbe78] {
3009
+ .empty[data-v-f7268778] {
3010
3010
  text-align: center;
3011
3011
  margin-top: 15%;
3012
3012
  }
@@ -3095,7 +3095,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3095
3095
  };
3096
3096
  }
3097
3097
  });
3098
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-461dbe78"), n = n(), vue.popScopeId(), n);
3098
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-f7268778"), n = n(), vue.popScopeId(), n);
3099
3099
  const _hoisted_1$5 = {
3100
3100
  key: 0,
3101
3101
  class: "title"
@@ -3195,7 +3195,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3195
3195
  }, 8, ["loading"])
3196
3196
  ], 4);
3197
3197
  }
3198
- var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-461dbe78"]]);
3198
+ var List = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-f7268778"]]);
3199
3199
  const EcanList = withInstall(List);
3200
3200
  const proportionProps = __spreadProps(__spreadValues({}, props), {
3201
3201
  name: "\u5360\u6BD4\u56FE",
@@ -3218,11 +3218,11 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3218
3218
  strokeTextWidth: "100%",
3219
3219
  lineHeight: "26px",
3220
3220
  decimalFormat: false,
3221
- textDefaultValue: ""
3221
+ variableDefaultValue: ""
3222
3222
  });
3223
3223
  const proportionComponentProps = transformToComponentProps(proportionProps);
3224
3224
  const proportionEvents = ["refreshData", "click"];
3225
- 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")();
3225
+ 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")();
3226
3226
  const _sfc_main$h = vue.defineComponent({
3227
3227
  name: "EcanProportion",
3228
3228
  components: {
@@ -3263,23 +3263,21 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3263
3263
  const text = vue.computed(() => {
3264
3264
  let text2 = props2.text;
3265
3265
  const data = vue.unref(myData);
3266
- console.log(data);
3267
- const variables = text2.match(/\{.*\}/g) || [];
3266
+ const variables = text2.match(/\{.+\}/g) || [];
3268
3267
  if (text2 === "")
3269
3268
  return vue.unref(value) + "%";
3270
- for (let i = 0; i < variables.length; i++) {
3269
+ for (let i = 0; i < (variables == null ? void 0 : variables.length); i++) {
3271
3270
  const variable = variables[i];
3272
3271
  let statement = variable.slice(1, variable.length - 1);
3273
3272
  const textVariables = statement.match(/[a-zA-Z]\w*/g);
3274
- for (let j = 0; j < textVariables.length; j++) {
3273
+ for (let j = 0; j < (textVariables == null ? void 0 : textVariables.length); j++) {
3275
3274
  const textVariable = textVariables[i];
3276
3275
  if (data[textVariable] != null) {
3277
3276
  statement = statement.replace(textVariable, data[textVariable]);
3278
3277
  } else {
3279
- statement = statement.replace(textVariable, props2.textDefaultValue);
3278
+ statement = statement.replace(textVariable, props2.variableDefaultValue);
3280
3279
  }
3281
3280
  }
3282
- console.log("statement", statement);
3283
3281
  let usedVariable = statement;
3284
3282
  try {
3285
3283
  if (/[+\-*/%]+/g.test(statement)) {
@@ -3292,10 +3290,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3292
3290
  if (props2.decimalFormat) {
3293
3291
  usedVariable = usedVariable == null ? void 0 : usedVariable.toFixed(2);
3294
3292
  }
3295
- console.log("usedVariable", usedVariable);
3296
3293
  text2 = text2.replace(variable, usedVariable + "");
3297
3294
  }
3298
- console.log("text", text2);
3299
3295
  return text2;
3300
3296
  });
3301
3297
  const requestData = useRequestData(props2);
@@ -3376,7 +3372,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3376
3372
  }, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
3377
3373
  ], 4);
3378
3374
  }
3379
- var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-f029c988"]]);
3375
+ var Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-4a25add6"]]);
3380
3376
  const EcanProportion = withInstall(Proportion);
3381
3377
  const inputProps = __spreadProps(__spreadValues({}, props), {
3382
3378
  width: "200px",
@@ -3670,7 +3666,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3670
3666
  danger: false,
3671
3667
  shape: "default",
3672
3668
  href: "",
3673
- target: "_self",
3669
+ target: "self",
3674
3670
  fontSize: "14px",
3675
3671
  fontWeight: 400
3676
3672
  });
@@ -3687,20 +3683,42 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3687
3683
  const style2 = usePickComponentStyle(props2);
3688
3684
  const events = props2.events;
3689
3685
  const emitEvent = useEmitEvent(events);
3690
- const click = emitEvent("click");
3686
+ const click = emitEvent("click", () => {
3687
+ if (props2.target === "event") {
3688
+ window.parent.postMessage({
3689
+ type: "openPage",
3690
+ url: props2.href
3691
+ }, "*");
3692
+ }
3693
+ });
3691
3694
  const myText = vue.computed(() => useVariablesInText(props2.text));
3692
3695
  const myHref = vue.computed(() => {
3696
+ if (props2.target === "event")
3697
+ return void 0;
3693
3698
  const href = props2.href;
3694
3699
  if (href) {
3695
3700
  return useVariablesInText(href);
3696
3701
  }
3697
3702
  return void 0;
3698
3703
  });
3704
+ const myTarget = vue.computed(() => {
3705
+ const target = props2.target;
3706
+ if (target === "event") {
3707
+ return void 0;
3708
+ } else {
3709
+ const map = {
3710
+ self: "_self",
3711
+ blank: "_blank"
3712
+ };
3713
+ return map[target];
3714
+ }
3715
+ });
3699
3716
  return {
3700
3717
  style: style2,
3701
3718
  click,
3702
3719
  myText,
3703
- myHref
3720
+ myHref,
3721
+ myTarget
3704
3722
  };
3705
3723
  }
3706
3724
  });
@@ -3717,7 +3735,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
3717
3735
  danger: _ctx.danger,
3718
3736
  shape: _ctx.shape,
3719
3737
  href: _ctx.myHref,
3720
- target: _ctx.target
3738
+ target: _ctx.myTarget
3721
3739
  }, {
3722
3740
  default: vue.withCtx(() => [
3723
3741
  vue.createElementVNode("span", {
@@ -4499,7 +4517,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
4499
4517
  valueTypeDataFieldNames: { name: "name", value: "value", type: "type" },
4500
4518
  keyTypeDataFieldNames: { name: "name", types: [] },
4501
4519
  dataFieldConfigType: "value",
4502
- barWidth: "0%",
4520
+ barWidth: "40%",
4503
4521
  gridContainLabel: true,
4504
4522
  gridTop: "10%",
4505
4523
  gridBottom: "10%",
@@ -6022,12 +6040,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6022
6040
  width: "300px",
6023
6041
  height: "300px",
6024
6042
  imgUrl: "",
6025
- linkUrl: "",
6026
- linkMethod: "_self",
6043
+ target: "self",
6044
+ href: "",
6027
6045
  linkPage: ""
6028
6046
  });
6029
6047
  const imageComponentProps = transformToComponentProps(imageProps);
6030
- 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")();
6048
+ 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")();
6031
6049
  const _sfc_main$2 = vue.defineComponent({
6032
6050
  name: "EcanImage",
6033
6051
  props: __spreadValues({}, imageComponentProps),
@@ -6040,9 +6058,19 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6040
6058
  const onClick = () => {
6041
6059
  const linkPage = props2.linkPage || "";
6042
6060
  const pageUrl = usePageUrl(vue.unref(pageMode), linkPage);
6043
- const linkUrl = props2.linkUrl;
6044
- const url = linkUrl || pageUrl;
6045
- window.open(url, props2.linkMethod);
6061
+ const href = props2.href;
6062
+ const url = href || pageUrl;
6063
+ const target = props2.target;
6064
+ if (target == null || target === "")
6065
+ return;
6066
+ if (target !== "event") {
6067
+ window.open(url, "_" + target);
6068
+ } else {
6069
+ window.parent.postMessage({
6070
+ type: "openPage",
6071
+ url: href
6072
+ }, "*");
6073
+ }
6046
6074
  };
6047
6075
  return {
6048
6076
  style: style2,
@@ -6064,7 +6092,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6064
6092
  style: vue.normalizeStyle(_ctx.style)
6065
6093
  }, " \u8BF7\u4E0A\u4F20\u56FE\u7247 ", 4));
6066
6094
  }
6067
- var Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-03ae963a"]]);
6095
+ var Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-2d7002a4"]]);
6068
6096
  const EcanImage = withInstall(Image);
6069
6097
  const tableProps = __spreadProps(__spreadValues({}, props), {
6070
6098
  zIndex: 2,
@@ -6094,7 +6122,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6094
6122
  target: "",
6095
6123
  color: ""
6096
6124
  }],
6097
- actionColumnWidth: 50,
6125
+ actionColumnWidth: 100,
6098
6126
  columns: [
6099
6127
  {
6100
6128
  title: "\u59D3\u540D",
@@ -6129,16 +6157,16 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6129
6157
  });
6130
6158
  const tableComponentProps = transformToComponentProps(tableProps);
6131
6159
  const tableEvents = ["click", "refreshData"];
6132
- var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-a84f3122] {
6160
+ var Table_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => `.table[data-v-a93d649c] {
6133
6161
  width: 100%;
6134
6162
  }
6135
- .goUp[data-v-a84f3122] {
6163
+ .goUp[data-v-a93d649c] {
6136
6164
  color: #FF512E;
6137
6165
  display: flex;
6138
6166
  align-items: center;
6139
6167
  justify-content: center;
6140
6168
  }
6141
- .goUp[data-v-a84f3122]:before {
6169
+ .goUp[data-v-a93d649c]:before {
6142
6170
  content: '';
6143
6171
  display: block;
6144
6172
  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=");
@@ -6148,27 +6176,27 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6148
6176
  background-size: cover;
6149
6177
  margin-right: 2px;
6150
6178
  }
6151
- .goDown[data-v-a84f3122] {
6152
- color: #00F7B4;
6179
+ .goDown[data-v-a93d649c] {
6180
+ color: #39cf93;
6153
6181
  display: flex;
6154
6182
  align-items: center;
6155
6183
  justify-content: center;
6156
6184
  }
6157
- .goDown[data-v-a84f3122]:before {
6185
+ .goDown[data-v-a93d649c]:before {
6158
6186
  content: '';
6159
6187
  display: block;
6160
- 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=");
6188
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEw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qHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==");
6161
6189
  width: 12px;
6162
6190
  height: 12px;
6163
6191
  background-repeat: no-repeat;
6164
6192
  background-size: cover;
6165
6193
  margin-right: 2px;
6166
6194
  }
6167
- .action-list[data-v-a84f3122] {
6195
+ .action-list[data-v-a93d649c] {
6168
6196
  display: flex;
6169
6197
  width: 100%;
6170
6198
  }
6171
- .action[data-v-a84f3122] {
6199
+ .action[data-v-a93d649c] {
6172
6200
  flex: 1;
6173
6201
  }
6174
6202
  `)();
@@ -6423,6 +6451,32 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6423
6451
  expose({
6424
6452
  refreshData
6425
6453
  });
6454
+ const handleHref = (target, href = "", data) => {
6455
+ if (target === "event") {
6456
+ return void 0;
6457
+ } else {
6458
+ return useVariablesInText(href, data);
6459
+ }
6460
+ };
6461
+ const handleHrefTarget = (target) => {
6462
+ if (target === "event") {
6463
+ return void 0;
6464
+ } else {
6465
+ const map = {
6466
+ self: "_self",
6467
+ blank: "_blank"
6468
+ };
6469
+ return map[target];
6470
+ }
6471
+ };
6472
+ const onTouchHrefEvent = (target, href = "") => {
6473
+ if (target === "event") {
6474
+ window.parent.postMessage({
6475
+ type: "openPage",
6476
+ url: href
6477
+ }, "*");
6478
+ }
6479
+ };
6426
6480
  return {
6427
6481
  x,
6428
6482
  y,
@@ -6437,7 +6491,9 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6437
6491
  dataSource,
6438
6492
  summaryList,
6439
6493
  loading,
6440
- useVariablesInText
6494
+ onTouchHrefEvent,
6495
+ handleHref,
6496
+ handleHrefTarget
6441
6497
  };
6442
6498
  }
6443
6499
  });
@@ -6445,7 +6501,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6445
6501
  key: 1,
6446
6502
  class: "action-list"
6447
6503
  };
6448
- const _hoisted_2 = ["href", "target"];
6504
+ const _hoisted_2 = ["href", "target", "onClick"];
6449
6505
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
6450
6506
  const _component_a_table_summary_cell = vue.resolveComponent("a-table-summary-cell");
6451
6507
  const _component_a_table_summary_row = vue.resolveComponent("a-table-summary-row");
@@ -6486,13 +6542,14 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6486
6542
  key: index22
6487
6543
  }, [
6488
6544
  vue.createElementVNode("a", {
6489
- href: _ctx.useVariablesInText(action.href, record),
6490
- target: action.target,
6545
+ href: _ctx.handleHref(action.target, action.href, record),
6546
+ target: _ctx.handleHrefTarget(action.target),
6491
6547
  style: vue.normalizeStyle({
6492
6548
  color: action.color,
6493
6549
  fontSize: _ctx.fontSize,
6494
6550
  fontWeight: _ctx.fontWeight
6495
- })
6551
+ }),
6552
+ onClick: ($event) => _ctx.onTouchHrefEvent(action.target, action.href)
6496
6553
  }, vue.toDisplayString(action.title), 13, _hoisted_2)
6497
6554
  ]);
6498
6555
  }), 128))
@@ -6543,7 +6600,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6543
6600
  }, 8, ["loading"])
6544
6601
  ], 4);
6545
6602
  }
6546
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a84f3122"]]);
6603
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a93d649c"]]);
6547
6604
  const EcanTable = withInstall(Table);
6548
6605
  const mapProps = __spreadProps(__spreadValues({}, props), {
6549
6606
  mapJson: null,