agilebuilder-ui 1.1.37 → 1.1.38-sit1

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.
Files changed (36) hide show
  1. package/lib/{401-9314ce87.js → 401-00dc5c6a.js} +1 -1
  2. package/lib/{404-572d631d.js → 404-da4b5e44.js} +1 -1
  3. package/lib/{iframe-page-87c9c0d0.js → iframe-page-9211c46a.js} +1 -1
  4. package/lib/{index-79b98485.js → index-398aaf91.js} +8956 -8827
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +76 -73
  8. package/lib/{tab-content-iframe-index-070ce653.js → tab-content-iframe-index-2a5e10d0.js} +1 -1
  9. package/lib/{tab-content-index-3b98efb4.js → tab-content-index-b4e908df.js} +22 -22
  10. package/lib/{tache-subprocess-history-46442012.js → tache-subprocess-history-b4622487.js} +1 -1
  11. package/package.json +1 -1
  12. package/packages/fs-upload-new/src/fs-button-upload.vue +12 -0
  13. package/packages/fs-upload-new/src/fs-drag-upload.vue +12 -0
  14. package/packages/fs-upload-new/src/fs-preview-new.vue +25 -5
  15. package/packages/fs-upload-new/src/fs-upload-new.vue +20 -0
  16. package/packages/super-grid/src/apis.js +4 -0
  17. package/packages/super-grid/src/components/grid-radio-input.vue +104 -0
  18. package/packages/super-grid/src/dynamic-input.vue +48 -25
  19. package/packages/super-grid/src/formValidatorUtil.js +7 -2
  20. package/packages/super-grid/src/normal-column-content.vue +9 -1
  21. package/packages/super-grid/src/row-operation.vue +13 -9
  22. package/packages/super-grid/src/search-form-item.vue +461 -461
  23. package/packages/super-grid/src/super-grid.vue +22 -3
  24. package/packages/super-grid/src/utils.js +16 -2
  25. package/packages/utils/value-set.js +25 -33
  26. package/src/api/sso-service.js +2 -1
  27. package/src/permission.js +2 -1
  28. package/src/store/modules/user.js +4 -1
  29. package/src/utils/common-util.js +1 -0
  30. package/src/utils/permissionAuth.js +7 -5
  31. package/src/utils/util.js +16 -0
  32. package/src/views/dsc-component/Sidebar/Item.vue +15 -4
  33. package/src/views/dsc-component/Sidebar/SidebarItem.vue +10 -2
  34. package/src/views/layout/components/Menubar/Item.vue +14 -3
  35. package/src/views/layout/components/Menubar/SidebarItem.vue +9 -1
  36. package/vite.config.js +1 -2
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <!--将@click改为@mousedown.native是因为操作列保存按钮时事件和input等组件的@blur冲突,导致保存需要保存两次,因为
3
3
  @blur先于@click执行的,所以只会执行@blur,@click就失效了,@mousedown是先于@blur执行的-->
4
- <span :style="myStyle">
4
+ <span class="table-operation-row-btn" :style="myStyle">
5
5
  <template v-if="isShowButton()">
6
6
  <el-tooltip :disabled="tooltipDisabled" :content="label" placement="top">
7
- <template v-if="operationSettingData.permission">
7
+ <template v-if="operationSettingData?.permission">
8
8
  <component
9
9
  v-bind="operationSettingData"
10
10
  :is="isElementType"
@@ -77,9 +77,13 @@ export default {
77
77
  type: String,
78
78
  default: null,
79
79
  },
80
+ operation: {
81
+ type: Object,
82
+ default: () => ({}),
83
+ },
80
84
  operationSetting: {
81
85
  type: Object,
82
- default: null,
86
+ default: () => ({}),
83
87
  },
84
88
  operationIndex: {
85
89
  type: Number,
@@ -148,16 +152,16 @@ export default {
148
152
  },
149
153
  // 后置图标
150
154
  suffixIcon() {
151
- if(['right'].includes(this.operationSettingData.iconPosition)) return this.operationSetting.iconValue
155
+ if(['right'].includes(this.operationSetting.iconPosition)) return this.operationSetting.iconValue
152
156
  return undefined
153
157
  },
154
158
  // 是否显示文字按钮 > 图标模式
155
159
  isTextIcon() {
156
160
  if (this.isTableBtnLinkShow) {
157
- if (this.operationSettingData.isTextIcon === undefined) {
161
+ if (this.operationSetting.isTextIcon === undefined) {
158
162
  return this.isSaveRow || this.isDeleteRow || this.isEditRow || this.isRestoreRow
159
163
  }
160
- return this.operationSettingData.isTextIcon
164
+ return this.operationSetting.isTextIcon
161
165
  } else {
162
166
  return false
163
167
  }
@@ -172,14 +176,14 @@ export default {
172
176
  },
173
177
  // 是否自动开启表格 按钮 转 文字按钮
174
178
  isTableBtnLinkShow() {
175
- if (this.operationSetting.text) return true
179
+ if (this.operationSetting?.text) return true
176
180
  if (this.isTableBtnLink && this.elementType === 'el-button') {
177
- return [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every(v => v === undefined)
181
+ return [this.operationSetting?.text, this.operationSetting?.plain, this.operationSetting?.round].every(v => v === undefined)
178
182
  }
179
183
  return false
180
184
  },
181
185
  operationSettingData() {
182
- const dataList = { ...this.operationSetting }
186
+ const dataList = { ...(this.operationSetting ?? {}) }
183
187
  if (this.isTableBtnLinkShow) {
184
188
  dataList.underline = false
185
189
  delete dataList.text