mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
chore: update
This commit is contained in:
parent
236f9e1b6a
commit
4bcdc7229a
4
dist/assets/layout-theme-auroraGreen.css
vendored
4
dist/assets/layout-theme-auroraGreen.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-auroraGreen body[layout=vertical] .sidebar-container{background:#0b1e15}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-auroraGreen .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container{background:#0b1e15}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .el-sub-menu__title{color:#7a80b4}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-auroraGreen body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-auroraGreen body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-auroraGreen body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-auroraGreen body[layout=mix] .horizontal-header .el-sub-menu__title{background:#0b1e15}.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-auroraGreen .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-auroraGreen body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-default.css
vendored
4
dist/assets/layout-theme-default.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-default body[layout=vertical] .sidebar-container{background:#001529}.layout-theme-default body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-default .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-default body[layout=vertical] .sidebar-container{background:#001529}.layout-theme-default body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-default body[layout=vertical] .sidebar-container .el-sub-menu__title{color:rgba(254,254,254,0.65)}.layout-theme-default body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-default body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-default body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-default body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-default body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-default body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-default body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-default body[layout=mix] .horizontal-header .el-sub-menu__title{background:#001529}.layout-theme-default body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-default body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-default body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-default body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-default body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-default .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-default body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-default body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-dusk.css
vendored
4
dist/assets/layout-theme-dusk.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-dusk body[layout=vertical] .sidebar-container{background:#2a0608}.layout-theme-dusk body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-dusk .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-dusk body[layout=vertical] .sidebar-container{background:#2a0608}.layout-theme-dusk body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-dusk body[layout=vertical] .sidebar-container .el-sub-menu__title{color:rgba(254,254,254,0.651)}.layout-theme-dusk body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-dusk body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-dusk body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-dusk body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-dusk body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-dusk body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-dusk body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-dusk body[layout=mix] .horizontal-header .el-sub-menu__title{background:#2a0608}.layout-theme-dusk body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-dusk body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-dusk body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-dusk body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-dusk body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-dusk .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-dusk body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-dusk body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-light.css
vendored
4
dist/assets/layout-theme-light.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-light body[layout=vertical] .sidebar-container{background:#fff}.layout-theme-light body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-light .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:rgba(0,0,0,0.8509803922)}.layout-theme-light body[layout=vertical] .sidebar-container{background:#fff}.layout-theme-light body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-light body[layout=vertical] .sidebar-container .el-sub-menu__title{color:rgba(0,0,0,0.6)}.layout-theme-light body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-light body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#000!important}.layout-theme-light body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-light body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:rgba(0,0,0,0.8509803922)!important}.layout-theme-light body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-light body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#000!important}.layout-theme-light body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-light body[layout=mix] .horizontal-header .el-sub-menu__title{background:#fff}.layout-theme-light body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-light body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:rgba(0,0,0,0.8509803922)!important}.layout-theme-light body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-light body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:rgba(0,0,0,0.8509803922)!important}.layout-theme-light body[layout=mix] .horizontal-header .is-active{color:rgba(0,0,0,0.8509803922)!important}.layout-theme-light .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:rgba(0,0,0,0.8509803922)}
|
||||
.layout-theme-light body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:rgba(0,0,0,0.8509803922)!important}.layout-theme-light body[layout=mix] .horizontal-header .is-active{color:rgba(0,0,0,0.8509803922)!important}
|
4
dist/assets/layout-theme-mingQing.css
vendored
4
dist/assets/layout-theme-mingQing.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-mingQing body[layout=vertical] .sidebar-container{background:#032121}.layout-theme-mingQing body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-mingQing .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-mingQing body[layout=vertical] .sidebar-container{background:#032121}.layout-theme-mingQing body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-mingQing body[layout=vertical] .sidebar-container .el-sub-menu__title{color:#7a80b4}.layout-theme-mingQing body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-mingQing body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-mingQing body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-mingQing body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-mingQing body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-mingQing body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-mingQing body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-mingQing body[layout=mix] .horizontal-header .el-sub-menu__title{background:#032121}.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-mingQing .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-mingQing body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-pink.css
vendored
4
dist/assets/layout-theme-pink.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-pink body[layout=vertical] .sidebar-container{background:#28081a}.layout-theme-pink body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-pink .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-pink body[layout=vertical] .sidebar-container{background:#28081a}.layout-theme-pink body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-pink body[layout=vertical] .sidebar-container .el-sub-menu__title{color:#7a80b4}.layout-theme-pink body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-pink body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-pink body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-pink body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-pink body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-pink body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-pink body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-pink body[layout=mix] .horizontal-header .el-sub-menu__title{background:#28081a}.layout-theme-pink body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-pink body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-pink body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-pink body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-pink body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-pink .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-pink body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-pink body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-saucePurple.css
vendored
4
dist/assets/layout-theme-saucePurple.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-saucePurple body[layout=vertical] .sidebar-container{background:#130824}.layout-theme-saucePurple body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-saucePurple .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-saucePurple body[layout=vertical] .sidebar-container{background:#130824}.layout-theme-saucePurple body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-saucePurple body[layout=vertical] .sidebar-container .el-sub-menu__title{color:#7a80b4}.layout-theme-saucePurple body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-saucePurple body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-saucePurple body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-saucePurple body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-saucePurple body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-saucePurple body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-saucePurple body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-saucePurple body[layout=mix] .horizontal-header .el-sub-menu__title{background:#130824}.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-saucePurple .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-saucePurple body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/assets/layout-theme-volcano.css
vendored
4
dist/assets/layout-theme-volcano.css
vendored
@ -1,4 +1,4 @@
|
||||
.layout-theme-volcano body[layout=vertical] .sidebar-container{background:#2b0e05}.layout-theme-volcano body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-volcano .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}.layout-theme-volcano body[layout=vertical] .sidebar-container{background:#2b0e05}.layout-theme-volcano body[layout=vertical] .sidebar-container .el-menu-item,
|
||||
.layout-theme-volcano body[layout=vertical] .sidebar-container .el-sub-menu__title{color:rgba(254,254,254,0.65)}.layout-theme-volcano body[layout=vertical] .sidebar-container .el-menu-item:hover,
|
||||
.layout-theme-volcano body[layout=vertical] .sidebar-container .el-sub-menu__title:hover{color:#fff!important}.layout-theme-volcano body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title,
|
||||
.layout-theme-volcano body[layout=vertical] .sidebar-container .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-volcano body[layout=vertical] .sidebar-container .is-active > .el-sub-menu__title i,
|
||||
@ -58,4 +58,4 @@
|
||||
.layout-theme-volcano body[layout=mix] .horizontal-header .el-sub-menu__title:hover{color:#fff!important}.layout-theme-volcano body[layout=mix] .horizontal-header .submenu-title-noDropdown,
|
||||
.layout-theme-volcano body[layout=mix] .horizontal-header .el-sub-menu__title{background:#2b0e05}.layout-theme-volcano body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title,
|
||||
.layout-theme-volcano body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown{color:#fff!important}.layout-theme-volcano body[layout=mix] .horizontal-header .is-active > .el-sub-menu__title i,
|
||||
.layout-theme-volcano body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-volcano body[layout=mix] .horizontal-header .is-active{color:#fff!important}.layout-theme-volcano .sidebar-logo-container .sidebar-logo-link .sidebar-title{color:#fff}
|
||||
.layout-theme-volcano body[layout=mix] .horizontal-header .is-active.submenu-title-noDropdown i{color:#fff!important}.layout-theme-volcano body[layout=mix] .horizontal-header .is-active{color:#fff!important}
|
4
dist/index.html
vendored
4
dist/index.html
vendored
@ -21,8 +21,8 @@
|
||||
<script>
|
||||
window.process = {};
|
||||
</script>
|
||||
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-24ofiFkH.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/vue-pure-admin/static/css/index-Uy9NyOda.css">
|
||||
<script type="module" crossorigin src="/vue-pure-admin/static/js/index-FZTP20Zj.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/vue-pure-admin/static/css/index-s0ntsDL8.css">
|
||||
<link rel="stylesheet" href="/vue-pure-admin/assets/layout-theme-light.css" id="theme-link-tag">
|
||||
</head>
|
||||
|
||||
|
2
dist/logo.svg
vendored
2
dist/logo.svg
vendored
@ -1 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" class="icon" viewBox="0 0 1024 1024"><path fill="#386BF3" d="M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109z"/><path fill="#C3D2FB" d="M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665z"/><path fill="#303F5B" d="M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.114 323.114 0 0 1-107.769-242.852z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" class="icon" viewBox="0 0 1024 1024"><path fill="#386BF3" d="M410.558.109c0 210.974-300.876 361.752-300.876 633.548 0 174.943 134.704 316.787 300.876 316.787s300.877-141.817 300.877-316.787C711.408 361.752 410.558 210.974 410.558.109"/><path fill="#C3D2FB" d="M613.469 73.665c0 211.055-300.877 361.914-300.877 633.547C312.592 882.156 447.296 1024 613.47 1024s300.876-141.817 300.876-316.788C914.29 435.58 613.469 284.72 613.469 73.665"/><path fill="#303F5B" d="M312.592 707.212c0-183.713 137.636-312.171 226.723-441.39 81.702 106.112 172.12 218.74 172.12 367.726A309.755 309.755 0 0 1 420.36 950.064a323.11 323.11 0 0 1-107.769-242.852z"/></svg>
|
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 708 B |
2
dist/platform-config.json
vendored
2
dist/platform-config.json
vendored
@ -17,7 +17,7 @@
|
||||
"EpThemeColor": "#409EFF",
|
||||
"ShowLogo": true,
|
||||
"ShowModel": "smart",
|
||||
"MenuArrowIconNoTransition": true,
|
||||
"MenuArrowIconNoTransition": false,
|
||||
"CachingAsyncRoutes": false,
|
||||
"TooltipEffect": "light",
|
||||
"ResponsiveStorageNameSpace": "responsive-",
|
||||
|
1
dist/static/css/fail-COBHJAdV.css
vendored
Normal file
1
dist/static/css/fail-COBHJAdV.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-8499cf2d] .el-descriptions__body{background:transparent}
|
1
dist/static/css/fail-_sOTf7Jt.css
vendored
1
dist/static/css/fail-_sOTf7Jt.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-3a9748db] .el-descriptions__body{background:transparent}
|
1
dist/static/css/high-UDPsWVbV.css
vendored
Normal file
1
dist/static/css/high-UDPsWVbV.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-6467bd3e] .el-tabs__nav-wrap:after{height:1px}[data-v-6467bd3e] .el-tabs__header{margin-top:10px}[data-v-6467bd3e] .el-alert__title{font-size:16px}[data-v-6467bd3e] .el-tabs__nav-next,[data-v-6467bd3e] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-6467bd3e] .el-tabs__nav-next.is-disabled,[data-v-6467bd3e] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/high-eiqAoKik.css
vendored
1
dist/static/css/high-eiqAoKik.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-52dc566f] .el-tabs__nav-wrap:after{height:1px}[data-v-52dc566f] .el-tabs__header{margin-top:10px}[data-v-52dc566f] .el-alert__title{font-size:16px}[data-v-52dc566f] .el-tabs__nav-next,[data-v-52dc566f] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-52dc566f] .el-tabs__nav-next.is-disabled,[data-v-52dc566f] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/index-2BstdCQU.css
vendored
1
dist/static/css/index-2BstdCQU.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-992c2551] .el-table{--el-table-border:none;--el-table-border-color:transparent}[data-v-992c2551] .el-table .el-empty__description{margin:0}[data-v-992c2551] .el-table .el-scrollbar__bar{display:none}
|
File diff suppressed because one or more lines are too long
1
dist/static/css/index-A_uzai9N.css
vendored
Normal file
1
dist/static/css/index-A_uzai9N.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-7b225109] .el-tabs__nav-wrap:after{height:1px}[data-v-7b225109] .el-tabs__header{margin-top:10px}[data-v-7b225109] .el-alert__title{font-size:16px}[data-v-7b225109] .el-tabs__nav-next,[data-v-7b225109] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-7b225109] .el-tabs__nav-next.is-disabled,[data-v-7b225109] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/index-D-CN4kEb.css
vendored
Normal file
1
dist/static/css/index-D-CN4kEb.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.pure-table-filter .el-table-filter__list{min-width:80px;padding:0}.pure-table-filter .el-table-filter__list li{line-height:28px}[data-v-46c2337f] .el-table{--el-table-border:none;--el-table-border-color:transparent}[data-v-46c2337f] .el-table .el-empty__description{margin:0}[data-v-46c2337f] .el-table .el-scrollbar__bar{display:none}
|
1
dist/static/css/index-E9awdrIX.css
vendored
1
dist/static/css/index-E9awdrIX.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-cf5712f1] .el-dropdown-menu__item i{margin:0}[data-v-cf5712f1] .el-button:focus-visible{outline:none}.search-form[data-v-cf5712f1] .el-form-item{margin-bottom:12px}
|
1
dist/static/css/index-GKol53i6.css
vendored
1
dist/static/css/index-GKol53i6.css
vendored
@ -1 +0,0 @@
|
||||
.search-form[data-v-29117a76] .el-form-item{margin-bottom:12px}
|
1
dist/static/css/index-IKxvjn13.css
vendored
Normal file
1
dist/static/css/index-IKxvjn13.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-76c5179d] .el-dropdown-menu__item i{margin:0}.search-form[data-v-76c5179d] .el-form-item{margin-bottom:12px}
|
1
dist/static/css/index-JRhfdqdx.css
vendored
Normal file
1
dist/static/css/index-JRhfdqdx.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.search-form[data-v-1d1bbb41] .el-form-item{margin-bottom:12px}
|
File diff suppressed because one or more lines are too long
1
dist/static/css/index-TG81QzPg.css
vendored
1
dist/static/css/index-TG81QzPg.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-961a2dec] .el-tabs__nav-wrap:after{height:1px}[data-v-961a2dec] .el-tabs__header{margin-top:10px}[data-v-961a2dec] .el-alert__title{font-size:16px}[data-v-961a2dec] .el-tabs__nav-next,[data-v-961a2dec] .el-tabs__nav-prev{color:var(--el-text-color-primary);font-size:16px}[data-v-961a2dec] .el-tabs__nav-next.is-disabled,[data-v-961a2dec] .el-tabs__nav-prev.is-disabled{opacity:.5}
|
1
dist/static/css/index-Uy9NyOda.css
vendored
1
dist/static/css/index-Uy9NyOda.css
vendored
File diff suppressed because one or more lines are too long
1
dist/static/css/index-WLCcagjn.css
vendored
1
dist/static/css/index-WLCcagjn.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-7052f4bb] .el-card{--el-card-border-color:none}[data-v-7052f4bb] .el-card .el-progress--line{width:85%}[data-v-7052f4bb] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-7052f4bb] .el-card .el-scrollbar__bar{display:none}[data-v-7052f4bb] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-7052f4bb]{margin:20px 20px 0!important}
|
1
dist/static/css/index-WoOfPLjo.css
vendored
Normal file
1
dist/static/css/index-WoOfPLjo.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-639f4ef4] .el-table__row.warning-row{--el-table-tr-bg-color:var(--el-color-warning-light-9)}[data-v-639f4ef4] .el-table__row.success-row{--el-table-tr-bg-color:var(--el-color-success-light-9)}.card-header[data-v-639f4ef4]{align-items:center;display:flex;justify-content:space-between}
|
1
dist/static/css/index-eFDMH6-r.css
vendored
Normal file
1
dist/static/css/index-eFDMH6-r.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-da11050c] .el-card{--el-card-border-color:none}[data-v-da11050c] .el-card .el-progress--line{width:85%}[data-v-da11050c] .el-card .el-progress-bar__innerText{font-size:15px}[data-v-da11050c] .el-card .el-scrollbar__bar{display:none}[data-v-da11050c] .el-card .el-timeline-item{margin:0 6px}.main-content[data-v-da11050c]{margin:20px 20px 0!important}
|
1
dist/static/css/index-gHkXLKmj.css
vendored
1
dist/static/css/index-gHkXLKmj.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-9c50475b] .el-dropdown-menu__item i{margin:0}.search-form[data-v-9c50475b] .el-form-item{margin-bottom:12px}
|
1
dist/static/css/index-nFS4jk7k.css
vendored
Normal file
1
dist/static/css/index-nFS4jk7k.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-c88afaa9] .el-dropdown-menu__item i{margin:0}[data-v-c88afaa9] .el-button:focus-visible{outline:none}.search-form[data-v-c88afaa9] .el-form-item{margin-bottom:12px}
|
1
dist/static/css/index-p6olJU3X.css
vendored
1
dist/static/css/index-p6olJU3X.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-ac3dbc7e] .el-table__row.warning-row{--el-table-tr-bg-color:var(--el-color-warning-light-9)}[data-v-ac3dbc7e] .el-table__row.success-row{--el-table-tr-bg-color:var(--el-color-success-light-9)}.card-header[data-v-ac3dbc7e]{align-items:center;display:flex;justify-content:space-between}
|
1
dist/static/css/index-s0ntsDL8.css
vendored
Normal file
1
dist/static/css/index-s0ntsDL8.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/css/success-P8Ud2N85.css
vendored
1
dist/static/css/success-P8Ud2N85.css
vendored
@ -1 +0,0 @@
|
||||
[data-v-c5db3369] .el-descriptions__body{background:transparent}
|
1
dist/static/css/success-zHmXQJDP.css
vendored
Normal file
1
dist/static/css/success-zHmXQJDP.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-6995ee6f] .el-descriptions__body{background:transparent}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{f as t,m as d,g as o,d as I,K as g,b as s,i as c,w as n,as as w,c as l,u as i,j as r,h as _,t as m,_ as B}from"./index-24ofiFkH.js";import{d as S}from"./more-2-fill-476mFkdN.js";const A={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"},N=o("path",{fill:"currentColor",d:"M8 1a2.5 2.5 0 0 0-2.5 2.5V5h-2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2V3.5A2.5 2.5 0 0 0 8 1m1.5 5v2h1V6H12v8H4V6h1.5v2h1V6zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0z"},null,-1),j=[N];function O(e,a){return t(),d("svg",A,[...j])}const D={render:O},E={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},K=o("path",{fill:"currentColor",d:"M2.5 12a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1zm0-1h11V4h-11zM15 13H1v1h14z"},null,-1),L=[K];function R(e,a){return t(),d("svg",E,[...L])}const T={render:R},q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"},F=o("path",{fill:"currentColor",d:"M2.52 6.37a5.5 5.5 0 0 1 10.98.13v4c0 .05 0 .1-.02.15A4.5 4.5 0 0 1 9 14.7H8v-1h1a3.5 3.5 0 0 0 3.4-2.7h-1.9a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5h1.93a4.5 4.5 0 0 0-8.86 0H5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5v-4c0-.04 0-.09.02-.13M12.5 7H11v3h1.5zm-9 0v3H5V7z"},null,-1),G=[F];function J(e,a){return t(),d("svg",q,[...G])}const P={render:J},Q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"},U=o("path",{fill:"currentColor",d:"M10 3H6V1.5H5V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-2V1.5h-1zM5 5h1V4h4v1h1V4h2v2H3V4h2zM3 7h10v6H3z"},null,-1),W=[U];function X(e,a){return t(),d("svg",Q,[...W])}const Y={render:X},Z={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"},ee=o("path",{fill:"currentColor",d:"M8 10.5c1.24 0 2.42.31 3.5.88v1.12h1v-1.14a.94.94 0 0 0-.49-.84 8.48 8.48 0 0 0-8.02 0 .94.94 0 0 0-.49.84v1.14h1v-1.12A7.5 7.5 0 0 1 8 10.5M10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},null,-1),te=o("path",{fill:"currentColor",d:"M2.5 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1zm11 1v11h-11v-11z"},null,-1),oe=[ee,te];function ce(e,a){return t(),d("svg",Z,[...oe])}const ne={render:ce},ae={class:"list-card-item_detail bg-bg_color"},se={class:"list-card-item_detail--operation"},ie={class:"list-card-item_detail--name text-text_color_primary"},de={class:"list-card-item_detail--desc text-text_color_regular"},le=I({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:a}){const p=e,v=a,x=h=>{v("manage-product",h)},$=h=>{v("delete-item",h)},C=g(()=>["list-card-item",{"list-card-item__disabled":!p.product.isSetup}]),V=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!p.product.isSetup}]);return(h,u)=>{const y=s("el-tag"),k=s("IconifyIconOffline"),f=s("el-dropdown-item"),z=s("el-dropdown-menu"),H=s("el-dropdown"),M=s("el-row");return t(),d("div",{class:w(C.value)},[o("div",ae,[c(M,{justify:"space-between"},{default:n(()=>[o("div",{class:w(V.value)},[e.product.type===1?(t(),l(i(D),{key:0})):r("",!0),e.product.type===2?(t(),l(i(Y),{key:1})):r("",!0),e.product.type===3?(t(),l(i(P),{key:2})):r("",!0),e.product.type===4?(t(),l(i(ne),{key:3})):r("",!0),e.product.type===5?(t(),l(i(T),{key:4})):r("",!0)],2),o("div",se,[c(y,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:n(()=>[_(m(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),c(H,{trigger:"click",disabled:!e.product.isSetup},{dropdown:n(()=>[c(z,{disabled:!e.product.isSetup},{default:n(()=>[c(f,{onClick:u[0]||(u[0]=b=>x(e.product))},{default:n(()=>[_(" 管理 ")]),_:1}),c(f,{onClick:u[1]||(u[1]=b=>$(e.product))},{default:n(()=>[_(" 删除 ")]),_:1})]),_:1},8,["disabled"])]),default:n(()=>[c(k,{icon:i(S),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),o("p",ie,m(e.product.name),1),o("p",de,m(e.product.description),1)])],2)}}}),ue=B(le,[["__scopeId","data-v-aa9a6877"]]);export{ue as default};
|
||||
import{g as t,n as d,h as o,d as I,J as g,b as s,j as c,w as n,as as w,c as l,u as i,k as r,i as _,t as m,_ as B}from"./index-FZTP20Zj.js";import{d as S}from"./more-2-fill-476mFkdN.js";const A={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-shop",viewBox:"0 0 16 16"},N=o("path",{fill:"currentColor",d:"M8 1a2.5 2.5 0 0 0-2.5 2.5V5h-2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-2V3.5A2.5 2.5 0 0 0 8 1m1.5 5v2h1V6H12v8H4V6h1.5v2h1V6zm0-1h-3V3.5a1.5 1.5 0 1 1 3 0z"},null,-1),j=[N];function O(e,a){return t(),d("svg",A,[...j])}const D={render:O},E={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-laptop",viewBox:"0 0 16 16"},J=o("path",{fill:"currentColor",d:"M2.5 12a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1zm0-1h11V4h-11zM15 13H1v1h14z"},null,-1),L=[J];function R(e,a){return t(),d("svg",E,[...L])}const T={render:R},q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-service",viewBox:"0 0 16 16"},F=o("path",{fill:"currentColor",d:"M2.52 6.37a5.5 5.5 0 0 1 10.98.13v4c0 .05 0 .1-.02.15A4.5 4.5 0 0 1 9 14.7H8v-1h1a3.5 3.5 0 0 0 3.4-2.7h-1.9a.5.5 0 0 1-.5-.5v-4c0-.28.22-.5.5-.5h1.93a4.5 4.5 0 0 0-8.86 0H5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5v-4c0-.04 0-.09.02-.13M12.5 7H11v3h1.5zm-9 0v3H5V7z"},null,-1),G=[F];function K(e,a){return t(),d("svg",q,[...G])}const P={render:K},Q={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-calendar",viewBox:"0 0 16 16"},U=o("path",{fill:"currentColor",d:"M10 3H6V1.5H5V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-2V1.5h-1zM5 5h1V4h4v1h1V4h2v2H3V4h2zM3 7h10v6H3z"},null,-1),W=[U];function X(e,a){return t(),d("svg",Q,[...W])}const Y={render:X},Z={width:"1em",height:"1em",fill:"none",class:"t-icon t-icon-user-avatar",viewBox:"0 0 16 16"},ee=o("path",{fill:"currentColor",d:"M8 10.5c1.24 0 2.42.31 3.5.88v1.12h1v-1.14a.94.94 0 0 0-.49-.84 8.48 8.48 0 0 0-8.02 0 .94.94 0 0 0-.49.84v1.14h1v-1.12A7.5 7.5 0 0 1 8 10.5M10.5 6a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m-1 0a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0"},null,-1),te=o("path",{fill:"currentColor",d:"M2.5 1.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1zm11 1v11h-11v-11z"},null,-1),oe=[ee,te];function ce(e,a){return t(),d("svg",Z,[...oe])}const ne={render:ce},ae={class:"list-card-item_detail bg-bg_color"},se={class:"list-card-item_detail--operation"},ie={class:"list-card-item_detail--name text-text_color_primary"},de={class:"list-card-item_detail--desc text-text_color_regular"},le=I({name:"ReCard",__name:"Card",props:{product:{type:Object}},emits:["manage-product","delete-item"],setup(e,{emit:a}){const p=e,v=a,x=h=>{v("manage-product",h)},$=h=>{v("delete-item",h)},C=g(()=>["list-card-item",{"list-card-item__disabled":!p.product.isSetup}]),V=g(()=>["list-card-item_detail--logo",{"list-card-item_detail--logo__disabled":!p.product.isSetup}]);return(h,u)=>{const y=s("el-tag"),k=s("IconifyIconOffline"),f=s("el-dropdown-item"),z=s("el-dropdown-menu"),H=s("el-dropdown"),M=s("el-row");return t(),d("div",{class:w(C.value)},[o("div",ae,[c(M,{justify:"space-between"},{default:n(()=>[o("div",{class:w(V.value)},[e.product.type===1?(t(),l(i(D),{key:0})):r("",!0),e.product.type===2?(t(),l(i(Y),{key:1})):r("",!0),e.product.type===3?(t(),l(i(P),{key:2})):r("",!0),e.product.type===4?(t(),l(i(ne),{key:3})):r("",!0),e.product.type===5?(t(),l(i(T),{key:4})):r("",!0)],2),o("div",se,[c(y,{color:e.product.isSetup?"#00a870":"#eee",effect:"dark",class:"mx-1 list-card-item_detail--operation--tag"},{default:n(()=>[_(m(e.product.isSetup?"已启用":"已停用"),1)]),_:1},8,["color"]),c(H,{trigger:"click",disabled:!e.product.isSetup},{dropdown:n(()=>[c(z,{disabled:!e.product.isSetup},{default:n(()=>[c(f,{onClick:u[0]||(u[0]=b=>x(e.product))},{default:n(()=>[_(" 管理 ")]),_:1}),c(f,{onClick:u[1]||(u[1]=b=>$(e.product))},{default:n(()=>[_(" 删除 ")]),_:1})]),_:1},8,["disabled"])]),default:n(()=>[c(k,{icon:i(S),class:"text-[24px]"},null,8,["icon"])]),_:1},8,["disabled"])])]),_:1}),o("p",ie,m(e.product.name),1),o("p",de,m(e.product.description),1)])],2)}}}),ue=B(le,[["__scopeId","data-v-aa9a6877"]]);export{ue as default};
|
@ -1 +1 @@
|
||||
import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang-jJRK_Ofk.js";import"./index-24ofiFkH.js";export{m as default};
|
||||
import{_ as m}from"./DialogForm.vue_vue_type_script_setup_true_lang-TjuFr6u8.js";import"./index-FZTP20Zj.js";export{m as default};
|
1
dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-TjuFr6u8.js
vendored
Normal file
1
dist/static/js/DialogForm.vue_vue_type_script_setup_true_lang-TjuFr6u8.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
var F=(b,V,d)=>new Promise((_,p)=>{var r=n=>{try{i(d.next(n))}catch(m){p(m)}},u=n=>{try{i(d.throw(n))}catch(m){p(m)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(r,u);i((d=d.apply(b,V)).next())});import{d as L,r as c,X as g,c as R,w as t,b as s,g as C,j as a,i as v,n as q,z,t as I,F as M,s as P}from"./index-FZTP20Zj.js";const A=L({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(b,{emit:V}){const d=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],_=b,p=c(),r=c(!1),u=c(_.data),i=c(""),n=o=>F(this,null,function*(){o&&(yield o.validate(e=>{e&&(P("提交成功",{type:"success"}),r.value=!1,m(o))}))}),m=o=>{o&&o.resetFields()},x=()=>{r.value=!1,m(p.value)},U=V;g(()=>r.value,o=>{U("update:visible",o)}),g(()=>_.visible,o=>{r.value=o}),g(()=>_.data,o=>{u.value=o});const B={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const y=s("el-input"),f=s("el-form-item"),w=s("el-radio"),D=s("el-radio-group"),N=s("el-option"),O=s("el-select"),S=s("el-form"),k=s("el-button"),T=s("el-dialog");return C(),R(T,{modelValue:r.value,"onUpdate:modelValue":e[6]||(e[6]=l=>r.value=l),title:"新建产品",width:680,draggable:"","before-close":x},{footer:t(()=>[a(k,{onClick:x},{default:t(()=>[v("取消")]),_:1}),a(k,{type:"primary",onClick:e[5]||(e[5]=l=>n(p.value))},{default:t(()=>[v(" 确定 ")]),_:1})]),default:t(()=>[a(S,{ref_key:"ruleFormRef",ref:p,model:u.value,rules:B,"label-width":"100px"},{default:t(()=>[a(f,{label:"产品名称",prop:"name"},{default:t(()=>[a(y,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),a(f,{label:"产品状态",prop:"status"},{default:t(()=>[a(D,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:t(()=>[a(w,{label:"0"},{default:t(()=>[v("已停用")]),_:1}),a(w,{label:"1"},{default:t(()=>[v("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"产品描述",prop:"description"},{default:t(()=>[a(y,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),a(f,{label:"产品类型",prop:"type"},{default:t(()=>[a(O,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:t(()=>[(C(),q(M,null,z(d,(l,j)=>a(N,{key:j,value:l.value,label:l.label},{default:t(()=>[v(I(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"备注",prop:"mark"},{default:t(()=>[a(y,{modelValue:i.value,"onUpdate:modelValue":e[4]||(e[4]=l=>i.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{A as _};
|
@ -1 +0,0 @@
|
||||
var F=(b,V,d)=>new Promise((_,p)=>{var r=n=>{try{i(d.next(n))}catch(m){p(m)}},u=n=>{try{i(d.throw(n))}catch(m){p(m)}},i=n=>n.done?_(n.value):Promise.resolve(n.value).then(r,u);i((d=d.apply(b,V)).next())});import{d as L,r as c,X as g,c as R,w as t,b as s,f as C,i as a,h as v,m as j,x as I,t as M,F as P,q as X}from"./index-24ofiFkH.js";const A=L({__name:"DialogForm",props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})}},emits:["update:visible"],setup(b,{emit:V}){const d=[{label:"网关",value:1},{label:"人工智能",value:2},{label:"CVM",value:3},{label:"防火墙",value:4},{label:"未知",value:5}],_=b,p=c(),r=c(!1),u=c(_.data),i=c(""),n=o=>F(this,null,function*(){o&&(yield o.validate(e=>{e&&(X("提交成功",{type:"success"}),r.value=!1,m(o))}))}),m=o=>{o&&o.resetFields()},x=()=>{r.value=!1,m(p.value)},U=V;g(()=>r.value,o=>{U("update:visible",o)}),g(()=>_.visible,o=>{r.value=o}),g(()=>_.data,o=>{u.value=o});const B={name:[{required:!0,message:"请输入产品名称",trigger:"blur"}]};return(o,e)=>{const y=s("el-input"),f=s("el-form-item"),w=s("el-radio"),D=s("el-radio-group"),N=s("el-option"),O=s("el-select"),S=s("el-form"),k=s("el-button"),T=s("el-dialog");return C(),R(T,{modelValue:r.value,"onUpdate:modelValue":e[6]||(e[6]=l=>r.value=l),title:"新建产品",width:680,draggable:"","before-close":x},{footer:t(()=>[a(k,{onClick:x},{default:t(()=>[v("取消")]),_:1}),a(k,{type:"primary",onClick:e[5]||(e[5]=l=>n(p.value))},{default:t(()=>[v(" 确定 ")]),_:1})]),default:t(()=>[a(S,{ref_key:"ruleFormRef",ref:p,model:u.value,rules:B,"label-width":"100px"},{default:t(()=>[a(f,{label:"产品名称",prop:"name"},{default:t(()=>[a(y,{modelValue:u.value.name,"onUpdate:modelValue":e[0]||(e[0]=l=>u.value.name=l),style:{width:"480px"},placeholder:"请输入产品名称"},null,8,["modelValue"])]),_:1}),a(f,{label:"产品状态",prop:"status"},{default:t(()=>[a(D,{modelValue:u.value.status,"onUpdate:modelValue":e[1]||(e[1]=l=>u.value.status=l)},{default:t(()=>[a(w,{label:"0"},{default:t(()=>[v("已停用")]),_:1}),a(w,{label:"1"},{default:t(()=>[v("已启用")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"产品描述",prop:"description"},{default:t(()=>[a(y,{modelValue:u.value.description,"onUpdate:modelValue":e[2]||(e[2]=l=>u.value.description=l),style:{width:"480px"},placeholder:"请输入产品描述"},null,8,["modelValue"])]),_:1}),a(f,{label:"产品类型",prop:"type"},{default:t(()=>[a(O,{modelValue:u.value.type,"onUpdate:modelValue":e[3]||(e[3]=l=>u.value.type=l),clearable:"",style:{width:"480px"}},{default:t(()=>[(C(),j(P,null,I(d,(l,q)=>a(N,{key:q,value:l.value,label:l.label},{default:t(()=>[v(M(l.label),1)]),_:2},1032,["value","label"])),64))]),_:1},8,["modelValue"])]),_:1}),a(f,{label:"备注",prop:"mark"},{default:t(()=>[a(y,{modelValue:i.value,"onUpdate:modelValue":e[4]||(e[4]=l=>i.value=l),type:"textarea",style:{width:"480px"},placeholder:"请输入内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{A as _};
|
@ -1 +1 @@
|
||||
var l=(e,a,t)=>new Promise((i,n)=>{var S=s=>{try{u(t.next(s))}catch(d){n(d)}},b=s=>{try{u(t.throw(s))}catch(d){n(d)}},u=s=>s.done?i(s.value):Promise.resolve(s.value).then(S,b);u((t=t.apply(e,a)).next())});import{aJ as h,aK as o,aL as r,aM as p,an as c,aN as f}from"./index-24ofiFkH.js";const g=h({id:"pure-app",state:()=>{var e,a,t,i;return{sidebar:{opened:(a=(e=o().getItem(`${r()}layout`))==null?void 0:e.sidebarStatus)!=null?a:p().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:(i=(t=o().getItem(`${r()}layout`))==null?void 0:t.layout)!=null?i:p().Layout,device:c()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,a){const t=o().getItem(`${r()}layout`);e&&a?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,t.sidebarStatus=!0):!e&&a?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,t.sidebarStatus=!1):!e&&!a&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,t.sidebarStatus=this.sidebar.opened),o().setItem(`${r()}layout`,t)},toggleSideBar(e,a){return l(this,null,function*(){yield this.TOGGLE_SIDEBAR(e,a)})},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function w(){return g(f)}export{w as u};
|
||||
var l=(e,a,t)=>new Promise((i,n)=>{var S=s=>{try{u(t.next(s))}catch(d){n(d)}},b=s=>{try{u(t.throw(s))}catch(d){n(d)}},u=s=>s.done?i(s.value):Promise.resolve(s.value).then(S,b);u((t=t.apply(e,a)).next())});import{aJ as h,aK as o,aL as r,aM as p,an as c,aN as f}from"./index-FZTP20Zj.js";const g=h({id:"pure-app",state:()=>{var e,a,t,i;return{sidebar:{opened:(a=(e=o().getItem(`${r()}layout`))==null?void 0:e.sidebarStatus)!=null?a:p().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:(i=(t=o().getItem(`${r()}layout`))==null?void 0:t.layout)!=null?i:p().Layout,device:c()?"mobile":"desktop",sortSwap:!1}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,a){const t=o().getItem(`${r()}layout`);e&&a?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,t.sidebarStatus=!0):!e&&a?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,t.sidebarStatus=!1):!e&&!a&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,t.sidebarStatus=this.sidebar.opened),o().setItem(`${r()}layout`,t)},toggleSideBar(e,a){return l(this,null,function*(){yield this.TOGGLE_SIDEBAR(e,a)})},toggleDevice(e){this.device=e},setLayout(e){this.layout=e},setSortSwap(e){this.sortSwap=e}}});function w(){return g(f)}export{w as u};
|
@ -1 +1 @@
|
||||
import{f as e,m as o,g as t}from"./index-24ofiFkH.js";const a={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},n=t("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),s=t("path",{d:"M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),c=[n,s];function l(h,r){return e(),o("svg",a,[...c])}const _={render:l};export{_ as b};
|
||||
import{g as e,n as o,h as t}from"./index-FZTP20Zj.js";const a={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},n=t("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),s=t("path",{d:"M2.88 18.054a35.9 35.9 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0q.25.27.413.455a35.9 35.9 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44 44 0 0 1-6.584-.874m6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42 42 0 0 0 4.227-.454A33.9 33.9 0 0 0 12 4.09a33.9 33.9 0 0 0-6.649 12.387q2.093.334 4.227.454M12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6m0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),c=[n,s];function h(l,r){return e(),o("svg",a,[...c])}const _={render:h};export{_ as b};
|
1
dist/static/js/bar-29eMfy1m.js
vendored
1
dist/static/js/bar-29eMfy1m.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as m}from"./bar.vue_vue_type_script_setup_true_lang-RzP2bEC4.js";import"./index-24ofiFkH.js";export{m as default};
|
1
dist/static/js/bar-OHNEqV0k.js
vendored
Normal file
1
dist/static/js/bar-OHNEqV0k.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as m}from"./bar.vue_vue_type_script_setup_true_lang-sIhfEQ_x.js";import"./index-FZTP20Zj.js";export{m as default};
|
@ -1 +0,0 @@
|
||||
var l=(i,n,e)=>new Promise((p,r)=>{var o=t=>{try{a(e.next(t))}catch(s){r(s)}},c=t=>{try{a(e.throw(t))}catch(s){r(s)}},a=t=>t.done?p(t.value):Promise.resolve(t.value).then(o,c);a((e=e.apply(i,n)).next())});import{d,at as f,K as m,r as u,au as y,X as x,f as h,m as b,s as g}from"./index-24ofiFkH.js";const S=d({__name:"bar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i,{expose:n}){const e=i,{isDark:p}=f(),r=m(()=>p.value?"dark":"light"),o=u(),{setOptions:c,resize:a}=y(o,{theme:r});return x(()=>e,()=>l(this,null,function*(){yield g(),c({resize:!1,color:["#41b6ff","#e85f33"],tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{top:"20px",left:"50px",right:0},legend:{data:["需求人数","提问数量"],textStyle:{color:"#606266",fontSize:"0.875rem"},bottom:0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisLabel:{fontSize:"0.875rem"},axisPointer:{type:"shadow"}}],yAxis:[{type:"value",axisLabel:{fontSize:"0.875rem"},splitLine:{show:!1}}],series:[{name:"需求人数",type:"bar",barWidth:10,itemStyle:{color:"#41b6ff",borderRadius:[10,10,0,0]},data:e.requireData},{name:"提问数量",type:"bar",barWidth:10,itemStyle:{color:"#e86033ce",borderRadius:[10,10,0,0]},data:e.questionData}]})}),{deep:!0,immediate:!0}),n({resize:a}),(t,s)=>(h(),b("div",{ref_key:"chartRef",ref:o,style:{width:"100%",height:"365px"}},null,512))}});export{S as _};
|
1
dist/static/js/bar.vue_vue_type_script_setup_true_lang-sIhfEQ_x.js
vendored
Normal file
1
dist/static/js/bar.vue_vue_type_script_setup_true_lang-sIhfEQ_x.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
var l=(i,a,t)=>new Promise((s,r)=>{var n=e=>{try{o(t.next(e))}catch(c){r(c)}},p=e=>{try{o(t.throw(e))}catch(c){r(c)}},o=e=>e.done?s(e.value):Promise.resolve(e.value).then(n,p);o((t=t.apply(i,a)).next())});import{d,at as f,J as y,r as m,au as u,X as x,g as h,n as b,y as g}from"./index-FZTP20Zj.js";const S=d({__name:"bar",props:{requireData:{type:Array,default:()=>[]},questionData:{type:Array,default:()=>[]}},setup(i){const a=i,{isDark:t}=f(),s=y(()=>t.value?"dark":"light"),r=m(),{setOptions:n}=u(r,{theme:s});return x(()=>a,()=>l(this,null,function*(){yield g(),n({container:".bar-card",color:["#41b6ff","#e85f33"],tooltip:{trigger:"axis",axisPointer:{type:"none"}},grid:{top:"20px",left:"50px",right:0},legend:{data:["需求人数","提问数量"],textStyle:{color:"#606266",fontSize:"0.875rem"},bottom:0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"],axisLabel:{fontSize:"0.875rem"},axisPointer:{type:"shadow"}}],yAxis:[{type:"value",axisLabel:{fontSize:"0.875rem"},splitLine:{show:!1}}],series:[{name:"需求人数",type:"bar",barWidth:10,itemStyle:{color:"#41b6ff",borderRadius:[10,10,0,0]},data:a.requireData},{name:"提问数量",type:"bar",barWidth:10,itemStyle:{color:"#e86033ce",borderRadius:[10,10,0,0]},data:a.questionData}]})}),{deep:!0,immediate:!0}),(p,o)=>(h(),b("div",{ref_key:"chartRef",ref:r,style:{width:"100%",height:"365px"}},null,512))}});export{S as _};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/base-12qGhhPz.js
vendored
1
dist/static/js/base-12qGhhPz.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-N_nKBHlp.js";import"./data-K5NZfVqP.js";import"./index-24ofiFkH.js";export{o as default};
|
1
dist/static/js/base-PsmEUyG8.js
vendored
Normal file
1
dist/static/js/base-PsmEUyG8.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-b7S-FWGB.js";import"./index.esm-5C_caiub.js";import"./index-FZTP20Zj.js";export{o as default};
|
1
dist/static/js/base-i4UKAHOn.js
vendored
1
dist/static/js/base-i4UKAHOn.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-seYIuKdZ.js";import"./index.esm-O_7wkOri.js";import"./index-24ofiFkH.js";export{o as default};
|
1
dist/static/js/base-teYxx_k_.js
vendored
Normal file
1
dist/static/js/base-teYxx_k_.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./base.vue_vue_type_script_setup_true_lang-jLGgER00.js";import"./data-fmVO171t.js";import"./index-FZTP20Zj.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{T as c,E as f}from"./index.esm-O_7wkOri.js";import{d as m,b5 as p,r as v,o as _,a as C,f as b,m as g,i as l,u as n}from"./index-24ofiFkH.js";const h={class:"wangeditor"},r="default",E=m({name:"BaseEditor",__name:"base",setup(x){const o=p(),t=v("<p>你好</p>");_(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return C(()=>{const e=o.value;e!=null&&e.destroy()}),(e,a)=>(b(),g("div",h,[l(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),l(n(f),{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=i=>t.value=i),defaultConfig:d,mode:r,style:{height:"500px","overflow-y":"hidden"},onOnCreated:u},null,8,["modelValue"])]))}});export{E as _};
|
||||
import{T as c,E as f}from"./index.esm-5C_caiub.js";import{d as m,b5 as p,r as v,o as _,a as g,g as C,n as b,j as l,u as n}from"./index-FZTP20Zj.js";const h={class:"wangeditor"},r="default",E=m({name:"BaseEditor",__name:"base",setup(x){const o=p(),t=v("<p>你好</p>");_(()=>{setTimeout(()=>{t.value="<p>我是模拟的异步数据</p>"},1500)});const s={excludeKeys:"fullScreen"},d={placeholder:"请输入内容..."},u=e=>{o.value=e};return g(()=>{const e=o.value;e!=null&&e.destroy()}),(e,a)=>(C(),b("div",h,[l(n(c),{editor:o.value,defaultConfig:s,mode:r,style:{"border-bottom":"1px solid #ccc"}},null,8,["editor"]),l(n(f),{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=i=>t.value=i),defaultConfig:d,mode:r,style:{height:"500px","overflow-y":"hidden"},onOnCreated:u},null,8,["modelValue"])]))}});export{E as _};
|
@ -1 +1 @@
|
||||
import{t as o}from"./data-K5NZfVqP.js";import{d as t,b as n,f as r,c as p,u as s}from"./index-24ofiFkH.js";const b=t({__name:"base",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=n("pure-table");return r(),p(a,{data:s(o),columns:e},null,8,["data"])}}});export{b as _};
|
||||
import{t as o}from"./data-fmVO171t.js";import{d as t,b as n,g as r,c as p,u as s}from"./index-FZTP20Zj.js";const b=t({__name:"base",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=n("pure-table");return r(),p(a,{data:s(o),columns:e},null,8,["data"])}}});export{b as _};
|
@ -1 +1 @@
|
||||
import{C as _,a as m,b as d,c as l,d as i,e as D}from"./index.esm-fx23kGcw.js";import{d as h,_ as b,b as a,e as F,f as r,m as p,k as B,i as e,w as t,h as u,p as w,l as E,g as C}from"./index-24ofiFkH.js";const I=h({name:"ExampleSimple",components:{[_.name]:_,[m.name]:m,[d.name]:d,[l.name]:l,[i.name]:i},directives:{contextmenu:D}}),x=o=>(w("data-v-17318510"),o=o(),E(),o),S=x(()=>C("h1",null,"基本使用",-1)),A={class:"wrapper"},$=x(()=>C("code",null,"右键点击此区域",-1)),k=[$];function G(o,N,V,g,H,L){const n=a("v-contextmenu-item"),c=a("v-contextmenu-divider"),s=a("v-contextmenu-submenu"),v=a("v-contextmenu"),f=F("contextmenu");return r(),p("div",null,[S,B((r(),p("div",A,k)),[[f,void 0,"contextmenu"]]),e(v,{ref:"contextmenu"},{default:t(()=>[e(n,null,{default:t(()=>[u("GitHub")]),_:1}),e(n,null,{default:t(()=>[u("GitLab")]),_:1}),e(c),e(s,{title:"蔬菜菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("土豆")]),_:1}),e(s,{title:"青菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("小油菜")]),_:1}),e(n,null,{default:t(()=>[u("空心菜")]),_:1})]),_:1}),e(n,null,{default:t(()=>[u("黄瓜")]),_:1})]),_:1}),e(n,{disabled:""},{default:t(()=>[u("菠萝蜜")]),_:1}),e(c),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const q=b(I,[["render",G],["__scopeId","data-v-17318510"]]);export{q as default};
|
||||
import{C as _,a as m,b as d,c as l,d as i,e as D}from"./index.esm-2oIdtxgO.js";import{d as h,_ as b,b as a,f as F,g as r,n as p,l as B,j as e,w as t,i as u,p as w,m as E,h as C}from"./index-FZTP20Zj.js";const I=h({name:"ExampleSimple",components:{[_.name]:_,[m.name]:m,[d.name]:d,[l.name]:l,[i.name]:i},directives:{contextmenu:D}}),x=o=>(w("data-v-17318510"),o=o(),E(),o),S=x(()=>C("h1",null,"基本使用",-1)),A={class:"wrapper"},$=x(()=>C("code",null,"右键点击此区域",-1)),G=[$];function N(o,V,k,g,j,H){const n=a("v-contextmenu-item"),c=a("v-contextmenu-divider"),s=a("v-contextmenu-submenu"),v=a("v-contextmenu"),f=F("contextmenu");return r(),p("div",null,[S,B((r(),p("div",A,G)),[[f,void 0,"contextmenu"]]),e(v,{ref:"contextmenu"},{default:t(()=>[e(n,null,{default:t(()=>[u("GitHub")]),_:1}),e(n,null,{default:t(()=>[u("GitLab")]),_:1}),e(c),e(s,{title:"蔬菜菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("土豆")]),_:1}),e(s,{title:"青菜"},{default:t(()=>[e(n,null,{default:t(()=>[u("小油菜")]),_:1}),e(n,null,{default:t(()=>[u("空心菜")]),_:1})]),_:1}),e(n,null,{default:t(()=>[u("黄瓜")]),_:1})]),_:1}),e(n,{disabled:""},{default:t(()=>[u("菠萝蜜")]),_:1}),e(c),e(n,null,{default:t(()=>[u("哈密瓜")]),_:1})]),_:1},512)])}const q=b(I,[["render",N],["__scopeId","data-v-17318510"]]);export{q as default};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-Wg9GtpMl.js";import"./data-K5NZfVqP.js";import"./index-24ofiFkH.js";export{o as default};
|
||||
import{_ as o}from"./border.vue_vue_type_script_setup_true_lang-qo1bk13U.js";import"./data-fmVO171t.js";import"./index-FZTP20Zj.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as o}from"./data-K5NZfVqP.js";import{d as r,b as t,f as n,c as p,u as s}from"./index-24ofiFkH.js";const d=r({__name:"border",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=t("pure-table");return n(),p(a,{data:s(o),columns:e,border:""},null,8,["data"])}}});export{d as _};
|
||||
import{t as o}from"./data-fmVO171t.js";import{d as r,b as t,g as n,c as p,u as s}from"./index-FZTP20Zj.js";const d=r({__name:"border",setup(l){const e=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(c,_)=>{const a=t("pure-table");return n(),p(a,{data:s(o),columns:e,border:""},null,8,["data"])}}});export{d as _};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{r as u,aj as p,q as c}from"./index-24ofiFkH.js";import{b as r}from"./data-q0x8glgs.js";function m(t){const a=u(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=p({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"#f5f7fa":""}}function s(e){a.value=e.name,t.value.blur(),c(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{m as useColumns};
|
||||
import{r as u,aj as p,s as c}from"./index-FZTP20Zj.js";import{b as r}from"./data-6Sk169EO.js";function m(t){const a=u(""),o=[{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],n=p({pageSize:5,currentPage:1,layout:"prev, pager, next",total:r.length,background:!0,small:!0});function l({row:{name:e}}){return{cursor:"pointer",background:e===a.value?"#f5f7fa":""}}function s(e){a.value=e.name,t.value.blur(),c(`当前选中行的数据为:${JSON.stringify(e)}`,{type:"success"})}return{columns:o,pagination:n,selectValue:a,tableDataEdit:r,rowStyle:l,onRowClick:s}}export{m as useColumns};
|
1
dist/static/js/columns-AfOdTwV5.js
vendored
Normal file
1
dist/static/js/columns-AfOdTwV5.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{d as i}from"./arrow-right-s-line-xoI-mVSn.js";import{j as l,b as o,i as e}from"./index-FZTP20Zj.js";const r={width:24,height:24,body:'<path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586Z"/>'};function t(){return{columns:[{cellRenderer:()=>l("div",{class:"w-full"},[l("div",{class:"flex items-center"},[l(o("iconify-icon-offline"),{icon:r,width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[e("您的账户已被冻结")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[e("立即解冻"),l(o("iconify-icon-offline"),{icon:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])]),l("br",null,null),l("div",{class:"flex items-center"},[l(o("iconify-icon-offline"),{icon:r,width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[e("您的账户还不具备申请资格")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[e("立即升级"),l(o("iconify-icon-offline"),{icon:i,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])])}]}}export{t as useColumns};
|
1
dist/static/js/columns-HAThjL67.js
vendored
Normal file
1
dist/static/js/columns-HAThjL67.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{r as n,O,J as i,j as t,l as r,v as c,df as y,b as f,s as j,aR as I}from"./index-FZTP20Zj.js";import{b as M}from"./data-6Sk169EO.js";import{d as S}from"./edit-pen-A29bH4uw.js";import{d as V}from"./check-f0nOH8pf.js";function E(){const l=n({}),u=n({}),o=n(-1),v=n(O(M,!0)),m=i(()=>e=>{var a;return(a=l.value[e])==null?void 0:a.value}),s=i(()=>e=>{var a;return(a=u.value[e])==null?void 0:a.editing}),p=i(()=>(e,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(e)&&["scale-150","text-red-500"]]),b=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:e,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=a,onMouseleave:()=>d(a)},[r(t("p",null,[e.id]),[[c,!s.value(a)]]),t(y,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:m.value(a),onInput:C=>h(C,a)},null),[[c,s.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:V,class:p.value(a),onClick:()=>_(a)},null),[[c,s.value(a)]]),r(t(f("iconify-icon-offline"),{icon:S,class:p.value(a,!0),onClick:()=>g(e,a)},null),[[c,o.value===a&&!s.value(a)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function g({id:e},a){l.value[a]=Object.assign({},l.value[a],{value:e}),u.value[a]=Object.assign({},u.value[a],{editing:!0})}function d(e){var a;(a=l.value[e])!=null&&a.value?o.value=e:o.value=-1}function h(e,a){l.value[a].value=e}function _(e){v.value[e].id=l.value[e].value,j(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),I().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{E as useColumns};
|
@ -1 +1 @@
|
||||
import{a as n}from"./data-q0x8glgs.js";import{r as i,H as m,at as p,K as u,au as h,a_ as d,q as f}from"./index-24ofiFkH.js";function k(){const a=i(m(n,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=p(),o=u(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:r}=h(d(`PieChartRef${e}`),{theme:o});r({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:c}})=>{f(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${c}`,{type:"success"})}})}),{columns:t,dataList:a}}export{k as useColumns};
|
||||
import{a as n}from"./data-6Sk169EO.js";import{r as i,O as m,at as p,J as u,au as h,a_ as f,s as d}from"./index-FZTP20Zj.js";function v(){const a=i(m(n,!0).splice(0,4)),t=[{label:"ID",prop:"id"},{label:"姓名",prop:"name"},{label:"日期",prop:"date"},{label:"echarts图表",slot:"echart"}],{isDark:s}=p(),o=u(()=>s.value?"dark":"light");return a.value.forEach((b,e)=>{const{setOptions:r}=h(f(`PieChartRef${e}`),{theme:o});r({tooltip:{trigger:"item",confine:!0},series:[{name:"Github信息",type:"pie",data:[{value:1067,name:"watchers"},{value:4037,name:"star"},{value:859,name:"forks"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:({data:{name:l,value:c}})=>{d(`您点击了第 ${e+1} 行,图表标题为${l},图表数据为:${c}`,{type:"success"})}})}),{columns:t,dataList:a}}export{v as useColumns};
|
@ -1 +1 @@
|
||||
import{S as c}from"./sortable.esm-budB5lo5.js";import{r as i,H as p,i as a,b as u,s as d}from"./index-24ofiFkH.js";import{a as m}from"./data-q0x8glgs.js";function D(){const e=i(p(m,!0)),n=o=>{o.preventDefault(),d(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:l})=>{const s=e.value.splice(l,1)[0];e.value.splice(t,0,s)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>a("div",{class:"flex items-center"},[a(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),a("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{D as useColumns};
|
||||
import{S as c}from"./sortable.esm-budB5lo5.js";import{r as p,O as i,j as a,b as u,y as d}from"./index-FZTP20Zj.js";import{a as m}from"./data-6Sk169EO.js";function y(){const e=p(i(m,!0)),n=o=>{o.preventDefault(),d(()=>{const r=document.querySelector(".el-table__body-wrapper tbody");c.create(r,{animation:300,handle:".drag-btn",onEnd:({newIndex:t,oldIndex:l})=>{const s=e.value.splice(l,1)[0];e.value.splice(t,0,s)}})})};return{columns:[{label:"ID",prop:"id",cellRenderer:({row:o})=>a("div",{class:"flex items-center"},[a(u("iconify-icon-online"),{icon:"icon-park-outline:drag",class:"drag-btn cursor-grab",onMouseenter:r=>n(r)},null),a("p",{class:"ml-[16px]"},[o.id])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],dataList:e}}export{y as useColumns};
|
@ -1 +1 @@
|
||||
import{b as o}from"./data-q0x8glgs.js";import{r as u,aj as i}from"./index-24ofiFkH.js";function h(r,l){const n=u([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=i({pageSize:10,currentPage:1,layout:"prev, pager, next",total:o.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:o,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=l.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=l.value.getTableRef();a(o.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{h as useColumns};
|
||||
import{b as o}from"./data-6Sk169EO.js";import{r as u,aj as i}from"./index-FZTP20Zj.js";function h(r,l){const n=u([]),c=[{type:"selection",align:"left"},{label:"ID",prop:"id",width:80},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],s=i({pageSize:10,currentPage:1,layout:"prev, pager, next",total:o.length,background:!0,small:!0});return{columns:c,pagination:s,selectValue:n,tableDataEdit:o,onSure:()=>{r.value.blur()},onClear:()=>{const{clearSelection:e}=l.value.getTableRef();e()},removeTag:e=>{const{toggleRowSelection:a}=l.value.getTableRef();a(o.filter(t=>t.name===e)[0],!1)},handleSelectionChange:e=>{const a=[];e.forEach(t=>{a.push(t.name)}),n.value=a}}}export{h as useColumns};
|
@ -1 +1 @@
|
||||
import{P as f}from"./print-v8kborK1.js";import{b}from"./data-q0x8glgs.js";import{r as c,H as i}from"./index-24ofiFkH.js";function g(a){const e=c(i(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{f(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:d}){if(r==="id")return d<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:e,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns};
|
||||
import{P as d}from"./print-v8kborK1.js";import{b}from"./data-6Sk169EO.js";import{r as c,O as i}from"./index-FZTP20Zj.js";function g(a){const e=c(i(b,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=()=>{d(a.value.getTableDoms().tableWrapper).toPrint};function n({column:{property:r},rowIndex:f}){if(r==="id")return f<3?{background:"#87baf9"}:{background:"#87e8de"}}function l({columnIndex:r}){return r===0?{background:"#f3b2d0"}:{background:"#fafafa"}}function u({rowIndex:r}){return r%2===1?{background:"#ffa39e"}:{background:"#91d5ff"}}return{columns:t,dataList:e,print:o,rowStyle:u,cellStyle:n,headerCellStyle:l}}export{g as useColumns};
|
@ -1,4 +1,4 @@
|
||||
var A=Object.defineProperty;var u=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var c=(t,e,a)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,f=(t,e)=>{for(var a in e||(e={}))w.call(e,a)&&c(t,a,e[a]);if(u)for(var a of u(e))y.call(e,a)&&c(t,a,e[a]);return t};import{t as z}from"./data-q0x8glgs.js";import{r as l,aj as h,b6 as L,o as E,aR as d,H as M}from"./index-24ofiFkH.js";function B(){const t=l([]),e=l(!0),a=l("no"),o=l("nohide"),g=l("default"),p=l(!1),i=l("right"),v=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>a.value==="no"},{label:"日期",prop:"date",hide:()=>o.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>o.value==="hideName"},{label:"地址",prop:"address",hide:()=>o.value==="hideAddress"}],s=h({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),r=h({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
var A=Object.defineProperty;var u=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var c=(t,e,a)=>e in t?A(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,f=(t,e)=>{for(var a in e||(e={}))w.call(e,a)&&c(t,a,e[a]);if(u)for(var a of u(e))y.call(e,a)&&c(t,a,e[a]);return t};import{t as z}from"./data-6Sk169EO.js";import{r as l,aj as h,b6 as L,o as E,aR as d,O as M}from"./index-FZTP20Zj.js";function j(){const t=l([]),e=l(!0),a=l("no"),o=l("nohide"),g=l("default"),p=l(!1),i=l("right"),v=[{type:"selection",align:"left",reserveSelection:!0,hide:()=>a.value==="no"},{label:"日期",prop:"date",hide:()=>o.value==="hideDate"},{label:"姓名",prop:"name",hide:()=>o.value==="hideName"},{label:"地址",prop:"address",hide:()=>o.value==="hideAddress"}],s=h({pageSize:10,currentPage:1,pageSizes:[10,15,20],total:0,align:"right",background:!0,small:!1}),r=h({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
<path class="path" d="
|
||||
M 30 15
|
||||
L 28 17
|
||||
@ -7,4 +7,4 @@ var A=Object.defineProperty;var u=Object.getOwnPropertySymbols;var w=Object.prot
|
||||
A 15 15, 0, 1, 1, 27.99 7.5
|
||||
L 15 15
|
||||
" style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
|
||||
`});function m(n){s.small=n}function b(n){}function C(n){r.text=`正在加载第${n}页...`,e.value=!0,d(600).then(()=>{e.value=!1})}return L(()=>{s.align=i.value}),E(()=>{d(600).then(()=>{const n=[];Array.from({length:6}).forEach(()=>{n.push(M(z,!0))}),n.flat(1/0).forEach((S,x)=>{t.value.push(f({id:x},S))}),s.total=t.value.length,e.value=!1})}),{loading:e,columns:v,dataList:t,select:a,hideVal:o,tableSize:g,pagination:s,loadingConfig:r,paginationAlign:i,paginationSmall:p,onChange:m,onSizeChange:b,onCurrentChange:C}}export{B as useColumns};
|
||||
`});function m(n){s.small=n}function b(n){}function C(n){r.text=`正在加载第${n}页...`,e.value=!0,d(600).then(()=>{e.value=!1})}return L(()=>{s.align=i.value}),E(()=>{d(600).then(()=>{const n=[];Array.from({length:6}).forEach(()=>{n.push(M(z,!0))}),n.flat(1/0).forEach((S,x)=>{t.value.push(f({id:x},S))}),s.total=t.value.length,e.value=!1})}),{loading:e,columns:v,dataList:t,select:a,hideVal:o,tableSize:g,pagination:s,loadingConfig:r,paginationAlign:i,paginationSmall:p,onChange:m,onSizeChange:b,onCurrentChange:C}}export{j as useColumns};
|
@ -1 +1 @@
|
||||
import{i as l,b as n,F as s,h as a,q as r}from"./index-24ofiFkH.js";import{t as c}from"./data-K5NZfVqP.js";function u(){const i=[{label:"日期",prop:"date",cellRenderer:({row:e})=>l("div",{style:"display: flex; align-items: center"},[l(n("iconify-icon-online"),{icon:"ep:timer"},null),l("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>l(n("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>l(s,null,[l("div",null,[a("name: "),e.name]),l("div",null,[a("address: "),e.address])]),reference:()=>l(n("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>l(s,null,[l(n("el-button"),{size:"small",onClick:()=>o(e+1,t)},{default:()=>[a("Edit")]}),l(n("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[a("Delete")]})])}],o=(e,t)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:i,tableData:c}}export{u as useColumns};
|
||||
import{j as l,b as n,F as s,i as a,s as r}from"./index-FZTP20Zj.js";import{t as c}from"./data-fmVO171t.js";function u(){const i=[{label:"日期",prop:"date",cellRenderer:({row:e})=>l("div",{style:"display: flex; align-items: center"},[l(n("iconify-icon-online"),{icon:"ep:timer"},null),l("span",{style:"margin-left: 10px"},[e.date])])},{label:"姓名",prop:"name",cellRenderer:({row:e})=>l(n("el-popover"),{effect:"light",trigger:"hover",placement:"top",width:"auto"},{default:()=>l(s,null,[l("div",null,[a("name: "),e.name]),l("div",null,[a("address: "),e.address])]),reference:()=>l(n("el-tag"),null,{default:()=>[e.name]})})},{label:"地址",prop:"address"},{label:"操作",cellRenderer:({index:e,row:t})=>l(s,null,[l(n("el-button"),{size:"small",onClick:()=>o(e+1,t)},{default:()=>[a("Edit")]}),l(n("el-button"),{size:"small",type:"danger",onClick:()=>d(e+1,t)},{default:()=>[a("Delete")]})])}],o=(e,t)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(t)}`,{type:"success"})},d=(e,t)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(t)}`)};return{columns:i,tableData:c}}export{u as useColumns};
|
1
dist/static/js/columns-d5Ya45gu.js
vendored
1
dist/static/js/columns-d5Ya45gu.js
vendored
@ -1 +0,0 @@
|
||||
import{i as e,b as s,h as i,aE as o}from"./index-24ofiFkH.js";var a={pkg:{dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"2.0.9","@logicflow/core":"^1.2.18","@logicflow/extension":"^1.2.19","@pureadmin/descriptions":"^1.2.0","@pureadmin/table":"^3.0.0","@pureadmin/utils":"^2.1.2","@vueuse/core":"^10.7.1","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.6.5","china-area-data":"^5.0.1",cropperjs:"^1.6.1",dayjs:"^1.11.10",echarts:"^5.4.3","el-table-infinite-scroll":"^3.0.3","element-plus":"^2.4.4","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.7","pinyin-pro":"^3.18.6",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.1",swiper:"^11.0.5",typeit:"^8.8.0","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.3.1","version-rocket":"^1.7.1",vue:"^3.4.5","vue-i18n":"^9.9.0","vue-json-pretty":"^2.3.0","vue-pdf-embed":"^1.2.1","vue-router":"^4.2.5","vue-tippy":"^6.4.1","vue-types":"^5.1.1","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.3.1","vue3-danmaku":"^1.6.0",vuedraggable:"^4.1.0","wavesurfer.js":"^7.6.1",xgplayer:"^3.0.11",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^18.4.4","@commitlint/config-conventional":"^18.4.4","@commitlint/types":"^18.4.4","@eslint/js":"^8.56.0","@faker-js/faker":"^8.3.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^2.0.0","@pureadmin/theme":"^3.2.0","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.10.6","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.11","@types/sortablejs":"^1.15.7","@typescript-eslint/eslint-plugin":"^6.18.0","@typescript-eslint/parser":"^6.18.0","@vitejs/plugin-vue":"^5.0.2","@vitejs/plugin-vue-jsx":"^3.1.0",autoprefixer:"^10.4.16",cloc:"^2.11.0",cssnano:"^6.0.3",eslint:"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.1.2","eslint-plugin-vue":"^9.19.2",husky:"^8.0.3","lint-staged":"^15.2.0",picocolors:"^1.0.0",postcss:"^8.4.33","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.9",prettier:"^3.1.1",rimraf:"^5.0.5","rollup-plugin-visualizer":"^5.12.0",sass:"^1.69.7",stylelint:"^16.1.0","stylelint-config-recess-order":"^4.4.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^12.0.0","stylelint-prettier":"^5.0.0",svgo:"^3.2.0",tailwindcss:"^3.4.1",typescript:"^5.3.3",vite:"^5.0.11","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"2.0.0","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.3.2","vue-tsc":"^1.8.27"},name:"vue-pure-admin",version:"4.5.0"},lastBuildTime:"2024-01-08 00:02:57"};function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function u(){const{pkg:t,lastBuildTime:r}=a,{version:n}=t;return{columns:[{label:"版本",cellRenderer:()=>e(s("el-tag"),{size:"small"},l(n)?n:{default:()=>[n]})},{label:"最后编译时间",cellRenderer:()=>e(s("el-tag"),{size:"small"},l(r)?r:{default:()=>[r]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("Github")])])},{label:"精简版",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("精简版")])])}]}}export{u as useColumns};
|
@ -1 +1 @@
|
||||
import{b as r}from"./data-q0x8glgs.js";import{r as s,H as l,o as p,aR as n,B as i}from"./index-24ofiFkH.js";function m(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=i(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:252,height:80})})}),{columns:t,dataList:e}}export{m as useColumns};
|
||||
import{b as r}from"./data-6Sk169EO.js";import{r as s,O as l,o as p,aR as n,x as i}from"./index-FZTP20Zj.js";function m(a){const e=s(l(r,!0)),t=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return p(()=>{n().then(()=>{const{setWatermark:o}=i(a.value.getTableDoms().tableWrapper);o("编程即艺术",{font:"16px Microsoft YaHei",globalAlpha:.8,forever:!0,width:240,height:90})})}),{columns:t,dataList:e}}export{m as useColumns};
|
@ -1 +1 @@
|
||||
import{S as m}from"./sortable.esm-budB5lo5.js";import{r as o,H as i,o as b,s as l}from"./index-24ofiFkH.js";import{a as d}from"./data-q0x8glgs.js";function S(){const t=o(i(d,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),l(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{l(()=>{n(event)})}),{columns:p,dataList:t,columnsDrag:e}}export{S as useColumns};
|
||||
import{S as m}from"./sortable.esm-budB5lo5.js";import{r as o,O as i,o as b,y as l}from"./index-FZTP20Zj.js";import{a as v}from"./data-6Sk169EO.js";function y(){const t=o(i(v,!0)),e=o([{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}]),p=o([{label:"ID",prop:a=>e.value[a].prop},{label:"日期",prop:a=>e.value[a].prop},{label:"姓名",prop:a=>e.value[a].prop}]),n=a=>{a.preventDefault(),l(()=>{const s=document.querySelector(".el-table__header-wrapper tr");m.create(s,{animation:300,delay:0,onEnd:({newIndex:u,oldIndex:r})=>{const c=e.value[r];e.value.splice(r,1),e.value.splice(u,0,c)}})})};return b(()=>{l(()=>{n(event)})}),{columns:p,dataList:t,columnsDrag:e}}export{y as useColumns};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/columns-j_lU1MWt.js
vendored
1
dist/static/js/columns-j_lU1MWt.js
vendored
@ -1 +0,0 @@
|
||||
import{d as r}from"./arrow-right-s-line-xoI-mVSn.js";import{i as l,b as e,h as o}from"./index-24ofiFkH.js";const i={width:24,height:24,body:'<path fill="currentColor" d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10Zm0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm0-9.414l2.828-2.829l1.415 1.415L13.414 12l2.829 2.828l-1.415 1.415L12 13.414l-2.828 2.829l-1.415-1.415L10.586 12L7.757 9.172l1.415-1.415L12 10.586Z"/>'};function u(){return{columns:[{cellRenderer:()=>l("span",{class:"flex items-center -mt-6"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户已被冻结")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即解冻"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])},{cellRenderer:()=>l("span",{class:"flex items-center -mt-8"},[l(e("iconify-icon-offline"),{icon:i,color:"#F56C6C",width:"18px",height:"18px"},null),l("span",{class:"ml-1 mr-4"},[o("您的账户还不具备申请资格")]),l("a",{href:"javascript:void(0);",class:"flex items-center",style:"color: var(--el-color-primary)"},[o("立即升级"),l(e("iconify-icon-offline"),{icon:r,color:"var(--el-color-primary)",width:"18px",height:"18px"},null)])])}]}}export{u as useColumns};
|
File diff suppressed because one or more lines are too long
1
dist/static/js/columns-nJ-2tK35.js
vendored
1
dist/static/js/columns-nJ-2tK35.js
vendored
@ -1 +0,0 @@
|
||||
import{r as n,H as y,K as i,i as t,k as r,v as c,df as I,b as f,q as M,aR as O}from"./index-24ofiFkH.js";import{b as S}from"./data-q0x8glgs.js";import{d as V}from"./edit-pen-A29bH4uw.js";import{d as j}from"./check-f0nOH8pf.js";function E(){const l=n({}),u=n({}),o=n(-1),v=n(y(S,!0)),m=i(()=>e=>{var a;return(a=l.value[e])==null?void 0:a.value}),s=i(()=>e=>{var a;return(a=u.value[e])==null?void 0:a.editing}),p=i(()=>(e,a=!1)=>["cursor-pointer","ml-2","transition","delay-100",a?["hover:scale-110","hover:text-red-500"]:s.value(e)&&["scale-150","text-red-500"]]),b=[{label:"ID(可编辑)",prop:"id",cellRenderer:({row:e,index:a})=>t("div",{class:"flex-bc w-full h-[32px]",onMouseenter:()=>o.value=a,onMouseleave:()=>g(a)},[r(t("p",null,[e.id]),[[c,!s.value(a)]]),t(I,{"enter-active-class":"animate__animated animate__fadeInUp animate__faster"},{default:()=>[r(t(f("el-input"),{modelValue:m.value(a),onInput:C=>h(C,a)},null),[[c,s.value(a)]])]}),r(t(f("iconify-icon-offline"),{icon:j,class:p.value(a),onClick:()=>_(a)},null),[[c,s.value(a)]]),r(t(f("iconify-icon-offline"),{icon:V,class:p.value(a,!0),onClick:()=>d(e,a)},null),[[c,o.value===a&&!s.value(a)]])])},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];function d({id:e},a){l.value[a]=Object.assign({},l.value[a],{value:e}),u.value[a]=Object.assign({},u.value[a],{editing:!0})}function g(e){var a;(a=l.value[e])!=null&&a.value?o.value=e:o.value=-1}function h(e,a){l.value[a].value=e}function _(e){v.value[e].id=l.value[e].value,M(`您编辑了第 ${e+1} 行,编辑后数据为:${JSON.stringify(v.value[e])}`,{type:"success"}),u.value[e]=Object.assign({},u.value[e],{editing:!1}),O().then(()=>l.value[e].value=null)}return{columns:b,dataList:v}}export{E as useColumns};
|
@ -1 +1 @@
|
||||
import{r as d,K as i,i as t,b as s,h as o,F as m,q as r}from"./index-24ofiFkH.js";import{t as p}from"./data-K5NZfVqP.js";function g(){const a=d(""),n=i(()=>p.filter(e=>!a.value||e.name.toLowerCase().includes(a.value.toLowerCase()))),u=(e,l)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},c=(e,l)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,l)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>c(e+1,l)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{g as useColumns};
|
||||
import{r as d,J as i,j as t,b as s,i as o,F as m,s as r}from"./index-FZTP20Zj.js";import{t as p}from"./data-fmVO171t.js";function h(){const a=d(""),n=i(()=>p.filter(e=>!a.value||e.name.toLowerCase().includes(a.value.toLowerCase()))),u=(e,l)=>{r(`您编辑了第 ${e} 行,数据为:${JSON.stringify(l)}`,{type:"success"})},c=(e,l)=>{r(`您删除了第 ${e} 行,数据为:${JSON.stringify(l)}`)};return{columns:[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{align:"right",headerRenderer:()=>t(s("el-input"),{modelValue:a.value,"onUpdate:modelValue":e=>a.value=e,size:"small",clearable:!0,placeholder:"Type to search"},null),cellRenderer:({index:e,row:l})=>t(m,null,[t(s("el-button"),{size:"small",onClick:()=>u(e+1,l)},{default:()=>[o("Edit")]}),t(s("el-button"),{size:"small",type:"danger",onClick:()=>c(e+1,l)},{default:()=>[o("Delete")]})])}],filterTableData:n}}export{h as useColumns};
|
@ -1,4 +1,4 @@
|
||||
var v=Object.defineProperty;var l=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var r=(e,t,a)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))b.call(t,a)&&r(e,a,t[a]);if(l)for(var a of l(t))C.call(t,a)&&r(e,a,t[a]);return e};import{t as x}from"./data-q0x8glgs.js";import{r as u,aj as f,o as L,aR as p,H as w}from"./index-24ofiFkH.js";function M(){const e=u([]),t=u(!0),a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=f({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,small:!1}),s=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
var v=Object.defineProperty;var l=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var r=(e,t,a)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,i=(e,t)=>{for(var a in t||(t={}))b.call(t,a)&&r(e,a,t[a]);if(l)for(var a of l(t))C.call(t,a)&&r(e,a,t[a]);return e};import{t as x}from"./data-6Sk169EO.js";import{r as u,aj as f,o as L,aR as p,O as w}from"./index-FZTP20Zj.js";function M(){const e=u([]),t=u(!0),a=[{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}],o=f({pageSize:20,currentPage:1,pageSizes:[20,40,60],total:0,align:"right",background:!0,small:!1}),s=f({text:"正在加载第一页...",viewBox:"-10, -10, 50, 50",spinner:`
|
||||
<path class="path" d="
|
||||
M 30 15
|
||||
L 28 17
|
@ -1 +1 @@
|
||||
import{u as t,w as u}from"./xlsx-mTyBxUMi.js";import{a as i}from"./data-q0x8glgs.js";import{r as m,H as b,q as f}from"./index-24ofiFkH.js";function w(){const s=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:s,exportExcel:()=>{const a=s.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),a.unshift(r);const l=t.aoa_to_sheet(a),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns};
|
||||
import{u as t,w as u}from"./xlsx-mTyBxUMi.js";import{a as i}from"./data-6Sk169EO.js";import{r as m,O as b,s as f}from"./index-FZTP20Zj.js";function w(){const s=m(b(i,!0)),e=[{label:"ID",prop:"id"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}];return{columns:e,dataList:s,exportExcel:()=>{const a=s.value.map(o=>{const p=[];return e.forEach(c=>{p.push(o[c.prop])}),p}),r=[];e.forEach(o=>{r.push(o.label)}),a.unshift(r);const l=t.aoa_to_sheet(a),n=t.book_new();t.book_append_sheet(n,l,"数据报表"),u(n,"pure-admin-table.xlsx"),f("导出成功",{type:"success"})}}}export{w as useColumns};
|
1
dist/static/js/columns-v6E3KJ5v.js
vendored
Normal file
1
dist/static/js/columns-v6E3KJ5v.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{j as e,b as s,i,aE as o}from"./index-FZTP20Zj.js";var a={pkg:{name:"vue-pure-admin",version:"4.5.0",dependencies:{"@amap/amap-jsapi-loader":"^1.0.1","@howdyjs/mouse-menu":"2.0.9","@logicflow/core":"^1.2.18","@logicflow/extension":"^1.2.19","@pureadmin/descriptions":"^1.2.0","@pureadmin/table":"^3.0.1","@pureadmin/utils":"^2.3.1","@vueuse/core":"^10.7.1","@vueuse/motion":"^2.0.0","@wangeditor/editor":"^5.1.23","@wangeditor/editor-for-vue":"^5.1.12","@zxcvbn-ts/core":"^3.0.4","animate.css":"^4.1.1",axios:"^1.6.5","china-area-data":"^5.0.1",cropperjs:"^1.6.1",dayjs:"^1.11.10",echarts:"^5.4.3","el-table-infinite-scroll":"^3.0.3","element-plus":"^2.5.0","intro.js":"^7.2.0","js-cookie":"^3.0.5",jsbarcode:"^3.11.6",localforage:"^1.10.0","mint-filter":"^4.0.3",mitt:"^3.0.1",nprogress:"^0.2.0",path:"^0.12.7",pinia:"^2.1.7","pinyin-pro":"^3.19.0",qrcode:"^1.5.3",qs:"^6.11.2","responsive-storage":"^2.2.0",sortablejs:"^1.15.1",swiper:"^11.0.5",typeit:"8.7.1","v-contextmenu":"3.0.0","v3-infinite-loading":"^1.3.1","version-rocket":"^1.7.1",vue:"^3.4.7","vue-i18n":"^9.9.0","vue-json-pretty":"^2.3.0","vue-pdf-embed":"^1.2.1","vue-router":"^4.2.5","vue-tippy":"^6.4.1","vue-types":"^5.1.1","vue-virtual-scroller":"2.0.0-beta.8","vue-waterfall-plugin-next":"^2.3.1","vue3-danmaku":"^1.6.0",vuedraggable:"^4.1.0","wavesurfer.js":"^7.6.3",xgplayer:"^3.0.11",xlsx:"^0.18.5"},devDependencies:{"@commitlint/cli":"^18.4.4","@commitlint/config-conventional":"^18.4.4","@commitlint/types":"^18.4.4","@eslint/js":"^8.56.0","@faker-js/faker":"^8.3.1","@iconify-icons/ep":"^1.2.12","@iconify-icons/ri":"^1.2.10","@iconify/vue":"^4.1.1","@intlify/unplugin-vue-i18n":"^2.0.0","@pureadmin/theme":"^3.2.0","@types/intro.js":"^5.1.5","@types/js-cookie":"^3.0.6","@types/node":"^20.10.8","@types/nprogress":"^0.2.3","@types/qrcode":"^1.5.5","@types/qs":"^6.9.11","@types/sortablejs":"^1.15.7","@typescript-eslint/eslint-plugin":"^6.18.1","@typescript-eslint/parser":"^6.18.1","@vitejs/plugin-vue":"^5.0.3","@vitejs/plugin-vue-jsx":"^3.1.0",autoprefixer:"^10.4.16",cloc:"^2.11.0",cssnano:"^6.0.3",eslint:"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-define-config":"^2.1.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-vue":"^9.19.2",husky:"^8.0.3","lint-staged":"^15.2.0",picocolors:"^1.0.0",postcss:"^8.4.33","postcss-html":"^1.5.0","postcss-import":"^15.1.0","postcss-scss":"^4.0.9",prettier:"^3.1.1",rimraf:"^5.0.5","rollup-plugin-visualizer":"^5.12.0",sass:"^1.69.7",stylelint:"^16.1.0","stylelint-config-recess-order":"^4.4.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard-scss":"^12.0.0","stylelint-prettier":"^5.0.0",svgo:"^3.2.0",tailwindcss:"^3.4.1",typescript:"^5.3.3",vite:"^5.0.11","vite-plugin-cdn-import":"^0.3.5","vite-plugin-compression":"^0.5.1","vite-plugin-fake-server":"2.0.0","vite-plugin-remove-console":"^2.2.0","vite-plugin-router-warn":"^1.0.0","vite-svg-loader":"^5.1.0","vue-eslint-parser":"^9.4.0","vue-tsc":"^1.8.27"}},lastBuildTime:"2024-01-11 01:58:04"};function l(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!o(t)}function u(){const{pkg:t,lastBuildTime:r}=a,{version:n}=t;return{columns:[{label:"版本",cellRenderer:()=>e(s("el-tag"),{size:"small"},l(n)?n:{default:()=>[n]})},{label:"最后编译时间",cellRenderer:()=>e(s("el-tag"),{size:"small"},l(r)?r:{default:()=>[r]})},{label:"文档地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/pure-admin-doc",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("文档地址")])])},{label:"预览地址",cellRenderer:()=>e("a",{href:"https://yiming_chang.gitee.io/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("预览地址")])])},{label:"Github",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/vue-pure-admin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("Github")])])},{label:"精简版",cellRenderer:()=>e("a",{href:"https://github.com/pure-admin/pure-admin-thin",target:"_blank"},[e("span",{style:"color: var(--el-color-primary)"},[i("精简版")])])}]}}export{u as useColumns};
|
1
dist/static/js/customIndex-HwzuzoQ0.js
vendored
1
dist/static/js/customIndex-HwzuzoQ0.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-JGUq4CMV.js";import"./data-K5NZfVqP.js";import"./index-24ofiFkH.js";export{o as default};
|
1
dist/static/js/customIndex-u5C_Ra9L.js
vendored
Normal file
1
dist/static/js/customIndex-u5C_Ra9L.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./customIndex.vue_vue_type_script_setup_true_lang-oT1qrCiE.js";import"./data-fmVO171t.js";import"./index-FZTP20Zj.js";export{o as default};
|
@ -1 +1 @@
|
||||
import{t as a}from"./data-K5NZfVqP.js";import{d as n,b as r,f as p,c as s,u as c}from"./index-24ofiFkH.js";const i=n({__name:"customIndex",setup(l){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,m)=>{const o=r("pure-table");return p(),s(o,{data:c(a),columns:t},null,8,["data"])}}});export{i as _};
|
||||
import{t as a}from"./data-fmVO171t.js";import{d as n,b as r,g as p,c as s,u as c}from"./index-FZTP20Zj.js";const i=n({__name:"customIndex",setup(l){const t=[{type:"index",index:e=>e*2},{label:"日期",prop:"date"},{label:"姓名",prop:"name"},{label:"地址",prop:"address"}];return(e,m)=>{const o=r("pure-table");return p(),s(o,{data:c(a),columns:t},null,8,["data"])}}});export{i as _};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{du as r,H as t}from"./index-24ofiFkH.js";const s=r(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${r(new Date).format("YYYY-MM")}-${a+1}`})});const n=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e)));export{n as a,m as b,o as t};
|
||||
import{du as r,O as t}from"./index-FZTP20Zj.js";const s=r(new Date).format("YYYY-MM-DD"),o=[{date:s,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:s,name:"Mike",address:"No. 189, Grove St, Los Angeles"}];t(o,!0).map(e=>Object.assign(e,{state:"California",city:"Los Angeles","post-code":"CA 90036"}));t(o,!0).map((e,a)=>Object.assign(e,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${a+1}.jpg`}));t(o,!0).map((e,a)=>{delete e.date,Object.assign(e,{date:`${r(new Date).format("YYYY-MM")}-${a+1}`})});const n=t(o,!0).map((e,a)=>(delete e.address,delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e))),m=t(o,!0).map((e,a)=>(delete e.date,Object.assign({id:a+1,date:`${r(new Date).format("YYYY-MM")}-${a+1}`},e)));export{n as a,m as b,o as t};
|
@ -1 +1 @@
|
||||
import{du as t,H as e}from"./index-24ofiFkH.js";const a=t(new Date).format("YYYY-MM-DD"),c=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=e(c,!0),o=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),S=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),d=i.map((s,n)=>Object.assign(s,{date:`${t(new Date).format("YYYY-MM")}-${n+1}`})),m=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{o as a,d as b,m as c,S as d,c as t};
|
||||
import{du as t,O as e}from"./index-FZTP20Zj.js";const a=t(new Date).format("YYYY-MM-DD"),c=[{date:a,name:"Tom",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Jack",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Dick",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Harry",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Sam",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Lucy",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mary",address:"No. 189, Grove St, Los Angeles"},{date:a,name:"Mike",address:"No. 189, Grove St, Los Angeles"}],i=e(c,!0),o=i.map(s=>Object.assign(s,{state:"California",city:"Los Angeles","post-code":"CA 90036"})),S=i.map((s,n)=>Object.assign(s,{image:`https://pure-admin.github.io/pure-admin-table/imgs/${n+1}.jpg`})),d=i.map((s,n)=>Object.assign(s,{date:`${t(new Date).format("YYYY-MM")}-${n+1}`})),m=[{date:"2016-05-03",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-02",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-04",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-01",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-08",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-06",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]},{date:"2016-05-07",name:"Tom",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114",family:[{name:"Jerry",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Spike",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"},{name:"Tyke",state:"California",city:"San Francisco",address:"3650 21st St, San Francisco",zip:"CA 94114"}]}];export{o as a,d as b,m as c,S as d,c as t};
|
@ -1 +1 @@
|
||||
import{d as m,m as h,i as t,w as e,b as d,f as b,u as c,h as a,g as n,Q as _,Y as f,q as p}from"./index-24ofiFkH.js";const C=n("div",null,"防抖:debounce",-1),k=n("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),v=n("div",null,"节流:throttle",-1),w=n("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),g=m({name:"Debounce",__name:"debounce",setup(x){const o=()=>p("恭喜你,这是一条成功消息",{type:"success"}),i=_(o,1e3,!0),r=_(o,1e3),u=f(o);return(B,N)=>{const s=d("el-button"),l=d("el-card");return b(),h("div",null,[t(l,{class:"mb-5",shadow:"never"},{header:e(()=>[C]),default:e(()=>[k,t(s,{onClick:c(i)},{default:e(()=>[a(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),t(s,{onClick:c(r)},{default:e(()=>[a(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),t(l,{shadow:"never"},{header:e(()=>[v]),default:e(()=>[w,t(s,{onClick:c(u)},{default:e(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{g as default};
|
||||
import{d as m,n as h,j as t,w as e,b as d,g as b,u as c,i as a,h as n,Y as _,Q as p,s as C}from"./index-FZTP20Zj.js";const f=n("div",null,"防抖:debounce",-1),k=n("div",{class:"mb-5"}," 所谓防抖,就是指触发事件后在 n 秒内函数只能执行一次,如果在 n 秒内又触发了事件,则会重新计算函数执行时间。 ",-1),v=n("div",null,"节流:throttle",-1),w=n("div",{class:"mb-5"}," 所谓节流,就是指连续触发事件但是在 n 秒中只执行一次函数。节流会稀释函数的执行频率。 ",-1),g=m({name:"Debounce",__name:"debounce",setup(x){const o=()=>C("恭喜你,这是一条成功消息",{type:"success"}),i=_(o,1e3,!0),r=_(o,1e3),u=p(o);return(B,N)=>{const s=d("el-button"),l=d("el-card");return b(),h("div",null,[t(l,{class:"mb-5",shadow:"never"},{header:e(()=>[f]),default:e(()=>[k,t(s,{onClick:c(i)},{default:e(()=>[a(" 连续点击我,只会执行第一次点击事件,立即执行 ")]),_:1},8,["onClick"]),t(s,{onClick:c(r)},{default:e(()=>[a(" 连续点击我,只会执行最后一次点击事件,延后执行 ")]),_:1},8,["onClick"])]),_:1}),t(l,{shadow:"never"},{header:e(()=>[v]),default:e(()=>[w,t(s,{onClick:c(u)},{default:e(()=>[a(" 连续点击我,每一秒只会执行一次点击事件 ")]),_:1},8,["onClick"])]),_:1})])}}});export{g as default};
|
@ -1 +1 @@
|
||||
import{d as H,r as n,c as v,w as s,b as d,e as T,f as r,g as u,h as l,k as o,i as t,m as J,t as U,j as K,q as p}from"./index-24ofiFkH.js";const M=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令")],-1),O={class:"mb-2"},P={class:"mb-2"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"text-sky-500"},ee=H({name:"Directives",__name:"directives",setup(Y){const x=n(""),b=n(""),g=n(""),w=n(""),h=n(""),y=n("copy"),I=n("可复制的文本"),c=n(!1),_=n(""),k=n(0);function z(){p(x.value)}function F(){p(b.value)}function N({name:f,sex:e}){p(`${f}${e}${g.value}`)}function L(){p(w.value)}function S({name:f,sex:e}){p(`${f}${e}${h.value}`)}function j(){c.value=!0}function q(){c.value=!0}function E(){k.value+=1,c.value=!0,_.value=`持续回调${k.value}次`}function R(){c.value=!1,_.value="",k.value=0}return(f,e)=>{const i=d("el-input"),C=d("el-divider"),V=d("el-button"),B=d("el-tag"),A=d("el-space"),G=d("el-card"),m=T("optimize"),D=T("copy"),$=T("longpress");return r(),v(G,{shadow:"never"},{header:s(()=>[M]),default:s(()=>[u("div",O,[l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) "),o(t(i,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=a=>x.value=a),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[m,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",P,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) "),o(t(i,{modelValue:b.value,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:F,timeout:400}]])]),u("div",null,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) "),o(t(i,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=a=>g.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:N,timeout:400,params:{name:"小明",sex:"男"}}]])]),t(C),u("div",Q,[l(" 节流指令(连续输入,每一秒只会执行一次事件) "),o(t(i,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=a=>w.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:L,timeout:1e3},"throttle"]])]),u("div",null,[l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) "),o(t(i,{modelValue:h.value,"onUpdate:modelValue":e[4]||(e[4]=a=>h.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[m,{event:"input",fn:S,params:{name:"小明",sex:"男"}},"throttle"]])]),t(C),u("div",W,[l(" 文本复制指令(双击输入框内容即可复制) "),o(t(i,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=a=>y.value=a),class:"!w-[200px]"},null,8,["modelValue"]),[[D,y.value]])]),u("div",null,[l(" 文本复制指令(自定义触发事件,单击复制) "),o((r(),J("span",X,[l(U(I.value),1)])),[[D,I.value,"click"]])]),t(C),t(A,{wrap:""},{default:s(()=>[l(" 长按指令 "),o((r(),v(V,null,{default:s(()=>[l("长按(默认500ms)")]),_:1})),[[$,j]]),o((r(),v(V,null,{default:s(()=>[l(" 自定义长按时长(1000ms) ")]),_:1})),[[$,q,"1000"]]),o((r(),v(V,null,{default:s(()=>[l(" 2秒后每200ms持续回调 ")]),_:1})),[[$,E,"2000:200"]]),t(V,{onClick:R},{default:s(()=>[l(" 重置状态 ")]),_:1}),t(B,{type:c.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(U(c.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),_.value?(r(),v(B,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(U(_.value),1)]),_:1})):K("",!0)]),_:1})]),_:1})}}});export{ee as default};
|
||||
import{d as H,r as n,c as m,w as s,b as d,f as T,g as r,h as u,i as l,l as o,j as t,n as J,t as U,k as K,s as p}from"./index-FZTP20Zj.js";const M=u("div",{class:"card-header"},[u("span",{class:"font-medium"},"自定义防抖、截流、文本复制、长按指令")],-1),O={class:"mb-2"},P={class:"mb-2"},Q={class:"mb-2"},W={class:"mb-2"},X={class:"text-sky-500"},ee=H({name:"Directives",__name:"directives",setup(Y){const x=n(""),b=n(""),g=n(""),w=n(""),h=n(""),y=n("copy"),I=n("可复制的文本"),c=n(!1),_=n(""),k=n(0);function z(){p(x.value)}function F(){p(b.value)}function N({name:f,sex:e}){p(`${f}${e}${g.value}`)}function L(){p(w.value)}function S({name:f,sex:e}){p(`${f}${e}${h.value}`)}function j(){c.value=!0}function E(){c.value=!0}function R(){k.value+=1,c.value=!0,_.value=`持续回调${k.value}次`}function q(){c.value=!1,_.value="",k.value=0}return(f,e)=>{const i=d("el-input"),C=d("el-divider"),V=d("el-button"),B=d("el-tag"),A=d("el-space"),G=d("el-card"),v=T("optimize"),D=T("copy"),$=T("longpress");return r(),m(G,{shadow:"never"},{header:s(()=>[M]),default:s(()=>[u("div",O,[l(" 防抖指令(连续输入,只会执行第一次点击事件,立即执行) "),o(t(i,{modelValue:x.value,"onUpdate:modelValue":e[0]||(e[0]=a=>x.value=a),class:"!w-[200px]",clearable:"",onClear:z},null,8,["modelValue"]),[[v,{event:"input",fn:z,immediate:!0,timeout:1e3}]])]),u("div",P,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行) "),o(t(i,{modelValue:b.value,"onUpdate:modelValue":e[1]||(e[1]=a=>b.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[v,{event:"input",fn:F,timeout:400}]])]),u("div",null,[l(" 防抖指令(连续输入,只会执行最后一次事件,延后执行,传参用法) "),o(t(i,{modelValue:g.value,"onUpdate:modelValue":e[2]||(e[2]=a=>g.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[v,{event:"input",fn:N,timeout:400,params:{name:"小明",sex:"男"}}]])]),t(C),u("div",Q,[l(" 节流指令(连续输入,每一秒只会执行一次事件) "),o(t(i,{modelValue:w.value,"onUpdate:modelValue":e[3]||(e[3]=a=>w.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[v,{event:"input",fn:L,timeout:1e3},"throttle"]])]),u("div",null,[l(" 节流指令(连续输入,每一秒只会执行一次事件,传参用法) "),o(t(i,{modelValue:h.value,"onUpdate:modelValue":e[4]||(e[4]=a=>h.value=a),class:"!w-[200px]",clearable:""},null,8,["modelValue"]),[[v,{event:"input",fn:S,params:{name:"小明",sex:"男"}},"throttle"]])]),t(C),u("div",W,[l(" 文本复制指令(双击输入框内容即可复制) "),o(t(i,{modelValue:y.value,"onUpdate:modelValue":e[5]||(e[5]=a=>y.value=a),class:"!w-[200px]"},null,8,["modelValue"]),[[D,y.value]])]),u("div",null,[l(" 文本复制指令(自定义触发事件,单击复制) "),o((r(),J("span",X,[l(U(I.value),1)])),[[D,I.value,"click"]])]),t(C),t(A,{wrap:""},{default:s(()=>[l(" 长按指令 "),o((r(),m(V,null,{default:s(()=>[l("长按(默认500ms)")]),_:1})),[[$,j]]),o((r(),m(V,null,{default:s(()=>[l(" 自定义长按时长(1000ms) ")]),_:1})),[[$,E,"1000"]]),o((r(),m(V,null,{default:s(()=>[l(" 2秒后每200ms持续回调 ")]),_:1})),[[$,R,"2000:200"]]),t(V,{onClick:q},{default:s(()=>[l(" 重置状态 ")]),_:1}),t(B,{type:c.value?"success":"info",class:"ml-2",size:"large"},{default:s(()=>[l(U(c.value?"当前为长按状态":"当前非长按状态"),1)]),_:1},8,["type"]),_.value?(r(),m(B,{key:0,type:"danger",class:"ml-2",size:"large"},{default:s(()=>[l(U(_.value),1)]),_:1})):K("",!0)]),_:1})]),_:1})}}});export{ee as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{aJ as a,aK as o,aL as r,aM as h,aN as p}from"./index-24ofiFkH.js";const T=a({id:"pure-epTheme",state:()=>{var e,t,m,s;return{epThemeColor:(t=(e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)!=null?t:h().EpThemeColor,epTheme:(s=(m=o().getItem(`${r()}layout`))==null?void 0:m.theme)!=null?s:h().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function i(){return T(p)}export{i as u};
|
||||
import{aJ as a,aK as o,aL as r,aM as h,aN as p}from"./index-FZTP20Zj.js";const T=a({id:"pure-epTheme",state:()=>{var e,t,m,s;return{epThemeColor:(t=(e=o().getItem(`${r()}layout`))==null?void 0:e.epThemeColor)!=null?t:h().EpThemeColor,epTheme:(s=(m=o().getItem(`${r()}layout`))==null?void 0:m.theme)!=null?s:h().Theme}},getters:{getEpThemeColor(e){return e.epThemeColor},fill(e){return e.epTheme==="light"?"#409eff":"#fff"}},actions:{setEpThemeColor(e){const t=o().getItem(`${r()}layout`);this.epTheme=t==null?void 0:t.theme,this.epThemeColor=e,t&&(t.epThemeColor=e,o().setItem(`${r()}layout`,t))}}});function i(){return T(p)}export{i as u};
|
@ -1 +1 @@
|
||||
var E=Object.defineProperty,B=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var b=(a,e,t)=>e in a?E(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,w=(a,e)=>{for(var t in e||(e={}))V.call(e,t)&&b(a,t,e[t]);if(x)for(var t of x(e))z.call(e,t)&&b(a,t,e[t]);return a},y=(a,e)=>B(a,S(e));import{u as f,w as K}from"./xlsx-mTyBxUMi.js";import{d as N,c as A,w as i,b as u,f as j,g as $,h as d,i as p,u as g}from"./index-24ofiFkH.js";const F={class:"font-medium"},J={class:"h-[25rem] mt-3"},q=N({name:"Excel",__name:"excel",setup(a){const e=(s=10,n="column-",r)=>Array.from({length:s}).map((l,o)=>y(w({},r),{key:`${n}${o}`,dataKey:`${n}${o}`,title:`Column ${o}`,width:150})),t=(s,n=200,r="row-")=>Array.from({length:n}).map((l,o)=>s.reduce((c,_,h)=>(c[_.dataKey]=`Row ${o} - Col ${h}`,c),{id:`${r}${o}`,parentId:null})),m=e(10),k=t(m,1e3),C=()=>{const s=k.map(o=>{const c=[];return m.forEach(_=>{c.push(o[_.dataKey])}),c}),n=[];m.forEach(o=>{n.push(o.title)}),s.unshift(n);const r=f.aoa_to_sheet(s),l=f.book_new();f.book_append_sheet(l,r,"数据报表"),K(l,"tableV2.xlsx")};return(s,n)=>{const r=u("el-link"),l=u("el-button"),o=u("el-table-v2"),c=u("el-auto-resizer"),_=u("el-card");return j(),A(_,{shadow:"never"},{header:i(()=>[$("div",F,[d(" 导出Excel( "),p(r,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:i(()=>[d(" github地址 ")]),_:1}),d(" ) ")])]),default:i(()=>[p(l,{type:"primary",onClick:C},{default:i(()=>[d("导出Excel")]),_:1}),$("div",J,[p(c,null,{default:i(({height:h,width:v})=>[p(o,{columns:g(m),data:g(k),width:v,height:h,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{q as default};
|
||||
var E=Object.defineProperty,B=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var V=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var b=(a,e,t)=>e in a?E(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,w=(a,e)=>{for(var t in e||(e={}))V.call(e,t)&&b(a,t,e[t]);if(x)for(var t of x(e))z.call(e,t)&&b(a,t,e[t]);return a},y=(a,e)=>B(a,S(e));import{u as f,w as K}from"./xlsx-mTyBxUMi.js";import{d as N,c as j,w as i,b as u,g as A,h as $,i as d,j as p,u as g}from"./index-FZTP20Zj.js";const F={class:"font-medium"},J={class:"h-[25rem] mt-3"},q=N({name:"Excel",__name:"excel",setup(a){const e=(s=10,n="column-",r)=>Array.from({length:s}).map((l,o)=>y(w({},r),{key:`${n}${o}`,dataKey:`${n}${o}`,title:`Column ${o}`,width:150})),t=(s,n=200,r="row-")=>Array.from({length:n}).map((l,o)=>s.reduce((c,_,h)=>(c[_.dataKey]=`Row ${o} - Col ${h}`,c),{id:`${r}${o}`,parentId:null})),m=e(10),k=t(m,1e3),C=()=>{const s=k.map(o=>{const c=[];return m.forEach(_=>{c.push(o[_.dataKey])}),c}),n=[];m.forEach(o=>{n.push(o.title)}),s.unshift(n);const r=f.aoa_to_sheet(s),l=f.book_new();f.book_append_sheet(l,r,"数据报表"),K(l,"tableV2.xlsx")};return(s,n)=>{const r=u("el-link"),l=u("el-button"),o=u("el-table-v2"),c=u("el-auto-resizer"),_=u("el-card");return A(),j(_,{shadow:"never"},{header:i(()=>[$("div",F,[d(" 导出Excel( "),p(r,{href:"https://github.com/SheetJS/sheetjs",target:"_blank",style:{margin:"0 5px 4px 0","font-size":"16px"}},{default:i(()=>[d(" github地址 ")]),_:1}),d(" ) ")])]),default:i(()=>[p(l,{type:"primary",onClick:C},{default:i(()=>[d("导出Excel")]),_:1}),$("div",J,[p(c,null,{default:i(({height:h,width:v})=>[p(o,{columns:g(m),data:g(k),width:v,height:h,fixed:""},null,8,["columns","data","width","height"])]),_:1})])]),_:1})}}});export{q as default};
|
@ -1 +1 @@
|
||||
import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-BfOq5G3P.js";import"./data-K5NZfVqP.js";import"./index-24ofiFkH.js";export{o as default};
|
||||
import{_ as o}from"./expand.vue_vue_type_script_setup_true_lang-xuabkhzs.js";import"./data-fmVO171t.js";import"./index-FZTP20Zj.js";export{o as default};
|
@ -1 +0,0 @@
|
||||
import{c as _}from"./data-K5NZfVqP.js";import{d as b,r,b as c,f as h,m as f,h as i,i as l,w as v,t as s,g as a,u as x}from"./index-24ofiFkH.js";const V={class:"m-4"},y={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},S=a("h3",null,"Family",-1),A=b({__name:"expand",setup(g){const o=r(!1),d=r(!1),m=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],u=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(k,t)=>{const n=c("el-switch"),p=c("pure-table");return h(),f("div",null,[i(" switch parent border: "),l(n,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},null,8,["modelValue"]),i(" switch child border: "),l(n,{modelValue:d.value,"onUpdate:modelValue":t[1]||(t[1]=e=>d.value=e)},null,8,["modelValue"]),l(p,{data:x(_),columns:m,border:o.value},{expand:v(({row:e})=>[a("div",V,[a("p",y,"State: "+s(e.state),1),a("p",C,"City: "+s(e.city),1),a("p",B,"Address: "+s(e.address),1),a("p",N,"Zip: "+s(e.zip),1),S,l(p,{data:e.family,columns:u,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{A as _};
|
1
dist/static/js/expand.vue_vue_type_script_setup_true_lang-xuabkhzs.js
vendored
Normal file
1
dist/static/js/expand.vue_vue_type_script_setup_true_lang-xuabkhzs.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{c as _}from"./data-fmVO171t.js";import{d as b,r,b as c,g as h,n as f,i,j as l,w as v,t as s,h as a,u as x}from"./index-FZTP20Zj.js";const V={class:"m-4"},y={class:"mb-2"},C={class:"mb-2"},B={class:"mb-2"},N={class:"mb-4"},S=a("h3",null,"Family",-1),A=b({__name:"expand",setup(g){const o=r(!1),d=r(!1),m=[{type:"expand",slot:"expand"},{label:"日期",prop:"date"},{label:"姓名",prop:"name"}],u=[{label:"Name",prop:"name"},{label:"State",prop:"state"},{label:"City",prop:"city"},{label:"Address",prop:"address"},{label:"Zip",prop:"zip"}];return(k,t)=>{const n=c("el-switch"),p=c("pure-table");return h(),f("div",null,[i(" switch parent border: "),l(n,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},null,8,["modelValue"]),i(" switch child border: "),l(n,{modelValue:d.value,"onUpdate:modelValue":t[1]||(t[1]=e=>d.value=e)},null,8,["modelValue"]),l(p,{data:x(_),columns:m,border:o.value},{expand:v(({row:e})=>[a("div",V,[a("p",y,"State: "+s(e.state),1),a("p",C,"City: "+s(e.city),1),a("p",B,"Address: "+s(e.address),1),a("p",N,"Zip: "+s(e.zip),1),S,l(p,{data:e.family,columns:u,border:d.value},null,8,["data","border"])])]),_:1},8,["data","border"])])}}});export{A as _};
|
1
dist/static/js/fail-Zo8kXstX.js
vendored
1
dist/static/js/fail-Zo8kXstX.js
vendored
@ -1 +0,0 @@
|
||||
import{useColumns as d}from"./columns-j_lU1MWt.js";import{d as p,c as i,w as t,b as o,f as m,i as s,h as u,u as f,p as h,l as b,g as a,_ as x}from"./index-24ofiFkH.js";import"./arrow-right-s-line-xoI-mVSn.js";const v=e=>(h("data-v-3a9748db"),e=e(),b(),e),w=v(()=>a("div",{class:"card-header"},[a("span",{class:"font-medium"},"失败页")],-1)),C=p({name:"Fail",__name:"fail",setup(e){const{columns:c}=d();return(I,g)=>{const n=o("el-button"),r=o("el-result"),l=o("PureDescriptions"),_=o("el-card");return m(),i(_,{shadow:"never"},{header:t(()=>[w]),default:t(()=>[s(r,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:t(()=>[s(n,{type:"primary"},{default:t(()=>[u("返回修改")]),_:1})]),_:1}),s(l,{columns:f(c),title:"您提交的内容有如下错误:",class:"p-6 ml-10 mr-10 bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}}),S=x(C,[["__scopeId","data-v-3a9748db"]]);export{S as default};
|
1
dist/static/js/fail-uqEEuKeA.js
vendored
Normal file
1
dist/static/js/fail-uqEEuKeA.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{useColumns as l}from"./columns-AfOdTwV5.js";import{d as p,c as u,w as t,b as o,g as i,j as s,i as m,u as f,p as h,m as b,h as a,_ as x}from"./index-FZTP20Zj.js";import"./arrow-right-s-line-xoI-mVSn.js";const v=e=>(h("data-v-8499cf2d"),e=e(),b(),e),w=v(()=>a("div",{class:"card-header"},[a("span",{class:"font-medium"},"失败页")],-1)),C=p({name:"Fail",__name:"fail",setup(e){const{columns:c}=l();return(I,g)=>{const n=o("el-button"),r=o("el-result"),_=o("PureDescriptions"),d=o("el-card");return i(),u(d,{shadow:"never"},{header:t(()=>[w]),default:t(()=>[s(r,{icon:"error",title:"提交失败","sub-title":"请核对并修改以下信息后,再重新提交。"},{extra:t(()=>[s(n,{type:"primary"},{default:t(()=>[m("返回修改")]),_:1})]),_:1}),s(_,{columns:f(c),title:"您提交的内容有如下错误:",class:"p-6 w-[90%] m-auto bg-[#fafafa] dark:bg-[#1d1d1d]"},null,8,["columns"])]),_:1})}}}),S=x(C,[["__scopeId","data-v-8499cf2d"]]);export{S as default};
|
@ -1 +1 @@
|
||||
import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-SAV2pzBZ.js";import"./index-24ofiFkH.js";export{m as default};
|
||||
import{_ as m}from"./filters.vue_vue_type_script_setup_true_lang-Tz8c_IJV.js";import"./index-FZTP20Zj.js";export{m as default};
|
@ -1 +1 @@
|
||||
import{d as _,r as g,b as s,f as b,m as v,i as o,w as l,h as n,t as x}from"./index-24ofiFkH.js";const N=_({__name:"filters",setup(y){const c=g(),d=e=>{const{clearFilter:t}=c.value.getTableRef();t(e)},i=()=>{d(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(e,t,a)=>{const r=a.property;return t[r]===e}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(e,t)=>t.tag===e,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(e,t)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:i},{default:l(()=>[n("reset date filter")]),_:1}),o(a,{onClick:d},{default:l(()=>[n("reset all filters")]),_:1}),o(u,{ref_key:"tableRef",ref:c,"row-key":"date",data:p,columns:m},{tag:l(({row:f})=>[o(r,{type:f.tag==="Home"?"":"success","disable-transitions":""},{default:l(()=>[n(x(f.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _};
|
||||
import{d as _,r as g,b as s,g as b,n as v,j as o,w as l,i as n,t as x}from"./index-FZTP20Zj.js";const N=_({__name:"filters",setup(y){const c=g(),d=e=>{const{clearFilter:t}=c.value.getTableRef();t(e)},f=()=>{d(["date"])},m=[{label:"日期",prop:"date",sortable:!0,columnKey:"date",filters:[{text:"2016-05-01",value:"2016-05-01"},{text:"2016-05-02",value:"2016-05-02"},{text:"2016-05-03",value:"2016-05-03"},{text:"2016-05-04",value:"2016-05-04"}],filterMethod:(e,t,a)=>{const r=a.property;return t[r]===e}},{label:"姓名",prop:"name"},{label:"地址",prop:"address"},{label:"标签",prop:"tag",filters:[{text:"Home",value:"Home"},{text:"Office",value:"Office"}],filterMethod:(e,t)=>t.tag===e,filterPlacement:"bottom-end",slot:"tag"}],p=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Home"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",tag:"Office"}];return(e,t)=>{const a=s("el-button"),r=s("el-tag"),u=s("pure-table");return b(),v("div",null,[o(a,{onClick:f},{default:l(()=>[n("reset date filter")]),_:1}),o(a,{onClick:d},{default:l(()=>[n("reset all filters")]),_:1}),o(u,{ref_key:"tableRef",ref:c,"row-key":"date",data:p,columns:m},{tag:l(({row:i})=>[o(r,{type:i.tag==="Home"?"":"success","disable-transitions":""},{default:l(()=>[n(x(i.tag),1)]),_:2},1032,["type"])]),_:1},512)])}}});export{N as _};
|
1
dist/static/js/fixColumn-lv4x2Sas.js
vendored
Normal file
1
dist/static/js/fixColumn-lv4x2Sas.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-Gs1frVxH.js";import"./data-fmVO171t.js";import"./index-FZTP20Zj.js";export{o as default};
|
1
dist/static/js/fixColumn-wLqY1bNw.js
vendored
1
dist/static/js/fixColumn-wLqY1bNw.js
vendored
@ -1 +0,0 @@
|
||||
import{_ as o}from"./fixColumn.vue_vue_type_script_setup_true_lang-bd_Y85WS.js";import"./data-K5NZfVqP.js";import"./index-24ofiFkH.js";export{o as default};
|
1
dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-Gs1frVxH.js
vendored
Normal file
1
dist/static/js/fixColumn.vue_vue_type_script_setup_true_lang-Gs1frVxH.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{a as e}from"./data-fmVO171t.js";import{d as m,b as n,g as u,c as _,w as a,i,j as r,u as t}from"./index-FZTP20Zj.js";const x=m({__name:"fixColumn",props:{height:{default:null}},setup(p){const o=p,s=[{label:"日期",prop:"date",width:"260",fixed:!0},{label:"姓名",prop:"name",width:"260"},{label:"地区",prop:"state",width:"260"},{label:"城市",prop:"city",width:"260"},{label:"地址",prop:"address",width:"260"},{label:"邮编",prop:"post-code",width:"260"},{label:"操作",width:"120",fixed:"right",slot:"operation"}];function b(c){}return(c,f)=>{const l=n("el-button"),d=n("pure-table");return u(),_(d,{data:o.height?t(e).concat(t(e)).concat(t(e)):t(e),columns:s,height:o.height},{operation:a(({row:h})=>[r(l,{link:"",type:"primary",size:"small",onClick:w=>void 0},{default:a(()=>[i(" Detail ")]),_:2},1032,["onClick"]),r(l,{link:"",type:"primary",size:"small"},{default:a(()=>[i("Edit")]),_:1})]),_:1},8,["data","height"])}}});export{x as _};
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user