lew-ui 1.9.1 → 1.9.2
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/index.es.js +122 -109
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3699,6 +3699,11 @@ const inputProps = {
|
|
|
3699
3699
|
type: Boolean,
|
|
3700
3700
|
default: false,
|
|
3701
3701
|
description: "\u662F\u5426\u6309\u56DE\u8F66\u952E\u786E\u8BA4"
|
|
3702
|
+
},
|
|
3703
|
+
regular: {
|
|
3704
|
+
type: Function,
|
|
3705
|
+
default: () => true,
|
|
3706
|
+
description: "\u6B63\u5219\u6821\u9A8C"
|
|
3702
3707
|
}
|
|
3703
3708
|
};
|
|
3704
3709
|
var LewInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -3707,42 +3712,35 @@ const _hoisted_1$t = {
|
|
|
3707
3712
|
class: "lew-input-prefixes"
|
|
3708
3713
|
};
|
|
3709
3714
|
const _hoisted_2$n = {
|
|
3710
|
-
key: 0,
|
|
3711
|
-
class: "lew-input-prefixes-text"
|
|
3712
|
-
};
|
|
3713
|
-
const _hoisted_3$e = {
|
|
3714
3715
|
key: 1,
|
|
3715
3716
|
class: "lew-input-prefixes-icon"
|
|
3716
3717
|
};
|
|
3717
|
-
const
|
|
3718
|
+
const _hoisted_3$e = {
|
|
3718
3719
|
key: 2,
|
|
3719
3720
|
class: "lew-input-prefixes-select"
|
|
3720
3721
|
};
|
|
3722
|
+
const _hoisted_4$c = { class: "lew-input-box" };
|
|
3721
3723
|
const _hoisted_5$8 = ["disabled", "placeholder", "type", "readonly"];
|
|
3722
3724
|
const _hoisted_6$4 = {
|
|
3723
|
-
key:
|
|
3724
|
-
class: "lew-input-
|
|
3725
|
+
key: 0,
|
|
3726
|
+
class: "lew-input-auto-width"
|
|
3725
3727
|
};
|
|
3726
3728
|
const _hoisted_7$3 = {
|
|
3727
|
-
key:
|
|
3728
|
-
class: "lew-input-
|
|
3729
|
+
key: 1,
|
|
3730
|
+
class: "lew-input-controls"
|
|
3729
3731
|
};
|
|
3730
3732
|
const _hoisted_8$3 = {
|
|
3733
|
+
key: 2,
|
|
3734
|
+
class: "lew-input-suffix"
|
|
3735
|
+
};
|
|
3736
|
+
const _hoisted_9$3 = {
|
|
3731
3737
|
key: 1,
|
|
3732
3738
|
class: "lew-input-suffix-icon"
|
|
3733
3739
|
};
|
|
3734
|
-
const
|
|
3740
|
+
const _hoisted_10$3 = {
|
|
3735
3741
|
key: 2,
|
|
3736
3742
|
class: "lew-input-suffix-select"
|
|
3737
3743
|
};
|
|
3738
|
-
const _hoisted_10$3 = {
|
|
3739
|
-
key: 3,
|
|
3740
|
-
class: "lew-input-auto-width"
|
|
3741
|
-
};
|
|
3742
|
-
const _hoisted_11$2 = {
|
|
3743
|
-
key: 4,
|
|
3744
|
-
class: "lew-input-controls"
|
|
3745
|
-
};
|
|
3746
3744
|
const _sfc_main$y = defineComponent({
|
|
3747
3745
|
__name: "LewInput",
|
|
3748
3746
|
props: inputProps,
|
|
@@ -3907,19 +3905,24 @@ const _sfc_main$y = defineComponent({
|
|
|
3907
3905
|
});
|
|
3908
3906
|
__expose({ toFocus });
|
|
3909
3907
|
return (_ctx, _cache) => {
|
|
3908
|
+
const _component_lew_text_trim = resolveComponent("lew-text-trim");
|
|
3910
3909
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
3911
3910
|
return openBlock(), createElementBlock("div", {
|
|
3912
3911
|
class: normalizeClass(["lew-input-view", unref(getInputClassNames)])
|
|
3913
3912
|
}, [
|
|
3914
3913
|
_ctx.prefixes ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
3915
|
-
_ctx.prefixes === "text" ? (openBlock(),
|
|
3916
|
-
|
|
3914
|
+
_ctx.prefixes === "text" ? (openBlock(), createBlock(_component_lew_text_trim, {
|
|
3915
|
+
key: 0,
|
|
3916
|
+
text: unref(prefixesValue),
|
|
3917
|
+
class: "lew-input-prefixes-text"
|
|
3918
|
+
}, null, 8, ["text"])) : createCommentVNode("v-if", true),
|
|
3919
|
+
_ctx.prefixes === "icon" ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
|
|
3917
3920
|
createVNode(unref(script), {
|
|
3918
3921
|
size: unref(getIconSize),
|
|
3919
3922
|
type: unref(prefixesValue)
|
|
3920
3923
|
}, null, 8, ["size", "type"])
|
|
3921
3924
|
])) : createCommentVNode("v-if", true),
|
|
3922
|
-
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div",
|
|
3925
|
+
_ctx.prefixes === "select" ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
|
|
3923
3926
|
createVNode(unref(LewDropdown), {
|
|
3924
3927
|
placement: "bottom",
|
|
3925
3928
|
trigger: "click",
|
|
@@ -3937,7 +3940,10 @@ const _sfc_main$y = defineComponent({
|
|
|
3937
3940
|
}])
|
|
3938
3941
|
}, {
|
|
3939
3942
|
default: withCtx(() => [
|
|
3940
|
-
|
|
3943
|
+
createVNode(_component_lew_text_trim, {
|
|
3944
|
+
text: unref(getPrefixesLabel),
|
|
3945
|
+
class: "lew-input-prefixes-text"
|
|
3946
|
+
}, null, 8, ["text"]),
|
|
3941
3947
|
createVNode(unref(script), {
|
|
3942
3948
|
size: unref(getIconSize),
|
|
3943
3949
|
type: "chevron-down",
|
|
@@ -3967,40 +3973,91 @@ const _sfc_main$y = defineComponent({
|
|
|
3967
3973
|
class: normalizeClass({ "lew-input-copy-btn-check": unref(isCopy) })
|
|
3968
3974
|
}, null, 8, ["size", "type", "class"])
|
|
3969
3975
|
])) : createCommentVNode("v-if", true),
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3976
|
+
createElementVNode("div", _hoisted_4$c, [
|
|
3977
|
+
withDirectives(createElementVNode("input", {
|
|
3978
|
+
ref_key: "lewInputRef",
|
|
3979
|
+
ref: lewInputRef,
|
|
3980
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
3981
|
+
class: "lew-input",
|
|
3982
|
+
autocomplete: "new-password",
|
|
3983
|
+
disabled: _ctx.disabled,
|
|
3984
|
+
placeholder: _ctx.placeholder,
|
|
3985
|
+
type: unref(getType),
|
|
3986
|
+
readonly: _ctx.readonly,
|
|
3987
|
+
onkeypress: "if(window.event.keyCode==13) this.blur()",
|
|
3988
|
+
onInput: inputFn,
|
|
3989
|
+
onChange: _cache[3] || (_cache[3] = ($event) => emit("change", unref(modelValue))),
|
|
3990
|
+
onBlur: blur,
|
|
3991
|
+
onFocus: focus
|
|
3992
|
+
}, null, 40, _hoisted_5$8), [
|
|
3993
|
+
[vModelDynamic, unref(modelValue)]
|
|
3994
|
+
]),
|
|
3995
|
+
_ctx.autoWidth ? (openBlock(), createElementBlock("label", _hoisted_6$4, toDisplayString(unref(modelValue)), 1)) : createCommentVNode("v-if", true),
|
|
3996
|
+
_ctx.showPassword || _ctx.clearable || _ctx.showCount ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
3997
|
+
unref(getCheckNumStr) ? (openBlock(), createElementBlock("div", {
|
|
3998
|
+
key: 0,
|
|
3999
|
+
class: normalizeClass(["lew-input-count", {
|
|
4000
|
+
"lew-input-count-clearable": _ctx.clearable && unref(modelValue)
|
|
4001
|
+
}])
|
|
4002
|
+
}, toDisplayString(unref(getCheckNumStr)), 3)) : createCommentVNode("v-if", true),
|
|
4003
|
+
_ctx.showPassword && _ctx.type === "password" ? (openBlock(), createElementBlock("div", {
|
|
4004
|
+
key: 1,
|
|
4005
|
+
class: "lew-input-show-password",
|
|
4006
|
+
onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
4007
|
+
}, ["prevent"])),
|
|
4008
|
+
onClick: showPasswordFn
|
|
4009
|
+
}, [
|
|
4010
|
+
withDirectives(createVNode(unref(script), {
|
|
4011
|
+
size: unref(getIconSize),
|
|
4012
|
+
type: "eye"
|
|
4013
|
+
}, null, 8, ["size"]), [
|
|
4014
|
+
[vShow, unref(_type) === "text"]
|
|
4015
|
+
]),
|
|
4016
|
+
withDirectives(createVNode(unref(script), {
|
|
4017
|
+
size: unref(getIconSize),
|
|
4018
|
+
type: "eye-off"
|
|
4019
|
+
}, null, 8, ["size"]), [
|
|
4020
|
+
[vShow, unref(_type) === "password"]
|
|
4021
|
+
])
|
|
4022
|
+
], 32)) : createCommentVNode("v-if", true),
|
|
4023
|
+
createVNode(Transition, { name: "lew-form-icon-ani" }, {
|
|
4024
|
+
default: withCtx(() => [
|
|
4025
|
+
_ctx.clearable && unref(modelValue) && !_ctx.readonly ? (openBlock(), createBlock(unref(script), {
|
|
4026
|
+
key: 0,
|
|
4027
|
+
class: normalizeClass(["lew-form-icon-clear", {
|
|
4028
|
+
"lew-form-icon-clear-focus": unref(state).isFocus
|
|
4029
|
+
}]),
|
|
4030
|
+
size: unref(getIconSize),
|
|
4031
|
+
type: "x",
|
|
4032
|
+
onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {
|
|
4033
|
+
}, ["prevent"])),
|
|
4034
|
+
onClick: clear2
|
|
4035
|
+
}, null, 8, ["class", "size"])) : createCommentVNode("v-if", true)
|
|
4036
|
+
]),
|
|
4037
|
+
_: 1
|
|
4038
|
+
})
|
|
4039
|
+
])) : createCommentVNode("v-if", true)
|
|
3987
4040
|
]),
|
|
3988
|
-
_ctx.suffix ? withDirectives((openBlock(), createElementBlock("div",
|
|
3989
|
-
_ctx.suffix === "text" ? (openBlock(),
|
|
3990
|
-
|
|
4041
|
+
_ctx.suffix ? withDirectives((openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
4042
|
+
_ctx.suffix === "text" ? (openBlock(), createBlock(_component_lew_text_trim, {
|
|
4043
|
+
key: 0,
|
|
4044
|
+
text: unref(suffixValue),
|
|
4045
|
+
class: "lew-input-suffix-text"
|
|
4046
|
+
}, null, 8, ["text"])) : createCommentVNode("v-if", true),
|
|
4047
|
+
_ctx.suffix === "icon" ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
3991
4048
|
createVNode(unref(script), {
|
|
3992
4049
|
size: unref(getIconSize),
|
|
3993
4050
|
type: unref(suffixValue)
|
|
3994
4051
|
}, null, 8, ["size", "type"])
|
|
3995
4052
|
])) : createCommentVNode("v-if", true),
|
|
3996
|
-
_ctx.suffix === "select" ? (openBlock(), createElementBlock("div",
|
|
4053
|
+
_ctx.suffix === "select" ? (openBlock(), createElementBlock("div", _hoisted_10$3, [
|
|
3997
4054
|
createVNode(unref(LewDropdown), {
|
|
3998
4055
|
placement: "bottom",
|
|
3999
4056
|
trigger: "click",
|
|
4000
4057
|
options: _ctx.suffixOptions,
|
|
4001
4058
|
onChange: suffixChange,
|
|
4002
|
-
onShow: _cache[
|
|
4003
|
-
onHide: _cache[
|
|
4059
|
+
onShow: _cache[6] || (_cache[6] = ($event) => unref(state).suffixDropdown = "show"),
|
|
4060
|
+
onHide: _cache[7] || (_cache[7] = ($event) => unref(state).suffixDropdown = "hide")
|
|
4004
4061
|
}, {
|
|
4005
4062
|
default: withCtx(() => [
|
|
4006
4063
|
createVNode(unref(LewFlex), {
|
|
@@ -4011,7 +4068,10 @@ const _sfc_main$y = defineComponent({
|
|
|
4011
4068
|
}])
|
|
4012
4069
|
}, {
|
|
4013
4070
|
default: withCtx(() => [
|
|
4014
|
-
|
|
4071
|
+
createVNode(_component_lew_text_trim, {
|
|
4072
|
+
text: unref(getSuffixLabel),
|
|
4073
|
+
class: "lew-input-suffix-text"
|
|
4074
|
+
}, null, 8, ["text"]),
|
|
4015
4075
|
createVNode(unref(script), {
|
|
4016
4076
|
size: unref(getIconSize),
|
|
4017
4077
|
type: "chevron-down",
|
|
@@ -4029,52 +4089,7 @@ const _sfc_main$y = defineComponent({
|
|
|
4029
4089
|
content: _ctx.suffixTooltip,
|
|
4030
4090
|
trigger: _ctx.suffixTooltip ? "mouseenter" : ""
|
|
4031
4091
|
}]
|
|
4032
|
-
]) : createCommentVNode("v-if", true)
|
|
4033
|
-
_ctx.autoWidth ? (openBlock(), createElementBlock("label", _hoisted_10$3, toDisplayString(unref(modelValue)), 1)) : createCommentVNode("v-if", true),
|
|
4034
|
-
_ctx.showPassword || _ctx.clearable || _ctx.showCount ? (openBlock(), createElementBlock("div", _hoisted_11$2, [
|
|
4035
|
-
unref(getCheckNumStr) ? (openBlock(), createElementBlock("div", {
|
|
4036
|
-
key: 0,
|
|
4037
|
-
class: normalizeClass(["lew-input-count", {
|
|
4038
|
-
"lew-input-count-clearable": _ctx.clearable && unref(modelValue)
|
|
4039
|
-
}])
|
|
4040
|
-
}, toDisplayString(unref(getCheckNumStr)), 3)) : createCommentVNode("v-if", true),
|
|
4041
|
-
_ctx.showPassword && _ctx.type === "password" ? (openBlock(), createElementBlock("div", {
|
|
4042
|
-
key: 1,
|
|
4043
|
-
class: "lew-input-show-password",
|
|
4044
|
-
onMousedown: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
4045
|
-
}, ["prevent"])),
|
|
4046
|
-
onClick: showPasswordFn
|
|
4047
|
-
}, [
|
|
4048
|
-
withDirectives(createVNode(unref(script), {
|
|
4049
|
-
size: unref(getIconSize),
|
|
4050
|
-
type: "eye"
|
|
4051
|
-
}, null, 8, ["size"]), [
|
|
4052
|
-
[vShow, unref(_type) === "text"]
|
|
4053
|
-
]),
|
|
4054
|
-
withDirectives(createVNode(unref(script), {
|
|
4055
|
-
size: unref(getIconSize),
|
|
4056
|
-
type: "eye-off"
|
|
4057
|
-
}, null, 8, ["size"]), [
|
|
4058
|
-
[vShow, unref(_type) === "password"]
|
|
4059
|
-
])
|
|
4060
|
-
], 32)) : createCommentVNode("v-if", true),
|
|
4061
|
-
createVNode(Transition, { name: "lew-form-icon-ani" }, {
|
|
4062
|
-
default: withCtx(() => [
|
|
4063
|
-
_ctx.clearable && unref(modelValue) && !_ctx.readonly ? (openBlock(), createBlock(unref(script), {
|
|
4064
|
-
key: 0,
|
|
4065
|
-
class: normalizeClass(["lew-form-icon-clear", {
|
|
4066
|
-
"lew-form-icon-clear-focus": unref(state).isFocus
|
|
4067
|
-
}]),
|
|
4068
|
-
size: unref(getIconSize),
|
|
4069
|
-
type: "x",
|
|
4070
|
-
onMousedown: _cache[7] || (_cache[7] = withModifiers(() => {
|
|
4071
|
-
}, ["prevent"])),
|
|
4072
|
-
onClick: clear2
|
|
4073
|
-
}, null, 8, ["class", "size"])) : createCommentVNode("v-if", true)
|
|
4074
|
-
]),
|
|
4075
|
-
_: 1
|
|
4076
|
-
})
|
|
4077
|
-
])) : createCommentVNode("v-if", true)
|
|
4092
|
+
]) : createCommentVNode("v-if", true)
|
|
4078
4093
|
], 2);
|
|
4079
4094
|
};
|
|
4080
4095
|
}
|
|
@@ -12770,8 +12785,8 @@ const _sfc_main$q = defineComponent({
|
|
|
12770
12785
|
};
|
|
12771
12786
|
const getIconSize = computed(() => {
|
|
12772
12787
|
const size = {
|
|
12773
|
-
small:
|
|
12774
|
-
medium:
|
|
12788
|
+
small: 14,
|
|
12789
|
+
medium: 15,
|
|
12775
12790
|
large: 16
|
|
12776
12791
|
};
|
|
12777
12792
|
return size[props.size];
|
|
@@ -13174,8 +13189,8 @@ const _sfc_main$p = defineComponent({
|
|
|
13174
13189
|
};
|
|
13175
13190
|
const getIconSize = computed(() => {
|
|
13176
13191
|
const size = {
|
|
13177
|
-
small:
|
|
13178
|
-
medium:
|
|
13192
|
+
small: 14,
|
|
13193
|
+
medium: 15,
|
|
13179
13194
|
large: 16
|
|
13180
13195
|
};
|
|
13181
13196
|
return size[props.size];
|
|
@@ -14473,7 +14488,7 @@ const _sfc_main$l = defineComponent({
|
|
|
14473
14488
|
const size = {
|
|
14474
14489
|
small: 13,
|
|
14475
14490
|
medium: 14,
|
|
14476
|
-
large:
|
|
14491
|
+
large: 15
|
|
14477
14492
|
};
|
|
14478
14493
|
return size[props.size];
|
|
14479
14494
|
});
|
|
@@ -14598,7 +14613,7 @@ const _sfc_main$k = defineComponent({
|
|
|
14598
14613
|
const size = {
|
|
14599
14614
|
small: 13,
|
|
14600
14615
|
medium: 14,
|
|
14601
|
-
large:
|
|
14616
|
+
large: 15
|
|
14602
14617
|
};
|
|
14603
14618
|
return size[props.size];
|
|
14604
14619
|
});
|
|
@@ -15465,7 +15480,7 @@ const _sfc_main$h = defineComponent({
|
|
|
15465
15480
|
props: magicNumberProps,
|
|
15466
15481
|
setup(__props) {
|
|
15467
15482
|
const props = __props;
|
|
15468
|
-
|
|
15483
|
+
const state = reactive({
|
|
15469
15484
|
numberArr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
|
15470
15485
|
});
|
|
15471
15486
|
const getValueArr = computed(() => {
|
|
@@ -15474,9 +15489,8 @@ const _sfc_main$h = defineComponent({
|
|
|
15474
15489
|
}
|
|
15475
15490
|
if (props.sep) {
|
|
15476
15491
|
return numFormat(props.value).split("");
|
|
15477
|
-
} else {
|
|
15478
|
-
return String(props.value).split("");
|
|
15479
15492
|
}
|
|
15493
|
+
return String(props.value).split("");
|
|
15480
15494
|
});
|
|
15481
15495
|
const getMagicNumberStyle = computed(() => {
|
|
15482
15496
|
const { size } = props;
|
|
@@ -15484,7 +15498,7 @@ const _sfc_main$h = defineComponent({
|
|
|
15484
15498
|
});
|
|
15485
15499
|
const getItemStyle = computed(() => (item) => {
|
|
15486
15500
|
const { size } = props;
|
|
15487
|
-
|
|
15501
|
+
const index2 = parseInt(item);
|
|
15488
15502
|
return `transform: translateY(-${size * index2}px)`;
|
|
15489
15503
|
});
|
|
15490
15504
|
const getNumStyle = computed(() => {
|
|
@@ -15498,18 +15512,18 @@ const _sfc_main$h = defineComponent({
|
|
|
15498
15512
|
}, [
|
|
15499
15513
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getValueArr), (item, index2) => {
|
|
15500
15514
|
return openBlock(), createElementBlock("div", {
|
|
15515
|
+
key: index2,
|
|
15501
15516
|
style: normalizeStyle(unref(getItemStyle)(item)),
|
|
15502
|
-
class: "lew-magic-number-item"
|
|
15503
|
-
key: index2
|
|
15517
|
+
class: "lew-magic-number-item"
|
|
15504
15518
|
}, [
|
|
15505
15519
|
item === "." || item === "," ? (openBlock(), createElementBlock("span", {
|
|
15506
15520
|
key: 0,
|
|
15507
15521
|
style: normalizeStyle(unref(getNumStyle))
|
|
15508
15522
|
}, toDisplayString(item), 5)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(state).numberArr, (n, index22) => {
|
|
15509
15523
|
return openBlock(), createElementBlock("span", {
|
|
15524
|
+
key: index22,
|
|
15510
15525
|
class: "lew-magic-number-num",
|
|
15511
15526
|
style: normalizeStyle(unref(getNumStyle)),
|
|
15512
|
-
key: index22,
|
|
15513
15527
|
textContent: toDisplayString(n)
|
|
15514
15528
|
}, null, 12, _hoisted_1$e);
|
|
15515
15529
|
}), 128))
|
|
@@ -15723,7 +15737,7 @@ const buttonProps = {
|
|
|
15723
15737
|
var LewButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
15724
15738
|
const _hoisted_1$b = ["disabled"];
|
|
15725
15739
|
const _hoisted_2$8 = {
|
|
15726
|
-
key:
|
|
15740
|
+
key: 1,
|
|
15727
15741
|
class: "lew-button-text"
|
|
15728
15742
|
};
|
|
15729
15743
|
const _sfc_main$d = defineComponent({
|
|
@@ -15819,8 +15833,7 @@ const _sfc_main$d = defineComponent({
|
|
|
15819
15833
|
size: unref(getIconSize),
|
|
15820
15834
|
type: _ctx.icon
|
|
15821
15835
|
}, null, 8, ["size", "type"])) : createCommentVNode("v-if", true),
|
|
15822
|
-
|
|
15823
|
-
key: 1,
|
|
15836
|
+
createVNode(unref(script), {
|
|
15824
15837
|
class: normalizeClass(["lew-loading-icon", {
|
|
15825
15838
|
"lew-loading-isShow": (unref(_loading) || _ctx.loading) && !_ctx.disabled
|
|
15826
15839
|
}]),
|
|
@@ -15828,7 +15841,7 @@ const _sfc_main$d = defineComponent({
|
|
|
15828
15841
|
animation: "spin",
|
|
15829
15842
|
"animation-speed": "fast",
|
|
15830
15843
|
type: "loader"
|
|
15831
|
-
}, null, 8, ["size", "class"])
|
|
15844
|
+
}, null, 8, ["size", "class"]),
|
|
15832
15845
|
_ctx.$slots.default || _ctx.text ? (openBlock(), createElementBlock("span", _hoisted_2$8, [
|
|
15833
15846
|
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }, void 0, true) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
15834
15847
|
createTextVNode(toDisplayString(_ctx.text), 1)
|