x-next 1.4.0 → 1.6.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.
Files changed (144) hide show
  1. package/AI_USAGE.md +2 -2
  2. package/CHANGELOG.md +71 -0
  3. package/dist/_utils/color.d.ts +53 -0
  4. package/dist/components/color-picker/ColorPicker.d.ts +239 -0
  5. package/dist/components/color-picker/gradient-slider.d.ts +52 -0
  6. package/dist/components/color-picker/index.d.ts +238 -0
  7. package/dist/components/color-picker/panel.d.ts +721 -0
  8. package/dist/components/color-picker/sv-panel.d.ts +48 -0
  9. package/dist/components/date-picker/DatePicker.vue.d.ts +3 -3
  10. package/dist/components/date-picker/index.d.ts +6 -6
  11. package/dist/components/dropdown/Dropdown.vue.d.ts +34 -4
  12. package/dist/components/dropdown/DropdownButton.vue.d.ts +37 -6
  13. package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +34 -4
  14. package/dist/components/dropdown/dropdown-panel.vue.d.ts +30 -0
  15. package/dist/components/dropdown/index.d.ts +212 -29
  16. package/dist/components/form/FormItem.vue.d.ts +3 -3
  17. package/dist/components/form/form-item-label.vue.d.ts +3 -3
  18. package/dist/components/form/index.d.ts +6 -6
  19. package/dist/components/form-select/Select.d.ts +3 -3
  20. package/dist/components/form-select/SelectDropdown.vue.d.ts +30 -0
  21. package/dist/components/form-select/index.d.ts +66 -6
  22. package/dist/components/form-slider/Slider.vue.d.ts +3 -3
  23. package/dist/components/form-slider/index.d.ts +6 -6
  24. package/dist/components/form-slider/slider-button.vue.d.ts +3 -3
  25. package/dist/components/heatmap/Heatmap.d.ts +311 -0
  26. package/dist/components/heatmap/helpers/matrix.d.ts +58 -0
  27. package/dist/components/heatmap/index.d.ts +372 -0
  28. package/dist/components/heatmap/interface.d.ts +57 -0
  29. package/dist/components/image/Image.vue.d.ts +3 -3
  30. package/dist/components/image/ImagePreview.vue.d.ts +3 -3
  31. package/dist/components/image/ImagePreviewAction.d.ts +3 -3
  32. package/dist/components/image/ImagePreviewGroup.vue.d.ts +3 -3
  33. package/dist/components/image/index.d.ts +24 -24
  34. package/dist/components/image/preview-toolbar.vue.d.ts +3 -3
  35. package/dist/components/index.d.ts +2 -0
  36. package/dist/components/menu/sub-menu-pop.vue.d.ts +3 -3
  37. package/dist/components/network/Network.vue.d.ts +1 -1
  38. package/dist/components/network/index.d.ts +3 -3
  39. package/dist/components/network/utils.d.ts +2 -0
  40. package/dist/components/pagination/page-item-ellipsis.vue.d.ts +9 -0
  41. package/dist/components/pagination/page-jumper.vue.d.ts +6 -0
  42. package/dist/components/pagination/page-options.vue.d.ts +6 -6
  43. package/dist/components/popover/Popover.d.ts +1 -1
  44. package/dist/components/popover/index.d.ts +3 -3
  45. package/dist/components/popup/Popup.d.ts +1 -1
  46. package/dist/components/popup/index.d.ts +3 -3
  47. package/dist/components/skeleton/SkeletonShape.vue.d.ts +3 -3
  48. package/dist/components/skeleton/index.d.ts +6 -6
  49. package/dist/components/spin/Spin.d.ts +38 -0
  50. package/dist/components/spin/index.d.ts +30 -0
  51. package/dist/components/steps/context.d.ts +9 -0
  52. package/dist/components/table/Table.d.ts +1 -1
  53. package/dist/components/table/index.d.ts +3 -3
  54. package/dist/components/tabs/TabPane.vue.d.ts +2 -0
  55. package/dist/components/tabs/Tabs.d.ts +1 -1
  56. package/dist/components/tabs/index.d.ts +9 -3
  57. package/dist/components/tabs/interface.d.ts +4 -0
  58. package/dist/components/time-picker/TimePicker.vue.d.ts +3 -3
  59. package/dist/components/time-picker/index.d.ts +6 -6
  60. package/dist/components/tooltip/Tooltip.vue.d.ts +1 -1
  61. package/dist/components/tooltip/index.d.ts +3 -3
  62. package/dist/components/trigger/Trigger.d.ts +1 -1
  63. package/dist/components/trigger/index.d.ts +3 -3
  64. package/dist/components/watermark/Watermark.d.ts +1 -1
  65. package/dist/components/watermark/index.d.ts +3 -3
  66. package/dist/es/_styles/palette-aliases.js +8 -0
  67. package/dist/es/_utils/color.js +73 -0
  68. package/dist/es/components/button/Button.js +2 -2
  69. package/dist/es/components/color-picker/ColorPicker.js +239 -0
  70. package/dist/es/components/color-picker/gradient-slider.js +79 -0
  71. package/dist/es/components/color-picker/index.js +8 -0
  72. package/dist/es/components/color-picker/panel.js +307 -0
  73. package/dist/es/components/color-picker/sv-panel.js +99 -0
  74. package/dist/es/components/dropdown/Dropdown.vue2.js +11 -4
  75. package/dist/es/components/dropdown/DropdownButton.vue.js +8 -7
  76. package/dist/es/components/dropdown/DropdownButton.vue2.js +19 -17
  77. package/dist/es/components/dropdown/DropdownSubmenu.vue.js +18 -17
  78. package/dist/es/components/dropdown/dropdown-panel.vue.js +17 -17
  79. package/dist/es/components/form-input/Input.js +7 -7
  80. package/dist/es/components/form-input/InputPassword.vue2.js +2 -2
  81. package/dist/es/components/form-input/InputSearch.js +2 -2
  82. package/dist/es/components/form-input-number/InputNumber.js +12 -12
  83. package/dist/es/components/heatmap/Heatmap.js +334 -0
  84. package/dist/es/components/heatmap/helpers/matrix.js +106 -0
  85. package/dist/es/components/heatmap/index.js +8 -0
  86. package/dist/es/components/index.js +118 -114
  87. package/dist/es/components/menu/MenuSubMenu.js +50 -36
  88. package/dist/es/components/menu/sub-menu-pop.vue2.js +30 -30
  89. package/dist/es/components/network/Network.vue2.js +72 -72
  90. package/dist/es/components/network/utils.js +44 -35
  91. package/dist/es/components/pagination/Pagination.js +124 -112
  92. package/dist/es/components/pagination/page-item-ellipsis.vue.js +13 -12
  93. package/dist/es/components/pagination/page-item-ellipsis.vue2.js +19 -15
  94. package/dist/es/components/pagination/page-jumper.vue.js +13 -12
  95. package/dist/es/components/pagination/page-jumper.vue2.js +7 -4
  96. package/dist/es/components/pagination/page-options.vue.js +4 -3
  97. package/dist/es/components/pagination/page-options.vue2.js +17 -15
  98. package/dist/es/components/skeleton/Skeleton.vue.js +11 -9
  99. package/dist/es/components/skeleton/SkeletonLine.vue.js +9 -8
  100. package/dist/es/components/skeleton/SkeletonShape.vue.js +8 -7
  101. package/dist/es/components/spin/Spin.js +124 -60
  102. package/dist/es/components/steps/Step.vue2.js +51 -47
  103. package/dist/es/components/steps/Steps.vue2.js +22 -19
  104. package/dist/es/components/table/Table.js +3 -1
  105. package/dist/es/components/tabs/TabPane.vue.js +11 -9
  106. package/dist/es/components/tabs/TabPane.vue2.js +28 -24
  107. package/dist/es/components/tabs/tabs-nav.js +20 -18
  108. package/dist/es/components/tabs/tabs-tab.vue.js +10 -8
  109. package/dist/es/components/trigger/Trigger.js +19 -19
  110. package/dist/es/icons/_self/empty-better.js +25 -8
  111. package/dist/es/index.js +162 -158
  112. package/dist/es/locale/en-US.js +19 -2
  113. package/dist/es/locale/zh-CN.js +19 -2
  114. package/dist/es/style.css +1 -1
  115. package/dist/index.cjs +4 -4
  116. package/dist/index.umd.js +4 -4
  117. package/dist/locale/interface.d.ts +30 -0
  118. package/dist/style/base.css +1 -1
  119. package/dist/style/button.css +1 -1
  120. package/dist/style/color-picker.css +1 -0
  121. package/dist/style/color-picker.js +2 -0
  122. package/dist/style/date-picker.css +1 -1
  123. package/dist/style/dropdown.css +1 -1
  124. package/dist/style/empty.css +1 -1
  125. package/dist/style/form-checkbox.css +1 -1
  126. package/dist/style/form-input-tag.css +1 -1
  127. package/dist/style/form-input.css +1 -1
  128. package/dist/style/form-radio.css +1 -1
  129. package/dist/style/form-textarea.css +1 -1
  130. package/dist/style/form.css +1 -1
  131. package/dist/style/heatmap.css +1 -0
  132. package/dist/style/heatmap.js +2 -0
  133. package/dist/style/image.css +1 -1
  134. package/dist/style/menu.css +1 -1
  135. package/dist/style/pagination.css +1 -1
  136. package/dist/style/skeleton.css +1 -1
  137. package/dist/style/spin.css +1 -1
  138. package/dist/style/steps.css +1 -1
  139. package/dist/style/table.css +1 -1
  140. package/dist/style/tabs.css +1 -1
  141. package/dist/style.css +1 -1
  142. package/dist/types.d.ts +2 -0
  143. package/package.json +3 -2
  144. package/volar.d.ts +2 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, toRefs as le, ref as y, computed as h, watch as I, nextTick as N, onMounted as ie, createVNode as r } from "vue";
