@fmdevui/fm-dev 1.0.77 → 1.0.78

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.
@@ -1 +1,2 @@
1
- .drag_verify[data-v-9e8c9ed2]{background-color:#e8e8e8;overflow:hidden;position:relative;text-align:center}.drag_verify .dv_handler[data-v-9e8c9ed2]{cursor:move;left:0;position:absolute;top:0}.drag_verify .dv_handler i[data-v-9e8c9ed2]{color:#666;font-size:16px;padding-left:0}.drag_verify .dv_handler .el-icon-circle-check[data-v-9e8c9ed2]{color:#6c6;margin-top:9px}.drag_verify .dv_progress_bar[data-v-9e8c9ed2]{height:34px;position:absolute;width:0}.drag_verify .dv_text[data-v-9e8c9ed2]{background:-webkit-gradient(linear,left top,right top,color-stop(0,var(--textColor)),color-stop(.4,var(--textColor)),color-stop(.5,#fff),color-stop(.6,var(--textColor)),color-stop(1,var(--textColor)));-webkit-background-clip:text;color:transparent;position:absolute;top:0;-moz-user-select:none;-webkit-user-select:none;user-select:none;-o-user-select:none;-ms-user-select:none;-webkit-text-fill-color:transparent;-webkit-text-size-adjust:none;animation:slidetounlock 3s infinite}.drag_verify .dv_text[data-v-9e8c9ed2] *{-webkit-text-fill-color:var(--textColor)}.goFirst[data-v-9e8c9ed2]{left:0!important;transition:left .5s}.goOrigin[data-v-9e8c9ed2]{transition:transform .5s}.goKeep[data-v-9e8c9ed2]{transition:left .2s}.goFirst2[data-v-9e8c9ed2]{transition:width .5s;width:0!important}.drag-verify-container[data-v-9e8c9ed2]{border-radius:50%;line-height:0;position:relative}.move-bar[data-v-9e8c9ed2]{position:absolute;z-index:100}.clip-bar[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.8);position:absolute}.refresh[data-v-9e8c9ed2]{cursor:pointer;font-size:20px;position:absolute;right:5px;top:5px;z-index:200}.tips[data-v-9e8c9ed2]{bottom:25px;font-size:12px;height:20px;line-height:20px;position:absolute;text-align:center;width:100%;z-index:200}.tips.success[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.6);color:green}.tips.danger[data-v-9e8c9ed2]{background:rgba(0,0,0,.6);color:#ff0}.check-img[data-v-9e8c9ed2]{border-radius:50%;width:100%}
1
+
2
+ .drag_verify[data-v-9e8c9ed2]{background-color:#e8e8e8;overflow:hidden;position:relative;text-align:center}.drag_verify .dv_handler[data-v-9e8c9ed2]{cursor:move;left:0;position:absolute;top:0}.drag_verify .dv_handler i[data-v-9e8c9ed2]{color:#666;font-size:16px;padding-left:0}.drag_verify .dv_handler .el-icon-circle-check[data-v-9e8c9ed2]{color:#6c6;margin-top:9px}.drag_verify .dv_progress_bar[data-v-9e8c9ed2]{height:34px;position:absolute;width:0}.drag_verify .dv_text[data-v-9e8c9ed2]{background:-webkit-gradient(linear,left top,right top,color-stop(0,var(--textColor)),color-stop(.4,var(--textColor)),color-stop(.5,#fff),color-stop(.6,var(--textColor)),color-stop(1,var(--textColor)));-webkit-background-clip:text;color:transparent;position:absolute;top:0;-moz-user-select:none;-webkit-user-select:none;user-select:none;-o-user-select:none;-ms-user-select:none;-webkit-text-fill-color:transparent;-webkit-text-size-adjust:none;animation:slidetounlock 3s infinite}.drag_verify .dv_text[data-v-9e8c9ed2] *{-webkit-text-fill-color:var(--textColor)}.goFirst[data-v-9e8c9ed2]{left:0!important;transition:left .5s}.goOrigin[data-v-9e8c9ed2]{transition:transform .5s}.goKeep[data-v-9e8c9ed2]{transition:left .2s}.goFirst2[data-v-9e8c9ed2]{transition:width .5s;width:0!important}.drag-verify-container[data-v-9e8c9ed2]{border-radius:50%;line-height:0;position:relative}.move-bar[data-v-9e8c9ed2]{position:absolute;z-index:100}.clip-bar[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.8);position:absolute}.refresh[data-v-9e8c9ed2]{cursor:pointer;font-size:20px;position:absolute;right:5px;top:5px;z-index:200}.tips[data-v-9e8c9ed2]{bottom:25px;font-size:12px;height:20px;line-height:20px;position:absolute;text-align:center;width:100%;z-index:200}.tips.success[data-v-9e8c9ed2]{background:hsla(0,0%,100%,.6);color:green}.tips.danger[data-v-9e8c9ed2]{background:rgba(0,0,0,.6);color:#ff0}.check-img[data-v-9e8c9ed2]{border-radius:50%;width:100%}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.77 */
1
+ /*! fm-dev v1.0.78 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('crypto'), require('url'), require('http'), require('https'), require('util'), require('stream'), require('assert'), require('zlib'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'crypto', 'url', 'http', 'https', 'util', 'stream', 'assert', 'zlib', 'element-plus'], factory) :
package/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.77 */(function($,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("crypto"),require("url"),require("http"),require("https"),require("util"),require("stream"),require("assert"),require("zlib"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","crypto","url","http","https","util","stream","assert","zlib","element-plus"],n):($=typeof globalThis<"u"?globalThis:$||self,n($.FmPlus={},$.Vue,$.crypto,$.require$$0,$.require$$1,$.require$$2,$.util,$.stream,$.require$$4,$.zlib,$.ElementPlus))})(this,function($,n,Wd,Qa,Kl,Yl,Jl,dt,Kd,wt,Fe){"use strict";const Yd={class:"fm-transfer-panel"},Jd={class:"fm-transfer-panel__header"},Xd={class:"fm-transfer-panel__body"},Zd={class:"fm-transfer-buttons__item"},Qd={class:"fm-transfer-buttons__item"},e1={class:"fm-transfer-buttons__item"},t1={class:"fm-transfer-buttons__item"},r1={class:"fm-transfer-panel"},n1={class:"fm-transfer-panel__header"},a1={class:"fm-transfer-panel__body"};var o1=n.defineComponent({name:"FmTransfer",__name:"index",props:{leftTitle:String,rightTitle:String,options:{type:Object,default:()=>({value:"id",label:"name",disabled:"disabled"})},leftData:{type:Array,default:()=>[]},rightData:{type:Array,default:()=>[]}},emits:["left","right","allLeft","allRight","update:leftData","update:rightData"],setup(e,{emit:t}){const r=e,a=t,o=n.reactive({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),l=n.computed(()=>{let h=r.leftData.filter(x=>x[r.options.label].toLowerCase().includes(o.leftKeyword.toLowerCase()));if(o.leftChecked.length>0)for(let x=o.leftChecked.length-1;x>=0;x--)h.findIndex(_=>_[r.options.value]==o.leftChecked[x])==-1&&o.leftChecked.splice(x,1);return h}),i=h=>{o.leftChecked=h?l.value.filter(x=>x[r.options.disabled]==!1).map(x=>x[r.options.value]):[]},s=n.computed(()=>{const h=o.leftChecked.length;return h>0&&h<l.value.filter(C=>C[r.options.disabled]==!1).length});n.watch(()=>o.leftChecked,h=>{o.leftAllChecked=h.length>0&&h.length==l.value.filter(x=>x[r.options.disabled]==!1).length});const c=n.computed(()=>{let h=r.rightData.filter(x=>x[r.options.label].toLowerCase().includes(o.rightKeyword.toLowerCase()));if(o.rightChecked.length>0)for(let x=o.rightChecked.length-1;x>=0;x--)h.findIndex(_=>_[r.options.value]==o.rightChecked[x])==-1&&o.rightChecked.splice(x,1);return h}),u=h=>{o.rightChecked=h?c.value.filter(x=>x[r.options.disabled]==!1).map(x=>x[r.options.value]):[]},d=n.computed(()=>{const h=o.rightChecked.length;return h>0&&h<c.value.filter(C=>C[r.options.disabled]==!1).length});n.watch(()=>o.rightChecked,h=>{o.rightAllChecked=h.length>0&&h.length==c.value.filter(x=>x[r.options.disabled]==!1).length});const m=h=>{if(h[r.options.value]&&h[r.options.disabled]===!1){let x=r.leftData.filter(_=>h[r.options.value]==_[r.options.value]),C=r.leftData.filter(_=>h[r.options.value]!=_[r.options.value]);a("update:leftData",C),a("update:rightData",r.rightData.concat(x)),a("right"),o.leftChecked=o.leftChecked.filter(_=>h[r.options.value]!=_)}},f=()=>{if(o.leftChecked?.length>0){let h=r.leftData.filter(C=>o.leftChecked.some(_=>_==C[r.options.value])),x=r.leftData.filter(C=>o.leftChecked.every(_=>_!=C[r.options.value]));a("update:leftData",x),a("update:rightData",r.rightData.concat(h)),a("right"),o.leftChecked=[]}},g=()=>{if(l.value?.length>0){let h=l.value.filter(_=>_[r.options.disabled]==!1),x=r.leftData.filter(_=>h.some(b=>b[r.options.value]==_[r.options.value])),C=r.leftData.filter(_=>h.every(b=>b[r.options.value]!=_[r.options.value]));a("update:leftData",C),a("update:rightData",r.rightData.concat(x)),a("allRight"),o.leftChecked=[]}},p=h=>{if(h[r.options.value]&&h[r.options.disabled]===!1){let x=r.rightData.filter(_=>h[r.options.value]==_[r.options.value]),C=r.rightData.filter(_=>h[r.options.value]!=_[r.options.value]);a("update:leftData",r.leftData.concat(x)),a("update:rightData",C),a("left"),o.rightChecked=o.rightChecked.filter(_=>h[r.options.value]!=_)}},E=()=>{if(o.rightChecked?.length>0){let h=r.rightData.filter(C=>o.rightChecked.some(_=>_==C[r.options.value])),x=r.rightData.filter(C=>o.rightChecked.every(_=>_!=C[r.options.value]));a("update:leftData",r.leftData.concat(h)),a("update:rightData",x),a("left"),o.rightChecked=[]}},v=()=>{if(c.value?.length>0){let h=c.value.filter(_=>_[r.options.disabled]==!1),x=r.rightData.filter(_=>h.some(b=>b[r.options.value]==_[r.options.value])),C=r.rightData.filter(_=>h.every(b=>b[r.options.value]!=_[r.options.value]));a("update:leftData",r.leftData.concat(x)),a("update:rightData",C),a("allLeft"),o.rightChecked=[]}};return(h,x)=>{const C=n.resolveComponent("el-checkbox"),_=n.resolveComponent("el-input"),b=n.resolveComponent("el-checkbox-group"),w=n.resolveComponent("el-col"),y=n.resolveComponent("el-button"),k=n.resolveComponent("el-row");return n.openBlock(),n.createBlock(k,{gutter:10},{default:n.withCtx(()=>[n.createVNode(w,{span:10},{default:n.withCtx(()=>[n.createElementVNode("div",Yd,[n.createElementVNode("p",Jd,[n.createVNode(C,{modelValue:o.leftAllChecked,"onUpdate:modelValue":x[0]||(x[0]=D=>o.leftAllChecked=D),indeterminate:s.value,"validate-event":!1,onChange:i},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),n.createElementVNode("span",null,n.toDisplayString(o.leftChecked.length)+"/"+n.toDisplayString(r.leftData.length),1)]),n.createElementVNode("div",Xd,[n.createVNode(_,{class:"transfer-panel__filter",modelValue:o.leftKeyword,"onUpdate:modelValue":x[1]||(x[1]=D=>o.leftKeyword=D),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),n.withDirectives(n.createVNode(b,{modelValue:o.leftChecked,"onUpdate:modelValue":x[2]||(x[2]=D=>o.leftChecked=D),"validate-event":!1,class:"fm-transfer-panel__list"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,(D,T)=>(n.openBlock(),n.createBlock(C,{key:T,value:D[r.options.value],label:D[r.options.label],disabled:D[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:B=>m(D)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[n.vShow,!0]])])])]),_:1}),n.createVNode(w,{span:4,class:"fm-transfer-buttons"},{default:n.withCtx(()=>[n.createElementVNode("div",Zd,[n.createVNode(y,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:f})]),n.createElementVNode("div",Qd,[n.createVNode(y,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:E})]),n.createElementVNode("div",e1,[n.createVNode(y,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:g})]),n.createElementVNode("div",t1,[n.createVNode(y,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:v})])]),_:1}),n.createVNode(w,{span:10},{default:n.withCtx(()=>[n.createElementVNode("div",r1,[n.createElementVNode("p",n1,[n.createVNode(C,{modelValue:o.rightAllChecked,"onUpdate:modelValue":x[3]||(x[3]=D=>o.rightAllChecked=D),indeterminate:d.value,"validate-event":!1,onChange:u},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),n.createElementVNode("span",null,n.toDisplayString(o.rightChecked.length)+"/"+n.toDisplayString(r.rightData.length),1)]),n.createElementVNode("div",a1,[n.createVNode(_,{class:"transfer-panel__filter",modelValue:o.rightKeyword,"onUpdate:modelValue":x[4]||(x[4]=D=>o.rightKeyword=D),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),n.withDirectives(n.createVNode(b,{modelValue:o.rightChecked,"onUpdate:modelValue":x[5]||(x[5]=D=>o.rightChecked=D),"validate-event":!1,class:"fm-transfer-panel__list"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(D,T)=>(n.openBlock(),n.createBlock(C,{key:T,value:D[r.options.value],label:D[r.options.label],disabled:D[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:B=>p(D)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[n.vShow,!0]])])])]),_:1})]),_:1})}}});const l1={class:"notice-bar-warp-text-box"},i1=["innerHTML"];var s1=n.defineComponent({name:"FmNoticeBar",__name:"index",props:{mode:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"var(--el-color-warning)"},background:{type:String,default:"var(--el-color-warning-light-9)"},size:{type:[Number,String],default:14},height:{type:Number,default:40},delay:{type:Number,default:1},speed:{type:Number,default:100},scrollable:{type:Boolean,default:!1},leftIcon:{type:String,default:"iconfont icon-tongzhi2"},rightIcon:{type:String,default:""}},emits:["close","link"],setup(e,{emit:t}){const r=e,a=n.ref(null),o=n.ref(null),l=n.reactive({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});n.onMounted(async()=>{r.scrollable||i()});const i=()=>{n.nextTick(()=>{if(a.value&&o.value){l.warpOWidth=a.value.offsetWidth,l.textOWidth=o.value.scrollWidth,l.animationDuration=(l.textOWidth+l.warpOWidth)/r.speed,o.value.style.animation="none",o.value.offsetHeight,o.value.style.animation=`marquee ${l.animationDuration}s linear infinite`;const s=`
1
+ /*! fm-dev v1.0.78 */(function($,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("crypto"),require("url"),require("http"),require("https"),require("util"),require("stream"),require("assert"),require("zlib"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","crypto","url","http","https","util","stream","assert","zlib","element-plus"],n):($=typeof globalThis<"u"?globalThis:$||self,n($.FmPlus={},$.Vue,$.crypto,$.require$$0,$.require$$1,$.require$$2,$.util,$.stream,$.require$$4,$.zlib,$.ElementPlus))})(this,function($,n,Wd,Qa,Kl,Yl,Jl,dt,Kd,wt,Fe){"use strict";const Yd={class:"fm-transfer-panel"},Jd={class:"fm-transfer-panel__header"},Xd={class:"fm-transfer-panel__body"},Zd={class:"fm-transfer-buttons__item"},Qd={class:"fm-transfer-buttons__item"},e1={class:"fm-transfer-buttons__item"},t1={class:"fm-transfer-buttons__item"},r1={class:"fm-transfer-panel"},n1={class:"fm-transfer-panel__header"},a1={class:"fm-transfer-panel__body"};var o1=n.defineComponent({name:"FmTransfer",__name:"index",props:{leftTitle:String,rightTitle:String,options:{type:Object,default:()=>({value:"id",label:"name",disabled:"disabled"})},leftData:{type:Array,default:()=>[]},rightData:{type:Array,default:()=>[]}},emits:["left","right","allLeft","allRight","update:leftData","update:rightData"],setup(e,{emit:t}){const r=e,a=t,o=n.reactive({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),l=n.computed(()=>{let h=r.leftData.filter(x=>x[r.options.label].toLowerCase().includes(o.leftKeyword.toLowerCase()));if(o.leftChecked.length>0)for(let x=o.leftChecked.length-1;x>=0;x--)h.findIndex(_=>_[r.options.value]==o.leftChecked[x])==-1&&o.leftChecked.splice(x,1);return h}),i=h=>{o.leftChecked=h?l.value.filter(x=>x[r.options.disabled]==!1).map(x=>x[r.options.value]):[]},s=n.computed(()=>{const h=o.leftChecked.length;return h>0&&h<l.value.filter(C=>C[r.options.disabled]==!1).length});n.watch(()=>o.leftChecked,h=>{o.leftAllChecked=h.length>0&&h.length==l.value.filter(x=>x[r.options.disabled]==!1).length});const c=n.computed(()=>{let h=r.rightData.filter(x=>x[r.options.label].toLowerCase().includes(o.rightKeyword.toLowerCase()));if(o.rightChecked.length>0)for(let x=o.rightChecked.length-1;x>=0;x--)h.findIndex(_=>_[r.options.value]==o.rightChecked[x])==-1&&o.rightChecked.splice(x,1);return h}),u=h=>{o.rightChecked=h?c.value.filter(x=>x[r.options.disabled]==!1).map(x=>x[r.options.value]):[]},d=n.computed(()=>{const h=o.rightChecked.length;return h>0&&h<c.value.filter(C=>C[r.options.disabled]==!1).length});n.watch(()=>o.rightChecked,h=>{o.rightAllChecked=h.length>0&&h.length==c.value.filter(x=>x[r.options.disabled]==!1).length});const m=h=>{if(h[r.options.value]&&h[r.options.disabled]===!1){let x=r.leftData.filter(_=>h[r.options.value]==_[r.options.value]),C=r.leftData.filter(_=>h[r.options.value]!=_[r.options.value]);a("update:leftData",C),a("update:rightData",r.rightData.concat(x)),a("right"),o.leftChecked=o.leftChecked.filter(_=>h[r.options.value]!=_)}},f=()=>{if(o.leftChecked?.length>0){let h=r.leftData.filter(C=>o.leftChecked.some(_=>_==C[r.options.value])),x=r.leftData.filter(C=>o.leftChecked.every(_=>_!=C[r.options.value]));a("update:leftData",x),a("update:rightData",r.rightData.concat(h)),a("right"),o.leftChecked=[]}},g=()=>{if(l.value?.length>0){let h=l.value.filter(_=>_[r.options.disabled]==!1),x=r.leftData.filter(_=>h.some(b=>b[r.options.value]==_[r.options.value])),C=r.leftData.filter(_=>h.every(b=>b[r.options.value]!=_[r.options.value]));a("update:leftData",C),a("update:rightData",r.rightData.concat(x)),a("allRight"),o.leftChecked=[]}},p=h=>{if(h[r.options.value]&&h[r.options.disabled]===!1){let x=r.rightData.filter(_=>h[r.options.value]==_[r.options.value]),C=r.rightData.filter(_=>h[r.options.value]!=_[r.options.value]);a("update:leftData",r.leftData.concat(x)),a("update:rightData",C),a("left"),o.rightChecked=o.rightChecked.filter(_=>h[r.options.value]!=_)}},E=()=>{if(o.rightChecked?.length>0){let h=r.rightData.filter(C=>o.rightChecked.some(_=>_==C[r.options.value])),x=r.rightData.filter(C=>o.rightChecked.every(_=>_!=C[r.options.value]));a("update:leftData",r.leftData.concat(h)),a("update:rightData",x),a("left"),o.rightChecked=[]}},v=()=>{if(c.value?.length>0){let h=c.value.filter(_=>_[r.options.disabled]==!1),x=r.rightData.filter(_=>h.some(b=>b[r.options.value]==_[r.options.value])),C=r.rightData.filter(_=>h.every(b=>b[r.options.value]!=_[r.options.value]));a("update:leftData",r.leftData.concat(x)),a("update:rightData",C),a("allLeft"),o.rightChecked=[]}};return(h,x)=>{const C=n.resolveComponent("el-checkbox"),_=n.resolveComponent("el-input"),b=n.resolveComponent("el-checkbox-group"),w=n.resolveComponent("el-col"),y=n.resolveComponent("el-button"),k=n.resolveComponent("el-row");return n.openBlock(),n.createBlock(k,{gutter:10},{default:n.withCtx(()=>[n.createVNode(w,{span:10},{default:n.withCtx(()=>[n.createElementVNode("div",Yd,[n.createElementVNode("p",Jd,[n.createVNode(C,{modelValue:o.leftAllChecked,"onUpdate:modelValue":x[0]||(x[0]=D=>o.leftAllChecked=D),indeterminate:s.value,"validate-event":!1,onChange:i},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),n.createElementVNode("span",null,n.toDisplayString(o.leftChecked.length)+"/"+n.toDisplayString(r.leftData.length),1)]),n.createElementVNode("div",Xd,[n.createVNode(_,{class:"transfer-panel__filter",modelValue:o.leftKeyword,"onUpdate:modelValue":x[1]||(x[1]=D=>o.leftKeyword=D),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),n.withDirectives(n.createVNode(b,{modelValue:o.leftChecked,"onUpdate:modelValue":x[2]||(x[2]=D=>o.leftChecked=D),"validate-event":!1,class:"fm-transfer-panel__list"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,(D,T)=>(n.openBlock(),n.createBlock(C,{key:T,value:D[r.options.value],label:D[r.options.label],disabled:D[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:B=>m(D)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[n.vShow,!0]])])])]),_:1}),n.createVNode(w,{span:4,class:"fm-transfer-buttons"},{default:n.withCtx(()=>[n.createElementVNode("div",Zd,[n.createVNode(y,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:f})]),n.createElementVNode("div",Qd,[n.createVNode(y,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:E})]),n.createElementVNode("div",e1,[n.createVNode(y,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:g})]),n.createElementVNode("div",t1,[n.createVNode(y,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:v})])]),_:1}),n.createVNode(w,{span:10},{default:n.withCtx(()=>[n.createElementVNode("div",r1,[n.createElementVNode("p",n1,[n.createVNode(C,{modelValue:o.rightAllChecked,"onUpdate:modelValue":x[3]||(x[3]=D=>o.rightAllChecked=D),indeterminate:d.value,"validate-event":!1,onChange:u},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),n.createElementVNode("span",null,n.toDisplayString(o.rightChecked.length)+"/"+n.toDisplayString(r.rightData.length),1)]),n.createElementVNode("div",a1,[n.createVNode(_,{class:"transfer-panel__filter",modelValue:o.rightKeyword,"onUpdate:modelValue":x[4]||(x[4]=D=>o.rightKeyword=D),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),n.withDirectives(n.createVNode(b,{modelValue:o.rightChecked,"onUpdate:modelValue":x[5]||(x[5]=D=>o.rightChecked=D),"validate-event":!1,class:"fm-transfer-panel__list"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(D,T)=>(n.openBlock(),n.createBlock(C,{key:T,value:D[r.options.value],label:D[r.options.label],disabled:D[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:B=>p(D)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[n.vShow,!0]])])])]),_:1})]),_:1})}}});const l1={class:"notice-bar-warp-text-box"},i1=["innerHTML"];var s1=n.defineComponent({name:"FmNoticeBar",__name:"index",props:{mode:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"var(--el-color-warning)"},background:{type:String,default:"var(--el-color-warning-light-9)"},size:{type:[Number,String],default:14},height:{type:Number,default:40},delay:{type:Number,default:1},speed:{type:Number,default:100},scrollable:{type:Boolean,default:!1},leftIcon:{type:String,default:"iconfont icon-tongzhi2"},rightIcon:{type:String,default:""}},emits:["close","link"],setup(e,{emit:t}){const r=e,a=n.ref(null),o=n.ref(null),l=n.reactive({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});n.onMounted(async()=>{r.scrollable||i()});const i=()=>{n.nextTick(()=>{if(a.value&&o.value){l.warpOWidth=a.value.offsetWidth,l.textOWidth=o.value.scrollWidth,l.animationDuration=(l.textOWidth+l.warpOWidth)/r.speed,o.value.style.animation="none",o.value.offsetHeight,o.value.style.animation=`marquee ${l.animationDuration}s linear infinite`;const s=`
2
2
  @keyframes marquee {
3
3
  0% { transform: translateX(${l.warpOWidth}px); }
4
4
  100% { transform: translateX(-${l.textOWidth}px); }
package/index.min.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.77 */import{defineComponent as D,reactive as zt,computed as ye,watch as nt,resolveComponent as pe,createBlock as be,openBlock as w,withCtx as se,createVNode as ue,createElementVNode as E,createTextVNode as Je,toDisplayString as ke,withDirectives as Nt,createElementBlock as A,Fragment as gt,renderList as Dt,vShow as Po,ref as xe,onMounted as ar,nextTick as It,normalizeStyle as Xe,createCommentVNode as Be,normalizeClass as or,withModifiers as Qr,mergeModels as ir,useModel as lr,effectScope as Lo,getCurrentInstance as Dr,shallowRef as Kd,isRef as Gt,inject as Nl,onUnmounted as Yd,h as Il,Text as Jd,markRaw as sr,hasInjectionContext as Xd,toRaw as en,isReactive as Oo,toRef as Mo,unref as me,getCurrentScope as Zd,onScopeDispose as Qd,toRefs as Vl,resolveDirective as tn,resolveDynamicComponent as Fr,useSlots as Hl,mergeProps as pt,createSlots as Ro,renderSlot as Ft,toHandlers as Ul,onBeforeUnmount as ep,onUpdated as tp,useAttrs as rp,normalizeProps as ql,guardReactiveProps as $l}from"vue";import np from"crypto";import zo from"url";import jl from"http";import Gl from"https";import Wl from"util";import Vt,{Readable as ap}from"stream";import op from"assert";import Wt from"zlib";import{ElMessage as Ze,ElLoading as ip,dayjs as lp}from"element-plus";const sp={class:"fm-transfer-panel"},up={class:"fm-transfer-panel__header"},cp={class:"fm-transfer-panel__body"},dp={class:"fm-transfer-buttons__item"},pp={class:"fm-transfer-buttons__item"},mp={class:"fm-transfer-buttons__item"},fp={class:"fm-transfer-buttons__item"},hp={class:"fm-transfer-panel"},gp={class:"fm-transfer-panel__header"},_p={class:"fm-transfer-panel__body"};var vp=D({name:"FmTransfer",__name:"index",props:{leftTitle:String,rightTitle:String,options:{type:Object,default:()=>({value:"id",label:"name",disabled:"disabled"})},leftData:{type:Array,default:()=>[]},rightData:{type:Array,default:()=>[]}},emits:["left","right","allLeft","allRight","update:leftData","update:rightData"],setup(e,{emit:t}){const r=e,n=t,a=zt({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),o=ye(()=>{let f=r.leftData.filter(_=>_[r.options.label].toLowerCase().includes(a.leftKeyword.toLowerCase()));if(a.leftChecked.length>0)for(let _=a.leftChecked.length-1;_>=0;_--)f.findIndex(g=>g[r.options.value]==a.leftChecked[_])==-1&&a.leftChecked.splice(_,1);return f}),i=f=>{a.leftChecked=f?o.value.filter(_=>_[r.options.disabled]==!1).map(_=>_[r.options.value]):[]},l=ye(()=>{const f=a.leftChecked.length;return f>0&&f<o.value.filter(C=>C[r.options.disabled]==!1).length});nt(()=>a.leftChecked,f=>{a.leftAllChecked=f.length>0&&f.length==o.value.filter(_=>_[r.options.disabled]==!1).length});const u=ye(()=>{let f=r.rightData.filter(_=>_[r.options.label].toLowerCase().includes(a.rightKeyword.toLowerCase()));if(a.rightChecked.length>0)for(let _=a.rightChecked.length-1;_>=0;_--)f.findIndex(g=>g[r.options.value]==a.rightChecked[_])==-1&&a.rightChecked.splice(_,1);return f}),s=f=>{a.rightChecked=f?u.value.filter(_=>_[r.options.disabled]==!1).map(_=>_[r.options.value]):[]},c=ye(()=>{const f=a.rightChecked.length;return f>0&&f<u.value.filter(C=>C[r.options.disabled]==!1).length});nt(()=>a.rightChecked,f=>{a.rightAllChecked=f.length>0&&f.length==u.value.filter(_=>_[r.options.disabled]==!1).length});const p=f=>{if(f[r.options.value]&&f[r.options.disabled]===!1){let _=r.leftData.filter(g=>f[r.options.value]==g[r.options.value]),C=r.leftData.filter(g=>f[r.options.value]!=g[r.options.value]);n("update:leftData",C),n("update:rightData",r.rightData.concat(_)),n("right"),a.leftChecked=a.leftChecked.filter(g=>f[r.options.value]!=g)}},m=()=>{if(a.leftChecked?.length>0){let f=r.leftData.filter(C=>a.leftChecked.some(g=>g==C[r.options.value])),_=r.leftData.filter(C=>a.leftChecked.every(g=>g!=C[r.options.value]));n("update:leftData",_),n("update:rightData",r.rightData.concat(f)),n("right"),a.leftChecked=[]}},h=()=>{if(o.value?.length>0){let f=o.value.filter(g=>g[r.options.disabled]==!1),_=r.leftData.filter(g=>f.some(b=>b[r.options.value]==g[r.options.value])),C=r.leftData.filter(g=>f.every(b=>b[r.options.value]!=g[r.options.value]));n("update:leftData",C),n("update:rightData",r.rightData.concat(_)),n("allRight"),a.leftChecked=[]}},d=f=>{if(f[r.options.value]&&f[r.options.disabled]===!1){let _=r.rightData.filter(g=>f[r.options.value]==g[r.options.value]),C=r.rightData.filter(g=>f[r.options.value]!=g[r.options.value]);n("update:leftData",r.leftData.concat(_)),n("update:rightData",C),n("left"),a.rightChecked=a.rightChecked.filter(g=>f[r.options.value]!=g)}},v=()=>{if(a.rightChecked?.length>0){let f=r.rightData.filter(C=>a.rightChecked.some(g=>g==C[r.options.value])),_=r.rightData.filter(C=>a.rightChecked.every(g=>g!=C[r.options.value]));n("update:leftData",r.leftData.concat(f)),n("update:rightData",_),n("left"),a.rightChecked=[]}},x=()=>{if(u.value?.length>0){let f=u.value.filter(g=>g[r.options.disabled]==!1),_=r.rightData.filter(g=>f.some(b=>b[r.options.value]==g[r.options.value])),C=r.rightData.filter(g=>f.every(b=>b[r.options.value]!=g[r.options.value]));n("update:leftData",r.leftData.concat(_)),n("update:rightData",C),n("allLeft"),a.rightChecked=[]}};return(f,_)=>{const C=pe("el-checkbox"),g=pe("el-input"),b=pe("el-checkbox-group"),T=pe("el-col"),y=pe("el-button"),F=pe("el-row");return w(),be(F,{gutter:10},{default:se(()=>[ue(T,{span:10},{default:se(()=>[E("div",sp,[E("p",up,[ue(C,{modelValue:a.leftAllChecked,"onUpdate:modelValue":_[0]||(_[0]=L=>a.leftAllChecked=L),indeterminate:l.value,"validate-event":!1,onChange:i},{default:se(()=>[Je(ke(r.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),E("span",null,ke(a.leftChecked.length)+"/"+ke(r.leftData.length),1)]),E("div",cp,[ue(g,{class:"transfer-panel__filter",modelValue:a.leftKeyword,"onUpdate:modelValue":_[1]||(_[1]=L=>a.leftKeyword=L),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),Nt(ue(b,{modelValue:a.leftChecked,"onUpdate:modelValue":_[2]||(_[2]=L=>a.leftChecked=L),"validate-event":!1,class:"fm-transfer-panel__list"},{default:se(()=>[(w(!0),A(gt,null,Dt(o.value,(L,S)=>(w(),be(C,{key:S,value:L[r.options.value],label:L[r.options.label],disabled:L[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:k=>p(L)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[Po,!0]])])])]),_:1}),ue(T,{span:4,class:"fm-transfer-buttons"},{default:se(()=>[E("div",dp,[ue(y,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:m})]),E("div",pp,[ue(y,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:v})]),E("div",mp,[ue(y,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:h})]),E("div",fp,[ue(y,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:x})])]),_:1}),ue(T,{span:10},{default:se(()=>[E("div",hp,[E("p",gp,[ue(C,{modelValue:a.rightAllChecked,"onUpdate:modelValue":_[3]||(_[3]=L=>a.rightAllChecked=L),indeterminate:c.value,"validate-event":!1,onChange:s},{default:se(()=>[Je(ke(r.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),E("span",null,ke(a.rightChecked.length)+"/"+ke(r.rightData.length),1)]),E("div",_p,[ue(g,{class:"transfer-panel__filter",modelValue:a.rightKeyword,"onUpdate:modelValue":_[4]||(_[4]=L=>a.rightKeyword=L),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),Nt(ue(b,{modelValue:a.rightChecked,"onUpdate:modelValue":_[5]||(_[5]=L=>a.rightChecked=L),"validate-event":!1,class:"fm-transfer-panel__list"},{default:se(()=>[(w(!0),A(gt,null,Dt(u.value,(L,S)=>(w(),be(C,{key:S,value:L[r.options.value],label:L[r.options.label],disabled:L[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:k=>d(L)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[Po,!0]])])])]),_:1})]),_:1})}}});const xp={class:"notice-bar-warp-text-box"},Ep=["innerHTML"];var Cp=D({name:"FmNoticeBar",__name:"index",props:{mode:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"var(--el-color-warning)"},background:{type:String,default:"var(--el-color-warning-light-9)"},size:{type:[Number,String],default:14},height:{type:Number,default:40},delay:{type:Number,default:1},speed:{type:Number,default:100},scrollable:{type:Boolean,default:!1},leftIcon:{type:String,default:"iconfont icon-tongzhi2"},rightIcon:{type:String,default:""}},emits:["close","link"],setup(e,{emit:t}){const r=e,n=xe(null),a=xe(null),o=zt({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});ar(async()=>{r.scrollable||i()});const i=()=>{It(()=>{if(n.value&&a.value){o.warpOWidth=n.value.offsetWidth,o.textOWidth=a.value.scrollWidth,o.animationDuration=(o.textOWidth+o.warpOWidth)/r.speed,a.value.style.animation="none",a.value.offsetHeight,a.value.style.animation=`marquee ${o.animationDuration}s linear infinite`;const l=`
1
+ /*! fm-dev v1.0.78 */import{defineComponent as D,reactive as zt,computed as ye,watch as nt,resolveComponent as pe,createBlock as be,openBlock as w,withCtx as se,createVNode as ue,createElementVNode as E,createTextVNode as Je,toDisplayString as ke,withDirectives as Nt,createElementBlock as A,Fragment as gt,renderList as Dt,vShow as Po,ref as xe,onMounted as ar,nextTick as It,normalizeStyle as Xe,createCommentVNode as Be,normalizeClass as or,withModifiers as Qr,mergeModels as ir,useModel as lr,effectScope as Lo,getCurrentInstance as Dr,shallowRef as Kd,isRef as Gt,inject as Nl,onUnmounted as Yd,h as Il,Text as Jd,markRaw as sr,hasInjectionContext as Xd,toRaw as en,isReactive as Oo,toRef as Mo,unref as me,getCurrentScope as Zd,onScopeDispose as Qd,toRefs as Vl,resolveDirective as tn,resolveDynamicComponent as Fr,useSlots as Hl,mergeProps as pt,createSlots as Ro,renderSlot as Ft,toHandlers as Ul,onBeforeUnmount as ep,onUpdated as tp,useAttrs as rp,normalizeProps as ql,guardReactiveProps as $l}from"vue";import np from"crypto";import zo from"url";import jl from"http";import Gl from"https";import Wl from"util";import Vt,{Readable as ap}from"stream";import op from"assert";import Wt from"zlib";import{ElMessage as Ze,ElLoading as ip,dayjs as lp}from"element-plus";const sp={class:"fm-transfer-panel"},up={class:"fm-transfer-panel__header"},cp={class:"fm-transfer-panel__body"},dp={class:"fm-transfer-buttons__item"},pp={class:"fm-transfer-buttons__item"},mp={class:"fm-transfer-buttons__item"},fp={class:"fm-transfer-buttons__item"},hp={class:"fm-transfer-panel"},gp={class:"fm-transfer-panel__header"},_p={class:"fm-transfer-panel__body"};var vp=D({name:"FmTransfer",__name:"index",props:{leftTitle:String,rightTitle:String,options:{type:Object,default:()=>({value:"id",label:"name",disabled:"disabled"})},leftData:{type:Array,default:()=>[]},rightData:{type:Array,default:()=>[]}},emits:["left","right","allLeft","allRight","update:leftData","update:rightData"],setup(e,{emit:t}){const r=e,n=t,a=zt({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),o=ye(()=>{let f=r.leftData.filter(_=>_[r.options.label].toLowerCase().includes(a.leftKeyword.toLowerCase()));if(a.leftChecked.length>0)for(let _=a.leftChecked.length-1;_>=0;_--)f.findIndex(g=>g[r.options.value]==a.leftChecked[_])==-1&&a.leftChecked.splice(_,1);return f}),i=f=>{a.leftChecked=f?o.value.filter(_=>_[r.options.disabled]==!1).map(_=>_[r.options.value]):[]},l=ye(()=>{const f=a.leftChecked.length;return f>0&&f<o.value.filter(C=>C[r.options.disabled]==!1).length});nt(()=>a.leftChecked,f=>{a.leftAllChecked=f.length>0&&f.length==o.value.filter(_=>_[r.options.disabled]==!1).length});const u=ye(()=>{let f=r.rightData.filter(_=>_[r.options.label].toLowerCase().includes(a.rightKeyword.toLowerCase()));if(a.rightChecked.length>0)for(let _=a.rightChecked.length-1;_>=0;_--)f.findIndex(g=>g[r.options.value]==a.rightChecked[_])==-1&&a.rightChecked.splice(_,1);return f}),s=f=>{a.rightChecked=f?u.value.filter(_=>_[r.options.disabled]==!1).map(_=>_[r.options.value]):[]},c=ye(()=>{const f=a.rightChecked.length;return f>0&&f<u.value.filter(C=>C[r.options.disabled]==!1).length});nt(()=>a.rightChecked,f=>{a.rightAllChecked=f.length>0&&f.length==u.value.filter(_=>_[r.options.disabled]==!1).length});const p=f=>{if(f[r.options.value]&&f[r.options.disabled]===!1){let _=r.leftData.filter(g=>f[r.options.value]==g[r.options.value]),C=r.leftData.filter(g=>f[r.options.value]!=g[r.options.value]);n("update:leftData",C),n("update:rightData",r.rightData.concat(_)),n("right"),a.leftChecked=a.leftChecked.filter(g=>f[r.options.value]!=g)}},m=()=>{if(a.leftChecked?.length>0){let f=r.leftData.filter(C=>a.leftChecked.some(g=>g==C[r.options.value])),_=r.leftData.filter(C=>a.leftChecked.every(g=>g!=C[r.options.value]));n("update:leftData",_),n("update:rightData",r.rightData.concat(f)),n("right"),a.leftChecked=[]}},h=()=>{if(o.value?.length>0){let f=o.value.filter(g=>g[r.options.disabled]==!1),_=r.leftData.filter(g=>f.some(b=>b[r.options.value]==g[r.options.value])),C=r.leftData.filter(g=>f.every(b=>b[r.options.value]!=g[r.options.value]));n("update:leftData",C),n("update:rightData",r.rightData.concat(_)),n("allRight"),a.leftChecked=[]}},d=f=>{if(f[r.options.value]&&f[r.options.disabled]===!1){let _=r.rightData.filter(g=>f[r.options.value]==g[r.options.value]),C=r.rightData.filter(g=>f[r.options.value]!=g[r.options.value]);n("update:leftData",r.leftData.concat(_)),n("update:rightData",C),n("left"),a.rightChecked=a.rightChecked.filter(g=>f[r.options.value]!=g)}},v=()=>{if(a.rightChecked?.length>0){let f=r.rightData.filter(C=>a.rightChecked.some(g=>g==C[r.options.value])),_=r.rightData.filter(C=>a.rightChecked.every(g=>g!=C[r.options.value]));n("update:leftData",r.leftData.concat(f)),n("update:rightData",_),n("left"),a.rightChecked=[]}},x=()=>{if(u.value?.length>0){let f=u.value.filter(g=>g[r.options.disabled]==!1),_=r.rightData.filter(g=>f.some(b=>b[r.options.value]==g[r.options.value])),C=r.rightData.filter(g=>f.every(b=>b[r.options.value]!=g[r.options.value]));n("update:leftData",r.leftData.concat(_)),n("update:rightData",C),n("allLeft"),a.rightChecked=[]}};return(f,_)=>{const C=pe("el-checkbox"),g=pe("el-input"),b=pe("el-checkbox-group"),T=pe("el-col"),y=pe("el-button"),F=pe("el-row");return w(),be(F,{gutter:10},{default:se(()=>[ue(T,{span:10},{default:se(()=>[E("div",sp,[E("p",up,[ue(C,{modelValue:a.leftAllChecked,"onUpdate:modelValue":_[0]||(_[0]=L=>a.leftAllChecked=L),indeterminate:l.value,"validate-event":!1,onChange:i},{default:se(()=>[Je(ke(r.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),E("span",null,ke(a.leftChecked.length)+"/"+ke(r.leftData.length),1)]),E("div",cp,[ue(g,{class:"transfer-panel__filter",modelValue:a.leftKeyword,"onUpdate:modelValue":_[1]||(_[1]=L=>a.leftKeyword=L),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),Nt(ue(b,{modelValue:a.leftChecked,"onUpdate:modelValue":_[2]||(_[2]=L=>a.leftChecked=L),"validate-event":!1,class:"fm-transfer-panel__list"},{default:se(()=>[(w(!0),A(gt,null,Dt(o.value,(L,S)=>(w(),be(C,{key:S,value:L[r.options.value],label:L[r.options.label],disabled:L[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:k=>p(L)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[Po,!0]])])])]),_:1}),ue(T,{span:4,class:"fm-transfer-buttons"},{default:se(()=>[E("div",dp,[ue(y,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:m})]),E("div",pp,[ue(y,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:v})]),E("div",mp,[ue(y,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:h})]),E("div",fp,[ue(y,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:x})])]),_:1}),ue(T,{span:10},{default:se(()=>[E("div",hp,[E("p",gp,[ue(C,{modelValue:a.rightAllChecked,"onUpdate:modelValue":_[3]||(_[3]=L=>a.rightAllChecked=L),indeterminate:c.value,"validate-event":!1,onChange:s},{default:se(()=>[Je(ke(r.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),E("span",null,ke(a.rightChecked.length)+"/"+ke(r.rightData.length),1)]),E("div",_p,[ue(g,{class:"transfer-panel__filter",modelValue:a.rightKeyword,"onUpdate:modelValue":_[4]||(_[4]=L=>a.rightKeyword=L),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),Nt(ue(b,{modelValue:a.rightChecked,"onUpdate:modelValue":_[5]||(_[5]=L=>a.rightChecked=L),"validate-event":!1,class:"fm-transfer-panel__list"},{default:se(()=>[(w(!0),A(gt,null,Dt(u.value,(L,S)=>(w(),be(C,{key:S,value:L[r.options.value],label:L[r.options.label],disabled:L[r.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:k=>d(L)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[Po,!0]])])])]),_:1})]),_:1})}}});const xp={class:"notice-bar-warp-text-box"},Ep=["innerHTML"];var Cp=D({name:"FmNoticeBar",__name:"index",props:{mode:{type:String,default:""},text:{type:String,default:""},color:{type:String,default:"var(--el-color-warning)"},background:{type:String,default:"var(--el-color-warning-light-9)"},size:{type:[Number,String],default:14},height:{type:Number,default:40},delay:{type:Number,default:1},speed:{type:Number,default:100},scrollable:{type:Boolean,default:!1},leftIcon:{type:String,default:"iconfont icon-tongzhi2"},rightIcon:{type:String,default:""}},emits:["close","link"],setup(e,{emit:t}){const r=e,n=xe(null),a=xe(null),o=zt({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});ar(async()=>{r.scrollable||i()});const i=()=>{It(()=>{if(n.value&&a.value){o.warpOWidth=n.value.offsetWidth,o.textOWidth=a.value.scrollWidth,o.animationDuration=(o.textOWidth+o.warpOWidth)/r.speed,a.value.style.animation="none",a.value.offsetHeight,a.value.style.animation=`marquee ${o.animationDuration}s linear infinite`;const l=`
2
2
  @keyframes marquee {
3
3
  0% { transform: translateX(${o.warpOWidth}px); }
4
4
  100% { transform: translateX(-${o.textOWidth}px); }
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.77 */
1
+ /*! fm-dev v1.0.78 */
2
2
  import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, resolveDynamicComponent, useSlots, mergeProps, createSlots, renderSlot, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [