@mobileaction/action-kit 0.0.5 → 0.0.6

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 (43) hide show
  1. package/dist/index.es.js +1472 -17181
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +6 -0
  4. package/dist/index.umd.js.map +1 -0
  5. package/dist/src/components/base-button/index.vue.d.ts +9 -0
  6. package/dist/src/components/button/index.test.d.ts +1 -0
  7. package/dist/src/index.d.ts +1 -11
  8. package/dist/style.css +1 -1
  9. package/package.json +6 -8
  10. package/dist/apple-logo-884566a5.js +0 -2
  11. package/dist/apple-logo-884566a5.js.map +0 -1
  12. package/dist/apple-logo-ff0ba2f9.mjs +0 -21
  13. package/dist/apple-logo-ff0ba2f9.mjs.map +0 -1
  14. package/dist/chevron-down-a5f20f24.mjs +0 -23
  15. package/dist/chevron-down-a5f20f24.mjs.map +0 -1
  16. package/dist/chevron-down-e1811368.js +0 -2
  17. package/dist/chevron-down-e1811368.js.map +0 -1
  18. package/dist/close-9ab883c5.js +0 -2
  19. package/dist/close-9ab883c5.js.map +0 -1
  20. package/dist/close-e94671b3.mjs +0 -23
  21. package/dist/close-e94671b3.mjs.map +0 -1
  22. package/dist/google-logo-5b2d4f3f.mjs +0 -18
  23. package/dist/google-logo-5b2d4f3f.mjs.map +0 -1
  24. package/dist/google-logo-b5d2152e.js +0 -2
  25. package/dist/google-logo-b5d2152e.js.map +0 -1
  26. package/dist/index.cjs.js +0 -104
  27. package/dist/index.cjs.js.map +0 -1
  28. package/dist/linkedin-logo-37aa9e19.js +0 -2
  29. package/dist/linkedin-logo-37aa9e19.js.map +0 -1
  30. package/dist/linkedin-logo-60afbdbd.mjs +0 -31
  31. package/dist/linkedin-logo-60afbdbd.mjs.map +0 -1
  32. package/dist/master-card-d3ac8324.mjs +0 -18
  33. package/dist/master-card-d3ac8324.mjs.map +0 -1
  34. package/dist/master-card-e2dfc289.js +0 -2
  35. package/dist/master-card-e2dfc289.js.map +0 -1
  36. package/dist/message-text-6c2c83cb.mjs +0 -31
  37. package/dist/message-text-6c2c83cb.mjs.map +0 -1
  38. package/dist/message-text-dc61de4f.js +0 -2
  39. package/dist/message-text-dc61de4f.js.map +0 -1
  40. package/dist/plus-6df1eee8.js +0 -2
  41. package/dist/plus-6df1eee8.js.map +0 -1
  42. package/dist/plus-f1ab5630.mjs +0 -37
  43. package/dist/plus-f1ab5630.mjs.map +0 -1