1
+ import { defineComponent as ae, toRefs as le, ref as b, computed as h, watch as H, nextTick as I, onMounted as ie, createVNode as r } from "vue";
2
2
  import { getTabListStyle as ne, updateScrollOffset as oe } from "./utils.js";
3
3
  import re from "./tabs-tab.vue.js";
4
4
  import W from "./tabs-button.js";
@@ -56,7 +56,9 @@ const Re = /* @__PURE__ */ ae({
56
56
  default: !0
57
57
  },
58
58
  scrollPosition: {
59
- type: String,
59
+ /* ScrollPosition 含 number(滚动到指定像素),只声明 String 会让
60
+ `:scroll-position="200"` 触发 prop 类型校验告警 */
61
+ type: [String, Number],
60
62
  default: "auto"
61
63
  }
62
64
  },
@@ -73,10 +75,10 @@ const Re = /* @__PURE__ */ ae({
73
75
  scrollPosition: s
74
76
  } = le(a), u = ce("tabs--nav"), {
75
77
  t: q
76
- } = ve(), n = y(), m = y(), g = y({}), b = h(() => {
78
+ } = ve(), n = b(), m = b(), g = b({}), y = h(() => {
77
79
  if (!P(S.value))
78
80
  return g.value[S.value];
79
- }), C = y(), L = h(() => a.editable && ["line", "card", "card-gutter"].includes(a.type)), d = y(!1), B = y(0), k = y(0), o = y(0), M = () => {
81
+ }), C = b(), L = h(() => a.editable && ["line", "card", "card-gutter"].includes(a.type)), d = b(!1), B = b(0), k = b(0), o = b(0), M = () => {
80
82
  var e, t;
81
83
  return (T.value === "vertical" ? (e = n.value) == null ? void 0 : e.offsetHeight : (t = n.value) == null ? void 0 : t.offsetWidth) ?? 0;
82
84
  }, D = () => !m.value || !n.value ? 0 : T.value === "vertical" ? m.value.offsetHeight - n.value.offsetHeight : m.value.offsetWidth - n.value.offsetWidth, w = () => {
@@ -84,9 +86,9 @@ const Re = /* @__PURE__ */ ae({
84
86
  }, K = () => n.value && m.value ? a.direction === "vertical" ? m.value.offsetHeight > n.value.offsetHeight : m.value.offsetWidth > n.value.offsetWidth : !1, f = (e) => {
85
87
  (!n.value || !m.value || e < 0) && (e = 0), o.value = Math.min(e, k.value);
86
88
  }, E = () => {
87
- if (!b.value || !n.value || !d.value) return;
89
+ if (!y.value || !n.value || !d.value) return;
88
90
  oe(n.value, T.value);
89
- const e = T.value === "horizontal", t = e ? "offsetLeft" : "offsetTop", c = e ? "offsetWidth" : "offsetHeight", l = b.value[t], i = b.value[c], v = n.value[c], ee = window.getComputedStyle(b.value), te = e ? s.value === "end" ? "marginRight" : "marginLeft" : s.value === "end" ? "marginBottom" : "marginTop", x = parseFloat(ee[te]) || 0;
91
+ const e = T.value === "horizontal", t = e ? "offsetLeft" : "offsetTop", c = e ? "offsetWidth" : "offsetHeight", l = y.value[t], i = y.value[c], v = n.value[c], ee = window.getComputedStyle(y.value), te = e ? s.value === "end" ? "marginRight" : "marginLeft" : s.value === "end" ? "marginBottom" : "marginTop", x = parseFloat(ee[te]) || 0;
90
92
  s.value === "auto" ? l < o.value ? f(l - x) : l + i > o.value + v && f(l + i - v + x) : s.value === "center" ? f(l + (i - v + x) / 2) : s.value === "start" ? f(l - x) : s.value === "end" ? f(l + i - v + x) : fe(s.value) && f(l - s.value);
91
93
  }, U = (e) => {
92
94
  if (!d.value) return;
@@ -99,7 +101,7 @@ const Re = /* @__PURE__ */ ae({
99
101
  }, j = (e, t) => {
100
102
  z("click", e, t);
101
103
  }, F = () => a.tabs.filter((e) => !e.disabled), V = (e) => {
102
- N(() => {
104
+ I(() => {
103
105
  var t;
104
106
  (t = g.value[e]) == null || t.focus();
105
107
  });
@@ -115,27 +117,27 @@ const Re = /* @__PURE__ */ ae({
115
117
  }
116
118
  }, Y = (e, t) => {
117
119
  z("delete", e, t);
118
- }, A = (e) => {
120
+ }, N = (e) => {
119
121
  const t = e === "previous" ? o.value - B.value : o.value + B.value;
120
122
  f(t);
121
123
  }, G = () => {
122
124
  w(), C.value && C.value.$forceUpdate();
123
125
  };
124
- I($, () => {
125
- N(() => {
126
+ H($, () => {
127
+ I(() => {
126
128
  const e = new Set(a.tabs.map((t) => String(t.key)));
127
129
  Object.keys(g.value).forEach((t) => {
128
130
  e.has(t) || delete g.value[t];
129
131
  }), w();
130
132
  });
131
- }), I([p, s], () => {
133
+ }), H([p, s], () => {
132
134
  setTimeout(() => {
133
135
  E();
134
136
  }, 0);
135
137
  }), ie(() => {
136
138
  w();
137
139
  });
138
- const H = () => !L.value || !a.showAddButton ? null : r(se, {
140
+ const A = () => !L.value || !a.showAddButton ? null : r(se, {
139
141
  as: "button",
140
142
  "aria-label": q("tabs.add"),
141
143
  class: u.element("add-btn"),
@@ -162,7 +164,7 @@ const Re = /* @__PURE__ */ ae({
162
164
  type: "previous",
163
165
  direction: a.direction,
164
166
  disabled: o.value <= 0,
165
- onClick: A
167
+ onClick: N
166
168
  }, null), r(O, {
167
169
  onResize: () => w()
168
170
  }, {
@@ -192,22 +194,22 @@ const Re = /* @__PURE__ */ ae({
192
194
  var l, i;
193
195
  return [((i = (l = t.slots).title) == null ? void 0 : i.call(l)) ?? t.title];
194
196
  }
195
- })), a.type === "line" && b.value && r(ue, {
197
+ })), a.type === "line" && y.value && r(ue, {
196
198
  ref: C,
197
- activeTabRef: b.value,
199
+ activeTabRef: y.value,
198
200
  direction: a.direction,
199
201
  disabled: !1,
200
202
  animation: a.animation
201
203
  }, null)])]
202
- }), !d.value && H()])]
204
+ }), !d.value && A()])]
203
205
  }), d.value && r(W, {
204
206
  type: "next",
205
207
  direction: a.direction,
206
208
  disabled: o.value >= k.value,
207
- onClick: A
209
+ onClick: N
208
210
  }, null), r("div", {
209
211
  class: u.element("extra")
210
- }, [d.value && H(), (e = R.extra) == null ? void 0 : e.call(R)])]);
212
+ }, [d.value && A(), (e = R.extra) == null ? void 0 : e.call(R)])]);
211
213
  };
