abl-ui 0.5.60 → 0.5.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/abl-ui.es.js +86 -91
- package/lib/abl-ui.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/abl-ui.es.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
2
|
-
const
|
|
3
|
-
const l = e.__vccOpts || e;
|
|
4
|
-
for (const [o, r] of n)
|
|
5
|
-
l[o] = r;
|
|
6
|
-
return l;
|
|
7
|
-
}, F = (e) => (N("data-v-343ef848"), e = e(), T(), e), O = { class: "abl-drawer-content" }, j = { class: "abl-drawer-wrapper-body" }, A = {
|
|
1
|
+
import { getCurrentInstance as z, onBeforeUnmount as _, onUpdated as S, onBeforeMount as I, computed as f, openBlock as n, createBlock as V, Teleport as P, createVNode as m, Transition as k, withCtx as w, createElementBlock as s, normalizeClass as r, normalizeStyle as b, createCommentVNode as i, createElementVNode as l, renderSlot as u, toDisplayString as x, Fragment as C } from "vue";
|
|
2
|
+
const N = { class: "abl-drawer-content" }, T = { class: "abl-drawer-wrapper-body" }, E = {
|
|
8
3
|
key: 0,
|
|
9
4
|
class: "abl-drawer-header"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
],
|
|
5
|
+
}, F = { class: "abl-drawer-header-title" }, j = { class: "abl-drawer-title" }, A = /* @__PURE__ */ l("span", { class: "icon iconfont-abl" }, "", -1), D = [
|
|
6
|
+
A
|
|
7
|
+
], H = { class: "abl-drawer-body" }, M = {
|
|
13
8
|
__name: "index",
|
|
14
9
|
props: {
|
|
15
10
|
modelValue: {
|
|
@@ -83,92 +78,92 @@ const E = (e, n) => {
|
|
|
83
78
|
}
|
|
84
79
|
},
|
|
85
80
|
emits: ["update:modelValue", "close", "confirm"],
|
|
86
|
-
setup(
|
|
87
|
-
const
|
|
81
|
+
setup(t, { emit: a }) {
|
|
82
|
+
const d = a, o = z(), y = (c) => {
|
|
88
83
|
o && (o.appContext.config.globalProperties.$lockCount = c || 0);
|
|
89
|
-
},
|
|
84
|
+
}, e = t, p = () => {
|
|
90
85
|
document.body.style.overflow = "hidden", document.body.style.touchAction = "none";
|
|
91
86
|
const c = o.appContext.config.globalProperties.$lockCount || 0;
|
|
92
|
-
|
|
87
|
+
y(c + 1);
|
|
93
88
|
}, h = () => {
|
|
94
|
-
o.appContext.config.globalProperties.$lockCount > 0 &&
|
|
89
|
+
o.appContext.config.globalProperties.$lockCount > 0 && y((o.appContext.config.globalProperties.$lockCount || 0) - 1), (o.appContext.config.globalProperties.$lockCount || 0) <= 0 && (document.body.style.overflow = "", document.body.style.touchAction = "");
|
|
95
90
|
};
|
|
96
|
-
|
|
97
|
-
|
|
91
|
+
_(() => {
|
|
92
|
+
e.modelValue && h();
|
|
93
|
+
}), S(() => {
|
|
94
|
+
e.modelValue ? p() : h();
|
|
98
95
|
}), I(() => {
|
|
99
|
-
|
|
100
|
-
}),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
]), _ = p(() => `slide-${t.direction}`), $ = () => {
|
|
106
|
-
t.maskClosable && g();
|
|
96
|
+
e.modelValue && p();
|
|
97
|
+
}), f(() => e.disabled || e.appendTo === "self");
|
|
98
|
+
const $ = f(() => [
|
|
99
|
+
e.direction == "left" ? { top: 0, left: 0, width: e.width, height: "100%", zIndex: e.zIndex + 2 } : e.direction == "top" ? { top: 0, left: 0, width: "100%", height: e.height, zIndex: e.zIndex + 2 } : e.direction == "right" ? { top: 0, right: 0, width: e.width, height: "100%", zIndex: e.zIndex + 2 } : e.direction == "bottom" ? { bottom: 0, left: 0, width: "100%", height: e.height, zIndex: e.zIndex + 2 } : {}
|
|
100
|
+
]), v = f(() => `slide-${e.direction}`), B = () => {
|
|
101
|
+
e.maskClosable && g();
|
|
107
102
|
}, g = () => {
|
|
108
|
-
typeof
|
|
103
|
+
typeof e.beforeClose == "function" ? e.beforeClose() : (d("update:modelValue", !1), d("close"));
|
|
109
104
|
};
|
|
110
|
-
return (c,
|
|
105
|
+
return (c, K) => (n(), V(P, { to: "body" }, [
|
|
111
106
|
m(k, {
|
|
112
107
|
name: "fade-popup",
|
|
113
108
|
appear: ""
|
|
114
109
|
}, {
|
|
115
110
|
default: w(() => [
|
|
116
|
-
|
|
111
|
+
t.modelValue && t.overlay ? (n(), s("div", {
|
|
117
112
|
key: 0,
|
|
118
|
-
class:
|
|
119
|
-
onClick:
|
|
120
|
-
style:
|
|
121
|
-
}, null, 6)) :
|
|
113
|
+
class: r(["abl-drawer-mask", `${e.class}-mask`]),
|
|
114
|
+
onClick: B,
|
|
115
|
+
style: b(`z-index: ${e.zIndex}`)
|
|
116
|
+
}, null, 6)) : i("", !0)
|
|
122
117
|
]),
|
|
123
118
|
_: 1
|
|
124
119
|
}),
|
|
125
120
|
m(k, {
|
|
126
|
-
name:
|
|
121
|
+
name: v.value,
|
|
127
122
|
appear: ""
|
|
128
123
|
}, {
|
|
129
124
|
default: w(() => [
|
|
130
|
-
|
|
125
|
+
t.modelValue ? (n(), s("div", {
|
|
131
126
|
key: 0,
|
|
132
|
-
class:
|
|
133
|
-
style:
|
|
127
|
+
class: r(["abl-drawer", t.customClass, `abl-drawer-${e.direction}`, t.round && "abl-drawer-round", e.class]),
|
|
128
|
+
style: b(`z-index: ${e.zIndex + 1}`)
|
|
134
129
|
}, [
|
|
135
|
-
|
|
130
|
+
l("div", {
|
|
136
131
|
class: "abl-drawer-content-wrapper",
|
|
137
|
-
style:
|
|
132
|
+
style: b($.value)
|
|
138
133
|
}, [
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
134
|
+
l("div", N, [
|
|
135
|
+
l("div", T, [
|
|
136
|
+
t.showHeader ? (n(), s("div", E, [
|
|
137
|
+
u(c.$slots, "header", {}, () => [
|
|
138
|
+
l("div", F, [
|
|
139
|
+
l("span", j, x(t.title), 1)
|
|
145
140
|
]),
|
|
146
|
-
|
|
141
|
+
l("div", {
|
|
147
142
|
class: "abl-drawer-close-btn",
|
|
148
143
|
onClick: g,
|
|
149
144
|
type: "button"
|
|
150
|
-
},
|
|
151
|
-
]
|
|
152
|
-
])) :
|
|
153
|
-
|
|
154
|
-
|
|
145
|
+
}, D)
|
|
146
|
+
])
|
|
147
|
+
])) : i("", !0),
|
|
148
|
+
l("div", H, [
|
|
149
|
+
u(c.$slots, "default")
|
|
155
150
|
])
|
|
156
151
|
])
|
|
157
152
|
])
|
|
158
153
|
], 4)
|
|
159
|
-
], 6)) :
|
|
154
|
+
], 6)) : i("", !0)
|
|
160
155
|
]),
|
|
161
156
|
_: 3
|
|
162
157
|
}, 8, ["name"])
|
|
163
158
|
]));
|
|
164
159
|
}
|
|
165
|
-
}
|
|
166
|
-
const
|
|
160
|
+
};
|
|
161
|
+
const O = {
|
|
167
162
|
key: 0,
|
|
168
163
|
class: "iconfont-abl icon-abl-loading2 abl-icon-loading"
|
|
169
|
-
},
|
|
164
|
+
}, U = { class: "abl-button__text" }, G = {
|
|
170
165
|
name: "AblButton"
|
|
171
|
-
},
|
|
166
|
+
}, L = /* @__PURE__ */ Object.assign(G, {
|
|
172
167
|
props: {
|
|
173
168
|
type: {
|
|
174
169
|
type: String,
|
|
@@ -207,49 +202,49 @@ const J = {
|
|
|
207
202
|
default: "loading..."
|
|
208
203
|
}
|
|
209
204
|
},
|
|
210
|
-
setup(
|
|
211
|
-
const
|
|
212
|
-
[`abl-button-${
|
|
213
|
-
"is-dashed":
|
|
214
|
-
"is-round":
|
|
215
|
-
"is-circle":
|
|
216
|
-
"is-disabled":
|
|
205
|
+
setup(t) {
|
|
206
|
+
const a = t, d = f(() => ({
|
|
207
|
+
[`abl-button-${a.type}`]: a.type,
|
|
208
|
+
"is-dashed": a.dashed,
|
|
209
|
+
"is-round": a.round,
|
|
210
|
+
"is-circle": a.circle,
|
|
211
|
+
"is-disabled": a.disabled
|
|
217
212
|
}));
|
|
218
|
-
return (o,
|
|
219
|
-
class:
|
|
213
|
+
return (o, y) => (n(), s("button", {
|
|
214
|
+
class: r(["abl-button", d.value])
|
|
220
215
|
}, [
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
], 64)) : (
|
|
225
|
-
|
|
226
|
-
|
|
216
|
+
t.loading ? (n(), s(C, { key: 0 }, [
|
|
217
|
+
t.loading ? (n(), s("i", O)) : i("", !0),
|
|
218
|
+
l("span", null, x(t.loadingText), 1)
|
|
219
|
+
], 64)) : (n(), s(C, { key: 1 }, [
|
|
220
|
+
t.iconPosition === "left" ? u(o.$slots, "icon", { key: 0 }, () => [
|
|
221
|
+
t.icon ? (n(), s("i", {
|
|
227
222
|
key: 0,
|
|
228
|
-
class:
|
|
229
|
-
}, null, 2)) :
|
|
230
|
-
]) :
|
|
231
|
-
|
|
232
|
-
|
|
223
|
+
class: r(["iconfont-abl slot-icon-left", t.icon])
|
|
224
|
+
}, null, 2)) : i("", !0)
|
|
225
|
+
]) : i("", !0),
|
|
226
|
+
l("span", U, [
|
|
227
|
+
u(o.$slots, "default")
|
|
233
228
|
]),
|
|
234
|
-
|
|
235
|
-
|
|
229
|
+
t.iconPosition === "right" ? u(o.$slots, "icon", { key: 1 }, () => [
|
|
230
|
+
t.icon ? (n(), s("i", {
|
|
236
231
|
key: 0,
|
|
237
|
-
class:
|
|
238
|
-
}, null, 2)) :
|
|
239
|
-
]) :
|
|
232
|
+
class: r(["iconfont-abl slot-icon-right", t.icon])
|
|
233
|
+
}, null, 2)) : i("", !0)
|
|
234
|
+
]) : i("", !0)
|
|
240
235
|
], 64))
|
|
241
236
|
], 2));
|
|
242
237
|
}
|
|
243
|
-
}),
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
],
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}),
|
|
250
|
-
},
|
|
238
|
+
}), q = [
|
|
239
|
+
L,
|
|
240
|
+
M
|
|
241
|
+
], J = function(t, a) {
|
|
242
|
+
q.forEach((d) => {
|
|
243
|
+
t.component(d.name, d);
|
|
244
|
+
}), t.config.globalProperties.$lockCount = 0;
|
|
245
|
+
}, R = { install: J };
|
|
251
246
|
export {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
247
|
+
L as ablButton,
|
|
248
|
+
M as ablDrawer,
|
|
249
|
+
R as default
|
|
255
250
|
};
|
package/lib/abl-ui.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n["abl-ui"]={},n.Vue))})(this,function(n,e){"use strict";const z="",y={class:"abl-drawer-content"},u={class:"abl-drawer-wrapper-body"},b={key:0,class:"abl-drawer-header"},h={class:"abl-drawer-header-title"},g={class:"abl-drawer-title"},k=[e.createElementVNode("span",{class:"icon iconfont-abl"},"",-1)],C={class:"abl-drawer-body"},c={__name:"index",props:{modelValue:{type:Boolean,default:!1},width:{type:String,default:"30%"},height:{type:String,default:"40%"},direction:{type:String,default:"right"},customClass:{type:String,default:""},beforeClose:{type:Function,default:()=>{}},maskClosable:{type:Boolean,default:!0},title:{type:String,default:""},showClose:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},footerStyle:{type:Object,default:()=>{}},beforeClose:{type:Function},zIndex:{type:Number,default:2e3},round:{type:Boolean,default:!1},class:{type:String,default:""},animate:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0}},emits:["update:modelValue","close","confirm"],setup(o,{emit:a}){const d=a,l=e.getCurrentInstance(),s=i=>{l&&(l.appContext.config.globalProperties.$lockCount=i||0)},t=o,f=()=>{document.body.style.overflow="hidden",document.body.style.touchAction="none";const i=l.appContext.config.globalProperties.$lockCount||0;s(i+1)},m=()=>{l.appContext.config.globalProperties.$lockCount>0&&s((l.appContext.config.globalProperties.$lockCount||0)-1),(l.appContext.config.globalProperties.$lockCount||0)<=0&&(document.body.style.overflow="",document.body.style.touchAction="")};e.onBeforeUnmount(()=>{t.modelValue&&m()}),e.onUpdated(()=>{t.modelValue?f():m()}),e.onBeforeMount(()=>{t.modelValue&&f()}),e.computed(()=>t.disabled||t.appendTo==="self");const S=e.computed(()=>[t.direction=="left"?{top:0,left:0,width:t.width,height:"100%",zIndex:t.zIndex+2}:t.direction=="top"?{top:0,left:0,width:"100%",height:t.height,zIndex:t.zIndex+2}:t.direction=="right"?{top:0,right:0,width:t.width,height:"100%",zIndex:t.zIndex+2}:t.direction=="bottom"?{bottom:0,left:0,width:"100%",height:t.height,zIndex:t.zIndex+2}:{}]),_=e.computed(()=>`slide-${t.direction}`),N=()=>{t.maskClosable&&p()},p=()=>{typeof t.beforeClose=="function"?t.beforeClose():(d("update:modelValue",!1),d("close"))};return(i,T)=>(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"fade-popup",appear:""},{default:e.withCtx(()=>[o.modelValue&&o.overlay?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["abl-drawer-mask",`${t.class}-mask`]),onClick:N,style:e.normalizeStyle(`z-index: ${t.zIndex}`)},null,6)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:_.value,appear:""},{default:e.withCtx(()=>[o.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["abl-drawer",o.customClass,`abl-drawer-${t.direction}`,o.round&&"abl-drawer-round",t.class]),style:e.normalizeStyle(`z-index: ${t.zIndex+1}`)},[e.createElementVNode("div",{class:"abl-drawer-content-wrapper",style:e.normalizeStyle(S.value)},[e.createElementVNode("div",y,[e.createElementVNode("div",u,[o.showHeader?(e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(i.$slots,"header",{},()=>[e.createElementVNode("div",h,[e.createElementVNode("span",g,e.toDisplayString(o.title),1)]),e.createElementVNode("div",{class:"abl-drawer-close-btn",onClick:p,type:"button"},k)])])):e.createCommentVNode("",!0),e.createElementVNode("div",C,[e.renderSlot(i.$slots,"default")])])])],4)],6)):e.createCommentVNode("",!0)]),_:3},8,["name"])]))}},E="",B={key:0,class:"iconfont-abl icon-abl-loading2 abl-icon-loading"},V={class:"abl-button__text"},r=Object.assign({name:"AblButton"},{props:{type:{type:String,default:"default"},dashed:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},round:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},icon:{type:String,default:""},iconPosition:{type:String,default:"left"},loading:{type:Boolean,default:!1},loadingText:{type:String,default:"loading..."}},setup(o){const a=o,d=e.computed(()=>({[`abl-button-${a.type}`]:a.type,"is-dashed":a.dashed,"is-round":a.round,"is-circle":a.circle,"is-disabled":a.disabled}));return(l,s)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["abl-button",d.value])},[o.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.loading?(e.openBlock(),e.createElementBlock("i",B)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(o.loadingText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.iconPosition==="left"?e.renderSlot(l.$slots,"icon",{key:0},()=>[o.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["iconfont-abl slot-icon-left",o.icon])},null,2)):e.createCommentVNode("",!0)]):e.createCommentVNode("",!0),e.createElementVNode("span",V,[e.renderSlot(l.$slots,"default")]),o.iconPosition==="right"?e.renderSlot(l.$slots,"icon",{key:1},()=>[o.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["iconfont-abl slot-icon-right",o.icon])},null,2)):e.createCommentVNode("",!0)]):e.createCommentVNode("",!0)],64))],2))}}),w=[r,c],x={install:function(o,a){w.forEach(d=>{o.component(d.name,d)}),o.config.globalProperties.$lockCount=0}};n.ablButton=r,n.ablDrawer=c,n.default=x,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.fade-popup-enter-active
|
|
1
|
+
.fade-popup-enter-active,.fade-popup-leave-active{transition:opacity .2s ease}.fade-popup-enter-from,.fade-popup-leave-to{opacity:0;transition:opacity .3s ease}.slide-left-enter-active,.slide-left-leave-active{transition:all .3s ease;transform:translate(0)}.slide-left-enter-from,.slide-left-leave-to{transform:translate(-100%)}.slide-top-enter-active,.slide-top-leave-active{transition:all .3s ease;transform:translateY(0)}.slide-top-enter-from,.slide-top-leave-to{transform:translateY(-100%)}.slide-right-enter-active,.slide-right-leave-active{transition:all .3s ease;transform:translate(0)}.slide-right-enter-from,.slide-right-leave-to{transform:translate(100%)}.slide-bottom-enter-active,.slide-bottom-leave-active{transition:all .3s ease;transform:translateY(0)}.slide-bottom-enter-from,.slide-bottom-leave-to{transform:translateY(100%)}.abl-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2001;pointer-events:none}.abl-drawer .abl-drawer-header{display:flex;align-items:center;padding:15px;font-size:16px;border-bottom:1px solid rgba(5,5,5,.06)}.abl-drawer .abl-drawer-header .abl-drawer-header-title{display:flex;flex:1;align-items:center;min-width:0;min-height:0}.abl-drawer .abl-drawer-header .abl-drawer-header-title .abl-drawer-title{flex:1;margin:0;color:var(--theme-color);font-weight:500;font-size:16px}.abl-drawer .abl-drawer-header .abl-drawer-close-btn{display:inline-flex;border:none;cursor:pointer;font-size:24px;color:var(--theme-color);outline:none}.abl-drawer .abl-drawer-header .abl-drawer-close-btn .icon{font-size:24px}.abl-drawer .abl-drawer-body{flex:1;padding:15px;overflow:auto}.abl-drawer .abl-drawer-content-wrapper{width:30%;height:100%;position:fixed;right:0;z-index:2002;background:#fff;box-shadow:0 2px 12px #0707071a}.abl-drawer .abl-drawer-content-wrapper .abl-drawer-content{width:100%;height:100%;overflow:auto;background:#ffffff;pointer-events:auto}.abl-drawer .abl-drawer-content-wrapper .abl-drawer-content .abl-drawer-wrapper-body{display:flex;flex-direction:column;width:100%;height:100%}.abl-drawer .abl-drawer-content-wrapper .abl-drawer-content .abl-drawer-wrapper-body .abl-drawer-footer{flex-shrink:0;padding:24px;border-top:1px solid rgba(5,5,5,.06)}.abl-drawer-round.abl-drawer-bottom .abl-drawer-content-wrapper,.abl-drawer-round.abl-drawer-bottom .abl-drawer-content{border-radius:12px 12px 0 0}.abl-drawer-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;background:rgba(0,0,0,.45);pointer-events:auto}.abl-button{box-sizing:border-box;font-size:14px;background-color:#fff;padding:0 15px;height:40px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;border-radius:4px;transition:all .25s;color:#111;border:1px solid #d9d9d9;-webkit-user-select:none;user-select:none}.abl-button:focus{outline:none}.abl-button::-moz-focus-inner{border:0}.abl-button.is-circle{border-radius:100%;width:40px}.abl-button.is-round{border-radius:20px}.abl-button.abl-button-default:hover{color:#111;border-color:#111}.abl-button.abl-button-default:active{opacity:1}.abl-button.abl-button-default.is-dashed{border-style:dashed}.abl-button.abl-button-primary{background-color:#111;border-color:#111;color:#fff}.abl-button.abl-button-primary:hover{opacity:.9}.abl-button.abl-button-primary:active{opacity:1}.abl-button.abl-button-primary.is-disabled{cursor:not-allowed;opacity:.5}.abl-button.abl-button-primary.is-disabled:hover{opacity:.5}.abl-button.abl-button-primary.is-dashed{border-style:dashed;background-color:#fff!important;color:#111}.abl-button.abl-button-info{background-color:#909399;border-color:#909399;color:#fff}.abl-button.abl-button-info:hover{opacity:.9}.abl-button.abl-button-info:active{opacity:1}.abl-button.abl-button-info.is-disabled{cursor:not-allowed;opacity:.5}.abl-button.abl-button-info.is-disabled:hover{opacity:.5}.abl-button.abl-button-info.is-dashed{border-style:dashed;background-color:#fff!important;color:#909399}.abl-button.abl-button-success{background-color:#67c23a;border-color:#67c23a;color:#fff}.abl-button.abl-button-success:hover{opacity:.8}.abl-button.abl-button-success:active{opacity:1}.abl-button.abl-button-success.is-disabled{cursor:not-allowed;opacity:.5}.abl-button.abl-button-success.is-disabled:hover{opacity:.5}.abl-button.abl-button-success.is-dashed{border-style:dashed;background-color:#fff!important;color:#67c23a}.abl-button.abl-button-warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.abl-button.abl-button-warning:hover{opacity:.8}.abl-button.abl-button-warning:active{opacity:1}.abl-button.abl-button-warning.is-disabled{cursor:not-allowed;opacity:.5}.abl-button.abl-button-warning.is-disabled:hover{opacity:.5}.abl-button.abl-button-warning.is-dashed{border-style:dashed;background-color:#fff!important;color:#e6a23c}.abl-button.abl-button-danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.abl-button.abl-button-danger:hover{opacity:.8}.abl-button.abl-button-danger:active{opacity:1}.abl-button.abl-button-danger.is-disabled{cursor:not-allowed;opacity:.5}.abl-button.abl-button-danger.is-disabled:hover{opacity:.5}.abl-button.abl-button-danger.is-dashed{border-style:dashed;background-color:#fff!important;color:#f56c6c}.abl-button>.abl-icon-loading{margin-right:4px;animation:abl-spin 1s infinite linear}.abl-button>.slot-icon-left{margin-right:5px}.abl-button>.slot-icon-right{margin-left:5px}@keyframes abl-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|