@mrxploder/saxvue 0.1.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 (175) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +236 -0
  3. package/dist/base.css +1 -0
  4. package/dist/base.js +2 -0
  5. package/dist/base.js.LICENSE.txt +5 -0
  6. package/dist/base.min.css +1 -0
  7. package/dist/base.min.js +2 -0
  8. package/dist/base.min.js.LICENSE.txt +5 -0
  9. package/dist/saxvue.css +1 -0
  10. package/dist/saxvue.js +2 -0
  11. package/dist/saxvue.js.LICENSE.txt +5 -0
  12. package/dist/saxvue.min.css +1 -0
  13. package/dist/saxvue.min.js +2 -0
  14. package/dist/saxvue.min.js.LICENSE.txt +5 -0
  15. package/dist/svAlert/index.js +2 -0
  16. package/dist/svAlert/index.js.LICENSE.txt +5 -0
  17. package/dist/svAlert/style.css +1 -0
  18. package/dist/svAvatar/index.js +2 -0
  19. package/dist/svAvatar/index.js.LICENSE.txt +5 -0
  20. package/dist/svAvatar/style.css +1 -0
  21. package/dist/svAvatarGroup/index.js +2 -0
  22. package/dist/svAvatarGroup/index.js.LICENSE.txt +5 -0
  23. package/dist/svAvatarGroup/style.css +1 -0
  24. package/dist/svButton/index.js +2 -0
  25. package/dist/svButton/index.js.LICENSE.txt +5 -0
  26. package/dist/svButton/style.css +1 -0
  27. package/dist/svCard/index.js +2 -0
  28. package/dist/svCard/index.js.LICENSE.txt +5 -0
  29. package/dist/svCard/style.css +1 -0
  30. package/dist/svCardGroup/index.js +2 -0
  31. package/dist/svCardGroup/index.js.LICENSE.txt +5 -0
  32. package/dist/svCardGroup/style.css +1 -0
  33. package/dist/svCheckbox/index.js +2 -0
  34. package/dist/svCheckbox/index.js.LICENSE.txt +5 -0
  35. package/dist/svCheckbox/style.css +1 -0
  36. package/dist/svDialog/index.js +2 -0
  37. package/dist/svDialog/index.js.LICENSE.txt +5 -0
  38. package/dist/svDialog/style.css +1 -0
  39. package/dist/svInput/index.js +2 -0
  40. package/dist/svInput/index.js.LICENSE.txt +5 -0
  41. package/dist/svInput/style.css +1 -0
  42. package/dist/svNavbar/index.js +2 -0
  43. package/dist/svNavbar/index.js.LICENSE.txt +5 -0
  44. package/dist/svNavbar/style.css +1 -0
  45. package/dist/svNavbarGroup/index.js +2 -0
  46. package/dist/svNavbarGroup/index.js.LICENSE.txt +5 -0
  47. package/dist/svNavbarGroup/style.css +1 -0
  48. package/dist/svNavbarItem/index.js +2 -0
  49. package/dist/svNavbarItem/index.js.LICENSE.txt +5 -0
  50. package/dist/svNavbarItem/style.css +1 -0
  51. package/dist/svOption/index.js +2 -0
  52. package/dist/svOption/index.js.LICENSE.txt +5 -0
  53. package/dist/svOption/style.css +1 -0
  54. package/dist/svOptionGroup/index.js +2 -0
  55. package/dist/svOptionGroup/index.js.LICENSE.txt +5 -0
  56. package/dist/svOptionGroup/style.css +1 -0
  57. package/dist/svPagination/index.js +2 -0
  58. package/dist/svPagination/index.js.LICENSE.txt +5 -0
  59. package/dist/svPagination/style.css +1 -0
  60. package/dist/svRadio/index.js +2 -0
  61. package/dist/svRadio/index.js.LICENSE.txt +5 -0
  62. package/dist/svRadio/style.css +1 -0
  63. package/dist/svSelect/index.js +2 -0
  64. package/dist/svSelect/index.js.LICENSE.txt +5 -0
  65. package/dist/svSelect/style.css +1 -0
  66. package/dist/svSidebar/index.js +2 -0
  67. package/dist/svSidebar/index.js.LICENSE.txt +5 -0
  68. package/dist/svSidebar/style.css +1 -0
  69. package/dist/svSidebarGroup/index.js +2 -0
  70. package/dist/svSidebarGroup/index.js.LICENSE.txt +5 -0
  71. package/dist/svSidebarGroup/style.css +1 -0
  72. package/dist/svSidebarItem/index.js +2 -0
  73. package/dist/svSidebarItem/index.js.LICENSE.txt +5 -0
  74. package/dist/svSidebarItem/style.css +1 -0
  75. package/dist/svSwitch/index.js +2 -0
  76. package/dist/svSwitch/index.js.LICENSE.txt +5 -0
  77. package/dist/svSwitch/style.css +1 -0
  78. package/dist/svTable/index.js +2 -0
  79. package/dist/svTable/index.js.LICENSE.txt +5 -0
  80. package/dist/svTable/style.css +1 -0
  81. package/dist/svTableTd/index.js +2 -0
  82. package/dist/svTableTd/index.js.LICENSE.txt +5 -0
  83. package/dist/svTableTd/style.css +1 -0
  84. package/dist/svTableTh/index.js +2 -0
  85. package/dist/svTableTh/index.js.LICENSE.txt +5 -0
  86. package/dist/svTableTh/style.css +1 -0
  87. package/dist/svTableTr/index.js +2 -0
  88. package/dist/svTableTr/index.js.LICENSE.txt +5 -0
  89. package/dist/svTableTr/style.css +1 -0
  90. package/dist/svTooltip/index.js +2 -0
  91. package/dist/svTooltip/index.js.LICENSE.txt +5 -0
  92. package/dist/svTooltip/style.css +1 -0
  93. package/dist/vsAlert/index.js +2 -0
  94. package/dist/vsAlert/index.js.LICENSE.txt +5 -0
  95. package/dist/vsAlert/style.css +1 -0
  96. package/dist/vsAvatar/index.js +2 -0
  97. package/dist/vsAvatar/index.js.LICENSE.txt +5 -0
  98. package/dist/vsAvatar/style.css +1 -0
  99. package/dist/vsAvatarGroup/index.js +2 -0
  100. package/dist/vsAvatarGroup/index.js.LICENSE.txt +5 -0
  101. package/dist/vsAvatarGroup/style.css +1 -0
  102. package/dist/vsButton/index.js +2 -0
  103. package/dist/vsButton/index.js.LICENSE.txt +5 -0
  104. package/dist/vsButton/style.css +1 -0
  105. package/dist/vsCard/index.js +2 -0
  106. package/dist/vsCard/index.js.LICENSE.txt +5 -0
  107. package/dist/vsCard/style.css +1 -0
  108. package/dist/vsCardGroup/index.js +2 -0
  109. package/dist/vsCardGroup/index.js.LICENSE.txt +5 -0
  110. package/dist/vsCardGroup/style.css +1 -0
  111. package/dist/vsCheckbox/index.js +2 -0
  112. package/dist/vsCheckbox/index.js.LICENSE.txt +5 -0
  113. package/dist/vsCheckbox/style.css +1 -0
  114. package/dist/vsDialog/index.js +2 -0
  115. package/dist/vsDialog/index.js.LICENSE.txt +5 -0
  116. package/dist/vsDialog/style.css +1 -0
  117. package/dist/vsInput/index.js +2 -0
  118. package/dist/vsInput/index.js.LICENSE.txt +5 -0
  119. package/dist/vsInput/style.css +1 -0
  120. package/dist/vsNavbar/index.js +2 -0
  121. package/dist/vsNavbar/index.js.LICENSE.txt +5 -0
  122. package/dist/vsNavbar/style.css +1 -0
  123. package/dist/vsNavbarGroup/index.js +2 -0
  124. package/dist/vsNavbarGroup/index.js.LICENSE.txt +5 -0
  125. package/dist/vsNavbarGroup/style.css +1 -0
  126. package/dist/vsNavbarItem/index.js +2 -0
  127. package/dist/vsNavbarItem/index.js.LICENSE.txt +5 -0
  128. package/dist/vsNavbarItem/style.css +1 -0
  129. package/dist/vsOption/index.js +2 -0
  130. package/dist/vsOption/index.js.LICENSE.txt +5 -0
  131. package/dist/vsOption/style.css +1 -0
  132. package/dist/vsOptionGroup/index.js +2 -0
  133. package/dist/vsOptionGroup/index.js.LICENSE.txt +5 -0
  134. package/dist/vsOptionGroup/style.css +1 -0
  135. package/dist/vsPagination/index.js +2 -0
  136. package/dist/vsPagination/index.js.LICENSE.txt +5 -0
  137. package/dist/vsPagination/style.css +1 -0
  138. package/dist/vsRadio/index.js +2 -0
  139. package/dist/vsRadio/index.js.LICENSE.txt +5 -0
  140. package/dist/vsRadio/style.css +1 -0
  141. package/dist/vsSelect/index.js +2 -0
  142. package/dist/vsSelect/index.js.LICENSE.txt +5 -0
  143. package/dist/vsSelect/style.css +1 -0
  144. package/dist/vsSidebar/index.js +2 -0
  145. package/dist/vsSidebar/index.js.LICENSE.txt +5 -0
  146. package/dist/vsSidebar/style.css +1 -0
  147. package/dist/vsSidebarGroup/index.js +2 -0
  148. package/dist/vsSidebarGroup/index.js.LICENSE.txt +5 -0
  149. package/dist/vsSidebarGroup/style.css +1 -0
  150. package/dist/vsSidebarItem/index.js +2 -0
  151. package/dist/vsSidebarItem/index.js.LICENSE.txt +5 -0
  152. package/dist/vsSidebarItem/style.css +1 -0
  153. package/dist/vsSwitch/index.js +2 -0
  154. package/dist/vsSwitch/index.js.LICENSE.txt +5 -0
  155. package/dist/vsSwitch/style.css +1 -0
  156. package/dist/vsTable/index.js +2 -0
  157. package/dist/vsTable/index.js.LICENSE.txt +5 -0
  158. package/dist/vsTable/style.css +1 -0
  159. package/dist/vsTableTd/index.js +2 -0
  160. package/dist/vsTableTd/index.js.LICENSE.txt +5 -0
  161. package/dist/vsTableTd/style.css +1 -0
  162. package/dist/vsTableTh/index.js +2 -0
  163. package/dist/vsTableTh/index.js.LICENSE.txt +5 -0
  164. package/dist/vsTableTh/style.css +1 -0
  165. package/dist/vsTableTr/index.js +2 -0
  166. package/dist/vsTableTr/index.js.LICENSE.txt +5 -0
  167. package/dist/vsTableTr/style.css +1 -0
  168. package/dist/vsTooltip/index.js +2 -0
  169. package/dist/vsTooltip/index.js.LICENSE.txt +5 -0
  170. package/dist/vsTooltip/style.css +1 -0
  171. package/package.json +128 -0
  172. package/types/component.d.ts +9 -0
  173. package/types/components/SvAlert.d.ts +14 -0
  174. package/types/components/SvButton.d.ts +34 -0
  175. package/types/index.d.ts +105 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svInput=t(require("vue")):e.svInput=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},s={};function n(e){var a=s[e];if(void 0!==a)return a.exports;var l=s[e]={exports:{}};return t[e](l,l.exports,n),l.exports}n.d=(e,t)=>{for(var s in t)n.o(t,s)&&!n.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var a={};n.d(a,{default:()=>p});var l=n(594);const r=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),o=e=>{const t=/^(rgb|rgba)/.test(e),s=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),n=/^(#)/.test(e);let a;if(t){const t=e.replace(/[rgba()]/g,"").split(",");a=`${t[0]},${t[1]},${t[2]}`}else if(n){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,s,n)=>t+t+s+s+n+n);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);a=`${t.r},${t.g},${t.b}`}else if(r(e)){a=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else s&&(a=e);return a},i=(0,l.defineComponent)({name:"SvInput",props:{value:{default:""},labelPlaceholder:{default:""},label:{default:""},block:{type:Boolean,default:!1},iconAfter:{type:Boolean,default:!1},visiblePassword:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},color:{type:String,default:null},state:{type:String,default:null},progress:{type:Number,default:0},border:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},transparent:{type:Boolean,default:!1},textWhite:{type:Boolean,default:!1},square:{type:Boolean,default:!1}},emits:["input","click-icon"],setup(e,{slots:t,attrs:s,emit:n}){const a=(0,l.getCurrentInstance)(),r=a?a.uid:Math.random().toString(36).slice(2),i=()=>`sv-input--${s.id||r}`,p=e=>{e.style.height="0"},u=(e,t)=>{const s=e.scrollHeight;e.style.height=s-1+"px",t()},c=e=>{e.style.minHeight="0px",e.style.height="0px"},d=e=>t[`message-${e}`]?(0,l.h)("transition",{onBeforeEnter:p,onEnter:u,onLeave:c},[(0,l.h)("div",{class:["sv-input__message",`sv-input__message--${e}`]},t[`message-${e}`]())]):null,v=e=>n("input",e.target.value),f=e=>n("click-icon",e.target.value);return()=>{const n=(0,l.h)("input",Object.assign({},s,{class:["sv-input",{"sv-input--has-icon":!!t.icon,"sv-input--has-icon--after":!!e.iconAfter}],value:e.value,id:i(),placeholder:"",type:e.visiblePassword?"text":s.type,onInput:v})),a=(0,l.h)("label",{for:i(),class:["sv-input__label",{"sv-input__label--placeholder":e.labelPlaceholder,"sv-input__label--hidden":""!==e.value||"date"==s.type||"time"==s.type,"sv-input__label--label":e.label}]},[e.label||String(s.placeholder||"")||e.labelPlaceholder]),r=(0,l.h)("label",{for:i(),class:["sv-input__label",{"sv-input__label--hidden":""!==e.value}]},[String(s.placeholder||"")]),p=t.icon?(0,l.h)("span",{class:["sv-input__icon",{"sv-input__icon--after":e.iconAfter,"sv-input__icon--click":!!s["onClick-icon"]}],onClick:f},t.icon()):null,u=d("success"),c=d("danger"),h=d("warn"),_=d("primary"),g=e.progress>0?(0,l.h)("div",{class:["sv-input__progress",{"sv-input__progress--danger":e.progress<33,"sv-input__progress--warn":e.progress<66&&e.progress>33,"sv-input__progress--success":e.progress>66}]},[(0,l.h)("div",{class:"sv-input__progress__bar",style:{width:`${e.progress}%`}})]):null,b=(0,l.h)("div",{class:"sv-input__loading"}),y=(0,l.h)("div",{class:"sv-input__affects"},[(0,l.h)("div",{class:"sv-input__affects__1"}),(0,l.h)("div",{class:"sv-input__affects__2"}),(0,l.h)("div",{class:"sv-input__affects__3"}),(0,l.h)("div",{class:"sv-input__affects__4"})]),m=(0,l.h)("div",{class:["sv-input-content",{"sv-input-content--has-color":!!(e.color||s.primary||s.danger||s.success||s.dark||s.warn),"sv-input-content--has-label":e.label||e.labelPlaceholder}]},[n,e.label?r:null,a,t.icon?p:null,e.loading?b:null,y]);return(0,l.h)("div",{class:["sv-input-parent",`sv-input-parent--state-${e.state}`,{"sv-input-parent--border":!!e.border,"sv-input-parent--shadow":!!e.shadow,"sv-input-content--has-label":e.label||e.labelPlaceholder,block:e.block,transparent:e.transparent,textWhite:e.textWhite,square:e.square,"sv-component--primary":!(s.danger||s.success||s.warn||s.dark||e.color)}],style:{"--sv-color":e.color?o(e.color):""}},[m,g,u,c,h,_])}}});i.install=e=>{e.component("SvInput",i)};const p=i;return a=a.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-input-parent{--sv-color:var(--sv-primary);align-self:center;display:flex;flex-direction:column;justify-content:center;position:relative}.sv-input-parent.square .sv-input-content{border-radius:0!important}.sv-input-parent.textWhite .sv-input{color:#fff}.sv-input-parent.transparent .sv-input{background:transparent!important}.sv-input-parent.block,.sv-input-parent.block .sv-input{width:100%}.sv-input-parent--has-label{margin-top:20px!important}.sv-input-parent--state-success .sv-input{background:-color("success",.1)!important;color:-color("success",1)}.sv-input-parent--state-success .sv-input__label{color:-color("success",1)}.sv-input-parent--state-success .sv-input__icon{background:-color("success",.1);box-shadow:-15px 10px 10px -10px -color("success",.1);color:-color("success",1)}.sv-input-parent--state-danger .sv-input{background:-color("danger",.1)!important;color:-color("danger",1)}.sv-input-parent--state-danger .sv-input__label{color:-color("danger",1)}.sv-input-parent--state-danger .sv-input__icon{background:-color("danger",.1);box-shadow:-15px 10px 10px -10px -color("danger",.1);color:-color("danger",1)}.sv-input-parent--state-warn .sv-input{background:-color("warn",.1)!important;color:-color("warn",1)}.sv-input-parent--state-warn .sv-input__label{color:-color("warn",1)}.sv-input-parent--state-warn .sv-input__icon{background:-color("warn",.1);box-shadow:-15px 10px 10px -10px -color("warn",.1);color:-color("warn",1)}.sv-input-parent--state-dark .sv-input{background:-color("dark",.1)!important;color:-color("dark",1)}.sv-input-parent--state-dark .sv-input__label{color:-color("dark",1)}.sv-input-parent--state-dark .sv-input__icon{background:-color("dark",.1);box-shadow:-15px 10px 10px -10px -color("dark",.1);color:-color("dark",1)}.sv-input-parent--state-primary .sv-input{background:-color("primary",.1)!important;color:-color("primary",1)}.sv-input-parent--state-primary .sv-input__label{color:-color("primary",1)}.sv-input-parent--state-primary .sv-input__icon{background:-color("primary",.1);box-shadow:-15px 10px 10px -10px -color("primary",.1);color:-color("primary",1)}.sv-input-content{align-items:center;border-radius:12px;display:flex;justify-content:flex-start;position:relative}.sv-input-content+.sv-input__message{padding-top:2px}.sv-input-content--has-color .sv-input:focus{border-bottom:2px solid -color("color",1)}.sv-input-content--has-color .sv-input:focus~.sv-input__icon,.sv-input-content--has-color .sv-input:focus~.sv-input__label,.sv-input-content--has-color .sv-input:focus~.sv-input__label--placeholder{color:-color("color",1)}.sv-input{background:-color("gray-2");border:2px solid transparent;border-radius:inherit;color:-color("text");padding:7px 13px 7px 10px;transition:all .25s ease;width:200px}.sv-input:focus{background:-color("gray-3");padding-left:15px}.sv-input:focus.sv-input--has-icon:not(.sv-input--has-icon--after){padding-left:40px}.sv-input:focus.sv-input--has-icon:not(.sv-input--has-icon--after)~.sv-input__icon{box-shadow:15px 10px 10px -10px -rgba(0,0,0,-var(shadow-opacity))}.sv-input:focus.sv-input--has-icon:not(.sv-input--has-icon--after)~.sv-input__label:not(.sv-input__label--placeholder):not(.sv-input__label--label){left:44px}.sv-input:focus~.sv-input__icon{background:-color("gray-1");box-shadow:-15px 10px 10px -10px -rgba(0,0,0,-var(shadow-opacity));transform:translate(-6px,-6px)}.sv-input:focus~.sv-input__icon--after{transform:translate(6px,-6px)}.sv-input:focus~.sv-input__label:not(.sv-input__label--placeholder):not(.sv-input__label--label){left:20px;opacity:0}.sv-input:focus~.sv-input__label--placeholder{font-size:.75rem;opacity:1;pointer-events:auto;transform:translate(-3%,-77%);visibility:visible}.sv-input__label{align-items:center;cursor:text;display:flex;font-size:.8rem;height:100%;justify-content:flex-start;left:13px;opacity:.4;pointer-events:none;position:absolute;transition:all .25s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.sv-input__label--hidden{opacity:0;visibility:hidden}.sv-input__label--hidden.sv-input__label--placeholder{font-size:.75rem;opacity:1;pointer-events:auto;transform:translate(-3px,-80%);visibility:visible}.sv-input__label--label{font-size:.75rem;opacity:1;pointer-events:auto;transform:translate(-2px,-77%);visibility:visible}.sv-input--has-icon{padding-left:38px}.sv-input--has-icon~.sv-input__label{left:44px}.sv-input--has-icon--after{padding-left:7px;padding-right:38px}.sv-input--has-icon--after~.sv-input__label{left:13px}.sv-input--has-icon--after.sv-input__label--label{transform:translate(-25px,-80%)!important}.sv-input--has-icon:focus--has-icon--after~.sv-input__label--placeholder{transform:translate(-25px,-80%)!important}.sv-input--has-icon:focus--has-icon--after~.sv-input__label{left:44px}.sv-input__icon{align-items:center;background:-color("gray-2");border-radius:inherit;box-shadow:12px 0 10px -10px -rgba(0,0,0,-var(shadow-opacity));display:flex;height:36px;justify-content:center;left:0;pointer-events:none;position:absolute;right:auto;transition:all .25s ease;width:36px}.sv-input__icon--after{box-shadow:-12px 0 10px -10px -rgba(0,0,0,-var(shadow-opacity));left:auto;right:0}.sv-input__icon--click{cursor:pointer;pointer-events:auto!important}.sv-input__icon--click:hover{background:-color("gray-1");box-shadow:-15px 10px 10px -10px -rgba(0,0,0,-var(shadow-opacity));transform:translate(-6px,-6px)}.sv-input__icon--click:hover.sv-input__icon--after{transform:translate(6px,-6px)}.sv-input__message{font-size:.7rem;overflow:hidden;padding:0 7px;position:relative;transition:all .25s ease}.sv-input__message--success{color:-color("success",1)}.sv-input__message--danger{color:-color("danger",1)}.sv-input__message--warn{color:-color("warn",1)}.sv-input__message--dark{color:-color("dark",1)}.sv-input__message--primary{color:-color("primary",1)}.sv-input__progress{background:-color("gray-2");border-radius:5px;height:2px;left:2.5%;margin-top:5px;overflow:hidden;position:relative;width:95%}.sv-input__progress--danger .sv-input__progress__bar{background:-color("danger",1)}.sv-input__progress--warn .sv-input__progress__bar{background:-color("warn",1)}.sv-input__progress--success .sv-input__progress__bar{background:-color("success",1)}.sv-input__progress__bar{border-radius:5px;height:2px;max-width:100%;transition:all .25s ease;width:32%}.sv-input__loading{background:inherit;border-radius:50%;box-sizing:border-box;cursor:default;height:22px;pointer-events:none;position:absolute;right:7px;width:22px}.sv-input__loading:after{animation:rotateInputLoading .8s ease infinite;border:2px solid transparent;border-bottom-color:-color("primary",1);border-radius:inherit}.sv-input__loading:after,.sv-input__loading:before{box-sizing:border-box;content:"";height:100%;position:absolute;top:0;width:100%}.sv-input__loading:before{animation:rotateInputLoading .8s linear infinite;border:2px solid transparent;border-bottom:2px dashed -color("primary",1);border-radius:inherit;opacity:.2}.sv-input-parent--border .sv-input__icon{background:transparent!important;box-shadow:none!important}.sv-input-parent--border .sv-input-content{border-radius:0}.sv-input-parent--border .sv-input-content .sv-input__affects{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.sv-input-parent--border .sv-input-content .sv-input__affects__1{border-bottom:2px solid -color("gray-3");bottom:0;height:2px;position:absolute;transition:all .25s ease;width:100%}.sv-input-parent--border .sv-input-content .sv-input__affects__2{border-bottom:2px solid -color("color",1);bottom:0;height:2px;left:50%;position:absolute;transform:translate(-50%);transition:all .25s ease;width:0}.sv-input-parent--border .sv-input-content .sv-input{background:transparent;border-radius:0}.sv-input-parent--border .sv-input-content .sv-input:focus~.sv-input__affects .sv-input__affects__2{width:100%}.sv-input-parent--shadow .sv-input__icon{background:transparent;z-index:100}.sv-input-parent--shadow .sv-input-content .sv-input__affects{border-radius:inherit;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}.sv-input-parent--shadow .sv-input-content .sv-input__affects__1{border-radius:inherit;box-shadow:0 6px 25px -6px -rgba(0,0,0,-var(shadow-opacity));height:100%;position:absolute;top:0;transition:all .25s ease;width:100%;z-index:200}.sv-input-parent--shadow .sv-input-content .sv-input{background:transparent;border:2px solid transparent;border-radius:0}.sv-input-parent--shadow .sv-input-content .sv-input:focus{transform:translateY(3px)}.sv-input-parent--shadow .sv-input-content .sv-input:focus~.sv-input__icon{background:-color("background")!important;box-shadow:0 10px 20px -5px -rgba(0,0,0,-var(shadow-opacity))!important;opacity:1}.sv-input-parent--shadow .sv-input-content .sv-input:focus~.sv-input__affects .sv-input__affects__1{box-shadow:0 0 3px 0 -rgba(0,0,0,-var(shadow-opacity));transform:translateY(3px)}@keyframes rotateInputLoading{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svNavbar=t(require("vue")):e.svNavbar=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function r(e){var l=o[e];if(void 0!==l)return l.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var l={};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}function u(e,t,o){return(t=a(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}r.d(l,{default:()=>v});var s=r(594);const i={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach(function(t){u(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}const f=(0,s.defineComponent)({name:"SvNavbar",props:d(d({},i),{},{fixed:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1},shadowScroll:{type:Boolean,default:!1},hideScroll:{type:Boolean,default:!1},textWhite:{type:Boolean,default:!1},square:{type:Boolean,default:!1},paddingScroll:{type:Boolean,default:!1},notLine:{type:Boolean,default:!1},leftCollapsed:{type:Boolean,default:!1},centerCollapsed:{type:Boolean,default:!1},rightCollapsed:{type:Boolean,default:!1},targetScroll:{default:null}}),setup(e,{slots:t,emit:o,attrs:r}){const l=(0,s.ref)(0),n=(0,s.ref)(0),a=(0,s.ref)(0),u=(0,s.ref)(0),i=(0,s.ref)(!1),c=(0,s.ref)(!1),f=(0,s.ref)(!1),v=(0,s.ref)(!1),p=(0,s.ref)(!1),y=(0,s.ref)(null),b=(0,s.ref)(null),h=(0,s.ref)(null),m=(0,s.ref)(null),g=()=>{if(e.hideScroll||e.shadowScroll||e.paddingScroll){const t=e.targetScroll?document.querySelector(String(e.targetScroll)):window;t===window?window.addEventListener("scroll",S):t.addEventListener("scroll",S)}},S=()=>{const t=e.targetScroll?document.querySelector(String(e.targetScroll)):null,o=t?t.scrollTop:window.pageYOffset;e.hideScroll&&(i.value=1===Math.sign(o-a.value)),e.shadowScroll&&(c.value=o>0),e.paddingScroll&&(f.value=o>0),a.value=o},w=()=>{const t=y.value,r=t?t.querySelector(".sv-navbar__item.active"):null;r?((e,t=!0)=>{v.value=!t,(0,s.nextTick)(()=>{l.value=e})})(r.offsetLeft,!1):n.value=0,b.value&&h.value&&m.value&&(e.leftCollapsed||e.centerCollapsed||e.rightCollapsed)&&(t?t.offsetWidth:0)<u.value&&(p.value=!0),o("collapsed",!!p.value),t&&t.offsetWidth<u.value?o("collapsed",!0):(o("collapsed",!1),p.value=!1)};(0,s.watch)([()=>e.hideScroll,()=>e.paddingScroll,()=>e.shadowScroll],()=>{g()}),(0,s.onMounted)(()=>{setTimeout(()=>{const e=b.value,t=h.value,r=m.value;u.value=(e?e.offsetWidth:0)+(t?t.offsetWidth:0)+(r?r.offsetWidth:0)+150;const l=y.value;l&&l.offsetWidth<u.value&&(p.value=!0,o("collapsed",!0),n.value=0,w())},150),g(),window.addEventListener("resize",w)}),(0,s.onBeforeUnmount)(()=>{window.removeEventListener("resize",w);const t=e.targetScroll?document.querySelector(String(e.targetScroll)):window;t===window?window.removeEventListener("scroll",S):t.removeEventListener("scroll",S)});const O=(0,s.getCurrentInstance)(),j=O&&O.proxy.getColor;return()=>{const o=(0,s.h)("div",{class:"sv-navbar__left",ref:b},[t.left?t.left():null]),a=(0,s.h)("div",{class:"sv-navbar__center",ref:h},[t.default?t.default():null]),u=(0,s.h)("div",{class:"sv-navbar__right",ref:m},[t.right?t.right():null]),g=(0,s.h)("div",{class:["sv-navbar__line",{notTransition:v.value}],style:{left:`${l.value}px`,width:`${n.value}px`}}),S=(0,s.h)("div",{class:"sv-navbar"},[(!e.leftCollapsed||!p.value)&&o,(!e.centerCollapsed||!p.value)&&a,(!e.rightCollapsed||!p.value)&&u]);return(0,s.h)("div",d({ref:y,class:["sv-navbar-content",{fixed:e.fixed,shadow:e.shadow,hidden:i.value,shadowActive:c.value,textWhite:e.textWhite,paddingScroll:e.paddingScroll,paddingScrollActive:f.value,svNavbarSquare:e.square},{"sv-component--primary":!!e.primary},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark},{"sv-component--is-color":!!e.color}],style:{"--sv-color":e.color?j:""}},r),[S,!e.notLine&&g])}}});f.install=e=>{e.component("SvNavbar",f)};const v=f;return l=l.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-navbar-content{--sv-color:var(--sv-background);background:-color("color");border-radius:0 0 15px 15px;color:-color("text");left:0;position:absolute;top:0;transition:all .25s ease;width:100%;z-index:9000}.sv-navbar-content.paddingScroll:not(.paddingScrollActive){padding-bottom:20px;padding-top:20px}.sv-navbar-content.paddingScroll:not(.paddingScrollActive) .sv-navbar__group__items{margin-bottom:-30px}.sv-navbar-content.svNavbarSquare{border-radius:0}.sv-navbar-content.textWhite{color:#fff}.sv-navbar-content.textWhite .sv-navbar__item:before,.sv-navbar-content.textWhite .sv-navbar__line{background:#fff}.sv-navbar-content.fixed{position:fixed!important}.sv-navbar-content.shadow,.sv-navbar-content.shadowActive{box-shadow:0 5px 25px 0 -rgba(0,0,0,-var("shadow-opacity"))}.sv-navbar-content.hidden{transform:translateY(-100%)}.sv-navbar{box-sizing:border-box;justify-content:space-between;min-height:44px;padding:0 15px;position:relative;width:100%}.sv-navbar,.sv-navbar__left{align-items:center;display:flex}.sv-navbar__left{justify-content:flex-start}.sv-navbar__right{align-items:center;display:flex;justify-content:flex-end}.sv-navbar__center{align-items:center;display:flex;justify-content:center}.sv-navbar__line{background:-color("text");bottom:0;height:3px;left:0;position:absolute;transition:all .25s ease;width:100px}.sv-navbar__line.notTransition{transition:none!important}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svNavbarGroup=t(require("vue")):e.svNavbarGroup=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var s=r[e]={exports:{}};return t[e](s,s.exports,o),s.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};o.d(n,{default:()=>a});var s=o(594);const u=(0,s.defineComponent)({name:"SvNavbarGroup",setup(e,{slots:t}){const r=(0,s.getCurrentInstance)(),o=r&&r.proxy,n=(o&&o.$parent,(0,s.ref)(null));return()=>{const e=(0,s.h)("button",{class:"sv-navbar__group__item",ref:n},[t.default?t.default():null]),r=(0,s.h)("div",{class:"sv-navbar__group__items"},[t.items?t.items():null]);return(0,s.h)("div",{class:"sv-navbar__group"},[e,r])}}});u.install=e=>{e.component("SvNavbarGroup",u)};const a=u;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-navbar__group{position:relative}.sv-navbar__group:hover .sv-navbar__group__item{opacity:1}.sv-navbar__group:hover .sv-navbar__group__items{opacity:1;transform:translateY(100%);visibility:visible}.sv-navbar__group__item{background:transparent;border:0;color:inherit;font-weight:700;opacity:.7;padding:10px 15px;transition:all .25s ease,color 0s}.sv-navbar__group__items{align-items:center;background:-color("color");border-radius:5px 18px 18px 18px;bottom:0;box-shadow:0 5px 20px 0 -rgba(0,0,0,-var("shadow-opacity"));color:inherit;display:flex;flex-direction:column;justify-content:center;left:0;margin-bottom:-12px;min-width:160px;opacity:0;padding:10px;position:absolute;transform:translateY(90%);transition:all .25s ease;visibility:hidden}.sv-navbar__group__items:after{background:transparent;content:"";height:14px;left:0;position:absolute;top:-13px;width:100%;z-index:-1}.sv-navbar__group__items .sv-navbar__item{padding:5px 10px;position:relative;text-align:left;width:100%}.sv-navbar__group__items .sv-navbar__item:before{background:-color("text");border-radius:50%;content:"";height:4px;left:0;opacity:0;position:absolute;top:0;top:calc(50% - 2px);transform:translate(-10px);transition:all .25s ease;width:4px}.sv-navbar__group__items .sv-navbar__item.active:before{opacity:1;transform:translate(0)}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svNavbarItem=t(require("vue")):e.svNavbarItem=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function n(e){var i=o[e];if(void 0!==i)return i.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var i={};n.d(i,{default:()=>s});var r=n(594);const f=(0,r.defineComponent)({name:"SvNavbarItem",props:{active:{type:Boolean,default:!1},to:{type:String,default:void 0},id:{type:String,default:void 0},href:{type:String,default:void 0},target:{type:String,default:"_blank"}},emits:["click"],setup(e,{emit:t,slots:o}){const n=(0,r.getCurrentInstance)(),i=n&&n.proxy,f=i?i.$parent:null,s=i?i.$router:null,a=()=>{(0,r.nextTick)(()=>{if(e.active&&i){const e=i.$el.offsetLeft;f&&"function"==typeof f.setLeftLine&&f.setLeftLine(e);const t=i.$el.scrollWidth;f&&"function"==typeof f.setWidthLine&&f.setWidthLine(t)}})};return(0,r.onMounted)(()=>{setTimeout(()=>{if(e.active&&i){const e=i.$el;f&&"function"==typeof f.setLeftLine&&f.setLeftLine(e.offsetLeft),f&&"function"==typeof f.setWidthLine&&f.setWidthLine(e.scrollWidth)}},150)}),()=>(0,r.h)("button",{class:["sv-navbar__item",{active:e.active}],onClick:o=>{t("click",o),a(),e.to&&s?s.push(e.to):e.href&&window.open(e.href,e.target),f&&"function"==typeof f.setModel&&f.setModel(e.id),a()}},o.default?o.default():null)}});f.install=e=>{e.component("SvNavbarItem",f)};const s=f;return i=i.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-navbar__item{background:transparent;border:0;color:inherit;font-size:.85rem;font-weight:700;margin:0;opacity:.7;padding:10px 15px;transition:all .25s ease,color 0s}.sv-navbar__item.active,.sv-navbar__item:hover{opacity:1}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svOption=t(require("vue")):e.svOption=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,n),l.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function a(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}n.d(o,{default:()=>k});var i=n(594);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}const u=(0,i.defineComponent)({name:"VsIconCheck",props:{indeterminate:{type:Boolean,default:!1}},setup:(e,{attrs:t})=>()=>(0,i.h)("i",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({class:["sv-icon-check",{indeterminate:e.indeterminate}]},t),[(0,i.h)("span",{},[(0,i.h)("div",{class:"line1"}),(0,i.h)("div",{class:"line2"})])])}),p=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),d=e=>{const t=/^(rgb|rgba)/.test(e),r=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),n=/^(#)/.test(e);let o;if(t){const t=e.replace(/[rgba()]/g,"").split(",");o=`${t[0]},${t[1]},${t[2]}`}else if(n){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,r,n)=>t+t+r+r+n+n);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);o=`${t.r},${t.g},${t.b}`}else if(p(e)){o=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else r&&(o=e);return o};function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const b={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function v(e){const t=(0,i.reactive)({componentColor:null,getColor:null});t.getColor=d(e&&e.color?e.color:null);const r=(0,i.computed)(()=>e&&("dark"===e.color||e.dark||"dark"===t.componentColor)),n=(0,i.computed)(()=>e&&(!!e.color||!!e.primary||!!e.success||!!e.warn||!!e.danger||!!e.dark));try{const e=(0,i.getCurrentInstance)();e&&e.proxy&&(e.proxy.getColor=t.getColor)}catch(e){}return y(y({},t),{},{isColorDark:r,isColor:n})}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const h=(0,i.defineComponent)({name:"SvCheckbox",props:g(g({},b),{},{value:{default:""},val:{default:""},notValue:{default:""},indeterminate:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},checkedForce:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},labelBefore:{type:Boolean,default:!1}}),setup(e,{emit:t,slots:r,attrs:n}){const o=(0,i.getCurrentInstance)(),l=o?`vs-${o.uid}`:`vs-${Math.random().toString(36).slice(2)}`,{getColor:c}=v(e);(0,i.watch)(()=>e.indeterminate,e=>{t("input",!!e)}),(0,i.onMounted)(()=>{e.checked&&"boolean"==typeof e.value&&t("input",!0)});const a=(0,i.computed)(()=>{let t=!1;if(e.value){if("boolean"==typeof e.value)t=e.value;else if("object"==typeof e.value&&null!==e.value){const t=e.value,r=-1===t.indexOf(e.val)&&-1===JSON.stringify(t).indexOf(JSON.stringify(e.val));let n=0;return t.forEach((t,r)=>{JSON.stringify(t)==JSON.stringify(e.val)&&(n=r)}),!r}}else t=!1;return t}),s=r=>{if("boolean"==typeof e.value)t("input",!e.value);else if("object"==typeof e.value&&null!==e.value){const r=e.value,n=-1===r.indexOf(e.val)&&-1===JSON.stringify(r).indexOf(JSON.stringify(e.val));let o=0;r.forEach((t,r)=>{JSON.stringify(t)==JSON.stringify(e.val)&&(o=r)}),n?r.push(e.val):r.splice(o,1),t("input",r)}else e.val!==e.value?t("input",e.val):t("input",e.notValue||null);t("mousedown",r)},p=e=>t("blur",e);return()=>{const t=(0,i.h)("input",g(g({class:"sv-checkbox"},n),{},{type:"checkbox",id:l,checked:e.checkedForce||a.value,onInput:s,onBlur:p})),o=(0,i.h)("div",{class:"sv-checkbox-mask"},[!r.icon&&(0,i.h)(u,{indeterminate:e.indeterminate}),r.icon?r.icon():null]),d=(0,i.h)("label",{class:["sv-checkbox-label",{lineThrough:e.lineThrough}],for:l},[r.default?r.default():null]),f=(0,i.h)("div",{class:"sv-checkbox-con"},[t,o]);return(0,i.h)("div",{class:["sv-checkbox-content",{"sv-checkbox--checked":a.value},{"sv-checkbox--disabled":n.hasOwnProperty("disabled")},{"sv-checkbox--loading":e.loading},{"sv-checkbox--label-before":e.labelBefore},{"sv-component--primary":!(e.danger||e.success||e.warn||e.dark||e.color)},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark}],style:{"--sv-color":e.color?c:""}},[f,r.default?d:null])}}});function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const w=(0,i.defineComponent)({name:"SvSelectOption",props:{value:{default:null},disabled:{type:Boolean,default:!1},label:{default:null}},setup(e,{slots:t,attrs:r}){const n=(0,i.ref)(!1),o=(0,i.ref)(!1),l=(0,i.getCurrentInstance)(),c=l?l.uid:Math.random().toString(36).slice(2),a=()=>{const e=l&&l.proxy;if(!e)return null;const t=e.$parent;return t?t.isSelect?t:t.$parent&&t.$parent.isSelect?t.$parent:null:null};(0,i.onMounted)(()=>{const t=a();if(!t)return;-1===t.childOptions.findIndex(e=>{try{return e.$vnode&&e.$vnode.key===l.vnode.key}catch(e){return!1}})?t.childOptions.push(l.proxy):t.renderSelect||t.childOptions.push(l.proxy),t.uids.push(c),n.value="number"==typeof t.value?t.value===e.value:Array.isArray(t.value)&&-1!==t.value.indexOf(e.value),t.setHover&&t.setHover()});const s=()=>{const t=a();return!!t&&("number"==typeof t.value?t.value==e.value:Array.isArray(t.value)&&-1!==t.value.indexOf(e.value))},u=()=>{const e=a();return!!e&&e.uids.indexOf(c)==e.hoverOption},p=()=>{const e=a();return!!e&&e.multiple};return()=>{const n=(0,i.h)(h,{checkedForce:s()},t.default?t.default():[]);return(0,i.h)("button",j(j({},r),{},{disabled:e.disabled,class:["sv-select__option",{activeOption:s(),isHover:u(),isMultiple:p(),hiddenOption:o.value}],onMousedown:()=>{const t=a();t&&t.clickOption&&t.clickOption(e.value,e.label)},onBlur:()=>{const e=a();!e||e.targetSelect||e.targetClose||(e.activeOptions=!1)}}),[p()?n:t.default?t.default():null])}}});w.install=e=>{e.component("SvOption",w)};const k=w;return o=o.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-checkbox-content{--sv-color:var(--sv-primary);align-items:center;display:flex;justify-content:flex-start}.sv-checkbox-con{border-radius:9px;height:23px;position:relative;width:23px;z-index:1}.sv-checkbox-mask{align-items:center;border-radius:32%;box-sizing:border-box;cursor:pointer;display:flex;height:100%;justify-content:center;pointer-events:none;position:absolute;transition:all .25s ease;width:100%;z-index:50;z-index:-1}.sv-checkbox-mask i:not(.sv-icon-check){color:#fff;font-size:1.1em;opacity:0;transform:scale(.5);transition:all .25s ease}.sv-checkbox-mask:after{background:-color("color",1);opacity:0;transform:scale(.5)}.sv-checkbox-mask:after,.sv-checkbox-mask:before{border-radius:inherit;content:"";height:100%;left:0;position:absolute;top:0;transition:all .25s ease;width:100%;z-index:-1}.sv-checkbox-mask:before{border:2px solid -color("gray-4",1);box-sizing:border-box}.sv-checkbox-mask .sv-icon-check{opacity:0;z-index:200}.sv-checkbox{cursor:pointer;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;width:100%;z-index:100}.sv-checkbox:disabled{opacity:0;pointer-events:none}.sv-checkbox:active~.sv-checkbox-mask{background:-color("gray-4",1)!important}.sv-checkbox:hover~.sv-checkbox-mask{background:-color("gray-3",1)}.sv-checkbox:hover~.sv-checkbox-mask:before{border:2px solid -color("gray-4",0)}.sv-checkbox:checked:hover~.sv-checkbox-mask{box-shadow:0 3px 15px 0 -color("color",.35)}.sv-checkbox:checked~.sv-checkbox-mask{box-shadow:0 0 0 0 -color("color",.35)}.sv-checkbox:checked~.sv-checkbox-mask i:not(.sv-icon-check){opacity:1;transform:scale(1);transition:all .25s ease .15s}.sv-checkbox:checked~.sv-checkbox-mask .sv-icon-check{opacity:1}.sv-checkbox:checked~.sv-checkbox-mask .sv-icon-check span .line1:after{transition:all .25s ease .1s;width:100%}.sv-checkbox:checked~.sv-checkbox-mask .sv-icon-check span .line2:after{height:100%;transition:all .2s ease .3s}.sv-checkbox:checked~.sv-checkbox-mask:after{opacity:1;transform:scale(1)}.sv-checkbox:checked~.sv-checkbox-mask:before{opacity:0;transform:scale(1.2)}.sv-checkbox-label{align-items:center;cursor:pointer;display:flex;font-size:.9rem;justify-content:center;padding:7px;position:relative;transition:all .25s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-checkbox-label:before{background:-color("text",.6);content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-checkbox--disabled{pointer-events:none}.sv-checkbox--disabled .sv-checkbox-label{opacity:.5}.sv-checkbox--disabled .sv-checkbox-mask{background:transparent!important;opacity:.6}.sv-checkbox--checked .lineThrough{opacity:.4}.sv-checkbox--checked .lineThrough:before{width:calc(100% - 10px)}.sv-checkbox--loading{pointer-events:none}.sv-checkbox--loading.sv-checkbox--checked .sv-checkbox-mask{background:transparent!important}.sv-checkbox--loading.sv-checkbox--checked .sv-checkbox-mask:before{animation:rotateCheckboxLoading .6s linear infinite;border:2px solid -color("color",1)!important;border-radius:50%;border-top-color:transparent!important;opacity:1!important}.sv-checkbox--loading.sv-checkbox--checked .sv-checkbox-mask:after{opacity:0;transform:scale(.5)}.sv-checkbox--loading .sv-checkbox-mask{background:transparent!important}.sv-checkbox--loading .sv-checkbox-mask:before{animation:rotateCheckboxLoading .6s linear infinite;border:2px solid -color("gray-4",1)!important;border-radius:50%;border-top-color:transparent!important}@keyframes rotateCheckboxLoading{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sv-checkbox--label-before .sv-checkbox-label{order:-1}.sv-icon-close{align-items:center;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-close:before{transform:rotate(-45deg)}.sv-icon-close:after,.sv-icon-close:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;transition:all .3s ease;width:16px}.sv-icon-close:after{transform:rotate(45deg)}.sv-icon-close.sv-icon-hover-less:hover:after,.sv-icon-close.sv-icon-hover-less:hover:before{transform:rotate(180deg);width:12px}.sv-icon-plus{align-items:center;cursor:pointer;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-plus:before{transform:rotate(0deg);transition:all .3s ease}.sv-icon-plus:after,.sv-icon-plus:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;width:14px}.sv-icon-plus:after{transform:rotate(90deg);transition:all .4s ease}.sv-icon-plus:hover:not(.less){transform:rotate(-90deg)}.sv-icon-plus.less:hover{transform:scale(.75)}.sv-icon-plus.less:after{transform:rotate(180deg)}.sv-icon-check{align-items:center;border-radius:inherit;display:flex;height:23px;justify-content:center;transition:all .25s ease;width:23px}.sv-icon-check span{display:block;height:13px;margin-top:-4px;position:relative;transform:rotate(45deg);width:8px}.sv-icon-check span .line1{background:transparent;border-radius:2px;border-radius:5px;bottom:0;content:"";height:2px;position:absolute;transition:all .2s ease;width:8px;z-index:100}.sv-icon-check span .line1:after{background:#fff;border-radius:5px 0 0 5px;content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-icon-check span .line2{background:transparent;border-radius:5px;bottom:0;content:"";height:13px;position:absolute;right:0;transition:all .2s ease;width:2px;z-index:100}.sv-icon-check span .line2:after{background:#fff;border-radius:5px 5px 0 0;bottom:0;content:"";height:0;position:absolute;transition:all .25s ease;width:2px}.sv-icon-check.active:before{width:8px}.sv-icon-check.active:after{width:4px}.sv-icon-check.indeterminate span{height:auto;margin:0;transform:rotate(0);width:auto}.sv-icon-check.indeterminate span:after{background:#fff;content:"";display:block;height:2px;position:relative;width:10px}.sv-icon-check.indeterminate span .line1{bottom:0;display:none;opacity:0;right:-1px;transform:rotate(-45deg)}.sv-icon-check.indeterminate span .line2{bottom:-.14rem!important;display:none;height:11px!important;right:0!important;transform:rotate(45deg)!important;transition:all .25s ease!important}.sv-icon-arrow{height:7px;pointer-events:none;transform:rotate(-135deg);transform-origin:center;transition:all .25s ease;width:7px}.sv-icon-arrow:after{height:1px;width:100%}.sv-icon-arrow:after,.sv-icon-arrow:before{background:-color("text");content:"";display:block;position:absolute;top:0}.sv-icon-arrow:before{height:100%;width:1px}.sv-select__option{align-items:cneter;background:transparent;border:0;border-radius:5px;box-shadow:0 0 0 0 -rgba(0,0,0,-var(shadow-opacity));color:-color("text");display:flex;justify-content:flex-start;margin:2px 0;max-height:40px;opacity:1;overflow:hidden;padding:6px 10px;text-align:left;transition:all .25s ease;visibility:visible;width:100%}.sv-select__option.hiddenOption{border:0;margin:0;max-height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.sv-select__option.isMultiple{padding:0 0 0 5px}.sv-select__option.isMultiple .sv-select__option-group{padding-left:0}.sv-select__option.isMultiple.isHover{background:-color("gray-2")!important}.sv-select__option.isMultiple:disabled .sv-checkbox-content{pointer-events:none}.sv-select__option.isMultiple:hover{padding-left:5px!important}.sv-select__option.isMultiple .sv-checkbox-content{pointer-events:none;width:100%}.sv-select__option.isMultiple .sv-checkbox-content .sv-checkbox-con{transform:scale(.85)}.sv-select__option.isMultiple .sv-checkbox-content .sv-checkbox-label{justify-content:flex-start;text-align:left;width:calc(100% - 23px)}.sv-select__option.isMultiple.activeOption{pointer-events:auto!important}.sv-select__option.isHover{background:-color("gray-2")}.sv-select__option.activeOption{background:-color("color",.05);color:-color("color",1);pointer-events:none}.sv-select__option:hover:not(:disabled){color:-color("color");padding-left:14px}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svOptionGroup=t(require("vue")):e.svOptionGroup=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var p=o[e]={exports:{}};return t[e](p,p.exports,r),p.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};r.d(n,{default:()=>l});var p=r(594);const u=(0,p.defineComponent)({name:"SvOptionGroup",setup(e,{slots:t}){const o=(0,p.ref)(!1),r=(0,p.ref)(null),n=(0,p.getCurrentInstance)(),u=()=>{const e=n&&n.proxy;return e&&e.$parent?e.$parent:null};(0,p.watch)(()=>u()&&u().textFilter,e=>{e&&-1===(()=>{const e=t.default?t.default():[];let o="";return e.forEach(e=>{e&&e.props&&e.props.label&&(o+=e.props.label)}),o})().toLowerCase().indexOf(e.toLowerCase())?o.value=!0:o.value=!1,r.value=e});return()=>(0,p.h)("div",{class:["sv-select__option-group",{hiddenOptionGroup:o.value}]},[(0,p.h)("h5",{},t.title?t.title():[]),t.default?t.default():null])}});u.install=e=>{e.component("SvOptionGroup",u)};const l=u;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-select__option-group{border-bottom:2px solid -color("gray-1");overflow:hidden;padding-left:10px;position:relative;transition:all .25s ease}.sv-select__option-group:last-child{border:0}.sv-select__option-group.hiddenOptionGroup{border-bottom:0 solid -color("gray-1")}.sv-select__option-group.hiddenOptionGroup h5{max-height:0;padding:0}.sv-select__option-group h5{font-size:.7rem;margin:0;max-height:28px;opacity:.5;overflow:hidden;padding:7px 0;transition:all .25s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-select__option-group h5 *{pointer-events:none}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svPagination=t(require("vue")):e.svPagination=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}function s(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o.d(n,{default:()=>O});var u=o(594);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}const c=(0,u.defineComponent)({name:"VsIconArrow",props:{less:{type:Boolean,default:!1}},setup:(e,{attrs:t})=>()=>(0,u.h)("i",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({class:["sv-icon-arrow",{less:e.less}]},t))}),p=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),d=e=>{const t=/^(rgb|rgba)/.test(e),r=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),o=/^(#)/.test(e);let n;if(t){const t=e.replace(/[rgba()]/g,"").split(",");n=`${t[0]},${t[1]},${t[2]}`}else if(o){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,r,o)=>t+t+r+r+o+o);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);n=`${t.r},${t.g},${t.b}`}else if(p(e)){n=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else r&&(n=e);return n};function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const v={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function y(e){const t=(0,u.reactive)({componentColor:null,getColor:null});t.getColor=d(e&&e.color?e.color:null);const r=(0,u.computed)(()=>e&&("dark"===e.color||e.dark||"dark"===t.componentColor)),o=(0,u.computed)(()=>e&&(!!e.color||!!e.primary||!!e.success||!!e.warn||!!e.danger||!!e.dark));try{const e=(0,u.getCurrentInstance)();e&&e.proxy&&(e.proxy.getColor=t.getColor)}catch(e){}return b(b({},t),{},{isColorDark:r,isColor:o})}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const h=(0,u.defineComponent)({name:"SvPagination",props:m(m({},v),{},{value:{},infinite:{type:Boolean,default:!1},progress:{type:Boolean,default:!1},notMargin:{type:Boolean,default:!1},buttonsDotted:{type:Boolean,default:!1},notArrows:{type:Boolean,default:!1},onlyArrows:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},square:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disabledItems:{type:Array,default:()=>[]},loadingItems:{type:Array,default:()=>[]},length:{type:Number,default:0},max:{type:Number,default:9},dottedNumber:{type:Number,default:5}}),emits:["input"],setup(e,{emit:t,slots:r}){const o=(0,u.ref)(0),n=(0,u.ref)(42),a=(0,u.ref)(!1),l=(0,u.ref)(null),s=(0,u.ref)({}),i=(0,u.getCurrentInstance)(),{getColor:p}=(i&&i.proxy,y(e)),d=t=>-1!==(e.disabledItems||[]).indexOf(t),f=t=>-1!==(e.loadingItems||[]).indexOf(t),b=e=>t("input",e);(0,u.watch)(()=>e.length,()=>{(0,u.nextTick)(()=>{try{const t=l.value,r=s.value[`btn${e.value}`];if(!t||!r)return;const o=t.offsetLeft;n.value=r.offsetLeft+o,setTimeout(()=>{a.value=!1},300)}catch(e){}})});const v=(t,r)=>{if(d(t)||f(t)){let n=t;t>r?n+=1:n-=1,n>e.length?n=e.infinite?1:r:n<=0&&(n=e.infinite?e.length:r),o.value=n,b(n)}else{o.value=t;try{l.value&&(a.value=!0,(0,u.nextTick)(()=>{const e=l.value,r=s.value[`btn${t}`];if(!e||!r)return;const o=e.offsetLeft;n.value=r.offsetLeft+o,setTimeout(()=>{a.value=!1},300)}))}catch(e){}}};(0,u.watch)(()=>e.value,(e,t)=>v(Number(e),Number(t)));const g=t=>t.map(t=>"...>"===t||"<..."===t?((t="...")=>(0,u.h)("div",{class:["sv-pagination__dotted",{next:e.value!=e.length&&"...>"==t}],onClick:()=>{let r=e.value!=e.length&&"...>"==t?o.value+=e.dottedNumber:o.value-=e.dottedNumber;r>e.length?r=e.length:r<1&&(r=1),b(r)}},[(0,u.h)("span",{class:"dotted"},["..."]),(0,u.h)("span",{class:"con-arrows"},[(0,u.h)(c),(0,u.h)(c)])]))(t):((t=1)=>(0,u.h)("button",{ref:e=>{e&&(s.value[`btn${t}`]=e)},class:["sv-pagination__button",{active:t==e.value,prevActive:t==Number(e.value)-1,nextActive:t==Number(e.value)+1,disabled:d(t),loading:f(t)}],onClick:()=>b(t)},e.buttonsDotted?"":`${t}`))(t)),m=(e=1,t=7)=>{const r=[];for(let o=Math.max(1,e);o<=t;o++)r.push(o);return r},h=()=>{const t=Number(e.length),r="undefined"!=typeof window&&window.innerWidth<600?5:e.max,o=r%2==0?1:0,n=Math.floor(r/2),a=t-n+1+o;if(Number(e.value)>n&&Number(e.value)<=a&&!e.buttonsDotted){const t=Number(e.value)-n+2,r=Number(e.value)+n-2-o;return g([1,"<...",...m(t,r),"...>",e.length])}return!e.buttonsDotted&&e.length>7?g([...m(1,n),"...>",...m(a,t)]):e.buttonsDotted||e.length<=7?g([...m(1,0==e.length?1:e.length)]):[]},O=()=>{let t=0;return t=100*Number(e.value)/e.length,t};return(0,u.onMounted)(()=>{o.value=Number(e.value),v(Number(e.value),o.value+=1)}),()=>{const t=(0,u.h)("div",{class:["sv-pagination__active",{move:a.value}],style:{left:`${n.value}px`}},e.buttonsDotted?"":String(e.value)),s=(0,u.h)("div",{class:"sv-pagination",ref:l},[h()]),i=(0,u.h)("button",{class:["sv-pagination__arrow","prev"],attrs:{disabled:!e.infinite&&o.value<=1},onClick:()=>{const t=o.value-=1;t>0?b(t):e.infinite&&b(e.length)}},[r.arrowPrev?r.arrowPrev():(0,u.h)(c)]),d=(0,u.h)("button",{class:["sv-pagination__arrow","next"],attrs:{disabled:!e.infinite&&o.value>=e.length},onClick:()=>{const t=o.value+=1;t<=e.length?b(t):e.infinite&&b(1)}},[r.arrowNext?r.arrowNext():(0,u.h)(c)]),f=(0,u.h)("div",{class:"sv-pagination__slot"},[r.default?r.default():null]),v=(0,u.h)("div",{class:"sv-pagination__progress"},[(0,u.h)("div",{class:"progress",style:{width:`${O()}%`}})]);return(0,u.h)("div",{class:["sv-pagination-content",{buttonsDotted:e.buttonsDotted,circle:e.circle,square:e.square,disabled:e.disabled,notMargin:e.notMargin},{"sv-component--primary":!(e.danger||e.success||e.warn||e.dark||e.color)},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark}],style:{"--sv-color":e.color?p:""}},[!e.onlyArrows&&!r.default&&t,!e.notArrows&&i,r.default&&f,!e.onlyArrows&&!r.default&&s,!e.notArrows&&d,e.progress&&v])}}});h.install=e=>{e.component("SvPagination",h)};const O=h;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-icon-close{align-items:center;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-close:before{transform:rotate(-45deg)}.sv-icon-close:after,.sv-icon-close:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;transition:all .3s ease;width:16px}.sv-icon-close:after{transform:rotate(45deg)}.sv-icon-close.sv-icon-hover-less:hover:after,.sv-icon-close.sv-icon-hover-less:hover:before{transform:rotate(180deg);width:12px}.sv-icon-plus{align-items:center;cursor:pointer;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-plus:before{transform:rotate(0deg);transition:all .3s ease}.sv-icon-plus:after,.sv-icon-plus:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;width:14px}.sv-icon-plus:after{transform:rotate(90deg);transition:all .4s ease}.sv-icon-plus:hover:not(.less){transform:rotate(-90deg)}.sv-icon-plus.less:hover{transform:scale(.75)}.sv-icon-plus.less:after{transform:rotate(180deg)}.sv-icon-check{align-items:center;border-radius:inherit;display:flex;height:23px;justify-content:center;transition:all .25s ease;width:23px}.sv-icon-check span{display:block;height:13px;margin-top:-4px;position:relative;transform:rotate(45deg);width:8px}.sv-icon-check span .line1{background:transparent;border-radius:2px;border-radius:5px;bottom:0;content:"";height:2px;position:absolute;transition:all .2s ease;width:8px;z-index:100}.sv-icon-check span .line1:after{background:#fff;border-radius:5px 0 0 5px;content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-icon-check span .line2{background:transparent;border-radius:5px;bottom:0;content:"";height:13px;position:absolute;right:0;transition:all .2s ease;width:2px;z-index:100}.sv-icon-check span .line2:after{background:#fff;border-radius:5px 5px 0 0;bottom:0;content:"";height:0;position:absolute;transition:all .25s ease;width:2px}.sv-icon-check.active:before{width:8px}.sv-icon-check.active:after{width:4px}.sv-icon-check.indeterminate span{height:auto;margin:0;transform:rotate(0);width:auto}.sv-icon-check.indeterminate span:after{background:#fff;content:"";display:block;height:2px;position:relative;width:10px}.sv-icon-check.indeterminate span .line1{bottom:0;display:none;opacity:0;right:-1px;transform:rotate(-45deg)}.sv-icon-check.indeterminate span .line2{bottom:-.14rem!important;display:none;height:11px!important;right:0!important;transform:rotate(45deg)!important;transition:all .25s ease!important}.sv-icon-arrow{height:7px;pointer-events:none;transform:rotate(-135deg);transform-origin:center;transition:all .25s ease;width:7px}.sv-icon-arrow:after{height:1px;width:100%}.sv-icon-arrow:after,.sv-icon-arrow:before{background:-color("text");content:"";display:block;position:absolute;top:0}.sv-icon-arrow:before{height:100%;width:1px}.sv-pagination-content{--sv-color:var(--sv-primary);align-self:center;display:flex;justify-content:center;position:relative}.sv-pagination-content.notMargin .sv-pagination__dotted{background:-color("gray-3");margin:0}.sv-pagination-content.notMargin .sv-pagination__arrow{border-radius:0;margin:0!important}.sv-pagination-content.notMargin .sv-pagination__arrow:first-of-type{border-radius:12px 0 0 12px}.sv-pagination-content.notMargin .sv-pagination__arrow:last-of-type{border-radius:0 12px 12px 0}.sv-pagination-content.notMargin .sv-pagination__button{border-radius:0;margin:0!important}.sv-pagination-content.disabled{opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-pagination-content.square .sv-pagination__active,.sv-pagination-content.square .sv-pagination__arrow,.sv-pagination-content.square .sv-pagination__button{border-radius:0}.sv-pagination-content.circle .sv-pagination__active,.sv-pagination-content.circle .sv-pagination__arrow,.sv-pagination-content.circle .sv-pagination__button{border-radius:50%}.sv-pagination-content.buttonsDotted .sv-pagination__arrow{background:transparent;height:12px;min-width:15px;padding:0;width:15px}.sv-pagination-content.buttonsDotted .sv-pagination__arrow i{height:6px;width:6px}.sv-pagination-content.buttonsDotted .sv-pagination__arrow i:before{width:1px}.sv-pagination-content.buttonsDotted .sv-pagination__arrow i:after{height:1px}.sv-pagination-content.buttonsDotted .sv-pagination__dotted{font-size:.9rem;height:12px;letter-spacing:1px;width:12px}.sv-pagination-content.buttonsDotted .sv-pagination__button{height:12px;width:12px}.sv-pagination-content.buttonsDotted .sv-pagination__button.active{transform:scale(1)}.sv-pagination-content.buttonsDotted .sv-pagination__active{box-shadow:0 2px 10px 0 -color("color",.4);height:12px;transform:scale(1);width:12px}.sv-pagination-content.buttonsDotted .sv-pagination__active.move{transform:scale(1.2)}.sv-pagination{align-self:center;display:flex;justify-content:center;position:relative}.sv-pagination__progress{background:-color("gray-3");border-radius:10px;bottom:-8px;height:3px;position:absolute;width:calc(100% - 16px)}.sv-pagination__progress .progress{background:-color("color",1);border-radius:inherit;height:100%;max-width:100%;position:relative;transition:all .25s ease;width:0}.sv-pagination__slot{display:block;min-height:36px}.sv-pagination__arrow,.sv-pagination__slot{align-items:center;display:flex;justify-content:center;min-width:36px;position:relative}.sv-pagination__arrow{background:-color("gray-3");border:0;border-radius:12px;height:36px;margin:0 2px;transition:all .25s ease;width:auto}.sv-pagination__arrow:disabled{opacity:.4;pointer-events:none}.sv-pagination__arrow:hover{background:-color("gray-4")}.sv-pagination__arrow i{display:block;height:10px;margin-left:4px;position:relative;transform:rotate(-45deg) scale(.8);width:10px}.sv-pagination__arrow i:before{width:2px}.sv-pagination__arrow i:after{height:2px}.sv-pagination__arrow.next i{margin-left:-4px;transform:rotate(135deg) scale(.8)}.sv-pagination__active{align-items:center;background:-color("color");border-radius:12px;box-shadow:0 5px 20px 0 -color("color",.3);color:#fff;cursor:default;display:flex;font-size:.9rem;height:36px;justify-content:center;left:50%;position:absolute;top:0;transition:all .25s ease;width:36px;z-index:100}.sv-pagination__active.move{transform:scale(1.1)}.sv-pagination__dotted{align-items:center;cursor:pointer;display:flex;font-size:1.4rem;height:36px;justify-content:center;letter-spacing:2px;margin:0 2px;position:relative;width:36px}.sv-pagination__dotted:hover span.dotted{margin-left:-1px;opacity:0;transition:all .25s ease}.sv-pagination__dotted:hover .con-arrows{margin-left:-1px;opacity:1;transition:all .25s ease}.sv-pagination__dotted.next:hover span.dotted{margin-left:1px;opacity:0;transition:all .25s ease}.sv-pagination__dotted.next:hover .con-arrows{margin-left:1px;opacity:1;transition:all .25s ease}.sv-pagination__dotted span.dotted{margin-right:-2px;text-align:center}.sv-pagination__dotted.next .con-arrows{margin-left:-5px;transform:rotate(180deg)}.sv-pagination__dotted .con-arrows{align-items:center;display:flex;height:10px;justify-content:center;margin-left:5px;opacity:0;position:absolute;transition:all .1s ease;width:10px}.sv-pagination__dotted .con-arrows i{display:block;height:10px;position:relative;transform:rotate(-45deg) scale(.8);width:10px}.sv-pagination__dotted .con-arrows i:before{width:2px}.sv-pagination__dotted .con-arrows i:after{height:2px}.sv-pagination__dotted .con-arrows i:last-child{margin-left:6px;position:absolute;top:0}.sv-pagination__button{align-items:center;background:-color("gray-3");border:0;border-radius:12px;color:-color("text");display:flex;font-size:.9rem;height:36px;justify-content:center;margin:0 2px;padding:0;position:relative;transition:all .25s ease;width:36px}.sv-pagination__button.loading{border-radius:50%;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-pagination__button.loading:after{animation:loadingPagination .6s ease infinite;border:2px solid -color("background",0);border-radius:50%;border-right-color:-color("color",1)}.sv-pagination__button.loading:after,.sv-pagination__button.loading:before{box-shadow:0 0 0 0 -color("color",1);box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:all .25s ease;width:100%}.sv-pagination__button.loading:before{animation:loadingPagination .6s linear infinite;border:2px solid -color("background",0);border-radius:50%;border-right:2px dashed -color("color",1)}.sv-pagination__button.disabled{opacity:.4;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-pagination__button:hover{background:-color("gray-4")}.sv-pagination__button:active{transform:scale(.9)}@keyframes loadingPagination{0%{transform:rotate(0)}to{transform:rotate(1turn)}}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svRadio=t(require("vue")):e.svRadio=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}function c(e,t,r){return(t=l(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o.d(n,{default:()=>g});var s=o(594);const i=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),u=e=>{const t=/^(rgb|rgba)/.test(e),r=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),o=/^(#)/.test(e);let n;if(t){const t=e.replace(/[rgba()]/g,"").split(",");n=`${t[0]},${t[1]},${t[2]}`}else if(o){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,r,o)=>t+t+r+r+o+o);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);n=`${t.r},${t.g},${t.b}`}else if(i(e)){n=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else r&&(n=e);return n};function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const f={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function y(e){const t=(0,s.reactive)({componentColor:null,getColor:null});t.getColor=u(e&&e.color?e.color:null);const r=(0,s.computed)(()=>e&&("dark"===e.color||e.dark||"dark"===t.componentColor)),o=(0,s.computed)(()=>e&&(!!e.color||!!e.primary||!!e.success||!!e.warn||!!e.danger||!!e.dark));try{const e=(0,s.getCurrentInstance)();e&&e.proxy&&(e.proxy.getColor=t.getColor)}catch(e){}return p(p({},t),{},{isColorDark:r,isColor:o})}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const m=(0,s.defineComponent)({name:"SvRadio",props:v(v({},f),{},{value:{},val:{},name:{type:String,default:null},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},labelBefore:{type:Boolean,default:!1}}),setup(e,{emit:t,slots:r}){const o=(0,s.getCurrentInstance)(),n=o?`vs-${o.uid}`:`vs-${Math.random().toString(36).slice(2)}`,{getColor:a}=y(e),l=(0,s.computed)(()=>e.value==e.val);return()=>{const o=(0,s.h)("input",{type:"radio",id:n,value:e.val,name:e.name||String(e.value),checked:l.value,onInput:()=>t("input",e.val)}),c=(0,s.h)("span",{class:"sv-radio__effect"},[(0,s.h)("span",{class:"sv-radio__effect__icon"},[r.icon?r.icon():null]),(0,s.h)("span",{class:"sv-radio__effect__loading"})]),i=(0,s.h)("label",{class:"sv-radio__label",for:n},[r.default?r.default():null]),u=(0,s.h)("div",{class:"sv-radio"},[o,c]);return(0,s.h)("div",{class:["sv-radio-content",{disabled:e.disabled,loading:e.loading,active:l.value},{"sv-component--primary":!(e.danger||e.success||e.warn||e.dark||e.color)},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark}],style:{"--sv-color":e.color?a:""}},[e.labelBefore&&i,u,!e.labelBefore&&i])}}});m.install=e=>{e.component("SvRadio",m)};const g=m;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-radio-content{--sv-color:var(--sv-primary);align-items:center;display:flex;justify-content:center;position:relative}.sv-radio-content.active .sv-radio__effect__icon{opacity:0;transform:scale(1.3);transition:all .25s ease}.sv-radio-content.active .sv-radio__effect:after{border:7px solid -color("color",1);box-shadow:0 3px 12px 0 -color("color",.3)}.sv-radio-content:not(.active) .sv-radio input:hover~.sv-radio__effect .sv-radio__effect__icon{opacity:.7}.sv-radio-content:not(.active) .sv-radio input:hover~.sv-radio__effect:after{border:2px solid -color("text",.2)}.sv-radio-content.loading{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-radio-content.loading .sv-radio__effect:after{opacity:.1}.sv-radio-content.loading .sv-radio__effect__loading{border-radius:inherit;height:100%;position:absolute;width:100%}.sv-radio-content.loading .sv-radio__effect__loading:after{animation:loadingRadio .6s ease infinite;border:2px solid -color("text",0);border-radius:inherit;border-right-color:-color("text",.4)}.sv-radio-content.loading .sv-radio__effect__loading:after,.sv-radio-content.loading .sv-radio__effect__loading:before{box-shadow:0 0 0 0 -color("color",.4);box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:all .25s ease;width:100%}.sv-radio-content.loading .sv-radio__effect__loading:before{animation:loadingRadio .6s linear infinite;border:2px solid -color("text",0);border-radius:inherit;border-right:2px dashed -color("text",.4)}.sv-radio-content label{cursor:pointer}.sv-radio-content.disabled{opacity:.5;pointer-events:none}.sv-radio-content.disabled .sv-radio__effect{background:-color("gray-3")}.sv-radio-content.disabled label{pointer-events:none}.sv-radio{border-radius:50%;height:20px;margin:0;min-height:20px;min-width:20px;padding:0;position:relative;width:20px;z-index:10}.sv-radio__label{margin:0 6px}.sv-radio__effect{align-items:center;border-radius:inherit;box-sizing:border-box;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:10}.sv-radio__effect,.sv-radio__effect__icon{transition:all .25s ease}.sv-radio__effect__icon i{font-size:.75rem}.sv-radio__effect:after{border:2px solid -color("text",.4);border-radius:inherit;box-shadow:0 0 0 0 -color("color",.4);box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:all .25s ease;width:100%}.sv-radio input{cursor:pointer;height:100%;margin:0;opacity:0;padding:0;position:relative;width:100%;z-index:100}.sv-radio input:active~.sv-radio__effect:after{transform:scale(.9)}@keyframes loadingRadio{0%{transform:rotate(0)}to{transform:rotate(1turn)}}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svSelect=t(require("vue")):e.svSelect=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},l={};function a(e){var r=l[e];if(void 0!==r)return r.exports;var o=l[e]={exports:{}};return t[e](o,o.exports,a),o.exports}a.d=(e,t)=>{for(var l in t)a.o(t,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var l=e[Symbol.toPrimitive];if(void 0!==l){var a=l.call(e,t||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function u(e,t,l){return(t=n(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}a.d(r,{default:()=>O});var s=a(594);function i(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),l.push.apply(l,a)}return l}const c=(0,s.defineComponent)({name:"VsIconArrow",props:{less:{type:Boolean,default:!1}},setup:(e,{attrs:t})=>()=>(0,s.h)("i",function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?i(Object(l),!0).forEach(function(t){u(e,t,l[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):i(Object(l)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))})}return e}({class:["sv-icon-arrow",{less:e.less}]},t))});function v(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),l.push.apply(l,a)}return l}const p=(0,s.defineComponent)({name:"VsIconClose",props:{hover:{type:[String,Boolean],default:null}},setup:(e,{attrs:t})=>()=>(0,s.h)("i",function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?v(Object(l),!0).forEach(function(t){u(e,t,l[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):v(Object(l)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))})}return e}({class:["sv-icon-close",e.hover?`sv-icon-hover-${e.hover}`:""]},t))}),f=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),d=e=>{const t=/^(rgb|rgba)/.test(e),l=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),a=/^(#)/.test(e);let r;if(t){const t=e.replace(/[rgba()]/g,"").split(",");r=`${t[0]},${t[1]},${t[2]}`}else if(a){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,l,a)=>t+t+l+l+a+a);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);r=`${t.r},${t.g},${t.b}`}else if(f(e)){r=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else l&&(r=e);return r},y=(e,t)=>{const l=t.getBoundingClientRect(),a=l.x,r=l.y,o=l.width,n=l.height,u=e.style,s=window.pageYOffset,i=e.clientHeight+l.y+s;s+window.innerHeight-i<30?(u.top=r+s-e.clientHeight-4+"px",u.left=`${a}px`,u.width=`${o}px`,e.classList.add("top"),t.classList.add("top")):(u.top=r+s+n-4+"px",u.left=`${a}px`,u.width=`${o}px`,e.classList.remove("top"),t.classList.remove("top"))};const b={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function h(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),l.push.apply(l,a)}return l}function m(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?h(Object(l),!0).forEach(function(t){u(e,t,l[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):h(Object(l)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))})}return e}const g=(0,s.defineComponent)({name:"SvSelect",props:m(m({},b),{},{value:{default:null},multiple:{type:Boolean,default:!1},filter:{type:Boolean,default:!1},placeholder:{type:String,default:""},labelPlaceholder:{type:String,default:""},label:{type:String,default:""},disabled:{type:Boolean,default:!1},collapseChips:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},state:{type:String,default:null},block:{type:Boolean,default:!1}}),emits:["input","change","blur","focus"],setup(e,{slots:t,attrs:l,emit:a}){const r=(0,s.ref)(!1),o=(0,s.ref)(!1),n=(0,s.ref)(null),u=(0,s.ref)(-1),i=(0,s.ref)([]),v=(0,s.ref)([]),f=(0,s.ref)(!1),b=(0,s.ref)(!1),h=(0,s.ref)(!1),m=(0,s.ref)(!1),g=(0,s.ref)(""),O=((0,s.ref)(0),(0,s.ref)(null)),w=(0,s.ref)(null),_=(0,s.ref)(null),j=(0,s.ref)(null),P=(0,s.ref)(null),x=(0,s.ref)(null),S=(0,s.ref)(null),k=(0,s.getCurrentInstance)(),B=k?k.uid:Math.random().toString(36).slice(2),$=()=>{const e=w.value;e&&(((e,t)=>{const l=t||document.body;l.insertBefore(e,l.lastChild)})(e,document.body),y(e,O.value))},E=(t,l)=>{if(e.multiple){const l=Array.isArray(e.value)?[...e.value]:[],r=l.indexOf(t);-1===r?l.push(t):l.splice(r,1),a("input",l)}else a("input",t),n.value=l;setTimeout(()=>{e.multiple&&o.value&&P.value&&P.value.focus()},10),e.multiple||A()},D=()=>{const t=v.value.filter(t=>"number"==typeof e.value?e.value==t.value:Array.isArray(e.value)&&-1!==e.value.indexOf(t.value)),l=[];t.forEach(e=>{l.push({label:e.label,value:e.value})}),Array.isArray(e.value)&&l.sort((t,l)=>e.value.indexOf(t.value)-e.value.indexOf(l.value)),n.value=l},T=()=>{const e=n.value,t=[];return Array.isArray(e)?(e.forEach(e=>t.push(e.label)),t):e},A=t=>{e.multiple&&t&&t.relatedTarget&&b.value&&(f.value||o.value)||(o.value=!1),e.filter&&(m.value=!1),a("blur")},C=t=>{const l=w.value;if((0,s.nextTick)(()=>{l&&O.value&&y(l,O.value)}),"ArrowDown"==t.code)t.preventDefault(),u.value<v.value.length-1?u.value++:u.value=0;else if("ArrowUp"==t.code)t.preventDefault(),u.value>0?u.value--:u.value=v.value.length-1;else if("Enter"==t.code&&(t.preventDefault(),-1!==u.value)){const t=v.value[u.value];t.disabled||(E(t.value,t.label),!e.multiple&&j.value&&(A(),j.value.blur()))}if(-1!==u.value&&_.value){const e=v.value[u.value],t=e&&e.$el;t&&_.value&&(_.value.scrollTop=t.offsetTop-66)}},L=()=>{const e=t.default?t.default():[],l=[];return e.forEach(e=>{e&&e.type&&l.push(e)}),0==l.length},I=t=>{b.value||A(),e.filter&&!o.value&&(m.value=!1),t.target==j.value&&o.value&&!e.filter&&(A(),setTimeout(()=>{j.value&&j.value.blur()},100))},M=()=>{const e=w.value;e&&(0,s.nextTick)(()=>{e&&O.value&&y(e,O.value)})},H=()=>{const e=w.value;e&&O.value&&y(e,O.value)},N=e=>{e.style.height="0"},V=(e,t)=>{const l=e.scrollHeight;e.style.height=l-1+"px",t()},z=e=>{e.style.minHeight="0px",e.style.height="0px"};(0,s.watch)(g,e=>{e?S.value&&(S.value.style.transition="0s"):S.value&&(S.value.style.transition="")}),(0,s.watch)(()=>e.value,t=>{D(),setTimeout(()=>a("change",t),10),e.multiple&&(0,s.nextTick)(()=>{if(P.value&&j.value){const e=P.value.scrollHeight;j.value.style.height=`${e}px`;const t=w.value;o.value&&t&&O.value&&(0,s.nextTick)(()=>y(t,O.value))}}),t?S.value&&(S.value.style.transition="0s"):S.value&&(S.value.style.transition="")},{immediate:!0}),(0,s.watch)(o,e=>{(0,s.nextTick)(()=>{e&&$()}),i.value=[]}),(0,s.onMounted)(()=>{D(),r.value=!0,window.addEventListener("resize",M),window.addEventListener("scroll",H)}),(0,s.onBeforeUnmount)(()=>{A(),window.removeEventListener("resize",M),window.removeEventListener("scroll",H)});const F=e=>t&&t[`message-${e}`]?(0,s.h)("transition",{onBeforeEnter:N,onEnter:V,onLeave:z},[(0,s.h)("div",{class:["sv-select__message",`sv-select__message--${e}`]},t[`message-${e}`]())]):null,q=()=>{const t=(t,l)=>(0,s.h)("span",{class:"sv-select__chips__chip","data-value":t.value},[t.label,l?null:(0,s.h)("span",{class:"sv-select__chips__chip__close",onMouseenter:()=>{h.value=!0},onMouseleave:()=>{h.value=!1},onClick:()=>{setTimeout(()=>{h.value=!1},100),o.value||(P.value&&P.value.blur(),e.filter&&x.value&&x.value.blur()),E(t.value,t.label)}},[(0,s.h)(p,{hover:"less"})])]);let l=[];return Array.isArray(n.value)&&n.value.forEach(e=>l.push(t(e,!1))),e.collapseChips&&(l=[l[0],l.length>1&&t({label:"+"+(l.length-1),value:null},!0)]),l};return()=>{const l=(0,s.h)("div",{class:"sv-select__options__content",ref:_},[L()?(0,s.h)("div",{class:"sv-select__options__content__not-data"},[t.notData?t.notData():"No data available"]):null,t.default?t.default():null]),r=(0,s.h)("transition",{name:"sv-select"},[o.value?(0,s.h)("div",{class:["sv-select__options"],ref:w,style:{"--sv-color":e.color?d(e.color):""},onMouseleave:()=>{f.value=!1,b.value=!1},onMouseenter:()=>{f.value=!0,b.value=!0}},[l]):null]),n=(0,s.h)("input",{readonly:!e.filter,id:e.multiple?void 0:B,class:["sv-select__input",{multiple:e.multiple,simple:!e.multiple&&!e.filter}],ref:j,value:m.value?g.value:T(),onKeydown:C,onFocus:t=>{o.value=!0,a("focus",t),e.filter&&(m.value=!0),window.addEventListener("mousedown",I)},onInput:e=>{g.value=e.target.value}},t.default?t.default():null),u=(0,s.h)("button",{class:"sv-select__chips",ref:P,onKeydown:C,onFocus:t=>{h.value||(o.value=!0,a("focus",t)),e.filter&&e.multiple&&x.value&&x.value.focus()},onBlur:A},[...q(),e.filter?(0,s.h)("input",{class:"sv-select__chips__input",ref:x,placeholder:e.placeholder,id:B,value:g.value,onFocus:e=>{h.value||(o.value=!0,a("focus",e))},onBlur:A,onInput:e=>{g.value=e.target.value}}):null]),i=(0,s.h)(c,{onClick:()=>{o.value?o.value=!1:j.value&&j.value.focus()}}),v=(0,s.h)("label",{class:"sv-select__label",for:B,className:{"sv-select__label--placeholder":e.labelPlaceholder,"sv-select__label--label":e.label,"sv-select__label--hidden":!!e.value}},[e.labelPlaceholder||e.label]),p=(0,s.h)("label",{class:"sv-select__label",ref:S,for:B,className:{"sv-select__label--hidden":!!e.value||!!g.value}},[e.placeholder]),y=(0,s.h)("div",{class:"sv-select__loading"}),k=F("success"),$=F("danger"),E=F("warn"),D=F("primary"),M=(0,s.h)("div",{class:"sv-select",ref:O,className:{[`sv-select--state-${e.state}`]:!0,"sv-select--disabled":e.disabled,activeOptions:o.value,loading:e.loading},onMouseleave:e=>{e.relatedTarget!==w.value&&(b.value=!1,f.value=!1)},onMouseenter:()=>{b.value=!0}},[n,!e.multiple||e.label?v:null,e.multiple||e.labelPlaceholder?null:p,e.multiple?u:null,r,e.loading?y:null,i]);return(0,s.h)("div",{class:["sv-select-content",{block:e.block,"sv-component--primary":!(e.danger||e.success||e.warn||e.dark||e.color)}],style:{"--sv-color":e.color?d(e.color):""}},[M,k,$,E,D])}}});g.install=e=>{e.component("SvSelect",g)};const O=g;return r=r.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-icon-close{align-items:center;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-close:before{transform:rotate(-45deg)}.sv-icon-close:after,.sv-icon-close:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;transition:all .3s ease;width:16px}.sv-icon-close:after{transform:rotate(45deg)}.sv-icon-close.sv-icon-hover-less:hover:after,.sv-icon-close.sv-icon-hover-less:hover:before{transform:rotate(180deg);width:12px}.sv-icon-plus{align-items:center;cursor:pointer;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-plus:before{transform:rotate(0deg);transition:all .3s ease}.sv-icon-plus:after,.sv-icon-plus:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;width:14px}.sv-icon-plus:after{transform:rotate(90deg);transition:all .4s ease}.sv-icon-plus:hover:not(.less){transform:rotate(-90deg)}.sv-icon-plus.less:hover{transform:scale(.75)}.sv-icon-plus.less:after{transform:rotate(180deg)}.sv-icon-check{align-items:center;border-radius:inherit;display:flex;height:23px;justify-content:center;transition:all .25s ease;width:23px}.sv-icon-check span{display:block;height:13px;margin-top:-4px;position:relative;transform:rotate(45deg);width:8px}.sv-icon-check span .line1{background:transparent;border-radius:2px;border-radius:5px;bottom:0;content:"";height:2px;position:absolute;transition:all .2s ease;width:8px;z-index:100}.sv-icon-check span .line1:after{background:#fff;border-radius:5px 0 0 5px;content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-icon-check span .line2{background:transparent;border-radius:5px;bottom:0;content:"";height:13px;position:absolute;right:0;transition:all .2s ease;width:2px;z-index:100}.sv-icon-check span .line2:after{background:#fff;border-radius:5px 5px 0 0;bottom:0;content:"";height:0;position:absolute;transition:all .25s ease;width:2px}.sv-icon-check.active:before{width:8px}.sv-icon-check.active:after{width:4px}.sv-icon-check.indeterminate span{height:auto;margin:0;transform:rotate(0);width:auto}.sv-icon-check.indeterminate span:after{background:#fff;content:"";display:block;height:2px;position:relative;width:10px}.sv-icon-check.indeterminate span .line1{bottom:0;display:none;opacity:0;right:-1px;transform:rotate(-45deg)}.sv-icon-check.indeterminate span .line2{bottom:-.14rem!important;display:none;height:11px!important;right:0!important;transform:rotate(45deg)!important;transition:all .25s ease!important}.sv-icon-arrow{height:7px;pointer-events:none;transform:rotate(-135deg);transform-origin:center;transition:all .25s ease;width:7px}.sv-icon-arrow:after{height:1px;width:100%}.sv-icon-arrow:after,.sv-icon-arrow:before{background:-color("text");content:"";display:block;position:absolute;top:0}.sv-icon-arrow:before{height:100%;width:1px}.sv-select{--sv-color:var(--sv-primary)}.sv-select__options .sv-checkbox-content{--sv-color:inherit}.sv-select-enter,.sv-select-enter-active{transition:all .25s ease}.sv-select-enter{opacity:0;transform:translateY(-10px)}.sv-select-enter,.sv-select-enter:after{box-shadow:0 0 0 0 -rgba(0,0,0,-var(shadow-opacity))}.sv-select-enter:after{opacity:0!important}.sv-select-leave-active,.sv-select-leave-to{transition:all .25s ease}.sv-select-leave-to{box-shadow:0 0 0 0 -rgba(0,0,0,-var(shadow-opacity));opacity:0;transform:translateY(-10px)}.sv-select-leave-to.top{transform:translateY(10px)!important}.sv-select-leave-to:after{box-shadow:0 0 0 0 -rgba(0,0,0,-var(shadow-opacity));opacity:0!important}.sv-select-content{max-width:200px;width:100%}.sv-select-content.block.block{max-width:100%}.sv-select{align-items:center;display:flex;justify-content:center;min-height:38px;position:relative;width:100%}.sv-select--state-success .sv-select__input{background:-color("success",.05);color:-color("success",1)}.sv-select--state-success .sv-select__input:hover{color:-color("text",1)}.sv-select--state-success .sv-select__chips{background:-color("success",.05);color:-color("success",1)}.sv-select--state-success .sv-select__chips:hover:after{opacity:0}.sv-select--state-success .sv-select__chips:after{border:2px solid -color("success",.5);border-radius:inherit;content:"";height:calc(100% - 4px);left:0;position:absolute;top:0;transition:all .25s ease;width:calc(100% - 4px)}.sv-select--state-success .sv-select__label{color:-color("success",1)}.sv-select--state-success .sv-select__icon{background:-color("success",.1);box-shadow:-15px 10px 10px -10px -color("success",.1);color:-color("success",1)}.sv-select--state-success .sv-icon-arrow:after,.sv-select--state-success .sv-icon-arrow:before{background:-color("success",1)}.sv-select--state-danger .sv-select__input{background:-color("danger",.05);color:-color("danger",1)}.sv-select--state-danger .sv-select__input:hover{color:-color("text",1)}.sv-select--state-danger .sv-select__chips{background:-color("danger",.05);color:-color("danger",1)}.sv-select--state-danger .sv-select__chips:hover:after{opacity:0}.sv-select--state-danger .sv-select__chips:after{border:2px solid -color("danger",.5);border-radius:inherit;content:"";height:calc(100% - 4px);left:0;position:absolute;top:0;transition:all .25s ease;width:calc(100% - 4px)}.sv-select--state-danger .sv-select__label{color:-color("danger",1)}.sv-select--state-danger .sv-select__icon{background:-color("danger",.1);box-shadow:-15px 10px 10px -10px -color("danger",.1);color:-color("danger",1)}.sv-select--state-danger .sv-icon-arrow:after,.sv-select--state-danger .sv-icon-arrow:before{background:-color("danger",1)}.sv-select--state-warn .sv-select__input{background:-color("warn",.05);color:-color("warn",1)}.sv-select--state-warn .sv-select__input:hover{color:-color("text",1)}.sv-select--state-warn .sv-select__chips{background:-color("warn",.05);color:-color("warn",1)}.sv-select--state-warn .sv-select__chips:hover:after{opacity:0}.sv-select--state-warn .sv-select__chips:after{border:2px solid -color("warn",.5);border-radius:inherit;content:"";height:calc(100% - 4px);left:0;position:absolute;top:0;transition:all .25s ease;width:calc(100% - 4px)}.sv-select--state-warn .sv-select__label{color:-color("warn",1)}.sv-select--state-warn .sv-select__icon{background:-color("warn",.1);box-shadow:-15px 10px 10px -10px -color("warn",.1);color:-color("warn",1)}.sv-select--state-warn .sv-icon-arrow:after,.sv-select--state-warn .sv-icon-arrow:before{background:-color("warn",1)}.sv-select--state-dark .sv-select__input{background:-color("dark",.05);color:-color("dark",1)}.sv-select--state-dark .sv-select__input:hover{color:-color("text",1)}.sv-select--state-dark .sv-select__chips{background:-color("dark",.05);color:-color("dark",1)}.sv-select--state-dark .sv-select__chips:hover:after{opacity:0}.sv-select--state-dark .sv-select__chips:after{border:2px solid -color("dark",.5);border-radius:inherit;content:"";height:calc(100% - 4px);left:0;position:absolute;top:0;transition:all .25s ease;width:calc(100% - 4px)}.sv-select--state-dark .sv-select__label{color:-color("dark",1)}.sv-select--state-dark .sv-select__icon{background:-color("dark",.1);box-shadow:-15px 10px 10px -10px -color("dark",.1);color:-color("dark",1)}.sv-select--state-dark .sv-icon-arrow:after,.sv-select--state-dark .sv-icon-arrow:before{background:-color("dark",1)}.sv-select--state-primary .sv-select__input{background:-color("primary",.05);color:-color("primary",1)}.sv-select--state-primary .sv-select__input:hover{color:-color("text",1)}.sv-select--state-primary .sv-select__chips{background:-color("primary",.05);color:-color("primary",1)}.sv-select--state-primary .sv-select__chips:hover:after{opacity:0}.sv-select--state-primary .sv-select__chips:after{border:2px solid -color("primary",.5);border-radius:inherit;content:"";height:calc(100% - 4px);left:0;position:absolute;top:0;transition:all .25s ease;width:calc(100% - 4px)}.sv-select--state-primary .sv-select__label{color:-color("primary",1)}.sv-select--state-primary .sv-select__icon{background:-color("primary",.1);box-shadow:-15px 10px 10px -10px -color("primary",.1);color:-color("primary",1)}.sv-select--state-primary .sv-icon-arrow:after,.sv-select--state-primary .sv-icon-arrow:before{background:-color("primary",1)}.sv-select.loading{pointer-events:none}.sv-select.loading :not(.sv-select__loading):not(.sv-select__label){opacity:.6}.sv-select.loading .sv-select__label{pointer-events:none!important}.sv-select.top.activeOptions .sv-select__chips,.sv-select.top.activeOptions .sv-select__input{border-radius:0 0 12px 12px!important;box-shadow:0 -5px 25px -4px -rgba(0,0,0,-var(shadow-opacity))!important}.sv-select--disabled{opacity:.6;pointer-events:none}.sv-select--disabled label{pointer-events:none}.sv-select .sv-icon-arrow{cursor:pointer;margin-top:-2px;pointer-events:auto;position:absolute;right:15px;transition:all .25s ease;z-index:600}.sv-select.activeOptions .sv-icon-arrow{margin-top:-2px!important;transform:rotate(45deg)}.sv-select.activeOptions .sv-select__input{border:2px solid transparent;border-radius:12px 12px 0 0;color:-color("text",1)}.sv-select.activeOptions .sv-select__chips,.sv-select.activeOptions .sv-select__input{background:-color("background");box-shadow:0 5px 25px -4px -rgba(0,0,0,-var(shadow-opacity));transform:translateY(-4px);transition:all .25s ease,height 0s}.sv-select.activeOptions .sv-select__chips{border-radius:12px 12px 0 0}.sv-select.activeOptions .sv-select__chips:after{opacity:0}.sv-select.activeOptions .sv-select__label--placeholder{font-size:.75rem;margin-top:0!important;opacity:1;pointer-events:auto;transform:translate(-3%,-28px)!important;visibility:visible}.sv-select.activeOptions .sv-select__label{margin-top:-4px}.sv-select__input{background:transparent;background:-color("gray-2");border:2px solid transparent;border-radius:12px;color:-color("text");cursor:pointer;min-height:38px;opacity:1;padding:7px 30px 7px 13px;transition:all .25s ease,height 0s;width:100%}.sv-select__input.multiple{background:transparent;color:transparent;pointer-events:none}.sv-select__input.simple{-webkit-user-select:none;-moz-user-select:none;user-select:none}.sv-select__input:focus{background:-color("background");border-radius:12px 12px 0 0;box-shadow:0 5px 25px -4px -rgba(0,0,0,-var(shadow-opacity));transform:translateY(-4px);transition:all .25s ease}.sv-select__input:focus~.sv-select__label--placeholder{font-size:.75rem;margin-top:0!important;opacity:1;pointer-events:auto;transform:translate(-3%,-28px)!important;visibility:visible}.sv-select__input:hover{background:-color("background");box-shadow:0 5px 25px -4px -rgba(0,0,0,-var(shadow-opacity));transform:translateY(-4px)}.sv-select__input:hover~.sv-select__label{margin-top:-4px}.sv-select__input:hover~.sv-icon-arrow{margin-top:-6px}.sv-select__chips{align-items:flex-start;background:-color("gray-2");border:0;border-radius:12px;display:flex;flex-wrap:wrap;height:auto;justify-content:flex-start;left:0;min-height:38px;padding:5px 26px 5px 5px;position:absolute;transition:all .25s ease,height 0s;width:100%;z-index:300}.sv-select__chips:focus{border-radius:12px 12px 0 0}.sv-select__chips:focus,.sv-select__chips:hover{background:-color("background");box-shadow:0 5px 25px -4px -rgba(0,0,0,-var(shadow-opacity));transform:translateY(-4px);transition:all .25s ease}.sv-select__chips:hover~.sv-icon-arrow{margin-top:-6px;transition:all .25s ease}.sv-select__chips__input{background:transparent;border:0 solid transparent;flex:1;margin:2px 3px;max-width:100%;min-width:0;min-width:30px;position:relative;width:auto}.sv-select__chips__input::-moz-placeholder{color:-color("text",.4)}.sv-select__chips__input::placeholder{color:-color("text",.4)}.sv-select__chips__chip{align-items:center;background:-color("background");border:2px solid -color("gray-2");border-radius:10px;box-sizing:border-box;color:-color("text");display:flex;flex:0 1 auto;font-size:.84rem;justify-content:center;margin:2px 3px;padding:0 10px 0 6px;position:relative}.sv-select__chips__chip.isCollapse{padding-right:6px!important}.sv-select__chips__chip__close{align-items:center;background:-color("gray-4");border-radius:50%;cursor:pointer;display:flex;font-size:.75rem;height:15px;justify-content:center;position:absolute;right:-4px;top:-4px;transition:all .25s ease;width:15px}.sv-select__chips__chip__close:hover{background:-color("danger")}.sv-select__chips__chip__close:hover .sv-icon-close{--sv-color:var(--sv-background)}.sv-select__chips__chip__close:hover .sv-icon-close:after,.sv-select__chips__chip__close:hover .sv-icon-close:before{transform:rotate(180deg);width:12px}.sv-select__chips__chip__close .sv-icon-close{--sv-color:var(--sv-text);transform:scale(.5)}.sv-select__options{--sv-color:var(--sv-primary);background:-color("background");border-radius:0 0 12px 12px;box-shadow:0 10px 20px -5px -rgba(0,0,0,-var(shadow-opacity));overflow:hidden;padding:5px;position:absolute;z-index:99999}.sv-select__options.top{border-radius:12px 12px 0 0;box-shadow:0 -10px 20px -5px -rgba(0,0,0,-var(shadow-opacity))}.sv-select__options.top:after{bottom:-10px;top:auto}.sv-select__options:after{background:-color("background");box-shadow:0 0 20px 0 -rgba(0,0,0,-var(shadow-opacity));content:"";height:10px;left:0;margin-left:10%;opacity:1;position:absolute;top:-10px;transition:all .25s ease .05s;width:80%;z-index:200}.sv-select__options__content{height:auto;max-height:200px;overflow:auto;position:relative;scroll-behavior:smooth;transform:scale(1);transition:all .25s ease;z-index:100}.sv-select__options__content__not-data{font-size:.8rem;padding:6px 10px;text-align:center}.sv-select__options__content::-webkit-scrollbar{background:transparent;display:block;height:5px;width:5px}.sv-select__options__content::-webkit-scrollbar-thumb{background:-color("gray-3");border-radius:5px}.sv-select__label{align-items:center;cursor:text;display:flex;font-size:.8rem;justify-content:flex-start;left:14px;opacity:.4;pointer-events:none;position:absolute;transition:all .25s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:500}.sv-select__label--hidden{opacity:0;visibility:hidden}.sv-select__label--hidden.sv-select__label--placeholder,.sv-select__label--label{font-size:.75rem;margin-top:0!important;opacity:1;pointer-events:auto;transform:translate(-3%,-28px)!important;visibility:visible}.sv-select__loading{background:inherit;border-radius:50%;box-sizing:border-box;cursor:default;height:22px;pointer-events:none;position:absolute;right:7px;width:22px;z-index:600}.sv-select__loading:after{animation:rotateInputLoading .8s ease infinite;border:2px solid transparent;border-bottom-color:-color("primary",1);border-radius:inherit}.sv-select__loading:after,.sv-select__loading:before{box-sizing:border-box;content:"";height:100%;position:absolute;top:0;width:100%}.sv-select__loading:before{animation:rotateInputLoading .8s linear infinite;border:2px solid transparent;border-bottom:2px dashed -color("primary",1);border-radius:inherit;opacity:.2}.sv-select__loading~.sv-icon-arrow{opacity:0!important}.sv-select__message{font-size:.7rem;overflow:hidden;padding:0 7px;position:relative;transition:all .25s ease}.sv-select__message--success{color:-color("success",1)}.sv-select__message--danger{color:-color("danger",1)}.sv-select__message--warn{color:-color("warn",1)}.sv-select__message--dark{color:-color("dark",1)}.sv-select__message--primary{color:-color("primary",1)}.sv-darken .sv-select__options.isColorDark{--sv-color:0,0,0!important}.sv-darken .sv-select__options.isColorDark .sv-select__option:hover{background:-color("color",.2);color:-color("text")}.sv-darken .sv-select__options.isColorDark .activeOption{background:-color("color",.6);color:-color("text")}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svSidebar=t(require("vue")):e.svSidebar=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}function s(e,t,o){return(t=l(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}r.d(n,{default:()=>b});var c=r(594);const d=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),u=(e,t,o)=>{o?"#comment"!==o.nodeName&&o.style.setProperty(`--sv-${e}`,t):document.documentElement.style.setProperty(`--sv-${e}`,t)},i=(e,t,o,r)=>{const n=/^(rgb|rgba)/.test(t),a=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(t),l=/^(#)/.test(t);let s;if("dark"==t&&o&&r&&o.classList.add("sv-component-dark"),n){const n=t.replace(/[rgba()]/g,"").split(",");s=`${n[0]},${n[1]},${n[2]}`,u(e,s,o),r&&o.classList.add("vs-change-color")}else if(l){const n=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,o,r)=>t+t+o+o+r+r);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(t);s=`${n.r},${n.g},${n.b}`,u(e,s,o),r&&o.classList.add("vs-change-color")}else if(d(t)){s=window.getComputedStyle(document.body).getPropertyValue("--sv-"+t),u(e,s,o),r&&o.classList.add("vs-change-color")}else a&&(u(e,t,o),r&&o.classList.add("vs-change-color"))};const p={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)}return o}function v(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach(function(t){s(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}const y=(0,c.defineComponent)({name:"SvSidebar",props:v(v({},p),{},{value:{},reduce:{type:Boolean,default:!1},hoverExpand:{type:Boolean,default:!1},open:{type:Boolean,default:!1},notLineActive:{type:Boolean,default:!1},square:{type:Boolean,default:!1},textWhite:{type:Boolean,default:!1},notShadow:{type:Boolean,default:!1},relative:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1},right:{type:Boolean,default:!1},background:{type:String,default:"background"}}),setup(e,{emit:t,slots:o,attrs:r}){const n=(0,c.ref)(null),a=(0,c.ref)(260),l=((0,c.ref)(!1),(0,c.ref)(e.reduce)),s=(0,c.getCurrentInstance)(),d=s&&s.proxy.getColor,u=e=>{e.target.closest(".sv-sidebar-content")||t("update:open",!1)};(0,c.watch)(()=>e.open,e=>{e?setTimeout(()=>{window.addEventListener("click",u)},200):window.removeEventListener("click",u)}),(0,c.watch)(()=>e.reduce,e=>{l.value=e;const t=n.value;t&&(t.style.width=e?"50px":`${a.value}px`)}),(0,c.watch)(()=>l.value,e=>{const t=n.value;t&&(t.style.width=e?"50px":`${a.value}px`)}),(0,c.watch)(()=>e.background,()=>{const t=n.value;t&&i("background",e.background,t,!0)});return(0,c.onMounted)(()=>{const t=n.value;t&&(a.value=t.offsetWidth),l.value=e.reduce,"background"!==e.background&&t&&i("background",e.background,t,!0),e.textWhite&&t&&i("text","#fff",t,!0)}),(0,c.onBeforeUnmount)(()=>{window.removeEventListener("click",u)}),()=>{const t=(0,c.h)("div",{class:"sv-sidebar__logo"},[o.logo?o.logo():null]),a=(0,c.h)("div",{class:"sv-sidebar__header"},[o.header?o.header():null]),s=(0,c.h)("div",{class:"sv-sidebar__footer"},[o.footer?o.footer():null]),u=(0,c.h)("div",{class:"sv-sidebar"},[o.default?o.default():null]);return(0,c.h)("div",v({ref:n,class:["sv-sidebar-content",{reduce:l.value,open:e.open,notLineActive:e.notLineActive,square:e.square,notShadow:e.notShadow,textWhite:e.textWhite,relative:e.relative,absolute:e.absolute,right:e.right},{"sv-component--primary":!!e.primary},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark},{"sv-component--is-color":!!e.color}],style:{"--sv-color":e.color?d:""},onMouseenter:()=>{e.hoverExpand&&(l.value=!1)},onMouseleave:()=>{e.hoverExpand&&(l.value=!0)}},r),[o.logo?t:null,o.header?a:null,u,o.footer?s:null])}}});y.install=e=>{e.component("SvSidebar",y)};const b=y;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-sidebar-content{--sv-color:var(--sv-primary)}@keyframes delayOpacity{0%{opacity:0}to{opacity:1}}.sv-sidebar-content{align-items:flex-start;background:-color("background");border-radius:0 30px 30px 0;box-shadow:0 0 25px 0 -rgba(0,0,0,-var("shadow-opacity"));color:-color("text");display:flex;flex-direction:column;height:100vh;justify-content:space-between;left:0;max-width:260px;position:fixed;top:0;transform:translate(-110%);transition:all .25s ease;width:calc(100% - 50px);z-index:21000}.sv-sidebar-content.right{left:auto;right:0;transform:translate(110%)}.sv-sidebar-content.right.open{transform:translate(0)}.sv-sidebar-content.right.reduce .sv-sidebar__item:hover .sv-sidebar__item__text-tooltip{left:auto!important;opacity:1;right:60px!important}.sv-sidebar-content.absolute{height:100%;position:absolute!important;z-index:9001}.sv-sidebar-content.relative{height:100%;position:relative!important;z-index:9001}.sv-sidebar-content.textWhite .sv-sidebar__group__content:after{background:hsla(0,0%,100%,.4)}.sv-sidebar-content.textWhite .sv-sidebar__item:after{background:#fff!important}.sv-sidebar-content.textWhite .sv-sidebar__item.active{color:#fff!important}.sv-sidebar-content.notShadow{box-shadow:none!important}.sv-sidebar-content.square{border-radius:0}.sv-sidebar-content.notLineActive .sv-sidebar .sv-sidebar__item:after{display:none}.sv-sidebar-content.open{transform:translate(0)}.sv-sidebar-content.reduce .sv-sidebar__footer{padding:10px 0}.sv-sidebar-content.reduce .sv-sidebar__header .sv-avatar-content{height:44px!important;width:44px!important}.sv-sidebar-content.reduce .sv-sidebar__logo img{width:80%}.sv-sidebar-content.reduce .sv-sidebar__item{min-height:47px;padding-left:16px!important}.sv-sidebar-content.reduce .sv-sidebar__item:not(.hasIcon) .sv-sidebar__item__text{font-size:.5rem}.sv-sidebar-content.reduce .sv-sidebar__item.hasIcon .sv-sidebar__item__text{margin-left:-50px;transform:translate(-10px)}.sv-sidebar-content.reduce .sv-sidebar__item__arrow{animation:delayOpacity .6s ease;height:5px;left:36px;position:absolute;top:10px;width:5px}.sv-sidebar-content.reduce .sv-sidebar__item:hover .sv-sidebar__item__text-tooltip{left:60px;opacity:1}.sv-sidebar-content.reduce .sv-sidebar__item.hasIcon{padding:0!important}.sv-sidebar-content.reduce .sv-sidebar__item.hasIcon:after{left:-6px}.sv-sidebar-content .sv-sidebar__logo{align-items:center;display:flex;justify-content:center;min-height:80px;padding:25px 0;width:100%}.sv-sidebar-content .sv-sidebar__logo img{max-height:35px;max-width:120px}.sv-sidebar-content .sv-sidebar{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start;overflow-x:hidden;width:100%}.sv-sidebar-content .sv-sidebar::-webkit-scrollbar{width:0}.sv-sidebar-content .sv-sidebar__header{align-items:center;display:flex;justify-content:center;padding:10px;width:100%}.sv-sidebar-content .sv-sidebar__footer{align-items:center;display:flex;justify-self:flex-start;padding:10px;width:100%}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svSidebarGroup=t(require("vue")):e.svSidebarGroup=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};r.d(n,{default:()=>u});var s=r(594);const l=(0,s.defineComponent)({name:"SvSidebarGroup",props:{open:{type:Boolean,default:!1}},setup(e,{slots:t}){const o=(0,s.ref)(!1),r=(0,s.ref)(null),n=(0,s.getCurrentInstance)(),l=n&&n.proxy?n.proxy.$parent:null,u=e=>{(0,s.nextTick)(()=>{const t=r.value?.scrollHeight||0;if(l&&l.group)try{const o=l.$refs.content;o.style.height=e?o.scrollHeight+t-1+"px":o.scrollHeight-t+1+"px"}catch(e){}})};e.open&&u(e.open);const p=e=>{e.style.height="0"},a=(e,t)=>{const o=e.scrollHeight;e.style.height=o-1+"px",t()},i=(e,t)=>{e.style.minHeight="0px",e.style.height="0px",t()};return(0,s.onMounted)(()=>{const t=n&&n.proxy?n.proxy.$el:null;(t&&t.querySelector(".active")||e.open)&&(o.value=!0)}),()=>{const e=(0,s.h)("div",{class:"sv-sidebar__group__header",onClick:()=>{o.value=!o.value,u(o.value)}},[t.header?t.header():null]),n=(0,s.h)("div",{class:"sv-sidebar__group__content",ref:r},[t.default?t.default():null]),l=(0,s.h)("transition",{onBeforeEnter:p,onEnter:a,onLeave:i},[o.value?n:null]);return(0,s.h)("div",{class:["sv-sidebar__group",{open:o.value}]},[e,l])}}});l.install=e=>{e.component("SvSidebarGroup",l)};const u=l;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-sidebar__group{min-width:260px;padding:0;position:relative;width:100%}.sv-sidebar__group.open .sv-sidebar__group__content:after{opacity:1;transform:translate(0)}.sv-sidebar__group.open>.sv-sidebar__group__header .sv-sidebar__item{opacity:1}.sv-sidebar__group.open>.sv-sidebar__group__header .sv-sidebar__item__arrow{transform:rotate(45deg)!important}.sv-sidebar__group__header{align-items:center;display:flex;justify-content:center}.sv-sidebar__group__content{overflow:hidden;position:relative;transition:all .25s ease}.sv-sidebar__group__content:after{background:-color("color",.3);border-radius:0 10px 10px 0;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transform:translate(-100%);transition:all .25s ease;width:4px;z-index:60}.sv-sidebar__group__content .sv-sidebar__item{background:-color("background")}.sv-sidebar__group>.sv-sidebar__group__header .sv-sidebar__item:hover{padding-left:0}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svSidebarItem=t(require("vue")):e.svSidebarItem=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};o.d(n,{default:()=>p});var i=o(594);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}function l(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}const c=(0,i.defineComponent)({name:"VsIconArrow",props:{less:{type:Boolean,default:!1}},setup:(e,{attrs:t})=>()=>(0,i.h)("i",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({class:["sv-icon-arrow",{less:e.less}]},t))}),f=(0,i.defineComponent)({name:"SvSidebarItem",props:{to:{type:String,default:void 0},href:{type:String,default:void 0},target:{type:String,default:"_blank"},value:{type:String,default:void 0},id:{type:String,default:void 0},arrow:{type:Boolean,default:!1}},setup(e,{slots:t}){const r=(0,i.getCurrentInstance)(),o=r&&r.proxy?r.proxy.$parent:null,n=r&&r.proxy?r.proxy.$router:null;return()=>{const r=(0,i.h)("div",{class:"sv-sidebar__item__icon"},[t.icon?t.icon():null]),u=(0,i.h)("div",{class:"sv-sidebar__item__text-tooltip"},[t.default?t.default():null]),a=(0,i.h)("div",{class:"sv-sidebar__item__text"},[t.default?t.default():null]),l=(0,i.h)(c),s=(0,i.h)("div",{class:"sv-sidebar__item__arrow"},[t.arrow?t.arrow():l]);return(0,i.h)("button",{class:["sv-sidebar__item",{active:o&&o.getValue&&e.id==o.getValue,hasIcon:!!t.icon}],onClick:()=>{e.id&&o&&"function"==typeof o.handleClickItem&&o.handleClickItem(e.id),e.to&&n?n.push(e.to):e.href&&window.open(e.href,e.target)}},[t.icon?r:null,a,u,t.arrow?t.arrow():e.arrow?s:null])}}});f.install=e=>{e.component("SvSidebarItem",f)};const p=f;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-icon-close{align-items:center;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-close:before{transform:rotate(-45deg)}.sv-icon-close:after,.sv-icon-close:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;transition:all .3s ease;width:16px}.sv-icon-close:after{transform:rotate(45deg)}.sv-icon-close.sv-icon-hover-less:hover:after,.sv-icon-close.sv-icon-hover-less:hover:before{transform:rotate(180deg);width:12px}.sv-icon-plus{align-items:center;cursor:pointer;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-plus:before{transform:rotate(0deg);transition:all .3s ease}.sv-icon-plus:after,.sv-icon-plus:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;width:14px}.sv-icon-plus:after{transform:rotate(90deg);transition:all .4s ease}.sv-icon-plus:hover:not(.less){transform:rotate(-90deg)}.sv-icon-plus.less:hover{transform:scale(.75)}.sv-icon-plus.less:after{transform:rotate(180deg)}.sv-icon-check{align-items:center;border-radius:inherit;display:flex;height:23px;justify-content:center;transition:all .25s ease;width:23px}.sv-icon-check span{display:block;height:13px;margin-top:-4px;position:relative;transform:rotate(45deg);width:8px}.sv-icon-check span .line1{background:transparent;border-radius:2px;border-radius:5px;bottom:0;content:"";height:2px;position:absolute;transition:all .2s ease;width:8px;z-index:100}.sv-icon-check span .line1:after{background:#fff;border-radius:5px 0 0 5px;content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-icon-check span .line2{background:transparent;border-radius:5px;bottom:0;content:"";height:13px;position:absolute;right:0;transition:all .2s ease;width:2px;z-index:100}.sv-icon-check span .line2:after{background:#fff;border-radius:5px 5px 0 0;bottom:0;content:"";height:0;position:absolute;transition:all .25s ease;width:2px}.sv-icon-check.active:before{width:8px}.sv-icon-check.active:after{width:4px}.sv-icon-check.indeterminate span{height:auto;margin:0;transform:rotate(0);width:auto}.sv-icon-check.indeterminate span:after{background:#fff;content:"";display:block;height:2px;position:relative;width:10px}.sv-icon-check.indeterminate span .line1{bottom:0;display:none;opacity:0;right:-1px;transform:rotate(-45deg)}.sv-icon-check.indeterminate span .line2{bottom:-.14rem!important;display:none;height:11px!important;right:0!important;transform:rotate(45deg)!important;transition:all .25s ease!important}.sv-icon-arrow{height:7px;pointer-events:none;transform:rotate(-135deg);transform-origin:center;transition:all .25s ease;width:7px}.sv-icon-arrow:after{height:1px;width:100%}.sv-icon-arrow:after,.sv-icon-arrow:before{background:-color("text");content:"";display:block;position:absolute;top:0}.sv-icon-arrow:before{height:100%;width:1px}.sv-sidebar__item{align-items:center;background:transparent;border:0;color:-color("text");display:flex;font-size:1rem;font-weight:700;justify-content:flex-start;opacity:.7;padding:15px 16px 14px;position:relative;text-align:left;transition:all .25s ease;width:100%}.sv-sidebar__item.hasIcon{padding:0}.sv-sidebar__item.hasIcon.active{padding-left:8px}.sv-sidebar__item.hasIcon:hover{opacity:1;padding-left:8px}.sv-sidebar__item:after{background:-color("color");border-radius:0 20px 20px 0;content:"";height:100%;left:-4px;position:absolute;top:0;transform:translate(-6px);transition:all .25s ease;width:10px;z-index:60}.sv-sidebar__item.active:not(.hasIcon){padding-left:25px}.sv-sidebar__item.active{color:-color("color");opacity:1}.sv-sidebar__item.active:after{transform:translate(0)}.sv-sidebar__item__icon{align-items:center;background:-color("background");display:flex;font-size:1.2rem;height:47px;justify-content:center;min-width:50px;z-index:50}.sv-sidebar__item:hover:not(.hasIcon){opacity:1;padding-left:25px}.sv-sidebar__item__text{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;transition:all .25s ease;white-space:nowrap;z-index:10}.sv-sidebar__item__arrow{height:7px;justify-self:flex-end;margin-left:auto;margin-right:15px;position:relative;transform:rotate(-135deg)!important;transition:all .25s ease;width:7px;z-index:80}.sv-sidebar__item__arrow .sv-icon-arrow:before{width:2px}.sv-sidebar__item__arrow .sv-icon-arrow:after{height:2px}.sv-sidebar__item__text-tooltip{font-size:.85rem;left:50px;opacity:0;pointer-events:none;position:fixed;transition:all .25s ease;white-space:nowrap}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svSwitch=t(require("vue")):e.svSwitch=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,o),l.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function c(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}o.d(n,{default:()=>m});var i=o(594);const s=e=>["primary","secondary","success","danger","warning","dark","light","warn","facebook","twitter","youtube","pinterest","linkedin","snapchat","whatsapp","tumblr","reddit","spotify","amazon","medium","vimeo","skype","dribbble","slack","yahoo","twitch","discord","telegram","google-plus","messenger"].includes(e),u=e=>{const t=/^(rgb|rgba)/.test(e),r=/^(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d),(0|255|25[0-4]|2[0-4]\d|1\d\d|0?\d?\d)$/.test(e),o=/^(#)/.test(e);let n;if(t){const t=e.replace(/[rgba()]/g,"").split(",");n=`${t[0]},${t[1]},${t[2]}`}else if(o){const t=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,r,o)=>t+t+r+r+o+o);const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}(e);n=`${t.r},${t.g},${t.b}`}else if(s(e)){n=window.getComputedStyle(document.body).getPropertyValue("--sv-"+e)}else r&&(n=e);return n};function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const d={color:{type:String,default:null},danger:{type:Boolean,default:!1},success:{type:Boolean,default:!1},warn:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},active:{type:Boolean,default:!1}};function y(e){const t=(0,i.reactive)({componentColor:null,getColor:null});t.getColor=u(e&&e.color?e.color:null);const r=(0,i.computed)(()=>e&&("dark"===e.color||e.dark||"dark"===t.componentColor)),o=(0,i.computed)(()=>e&&(!!e.color||!!e.primary||!!e.success||!!e.warn||!!e.danger||!!e.dark));try{const e=(0,i.getCurrentInstance)();e&&e.proxy&&(e.proxy.getColor=t.getColor)}catch(e){}return p(p({},t),{},{isColorDark:r,isColor:o})}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}const g=(0,i.defineComponent)({name:"SvSwitch",props:b(b({},d),{},{value:{default:""},val:{default:""},notValue:{default:""},loading:{type:Boolean,default:!1},square:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},icon:{type:Boolean,default:!1}}),setup(e,{emit:t,slots:r,attrs:o}){(0,i.getCurrentInstance)();const{getColor:n}=y(e),l=(0,i.computed)(()=>{let t=!1;if(e.value){if("boolean"==typeof e.value)t=e.value;else if("object"==typeof e.value&&null!==e.value){const t=e.value,r=-1===t.indexOf(e.val)&&-1===JSON.stringify(t).indexOf(JSON.stringify(e.val));let o=0;return t.forEach((t,r)=>{JSON.stringify(t)==JSON.stringify(e.val)&&(o=r)}),!r}}else t=!1;return t}),a=r=>{if("boolean"==typeof e.value)t("input",!e.value);else if("object"==typeof e.value&&null!==e.value){const r=e.value,o=-1===r.indexOf(e.val)&&-1===JSON.stringify(r).indexOf(JSON.stringify(e.val));let n=0;r.forEach((t,r)=>{JSON.stringify(t)==JSON.stringify(e.val)&&(n=r)}),o?r.push(e.val):r.splice(n,1),t("input",r)}else e.val!==e.value?t("input",e.val):t("input",e.notValue||null);t("change",r)};return()=>{const t=(0,i.h)("div",{class:["sv-switch__circle"]},[r.circle?r.circle():null]),c=(0,i.h)("div",{class:["sv-switch__text","on"]},[r.on?r.on():r.default?r.default():null]),s=(0,i.h)("div",{class:["sv-switch__text","off"]},[r.off?r.off():r.default?r.default():null]),u=(0,i.h)("div",{class:["sv-switch__background"]}),f=(0,i.h)("input",b(b({},o),{},{type:"checkbox",checked:l.value,onInput:a,class:["sv-switch__input"]}));return(0,i.h)("div",{class:["sv-switch",{"sv-switch--loading":e.loading,"sv-switch--square":e.square,"sv-switch--indeterminate":e.indeterminate,"sv-switch--icon":e.icon},{"sv-component--primary":!(e.danger||e.success||e.warn||e.dark||e.color)},{"sv-component--danger":!!e.danger},{"sv-component--warn":!!e.warn},{"sv-component--success":!!e.success},{"sv-component--dark":!!e.dark}],style:{"--sv-color":e.color?n:""}},[f,t,c,s,u])}}});g.install=e=>{e.component("SvSwitch",g)};const m=g;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-switch{--sv-color:var(--sv-primary)}@keyframes rotateSwitch{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.sv-switch{align-items:center;background:-color("gray-3");border:0;border-radius:20px;color:#fff;display:flex;height:28px;justify-content:center;min-width:48px;overflow:hidden;padding:5px;position:relative;transition:all .25s ease}.sv-switch--icon .sv-switch__input:checked~.sv-switch__circle{color:#fff!important}.sv-switch--icon .sv-switch__circle{background:transparent!important;box-shadow:none!important}.sv-switch--icon .sv-switch__circle i{font-size:1.3rem;opacity:1}.sv-switch--indeterminate .sv-switch__input{pointer-events:none}.sv-switch--indeterminate .sv-switch__circle{left:50%!important;transform:translate(-50%)}.sv-switch--square{border-radius:5px}.sv-switch--square .sv-switch__background,.sv-switch--square .sv-switch__circle{border-radius:5px!important}.sv-switch:after{animation:rotateSwitch .6s linear .25s infinite;border-radius:50%;border-right:3px dashed -color("color");border-top:3px dashed -color("color");border-color:transparent transparent -color("color") -color("color");border-style:solid solid dashed dashed;border-width:3px}.sv-switch:after,.sv-switch:before{content:"";height:calc(100% - 8px);opacity:0;pointer-events:none;position:absolute;transition:all 0s ease 0s;visibility:hidden;width:calc(100% - 8px);z-index:200}.sv-switch:before{animation:rotateSwitch .6s ease .25s infinite;border-radius:50%;border-right:3px solid -color("color");border-top:3px solid -color("color");border-color:transparent transparent -color("color") -color("color");border-style:solid;border-width:3px}.sv-switch--loading{border-radius:20px!important;min-width:28px!important;pointer-events:none;width:28px!important}.sv-switch--loading .sv-switch__circle{border-radius:50%!important}.sv-switch--loading .sv-switch__background{opacity:0!important}.sv-switch--loading:after,.sv-switch--loading:before{opacity:1;transition:all .25s ease .3s;visibility:visible}.sv-switch:hover{background:-color("gray-4")}.sv-switch:active{transform:scale(.9)}.sv-switch__background{background:-color("color");border-radius:inherit;border-radius:50%;height:auto;left:-100%;padding-bottom:100%;position:absolute;transform:scale(1);transition:all .25s ease-out;width:100%;z-index:2}.sv-switch__text{align-items:center;color:-color("text");display:flex;font-size:.7rem;justify-content:center;overflow:hidden;padding:5px 5px 5px 25px;position:relative;transition:all .25s ease .05s;white-space:nowrap;z-index:9}.sv-switch__text.on{opacity:0;position:absolute;transform:translate(-100%)}.sv-switch__text i{font-size:1rem;opacity:.7}.sv-switch__circle{align-items:center;background:-color("background");border-radius:20px;color:-color("text");display:flex;height:20px;justify-content:center;left:4px;position:absolute;transition:all .25s ease;width:20px;z-index:10}.sv-switch__circle i{font-size:.8rem}.sv-switch__input{border-radius:inherit;cursor:pointer;height:100%;left:0;margin:0;opacity:0!important;position:absolute;top:0;width:100%;z-index:100}.sv-switch__input:active:checked~.sv-switch__circle{left:calc(100% - 30px)}.sv-switch__input:active~.sv-switch__circle{width:25px}.sv-switch__input:checked~.sv-switch__background{border-radius:50%;left:0;opacity:1;padding-bottom:100%;transform:scale(1);transition:all .25s ease;width:100%}.sv-switch__input:checked~.sv-switch__text{color:#fff;padding-left:5px;padding-right:25px}.sv-switch__input:checked~.sv-switch__text i{opacity:1}.sv-switch__input:checked~.sv-switch__text.on{opacity:1;position:relative;transform:translate(0)}.sv-switch__input:checked~.sv-switch__text.off{opacity:0;position:absolute;transform:translate(100%)}.sv-switch__input:checked~.sv-switch__circle{box-shadow:-5px 0 25px 0 -color("background",.6);color:-color("color");left:calc(100% - 24px)}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svTable=t(require("vue")):e.svTable=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function l(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,l),a.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};l.d(r,{default:()=>n});var a=l(594);const s=(0,a.defineComponent)({name:"SvTable",props:{value:{},striped:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["input"],setup(e,{emit:t,slots:o}){const l=(0,a.ref)(0),r=(0,a.ref)(null);(0,a.onMounted)(()=>{if(r.value){const e=r.value.querySelectorAll("th");l.value=e.length}});const s=(0,a.computed)(()=>Array.isArray(e.value));return()=>{const t=(0,a.h)("footer",{class:"sv-table__footer"},[o.footer?o.footer():null]),n=(0,a.h)("header",{class:"sv-table__header"},[o.header?o.header():null]),d=(0,a.h)("thead",{ref:r,class:"sv-table__thead"},[o.thead?o.thead():null]),u=(0,a.h)("tbody",{class:"sv-table_not-found"},[(0,a.h)("tr",[(0,a.h)("td",{colspan:l.value},[o.notFound?o.notFound():"No matching records found"])])]),c=(0,a.h)("tbody",{class:"sv-table__tbody"},[o.tbody?o.tbody():null]),f=(0,a.h)("div",{class:["sv-table",{isSelectedValue:!!e.value,striped:e.striped,isMultipleSelected:s.value}]},[(0,a.h)("table",{},[d,c,u])]);return(0,a.h)("div",{class:"sv-table-content"},[o.header&&n,f,o.footer&&t])}}});s.install=e=>{e.component("SvTable",s)};const n=s;return r=r.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-table-content{--sv-color:var(--sv-primary);border-radius:16px;width:100%}.sv-table{font-size:.9rem;margin:0;overflow:auto;width:100%}.sv-table table{border:0;border-collapse:collapse;margin:0;min-width:500px;width:100%}.sv-table.striped .sv-table__tr:nth-child(2n){background:-color("gray-1")!important}.sv-table_not-found{display:none;padding:20px;text-align:center;width:100%}.sv-table_not-found tr{text-align:center}.sv-table_not-found tr td{border:0;padding:20px}.sv-table__tbody:empty{background:#000;display:none}.sv-table__tbody:empty~.sv-table_not-found{display:table-row-group}.sv-table.isSelectedValue tr{cursor:pointer}.sv-table__footer{background:-color("gray-2");border-radius:0 0 14px 14px;padding:8px 10px}.sv-table__header{background:-color("gray-2");border-radius:14px 14px 0 0;padding:10px;width:100%}.sv-table__header~.sv-table .sv-table__th:first-child,.sv-table__header~.sv-table .sv-table__th:last-child{border-radius:0}.sv-table__thead{width:100%}.sv-table__thead .sv-table__th{background:-color("gray-2")}.sv-table__thead .sv-table__th:first-child{border-radius:14px 0 0 0}.sv-table__thead .sv-table__th:last-child{border-radius:0 14px 0 0}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svTableTd=t(require("vue")):e.svTableTd=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},o={};function r(e){var s=o[e];if(void 0!==s)return s.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s={};r.d(s,{default:()=>i});var n=r(594);const d=(0,n.defineComponent)({name:"SvTableTd",props:{checkbox:{type:Boolean,default:!1},edit:{type:Boolean,default:!1}},emits:["click"],setup:(e,{slots:t,attrs:o,emit:r})=>()=>(0,n.h)("td",Object.assign({},o,{class:{"sv-table__td":!0,isCheckbox:e.checkbox,isEdit:e.edit},onClick:e=>r("click",e)}),t.default?t.default():null)});d.install=e=>{e.component("VsTd",d)};const i=d;return s=s.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-table__td{border:0;font-size:.8rem;padding:10px 12px;transition:all .25s ease}.sv-table__td:last-child{border-radius:0 15px 15px 0}.sv-table__td:first-child{border-radius:15px 0 0 15px}.sv-table__td.isCheckbox{width:23px}.sv-table__td.isEdit{cursor:pointer;text-decoration:underline}
@@ -0,0 +1,2 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):"object"==typeof exports?exports.svTableTh=t(require("vue")):e.svTableTh=t(e.Vue)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={594(t){t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var s=r[e]={exports:{}};return t[e](s,s.exports,o),s.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};o.d(n,{default:()=>p});var s=o(594);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function c(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}function u(e,t,r){return(t=c(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}const a=(0,s.defineComponent)({name:"VsIconArrow",props:{less:{type:Boolean,default:!1}},setup:(e,{attrs:t})=>()=>(0,s.h)("i",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({class:["sv-icon-arrow",{less:e.less}]},t))}),f=(0,s.defineComponent)({name:"SvTableTh",props:{sort:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:r})=>()=>{const o=(0,s.h)(a,{class:"icon-sort-2"}),n=(0,s.h)(a,{class:"icon-sort-1"}),i=(0,s.h)("div",{class:"sv-table__th__content__icons"},[n,o]),c=(0,s.h)("div",{class:"sv-table__th__content"},[t.default?t.default():null,e.sort?i:null]);return(0,s.h)("th",Object.assign({},r,{class:["sv-table__th",{sort:e.sort}]}),[c])}});f.install=e=>{e.component("VsTh",f)};const p=f;return n=n.default})());
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * SaxVue v0.1.0 by MrXploder 🖖 (https://github.com/MrXploder/saxvue)
3
+ * Original proyect by Luis Daniel Rovira (https://lusaxweb.github.io/saxvue/)
4
+ * Released under the MIT License.
5
+ */
@@ -0,0 +1 @@
1
+ .sv-icon-close{align-items:center;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-close:before{transform:rotate(-45deg)}.sv-icon-close:after,.sv-icon-close:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;transition:all .3s ease;width:16px}.sv-icon-close:after{transform:rotate(45deg)}.sv-icon-close.sv-icon-hover-less:hover:after,.sv-icon-close.sv-icon-hover-less:hover:before{transform:rotate(180deg);width:12px}.sv-icon-plus{align-items:center;cursor:pointer;display:flex;height:30px;justify-content:center;position:relative;transition:all .25s ease;width:30px}.sv-icon-plus:before{transform:rotate(0deg);transition:all .3s ease}.sv-icon-plus:after,.sv-icon-plus:before{background:-color("color",1);border-radius:2px;content:"";height:2px;position:absolute;width:14px}.sv-icon-plus:after{transform:rotate(90deg);transition:all .4s ease}.sv-icon-plus:hover:not(.less){transform:rotate(-90deg)}.sv-icon-plus.less:hover{transform:scale(.75)}.sv-icon-plus.less:after{transform:rotate(180deg)}.sv-icon-check{align-items:center;border-radius:inherit;display:flex;height:23px;justify-content:center;transition:all .25s ease;width:23px}.sv-icon-check span{display:block;height:13px;margin-top:-4px;position:relative;transform:rotate(45deg);width:8px}.sv-icon-check span .line1{background:transparent;border-radius:2px;border-radius:5px;bottom:0;content:"";height:2px;position:absolute;transition:all .2s ease;width:8px;z-index:100}.sv-icon-check span .line1:after{background:#fff;border-radius:5px 0 0 5px;content:"";height:2px;position:absolute;transition:all .25s ease;width:0}.sv-icon-check span .line2{background:transparent;border-radius:5px;bottom:0;content:"";height:13px;position:absolute;right:0;transition:all .2s ease;width:2px;z-index:100}.sv-icon-check span .line2:after{background:#fff;border-radius:5px 5px 0 0;bottom:0;content:"";height:0;position:absolute;transition:all .25s ease;width:2px}.sv-icon-check.active:before{width:8px}.sv-icon-check.active:after{width:4px}.sv-icon-check.indeterminate span{height:auto;margin:0;transform:rotate(0);width:auto}.sv-icon-check.indeterminate span:after{background:#fff;content:"";display:block;height:2px;position:relative;width:10px}.sv-icon-check.indeterminate span .line1{bottom:0;display:none;opacity:0;right:-1px;transform:rotate(-45deg)}.sv-icon-check.indeterminate span .line2{bottom:-.14rem!important;display:none;height:11px!important;right:0!important;transform:rotate(45deg)!important;transition:all .25s ease!important}.sv-icon-arrow{height:7px;pointer-events:none;transform:rotate(-135deg);transform-origin:center;transition:all .25s ease;width:7px}.sv-icon-arrow:after{height:1px;width:100%}.sv-icon-arrow:after,.sv-icon-arrow:before{background:-color("text");content:"";display:block;position:absolute;top:0}.sv-icon-arrow:before{height:100%;width:1px}.sv-table__th{border:0;font-size:.8rem;padding:10px 12px;text-align:left;transition:all .25s ease}.sv-table__th.sort .sv-table__th__content{pointer-events:none}.sv-table__th.sort:hover{background:-color("gray-3")}.sv-table__th[data-sort-type=asc] .icon-sort-2{margin-top:-7px;transform:rotate(45deg)!important}.sv-table__th[data-sort-type=asc] .icon-sort-1{margin-top:-1px;transform:rotate(45deg)!important}.sv-table__th[data-sort-type=desc] .icon-sort-2{margin-top:-7px}.sv-table__th[data-sort-type=desc] .icon-sort-1{margin-top:-1px;transform:rotate(-135deg)!important}.sv-table__th__content{align-items:center;display:flex;justify-content:flex-start;transition:all .25s ease}.sv-table__th__content__icons{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-left:7px;transform:scale(.8)}.sv-table__th__content .sv-icon-arrow{display:block;position:relative}.sv-table__th__content .sv-icon-arrow.icon-sort-1{transform:rotate(45deg)}.sv-table__th__content .sv-icon-arrow.icon-sort-2{transform:rotate(-135deg)}