@zhijiancloud/bpm 0.0.1
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/README.md +24 -0
- package/components/.DS_Store +0 -0
- package/components/bpm2/.DS_Store +0 -0
- package/components/bpm2/css/demo.less +3 -0
- package/components/bpm2/lib/demo/index.js +18 -0
- package/components/bpm2/lib/demo/src/main.vue +11 -0
- package/dist/css/index.40a99d5f.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.html +1 -0
- package/dist/js/chunk-vendors.fad77a0a.js +2 -0
- package/dist/js/chunk-vendors.fad77a0a.js.map +1 -0
- package/dist/js/index.655afe85.js +2 -0
- package/dist/js/index.655afe85.js.map +1 -0
- package/dist/lib.umd.js +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";var n={8694:function(n,t,r){var e=r(7195),o=function(){var n=this,t=n._self._c;return t("div",{attrs:{id:"app"}},[t("demo")],1)},i=[],u={name:"App",components:{}},c=u,f=r(1001),a=(0,f.Z)(c,o,i,!1,null,null,null),l=a.exports;const s={Demo:"./src/main.vue"},p=function(n){p.installed||Object.keys(s).forEach((t=>{n.component(s[t].name,s[t])}))},v={install:p};var d=v;e.ZP.use(d),e.ZP.config.productionTip=!1,new e.ZP({render:n=>n(l)}).$mount("#app")}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={exports:{}};return n[e].call(i.exports,i,i.exports,r),i.exports}r.m=n,function(){var n=[];r.O=function(t,e,o,i){if(!e){var u=1/0;for(l=0;l<n.length;l++){e=n[l][0],o=n[l][1],i=n[l][2];for(var c=!0,f=0;f<e.length;f++)(!1&i||u>=i)&&Object.keys(r.O).every((function(n){return r.O[n](e[f])}))?e.splice(f--,1):(c=!1,i<u&&(u=i));if(c){n.splice(l--,1);var a=o();void 0!==a&&(t=a)}}return t}i=i||0;for(var l=n.length;l>0&&n[l-1][2]>i;l--)n[l]=n[l-1];n[l]=[e,o,i]}}(),function(){r.n=function(n){var t=n&&n.__esModule?function(){return n["default"]}:function(){return n};return r.d(t,{a:t}),t}}(),function(){r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}()}(),function(){r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)}}(),function(){var n={826:0};r.O.j=function(t){return 0===n[t]};var t=function(t,e){var o,i,u=e[0],c=e[1],f=e[2],a=0;if(u.some((function(t){return 0!==n[t]}))){for(o in c)r.o(c,o)&&(r.m[o]=c[o]);if(f)var l=f(r)}for(t&&t(e);a<u.length;a++)i=u[a],r.o(n,i)&&n[i]&&n[i][0](),n[i]=0;return r.O(l)},e=self["webpackChunkbpm"]=self["webpackChunkbpm"]||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))}();var e=r.O(void 0,[998],(function(){return r(8694)}));e=r.O(e)})();
|
|
2
|
+
//# sourceMappingURL=index.655afe85.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"js/index.655afe85.js","mappings":"mEAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,QAAQ,CAACF,EAAG,SAAS,EAC9G,EACIG,EAAkB,GCMtB,GACAC,KAAA,MACAC,WAAA,CACA,GCXyO,I,UCOrOC,GAAY,OACd,EACAT,EACAM,GACA,EACA,KACA,KACA,MAIF,EAAeG,EAAiB,QCjBhC,MAAMD,EAAa,CACfE,KAAM,kBAIJC,EAAU,SAASC,GAClBD,EAAQE,WACXC,OAAOC,KAAKP,GAAYQ,SAAQC,IAC5BL,EAAIH,UAAUD,EAAWS,GAAKV,KAAMC,EAAWS,GAAK,GAE5D,EAEMC,EAAM,CACR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GACrD9B,EAAIL,EAASM,OAAQD,IACzB2B,EAAUhC,EAASK,GAChBjB,EAAoB8B,EAAEa,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO5C,EAAoBU,EAAEC,EAC9B,EAEIyC,EAAqBC,KAAK,mBAAqBA,KAAK,oBAAsB,GAC9ED,EAAmB9D,QAAQuD,EAAqBS,KAAK,KAAM,IAC3DF,EAAmBG,KAAOV,EAAqBS,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,IC/CvF,IAAII,EAAsBxD,EAAoBU,OAAEP,EAAW,CAAC,MAAM,WAAa,OAAOH,EAAoB,KAAO,IACjHwD,EAAsBxD,EAAoBU,EAAE8C,E","sources":["webpack://bpm/./examples/App.vue","webpack://bpm/examples/App.vue","webpack://bpm/./examples/App.vue?7739","webpack://bpm/./examples/App.vue?4c29","webpack://bpm/./components/bpm2/lib/demo/index.js","webpack://bpm/./examples/main.js","webpack://bpm/webpack/bootstrap","webpack://bpm/webpack/runtime/chunk loaded","webpack://bpm/webpack/runtime/compat get default export","webpack://bpm/webpack/runtime/define property getters","webpack://bpm/webpack/runtime/global","webpack://bpm/webpack/runtime/hasOwnProperty shorthand","webpack://bpm/webpack/runtime/jsonp chunk loading","webpack://bpm/webpack/startup"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('demo')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"app\">\n <demo></demo>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: 'App',\n components: {\n }\n}\n</script>\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7ab35db6\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\nconst components = {\n Demo: \"./src/main.vue\"\n}\n\n\nconst install = function(Vue){\n if(install.installed) return\n Object.keys(components).forEach(key=>{\n Vue.component(components[key].name, components[key])\n })\n}\n\nconst API = {\n install\n}\n\nexport default API","import Vue from 'vue'\nimport App from './App.vue'\n\nimport \"../components/bpm2/css/demo.less\"\nimport Demo from \"../components/bpm2/lib/demo/index\"\n\nVue.use(Demo)\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n}).$mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t826: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkbpm\"] = self[\"webpackChunkbpm\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(8694); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","staticRenderFns","name","components","component","Demo","install","Vue","installed","Object","keys","forEach","key","API","use","config","productionTip","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","window","obj","prop","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""}
|
package/dist/lib.umd.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.bpm2=t():e.bpm2=t()}(self,(function(){return function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);const t={Demo:"./src/main.vue"},o=function(e){o.installed||Object.keys(t).forEach((o=>{e.component(t[o].name,t[o])}))},n={install:o};return e.default=n,e}()}));
|
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zhijiancloud/bpm",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"public": true,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access" : "public"
|
|
7
|
+
},
|
|
8
|
+
"description": "智建云BPM组件库",
|
|
9
|
+
"main": "dist/index.umd.js",
|
|
10
|
+
"author": "zhijiancloud",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"components"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"serve": "vue-cli-service serve",
|
|
17
|
+
"build": "vue-cli-service build",
|
|
18
|
+
"lint": "vue-cli-service lint",
|
|
19
|
+
"build:js": "webpack --config ./webpack.component.js"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"core-js": "^3.8.3",
|
|
23
|
+
"less": "^4.2.0",
|
|
24
|
+
"less-loader": "^11.1.3",
|
|
25
|
+
"vue": "^2.6.14",
|
|
26
|
+
"vue-loader": "15.9.8",
|
|
27
|
+
"webpack-cli": "^5.1.4"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@babel/core": "^7.12.16",
|
|
31
|
+
"@babel/eslint-parser": "^7.12.16",
|
|
32
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
33
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
34
|
+
"@vue/cli-service": "~5.0.0",
|
|
35
|
+
"eslint": "^7.32.0",
|
|
36
|
+
"eslint-plugin-vue": "^8.0.3",
|
|
37
|
+
"vue-template-compiler": "^2.6.14"
|
|
38
|
+
},
|
|
39
|
+
"eslintConfig": {
|
|
40
|
+
"root": true,
|
|
41
|
+
"env": {
|
|
42
|
+
"node": true
|
|
43
|
+
},
|
|
44
|
+
"extends": [
|
|
45
|
+
"plugin:vue/essential",
|
|
46
|
+
"eslint:recommended"
|
|
47
|
+
],
|
|
48
|
+
"parserOptions": {
|
|
49
|
+
"parser": "@babel/eslint-parser"
|
|
50
|
+
},
|
|
51
|
+
"rules": {
|
|
52
|
+
"vue/multi-word-component-names": "off"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"browserslist": [
|
|
56
|
+
"> 1%",
|
|
57
|
+
"last 2 versions",
|
|
58
|
+
"not dead"
|
|
59
|
+
]
|
|
60
|
+
}
|