hys-ui 0.3.0 → 0.4.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 (93) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +68 -73
  3. package/dist/components/HysAnimatedNumber/HysAnimatedNumber.vue.js +5 -41
  4. package/dist/components/HysAnimatedNumber/HysAnimatedNumber2.vue.js +146 -2
  5. package/dist/components/HysButton/HysButton.vue.js +2 -2
  6. package/dist/components/HysButton/HysButton2.vue.js +227 -60
  7. package/dist/components/HysButtonGroup/HysButtonGroup.vue.js +7 -0
  8. package/dist/components/HysButtonGroup/HysButtonGroup2.vue.js +51 -0
  9. package/dist/components/HysMention/HysMention.vue.js +1 -1
  10. package/dist/components/HysMention/HysMention2.vue.js +1092 -154
  11. package/dist/components/HysModal/HysModal.vue.js +3 -3
  12. package/dist/components/HysModal/HysModal2.vue.js +81 -80
  13. package/dist/components/HysPagination/HysPagination.vue.js +2 -2
  14. package/dist/components/HysPagination/HysPagination2.vue.js +243 -180
  15. package/dist/components/HysSearch/HysSearch.vue.js +5 -82
  16. package/dist/components/HysSearch/HysSearch2.vue.js +176 -2
  17. package/dist/components/HysSelect/HysSelect.vue.js +2 -2
  18. package/dist/components/HysSelect/HysSelect2.vue.js +472 -443
  19. package/dist/components/HysSplitPane/HysSplitPane.vue.js +315 -58
  20. package/dist/components/HysSplitPane/HysSplitPane3.vue.js +5 -0
  21. package/dist/components/HysTable/HysTable.vue.js +2 -2
  22. package/dist/components/HysTable/HysTable2.vue.js +1418 -1150
  23. package/dist/components/HysTour/HysTour.vue.js +291 -67
  24. package/dist/components/HysTour/HysTour3.vue.js +5 -0
  25. package/dist/composables/buttonGroup.js +12 -0
  26. package/dist/composables/floatingPosition.js +18 -0
  27. package/dist/composables/mentionDocument.js +79 -0
  28. package/dist/composables/mentionEditor.js +58 -0
  29. package/dist/composables/selectOptions.js +44 -38
  30. package/dist/composables/splitPaneSizes.js +58 -0
  31. package/dist/composables/table.js +128 -105
  32. package/dist/composables/useDialog.js +50 -50
  33. package/dist/composables/useFloating.js +107 -103
  34. package/dist/composables/useMentionCaret.js +81 -0
  35. package/dist/composables/useMentionList.js +81 -0
  36. package/dist/composables/useMentionModel.js +90 -0
  37. package/dist/composables/useMentionOptions.js +421 -0
  38. package/dist/composables/useSplitPaneDrag.js +52 -0
  39. package/dist/composables/useSplitPaneStorage.js +38 -0
  40. package/dist/composables/useTable.js +344 -312
  41. package/dist/composables/useTableSticky.js +79 -0
  42. package/dist/composables/useTourLayout.js +129 -0
  43. package/dist/config.js +11 -11
  44. package/dist/index.js +175 -156
  45. package/dist/internal/MultiSplitPane.vue.js +305 -0
  46. package/dist/internal/MultiSplitPane2.vue.js +4 -0
  47. package/dist/style.css +1 -1
  48. package/dist/types/components/HysAnimatedNumber/HysAnimatedNumber.vue.d.ts +61 -7
  49. package/dist/types/components/HysAutocomplete/HysAutocomplete.vue.d.ts +1 -1
  50. package/dist/types/components/HysButton/HysButton.vue.d.ts +82 -22
  51. package/dist/types/components/HysButtonGroup/HysButtonGroup.vue.d.ts +30 -0
  52. package/dist/types/components/HysCascader/HysCascaderColumn.vue.d.ts +2 -2
  53. package/dist/types/components/HysColorPicker/HysColorPicker.vue.d.ts +2 -2
  54. package/dist/types/components/HysContextMenu/HysMenuPanel.vue.d.ts +2 -2
  55. package/dist/types/components/HysDatePicker/HysDatePickerControl.vue.d.ts +2 -2
  56. package/dist/types/components/HysDrawer/HysDrawer.vue.d.ts +1 -1
  57. package/dist/types/components/HysMention/HysMention.vue.d.ts +91 -40
  58. package/dist/types/components/HysModal/HysModal.vue.d.ts +1 -1
  59. package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +2 -2
  60. package/dist/types/components/HysPagination/HysPagination.vue.d.ts +55 -4
  61. package/dist/types/components/HysRating/HysRating.vue.d.ts +1 -1
  62. package/dist/types/components/HysSearch/HysSearch.vue.d.ts +45 -7
  63. package/dist/types/components/HysSelect/HysSelect.vue.d.ts +6 -1
  64. package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +125 -14
  65. package/dist/types/components/HysSteps/HysSteps.vue.d.ts +1 -1
  66. package/dist/types/components/HysTable/HysTable.vue.d.ts +1740 -3
  67. package/dist/types/components/HysTour/HysTour.vue.d.ts +46 -9
  68. package/dist/types/composables/buttonGroup.d.ts +9 -0
  69. package/dist/types/composables/floatingPosition.d.ts +14 -0
  70. package/dist/types/composables/mention.d.ts +284 -0
  71. package/dist/types/composables/mentionDocument.d.ts +15 -0
  72. package/dist/types/composables/mentionEditor.d.ts +7 -0
  73. package/dist/types/composables/modal.d.ts +2 -0
  74. package/dist/types/composables/selectOptions.d.ts +5 -0
  75. package/dist/types/composables/splitPaneSizes.d.ts +11 -0
  76. package/dist/types/composables/table.d.ts +116 -6
  77. package/dist/types/composables/tour.d.ts +68 -0
  78. package/dist/types/composables/useFloating.d.ts +1 -1
  79. package/dist/types/composables/useMentionCaret.d.ts +6 -0
  80. package/dist/types/composables/useMentionList.d.ts +23 -0
  81. package/dist/types/composables/useMentionModel.d.ts +14 -0
  82. package/dist/types/composables/useMentionOptions.d.ts +26 -0
  83. package/dist/types/composables/useSplitPaneDrag.d.ts +14 -0
  84. package/dist/types/composables/useSplitPaneStorage.d.ts +4 -0
  85. package/dist/types/composables/useTable.d.ts +7 -3
  86. package/dist/types/composables/useTableSticky.d.ts +22 -0
  87. package/dist/types/composables/useTourLayout.d.ts +33 -0
  88. package/dist/types/config.d.ts +1 -0
  89. package/dist/types/index.d.ts +36 -1
  90. package/dist/types/internal/MultiSplitPane.vue.d.ts +54 -0
  91. package/package.json +3 -2
  92. package/dist/components/HysSplitPane/HysSplitPane2.vue.js +0 -4
  93. package/dist/components/HysTour/HysTour2.vue.js +0 -4
