@duxweb/dvha-pro 1.0.17 → 1.0.18

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 (83) hide show
  1. package/dist/cjs/component.cjs +1 -1
  2. package/dist/cjs/components/chart/echart.cjs +1 -1
  3. package/dist/cjs/components/crop/imageCrop.cjs +1 -1
  4. package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
  5. package/dist/cjs/components/data/selectModal.cjs +1 -1
  6. package/dist/cjs/components/form/formItem.cjs +1 -1
  7. package/dist/cjs/components/form/modalForm.cjs +1 -1
  8. package/dist/cjs/components/form/pageForm.cjs +1 -1
  9. package/dist/cjs/components/form/settingForm.cjs +1 -1
  10. package/dist/cjs/components/icon/icon.cjs +1 -0
  11. package/dist/cjs/components/icon/iconPicker.cjs +1 -0
  12. package/dist/cjs/components/layout/list.cjs +1 -1
  13. package/dist/cjs/components/layout/table.cjs +1 -1
  14. package/dist/cjs/components/level/level.cjs +1 -1
  15. package/dist/cjs/components/tree/treeFilter.cjs +1 -0
  16. package/dist/cjs/components/upload/file.cjs +1 -1
  17. package/dist/cjs/components/upload/image.cjs +1 -1
  18. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  19. package/dist/cjs/components/upload/manager.cjs +1 -1
  20. package/dist/cjs/hooks/dialog.cjs +1 -1
  21. package/dist/cjs/hooks/drawer.cjs +1 -1
  22. package/dist/cjs/hooks/modal.cjs +1 -1
  23. package/dist/cjs/hooks/table/image.cjs +1 -1
  24. package/dist/cjs/hooks/table/media.cjs +1 -1
  25. package/dist/cjs/index.cjs +1 -1
  26. package/dist/cjs/langs/en-US.json.cjs +1 -1
  27. package/dist/cjs/langs/zh-CN.json.cjs +1 -1
  28. package/dist/cjs/pages/authLayout.cjs +1 -1
  29. package/dist/cjs/pages/layout/page.cjs +1 -1
  30. package/dist/cjs/pages/login.cjs +1 -1
  31. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  32. package/dist/cjs/pages/menu/button.cjs +1 -1
  33. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  34. package/dist/cjs/pages/menu/main.cjs +1 -1
  35. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  36. package/dist/cjs/pages/page404.cjs +1 -1
  37. package/dist/cjs/pages/pageStatus.cjs +1 -1
  38. package/dist/cjs/theme/uno.css.cjs +6 -2
  39. package/dist/esm/component.js +44 -41
  40. package/dist/esm/components/chart/echart.js +3 -2
  41. package/dist/esm/components/crop/imageCrop.js +3 -2
  42. package/dist/esm/components/data/dynamicSelect.js +8 -7
  43. package/dist/esm/components/data/selectModal.js +3 -2
  44. package/dist/esm/components/form/formItem.js +10 -10
  45. package/dist/esm/components/form/modalForm.js +5 -4
  46. package/dist/esm/components/form/pageForm.js +3 -2
  47. package/dist/esm/components/form/settingForm.js +18 -17
  48. package/dist/esm/components/icon/icon.js +78 -0
  49. package/dist/esm/components/icon/iconPicker.js +83 -0
  50. package/dist/esm/components/layout/list.js +3 -2
  51. package/dist/esm/components/layout/table.js +3 -2
  52. package/dist/esm/components/level/level.js +3 -2
  53. package/dist/esm/components/tree/treeFilter.js +207 -0
  54. package/dist/esm/components/upload/file.js +3 -2
  55. package/dist/esm/components/upload/image.js +3 -2
  56. package/dist/esm/components/upload/manage/item.js +3 -2
  57. package/dist/esm/components/upload/manager.js +3 -2
  58. package/dist/esm/hooks/dialog.js +3 -2
  59. package/dist/esm/hooks/drawer.js +3 -2
  60. package/dist/esm/hooks/modal.js +3 -2
  61. package/dist/esm/hooks/table/image.js +3 -2
  62. package/dist/esm/hooks/table/media.js +4 -3
  63. package/dist/esm/index.js +201 -195
  64. package/dist/esm/langs/en-US.json.js +1 -1
  65. package/dist/esm/langs/zh-CN.json.js +1 -1
  66. package/dist/esm/pages/authLayout.js +10 -9
  67. package/dist/esm/pages/layout/page.js +16 -15
  68. package/dist/esm/pages/login.js +6 -5
  69. package/dist/esm/pages/menu/avatar.js +3 -2
  70. package/dist/esm/pages/menu/button.js +6 -5
  71. package/dist/esm/pages/menu/cmd.js +3 -2
  72. package/dist/esm/pages/menu/main.js +3 -2
  73. package/dist/esm/pages/menu/mobile.js +3 -2
  74. package/dist/esm/pages/page404.js +1 -0
  75. package/dist/esm/pages/pageStatus.js +5 -4
  76. package/dist/esm/theme/uno.css.js +6 -2
  77. package/dist/types/components/icon/icon.d.ts +7 -0
  78. package/dist/types/components/icon/iconPicker.d.ts +9 -0
  79. package/dist/types/components/icon/index.d.ts +2 -0
  80. package/dist/types/components/index.d.ts +2 -0
  81. package/dist/types/components/tree/index.d.ts +1 -0
  82. package/dist/types/components/tree/treeFilter.d.ts +23 -0
  83. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, createVNode as o } from "vue";
