agilebuilder-ui 1.1.36-tmp4 → 1.1.37

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 (67) hide show
  1. package/lib/{401-c55bdcf2.js → 401-9314ce87.js} +1 -1
  2. package/lib/{404-c1dbd5e1.js → 404-572d631d.js} +1 -1
  3. package/lib/{iframe-page-917912ae.js → iframe-page-87c9c0d0.js} +1 -1
  4. package/lib/{index-6ec53ef7.js → index-79b98485.js} +12729 -12671
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +99 -99
  8. package/lib/{tab-content-iframe-index-46a76242.js → tab-content-iframe-index-070ce653.js} +1 -1
  9. package/lib/{tab-content-index-132379e6.js → tab-content-index-3b98efb4.js} +1 -1
  10. package/lib/{tache-subprocess-history-384455d6.js → tache-subprocess-history-46442012.js} +1 -1
  11. package/package.json +2 -2
  12. package/packages/department-tree/src/department-tree.vue +130 -123
  13. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +435 -466
  14. package/packages/department-tree-inline/src/department-single-tree-inline.vue +335 -342
  15. package/packages/department-tree-inline/src/department-tree-inline.vue +18 -11
  16. package/packages/department-tree-inline/src/department-tree-service.js +10 -11
  17. package/packages/department-tree-mobile/src/department-tree-app.vue +103 -75
  18. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +256 -225
  19. package/packages/department-tree-mobile/src/department-tree-service.ts +98 -75
  20. package/packages/department-user-tree/src/department-user-multiple-tree.vue +112 -115
  21. package/packages/department-user-tree/src/department-user-single-tree.vue +85 -88
  22. package/packages/department-user-tree/src/department-user-tree.vue +127 -119
  23. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +6 -1
  24. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +5 -0
  25. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +18 -11
  26. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +26 -51
  27. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +25 -45
  28. package/packages/department-user-tree-inline/src/group-user/group-list.vue +97 -90
  29. package/packages/department-user-tree-inline/src/group-user/group-user.vue +28 -32
  30. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +103 -75
  31. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +282 -224
  32. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +58 -51
  33. package/packages/fs-preview/src/fs-preview.vue +20 -2
  34. package/packages/fs-upload-list/src/fs-upload-list.vue +30 -7
  35. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
  36. package/packages/fs-upload-new/src/fs-preview-new.vue +27 -15
  37. package/packages/index.js +4 -4
  38. package/packages/organization-input/src/organization-input.vue +34 -12
  39. package/packages/super-grid/src/apis.js +21 -4
  40. package/packages/super-grid/src/dynamic-input.vue +58 -13
  41. package/packages/super-grid/src/normal-column-content.vue +1 -1
  42. package/packages/super-grid/src/row-operation.vue +10 -4
  43. package/packages/super-grid/src/super-grid.vue +51 -42
  44. package/packages/super-grid/src/utils.js +13 -8
  45. package/packages/super-icon/src/index.vue +4 -1
  46. package/packages/workgroup-tree/src/workgroup-tree.vue +117 -110
  47. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +6 -1
  48. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +103 -75
  49. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +229 -208
  50. package/src/api/sso-service.js +6 -5
  51. package/src/directives/permission/index.js +4 -4
  52. package/src/index.js +71 -2
  53. package/src/store/modules/table.js +0 -1
  54. package/src/styles/theme/dark-blue/sidebar.scss +9 -0
  55. package/src/styles/theme/gray/sidebar.scss +9 -8
  56. package/src/styles/theme/green/sidebar.scss +10 -0
  57. package/src/styles/theme/ocean-blue/sidebar.scss +9 -0
  58. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +9 -0
  59. package/src/utils/insert_css.js +1 -1
  60. package/src/utils/util.js +19 -0
  61. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
  62. package/src/views/dsc-component/Sidebar/index.vue +36 -18
  63. package/src/views/layout/components/Menubar/Item.vue +0 -9
  64. package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
  65. package/src/views/layout/components/Sidebar/Item.vue +4 -1
  66. package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
  67. package/vite.config.js +1 -1
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-6ec53ef7.js";
2
+ import { _ as s } from "./index-79b98485.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-6ec53ef7.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-79b98485.js";
2
2
  import { resolveComponent as u, openBlock as d, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, 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-6ec53ef7.js";
2
+ import { _ as I } from "./index-79b98485.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,9 +1,9 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.36-tmp4",
3
+ "version": "1.1.37",
4
4
  "type": "module",
5
5
  "private": false,
6
- "main": "./packages/index.js",
6
+ "main": "./lib/super-ui.js",
7
7
  "scripts": {
8
8
  "lib": "vite build --mode production",
9
9
  "lib:dev": "vite build --mode development",
@@ -1,133 +1,140 @@
1
1
  <template>
2
- <div>
3
- <DepartmentMobileTree
4
- v-if="isMobile"
5
- ref="inlineDeparmentTree"
6
- :close-on-click-modal="false"
7
- :close-on-press-escape="false"
8
- :department-info="departmentInfo"
9
- :multiple="multiple"
10
- :search-field="searchField"
11
- :select-department-info="selectDepartmentInfo"
12
- :separator="separator"
13
- @close="result"
14
- />
15
- <el-dialog
16
- v-else
17
- :close-on-click-modal="false"
18
- :title="myTitle"
19
- :width="multiple ? '920px' : '509px'"
20
- append-to-body
21
- class="user-tree"
22
- model-value
23
- @close="$emit('close')"
24
- @closed="$emit('closed')"
25
- @open="$emit('open')"
26
- @opend="$emit('opend')"
27
- >
28
- <inline-department-tree
29
- ref="inlineDeparmentTree"
30
- :check-strictly="checkStrictly"
31
- :department-info="departmentInfo"
32
- :height="height"
33
- :multiple="multiple"
34
- :search-field="searchField"
35
- :select-department-info="selectDepartmentInfo"
36
- :separator="separator"
37
- @result="result"
38
- />
39
- <template v-slot:footer>
40
- <div class="dialog-footer">
41
- <el-button class="button--default" size="default" @click="$emit('close')">
42
- {{ $t('imatrixUIPublicModel.cancel') }}
43
- </el-button>
44
- <el-button size="default" type="primary" @click="selectDepartment">
45
- {{ $t('imatrixUIPublicModel.sure') }}
46
- </el-button>
47
- </div>
48
- </template>
49
- </el-dialog>
50
- </div>
2
+ <div>
3
+ <DepartmentMobileTree
4
+ v-if="isMobile"
5
+ ref="inlineDeparmentTree"
6
+ :close-on-click-modal="false"
7
+ :close-on-press-escape="false"
8
+ :department-info="departmentInfo"
9
+ :multiple="multiple"
10
+ :search-field="searchField"
11
+ :select-department-info="selectDepartmentInfo"
12
+ :separator="separator"
13
+ :limit-filter-column="limitFilterColumn"
14
+ @close="result"
15
+ />
16
+ <el-dialog
17
+ v-else
18
+ :close-on-click-modal="false"
19
+ :title="myTitle"
20
+ :width="multiple ? '920px' : '509px'"
21
+ append-to-body
22
+ class="user-tree"
23
+ model-value
24
+ @close="$emit('close')"
25
+ @closed="$emit('closed')"
26
+ @open="$emit('open')"
27
+ @opend="$emit('opend')"
28
+ >
29
+ <inline-department-tree
30
+ ref="inlineDeparmentTree"
31
+ :check-strictly="checkStrictly"
32
+ :department-info="departmentInfo"
33
+ :height="height"
34
+ :multiple="multiple"
35
+ :search-field="searchField"
36
+ :select-department-info="selectDepartmentInfo"
37
+ :separator="separator"
38
+ :limit-filter-column="limitFilterColumn"
39
+ @result="result"
40
+ />
41
+ <template v-slot:footer>
42
+ <div class="dialog-footer">
43
+ <el-button class="button--default" size="default" @click="$emit('close')">
44
+ {{ $t('imatrixUIPublicModel.cancel') }}
45
+ </el-button>
46
+ <el-button size="default" type="primary" @click="selectDepartment">
47
+ {{ $t('imatrixUIPublicModel.sure') }}
48
+ </el-button>
49
+ </div>
50
+ </template>
51
+ </el-dialog>
52
+ </div>
51
53
  </template>
52
54
 
53
55
  <script>
54
- import {$emit} from '../../utils/gogocodeTransfer'
56
+ import { $emit } from '../../utils/gogocodeTransfer'
55
57
  import InlineDepartmentTree from '../../department-tree-inline/src/department-tree-inline.vue'
56
58
  import DepartmentMobileTree from '../../department-tree-mobile/src/department-tree-app.vue'
57
- import {isMobileBrowser} from '../../../src/utils/common-util'
59
+ import { isMobileBrowser } from '../../../src/utils/common-util'
58
60
 
59
61
  export default {
60
- name: 'DepartmentTree',
61
- components: {
62
- InlineDepartmentTree,
63
- DepartmentMobileTree
64
- },
65
- props: {
66
- // 是否是多选树,默认是true
67
- multiple: {
68
- type: Boolean,
69
- default: true,
70
- },
71
- checkStrictly: {
72
- type: Boolean,
73
- default: false,
74
- },
75
- // 显示指定部门节点及其子节点,不传该属性,表示显示整个组织结构树
76
- departmentInfo: {
77
- type: Array,
78
- default: null,
79
- },
80
- // 弹框的标题
81
- title: {
82
- type: String,
83
- default: null,
84
- },
85
- // 弹框的宽度
86
- width: {
87
- type: String,
88
- default: '30%',
89
- },
90
- // 弹框的高度
91
- height: {
92
- type: String,
93
- default: '300px',
94
- },
95
- // 多选部门树时,已选择部门id或部门名称或编码集合,多个之间以逗号隔开
96
- selectDepartmentInfo: {
97
- type: [String, Number],
98
- default: null,
99
- },
100
- // 移除部门时,部门属性名称:id、name、code,默认是id
101
- searchField: {
102
- type: String,
103
- default: 'id',
104
- },
105
- // 多选树时结果之间的分隔符,默认是逗号分隔
106
- separator: {
107
- type: String,
108
- default: ',',
109
- },
110
- },
111
- data() {
112
- const isMobile = isMobileBrowser()
113
- console.log('部门树---isMobile=', isMobile)
114
- let myTitle = this.$t('imatrixUIMessage.pleaseSelectDepartment')
115
- if (this.title) {
116
- myTitle = this.title
117
- }
118
- return {
119
- myTitle,
120
- isMobile
121
- }
122
- },
123
- methods: {
124
- result(selectNodeInfo) {
125
- $emit(this, 'close', selectNodeInfo)
126
- },
127
- selectDepartment() {
128
- this.$refs.inlineDeparmentTree.selectDepartment()
129
- },
130
- },
131
- emits: ['open', 'opend', 'close', 'closed', 'opend', 'close', 'closed'],
62
+ name: 'DepartmentTree',
63
+ components: {
64
+ InlineDepartmentTree,
65
+ DepartmentMobileTree
66
+ },
67
+ props: {
68
+ // 是否是多选树,默认是true
69
+ multiple: {
70
+ type: Boolean,
71
+ default: true
72
+ },
73
+ checkStrictly: {
74
+ type: Boolean,
75
+ default: false
76
+ },
77
+ // 显示指定部门节点及其子节点,不传该属性,表示显示整个组织结构树
78
+ departmentInfo: {
79
+ type: Array,
80
+ default: null
81
+ },
82
+ // 弹框的标题
83
+ title: {
84
+ type: String,
85
+ default: null
86
+ },
87
+ // 弹框的宽度
88
+ width: {
89
+ type: String,
90
+ default: '30%'
91
+ },
92
+ // 弹框的高度
93
+ height: {
94
+ type: String,
95
+ default: '300px'
96
+ },
97
+ // 多选部门树时,已选择部门id或部门名称或编码集合,多个之间以逗号隔开
98
+ selectDepartmentInfo: {
99
+ type: [String, Number],
100
+ default: null
101
+ },
102
+ // 移除部门时,部门属性名称:id、name、code,默认是id
103
+ searchField: {
104
+ type: String,
105
+ default: 'id'
106
+ },
107
+ // 多选树时结果之间的分隔符,默认是逗号分隔
108
+ separator: {
109
+ type: String,
110
+ default: ','
111
+ },
112
+ // 根据变量限制部门时,根据部门表的哪个字段进行过滤,默认是code
113
+ limitFilterColumn: {
114
+ type: String,
115
+ default: 'code'
116
+ }
117
+ },
118
+ data() {
119
+ const isMobile = isMobileBrowser()
120
+ console.log('部门树---isMobile=', isMobile)
121
+ let myTitle = this.$t('imatrixUIMessage.pleaseSelectDepartment')
122
+ if (this.title) {
123
+ myTitle = this.title
124
+ }
125
+ return {
126
+ myTitle,
127
+ isMobile
128
+ }
129
+ },
130
+ methods: {
131
+ result(selectNodeInfo) {
132
+ $emit(this, 'close', selectNodeInfo)
133
+ },
134
+ selectDepartment() {
135
+ this.$refs.inlineDeparmentTree.selectDepartment()
136
+ }
137
+ },
138
+ emits: ['open', 'opend', 'close', 'closed', 'opend', 'close', 'closed']
132
139
  }
133
140
  </script>