212
214
  }
213
215
  });
@@ -1,14 +1,16 @@
1
- import n from "./tabs-tab.vue2.js";
2
- import { resolveComponent as a, openBlock as o, createElementBlock as i, mergeProps as r, createElementVNode as d, normalizeClass as t, renderSlot as c, createBlock as b, withModifiers as m, withCtx as p, createVNode as f, createCommentVNode as u } from "vue";
1
+ import i from "./tabs-tab.vue2.js";
2
+ import { resolveComponent as a, openBlock as o, createElementBlock as n, mergeProps as r, createElementVNode as d, normalizeClass as t, renderSlot as c, createBlock as b, withModifiers as m, withCtx as p, createVNode as f, createCommentVNode as u } from "vue";
3
3
  import v from "../../_virtual/_plugin-vue_export-helper.js";
4
- const h = ["tabindex", "aria-selected", "aria-disabled"];
4
+ const h = ["id", "tabindex", "aria-selected", "aria-disabled", "aria-controls"];
5
5
  function k(e, C, N, $, B, V) {
6
- const s = a("icon-close"), l = a("icon-hover");
7
- return o(), i("div", r({
6
+ const l = a("icon-close"), s = a("icon-hover");
7
+ return o(), n("div", r({
8
8
  role: "tab",
9
+ id: e.tab.tabId,
9
10
  tabindex: e.active && !e.tab.disabled ? 0 : -1,
10
11
  "aria-selected": e.active,
11
12
  "aria-disabled": e.tab.disabled || void 0,
13
+ "aria-controls": e.tab.panelId,
12
14
  class: e.cls
13
15
  }, e.eventHandlers), [
14
16
  d("span", {
@@ -16,7 +18,7 @@ function k(e, C, N, $, B, V) {
16
18
  }, [
17
19
  c(e.$slots, "default")
18
20
  ], 2),
19
- e.editable && e.tab.closable ? (o(), b(l, {
21
+ e.editable && e.tab.closable ? (o(), b(s, {
20
22
  key: 0,
21
23
  as: "button",
22
24
  "aria-label": e.t("tabs.close", { title: String(e.tab.title ?? e.tab.key) }),
@@ -24,13 +26,13 @@ function k(e, C, N, $, B, V) {
24
26
  onClick: m(e.handleDelete, ["stop"])
25
27
  }, {
26
28
  default: p(() => [
27
- f(s)
29
+ f(l)
28
30
  ]),
29
31
  _: 1
30
32
  }, 8, ["aria-label", "class", "onClick"])) : u("", !0)
31
33
  ], 16, h);
32
34
  }
33
- const E = /* @__PURE__ */ v(n, [["render", k]]);
35
+ const E = /* @__PURE__ */ v(i, [["render", k]]);
34
36
  export {
35
37
  E as default
36
38
  };
@@ -2,12 +2,12 @@ import { defineComponent as Be, toRefs as Oe, computed as P, inject as Ee, ref a
2
2
  import { getScrollElements as le, getElementScrollRect as ne, getPopupStyle as $e, getTransformOrigin as Ge, getArrowStyle as He } from "./utils.js";
3
3
  import ue from "../../_container/resize-observer-v2.js";
4
4
  import { on as G, off as ie } from "../../_utils/dom.js";
5
- import { isEmptyChildren as Ue, mergeFirstChild as _e } from "../../_utils/vue-eco.js";
6
- import Ke from "../../_hooks/use-pick-slots.js";
5
+ import { isEmptyChildren as Ue, mergeFirstChild as Ke } from "../../_utils/vue-eco.js";
6
+ import Xe from "../../_hooks/use-pick-slots.js";
7
7
  import { triggerInjectionKey as ae } from "./context.js";
8
8
  import { throttleByRaf as se } from "../../_utils/throttle-by-raf.js";
9
- import Xe from "../../_hooks/use-popup-manager.js";
10
- import { useResizeObserver as Ye } from "../../_hooks/use-resize-observer.js";
9
+ import Ye from "../../_hooks/use-popup-manager.js";
10
+ import { useResizeObserver as _e } from "../../_hooks/use-resize-observer.js";
11
11
  import qe from "../../_container/client-only.js";
12
12
  import { useTeleportContainer as Je } from "../../_hooks/use-teleport-container.js";
13
13
  import { useFirstElement as Qe } from "../../_hooks/use-first-element.js";
@@ -337,7 +337,7 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
337
337
  } = Oe(o), g = eo("trigger"), ce = P(() => Ze(n, oo)), p = P(() => [].concat(o.trigger)), k = /* @__PURE__ */ new Set(), u = Ee(ae, void 0), {
338
338
  children: M,
339
339
  firstElement: T
340
- } = Qe(), y = s(), H = s(o.defaultPopupVisible), B = s(o.position), U = s({}), _ = s({}), K = s({}), S = s(!1), fe = s(), f = s({
340
+ } = Qe(), y = s(), H = s(o.defaultPopupVisible), B = s(o.position), U = s({}), K = s({}), X = s({}), S = s(!1), fe = s(), f = s({
341
341
  top: 0,
342
342
  left: 0
343
343
  });
@@ -351,7 +351,7 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
351
351
  documentContainer: !0
352
352
  }), {
353
353
  zIndex: me
354
- } = Xe("popup", {
354
+ } = Ye("popup", {
355
355
  visible: l
356
356
  });
357
357
  let R = 0, h = !1, z = !1;
@@ -368,7 +368,7 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
368
368
  left: t
369
369
  };
370
370
  }
371
- }, X = () => {
371
+ }, Y = () => {
372
372
  S.value = !0;
373
373
  }, m = () => {
374
374
  if (!T.value || !y.value || !D.value)
@@ -396,13 +396,13 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
396
396
  customStyle: o.popupStyle,
397
397
  autoFitPosition: o.autoFitPosition
398
398
  });
399
- o.autoFitTransformOrigin && (_.value = {
399
+ o.autoFitTransformOrigin && (K.value = {
400
400
  transformOrigin: Ge(C)
401
401
  }), o.autoFitPopupMinWidth ? w.minWidth = `${t.width}px` : o.autoFitPopupWidth && (w.width = `${t.width}px`), B.value !== C && (B.value = C), U.value = w, o.showArrow ? $(() => {
402
- K.value = He(C, t, i(), {
402
+ X.value = He(C, t, i(), {
403
403
  customStyle: o.arrowStyle
404
- }), X();
405
- }) : X();
404
+ }), Y();
405
+ }) : Y();
406
406
  }, a = (e, t) => {
407
407
  const i = R !== 0;
408
408
  if (e === l.value && !i)
@@ -420,11 +420,11 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
420
420
  }, pe = (e) => {
421
421
  var t;
422
422
  (t = n.onClick) == null || t.call(n, e), !(o.disabled || l.value && !o.clickToClose) && (p.value.includes("click") ? (V(e), a(!l.value)) : p.value.includes("contextMenu") && l.value && a(!1));
423
- }, Y = (e) => {
423
+ }, _ = (e) => {
424
424
  var t;
425
425
  (t = n.onMouseenter) == null || t.call(n, e), !(o.disabled || !p.value.includes("hover")) && (V(e), a(!0, o.mouseEnterDelay));
426
426
  }, q = (e) => {
427
- u == null || u.onMouseenter(e), Y(e);
427
+ u == null || u.onMouseenter(e), _(e);
428
428
  }, J = (e) => {
429
429
  var t;
430
430
  (t = n.onMouseleave) == null || t.call(n, e), !(o.disabled || !p.value.includes("hover")) && a(!1, o.mouseLeaveDelay);
@@ -452,7 +452,7 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
452
452
  }));
453
453
  const j = () => {
454
454
  ie(document.documentElement, "mousedown", W), h = !1;
455
- }, N = Ke(v, "content"), Ce = P(() => {
455
+ }, N = Xe(v, "content"), Ce = P(() => {
456
456
  var e;
457
457
  return o.hideEmpty && Ue((e = N.value) == null ? void 0 : e.call(N));
458
458
  }), W = (e) => {
@@ -512,7 +512,7 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
512
512
  const {
513
513
  createResizeObserver: Se,
514
514
  destroyResizeObserver: Re
515
- } = Ye({
515
+ } = _e({
516
516
  elementRef: D,
517
517
  onResize: x
518
518
  });
@@ -542,10 +542,10 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
542
542
  };
543
543
  return () => {
544
544
  var e;
545
- return M.value = ((e = v.default) == null ? void 0 : e.call(v)) ?? [], _e(M.value, {
545
+ return M.value = ((e = v.default) == null ? void 0 : e.call(v)) ?? [], Ke(M.value, {
546
546
  class: Te.value,
547
547
  onClick: pe,
548
- onMouseenter: Y,
548
+ onMouseenter: _,
549
549
  onMouseleave: J,
550
550
  onFocusin: ye,
551
551
  onFocusout: he,
@@ -590,14 +590,14 @@ const oo = ["onClick", "onMouseenter", "onMouseleave", "onFocusin", "onFocusout"
590
590
  var t;
591
591
  return [xe(c("div", {
592
592
  class: g.element("popup-wrapper"),
593
- style: _.value
593
+ style: K.value
594
594
  }, [c("div", {
595
595
  class: [g.element("content"), o.contentClass],
596
596
  style: o.contentStyle
597
597
  }, [(t = v.content) == null ? void 0 : t.call(v)]), o.showArrow && c("div", {
598
598
  ref: fe,
599
599
  class: [g.element("arrow"), o.arrowClass],
600
- style: K.value
600
+ style: X.value
601
601
  }, null)]), [[Ie, l.value]])];
602
602
  }
603
603
  })])]
@@ -1,6 +1,11 @@
1
1
  import { h as a, createVNode as l } from "vue";
2
- import { generateIcon as t } from "../icon.js";
3
- const n = t("EmptyBetter", a(l("svg", {
2
+ import { generateIcon as e } from "../icon.js";
3
+ const t = {
4
+ planes: "var(--x-empty-illustration-planes)",
5
+ mid: "var(--x-empty-illustration-mid)",
6
+ strong: "var(--x-empty-illustration-strong)",
7
+ highlight: "var(--x-empty-illustration-highlight)"
8
+ }, n = e("EmptyBetter", a(l("svg", {
4
9
  width: "184",
5
10
  height: "152",
6
11
  viewBox: "0 0 184 152",
@@ -12,30 +17,42 @@ const n = t("EmptyBetter", a(l("svg", {
12
17
  transform: "translate(24 31.67)"
13
18
  }, [l("ellipse", {
14
19
  "fill-opacity": ".8",
15
- fill: "#F5F5F7",
20
+ style: {
21
+ fill: t.planes
22
+ },
16
23
  cx: "67.797",
17
24
  cy: "106.89",
18
25
  rx: "67.797",
19
26
  ry: "12.668"
20
27
  }, null), l("path", {
21
28
  d: "M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",
22
- fill: "#AEB8C2"
29
+ style: {
30
+ fill: t.strong
31
+ }
23
32
  }, null), l("path", {
24
33
  d: "M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",
25
34
  fill: "url(#linearGradient-1)",
26
35
  transform: "translate(13.56)"
27
36
  }, null), l("path", {
28
37
  d: "M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",
29
- fill: "#F5F5F7"
38
+ style: {
39
+ fill: t.planes
40
+ }
30
41
  }, null), l("path", {
31
42
  d: "M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",
32
- fill: "#DCE0E6"
43
+ style: {
44
+ fill: t.mid
45
+ }
33
46
  }, null)]), l("path", {
34
47
  d: "M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",
35
- fill: "#DCE0E6"
48
+ style: {
49
+ fill: t.mid
50
+ }
36
51
  }, null), l("g", {
37
52
  transform: "translate(149.65 15.383)",
38
- fill: "#FFF"
53
+ style: {
54
+ fill: t.highlight
55
+ }
39
56
  }, [l("ellipse", {
40
57
  cx: "20.654",
41
58
  cy: "3.167",