agilebuilder-ui 1.1.36-tmp1 → 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.
@@ -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-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-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-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-6ec53ef7.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-tmp1",
3
+ "version": "1.1.36-tmp2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
package/packages/index.js CHANGED
@@ -90,6 +90,7 @@ const components = [
90
90
 
91
91
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
92
92
  const install = function (Vue) {
93
+ alert('package--install---22222')
93
94
  Vue.directive('prevent-reclick', PreventReclick)
94
95
  // customPlugin.install(Vue)
95
96
  Vue.use(customPlugin)
@@ -1,6 +1,7 @@
1
1
  import permission from './permission'
2
2
 
3
3
  const install = function (Vue) {
4
+ alert('permission---install----5555')
4
5
  Vue.directive('permission', permission)
5
6
  }
6
7
 
@@ -1,6 +1,7 @@
1
1
  import checkPermission from '../../utils/permission'
2
2
  export default {
3
3
  mounted(el, binding, vnode) {
4
+ alert('permission--mounted----555')
4
5
  const { value } = binding
5
6
  // const currentUserPermissions = store.getters && store.getters.currentUserPermissions
6
7
 
package/src/index.js CHANGED
@@ -6,6 +6,7 @@ import permission from './directives/permission'
6
6
 
7
7
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
8
8
  const install = function (Vue) {
9
+ alert('src-index--install--3333')
9
10
  Vue.directive('prevent-reclick', PreventReclick)
10
11
  permission.install(Vue)
11
12
  Vue.use(customPlugin)
@@ -17,40 +18,9 @@ const install = function (Vue) {
17
18
 
18
19
  // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
19
20
  if (typeof window !== 'undefined' && window.Vue) {
21
+ alert('src-index---install--44444')
20
22
  install(window.Vue)
21
23
  }
22
- // 按需引入
23
- // export {
24
- // Breadcrumb,
25
- // DepartmentTree,
26
- // Hamburger,
27
- // SvgIcon,
28
- // SuperGrid,
29
- // DepartmentUserTree,
30
- // WorkgroupTree,
31
- // WorkgroupUserTree,
32
- // InlineDepartmentTree,
33
- // InlineDepartmentUserTree,
34
- // InlineWorkgroupTree,
35
- // InlineWorkgroupUserTree,
36
- // WorkflowButton,
37
- // WorkflowHistoryList,
38
- // ValidCode,
39
- // RemoveUser,
40
- // RemoveDepartment,
41
- // RemoveWorkgroup,
42
- // OrganizationInput,
43
- // SuperNineGrid,
44
- // DynamicSourceSelect,
45
- // FsUpload,
46
- // ScanCodeInput,
47
- // FsPreview,
48
- // FsUploadList,
49
- // YearRangePicker,
50
- // MultipartUpload,
51
- // RichEditor,
52
- // SecretInfo
53
- // }
54
24
 
55
25
  export default {
56
26
  // 导出的对象必须具有 install,才能被 Vue.use() 方法安装