@duxweb/dvha-naiveui 1.1.30 → 1.2.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 (43) hide show
  1. package/dist/cjs/components/autoComplete/autoComplete.cjs +1 -1
  2. package/dist/cjs/components/autoComplete/index.cjs +1 -0
  3. package/dist/cjs/components/cascader/cascader.cjs +1 -1
  4. package/dist/cjs/components/cascader/index.cjs +1 -0
  5. package/dist/cjs/components/index.cjs +1 -0
  6. package/dist/cjs/components/mention/index.cjs +1 -0
  7. package/dist/cjs/components/mention/mention.cjs +1 -1
  8. package/dist/cjs/components/select/index.cjs +1 -0
  9. package/dist/cjs/components/select/select.cjs +1 -1
  10. package/dist/cjs/components/transfer/index.cjs +1 -0
  11. package/dist/cjs/components/transfer/transfer.cjs +1 -1
  12. package/dist/cjs/components/tree/index.cjs +1 -0
  13. package/dist/cjs/components/tree/tree.cjs +1 -1
  14. package/dist/cjs/components/treeSelect/index.cjs +1 -0
  15. package/dist/cjs/components/treeSelect/treeSelect.cjs +1 -1
  16. package/dist/cjs/hooks/index.cjs +1 -0
  17. package/dist/cjs/hooks/menu.cjs +1 -1
  18. package/dist/cjs/hooks/tab.cjs +1 -1
  19. package/dist/cjs/hooks/table.cjs +1 -1
  20. package/dist/cjs/hooks/upload.cjs +1 -1
  21. package/dist/cjs/index.cjs +1 -1
  22. package/dist/esm/components/autoComplete/autoComplete.js +49 -62
  23. package/dist/esm/components/autoComplete/index.js +1 -0
  24. package/dist/esm/components/cascader/cascader.js +34 -50
  25. package/dist/esm/components/cascader/index.js +1 -0
  26. package/dist/esm/components/index.js +14 -0
  27. package/dist/esm/components/mention/index.js +1 -0
  28. package/dist/esm/components/mention/mention.js +55 -66
  29. package/dist/esm/components/select/index.js +1 -0
  30. package/dist/esm/components/select/select.js +162 -213
  31. package/dist/esm/components/transfer/index.js +1 -0
  32. package/dist/esm/components/transfer/transfer.js +63 -95
  33. package/dist/esm/components/tree/index.js +1 -0
  34. package/dist/esm/components/tree/tree.js +49 -71
  35. package/dist/esm/components/treeSelect/index.js +1 -0
  36. package/dist/esm/components/treeSelect/treeSelect.js +29 -36
  37. package/dist/esm/hooks/index.js +4 -0
  38. package/dist/esm/hooks/menu.js +21 -36
  39. package/dist/esm/hooks/tab.js +26 -28
  40. package/dist/esm/hooks/table.js +78 -87
  41. package/dist/esm/hooks/upload.js +38 -44
  42. package/dist/esm/index.js +12 -22
  43. package/package.json +2 -2
