@fmdevui/fm-dev 1.0.116 → 1.0.118

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.
Files changed (75) hide show
  1. package/es/_virtual/de-DE.mjs +1 -1
  2. package/es/_virtual/en-US.mjs +1 -1
  3. package/es/_virtual/es-ES.mjs +1 -1
  4. package/es/_virtual/fr-FR.mjs +1 -1
  5. package/es/_virtual/it-IT.mjs +1 -1
  6. package/es/_virtual/ja-JP.mjs +1 -1
  7. package/es/_virtual/ko-KR.mjs +1 -1
  8. package/es/_virtual/nb-NO.mjs +1 -1
  9. package/es/_virtual/pt-BR.mjs +1 -1
  10. package/es/_virtual/ru-RU.mjs +1 -1
  11. package/es/_virtual/th-TH.mjs +1 -1
  12. package/es/_virtual/vi-VN.mjs +1 -1
  13. package/es/_virtual/zh-CN.mjs +1 -1
  14. package/es/_virtual/zh-HK.mjs +1 -1
  15. package/es/_virtual/zh-TW.mjs +1 -1
  16. package/es/core/hook/useVxeTableOptionsHook.d.ts +32 -0
  17. package/es/core/ui/components/fmHBarChart/index.vue.d.ts +121 -8
  18. package/es/core/ui/components/index.d.ts +120 -7
  19. package/es/packages/core/ui/components/fmHBarChart/index.vue2.mjs +40 -10
  20. package/index.js +41 -11
  21. package/index.min.js +2 -2
  22. package/index.min.mjs +2 -2
  23. package/index.mjs +41 -11
  24. package/lib/_virtual/de-DE.js +1 -1
  25. package/lib/_virtual/en-US.js +1 -1
  26. package/lib/_virtual/es-ES.js +1 -1
  27. package/lib/_virtual/fr-FR.js +1 -1
  28. package/lib/_virtual/it-IT.js +1 -1
  29. package/lib/_virtual/ja-JP.js +1 -1
  30. package/lib/_virtual/ko-KR.js +1 -1
  31. package/lib/_virtual/nb-NO.js +1 -1
  32. package/lib/_virtual/pt-BR.js +1 -1
  33. package/lib/_virtual/ru-RU.js +1 -1
  34. package/lib/_virtual/th-TH.js +1 -1
  35. package/lib/_virtual/vi-VN.js +1 -1
  36. package/lib/_virtual/zh-CN.js +1 -1
  37. package/lib/_virtual/zh-HK.js +1 -1
  38. package/lib/_virtual/zh-TW.js +1 -1
  39. package/lib/core/hook/useVxeTableOptionsHook.d.ts +32 -0
  40. package/lib/core/ui/components/fmHBarChart/index.vue.d.ts +121 -8
  41. package/lib/core/ui/components/index.d.ts +120 -7
  42. package/lib/packages/core/ui/components/fmHBarChart/index.vue2.js +40 -10
  43. package/package.json +1 -1
  44. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/de-DE.mjs +0 -0
  45. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/en-US.mjs +0 -0
  46. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/es-ES.mjs +0 -0
  47. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/fr-FR.mjs +0 -0
  48. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/it-IT.mjs +0 -0
  49. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ja-JP.mjs +0 -0
  50. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ko-KR.mjs +0 -0
  51. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/nb-NO.mjs +0 -0
  52. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/pt-BR.mjs +0 -0
  53. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ru-RU.mjs +0 -0
  54. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/th-TH.mjs +0 -0
  55. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/vi-VN.mjs +0 -0
  56. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-CHT.mjs +0 -0
  57. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-CN.mjs +0 -0
  58. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-HK.mjs +0 -0
  59. /package/es/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-TW.mjs +0 -0
  60. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/de-DE.js +0 -0
  61. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/en-US.js +0 -0
  62. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/es-ES.js +0 -0
  63. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/fr-FR.js +0 -0
  64. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/it-IT.js +0 -0
  65. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ja-JP.js +0 -0
  66. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ko-KR.js +0 -0
  67. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/nb-NO.js +0 -0
  68. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/pt-BR.js +0 -0
  69. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/ru-RU.js +0 -0
  70. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/th-TH.js +0 -0
  71. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/vi-VN.js +0 -0
  72. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-CHT.js +0 -0
  73. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-CN.js +0 -0
  74. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-HK.js +0 -0
  75. /package/lib/node_modules/.pnpm/{vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_ → vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_}/node_modules/vxe-table/lib/locale/lang/zh-TW.js +0 -0
