nbb-component-ui 1.1.1 → 1.1.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nbb-component-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"main": "./dist/index.umd.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue-tsc": "^1.8.27"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"element-plus": "
|
|
23
|
+
"element-plus": ">=2.0.0",
|
|
24
24
|
"vue": "^3.0.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependenciesMeta": {
|
|
@@ -22,7 +22,7 @@ const open = () => {
|
|
|
22
22
|
|
|
23
23
|
const init = (processInstanceId: string) => {
|
|
24
24
|
id.value = processInstanceId
|
|
25
|
-
processInstanceApi.
|
|
25
|
+
processInstanceApi.getApprovalDetail(processInstanceId)
|
|
26
26
|
.then((res: any) => {
|
|
27
27
|
console.log(res)
|
|
28
28
|
})
|
package/dist/index.d.ts
DELETED
package/dist/index.es.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, resolveComponent as l, openBlock as r, createBlock as c, withCtx as p, createTextVNode as m } from "vue";
|
|
2
|
-
import { ElMessage as a } from "element-plus";
|
|
3
|
-
const _ = /* @__PURE__ */ s({
|
|
4
|
-
__name: "ProcessFlow",
|
|
5
|
-
setup(o) {
|
|
6
|
-
const t = () => {
|
|
7
|
-
a.success("Hello World!");
|
|
8
|
-
};
|
|
9
|
-
return (u, e) => {
|
|
10
|
-
const n = l("el-button");
|
|
11
|
-
return r(), c(n, { onClick: t }, {
|
|
12
|
-
default: p(() => [...e[0] || (e[0] = [
|
|
13
|
-
m("Show message", -1)
|
|
14
|
-
])]),
|
|
15
|
-
_: 1
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
}), d = {
|
|
20
|
-
install(o) {
|
|
21
|
-
o.component("ProcessFlow", _);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
_ as ProcessFlow,
|
|
26
|
-
d as default
|
|
27
|
-
};
|
package/dist/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.NbbComponentUi={},n.Vue,n.ElementPlus))})(this,function(n,e,l){"use strict";const o=e.defineComponent({__name:"ProcessFlow",setup(t){const u=()=>{l.ElMessage.success("Hello World!")};return(r,s)=>{const c=e.resolveComponent("el-button");return e.openBlock(),e.createBlock(c,{onClick:u},{default:e.withCtx(()=>[...s[0]||(s[0]=[e.createTextVNode("Show message",-1)])]),_:1})}}}),i={install(t){t.component("ProcessFlow",o)}};n.ProcessFlow=o,n.default=i,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|