n-sys 1.31.41 → 1.31.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.css +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/small.css +1 -1
- package/small.js +1 -1
package/package.json
CHANGED
package/small.css
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.n-checkbox{display:flex;align-items:center;justify-content:flex-start;display:inline-flex;gap:5px;cursor:pointer;line-height:1}.n-checkbox .n-checkbox-btn{width:1em;height:1em;flex-shrink:0;border-radius:3px;border:1px solid var(--theme-border1);position:relative}.n-checkbox .n-checkbox-btn>i{font-size:.7em;opacity:1;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);line-height:1;color:#fff;cursor:inherit;transform:translate(-50%, -50%) rotateY(90deg)}.n-checkbox .n-checkbox-btn .el-icon-minus{display:none}.n-checkbox:hover:not(.n-checkboxDisabled){color:var(--theme-color)}.n-checkbox:hover:not(.n-checkboxDisabled) .n-checkbox-btn{border-color:var(--theme-color)}.n-checkbox.n-checkboxDisabled{cursor:not-allowed}.n-checkbox.n-checkboxDisabled .n-checkbox-btn{background:var(--theme-bg-white4);filter:grayscale(2)}.n-checkbox.n-checkboxIndeterminate:not(.n-checkboxCheck) .n-checkbox-btn>.el-icon-minus{display:block}.n-checkbox.n-checkboxIndeterminate:not(.n-checkboxCheck) .n-checkbox-btn>.el-icon-check{display:none}.n-checkbox.n-checkboxCheck .n-checkbox-btn,.n-checkbox.n-checkboxIndeterminate .n-checkbox-btn{background:var(--theme-color);border-color:var(--theme-color)}.n-checkbox.n-checkboxCheck .n-checkbox-btn>i,.n-checkbox.n-checkboxIndeterminate .n-checkbox-btn>i{opacity:1;transition:all .3s;transform:translate(-50%, -50%) rotateY(0deg)}
|
|
21
21
|
.n-customCol.n-handle .n-handle-content{max-width:1000px}.n-customCol .n-customCol-main{--item-size:100px;height:60vh;max-height:700px;width:100%;display:flex;justify-content:space-between;align-items:center;align-items:stretch}.n-customCol .n-customCol-left{flex:1;width:0;border:1px solid var(--theme-border3);margin-right:20px;overflow-y:auto}.n-customCol .n-customCol-left>li{width:100%;padding:20px}.n-customCol .n-customCol-left>li>p{color:var(--theme-text1);font-weight:bold;display:flex;align-items:center;justify-content:flex-start;margin-bottom:20px}.n-customCol .n-customCol-left>li>p>span{cursor:pointer;font-weight:300;font-size:12px;margin-left:auto;color:var(--theme-color)}.n-customCol .n-customCol-left>li>p>span:hover{opacity:.7}.n-customCol .n-customCol-left>li+li{border-top:1px solid var(--theme-border3)}.n-customCol .n-customCol-opts{display:grid;gap:20px;grid-template-columns:repeat(auto-fill, minmax(var(--item-size), 1fr))}.n-customCol .n-customCol-opts .n-checkbox{min-height:20px;line-height:1.5;color:var(--theme-text3)}.n-customCol .n-customCol-opts .n-checkbox:not(.n-checkboxDisabled):hover,.n-customCol .n-customCol-opts .n-checkbox:not(.n-checkboxDisabled).n-checkboxCheck{color:var(--theme-color)}.n-customCol .n-customCol-right{flex:0 1 25%;max-width:240px;min-width:200px;width:0;border:1px solid var(--theme-border3);display:flex;flex-direction:column}.n-customCol .n-customCol-right>footer{height:30px;background:var(--theme-bg-white1);display:flex;justify-content:center;align-items:center;color:var(--theme-color);border-top:1px solid var(--theme-border3);cursor:pointer}.n-customCol .n-customCol-right>footer:hover{background:var(--theme-color-light9)}.n-customCol .n-customCol-right>p{font-size:14px;color:var(--theme-text3);display:flex;justify-content:space-between;align-items:center;padding:0 10px;height:36px;border-bottom:1px solid var(--theme-border3)}.n-customCol .n-customCol-right>p>span{cursor:pointer;color:var(--theme-color)}.n-customCol .n-customCol-right>p>span:hover{opacity:.7}.n-customCol .n-customCol-checks{flex:1;padding:10px;overflow-y:auto}.n-customCol .n-customCol-checks>li{display:flex;align-items:center;justify-content:flex-start;padding:0 10px;height:30px;font-size:14px;width:100%;position:relative;color:var(--theme-text4);background:var(--theme-bg-white3);border-radius:3px}.n-customCol .n-customCol-checks>li>i{margin-left:5px}.n-customCol .n-customCol-checks>li>i:hover{font-weight:bold;color:var(--theme-color-dark1)}.n-customCol .n-customCol-checks>li>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-customCol .n-customCol-checks>li+li{margin-top:10px}.n-customCol .n-customCol-checks>li:hover{background:var(--theme-grey-light8)}.n-customCol .n-customCol-checks .n-customCol-checks-fixedLeft{background:var(--theme-color-light9);color:var(--theme-color)}.n-customCol .n-customCol-checks .n-customCol-checks-fixedRight{background:var(--theme-yellow-light9);color:var(--theme-yellow)}.n-customCol .n-customCol-checks .n-customCol-checks-fixedRight>i:hover{color:var(--theme-yellow-dark1)}.n-customCol .n-customCol-checks .n-customCol-checks-dragT::before,.n-customCol .n-customCol-checks .n-customCol-checks-dragB::before{content:" ";position:absolute;left:0;top:0;width:100%;height:1px;background:var(--theme-color);transform:translate(0, -5px)}.n-customCol .n-customCol-checks .n-customCol-checks-dragB::before{transform:translate(0, 5px);bottom:0;top:auto}
|
|
22
22
|
.n-customItem.n-handle .n-handle-content{max-width:700px}.n-customItem .n-customItem-main{--item-size:150px;height:50vh;max-height:700px;width:100%;display:flex;justify-content:space-between;align-items:center;align-items:stretch;gap:10px}.n-customItem .n-customItem-title{display:flex;align-items:center;justify-content:flex-start;color:var(--theme-text1);font-weight:bold;display:flex;align-items:center;justify-content:flex-start;gap:5px;height:36px;font-size:13px;background:var(--theme-bg-white3);padding:0 10px}.n-customItem .n-customItem-title>span{cursor:pointer;font-weight:300;margin-left:auto;font-size:12px;color:var(--theme-text5)}.n-customItem .n-customItem-title>em{margin-left:auto;color:var(--theme-color);font-weight:300;cursor:pointer}.n-customItem .n-customItem-left{flex:1;width:0;border:1px solid var(--theme-border3);display:flex;flex-direction:column;align-items:stretch}.n-customItem .n-customItem-opts{display:grid;height:0;flex:1;padding:10px;overflow-y:auto;overflow-x:hidden;gap:10px;grid-template-columns:repeat(auto-fill, minmax(var(--item-size), 1fr));grid-auto-rows:36px}.n-customItem .n-customItem-opts>li{border-radius:3px;background:var(--theme-bg-white3);min-width:0;min-height:0;width:100%;height:100%;padding:0 15px;display:flex;justify-content:center;align-items:center;font-size:14px;color:var(--theme-text3);cursor:pointer}.n-customItem .n-customItem-opts>li:hover{color:var(--theme-color)}.n-customItem .n-customItem-opts .n-customItem-check{color:var(--theme-color);background:var(--theme-color-light9)}.n-customItem .n-customItem-opts .n-customItem-disabled{opacity:.5;cursor:not-allowed}.n-customItem .n-customItem-right{flex:0 1 25%;max-width:240px;min-width:200px;width:0;border:1px solid var(--theme-border3);display:flex;flex-direction:column}.n-customItem .n-customItem-list{flex:1;height:0;padding:10px;overflow-y:auto}.n-customItem .n-customItem-list>li{display:flex;align-items:center;justify-content:flex-start;padding:0 10px;height:30px;font-size:14px;width:100%;position:relative;color:var(--theme-text4);background:var(--theme-bg-white3);border-radius:3px;gap:5px}.n-customItem .n-customItem-list>li>i:hover{color:var(--theme-color)}.n-customItem .n-customItem-list>li>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-customItem .n-customItem-list>li+li{margin-top:10px}.n-customItem .n-customItem-list .n-customItem-fixed-left{background:var(--theme-color-opacity1);color:var(--theme-color)}.n-customItem .n-customItem-list .n-customItem-fixed-right{background:var(--theme-yellow-light9);color:var(--theme-yellow)}.n-customItem .n-customItem-list .n-customItem-dragT::before,.n-customItem .n-customItem-list .n-customItem-dragB::before{content:" ";position:absolute;left:0;top:0;width:100%;height:1px;background:var(--theme-color);transform:translate(0, -5px)}.n-customItem .n-customItem-list .n-customItem-dragB::before{transform:translate(0, 5px);bottom:0;top:auto}
|
|
23
|
-
.n-handle{--z-index:1000;--size:700px;--label-size:160px;position:fixed;left:-200%;top:0;width:100%;height:100%;z-index:var(--z-index);display:flex;justify-content:flex-end;align-items:center;overflow:hidden;align-items:stretch;transition:left 0s linear .3s}.n-handle .n-handle-mask{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);opacity:0;width:100%;height:100%;background:var(--theme-bg-black1);transition:all .3s}.n-handle .n-handle-content{position:relative;transition:all .3s;z-index:2;transform:translate(100%, 0);background:var(--theme-bg-white1-fill);padding:20px;display:flex;flex-direction:column;align-items:stretch;height:100%;width:var(--size)}.n-handle .n-handle-header{font-size:17px;padding:5px;margin-bottom:20px;border-radius:3px;display:flex;align-items:center;justify-content:flex-start;color:var(--theme-text3);flex-shrink:0}.n-handle .n-handle-header>i{cursor:pointer;font-size:17px;color:var(--theme-text5);margin-left:auto;width:24px;height:24px;border-radius:3px;display:flex;justify-content:center;align-items:center}.n-handle .n-handle-header>i:hover{background:var(--theme-color-light9);color:var(--theme-color)}.n-handle .n-handle-bottom{display:flex;justify-content:flex-end;align-items:center;margin-top:30px;flex-shrink:0}.n-handle .n-handle-form{overflow-y:auto;height:0;flex:1}.n-handle .n-handle-form-required{color:var(--theme-red);margin-right:3px}.n-handle .n-handle-form-label{height:36px;display:flex;justify-content:flex-end;align-items:center;width:var(--label-size);flex-shrink:0;color:var(--theme-text3);padding-right:12px}.n-handle .n-handle-form-label>em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-handle .n-handle-form-content{flex:1;width:0}.n-handle .n-handle-form-content>.n-item>.n-num,.n-handle .n-handle-form-content>.n-item>.el-cascader,.n-handle .n-handle-form-content>.n-item>.n-checkBtn:not(.n-checkBtnAuto),.n-handle .n-handle-form-content>.n-item>.el-input,.n-handle .n-handle-form-content>.n-item>.el-input-number,.n-handle .n-handle-form-content>.n-item>.el-select,.n-handle .n-handle-form-content>.n-item>.el-textarea,.n-handle .n-handle-form-content>.n-item>.el-range-editor,.n-handle .n-handle-form-content>.n-item>.n-inputDate,.n-handle .n-handle-form-content>.n-item>.n-upload{width:300px;max-width:100%}.n-handle .n-handle-form-content>.n-item>.el-slider{width:280px;max-width:calc(100% - 20px)}.n-handle .n-handle-form-item{border-radius:5px;margin-bottom:10px;padding:10px;display:flex;transition:all .3s;font-size:14px}.n-handle .n-handle-form-err{transition:all .3s;background:var(--theme-red-light9)}.n-handle .n-handle-form-errInfo{color:var(--theme-red);margin-top:6px;font-size:12px}.n-handle.n-handleDrag .n-handle-content{cursor:move}.n-handle.n-handleDrag .n-handle-form,.n-handle.n-handleDrag .n-handle-header{cursor:auto}.n-handle.n-handleDragMove .n-handle-content{transition:none}.n-handle.n-handleShow{left:0;transition:none}.n-handle.n-handleShow .n-handle-mask{opacity:.5}.n-handle.n-handleShow .n-handle-content{transform:translate(0, 0)}.n-handle.n-handleDialog{justify-content:center;align-items:center}.n-handle.n-handleDialog .n-handle-content{height:auto;border-radius:2px;opacity:0;max-height:90vh;transform:translate(0, -50px)}.n-handle.n-handleDialog .n-handle-form{height:auto}.n-handle.n-handleDialog.n-handleShow .n-handle-content{opacity:1;transform:translate(0, 0)}.n-handle.n-handlePage{position:static;height:auto;display:block;z-index:1}.n-handle.n-handlePage .n-handle-mask{display:none}.n-handle.n-handlePage .n-handle-content{width:100%;display:block;transform:translate(0, 0)}.n-handle.n-handlePage .n-handle-form{height:auto}
|
|
23
|
+
.n-handle{--z-index:1000;--size:700px;--label-size:160px;position:fixed;left:-200%;top:0;width:100%;height:100%;z-index:var(--z-index);display:flex;justify-content:flex-end;align-items:center;overflow:hidden;align-items:stretch;transition:left 0s linear .3s}.n-handle .n-handle-mask{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);opacity:0;width:100%;height:100%;background:var(--theme-bg-black1);transition:all .3s}.n-handle .n-handle-content{position:relative;transition:all .3s;z-index:2;transform:translate(100%, 0);background:var(--theme-bg-white1-fill);padding:20px;display:flex;flex-direction:column;align-items:stretch;height:100%;width:var(--size)}.n-handle .n-handle-header{font-size:17px;padding:5px;margin-bottom:20px;border-radius:3px;display:flex;align-items:center;justify-content:flex-start;color:var(--theme-text3);flex-shrink:0}.n-handle .n-handle-header>i{cursor:pointer;font-size:17px;color:var(--theme-text5);margin-left:auto;width:24px;height:24px;border-radius:3px;display:flex;justify-content:center;align-items:center}.n-handle .n-handle-header>i:hover{background:var(--theme-color-light9);color:var(--theme-color)}.n-handle .n-handle-bottom{display:flex;justify-content:flex-end;align-items:center;margin-top:30px;flex-shrink:0}.n-handle .n-handle-form{overflow-y:auto;height:0;flex:1}.n-handle .n-handle-form-required{color:var(--theme-red);margin-right:3px}.n-handle .n-handle-form-label{height:36px;display:flex;justify-content:flex-end;align-items:center;width:var(--label-size);flex-shrink:0;color:var(--theme-text3);padding-right:12px}.n-handle .n-handle-form-label>em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-handle .n-handle-form-content{flex:1;width:0}.n-handle .n-handle-form-content>.n-item>.n-num,.n-handle .n-handle-form-content>.n-item>.el-cascader,.n-handle .n-handle-form-content>.n-item>.n-checkBtn:not(.n-checkBtnAuto),.n-handle .n-handle-form-content>.n-item>.el-input,.n-handle .n-handle-form-content>.n-item>.el-input-number,.n-handle .n-handle-form-content>.n-item>.el-select,.n-handle .n-handle-form-content>.n-item>.el-textarea,.n-handle .n-handle-form-content>.n-item>.el-range-editor,.n-handle .n-handle-form-content>.n-item>.n-inputDate,.n-handle .n-handle-form-content>.n-item>.n-upload{width:300px;max-width:100%}.n-handle .n-handle-form-content>.n-item>.el-slider{width:280px;max-width:calc(100% - 20px)}.n-handle .n-handle-form-item{border-radius:5px;margin-bottom:10px;padding:10px;display:flex;transition:all .3s;font-size:14px}.n-handle .n-handle-form-err{transition:all .3s;background:var(--theme-red-light9)}.n-handle .n-handle-form-errInfo{color:var(--theme-red);margin-top:6px;font-size:12px}.n-handle.n-handleDrag .n-handle-content{cursor:move}.n-handle.n-handleDrag .n-handle-form,.n-handle.n-handleDrag .n-handle-header{cursor:auto}.n-handle.n-handleDragMove .n-handle-content{transition:none}.n-handle.n-handleShow{left:0;transition:none}.n-handle.n-handleShow .n-handle-mask{opacity:.5}.n-handle.n-handleShow .n-handle-content{transform:translate(0, 0)}.n-handle.n-handleDialog{justify-content:center;align-items:center}.n-handle.n-handleDialog .n-handle-content{height:auto;border-radius:2px;opacity:0;max-height:90vh;max-width:90vw;transform:translate(0, -50px)}.n-handle.n-handleDialog .n-handle-form{height:auto}.n-handle.n-handleDialog.n-handleShow .n-handle-content{opacity:1;transform:translate(0, 0)}.n-handle.n-handlePage{position:static;height:auto;display:block;z-index:1}.n-handle.n-handlePage .n-handle-mask{display:none}.n-handle.n-handlePage .n-handle-content{width:100%;display:block;transform:translate(0, 0)}.n-handle.n-handlePage .n-handle-form{height:auto}
|
|
24
24
|
.n-inputDate{width:100%;height:36px;display:flex;justify-content:space-between;align-items:center;border-radius:3px;overflow:hidden;align-items:stretch;background:var(--theme-bg-white1);border:1px solid var(--theme-border1)}.n-inputDate:hover{border-color:var(--theme-text6)}.n-inputDate.n-inputDate-focus{border-color:var(--theme-color) !important}.n-inputDate .n-inputDate-text{padding:0 10px;font-size:13px;color:var(--theme-text3);display:flex;align-items:center;justify-content:flex-start;width:0;flex:1}.n-inputDate .n-inputDate-item{height:100%;text-align:center;display:flex;justify-content:center;align-items:center}.n-inputDate .n-inputDate-focus{background:var(--theme-color);color:#fff}.n-inputDate .n-inputDate-def{margin:0 1px;padding-top:-2px;margin-bottom:2px}.n-inputDate .n-inputDate-space{width:10px}.n-inputDate .n-inputDate-oper{width:36px;flex:0 0 36px;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;justify-content:center;flex-direction:column;display:none;align-items:stretch;border-left:1px solid var(--theme-border1)}.n-inputDate .n-inputDate-oper>i{cursor:pointer;height:50%;display:flex;justify-content:center;align-items:center;background:var(--theme-bg-white4);color:var(--theme-text3)}.n-inputDate .n-inputDate-oper>i:hover{background:var(--theme-bg-white5)}.n-inputDate .n-inputDate-oper>i+i{border-top:1px solid var(--theme-border1)}.n-inputDate.n-inputDateShowOper .n-inputDate-oper{display:flex}.n-inputDate.n-inputDateDisabled{cursor:not-allowed;background:var(--theme-bg-white3)}.n-inputDate.n-inputDateDisabled .n-inputDate-text,.n-inputDate.n-inputDateDisabled .n-inputDate-oper{pointer-events:none}.n-inputDate.n-inputDateDisabled .n-inputDate-oper{background:var(--theme-bg-white4) !important}
|
|
25
25
|
.n-item>.el-tag{margin:4px 10px 4px 0}.n-item>.el-switch{height:36px}.n-item>.el-input input,.n-item>.el-cascader,.n-item>.el-input,.n-item>.el-input-number,.n-item>.el-select,.n-item>.el-textarea,.n-item>.el-slider,.n-item>.el-date-editor:not([__null__]){width:100%}.n-item>.n-item-richText{width:100%;background:var(--theme-bg-white1)}.n-item>.n-item-txt{color:var(--theme-text5);height:36px;display:flex;align-items:center;justify-content:flex-start}.n-item .n-item-code{color:#ccc;background:#272822;border:1px solid var(--theme-border1);border-radius:3px;max-height:400px;white-space:pre-wrap;padding:10px;font-size:14px;line-height:1.7;min-height:32px;overflow-y:auto}.n-item .n-item-code::-webkit-scrollbar{background:rgba(255,255,255,0);width:7px;height:7px}.n-item .n-item-code::-webkit-scrollbar-thumb{background:rgba(255,255,255,.3);border-radius:calc(7px / 2)}.n-item .n-item-code::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.9)}.n-item .n-item-code::-webkit-scrollbar-button{display:none}
|
|
26
26
|
.n-menu{width:100%;height:100%;position:relative;background:var(--theme-bg-white1);overflow-y:auto;overflow-x:hidden}.n-menu::-webkit-scrollbar{width:0px;height:0px}.n-menu .n-menu-node{width:100%;height:50px;white-space:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:auto;position:relative;font-size:14px;transition:all .5s;color:var(--theme-text3)}.n-menu .n-menu-node-line{width:100%;height:50px;white-space:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;--indent:0px;padding-left:var(--indent)}.n-menu .n-menu-node-line>span{display:flex;align-items:center;justify-content:flex-start;flex:1;overflow:hidden;min-width:50px}.n-menu .n-menu-node-line>span>i{width:50px;flex-shrink:0;font-size:19px;display:flex;justify-content:center;align-items:center}.n-menu .n-menu-node-line>span>span{padding-right:10px;flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.n-menu .n-menu-node-line>i{margin-right:15px;transition:all .5s}.n-menu .n-menu-node-line:hover{color:var(--theme-color);background-color:var(--theme-color-opacity1)}.n-menu .n-menu-node-line.n-menu-node-focus{color:var(--theme-color)}.n-menu .n-menu-node-line.n-menu-node-check{border-right:4px solid var(--theme-color);color:var(--theme-color);background:linear-gradient(-90deg, var(--theme-color-opacity1), rgba(255, 255, 255, 0))}.n-menu .n-menu-node-line.n-menu-node-disabled{cursor:not-allowed;background:var(--theme-grey-opacity1);color:var(--theme-text5)}.n-menu .n-menu-sub{background:var(--theme-bg-white3);width:100%;transition:max-height .5s;overflow:hidden}.n-menu .n-menu-pop{position:fixed;background:var(--theme-bg-white1);max-height:350px;border-radius:3px;width:200px;opacity:0;z-index:10;overflow:hidden;transform-origin:left top;transform:scale(0, 1);transition:transform .4s ease-in .1s,opacity .3s ease-in .1s}.n-menu .n-menu-pop .n-menu-node-line{padding:0}.n-menu .n-menu-pop.n-menu-popVert{transform:scale(1, 0)}.n-menu .n-menu-pop.n-menu-popShow{transform:scale(1, 1);overflow-y:auto;box-shadow:4px 4px 16px 1px rgba(0,0,0,.12);transition:transform .4s ease-in,opacity .3s ease-in;opacity:1}.n-menu.n-menuHori{display:flex;align-items:center;justify-content:flex-start;align-items:stretch;overflow-y:hidden;overflow-x:auto}.n-menu.n-menuHori .n-menu-nodeTop{height:100%;width:auto;flex-shrink:0;width:50px}.n-menu.n-menuHori .n-menu-nodeTop>.n-menu-node-line>i{margin-right:12px}.n-menu.n-menuHori .n-menu-nodeTop>.n-menu-node-line.n-menu-node-check{border-right:0;overflow:hidden;border-top:3px solid var(--theme-color);padding-bottom:3px;background:linear-gradient(180deg, var(--theme-color-opacity1), rgba(255, 255, 255, 0))}.n-menu.n-menuHori.n-menuExpand .n-menu-nodeTop{width:160px}
|