vue-spear-tip 0.1.7-beta.8 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button-aNMcSJFI.js → Button-nacsZiSC.js} +7 -7
- package/dist/components/Elements/Button/ButtonInherited.d.ts +71 -0
- package/dist/components/Elements/Button/index.d.ts +2 -0
- package/dist/kit/elements/index.d.ts +2 -1
- package/dist/replaceable/BaseComponent.vue +22 -0
- package/dist/replaceable/FieldComponent.vue +22 -0
- package/dist/style/index.d.ts +1 -0
- package/dist/vue-spear-tip.cjs.js +1 -1
- package/dist/vue-spear-tip.css +1 -1
- package/dist/vue-spear-tip.es.js +626 -103
- package/docs/VST_LOGO.png +0 -0
- package/docs/index.html +2 -2
- package/docs/static/Button-EEyIMj-d.css +1 -0
- package/docs/static/Button-Ks5sZmCF.js +1 -0
- package/docs/static/index-DCJRmjIx.js +2 -0
- package/docs/static/main-BjqHPmsz.js +17 -0
- package/docs/static/main-DHbU8YnW.css +1 -0
- package/package.json +1 -1
- package/dist/vue-spear-tip.d.ts +0 -3
- package/docs/static/Button-BKyfhI4e.css +0 -1
- package/docs/static/Button-BZEhzHQH.js +0 -1
- package/docs/static/index-Cp1Lelc7.js +0 -2
- package/docs/static/main-CrDYvdE7.js +0 -17
- package/docs/static/main-tn0RQdqM.css +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseComponent as B, Prop as i, Watch as g, VST as y } from "./vue-spear-tip.es.js";
|
|
2
|
-
import { createElementBlock as d, createCommentVNode as c, openBlock as u, createElementVNode as
|
|
2
|
+
import { createElementBlock as d, createCommentVNode as c, openBlock as u, createElementVNode as b, normalizeStyle as m, withKeys as k, normalizeClass as p, renderSlot as A, createBlock as S, toDisplayString as l, resolveDynamicComponent as T, withCtx as w, createTextVNode as C, Fragment as v } from "vue";
|
|
3
3
|
var $ = Object.defineProperty, O = Object.getOwnPropertyDescriptor, o = (t, e, h, a) => {
|
|
4
4
|
for (var s = a > 1 ? void 0 : a ? O(e, h) : e, f = t.length - 1, n; f >= 0; f--)
|
|
5
5
|
(n = t[f]) && (s = (a ? n(e, h, s) : n(s)) || s);
|
|
@@ -226,7 +226,7 @@ function P(t, e, h, a, s, f) {
|
|
|
226
226
|
"data-offset": t.dataOffset,
|
|
227
227
|
"data-placement": t.dataPlacement
|
|
228
228
|
}, [
|
|
229
|
-
|
|
229
|
+
b("button", {
|
|
230
230
|
class: p(["relative w100% h100% flex! items-center! justify-center!", {
|
|
231
231
|
shine: t.shine,
|
|
232
232
|
[t.randomClass + (t.isOnHover ? " hover" : "")]: !0
|
|
@@ -263,7 +263,7 @@ function P(t, e, h, a, s, f) {
|
|
|
263
263
|
key: 1,
|
|
264
264
|
class: p(["left-icon-animate", t.$slots.default && t.$refs?.button?.innerText?.trim?.()?.length ? "left-icon" : ""])
|
|
265
265
|
}, [
|
|
266
|
-
|
|
266
|
+
b("i", {
|
|
267
267
|
class: p(["fa", t.icon])
|
|
268
268
|
}, null, 2)
|
|
269
269
|
], 2)) : c("", !0),
|
|
@@ -272,18 +272,18 @@ function P(t, e, h, a, s, f) {
|
|
|
272
272
|
key: 2,
|
|
273
273
|
class: p(["right-icon-animate", t.$slots.default && t.$refs?.button?.innerText?.trim?.()?.length ? "right-icon" : ""])
|
|
274
274
|
}, [
|
|
275
|
-
|
|
275
|
+
b("i", {
|
|
276
276
|
class: p(["fa", t.iconRight])
|
|
277
277
|
}, null, 2)
|
|
278
278
|
], 2)) : c("", !0),
|
|
279
279
|
(u(), S(T("style"), null, {
|
|
280
280
|
default: w(() => [
|
|
281
|
-
|
|
281
|
+
C("." + l(t.randomClass) + " { background: " + l(t.style?.bacground ?? t.currentBg + "!important") + "; box-shadow: none !important; color: " + l(t.currentColor) + " !important; border-color: " + l(t.currentBorderColor) + " !important; }", 1),
|
|
282
282
|
t.currentColorHover ? (u(), d(v, { key: 0 }, [
|
|
283
|
-
|
|
283
|
+
C("." + l(t.randomClass) + ":hover { color: " + l(t.style?.color ?? t.currentColorHover + "!important") + "; }", 1)
|
|
284
284
|
], 64)) : c("", !0),
|
|
285
285
|
t.disabled ? c("", !0) : (u(), d(v, { key: 1 }, [
|
|
286
|
-
|
|
286
|
+
C("." + l(t.randomClass) + ":active { background: " + l(t.currentBgActive) + " !important; border-color: " + l(t.currentBorderColorActive) + " !important; color: " + l(t.currentColorActive) + " !important; opacity: 1 !important; " + l(t.boxShadowCss) + " !important; }", 1)
|
|
287
287
|
], 64))
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { VueClass } from '../../../core';
|
|
2
|
+
export default class ButtonInherited extends VueClass {
|
|
3
|
+
emits: string[];
|
|
4
|
+
readonly icon: string;
|
|
5
|
+
readonly iconRight: string;
|
|
6
|
+
readonly badge: string;
|
|
7
|
+
readonly badgeBg: string | null;
|
|
8
|
+
readonly badgeColor: string | null;
|
|
9
|
+
readonly style: Partial<CSSStyleDeclaration>;
|
|
10
|
+
readonly bg: string | null;
|
|
11
|
+
readonly color: string | null;
|
|
12
|
+
readonly borderColor: string | null;
|
|
13
|
+
readonly bgActive: string | null;
|
|
14
|
+
readonly colorActive: string | null;
|
|
15
|
+
readonly colorHover: string | null;
|
|
16
|
+
readonly borderColorActive: string | null;
|
|
17
|
+
readonly boxShadowColor: string | null;
|
|
18
|
+
readonly fontSize: string | null;
|
|
19
|
+
readonly fontFamily: string | null;
|
|
20
|
+
readonly bgGradientTop: string | null;
|
|
21
|
+
readonly bgGradientBottom: string | null;
|
|
22
|
+
readonly disabled: boolean;
|
|
23
|
+
readonly shine: boolean;
|
|
24
|
+
readonly type: string;
|
|
25
|
+
readonly title: string | null;
|
|
26
|
+
readonly disabledTitle: string | null;
|
|
27
|
+
readonly dataTheme: string;
|
|
28
|
+
readonly dataDisabledTheme: string;
|
|
29
|
+
readonly dataPlacement: string;
|
|
30
|
+
readonly dataOffset: string;
|
|
31
|
+
readonly width: string;
|
|
32
|
+
readonly borderRadius: string;
|
|
33
|
+
/** Открыть ссылку при нажатии, если начинается с http или https будет открыто в новом окне */
|
|
34
|
+
readonly link: string | null;
|
|
35
|
+
/** Для открытия локальных ссылок в новом окне и внешних в текущем, будет проигнорирован при указанном link */
|
|
36
|
+
readonly linkRevert: string | null;
|
|
37
|
+
readonly theme: 'success' | 'default' | 'primary' | 'warning' | 'danger' | 'info' | 'pink' | 'purple' | 'indigo' | 'grey' | 'white' | 'yellow' | null;
|
|
38
|
+
backgroundCss: string;
|
|
39
|
+
boxShadowCss: string;
|
|
40
|
+
isOnHover: boolean;
|
|
41
|
+
isButtonActive: boolean;
|
|
42
|
+
randomClass: string;
|
|
43
|
+
dataThemeInner: string;
|
|
44
|
+
showButton: boolean;
|
|
45
|
+
currentBg: string | null;
|
|
46
|
+
currentColor: string | null;
|
|
47
|
+
currentColorHover: string | null;
|
|
48
|
+
currentBorderColor: string | null;
|
|
49
|
+
currentBgActive: string | null;
|
|
50
|
+
currentBorderColorActive: string | null;
|
|
51
|
+
currentBoxShadowColor: string | null;
|
|
52
|
+
currentColorActive: string | null;
|
|
53
|
+
innerTitle: string | null;
|
|
54
|
+
hasTouchpad: boolean;
|
|
55
|
+
mountedParent(): void;
|
|
56
|
+
$refs: {
|
|
57
|
+
button: HTMLButtonElement;
|
|
58
|
+
link: HTMLLinkElement;
|
|
59
|
+
};
|
|
60
|
+
updateTheme(): void;
|
|
61
|
+
click(e: Event): void;
|
|
62
|
+
touchstart(e: Event): void;
|
|
63
|
+
touchend(e: Event): void;
|
|
64
|
+
mouseup(e: Event): void;
|
|
65
|
+
mousedown(e: Event): void;
|
|
66
|
+
keydownEnter(e: Event): void;
|
|
67
|
+
focus(): void;
|
|
68
|
+
private _onThemeChanged;
|
|
69
|
+
private _onTitleChanged;
|
|
70
|
+
private _onDisabledChanged;
|
|
71
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import IBaseVueComponent from '../Interfaces/IBaseVueComponent'
|
|
3
|
+
import {VueClass} from '../core'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Базовый компонент.
|
|
7
|
+
* В дальнейшем планируется в него внедрять полезные методы и реактивные свойства (размеры окна, тип и т.д.).
|
|
8
|
+
* От него можно наследовать любой компонент.
|
|
9
|
+
*/
|
|
10
|
+
export default abstract class BaseComponent extends VueClass implements IBaseVueComponent {
|
|
11
|
+
emitsParent = ['update:modelValue']
|
|
12
|
+
declare readonly $root: {
|
|
13
|
+
[key: string]: any
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
super()
|
|
17
|
+
}
|
|
18
|
+
mountedParent() {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import IBaseVueComponent from '../Interfaces/IBaseVueComponent'
|
|
3
|
+
import {BaseComponent} from '../core'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Базовый компонент.
|
|
7
|
+
* В дальнейшем планируется в него внедрять полезные методы и реактивные свойства (размеры окна, тип и т.д.).
|
|
8
|
+
* От него можно наследовать любой компонент.
|
|
9
|
+
*/
|
|
10
|
+
export default abstract class FieldComponent extends BaseComponent implements IBaseVueComponent {
|
|
11
|
+
emitsParent = ['update:modelValue']
|
|
12
|
+
declare readonly $root: {
|
|
13
|
+
[key: string]: any
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
super()
|
|
17
|
+
}
|
|
18
|
+
mountedParent() {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../../dist/vue-spear-tip.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue");class i{mixins=[];components={};emits=[];emitsParent=[];inject=[];injectParent=[];provide={};provideParent={};instance=this;$attrs={};$data={};$root;$emit(n,...e){}$forceUpdate(n){}$watch(n,e,s){}$nextTick(n){}$={};beforeCreate(){}created(){}beforeMount(){}mounted(){}beforeUpdate(){}updated(){}beforeUnmount(){}unmounted(){}beforeCreateParent(){}createdParent(){}beforeMountParent(){}mountedParent(){}beforeUpdateParent(){}updatedParent(){}beforeUnmountParent(){}unmountedParent(){}nextTick(n,e=1){}hasExternalHandlerEvent(n){return!1}}const S=["$attrs","$data","$el","$off","$on","$emit","$forceUpdate","$nextTick","$options","$parent","$props","$refs","$root","$slots","$watch"];typeof globalThis.__VST>"u"&&(globalThis.__VST={});typeof globalThis.__VST._vueClassInstances>"u"&&(globalThis.__VST._vueClassInstances={});typeof globalThis.__VST._vueClassProps>"u"&&(globalThis.__VST._vueClassProps={});typeof globalThis.__VST._vueClassWatchers>"u"&&(globalThis.__VST._vueClassWatchers={});typeof globalThis.__VST._vueComputed>"u"&&(globalThis.__VST._vueComputed={});function P(t){return typeof t=="function"?b(t):function(n){return b(n,t)}}function b(t,n={}){let e=globalThis.__VST?._vueClassInstances[t.name]??new t;if(!(e instanceof i))throw`Класс ${t.name} должен наследоваться от класса VueClass или его потомков`;globalThis.__VST?._vueClassInstances[t.name]||(globalThis.__VST._vueClassInstances[t.name]=e);const s={},a=new O;for(let o of $(C(e),C(a,!0)))s[o]=e[o];const r={};let _=Object.assign({},globalThis.__VST._vueClassProps[t.name]??{}),f=Object.getPrototypeOf(e);do _=Object.assign(_,globalThis.__VST._vueClassProps[f.constructor.name]??{});while((f=Object.getPrototypeOf(f))instanceof i);for(let o of I(e))_[o]||(r[o]=e[o]);let d=Object.assign({},globalThis.__VST._vueClassWatchers[t.name]??{}),p=Object.getPrototypeOf(e);do d=Object.assign(d,globalThis.__VST._vueClassWatchers[p.constructor.name]??{});while((p=Object.getPrototypeOf(p))instanceof i);let h=Object.assign({},globalThis.__VST._vueComputed[t.name]??{});for(let o in h)delete e[o];let m=[];return u.defineComponent({props:_,watch:d,computed:h,name:e.name??e.instance?.constructor?.name,mixins:e.mixins,components:e.components,emits:e.emits.concat(e.emitsParent),inject:e.inject.concat(e.injectParent),provide:{...e.provideParent,...e.provide},beforeCreate:function(){e=new t,e.$options=this.$options,e.$parent=this.$parent,e.$root=this.$root,e.$slots=this.$slots,e.instance=e,this.name=e.name??e.instance?.constructor.name,this.nextTick=e.nextTick=(o,c=1)=>{const l=T=>{this.$nextTick(()=>{T>1?l(T-1):typeof o=="function"&&!(o instanceof Promise)&&o?.call?.(this)})};l(c)},e.beforeCreateParent.call(this),e.beforeCreate.call(this)},created:function(){this.name=e.name??e.instance?.constructor.name;for(let o in s)this[o]=e?.[o].bind?.(this);e.createdParent.call(this),e.created.call(this)},beforeMount:function(){e.beforeMountParent.call(this),e.beforeMount.call(this);const o=()=>{const c=u.getCurrentInstance();c&&c.vnode.props&&(m=Object.keys(c.vnode.props).filter(l=>l.startsWith("on")).map(l=>l.slice(2).toLowerCase()))};o(),u.nextTick(()=>{o()}),this.hasExternalHandlerEvent=c=>m.includes(c)},mounted:function(){e.mountedParent.call(this),e.mounted.call(this)},beforeUpdate:function(){e.beforeUpdateParent.call(this),e.beforeUpdate.call(this);const o=()=>{const c=u.getCurrentInstance();c&&c.vnode.props&&(m=Object.keys(c.vnode.props).filter(l=>l.startsWith("on")).map(l=>l.slice(2).toLowerCase()))};o(),u.nextTick(()=>{o()}),this.hasExternalHandlerEvent=c=>m.includes(c)},updated:function(){e.updatedParent.call(this),e.updated.call(this)},beforeUnmount:function(){e.beforeUnmountParent.call(this),e.beforeUnmount.call(this)},unmounted:function(){e.unmountedParent.call(this),e.unmounted.call(this)},data:function(){return{...r,__vue_class_instance__:null}}})}const v=P;function C(t,n=!1){let e=new Set,s=t;do{if(!n&&s.constructor.name=="VueClass")break;Object.getOwnPropertyNames(s).map(a=>e.add(a))}while(s=Object.getPrototypeOf(s));return[...e.keys()].filter(a=>typeof t[a]=="function"&&typeof Object[a]!="function")}function I(t,n=!1){let e=new Set,s=t;do{if(!n&&s.constructor.name=="VueClass")break;Object.getOwnPropertyNames(s).map(a=>e.add(a))}while(s=Object.getPrototypeOf(s));return[...e.keys()].filter(a=>S.indexOf(a)==-1&&a!="__vue_props__"&&t[a]!=="function"&&typeof Object[a]!="function")}function $(t,n){return t.filter(e=>!n.includes(e))}class O extends i{}const g=(t,...n)=>(e,s,a)=>{globalThis.__VST._vueClassInstances[e.constructor.name]||(globalThis.__VST._vueClassInstances[e.constructor.name]=new e.constructor,globalThis.__VST._vueClassInstances[e.constructor.name].name=globalThis.__VST._vueClassInstances[e.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[e.constructor.name].name??"");let r=typeof t=="object"?t:{type:[t,...n]};globalThis.__VST._vueClassInstances[e.constructor.name][s]&&(r.default=globalThis.__VST._vueClassInstances[e.constructor.name][s]),globalThis.__VST._vueClassProps[e.constructor.name]||(globalThis.__VST._vueClassProps[e.constructor.name]={}),globalThis.__VST._vueClassProps[e.constructor.name][s]=r},j=function(t,n=!1,e=!1){return(s,a,r)=>{globalThis.__VST._vueClassInstances[s.constructor.name]||(globalThis.__VST._vueClassInstances[s.constructor.name]=new s.constructor,globalThis.__VST._vueClassInstances[s.constructor.name].name=globalThis.__VST._vueClassInstances[s.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[s.constructor.name].name??""),s?.constructor?.prototype?.__vue_watch__||(s.constructor.prototype.__vue_watch__={}),s?.constructor?.prototype?.__vue_watch__[s.constructor.name]||(s.constructor.prototype.__vue_watch__[s.constructor.name]={}),s.constructor.prototype.__vue_watch__[s.constructor.name][t]=globalThis.__VST._vueClassInstances[s.constructor.name][a],globalThis.__VST._vueClassWatchers[s.constructor.name]||(globalThis.__VST._vueClassWatchers[s.constructor.name]={}),globalThis.__VST._vueClassWatchers[s.constructor.name][t]={handler:globalThis.__VST._vueClassInstances[s.constructor.name][a],deep:n,immediate:e}}},w=function(t){return(n,e,s)=>{globalThis.__VST._vueClassInstances[n.constructor.name]||(globalThis.__VST._vueClassInstances[n.constructor.name]=new n.constructor,globalThis.__VST._vueClassInstances[n.constructor.name].name="test",globalThis.__VST._vueClassInstances[n.constructor.name].name=globalThis.__VST._vueClassInstances[n.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[n.constructor.name].name??""),n?.constructor?.prototype?.__vue_computed__||(n.constructor.prototype.__vue_computed__={}),n?.constructor?.prototype?.__vue_computed__[n.constructor.name]||(n.constructor.prototype.__vue_computed__[n.constructor.name]={}),n.constructor.prototype.__vue_computed__[n.constructor.name][t??e]=globalThis.__VST._vueClassInstances[n.constructor.name][e],globalThis.__VST._vueComputed[n.constructor.name]||(globalThis.__VST._vueComputed[n.constructor.name]={});let a=globalThis.__VST._vueClassInstances[n.constructor.name][e];globalThis.__VST._vueClassInstances[n.constructor.name][e]=void 0,delete globalThis.__VST._vueClassInstances[n.constructor.name][e],globalThis.__VST._vueComputed[n.constructor.name][t??e]={get:a}}};class V extends i{emitsParent=["update:modelValue"];constructor(){super()}mountedParent(){}}globalThis.__VST={_vueClassInstances:{},_vueClassProps:{},_vueClassWatchers:{},_vueComputed:{}};const x=v,y=u.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Button-Cdk6YfN5.cjs")));class k extends V{}class U extends V{emitsParent=["update:modelValue"];constructor(){super()}mountedParent(){}}class W extends U{}exports.BaseComponent=k;exports.Button=y;exports.Computed=w;exports.FieldComponent=W;exports.Prop=g;exports.VST=x;exports.VueClass=i;exports.VueClassComponent=v;exports.Watch=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue");class g{mixins=[];components={};emits=[];emitsParent=[];inject=[];injectParent=[];provide={};provideParent={};instance=this;$attrs={};$data={};$root;$emit(t,...e){}$forceUpdate(t){}$watch(t,e,n){}$nextTick(t){}$={};beforeCreate(){}created(){}beforeMount(){}mounted(){}beforeUpdate(){}updated(){}beforeUnmount(){}unmounted(){}beforeCreateParent(){}createdParent(){}beforeMountParent(){}mountedParent(){}beforeUpdateParent(){}updatedParent(){}beforeUnmountParent(){}unmountedParent(){}nextTick(t,e=1){}hasExternalHandlerEvent(t){return!1}}const k=["$attrs","$data","$el","$off","$on","$emit","$forceUpdate","$nextTick","$options","$parent","$props","$refs","$root","$slots","$watch"];typeof globalThis.__VST>"u"&&(globalThis.__VST={});typeof globalThis.__VST._vueClassInstances>"u"&&(globalThis.__VST._vueClassInstances={});typeof globalThis.__VST._vueClassProps>"u"&&(globalThis.__VST._vueClassProps={});typeof globalThis.__VST._vueClassWatchers>"u"&&(globalThis.__VST._vueClassWatchers={});typeof globalThis.__VST._vueComputed>"u"&&(globalThis.__VST._vueComputed={});function x(s){return typeof s=="function"?S(s):function(t){return S(t,s)}}function S(s,t={}){let e=globalThis.__VST?._vueClassInstances[s.name]??new s;if(!(e instanceof g))throw`Класс ${s.name} должен наследоваться от класса VueClass или его потомков`;globalThis.__VST?._vueClassInstances[s.name]||(globalThis.__VST._vueClassInstances[s.name]=e);const n={},u=new V;for(let a of j(A(e),A(u,!0)))n[a]=e[a];const h={};let d=Object.assign({},globalThis.__VST._vueClassProps[s.name]??{}),b=Object.getPrototypeOf(e);do d=Object.assign(d,globalThis.__VST._vueClassProps[b.constructor.name]??{});while((b=Object.getPrototypeOf(b))instanceof g);for(let a of $(e))d[a]||(h[a]=e[a]);let _=Object.assign({},globalThis.__VST._vueClassWatchers[s.name]??{}),T=Object.getPrototypeOf(e);do _=Object.assign(_,globalThis.__VST._vueClassWatchers[T.constructor.name]??{});while((T=Object.getPrototypeOf(T))instanceof g);let y=Object.assign({},globalThis.__VST._vueComputed[s.name]??{});for(let a in y)delete e[a];let m=[];return C.defineComponent({props:d,watch:_,computed:y,name:e.name??e.instance?.constructor?.name,mixins:e.mixins,components:e.components,emits:e.emits.concat(e.emitsParent),inject:e.inject.concat(e.injectParent),provide:{...e.provideParent,...e.provide},beforeCreate:function(){e=new s,e.$options=this.$options,e.$parent=this.$parent,e.$root=this.$root,e.$slots=this.$slots,e.instance=e,this.name=e.name??e.instance?.constructor.name,this.nextTick=e.nextTick=(a,f=1)=>{const p=B=>{this.$nextTick(()=>{B>1?p(B-1):typeof a=="function"&&!(a instanceof Promise)&&a?.call?.(this)})};p(f)},e.beforeCreateParent.call(this),e.beforeCreate.call(this)},created:function(){this.name=e.name??e.instance?.constructor.name;for(let a in n)this[a]=e?.[a].bind?.(this);e.createdParent.call(this),e.created.call(this)},beforeMount:function(){e.beforeMountParent.call(this),e.beforeMount.call(this);const a=()=>{const f=C.getCurrentInstance();f&&f.vnode.props&&(m=Object.keys(f.vnode.props).filter(p=>p.startsWith("on")).map(p=>p.slice(2).toLowerCase()))};a(),C.nextTick(()=>{a()}),this.hasExternalHandlerEvent=f=>m.includes(f)},mounted:function(){e.mountedParent.call(this),e.mounted.call(this)},beforeUpdate:function(){e.beforeUpdateParent.call(this),e.beforeUpdate.call(this);const a=()=>{const f=C.getCurrentInstance();f&&f.vnode.props&&(m=Object.keys(f.vnode.props).filter(p=>p.startsWith("on")).map(p=>p.slice(2).toLowerCase()))};a(),C.nextTick(()=>{a()}),this.hasExternalHandlerEvent=f=>m.includes(f)},updated:function(){e.updatedParent.call(this),e.updated.call(this)},beforeUnmount:function(){e.beforeUnmountParent.call(this),e.beforeUnmount.call(this)},unmounted:function(){e.unmountedParent.call(this),e.unmounted.call(this)},data:function(){return{...h,__vue_class_instance__:null}}})}const w=x;function A(s,t=!1){let e=new Set,n=s;do{if(!t&&n.constructor.name=="VueClass")break;Object.getOwnPropertyNames(n).map(u=>e.add(u))}while(n=Object.getPrototypeOf(n));return[...e.keys()].filter(u=>typeof s[u]=="function"&&typeof Object[u]!="function")}function $(s,t=!1){let e=new Set,n=s;do{if(!t&&n.constructor.name=="VueClass")break;Object.getOwnPropertyNames(n).map(u=>e.add(u))}while(n=Object.getPrototypeOf(n));return[...e.keys()].filter(u=>k.indexOf(u)==-1&&u!="__vue_props__"&&s[u]!=="function"&&typeof Object[u]!="function")}function j(s,t){return s.filter(e=>!t.includes(e))}class V extends g{}const i=(s,...t)=>(e,n,u)=>{globalThis.__VST._vueClassInstances[e.constructor.name]||(globalThis.__VST._vueClassInstances[e.constructor.name]=new e.constructor,globalThis.__VST._vueClassInstances[e.constructor.name].name=globalThis.__VST._vueClassInstances[e.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[e.constructor.name].name??"");let h=typeof s=="object"?s:{type:[s,...t]};globalThis.__VST._vueClassInstances[e.constructor.name][n]&&(h.default=globalThis.__VST._vueClassInstances[e.constructor.name][n]),globalThis.__VST._vueClassProps[e.constructor.name]||(globalThis.__VST._vueClassProps[e.constructor.name]={}),globalThis.__VST._vueClassProps[e.constructor.name][n]=h},v=function(s,t=!1,e=!1){return(n,u,h)=>{globalThis.__VST._vueClassInstances[n.constructor.name]||(globalThis.__VST._vueClassInstances[n.constructor.name]=new n.constructor,globalThis.__VST._vueClassInstances[n.constructor.name].name=globalThis.__VST._vueClassInstances[n.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[n.constructor.name].name??""),n?.constructor?.prototype?.__vue_watch__||(n.constructor.prototype.__vue_watch__={}),n?.constructor?.prototype?.__vue_watch__[n.constructor.name]||(n.constructor.prototype.__vue_watch__[n.constructor.name]={}),n.constructor.prototype.__vue_watch__[n.constructor.name][s]=globalThis.__VST._vueClassInstances[n.constructor.name][u],globalThis.__VST._vueClassWatchers[n.constructor.name]||(globalThis.__VST._vueClassWatchers[n.constructor.name]={}),globalThis.__VST._vueClassWatchers[n.constructor.name][s]={handler:globalThis.__VST._vueClassInstances[n.constructor.name][u],deep:t,immediate:e}}},P=function(s){return(t,e,n)=>{globalThis.__VST._vueClassInstances[t.constructor.name]||(globalThis.__VST._vueClassInstances[t.constructor.name]=new t.constructor,globalThis.__VST._vueClassInstances[t.constructor.name].name="test",globalThis.__VST._vueClassInstances[t.constructor.name].name=globalThis.__VST._vueClassInstances[t.constructor.name]?.constructor?.name?.toString()??globalThis.__VST._vueClassInstances[t.constructor.name].name??""),t?.constructor?.prototype?.__vue_computed__||(t.constructor.prototype.__vue_computed__={}),t?.constructor?.prototype?.__vue_computed__[t.constructor.name]||(t.constructor.prototype.__vue_computed__[t.constructor.name]={}),t.constructor.prototype.__vue_computed__[t.constructor.name][s??e]=globalThis.__VST._vueClassInstances[t.constructor.name][e],globalThis.__VST._vueComputed[t.constructor.name]||(globalThis.__VST._vueComputed[t.constructor.name]={});let u=globalThis.__VST._vueClassInstances[t.constructor.name][e];globalThis.__VST._vueClassInstances[t.constructor.name][e]=void 0,delete globalThis.__VST._vueClassInstances[t.constructor.name][e],globalThis.__VST._vueComputed[t.constructor.name][s??e]={get:u}}};let I=class extends g{emitsParent=["update:modelValue"];constructor(){super()}mountedParent(){}};globalThis.__VST={_vueClassInstances:{},_vueClassProps:{},_vueClassWatchers:{},_vueComputed:{}};const F=w;function r(s,t,e,n){var u=arguments.length,h=u<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")h=Reflect.decorate(s,t,e,n);else for(var b=s.length-1;b>=0;b--)(d=s[b])&&(h=(u<3?d(h):u>3?d(t,e,h):d(t,e))||h);return u>3&&h&&Object.defineProperty(t,e,h),h}function o(s,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(s,t)}let l=class extends g{emits=["click","touchstart","touchend","mousedown","mouseup","clickTap","clickTouch","clickOrTouchstart","clickOrTouchend","mousedownOrTouchstart","mouseupOrTouchend","keydownEnter"];icon="";iconRight="";badge="";badgeBg=null;badgeColor=null;style={};bg=null;color=null;borderColor=null;bgActive=null;colorActive=null;colorHover=null;borderColorActive=null;boxShadowColor=null;fontSize=null;fontFamily=null;bgGradientTop=null;bgGradientBottom=null;disabled=!1;shine=!1;type="button";title=null;disabledTitle=null;dataTheme="black";dataDisabledTheme="gray";dataPlacement="top";dataOffset="top";width="calc(100% - 8px)";borderRadius="3px";link=null;linkRevert=null;theme="default";backgroundCss="";boxShadowCss="";isOnHover=!1;isButtonActive=!1;randomClass="";dataThemeInner="";showButton=!0;currentBg=null;currentColor=null;currentColorHover=null;currentBorderColor=null;currentBgActive=null;currentBorderColorActive=null;currentBoxShadowColor=null;currentColorActive=null;innerTitle=null;hasTouchpad=!1;mountedParent(){this.randomClass="button-c",this.updateTheme(),this.$refs?.button}updateTheme(){const t="#ccc",e="#000",n="#cacaca",u="#ccc",h="#b6b6b6",d="#5b5a5a";this.currentBgActive,this.currentBorderColor=this.currentColor=this.currentBg=this.currentColorActive=null,this.theme=="primary"&&(this.currentBg="#005bbf",this.currentColor="#fff",this.currentBorderColor="#0367d5",this.currentBgActive="#005fc8",this.currentBorderColorActive="#0871e3",this.currentBoxShadowColor="#065e8d",this.currentColorActive="#fff",this.currentColorHover="#fff"),this.theme=="success"?(this.currentBg="#0aa86d",this.currentColor="#fff",this.currentBorderColor="#24a876",this.currentBgActive="#0b9762",this.currentBorderColorActive="#0b9762",this.currentBoxShadowColor="#31735b",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="danger"?(this.currentBg="#FF3B30",this.currentColor="#fff",this.currentBorderColor="#FF3B30",this.currentBgActive="#FF3B30",this.currentBorderColorActive="#FF3B30",this.currentBoxShadowColor="#ff8179",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="pink"?(this.currentBg="#ff6161",this.currentColor="#fff",this.currentBorderColor="#ff4741c9",this.currentBgActive="#ff6a60",this.currentBorderColorActive="#ff4141",this.currentBoxShadowColor="#ff6a60",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="warning"?(this.currentBg="#FF9500",this.currentColor="#fff",this.currentBorderColor="#FF9500",this.currentBgActive="#ffb546",this.currentBorderColorActive="#ffb546",this.currentBoxShadowColor="#ffbe64",this.currentColorActive="#fdff98",this.currentColorHover="#fff8e8"):this.theme=="info"?(this.currentBg="#78d9ff",this.currentColor="#203464",this.currentColorHover="#34aff1",this.currentBorderColor="#3db0ee",this.currentBgActive="#78d9ff",this.currentBorderColorActive="#78d9ff",this.currentBoxShadowColor="#78d9ff",this.currentColorActive="#fff",this.currentColorHover="#304460"):this.theme=="yellow"?(this.currentBg="#ffd900",this.currentColor="#444",this.currentBorderColor="#ffd900",this.currentBgActive="#ffc400",this.currentBorderColorActive="#f3c922",this.currentBoxShadowColor="#cac838",this.currentColorActive="#fff"):this.theme=="white"?(this.currentBg="#ffffff",this.currentColor="#444",this.currentColorHover="#164205",this.currentBorderColor="#cacaca",this.currentBgActive="#efede7",this.currentBorderColorActive="##cacaca",this.currentBoxShadowColor="#b3b3ab",this.currentColorActive="#164205"):this.theme=="purple"?(this.currentBg="#942cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#a539f3",this.currentBgActive="#b755ff",this.currentBorderColorActive="#b755ff",this.currentBoxShadowColor="#7f18c5",this.currentColorActive="#ffffff"):this.theme=="black"&&(this.currentBg="#32383e",this.currentColor="#fff",this.currentColorHover="#fcb7ab",this.currentBorderColor="#32383e",this.currentBgActive="#3b4249",this.currentBorderColorActive="#3b4249",this.currentBoxShadowColor="#32383e",this.currentColorActive="#ffffff"),this.currentBg=this.bg??this.currentBg??t,this.currentColor=this.color??this.currentColor??e,this.currentBorderColor=this.borderColor??this.currentBorderColor??n,this.currentBgActive=this.bgActive??this.currentBgActive??u,this.currentBorderColorActive=this.borderColorActive??this.currentBorderColorActive??h,this.currentBoxShadowColor=this.boxShadowColor??this.currentBoxShadowColor??d,this.currentColorActive=this.colorActive??this.currentColorActive??null,this.boxShadowCss=this.disabled?"box-shadow: none":`box-shadow: 0px 1px 2px 0px ${this.currentBoxShadowColor}`,this.dataThemeInner=this.disabled?this.dataDisabledTheme:this.dataTheme,this.backgroundCss="background: "+(this.bgGradientTop&&this.bgGradientBottom?`linear-gradient(to bottom, ${this.bgGradientTop}, ${this.bgGradientBottom})`:this.bg)}click(t){this.disabled||(this.$emit("click",t,this),this.hasTouchpad||(this.$emit("clickTouch",t,this),this.$emit("clickOrTouchstart",t,this),this.$emit("clickTap",t,this),this.link&&(this.link?.startsWith("http")||this.link?.startsWith("//"))||this.link&&this.linkRevert&&!this.linkRevert?.startsWith("http")&&!this.linkRevert?.startsWith("//")?this.$refs.link?.click():(this.link||this.linkRevert)&&window.pjax(this.link||this.linkRevert)))}touchstart(t){this.disabled||(this.$emit("touchstart",t,this),this.hasTouchpad&&(this.$emit("clickTouch",t,this),this.$emit("clickOrTouchstart",t,this)))}touchend(t){this.disabled||(this.$emit("touchend",t,this),this.hasTouchpad||this.$emit("clickOrTouchend",t,this))}mouseup(t){this.disabled||(this.$emit("mouseup",t,this),this.$emit("mouseupOrTouchend",t,this),this.$emit("clickOrTouchend",t,this))}mousedown(t){this.disabled||(this.$emit("mousedown",t,this),this.$emit("mousedownOrTouchstart",t,this))}keydownEnter(t){this.disabled||this.$emit("keydownEnter",t,this)}focus(){this.$refs?.button?.focus()}_onThemeChanged(){this.updateTheme()}_onTitleChanged(t){this.innerTitle=null,t&&this.nextTick(()=>this.innerTitle=t)}_onDisabledChanged(t){this.dataThemeInner=t?this.dataDisabledTheme:this.dataTheme,this.showButton=!1,this.nextTick(()=>this.showButton=!0)}};r([i(String),o("design:type",String)],l.prototype,"icon",void 0);r([i(String),o("design:type",String)],l.prototype,"iconRight",void 0);r([i(String),o("design:type",String)],l.prototype,"badge",void 0);r([i(String),o("design:type",Object)],l.prototype,"badgeBg",void 0);r([i(String),o("design:type",Object)],l.prototype,"badgeColor",void 0);r([i(Object),o("design:type",Object)],l.prototype,"style",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"bg",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"color",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"borderColor",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"bgActive",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"colorActive",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"colorHover",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"borderColorActive",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"boxShadowColor",void 0);r([i(String),o("design:type",Object)],l.prototype,"fontSize",void 0);r([i(String),o("design:type",Object)],l.prototype,"fontFamily",void 0);r([i(String),o("design:type",Object)],l.prototype,"bgGradientTop",void 0);r([i(String),o("design:type",Object)],l.prototype,"bgGradientBottom",void 0);r([i(Boolean),o("design:type",Boolean)],l.prototype,"disabled",void 0);r([i(Boolean),o("design:type",Boolean)],l.prototype,"shine",void 0);r([i(String),o("design:type",String)],l.prototype,"type",void 0);r([i(String),o("design:type",Object)],l.prototype,"title",void 0);r([i(String),o("design:type",Object)],l.prototype,"disabledTitle",void 0);r([i(String),o("design:type",String)],l.prototype,"dataTheme",void 0);r([i(String),o("design:type",String)],l.prototype,"dataDisabledTheme",void 0);r([i(String),o("design:type",String)],l.prototype,"dataPlacement",void 0);r([i(String),o("design:type",String)],l.prototype,"dataOffset",void 0);r([i(String),o("design:type",String)],l.prototype,"width",void 0);r([i(String),o("design:type",String)],l.prototype,"borderRadius",void 0);r([i(String),o("design:type",Object)],l.prototype,"link",void 0);r([i(String),o("design:type",Object)],l.prototype,"linkRevert",void 0);r([i(String,null),o("design:type",Object)],l.prototype,"theme",void 0);r([v("theme"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",void 0)],l.prototype,"_onThemeChanged",null);r([v("title",!1,!0),o("design:type",Function),o("design:paramtypes",[String]),o("design:returntype",void 0)],l.prototype,"_onTitleChanged",null);r([v("disabled"),o("design:type",Function),o("design:paramtypes",[Boolean]),o("design:returntype",void 0)],l.prototype,"_onDisabledChanged",null);const H=C.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Button-Cdk6YfN5.cjs")));class O extends g{emitsParent=["update:modelValue"];constructor(){super()}mountedParent(){}}class c extends O{emits=["click","touchstart","touchend","mousedown","mouseup","clickTap","clickTouch","clickOrTouchstart","clickOrTouchend","mousedownOrTouchstart","mouseupOrTouchend","keydownEnter"];icon="";iconRight="";badge="";badgeBg=null;badgeColor=null;style={};bg=null;color=null;borderColor=null;bgActive=null;colorActive=null;colorHover=null;borderColorActive=null;boxShadowColor=null;fontSize=null;fontFamily=null;bgGradientTop=null;bgGradientBottom=null;disabled=!1;shine=!1;type="button";title=null;disabledTitle=null;dataTheme="black";dataDisabledTheme="gray";dataPlacement="top";dataOffset="top";width="calc(100% - 8px)";borderRadius="3px";link=null;linkRevert=null;theme="default";backgroundCss="";boxShadowCss="";isOnHover=!1;isButtonActive=!1;randomClass="";dataThemeInner="";showButton=!0;currentBg=null;currentColor=null;currentColorHover=null;currentBorderColor=null;currentBgActive=null;currentBorderColorActive=null;currentBoxShadowColor=null;currentColorActive=null;innerTitle=null;hasTouchpad=!1;mountedParent(){this.randomClass="button-c",this.updateTheme(),this.$refs?.button}updateTheme(){const t="#ccc",e="#000",n="#cacaca",u="#ccc",h="#b6b6b6",d="#5b5a5a";this.currentBgActive,this.currentBorderColor=this.currentColor=this.currentBg=this.currentColorActive=null,this.theme=="primary"&&(this.currentBg="#005bbf",this.currentColor="#fff",this.currentBorderColor="#0367d5",this.currentBgActive="#005fc8",this.currentBorderColorActive="#0871e3",this.currentBoxShadowColor="#065e8d",this.currentColorActive="#fff",this.currentColorHover="#fff"),this.theme=="success"?(this.currentBg="#0aa86d",this.currentColor="#fff",this.currentBorderColor="#24a876",this.currentBgActive="#0b9762",this.currentBorderColorActive="#0b9762",this.currentBoxShadowColor="#31735b",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="danger"?(this.currentBg="#FF3B30",this.currentColor="#fff",this.currentBorderColor="#FF3B30",this.currentBgActive="#FF3B30",this.currentBorderColorActive="#FF3B30",this.currentBoxShadowColor="#ff8179",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="pink"?(this.currentBg="#ff6161",this.currentColor="#fff",this.currentBorderColor="#ff4741c9",this.currentBgActive="#ff6a60",this.currentBorderColorActive="#ff4141",this.currentBoxShadowColor="#ff6a60",this.currentColorActive="#fff",this.currentColorHover="#fff"):this.theme=="warning"?(this.currentBg="#FF9500",this.currentColor="#fff",this.currentBorderColor="#FF9500",this.currentBgActive="#ffb546",this.currentBorderColorActive="#ffb546",this.currentBoxShadowColor="#ffbe64",this.currentColorActive="#fdff98",this.currentColorHover="#fff8e8"):this.theme=="info"?(this.currentBg="#78d9ff",this.currentColor="#203464",this.currentColorHover="#34aff1",this.currentBorderColor="#3db0ee",this.currentBgActive="#78d9ff",this.currentBorderColorActive="#78d9ff",this.currentBoxShadowColor="#78d9ff",this.currentColorActive="#fff",this.currentColorHover="#304460"):this.theme=="yellow"?(this.currentBg="#ffd900",this.currentColor="#444",this.currentBorderColor="#ffd900",this.currentBgActive="#ffc400",this.currentBorderColorActive="#f3c922",this.currentBoxShadowColor="#cac838",this.currentColorActive="#fff"):this.theme=="white"?(this.currentBg="#ffffff",this.currentColor="#444",this.currentColorHover="#164205",this.currentBorderColor="#cacaca",this.currentBgActive="#efede7",this.currentBorderColorActive="##cacaca",this.currentBoxShadowColor="#b3b3ab",this.currentColorActive="#164205"):this.theme=="purple"?(this.currentBg="#942cdd",this.currentColor="#fff",this.currentColorHover="#e7c0ff",this.currentBorderColor="#a539f3",this.currentBgActive="#b755ff",this.currentBorderColorActive="#b755ff",this.currentBoxShadowColor="#7f18c5",this.currentColorActive="#ffffff"):this.theme=="black"&&(this.currentBg="#32383e",this.currentColor="#fff",this.currentColorHover="#fcb7ab",this.currentBorderColor="#32383e",this.currentBgActive="#3b4249",this.currentBorderColorActive="#3b4249",this.currentBoxShadowColor="#32383e",this.currentColorActive="#ffffff"),this.currentBg=this.bg??this.currentBg??t,this.currentColor=this.color??this.currentColor??e,this.currentBorderColor=this.borderColor??this.currentBorderColor??n,this.currentBgActive=this.bgActive??this.currentBgActive??u,this.currentBorderColorActive=this.borderColorActive??this.currentBorderColorActive??h,this.currentBoxShadowColor=this.boxShadowColor??this.currentBoxShadowColor??d,this.currentColorActive=this.colorActive??this.currentColorActive??null,this.boxShadowCss=this.disabled?"box-shadow: none":`box-shadow: 0px 1px 2px 0px ${this.currentBoxShadowColor}`,this.dataThemeInner=this.disabled?this.dataDisabledTheme:this.dataTheme,this.backgroundCss="background: "+(this.bgGradientTop&&this.bgGradientBottom?`linear-gradient(to bottom, ${this.bgGradientTop}, ${this.bgGradientBottom})`:this.bg)}click(t){this.disabled||(this.$emit("click",t,this),this.hasTouchpad||(this.$emit("clickTouch",t,this),this.$emit("clickOrTouchstart",t,this),this.$emit("clickTap",t,this),this.link&&(this.link?.startsWith("http")||this.link?.startsWith("//"))||this.link&&this.linkRevert&&!this.linkRevert?.startsWith("http")&&!this.linkRevert?.startsWith("//")?this.$refs.link?.click():(this.link||this.linkRevert)&&window.pjax(this.link||this.linkRevert)))}touchstart(t){this.disabled||(this.$emit("touchstart",t,this),this.hasTouchpad&&(this.$emit("clickTouch",t,this),this.$emit("clickOrTouchstart",t,this)))}touchend(t){this.disabled||(this.$emit("touchend",t,this),this.hasTouchpad||this.$emit("clickOrTouchend",t,this))}mouseup(t){this.disabled||(this.$emit("mouseup",t,this),this.$emit("mouseupOrTouchend",t,this),this.$emit("clickOrTouchend",t,this))}mousedown(t){this.disabled||(this.$emit("mousedown",t,this),this.$emit("mousedownOrTouchstart",t,this))}keydownEnter(t){this.disabled||this.$emit("keydownEnter",t,this)}focus(){this.$refs?.button?.focus()}_onThemeChanged(){this.updateTheme()}_onTitleChanged(t){this.innerTitle=null,t&&this.nextTick(()=>this.innerTitle=t)}_onDisabledChanged(t){this.dataThemeInner=t?this.dataDisabledTheme:this.dataTheme,this.showButton=!1,this.nextTick(()=>this.showButton=!0)}}r([i(String),o("design:type",String)],c.prototype,"icon",void 0);r([i(String),o("design:type",String)],c.prototype,"iconRight",void 0);r([i(String),o("design:type",String)],c.prototype,"badge",void 0);r([i(String),o("design:type",Object)],c.prototype,"badgeBg",void 0);r([i(String),o("design:type",Object)],c.prototype,"badgeColor",void 0);r([i(Object),o("design:type",Object)],c.prototype,"style",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"bg",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"color",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"borderColor",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"bgActive",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"colorActive",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"colorHover",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"borderColorActive",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"boxShadowColor",void 0);r([i(String),o("design:type",Object)],c.prototype,"fontSize",void 0);r([i(String),o("design:type",Object)],c.prototype,"fontFamily",void 0);r([i(String),o("design:type",Object)],c.prototype,"bgGradientTop",void 0);r([i(String),o("design:type",Object)],c.prototype,"bgGradientBottom",void 0);r([i(Boolean),o("design:type",Boolean)],c.prototype,"disabled",void 0);r([i(Boolean),o("design:type",Boolean)],c.prototype,"shine",void 0);r([i(String),o("design:type",String)],c.prototype,"type",void 0);r([i(String),o("design:type",Object)],c.prototype,"title",void 0);r([i(String),o("design:type",Object)],c.prototype,"disabledTitle",void 0);r([i(String),o("design:type",String)],c.prototype,"dataTheme",void 0);r([i(String),o("design:type",String)],c.prototype,"dataDisabledTheme",void 0);r([i(String),o("design:type",String)],c.prototype,"dataPlacement",void 0);r([i(String),o("design:type",String)],c.prototype,"dataOffset",void 0);r([i(String),o("design:type",String)],c.prototype,"width",void 0);r([i(String),o("design:type",String)],c.prototype,"borderRadius",void 0);r([i(String),o("design:type",Object)],c.prototype,"link",void 0);r([i(String),o("design:type",Object)],c.prototype,"linkRevert",void 0);r([i(String,null),o("design:type",Object)],c.prototype,"theme",void 0);r([v("theme"),o("design:type",Function),o("design:paramtypes",[]),o("design:returntype",void 0)],c.prototype,"_onThemeChanged",null);r([v("title",!1,!0),o("design:type",Function),o("design:paramtypes",[String]),o("design:returntype",void 0)],c.prototype,"_onTitleChanged",null);r([v("disabled"),o("design:type",Function),o("design:paramtypes",[Boolean]),o("design:returntype",void 0)],c.prototype,"_onDisabledChanged",null);class R extends I{emitsParent=["update:modelValue"];constructor(){super()}mountedParent(){}}exports.BaseComponent=O;exports.Button=H;exports.ButtonInherited=c;exports.Computed=P;exports.FieldComponent=R;exports.Prop=i;exports.VST=F;exports.VueClass=g;exports.VueClassComponent=w;exports.Watch=v;
|
package/dist/vue-spear-tip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
button[data-v-6770798a]{width:100%;height:100%;display:flex!important;align-items:center!important;justify-content:center!important;touch-action:manipulation;position:relative;font-size:14px;margin:2px 4px;opacity:.9;-webkit-user-select:none;user-select:none;box-shadow:none;outline:none;cursor:pointer;display:inline-block;border:1px solid #fff;transition:all .04s ease-in-out;padding:4px 10px}button .left-icon[data-v-6770798a]{padding-right:5px}button .right-icon[data-v-6770798a]{padding-left:5px}button:not(:disabled) .left-icon-animate i[data-v-6770798a],button:not(:disabled) .right-icon-animate i[data-v-6770798a]{transition:all .1s ease-in-out!important}button[data-v-6770798a]:disabled{opacity:.5;cursor:not-allowed}button[data-v-6770798a]:focus-visible{border-radius:8px;--un-outline-color-opacity:1 !important;outline-color:rgb(249 115 22 / var(--un-outline-color-opacity))!important}button.shine[data-v-6770798a]:not(:disabled):before{content:"";position:absolute;-webkit-user-select:none;user-select:none;inset:0;width:100%;opacity:0;background:linear-gradient(120deg,transparent 0%,transparent 25%,rgba(255,255,255,.6) 45%,rgba(255,255,255,.6) 50%,transparent 75%,transparent 100%);animation:shine-6770798a 3s linear infinite;z-index:1;pointer-events:none}@keyframes shine-6770798a{0%{opacity:0;transform:translate(-100%)}45%{opacity:.005;transform:translate(-60%)}50%{opacity:.8;transform:translate(0)}54%{opacity:0;transform:translate(60%)}to{opacity:0;transform:translate(100%)}}button[data-v-6770798a]:hover:not(:disabled),button[data-v-6770798a]:focus-visible:not(:disabled){transform:scale(1.06);border-radius:8px}button:hover:not(:disabled) .left-icon-animate i[data-v-6770798a],button:hover:not(:disabled) .right-icon-animate i[data-v-6770798a],button:focus-visible:not(:disabled) .left-icon-animate i[data-v-6770798a],button:focus-visible:not(:disabled) .right-icon-animate i[data-v-6770798a]{transform:rotate(-18deg)}button[data-v-6770798a]:active:not(:disabled){transform:scale(1)}button:active:not(:disabled) .left-icon-animate i[data-v-6770798a],button:active:not(:disabled) .right-icon-animate i[data-v-6770798a]{transform:rotate(22deg)}
|