agilebuilder-ui 1.1.35 → 1.1.36-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 (72) hide show
  1. package/lib/{401-20f1c97c.js → 401-e367a09a.js} +1 -1
  2. package/lib/{404-36d09e24.js → 404-45104bc5.js} +1 -1
  3. package/lib/{iframe-page-51c292dc.js → iframe-page-8a758d4d.js} +1 -1
  4. package/lib/{index-19f46200.js → index-8c6ab0ba.js} +2054 -1966
  5. package/lib/super-ui.css +1 -1
  6. package/lib/super-ui.js +1 -1
  7. package/lib/super-ui.umd.cjs +100 -100
  8. package/lib/{tab-content-iframe-index-5d9d85c0.js → tab-content-iframe-index-16f7cb65.js} +1 -1
  9. package/lib/{tab-content-index-bd535c86.js → tab-content-index-f136be89.js} +1 -1
  10. package/lib/{tache-subprocess-history-56bf69ba.js → tache-subprocess-history-4f9a7773.js} +1 -1
  11. package/package.json +1 -1
  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 +111 -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 +25 -51
  27. package/packages/department-user-tree-inline/src/group-user/group-list.vue +97 -90
  28. package/packages/department-user-tree-inline/src/group-user/group-user.vue +28 -32
  29. package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +103 -75
  30. package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +282 -224
  31. package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +58 -51
  32. package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
  33. package/packages/organization-input/src/organization-input.vue +34 -12
  34. package/packages/super-grid/src/apis.js +21 -4
  35. package/packages/super-grid/src/dynamic-input.vue +1 -12
  36. package/packages/super-grid/src/formatter.js +4 -3
  37. package/packages/super-grid/src/normal-column-content.vue +25 -1
  38. package/packages/super-grid/src/row-operation.vue +23 -13
  39. package/packages/super-grid/src/search-form-open.vue +0 -1
  40. package/packages/super-grid/src/super-grid-service.js +1 -1
  41. package/packages/super-grid/src/super-grid.vue +51 -42
  42. package/packages/super-grid/src/utils.js +19 -6
  43. package/packages/super-icon/src/index.vue +11 -2
  44. package/packages/utils/value-set.js +147 -1
  45. package/packages/workgroup-tree/src/workgroup-tree.vue +117 -110
  46. package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +6 -1
  47. package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +103 -75
  48. package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +229 -208
  49. package/src/api/sso-service.js +6 -5
  50. package/src/store/modules/table.js +0 -1
  51. package/src/styles/theme/black/font-style.scss +2 -0
  52. package/src/styles/theme/blue/font-style.scss +2 -0
  53. package/src/styles/theme/blue2/font-style.scss +2 -0
  54. package/src/styles/theme/dark-blue/font.scss +2 -0
  55. package/src/styles/theme/dark-blue/sidebar.scss +8 -0
  56. package/src/styles/theme/gray/font-style.scss +2 -0
  57. package/src/styles/theme/green/font.scss +3 -1
  58. package/src/styles/theme/green/sidebar.scss +9 -0
  59. package/src/styles/theme/ocean-blue/font.scss +3 -1
  60. package/src/styles/theme/ocean-blue/sidebar.scss +8 -0
  61. package/src/styles/theme/tiffany-blue-mobile/font.scss +2 -0
  62. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +8 -0
  63. package/src/utils/file-util.ts +32 -0
  64. package/src/utils/insert_css.js +1 -1
  65. package/src/utils/util.js +721 -715
  66. package/src/views/dsc-component/Sidebar/Item.vue +7 -2
  67. package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
  68. package/src/views/dsc-component/Sidebar/index.vue +36 -18
  69. package/src/views/layout/components/Menubar/Item.vue +0 -9
  70. package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
  71. package/src/views/layout/components/Sidebar/Item.vue +4 -1
  72. package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
@@ -5,6 +5,8 @@
5
5
  color: rgba(0, 13, 31, 0.45);
6
6
  font-size: 14px;
7
7
  cursor: pointer;
8
+ display: flex;
9
+ align-items: center
8
10
  }
9
11
 