@@ -0,0 +1,6 @@
1
+ (function(L,re){typeof exports=="object"&&typeof module<"u"?re(exports):typeof define=="function"&&define.amd?define(["exports"],re):(L=typeof globalThis<"u"?globalThis:L||self,re(L["action-kit"]={}))})(this,function(L){"use strict";const re="",Gt={name:"BaseButton"};function Lt(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}function Se(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=$(o)?Zt(o):Se(o);if(r)for(const s in r)t[s]=r[s]}return t}else{if($(e))return e;if(O(e))return e}}const Yt=/;(?![^(]*\))/g,Qt=/:([^]+)/,Xt=/\/\*.*?\*\//gs;function Zt(e){const t={};return e.replace(Xt,"").split(Yt).forEach(n=>{if(n){const o=n.split(Qt);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ve(e){let t="";if($(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const o=Ve(e[n]);o&&(t+=o+" ")}else if(O(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const C=process.env.NODE_ENV!=="production"?Object.freeze({}):{},kt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],Ye=()=>{},en=/^on[^a-z]/,tn=e=>en.test(e),R=Object.assign,nn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rn=Object.prototype.hasOwnProperty,g=(e,t)=>rn.call(e,t),h=Array.isArray,Y=e=>oe(e)==="[object Map]",on=e=>oe(e)==="[object Set]",N=e=>typeof e=="function",$=e=>typeof e=="string",xe=e=>typeof e=="symbol",O=e=>e!==null&&typeof e=="object",sn=e=>O(e)&&N(e.then)&&N(e.catch),cn=Object.prototype.toString,oe=e=>cn.call(e),Qe=e=>oe(e).slice(8,-1),ln=e=>oe(e)==="[object Object]",ye=e=>$(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,un=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),se=(e,t)=>!Object.is(e,t),an=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Xe;const fn=()=>Xe||(Xe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ze(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let ke;function pn(e,t=ke){t&&t.active&&t.effects.push(e)}function dn(){return ke}const De=e=>{const t=new Set(e);return t.w=0,t.n=0,t},et=e=>(e.w&F)>0,tt=e=>(e.n&F)>0,hn=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=F},_n=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];et(r)&&!tt(r)?r.delete(e):t[n++]=r,r.w&=~F,r.n&=~F}t.length=n}},Ie=new WeakMap;let Z=0,F=1;const Re=30;let S;const H=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),$e=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class gn{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,pn(this,o)}run(){if(!this.active)return this.fn();let t=S,n=W;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=S,S=this,W=!0,F=1<<++Z,Z<=Re?hn(this):nt(this),this.fn()}finally{Z<=Re&&_n(this),F=1<<--Z,S=this.parent,W=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){S===this?this.deferStop=!0:this.active&&(nt(this),this.onStop&&this.onStop(),this.active=!1)}}function nt(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let W=!0;const rt=[];function ot(){rt.push(W),W=!1}function st(){const e=rt.pop();W=e===void 0?!0:e}function x(e,t,n){if(W&&S){let o=Ie.get(e);o||Ie.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=De());const s=process.env.NODE_ENV!=="production"?{effect:S,target:e,type:t,key:n}:void 0;mn(r,s)}}function mn(e,t){let n=!1;Z<=Re?tt(e)||(e.n|=F,n=!et(e)):n=!e.has(S),n&&(e.add(S),S.deps.push(e),process.env.NODE_ENV!=="production"&&S.onTrack&&S.onTrack(Object.assign({effect:S},t)))}function A(e,t,n,o,r,s){const i=Ie.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&h(e)){const f=Number(o);i.forEach((d,l)=>{(l==="length"||l>=f)&&c.push(d)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":h(e)?ye(n)&&c.push(i.get("length")):(c.push(i.get(H)),Y(e)&&c.push(i.get($e)));break;case"delete":h(e)||(c.push(i.get(H)),Y(e)&&c.push(i.get($e)));break;case"set":Y(e)&&c.push(i.get(H));break}const u=process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}:void 0;if(c.length===1)c[0]&&(process.env.NODE_ENV!=="production"?ie(c[0],u):ie(c[0]));else{const f=[];for(const d of c)d&&f.push(...d);process.env.NODE_ENV!=="production"?ie(De(f),u):ie(De(f))}}function ie(e,t){const n=h(e)?e:[...e];for(const o of n)o.computed&&it(o,t);for(const o of n)o.computed||it(o,t)}function it(e,t){(e!==S||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(R({effect:e},t)),e.scheduler?e.scheduler():e.run())}const En=Lt("__proto__,__v_isRef,__isVue"),ct=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xe)),wn=ve(),Nn=ve(!0),bn=ve(!0,!0),lt=On();function On(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=p(this);for(let s=0,i=this.length;s<i;s++)x(o,"get",s+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(p)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){ot();const o=p(this)[t].apply(this,n);return st(),o}}),e}function Sn(e){const t=p(this);return x(t,"has",e),t.hasOwnProperty(e)}function ve(e=!1,t=!1){return function(o,r,s){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&s===(e?t?mt:gt:t?zn:_t).get(o))return o;const i=h(o);if(!e){if(i&&g(lt,r))return Reflect.get(lt,r,s);if(r==="hasOwnProperty")return Sn}const c=Reflect.get(o,r,s);return(xe(r)?ct.has(r):En(r))||(e||x(o,"get",r),t)?c:V(c)?i&&ye(r)?c:c.value:O(c)?e?wt(c):Et(c):c}}const Vn=xn();function xn(e=!1){return function(n,o,r,s){let i=n[o];if(U(i)&&V(i)&&!V(r))return!1;if(!e&&(!Me(r)&&!U(r)&&(i=p(i),r=p(r)),!h(n)&&V(i)&&!V(r)))return i.value=r,!0;const c=h(n)&&ye(o)?Number(o)<n.length:g(n,o),u=Reflect.set(n,o,r,s);return n===p(s)&&(c?se(r,i)&&A(n,"set",o,r,i):A(n,"add",o,r)),u}}function yn(e,t){const n=g(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&A(e,"delete",t,void 0,o),r}function Dn(e,t){const n=Reflect.has(e,t);return(!xe(t)||!ct.has(t))&&x(e,"has",t),n}function In(e){return x(e,"iterate",h(e)?"length":H),Reflect.ownKeys(e)}const Rn={get:wn,set:Vn,deleteProperty:yn,has:Dn,ownKeys:In},ut={get:Nn,set(e,t){return process.env.NODE_ENV!=="production"&&Ze(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return process.env.NODE_ENV!=="production"&&Ze(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},$n=R({},ut,{get:bn}),Te=e=>e,ce=e=>Reflect.getPrototypeOf(e);function le(e,t,n=!1,o=!1){e=e.__v_raw;const r=p(e),s=p(t);n||(t!==s&&x(r,"get",t),x(r,"get",s));const{has:i}=ce(r),c=o?Te:n?je:Ae;if(i.call(r,t))return c(e.get(t));if(i.call(r,s))return c(e.get(s));e!==r&&e.get(t)}function ue(e,t=!1){const n=this.__v_raw,o=p(n),r=p(e);return t||(e!==r&&x(o,"has",e),x(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ae(e,t=!1){return e=e.__v_raw,!t&&x(p(e),"iterate",H),Reflect.get(e,"size",e)}function at(e){e=p(e);const t=p(this);return ce(t).has.call(t,e)||(t.add(e),A(t,"add",e,e)),this}function ft(e,t){t=p(t);const n=p(this),{has:o,get:r}=ce(n);let s=o.call(n,e);s?process.env.NODE_ENV!=="production"&&ht(n,o,e):(e=p(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?se(t,i)&&A(n,"set",e,t,i):A(n,"add",e,t),this}function pt(e){const t=p(this),{has:n,get:o}=ce(t);let r=n.call(t,e);r?process.env.NODE_ENV!=="production"&&ht(t,n,e):(e=p(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&A(t,"delete",e,void 0,s),i}function dt(){const e=p(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Y(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&A(e,"clear",void 0,void 0,n),o}function fe(e,t){return function(o,r){const s=this,i=s.__v_raw,c=p(i),u=t?Te:e?je:Ae;return!e&&x(c,"iterate",H),i.forEach((f,d)=>o.call(r,u(f),u(d),s))}}function pe(e,t,n){return function(...o){const r=this.__v_raw,s=p(r),i=Y(s),c=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,f=r[e](...o),d=n?Te:t?je:Ae;return!t&&x(s,"iterate",u?$e:H),{next(){const{value:l,done:a}=f.next();return a?{value:l,done:a}:{value:c?[d(l[0]),d(l[1])]:d(l),done:a}},[Symbol.iterator](){return this}}}}function j(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${un(e)} operation ${n}failed: target is readonly.`,p(this))}return e==="delete"?!1:this}}function vn(){const e={get(s){return le(this,s)},get size(){return ae(this)},has:ue,add:at,set:ft,delete:pt,clear:dt,forEach:fe(!1,!1)},t={get(s){return le(this,s,!1,!0)},get size(){return ae(this)},has:ue,add:at,set:ft,delete:pt,clear:dt,forEach:fe(!1,!0)},n={get(s){return le(this,s,!0)},get size(){return ae(this,!0)},has(s){return ue.call(this,s,!0)},add:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:fe(!0,!1)},o={get(s){return le(this,s,!0,!0)},get size(){return ae(this,!0)},has(s){return ue.call(this,s,!0)},add:j("add"),set:j("set"),delete:j("delete"),clear:j("clear"),forEach:fe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=pe(s,!1,!1),n[s]=pe(s,!0,!1),t[s]=pe(s,!1,!0),o[s]=pe(s,!0,!0)}),[e,n,t,o]}const[Tn,Cn,Pn,Mn]=vn();function Ce(e,t){const n=t?e?Mn:Pn:e?Cn:Tn;return(o,r,s)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(g(n,r)&&r in o?n:o,r,s)}const Fn={get:Ce(!1,!1)},An={get:Ce(!0,!1)},jn={get:Ce(!0,!0)};function ht(e,t,n){const o=p(n);if(o!==n&&t.call(e,o)){const r=Qe(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const _t=new WeakMap,zn=new WeakMap,gt=new WeakMap,mt=new WeakMap;function Kn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hn(e){return e.__v_skip||!Object.isExtensible(e)?0:Kn(Qe(e))}function Et(e){return U(e)?e:Pe(e,!1,Rn,Fn,_t)}function wt(e){return Pe(e,!0,ut,An,gt)}function de(e){return Pe(e,!0,$n,jn,mt)}function Pe(e,t,n,o,r){if(!O(e))return process.env.NODE_ENV!=="production"&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=Hn(e);if(i===0)return e;const c=new Proxy(e,i===2?o:n);return r.set(e,c),c}function B(e){return U(e)?B(e.__v_raw):!!(e&&e.__v_isReactive)}function U(e){return!!(e&&e.__v_isReadonly)}function Me(e){return!!(e&&e.__v_isShallow)}function Fe(e){return B(e)||U(e)}function p(e){const t=e&&e.__v_raw;return t?p(t):e}function Wn(e){return an(e,"__v_skip",!0),e}const Ae=e=>O(e)?Et(e):e,je=e=>O(e)?wt(e):e;function V(e){return!!(e&&e.__v_isRef===!0)}function Bn(e){return V(e)?e.value:e}const Un={get:(e,t,n)=>Bn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return V(r)&&!V(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Jn(e){return B(e)?e:new Proxy(e,Un)}const J=[];function qn(e){J.push(e)}function Gn(){J.pop()}function w(e,...t){if(process.env.NODE_ENV==="production")return;ot();const n=J.length?J[J.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=Ln();if(o)q(o,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:s})=>`at <${Jt(n,s.type)}>`).join(`
2
+ `),r]);else{const s=[`[Vue warn]: ${e}`,...t];r.length&&s.push(`
3
+ `,...Yn(r)),console.warn(...s)}st()}function Ln(){let e=J[J.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Yn(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[`
4
+ `],...Qn(n))}),t}function Qn({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,r=` at <${Jt(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...Xn(e.props),s]:[r+s]}function Xn(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...Nt(o,e[o]))}),n.length>3&&t.push(" ..."),t}function Nt(e,t,n){return $(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:V(t)?(t=Nt(e,p(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):N(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=p(t),n?t:[`${e}=`,t])}const bt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function q(e,t,n,o){let r;try{r=o?e(...o):e()}catch(s){Ot(s,t,n)}return r}function ze(e,t,n,o){if(N(e)){const s=q(e,t,n,o);return s&&sn(s)&&s.catch(i=>{Ot(i,t,n)}),s}const r=[];for(let s=0;s<e.length;s++)r.push(ze(e[s],t,n,o));return r}function Ot(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,c=process.env.NODE_ENV!=="production"?bt[n]:n;for(;s;){const f=s.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,i,c)===!1)return}s=s.parent}const u=t.appContext.config.errorHandler;if(u){q(u,null,10,[e,i,c]);return}}Zn(e,n,r,o)}function Zn(e,t,n,o=!0){if(process.env.NODE_ENV!=="production"){const r=bt[t];if(n&&qn(n),w(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Gn(),o)throw e;console.error(e)}else console.error(e)}let he=!1,Ke=!1;const v=[];let z=0;const Q=[];let P=null,K=0;const St=Promise.resolve();let He=null;const kn=100;function er(e){const t=He||St;return e?t.then(this?e.bind(this):e):t}function tr(e){let t=z+1,n=v.length;for(;t<n;){const o=t+n>>>1;k(v[o])<e?t=o+1:n=o}return t}function We(e){(!v.length||!v.includes(e,he&&e.allowRecurse?z+1:z))&&(e.id==null?v.push(e):v.splice(tr(e.id),0,e),Vt())}function Vt(){!he&&!Ke&&(Ke=!0,He=St.then(yt))}function xt(e){h(e)?Q.push(...e):(!P||!P.includes(e,e.allowRecurse?K+1:K))&&Q.push(e),Vt()}function nr(e){if(Q.length){const t=[...new Set(Q)];if(Q.length=0,P){P.push(...t);return}for(P=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),P.sort((n,o)=>k(n)-k(o)),K=0;K<P.length;K++)process.env.NODE_ENV!=="production"&&Dt(e,P[K])||P[K]();P=null,K=0}}const k=e=>e.id==null?1/0:e.id,rr=(e,t)=>{const n=k(e)-k(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yt(e){Ke=!1,he=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),v.sort(rr);const t=process.env.NODE_ENV!=="production"?n=>Dt(e,n):Ye;try{for(z=0;z<v.length;z++){const n=v[z];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;q(n,null,14)}}}finally{z=0,v.length=0,nr(e),he=!1,He=null,(v.length||Q.length)&&yt(e)}}function Dt(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>kn){const o=t.ownerInstance,r=o&&Ut(o.type);return w(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}const ee=new Set;process.env.NODE_ENV!=="production"&&(fn().__VUE_HMR_RUNTIME__={createRecord:Be(or),rerender:Be(sr),reload:Be(ir)});const _e=new Map;function or(e,t){return _e.has(e)?!1:(_e.set(e,{initialDef:te(t),instances:new Set}),!0)}function te(e){return qt(e)?e.__vccOpts:e}function sr(e,t){const n=_e.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,te(o.type).render=t),o.renderCache=[],o.update()}))}function ir(e,t){const n=_e.get(e);if(!n)return;t=te(t),It(n.initialDef,t);const o=[...n.instances];for(const r of o){const s=te(r.type);ee.has(s)||(s!==n.initialDef&&It(s,t),ee.add(s)),r.appContext.optionsCache.delete(r.type),r.ceReload?(ee.add(s),r.ceReload(t.styles),ee.delete(s)):r.parent?We(r.parent.update):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}xt(()=>{for(const r of o)ee.delete(te(r.type))})}function It(e,t){R(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Be(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let D=null,cr=null;function Ur(){}const lr=e=>e.__isSuspense;function ur(e,t){t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):xt(e)}const ge={};function ar(e,t,{immediate:n,deep:o,flush:r,onTrack:s,onTrigger:i}=C){process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&w('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&w('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=_=>{w("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=dn()===M?.scope?M:null;let f,d=!1,l=!1;if(V(e)?(f=()=>e.value,d=Me(e)):B(e)?(f=()=>e,o=!0):h(e)?(l=!0,d=e.some(_=>B(_)||Me(_)),f=()=>e.map(_=>{if(V(_))return _.value;if(B(_))return X(_);if(N(_))return q(_,u,2);process.env.NODE_ENV!=="production"&&c(_)})):N(e)?t?f=()=>q(e,u,2):f=()=>{if(!(u&&u.isUnmounted))return a&&a(),ze(e,u,3,[m])}:(f=Ye,process.env.NODE_ENV!=="production"&&c(e)),t&&o){const _=f;f=()=>X(_())}let a,m=_=>{a=I.onStop=()=>{q(_,u,4)}},E=l?new Array(e.length).fill(ge):ge;const y=()=>{if(I.active)if(t){const _=I.run();(o||d||(l?_.some((Hr,Wr)=>se(Hr,E[Wr])):se(_,E)))&&(a&&a(),ze(t,u,3,[_,E===ge?void 0:l&&E[0]===ge?[]:E,m]),E=_)}else I.run()};y.allowRecurse=!!t;let Oe;r==="sync"?Oe=y:r==="post"?Oe=()=>Tt(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),Oe=()=>We(y));const I=new gn(f,Oe);return process.env.NODE_ENV!=="production"&&(I.onTrack=s,I.onTrigger=i),t?n?y():E=I.run():r==="post"?Tt(I.run.bind(I),u&&u.suspense):I.run(),()=>{I.stop(),u&&u.scope&&nn(u.scope.effects,I)}}function fr(e,t,n){const o=this.proxy,r=$(e)?e.includes(".")?pr(o,e):()=>o[e]:e.bind(o,o);let s;N(t)?s=t:(s=t.handler,n=t);const i=M;Bt(this);const c=ar(r,s.bind(o),n);return i?Bt(i):$r(),c}function pr(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function X(e,t){if(!O(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),V(e))X(e.value,t);else if(h(e))for(let n=0;n<e.length;n++)X(e[n],t);else if(on(e)||Y(e))e.forEach(n=>{X(n,t)});else if(ln(e))for(const n in e)X(e[n],t);return e}const dr=e=>!!e.type.__asyncLoader,hr=Symbol();function _r(e,t,n={},o,r){if(D.isCE||D.parent&&dr(D.parent)&&D.parent.isCE)return t!=="default"&&(n.name=t),qe("slot",n,o&&o());let s=e[t];process.env.NODE_ENV!=="production"&&s&&s.length>1&&(w("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),Pt();const i=s&&Rt(s(n)),c=yr(Ee,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Rt(e){return e.some(t=>Ft(t)?!(t.type===Ct||t.type===Ee&&!Rt(t.children)):!0)?e:null}const Ue=e=>e?vr(e)?Tr(e)||e.proxy:Ue(e.parent):null,ne=R(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?de(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?de(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?de(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?de(e.refs):e.refs,$parent:e=>Ue(e.parent),$root:e=>Ue(e.root),$emit:e=>e.emit,$options:e=>Er(e),$forceUpdate:e=>e.f||(e.f=()=>We(e.update)),$nextTick:e=>e.n||(e.n=er.bind(e.proxy)),$watch:e=>fr.bind(e)}),gr=e=>e==="_"||e==="$",Je=(e,t)=>e!==C&&!e.__isScriptSetup&&g(e,t),mr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:c,appContext:u}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let f;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Je(o,t))return i[t]=1,o[t];if(r!==C&&g(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&g(f,t))return i[t]=3,s[t];if(n!==C&&g(n,t))return i[t]=4,n[t];i[t]=0}}const d=ne[t];let l,a;if(d)return t==="$attrs"&&(x(e,"get",t),process.env.NODE_ENV!=="production"&&void 0),d(e);if((l=c.__cssModules)&&(l=l[t]))return l;if(n!==C&&g(n,t))return i[t]=4,n[t];if(a=u.config.globalProperties,g(a,t))return a[t];process.env.NODE_ENV!=="production"&&D&&(!$(t)||t.indexOf("__v")!==0)&&(r!==C&&gr(t[0])&&g(r,t)?w(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===D&&w(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Je(r,t)?(r[t]=n,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&g(r,t)?(w(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&g(o,t)?(o[t]=n,!0):g(e.props,t)?(process.env.NODE_ENV!=="production"&&w(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&w(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let c;return!!n[i]||e!==C&&g(e,i)||Je(t,i)||(c=s[0])&&g(c,i)||g(o,i)||g(ne,i)||g(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:g(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(mr.ownKeys=e=>(w("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Er(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let u;return c?u=c:!r.length&&!n&&!o?u=t:(u={},r.length&&r.forEach(f=>me(u,f,i,!0)),me(u,t,i)),O(t)&&s.set(t,u),u}function me(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&me(e,s,n,!0),r&&r.forEach(i=>me(e,i,n,!0));for(const i in t)if(o&&i==="expose")process.env.NODE_ENV!=="production"&&w('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=wr[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const wr={data:$t,props:G,emits:G,methods:G,computed:G,beforeCreate:b,created:b,beforeMount:b,mounted:b,beforeUpdate:b,updated:b,beforeDestroy:b,beforeUnmount:b,destroyed:b,unmounted:b,activated:b,deactivated:b,errorCaptured:b,serverPrefetch:b,components:G,directives:G,watch:br,provide:$t,inject:Nr};function $t(e,t){return t?e?function(){return R(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function Nr(e,t){return G(vt(e),vt(t))}function vt(e){if(h(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function b(e,t){return e?[...new Set([].concat(e,t))]:t}function G(e,t){return e?R(R(Object.create(null),e),t):t}function br(e,t){if(!e)return t;if(!t)return e;const n=R(Object.create(null),e);for(const o in t)n[o]=b(e[o],t[o]);return n}const Tt=ur,Or=e=>e.__isTeleport,Ee=Symbol(process.env.NODE_ENV!=="production"?"Fragment":void 0),Sr=Symbol(process.env.NODE_ENV!=="production"?"Text":void 0),Ct=Symbol(process.env.NODE_ENV!=="production"?"Comment":void 0);Symbol(process.env.NODE_ENV!=="production"?"Static":void 0);const we=[];let T=null;function Pt(e=!1){we.push(T=e?null:[])}function Vr(){we.pop(),T=we[we.length-1]||null}function Mt(e){return e.dynamicChildren=T||kt,Vr(),T&&T.push(e),e}function xr(e,t,n,o,r,s){return Mt(zt(e,t,n,o,r,s,!0))}function yr(e,t,n,o,r){return Mt(qe(e,t,n,o,r,!0))}function Ft(e){return e?e.__v_isVNode===!0:!1}const Dr=(...e)=>Kt(...e),At="__vInternal",jt=({key:e})=>e??null,Ne=({ref:e,ref_key:t,ref_for:n})=>e!=null?$(e)||V(e)||N(e)?{i:D,r:e,k:t,f:!!n}:e:null;function zt(e,t=null,n=null,o=0,r=null,s=e===Ee?0:1,i=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jt(t),ref:t&&Ne(t),scopeId:cr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:D};return c?(Ge(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=$(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&w("VNode created with invalid key (NaN). VNode type:",u.type),!i&&T&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&T.push(u),u}const qe=process.env.NODE_ENV!=="production"?Dr:Kt;function Kt(e,t=null,n=null,o=0,r=null,s=!1){if((!e||e===hr)&&(process.env.NODE_ENV!=="production"&&!e&&w(`Invalid vnode type when creating vnode: ${e}.`),e=Ct),Ft(e)){const c=be(e,t,!0);return n&&Ge(c,n),!s&&T&&(c.shapeFlag&6?T[T.indexOf(e)]=c:T.push(c)),c.patchFlag|=-2,c}if(qt(e)&&(e=e.__vccOpts),t){t=Ir(t);let{class:c,style:u}=t;c&&!$(c)&&(t.class=Ve(c)),O(u)&&(Fe(u)&&!h(u)&&(u=R({},u)),t.style=Se(u))}const i=$(e)?1:lr(e)?128:Or(e)?64:O(e)?4:N(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Fe(e)&&(e=p(e),w("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
5
+ Component that was made reactive: `,e)),zt(e,t,n,o,r,i,s,!0)}function Ir(e){return e?Fe(e)||At in e?R({},e):e:null}function be(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,c=t?Rr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&jt(c),ref:t&&t.ref?n&&r?h(r)?r.concat(Ne(t)):[r,Ne(t)]:Ne(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&h(i)?i.map(Ht):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&be(e.ssContent),ssFallback:e.ssFallback&&be(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ht(e){const t=be(e);return h(e.children)&&(t.children=e.children.map(Ht)),t}function Wt(e=" ",t=0){return qe(Sr,null,e,t)}function Ge(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(h(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Ge(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(At in t)?t._ctx=D:r===3&&D&&(D.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:D},n=32):(t=String(t),o&64?(n=16,t=[Wt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Ve([t.class,o.class]));else if(r==="style")t.style=Se([t.style,o.style]);else if(tn(r)){const s=t[r],i=o[r];i&&s!==i&&!(h(s)&&s.includes(i))&&(t[r]=s?[].concat(s,i):i)}else r!==""&&(t[r]=o[r])}return t}let M=null;const Bt=e=>{M=e,e.scope.on()},$r=()=>{M&&M.scope.off(),M=null};function vr(e){return e.vnode.shapeFlag&4}function Tr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jn(Wn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ne)return ne[n](e)},has(t,n){return n in t||n in ne}}))}const Cr=/(?:^|[-_])(\w)/g,Pr=e=>e.replace(Cr,t=>t.toUpperCase()).replace(/[-_]/g,"");function Ut(e,t=!0){return N(e)?e.displayName||e.name:e.name||t&&e.__name}function Jt(e,t,n=!1){let o=Ut(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&e&&e.parent){const r=s=>{for(const i in s)if(s[i]===t)return i};o=r(e.components||e.parent.type.components)||r(e.appContext.components)}return o?Pr(o):n?"App":"Anonymous"}function qt(e){return N(e)&&"__vccOpts"in e}Symbol(process.env.NODE_ENV!=="production"?"ssrContext":"");function Le(e){return!!(e&&e.__v_isShallow)}function Mr(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header(l){return O(l)?l.__isVue?["div",e,"VueInstance"]:V(l)?["div",{},["span",e,d(l)],"<",c(l.value),">"]:B(l)?["div",{},["span",e,Le(l)?"ShallowReactive":"Reactive"],"<",c(l),`>${U(l)?" (readonly)":""}`]:U(l)?["div",{},["span",e,Le(l)?"ShallowReadonly":"Readonly"],"<",c(l),">"]:null:null},hasBody(l){return l&&l.__isVue},body(l){if(l&&l.__isVue)return["div",{},...s(l.$)]}};function s(l){const a=[];l.type.props&&l.props&&a.push(i("props",p(l.props))),l.setupState!==C&&a.push(i("setup",l.setupState)),l.data!==C&&a.push(i("data",p(l.data)));const m=u(l,"computed");m&&a.push(i("computed",m));const E=u(l,"inject");return E&&a.push(i("injected",E)),a.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:l}]]),a}function i(l,a){return a=R({},a),Object.keys(a).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},l],["div",{style:"padding-left:1.25em"},...Object.keys(a).map(m=>["div",{},["span",o,m+": "],c(a[m],!1)])]]:["span",{}]}function c(l,a=!0){return typeof l=="number"?["span",t,l]:typeof l=="string"?["span",n,JSON.stringify(l)]:typeof l=="boolean"?["span",o,l]:O(l)?["object",{object:a?p(l):l}]:["span",n,String(l)]}function u(l,a){const m=l.type;if(N(m))return;const E={};for(const y in l.ctx)f(m,y,a)&&(E[y]=l.ctx[y]);return E}function f(l,a,m){const E=l[m];if(h(E)&&E.includes(a)||O(E)&&a in E||l.extends&&f(l.extends,a,m)||l.mixins&&l.mixins.some(y=>f(y,a,m)))return!0}function d(l){return Le(l)?"ShallowRef":l.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}function Fr(){Mr()}process.env.NODE_ENV!=="production"&&Fr();const Ar=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},jr={class:"base-button"};function zr(e,t,n,o,r,s){return Pt(),xr("button",jr,[Wt(" here base button/! "),_r(e.$slots,"default")])}const Kr=Ar(Gt,[["render",zr]]);L.MaBaseButton=Kr,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})});
6
+ //# sourceMappingURL=index.umd.js.map