@airpower/web 1.3.0 → 1.3.2

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.
@@ -61,6 +61,18 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
61
61
  * ### 前缀文本
62
62
  */
63
63
  prefixText?: string;
64
+ /**
65
+ * ### 是否是图片列
66
+ */
67
+ image?: boolean;
68
+ /**
69
+ * ### 图片宽度
70
+ */
71
+ imageWidth?: number;
72
+ /**
73
+ * ### 图片高度
74
+ */
75
+ imageHeight?: number;
64
76
  /**
65
77
  * ### 是否显示颜色状态灯
66
78
  */
package/dist/main.js CHANGED
@@ -14480,7 +14480,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
14480
14480
  };
14481
14481
  }
14482
14482
  });
14483
- const AMoney = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-f91c14e3"]]);
14483
+ const AMoney = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-f221d0de"]]);
14484
14484
  class QueryPage extends Transformer {
14485
14485
  /**
14486
14486
  * ### 分页页数
@@ -15668,7 +15668,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
15668
15668
  };
15669
15669
  }
15670
15670
  });
15671
- const APayload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-06da71fc"]]);
15671
+ const APayload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-039eac97"]]);
15672
15672
  const _hoisted_1$6 = { class: "a-phone-call__content" };
15673
15673
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
15674
15674
  __name: "Call",
@@ -17399,7 +17399,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17399
17399
  };
17400
17400
  }
17401
17401
  });
17402
- const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f5fa5768"]]);
17402
+ const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-520a2ab9"]]);
17403
17403
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
17404
17404
  __name: "CopyColumn",
17405
17405
  props: {
@@ -17574,7 +17574,7 @@ const _hoisted_5$1 = {
17574
17574
  style: { "color": "#aaa", "margin-right": "3px" }
17575
17575
  };
17576
17576
  const _hoisted_6 = {
17577
- key: 9,
17577
+ key: 10,
17578
17578
  style: { "color": "#aaa" }
17579
17579
  };
17580
17580
  const _hoisted_7 = { class: "ctrlRow" };
@@ -18539,18 +18539,23 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18539
18539
  column: item,
18540
18540
  data: scope.row,
18541
18541
  dictionary: unref(getDictionary)(unref(EntityClass), item.key)
18542
- }, null, 8, ["column", "data", "dictionary"])) : item.phone ? (openBlock(), createBlock(unref(APhone), {
18542
+ }, null, 8, ["column", "data", "dictionary"])) : item.image ? (openBlock(), createBlock(unref(_sfc_main$k), {
18543
18543
  key: 2,
18544
+ src: getValue(scope, item.key),
18545
+ width: item.imageWidth,
18546
+ height: item.imageHeight
18547
+ }, null, 8, ["src", "width", "height"])) : item.phone ? (openBlock(), createBlock(unref(APhone), {
18548
+ key: 3,
18544
18549
  desensitize: item.desensitize,
18545
18550
  phone: getValue(scope, item.key)
18546
18551
  }, null, 8, ["desensitize", "phone"])) : item.datetime ? (openBlock(), createBlock(unref(ADateTime), {
18547
- key: 3,
18552
+ key: 4,
18548
18553
  formatter: item.datetime === true ? unref(DateTimeFormatter).FULL_DATE_TIME : item.datetime,
18549
18554
  "milli-second": getValue(scope, item.key)
18550
18555
  }, null, 8, ["formatter", "milli-second"])) : item.money ? (openBlock(), createBlock(unref(AMoney), {
18551
- key: 4,
18556
+ key: 5,
18552
18557
  money: getValue(scope, item.key)
18553
- }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18558
+ }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
18554
18559
  item.array ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18555
18560
  createTextVNode(toDisplayString(getPayloadArray(scope, item.key).map((payload) => payload.getPayloadLabel()).join(",")), 1)
18556
18561
  ], 64)) : (openBlock(), createBlock(unref(APayload), {
@@ -18558,15 +18563,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18558
18563
  payload: getValue(scope, item.key)
18559
18564
  }, null, 8, ["payload"]))
18560
18565
  ], 64)) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
18561
- key: 6,
18566
+ key: 7,
18562
18567
  content: getValue(scope, item.key),
18563
18568
  type: item.desensitize
18564
18569
  }, null, 8, ["content", "type"])) : item.copy ? (openBlock(), createBlock(unref(_sfc_main$4), {
18565
- key: 7,
18570
+ key: 8,
18566
18571
  column: item,
18567
18572
  data: scope.row
18568
18573
  }, null, 8, ["column", "data"])) : (openBlock(), createElementBlock("div", {
18569
- key: 8,
18574
+ key: 9,
18570
18575
  class: normalizeClass([item.wrap ? "" : "nowrap", "a-table-column"])
18571
18576
  }, toDisplayString(getStringValue(getValue(scope, item.key)) ?? item.emptyValue), 3)),
18572
18577
  item.suffixText ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(item.suffixText), 1)) : createCommentVNode("", true)
package/dist/web.css CHANGED
@@ -908,7 +908,7 @@ textarea {
908
908
  height: 10px;
909
909
  margin-right: -15px;
910
910
  border-radius: 100%;
911
- }.web-money[data-v-f91c14e3] {
911
+ }.web-money[data-v-f221d0de] {
912
912
  display: flex;
913
913
  flex-direction: row;
914
914
  align-items: flex-end;
@@ -916,16 +916,16 @@ textarea {
916
916
  width: auto;
917
917
  flex: none;
918
918
  }
919
- .web-money[data-v-f91c14e3] .el-link__inner {
919
+ .web-money[data-v-f221d0de] .el-link__inner {
920
920
  display: flex;
921
921
  flex-direction: row;
922
922
  align-items: center;
923
923
  justify-content: flex-end;
924
924
  }
925
- .web-money .money[data-v-f91c14e3] {
925
+ .web-money .money[data-v-f221d0de] {
926
926
  font-weight: bold;
927
927
  }
928
- .web-money .prefix[data-v-f91c14e3] {
928
+ .web-money .prefix[data-v-f221d0de] {
929
929
  color: #999;
930
930
  font-size: 12px;
931
931
  }.web-page {
@@ -1154,7 +1154,7 @@ textarea {
1154
1154
  }
1155
1155
  ::v-deep(.a-dialog) .main {
1156
1156
  min-height: 200px !important;
1157
- }.a-payload[data-v-06da71fc] {
1157
+ }.a-payload[data-v-039eac97] {
1158
1158
  overflow: hidden;
1159
1159
  text-overflow: ellipsis;
1160
1160
  white-space: normal;
@@ -1213,7 +1213,7 @@ textarea {
1213
1213
  height: 0;
1214
1214
  overflow: hidden;
1215
1215
  overflow-y: auto;
1216
- }.el-check-tag[data-v-f5fa5768] {
1216
+ }.el-check-tag[data-v-520a2ab9] {
1217
1217
  font-weight: normal !important;
1218
1218
  user-select: none;
1219
1219
  font-size: 13px;
@@ -1221,7 +1221,7 @@ textarea {
1221
1221
  margin-bottom: 5px;
1222
1222
  padding: 4px 10px;
1223
1223
  }
1224
- .a-field-selector-bg[data-v-f5fa5768] {
1224
+ .a-field-selector-bg[data-v-520a2ab9] {
1225
1225
  position: fixed;
1226
1226
  left: 0;
1227
1227
  right: 0;
@@ -1230,7 +1230,7 @@ textarea {
1230
1230
  background-color: rgba(0, 0, 0, 0.1);
1231
1231
  z-index: 9999999;
1232
1232
  }
1233
- .a-field-selector-dialog[data-v-f5fa5768] {
1233
+ .a-field-selector-dialog[data-v-520a2ab9] {
1234
1234
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
1235
1235
  position: absolute;
1236
1236
  right: 0;
@@ -1243,13 +1243,13 @@ textarea {
1243
1243
  overflow: hidden;
1244
1244
  z-index: 99999991;
1245
1245
  }
1246
- .a-field-selector-dialog .a-field-selector-title[data-v-f5fa5768] {
1246
+ .a-field-selector-dialog .a-field-selector-title[data-v-520a2ab9] {
1247
1247
  margin-bottom: 10px;
1248
1248
  border-bottom: 1px solid var(--el-color-primary-light-9);
1249
1249
  padding: 8px 16px;
1250
1250
  font-size: 15px;
1251
1251
  }
1252
- .a-field-selector-dialog .a-field-selector-list[data-v-f5fa5768] {
1252
+ .a-field-selector-dialog .a-field-selector-list[data-v-520a2ab9] {
1253
1253
  padding: 5px 15px 10px 15px;
1254
1254
  display: flex;
1255
1255
  flex-wrap: wrap;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.3.2",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "peerDependencies": {},
41
41
  "dependencies": {
42
- "@airpower/enum": "^1.3.0",
43
- "@airpower/i18n": "^1.3.0",
44
- "@airpower/transformer": "^1.3.0",
45
- "@airpower/util": "^1.3.0",
42
+ "@airpower/enum": "^1.3.3",
43
+ "@airpower/i18n": "^1.3.3",
44
+ "@airpower/transformer": "^1.3.3",
45
+ "@airpower/util": "^1.3.3",
46
46
  "@element-plus/icons-vue": "^2.3.1",
47
47
  "axios": "1.11.0",
48
48
  "element-plus": "^2.10.4",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@antfu/eslint-config": "^5.0.0",
56
- "@types/node": "^24.1.F0",
56
+ "@types/node": "^24.1.0",
57
57
  "@vitejs/plugin-vue": "^6.0.1",
58
58
  "eslint": "^9.32.0",
59
59
  "sass-embedded": "^1.89.2",