@okiss/oms 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.
Files changed (84) hide show
  1. package/README.md +3 -0
  2. package/dist/index.es.js +6156 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/style.css +1 -0
  5. package/dist/types/auto-imports.d.ts +53 -0
  6. package/dist/types/components.d.ts +50 -0
  7. package/dist/types/src/App.vue.d.ts +125 -0
  8. package/dist/types/src/admin.d.ts +8 -0
  9. package/dist/types/src/components/PageLoad.vue.d.ts +14 -0
  10. package/dist/types/src/components/VIcon.d.ts +13 -0
  11. package/dist/types/src/components/VTree.vue.d.ts +100 -0
  12. package/dist/types/src/components/chart/index.vue.d.ts +17 -0
  13. package/dist/types/src/components/report/NumberPanel.vue.d.ts +9 -0
  14. package/dist/types/src/components/report/option.d.ts +1 -0
  15. package/dist/types/src/components/report/part.vue.d.ts +168 -0
  16. package/dist/types/src/default.d.ts +4 -0
  17. package/dist/types/src/directive/devtool.d.ts +3 -0
  18. package/dist/types/src/directive/index.d.ts +4 -0
  19. package/dist/types/src/directive/outClick.d.ts +3 -0
  20. package/dist/types/src/directive/resize.d.ts +3 -0
  21. package/dist/types/src/directive/rightClick.d.ts +3 -0
  22. package/dist/types/src/index.d.ts +13 -0
  23. package/dist/types/src/init.d.ts +3 -0
  24. package/dist/types/src/mock/apis/index.d.ts +3 -0
  25. package/dist/types/src/mock/apis/user.d.ts +3 -0
  26. package/dist/types/src/mock/data/example.d.ts +897 -0
  27. package/dist/types/src/mock/data/menu.d.ts +104 -0
  28. package/dist/types/src/mock/data/role.d.ts +68 -0
  29. package/dist/types/src/mock/index.d.ts +3 -0
  30. package/dist/types/src/mock/types.d.ts +21 -0
  31. package/dist/types/src/plugins/element-plus.d.ts +6 -0
  32. package/dist/types/src/plugins/eventBus.d.ts +6 -0
  33. package/dist/types/src/router/guard/func.d.ts +3 -0
  34. package/dist/types/src/router/guard/index.d.ts +2 -0
  35. package/dist/types/src/router/guard/nprogress.d.ts +2 -0
  36. package/dist/types/src/router/guard/permission.d.ts +2 -0
  37. package/dist/types/src/router/guard/remote-routes.d.ts +2 -0
  38. package/dist/types/src/router/guard/set-page-title.d.ts +2 -0
  39. package/dist/types/src/router/index.d.ts +2 -0
  40. package/dist/types/src/router/remote.d.ts +3 -0
  41. package/dist/types/src/router/router.d.ts +3 -0
  42. package/dist/types/src/router/vue-router.d.ts +16 -0
  43. package/dist/types/src/scaffold/404.vue.d.ts +4 -0
  44. package/dist/types/src/scaffold/container.vue.d.ts +17 -0
  45. package/dist/types/src/scaffold/dashboard.vue.d.ts +3 -0
  46. package/dist/types/src/scaffold/devtool/formBuilder/index.vue.d.ts +280 -0
  47. package/dist/types/src/scaffold/devtool/tableBuilder/index.vue.d.ts +1115 -0
  48. package/dist/types/src/scaffold/form.vue.d.ts +59 -0
  49. package/dist/types/src/scaffold/index.d.ts +5 -0
  50. package/dist/types/src/scaffold/layout/components/AppMain.vue.d.ts +24 -0
  51. package/dist/types/src/scaffold/layout/components/Breadcrumb/index.vue.d.ts +25 -0
  52. package/dist/types/src/scaffold/layout/components/Hamburger/index.vue.d.ts +16 -0
  53. package/dist/types/src/scaffold/layout/components/Navbar.vue.d.ts +49 -0
  54. package/dist/types/src/scaffold/layout/components/PageEditor.vue.d.ts +23 -0
  55. package/dist/types/src/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +10 -0
  56. package/dist/types/src/scaffold/layout/components/Sidebar/Link.vue.d.ts +21 -0
  57. package/dist/types/src/scaffold/layout/components/Sidebar/Logo.vue.d.ts +16 -0
  58. package/dist/types/src/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +21 -0
  59. package/dist/types/src/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +41 -0
  60. package/dist/types/src/scaffold/layout/components/Sidebar/index.vue.d.ts +3 -0
  61. package/dist/types/src/scaffold/layout/components/index.d.ts +3 -0
  62. package/dist/types/src/scaffold/layout/index.vue.d.ts +1965 -0
  63. package/dist/types/src/scaffold/login.vue.d.ts +17 -0
  64. package/dist/types/src/scaffold/report.vue.d.ts +485 -0
  65. package/dist/types/src/scaffold/table.vue.d.ts +54 -0
  66. package/dist/types/src/scaffold/tree.vue.d.ts +234 -0
  67. package/dist/types/src/shims-vue.d.ts +22 -0
  68. package/dist/types/src/store/index.d.ts +6 -0
  69. package/dist/types/src/store/modules/app.d.ts +5 -0
  70. package/dist/types/src/store/modules/builderSchema.d.ts +9 -0
  71. package/dist/types/src/store/modules/settings.d.ts +5 -0
  72. package/dist/types/src/store/modules/user.d.ts +5 -0
  73. package/dist/types/src/store/types.d.ts +42 -0
  74. package/dist/types/src/types.d.ts +105 -0
  75. package/dist/types/src/utils/container/index.d.ts +3 -0
  76. package/dist/types/src/utils/env.d.ts +3 -0
  77. package/dist/types/src/utils/index.d.ts +1 -0
  78. package/dist/types/src/utils/request/cache.d.ts +5 -0
  79. package/dist/types/src/utils/request/index.d.ts +8 -0
  80. package/dist/types/src/utils/request/interceptors.d.ts +3 -0
  81. package/dist/types/src/utils/request/types.d.ts +14 -0
  82. package/dist/types/src/utils/sso/index.d.ts +35 -0
  83. package/dist/types/src/utils/token.d.ts +3 -0
  84. package/package.json +80 -0
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .preloader{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1000}.preloader .preloader-inner{display:block;position:relative;left:50%;top:50%;width:70px;height:70px;margin:-35px 0 0 -35px;border-radius:50%;border:3px solid transparent;border-top-color:#3498db;animation:spin 2s linear infinite}.preloader .preloader-inner:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#e74c3c;animation:spin 3s linear infinite}.preloader .preloader-inner:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#f9c922;animation:spin 1.5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}:export{menuText:#bfcbd9;menuActiveText:#409EFF;subMenuActiveText:#f4f4f5;menuBg:#304156;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.fade-enter-active,.fade-leave-active{transition:opacity .28s}.fade-enter,.fade-leave-active{opacity:0}.fade-transform-leave-active,.fade-transform-enter-active{transition:all .5s}.fade-transform-enter{opacity:0;transform:translate(-30px)}.fade-transform-leave-to{opacity:0;transform:translate(30px)}.breadcrumb-enter-active,.breadcrumb-leave-active{transition:all .5s}.breadcrumb-enter,.breadcrumb-leave-active{opacity:0;transform:translate(20px)}.breadcrumb-move{transition:all .5s}.breadcrumb-leave-active{position:absolute}.el-breadcrumb__inner,.el-breadcrumb__inner a{font-weight:400!important}.el-upload input[type=file]{display:none!important}.el-upload__input{display:none}.upload-container .el-upload{width:100%}.upload-container .el-upload .el-upload-dragger{width:100%;height:200px}.el-dropdown-menu a{display:block}#app .main-container{min-height:100%;transition:margin-left .28s;margin-left:210px;position:relative}#app .sidebar-container{transition:width .28s;width:210px!important;background-color:#304156;height:100%;position:fixed;font-size:0px;top:0;bottom:0;left:0;z-index:1001;overflow:hidden}#app .sidebar-container .horizontal-collapse-transition{transition:0s width ease-in-out,0s padding-left ease-in-out,0s padding-right ease-in-out}#app .sidebar-container .scrollbar-wrapper{overflow-x:hidden!important}#app .sidebar-container .el-scrollbar__bar.is-vertical{right:0px}#app .sidebar-container .el-scrollbar{height:100%}#app .sidebar-container.has-logo .el-scrollbar{height:calc(100% - 50px)}#app .sidebar-container .is-horizontal{display:none}#app .sidebar-container a{display:inline-block;width:100%;overflow:hidden}#app .sidebar-container .el-menu{border:none;height:100%;width:100%!important}#app .sidebar-container .submenu-title-noDropdown:hover,#app .sidebar-container .el-submenu__title:hover{background-color:#263445!important}#app .sidebar-container .is-active>.el-submenu__title{color:#f4f4f5!important}#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title,#app .sidebar-container .el-submenu .el-menu-item{min-width:210px!important;background-color:#1f2d3d!important}#app .sidebar-container .nest-menu .el-submenu>.el-submenu__title:hover,#app .sidebar-container .el-submenu .el-menu-item:hover{background-color:#001528!important}#app .hideSidebar .sidebar-container{width:54px!important}#app .hideSidebar .main-container{margin-left:54px}#app .hideSidebar .svg-icon{margin-right:0}#app .hideSidebar .submenu-title-noDropdown{position:relative}#app .hideSidebar .submenu-title-noDropdown .el-tooltip{padding:0!important}#app .hideSidebar .submenu-title-noDropdown .el-tooltip .svg-icon{margin-left:20px}#app .hideSidebar .submenu-title-noDropdown .menu-content{display:none}#app .hideSidebar .el-submenu{overflow:hidden}#app .hideSidebar .el-submenu>.el-submenu__title .svg-icon{margin-left:20px}#app .hideSidebar .el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}#app .hideSidebar .el-menu--collapse{left:-5px}#app .hideSidebar .el-menu--collapse .el-submenu>.el-submenu__title>span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}#app .el-menu--collapse .el-menu .el-submenu{min-width:210px!important}#app .mobile .main-container{margin-left:0}#app .mobile .sidebar-container{transition:transform .28s;width:210px!important}#app .mobile.hideSidebar .sidebar-container{pointer-events:none;transition-duration:.3s;transform:translate3d(-210px,0,0)}#app .withoutAnimation .main-container,#app .withoutAnimation .sidebar-container{transition:none}.el-menu--vertical>.el-menu .svg-icon{margin-right:16px}.el-menu--vertical .nest-menu .el-submenu>.el-submenu__title:hover,.el-menu--vertical .el-menu-item:hover{background-color:#263445!important}.el-menu--vertical>.el-menu--popup{max-height:100vh;overflow-y:auto}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-track-piece{background:#d3dce6}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar{width:6px}.el-menu--vertical>.el-menu--popup::-webkit-scrollbar-thumb{background:#99a9bf;border-radius:20px}body{height:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}label{font-weight:700}html{height:100%;box-sizing:border-box}#app{height:100%}*,*:before,*:after{box-sizing:inherit}a:focus,a:active{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.app-container{padding:20px}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.el-dialog{max-height:80%;overflow-y:auto}.my-drawer{overflow-y:auto}.v-btn{padding-right:10px}.v-btn:last-child{padding-right:0}.devtool-hover{position:initial}.devtool-hover:hover .devtool-item-wrapper{display:block}.devtool-item-wrapper{position:fixed;display:none;border-radius:6px;background-color:#409eff1a;cursor:pointer;z-index:11}span[class^=dev-action-]{position:absolute;cursor:pointer}.dev-action-edit,.dev-action-del{width:30px;height:30px;top:-18px;line-height:28px;text-align:center;border-radius:50%}.dev-action-edit{color:#409eff;right:-6px;border:1px solid #b3d5fd;background-color:#ecf5ff}.dev-action-edit:hover{background-color:#d7e7fb}.dev-action-del{color:#fb4b0a;right:28px;border:1px solid #fb4b0a;background-color:#f6faff}.dev-action-del:hover{background-color:#fdeaea}.dashboard-container[data-v-b4d03f22]{margin:30px}.dashboard-text[data-v-b4d03f22]{font-size:30px;line-height:46px}.app-breadcrumb.el-breadcrumb[data-v-1d446810]{display:inline-block;font-size:14px;line-height:50px;margin-left:8px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-1d446810]{color:#97a8be;cursor:text}.main[data-v-e47ee78a]{border:1px solid #ebebeb;border-radius:3px;transition:.2s;min-height:calc(100vh - 50px);width:100%;position:relative}.aside[data-v-e47ee78a]{padding-top:20px;border:1px solid #ebebeb;border-radius:3px;transition:.2s}.title[data-v-c020d6fa]{size:2em;padding:5px 20px}.ctrl[data-v-c020d6fa]{padding:5px 20px}.ctrl .ctrl-btn[data-v-c020d6fa]{width:100%}.title[data-v-c170c756]{size:2em;padding:5px 20px}.ctrl[data-v-c170c756]{padding:5px 20px}.ctrl .ctrl-btn[data-v-c170c756]{width:100%}.el-dropdown-link[data-v-6c0ccfca]{cursor:pointer;color:#409eff}.el-icon-arrow-down[data-v-6c0ccfca]{font-size:12px}.navbar[data-v-6c0ccfca]{display:flex;height:50px;position:relative;background:#fff;box-shadow:0 1px 4px #00152914}.navbar .hamburger-container[data-v-6c0ccfca]{line-height:50px;height:100%;float:left;cursor:pointer;transition:background .3s;-webkit-tap-highlight-color:transparent}.navbar .hamburger-container[data-v-6c0ccfca]:hover{background:rgba(0,0,0,.025)}.navbar .breadcrumb-container[data-v-6c0ccfca]{float:left}.notice-setting[data-v-6c0ccfca]{left:50%;top:50%;position:absolute;transform:translate(-50%,-50%)}.right-content[data-v-6c0ccfca]{float:right;height:100%;padding-right:20px;color:#000000a6;display:flex}.right-content .icon[data-v-6c0ccfca]{font-size:18px}.right-content .icon[data-v-6c0ccfca]:focus{outline:none}.right-content .right-item[data-v-6c0ccfca]{padding:0 12px;height:100%;transition:all .3s;cursor:pointer;display:flex;align-items:center}.right-content .right-item[data-v-6c0ccfca]:hover{background:rgba(0,0,0,.025)}.right-content .right-item-button[data-v-6c0ccfca]{height:100%;transition:all .3s;cursor:pointer;display:flex;align-items:center}.right-content .user-info[data-v-6c0ccfca]{height:50px;line-height:50px}.right-content .user-avatar[data-v-6c0ccfca]{width:24px;height:24px;line-height:24px;border-radius:50%;margin:0 10px 0 0;color:#1890ff;vertical-align:middle;background:hsla(0deg,0%,100%,.85)}.right-content .user-name[data-v-6c0ccfca]{vertical-align:middle}.sidebarLogoFade-enter-active[data-v-232c1774]{transition:opacity 1.5s}.sidebarLogoFade-enter[data-v-232c1774],.sidebarLogoFade-leave-to[data-v-232c1774]{opacity:0}.sidebar-logo-container[data-v-232c1774]{position:relative;width:100%;height:50px;line-height:50px;background:#2b2f3a;text-align:center;overflow:hidden}.sidebar-logo-container .sidebar-logo-link[data-v-232c1774]{height:100%;width:100%}.sidebar-logo-container .sidebar-logo-link .sidebar-logo[data-v-232c1774]{width:32px;height:32px;vertical-align:middle;margin-right:12px}.sidebar-logo-container .sidebar-logo-link .sidebar-title[data-v-232c1774]{display:inline-block;margin:0;color:#fff;font-weight:600;line-height:50px;font-size:14px;font-family:Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;vertical-align:middle}.sidebar-logo-container.collapse .sidebar-logo[data-v-232c1774]{margin-right:0}.search-menu[data-v-b39680ea]{width:100%;padding:15px 20px 0}.search-menu[data-v-b39680ea] .el-input__wrapper{background-color:#304156;border:1px dashed gray;border-radius:var(--el-input-border-radius, var(--el-border-radius-base));box-shadow:none}.filter-tree[data-v-b39680ea]{max-height:500px}[data-v-b273e3e8] .el-scrollbar__wrap{overflow:scroll}.menu-section[data-v-b273e3e8]{height:30px;font-size:14px;display:table-cell;vertical-align:bottom;padding-left:20px;color:#97a8be;padding-top:5px}.app-main[data-v-0f7fcf09]{min-height:calc(100vh - 50px);width:100%;position:relative;overflow:hidden;padding:20px}.fixed-header+.app-main[data-v-0f7fcf09]{padding-top:50px}[data-v-6676f7df]:export{menuText:#bfcbd9;menuActiveText:#409EFF;subMenuActiveText:#f4f4f5;menuBg:#304156;menuHover:#263445;subMenuBg:#1f2d3d;subMenuHover:#001528;sideBarWidth:210px}.app-wrapper[data-v-6676f7df]{position:relative;height:100%;width:100%}.app-wrapper[data-v-6676f7df]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-6676f7df]{position:fixed;top:0}.drawer-bg[data-v-6676f7df]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-6676f7df]{position:fixed;top:0;right:0;z-index:9;width:calc(100% - 210px);transition:width .28s}.hideSidebar .fixed-header[data-v-6676f7df]{width:calc(100% - 54px)}.mobile .fixed-header[data-v-6676f7df]{width:100%}#login{width:100%;height:100%;background:#2d3a4b;text-align:center;display:flex;flex-direction:column;padding-top:150px}#login #title{color:#fff}#login #form{width:300px;margin:10px auto;display:flex;flex-direction:column;justify-content:center}#login #form .input{width:300px;height:40px;margin:10px auto;padding:10px}#login #form .button{width:300px;height:40px;border:1px solid #fff;background:#fff}#login .tips,#login .sso{padding:10px 0;display:flex;justify-content:flex-start;color:gray}.not-found[data-v-1c63bbe6]{background-color:#2f3242;width:100%;height:100%}svg[data-v-1c63bbe6]{position:absolute;top:50%;left:50%;margin-top:-250px;margin-left:-400px}.message-box[data-v-1c63bbe6]{height:200px;width:380px;position:absolute;top:50%;left:50%;margin-top:-100px;margin-left:50px;color:#fff;font-family:Roboto;font-weight:300}.message-box h1[data-v-1c63bbe6]{font-size:60px;line-height:46px;margin-bottom:40px}.buttons-con .action-link-wrap[data-v-1c63bbe6]{margin-top:40px}.buttons-con .action-link-wrap a[data-v-1c63bbe6]{background:#68c950;padding:8px 25px;border-radius:4px;color:#fff;font-weight:700;font-size:14px;transition:all .3s linear;cursor:pointer;text-decoration:none;margin-right:10px}.buttons-con .action-link-wrap a[data-v-1c63bbe6]:hover{background:#5A5C6C;color:#fff}#Polygon-1[data-v-1c63bbe6],#Polygon-2[data-v-1c63bbe6],#Polygon-3[data-v-1c63bbe6],#Polygon-4[data-v-1c63bbe6],#Polygon-4[data-v-1c63bbe6],#Polygon-5[data-v-1c63bbe6]{animation:float-1c63bbe6 1s infinite ease-in-out alternate}#Polygon-2[data-v-1c63bbe6]{animation-delay:.2s}#Polygon-3[data-v-1c63bbe6]{animation-delay:.4s}#Polygon-4[data-v-1c63bbe6]{animation-delay:.6s}#Polygon-5[data-v-1c63bbe6]{animation-delay:.8s}@keyframes float-1c63bbe6{to{transform:translateY(20px)}}@media (max-width: 450px){svg[data-v-1c63bbe6]{position:absolute;top:50%;left:50%;margin-top:-250px;margin-left:-190px}.message-box[data-v-1c63bbe6]{top:50%;left:50%;margin-top:-100px;margin-left:-190px;text-align:center}}.loading{width:100%;min-height:calc(100vh - 50px);text-align:center;line-height:calc(100vh - 50px)}.card-header{display:flex;justify-content:space-between;align-items:center}.tree-box,.tree-tree .tree-form{height:100%}.tree-action{flex:1;display:flex;align-items:center;justify-content:space-between;font-size:14px;padding-right:8px}.chart{width:100%;height:100%;min-height:350px}.number-panel-title[data-v-4873b764]{padding:20px;text-align:center}.number-panel-title .title-inner[data-v-4873b764]{display:inline-block;width:20%;position:relative;text-align:center;border-right:1px solid #e8e8e8}.number-panel-title .title-inner[data-v-4873b764]:last-child{border:none}.number-panel-title .el-divider[data-v-4873b764]{position:absolute;right:0;top:10px}.number-panel-title .name[data-v-4873b764]{font-size:12px;color:#666}.number-panel-title .number[data-v-4873b764]{font-size:20px;line-height:30px}.part[data-v-c9617aa6]{width:auto;margin-bottom:15px}.part[data-v-c9617aa6] :last-child{margin-bottom:0}[data-v-c9617aa6] .el-card__header,[data-v-c9617aa6] .el-card__body{padding:5px}.part-filter{margin-bottom:15px}
@@ -0,0 +1,53 @@
1
+ // Generated by 'unplugin-auto-import'
2
+ // We suggest you to commit this file into source control
3
+ declare global {
4
+ const computed: typeof import('vue')['computed']
5
+ const createApp: typeof import('vue')['createApp']
6
+ const customRef: typeof import('vue')['customRef']
7
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
8
+ const defineComponent: typeof import('vue')['defineComponent']
9
+ const effectScope: typeof import('vue')['effectScope']
10
+ const EffectScope: typeof import('vue')['EffectScope']
11
+ const ElMessage: typeof import('element-plus/es')['ElMessage']
12
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
13
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
14
+ const h: typeof import('vue')['h']
15
+ const inject: typeof import('vue')['inject']
16
+ const isReadonly: typeof import('vue')['isReadonly']
17
+ const isRef: typeof import('vue')['isRef']
18
+ const markRaw: typeof import('vue')['markRaw']
19
+ const nextTick: typeof import('vue')['nextTick']
20
+ const onActivated: typeof import('vue')['onActivated']
21
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
22
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
23
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
24
+ const onDeactivated: typeof import('vue')['onDeactivated']
25
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
26
+ const onMounted: typeof import('vue')['onMounted']
27
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
28
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
29
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
30
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
31
+ const onUnmounted: typeof import('vue')['onUnmounted']
32
+ const onUpdated: typeof import('vue')['onUpdated']
33
+ const provide: typeof import('vue')['provide']
34
+ const reactive: typeof import('vue')['reactive']
35
+ const readonly: typeof import('vue')['readonly']
36
+ const ref: typeof import('vue')['ref']
37
+ const resolveComponent: typeof import('vue')['resolveComponent']
38
+ const shallowReactive: typeof import('vue')['shallowReactive']
39
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
40
+ const shallowRef: typeof import('vue')['shallowRef']
41
+ const toRaw: typeof import('vue')['toRaw']
42
+ const toRef: typeof import('vue')['toRef']
43
+ const toRefs: typeof import('vue')['toRefs']
44
+ const triggerRef: typeof import('vue')['triggerRef']
45
+ const unref: typeof import('vue')['unref']
46
+ const useAttrs: typeof import('vue')['useAttrs']
47
+ const useCssModule: typeof import('vue')['useCssModule']
48
+ const useCssVars: typeof import('vue')['useCssVars']
49
+ const useSlots: typeof import('vue')['useSlots']
50
+ const watch: typeof import('vue')['watch']
51
+ const watchEffect: typeof import('vue')['watchEffect']
52
+ }
53
+ export {}
@@ -0,0 +1,50 @@
1
+ // generated by unplugin-vue-components
2
+ // We suggest you to commit this file into source control
3
+ // Read more: https://github.com/vuejs/vue-next/pull/3399
4
+
5
+ declare module '@vue/runtime-core' {
6
+ export interface GlobalComponents {
7
+ Chart: typeof import('./src/components/chart/index.vue')['default']
8
+ ElAlert: typeof import('element-plus/es')['ElAlert']
9
+ ElAside: typeof import('element-plus/es')['ElAside']
10
+ ElBacktop: typeof import('element-plus/es')['ElBacktop']
11
+ ElBadge: typeof import('element-plus/es')['ElBadge']
12
+ ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
13
+ ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
14
+ ElButton: typeof import('element-plus/es')['ElButton']
15
+ ElCard: typeof import('element-plus/es')['ElCard']
16
+ ElCol: typeof import('element-plus/es')['ElCol']
17
+ ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
18
+ ElContainer: typeof import('element-plus/es')['ElContainer']
19
+ ElDivider: typeof import('element-plus/es')['ElDivider']
20
+ ElDrawer: typeof import('element-plus/es')['ElDrawer']
21
+ ElDropdown: typeof import('element-plus/es')['ElDropdown']
22
+ ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
23
+ ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
24
+ ElForm: typeof import('element-plus/es')['ElForm']
25
+ ElFormItem: typeof import('element-plus/es')['ElFormItem']
26
+ ElMain: typeof import('element-plus/es')['ElMain']
27
+ ElMenu: typeof import('element-plus/es')['ElMenu']
28
+ ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
29
+ ElOption: typeof import('element-plus/es')['ElOption']
30
+ ElOptionGroup: typeof import('element-plus/es')['ElOptionGroup']
31
+ ElPopover: typeof import('element-plus/es')['ElPopover']
32
+ ElRow: typeof import('element-plus/es')['ElRow']
33
+ ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
34
+ ElSelect: typeof import('element-plus/es')['ElSelect']
35
+ ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
36
+ ElTree: typeof import('element-plus/es')['ElTree']
37
+ NumberPanel: typeof import('./src/components/report/NumberPanel.vue')['default']
38
+ PageLoad: typeof import('./src/components/PageLoad.vue')['default']
39
+ Part: typeof import('./src/components/report/part.vue')['default']
40
+ Report: typeof import('./src/components/report/index.vue')['default']
41
+ RightMenu: typeof import('./src/components/RightMenu.vue')['default']
42
+ RouterLink: typeof import('vue-router')['RouterLink']
43
+ RouterView: typeof import('vue-router')['RouterView']
44
+ VLoading: typeof import('./src/components/VLoading.vue')['default']
45
+ VPlayer: typeof import('./src/components/VPlayer.vue')['default']
46
+ VTree: typeof import('./src/components/VTree.vue')['default']
47
+ }
48
+ }
49
+
50
+ export {}
@@ -0,0 +1,125 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{}, {
3
+ locale: {
4
+ name: string;
5
+ el: {
6
+ colorpicker: {
7
+ confirm: string;
8
+ clear: string;
9
+ };
10
+ datepicker: {
11
+ now: string;
12
+ today: string;
13
+ cancel: string;
14
+ clear: string;
15
+ confirm: string;
16
+ selectDate: string;
17
+ selectTime: string;
18
+ startDate: string;
19
+ startTime: string;
20
+ endDate: string;
21
+ endTime: string;
22
+ prevYear: string;
23
+ nextYear: string;
24
+ prevMonth: string;
25
+ nextMonth: string;
26
+ year: string;
27
+ month1: string;
28
+ month2: string;
29
+ month3: string;
30
+ month4: string;
31
+ month5: string;
32
+ month6: string;
33
+ month7: string;
34
+ month8: string;
35
+ month9: string;
36
+ month10: string;
37
+ month11: string;
38
+ month12: string;
39
+ weeks: {
40
+ sun: string;
41
+ mon: string;
42
+ tue: string;
43
+ wed: string;
44
+ thu: string;
45
+ fri: string;
46
+ sat: string;
47
+ };
48
+ months: {
49
+ jan: string;
50
+ feb: string;
51
+ mar: string;
52
+ apr: string;
53
+ may: string;
54
+ jun: string;
55
+ jul: string;
56
+ aug: string;
57
+ sep: string;
58
+ oct: string;
59
+ nov: string;
60
+ dec: string;
61
+ };
62
+ };
63
+ select: {
64
+ loading: string;
65
+ noMatch: string;
66
+ noData: string;
67
+ placeholder: string;
68
+ };
69
+ cascader: {
70
+ noMatch: string;
71
+ loading: string;
72
+ placeholder: string;
73
+ noData: string;
74
+ };
75
+ pagination: {
76
+ goto: string;
77
+ pagesize: string;
78
+ total: string;
79
+ pageClassifier: string;
80
+ deprecationWarning: string;
81
+ };
82
+ messagebox: {
83
+ title: string;
84
+ confirm: string;
85
+ cancel: string;
86
+ error: string;
87
+ };
88
+ upload: {
89
+ deleteTip: string;
90
+ delete: string;
91
+ preview: string;
92
+ continue: string;
93
+ };
94
+ table: {
95
+ emptyText: string;
96
+ confirmFilter: string;
97
+ resetFilter: string;
98
+ clearFilter: string;
99
+ sumText: string;
100
+ };
101
+ tree: {
102
+ emptyText: string;
103
+ };
104
+ transfer: {
105
+ noMatch: string;
106
+ noData: string;
107
+ titles: string[];
108
+ filterPlaceholder: string;
109
+ noCheckedFormat: string;
110
+ hasCheckedFormat: string;
111
+ };
112
+ image: {
113
+ error: string;
114
+ };
115
+ pageHeader: {
116
+ title: string;
117
+ };
118
+ popconfirm: {
119
+ confirmButtonText: string;
120
+ cancelButtonText: string;
121
+ };
122
+ };
123
+ };
124
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
125
+ export default _sfc_main;
@@ -0,0 +1,8 @@
1
+ import type { App } from 'vue';
2
+ import type { OmsOptions, OmsPlugin } from './types';
3
+ import type { AxiosInstance } from 'axios';
4
+ import { AxiosRequestConfig } from './utils/request';
5
+ export declare function useHttp(options?: AxiosRequestConfig): AxiosInstance;
6
+ export declare function createAdmin(omsOptions?: OmsOptions): void;
7
+ export declare function regPlugin(app: App, plugin: OmsPlugin): void;
8
+ export declare function createOmsPlugin(options: OmsOptions): OmsPlugin;
@@ -0,0 +1,14 @@
1
+ import type { DefineComponent, ComponentPropsOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
2
+ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
3
+ [x: string]: unknown;
4
+ }>>, unknown, {
5
+ loading: boolean;
6
+ haveNotice: boolean;
7
+ notice: {};
8
+ schema: {};
9
+ }, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
10
+ [x: string]: unknown;
11
+ }>>>>, {
12
+ [x: number]: string;
13
+ } | {}>;
14
+ export default _sfc_main;
@@ -0,0 +1,13 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{
3
+ name: {
4
+ type: StringConstructor;
5
+ required: true;
6
+ };
7
+ }, (() => null) | (() => JSX.Element), unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8
+ name: {
9
+ type: StringConstructor;
10
+ required: true;
11
+ };
12
+ }>>, {}>;
13
+ export default _default;
@@ -0,0 +1,100 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ export default _sfc_main;
3
+ declare const _sfc_main: DefineComponent<{
4
+ treeApi: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ require: boolean;
8
+ };
9
+ getApi: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ require: boolean;
13
+ };
14
+ saveApi: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ require: boolean;
18
+ };
19
+ createApi: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ require: boolean;
23
+ };
24
+ deleteApi: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ require: boolean;
28
+ };
29
+ formItems: {
30
+ type: ArrayConstructor;
31
+ default: () => never[];
32
+ };
33
+ }, any, {
34
+ type: number;
35
+ treeData: never[];
36
+ formData: {};
37
+ treeProps: {
38
+ showCheckbox: boolean;
39
+ 'default-expand-all': boolean;
40
+ 'expand-on-click-node': boolean;
41
+ props: {
42
+ children: string;
43
+ label: string;
44
+ };
45
+ };
46
+ formkey: number;
47
+ menuOptions: {};
48
+ }, {
49
+ formProps(): {
50
+ saveApi: string;
51
+ getApi: string;
52
+ formItems: unknown[];
53
+ };
54
+ }, {
55
+ loadTree(): void;
56
+ onclick(data: any): void;
57
+ append(data: any): void;
58
+ remove(data: any): void;
59
+ submit(): void;
60
+ allowDrap(draggingNode: any): true;
61
+ allowDrop(draggingNode: any, dropNode: any, type: any): boolean;
62
+ handleDragEnd(draggingNode: any, dropNode: any, dropType: any, ev: any): void;
63
+ }, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
64
+ treeApi: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ require: boolean;
68
+ };
69
+ getApi: {
70
+ type: StringConstructor;
71
+ default: string;
72
+ require: boolean;
73
+ };
74
+ saveApi: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ require: boolean;
78
+ };
79
+ createApi: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ require: boolean;
83
+ };
84
+ deleteApi: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ require: boolean;
88
+ };
89
+ formItems: {
90
+ type: ArrayConstructor;
91
+ default: () => never[];
92
+ };
93
+ }>>, {
94
+ treeApi: string;
95
+ getApi: string;
96
+ saveApi: string;
97
+ createApi: string;
98
+ deleteApi: string;
99
+ formItems: unknown[];
100
+ }>;
@@ -0,0 +1,17 @@
1
+ import type { Ref } from 'vue';
2
+ declare const _sfc_main: {
3
+ name: string;
4
+ props: {
5
+ options: {
6
+ type: ObjectConstructor;
7
+ default: () => void;
8
+ };
9
+ };
10
+ setup(props: {
11
+ options: any;
12
+ }): {
13
+ chartDom: Ref<null>;
14
+ chart: null;
15
+ };
16
+ };
17
+ export default _sfc_main;
@@ -0,0 +1,9 @@
1
+ import type { DefineComponent, ComponentPropsOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
2
+ export default _sfc_main;
3
+ declare const _sfc_main: DefineComponent<Readonly<ComponentPropsOptions<{
4
+ [x: string]: unknown;
5
+ }>>, any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
6
+ [x: string]: unknown;
7
+ }>>>>, {
8
+ [x: number]: string;
9
+ } | {}>;
@@ -0,0 +1 @@
1
+ export declare function makeOption(id: string, config: Object | string, data: Array<Record<string, any>>): {};
@@ -0,0 +1,168 @@
1
+ import type { Ref, DefineComponent, ComponentPropsOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
2
+ declare const _sfc_main: {
3
+ components: {
4
+ Chart: {
5
+ name: string;
6
+ props: {
7
+ options: {
8
+ type: ObjectConstructor;
9
+ default: () => void;
10
+ };
11
+ };
12
+ setup(props: {
13
+ options: any;
14
+ }): {
15
+ chartDom: Ref<null>;
16
+ chart: null;
17
+ };
18
+ };
19
+ Md: any;
20
+ Json: {
21
+ name: string;
22
+ props: {
23
+ data: {
24
+ type: (ObjectConstructor | ArrayConstructor)[];
25
+ required: boolean;
26
+ };
27
+ jsonKey: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ closed: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ isLast: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ fontSize: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ lineHeight: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ };
47
+ deep: {
48
+ type: NumberConstructor;
49
+ default: number;
50
+ };
51
+ currentDeep: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ iconStyle: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ iconColor: {
60
+ type: ArrayConstructor;
61
+ default(): never[];
62
+ };
63
+ theme: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ hasSiblings: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ tools: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ };
76
+ data(): {
77
+ innerclosed: any;
78
+ templateDeep: any;
79
+ visible: boolean;
80
+ };
81
+ computed: {
82
+ isArray(): any;
83
+ length(): any;
84
+ subfix(): any;
85
+ prefix(): "[" | "{";
86
+ items(): any;
87
+ iconColors(): any;
88
+ };
89
+ watch: {
90
+ closed(): void;
91
+ };
92
+ mounted(): void;
93
+ methods: {
94
+ getDataType(data: any): string;
95
+ isObjectOrArray(source: any): boolean;
96
+ toggleClose(): void;
97
+ isClose(): any;
98
+ isEmptyArrayOrObject(data: any): boolean;
99
+ copy(): void;
100
+ };
101
+ };
102
+ Table: any;
103
+ Number: DefineComponent<Readonly<ComponentPropsOptions<{
104
+ [x: string]: unknown;
105
+ }>>, any, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
106
+ [x: string]: unknown;
107
+ }>>>>, {
108
+ [x: number]: string;
109
+ } | {}>;
110
+ Html: string;
111
+ };
112
+ props: {
113
+ option: {
114
+ type: ObjectConstructor;
115
+ default: () => void;
116
+ };
117
+ };
118
+ setup(props: Record<string, any>): {
119
+ compprops: (item: Record<string, any>) => {
120
+ dataList: any;
121
+ options?: undefined;
122
+ source?: undefined;
123
+ showPagination?: undefined;
124
+ headers?: undefined;
125
+ list?: undefined;
126
+ } | {
127
+ options: {};
128
+ dataList?: undefined;
129
+ source?: undefined;
130
+ showPagination?: undefined;
131
+ headers?: undefined;
132
+ list?: undefined;
133
+ } | {
134
+ source: any;
135
+ dataList?: undefined;
136
+ options?: undefined;
137
+ showPagination?: undefined;
138
+ headers?: undefined;
139
+ list?: undefined;
140
+ } | {
141
+ showPagination: boolean;
142
+ dataList?: undefined;
143
+ options?: undefined;
144
+ source?: undefined;
145
+ headers?: undefined;
146
+ list?: undefined;
147
+ } | {
148
+ headers: {
149
+ field: string;
150
+ label: string;
151
+ }[];
152
+ list: any;
153
+ showPagination: boolean;
154
+ dataList?: undefined;
155
+ options?: undefined;
156
+ source?: undefined;
157
+ } | {
158
+ dataList?: undefined;
159
+ options?: undefined;
160
+ source?: undefined;
161
+ showPagination?: undefined;
162
+ headers?: undefined;
163
+ list?: undefined;
164
+ };
165
+ comptype: () => any;
166
+ };
167
+ };
168
+ export default _sfc_main;
@@ -0,0 +1,4 @@
1
+ import { OmsOptions } from './types';
2
+ import { Settings } from './types';
3
+ export declare const defaultSettings: Settings;
4
+ export declare const defaultOptions: OmsOptions;
@@ -0,0 +1,3 @@
1
+ import type { ObjectDirective } from '@vue/runtime-core';
2
+ declare const devtool: ObjectDirective;
3
+ export default devtool;
@@ -0,0 +1,4 @@
1
+ export { default as outClick } from './outClick';
2
+ export { default as rightClick } from './rightClick';
3
+ export { default as resize } from './resize';
4
+ export { default as devtool } from './devtool';
@@ -0,0 +1,3 @@
1
+ import type { ObjectDirective } from '@vue/runtime-core';
2
+ declare const outClick: ObjectDirective;
3
+ export default outClick;
@@ -0,0 +1,3 @@
1
+ import type { ObjectDirective } from '@vue/runtime-core';
2
+ declare const resize: ObjectDirective;
3
+ export default resize;
@@ -0,0 +1,3 @@
1
+ import type { ObjectDirective } from '@vue/runtime-core';
2
+ declare const rightClient: ObjectDirective;
3
+ export default rightClient;
@@ -0,0 +1,13 @@
1
+ export { createAdmin, useHttp } from './admin';
2
+ export * from './types';
3
+ export { default as VIcon } from './components/VIcon';
4
+ export { default as VChart } from './components/chart/index.vue';
5
+ export { default as Layout } from './scaffold/layout/index.vue';
6
+ export { default as Container } from './scaffold/container.vue';
7
+ export { default as eventBus } from './plugins/eventBus';
8
+ export { Message, MessageBox } from './plugins/element-plus';
9
+ export * from './utils';
10
+ export * from './utils/request';
11
+ export * from './utils/container';
12
+ export * from './utils/sso';
13
+ export * from './router/remote';
@@ -0,0 +1,3 @@
1
+ interface String {
2
+ format(...replacements: string[]): string;
3
+ }
@@ -0,0 +1,3 @@
1
+ import { MockApi } from '../types';
2
+ declare const apis: MockApi[];
3
+ export default apis;
@@ -0,0 +1,3 @@
1
+ import { MockApi } from '../types';
2
+ declare const userApis: MockApi[];
3
+ export default userApis;