x-next 1.10.0 → 1.11.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.
- package/AI_CODING.md +97 -0
- package/AI_USAGE/catalog.md +111 -0
- package/AI_USAGE/components/alert.md +33 -0
- package/AI_USAGE/components/bar-chart.md +46 -0
- package/AI_USAGE/components/button.md +35 -0
- package/AI_USAGE/components/checkbox.md +34 -0
- package/AI_USAGE/components/color-picker.md +36 -0
- package/AI_USAGE/components/config-provider.md +58 -0
- package/AI_USAGE/components/date-picker.md +34 -0
- package/AI_USAGE/components/dialog.md +37 -0
- package/AI_USAGE/components/dropdown.md +38 -0
- package/AI_USAGE/components/empty.md +30 -0
- package/AI_USAGE/components/input.md +32 -0
- package/AI_USAGE/components/line-chart.md +45 -0
- package/AI_USAGE/components/message-box.md +39 -0
- package/AI_USAGE/components/message.md +36 -0
- package/AI_USAGE/components/notification.md +37 -0
- package/AI_USAGE/components/pagination.md +32 -0
- package/AI_USAGE/components/pie-chart.md +55 -0
- package/AI_USAGE/components/popconfirm.md +33 -0
- package/AI_USAGE/components/popover.md +35 -0
- package/AI_USAGE/components/progress.md +32 -0
- package/AI_USAGE/components/radio.md +35 -0
- package/AI_USAGE/components/rate.md +30 -0
- package/AI_USAGE/components/select.md +38 -0
- package/AI_USAGE/components/slider.md +34 -0
- package/AI_USAGE/components/steps.md +33 -0
- package/AI_USAGE/components/switch.md +32 -0
- package/AI_USAGE/components/tabs.md +33 -0
- package/AI_USAGE/components/textarea.md +31 -0
- package/AI_USAGE/components/time-picker.md +34 -0
- package/AI_USAGE/components/upload.md +60 -0
- package/AI_USAGE/core.md +37 -0
- package/AI_USAGE/index.md +52 -0
- package/AI_USAGE/recipes/form-on-demand.md +42 -0
- package/AI_USAGE.md +173 -46
- package/CHANGELOG.md +36 -1
- package/README.md +15 -2
- package/dist/_container/resize-trigger.vue.d.ts +1 -1
- package/dist/_hooks/use-dialog-focus.d.ts +7 -0
- package/dist/_hooks/use-pointer-drag.d.ts +6 -0
- package/dist/_hooks/use-popup-close.d.ts +11 -0
- package/dist/_hooks/use-popup-theme.d.ts +5 -0
- package/dist/_utils/palette.d.ts +2 -0
- package/dist/components/_components/picker/input-range.vue.d.ts +1 -3
- package/dist/components/_components/picker/input.vue.d.ts +1 -3
- package/dist/components/_components/select-view/select-view.d.ts +9 -0
- package/dist/components/alert/Alert.vue.d.ts +1 -1
- package/dist/components/alert/index.d.ts +3 -3
- package/dist/components/bar-chart/BarChart.d.ts +3 -3
- package/dist/components/bar-chart/index.d.ts +9 -9
- package/dist/components/color-picker/ColorPicker.d.ts +2 -1
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/components/color-picker/panel.d.ts +6 -0
- package/dist/components/config-provider/context.d.ts +7 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +9 -12
- package/dist/components/date-picker/index.d.ts +19 -27
- package/dist/components/drawer/index.d.ts +51 -9
- package/dist/components/drawer/src/Drawer.vue.d.ts +19 -4
- package/dist/components/dropdown/Dropdown.vue.d.ts +6 -3
- package/dist/components/dropdown/DropdownButton.vue.d.ts +6 -3
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +6 -3
- package/dist/components/dropdown/dropdown-panel.vue.d.ts +6 -3
- package/dist/components/dropdown/index.d.ts +36 -18
- package/dist/components/form-select/Select.d.ts +18 -5
- package/dist/components/form-select/SelectDropdown.vue.d.ts +6 -3
- package/dist/components/form-select/SelectOption.vue.d.ts +1 -0
- package/dist/components/form-select/SelectOptionGroup.vue.d.ts +1 -0
- package/dist/components/form-select/hooks/use-options.d.ts +1 -1
- package/dist/components/form-select/hooks/use-select.d.ts +1 -1
- package/dist/components/form-select/index.d.ts +57 -17
- package/dist/components/form-select/interface.d.ts +8 -0
- package/dist/components/form-slider/Slider.vue.d.ts +1 -1
- package/dist/components/form-slider/index.d.ts +3 -3
- package/dist/components/form-textarea/Textarea.vue.d.ts +2 -4
- package/dist/components/form-textarea/index.d.ts +6 -12
- package/dist/components/image/Image.vue.d.ts +2 -4
- package/dist/components/image/index.d.ts +6 -12
- package/dist/components/layout/LayoutSidebar.vue.d.ts +5 -5
- package/dist/components/layout/index.d.ts +10 -10
- package/dist/components/line-chart/LineChart.d.ts +3 -3
- package/dist/components/line-chart/index.d.ts +9 -9
- package/dist/components/menu/Menu.d.ts +6 -3
- package/dist/components/menu/base-menu.vue.d.ts +6 -3
- package/dist/components/menu/index.d.ts +12 -6
- package/dist/components/menu/sub-menu-pop.vue.d.ts +6 -3
- package/dist/components/network/Network.vue.d.ts +1 -1
- package/dist/components/network/index.d.ts +3 -3
- package/dist/components/pagination/page-options.vue.d.ts +60 -32
- package/dist/components/pie-chart/PieChart.d.ts +1 -1
- package/dist/components/pie-chart/index.d.ts +3 -3
- package/dist/components/resize-box/ResizeBox.vue.d.ts +2 -2
- package/dist/components/resize-box/index.d.ts +5 -5
- package/dist/components/scrollbar-v2/Scrollbar.vue.d.ts +2 -1
- package/dist/components/scrollbar-v2/index.d.ts +6 -3
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/table/index.d.ts +3 -3
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/time-picker/TimeColumn.vue.d.ts +6 -3
- package/dist/components/time-picker/TimePanel.vue.d.ts +6 -3
- package/dist/components/time-picker/TimePicker.vue.d.ts +9 -12
- package/dist/components/time-picker/index.d.ts +19 -27
- package/dist/components/trend-chart/components/TrendChart.d.ts +5 -5
- package/dist/components/trend-chart/components/trend-chart-curve.d.ts +1 -1
- package/dist/components/trend-chart/index.d.ts +14 -14
- package/dist/components/trigger/interface.d.ts +2 -0
- package/dist/components/virtual-list-v2/virtual-list.vue.d.ts +7 -4
- package/dist/es/_hooks/use-dialog-focus.js +69 -0
- package/dist/es/_hooks/use-pointer-drag.js +18 -0
- package/dist/es/_hooks/use-popup-close.js +27 -0
- package/dist/es/_hooks/use-popup-manager.js +26 -24
- package/dist/es/_hooks/use-popup-theme.js +18 -0
- package/dist/es/_hooks/use-teleport-container.js +9 -10
- package/dist/es/_utils/palette.js +57 -52
- package/dist/es/components/_components/select-view/select-view.js +89 -78
- package/dist/es/components/button/Button.js +1 -1
- package/dist/es/components/color-picker/ColorPicker.js +131 -102
- package/dist/es/components/color-picker/gradient-slider.js +38 -40
- package/dist/es/components/color-picker/panel.js +221 -192
- package/dist/es/components/color-picker/sv-panel.js +51 -50
- package/dist/es/components/config-provider/ConfigProvider.js +58 -41
- package/dist/es/components/dialog/Dialog.js +133 -186
- package/dist/es/components/drawer/src/Drawer.vue.js +59 -51
- package/dist/es/components/drawer/src/Drawer.vue2.js +117 -107
- package/dist/es/components/form/FormItem.vue.js +12 -12
- package/dist/es/components/form-input-tag/InputTag.js +1 -1
- package/dist/es/components/form-select/Select.js +348 -300
- package/dist/es/components/form-select/SelectDropdown.vue.js +7 -7
- package/dist/es/components/form-select/SelectOption.vue.js +22 -17
- package/dist/es/components/form-select/SelectOption.vue2.js +59 -51
- package/dist/es/components/form-select/SelectOptionGroup.vue.js +17 -13
- package/dist/es/components/form-select/SelectOptionGroup.vue2.js +8 -5
- package/dist/es/components/form-select/hooks/use-options.js +40 -40
- package/dist/es/components/form-select/hooks/use-select.js +76 -71
- package/dist/es/components/form-switch/Switch.vue.js +24 -24
- package/dist/es/components/image/Image.vue.js +12 -12
- package/dist/es/components/link/Link.vue.js +6 -6
- package/dist/es/components/menu/sub-menu-inline.vue.js +11 -11
- package/dist/es/components/menu/sub-menu-pop.vue.js +12 -12
- package/dist/es/components/notification/Notification.js +59 -59
- package/dist/es/components/resize-box/ResizeBox.vue.js +19 -22
- package/dist/es/components/skeleton/Skeleton.vue.js +9 -9
- package/dist/es/components/tag/Tag.vue.js +7 -7
- package/dist/es/components/trigger/Trigger.js +171 -163
- package/dist/es/style.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.umd.js +3 -3
- package/dist/style/bar-chart.js +1 -0
- package/dist/style/base.css +1 -1
- package/dist/style/button.css +1 -1
- package/dist/style/color-picker.css +1 -1
- package/dist/style/color-picker.js +4 -0
- package/dist/style/date-picker.js +4 -0
- package/dist/style/dependencies.json +296 -0
- package/dist/style/dialog.js +2 -0
- package/dist/style/drawer.js +3 -0
- package/dist/style/dropdown.js +5 -0
- package/dist/style/form-checkbox.css +1 -1
- package/dist/style/form-input-number.js +2 -0
- package/dist/style/form-input.css +1 -1
- package/dist/style/form-input.js +1 -0
- package/dist/style/form-select.js +5 -0
- package/dist/style/form-slider.js +5 -0
- package/dist/style/form.js +3 -0
- package/dist/style/heatmap.js +1 -0
- package/dist/style/image.js +2 -0
- package/dist/style/layout.js +1 -0
- package/dist/style/line-chart.js +1 -0
- package/dist/style/menu.js +3 -0
- package/dist/style/message-box.js +3 -0
- package/dist/style/pagination.js +9 -0
- package/dist/style/pie-chart.js +1 -0
- package/dist/style/popconfirm.js +3 -0
- package/dist/style/popover.js +1 -0
- package/dist/style/popup.js +2 -0
- package/dist/style/table.js +12 -0
- package/dist/style/time-picker.js +3 -0
- package/dist/style/tooltip.js +1 -0
- package/dist/style/upload.js +4 -0
- package/dist/style.css +1 -1
- package/package.json +17 -7
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getComponentPrefix as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { notificationProps as
|
|
10
|
-
import { isFunction as
|
|
11
|
-
import { useLocale as
|
|
12
|
-
const
|
|
13
|
-
name:
|
|
1
|
+
import { defineComponent as v, computed as b, onMounted as h, onUpdated as k, onUnmounted as F, createVNode as n, mergeProps as N, isVNode as x } from "vue";
|
|
2
|
+
import { getComponentPrefix as T, getClassNameMixin as P } from "../../_utils/config.js";
|
|
3
|
+
import E from "../../icons/default/close-circle-fill.js";
|
|
4
|
+
import M from "../../icons/default/check-circle-fill.js";
|
|
5
|
+
import O from "../../icons/default/close.js";
|
|
6
|
+
import U from "../../icons/default/exclamation-circle-fill.js";
|
|
7
|
+
import j from "../../icons/default/info-circle-fill.js";
|
|
8
|
+
import K from "../../icons/default/minus-circle-fill.js";
|
|
9
|
+
import { notificationProps as V } from "./props.js";
|
|
10
|
+
import { isFunction as A } from "../../_utils/is.js";
|
|
11
|
+
import { useLocale as D } from "../../locale/index.js";
|
|
12
|
+
const X = /* @__PURE__ */ v({
|
|
13
|
+
name: T("Notification"),
|
|
14
14
|
inheritAttrs: !1,
|
|
15
|
-
props:
|
|
15
|
+
props: V,
|
|
16
16
|
emits: ["close", "destroy", "click"],
|
|
17
17
|
setup(e, {
|
|
18
|
-
emit:
|
|
19
|
-
attrs:
|
|
18
|
+
emit: c,
|
|
19
|
+
attrs: i
|
|
20
20
|
}) {
|
|
21
|
-
const
|
|
21
|
+
const t = P("notification"), d = t.block, {
|
|
22
22
|
t: s
|
|
23
|
-
} =
|
|
24
|
-
let
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
} = D(), C = () => [d, t.modifier(e.type), e.showClose && t.modifier("closable"), e.popupClass, i.class];
|
|
24
|
+
let r = 0;
|
|
25
|
+
const m = () => {
|
|
26
|
+
r && (window.clearTimeout(r), r = 0);
|
|
27
|
+
}, a = () => {
|
|
28
|
+
m(), e.duration > 0 && (r = window.setTimeout(() => {
|
|
29
|
+
c("close");
|
|
30
30
|
}, e.duration));
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
}, g = (
|
|
34
|
-
(
|
|
35
|
-
},
|
|
31
|
+
}, y = b(() => e.type === "info" ? j : e.type === "warning" ? U : e.type === "strong" ? K : e.type === "success" ? M : e.type === "error" ? E : ""), f = () => {
|
|
32
|
+
c("close");
|
|
33
|
+
}, g = (o) => {
|
|
34
|
+
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), f());
|
|
35
|
+
}, l = (o) => x(o) ? o : A(o) ? o() : o, w = () => {
|
|
36
36
|
if (!e.showIcon) return null;
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
37
|
+
const o = l(e.icon);
|
|
38
|
+
if (o)
|
|
39
39
|
return n("div", {
|
|
40
|
-
class: [
|
|
41
|
-
}, [
|
|
42
|
-
const u =
|
|
40
|
+
class: [t.element("icon"), t.element("icon-custom")]
|
|
41
|
+
}, [o]);
|
|
42
|
+
const u = y.value;
|
|
43
43
|
return n("div", {
|
|
44
|
-
class: [
|
|
44
|
+
class: [t.element("icon")]
|
|
45
45
|
}, [u && n(u, null, null)]);
|
|
46
|
-
}, I = () =>
|
|
46
|
+
}, I = () => l(e.closeIcon) || n(O, null, null);
|
|
47
47
|
return h(() => {
|
|
48
|
-
m();
|
|
49
|
-
}), F(() => {
|
|
50
|
-
e.resetOnUpdate && m();
|
|
51
|
-
}), N(() => {
|
|
52
48
|
a();
|
|
53
|
-
}), () =>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
49
|
+
}), k(() => {
|
|
50
|
+
e.resetOnUpdate && a();
|
|
51
|
+
}), F(() => {
|
|
52
|
+
m();
|
|
53
|
+
}), () => n("div", N(Object.fromEntries(Object.entries(i).filter(([o]) => o !== "class" && o !== "style")), {
|
|
54
|
+
class: C(),
|
|
55
|
+
style: i.style,
|
|
56
|
+
role: typeof i.role == "string" ? i.role : "alert",
|
|
57
|
+
onClick: () => c("click")
|
|
58
|
+
}), [n("div", {
|
|
59
|
+
class: [t.element("main")]
|
|
60
|
+
}, [w(), n("div", {
|
|
61
|
+
class: [t.element("content-wrap")]
|
|
62
62
|
}, [e.title !== void 0 && n("div", {
|
|
63
|
-
class: [
|
|
64
|
-
}, [
|
|
65
|
-
class: [
|
|
66
|
-
}, [
|
|
67
|
-
class: [
|
|
68
|
-
}, [
|
|
69
|
-
class: [
|
|
63
|
+
class: [t.element("title")]
|
|
64
|
+
}, [l(e.title)]), n("div", {
|
|
65
|
+
class: [t.element("message")]
|
|
66
|
+
}, [l(e.message)]), e.footer && n("div", {
|
|
67
|
+
class: [t.element("footer")]
|
|
68
|
+
}, [l(e.footer)])])]), e.showClose && n("span", {
|
|
69
|
+
class: [t.element("close-icon")],
|
|
70
70
|
role: "button",
|
|
71
71
|
tabindex: 0,
|
|
72
72
|
"aria-label": s("common.closeTarget", {
|
|
73
73
|
target: s("common.notification")
|
|
74
74
|
}),
|
|
75
|
-
onClick: (
|
|
76
|
-
|
|
75
|
+
onClick: (o) => {
|
|
76
|
+
o.stopPropagation(), f();
|
|
77
77
|
},
|
|
78
78
|
onKeydown: g
|
|
79
79
|
}, [I()])]);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
X as default
|
|
84
84
|
};
|
|
@@ -1,44 +1,41 @@
|
|
|
1
1
|
import l from "./ResizeBox.vue2.js";
|
|
2
|
-
import { resolveComponent as m, openBlock as s, createBlock as
|
|
3
|
-
import
|
|
4
|
-
function
|
|
5
|
-
const
|
|
6
|
-
return s(),
|
|
2
|
+
import { resolveComponent as m, openBlock as s, createBlock as i, resolveDynamicComponent as p, mergeProps as g, withCtx as n, renderSlot as a, createElementBlock as f, Fragment as d, renderList as z, normalizeClass as u, createSlots as c, createCommentVNode as $ } from "vue";
|
|
3
|
+
import w from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function y(e, v, R, k, C, h) {
|
|
5
|
+
const t = m("ResizeTrigger");
|
|
6
|
+
return s(), i(p(e.component), g({ ref: "wrapperRef" }, e.wrapperAttrs, {
|
|
7
7
|
class: e.classNames,
|
|
8
8
|
style: e.mergedStyles
|
|
9
9
|
}), {
|
|
10
10
|
default: n(() => [
|
|
11
11
|
a(e.$slots, "default"),
|
|
12
|
-
(s(!0), f(
|
|
13
|
-
key:
|
|
12
|
+
(s(!0), f(d, null, z(e.allowDirections, (o) => (s(), i(t, {
|
|
13
|
+
key: o,
|
|
14
14
|
"prefix-cls": e.className.element("trigger"),
|
|
15
|
-
class: u(e.className.modifier(`direction-${
|
|
16
|
-
direction: e.isHorizontal(
|
|
17
|
-
onMousedown: (
|
|
18
|
-
e.onMoveStart(
|
|
15
|
+
class: u(e.className.modifier(`direction-${o}`)),
|
|
16
|
+
direction: e.isHorizontal(o) ? "horizontal" : "vertical",
|
|
17
|
+
onMousedown: (r) => {
|
|
18
|
+
e.onMoveStart(o, r);
|
|
19
19
|
},
|
|
20
|
-
onKeydown: (
|
|
21
|
-
e.onTriggerKeydown(
|
|
20
|
+
onKeydown: (r) => {
|
|
21
|
+
e.onTriggerKeydown(o, r);
|
|
22
22
|
},
|
|
23
|
-
onResize: (
|
|
24
|
-
e.onTiggerResize(
|
|
23
|
+
onResize: (r) => {
|
|
24
|
+
e.onTiggerResize(o, r);
|
|
25
25
|
},
|
|
26
26
|
tabindex: "0",
|
|
27
27
|
role: "separator",
|
|
28
|
-
"aria-orientation": e.isHorizontal(
|
|
28
|
+
"aria-orientation": e.isHorizontal(o) ? "horizontal" : "vertical"
|
|
29
29
|
}, c({
|
|
30
30
|
default: n(() => [
|
|
31
|
-
e.$slots["resize-trigger"] ? a(e.$slots, "resize-trigger", {
|
|
32
|
-
key: 0,
|
|
33
|
-
direction: r
|
|
34
|
-
}) : y("", !0)
|
|
31
|
+
e.$slots["resize-trigger"] ? a(e.$slots, "resize-trigger", { direction: o }, void 0, void 0, 0) : $("", !0)
|
|
35
32
|
]),
|
|
36
33
|
_: 2
|
|
37
34
|
}, [
|
|
38
35
|
e.$slots["resize-trigger-icon"] ? {
|
|
39
36
|
name: "icon",
|
|
40
37
|
fn: n(() => [
|
|
41
|
-
a(e.$slots, "resize-trigger-icon", { direction:
|
|
38
|
+
a(e.$slots, "resize-trigger-icon", { direction: o })
|
|
42
39
|
]),
|
|
43
40
|
key: "0"
|
|
44
41
|
} : void 0
|
|
@@ -47,7 +44,7 @@ function w(e, R, k, v, C, h) {
|
|
|
47
44
|
_: 3
|
|
48
45
|
}, 16, ["class", "style"]);
|
|
49
46
|
}
|
|
50
|
-
const T = /* @__PURE__ */
|
|
47
|
+
const T = /* @__PURE__ */ w(l, [["render", y]]);
|
|
51
48
|
export {
|
|
52
49
|
T as default
|
|
53
50
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import r from "./Skeleton.vue2.js";
|
|
2
|
-
import { openBlock as s, createElementBlock as t, normalizeClass as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
function
|
|
2
|
+
import { openBlock as s, createElementBlock as t, normalizeClass as i, renderSlot as e } from "vue";
|
|
3
|
+
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const a = ["aria-busy"];
|
|
5
|
+
function d(o, l, c, p, f, m) {
|
|
6
6
|
return s(), t("div", {
|
|
7
|
-
class:
|
|
7
|
+
class: i(o.cls),
|
|
8
8
|
"aria-busy": o.loading ? "true" : void 0
|
|
9
9
|
}, [
|
|
10
|
-
o.loading ? e(o.$slots, "default", {
|
|
11
|
-
], 10,
|
|
10
|
+
o.loading ? e(o.$slots, "default", {}, void 0, void 0, 0) : e(o.$slots, "content", {}, void 0, void 0, 1)
|
|
11
|
+
], 10, a);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const $ = /* @__PURE__ */ n(r, [["render", d]]);
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
$ as default
|
|
16
16
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as t, openBlock as o, createElementBlock as s, normalizeStyle as
|
|
3
|
-
import
|
|
4
|
-
function
|
|
1
|
+
import f from "./Tag.vue2.js";
|
|
2
|
+
import { resolveComponent as t, openBlock as o, createElementBlock as s, normalizeStyle as k, normalizeClass as l, renderSlot as a, createCommentVNode as n, createBlock as u, withModifiers as C, withCtx as g, createVNode as r } from "vue";
|
|
3
|
+
import $ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function y(e, i, b, h, N, v) {
|
|
5
5
|
const m = t("close"), c = t("icon-hover"), p = t("animation-loading");
|
|
6
6
|
return e.computedVisible ? (o(), s("span", {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: l(e.cls),
|
|
9
|
-
style:
|
|
9
|
+
style: k(e.style),
|
|
10
10
|
onClick: i[0] || (i[0] = (...d) => e.handleClick && e.handleClick(...d))
|
|
11
11
|
}, [
|
|
12
12
|
e.$slots.icon ? (o(), s("span", {
|
|
@@ -20,7 +20,7 @@ function $(e, i, b, h, N, v) {
|
|
|
20
20
|
class: l(e.className.element("text"))
|
|
21
21
|
}, [
|
|
22
22
|
a(e.$slots, "default")
|
|
23
|
-
], 2)) : a(e.$slots, "default", {
|
|
23
|
+
], 2)) : a(e.$slots, "default", {}, void 0, void 0, 2),
|
|
24
24
|
e.closable ? (o(), u(c, {
|
|
25
25
|
key: 3,
|
|
26
26
|
as: "button",
|
|
@@ -44,7 +44,7 @@ function $(e, i, b, h, N, v) {
|
|
|
44
44
|
], 2)) : n("", !0)
|
|
45
45
|
], 6)) : n("", !0);
|
|
46
46
|
}
|
|
47
|
-
const z = /* @__PURE__ */
|
|
47
|
+
const z = /* @__PURE__ */ $(f, [["render", y]]);
|
|
48
48
|
export {
|
|
49
49
|
z as default
|
|
50
50
|
};
|