vue-spear-tip 0.3.5-beta.0 → 0.4.0-bata.0

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 (59) hide show
  1. package/dist/.vite/manifest.json +32 -32
  2. package/dist/{Button-Du8xJmW4.js → Button-CKWq-QhM.js} +30 -31
  3. package/dist/Button-DufvpxJE.cjs +1 -0
  4. package/dist/{CodeHighlight-ClnxSRpw.js → CodeHighlight-CGL23MLE.js} +2 -2
  5. package/dist/{CodeHighlight-JSvuKBTX.cjs → CodeHighlight-ZxdmtTCr.cjs} +1 -1
  6. package/dist/{DateField-CqpNaubi.cjs → DateField-CHfa8-Do.cjs} +1 -1
  7. package/dist/{DateField-C4362r9o.js → DateField-uyIAOhkd.js} +2 -2
  8. package/dist/{FieldComponent.vue_vue_type_script_lang-jsRPTb1I.js → FieldComponent.vue_vue_type_script_lang-CBlqKRzm.js} +1 -1
  9. package/dist/{FieldComponent.vue_vue_type_script_lang-BC3VLZoe.cjs → FieldComponent.vue_vue_type_script_lang-D1X1I7bd.cjs} +1 -1
  10. package/dist/Interfaces/IBaseVueComponent.d.ts +23 -0
  11. package/dist/Interfaces/IDeviceInfo.d.ts +30 -0
  12. package/dist/Interfaces/IGlobalVST.d.ts +63 -9
  13. package/dist/Interfaces/IHammer.d.ts +271 -0
  14. package/dist/{SelectField-DZ9FrKd8.js → SelectField-DiN44-uN.js} +2 -2
  15. package/dist/{SelectField-DepJmnpN.cjs → SelectField-DrAP2d8E.cjs} +1 -1
  16. package/dist/{StringField-BNqCmIO-.cjs → StringField-C3rUlB-U.cjs} +1 -1
  17. package/dist/{StringField-C2xjiPLN.js → StringField-C6GPyrJH.js} +2 -2
  18. package/dist/{SwitchField-DtUM_9yI.cjs → SwitchField-DHpQB0AX.cjs} +1 -1
  19. package/dist/{SwitchField-Bd9Hhv_F.js → SwitchField-DyEDSMk2.js} +2 -2
  20. package/dist/{Tabs-10yUU8H-.cjs → Tabs-BLrXVeT4.cjs} +1 -1
  21. package/dist/{Tabs-f_Dhaakg.js → Tabs-Cwhv2zO2.js} +1 -1
  22. package/dist/TextField-eL69jvRK.cjs +171 -0
  23. package/dist/{TextField-Cy_YVWog.js → TextField-hUqAtULW.js} +4688 -4719
  24. package/dist/components/Elements/Button/ButtonInherited.d.ts +2 -2
  25. package/dist/core/Helpers/DeviceInfo.d.ts +21 -0
  26. package/dist/core/Helpers/Hammer.d.ts +3 -0
  27. package/dist/index-BxErfaCr.js +5559 -0
  28. package/dist/index-Isr0TfMn.cjs +3 -0
  29. package/dist/replaceable/BaseComponent.vue +110 -57
  30. package/dist/replaceable/Elements/Button/ButtonInherited.d.ts +2 -2
  31. package/dist/vue-spear-tip.cjs.js +1 -1
  32. package/dist/vue-spear-tip.css +1 -1
  33. package/dist/vue-spear-tip.es.js +1 -1
  34. package/docs/index.html +2 -2
  35. package/docs/static/Button-BuXt8FG8.css +1 -0
  36. package/docs/static/Button-Co7K-58W.js +1 -0
  37. package/docs/static/{CodeHighlight-CJLZIU3P.js → CodeHighlight-CG0zK3xQ.js} +1 -1
  38. package/docs/static/{DateField-cKzguGFS.js → DateField-43C7au0D.js} +1 -1
  39. package/docs/static/{FieldComponent.vue_vue_type_script_lang-CbUYeXxM.js → FieldComponent.vue_vue_type_script_lang-C_vol6Qx.js} +1 -1
  40. package/docs/static/{NoSymbolIcon-Wc3DJrIk.js → NoSymbolIcon-DmB80OZI.js} +1 -1
  41. package/docs/static/{SelectField-D8fzgnba.js → SelectField-rD3qrYlT.js} +1 -1
  42. package/docs/static/{StringField-0KCExOu8.js → StringField-DP-fbIl0.js} +1 -1
  43. package/docs/static/{SwitchField-DRyKtOUk.js → SwitchField-8sJmj5jC.js} +1 -1
  44. package/docs/static/{Tabs-Px1SyHqa.js → Tabs-DqMbsFic.js} +1 -1
  45. package/docs/static/TextField-pkS19yfO.js +171 -0
  46. package/docs/static/index-dqGIXUrW.js +2 -0
  47. package/docs/static/main--zkFhs1r.js +97 -0
  48. package/docs/static/main-hpuWh67r.css +1 -0
  49. package/package.json +1 -1
  50. package/dist/Button-Bd73SE5k.cjs +0 -1
  51. package/dist/TextField-BmOUp-jf.cjs +0 -171
  52. package/dist/index-Ccp2Ps3f.cjs +0 -1
  53. package/dist/index-tFjvTAxv.js +0 -4720
  54. package/docs/static/Button-CGu5GzBW.css +0 -1
  55. package/docs/static/Button-DH5D9bi_.js +0 -1
  56. package/docs/static/TextField-CUuzbyvs.js +0 -171
  57. package/docs/static/index-CWyWjtR8.js +0 -2
  58. package/docs/static/main-Dgq_kxc_.css +0 -1
  59. package/docs/static/main-HraVMNxt.js +0 -95
