agilebuilder-ui 1.1.36-tmp2 → 1.1.36-tmp4

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-4d1f30e6.js";
2
+ import { _ as s } from "./index-6ec53ef7.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-4d1f30e6.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-6ec53ef7.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-4d1f30e6.js";
2
+ import { _ as I } from "./index-6ec53ef7.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-tmp2",
3
+ "version": "1.1.36-tmp4",
4
4
  "type": "module",
5
5
  "private": false,
6
- "main": "./lib/super-ui.js",
6
+ "main": "./packages/index.js",
7
7
  "scripts": {
8
8
  "lib": "vite build --mode production",
9
9
  "lib:dev": "vite build --mode development",
package/packages/index.js CHANGED
@@ -90,7 +90,6 @@ const components = [
90
90
 
91
91
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
92
92
  const install = function (Vue) {
93
- alert('package--install---22222')
94
93
  Vue.directive('prevent-reclick', PreventReclick)
95
94
  // customPlugin.install(Vue)
96
95
  Vue.use(customPlugin)
@@ -1,7 +1,6 @@
1
1
  import permission from './permission'
2
2
 
3
3
  const install = function (Vue) {
4
- alert('permission---install----5555')
5
4
  Vue.directive('permission', permission)
6
5
  }
7
6
 
@@ -1,7 +1,6 @@
1
1
  import checkPermission from '../../utils/permission'
2
2
  export default {
3
3
  mounted(el, binding, vnode) {
4
- alert('permission--mounted----555')
5
4
  const { value } = binding
6
5
  // const currentUserPermissions = store.getters && store.getters.currentUserPermissions
7
6
 
package/src/index.js CHANGED
@@ -1,16 +1,13 @@
1
1
  import PreventReclick from '../packages/directives/prevent-reclick'
2
2
  import customPlugin from '../packages/plugins/index'
3
3
  import { openPage } from './utils/jump-page-utils'
4
- import plugins from '../packages/plugins/index'
5
4
  import permission from './directives/permission'
6
5
 
7
6
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
8
7
  const install = function (Vue) {
9
- alert('src-index--install--3333')
10
8
  Vue.directive('prevent-reclick', PreventReclick)
11
9
  permission.install(Vue)
12
10
  Vue.use(customPlugin)
13
- Vue.use(plugins)
14
11
  if (install.installed) return
15
12
  // 将弹出页面方法注册到window对象上
16
13
  window['$plateform_openPage'] = openPage
@@ -18,7 +15,6 @@ const install = function (Vue) {
18
15
 
19
16
  // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
20
17
  if (typeof window !== 'undefined' && window.Vue) {
21
- alert('src-index---install--44444')
22
18
  install(window.Vue)
23
19
  }
24
20