agilebuilder-ui 1.1.38-sit1 → 1.1.38-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-398aaf91.js";
2
+ import { _ as s } from "./index-f5b5c746.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-398aaf91.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-f5b5c746.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-398aaf91.js";
2
+ import { _ as I } from "./index-f5b5c746.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.38-sit1",
3
+ "version": "1.1.38-sit2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -1,14 +1,14 @@
1
1
  <template>
2
2
  <div v-if="label">
3
- <div class="list-file" @dblclick="dblclickEvent">
3
+ <div ref="filePreviewRef" @dblclick="dblclickEvent" style="display: flex; align-items: center; gap: 5px">
4
4
  <el-icon><el-icon-paperclip /></el-icon>
5
5
  {{ label }}
6
- <el-tooltip :content="$t('imatrixUIPublicModel.preview')">
6
+ <el-tooltip v-if="!disabled || fileSetObj.absolutePreview" :content="$t('imatrixUIPublicModel.preview')">
7
7
  <el-icon style="cursor: pointer; color: #409eff; padding-right: 5px" @click="previewMuti()"
8
8
  ><el-icon-view
9
9
  /></el-icon>
10
10
  </el-tooltip>
11
- <el-tooltip :content="$t('imatrixUIPublicModel.download')">
11
+ <el-tooltip v-if="!disabled || fileSetObj.absoluteDownloadable" :content="$t('imatrixUIPublicModel.download')">
12
12
  <el-icon style="cursor: pointer; color: #409eff" @click="donwloadViewFile()">
13
13
  <el-icon-download />
14
14
  </el-icon>
@@ -111,6 +111,10 @@ export default {
111
111
  default: () => {
112
112
  return {}
113
113
  }
114
+ },
115
+ disabled: {
116
+ type: Boolean,
117
+ default: false
114
118
  }
115
119
  },
116
120
  data() {
@@ -171,6 +175,7 @@ export default {
171
175
  },
172
176
  previewMuti() {
173
177
  const { showName, serverPath } = this.getShowNameAndUuidKey()
178
+ debugger
174
179
  if (serverPath) {
175
180
  const uuids = serverPath.split(',')
176
181
  if (uuids.length > 1) {
@@ -141,7 +141,14 @@
141
141
  />
142
142
  </template>
143
143
  <template v-else>
144
- <fs-preview :entity="row" :file-set-obj="fileSetObj" :is-sql="isSql" :label="value" />
144
+ <fs-preview
145
+ :entity="row"
146
+ :disabled="disabled"
147
+ :fileInfo="fileInfo"
148
+ :file-set-obj="fileSetObj"
149
+ :is-sql="isSql"
150
+ :label="value"
151
+ />
145
152
  </template>
146
153
  </span>
147
154
  </template>
@@ -223,6 +223,7 @@ import searchMethods from './search-methods'
223
223
  import searchFormNumber from './search-form-number.vue'
224
224
  import store from './store'
225
225
  import { getDynamicDataSourceOptions, isDynamicDataSourceSource, getControlConfig } from './utils'
226
+ import { type } from 'os'
226
227
 
227
228
  export default {
228
229
  name: 'SearchFormItem',
@@ -478,8 +479,7 @@ export default {
478
479
  },
479
480
  multiselectChange(arr, selectedItem) {
480
481
  if (arr.indexOf('saveAll') !== -1) {
481
- if (this.searchForm[this.column.prop]) {
482
- const options = this.getDynamicDataSourceOptions(this.column)
482
+ if (this.searchForm[this.column.prop] && typeof this.searchForm[this.column.prop] === 'string') {
483
483
  this.searchForm[this.column.prop] = this.searchForm[this.column.prop].split(',')
484
484
  } else {
485
485
  this.searchForm[this.column.prop] = []