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.
- package/lib/{401-20f1c97c.js → 401-e367a09a.js} +1 -1
- package/lib/{404-36d09e24.js → 404-45104bc5.js} +1 -1
- package/lib/{iframe-page-51c292dc.js → iframe-page-8a758d4d.js} +1 -1
- package/lib/{index-19f46200.js → index-8c6ab0ba.js} +2054 -1966
- package/lib/super-ui.css +1 -1
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +100 -100
- package/lib/{tab-content-iframe-index-5d9d85c0.js → tab-content-iframe-index-16f7cb65.js} +1 -1
- package/lib/{tab-content-index-bd535c86.js → tab-content-index-f136be89.js} +1 -1
- package/lib/{tache-subprocess-history-56bf69ba.js → tache-subprocess-history-4f9a7773.js} +1 -1
- package/package.json +1 -1
- package/packages/department-tree/src/department-tree.vue +130 -123
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +435 -466
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +335 -342
- package/packages/department-tree-inline/src/department-tree-inline.vue +18 -11
- package/packages/department-tree-inline/src/department-tree-service.js +10 -11
- package/packages/department-tree-mobile/src/department-tree-app.vue +103 -75
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +256 -225
- package/packages/department-tree-mobile/src/department-tree-service.ts +98 -75
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +111 -115
- package/packages/department-user-tree/src/department-user-single-tree.vue +85 -88
- package/packages/department-user-tree/src/department-user-tree.vue +127 -119
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +6 -1
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +5 -0
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +18 -11
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +25 -51
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +97 -90
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +28 -32
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +103 -75
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +282 -224
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +58 -51
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +1 -1
- package/packages/organization-input/src/organization-input.vue +34 -12
- package/packages/super-grid/src/apis.js +21 -4
- package/packages/super-grid/src/dynamic-input.vue +1 -12
- package/packages/super-grid/src/formatter.js +4 -3
- package/packages/super-grid/src/normal-column-content.vue +25 -1
- package/packages/super-grid/src/row-operation.vue +23 -13
- package/packages/super-grid/src/search-form-open.vue +0 -1
- package/packages/super-grid/src/super-grid-service.js +1 -1
- package/packages/super-grid/src/super-grid.vue +51 -42
- package/packages/super-grid/src/utils.js +19 -6
- package/packages/super-icon/src/index.vue +11 -2
- package/packages/utils/value-set.js +147 -1
- package/packages/workgroup-tree/src/workgroup-tree.vue +117 -110
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +6 -1
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +103 -75
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +229 -208
- package/src/api/sso-service.js +6 -5
- package/src/store/modules/table.js +0 -1
- package/src/styles/theme/black/font-style.scss +2 -0
- package/src/styles/theme/blue/font-style.scss +2 -0
- package/src/styles/theme/blue2/font-style.scss +2 -0
- package/src/styles/theme/dark-blue/font.scss +2 -0
- package/src/styles/theme/dark-blue/sidebar.scss +8 -0
- package/src/styles/theme/gray/font-style.scss +2 -0
- package/src/styles/theme/green/font.scss +3 -1
- package/src/styles/theme/green/sidebar.scss +9 -0
- package/src/styles/theme/ocean-blue/font.scss +3 -1
- package/src/styles/theme/ocean-blue/sidebar.scss +8 -0
- package/src/styles/theme/tiffany-blue-mobile/font.scss +2 -0
- package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +8 -0
- package/src/utils/file-util.ts +32 -0
- package/src/utils/insert_css.js +1 -1
- package/src/utils/util.js +721 -715
- package/src/views/dsc-component/Sidebar/Item.vue +7 -2
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +2 -2
- package/src/views/dsc-component/Sidebar/index.vue +36 -18
- package/src/views/layout/components/Menubar/Item.vue +0 -9
- package/src/views/layout/components/Menubar/SidebarItem.vue +2 -2
- package/src/views/layout/components/Sidebar/Item.vue +4 -1
- package/src/views/layout/components/Sidebar/SidebarItem.vue +2 -2
|
@@ -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);
|
|
@@ -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);
|
|
@@ -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
|
+
}
|
package/src/utils/insert_css.js
CHANGED
|
@@ -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
|
|
21
|
+
link.href = cssUrl;
|
|
22
22
|
link.onload = function () {
|
|
23
23
|
window.insertedCssFiles.add(cssUrl);
|
|
24
24
|
};
|