@xto/feedback 1.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/es/Alert/index.d.ts +16 -0
  2. package/es/Alert/index.vue.d.ts +36 -0
  3. package/es/Alert/types.d.ts +50 -0
  4. package/es/Backtop/index.d.ts +12 -0
  5. package/es/Backtop/index.vue.d.ts +33 -0
  6. package/es/Backtop/types.d.ts +33 -0
  7. package/es/Drawer/index.d.ts +24 -0
  8. package/es/Drawer/index.vue.d.ts +54 -0
  9. package/es/Drawer/types.d.ts +78 -0
  10. package/es/DrawerForm/index.d.ts +2 -0
  11. package/es/DrawerForm/index.vue.d.ts +67 -0
  12. package/es/DrawerForm/types.d.ts +48 -0
  13. package/es/Message/index.d.ts +68 -0
  14. package/es/Message/index.vue.d.ts +33 -0
  15. package/es/Message/message.d.ts +5 -0
  16. package/es/Message/types.d.ts +88 -0
  17. package/es/MessageBox/index.d.ts +9 -0
  18. package/es/MessageBox/messageBox.d.ts +5 -0
  19. package/es/MessageBox/types.d.ts +38 -0
  20. package/es/Modal/index.d.ts +38 -0
  21. package/es/Modal/index.vue.d.ts +65 -0
  22. package/es/Modal/types.d.ts +75 -0
  23. package/es/Notification/index.d.ts +10 -0
  24. package/es/Notification/notification.d.ts +5 -0
  25. package/es/Notification/types.d.ts +29 -0
  26. package/es/Popconfirm/index.d.ts +43 -0
  27. package/es/Popconfirm/index.vue.d.ts +48 -0
  28. package/es/Popconfirm/types.d.ts +94 -0
  29. package/es/Result/index.d.ts +13 -0
  30. package/es/Result/index.vue.d.ts +35 -0
  31. package/es/Timeline/TimelineItem.vue.d.ts +32 -0
  32. package/es/Timeline/index.d.ts +2 -0
  33. package/es/Timeline/index.vue.d.ts +17 -0
  34. package/es/Tooltip/index.d.ts +23 -0
  35. package/es/Tooltip/index.vue.d.ts +55 -0
  36. package/es/Tooltip/types.d.ts +81 -0
  37. package/es/index.d.ts +23 -0
  38. package/es/index.mjs +47 -47
  39. package/lib/index.cjs +1 -1
  40. package/package.json +8 -7
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Tooltip 组件类型定义
3
+ */
4
+ /**
5
+ * Tooltip 位置
6
+ */
7
+ export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
8
+ /**
9
+ * Tooltip 效果
10
+ */
11
+ export type TooltipEffect = 'dark' | 'light';
12
+ /**
13
+ * Tooltip 触发方式
14
+ */
15
+ export type TooltipTrigger = 'hover' | 'click' | 'focus';
16
+ /**
17
+ * Tooltip Props
18
+ */
19
+ export interface TooltipProps {
20
+ /**
21
+ * Tooltip 内容
22
+ */
23
+ content?: string;
24
+ /**
25
+ * Tooltip 位置
26
+ * @default 'top'
27
+ */
28
+ placement?: TooltipPlacement;
29
+ /**
30
+ * Tooltip 效果
31
+ * @default 'dark'
32
+ */
33
+ effect?: TooltipEffect;
34
+ /**
35
+ * 是否禁用
36
+ * @default false
37
+ */
38
+ disabled?: boolean;
39
+ /**
40
+ * 距离触发元素的偏移量
41
+ * @default 8
42
+ */
43
+ offset?: number;
44
+ /**
45
+ * 过渡动画名称
46
+ * @default 'fade'
47
+ */
48
+ transition?: string;
49
+ /**
50
+ * 是否显示箭头
51
+ * @default true
52
+ */
53
+ visibleArrow?: boolean;
54
+ /**
55
+ * 触发方式
56
+ * @default 'hover'
57
+ */
58
+ trigger?: TooltipTrigger;
59
+ /**
60
+ * 显示延迟(毫秒)
61
+ * @default 0
62
+ */
63
+ openDelay?: number;
64
+ /**
65
+ * 关闭延迟(毫秒)
66
+ * @default 0
67
+ */
68
+ closeDelay?: number;
69
+ }
70
+ /**
71
+ * Tooltip Emits
72
+ */
73
+ export interface TooltipEmits {
74
+ (e: 'update:visible', visible: boolean): void;
75
+ (e: 'show'): void;
76
+ (e: 'hide'): void;
77
+ }
78
+ /**
79
+ * Tooltip 组件实例类型
80
+ */
81
+ export type TooltipInstance = InstanceType<typeof import('./index.vue').default>;
package/es/index.d.ts ADDED
@@ -0,0 +1,23 @@
1
+ export { default as Modal } from './Modal/index.vue';
2
+ export { default as Drawer } from './Drawer/index.vue';
3
+ export { default as DrawerForm } from './DrawerForm/index.vue';
4
+ export { default as Alert } from './Alert/index.vue';
5
+ export { default as Tooltip } from './Tooltip/index.vue';
6
+ export { default as Popconfirm } from './Popconfirm/index.vue';
7
+ export { default as Backtop } from './Backtop/index.vue';
8
+ export { default as Result } from './Result/index.vue';
9
+ export { Timeline, TimelineItem } from './Timeline';
10
+ export { Message, MessageComponent, TMessage } from './Message';
11
+ export { MessageBox, TMessageBox } from './MessageBox';
12
+ export { Notification, TNotification } from './Notification';
13
+ export type { ModalProps, ModalEmits } from './Modal';
14
+ export type { DrawerProps } from './Drawer';
15
+ export type { FormField, DrawerFormProps, DrawerFormEmits } from './DrawerForm';
16
+ export type { AlertProps } from './Alert';
17
+ export type { TooltipProps } from './Tooltip';
18
+ export type { PopconfirmProps, PopconfirmPlacement, PopconfirmInstance } from './Popconfirm';
19
+ export type { BacktopProps, BacktopEmits } from './Backtop';
20
+ export type { ResultProps } from './Result';
21
+ export type { MessageProps, MessageOptions, MessageInstance, MessageFn, Message as MessageType } from './Message';
22
+ export type { MessageBoxOptions, MessageBoxResult, MessageBoxFn, MessageBox as MessageBoxType } from './MessageBox';
23
+ export type { NotificationOptions, NotificationInstance, NotificationFn, NotificationPosition, Notification as NotificationType } from './Notification';
package/es/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as R, computed as B, openBlock as u, createElementBlock as f, normalizeStyle as P, normalizeClass as s, createElementVNode as z, renderSlot as H, createTextVNode as S, toDisplayString as $, ref as I, watch as ae, resolveComponent as ze, createBlock as Z, Teleport as oe, createVNode as E, Transition as K, withCtx as D, unref as o, withModifiers as re, createCommentVNode as C, withDirectives as ce, vShow as ue, Fragment as ge, renderList as be, nextTick as te, onUnmounted as de, onMounted as ye, reactive as Ce, createApp as Me, h as k } from "vue";
2
- import { useNamespace as N, useZIndex as Ve, useEscape as Le, nextMessageZIndex as He } from "@xto/core";
1
+ import { defineComponent as R, computed as B, openBlock as u, createElementBlock as f, normalizeStyle as P, normalizeClass as s, createElementVNode as z, renderSlot as H, createTextVNode as S, toDisplayString as $, ref as I, watch as ae, resolveComponent as ze, createBlock as Z, Teleport as oe, createVNode as E, Transition as K, withCtx as D, unref as o, withModifiers as re, createCommentVNode as C, withDirectives as ce, vShow as ue, Fragment as pe, renderList as Me, nextTick as te, onUnmounted as de, onMounted as ye, reactive as Ce, createApp as ve, h as k } from "vue";
2
+ import { useNamespace as j, useZIndex as Ve, useEscape as Le, nextMessageZIndex as He } from "@xto/core";
3
3
  const we = {
4
4
  // 箭头类
5
5
  "arrow-up": "M12 19V5m0 0l-7 7m7-7l7 7",
@@ -215,7 +215,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
215
215
  strokeWidth: { default: 2 }
216
216
  },