2
- import { OverlaysProvider as l } from "@overlastic/vue";
2
+ import { OverlaysProvider as m } from "@overlastic/vue";
3
3
  import "@duxweb/dvha-core";
4
4
  import "naive-ui";
5
5
  import "vue-router";
@@ -12,34 +12,35 @@ import "lodash-es";
12
12
  import "vue-draggable-plus";
13
13
  import "aieditor";
14
14
  import "vee-validate";
15
- import { DuxGlobalLayout as m } from "./layout/global.js";
15
+ import { DuxGlobalLayout as l } from "./layout/global.js";
16
16
  import { DuxLayoutPage as i } from "./layout/page.js";
17
17
  import { DuxMenuCmd as e } from "./menu/cmd.js";
18
- import { DuxMenuMain as u } from "./menu/main.js";
19
- import { DuxMobileMenu as p } from "./menu/mobile.js";
18
+ import { DuxMenuMain as p } from "./menu/main.js";
19
+ import { DuxMobileMenu as u } from "./menu/mobile.js";
20
20
  import "./page404.js";
21
+ import "@iconify-json/tabler/icons.json";
21
22
  import "mime";
22
23
  import "dayjs";
23
24
  import "@tanstack/vue-query";
24
25
  import "@duxweb/dvha-naiveui";
25
26
  import { useUI as n } from "../hooks/ui.js";