@@ -1 +0,0 @@
1
- button[data-v-d9ed28cd]{width:100%;height:100%;display:flex!important;align-items:center!important;justify-content:center!important;touch-action:manipulation;position:relative;font-size:14px;margin:2px 4px;opacity:.9;-webkit-user-select:none;user-select:none;box-shadow:none;outline:none;cursor:pointer;display:inline-block;border:1px solid #fff;transition:all .04s ease-in-out}button .left-icon[data-v-d9ed28cd]{padding-right:5px}button .right-icon[data-v-d9ed28cd]{padding-left:5px}button:not(:disabled) .left-icon-animate i[data-v-d9ed28cd],button:not(:disabled) .right-icon-animate i[data-v-d9ed28cd]{transition:all .1s ease-in-out!important}button[data-v-d9ed28cd]:disabled{opacity:.5;cursor:not-allowed}button[data-v-d9ed28cd]:focus-visible{border-radius:8px;--un-outline-color-opacity:1 !important;outline-color:rgb(249 115 22 / var(--un-outline-color-opacity))!important}button.shine[data-v-d9ed28cd]:not(:disabled):before{content:"";position:absolute;-webkit-user-select:none;user-select:none;inset:0;width:100%;opacity:0;background:linear-gradient(120deg,transparent 0%,transparent 25%,rgba(255,255,255,.6) 45%,rgba(255,255,255,.6) 50%,transparent 75%,transparent 100%);animation:shine-d9ed28cd 3s linear infinite;z-index:1;pointer-events:none}@keyframes shine-d9ed28cd{0%{opacity:0;transform:translate(-100%)}45%{opacity:.005;transform:translate(-60%)}50%{opacity:.8;transform:translate(0)}54%{opacity:0;transform:translate(60%)}to{opacity:0;transform:translate(100%)}}button[data-v-d9ed28cd]:hover:not(:disabled),button[data-v-d9ed28cd]:focus-visible:not(:disabled){transform:scale(1.06);border-radius:8px}button:hover:not(:disabled) .left-icon-animate i[data-v-d9ed28cd],button:hover:not(:disabled) .right-icon-animate i[data-v-d9ed28cd],button:focus-visible:not(:disabled) .left-icon-animate i[data-v-d9ed28cd],button:focus-visible:not(:disabled) .right-icon-animate i[data-v-d9ed28cd]{transform:rotate(-18deg)}button[data-v-d9ed28cd]:active:not(:disabled){transform:scale(1)}button:active:not(:disabled) .left-icon-animate i[data-v-d9ed28cd],button:active:not(:disabled) .right-icon-animate i[data-v-d9ed28cd]{transform:rotate(22deg)}
@@ -1 +0,0 @@
1
- var v=Object.defineProperty;var p=(e,o)=>v(e,"name",{value:o,configurable:!0});import{N as g,V as w,c as r,f as a,o as t,a as C,h as B,e as T,g as y,t as s,n as i,i as $,j as m,F as b,k as z,w as R,b as H}from"./main-HraVMNxt.js";var M=Object.getOwnPropertyDescriptor,O=p((e,o,k,f)=>{for(var d=f>1?void 0:f?M(o,k):o,u=e.length-1,n;u>=0;u--)(n=e[u])&&(d=n(d)||d);return d},"__decorateClass"),l;let h=(l=class extends g{},p(l,"Button"),l);h=O([w],h);const S=["title","data-theme","data-offset","data-placement"],W=["title","data-theme","data-offset","data-placement","disabled","type"],V=["innerHTML"],A=["innerHTML"],D=["href"],F=["href"];function I(e,o,k,f,d,u){return e.showButton?(t(),r("div",{key:0,class:i(["d-inline-block relative whitespace-nowrap",{h24px:e.size=="sm",h34px:e.size=="md","min-h40px":e.size=="lg"}]),title:e.disabled?e.disabledTitle:"","data-theme":e.dataThemeInner,"data-offset":e.dataOffset,"data-placement":e.dataPlacement},[C("button",{class:i(["relative w100% h100% flex! items-center! justify-center!",{shine:e.shine,[e.randomClass+(e.isOnHover?" hover":"")]:!0,"py10px px8px":e.size=="sm","py10px px13px":e.size=="md","py10px px18px":e.size=="lg"}]),title:e.disabled?"":e.innerTitle,"data-theme":e.dataThemeInner,"data-offset":e.dataOffset,"data-placement":e.dataPlacement,onMouseover:o[0]||(o[0]=n=>e.isOnHover=!0),onMouseout:o[1]||(o[1]=n=>e.isOnHover=!1),onClick:o[2]||(o[2]=(...n)=>e.click&&e.click(...n)),onTouchstart:o[3]||(o[3]=(...n)=>e.touchstart&&e.touchstart(...n)),onTouchend:o[4]||(o[4]=(...n)=>e.touchend&&e.touchend(...n)),onMouseup:o[5]||(o[5]=(...n)=>e.mouseup&&e.mouseup(...n)),onMousedown:o[6]||(o[6]=(...n)=>e.mousedown&&e.mousedown(...n)),onKeydown:o[7]||(o[7]=R((...n)=>e.keydownEnter&&e.keydownEnter(...n),["enter"])),onMouseleave:o[8]||(o[8]=n=>e.isButtonActive=!1),disabled:e.disabled,type:e.type,style:y({fontSize:e.size=="sm"?"0.75rem":e.fontSize,fontFamily:e.fontFamily,borderRadius:e.borderRadius,width:e.width,...e.style}),ref:"button"},[e.badge?(t(),r("div",{key:0,class:"absolute right--9px top--9px bg-lightblue-400 fw-bold rounded-full z-3 px7px",style:y({background:e.badgeBg??void 0,color:e.badgeColor??"#ffffff"})},s(e.badge),5)):a("",!0),e.icon?(t(),r("span",{key:1,class:i(["left-icon-animate",e.$slots.default&&e.$refs?.button?.innerText?.trim?.()?.length?"left-icon":""])},[e.icon?.startsWith("<")?(t(),r("div",{key:0,innerHTML:e.icon},null,8,V)):(t(),r("i",{key:1,class:i(["fa",e.icon])},null,2))],2)):a("",!0),B(e.$slots,"default",{},void 0,!0),e.iconRight?(t(),r("span",{key:2,class:i(["right-icon-animate",e.$slots.default&&e.$refs?.button?.innerText?.trim?.()?.length?"right-icon":""])},[e.iconRight?.startsWith("<")?(t(),r("div",{key:0,innerHTML:e.iconRight},null,8,A)):(t(),r("i",{key:1,class:i(["fa",e.iconRight])},null,2))],2)):a("",!0),(t(),T(z("style"),null,{default:$(()=>[m("."+s(e.randomClass)+" { background: "+s(e.style?.bacground??e.currentBg+"!important")+"; box-shadow: none !important; color: "+s(e.currentColor)+" !important; border-color: "+s(e.currentBorderColor)+" !important; }",1),e.currentColorHover?(t(),r(b,{key:0},[m("."+s(e.randomClass)+":hover { color: "+s(e.style?.color??e.currentColorHover+"!important")+"; }",1)],64)):a("",!0),e.disabled?a("",!0):(t(),r(b,{key:1},[m("."+s(e.randomClass)+":active { background: "+s(e.currentBgActive)+" !important; border-color: "+s(e.currentBorderColorActive)+" !important; color: "+s(e.currentColorActive)+" !important; opacity: 1 !important; "+s(e.boxShadowCss)+" !important; }",1)],64))]),_:1})),e.link&&e.link?.startsWith("http")||e.link?.startsWith("//")?(t(),r("a",{key:3,class:"d-none",ref:"link",href:e.link,target:"_blank"}," ",8,D)):!e.link&&e.linkRevert&&!e.linkRevert?.startsWith("http")&&!e.linkRevert?.startsWith("//")?(t(),r("a",{key:4,class:"d-none",ref:"link",href:e.linkRevert,target:"_blank"}," ",8,F)):a("",!0)],46,W)],10,S)):a("",!0)}p(I,"render");const P=H(h,[["render",I],["__scopeId","data-v-d9ed28cd"]]);export{P as default};