10
12
  .form-list-file {
@@ -68,4 +70,4 @@
68
70
  height: 16px;
69
71
 
70
72
  }
71
- }
73
+ }
@@ -223,6 +223,15 @@
223
223
  }
224
224
  }
225
225
 
226
+ .sidebar-container-popper .el-menu{
227
+ // height: 100vh;
228
+ height: auto;
229
+ max-height: 100vh;
230
+ overflow-y: auto;
231
+ overflow-x: hidden;
232
+ scroll-behavior: smooth;
233
+ }
234
+
226
235
  .sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
227
236
  background: #F7F7F8;
228
237
  color: rgba(0, 13, 31, 0.85);
@@ -5,6 +5,8 @@
5
5
  color: rgba(0, 13, 31, 0.45);
6
6
  font-size: 14px;
7
7
  cursor: pointer;
8
+ display: flex;
9
+ align-items: center
8
10
  }
9
11
 
10
12
  .form-list-file {
@@ -68,4 +70,4 @@
68
70
  height: 16px;
69
71
 
70
72
  }
71
- }
73
+ }
@@ -217,6 +217,14 @@
217
217
  }
218
218
  }
219
219
 
220
+ .sidebar-container-popper .el-menu{
221
+ // height: 100vh;
222
+ height: auto;
223
+ max-height: 100vh;
224
+ overflow-y: auto;
225
+ overflow-x: hidden;
226
+ scroll-behavior: smooth;
227
+ }
220
228
  .sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
221
229
  background: #F7F7F8;
222
230
  color: rgba(0, 13, 31, 0.85);
@@ -5,6 +5,8 @@
5
5
  color: rgba(0, 13, 31, 0.45);
6
6
  font-size: 0.9rem;
7
7
  cursor: pointer;
8
+ display: flex;
9
+ align-items: center
8
10
  }
9
11
 
10
12
  .form-list-file {
@@ -219,6 +219,14 @@
219
219
  }
220
220
  }
221
221
 
222
+ .sidebar-container-popper .el-menu{
223
+ // height: 100vh;
224
+ height: auto;
225
+ max-height: 100vh;
226
+ overflow-y: auto;
227
+ overflow-x: hidden;
228
+ scroll-behavior: smooth;
229
+ }
222
230
  .sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
223
231
  background: #F7F7F8;
224
232
  color: rgba(0, 13, 31, 0.85);
@@ -0,0 +1,32 @@
1
+ // ...所有支持的icon
2
+ const iconList = [
3
+ 'amb-color-icon-XLS',
4
+ 'amb-color-icon-XLSX',
5
+ 'amb-color-icon-DOC',
6
+ 'amb-color-icon-DOCX',
7
+ 'amb-color-icon-PDF',
8
+ 'amb-color-icon-TXT',
9
+ 'amb-color-icon-JPG',
10
+ 'amb-color-icon-PNG',
11
+ 'amb-color-icon-ZIP',
12
+ 'amb-color-icon-unknown'
13
+ ]
14
+ // 列表_5215278368.xls
15
+ export function getFileIconByName(fileName: string): string {
16
+ if (!fileName) {
17
+ return 'amb-color-icon-unknown'
18
+ }
19
+ let fileType = fileName.substring(fileName.lastIndexOf('.') + 1) // 获取文件名
20
+ if (!fileType) {
21
+ return 'amb-color-icon-unknown'
22
+ }
23
+ switch (fileType) {
24
+ case 'xlsx':
25
+ fileType = 'XLS'
26
+ break
27
+ case 'docx':
28
+ fileType = 'DOC'
29
+ break
30
+ }
31
+ return 'amb-color-icon-' + fileType.toUpperCase()
32
+ }
@@ -18,7 +18,7 @@ if (!window.insertCssFile) {
18
18
  const timestamp = new Date().getTime();
19
19
  const link = document.createElement('link');
20
20
  link.rel = 'stylesheet';
21
- link.href = cssUrl + `?_v=${timestamp}`;
21
+ link.href = cssUrl;
22
22
  link.onload = function () {
23
23
  window.insertedCssFiles.add(cssUrl);
24
24
  };