26
- const j = /* @__PURE__ */ t({
27
+ const q = /* @__PURE__ */ t({
27
28
  name: "DuxAuthLayout",
28
29
  setup() {
29
30
  const {
30
31
  menuCollapsed: r
31
32
  } = n();
32
- return () => o(m, null, {
33
- default: () => [o(l, null, {
33
+ return () => o(l, null, {
34
+ default: () => [o(m, null, {
34
35
  default: () => [o("div", {
35
36
  class: "h-screen w-screen flex relative"
36
37
  }, [o("div", {
37
38
  class: ["flex-none transition-all", "hidden lg:block app-menu", r.value ? "w-120px" : "w-200px"]
38
- }, [o(u, null, null)]), o(i, null, null)]), o(e, null, null), o(p, null, null)]
39
+ }, [o(p, null, null)]), o(i, null, null)]), o(e, null, null), o(u, null, null)]
39
40
  })]
40
41
  });
41
42
  }
42
43
  });
43
44
  export {
44
- j as DuxAuthLayout
45
+ q as DuxAuthLayout
45
46
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, createVNode as e } from "vue";
1
+ import { defineComponent as l, createVNode as t } from "vue";
2
2
  import { useManage as r, DuxTabRouterView as m } from "@duxweb/dvha-core";
3
3
  import { NButton as p } from "naive-ui";
4
4
  import "vue-router";
@@ -26,44 +26,45 @@ import "vue-command-palette";
26
26
  import "@duxweb/dvha-naiveui";
27
27
  import { DuxPageTab as n } from "./tab.js";
28
28
  import "../page404.js";
29
+ import "@iconify-json/tabler/icons.json";
29
30
  import "mime";
30
31
  import "dayjs";
31
32
  import "@tanstack/vue-query";
32
33
  import { useUI as u } from "../../hooks/ui.js";
33
- const J = /* @__PURE__ */ l({
34
+ const K = /* @__PURE__ */ l({
34
35
  name: "DuxLayoutPage",
35
36
  props: {},
36
37
  setup() {
37
38
  const {
38
- menuMobileCollapsed: t,
39
+ menuMobileCollapsed: e,
39
40
  setMenuMobileCollapsed: o
40
41
  } = u(), {
41
42
  config: i
42
43
  } = r();
43
- return () => e("div", {
44
+ return () => t("div", {
44
45
  class: "flex-1 min-w-0 flex flex-col"
45
- }, [e("div", {
46
+ }, [t("div", {
46
47
  class: "flex flex-col lg:flex-row lg:justify-between lg:items-center lg:h-13"
47
- }, [e("div", {
48
+ }, [t("div", {
48
49
  class: "flex lg:hidden justify-between items-center px-2 py-2 bg-default dark:bg-muted shadow-xs relative"
49
- }, [e(p, {
50
+ }, [t(p, {
50
51
  text: !0,
51
- onClick: () => o(!t.value)
52
+ onClick: () => o(!e.value)
52
53
  }, {
53
- default: () => [e("div", {
54
+ default: () => [t("div", {
54
55
  class: "i-tabler:menu-2 size-6"
55
56
  }, null)]
56
- }), e("div", {
57
+ }), t("div", {
57
58
  class: "w-full absolute inset-0 flex items-center justify-center text-base pointer-events-none"
58
- }, [i.title]), e("div", null, [e(s, {
59
+ }, [i.title]), t("div", null, [t(s, {
59
60
  collapsed: !0
60
- }, null)])]), e("div", {
61
+ }, null)])]), t("div", {
61
62
  class: "flex-1 py-2"
62
- }, [e(n, null, null)])]), e("div", {
63
+ }, [t(n, null, null)])]), t("div", {
63
64
  class: "flex-1 min-h-0 mr-2 ml-2 mb-2 lg:ml-0"
64
- }, [e(m, null, null)])]);
65
+ }, [t(m, null, null)])]);
65
66
  }
66
67
  });
67
68
  export {
68
- J as DuxLayoutPage
69
+ K as DuxLayoutPage
69
70
  };
@@ -29,10 +29,11 @@ import "@vee-validate/i18n/dist/locale/en.json";
29
29
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "./page404.js";
32
+ import "@iconify-json/tabler/icons.json";
32
33
  function O(a) {
33
34
  return typeof a == "function" || Object.prototype.toString.call(a) === "[object Object]" && !L(a);
34
35
  }
35
- const ge = /* @__PURE__ */ k({
36
+ const fe = /* @__PURE__ */ k({
36
37
  name: "DuxLoginPage",
37
38
  setup(a, {
38
39
  slots: i
@@ -56,7 +57,7 @@ const ge = /* @__PURE__ */ k({
56
57
  x(t);
57
58
  };
58
59
  return () => {
59
- var u, c, p, d, g;
60
+ var u, p, c, d, g;
60
61
  let o;
61
62
  return e("div", {
62
63
  "un-cloak": !0,
@@ -76,14 +77,14 @@ const ge = /* @__PURE__ */ k({
76
77
  class: "justify-center hidden md:flex flex-row items-center"
77
78
  }, [(u = l.config.theme) != null && u.banner ? e("img", {
78
79
  class: "w-full h-auto",
79
- src: (c = l.config.theme) == null ? void 0 : c.banner
80
+ src: (p = l.config.theme) == null ? void 0 : p.banner
80
81
  }, null) : e("div", {
81
82
  class: "w-full h-auto"
82
83
  }, [e(M, null, null)])]), e("div", {
83
84
  class: "flex flex-col"
84
85
  }, [e("div", {
85
86
  class: "flex flex-col items-center justify-center mt-4"
86
- }, [e("div", null, [(p = l.config.theme) != null && p.logo ? e("img", {
87
+ }, [e("div", null, [(c = l.config.theme) != null && c.logo ? e("img", {
87
88
  class: "w-auto h-16",
88
89
  src: (d = l.config.theme) == null ? void 0 : d.logo
89
90
  }, null) : e("div", {
@@ -154,5 +155,5 @@ const ge = /* @__PURE__ */ k({
154
155
  }
155
156
  });
156
157
  export {
157
- ge as DuxLoginPage
158
+ fe as DuxLoginPage
158
159
  };
@@ -30,7 +30,8 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import U from "./button.js";
31
31
  import "vue-command-palette";
32
32
  import "../page404.js";
33
- const ve = /* @__PURE__ */ $({
33
+ import "@iconify-json/tabler/icons.json";
34
+ const fe = /* @__PURE__ */ $({
34
35
  name: "DuxMenuAvatar",
35
36
  props: {
36
37
  collapsed: {
@@ -230,5 +231,5 @@ const ve = /* @__PURE__ */ $({
230
231
  }
231
232
  });
232
233
  export {
233
- ve as default
234
+ fe as default
234
235
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, createVNode as n } from "vue";
1
+ import { defineComponent as p, createVNode as n } from "vue";
2
2
  import "@duxweb/dvha-core";
3
3
  import "naive-ui";
4
4
  import "vue-router";
@@ -24,11 +24,12 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
24
24
  import "vue-command-palette";
25
25
  import "@duxweb/dvha-naiveui";
26
26
  import "../page404.js";
27
+ import "@iconify-json/tabler/icons.json";
27
28
  import "mime";
28
29
  import "dayjs";
29
30
  import "@tanstack/vue-query";
30
- import { useUI as p } from "../../hooks/ui.js";
31
- const J = /* @__PURE__ */ l({
31
+ import { useUI as l } from "../../hooks/ui.js";
32
+ const K = /* @__PURE__ */ p({
32
33
  name: "DuxMenuButton",
33
34
  props: {
34
35
  class: {
@@ -55,7 +56,7 @@ const J = /* @__PURE__ */ l({
55
56
  const {
56
57
  menuCollapsed: o,
57
58
  menuMobileCollapsed: i
58
- } = p();
59
+ } = l();
59
60
  return () => {
60
61
  var r, m;
61
62
  return n("div", {
@@ -71,5 +72,5 @@ const J = /* @__PURE__ */ l({
71
72
  }
72
73
  });
73
74
  export {
74
- J as default
75
+ K as default
75
76
  };
@@ -24,11 +24,12 @@ import "@vee-validate/i18n/dist/locale/en.json";
24
24
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
25
25
  import "@duxweb/dvha-naiveui";
26
26
  import "../page404.js";
27
+ import "@iconify-json/tabler/icons.json";
27
28
  import "mime";
28
29
  import "dayjs";
29
30
  import "@tanstack/vue-query";
30
31
  import { useUI as q } from "../../hooks/ui.js";
31
- const be = /* @__PURE__ */ M({
32
+ const pe = /* @__PURE__ */ M({
32
33
  name: "DuxMenuCmd",
33
34
  setup() {
34
35
  const {
@@ -167,5 +168,5 @@ const be = /* @__PURE__ */ M({
167
168
  }
168
169
  });
169
170
  export {
170
- be as DuxMenuCmd
171
+ pe as DuxMenuCmd
171
172
  };
@@ -26,11 +26,12 @@ import b from "./avatar.js";
26
26
  import a from "./button.js";
27
27
  import "vue-command-palette";
28
28
  import "../page404.js";
29
+ import "@iconify-json/tabler/icons.json";
29
30
  import "mime";
30
31
  import "dayjs";
31
32
  import "@tanstack/vue-query";
32
33
  import { useUI as M } from "../../hooks/ui.js";
33
- const $ = /* @__PURE__ */ c({
34
+ const ee = /* @__PURE__ */ c({
34
35
  name: "DuxMenuMain",
35
36
  props: {
36
37
  collapsed: {
@@ -112,5 +113,5 @@ const $ = /* @__PURE__ */ c({
112
113
  }
113
114
  });
114
115
  export {
115
- $ as DuxMenuMain
116
+ ee as DuxMenuMain
116
117
  };
@@ -25,11 +25,12 @@ import "vue-command-palette";
25
25
  import { DuxMenuMain as i } from "./main.js";
26
26
  import "@duxweb/dvha-naiveui";
27
27
  import "../page404.js";
28
+ import "@iconify-json/tabler/icons.json";
28
29
  import "mime";
29
30
  import "dayjs";
30
31
  import "@tanstack/vue-query";
31
32
  import { useUI as e } from "../../hooks/ui.js";
32
- const G = /* @__PURE__ */ p({
33
+ const H = /* @__PURE__ */ p({
33
34
  name: "DuxMobileMenu",
34
35
  props: {},
35
36
  setup(l) {
@@ -49,5 +50,5 @@ const G = /* @__PURE__ */ p({
49
50
  }
50
51
  });
51
52
  export {
52
- G as DuxMobileMenu
53
+ H as DuxMobileMenu
53
54
  };
@@ -29,6 +29,7 @@ import "@vee-validate/i18n/dist/locale/en.json";
29
29
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import { DuxPageStatus as d } from "./pageStatus.js";
32
+ import "@iconify-json/tabler/icons.json";
32
33
  function g(o) {
33
34
  return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !u(o);
34
35
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, createVNode as t } from "vue";
2
- import { DuxCard as c } from "../components/card/card.js";
2
+ import { DuxCard as p } from "../components/card/card.js";
3
3
  import "clsx";
4
4
  import "naive-ui";
5
5
  import "vue-echarts";
@@ -29,7 +29,8 @@ import "@vee-validate/i18n/dist/locale/en.json";
29
29
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
30
  import "vue-command-palette";
31
31
  import "./page404.js";
32
- const I = /* @__PURE__ */ o({
32
+ import "@iconify-json/tabler/icons.json";
33
+ const J = /* @__PURE__ */ o({
33
34
  name: "DuxPageStatus",
34
35
  props: {
35
36
  title: String,
@@ -38,7 +39,7 @@ const I = /* @__PURE__ */ o({
38
39
  setup(i, {
39
40
  slots: e
40
41
  }) {
41
- return () => t(c, {
42
+ return () => t(p, {
42
43
  class: "size-full flex items-center justify-center"
43
44
  }, {
44
45
  default: () => {
@@ -61,5 +62,5 @@ const I = /* @__PURE__ */ o({
61
62
  }
62
63
  });
63
64
  export {
64
- I as DuxPageStatus
65
+ J as DuxPageStatus
65
66
  };
@@ -1,5 +1,5 @@
1
1
  const r = `/* layer: properties */
2
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:0;--un-border-style:solid;--un-divide-x-reverse:0;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-to-opacity:100%;--un-border-opacity:100%;--un-fill-opacity:100%;--un-outline-style:solid;}}
2
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:0;--un-border-style:solid;--un-shadow-opacity:100%;--un-divide-x-reverse:0;--un-divide-opacity:100%;--un-border-opacity:100%;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-to-opacity:100%;--un-outline-style:solid;--un-fill-opacity:100%;}}
3
3
  @property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
4
4
  @property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
5
5
  @property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
@@ -1022,11 +1022,11 @@ input:where([type='button'], [type='reset'], [type='submit']),
1022
1022
  .ml-2{margin-left:calc(var(--spacing) * 2);}
1023
1023
  .mr-2{margin-right:calc(var(--spacing) * 2);}
1024
1024
  .mt-1{margin-top:calc(var(--spacing) * 1);}
1025
- .mt-1\\.5{margin-top:calc(var(--spacing) * 1.5);}
1026
1025
  .mt-2{margin-top:calc(var(--spacing) * 2);}
1027
1026
  .mt-3{margin-top:calc(var(--spacing) * 3);}
1028
1027
  .mt-4{margin-top:calc(var(--spacing) * 4);}
1029
1028
  .mt-auto{margin-top:auto;}
1029
+ .p-0\\!{padding:calc(var(--spacing) * 0) !important;}
1030
1030
  .p-1{padding:calc(var(--spacing) * 1);}
1031
1031
  .p-2{padding:calc(var(--spacing) * 2);}
1032
1032
  .p-2\\.5{padding:calc(var(--spacing) * 2.5);}
@@ -1076,6 +1076,8 @@ input:where([type='button'], [type='reset'], [type='submit']),
1076
1076
  .border-t{border-top-width:1px;}
1077
1077
  .border-primary,
1078
1078
  .group:hover .group-hover\\:border-primary{border-color:color-mix(in srgb, var(--colors-primary-DEFAULT) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1079
+ .border-transparent{border-color:transparent;}
1080
+ .hover\\:border-primary-hover:hover{border-color:color-mix(in srgb, var(--colors-primary-hover) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-hover)) var(--un-text-opacity, 100%), transparent) */;}
1079
1081
  .hover\\:border-primary:hover{border-color:color-mix(in srgb, var(--colors-primary-DEFAULT) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1080
1082
  .rounded{border-radius:var(--radius-DEFAULT);}
1081
1083
  .rounded-full{border-radius:calc(infinity * 1px);}
@@ -1140,6 +1142,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
1140
1142
  .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr));}
1141
1143
  .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
1142
1144
  .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
1145
+ .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr));}
1143
1146
  .size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10);}
1144
1147
  .size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12);}
1145
1148
  .size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2);}
@@ -1333,6 +1336,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
1333
1336
  .hover\\:text-primary:hover{color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1334
1337
  .border-primary{border-color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1335
1338
  .group:hover .group-hover\\:border-primary{border-color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1339
+ .hover\\:border-primary-hover:hover{border-color:color-mix(in oklab, var(--colors-primary-hover) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-hover)) var(--un-text-opacity, 100%), transparent) */;}
1336
1340
  .hover\\:border-primary:hover{border-color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-border-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
1337
1341
  .bg-error{background-color:color-mix(in oklab, var(--colors-error-DEFAULT) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-error)) var(--un-text-opacity, 100%), transparent) */;}
1338
1342
  .bg-gray-600{background-color:color-mix(in oklab, var(--colors-gray-600) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-600)) var(--un-text-opacity, 100%), transparent) */;}
@@ -0,0 +1,7 @@
1
+ export declare const DuxIconPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ defaultValue: StringConstructor;
3
+ value: StringConstructor;
4
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
+ defaultValue: StringConstructor;
6
+ value: StringConstructor;
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,9 @@
1
+ import type { PropType } from 'vue';
2
+ declare const DuxIconPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ onConfirm: PropType<(icon: string) => void>;
4
+ onClose: PropType<() => void>;
5
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
+ onConfirm: PropType<(icon: string) => void>;
7
+ onClose: PropType<() => void>;
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ export default DuxIconPicker;
@@ -0,0 +1,2 @@
1
+ export * from './icon';
2
+ export * from './iconPicker';
@@ -9,6 +9,7 @@ export * from './draw';
9
9
  export * from './drawer';
10
10
  export * from './editor';
11
11
  export * from './form';
12
+ export * from './icon';
12
13
  export * from './layout';
13
14
  export * from './level';
14
15
  export * from './list';
@@ -19,6 +20,7 @@ export * from './select';
19
20
  export * from './stats';
20
21
  export * from './status';
21
22
  export * from './table';
23
+ export * from './tree';
22
24
  export * from './upload';
23
25
  export * from './upload';
24
26
  export * from './widget';
@@ -0,0 +1 @@
1
+ export * from './treeFilter';
@@ -0,0 +1,23 @@
1
+ import type { IUseTreeProps } from '@duxweb/dvha-core';
2
+ import type { TreeOption, TreeProps } from 'naive-ui';
3
+ export interface TreeMenu {
4
+ label?: string;
5
+ value?: string;
6
+ icon?: string;
7
+ onSelect: (option?: TreeOption) => void;
8
+ }
9
+ export interface TreeFilterProps extends TreeProps {
10
+ title: string;
11
+ path: string;
12
+ sortPath: string;
13
+ params: Record<string, any>;
14
+ menus: TreeMenu[];
15
+ numField: string;
16
+ iconField: string;
17
+ treeOptions: IUseTreeProps;
18
+ value: (string | number)[];
19
+ defaultValue: (string | number)[];
20
+ draggable: boolean;
21
+ onUpdateValue: (value: (string | number)[]) => void;
22
+ }
23
+ export declare const DuxTreeFilter: import("vue").DefineComponent<TreeFilterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeFilterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-pro",
3
3
  "type": "module",
4
- "version": "1.0.17",
4
+ "version": "1.0.18",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@ant-design/colors": "^7.2.1",
36
- "@duxweb/dvha-core": "^1.0.17",
37
- "@duxweb/dvha-naiveui": "^1.0.17",
36
+ "@duxweb/dvha-core": "^1.0.18",
37
+ "@duxweb/dvha-naiveui": "^1.0.18",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
40
  "@tanstack/vue-query": "^5.80.7",