n-sys 1.33.7 → 1.33.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n-sys",
3
- "version": "1.33.7",
3
+ "version": "1.33.9",
4
4
  "description": "neat admin system tool",
5
5
  "main": "index.js",
6
6
  "scripts": {},
package/small.css CHANGED
@@ -24,7 +24,7 @@
24
24
  .n-inputDate{width:100%;height:var(--theme-h1);display:flex;justify-content:space-between;align-items:center;border-radius:3px;font-size:var(--theme-font-size1);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)}.n-inputDate .n-inputDate-text{padding:0 var(--theme-padding1);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:var(--theme-padding2)}.n-inputDate .n-inputDate-oper{width:var(--theme-h1);flex-shrink:0;-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)}
25
25
  .n-item{font-size:var(--theme-font-size1)}.n-item>.n-item-tags{min-height:var(--theme-h1);display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;align-content:flex-start;gap:var(--theme-padding2)}.n-item>.n-item-tags .el-tag{font-size:var(--theme-font-size2);white-space:pre-wrap;line-height:1.4;height:auto;padding:calc( (var(--theme-h1) - var(--theme-font-size2) * 1.6) / 2 ) var(--theme-padding2)}.n-item>.n-item-tags .el-icon-close{display:flex;justify-content:center;align-items:center;display:inline-flex;top:auto}.n-item>.el-switch{height:var(--theme-h1)}.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);min-height:var(--theme-h1);line-height:1.6;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:var(--theme-padding1);line-height:1.7;min-height:var(--theme-h1);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{--size: calc( var(--theme-h1) * 1.56 );width:100%;height:100%;position:relative;background:var(--theme-bg-white1);overflow:hidden auto;font-size:calc(var(--theme-font-size1) * 1.1);scrollbar-width:none;-ms-overflow-style:none}.n-menu::-webkit-scrollbar{background:rgba(0,0,0,0);width:0px;height:0px}.n-menu::-webkit-scrollbar-thumb{background:var(--theme-scroll-btn-opacity);border-radius:calc(0px / 2)}.n-menu::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0)}.n-menu::-webkit-scrollbar-button{display:none}.n-menu::-webkit-scrollbar{display:none}.n-menu .n-menu-node{width:100%;height:var(--size);white-space:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;height:auto;position:relative;transition:all .5s;color:var(--theme-text3)}.n-menu .n-menu-node-line{width:100%;height:var(--size);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>i{margin-right:var(--theme-padding1);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-label{display:flex;align-items:center;justify-content:flex-start;flex:1;line-height:1;overflow:hidden;min-width:var(--size)}.n-menu .n-menu-label>i{width:var(--size);flex-shrink:0;font-size:calc(var(--theme-font-size1) * 1.45);display:flex;justify-content:center;align-items:center}.n-menu .n-menu-label>span{padding-right:var(--theme-padding2);flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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:auto hidden}.n-menu.n-menuHori .n-menu-nodeTop{height:100%;width:auto;flex-shrink:0}.n-menu.n-menuHori .n-menu-nodeTop .n-menu-node-line{height:100%}.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:200px}
27
- .n-num{width:100%;height:var(--theme-h1);border-radius:3px;display:flex;align-items:center;justify-content:flex-start;position:relative;overflow:hidden;font-size:var(--theme-font-size1)}.n-num>input{border:1px solid var(--theme-border2);width:100%;flex:1;background:var(--theme-bg-white1);height:100%;padding:0 var(--theme-padding1);text-align:center}.n-num>input:focus{border-color:var(--theme-color)}.n-num>input::-webkit-input-placeholder{color:var(--theme-text6)}.n-num .n-num-oper{-webkit-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:1px;top:1px;font-size:var(--theme-font-size2);width:var(--theme-h1);height:calc(100% - 2px);display:flex;justify-content:center;flex-direction:column;display:none;align-items:stretch;border-left:1px solid var(--theme-border1)}.n-num .n-num-oper>i{cursor:pointer;height:50%;display:flex;justify-content:center;align-items:center;background:var(--theme-bg-white4);color:var(--theme-text3);position:relative}.n-num .n-num-oper>i:hover{background:var(--theme-bg-white5)}.n-num .n-num-oper>i+i{border-top:1px solid var(--theme-border1)}.n-num .n-num-oper>i.n-num-disabled{cursor:not-allowed;pointer-events:none;color:var(--theme-text6);background:var(--theme-bg-white3)}.n-num.n-numShowOper>input{padding-right:calc( var(--theme-h1) + var(--theme-padding1) )}.n-num.n-numShowOper .n-num-oper{display:flex}.n-num.n-numHoverOper .n-num-oper{opacity:0;transition:all .3s}.n-num.n-numHoverOper:hover .n-num-oper{opacity:1}.n-num.n-numDisabled{cursor:not-allowed}.n-num.n-numDisabled>input{cursor:not-allowed;background:var(--theme-bg-white3)}
27
+ .n-num{width:100%;height:var(--theme-h1);border-radius:3px;display:flex;align-items:center;justify-content:flex-start;position:relative;overflow:hidden;font-size:var(--theme-font-size1)}.n-num>input{border:1px solid var(--theme-border2);width:100%;flex:1;background:var(--theme-bg-white1);height:100%;padding:0 var(--theme-padding1);text-align:center}.n-num>input:focus{border-color:var(--theme-color)}.n-num>input::placeholder{color:var(--theme-text6)}.n-num .n-num-oper{-webkit-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:1px;top:1px;font-size:var(--theme-font-size2);width:var(--theme-h1);height:calc(100% - 2px);display:flex;justify-content:center;flex-direction:column;display:none;align-items:stretch;border-left:1px solid var(--theme-border1)}.n-num .n-num-oper>i{cursor:pointer;height:50%;display:flex;justify-content:center;align-items:center;background:var(--theme-bg-white4);color:var(--theme-text3);position:relative}.n-num .n-num-oper>i:hover{background:var(--theme-bg-white5)}.n-num .n-num-oper>i+i{border-top:1px solid var(--theme-border1)}.n-num .n-num-oper>i.n-num-disabled{cursor:not-allowed;pointer-events:none;color:var(--theme-text6);background:var(--theme-bg-white3)}.n-num.n-numShowOper>input{padding-right:calc( var(--theme-h1) + var(--theme-padding1) )}.n-num.n-numShowOper .n-num-oper{display:flex}.n-num.n-numHoverOper .n-num-oper{opacity:0;transition:all .3s}.n-num.n-numHoverOper:hover .n-num-oper{opacity:1}.n-num.n-numDisabled{cursor:not-allowed}.n-num.n-numDisabled>input{cursor:not-allowed;background:var(--theme-bg-white3)}
28
28
  .n-operMenu{width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:var(--theme-padding2)}.n-operMenu-item>.el-button>i+span{margin-left:5px}.n-operMenu-line{margin-right:0;flex:0 1 100%}.n-operMenu-childRight{justify-content:flex-end}.n-operMenu-right{margin-left:auto}.n-operMenu-half{flex:0 1 50%}.n-operMenu-auto{flex:1}
29
29
  .n-page{color:var(--theme-text3);width:100%;display:flex;align-items:center;justify-content:flex-start;gap:var(--theme-padding3);font-size:var(--theme-font-size1);padding:0}.n-page::before,.n-page::after{display:none}.n-page span:not([class*=suffix]),.n-page button{height:var(--theme-h1);font-size:inherit;min-width:var(--theme-h1);display:flex;justify-content:center;align-items:center;line-height:1}.n-page .el-pagination__total{color:var(--theme-text3);margin:0}.n-page .number,.n-page .btn-prev,.n-page .btn-next{padding:0 var(--theme-padding4);min-width:var(--theme-h1);height:var(--theme-h1);border-radius:3px;font-size:inherit;background:var(--theme-bg-white1);font-weight:400;margin:0;line-height:1;display:flex;justify-content:center;align-items:center;border:1px solid var(--theme-border1)}.n-page .number:not([disabled]):hover,.n-page .number.active,.n-page .btn-prev:not([disabled]):hover,.n-page .btn-prev.active,.n-page .btn-next:not([disabled]):hover,.n-page .btn-next.active{color:var(--theme-color);border-color:var(--theme-color)}.n-page .number.active,.n-page .btn-prev.active,.n-page .btn-next.active{font-weight:bold}.n-page .number[disabled],.n-page .btn-prev[disabled],.n-page .btn-next[disabled]{color:var(--theme-text6);border-color:var(--theme-border3)}.n-page .el-pager{font-size:inherit;display:flex;align-items:center;justify-content:flex-start;gap:var(--theme-padding3)}.n-page .el-pager .more{margin:0;display:flex;justify-content:center;align-items:center;line-height:1;color:var(--theme-text3);width:var(--theme-h1);height:var(--theme-h1);background:var(--theme-bg-white1)}.n-page .el-pager .number{border:1px solid var(--theme-border1)}.n-page .el-pager .number:not([disabled]):hover,.n-page .el-pager .number.active{border-color:var(--theme-color)}.n-page .el-pagination__sizes{margin:0}.n-page .el-pagination__sizes .el-input{margin:0}.n-page .el-pagination__sizes .el-input__inner{height:var(--theme-h1);font-size:var(--theme-font-size1);line-height:var(--theme-h1)}
30
30
  .n-radio{display:flex;align-items:center;justify-content:flex-start;display:inline-flex;gap:5px;cursor:pointer;line-height:1}.n-radio .n-radio-btn{width:1em;height:1em;border-radius:50%;border:1px solid var(--theme-border1);position:relative}.n-radio .n-radio-btn>i{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:.5em;cursor:inherit;height:.5em;border-radius:50%;transform:translate(-50%, -50%) scale(0);opacity:0;background:var(--theme-color)}.n-radio:hover:not(.n-radioDisabled){color:var(--theme-color)}.n-radio:hover:not(.n-radioDisabled) .n-radio-btn{border-color:var(--theme-color)}.n-radio.n-radioDisabled{cursor:not-allowed}.n-radio.n-radioDisabled .n-radio-btn{background:var(--theme-bg-white4);filter:grayscale(2)}.n-radio.n-radioCheck .n-radio-btn{border-color:var(--theme-color)}.n-radio.n-radioCheck .n-radio-btn>i{opacity:1;transition:all .3s;transform:translate(-50%, -50%) scale(1)}