agilebuilder-ui 1.1.36-tmp4 → 1.1.36
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-c55bdcf2.js → 401-b8934d65.js} +1 -1
- package/lib/{404-c1dbd5e1.js → 404-743a4631.js} +1 -1
- package/lib/{iframe-page-917912ae.js → iframe-page-5e102433.js} +1 -1
- package/lib/{index-6ec53ef7.js → index-a0c08bb5.js} +7752 -7774
- package/lib/super-ui.js +1 -1
- package/lib/super-ui.umd.cjs +72 -72
- package/lib/{tab-content-iframe-index-46a76242.js → tab-content-iframe-index-e9b465bf.js} +1 -1
- package/lib/{tab-content-index-132379e6.js → tab-content-index-313404d0.js} +1 -1
- package/lib/{tache-subprocess-history-384455d6.js → tache-subprocess-history-7d87cd77.js} +1 -1
- package/package.json +2 -2
- package/packages/index.js +4 -4
- package/src/directives/permission/index.js +4 -4
- package/src/index.js +71 -2
- 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-
|
|
2
|
+
import { _ as s } from "./index-a0c08bb5.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-
|
|
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-a0c08bb5.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-
|
|
2
|
+
import { _ as I } from "./index-a0c08bb5.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
|
|
3
|
+
"version": "1.1.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
|
-
"main": "./
|
|
6
|
+
"main": "./lib/super-ui.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lib": "vite build --mode production",
|
|
9
9
|
"lib:dev": "vite build --mode development",
|
package/packages/index.js
CHANGED
|
@@ -110,10 +110,10 @@ const install = function (Vue) {
|
|
|
110
110
|
if(Vue.config.globalProperties) Vue.config.globalProperties.$agilebuilderUIStore = store;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
//
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
// 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
|
|
114
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
115
|
+
install(window.Vue)
|
|
116
|
+
}
|
|
117
117
|
export {
|
|
118
118
|
Breadcrumb,
|
|
119
119
|
DepartmentTree,
|
|
@@ -4,10 +4,10 @@ const install = function (Vue) {
|
|
|
4
4
|
Vue.directive('permission', permission)
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
if (window.Vue) {
|
|
8
|
+
window['permission'] = permission
|
|
9
|
+
window.$vueApp.use(install) // eslint-disable-line
|
|
10
|
+
}
|
|
11
11
|
|
|
12
12
|
permission.install = install
|
|
13
13
|
export default permission
|
package/src/index.js
CHANGED
|
@@ -1,14 +1,51 @@
|
|
|
1
|
+
// 依次导入组件库的各个组件
|
|
2
|
+
// import Breadcrumb from '../packages/breadcrumb'
|
|
3
|
+
// import DepartmentTree from '../packages/department-tree'
|
|
4
|
+
// import Hamburger from '../packages/hamburger'
|
|
5
|
+
// import SvgIcon from '../packages/svg-icon'
|
|
6
|
+
// import SuperGrid from '../packages/super-grid'
|
|
7
|
+
// import DepartmentUserTree from '../packages/department-user-tree'
|
|
8
|
+
// import WorkgroupTree from '../packages/workgroup-tree'
|
|
9
|
+
// import WorkgroupUserTree from '../packages/workgroup-user-tree'
|
|
10
|
+
// import InlineDepartmentTree from '../packages/department-tree-inline'
|
|
11
|
+
// import InlineDepartmentUserTree from '../packages/department-user-tree-inline'
|
|
12
|
+
// import InlineWorkgroupTree from '../packages/workgroup-tree-inline'
|
|
13
|
+
// import InlineWorkgroupUserTree from '../packages/workgroup-user-tree-inline'
|
|
14
|
+
// import WorkflowButton from '../packages/workflow-button'
|
|
15
|
+
// import WorkflowHistoryList from '../packages/workflow-history-list'
|
|
1
16
|
import PreventReclick from '../packages/directives/prevent-reclick'
|
|
17
|
+
// import exportPlugin from '../packages/export-data/index'
|
|
18
|
+
// import ValidCode from '../packages/valid-code'
|
|
2
19
|
import customPlugin from '../packages/plugins/index'
|
|
20
|
+
// import RemoveUser from '../packages/remove-user'
|
|
21
|
+
// import RemoveDepartment from '../packages/remove-department'
|
|
22
|
+
// import RemoveWorkgroup from '../packages/remove-workgroup'
|
|
23
|
+
// import OrganizationInput from '../packages/organization-input'
|
|
24
|
+
// import SuperNineGrid from '../packages/super-nine-grid'
|
|
25
|
+
// import DynamicSourceSelect from '../packages/dynamic-source-select'
|
|
26
|
+
// import FsUpload from '../packages/fs-upload'
|
|
27
|
+
// import ScanCodeInput from '../packages/scan-code-input'
|
|
28
|
+
// import FsPreview from '../packages/fs-preview'
|
|
29
|
+
// import FsUploadList from '../packages/fs-upload-list'
|
|
3
30
|
import { openPage } from './utils/jump-page-utils'
|
|
31
|
+
// import YearRangePicker from '../packages/year-range-picker'
|
|
32
|
+
// import MultipartUpload from '../packages/multipart-upload'
|
|
33
|
+
// import RichEditor from '../packages/rich-editor'
|
|
34
|
+
// import SecretInfo from '../packages/secret-info'
|
|
35
|
+
import plugins from '../packages/plugins/index'
|
|
4
36
|
import permission from './directives/permission'
|
|
5
37
|
|
|
6
38
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
|
|
7
39
|
const install = function (Vue) {
|
|
8
|
-
|
|
40
|
+
window.$vueApp.directive('prevent-reclick', PreventReclick)
|
|
9
41
|
permission.install(Vue)
|
|
10
|
-
|
|
42
|
+
window.$vueApp.use(customPlugin)
|
|
43
|
+
window.$vueApp.use(plugins)
|
|
11
44
|
if (install.installed) return
|
|
45
|
+
// components.map(component => Vue.component(component.name, component))
|
|
46
|
+
// components.forEach(component => {
|
|
47
|
+
// Vue.component(component.name, component)
|
|
48
|
+
// })
|
|
12
49
|
// 将弹出页面方法注册到window对象上
|
|
13
50
|
window['$plateform_openPage'] = openPage
|
|
14
51
|
}
|
|
@@ -17,6 +54,38 @@ const install = function (Vue) {
|
|
|
17
54
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
18
55
|
install(window.Vue)
|
|
19
56
|
}
|
|
57
|
+
// 按需引入
|
|
58
|
+
// export {
|
|
59
|
+
// Breadcrumb,
|
|
60
|
+
// DepartmentTree,
|
|
61
|
+
// Hamburger,
|
|
62
|
+
// SvgIcon,
|
|
63
|
+
// SuperGrid,
|
|
64
|
+
// DepartmentUserTree,
|
|
65
|
+
// WorkgroupTree,
|
|
66
|
+
// WorkgroupUserTree,
|
|
67
|
+
// InlineDepartmentTree,
|
|
68
|
+
// InlineDepartmentUserTree,
|
|
69
|
+
// InlineWorkgroupTree,
|
|
70
|
+
// InlineWorkgroupUserTree,
|
|
71
|
+
// WorkflowButton,
|
|
72
|
+
// WorkflowHistoryList,
|
|
73
|
+
// ValidCode,
|
|
74
|
+
// RemoveUser,
|
|
75
|
+
// RemoveDepartment,
|
|
76
|
+
// RemoveWorkgroup,
|
|
77
|
+
// OrganizationInput,
|
|
78
|
+
// SuperNineGrid,
|
|
79
|
+
// DynamicSourceSelect,
|
|
80
|
+
// FsUpload,
|
|
81
|
+
// ScanCodeInput,
|
|
82
|
+
// FsPreview,
|
|
83
|
+
// FsUploadList,
|
|
84
|
+
// YearRangePicker,
|
|
85
|
+
// MultipartUpload,
|
|
86
|
+
// RichEditor,
|
|
87
|
+
// SecretInfo
|
|
88
|
+
// }
|
|
20
89
|
|
|
21
90
|
export default {
|
|
22
91
|
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|