virtual-tree-select
Advanced tools
| var name$1 = "virtual-tree-select"; | ||
| var description$1 = "虚拟下拉树选择框"; | ||
| var version$1 = "1.0.1"; | ||
| var version$1 = "1.0.2"; | ||
| var author$1 = "xyl <786549791@qq.com>"; | ||
@@ -1347,3 +1347,5 @@ var license$1 = "MIT"; | ||
| // 设置弹出层宽度(比触发区域宽10px) | ||
| this.popoverWidth = this.$refs.xz_content.clientWidth + 10; | ||
| var minWidth = this.$refs.xz_content.clientWidth + 10; | ||
| this.popoverWidth = minWidth > 370 ? minWidth : 370; | ||
| // 添加全局点击事件监听,用于点击外部关闭下拉框 | ||
@@ -1544,8 +1546,8 @@ document.addEventListener("click", this.handleClickOutside); | ||
| if (!inject) return | ||
| inject("data-v-1bd2a476_0", { source: "@charset \"UTF-8\";.virtualSelect[data-v-1bd2a476]{border:1px solid #a9c4df;background:#fff;height:34px;line-height:34px;border-radius:3px;padding:0 5px 0 10px;outline:0;cursor:pointer;user-select:none}.virtualSelect .xz[data-v-1bd2a476]{display:flex;outline:0}.virtualSelect .xz>span[data-v-1bd2a476]{flex:1;overflow:hidden;color:#879bc1}.virtualSelect .xz>span.single[data-v-1bd2a476]{color:#4f5e7b}.virtualSelect .xz .el-tag[data-v-1bd2a476]{line-height:22px;height:24px;font-size:16px;color:#4084f0;margin-top:3px}.virtualSelect .xz i[data-v-1bd2a476]{width:20px;line-height:34px;color:#6fabef;font-size:14px}.virtualSelect .xz i.el-icon-circle-close[data-v-1bd2a476]{display:none}.virtualSelect .xz:hover i.el-icon-circle-close[data-v-1bd2a476]{display:block}", map: undefined, media: undefined }) | ||
| ,inject("data-v-1bd2a476_1", { source: "@charset \"UTF-8\";.list-popover-ay{min-height:100px;max-height:400px;min-width:150px;display:flex;position:relative}.list-popover-ay .left{width:130px;border-right:1px solid #a9c4df;overflow:auto}.list-popover-ay .left li{line-height:35px;font-size:16px;padding:0 10px;display:flex;cursor:pointer}.list-popover-ay .left li:first-child{position:relative}.list-popover-ay .left li:first-child::after{display:block;content:\"\";border-bottom:1px solid #a9c4df;position:absolute;left:10px;right:10px;bottom:0}.list-popover-ay .left li:first-child span{padding-left:0}.list-popover-ay .left li.atthis{background:#b3d8ff;color:#4084f0;font-weight:700}.list-popover-ay .left li i{align-content:center;padding-right:5px;line-height:35px}.list-popover-ay .left li span{padding-left:20px;display:block;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-popover-ay .right{flex:1;display:flex;flex-direction:column}.list-popover-ay .list{overflow:auto;position:relative;flex:1}.list-popover-ay .btn{height:36px;line-height:36px;display:flex;background:#fff}.list-popover-ay .btn .search{padding:0 5px;font-size:14px}.list-popover-ay .btn .search .el-input__inner{border:0;border-bottom:1px solid #a9c4df;border-radius:0}.list-popover-ay .btn .an{position:relative;top:-1px}.list-popover-ay .right ul{list-style:none;user-select:none;position:absolute;left:0;top:0;right:0}.list-popover-ay .right ul li{line-height:30px;white-space:nowrap;display:flex;align-items:center;font-size:16px;height:30px;cursor:pointer}.list-popover-ay .right ul li.active-li{background:#d7e5f9;color:#165ac6}.list-popover-ay .right ul li .el-checkbox{display:flex;overflow:hidden;align-items:center;flex:1}.list-popover-ay .right ul li .el-checkbox .el-checkbox__input{position:relative;top:1px;margin:0}.list-popover-ay .right ul li .el-checkbox .el-checkbox__label{text-overflow:ellipsis;overflow:hidden;line-height:16px!important}.list-popover-ay .right ul li i{display:inline-block;width:14px;color:#a9c4df;margin-right:5px;margin-top:2px;font-size:14px}.list-popover-ay .right ul li i.el-icon-caret-bottom{cursor:pointer}.list-popover-ay .right ul li i.hide{transform-origin:50% 50%;transform:rotate(-90deg)}.list-popover-ay .right ul .el-checkbox .el-checkbox__label{text-indent:0;font-size:16px;color:#606266}.list-popover-ay .right ul .el-checkbox__input.is-checked+.el-checkbox__label{color:#606266}.treeSelect_v_popover[x-placement^=bottom]{margin-top:4px;margin-left:-10px;padding:0}.treeSelect_v_popover[x-placement^=bottom] .popper__arrow{display:none}.treeSelect_v_popover[x-placement^=bottom] p{text-align:center;color:#b1b8c5;padding-top:20px}", map: undefined, media: undefined }); | ||
| inject("data-v-1343c5ae_0", { source: "@charset \"UTF-8\";.virtualSelect[data-v-1343c5ae]{border:1px solid #a9c4df;background:#fff;height:34px;line-height:34px;border-radius:3px;padding:0 5px 0 10px;outline:0;cursor:pointer;user-select:none}.virtualSelect .xz[data-v-1343c5ae]{display:flex;outline:0}.virtualSelect .xz>span[data-v-1343c5ae]{flex:1;overflow:hidden;color:#879bc1}.virtualSelect .xz>span.single[data-v-1343c5ae]{color:#4f5e7b}.virtualSelect .xz .el-tag[data-v-1343c5ae]{line-height:22px;height:24px;font-size:16px;color:#4084f0;margin-top:3px}.virtualSelect .xz i[data-v-1343c5ae]{width:20px;line-height:34px;color:#6fabef;font-size:14px}.virtualSelect .xz i.el-icon-circle-close[data-v-1343c5ae]{display:none}.virtualSelect .xz:hover i.el-icon-circle-close[data-v-1343c5ae]{display:block}", map: undefined, media: undefined }) | ||
| ,inject("data-v-1343c5ae_1", { source: "@charset \"UTF-8\";.list-popover-ay{min-height:100px;max-height:400px;min-width:360px;display:flex;position:relative}.list-popover-ay .left{width:130px;border-right:1px solid #a9c4df;overflow:auto}.list-popover-ay .left li{line-height:35px;font-size:16px;padding:0 10px;display:flex;cursor:pointer}.list-popover-ay .left li:first-child{position:relative}.list-popover-ay .left li:first-child::after{display:block;content:\"\";border-bottom:1px solid #a9c4df;position:absolute;left:10px;right:10px;bottom:0}.list-popover-ay .left li:first-child span{padding-left:0}.list-popover-ay .left li.atthis{background:#b3d8ff;color:#4084f0;font-weight:700}.list-popover-ay .left li i{align-content:center;padding-right:5px;line-height:35px}.list-popover-ay .left li span{padding-left:20px;display:block;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-popover-ay .right{flex:1;display:flex;flex-direction:column}.list-popover-ay .list{overflow:auto;position:relative;flex:1}.list-popover-ay .btn{height:36px;line-height:36px;display:flex;background:#fff}.list-popover-ay .btn .search{padding:0 5px;font-size:14px}.list-popover-ay .btn .search .el-input__inner{border:0;border-bottom:1px solid #a9c4df;border-radius:0}.list-popover-ay .btn .an{position:relative;top:-1px}.list-popover-ay .right ul{list-style:none;user-select:none;position:absolute;left:0;top:0;right:0}.list-popover-ay .right ul li{line-height:30px;white-space:nowrap;display:flex;align-items:center;font-size:16px;height:30px;cursor:pointer}.list-popover-ay .right ul li.active-li{background:#d7e5f9;color:#165ac6}.list-popover-ay .right ul li .el-checkbox{display:flex;overflow:hidden;align-items:center;flex:1}.list-popover-ay .right ul li .el-checkbox .el-checkbox__input{position:relative;top:1px;margin:0}.list-popover-ay .right ul li .el-checkbox .el-checkbox__label{text-overflow:ellipsis;overflow:hidden;line-height:16px!important}.list-popover-ay .right ul li i{display:inline-block;width:14px;color:#a9c4df;margin-right:5px;margin-top:2px;font-size:14px}.list-popover-ay .right ul li i.el-icon-caret-bottom{cursor:pointer}.list-popover-ay .right ul li i.hide{transform-origin:50% 50%;transform:rotate(-90deg)}.list-popover-ay .right ul .el-checkbox .el-checkbox__label{text-indent:0;font-size:16px;color:#606266}.list-popover-ay .right ul .el-checkbox__input.is-checked+.el-checkbox__label{color:#606266}.treeSelect_v_popover[x-placement^=bottom]{margin-top:4px;margin-left:-10px;padding:0}.treeSelect_v_popover[x-placement^=bottom] .popper__arrow{display:none}.treeSelect_v_popover[x-placement^=bottom] p{text-align:center;color:#b1b8c5;padding-top:20px}", map: undefined, media: undefined }); | ||
| }; | ||
| /* scoped */ | ||
| const __vue_scope_id__ = "data-v-1bd2a476"; | ||
| const __vue_scope_id__ = "data-v-1343c5ae"; | ||
| /* module identifier */ | ||
@@ -1552,0 +1554,0 @@ const __vue_module_identifier__ = undefined; |
+1
-1
| { | ||
| "name": "virtual-tree-select", | ||
| "description": "虚拟下拉树选择框", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "author": "xyl <786549791@qq.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
157777
0.07%4125
0.05%