agilebuilder-ui 1.1.36-sit5 → 1.1.36-tmp2

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 (68) hide show
  1. package/lib/{401-dff6f99e.js → 401-6ea3c6c5.js} +1 -1
  2. package/lib/{404-1062cf9d.js → 404-3e2646fe.js} +1 -1
  3. package/lib/{iframe-page-e229c419.js → iframe-page-90bd67da.js} +1 -1
  4. package/lib/{index-09cd1ad3.js → index-4d1f30e6.js} +12677 -12739
  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-0c3b2101.js → tab-content-iframe-index-d5e6b5b7.js} +1 -1
  9. package/lib/{tab-content-index-dcdefb56.js → tab-content-index-cb415040.js} +1 -1
  10. package/lib/{tache-subprocess-history-06b435b8.js → tache-subprocess-history-24a665c5.js} +1 -1
  11. package/package.json +1 -1
  12. package/packages/department-tree/src/department-tree.vue +123 -130
  13. package/packages/department-tree-inline/src/department-multi-tree-inline.vue +466 -435
  14. package/packages/department-tree-inline/src/department-single-tree-inline.vue +342 -335
  15. package/packages/department-tree-inline/src/department-tree-inline.vue +11 -18
  16. package/packages/department-tree-inline/src/department-tree-service.js +11 -10
  17. package/packages/department-tree-mobile/src/department-tree-app.vue +75 -103
  18. package/packages/department-tree-mobile/src/department-tree-inline-app.vue +225 -256
  19. package/packages/department-tree-mobile/src/department-tree-service.ts +75 -98
  20. package/packages/department-user-tree/src/department-user-multiple-tree.vue +115 -112
  21. package/packages/department-user-tree/src/department-user-single-tree.vue +88 -85
  22. package/packages/department-user-tree/src/department-user-tree.vue +119 -127
  23. package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +1 -6
  24. package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -5
  25. package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +11 -18
  26. package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +51 -26
  27. package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +45 -25
  28. package/packages/department-user-tree-inline/src/group-user/group-list.vue +90 -97
  29. package/packages/department-user-tree-inline/src/group-user/group-user.vue +32 -28
  30. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +75 -103
  31. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +224 -282
  32. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +51 -58
  33. package/packages/fs-preview/src/fs-preview.vue +2 -20
  34. package/packages/fs-upload-list/src/fs-upload-list.vue +7 -30
  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 +15 -27
  37. package/packages/index.js +5 -4
  38. package/packages/organization-input/src/organization-input.vue +12 -34
  39. package/packages/super-grid/src/apis.js +4 -21
  40. package/packages/super-grid/src/dynamic-input.vue +13 -58
  41. package/packages/super-grid/src/normal-column-content.vue +1 -2
  42. package/packages/super-grid/src/row-operation.vue +13 -23
  43. package/packages/super-grid/src/super-grid.vue +42 -51
  44. package/packages/super-grid/src/utils.js +8 -13
  45. package/packages/super-icon/src/index.vue +1 -4
  46. package/packages/workgroup-tree/src/workgroup-tree.vue +110 -117
  47. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +1 -6
  48. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +75 -103
  49. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +208 -229
  50. package/src/api/sso-service.js +5 -6
  51. package/src/directives/permission/index.js +5 -4
  52. package/src/directives/permission/permission.js +1 -0
  53. package/src/index.js +5 -70
  54. package/src/store/modules/table.js +1 -0
  55. package/src/styles/theme/dark-blue/sidebar.scss +0 -9
  56. package/src/styles/theme/gray/sidebar.scss +8 -9
  57. package/src/styles/theme/green/sidebar.scss +0 -10
  58. package/src/styles/theme/ocean-blue/sidebar.scss +0 -9
  59. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +0 -9
  60. package/src/utils/insert_css.js +1 -1
  61. package/src/utils/util.js +0 -19
  62. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
  63. package/src/views/dsc-component/Sidebar/index.vue +18 -36
  64. package/src/views/layout/components/Menubar/Item.vue +9 -0
  65. package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
  66. package/src/views/layout/components/Sidebar/Item.vue +1 -4
  67. package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
  68. 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-09cd1ad3.js";
2
+ import { _ as s } from "./index-4d1f30e6.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-09cd1ad3.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-4d1f30e6.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-09cd1ad3.js";
2
+ import { _ as I } from "./index-4d1f30e6.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.36-sit5",
3
+ "version": "1.1.36-tmp2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -1,140 +1,133 @@
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
- :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>
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>
53
51
  </template>
54
52
 
55
53
  <script>
56
- import { $emit } from '../../utils/gogocodeTransfer'
54
+ import {$emit} from '../../utils/gogocodeTransfer'
57
55
  import InlineDepartmentTree from '../../department-tree-inline/src/department-tree-inline.vue'
58
56
  import DepartmentMobileTree from '../../department-tree-mobile/src/department-tree-app.vue'
59
- import { isMobileBrowser } from '../../../src/utils/common-util'
57
+ import {isMobileBrowser} from '../../../src/utils/common-util'
60
58
 
61
59
  export default {
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']
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'],
139
132
  }
140
133
  </script>