@@ -0,0 +1,79 @@
1
+ import { ref as U, shallowRef as G, onMounted as I, onActivated as J, onDeactivated as K, onBeforeUnmount as P, onUpdated as Q, watch as j } from "vue";
2
+ const x = 16, H = (o) => o !== void 0 && Number.isFinite(o) ? Math.max(0, o) : 0;
3
+ function Z(o, k, v) {
4
+ const L = U(0), p = U(), a = G();
5
+ let f = 0, w = !1, i = !1, m, s;
6
+ function b() {
7
+ const t = p.value, c = o.value;
8
+ !t || !c || t.scrollLeft === c.scrollLeft || (t.scrollLeft = c.scrollLeft, m = t.scrollLeft);
9
+ }
10
+ function q(t) {
11
+ if (!i || !o.value) return;
12
+ const c = t.currentTarget.scrollLeft, e = c === m;
13
+ m = void 0, !e && c !== o.value.scrollLeft && (o.value.scrollLeft = c);
14
+ }
15
+ function D() {
16
+ var F, O;
17
+ f = 0;
18
+ const t = o.value;
19
+ if (!i || !(t != null && t.isConnected)) return;
20
+ const c = v(), e = typeof c == "object" ? c : void 0, y = (F = e == null ? void 0 : e.getContainer) == null ? void 0 : F.call(e), S = document.documentElement.clientWidth, T = document.documentElement.clientHeight, n = y instanceof HTMLElement ? y.getBoundingClientRect() : void 0, z = Math.max(0, (n == null ? void 0 : n.top) ?? 0), N = Math.min(T, (n == null ? void 0 : n.bottom) ?? T), d = t.getBoundingClientRect(), B = ((O = k.value) == null ? void 0 : O.getBoundingClientRect().height) ?? 0, V = Math.max(0, t.clientHeight - B);
21
+ L.value = Math.min(
22
+ V,
23
+ Math.max(0, z + H(e == null ? void 0 : e.offsetHeader) - d.top)
24
+ );
25
+ const g = t.scrollWidth - t.clientWidth, u = N - H(e == null ? void 0 : e.offsetScroll) - x, M = Math.max(
26
+ 0,
27
+ (n == null ? void 0 : n.left) ?? 0,
28
+ d.left + t.clientLeft
29
+ ), h = Math.min(
30
+ S,
31
+ (n == null ? void 0 : n.right) ?? S,
32
+ d.left + t.clientLeft + t.clientWidth
33
+ ) - M;
34
+ if (g <= 1 || h <= 0 || d.bottom <= u + x || u <= d.top || u <= z + H(e == null ? void 0 : e.offsetHeader) + B) {
35
+ a.value = void 0;
36
+ return;
37
+ }
38
+ const A = getComputedStyle(t).direction === "rtl" ? "rtl" : "ltr", r = a.value;
39
+ ((r == null ? void 0 : r.top) !== u || r.left !== M || r.width !== h || r.contentWidth !== g + h || r.direction !== A) && (a.value = {
40
+ top: u,
41
+ left: M,
42
+ width: h,
43
+ contentWidth: g + h,
44
+ direction: A
45
+ });
46
+ }
47
+ function l() {
48
+ i && !f && (f = requestAnimationFrame(D));
49
+ }
50
+ function E() {
51
+ i && (i = !1, cancelAnimationFrame(f), f = 0, window.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), s == null || s.disconnect(), L.value = 0, a.value = void 0);
52
+ }
53
+ function R() {
54
+ !w || !v() || i || !o.value || (i = !0, window.addEventListener("scroll", l, !0), window.addEventListener("resize", l), typeof ResizeObserver < "u" && (s = new ResizeObserver(l), s.observe(o.value)), l());
55
+ }
56
+ function W() {
57
+ w = !0, R();
58
+ }
59
+ function C() {
60
+ w = !1, E();
61
+ }
62
+ return I(W), J(W), K(C), P(C), Q(l), j(v, (t) => t ? R() : E(), { flush: "post" }), j(
63
+ p,
64
+ () => {
65
+ m = void 0, b();
66
+ },
67
+ { flush: "post" }
68
+ ), {
69
+ headerTop: L,
70
+ bar: a,
71
+ scrollbar: p,
72
+ syncScrollbar: b,
73
+ scrollViewport: q,
74
+ scrollbarHeight: x
75
+ };
76
+ }
77
+ export {
78
+ Z as useTableSticky
79
+ };
@@ -0,0 +1,129 @@
1
+ import { ref as S, shallowRef as E, computed as O, watch as H, onMounted as j, onActivated as k, onDeactivated as D, onBeforeUnmount as q } from "vue";
2
+ import { popupSize as X } from "../motion/popup.js";
3
+ import { positionFloating as Y } from "./floatingPosition.js";
4
+ function R(t) {
5
+ try {
6
+ const s = typeof t == "function" ? t() : typeof t == "string" ? document.querySelector(t) : t;
7
+ return s instanceof HTMLElement && s.isConnected ? s : void 0;
8
+ } catch {
9
+ return;
10
+ }
11
+ }
12
+ function F() {
13
+ return {
14
+ width: document.documentElement.clientWidth || window.innerWidth,
15
+ height: document.documentElement.clientHeight || window.innerHeight
16
+ };
17
+ }
18
+ function B(t, s) {
19
+ const n = t.getBoundingClientRect();
20
+ let l = Math.max(0, n.left), i = Math.max(0, n.top), e = Math.min(s.width, n.right), o = Math.min(s.height, n.bottom);
21
+ if (!(!t.getClientRects().length || getComputedStyle(t).visibility !== "visible")) {
22
+ for (let c = t.parentElement; c && c !== document.body; c = c.parentElement) {
23
+ const { overflowX: w, overflowY: M } = getComputedStyle(c), f = /^(auto|scroll|hidden|clip|overlay)$/.test(w), r = /^(auto|scroll|hidden|clip|overlay)$/.test(M);
24
+ if (!f && !r) continue;
25
+ const $ = c.getBoundingClientRect();
26
+ f && (l = Math.max(l, $.left + c.clientLeft), e = Math.min(e, $.left + c.clientLeft + c.clientWidth)), r && (i = Math.max(i, $.top + c.clientTop), o = Math.min(o, $.top + c.clientTop + c.clientHeight));
27
+ }
28
+ return e > l && o > i ? new window.DOMRect(l, i, e - l, o - i) : void 0;
29
+ }
30
+ }
31
+ const V = (t, s) => Number.isFinite(t) ? Math.max(0, t) : s;
32
+ function Z(t, s, n) {
33
+ const [l, i] = Array.isArray(n) ? n : [n, n], e = V(l, 6), o = V(i, 6), c = Math.max(0, t.left - e), w = Math.max(0, t.top - o);
34
+ return new window.DOMRect(
35
+ c,
36
+ w,
37
+ Math.min(s.width, t.right + e) - c,
38
+ Math.min(s.height, t.bottom + o) - w
39
+ );
40
+ }
41
+ function N(t, s) {
42
+ const { left: n, top: l, right: i, bottom: e } = t, o = Math.min(s, t.width / 2, t.height / 2);
43
+ return [
44
+ `M ${n + o} ${l} H ${i - o} Q ${i} ${l} ${i} ${l + o}`,
45
+ `V ${e - o} Q ${i} ${e} ${i - o} ${e}`,
46
+ `H ${n + o} Q ${n} ${e} ${n} ${e - o}`,
47
+ `V ${l + o} Q ${n} ${l} ${n + o} ${l} Z`
48
+ ].join(" ");
49
+ }
50
+ function G(t, s, n, l) {
51
+ const i = S(!1), e = E(), o = E(), c = E({ width: 0, height: 0 }), w = E(), M = E();
52
+ let f, r;
53
+ const $ = O(() => i.value && t.value ? R(l.value) : void 0), T = O(() => {
54
+ var p;
55
+ const { width: a, height: u } = c.value;
56
+ if (!a || !u) return "";
57
+ const d = `M 0 0 H ${a} V ${u} H 0 Z`;
58
+ return o.value ? d + " " + N(o.value, V((p = n.value.gap) == null ? void 0 : p.radius, 4)) : d;
59
+ });
60
+ function A() {
61
+ var L;
62
+ const a = F();
63
+ c.value = a;
64
+ const u = e.value && B(e.value, a), d = s.value;
65
+ if (!u || !d) {
66
+ o.value = void 0, w.value = void 0, M.value = void 0;
67
+ return;
68
+ }
69
+ const p = n.value, b = Z(u, a, (L = p.gap) == null ? void 0 : L.offset);
70
+ o.value = b;
71
+ const v = Y(
72
+ p.mask === !1 ? u : b,
73
+ X(d),
74
+ a,
75
+ p.placement ?? "bottom",
76
+ 9,
77
+ 12,
78
+ !0
79
+ );
80
+ w.value = v;
81
+ const y = p.arrow, x = typeof y == "object" && y.pointAtCenter === !1, g = x && v.placement.endsWith("start") ? 0 : x && v.placement.endsWith("end") ? 1 : 0.5, m = (W, Q) => Math.max(12, Math.min(W, Q - 12));
82
+ M.value = {
83
+ x: m(u.left + u.width * g - v.x, v.width),
84
+ y: m(u.top + u.height * g - v.y, v.height)
85
+ };
86
+ }
87
+ function h() {
88
+ f === void 0 && (f = requestAnimationFrame(() => {
89
+ f = void 0, A();
90
+ }));
91
+ }
92
+ function C(a) {
93
+ var u;
94
+ if (e.value !== a) {
95
+ if (e.value && (r == null || r.unobserve(e.value)), e.value = a, a) {
96
+ r == null || r.observe(a);
97
+ const d = n.value.scrollIntoViewOptions, p = a.getBoundingClientRect(), b = F(), v = B(a, b);
98
+ d !== !1 && (!v || v.width < p.width || v.height < p.height) && ((u = a.scrollIntoView) == null || u.call(a, typeof d == "object" ? { block: "center", inline: "nearest", ...d } : { block: "center", inline: "nearest" }));
99
+ }
100
+ h();
101
+ }
102
+ }
103
+ return H($, C, { flush: "post" }), H(n, () => {
104
+ i.value && t.value && h();
105
+ }, { flush: "post" }), H([i, t, s], ([a, u, d], p, b) => {
106
+ var y, x;
107
+ if (!a || !u || !d) return;
108
+ r = typeof ResizeObserver == "function" ? new ResizeObserver(h) : void 0, r == null || r.observe(d), e.value && (r == null || r.observe(e.value)), C(R(l.value)), A();
109
+ const v = new MutationObserver((g) => {
110
+ var m;
111
+ l.value && ((m = e.value) != null && m.isConnected ? g.some((L) => !d.contains(L.target)) && h() : C(R(l.value)));
112
+ });
113
+ v.observe(document.body, { childList: !0, subtree: !0 }), window.addEventListener("resize", h), window.addEventListener("scroll", h, !0), (y = window.visualViewport) == null || y.addEventListener("resize", h), (x = window.visualViewport) == null || x.addEventListener("scroll", h), b(() => {
114
+ var g, m;
115
+ f !== void 0 && cancelAnimationFrame(f), f = void 0, r == null || r.disconnect(), r = void 0, v.disconnect(), window.removeEventListener("resize", h), window.removeEventListener("scroll", h, !0), (g = window.visualViewport) == null || g.removeEventListener("resize", h), (m = window.visualViewport) == null || m.removeEventListener("scroll", h), e.value = void 0, w.value = void 0, o.value = void 0;
116
+ });
117
+ }, { flush: "post" }), j(() => {
118
+ i.value = !0;
119
+ }), k(() => {
120
+ i.value = !0;
121
+ }), D(() => {
122
+ i.value = !1;
123
+ }), q(() => {
124
+ f !== void 0 && cancelAnimationFrame(f);
125
+ }), { view: c, bounds: o, card: w, arrow: M, path: T };
126
+ }
127
+ export {
128
+ G as useTourLayout
129
+ };
package/dist/config.js CHANGED
@@ -1,16 +1,16 @@
1
- import { computed as a, toValue as s, provide as m, getCurrentInstance as i, inject as f } from "vue";
2
- const u = Symbol("hys-ui-config"), r = /* @__PURE__ */ new WeakMap();
3
- function h(t) {
4
- const e = c(), n = { theme: t.theme ?? e.theme, motion: t.motion ?? e.motion };
5
- m(u, n);
6
- const o = i();
1
+ import { computed as a, toValue as s, getCurrentInstance as u, inject as m, provide as l } from "vue";
2
+ const i = Symbol("hys-ui-config"), r = /* @__PURE__ */ new WeakMap();
3
+ function p(t) {
4
+ const e = c(), n = { theme: t.theme ?? e.theme, motion: t.motion ?? e.motion, buttonAutoInsertSpace: t.buttonAutoInsertSpace ?? e.buttonAutoInsertSpace };
5
+ l(i, n);
6
+ const o = u();
7
7
  o && r.set(o, n);
8
8
  }
9
9
  function c() {
10
- const t = i();
11
- return t && r.get(t) || f(u, {});
10
+ const t = u();
11
+ return t && r.get(t) || m(i, {});
12
12
  }
13
- function d() {
13
+ function h() {
14
14
  const t = c();
15
15
  return a(() => {
16
16
  const e = s(t.theme), n = s(t.motion);
@@ -18,7 +18,7 @@ function d() {
18
18
  });
19
19
  }
20
20
  export {
21
- h as provideHysConfig,
21
+ p as provideHysConfig,
22
22
  c as useHysConfig,
23
- d as useHysRootAttrs
23
+ h as useHysRootAttrs
24
24
  };
package/dist/index.js CHANGED
@@ -1,159 +1,178 @@
1
1
  /* empty css */
2
- import { default as o } from "./components/HysAccordion/HysAccordion.vue.js";
3
- import { default as s } from "./components/HysAlert/HysAlert.vue.js";
4
- import { default as l } from "./components/HysAnimatedNumber/HysAnimatedNumber.vue.js";
5
- import { default as m } from "./components/HysAutocomplete/HysAutocomplete.vue.js";
6
- import { default as u } from "./components/HysAvatar/HysAvatar.vue.js";
7
- import { default as y } from "./components/HysAvatarGroup/HysAvatarGroup.vue.js";
8
- import { default as i } from "./components/HysBadge/HysBadge.vue.js";
9
- import { default as c } from "./components/HysBreadcrumb/HysBreadcrumb.vue.js";
10
- import { default as C } from "./components/HysButton/HysButton.vue.js";
11
- import { default as g } from "./components/HysCalendar/HysCalendar.vue.js";
12
- import { default as P } from "./components/HysCalendarNavigation/HysCalendarNavigation.vue.js";
13
- import { default as k } from "./components/HysCard/HysCard.vue.js";
14
- import { default as v } from "./components/HysCascader/HysCascader.vue.js";
15
- import { default as D } from "./components/HysChart/HysChart.vue.js";
16
- import { default as R } from "./components/HysCheckbox/HysCheckbox.vue.js";
17
- import { default as I } from "./components/HysCheckboxGroup/HysCheckboxGroup.vue.js";
18
- import { default as N } from "./components/HysColorPicker/HysColorPicker.vue.js";
19
- import { default as B } from "./components/HysColorTokenEditor/HysColorTokenEditor.vue.js";
20
- import { default as z } from "./components/HysCommandPalette/HysCommandPalette.vue.js";
21
- import { default as K } from "./components/HysCommentEditor/HysCommentEditor.vue.js";
22
- import { default as O } from "./components/HysContextMenu/HysContextMenu.vue.js";
23
- import { default as j } from "./components/HysCronEditor/HysCronEditor.vue.js";
24
- import { default as Q } from "./components/HysDataGrid/HysDataGrid.vue.js";
25
- import { default as X } from "./components/HysDatePicker/HysDatePicker.vue.js";
26
- import { default as Z } from "./components/HysDateRangePicker/HysDateRangePicker.vue.js";
27
- import { default as $ } from "./components/HysDiffViewer/HysDiffViewer.vue.js";
28
- import { default as re } from "./components/HysDivider/HysDivider.vue.js";
29
- import { default as oe } from "./components/HysDrawer/HysDrawer.vue.js";
30
- import { default as se } from "./components/HysEmpty/HysEmpty.vue.js";
31
- import { default as le } from "./components/HysFileManager/HysFileManager.vue.js";
32
- import { default as me } from "./components/HysForm/HysForm.vue.js";
33
- import { default as ue } from "./components/HysFormItem/HysFormItem.vue.js";
34
- import { default as ye } from "./components/HysGantt/HysGantt.vue.js";
35
- import { default as ie } from "./components/HysInput/HysInput.vue.js";
36
- import { default as ce } from "./components/HysJsonEditor/HysJsonEditor.vue.js";
37
- import { default as Ce } from "./components/HysKanban/HysKanban.vue.js";
38
- import { default as ge } from "./components/HysMention/HysMention.vue.js";
39
- import { default as Pe } from "./components/HysModal/HysModal.vue.js";
40
- import { default as ke } from "./components/HysNotificationCenter/HysNotificationCenter.vue.js";
41
- import { default as ve } from "./components/HysNumberInput/HysNumberInput.vue.js";
42
- import { default as De } from "./components/HysOrgTree/HysOrgTree.vue.js";
43
- import { default as Re } from "./components/HysPagination/HysPagination.vue.js";
44
- import { default as Ie } from "./components/HysPermissionMatrix/HysPermissionMatrix.vue.js";
45
- import { default as Ne } from "./components/HysPopover/HysPopover.vue.js";
46
- import { default as Be } from "./components/HysProgress/HysProgress.vue.js";
47
- import { default as ze } from "./components/HysRadio/HysRadio.vue.js";
48
- import { default as Ke } from "./components/HysRadioGroup/HysRadioGroup.vue.js";
49
- import { default as Oe } from "./components/HysRating/HysRating.vue.js";
50
- import { default as je } from "./components/HysResizablePanel/HysResizablePanel.vue.js";
51
- import { default as Qe } from "./components/HysRichTextEditor/HysRichTextEditor.vue.js";
52
- import { default as Xe } from "./components/HysSearch/HysSearch.vue.js";
53
- import { default as Ze } from "./components/HysSegmented/HysSegmented.vue.js";
54
- import { default as $e } from "./components/HysSelect/HysSelect.vue.js";
55
- import { default as rr } from "./components/HysShortcutHelp/HysShortcutHelp.vue.js";
56
- import { default as or } from "./components/HysSkeleton/HysSkeleton.vue.js";
57
- import { default as sr } from "./components/HysSlider/HysSlider.vue.js";
58
- import { default as lr } from "./components/HysSortableList/HysSortableList.vue.js";
59
- import { default as mr } from "./components/HysSplitPane/HysSplitPane.vue.js";
60
- import { default as ur } from "./components/HysSteps/HysSteps.vue.js";
61
- import { default as yr } from "./components/HysSwitch/HysSwitch.vue.js";
62
- import { default as ir } from "./components/HysTable/HysTable.vue.js";
63
- import { default as cr } from "./components/HysTabs/HysTabs.vue.js";
64
- import { default as Cr } from "./components/HysTagInput/HysTagInput.vue.js";
65
- import { default as gr } from "./components/HysTextarea/HysTextarea.vue.js";
66
- import { default as Pr } from "./components/HysTimeline/HysTimeline.vue.js";
67
- import { default as kr } from "./components/HysToast/HysToast.vue.js";
68
- import { default as vr } from "./components/HysTooltip/HysTooltip.vue.js";
69
- import { default as Dr } from "./components/HysTour/HysTour.vue.js";
70
- import { default as Rr } from "./components/HysTransfer/HysTransfer.vue.js";
71
- import { default as Ir } from "./components/HysTree/HysTree.vue.js";
72
- import { default as Nr } from "./components/HysTreeSelect/HysTreeSelect.vue.js";
73
- import { default as Br } from "./components/HysUpload/HysUpload.vue.js";
74
- import { default as zr } from "./components/HysVirtualTable/HysVirtualTable.vue.js";
75
- import { provideHysConfig as Kr } from "./config.js";
76
- import { useHysFormItemContext as Or } from "./composables/formContext.js";
77
- import { createHysToast as jr, useHysToast as qr } from "./composables/useHysToast.js";
78
- import { createHysModal as Wr, useHysModal as Xr } from "./composables/useHysModal.js";
2
+ import { default as s } from "./components/HysAccordion/HysAccordion.vue.js";
3
+ import { default as m } from "./components/HysAlert/HysAlert.vue.js";
4
+ import { default as p } from "./components/HysAnimatedNumber/HysAnimatedNumber.vue.js";
5
+ import { default as u } from "./components/HysAutocomplete/HysAutocomplete.vue.js";
6
+ import { default as y } from "./components/HysAvatar/HysAvatar.vue.js";
7
+ import { default as i } from "./components/HysAvatarGroup/HysAvatarGroup.vue.js";
8
+ import { default as c } from "./components/HysBadge/HysBadge.vue.js";
9
+ import { default as C } from "./components/HysBreadcrumb/HysBreadcrumb.vue.js";
10
+ import { default as g } from "./components/HysButton/HysButton.vue.js";
11
+ import { default as S } from "./components/HysButtonGroup/HysButtonGroup.vue.js";
12
+ import { default as h } from "./components/HysCalendar/HysCalendar.vue.js";
13
+ import { default as E } from "./components/HysCalendarNavigation/HysCalendarNavigation.vue.js";
14
+ import { default as v } from "./components/HysCard/HysCard.vue.js";
15
+ import { default as G } from "./components/HysCascader/HysCascader.vue.js";
16
+ import { default as I } from "./components/HysChart/HysChart.vue.js";
17
+ import { default as B } from "./components/HysCheckbox/HysCheckbox.vue.js";
18
+ import { default as N } from "./components/HysCheckboxGroup/HysCheckboxGroup.vue.js";
19
+ import { default as L } from "./components/HysColorPicker/HysColorPicker.vue.js";
20
+ import { default as V } from "./components/HysColorTokenEditor/HysColorTokenEditor.vue.js";
21
+ import { default as K } from "./components/HysCommandPalette/HysCommandPalette.vue.js";
22
+ import { default as j } from "./components/HysCommentEditor/HysCommentEditor.vue.js";
23
+ import { default as Q } from "./components/HysContextMenu/HysContextMenu.vue.js";
24
+ import { default as X } from "./components/HysCronEditor/HysCronEditor.vue.js";
25
+ import { default as Z } from "./components/HysDataGrid/HysDataGrid.vue.js";
26
+ import { default as $ } from "./components/HysDatePicker/HysDatePicker.vue.js";
27
+ import { default as te } from "./components/HysDateRangePicker/HysDateRangePicker.vue.js";
28
+ import { default as re } from "./components/HysDiffViewer/HysDiffViewer.vue.js";
29
+ import { default as se } from "./components/HysDivider/HysDivider.vue.js";
30
+ import { default as me } from "./components/HysDrawer/HysDrawer.vue.js";
31
+ import { default as pe } from "./components/HysEmpty/HysEmpty.vue.js";
32
+ import { default as ue } from "./components/HysFileManager/HysFileManager.vue.js";
33
+ import { default as ye } from "./components/HysForm/HysForm.vue.js";
34
+ import { default as ie } from "./components/HysFormItem/HysFormItem.vue.js";
35
+ import { default as ce } from "./components/HysGantt/HysGantt.vue.js";
36
+ import { default as Ce } from "./components/HysInput/HysInput.vue.js";
37
+ import { default as ge } from "./components/HysJsonEditor/HysJsonEditor.vue.js";
38
+ import { default as Se } from "./components/HysKanban/HysKanban.vue.js";
39
+ import { default as he } from "./components/HysMention/HysMention.vue.js";
40
+ import { default as Ee } from "./components/HysModal/HysModal.vue.js";
41
+ import { default as ve } from "./components/HysNotificationCenter/HysNotificationCenter.vue.js";
42
+ import { default as Ge } from "./components/HysNumberInput/HysNumberInput.vue.js";
43
+ import { default as Ie } from "./components/HysOrgTree/HysOrgTree.vue.js";
44
+ import { default as Be } from "./components/HysPagination/HysPagination.vue.js";
45
+ import { default as Ne } from "./components/HysPermissionMatrix/HysPermissionMatrix.vue.js";
46
+ import { default as Le } from "./components/HysPopover/HysPopover.vue.js";
47
+ import { default as Ve } from "./components/HysProgress/HysProgress.vue.js";
48
+ import { default as Ke } from "./components/HysRadio/HysRadio.vue.js";
49
+ import { default as je } from "./components/HysRadioGroup/HysRadioGroup.vue.js";
50
+ import { default as Qe } from "./components/HysRating/HysRating.vue.js";
51
+ import { default as Xe } from "./components/HysResizablePanel/HysResizablePanel.vue.js";
52
+ import { default as Ze } from "./components/HysRichTextEditor/HysRichTextEditor.vue.js";
53
+ import { default as $e } from "./components/HysSearch/HysSearch.vue.js";
54
+ import { default as tt } from "./components/HysSegmented/HysSegmented.vue.js";
55
+ import { default as rt } from "./components/HysSelect/HysSelect.vue.js";
56
+ import { default as st } from "./components/HysShortcutHelp/HysShortcutHelp.vue.js";
57
+ import { default as mt } from "./components/HysSkeleton/HysSkeleton.vue.js";
58
+ import { default as pt } from "./components/HysSlider/HysSlider.vue.js";
59
+ import { default as ut } from "./components/HysSortableList/HysSortableList.vue.js";
60
+ import { default as yt } from "./components/HysSplitPane/HysSplitPane.vue.js";
61
+ /* empty css */
62
+ import { default as it } from "./components/HysSteps/HysSteps.vue.js";
63
+ import { default as ct } from "./components/HysSwitch/HysSwitch.vue.js";
64
+ import { default as Ct } from "./components/HysTable/HysTable.vue.js";
65
+ import { default as gt } from "./components/HysTabs/HysTabs.vue.js";
66
+ import { default as St } from "./components/HysTagInput/HysTagInput.vue.js";
67
+ import { default as ht } from "./components/HysTextarea/HysTextarea.vue.js";
68
+ import { default as Et } from "./components/HysTimeline/HysTimeline.vue.js";
69
+ import { default as vt } from "./components/HysToast/HysToast.vue.js";
70
+ import { default as Gt } from "./components/HysTooltip/HysTooltip.vue.js";
71
+ import { default as It } from "./components/HysTour/HysTour.vue.js";
72
+ /* empty css */
73
+ import { default as Bt } from "./components/HysTransfer/HysTransfer.vue.js";
74
+ import { default as Nt } from "./components/HysTree/HysTree.vue.js";
75
+ import { default as Lt } from "./components/HysTreeSelect/HysTreeSelect.vue.js";
76
+ import { default as Vt } from "./components/HysUpload/HysUpload.vue.js";
77
+ import { default as Kt } from "./components/HysVirtualTable/HysVirtualTable.vue.js";
78
+ import { provideHysConfig as jt } from "./config.js";
79
+ import { useHysFormItemContext as Qt } from "./composables/formContext.js";
80
+ import { createHysToast as Xt, useHysToast as Yt } from "./composables/useHysToast.js";
81
+ import { deserializeMentionDocument as _t, matchMention as $t, mentionTriggers as eo, normalizeMentionEntities as to, rebaseMentionEntities as oo, serializeMentionDocument as ro } from "./composables/mentionDocument.js";
82
+ import { useMentionOptions as so } from "./composables/useMentionOptions.js";
83
+ import { useMentionList as mo } from "./composables/useMentionList.js";
84
+ import { useMentionCaret as po } from "./composables/useMentionCaret.js";
85
+ import { useMentionModel as xo } from "./composables/useMentionModel.js";
86
+ import { createHysModal as Ho, useHysModal as io } from "./composables/useHysModal.js";
79
87
  export {
80
- o as HysAccordion,
81
- s as HysAlert,
82
- l as HysAnimatedNumber,
83
- m as HysAutocomplete,
84
- u as HysAvatar,
85
- y as HysAvatarGroup,
86
- i as HysBadge,
87
- c as HysBreadcrumb,
88
- C as HysButton,
89
- g as HysCalendar,
90
- P as HysCalendarNavigation,
91
- k as HysCard,
92
- v as HysCascader,
93
- D as HysChart,
94
- R as HysCheckbox,
95
- I as HysCheckboxGroup,
96
- N as HysColorPicker,
97
- B as HysColorTokenEditor,
98
- z as HysCommandPalette,
99
- K as HysCommentEditor,
100
- O as HysContextMenu,
101
- j as HysCronEditor,
102
- Q as HysDataGrid,
103
- X as HysDatePicker,
104
- Z as HysDateRangePicker,
105
- $ as HysDiffViewer,
106
- re as HysDivider,
107
- oe as HysDrawer,
108
- se as HysEmpty,
109
- le as HysFileManager,
110
- me as HysForm,
111
- ue as HysFormItem,
112
- ye as HysGantt,
113
- ie as HysInput,
114
- ce as HysJsonEditor,
115
- Ce as HysKanban,
116
- ge as HysMention,
117
- Pe as HysModal,
118
- ke as HysNotificationCenter,
119
- ve as HysNumberInput,
120
- De as HysOrgTree,
121
- Re as HysPagination,
122
- Ie as HysPermissionMatrix,
123
- Ne as HysPopover,
124
- Be as HysProgress,
125
- ze as HysRadio,
126
- Ke as HysRadioGroup,
127
- Oe as HysRating,
128
- je as HysResizablePanel,
129
- Qe as HysRichTextEditor,
130
- Xe as HysSearch,
131
- Ze as HysSegmented,
132
- $e as HysSelect,
133
- rr as HysShortcutHelp,
134
- or as HysSkeleton,
135
- sr as HysSlider,
136
- lr as HysSortableList,
137
- mr as HysSplitPane,
138
- ur as HysSteps,
139
- yr as HysSwitch,
140
- ir as HysTable,
141
- cr as HysTabs,
142
- Cr as HysTagInput,
143
- gr as HysTextarea,
144
- Pr as HysTimeline,
145
- kr as HysToast,
146
- vr as HysTooltip,
147
- Dr as HysTour,
148
- Rr as HysTransfer,
149
- Ir as HysTree,
150
- Nr as HysTreeSelect,
151
- Br as HysUpload,
152
- zr as HysVirtualTable,
153
- Wr as createHysModal,
154
- jr as createHysToast,
155
- Kr as provideHysConfig,
156
- Or as useHysFormItemContext,
157
- Xr as useHysModal,
158
- qr as useHysToast
88
+ s as HysAccordion,
89
+ m as HysAlert,
90
+ p as HysAnimatedNumber,
91
+ u as HysAutocomplete,
92
+ y as HysAvatar,
93
+ i as HysAvatarGroup,
94
+ c as HysBadge,
95
+ C as HysBreadcrumb,
96
+ g as HysButton,
97
+ S as HysButtonGroup,
98
+ h as HysCalendar,
99
+ E as HysCalendarNavigation,
100
+ v as HysCard,
101
+ G as HysCascader,
102
+ I as HysChart,
103
+ B as HysCheckbox,
104
+ N as HysCheckboxGroup,
105
+ L as HysColorPicker,
106
+ V as HysColorTokenEditor,
107
+ K as HysCommandPalette,
108
+ j as HysCommentEditor,
109
+ Q as HysContextMenu,
110
+ X as HysCronEditor,
111
+ Z as HysDataGrid,
112
+ $ as HysDatePicker,
113
+ te as HysDateRangePicker,
114
+ re as HysDiffViewer,
115
+ se as HysDivider,
116
+ me as HysDrawer,
117
+ pe as HysEmpty,
118
+ ue as HysFileManager,
119
+ ye as HysForm,
120
+ ie as HysFormItem,
121
+ ce as HysGantt,
122
+ Ce as HysInput,
123
+ ge as HysJsonEditor,
124
+ Se as HysKanban,
125
+ he as HysMention,
126
+ Ee as HysModal,
127
+ ve as HysNotificationCenter,
128
+ Ge as HysNumberInput,
129
+ Ie as HysOrgTree,
130
+ Be as HysPagination,
131
+ Ne as HysPermissionMatrix,
132
+ Le as HysPopover,
133
+ Ve as HysProgress,
134
+ Ke as HysRadio,
135
+ je as HysRadioGroup,
136
+ Qe as HysRating,
137
+ Xe as HysResizablePanel,
138
+ Ze as HysRichTextEditor,
139
+ $e as HysSearch,
140
+ tt as HysSegmented,
141
+ rt as HysSelect,
142
+ st as HysShortcutHelp,
143
+ mt as HysSkeleton,
144
+ pt as HysSlider,
145
+ ut as HysSortableList,
146
+ yt as HysSplitPane,
147
+ it as HysSteps,
148
+ ct as HysSwitch,
149
+ Ct as HysTable,
150
+ gt as HysTabs,
151
+ St as HysTagInput,
152
+ ht as HysTextarea,
153
+ Et as HysTimeline,
154
+ vt as HysToast,
155
+ Gt as HysTooltip,
156
+ It as HysTour,
157
+ Bt as HysTransfer,
158
+ Nt as HysTree,
159
+ Lt as HysTreeSelect,
160
+ Vt as HysUpload,
161
+ Kt as HysVirtualTable,
162
+ Ho as createHysModal,
163
+ Xt as createHysToast,
164
+ _t as deserializeMentionDocument,
165
+ $t as matchMention,
166
+ eo as mentionTriggers,
167
+ to as normalizeMentionEntities,
168
+ jt as provideHysConfig,
169
+ oo as rebaseMentionEntities,
170
+ ro as serializeMentionDocument,
171
+ Qt as useHysFormItemContext,
172
+ io as useHysModal,
173
+ Yt as useHysToast,
174
+ po as useMentionCaret,
175
+ mo as useMentionList,
176
+ xo as useMentionModel,
177
+ so as useMentionOptions
159
178
  };