@@ -1,72 +1,50 @@
1
- import { defineComponent as f, toRef as l, ref as x, watch as v, computed as g, createVNode as o, mergeProps as y } from "vue";
2
- import { useTree as k } from "@duxweb/dvha-core";
3
- import { useVModel as V } from "@vueuse/core";
4
- import { NTree as u, NSpin as b, NScrollbar as K } from "naive-ui";
5
- const U = /* @__PURE__ */ f({
6
- name: "DuxTree",
7
- props: {
8
- path: String,
9
- params: Object,
10
- height: String,
11
- value: Array,
12
- defaultValue: Array,
13
- hookProps: Object
14
- },
15
- extends: u,
16
- setup(e, {
17
- emit: d
18
- }) {
19
- const n = l(e, "params", {}), s = l(e, "path", ""), r = V(e, "value", d, {
20
- passive: !0,
21
- deep: !0,
22
- defaultValue: e.defaultValue || []
23
- }), t = x([]), {
24
- options: c,
25
- loading: p,
26
- expanded: h
27
- } = k({
28
- path: s,
29
- params: n,
30
- ...e.hookProps
31
- });
32
- v(h, (a) => {
33
- t.value = a;
34
- });
35
- const m = g(() => {
36
- const {
37
- hookProps: a,
38
- height: P,
39
- ...i
40
- } = e;
41
- return i;
42
- });
43
- return () => o(b, {
44
- show: p.value
45
- }, {
46
- default: () => [o(K, {
47
- style: {
48
- height: e.height || "300px"
49
- }
50
- }, {
51
- default: () => [o(u, y(m.value, {
52
- cascade: !0,
53
- checkable: !0,
54
- defaultExpandAll: !0,
55
- selectable: !1,
56
- expandedKeys: t.value,
57
- onUpdateExpandedKeys: (a) => {
58
- t.value = a;
59
- },
60
- data: c.value || [],
61
- checkedKeys: r.value || [],
62
- onUpdateCheckedKeys: (a) => {
63
- r.value = a, e.onUpdateValue?.(a);
64
- }
65
- }), null)]
66
- })]
67
- });
68
- }
1
+ import { computed as e, createVNode as t, defineComponent as n, mergeProps as r, ref as i, toRef as a, watch as o } from "vue";
2
+ import { useTree as s } from "@duxweb/dvha-core";
3
+ import { useVModel as c } from "@vueuse/core";
4
+ import { NScrollbar as l, NSpin as u, NTree as d } from "naive-ui";
5
+ const f = /* @__PURE__ */ n({
6
+ name: "DuxTree",
7
+ props: {
8
+ path: String,
9
+ params: Object,
10
+ height: String,
11
+ value: Array,
12
+ defaultValue: Array,
13
+ hookProps: Object
14
+ },
15
+ extends: d,
16
+ setup(n, { emit: f }) {
17
+ let p = a(n, "params", {}), m = a(n, "path", ""), h = c(n, "value", f, {
18
+ passive: !0,
19
+ deep: !0,
20
+ defaultValue: n.defaultValue || []
21
+ }), g = i([]), { options: _, loading: v, expanded: y } = s({
22
+ path: m,
23
+ params: p,
24
+ ...n.hookProps
25
+ });
26
+ o(y, (e) => {
27
+ g.value = e;
28
+ });
29
+ let b = e(() => {
30
+ let { hookProps: e, height: t, ...r } = n;
31
+ return r;
32
+ });
33
+ return () => t(u, { show: v.value }, { default: () => [t(l, { style: { height: n.height || "300px" } }, { default: () => [t(d, r(b.value, {
34
+ cascade: !0,
35
+ checkable: !0,
36
+ defaultExpandAll: !0,
37
+ selectable: !1,
38
+ expandedKeys: g.value,
39
+ onUpdateExpandedKeys: (e) => {
40
+ g.value = e;
41
+ },
42
+ data: _.value || [],
43
+ checkedKeys: h.value || [],
44
+ onUpdateCheckedKeys: (e) => {
45
+ h.value = e, n.onUpdateValue?.(e);
46
+ }
47
+ }), null)] })] });
48
+ }
69
49
  });
70
- export {
71
- U as DuxTree
72
- };
50
+ export { f as DuxTree };
@@ -0,0 +1 @@
1
+ import "./treeSelect.js";
@@ -1,38 +1,31 @@
1
- import { defineComponent as p, toRef as o, createVNode as c, mergeProps as d } from "vue";
1
+ import { createVNode as e, defineComponent as t, mergeProps as n, toRef as r } from "vue";
2
2
  import { useTree as i } from "@duxweb/dvha-core";
3
- import { useVModel as f } from "@vueuse/core";
4
- import { NTreeSelect as a } from "naive-ui";
5
- const S = /* @__PURE__ */ p({
6
- name: "DuxTreeSelect",
7
- props: {
8
- path: String,
9
- params: Object,
10
- hookProps: Object
11
- },
12
- extends: a,
13
- setup(e, {
14
- emit: r
15
- }) {
16
- const l = o(e, "params", {}), u = o(e, "path", ""), t = f(e, "value", r, {
17
- passive: !0,
18
- deep: !0,
19
- defaultValue: e.defaultValue || []
20
- }), {
21
- options: n,
22
- loading: m
23
- } = i({
24
- path: u,
25
- params: l,
26
- ...e.hookProps
27
- });
28
- return () => c(a, d(e, {
29
- loading: m.value,
30
- options: n.value,
31
- value: t.value,
32
- "onUpdate:value": (s) => t.value = s
33
- }), null);
34
- }
3
+ import { useVModel as a } from "@vueuse/core";
4
+ import { NTreeSelect as o } from "naive-ui";
5
+ const s = /* @__PURE__ */ t({
6
+ name: "DuxTreeSelect",
7
+ props: {
8
+ path: String,
9
+ params: Object,
10
+ hookProps: Object
11
+ },
12
+ extends: o,
13
+ setup(t, { emit: s }) {
14
+ let c = r(t, "params", {}), l = r(t, "path", ""), u = a(t, "value", s, {
15
+ passive: !0,
16
+ deep: !0,
17
+ defaultValue: t.defaultValue || []
18
+ }), { options: d, loading: f } = i({
19
+ path: l,
20
+ params: c,
21
+ ...t.hookProps
22
+ });
23
+ return () => e(o, n(t, {
24
+ loading: f.value,
25
+ options: d.value,
26
+ value: u.value,
27
+ "onUpdate:value": (e) => u.value = e
28
+ }), null);
29
+ }
35
30
  });
36
- export {
37
- S as DuxTreeSelect
38
- };
31
+ export { s as DuxTreeSelect };
@@ -0,0 +1,4 @@
1
+ import "./menu.js";
2
+ import "./tab.js";
3
+ import "./table.js";
4
+ import "./upload.js";
@@ -1,37 +1,22 @@
1
- import { useMenu as a, arrayToTree as u } from "@duxweb/dvha-core";
2
- import { computed as l, h as o } from "vue";
3
- import { RouterLink as p } from "vue-router";
4
- function y(n) {
5
- const r = a(n);
6
- return {
7
- options: l(() => {
8
- const t = r.getMenu(!0).map((e) => ({
9
- ...e,
10
- key: e.name,
11
- icon: e?.icon ? () => o("div", {
12
- class: `${e.icon} size-5`
13
- }) : void 0,
14
- labelName: e.label,
15
- label: () => e.path ? o(
16
- p,
17
- {
18
- to: {
19
- path: e.path
20
- }
21
- },
22
- { default: () => e.label }
23
- ) : e.label
24
- }));
25
- return u(t, {
26
- idKey: "key",
27
- parentKey: "parent",
28
- childrenKey: "children",
29
- sortKey: "sort"
30
- }, void 0);
31
- }),
32
- ...r
33
- };
1
+ import { computed as e, h as t } from "vue";
2
+ import { arrayToTree as n, useMenu as r } from "@duxweb/dvha-core";
3
+ import { RouterLink as i } from "vue-router";
4
+ function a(a) {
5
+ let o = r(a);
6
+ return {
7
+ options: e(() => n(o.getMenu(!0).map((e) => ({
8
+ ...e,
9
+ key: e.name,
10
+ icon: e?.icon ? () => t("div", { class: `${e.icon} size-5` }) : void 0,
11
+ labelName: e.label,
12
+ label: () => e.path ? t(i, { to: { path: e.path } }, { default: () => e.label }) : e.label
13
+ })), {
14
+ idKey: "key",
15
+ parentKey: "parent",
16
+ childrenKey: "children",
17
+ sortKey: "sort"
18
+ }, void 0)),
19
+ ...o
20
+ };
34
21
  }
35
- export {
36
- y as useNaiveMenu
37
- };
22
+ export { a as useNaiveMenu };
@@ -1,29 +1,27 @@
1
- import { useTabStore as p } from "@duxweb/dvha-core";
2
- import { storeToRefs as n } from "pinia";
3
- import { computed as m } from "vue";
4
- import { useRouter as c } from "vue-router";
5
- function h() {
6
- const o = p(), { tabs: u, current: t } = n(o), a = c(), s = m(() => ({
7
- value: t.value,
8
- defaultValue: t.value || "",
9
- onClose: (e) => {
10
- o.delTab(e, (r) => {
11
- a.push(r.path || "");
12
- });
13
- },
14
- onUpdateValue: (e) => {
15
- o.changeTab(e, (r) => {
16
- a.push(r.path || "");
17
- });
18
- }
19
- }));
20
- return {
21
- ...o,
22
- tabs: u,
23
- current: t,
24
- tabsProps: s
25
- };
1
+ import { computed as e } from "vue";
2
+ import { useTabStore as t } from "@duxweb/dvha-core";
3
+ import { useRouter as n } from "vue-router";
4
+ import { storeToRefs as r } from "pinia";
5
+ function i() {
6
+ let i = t(), { tabs: a, current: o } = r(i), s = n(), c = e(() => ({
7
+ value: o.value,
8
+ defaultValue: o.value || "",
9
+ onClose: (e) => {
10
+ i.delTab(e, (e) => {
11
+ s.push(e.path || "");
12
+ });
13
+ },
14
+ onUpdateValue: (e) => {
15
+ i.changeTab(e, (e) => {
16
+ s.push(e.path || "");
17
+ });
18
+ }
19
+ }));
20
+ return {
21
+ ...i,
22
+ tabs: a,
23
+ current: o,
24
+ tabsProps: c
25
+ };
26
26
  }
27
- export {
28
- h as useNaiveTab
29
- };
27
+ export { i as useNaiveTab };
@@ -1,88 +1,79 @@
1
- import { useExtendList as C, treeToArr as F } from "@duxweb/dvha-core";
2
- import { watchDebounced as E } from "@vueuse/core";
3
- import { cloneDeep as K } from "lodash-es";
4
- import { computed as l, unref as g, toRef as P, ref as u, watch as h } from "vue";
5
- function D(n) {
6
- const i = l(() => g(n.filters) || {}), m = l(() => g(n.sorters) || {}), p = P(n, "columns", []), c = u({}), d = u([]), f = u({
7
- ...i.value,
8
- ...c.value
9
- }), v = u({
10
- ...m.value
11
- }), a = C({
12
- ...n,
13
- filters: f,
14
- sorters: v
15
- });
16
- E([i, c], ([e, o]) => {
17
- const t = {
18
- ...e || {},
19
- ...o || {}
20
- };
21
- f.value = t, a.onUpdateFilters(t);
22
- }, {
23
- debounce: 300,
24
- deep: !0
25
- });
26
- const s = u([]);
27
- h(p, (e) => {
28
- s.value = e;
29
- }, {
30
- immediate: !0
31
- });
32
- const w = l(() => s.value.filter((e) => e.show !== !1 && "key" in e).map((e) => e.key)), y = (e) => {
33
- const o = K(p.value)?.map((t) => (!("key" in t) || !t?.key || !("title" in t) || !t?.title || e.includes(t.key) || (t.show = !1), t));
34
- s.value = [...o];
35
- }, S = (e) => {
36
- a.checkeds.value = e;
37
- }, U = (e) => {
38
- const o = Array.isArray(e) ? e : [e], t = {};
39
- o?.forEach((r) => {
40
- r?.columnKey && r.order && (t[r.columnKey] = r.order === "ascend" ? "asc" : "desc");
41
- }), v.value = t, a.onUpdateSorters(t);
42
- }, k = (e) => {
43
- const o = {
44
- ...c.value
45
- };
46
- Object.entries(e).forEach(([t, r]) => {
47
- o[t] = r;
48
- }), c.value = o;
49
- }, b = (e) => {
50
- d.value = e;
51
- };
52
- h([() => n?.expanded, a.list], ([e, o]) => {
53
- e && (d.value = F(o, n.key || "id", "children"));
54
- });
55
- const x = l(() => ({
56
- page: a.page.value,
57
- pageSize: a.pageSize.value,
58
- pageCount: a.pageCount.value,
59
- pageSizes: a.pageSizes,
60
- pageSlot: 5,
61
- onUpdatePage: a.onUpdatePage,
62
- onUpdatePageSize: a.onUpdatePageSize,
63
- showSizePicker: !0,
64
- showQuickJumper: !0
65
- })), z = l(() => ({
66
- remote: !0,
67
- checkedRowKeys: a.checkeds.value,
68
- expandedRowKeys: d.value,
69
- onUpdateCheckedRowKeys: S,
70
- onUpdateExpandedRowKeys: b,
71
- onUpdateSorter: U,
72
- onUpdateFilters: k,
73
- loading: a.isLoading.value,
74
- data: a.list.value,
75
- columns: s.value.filter((e) => e.show !== !1)
76
- }));
77
- return {
78
- ...a,
79
- tablePagination: x,
80
- table: z,
81
- columns: s,
82
- columnSelected: w,
83
- onUpdateColumnSelected: y
84
- };
1
+ import { computed as e, ref as t, toRef as n, unref as r, watch as i } from "vue";
2
+ import { treeToArr as a, useExtendList as o } from "@duxweb/dvha-core";
3
+ import { watchDebounced as s } from "@vueuse/core";
4
+ import { cloneDeep as c } from "lodash-es";
5
+ function l(l) {
6
+ let u = e(() => r(l.filters) || {}), d = e(() => r(l.sorters) || {}), f = n(l, "columns", []), p = t({}), m = t([]), h = t({
7
+ ...u.value,
8
+ ...p.value
9
+ }), g = t({ ...d.value }), _ = o({
10
+ ...l,
11
+ filters: h,
12
+ sorters: g
13
+ });
14
+ s([u, p], ([e, t]) => {
15
+ let n = {
16
+ ...e || {},
17
+ ...t || {}
18
+ };
19
+ h.value = n, _.onUpdateFilters(n);
20
+ }, {
21
+ debounce: 300,
22
+ deep: !0
23
+ });
24
+ let v = t([]);
25
+ i(f, (e) => {
26
+ v.value = e;
27
+ }, { immediate: !0 });
28
+ let y = e(() => v.value.filter((e) => e.show !== !1 && "key" in e).map((e) => e.key)), b = (e) => {
29
+ v.value = [...c(f.value)?.map((t) => (!("key" in t) || !t?.key || !("title" in t) || !t?.title || e.includes(t.key) || (t.show = !1), t))];
30
+ }, x = (e) => {
31
+ _.checkeds.value = e;
32
+ }, S = (e) => {
33
+ let t = Array.isArray(e) ? e : [e], n = {};
34
+ t?.forEach((e) => {
35
+ e?.columnKey && e.order && (n[e.columnKey] = e.order === "ascend" ? "asc" : "desc");
36
+ }), g.value = n, _.onUpdateSorters(n);
37
+ }, C = (e) => {
38
+ let t = { ...p.value };
39
+ Object.entries(e).forEach(([e, n]) => {
40
+ t[e] = n;
41
+ }), p.value = t;
42
+ }, w = (e) => {
43
+ m.value = e;
44
+ };
45
+ i([() => l?.expanded, _.list], ([e, t]) => {
46
+ e && (m.value = a(t, l.key || "id", "children"));
47
+ });
48
+ let T = e(() => ({
49
+ page: _.page.value,
50
+ pageSize: _.pageSize.value,
51
+ pageCount: _.pageCount.value,
52
+ pageSizes: _.pageSizes,
53
+ pageSlot: 5,
54
+ onUpdatePage: _.onUpdatePage,
55
+ onUpdatePageSize: _.onUpdatePageSize,
56
+ showSizePicker: !0,
57
+ showQuickJumper: !0
58
+ })), E = e(() => ({
59
+ remote: !0,
60
+ checkedRowKeys: _.checkeds.value,
61
+ expandedRowKeys: m.value,
62
+ onUpdateCheckedRowKeys: x,
63
+ onUpdateExpandedRowKeys: w,
64
+ onUpdateSorter: S,
65
+ onUpdateFilters: C,
66
+ loading: _.isLoading.value,
67
+ data: _.list.value,
68
+ columns: v.value.filter((e) => e.show !== !1)
69
+ }));
70
+ return {
71
+ ..._,
72
+ tablePagination: T,
73
+ table: E,
74
+ columns: v,
75
+ columnSelected: y,
76
+ onUpdateColumnSelected: b
77
+ };
85
78
  }
86
- export {
87
- D as useNaiveTable
88
- };
79
+ export { l as useNaiveTable };
@@ -1,45 +1,39 @@
1
- import { useUpload as l } from "@duxweb/dvha-core";
2
- import { watch as p } from "vue";
3
- function F(u) {
4
- const r = l(u), t = /* @__PURE__ */ new Map();
5
- return p(
6
- () => r.uploadFiles.value,
7
- (n) => {
8
- n.forEach((e) => {
9
- const s = t.get(e.id);
10
- s && (e.status === "uploading" && e.progress && s.onProgress ? s.onProgress({
11
- percent: e.progress.percent || 0
12
- }) : e.status === "success" ? (s.onFinish?.(), t.delete(e.id)) : e.status === "error" && (s.onError?.(), t.delete(e.id)));
13
- });
14
- },
15
- { deep: !0 }
16
- ), {
17
- ...r,
18
- request: (n) => {
19
- const { file: e, onFinish: s, onError: o, onProgress: c } = n, i = e.file;
20
- if (!i) {
21
- o?.();
22
- return;
23
- }
24
- r.addFiles([i], "file").then(() => {
25
- const a = r.uploadFiles.value.find((d) => d.file === i);
26
- if (!a) {
27
- o?.();
28
- return;
29
- }
30
- t.set(a.id, {
31
- onFinish: s,
32
- onError: o,
33
- onProgress: c
34
- }), r.trigger().catch(() => {
35
- t.delete(a.id), o?.();
36
- });
37
- }).catch(() => {
38
- o?.();
39
- });
40
- }
41
- };
1
+ import { watch as e } from "vue";
2
+ import { useUpload as t } from "@duxweb/dvha-core";
3
+ function n(n) {
4
+ let r = t(n), i = /* @__PURE__ */ new Map();
5
+ e(() => r.uploadFiles.value, (e) => {
6
+ e.forEach((e) => {
7
+ let t = i.get(e.id);
8
+ t && (e.status === "uploading" && e.progress && t.onProgress ? t.onProgress({ percent: e.progress.percent || 0 }) : e.status === "success" ? (t.onFinish?.(), i.delete(e.id)) : e.status === "error" && (t.onError?.(), i.delete(e.id)));
9
+ });
10
+ }, { deep: !0 });
11
+ let a = (e) => {
12
+ let { file: t, onFinish: n, onError: a, onProgress: o } = e, s = t.file;
13
+ if (!s) {
14
+ a?.();
15
+ return;
16
+ }
17
+ r.addFiles([s], "file").then(() => {
18
+ let e = r.uploadFiles.value.find((e) => e.file === s);
19
+ if (!e) {
20
+ a?.();
21
+ return;
22
+ }
23
+ i.set(e.id, {
24
+ onFinish: n,
25
+ onError: a,
26
+ onProgress: o
27
+ }), r.trigger().catch(() => {
28
+ i.delete(e.id), a?.();
29
+ });
30
+ }).catch(() => {
31
+ a?.();
32
+ });
33
+ };
34
+ return {
35
+ ...r,
36
+ request: a
37
+ };
42
38
  }
43
- export {
44
- F as useNaiveUpload
45
- };
39
+ export { n as useNaiveUpload };
package/dist/esm/index.js CHANGED
@@ -1,24 +1,14 @@
1
- import { DuxAutoComplete as o } from "./components/autoComplete/autoComplete.js";
1
+ import { DuxAutoComplete as e } from "./components/autoComplete/autoComplete.js";
2
2
  import { DuxCascader as t } from "./components/cascader/cascader.js";
3
- import { DuxMention as u } from "./components/mention/mention.js";
4
- import { DuxSelect as m } from "./components/select/select.js";
5
- import { DuxTransfer as D } from "./components/transfer/transfer.js";
6
- import { DuxTree as i } from "./components/tree/tree.js";
7
- import { DuxTreeSelect as T } from "./components/treeSelect/treeSelect.js";
8
- import { useNaiveMenu as v } from "./hooks/menu.js";
3
+ import { DuxMention as n } from "./components/mention/mention.js";
4
+ import { DuxSelect as r } from "./components/select/select.js";
5
+ import { DuxTransfer as i } from "./components/transfer/transfer.js";
6
+ import { DuxTree as a } from "./components/tree/tree.js";
7
+ import { DuxTreeSelect as o } from "./components/treeSelect/treeSelect.js";
8
+ import "./components/index.js";
9
+ import { useNaiveMenu as s } from "./hooks/menu.js";
9
10
  import { useNaiveTab as c } from "./hooks/tab.js";
10
- import { useNaiveTable as d } from "./hooks/table.js";
11
- import { useNaiveUpload as M } from "./hooks/upload.js";
12
- export {
13
- o as DuxAutoComplete,
14
- t as DuxCascader,
15
- u as DuxMention,
16
- m as DuxSelect,
17
- D as DuxTransfer,
18
- i as DuxTree,
19
- T as DuxTreeSelect,
20
- v as useNaiveMenu,
21
- c as useNaiveTab,
22
- d as useNaiveTable,
23
- M as useNaiveUpload
24
- };
11
+ import { useNaiveTable as l } from "./hooks/table.js";
12
+ import { useNaiveUpload as u } from "./hooks/upload.js";
13
+ import "./hooks/index.js";
14
+ export { e as DuxAutoComplete, t as DuxCascader, n as DuxMention, r as DuxSelect, i as DuxTransfer, a as DuxTree, o as DuxTreeSelect, s as useNaiveMenu, c as useNaiveTab, l as useNaiveTable, u as useNaiveUpload };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-naiveui",
3
3
  "type": "module",
4
- "version": "1.1.30",
4
+ "version": "1.2.0",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "exports": {
@@ -33,7 +33,7 @@
33
33
  "pinia": "^3.0.4",
34
34
  "vue": "^3.5.24",
35
35
  "vue-router": "^4.6.3",
36
- "@duxweb/dvha-core": "1.1.30"
36
+ "@duxweb/dvha-core": "1.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "clean": "rimraf dist",