st-comp 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundle.umd.cjs +1 -1
- package/package.json +1 -1
- package/vite.config.ts +1 -1
package/lib/bundle.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(t,_o){typeof exports=="object"&&typeof module<"u"?module.exports=_o(require("vue"),require("echarts")):typeof define=="function"&&define.amd?define(["vue","echarts"],_o):(t=typeof globalThis<"u"?globalThis:t||self,t.Bundle=_o(t.
|
|
1
|
+
(function(t,_o){typeof exports=="object"&&typeof module<"u"?module.exports=_o(require("vue"),require("echarts")):typeof define=="function"&&define.amd?define(["vue","echarts"],_o):(t=typeof globalThis<"u"?globalThis:t||self,t.Bundle=_o(t.Vue,t.echarts))})(this,function(t,_o){"use strict";function cC(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const b=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,b.get?b:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const L4=cC(_o),M5=function(e,o,...r){let b;o.includes("mouse")||o.includes("click")?b="MouseEvents":o.includes("key")?b="KeyboardEvent":b="HTMLEvents";const w=document.createEvent(b);return w.initEvent(o,...r),e.dispatchEvent(w),e},d0=(e,o,{checkForDefaultPrevented:r=!0}={})=>w=>{const N=e==null?void 0:e(w);if(r===!1||!N)return o==null?void 0:o(w)};var Bm;const tn=typeof window<"u",fC=e=>typeof e=="string",Rm=()=>{},Fm=tn&&((Bm=window==null?void 0:window.navigator)==null?void 0:Bm.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Cl(e){return typeof e=="function"?e():t.unref(e)}function pC(e){return e}function E5(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function dC(e,o=!0){t.getCurrentInstance()?t.onMounted(e):o?e():t.nextTick(e)}function Mo(e,o,r={}){const{immediate:b=!0}=r,w=t.ref(!1);let N=null;function S(){N&&(clearTimeout(N),N=null)}function I(){w.value=!1,S()}function B(...F){S(),w.value=!0,N=setTimeout(()=>{w.value=!1,N=null,e(...F)},Cl(o))}return b&&(w.value=!0,tn&&B()),E5(I),{isPending:t.readonly(w),start:B,stop:I}}function j0(e){var o;const r=Cl(e);return(o=r==null?void 0:r.$el)!=null?o:r}const _l=tn?window:void 0;function R3(...e){let o,r,b,w;if(fC(e[0])||Array.isArray(e[0])?([r,b,w]=e,o=_l):[o,r,b,w]=e,!o)return Rm;Array.isArray(r)||(r=[r]),Array.isArray(b)||(b=[b]);const N=[],S=()=>{N.forEach(V=>V()),N.length=0},I=(V,H,Q,Z)=>(V.addEventListener(H,Q,Z),()=>V.removeEventListener(H,Q,Z)),B=t.watch(()=>[j0(o),Cl(w)],([V,H])=>{S(),V&&N.push(...r.flatMap(Q=>b.map(Z=>I(V,Q,Z,H))))},{immediate:!0,flush:"post"}),F=()=>{B(),S()};return E5(F),F}let km=!1;function mC(e,o,r={}){const{window:b=_l,ignore:w=[],capture:N=!0,detectIframe:S=!1}=r;if(!b)return;Fm&&!km&&(km=!0,Array.from(b.document.body.children).forEach(Q=>Q.addEventListener("click",Rm)));let I=!0;const B=Q=>w.some(Z=>{if(typeof Z=="string")return Array.from(b.document.querySelectorAll(Z)).some(q=>q===Q.target||Q.composedPath().includes(q));{const q=j0(Z);return q&&(Q.target===q||Q.composedPath().includes(q))}}),V=[R3(b,"click",Q=>{const Z=j0(e);if(!(!Z||Z===Q.target||Q.composedPath().includes(Z))){if(Q.detail===0&&(I=!B(Q)),!I){I=!0;return}o(Q)}},{passive:!0,capture:N}),R3(b,"pointerdown",Q=>{const Z=j0(e);Z&&(I=!Q.composedPath().includes(Z)&&!B(Q))},{passive:!0}),S&&R3(b,"blur",Q=>{var Z;const q=j0(e);((Z=b.document.activeElement)==null?void 0:Z.tagName)==="IFRAME"&&!(q!=null&&q.contains(b.document.activeElement))&&o(Q)})].filter(Boolean);return()=>V.forEach(Q=>Q())}function hC(e,o=!1){const r=t.ref(),b=()=>r.value=!!e();return b(),dC(b,o),r}const zm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pm="__vueuse_ssr_handlers__";zm[Pm]=zm[Pm]||{};var jm=Object.getOwnPropertySymbols,gC=Object.prototype.hasOwnProperty,yC=Object.prototype.propertyIsEnumerable,vC=(e,o)=>{var r={};for(var b in e)gC.call(e,b)&&o.indexOf(b)<0&&(r[b]=e[b]);if(e!=null&&jm)for(var b of jm(e))o.indexOf(b)<0&&yC.call(e,b)&&(r[b]=e[b]);return r};function H0(e,o,r={}){const b=r,{window:w=_l}=b,N=vC(b,["window"]);let S;const I=hC(()=>w&&"ResizeObserver"in w),B=()=>{S&&(S.disconnect(),S=void 0)},F=t.watch(()=>j0(e),H=>{B(),I.value&&w&&H&&(S=new ResizeObserver(o),S.observe(H,N))},{immediate:!0,flush:"post"}),V=()=>{B(),F()};return E5(V),{isSupported:I,stop:V}}var Hm;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Hm||(Hm={}));var bC=Object.defineProperty,$m=Object.getOwnPropertySymbols,xC=Object.prototype.hasOwnProperty,wC=Object.prototype.propertyIsEnumerable,Um=(e,o,r)=>o in e?bC(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,NC=(e,o)=>{for(var r in o||(o={}))xC.call(o,r)&&Um(e,r,o[r]);if($m)for(var r of $m(o))wC.call(o,r)&&Um(e,r,o[r]);return e};NC({linear:pC},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const AC=()=>tn&&/firefox/i.test(window.navigator.userAgent);/**
|
|
2
2
|
* @vue/shared v3.4.19
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
package/package.json
CHANGED