agilebuilder-ui 1.1.41-sit1 → 1.1.41-sit2

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.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-c5435fac.js";
2
+ import { _ as s } from "./index-fd478b0b.js";
3
3
  const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,4 +1,4 @@
1
- import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-c5435fac.js";
1
+ import { _ as f, c as _, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-fd478b0b.js";
2
2
  import { resolveComponent as u, openBlock as l, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as C, renderList as T, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
3
3
  const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
4
4
  return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { _ as I } from "./index-c5435fac.js";
2
+ import { _ as I } from "./index-fd478b0b.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.41-sit1",
3
+ "version": "1.1.41-sit2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -11,25 +11,15 @@
11
11
  </span>
12
12
  </template>
13
13
  <div v-if="firstFileName" ref="toolRef" class="fs-preview-tool">
14
- <el-link v-if="enableDelete && !disabled" type="danger" :underline="false" @click="deleteFirst()">
15
- {{ $t('fsUpload.delete') }}
16
- </el-link>
17
- <el-link
18
- v-if="!disabled || !fileSetObj.disabledNoPreview"
19
- type="primary"
20
- :underline="false"
21
- @click="previewFirst()"
22
- >
23
- {{ $t('fsUpload.preview') }}
24
- </el-link>
25
- <el-link
26
- v-if="!disabled || !fileSetObj.disabledNoDownload"
27
- type="primary"
28
- :underline="false"
29
- @click="downloadFirst()"
30
- >
31
- {{ $t('fsUpload.download') }}
32
- </el-link>
14
+ <el-tooltip v-if="enableDelete && !disabled" :content="$t('fsUpload.delete')">
15
+ <super-icon @click="deleteFirst()" iconValue="amb-color-icon-shanchu" />
16
+ </el-tooltip>
17
+ <el-tooltip v-if="!disabled || !fileSetObj.disabledNoPreview" :content="$t('fsUpload.preview')">
18
+ <super-icon @click="previewFirst()" iconValue="amb-color-icon-yulan" />
19
+ </el-tooltip>
20
+ <el-tooltip v-if="!disabled || !fileSetObj.disabledNoDownload" :content="$t('fsUpload.download')">
21
+ <super-icon @click="downloadFirst()" iconValue="amb-color-icon-xiazai" />
22
+ </el-tooltip>
33
23
  <el-divider v-if="showMultipleFile" direction="vertical" />
34
24
  <el-popover :width="450" trigger="click">
35
25
  <template #reference>
@@ -41,7 +31,7 @@
41
31
  <div style="max-height: 300px; overflow-y: auto">
42
32
  <div v-for="(item, index) in fileList" :ref="item.serverPath" :key="item.serverPath" class="file-item">
43
33
  <div style="display: flex; align-items: center; flex: 1">
44
- <span>
34
+ <span class="more-file-icon">
45
35
  <super-icon :iconValue="getFileIconByName(item.showName)" />
46
36
  </span>
47
37
  <span class="amb-list-preivew-name" style="width: 230px; margin-left: 10px">
@@ -49,7 +39,7 @@
49
39
  </span>
50
40
  </div>
51
41
  <div class="file-actions">
52
- <el-link v-if="enableDelete" type="danger" underline @click="deleteFile(item)">
42
+ <!-- <el-link v-if="enableDelete" type="danger" underline @click="deleteFile(item)">
53
43
  {{ $t('fsUpload.delete') }}
54
44
  </el-link>
55
45
  <el-link
@@ -60,14 +50,18 @@
60
50
  >
61
51
  {{ $t('fsUpload.preview') }}
62
52
  </el-link>
63
- <el-link
64
- type="primary"
65
- v-if="!disabled || !fileSetObj.disabledNoDownload"
66
- underline
67
- @click="donwloadFile(index)"
68
- >
53
+ <el-link type="primary" v-if="!disabled || !fileSetObj.disabledNoDownload" underline>
69
54
  {{ $t('fsUpload.download') }}
70
- </el-link>
55
+ </el-link> -->
56
+ <el-tooltip v-if="enableDelete" :content="$t('fsUpload.delete')">
57
+ <super-icon @click="deleteFile(item)" iconValue="amb-color-icon-shanchu" />
58
+ </el-tooltip>
59
+ <el-tooltip v-if="!disabled || !fileSetObj.disabledNoPreview" :content="$t('fsUpload.preview')">
60
+ <super-icon @click="previewSingle(item)" iconValue="amb-color-icon-yulan" />
61
+ </el-tooltip>
62
+ <el-tooltip v-if="!disabled || !fileSetObj.disabledNoDownload" :content="$t('fsUpload.download')">
63
+ <super-icon @click="donwloadFile(index)" iconValue="amb-color-icon-xiazai" />
64
+ </el-tooltip>
71
65
  </div>
72
66
  </div>
73
67
  </div>
@@ -413,10 +407,22 @@ export default {
413
407
  min-width: max-content;
414
408
  margin-left: auto; /* 添加这行,将工具栏推到右侧 */
415
409
  }
416
- .amb-color-iconfont {
410
+
411
+ .fs-preview-container :deep(.amb-color-iconfont),
412
+ .more-file-icon :deep(.amb-color-iconfont) {
417
413
  width: 30px;
418
414
  height: 30px;
419
415
  }
416
+ .fs-preview-tool :deep(.amb-color-iconfont),
417
+ .file-actions :deep(.amb-color-iconfont) {
418
+ font-size: 15px !important; /* 图标实际大小,按需改 */
419
+ display: inline-block;
420
+ width: 1em !important; /* 覆盖子组件 .super-icon 的 14px */
421
+ height: 1em !important;
422
+ line-height: 1em;
423
+ cursor: pointer;
424
+ }
425
+
420
426
  .amb-list-preivew-name {
421
427
  overflow: hidden;
422
428
  text-overflow: ellipsis;
@@ -450,4 +456,7 @@ export default {
450
456
  gap: 5px;
451
457
  flex-shrink: 0; /* 防止按钮被压缩 */
452
458
  }
459
+ .super-icon + .super-icon {
460
+ margin-left: 5px;
461
+ }
453
462
  </style>
@@ -16,7 +16,11 @@
16
16
  :span="6"
17
17
  style="margin-bottom: 5px"
18
18
  >
19
- <el-form-item :prop="searchableColumns[fieldNum * (r - 1) + (n - 1)].prop" style="margin-left: 10px">
19
+ <el-form-item
20
+ :prop="searchableColumns[fieldNum * (r - 1) + (n - 1)].prop"
21
+ style="margin-left: 10px"
22
+ label-width="100px"
23
+ >
20
24
  <template v-slot:label>
21
25
  <span
22
26
  v-if="
@@ -95,7 +99,7 @@
95
99
  :placeholder="$t('imatrixUIMessage.pleaseSelect')"
96
100
  :style="searchableColumns[fieldNum * (r - 1) + (n - 1)].searchControlWidth"
97
101
  clearable
98
- @input="setValueToModelProp(searchableColumns[fieldNum * (r - 1) + (n - 1)].prop, $event)"
102
+ @change="setValueToModelProp(searchableColumns[fieldNum * (r - 1) + (n - 1)].prop, $event)"
99
103
  >
100
104
  <el-option
101
105
  v-for="item in searchableColumns[fieldNum * (r - 1) + (n - 1)].valueSet"