wx-screen-ui 1.0.6 → 1.0.7

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.
@@ -71964,7 +71964,7 @@ var message_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_
71964
71964
  clear: () => {
71965
71965
  messageInstance && messageInstance.clearAll();
71966
71966
  }
71967
- }, WxVideoFromFlv = VideoFromFlv_default, WxVideoFromHls = VideoFromHls_default, WxEcharts = echarts_default, WxEmpty = empty_default, WxDescription = description_default, WxDescriptionItem = descriptionItem_default, WxPagination = pagination_default, WxRadio = radio_default, WxTable = table_default, WxMessage = message_default, components = [
71967
+ }, WxVideoFromFlv = VideoFromFlv_default, WxVideoFromHls = VideoFromHls_default, WxEcharts = echarts_default, WxEmpty = empty_default, WxDescription = description_default, WxDescriptionItem = descriptionItem_default, WxPagination = pagination_default, WxRadio = radio_default, WxTable = table_default, WxMessage = message_default, components = {
71968
71968
  WxVideoFromFlv,
71969
71969
  WxVideoFromHls,
71970
71970
  WxEcharts,
@@ -71974,9 +71974,8 @@ var message_default$1 = /* @__PURE__ */ __plugin_vue_export_helper_default(_sfc_
71974
71974
  WxPagination,
71975
71975
  WxRadio,
71976
71976
  WxTable
71977
- ], src_default = { install: (t) => {
71978
- components.forEach((n) => {
71979
- t.component(n.name || n.__name, n);
71980
- }), t.config.globalProperties.$message = WxMessage;
71977
+ }, src_default = { install: (t) => {
71978
+ for (let [n, r] of Object.entries(components)) t.component(n, r);
71979
+ t.config.globalProperties.$message = WxMessage;
71981
71980
  } };
71982
71981
  export { WxDescription, WxDescriptionItem, WxEcharts, WxEmpty, WxMessage, WxPagination, WxRadio, WxTable, WxVideoFromFlv, WxVideoFromHls, src_default as default };
@@ -105,4 +105,4 @@ echarts.use([`+c+`]);`:`Unknown series `+s))}return}if(t===`tooltip`){if(f){proc
105
105
  width: 100%;\r
106
106
  height: 100%;
107
107
  }\r
108
- `),z9.render=kce,z9.__scopeId=`data-v-b156a416`,z9.__file=`packages/Vue3SeamlessScroll.vue`;var Ace={class:`my-table-box`},jce={class:`head-box`},Mce={class:`data-box`},Nce=[`onClick`],Pce=[`title`],Fce={key:1,class:`no-data`},Ice=f({__name:`index`,props:{columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},step:{type:Number,default:.5}},emits:[`row-click`],setup(e,{emit:n}){let r=e,i=n,a=(e,t)=>{i(`row-click`,e,t)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ace,[(0,t.createElementVNode)(`div`,jce,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.columns,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:`head-item`,key:`head_`+n,style:(0,t.normalizeStyle)({textAlign:e.align||`left`,width:e.width,flex:e.width?`0 0 auto`:`1`,minWidth:e.width?`auto`:`0`,whiteSpace:e.ellipsis?`nowrap`:`normal`,overflow:e.ellipsis?`hidden`:`visible`,textOverflow:e.ellipsis?`ellipsis`:`clip`})},(0,t.toDisplayString)(e.label),5))),128))]),(0,t.createElementVNode)(`div`,Mce,[e.tableData.length?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:0,list:e.tableData,hover:``,step:e.tableData.length>4?e.step:0},{default:(0,t.withCtx)(({data:e,index:i})=>[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`data-row`,`data-row_${i}`]),onClick:t=>a(e,i)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.columns,(r,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:`data_row_`+a,class:(0,t.normalizeClass)([`head-item`,`data-item`,`data_column_${a}`]),title:e[r.prop],style:(0,t.normalizeStyle)({textAlign:r.align||`left`,width:r.width,flex:r.width?`0 0 auto`:`1`,minWidth:r.width?`auto`:`0`,whiteSpace:r.ellipsis?`nowrap`:`normal`,overflow:r.ellipsis?`hidden`:`visible`,textOverflow:r.ellipsis?`ellipsis`:`clip`})},[(0,t.renderSlot)(n.$slots,`column-${r.prop}`,{row:e,index:i},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e[r.prop]),1)],!0)],14,Pce))),128))],10,Nce)]),_:3},8,[`list`,`step`])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Fce,[...i[0]||=[(0,t.createElementVNode)(`img`,{src:`data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1766108977437'%20class='icon'%20viewBox='0%200%201669%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='12904'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='325.9765625'%20height='200'%3e%3cpath%20d='M1391.243682%20643.887244L1211.740867%20350.186395c-3.450203-6.918857-10.350609-10.36906-17.251016-10.36906H448.784714c-6.909631%200-13.810038%203.459428-17.260241%2010.36906l-179.521266%20293.710074v362.82484c0%2010.36906%206.909631%2017.278691%2017.260241%2017.278691h1108.170197c10.359835%200%2017.260241-6.918857%2017.260241-17.278691v-355.905983c-3.450203%200-3.450203-3.459428-3.450204-6.918857zM459.153773%20377.815695h724.976244l162.251799%20255.711715h-400.463419c-10.350609%200-17.251016%206.909631-17.251016%2017.269466%200%2058.745705-48.339745%20107.12235-107.030098%20107.12235-58.681129%200-107.011649-48.376645-107.011649-107.12235%200-10.359835-6.909631-17.269466-17.260241-17.269466h-400.463419l162.251799-255.711715z%20m897.587878%20615.077126H286.532914V671.534995h393.553788c10.359835%2069.10554%2069.050189%20127.851245%20141.541355%20127.851245%2072.509617%200%20134.640949-55.286277%20141.541356-127.86047h393.563013v321.367051zM165.711228%20823.574562v-20.738119c0-3.450203-3.459428-10.359835-10.359835-10.359835-3.450203%200-10.359835%203.450203-10.359834%2010.359835v20.738119h-17.251016c-3.459428%200-10.36906%203.450203-10.36906%2010.36906%200%206.909631%203.459428%2010.359835%2010.359835%2010.359835h20.710444v20.738119c0%203.450203%203.459428%2010.359835%2010.359834%2010.359835%203.450203%200%2010.359835-3.450203%2010.359835-10.359835v-20.738119h20.710444c3.450203%200%2010.359835-3.450203%2010.359835-10.359835%200-6.918857-3.450203-10.36906-10.359835-10.36906h-24.169872z%20m1294.582643-393.922793h31.070279c6.909631%200%2013.810038%206.909631%2013.810038%2013.819263%200%206.918857-6.900406%2013.819263-13.810038%2013.819263h-31.070279v31.107179c0%206.909631-6.900406%2013.819263-13.810038%2013.819263-6.900406%200-13.810038-6.918857-13.810037-13.819263V457.290295h-31.070279c-6.900406%200-13.800813-6.909631-13.800813-13.819263s6.900406-13.819263%2013.800813-13.819263h31.070279v-31.097954c0-6.918857%206.909631-13.828488%2013.810037-13.828488%206.909631%200%2013.810038%206.918857%2013.810038%2013.828488v31.088729z%20m107.020874%20127.851244h17.260241c3.450203%200%2010.359835%203.459428%2010.359834%2010.36906%200%206.909631-3.450203%2010.359835-10.359834%2010.359835h-17.251016v17.278691c0%203.459428-3.459428%2010.36906-10.36906%2010.36906-3.450203%200-10.350609-3.459428-10.350609-6.918857v-17.269466h-17.260241c-3.459428%200-10.359835-3.459428-10.359835-10.36906%200-6.909631%203.450203-10.359835%2010.359835-10.359834h17.251016V540.224322c0-3.450203%203.459428-10.36906%2010.359834-10.369059%203.459428%200%2010.359835%203.459428%2010.359835%2010.369059v17.278691zM189.871875%20405.463446V374.356267c0-6.918857-6.900406-13.828488-13.810038-13.828488-6.900406%200-13.810038%206.918857-13.810037%2013.828488v27.638526H131.181521c-6.900406%200-13.810038%206.918857-13.810038%2013.828488%200%206.909631%206.909631%2013.819263%2013.810038%2013.819263h27.620075v34.557382c0%206.909631%206.909631%2013.819263%2013.810038%2013.819263%206.900406%200%2013.810038-6.918857%2013.810038-13.819263v-27.647751h27.620075c6.900406%200%2013.810038-6.918857%2013.810038-13.819263%200-6.918857-6.909631-13.828488-13.810038-13.828488%206.900406-3.450203-24.169872-3.450203-24.169872-3.450203zM58.690354%20699.173521C27.620075%20699.173521%200%20671.534995%200%20640.437041s27.620075-58.745705%2058.690354-58.745705%2058.681129%2027.647751%2058.681129%2058.745705c0%2034.548157-27.61085%2058.73648-58.681129%2058.73648z%20m0-27.638526c17.251016%200%2027.620075-13.819263%2027.620076-27.647751%200-17.278691-13.810038-27.638526-27.620076-27.638526-17.260241%200-27.620075%2013.819263-27.620075%2027.638526-3.450203%2013.828488%2010.359835%2027.647751%2027.620075%2027.647751z%20m1574.215151-165.868055c-13.810038%200-27.620075-10.359835-27.620075-27.638526%200-13.819263%2010.359835-27.647751%2027.620075-27.647751%2013.810038%200%2027.620075%2010.36906%2027.620076%2027.647751%200%2017.278691-10.359835%2027.638526-27.620076%2027.638526z%20m0-10.359835c6.909631%200%2013.810038-6.918857%2013.810038-13.828488%200-6.909631-6.900406-13.819263-13.810038-13.819263-6.900406%200-13.810038%206.918857-13.810037%2013.819263%200%206.918857%206.909631%2013.828488%2013.810037%2013.828488zM455.694345%2077.195989c10.359835-10.36906%2024.169872-10.36906%2034.520482%200l86.31043%2086.384231c10.350609%2010.36906%2010.350609%2024.188323%200%2034.557382-10.359835%2010.359835-24.169872%2010.359835-34.520482%200l-86.31043-86.393456c-10.359835-10.359835-10.359835-24.188323%200-34.548157zM821.628057%2018.450284c13.810038%200%2024.169872%2010.36906%2024.169873%2024.188323v120.941613c0%2013.819263-10.359835%2024.188323-24.169873%2024.188323-13.800813%200-24.169872-10.36906-24.169872-24.188323V42.638607c0-10.36906%2010.36906-24.188323%2024.169872-24.188323z%20m362.492735%2055.286277c10.350609%2010.36906%2010.350609%2024.188323%200%2034.557382l-82.860227%2079.4746c-10.350609%2010.36906-24.169872%2010.36906-34.520482%200-10.359835-10.36906-10.359835-24.188323%200-34.557383l82.851002-82.934027c10.359835-6.909631%2027.620075-6.909631%2034.529707%203.459428z'%20fill='%23D0D0D0'%20p-id='12905'%3e%3c/path%3e%3c/svg%3e`,alt:``,class:`no-data-img`},null,-1)]]))])]))}},[[`__scopeId`,`data-v-c2bdd967`]]),Lce=0,Rce={name:`MyMessage`,setup(){let e=(0,t.ref)([]),n=(t,n,i=3e3)=>{let a=Lce++,o={id:a,type:t,content:n,duration:i};return e.value.push(o),t!==`loading`&&i>0&&setTimeout(()=>{r(a)},i),()=>{r(a)}},r=t=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value.splice(n,1)};return{messages:e,addMessage:n,removeMessage:r,clearAll:()=>{e.value=[]}}}},zce={class:`message-container`},B9={key:0,viewBox:`0 0 16 16`,fill:`currentColor`},Bce={key:1,viewBox:`0 0 16 16`,fill:`currentColor`},Vce={key:2,viewBox:`0 0 16 16`,fill:`currentColor`},Hce={key:3,viewBox:`0 0 16 16`,fill:`currentColor`},Uce={key:4,viewBox:`0 0 16 16`,fill:`currentColor`},Wce={class:`message-content`},Gce=[`onClick`];function Kce(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,zce,[(0,t.createVNode)(t.TransitionGroup,{name:`message-fade`,tag:`div`},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.messages,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:e.id,class:(0,t.normalizeClass)([`message-item`,`message-${e.type}`])},[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([`message-icon`,`icon-${e.type}`])},[e.type===`success`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,B9,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M6.5 10L3 6.5l1-1 2.5 2.5 5-5 1 1-6 6z`},null,-1)]])):e.type===`error`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Bce,[...n[1]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zM5 5h6v6H5V5z`},null,-1)]])):e.type===`warning`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Vce,[...n[2]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zm0-8a1 1 0 100 2 1 1 0 000-2zm0 6a1 1 0 001-1V7a1 1 0 00-2 0v4a1 1 0 001 1z`},null,-1)]])):e.type===`loading`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Hce,[...n[3]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12z`,opacity:`0.3`},null,-1),(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 017 7h-1a6 6 0 00-6-6V1z`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Uce,[...n[4]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zm1-9H7v5h2V5z`},null,-1)]]))],2),(0,t.createElementVNode)(`div`,Wce,(0,t.toDisplayString)(e.content),1),e.type===`loading`?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:0,class:`message-close`,onClick:t=>i.removeMessage(e.id)},[...n[5]||=[(0,t.createElementVNode)(`svg`,{viewBox:`0 0 16 16`,fill:`currentColor`},[(0,t.createElementVNode)(`path`,{d:`M9.414 8l3.293-3.293a1 1 0 10-1.414-1.414L8 6.586 4.707 3.293a1 1 0 00-1.414 1.414L6.586 8l-3.293 3.293a1 1 0 001.414 1.414L8 9.414l3.293 3.293a1 1 0 001.414-1.414L9.414 8z`})],-1)]],8,Gce))],2))),128))]),_:1})])}var qce=f(Rce,[[`render`,Kce],[`__scopeId`,`data-v-b307ec24`]]),V9=null,H9=null,Jce=()=>V9||(H9=document.createElement(`div`),document.body.appendChild(H9),V9=(0,t.createApp)(qce).mount(H9),V9),U9=()=>V9||Jce(),Yce={success:(e,t)=>U9().addMessage(`success`,e,t),error:(e,t)=>U9().addMessage(`error`,e,t),warning:(e,t)=>U9().addMessage(`warning`,e,t),info:(e,t)=>U9().addMessage(`info`,e,t),loading:(e=`加载中...`)=>U9().addMessage(`loading`,e,0),clear:()=>{V9&&V9.clearAll()}},W9=p,G9=Yl,K9=Qse,q9=nce,J9=gce,Y9=j9,X9=xce,Z9=wce,Q9=Ice,$9=Yce,Xce=[W9,G9,K9,q9,J9,Y9,X9,Z9,Q9];e.WxDescription=J9,e.WxDescriptionItem=Y9,e.WxEcharts=K9,e.WxEmpty=q9,e.WxMessage=$9,e.WxPagination=X9,e.WxRadio=Z9,e.WxTable=Q9,e.WxVideoFromFlv=W9,e.WxVideoFromHls=G9,e.default={install:e=>{Xce.forEach(t=>{e.component(t.name||t.__name,t)}),e.config.globalProperties.$message=$9}}});
108
+ `),z9.render=kce,z9.__scopeId=`data-v-b156a416`,z9.__file=`packages/Vue3SeamlessScroll.vue`;var Ace={class:`my-table-box`},jce={class:`head-box`},Mce={class:`data-box`},Nce=[`onClick`],Pce=[`title`],Fce={key:1,class:`no-data`},Ice=f({__name:`index`,props:{columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[]},step:{type:Number,default:.5}},emits:[`row-click`],setup(e,{emit:n}){let r=e,i=n,a=(e,t)=>{i(`row-click`,e,t)};return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ace,[(0,t.createElementVNode)(`div`,jce,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.columns,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:`head-item`,key:`head_`+n,style:(0,t.normalizeStyle)({textAlign:e.align||`left`,width:e.width,flex:e.width?`0 0 auto`:`1`,minWidth:e.width?`auto`:`0`,whiteSpace:e.ellipsis?`nowrap`:`normal`,overflow:e.ellipsis?`hidden`:`visible`,textOverflow:e.ellipsis?`ellipsis`:`clip`})},(0,t.toDisplayString)(e.label),5))),128))]),(0,t.createElementVNode)(`div`,Mce,[e.tableData.length?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:0,list:e.tableData,hover:``,step:e.tableData.length>4?e.step:0},{default:(0,t.withCtx)(({data:e,index:i})=>[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`data-row`,`data-row_${i}`]),onClick:t=>a(e,i)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.columns,(r,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:`data_row_`+a,class:(0,t.normalizeClass)([`head-item`,`data-item`,`data_column_${a}`]),title:e[r.prop],style:(0,t.normalizeStyle)({textAlign:r.align||`left`,width:r.width,flex:r.width?`0 0 auto`:`1`,minWidth:r.width?`auto`:`0`,whiteSpace:r.ellipsis?`nowrap`:`normal`,overflow:r.ellipsis?`hidden`:`visible`,textOverflow:r.ellipsis?`ellipsis`:`clip`})},[(0,t.renderSlot)(n.$slots,`column-${r.prop}`,{row:e,index:i},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e[r.prop]),1)],!0)],14,Pce))),128))],10,Nce)]),_:3},8,[`list`,`step`])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Fce,[...i[0]||=[(0,t.createElementVNode)(`img`,{src:`data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1766108977437'%20class='icon'%20viewBox='0%200%201669%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='12904'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='325.9765625'%20height='200'%3e%3cpath%20d='M1391.243682%20643.887244L1211.740867%20350.186395c-3.450203-6.918857-10.350609-10.36906-17.251016-10.36906H448.784714c-6.909631%200-13.810038%203.459428-17.260241%2010.36906l-179.521266%20293.710074v362.82484c0%2010.36906%206.909631%2017.278691%2017.260241%2017.278691h1108.170197c10.359835%200%2017.260241-6.918857%2017.260241-17.278691v-355.905983c-3.450203%200-3.450203-3.459428-3.450204-6.918857zM459.153773%20377.815695h724.976244l162.251799%20255.711715h-400.463419c-10.350609%200-17.251016%206.909631-17.251016%2017.269466%200%2058.745705-48.339745%20107.12235-107.030098%20107.12235-58.681129%200-107.011649-48.376645-107.011649-107.12235%200-10.359835-6.909631-17.269466-17.260241-17.269466h-400.463419l162.251799-255.711715z%20m897.587878%20615.077126H286.532914V671.534995h393.553788c10.359835%2069.10554%2069.050189%20127.851245%20141.541355%20127.851245%2072.509617%200%20134.640949-55.286277%20141.541356-127.86047h393.563013v321.367051zM165.711228%20823.574562v-20.738119c0-3.450203-3.459428-10.359835-10.359835-10.359835-3.450203%200-10.359835%203.450203-10.359834%2010.359835v20.738119h-17.251016c-3.459428%200-10.36906%203.450203-10.36906%2010.36906%200%206.909631%203.459428%2010.359835%2010.359835%2010.359835h20.710444v20.738119c0%203.450203%203.459428%2010.359835%2010.359834%2010.359835%203.450203%200%2010.359835-3.450203%2010.359835-10.359835v-20.738119h20.710444c3.450203%200%2010.359835-3.450203%2010.359835-10.359835%200-6.918857-3.450203-10.36906-10.359835-10.36906h-24.169872z%20m1294.582643-393.922793h31.070279c6.909631%200%2013.810038%206.909631%2013.810038%2013.819263%200%206.918857-6.900406%2013.819263-13.810038%2013.819263h-31.070279v31.107179c0%206.909631-6.900406%2013.819263-13.810038%2013.819263-6.900406%200-13.810038-6.918857-13.810037-13.819263V457.290295h-31.070279c-6.900406%200-13.800813-6.909631-13.800813-13.819263s6.900406-13.819263%2013.800813-13.819263h31.070279v-31.097954c0-6.918857%206.909631-13.828488%2013.810037-13.828488%206.909631%200%2013.810038%206.918857%2013.810038%2013.828488v31.088729z%20m107.020874%20127.851244h17.260241c3.450203%200%2010.359835%203.459428%2010.359834%2010.36906%200%206.909631-3.450203%2010.359835-10.359834%2010.359835h-17.251016v17.278691c0%203.459428-3.459428%2010.36906-10.36906%2010.36906-3.450203%200-10.350609-3.459428-10.350609-6.918857v-17.269466h-17.260241c-3.459428%200-10.359835-3.459428-10.359835-10.36906%200-6.909631%203.450203-10.359835%2010.359835-10.359834h17.251016V540.224322c0-3.450203%203.459428-10.36906%2010.359834-10.369059%203.459428%200%2010.359835%203.459428%2010.359835%2010.369059v17.278691zM189.871875%20405.463446V374.356267c0-6.918857-6.900406-13.828488-13.810038-13.828488-6.900406%200-13.810038%206.918857-13.810037%2013.828488v27.638526H131.181521c-6.900406%200-13.810038%206.918857-13.810038%2013.828488%200%206.909631%206.909631%2013.819263%2013.810038%2013.819263h27.620075v34.557382c0%206.909631%206.909631%2013.819263%2013.810038%2013.819263%206.900406%200%2013.810038-6.918857%2013.810038-13.819263v-27.647751h27.620075c6.900406%200%2013.810038-6.918857%2013.810038-13.819263%200-6.918857-6.909631-13.828488-13.810038-13.828488%206.900406-3.450203-24.169872-3.450203-24.169872-3.450203zM58.690354%20699.173521C27.620075%20699.173521%200%20671.534995%200%20640.437041s27.620075-58.745705%2058.690354-58.745705%2058.681129%2027.647751%2058.681129%2058.745705c0%2034.548157-27.61085%2058.73648-58.681129%2058.73648z%20m0-27.638526c17.251016%200%2027.620075-13.819263%2027.620076-27.647751%200-17.278691-13.810038-27.638526-27.620076-27.638526-17.260241%200-27.620075%2013.819263-27.620075%2027.638526-3.450203%2013.828488%2010.359835%2027.647751%2027.620075%2027.647751z%20m1574.215151-165.868055c-13.810038%200-27.620075-10.359835-27.620075-27.638526%200-13.819263%2010.359835-27.647751%2027.620075-27.647751%2013.810038%200%2027.620075%2010.36906%2027.620076%2027.647751%200%2017.278691-10.359835%2027.638526-27.620076%2027.638526z%20m0-10.359835c6.909631%200%2013.810038-6.918857%2013.810038-13.828488%200-6.909631-6.900406-13.819263-13.810038-13.819263-6.900406%200-13.810038%206.918857-13.810037%2013.819263%200%206.918857%206.909631%2013.828488%2013.810037%2013.828488zM455.694345%2077.195989c10.359835-10.36906%2024.169872-10.36906%2034.520482%200l86.31043%2086.384231c10.350609%2010.36906%2010.350609%2024.188323%200%2034.557382-10.359835%2010.359835-24.169872%2010.359835-34.520482%200l-86.31043-86.393456c-10.359835-10.359835-10.359835-24.188323%200-34.548157zM821.628057%2018.450284c13.810038%200%2024.169872%2010.36906%2024.169873%2024.188323v120.941613c0%2013.819263-10.359835%2024.188323-24.169873%2024.188323-13.800813%200-24.169872-10.36906-24.169872-24.188323V42.638607c0-10.36906%2010.36906-24.188323%2024.169872-24.188323z%20m362.492735%2055.286277c10.350609%2010.36906%2010.350609%2024.188323%200%2034.557382l-82.860227%2079.4746c-10.350609%2010.36906-24.169872%2010.36906-34.520482%200-10.359835-10.36906-10.359835-24.188323%200-34.557383l82.851002-82.934027c10.359835-6.909631%2027.620075-6.909631%2034.529707%203.459428z'%20fill='%23D0D0D0'%20p-id='12905'%3e%3c/path%3e%3c/svg%3e`,alt:``,class:`no-data-img`},null,-1)]]))])]))}},[[`__scopeId`,`data-v-c2bdd967`]]),Lce=0,Rce={name:`MyMessage`,setup(){let e=(0,t.ref)([]),n=(t,n,i=3e3)=>{let a=Lce++,o={id:a,type:t,content:n,duration:i};return e.value.push(o),t!==`loading`&&i>0&&setTimeout(()=>{r(a)},i),()=>{r(a)}},r=t=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value.splice(n,1)};return{messages:e,addMessage:n,removeMessage:r,clearAll:()=>{e.value=[]}}}},zce={class:`message-container`},B9={key:0,viewBox:`0 0 16 16`,fill:`currentColor`},Bce={key:1,viewBox:`0 0 16 16`,fill:`currentColor`},Vce={key:2,viewBox:`0 0 16 16`,fill:`currentColor`},Hce={key:3,viewBox:`0 0 16 16`,fill:`currentColor`},Uce={key:4,viewBox:`0 0 16 16`,fill:`currentColor`},Wce={class:`message-content`},Gce=[`onClick`];function Kce(e,n,r,i,a,o){return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,zce,[(0,t.createVNode)(t.TransitionGroup,{name:`message-fade`,tag:`div`},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(i.messages,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:e.id,class:(0,t.normalizeClass)([`message-item`,`message-${e.type}`])},[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([`message-icon`,`icon-${e.type}`])},[e.type===`success`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,B9,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M6.5 10L3 6.5l1-1 2.5 2.5 5-5 1 1-6 6z`},null,-1)]])):e.type===`error`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Bce,[...n[1]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zM5 5h6v6H5V5z`},null,-1)]])):e.type===`warning`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Vce,[...n[2]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zm0-8a1 1 0 100 2 1 1 0 000-2zm0 6a1 1 0 001-1V7a1 1 0 00-2 0v4a1 1 0 001 1z`},null,-1)]])):e.type===`loading`?((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Hce,[...n[3]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12z`,opacity:`0.3`},null,-1),(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 017 7h-1a6 6 0 00-6-6V1z`},null,-1)]])):((0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Uce,[...n[4]||=[(0,t.createElementVNode)(`path`,{d:`M8 1a7 7 0 100 14A7 7 0 008 1zm0 13a6 6 0 110-12 6 6 0 010 12zm1-9H7v5h2V5z`},null,-1)]]))],2),(0,t.createElementVNode)(`div`,Wce,(0,t.toDisplayString)(e.content),1),e.type===`loading`?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:0,class:`message-close`,onClick:t=>i.removeMessage(e.id)},[...n[5]||=[(0,t.createElementVNode)(`svg`,{viewBox:`0 0 16 16`,fill:`currentColor`},[(0,t.createElementVNode)(`path`,{d:`M9.414 8l3.293-3.293a1 1 0 10-1.414-1.414L8 6.586 4.707 3.293a1 1 0 00-1.414 1.414L6.586 8l-3.293 3.293a1 1 0 001.414 1.414L8 9.414l3.293 3.293a1 1 0 001.414-1.414L9.414 8z`})],-1)]],8,Gce))],2))),128))]),_:1})])}var qce=f(Rce,[[`render`,Kce],[`__scopeId`,`data-v-b307ec24`]]),V9=null,H9=null,Jce=()=>V9||(H9=document.createElement(`div`),document.body.appendChild(H9),V9=(0,t.createApp)(qce).mount(H9),V9),U9=()=>V9||Jce(),Yce={success:(e,t)=>U9().addMessage(`success`,e,t),error:(e,t)=>U9().addMessage(`error`,e,t),warning:(e,t)=>U9().addMessage(`warning`,e,t),info:(e,t)=>U9().addMessage(`info`,e,t),loading:(e=`加载中...`)=>U9().addMessage(`loading`,e,0),clear:()=>{V9&&V9.clearAll()}},W9=p,G9=Yl,K9=Qse,q9=nce,J9=gce,Y9=j9,X9=xce,Z9=wce,Q9=Ice,$9=Yce,Xce={WxVideoFromFlv:W9,WxVideoFromHls:G9,WxEcharts:K9,WxEmpty:q9,WxDescription:J9,WxDescriptionItem:Y9,WxPagination:X9,WxRadio:Z9,WxTable:Q9};e.WxDescription=J9,e.WxDescriptionItem=Y9,e.WxEcharts=K9,e.WxEmpty=q9,e.WxMessage=$9,e.WxPagination=X9,e.WxRadio=Z9,e.WxTable=Q9,e.WxVideoFromFlv=W9,e.WxVideoFromHls=G9,e.default={install:e=>{for(let[t,n]of Object.entries(Xce))e.component(t,n);e.config.globalProperties.$message=$9}}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wx-screen-ui",
3
3
  "private": false,
4
- "version": "1.0.6",
4
+ "version": "1.0.7",
5
5
  "type": "module",
6
6
  "description": "A Vue 3 component library",
7
7
  "main": "./dist/wx-screen-ui.umd.js",
@@ -32,7 +32,7 @@
32
32
  "echarts": "^6.0.0",
33
33
  "hls.js": "^1.6.15",
34
34
  "mpegts.js": "^1.8.0",
35
- "vue": "^3.5.24",
35
+ "vue": "^3.0.0",
36
36
  "vue3-seamless-scroll": "^3.0.2"
37
37
  },
38
38
  "devDependencies": {