217
217
  setup(e, { expose: n }) {
218
- const t = e, r = N("icon"), a = B(() => typeof t.size == "number" ? `${t.size}px` : t.size), i = B(() => ({
218
+ const t = e, r = j("icon"), a = B(() => typeof t.size == "number" ? `${t.size}px` : t.size), i = B(() => ({
219
219
  width: a.value,
220
220
  height: a.value,
221
221
  color: t.color
@@ -272,7 +272,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
272
272
  },
273
273
  emits: ["update:modelValue", "update:open", "close", "open", "ok", "cancel"],
274
274
  setup(e, { emit: n }) {
275
- const t = e, r = n, a = N("modal"), { next: i } = Ve(), m = I(i()), g = B({
275
+ const t = e, r = n, a = j("modal"), { next: i } = Ve(), m = I(i()), g = B({
276
276
  get: () => t.modelValue !== void 0 ? t.modelValue : t.open !== void 0 ? t.open : !1,
277
277
  set: (h) => {
278
278
  t.modelValue !== void 0 && r("update:modelValue", h), t.open !== void 0 && r("update:open", h), t.modelValue === void 0 && t.open === void 0 && r("update:modelValue", h);
@@ -396,7 +396,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
396
396
  },
397
397
  emits: ["update:modelValue", "close", "open"],
398
398
  setup(e, { emit: n }) {
399
- const t = e, r = n, a = N("drawer"), i = I(2e3), m = () => {
399
+ const t = e, r = n, a = j("drawer"), i = I(2e3), m = () => {
400
400
  r("update:modelValue", !1), r("close");
401
401
  }, g = () => {
402
402
  t.closeOnClickModal && m();
@@ -494,7 +494,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
494
494
  },
495
495
  emits: ["update:modelValue", "confirm", "cancel", "close", "field-change"],
496
496
  setup(e, { emit: n }) {
497
- const t = e, r = n, a = N("drawer-form"), i = I({}), m = I({});
497
+ const t = e, r = n, a = j("drawer-form"), i = I({}), m = I({});
498
498
  B(() => [
499
499
  a.b()
500
500
  ]), ae(() => t.formData, (M) => {
@@ -562,7 +562,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
562
562
  key: 0,
563
563
  class: s(o(a).e("form"))
564
564
  }, [
565
- (u(!0), f(ge, null, be(e.fields, (l) => (u(), f("div", {
565
+ (u(!0), f(pe, null, Me(e.fields, (l) => (u(), f("div", {
566
566
  key: l.name,
567
567
  class: s(o(a).e("field"))
568
568
  }, [
@@ -602,7 +602,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
602
602
  disabled: e.disabled || l.disabled,
603
603
  onChange: (b) => w(l.name, b.target.value)
604
604
  }, [
605
- (u(!0), f(ge, null, be(l.options, (b) => (u(), f("option", {
605
+ (u(!0), f(pe, null, Me(l.options, (b) => (u(), f("option", {
606
606
  key: b.value,
607
607
  value: b.value
608
608
  }, $(b.label), 9, Oe))), 128))
@@ -659,7 +659,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
659
659
  },
660
660
  emits: ["close"],
661
661
  setup(e, { emit: n }) {
662
- const t = e, r = n, a = N("alert"), i = I(!0), m = {
662
+ const t = e, r = n, a = j("alert"), i = I(!0), m = {
663
663
  success: "check",
664
664
  warning: "warning",
665
665
  error: "close-circle",
@@ -668,7 +668,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
668
668
  a.b(),
669
669
  a.m(t.type),
670
670
  a.is("center", t.center),
671
- a.is("with-description", t.description)
671
+ a.is("with-description", !!t.description)
672
672
  ]), v = (c) => {
673
673
  i.value = !1, r("close", c);
674
674
  };
@@ -739,35 +739,35 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
739
739
  },
740
740
  emits: ["update:visible", "show", "hide"],
741
741
  setup(e, { emit: n }) {
742
- const t = e, r = n, a = N("tooltip"), i = I(!1), m = I(), g = I();
742
+ const t = e, r = n, a = j("tooltip"), i = I(!1), m = I(), g = I();
743
743
  let v, c;
744
744
  const x = I({}), p = () => {
745
745
  if (!m.value || !g.value) return;
746
746
  const L = m.value.getBoundingClientRect(), F = g.value;
747
747
  F.style.visibility = "hidden", F.style.display = "block";
748
- const j = F.offsetWidth, U = F.offsetHeight, q = t.offset, he = window.innerWidth, fe = window.innerHeight;
749
- let O = 0, W = 0, J = t.placement;
748
+ const N = F.offsetWidth, U = F.offsetHeight, q = t.offset, he = window.innerWidth, fe = window.innerHeight;
749
+ let O = 0, W = 0, G = t.placement;
750
750
  switch (t.placement) {
751
751
  case "top":
752
- O = L.top - U - q, W = L.left + (L.width - j) / 2;
752
+ O = L.top - U - q, W = L.left + (L.width - N) / 2;
753
753
  break;
754
754
  case "bottom":
755
- O = L.bottom + q, W = L.left + (L.width - j) / 2;
755
+ O = L.bottom + q, W = L.left + (L.width - N) / 2;
756
756
  break;
757
757
  case "left":
758
- O = L.top + (L.height - U) / 2, W = L.left - j - q;
758
+ O = L.top + (L.height - U) / 2, W = L.left - N - q;
759
759
  break;
760
760
  case "right":
761
761
  O = L.top + (L.height - U) / 2, W = L.right + q;
762
762
  break;
763
763
  }
764
- t.placement === "top" && O < 0 ? (J = "bottom", O = L.bottom + q) : t.placement === "bottom" && O + U > fe ? (J = "top", O = L.top - U - q) : t.placement === "left" && W < 0 ? (J = "right", W = L.right + q) : t.placement === "right" && W + j > he && (J = "left", W = L.left - j - q), W < 8 && (W = 8), W + j > he - 8 && (W = he - j - 8), O < 8 && (O = 8), O + U > fe - 8 && (O = fe - U - 8), x.value = {
764
+ t.placement === "top" && O < 0 ? (G = "bottom", O = L.bottom + q) : t.placement === "bottom" && O + U > fe ? (G = "top", O = L.top - U - q) : t.placement === "left" && W < 0 ? (G = "right", W = L.right + q) : t.placement === "right" && W + N > he && (G = "left", W = L.left - N - q), W < 8 && (W = 8), W + N > he - 8 && (W = he - N - 8), O < 8 && (O = 8), O + U > fe - 8 && (O = fe - U - 8), x.value = {
765
765
  position: "fixed",
766
766
  top: `${O}px`,
767
767
  left: `${W}px`,
768
768
  visibility: "visible",
769
769
  zIndex: "2000"
770
- }, w.value = J;
770
+ }, w.value = G;
771
771
  }, w = I(t.placement), M = () => {
772
772
  t.disabled || (clearTimeout(c), v = setTimeout(() => {
773
773
  i.value = !0, r("update:visible", !0), r("show"), te(() => {
@@ -791,8 +791,8 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
791
791
  }, A = () => {
792
792
  t.trigger === "focus" && h();
793
793
  }, T = (L) => {
794
- var F, j;
795
- t.trigger === "click" && !((F = m.value) != null && F.contains(L.target)) && !((j = g.value) != null && j.contains(L.target)) && h();
794
+ var F, N;
795
+ t.trigger === "click" && !((F = m.value) != null && F.contains(L.target)) && !((N = g.value) != null && N.contains(L.target)) && h();
796
796
  }, V = () => {
797
797
  i.value && p();
798
798
  };
@@ -854,7 +854,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
854
854
  ]))
855
855
  ], 2));
856
856
  }
857
- }), Ne = { class: "x-popconfirm-wrapper" }, je = { class: "x-popconfirm__main" }, De = { class: "x-popconfirm__title" }, Xe = { class: "x-popconfirm__action" }, ht = /* @__PURE__ */ R({
857
+ }), je = { class: "x-popconfirm-wrapper" }, Ne = { class: "x-popconfirm__main" }, De = { class: "x-popconfirm__title" }, Xe = { class: "x-popconfirm__action" }, ht = /* @__PURE__ */ R({
858
858
  name: "XPopconfirm",
859
859
  __name: "index",
860
860
  props: {
@@ -974,7 +974,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
974
974
  }
975
975
  return y;
976
976
  });
977
- return (d, y) => (u(), f("span", Ne, [
977
+ return (d, y) => (u(), f("span", je, [
978
978
  z("span", {
979
979
  ref_key: "triggerRef",
980
980
  ref: i,
@@ -1000,7 +1000,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1000
1000
  class: "x-popconfirm__arrow",
1001
1001
  style: P(b.value)
1002
1002
  }, null, 4)) : C("", !0),
1003
- z("div", je, [
1003
+ z("div", Ne, [
1004
1004
  e.hideIcon ? C("", !0) : (u(), f("span", {
1005
1005
  key: 0,
1006
1006
  class: "x-popconfirm__icon",
@@ -1045,7 +1045,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1045
1045
  },
1046
1046
  emits: ["click"],
1047
1047
  setup(e, { emit: n }) {
1048
- const t = e, r = n, a = N("backtop"), i = I(!1), m = () => {
1048
+ const t = e, r = n, a = j("backtop"), i = I(!1), m = () => {
1049
1049
  const c = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop || 0;
1050
1050
  i.value = c >= t.visibilityHeight;
1051
1051
  }, g = (c) => {
@@ -1095,7 +1095,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1095
1095
  icon: {}
1096
1096
  },
1097
1097
  setup(e) {
1098
- const n = e, t = N("result"), r = B(() => n.icon ? n.icon : {
1098
+ const n = e, t = j("result"), r = B(() => n.icon ? n.icon : {
1099
1099
  success: "check-circle",
1100
1100
  warning: "warning",
1101
1101
  error: "close-circle",
@@ -1148,7 +1148,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1148
1148
  name: "XTimeline",
1149
1149
  __name: "index",
1150
1150
  setup(e) {
1151
- const n = N("timeline");
1151
+ const n = j("timeline");
1152
1152
  return (t, r) => (u(), f("ul", {
1153
1153
  class: s(o(n).b())
1154
1154
  }, [
@@ -1168,7 +1168,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1168
1168
  hollow: { type: Boolean, default: !1 }
1169
1169
  },
1170
1170
  setup(e) {
1171
- const n = N("timeline-item");
1171
+ const n = j("timeline-item");
1172
1172
  return (t, r) => (u(), f("li", {
1173
1173
  class: s([o(n).b(), o(n).m(e.placement)])
1174
1174
  }, [
@@ -1220,7 +1220,7 @@ const Be = ["aria-hidden", "aria-label"], Te = ["stroke-width"], Ie = ["d"], X =
1220
1220
  },
1221
1221
  emits: ["close", "destroy"],
1222
1222
  setup(e, { expose: n, emit: t }) {
1223
- const r = e, a = t, i = N("message"), m = I(!1), g = I(He()), v = {
1223
+ const r = e, a = t, i = j("message"), m = I(!1), g = I(He()), v = {
1224
1224
  success: "check",
1225
1225
  warning: "warning",
1226
1226
  error: "close-circle",
@@ -1336,7 +1336,7 @@ function xe(e) {
1336
1336
  l > 0 && (v = setTimeout(x, l));
1337
1337
  }, w = () => {
1338
1338
  v && (clearTimeout(v), v = null);
1339
- }, M = Me({
1339
+ }, M = ve({
1340
1340
  render() {
1341
1341
  if (!m.visible) return null;
1342
1342
  const l = [
@@ -1443,15 +1443,15 @@ function xe(e) {
1443
1443
  function Ke(e) {
1444
1444
  return xe(typeof e == "string" ? { message: e } : e);
1445
1445
  }
1446
- const se = (e) => (n) => xe({ ...typeof n == "string" ? { message: n } : n, type: e }), ve = Object.assign(Ke, {
1446
+ const se = (e) => (n) => xe({ ...typeof n == "string" ? { message: n } : n, type: e }), ge = Object.assign(Ke, {
1447
1447
  info: se("info"),
1448
1448
  success: se("success"),
1449
1449
  warning: se("warning"),
1450
1450
  error: se("error"),
1451
1451
  closeAll: Ze
1452
- }), gt = ve, bt = Fe, yt = {
1452
+ }), gt = Fe, bt = {
1453
1453
  install(e) {
1454
- e.config.globalProperties.$message = ve, e.provide("message", ve);
1454
+ e.config.globalProperties.$message = ge, e.provide("message", ge);
1455
1455
  }
1456
1456
  }, _ = [], Ue = () => {
1457
1457
  _.slice().forEach((e) => e.close());
@@ -1643,7 +1643,7 @@ function me(e) {
1643
1643
  ])
1644
1644
  ]);
1645
1645
  }
1646
- }), i = Me(a);
1646
+ }), i = ve(a);
1647
1647
  i.mount(t);
1648
1648
  const m = {
1649
1649
  app: i,
@@ -1688,14 +1688,14 @@ async function Qe(e, n, t) {
1688
1688
  function _e(e) {
1689
1689
  return me(e);
1690
1690
  }
1691
- const G = Object.assign(_e, {
1691
+ const J = Object.assign(_e, {
1692
1692
  alert: Ge,
1693
1693
  confirm: Je,
1694
1694
  prompt: Qe,
1695
1695
  closeAll: Ue
1696
- }), wt = G, xt = {
1696
+ }), yt = {
1697
1697
  install(e) {
1698
- e.config.globalProperties.$msgbox = G, e.config.globalProperties.$alert = G.alert, e.config.globalProperties.$confirm = G.confirm, e.config.globalProperties.$prompt = G.prompt, e.provide("messageBox", G);
1698
+ e.config.globalProperties.$msgbox = J, e.config.globalProperties.$alert = J.alert, e.config.globalProperties.$confirm = J.confirm, e.config.globalProperties.$prompt = J.prompt, e.provide("messageBox", J);
1699
1699
  }
1700
1700
  }, ee = [];
1701
1701
  let et = 1;
@@ -1892,7 +1892,7 @@ function ke(e) {
1892
1892
  onMouseleave: this.startTimer
1893
1893
  }, w);
1894
1894
  }
1895
- }), g = Me(m);
1895
+ }), g = ve(m);
1896
1896
  g.mount(r);
1897
1897
  const v = {
1898
1898
  id: n,
@@ -1910,15 +1910,15 @@ function ke(e) {
1910
1910
  function nt(e) {
1911
1911
  return ke(typeof e == "string" ? { message: e } : e);
1912
1912
  }
1913
- const ie = (e) => (n) => ke({ ...typeof n == "string" ? { message: n } : n, type: e }), pe = Object.assign(nt, {
1913
+ const ie = (e) => (n) => ke({ ...typeof n == "string" ? { message: n } : n, type: e }), be = Object.assign(nt, {
1914
1914
  info: ie("info"),
1915
1915
  success: ie("success"),
1916
1916
  warning: ie("warning"),
1917
1917
  error: ie("error"),
1918
1918
  closeAll: tt
1919
- }), kt = pe, zt = {
1919
+ }), wt = {
1920
1920
  install(e) {
1921
- e.config.globalProperties.$notify = pe, e.provide("notification", pe);
1921
+ e.config.globalProperties.$notify = be, e.provide("notification", be);
1922
1922
  }
1923
1923
  };
1924
1924
  export {
@@ -1926,16 +1926,16 @@ export {
1926
1926
  ft as Backtop,
1927
1927
  ct as Drawer,
1928
1928
  ut as DrawerForm,
1929
- gt as Message,
1930
- wt as MessageBox,
1931
- bt as MessageComponent,
1929
+ ge as Message,
1930
+ J as MessageBox,
1931
+ gt as MessageComponent,
1932
1932
  rt as Modal,
1933
- kt as Notification,
1933
+ be as Notification,
1934
1934
  ht as Popconfirm,
1935
1935
  vt as Result,
1936
- yt as TMessage,
1937
- xt as TMessageBox,
1938
- zt as TNotification,
1936
+ bt as TMessage,
1937
+ yt as TMessageBox,
1938
+ wt as TNotification,
1939
1939
  pt as Timeline,
1940
1940
  Mt as TimelineItem,
1941
1941
  mt as Tooltip