package/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.116 */(function(X,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("vue"),require("crypto"),require("url"),require("http"),require("https"),require("http2"),require("util"),require("stream"),require("assert"),require("zlib"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","crypto","url","http","https","http2","util","stream","assert","zlib","element-plus"],h):(X=typeof globalThis<"u"?globalThis:X||self,h(X.FmPlus={},X.Vue,X.crypto,X.require$$0,X.require$$1,X.require$$2,X.http2,X.util$2,X.stream,X.require$$4,X.zlib,X.ElementPlus))})(this,function(X,h,SN,lE,S4,T4,k4,cE,or,TN,ha,Me){"use strict";const kN={class:"fm-transfer-panel"},MN={class:"fm-transfer-panel__header"},LN={class:"fm-transfer-panel__body"},PN={class:"fm-transfer-buttons__item"},NN={class:"fm-transfer-buttons__item"},IN={class:"fm-transfer-buttons__item"},RN={class:"fm-transfer-buttons__item"},ON={class:"fm-transfer-panel"},VN={class:"fm-transfer-panel__header"},zN={class:"fm-transfer-panel__body"};var HN=h.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:u}){const t=e,r=u,n=h.reactive({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),a=h.computed(()=>{let m=t.leftData.filter(v=>v[t.options.label].toLowerCase().includes(n.leftKeyword.toLowerCase()));if(n.leftChecked.length>0)for(let v=n.leftChecked.length-1;v>=0;v--)m.findIndex(g=>g[t.options.value]==n.leftChecked[v])==-1&&n.leftChecked.splice(v,1);return m}),i=m=>{n.leftChecked=m?a.value.filter(v=>v[t.options.disabled]==!1).map(v=>v[t.options.value]):[]},o=h.computed(()=>{const m=n.leftChecked.length;return m>0&&m<a.value.filter(D=>D[t.options.disabled]==!1).length});h.watch(()=>n.leftChecked,m=>{n.leftAllChecked=m.length>0&&m.length==a.value.filter(v=>v[t.options.disabled]==!1).length});const s=h.computed(()=>{let m=t.rightData.filter(v=>v[t.options.label].toLowerCase().includes(n.rightKeyword.toLowerCase()));if(n.rightChecked.length>0)for(let v=n.rightChecked.length-1;v>=0;v--)m.findIndex(g=>g[t.options.value]==n.rightChecked[v])==-1&&n.rightChecked.splice(v,1);return m}),l=m=>{n.rightChecked=m?s.value.filter(v=>v[t.options.disabled]==!1).map(v=>v[t.options.value]):[]},c=h.computed(()=>{const m=n.rightChecked.length;return m>0&&m<s.value.filter(D=>D[t.options.disabled]==!1).length});h.watch(()=>n.rightChecked,m=>{n.rightAllChecked=m.length>0&&m.length==s.value.filter(v=>v[t.options.disabled]==!1).length});const E=m=>{if(m[t.options.value]&&m[t.options.disabled]===!1){let v=t.leftData.filter(g=>m[t.options.value]==g[t.options.value]),D=t.leftData.filter(g=>m[t.options.value]!=g[t.options.value]);r("update:leftData",D),r("update:rightData",t.rightData.concat(v)),r("right"),n.leftChecked=n.leftChecked.filter(g=>m[t.options.value]!=g)}},d=()=>{if(n.leftChecked?.length>0){let m=t.leftData.filter(D=>n.leftChecked.some(g=>g==D[t.options.value])),v=t.leftData.filter(D=>n.leftChecked.every(g=>g!=D[t.options.value]));r("update:leftData",v),r("update:rightData",t.rightData.concat(m)),r("right"),n.leftChecked=[]}},f=()=>{if(a.value?.length>0){let m=a.value.filter(g=>g[t.options.disabled]==!1),v=t.leftData.filter(g=>m.some(B=>B[t.options.value]==g[t.options.value])),D=t.leftData.filter(g=>m.every(B=>B[t.options.value]!=g[t.options.value]));r("update:leftData",D),r("update:rightData",t.rightData.concat(v)),r("allRight"),n.leftChecked=[]}},p=m=>{if(m[t.options.value]&&m[t.options.disabled]===!1){let v=t.rightData.filter(g=>m[t.options.value]==g[t.options.value]),D=t.rightData.filter(g=>m[t.options.value]!=g[t.options.value]);r("update:leftData",t.leftData.concat(v)),r("update:rightData",D),r("left"),n.rightChecked=n.rightChecked.filter(g=>m[t.options.value]!=g)}},F=()=>{if(n.rightChecked?.length>0){let m=t.rightData.filter(D=>n.rightChecked.some(g=>g==D[t.options.value])),v=t.rightData.filter(D=>n.rightChecked.every(g=>g!=D[t.options.value]));r("update:leftData",t.leftData.concat(m)),r("update:rightData",v),r("left"),n.rightChecked=[]}},C=()=>{if(s.value?.length>0){let m=s.value.filter(g=>g[t.options.disabled]==!1),v=t.rightData.filter(g=>m.some(B=>B[t.options.value]==g[t.options.value])),D=t.rightData.filter(g=>m.every(B=>B[t.options.value]!=g[t.options.value]));r("update:leftData",t.leftData.concat(v)),r("update:rightData",D),r("allLeft"),n.rightChecked=[]}};return(m,v)=>{const D=h.resolveComponent("el-checkbox"),g=h.resolveComponent("el-input"),B=h.resolveComponent("el-checkbox-group"),y=h.resolveComponent("el-col"),A=h.resolveComponent("el-button"),_=h.resolveComponent("el-row");return h.openBlock(),h.createBlock(_,{gutter:10},{default:h.withCtx(()=>[h.createVNode(y,{span:10},{default:h.withCtx(()=>[h.createElementVNode("div",kN,[h.createElementVNode("p",MN,[h.createVNode(D,{modelValue:n.leftAllChecked,"onUpdate:modelValue":v[0]||(v[0]=w=>n.leftAllChecked=w),indeterminate:o.value,"validate-event":!1,onChange:i},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(t.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),h.createElementVNode("span",null,h.toDisplayString(n.leftChecked.length)+"/"+h.toDisplayString(t.leftData.length),1)]),h.createElementVNode("div",LN,[h.createVNode(g,{class:"transfer-panel__filter",modelValue:n.leftKeyword,"onUpdate:modelValue":v[1]||(v[1]=w=>n.leftKeyword=w),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),h.withDirectives(h.createVNode(B,{modelValue:n.leftChecked,"onUpdate:modelValue":v[2]||(v[2]=w=>n.leftChecked=w),"validate-event":!1,class:"fm-transfer-panel__list"},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(a.value,(w,x)=>(h.openBlock(),h.createBlock(D,{key:x,value:w[t.options.value],label:w[t.options.label],disabled:w[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:b=>E(w)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[h.vShow,!0]])])])]),_:1}),h.createVNode(y,{span:4,class:"fm-transfer-buttons"},{default:h.withCtx(()=>[h.createElementVNode("div",PN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:d})]),h.createElementVNode("div",NN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:F})]),h.createElementVNode("div",IN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:f})]),h.createElementVNode("div",RN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:C})])]),_:1}),h.createVNode(y,{span:10},{default:h.withCtx(()=>[h.createElementVNode("div",ON,[h.createElementVNode("p",VN,[h.createVNode(D,{modelValue:n.rightAllChecked,"onUpdate:modelValue":v[3]||(v[3]=w=>n.rightAllChecked=w),indeterminate:c.value,"validate-event":!1,onChange:l},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(t.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),h.createElementVNode("span",null,h.toDisplayString(n.rightChecked.length)+"/"+h.toDisplayString(t.rightData.length),1)]),h.createElementVNode("div",zN,[h.createVNode(g,{class:"transfer-panel__filter",modelValue:n.rightKeyword,"onUpdate:modelValue":v[4]||(v[4]=w=>n.rightKeyword=w),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),h.withDirectives(h.createVNode(B,{modelValue:n.rightChecked,"onUpdate:modelValue":v[5]||(v[5]=w=>n.rightChecked=w),"validate-event":!1,class:"fm-transfer-panel__list"},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(s.value,(w,x)=>(h.openBlock(),h.createBlock(D,{key:x,value:w[t.options.value],label:w[t.options.label],disabled:w[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:b=>p(w)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[h.vShow,!0]])])])]),_:1})]),_:1})}}});const UN={class:"notice-bar-warp-text-box"},GN=["innerHTML"];var qN=h.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:u}){const t=e,r=h.ref(null),n=h.ref(null),a=h.reactive({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});h.onMounted(async()=>{t.scrollable||i()});const i=()=>{h.nextTick(()=>{if(r.value&&n.value){a.warpOWidth=r.value.offsetWidth,a.textOWidth=n.value.scrollWidth,a.animationDuration=(a.textOWidth+a.warpOWidth)/t.speed,n.value.style.animation="none",n.value.offsetHeight,n.value.style.animation=`marquee ${a.animationDuration}s linear infinite`;const o=`
1
+ /*! fm-dev v1.0.118 */(function(X,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("vue"),require("crypto"),require("url"),require("http"),require("https"),require("http2"),require("util"),require("stream"),require("assert"),require("zlib"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","crypto","url","http","https","http2","util","stream","assert","zlib","element-plus"],h):(X=typeof globalThis<"u"?globalThis:X||self,h(X.FmPlus={},X.Vue,X.crypto,X.require$$0,X.require$$1,X.require$$2,X.http2,X.util$2,X.stream,X.require$$4,X.zlib,X.ElementPlus))})(this,function(X,h,SN,lE,S4,T4,k4,cE,or,TN,ha,Me){"use strict";const kN={class:"fm-transfer-panel"},MN={class:"fm-transfer-panel__header"},LN={class:"fm-transfer-panel__body"},PN={class:"fm-transfer-buttons__item"},NN={class:"fm-transfer-buttons__item"},IN={class:"fm-transfer-buttons__item"},RN={class:"fm-transfer-buttons__item"},ON={class:"fm-transfer-panel"},VN={class:"fm-transfer-panel__header"},zN={class:"fm-transfer-panel__body"};var HN=h.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:u}){const t=e,r=u,n=h.reactive({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),a=h.computed(()=>{let m=t.leftData.filter(v=>v[t.options.label].toLowerCase().includes(n.leftKeyword.toLowerCase()));if(n.leftChecked.length>0)for(let v=n.leftChecked.length-1;v>=0;v--)m.findIndex(g=>g[t.options.value]==n.leftChecked[v])==-1&&n.leftChecked.splice(v,1);return m}),i=m=>{n.leftChecked=m?a.value.filter(v=>v[t.options.disabled]==!1).map(v=>v[t.options.value]):[]},o=h.computed(()=>{const m=n.leftChecked.length;return m>0&&m<a.value.filter(D=>D[t.options.disabled]==!1).length});h.watch(()=>n.leftChecked,m=>{n.leftAllChecked=m.length>0&&m.length==a.value.filter(v=>v[t.options.disabled]==!1).length});const s=h.computed(()=>{let m=t.rightData.filter(v=>v[t.options.label].toLowerCase().includes(n.rightKeyword.toLowerCase()));if(n.rightChecked.length>0)for(let v=n.rightChecked.length-1;v>=0;v--)m.findIndex(g=>g[t.options.value]==n.rightChecked[v])==-1&&n.rightChecked.splice(v,1);return m}),l=m=>{n.rightChecked=m?s.value.filter(v=>v[t.options.disabled]==!1).map(v=>v[t.options.value]):[]},c=h.computed(()=>{const m=n.rightChecked.length;return m>0&&m<s.value.filter(D=>D[t.options.disabled]==!1).length});h.watch(()=>n.rightChecked,m=>{n.rightAllChecked=m.length>0&&m.length==s.value.filter(v=>v[t.options.disabled]==!1).length});const E=m=>{if(m[t.options.value]&&m[t.options.disabled]===!1){let v=t.leftData.filter(g=>m[t.options.value]==g[t.options.value]),D=t.leftData.filter(g=>m[t.options.value]!=g[t.options.value]);r("update:leftData",D),r("update:rightData",t.rightData.concat(v)),r("right"),n.leftChecked=n.leftChecked.filter(g=>m[t.options.value]!=g)}},d=()=>{if(n.leftChecked?.length>0){let m=t.leftData.filter(D=>n.leftChecked.some(g=>g==D[t.options.value])),v=t.leftData.filter(D=>n.leftChecked.every(g=>g!=D[t.options.value]));r("update:leftData",v),r("update:rightData",t.rightData.concat(m)),r("right"),n.leftChecked=[]}},f=()=>{if(a.value?.length>0){let m=a.value.filter(g=>g[t.options.disabled]==!1),v=t.leftData.filter(g=>m.some(B=>B[t.options.value]==g[t.options.value])),D=t.leftData.filter(g=>m.every(B=>B[t.options.value]!=g[t.options.value]));r("update:leftData",D),r("update:rightData",t.rightData.concat(v)),r("allRight"),n.leftChecked=[]}},p=m=>{if(m[t.options.value]&&m[t.options.disabled]===!1){let v=t.rightData.filter(g=>m[t.options.value]==g[t.options.value]),D=t.rightData.filter(g=>m[t.options.value]!=g[t.options.value]);r("update:leftData",t.leftData.concat(v)),r("update:rightData",D),r("left"),n.rightChecked=n.rightChecked.filter(g=>m[t.options.value]!=g)}},F=()=>{if(n.rightChecked?.length>0){let m=t.rightData.filter(D=>n.rightChecked.some(g=>g==D[t.options.value])),v=t.rightData.filter(D=>n.rightChecked.every(g=>g!=D[t.options.value]));r("update:leftData",t.leftData.concat(m)),r("update:rightData",v),r("left"),n.rightChecked=[]}},C=()=>{if(s.value?.length>0){let m=s.value.filter(g=>g[t.options.disabled]==!1),v=t.rightData.filter(g=>m.some(B=>B[t.options.value]==g[t.options.value])),D=t.rightData.filter(g=>m.every(B=>B[t.options.value]!=g[t.options.value]));r("update:leftData",t.leftData.concat(v)),r("update:rightData",D),r("allLeft"),n.rightChecked=[]}};return(m,v)=>{const D=h.resolveComponent("el-checkbox"),g=h.resolveComponent("el-input"),B=h.resolveComponent("el-checkbox-group"),y=h.resolveComponent("el-col"),A=h.resolveComponent("el-button"),_=h.resolveComponent("el-row");return h.openBlock(),h.createBlock(_,{gutter:10},{default:h.withCtx(()=>[h.createVNode(y,{span:10},{default:h.withCtx(()=>[h.createElementVNode("div",kN,[h.createElementVNode("p",MN,[h.createVNode(D,{modelValue:n.leftAllChecked,"onUpdate:modelValue":v[0]||(v[0]=w=>n.leftAllChecked=w),indeterminate:o.value,"validate-event":!1,onChange:i},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(t.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),h.createElementVNode("span",null,h.toDisplayString(n.leftChecked.length)+"/"+h.toDisplayString(t.leftData.length),1)]),h.createElementVNode("div",LN,[h.createVNode(g,{class:"transfer-panel__filter",modelValue:n.leftKeyword,"onUpdate:modelValue":v[1]||(v[1]=w=>n.leftKeyword=w),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),h.withDirectives(h.createVNode(B,{modelValue:n.leftChecked,"onUpdate:modelValue":v[2]||(v[2]=w=>n.leftChecked=w),"validate-event":!1,class:"fm-transfer-panel__list"},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(a.value,(w,x)=>(h.openBlock(),h.createBlock(D,{key:x,value:w[t.options.value],label:w[t.options.label],disabled:w[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:b=>E(w)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[h.vShow,!0]])])])]),_:1}),h.createVNode(y,{span:4,class:"fm-transfer-buttons"},{default:h.withCtx(()=>[h.createElementVNode("div",PN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:d})]),h.createElementVNode("div",NN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:F})]),h.createElementVNode("div",IN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:f})]),h.createElementVNode("div",RN,[h.createVNode(A,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:C})])]),_:1}),h.createVNode(y,{span:10},{default:h.withCtx(()=>[h.createElementVNode("div",ON,[h.createElementVNode("p",VN,[h.createVNode(D,{modelValue:n.rightAllChecked,"onUpdate:modelValue":v[3]||(v[3]=w=>n.rightAllChecked=w),indeterminate:c.value,"validate-event":!1,onChange:l},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(t.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),h.createElementVNode("span",null,h.toDisplayString(n.rightChecked.length)+"/"+h.toDisplayString(t.rightData.length),1)]),h.createElementVNode("div",zN,[h.createVNode(g,{class:"transfer-panel__filter",modelValue:n.rightKeyword,"onUpdate:modelValue":v[4]||(v[4]=w=>n.rightKeyword=w),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),h.withDirectives(h.createVNode(B,{modelValue:n.rightChecked,"onUpdate:modelValue":v[5]||(v[5]=w=>n.rightChecked=w),"validate-event":!1,class:"fm-transfer-panel__list"},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(s.value,(w,x)=>(h.openBlock(),h.createBlock(D,{key:x,value:w[t.options.value],label:w[t.options.label],disabled:w[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:b=>p(w)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[h.vShow,!0]])])])]),_:1})]),_:1})}}});const UN={class:"notice-bar-warp-text-box"},GN=["innerHTML"];var qN=h.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:u}){const t=e,r=h.ref(null),n=h.ref(null),a=h.reactive({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});h.onMounted(async()=>{t.scrollable||i()});const i=()=>{h.nextTick(()=>{if(r.value&&n.value){a.warpOWidth=r.value.offsetWidth,a.textOWidth=n.value.scrollWidth,a.animationDuration=(a.textOWidth+a.warpOWidth)/t.speed,n.value.style.animation="none",n.value.offsetHeight,n.value.style.animation=`marquee ${a.animationDuration}s linear infinite`;const o=`
2
2
  @keyframes marquee {
3
3
  0% { transform: translateX(${a.warpOWidth}px); }
4
4
  100% { transform: translateX(-${a.textOWidth}px); }
@@ -160,7 +160,7 @@ echarts.use([`+T+"]);":"Unknown series "+b))}return}if(E==="tooltip"){if(D){proc
160
160
  color: #B3B2B2;
161
161
  background: transparent;
162
162
  z-index: 10;
163
- `,d.innerHTML="<span>\u6682\u65E0\u6570\u636E</span>",a.value.style.position!=="relative"&&a.value.style.position!=="absolute"&&(a.value.style.position="relative"),a.value.appendChild(d))},remove:()=>{d&&a.value&&(a.value.removeChild(d),d=null)},updateStyle:()=>{d&&(d.style.color="#999")}},H=(iu={},cu=!1)=>{if(!a.value||E)return;const su={...u,...iu};try{if(cu){i&&i.clear(),O.create();return}else O.remove();U(a.value)?t>0?setTimeout(()=>I(su),t):I(su):(s=su,P())}catch(hu){console.error("\u56FE\u8868\u521D\u59CB\u5316\u5931\u8D25:",hu)}},V=iu=>{if(!E)try{if(!i){H(iu);return}i.setOption(iu)}catch(cu){console.error("\u56FE\u8868\u66F4\u65B0\u5931\u8D25:",cu)}},Y=()=>{if(i&&!E)try{i.resize()}catch(iu){console.error("\u56FE\u8868resize\u5931\u8D25:",iu)}},Z=()=>{if(E=!0,i)try{i.dispose()}catch(iu){console.error("\u56FE\u8868\u9500\u6BC1\u5931\u8D25:",iu)}finally{i=null}g(),y(),O.remove(),z(),f(),w(),s=null},ou=()=>i,ru=()=>i!==null;return h.onMounted(()=>{window.addEventListener("resize",F)}),h.onBeforeUnmount(()=>{window.removeEventListener("resize",F)}),h.onUnmounted(()=>{Z()}),{chartRef:a,initChart:H,updateChart:V,handleResize:Y,destroyChart:Z,getChartInstance:ou,isChartInitialized:ru,emptyStateManager:O,getAxisLineStyle:x,getSplitLineStyle:b,getAxisLabelStyle:T,getAxisTickStyle:S,getAnimationConfig:k,getTooltipStyle:N,getLegendStyle:M,useChartOps:Xl,getGridWithLegend:R}}function uP(e){const{props:u,generateOptions:t,checkEmpty:r,watchSources:n=[],onVisible:a,chartOptions:i={}}=e,o=QL(i),{chartRef:s,initChart:l,emptyStateManager:c}=o,E=h.computed(()=>u.isEmpty?!0:r?r():!1),d=()=>{h.nextTick(()=>{E.value?(o.getChartInstance()&&o.getChartInstance()?.clear(),c.create()):(c.remove(),l(t()))})},f=()=>{a?a():d()},p=[],F=()=>{if(n.length>0){const v=h.watch(n,d,{deep:!0});p.push(v)}},C=()=>{p.forEach(v=>v()),p.length=0},m=()=>{h.onMounted(()=>{d(),s.value&&s.value.addEventListener("chartVisible",f)}),h.onBeforeUnmount(()=>{s.value&&s.value.removeEventListener("chartVisible",f),C(),c.remove()})};return F(),m(),{...o,isEmpty:E,updateChart:d,handleChartVisible:f}}var kpu=h.defineComponent({name:"FmHBarChart",__name:"index",props:{data:{default:()=>[0,0,0,0,0,0,0]},xAxisData:{default:()=>[]},barWidth:{default:"36%"},stack:{type:Boolean,default:!1},borderRadius:{},height:{default:Xl().chartHeight},loading:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},colors:{default:()=>Xl().colors},showAxisLabel:{type:Boolean,default:!0},showAxisLine:{type:Boolean,default:!0},showSplitLine:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!1},legendPosition:{default:"bottom"}},setup(e){const u=e,t=h.computed(()=>Array.isArray(u.data)&&u.data.length>0&&typeof u.data[0]=="object"&&"name"in u.data[0]),r=(C,m)=>C||(m!==void 0?u.colors[m%u.colors.length]:new C4.LinearGradient(0,0,1,0,[{offset:0,color:"#4ABEFF"},{offset:1,color:"#00E4E5"}])),n=C=>new C4.LinearGradient(0,0,1,0,[{offset:0,color:C},{offset:1,color:C}]),a=C=>({borderRadius:4,color:typeof C=="string"?n(C):C}),i=C=>{const m=d();return{name:C.name,data:C.data,type:"bar",stack:C.stack,itemStyle:a(C.color),barWidth:C.barWidth||u.barWidth,...m}},{chartRef:o,getAxisLineStyle:s,getAxisLabelStyle:l,getAxisTickStyle:c,getSplitLineStyle:E,getAnimationConfig:d,getTooltipStyle:f,getLegendStyle:p,getGridWithLegend:F}=uP({props:u,checkEmpty:()=>{if(Array.isArray(u.data)&&typeof u.data[0]=="number"){const C=u.data;return!C.length||C.every(m=>m===0)}if(Array.isArray(u.data)&&typeof u.data[0]=="object"){const C=u.data;return!C.length||C.every(m=>!m.data?.length||m.data.every(v=>v===0))}return!0},watchSources:[()=>u.data,()=>u.xAxisData,()=>u.colors],generateOptions:()=>{const C={grid:F(u.showLegend&&t.value,u.legendPosition,{top:15,right:0,left:0}),tooltip:u.showTooltip?f():void 0,xAxis:{type:"value",axisTick:c(),axisLine:s(u.showAxisLine),axisLabel:l(u.showAxisLabel),splitLine:E(u.showSplitLine)},yAxis:{type:"category",data:u.xAxisData,axisTick:c(),axisLabel:l(u.showAxisLabel),axisLine:s(u.showAxisLine)}};if(u.showLegend&&t.value&&(C.legend=p(u.legendPosition)),t.value){const m=u.data;C.series=m.map((v,D)=>{const g=r(u.colors[D],D);return i({name:v.name,data:v.data,color:g,barWidth:v.barWidth,stack:u.stack?v.stack||"total":void 0})})}else{const m=u.data,v=r();C.series=[i({data:m,color:v})]}return C}});return(C,m)=>{const v=h.resolveDirective("loading");return h.withDirectives((h.openBlock(),h.createElementBlock("div",{ref_key:"chartRef",ref:o,class:"relative w-full",style:h.normalizeStyle({height:u.height})},null,4)),[[v,u.loading]])}}});const Mpu=["src"];var Lpu=h.defineComponent({name:"svgIcon",__name:"svgicon",props:{name:{type:String},size:{type:Number,default:()=>14},color:{type:String}},setup(e){const u=e,t=["https","http","/src","/assets","data:image",window.__env__.VITE_PUBLIC_PATH],r=h.computed(()=>u?.name),n=h.computed(()=>u?.name?.startsWith("ele-")),a=h.computed(()=>t.find(l=>u.name?.startsWith(l))),i=h.computed(()=>`font-size: ${u.size}px;color: ${u.color};`),o=h.computed(()=>`width: ${u.size}px;height: ${u.size}px;display: inline-block;overflow: hidden;`),s=h.computed(()=>{const l=[];return["-webkit","-ms","-o","-moz"].forEach(E=>l.push(`${E}-filter: drop-shadow(${u.color} ${u.size}px 0);`)),`width: ${u.size}px;height: ${u.size}px;position: relative;left: -${u.size}px;${l.join("")}`});return(l,c)=>n.value?(h.openBlock(),h.createElementBlock("i",{key:0,class:"el-icon",style:h.normalizeStyle(i.value)},[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(r.value)))],4)):a.value?(h.openBlock(),h.createElementBlock("div",{key:1,style:h.normalizeStyle(o.value)},[h.createElementVNode("img",{src:r.value,style:h.normalizeStyle(s.value)},null,12,Mpu)],4)):(h.openBlock(),h.createElementBlock("i",{key:2,class:h.normalizeClass(r.value),style:h.normalizeStyle(i.value)},null,6))}});function eP(e){const u=TQ;for(const t in u)e._context.components[`ele-${u[t].name}`]||e.component(`ele-${u[t].name}`,u[t]);e._context.components.SvgIcon||e.component("SvgIcon",Lpu)}const tP=HN,rP=qN,Ppu=ZN,nP=JN,aP=UU,iP=rtu,oP=itu,sP=ftu,lP=dtu,cP=ng,EP=rg,dP=tg,fP=btu,pP=ag,hP=wtu,CP=Stu,FP=kpu,Npu=(e=[])=>({install:t=>{e.forEach(r=>{t._context.components[r.name]||t.component(r.name,r)}),t&&eP(t)}});var Ipu=h.defineComponent({name:"FmLogin",__name:"index",setup(e){const u=h.ref(!1);function t(){u.value=!0}return(r,n)=>(h.openBlock(),h.createElementBlock("div",{onClick:t},[...n[0]||(n[0]=[h.createElementVNode("h1",null,"login xxxxx ",-1)])]))}});const mP=Ipu;var vP=Npu([...[mP,tP,rP,nP,aP,oP,iP,lP,sP,cP,EP,dP,fP,pP,hP,CP,FP]]);const DP=[],gP=[];function Rpu(){if(DP.length<=0)return!1;DP.map(e=>{let u=document.createElement("link");u.rel="stylesheet",u.href=e,u.crossOrigin="anonymous",document.getElementsByTagName("head")[0].appendChild(u)})}function Opu(){if(gP.length<=0)return!1;gP.map(e=>{let u=document.createElement("script");u.src=e,document.body.appendChild(u)})}const Vpu={cssCdn:()=>{Rpu()},jsCdn:()=>{Opu()}},zpu={start:()=>{const e=document.body,u=document.createElement("div");u.setAttribute("class","loading-next");const t=`
163
+ `,d.innerHTML="<span>\u6682\u65E0\u6570\u636E</span>",a.value.style.position!=="relative"&&a.value.style.position!=="absolute"&&(a.value.style.position="relative"),a.value.appendChild(d))},remove:()=>{d&&a.value&&(a.value.removeChild(d),d=null)},updateStyle:()=>{d&&(d.style.color="#999")}},H=(iu={},cu=!1)=>{if(!a.value||E)return;const su={...u,...iu};try{if(cu){i&&i.clear(),O.create();return}else O.remove();U(a.value)?t>0?setTimeout(()=>I(su),t):I(su):(s=su,P())}catch(hu){console.error("\u56FE\u8868\u521D\u59CB\u5316\u5931\u8D25:",hu)}},V=iu=>{if(!E)try{if(!i){H(iu);return}i.setOption(iu)}catch(cu){console.error("\u56FE\u8868\u66F4\u65B0\u5931\u8D25:",cu)}},Y=()=>{if(i&&!E)try{i.resize()}catch(iu){console.error("\u56FE\u8868resize\u5931\u8D25:",iu)}},Z=()=>{if(E=!0,i)try{i.dispose()}catch(iu){console.error("\u56FE\u8868\u9500\u6BC1\u5931\u8D25:",iu)}finally{i=null}g(),y(),O.remove(),z(),f(),w(),s=null},ou=()=>i,ru=()=>i!==null;return h.onMounted(()=>{window.addEventListener("resize",F)}),h.onBeforeUnmount(()=>{window.removeEventListener("resize",F)}),h.onUnmounted(()=>{Z()}),{chartRef:a,initChart:H,updateChart:V,handleResize:Y,destroyChart:Z,getChartInstance:ou,isChartInitialized:ru,emptyStateManager:O,getAxisLineStyle:x,getSplitLineStyle:b,getAxisLabelStyle:T,getAxisTickStyle:S,getAnimationConfig:k,getTooltipStyle:N,getLegendStyle:M,useChartOps:Xl,getGridWithLegend:R}}function uP(e){const{props:u,generateOptions:t,checkEmpty:r,watchSources:n=[],onVisible:a,chartOptions:i={}}=e,o=QL(i),{chartRef:s,initChart:l,emptyStateManager:c}=o,E=h.computed(()=>u.isEmpty?!0:r?r():!1),d=()=>{h.nextTick(()=>{E.value?(o.getChartInstance()&&o.getChartInstance()?.clear(),c.create()):(c.remove(),l(t()))})},f=()=>{a?a():d()},p=[],F=()=>{if(n.length>0){const v=h.watch(n,d,{deep:!0});p.push(v)}},C=()=>{p.forEach(v=>v()),p.length=0},m=()=>{h.onMounted(()=>{d(),s.value&&s.value.addEventListener("chartVisible",f)}),h.onBeforeUnmount(()=>{s.value&&s.value.removeEventListener("chartVisible",f),C(),c.remove()})};return F(),m(),{...o,isEmpty:E,updateChart:d,handleChartVisible:f}}var kpu=h.defineComponent({name:"FmHBarChart",__name:"index",props:{height:{type:Number,default:()=>Xl().chartHeight},loading:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},colors:{type:Array,default:()=>Xl().colors},data:{type:Array,default:()=>[0,0,0,0,0,0,0]},xAxisData:{type:Array,default:()=>[]},barWidth:{type:String,default:"36%"},stack:{type:Boolean,default:!1},showAxisLabel:{type:Boolean,default:!0},showAxisLine:{type:Boolean,default:!0},showSplitLine:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!1},legendPosition:{type:String,default:"bottom"}},setup(e){const u=e,t=h.computed(()=>Array.isArray(u.data)&&u.data.length>0&&typeof u.data[0]=="object"&&"name"in u.data[0]),r=(C,m)=>C||(m!==void 0?u.colors[m%u.colors.length]:new C4.LinearGradient(0,0,1,0,[{offset:0,color:"#4ABEFF"},{offset:1,color:"#00E4E5"}])),n=C=>new C4.LinearGradient(0,0,1,0,[{offset:0,color:C},{offset:1,color:C}]),a=C=>({borderRadius:4,color:typeof C=="string"?n(C):C}),i=C=>{const m=d();return{name:C.name,data:C.data,type:"bar",stack:C.stack,itemStyle:a(C.color),barWidth:C.barWidth||u.barWidth,...m}},{chartRef:o,getAxisLineStyle:s,getAxisLabelStyle:l,getAxisTickStyle:c,getSplitLineStyle:E,getAnimationConfig:d,getTooltipStyle:f,getLegendStyle:p,getGridWithLegend:F}=uP({props:u,checkEmpty:()=>{if(Array.isArray(u.data)&&typeof u.data[0]=="number"){const C=u.data;return!C.length||C.every(m=>m===0)}if(Array.isArray(u.data)&&typeof u.data[0]=="object"){const C=u.data;return!C.length||C.every(m=>!m.data?.length||m.data.every(v=>v===0))}return!0},watchSources:[()=>u.data,()=>u.xAxisData,()=>u.colors],generateOptions:()=>{const C={grid:F(u.showLegend&&t.value,u.legendPosition,{top:15,right:0,left:0}),tooltip:u.showTooltip?f():void 0,xAxis:{type:"value",axisTick:c(),axisLine:s(u.showAxisLine),axisLabel:l(u.showAxisLabel),splitLine:E(u.showSplitLine)},yAxis:{type:"category",data:u.xAxisData,axisTick:c(),axisLabel:l(u.showAxisLabel),axisLine:s(u.showAxisLine)}};if(u.showLegend&&t.value&&(C.legend=p(u.legendPosition)),t.value){const m=u.data;C.series=m.map((v,D)=>{const g=r(u.colors[D],D);return i({name:v.name,data:v.data,color:g,barWidth:v.barWidth,stack:u.stack?v.stack||"total":void 0})})}else{const m=u.data,v=r();C.series=[i({data:m,color:v})]}return C}});return(C,m)=>{const v=h.resolveDirective("loading");return h.withDirectives((h.openBlock(),h.createElementBlock("div",{ref_key:"chartRef",ref:o,class:"relative w-full",style:h.normalizeStyle({height:u.height})},null,4)),[[v,u.loading]])}}});const Mpu=["src"];var Lpu=h.defineComponent({name:"svgIcon",__name:"svgicon",props:{name:{type:String},size:{type:Number,default:()=>14},color:{type:String}},setup(e){const u=e,t=["https","http","/src","/assets","data:image",window.__env__.VITE_PUBLIC_PATH],r=h.computed(()=>u?.name),n=h.computed(()=>u?.name?.startsWith("ele-")),a=h.computed(()=>t.find(l=>u.name?.startsWith(l))),i=h.computed(()=>`font-size: ${u.size}px;color: ${u.color};`),o=h.computed(()=>`width: ${u.size}px;height: ${u.size}px;display: inline-block;overflow: hidden;`),s=h.computed(()=>{const l=[];return["-webkit","-ms","-o","-moz"].forEach(E=>l.push(`${E}-filter: drop-shadow(${u.color} ${u.size}px 0);`)),`width: ${u.size}px;height: ${u.size}px;position: relative;left: -${u.size}px;${l.join("")}`});return(l,c)=>n.value?(h.openBlock(),h.createElementBlock("i",{key:0,class:"el-icon",style:h.normalizeStyle(i.value)},[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(r.value)))],4)):a.value?(h.openBlock(),h.createElementBlock("div",{key:1,style:h.normalizeStyle(o.value)},[h.createElementVNode("img",{src:r.value,style:h.normalizeStyle(s.value)},null,12,Mpu)],4)):(h.openBlock(),h.createElementBlock("i",{key:2,class:h.normalizeClass(r.value),style:h.normalizeStyle(i.value)},null,6))}});function eP(e){const u=TQ;for(const t in u)e._context.components[`ele-${u[t].name}`]||e.component(`ele-${u[t].name}`,u[t]);e._context.components.SvgIcon||e.component("SvgIcon",Lpu)}const tP=HN,rP=qN,Ppu=ZN,nP=JN,aP=UU,iP=rtu,oP=itu,sP=ftu,lP=dtu,cP=ng,EP=rg,dP=tg,fP=btu,pP=ag,hP=wtu,CP=Stu,FP=kpu,Npu=(e=[])=>({install:t=>{e.forEach(r=>{t._context.components[r.name]||t.component(r.name,r)}),t&&eP(t)}});var Ipu=h.defineComponent({name:"FmLogin",__name:"index",setup(e){const u=h.ref(!1);function t(){u.value=!0}return(r,n)=>(h.openBlock(),h.createElementBlock("div",{onClick:t},[...n[0]||(n[0]=[h.createElementVNode("h1",null,"login xxxxx ",-1)])]))}});const mP=Ipu;var vP=Npu([...[mP,tP,rP,nP,aP,oP,iP,lP,sP,cP,EP,dP,fP,pP,hP,CP,FP]]);const DP=[],gP=[];function Rpu(){if(DP.length<=0)return!1;DP.map(e=>{let u=document.createElement("link");u.rel="stylesheet",u.href=e,u.crossOrigin="anonymous",document.getElementsByTagName("head")[0].appendChild(u)})}function Opu(){if(gP.length<=0)return!1;gP.map(e=>{let u=document.createElement("script");u.src=e,document.body.appendChild(u)})}const Vpu={cssCdn:()=>{Rpu()},jsCdn:()=>{Opu()}},zpu={start:()=>{const e=document.body,u=document.createElement("div");u.setAttribute("class","loading-next");const t=`
164
164
  <div class="loading-next-box">
165
165
  <div class="loading-next-box-warp">
166
166
  <div class="loading-next-box-item"></div>
package/index.min.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.116 */import{defineComponent as U,reactive as bn,computed as Ee,watch as ft,resolveComponent as Nu,createBlock as Zu,openBlock as O,withCtx as Tu,createVNode as Vu,createElementVNode as L,createTextVNode as ht,toDisplayString as ke,withDirectives as pr,createElementBlock as V,Fragment as nr,renderList as rn,vShow as GE,ref as re,onMounted as wn,nextTick as xr,normalizeStyle as yt,createCommentVNode as ee,normalizeClass as Ii,withModifiers as D5,mergeModels as nn,useModel as oa,effectScope as qE,getCurrentInstance as g5,shallowRef as kO,isRef as Va,inject as J6,onUnmounted as WE,h as A9,Text as PO,createSlots as Q6,renderSlot as qt,markRaw as Oi,hasInjectionContext as $E,toRaw as c0,isReactive as jE,toRef as YE,unref as te,getCurrentScope as IO,onScopeDispose as OO,toRefs as y9,resolveDirective as Ha,mergeProps as _t,resolveDynamicComponent as m5,useSlots as _9,toHandlers as x9,onBeforeUnmount as KE,onUpdated as RO,useAttrs as NO,normalizeProps as b9,guardReactiveProps as w9}from"vue";import zO from"crypto";import XE from"url";import S9 from"http";import T9 from"https";import M9 from"http2";import ZE from"util";import an,{Readable as VO}from"stream";import HO from"assert";import Ua from"zlib";import{ElMessage as at,ElLoading as UO,dayjs as GO}from"element-plus";const qO={class:"fm-transfer-panel"},WO={class:"fm-transfer-panel__header"},$O={class:"fm-transfer-panel__body"},jO={class:"fm-transfer-buttons__item"},YO={class:"fm-transfer-buttons__item"},KO={class:"fm-transfer-buttons__item"},XO={class:"fm-transfer-buttons__item"},ZO={class:"fm-transfer-panel"},JO={class:"fm-transfer-panel__header"},QO={class:"fm-transfer-panel__body"};var uR=U({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:u}){const t=e,r=u,n=bn({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),a=Ee(()=>{let v=t.leftData.filter(F=>F[t.options.label].toLowerCase().includes(n.leftKeyword.toLowerCase()));if(n.leftChecked.length>0)for(let F=n.leftChecked.length-1;F>=0;F--)v.findIndex(g=>g[t.options.value]==n.leftChecked[F])==-1&&n.leftChecked.splice(F,1);return v}),i=v=>{n.leftChecked=v?a.value.filter(F=>F[t.options.disabled]==!1).map(F=>F[t.options.value]):[]},o=Ee(()=>{const v=n.leftChecked.length;return v>0&&v<a.value.filter(D=>D[t.options.disabled]==!1).length});ft(()=>n.leftChecked,v=>{n.leftAllChecked=v.length>0&&v.length==a.value.filter(F=>F[t.options.disabled]==!1).length});const s=Ee(()=>{let v=t.rightData.filter(F=>F[t.options.label].toLowerCase().includes(n.rightKeyword.toLowerCase()));if(n.rightChecked.length>0)for(let F=n.rightChecked.length-1;F>=0;F--)v.findIndex(g=>g[t.options.value]==n.rightChecked[F])==-1&&n.rightChecked.splice(F,1);return v}),l=v=>{n.rightChecked=v?s.value.filter(F=>F[t.options.disabled]==!1).map(F=>F[t.options.value]):[]},c=Ee(()=>{const v=n.rightChecked.length;return v>0&&v<s.value.filter(D=>D[t.options.disabled]==!1).length});ft(()=>n.rightChecked,v=>{n.rightAllChecked=v.length>0&&v.length==s.value.filter(F=>F[t.options.disabled]==!1).length});const E=v=>{if(v[t.options.value]&&v[t.options.disabled]===!1){let F=t.leftData.filter(g=>v[t.options.value]==g[t.options.value]),D=t.leftData.filter(g=>v[t.options.value]!=g[t.options.value]);r("update:leftData",D),r("update:rightData",t.rightData.concat(F)),r("right"),n.leftChecked=n.leftChecked.filter(g=>v[t.options.value]!=g)}},d=()=>{if(n.leftChecked?.length>0){let v=t.leftData.filter(D=>n.leftChecked.some(g=>g==D[t.options.value])),F=t.leftData.filter(D=>n.leftChecked.every(g=>g!=D[t.options.value]));r("update:leftData",F),r("update:rightData",t.rightData.concat(v)),r("right"),n.leftChecked=[]}},f=()=>{if(a.value?.length>0){let v=a.value.filter(g=>g[t.options.disabled]==!1),F=t.leftData.filter(g=>v.some(m=>m[t.options.value]==g[t.options.value])),D=t.leftData.filter(g=>v.every(m=>m[t.options.value]!=g[t.options.value]));r("update:leftData",D),r("update:rightData",t.rightData.concat(F)),r("allRight"),n.leftChecked=[]}},h=v=>{if(v[t.options.value]&&v[t.options.disabled]===!1){let F=t.rightData.filter(g=>v[t.options.value]==g[t.options.value]),D=t.rightData.filter(g=>v[t.options.value]!=g[t.options.value]);r("update:leftData",t.leftData.concat(F)),r("update:rightData",D),r("left"),n.rightChecked=n.rightChecked.filter(g=>v[t.options.value]!=g)}},C=()=>{if(n.rightChecked?.length>0){let v=t.rightData.filter(D=>n.rightChecked.some(g=>g==D[t.options.value])),F=t.rightData.filter(D=>n.rightChecked.every(g=>g!=D[t.options.value]));r("update:leftData",t.leftData.concat(v)),r("update:rightData",F),r("left"),n.rightChecked=[]}},p=()=>{if(s.value?.length>0){let v=s.value.filter(g=>g[t.options.disabled]==!1),F=t.rightData.filter(g=>v.some(m=>m[t.options.value]==g[t.options.value])),D=t.rightData.filter(g=>v.every(m=>m[t.options.value]!=g[t.options.value]));r("update:leftData",t.leftData.concat(F)),r("update:rightData",D),r("allLeft"),n.rightChecked=[]}};return(v,F)=>{const D=Nu("el-checkbox"),g=Nu("el-input"),m=Nu("el-checkbox-group"),A=Nu("el-col"),B=Nu("el-button"),y=Nu("el-row");return O(),Zu(y,{gutter:10},{default:Tu(()=>[Vu(A,{span:10},{default:Tu(()=>[L("div",qO,[L("p",WO,[Vu(D,{modelValue:n.leftAllChecked,"onUpdate:modelValue":F[0]||(F[0]=b=>n.leftAllChecked=b),indeterminate:o.value,"validate-event":!1,onChange:i},{default:Tu(()=>[ht(ke(t.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),L("span",null,ke(n.leftChecked.length)+"/"+ke(t.leftData.length),1)]),L("div",$O,[Vu(g,{class:"transfer-panel__filter",modelValue:n.leftKeyword,"onUpdate:modelValue":F[1]||(F[1]=b=>n.leftKeyword=b),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),pr(Vu(m,{modelValue:n.leftChecked,"onUpdate:modelValue":F[2]||(F[2]=b=>n.leftChecked=b),"validate-event":!1,class:"fm-transfer-panel__list"},{default:Tu(()=>[(O(!0),V(nr,null,rn(a.value,(b,_)=>(O(),Zu(D,{key:_,value:b[t.options.value],label:b[t.options.label],disabled:b[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:x=>E(b)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[GE,!0]])])])]),_:1}),Vu(A,{span:4,class:"fm-transfer-buttons"},{default:Tu(()=>[L("div",jO,[Vu(B,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:d})]),L("div",YO,[Vu(B,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:C})]),L("div",KO,[Vu(B,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:f})]),L("div",XO,[Vu(B,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:p})])]),_:1}),Vu(A,{span:10},{default:Tu(()=>[L("div",ZO,[L("p",JO,[Vu(D,{modelValue:n.rightAllChecked,"onUpdate:modelValue":F[3]||(F[3]=b=>n.rightAllChecked=b),indeterminate:c.value,"validate-event":!1,onChange:l},{default:Tu(()=>[ht(ke(t.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),L("span",null,ke(n.rightChecked.length)+"/"+ke(t.rightData.length),1)]),L("div",QO,[Vu(g,{class:"transfer-panel__filter",modelValue:n.rightKeyword,"onUpdate:modelValue":F[4]||(F[4]=b=>n.rightKeyword=b),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),pr(Vu(m,{modelValue:n.rightChecked,"onUpdate:modelValue":F[5]||(F[5]=b=>n.rightChecked=b),"validate-event":!1,class:"fm-transfer-panel__list"},{default:Tu(()=>[(O(!0),V(nr,null,rn(s.value,(b,_)=>(O(),Zu(D,{key:_,value:b[t.options.value],label:b[t.options.label],disabled:b[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:x=>h(b)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[GE,!0]])])])]),_:1})]),_:1})}}});const eR={class:"notice-bar-warp-text-box"},tR=["innerHTML"];var rR=U({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:u}){const t=e,r=re(null),n=re(null),a=bn({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});wn(async()=>{t.scrollable||i()});const i=()=>{xr(()=>{if(r.value&&n.value){a.warpOWidth=r.value.offsetWidth,a.textOWidth=n.value.scrollWidth,a.animationDuration=(a.textOWidth+a.warpOWidth)/t.speed,n.value.style.animation="none",n.value.offsetHeight,n.value.style.animation=`marquee ${a.animationDuration}s linear infinite`;const o=`
1
+ /*! fm-dev v1.0.118 */import{defineComponent as U,reactive as bn,computed as Ee,watch as ft,resolveComponent as Nu,createBlock as Zu,openBlock as O,withCtx as Tu,createVNode as Vu,createElementVNode as L,createTextVNode as ht,toDisplayString as ke,withDirectives as pr,createElementBlock as V,Fragment as nr,renderList as rn,vShow as GE,ref as re,onMounted as wn,nextTick as xr,normalizeStyle as yt,createCommentVNode as ee,normalizeClass as Ii,withModifiers as D5,mergeModels as nn,useModel as oa,effectScope as qE,getCurrentInstance as g5,shallowRef as kO,isRef as Va,inject as J6,onUnmounted as WE,h as A9,Text as PO,createSlots as Q6,renderSlot as qt,markRaw as Oi,hasInjectionContext as $E,toRaw as c0,isReactive as jE,toRef as YE,unref as te,getCurrentScope as IO,onScopeDispose as OO,toRefs as y9,resolveDirective as Ha,mergeProps as _t,resolveDynamicComponent as m5,useSlots as _9,toHandlers as x9,onBeforeUnmount as KE,onUpdated as RO,useAttrs as NO,normalizeProps as b9,guardReactiveProps as w9}from"vue";import zO from"crypto";import XE from"url";import S9 from"http";import T9 from"https";import M9 from"http2";import ZE from"util";import an,{Readable as VO}from"stream";import HO from"assert";import Ua from"zlib";import{ElMessage as at,ElLoading as UO,dayjs as GO}from"element-plus";const qO={class:"fm-transfer-panel"},WO={class:"fm-transfer-panel__header"},$O={class:"fm-transfer-panel__body"},jO={class:"fm-transfer-buttons__item"},YO={class:"fm-transfer-buttons__item"},KO={class:"fm-transfer-buttons__item"},XO={class:"fm-transfer-buttons__item"},ZO={class:"fm-transfer-panel"},JO={class:"fm-transfer-panel__header"},QO={class:"fm-transfer-panel__body"};var uR=U({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:u}){const t=e,r=u,n=bn({leftAllChecked:!1,leftKeyword:"",leftChecked:[],rightAllChecked:!1,rightKeyword:"",rightChecked:[]}),a=Ee(()=>{let v=t.leftData.filter(F=>F[t.options.label].toLowerCase().includes(n.leftKeyword.toLowerCase()));if(n.leftChecked.length>0)for(let F=n.leftChecked.length-1;F>=0;F--)v.findIndex(g=>g[t.options.value]==n.leftChecked[F])==-1&&n.leftChecked.splice(F,1);return v}),i=v=>{n.leftChecked=v?a.value.filter(F=>F[t.options.disabled]==!1).map(F=>F[t.options.value]):[]},o=Ee(()=>{const v=n.leftChecked.length;return v>0&&v<a.value.filter(D=>D[t.options.disabled]==!1).length});ft(()=>n.leftChecked,v=>{n.leftAllChecked=v.length>0&&v.length==a.value.filter(F=>F[t.options.disabled]==!1).length});const s=Ee(()=>{let v=t.rightData.filter(F=>F[t.options.label].toLowerCase().includes(n.rightKeyword.toLowerCase()));if(n.rightChecked.length>0)for(let F=n.rightChecked.length-1;F>=0;F--)v.findIndex(g=>g[t.options.value]==n.rightChecked[F])==-1&&n.rightChecked.splice(F,1);return v}),l=v=>{n.rightChecked=v?s.value.filter(F=>F[t.options.disabled]==!1).map(F=>F[t.options.value]):[]},c=Ee(()=>{const v=n.rightChecked.length;return v>0&&v<s.value.filter(D=>D[t.options.disabled]==!1).length});ft(()=>n.rightChecked,v=>{n.rightAllChecked=v.length>0&&v.length==s.value.filter(F=>F[t.options.disabled]==!1).length});const E=v=>{if(v[t.options.value]&&v[t.options.disabled]===!1){let F=t.leftData.filter(g=>v[t.options.value]==g[t.options.value]),D=t.leftData.filter(g=>v[t.options.value]!=g[t.options.value]);r("update:leftData",D),r("update:rightData",t.rightData.concat(F)),r("right"),n.leftChecked=n.leftChecked.filter(g=>v[t.options.value]!=g)}},d=()=>{if(n.leftChecked?.length>0){let v=t.leftData.filter(D=>n.leftChecked.some(g=>g==D[t.options.value])),F=t.leftData.filter(D=>n.leftChecked.every(g=>g!=D[t.options.value]));r("update:leftData",F),r("update:rightData",t.rightData.concat(v)),r("right"),n.leftChecked=[]}},f=()=>{if(a.value?.length>0){let v=a.value.filter(g=>g[t.options.disabled]==!1),F=t.leftData.filter(g=>v.some(m=>m[t.options.value]==g[t.options.value])),D=t.leftData.filter(g=>v.every(m=>m[t.options.value]!=g[t.options.value]));r("update:leftData",D),r("update:rightData",t.rightData.concat(F)),r("allRight"),n.leftChecked=[]}},h=v=>{if(v[t.options.value]&&v[t.options.disabled]===!1){let F=t.rightData.filter(g=>v[t.options.value]==g[t.options.value]),D=t.rightData.filter(g=>v[t.options.value]!=g[t.options.value]);r("update:leftData",t.leftData.concat(F)),r("update:rightData",D),r("left"),n.rightChecked=n.rightChecked.filter(g=>v[t.options.value]!=g)}},C=()=>{if(n.rightChecked?.length>0){let v=t.rightData.filter(D=>n.rightChecked.some(g=>g==D[t.options.value])),F=t.rightData.filter(D=>n.rightChecked.every(g=>g!=D[t.options.value]));r("update:leftData",t.leftData.concat(v)),r("update:rightData",F),r("left"),n.rightChecked=[]}},p=()=>{if(s.value?.length>0){let v=s.value.filter(g=>g[t.options.disabled]==!1),F=t.rightData.filter(g=>v.some(m=>m[t.options.value]==g[t.options.value])),D=t.rightData.filter(g=>v.every(m=>m[t.options.value]!=g[t.options.value]));r("update:leftData",t.leftData.concat(F)),r("update:rightData",D),r("allLeft"),n.rightChecked=[]}};return(v,F)=>{const D=Nu("el-checkbox"),g=Nu("el-input"),m=Nu("el-checkbox-group"),A=Nu("el-col"),B=Nu("el-button"),y=Nu("el-row");return O(),Zu(y,{gutter:10},{default:Tu(()=>[Vu(A,{span:10},{default:Tu(()=>[L("div",qO,[L("p",WO,[Vu(D,{modelValue:n.leftAllChecked,"onUpdate:modelValue":F[0]||(F[0]=b=>n.leftAllChecked=b),indeterminate:o.value,"validate-event":!1,onChange:i},{default:Tu(()=>[ht(ke(t.leftTitle),1)]),_:1},8,["modelValue","indeterminate"]),L("span",null,ke(n.leftChecked.length)+"/"+ke(t.leftData.length),1)]),L("div",$O,[Vu(g,{class:"transfer-panel__filter",modelValue:n.leftKeyword,"onUpdate:modelValue":F[1]||(F[1]=b=>n.leftKeyword=b),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),pr(Vu(m,{modelValue:n.leftChecked,"onUpdate:modelValue":F[2]||(F[2]=b=>n.leftChecked=b),"validate-event":!1,class:"fm-transfer-panel__list"},{default:Tu(()=>[(O(!0),V(nr,null,rn(a.value,(b,_)=>(O(),Zu(D,{key:_,value:b[t.options.value],label:b[t.options.label],disabled:b[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:x=>E(b)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[GE,!0]])])])]),_:1}),Vu(A,{span:4,class:"fm-transfer-buttons"},{default:Tu(()=>[L("div",jO,[Vu(B,{type:"primary",style:{},icon:"ele-ArrowRight",onClick:d})]),L("div",YO,[Vu(B,{type:"primary",style:{},icon:"ele-ArrowLeft",onClick:C})]),L("div",KO,[Vu(B,{type:"primary",style:{},icon:"ele-DArrowRight",onClick:f})]),L("div",XO,[Vu(B,{type:"primary",style:{},icon:"ele-DArrowLeft",onClick:p})])]),_:1}),Vu(A,{span:10},{default:Tu(()=>[L("div",ZO,[L("p",JO,[Vu(D,{modelValue:n.rightAllChecked,"onUpdate:modelValue":F[3]||(F[3]=b=>n.rightAllChecked=b),indeterminate:c.value,"validate-event":!1,onChange:l},{default:Tu(()=>[ht(ke(t.rightTitle),1)]),_:1},8,["modelValue","indeterminate"]),L("span",null,ke(n.rightChecked.length)+"/"+ke(t.rightData.length),1)]),L("div",QO,[Vu(g,{class:"transfer-panel__filter",modelValue:n.rightKeyword,"onUpdate:modelValue":F[4]||(F[4]=b=>n.rightKeyword=b),placeholder:"\u641C\u7D22","prefix-icon":"ele-Search",clearable:"","validate-event":!1},null,8,["modelValue"]),pr(Vu(m,{modelValue:n.rightChecked,"onUpdate:modelValue":F[5]||(F[5]=b=>n.rightChecked=b),"validate-event":!1,class:"fm-transfer-panel__list"},{default:Tu(()=>[(O(!0),V(nr,null,rn(s.value,(b,_)=>(O(),Zu(D,{key:_,value:b[t.options.value],label:b[t.options.label],disabled:b[t.options.disabled],"validate-event":!1,class:"fm-transfer-panel__item",onDblclick:x=>h(b)},null,8,["value","label","disabled","onDblclick"]))),128))]),_:1},8,["modelValue"]),[[GE,!0]])])])]),_:1})]),_:1})}}});const eR={class:"notice-bar-warp-text-box"},tR=["innerHTML"];var rR=U({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:u}){const t=e,r=re(null),n=re(null),a=bn({isMode:!1,warpOWidth:0,textOWidth:0,animationDuration:0});wn(async()=>{t.scrollable||i()});const i=()=>{xr(()=>{if(r.value&&n.value){a.warpOWidth=r.value.offsetWidth,a.textOWidth=n.value.scrollWidth,a.animationDuration=(a.textOWidth+a.warpOWidth)/t.speed,n.value.style.animation="none",n.value.offsetHeight,n.value.style.animation=`marquee ${a.animationDuration}s linear infinite`;const o=`
2
2
  @keyframes marquee {
3
3
  0% { transform: translateX(${a.warpOWidth}px); }
4
4
  100% { transform: translateX(-${a.textOWidth}px); }
@@ -160,7 +160,7 @@ echarts.use([`+S+"]);":"Unknown series "+x))}return}if(E==="tooltip"){if(D){proc
160
160
  color: #B3B2B2;
161
161
  background: transparent;
162
162
  z-index: 10;
163
- `,d.innerHTML="<span>\u6682\u65E0\u6570\u636E</span>",a.value.style.position!=="relative"&&a.value.style.position!=="absolute"&&(a.value.style.position="relative"),a.value.appendChild(d))},remove:()=>{d&&a.value&&(a.value.removeChild(d),d=null)},updateStyle:()=>{d&&(d.style.color="#999")}},q=(su={},du=!1)=>{if(!a.value||E)return;const cu={...u,...su};try{if(du){i&&i.clear(),z.create();return}else z.remove();W(a.value)?t>0?setTimeout(()=>R(cu),t):R(cu):(s=cu,P())}catch(vu){console.error("\u56FE\u8868\u521D\u59CB\u5316\u5931\u8D25:",vu)}},H=su=>{if(!E)try{if(!i){q(su);return}i.setOption(su)}catch(du){console.error("\u56FE\u8868\u66F4\u65B0\u5931\u8D25:",du)}},Z=()=>{if(i&&!E)try{i.resize()}catch(su){console.error("\u56FE\u8868resize\u5931\u8D25:",su)}},Q=()=>{if(E=!0,i)try{i.dispose()}catch(su){console.error("\u56FE\u8868\u9500\u6BC1\u5931\u8D25:",su)}finally{i=null}g(),A(),z.remove(),G(),f(),b(),s=null},lu=()=>i,au=()=>i!==null;return wn(()=>{window.addEventListener("resize",C)}),KE(()=>{window.removeEventListener("resize",C)}),WE(()=>{Q()}),{chartRef:a,initChart:q,updateChart:H,handleResize:Z,destroyChart:Q,getChartInstance:lu,isChartInitialized:au,emptyStateManager:z,getAxisLineStyle:_,getSplitLineStyle:x,getAxisLabelStyle:S,getAxisTickStyle:w,getAnimationConfig:T,getTooltipStyle:I,getLegendStyle:M,useChartOps:w6,getGridWithLegend:N}}function uI(e){const{props:u,generateOptions:t,checkEmpty:r,watchSources:n=[],onVisible:a,chartOptions:i={}}=e,o=QP(i),{chartRef:s,initChart:l,emptyStateManager:c}=o,E=Ee(()=>u.isEmpty?!0:r?r():!1),d=()=>{xr(()=>{E.value?(o.getChartInstance()&&o.getChartInstance()?.clear(),c.create()):(c.remove(),l(t()))})},f=()=>{a?a():d()},h=[],C=()=>{if(n.length>0){const F=ft(n,d,{deep:!0});h.push(F)}},p=()=>{h.forEach(F=>F()),h.length=0},v=()=>{wn(()=>{d(),s.value&&s.value.addEventListener("chartVisible",f)}),KE(()=>{s.value&&s.value.removeEventListener("chartVisible",f),p(),c.remove()})};return C(),v(),{...o,isEmpty:E,updateChart:d,handleChartVisible:f}}var Xpu=U({name:"FmHBarChart",__name:"index",props:{data:{default:()=>[0,0,0,0,0,0,0]},xAxisData:{default:()=>[]},barWidth:{default:"36%"},stack:{type:Boolean,default:!1},borderRadius:{},height:{default:w6().chartHeight},loading:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},colors:{default:()=>w6().colors},showAxisLabel:{type:Boolean,default:!0},showAxisLine:{type:Boolean,default:!0},showSplitLine:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!1},legendPosition:{default:"bottom"}},setup(e){const u=e,t=Ee(()=>Array.isArray(u.data)&&u.data.length>0&&typeof u.data[0]=="object"&&"name"in u.data[0]),r=(p,v)=>p||(v!==void 0?u.colors[v%u.colors.length]:new r9.LinearGradient(0,0,1,0,[{offset:0,color:"#4ABEFF"},{offset:1,color:"#00E4E5"}])),n=p=>new r9.LinearGradient(0,0,1,0,[{offset:0,color:p},{offset:1,color:p}]),a=p=>({borderRadius:4,color:typeof p=="string"?n(p):p}),i=p=>{const v=d();return{name:p.name,data:p.data,type:"bar",stack:p.stack,itemStyle:a(p.color),barWidth:p.barWidth||u.barWidth,...v}},{chartRef:o,getAxisLineStyle:s,getAxisLabelStyle:l,getAxisTickStyle:c,getSplitLineStyle:E,getAnimationConfig:d,getTooltipStyle:f,getLegendStyle:h,getGridWithLegend:C}=uI({props:u,checkEmpty:()=>{if(Array.isArray(u.data)&&typeof u.data[0]=="number"){const p=u.data;return!p.length||p.every(v=>v===0)}if(Array.isArray(u.data)&&typeof u.data[0]=="object"){const p=u.data;return!p.length||p.every(v=>!v.data?.length||v.data.every(F=>F===0))}return!0},watchSources:[()=>u.data,()=>u.xAxisData,()=>u.colors],generateOptions:()=>{const p={grid:C(u.showLegend&&t.value,u.legendPosition,{top:15,right:0,left:0}),tooltip:u.showTooltip?f():void 0,xAxis:{type:"value",axisTick:c(),axisLine:s(u.showAxisLine),axisLabel:l(u.showAxisLabel),splitLine:E(u.showSplitLine)},yAxis:{type:"category",data:u.xAxisData,axisTick:c(),axisLabel:l(u.showAxisLabel),axisLine:s(u.showAxisLine)}};if(u.showLegend&&t.value&&(p.legend=h(u.legendPosition)),t.value){const v=u.data;p.series=v.map((F,D)=>{const g=r(u.colors[D],D);return i({name:F.name,data:F.data,color:g,barWidth:F.barWidth,stack:u.stack?F.stack||"total":void 0})})}else{const v=u.data,F=r();p.series=[i({data:v,color:F})]}return p}});return(p,v)=>{const F=Ha("loading");return pr((O(),V("div",{ref_key:"chartRef",ref:o,class:"relative w-full",style:yt({height:u.height})},null,4)),[[F,u.loading]])}}});const Zpu=["src"];var Jpu=U({name:"svgIcon",__name:"svgicon",props:{name:{type:String},size:{type:Number,default:()=>14},color:{type:String}},setup(e){const u=e,t=["https","http","/src","/assets","data:image",window.__env__.VITE_PUBLIC_PATH],r=Ee(()=>u?.name),n=Ee(()=>u?.name?.startsWith("ele-")),a=Ee(()=>t.find(l=>u.name?.startsWith(l))),i=Ee(()=>`font-size: ${u.size}px;color: ${u.color};`),o=Ee(()=>`width: ${u.size}px;height: ${u.size}px;display: inline-block;overflow: hidden;`),s=Ee(()=>{const l=[];return["-webkit","-ms","-o","-moz"].forEach(E=>l.push(`${E}-filter: drop-shadow(${u.color} ${u.size}px 0);`)),`width: ${u.size}px;height: ${u.size}px;position: relative;left: -${u.size}px;${l.join("")}`});return(l,c)=>n.value?(O(),V("i",{key:0,class:"el-icon",style:yt(i.value)},[(O(),Zu(m5(r.value)))],4)):a.value?(O(),V("div",{key:1,style:yt(o.value)},[L("img",{src:r.value,style:yt(s.value)},null,12,Zpu)],4)):(O(),V("i",{key:2,class:Ii(r.value),style:yt(i.value)},null,6))}});function eI(e){const u=Kuu;for(const t in u)e._context.components[`ele-${u[t].name}`]||e.component(`ele-${u[t].name}`,u[t]);e._context.components.SvgIcon||e.component("SvgIcon",Jpu)}const tI=uR,rI=rR,Qpu=cR,nI=ER,aI=oq,iI=Bru,oI=_ru,sI=Lru,lI=Mru,cI=nB,EI=rB,dI=tB,fI=$ru,hI=aB,pI=jru,CI=Yru,vI=Xpu,u8u=(e=[])=>({install:t=>{e.forEach(r=>{t._context.components[r.name]||t.component(r.name,r)}),t&&eI(t)}});var e8u=U({name:"FmLogin",__name:"index",setup(e){const u=re(!1);function t(){u.value=!0}return(r,n)=>(O(),V("div",{onClick:t},[...n[0]||(n[0]=[L("h1",null,"login xxxxx ",-1)])]))}});const FI=e8u,t8u=[FI,tI,rI,nI,aI,oI,iI,lI,sI,cI,EI,dI,fI,hI,pI,CI,vI];var DI=u8u([...t8u]);const gI=[],mI=[];function r8u(){if(gI.length<=0)return!1;gI.map(e=>{let u=document.createElement("link");u.rel="stylesheet",u.href=e,u.crossOrigin="anonymous",document.getElementsByTagName("head")[0].appendChild(u)})}function n8u(){if(mI.length<=0)return!1;mI.map(e=>{let u=document.createElement("script");u.src=e,document.body.appendChild(u)})}const a8u={cssCdn:()=>{r8u()},jsCdn:()=>{n8u()}},i8u={start:()=>{const e=document.body,u=document.createElement("div");u.setAttribute("class","loading-next");const t=`
163
+ `,d.innerHTML="<span>\u6682\u65E0\u6570\u636E</span>",a.value.style.position!=="relative"&&a.value.style.position!=="absolute"&&(a.value.style.position="relative"),a.value.appendChild(d))},remove:()=>{d&&a.value&&(a.value.removeChild(d),d=null)},updateStyle:()=>{d&&(d.style.color="#999")}},q=(su={},du=!1)=>{if(!a.value||E)return;const cu={...u,...su};try{if(du){i&&i.clear(),z.create();return}else z.remove();W(a.value)?t>0?setTimeout(()=>R(cu),t):R(cu):(s=cu,P())}catch(vu){console.error("\u56FE\u8868\u521D\u59CB\u5316\u5931\u8D25:",vu)}},H=su=>{if(!E)try{if(!i){q(su);return}i.setOption(su)}catch(du){console.error("\u56FE\u8868\u66F4\u65B0\u5931\u8D25:",du)}},Z=()=>{if(i&&!E)try{i.resize()}catch(su){console.error("\u56FE\u8868resize\u5931\u8D25:",su)}},Q=()=>{if(E=!0,i)try{i.dispose()}catch(su){console.error("\u56FE\u8868\u9500\u6BC1\u5931\u8D25:",su)}finally{i=null}g(),A(),z.remove(),G(),f(),b(),s=null},lu=()=>i,au=()=>i!==null;return wn(()=>{window.addEventListener("resize",C)}),KE(()=>{window.removeEventListener("resize",C)}),WE(()=>{Q()}),{chartRef:a,initChart:q,updateChart:H,handleResize:Z,destroyChart:Q,getChartInstance:lu,isChartInitialized:au,emptyStateManager:z,getAxisLineStyle:_,getSplitLineStyle:x,getAxisLabelStyle:S,getAxisTickStyle:w,getAnimationConfig:T,getTooltipStyle:I,getLegendStyle:M,useChartOps:w6,getGridWithLegend:N}}function uI(e){const{props:u,generateOptions:t,checkEmpty:r,watchSources:n=[],onVisible:a,chartOptions:i={}}=e,o=QP(i),{chartRef:s,initChart:l,emptyStateManager:c}=o,E=Ee(()=>u.isEmpty?!0:r?r():!1),d=()=>{xr(()=>{E.value?(o.getChartInstance()&&o.getChartInstance()?.clear(),c.create()):(c.remove(),l(t()))})},f=()=>{a?a():d()},h=[],C=()=>{if(n.length>0){const F=ft(n,d,{deep:!0});h.push(F)}},p=()=>{h.forEach(F=>F()),h.length=0},v=()=>{wn(()=>{d(),s.value&&s.value.addEventListener("chartVisible",f)}),KE(()=>{s.value&&s.value.removeEventListener("chartVisible",f),p(),c.remove()})};return C(),v(),{...o,isEmpty:E,updateChart:d,handleChartVisible:f}}var Xpu=U({name:"FmHBarChart",__name:"index",props:{height:{type:Number,default:()=>w6().chartHeight},loading:{type:Boolean,default:!1},isEmpty:{type:Boolean,default:!1},colors:{type:Array,default:()=>w6().colors},data:{type:Array,default:()=>[0,0,0,0,0,0,0]},xAxisData:{type:Array,default:()=>[]},barWidth:{type:String,default:"36%"},stack:{type:Boolean,default:!1},showAxisLabel:{type:Boolean,default:!0},showAxisLine:{type:Boolean,default:!0},showSplitLine:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!1},legendPosition:{type:String,default:"bottom"}},setup(e){const u=e,t=Ee(()=>Array.isArray(u.data)&&u.data.length>0&&typeof u.data[0]=="object"&&"name"in u.data[0]),r=(p,v)=>p||(v!==void 0?u.colors[v%u.colors.length]:new r9.LinearGradient(0,0,1,0,[{offset:0,color:"#4ABEFF"},{offset:1,color:"#00E4E5"}])),n=p=>new r9.LinearGradient(0,0,1,0,[{offset:0,color:p},{offset:1,color:p}]),a=p=>({borderRadius:4,color:typeof p=="string"?n(p):p}),i=p=>{const v=d();return{name:p.name,data:p.data,type:"bar",stack:p.stack,itemStyle:a(p.color),barWidth:p.barWidth||u.barWidth,...v}},{chartRef:o,getAxisLineStyle:s,getAxisLabelStyle:l,getAxisTickStyle:c,getSplitLineStyle:E,getAnimationConfig:d,getTooltipStyle:f,getLegendStyle:h,getGridWithLegend:C}=uI({props:u,checkEmpty:()=>{if(Array.isArray(u.data)&&typeof u.data[0]=="number"){const p=u.data;return!p.length||p.every(v=>v===0)}if(Array.isArray(u.data)&&typeof u.data[0]=="object"){const p=u.data;return!p.length||p.every(v=>!v.data?.length||v.data.every(F=>F===0))}return!0},watchSources:[()=>u.data,()=>u.xAxisData,()=>u.colors],generateOptions:()=>{const p={grid:C(u.showLegend&&t.value,u.legendPosition,{top:15,right:0,left:0}),tooltip:u.showTooltip?f():void 0,xAxis:{type:"value",axisTick:c(),axisLine:s(u.showAxisLine),axisLabel:l(u.showAxisLabel),splitLine:E(u.showSplitLine)},yAxis:{type:"category",data:u.xAxisData,axisTick:c(),axisLabel:l(u.showAxisLabel),axisLine:s(u.showAxisLine)}};if(u.showLegend&&t.value&&(p.legend=h(u.legendPosition)),t.value){const v=u.data;p.series=v.map((F,D)=>{const g=r(u.colors[D],D);return i({name:F.name,data:F.data,color:g,barWidth:F.barWidth,stack:u.stack?F.stack||"total":void 0})})}else{const v=u.data,F=r();p.series=[i({data:v,color:F})]}return p}});return(p,v)=>{const F=Ha("loading");return pr((O(),V("div",{ref_key:"chartRef",ref:o,class:"relative w-full",style:yt({height:u.height})},null,4)),[[F,u.loading]])}}});const Zpu=["src"];var Jpu=U({name:"svgIcon",__name:"svgicon",props:{name:{type:String},size:{type:Number,default:()=>14},color:{type:String}},setup(e){const u=e,t=["https","http","/src","/assets","data:image",window.__env__.VITE_PUBLIC_PATH],r=Ee(()=>u?.name),n=Ee(()=>u?.name?.startsWith("ele-")),a=Ee(()=>t.find(l=>u.name?.startsWith(l))),i=Ee(()=>`font-size: ${u.size}px;color: ${u.color};`),o=Ee(()=>`width: ${u.size}px;height: ${u.size}px;display: inline-block;overflow: hidden;`),s=Ee(()=>{const l=[];return["-webkit","-ms","-o","-moz"].forEach(E=>l.push(`${E}-filter: drop-shadow(${u.color} ${u.size}px 0);`)),`width: ${u.size}px;height: ${u.size}px;position: relative;left: -${u.size}px;${l.join("")}`});return(l,c)=>n.value?(O(),V("i",{key:0,class:"el-icon",style:yt(i.value)},[(O(),Zu(m5(r.value)))],4)):a.value?(O(),V("div",{key:1,style:yt(o.value)},[L("img",{src:r.value,style:yt(s.value)},null,12,Zpu)],4)):(O(),V("i",{key:2,class:Ii(r.value),style:yt(i.value)},null,6))}});function eI(e){const u=Kuu;for(const t in u)e._context.components[`ele-${u[t].name}`]||e.component(`ele-${u[t].name}`,u[t]);e._context.components.SvgIcon||e.component("SvgIcon",Jpu)}const tI=uR,rI=rR,Qpu=cR,nI=ER,aI=oq,iI=Bru,oI=_ru,sI=Lru,lI=Mru,cI=nB,EI=rB,dI=tB,fI=$ru,hI=aB,pI=jru,CI=Yru,vI=Xpu,u8u=(e=[])=>({install:t=>{e.forEach(r=>{t._context.components[r.name]||t.component(r.name,r)}),t&&eI(t)}});var e8u=U({name:"FmLogin",__name:"index",setup(e){const u=re(!1);function t(){u.value=!0}return(r,n)=>(O(),V("div",{onClick:t},[...n[0]||(n[0]=[L("h1",null,"login xxxxx ",-1)])]))}});const FI=e8u,t8u=[FI,tI,rI,nI,aI,oI,iI,lI,sI,cI,EI,dI,fI,hI,pI,CI,vI];var DI=u8u([...t8u]);const gI=[],mI=[];function r8u(){if(gI.length<=0)return!1;gI.map(e=>{let u=document.createElement("link");u.rel="stylesheet",u.href=e,u.crossOrigin="anonymous",document.getElementsByTagName("head")[0].appendChild(u)})}function n8u(){if(mI.length<=0)return!1;mI.map(e=>{let u=document.createElement("script");u.src=e,document.body.appendChild(u)})}const a8u={cssCdn:()=>{r8u()},jsCdn:()=>{n8u()}},i8u={start:()=>{const e=document.body,u=document.createElement("div");u.setAttribute("class","loading-next");const t=`
164
164
  <div class="loading-next-box">
165
165
  <div class="loading-next-box-warp">
166
166
  <div class="loading-next-box-item"></div>
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.116 */
1
+ /*! fm-dev v1.0.118 */
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 as normalizeStyle$1, createCommentVNode, normalizeClass, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, createSlots, renderSlot, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, mergeProps, resolveDynamicComponent, useSlots, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -124885,21 +124885,51 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
124885
124885
  ...{ name: "FmHBarChart" },
124886
124886
  __name: "index",
124887
124887
  props: {
124888
- data: { default: () => [0, 0, 0, 0, 0, 0, 0] },
124889
- xAxisData: { default: () => [] },
124890
- barWidth: { default: "36%" },
124891
- stack: { type: Boolean, default: false },
124892
- borderRadius: {},
124893
- height: { default: useChartOps().chartHeight },
124894
- loading: { type: Boolean, default: false },
124895
- isEmpty: { type: Boolean, default: false },
124896
- colors: { default: () => useChartOps().colors },
124888
+ // 基础配置
124889
+ height: {
124890
+ type: Number,
124891
+ default: () => useChartOps().chartHeight
124892
+ },
124893
+ loading: {
124894
+ type: Boolean,
124895
+ default: false
124896
+ },
124897
+ isEmpty: {
124898
+ type: Boolean,
124899
+ default: false
124900
+ },
124901
+ colors: {
124902
+ type: Array,
124903
+ default: () => useChartOps().colors
124904
+ },
124905
+ // 数据配置
124906
+ data: {
124907
+ type: Array,
124908
+ default: () => [0, 0, 0, 0, 0, 0, 0]
124909
+ },
124910
+ xAxisData: {
124911
+ type: Array,
124912
+ default: () => []
124913
+ },
124914
+ barWidth: {
124915
+ type: String,
124916
+ default: "36%"
124917
+ },
124918
+ stack: {
124919
+ type: Boolean,
124920
+ default: false
124921
+ },
124922
+ // 轴线显示配置
124897
124923
  showAxisLabel: { type: Boolean, default: true },
124898
124924
  showAxisLine: { type: Boolean, default: true },
124899
124925
  showSplitLine: { type: Boolean, default: true },
124926
+ // 交互配置
124900
124927
  showTooltip: { type: Boolean, default: true },
124901
124928
  showLegend: { type: Boolean, default: false },
124902
- legendPosition: { default: "bottom" }
124929
+ legendPosition: {
124930
+ type: String,
124931
+ default: "bottom"
124932
+ }
124903
124933
  },
124904
124934
  setup(__props) {
124905
124935
  const props = __props;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var deDE$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/de-DE.js');
6
+ var deDE$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/de-DE.js');
7
7
 
8
8
  var deDEExports = deDE$1.__require();
9
9
  var deDE = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(deDEExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var enUS = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/en-US.js');
6
+ var enUS = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/en-US.js');
7
7
 
8
8
  var enUSExports = enUS.__require();
9
9
  var msMY = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(enUSExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var esES$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/es-ES.js');
6
+ var esES$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/es-ES.js');
7
7
 
8
8
  var esESExports = esES$1.__require();
9
9
  var esES = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(esESExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var frFR$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/fr-FR.js');
6
+ var frFR$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/fr-FR.js');
7
7
 
8
8
  var frFRExports = frFR$1.__require();
9
9
  var frFR = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(frFRExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var itIT$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/it-IT.js');
6
+ var itIT$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/it-IT.js');
7
7
 
8
8
  var itITExports = itIT$1.__require();
9
9
  var itIT = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(itITExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var jaJP$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ja-JP.js');
6
+ var jaJP$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ja-JP.js');
7
7
 
8
8
  var jaJPExports = jaJP$1.__require();
9
9
  var jaJP = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(jaJPExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var koKR$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ko-KR.js');
6
+ var koKR$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ko-KR.js');
7
7
 
8
8
  var koKRExports = koKR$1.__require();
9
9
  var koKR = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(koKRExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var nbNO = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/nb-NO.js');
6
+ var nbNO = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/nb-NO.js');
7
7
 
8
8
  var nbNOExports = nbNO.__require();
9
9
  var noNO = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(nbNOExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var ptBR$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/pt-BR.js');
6
+ var ptBR$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/pt-BR.js');
7
7
 
8
8
  var ptBRExports = ptBR$1.__require();
9
9
  var ptBR = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(ptBRExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var ruRU$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ru-RU.js');
6
+ var ruRU$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/ru-RU.js');
7
7
 
8
8
  var ruRUExports = ruRU$1.__require();
9
9
  var ruRU = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(ruRUExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var thTH$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/th-TH.js');
6
+ var thTH$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/th-TH.js');
7
7
 
8
8
  var thTHExports = thTH$1.__require();
9
9
  var thTH = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(thTHExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var viVN$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/vi-VN.js');
6
+ var viVN$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/vi-VN.js');
7
7
 
8
8
  var viVNExports = viVN$1.__require();
9
9
  var viVN = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(viVNExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var zhCN$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-CN.js');
6
+ var zhCN$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-CN.js');
7
7
 
8
8
  var zhCNExports = zhCN$1.__require();
9
9
  var zhCN = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(zhCNExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var zhHK$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-HK.js');
6
+ var zhHK$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-HK.js');
7
7
 
8
8
  var zhHKExports = zhHK$1.__require();
9
9
  var zhHK = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(zhHKExports);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var zhTW$1 = require('../node_modules/.pnpm/vxe-table@4.17.43_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-TW.js');
6
+ var zhTW$1 = require('../node_modules/.pnpm/vxe-table@4.17.48_vue@3.5.26_typescript@5.8.3_/node_modules/vxe-table/lib/locale/lang/zh-TW.js');
7
7
 
8
8
  var zhTWExports = zhTW$1.__require();
9
9
  var zhTW = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(zhTWExports);
@@ -1027,6 +1027,7 @@ export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>)
1027
1027
  required?: boolean | undefined;
1028
1028
  min?: number | undefined;
1029
1029
  max?: number | undefined;
1030
+ field?: string | undefined;
1030
1031
  type?: "number" | "string" | "array" | "" | null | undefined;
1031
1032
  pattern?: (string | RegExp) | undefined;
1032
1033
  validator?: string | ((params: import("vxe-pc-ui").VxeFormDefines.RuleValidatorParams<any>) => void | Error | Promise<void>) | undefined;
@@ -5101,6 +5102,10 @@ export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>)
5101
5102
  rowConfig?: {
5102
5103
  useKey?: boolean | undefined;
5103
5104
  keyField?: string | undefined;
5105
+ createKeyMethod?: ((params: {
5106
+ row: any;
5107
+ keyField: string;
5108
+ }) => string | number) | undefined;
5104
5109
  isCurrent?: boolean | undefined;
5105
5110
  currentMethod?: ((params: {
5106
5111
  row: any;
@@ -6838,6 +6843,7 @@ export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>)
6838
6843
  enterToTab?: boolean | undefined;
6839
6844
  editMode?: "coverage" | "insert" | "" | null | undefined;
6840
6845
  isLastEnterAppendRow?: boolean | undefined;
6846
+ isLastTabAppendRow?: boolean | undefined;
6841
6847
  beforeEnterMethod?: ((params: {
6842
6848
  $table: VxeTableConstructor<any>;
6843
6849
  row: any;
@@ -6860,6 +6866,28 @@ export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>)
6860
6866
  $columnIndex: number;
6861
6867
  _columnIndex: number;
6862
6868
  }) => void) | undefined;
6869
+ beforeTabMethod?: ((params: {
6870
+ $table: VxeTableConstructor<any>;
6871
+ row: any;
6872
+ rowIndex: number;
6873
+ $rowIndex: number;
6874
+ _rowIndex: number;
6875
+ column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
6876
+ columnIndex: number;
6877
+ $columnIndex: number;
6878
+ _columnIndex: number;
6879
+ }) => boolean) | undefined;
6880
+ tabMethod?: ((params: {
6881
+ $table: VxeTableConstructor<any>;
6882
+ row: any;
6883
+ rowIndex: number;
6884
+ $rowIndex: number;
6885
+ _rowIndex: number;
6886
+ column: import("vxe-table").VxeTableDefines.ColumnInfo<any>;
6887
+ columnIndex: number;
6888
+ $columnIndex: number;
6889
+ _columnIndex: number;
6890
+ }) => void) | undefined;
6863
6891
  delMethod?: ((params: {
6864
6892
  $table: VxeTableConstructor<any>;
6865
6893
  row: any;
@@ -7024,6 +7052,10 @@ export declare const useVxeTable: <T>(opt: iVxeOption, extras?: VxeGridProps<T>)
7024
7052
  columnIndex: number;
7025
7053
  }) => boolean) | undefined;
7026
7054
  } | undefined;
7055
+ editDirtyConfig?: {
7056
+ includeFields?: string[] | undefined;
7057
+ excludeFields?: string[] | undefined;
7058
+ } | undefined;
7027
7059
  validConfig?: {
7028
7060
  autoPos?: boolean | undefined;
7029
7061
  showErrorMessage?: boolean | undefined;
@@ -1,10 +1,123 @@
1
- import { BarChartProps, BarDataItem, LegendPosition } from '../../../types/chart';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<BarChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BarChartProps> & Readonly<{}>, {
4
- data: number[] | BarDataItem[];
5
- height: string;
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ height: {
4
+ type: NumberConstructor;
5
+ default: () => string;
6
+ };
7
+ loading: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ isEmpty: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ colors: {
16
+ type: PropType<string[]>;
17
+ default: () => string[];
18
+ };
19
+ data: {
20
+ type: PropType<number[]>;
21
+ default: () => number[];
22
+ };
23
+ xAxisData: {
24
+ type: PropType<string[]>;
25
+ default: () => never[];
26
+ };
27
+ barWidth: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ stack: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ showAxisLabel: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ showAxisLine: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ showSplitLine: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ showTooltip: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ showLegend: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ legendPosition: {
56
+ type: PropType<"top" | "bottom" | "left" | "right">;
57
+ default: string;
58
+ };
59
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
60
+ height: {
61
+ type: NumberConstructor;
62
+ default: () => string;
63
+ };
64
+ loading: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ isEmpty: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ colors: {
73
+ type: PropType<string[]>;
74
+ default: () => string[];
75
+ };
76
+ data: {
77
+ type: PropType<number[]>;
78
+ default: () => number[];
79
+ };
80
+ xAxisData: {
81
+ type: PropType<string[]>;
82
+ default: () => never[];
83
+ };
84
+ barWidth: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ stack: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ showAxisLabel: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ showAxisLine: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ showSplitLine: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ showTooltip: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ showLegend: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ legendPosition: {
113
+ type: PropType<"top" | "bottom" | "left" | "right">;
114
+ default: string;
115
+ };
116
+ }>> & Readonly<{}>, {
117
+ data: number[];
118
+ height: number;
6
119
  xAxisData: string[];
7
- barWidth: string | number;
120
+ barWidth: string;
8
121
  stack: boolean;
9
122
  loading: boolean;
10
123
  isEmpty: boolean;
@@ -14,8 +127,8 @@ declare const _default: DefineComponent<BarChartProps, {}, {}, {}, {}, Component
14
127
  showSplitLine: boolean;
15
128
  showTooltip: boolean;
16
129
  showLegend: boolean;
17
- legendPosition: LegendPosition;
18
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
130
+ legendPosition: "left" | "right" | "bottom" | "top";
131
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
19
132
  chartRef: HTMLDivElement;
20
133
  }, HTMLDivElement>;
21
134
  export default _default;