@duxweb/dvha-pro 1.0.19 → 1.0.21

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 (41) hide show
  1. package/dist/cjs/components/crop/imageCrop.cjs +1 -1
  2. package/dist/cjs/components/form/formItem.cjs +1 -1
  3. package/dist/cjs/components/layout/list.cjs +1 -1
  4. package/dist/cjs/components/layout/table.cjs +1 -1
  5. package/dist/cjs/components/panel/setting.cjs +1 -1
  6. package/dist/cjs/components/table/table.cjs +1 -1
  7. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  8. package/dist/cjs/components/upload/manager.cjs +1 -1
  9. package/dist/cjs/hooks/table.cjs +1 -1
  10. package/dist/cjs/index.cjs +1 -1
  11. package/dist/cjs/langs/en-US.json.cjs +1 -1
  12. package/dist/cjs/langs/zh-CN.json.cjs +1 -1
  13. package/dist/cjs/pages/layout/page.cjs +1 -1
  14. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  15. package/dist/cjs/theme/uno.css.cjs +2 -2
  16. package/dist/esm/components/crop/imageCrop.js +6 -3
  17. package/dist/esm/components/form/formItem.js +1 -1
  18. package/dist/esm/components/layout/list.js +20 -16
  19. package/dist/esm/components/layout/table.js +27 -23
  20. package/dist/esm/components/panel/setting.js +12 -8
  21. package/dist/esm/components/table/table.js +9 -9
  22. package/dist/esm/components/upload/manage/item.js +3 -2
  23. package/dist/esm/components/upload/manager.js +65 -61
  24. package/dist/esm/hooks/table.js +16 -19
  25. package/dist/esm/index.js +4 -4
  26. package/dist/esm/langs/en-US.json.js +5 -3
  27. package/dist/esm/langs/zh-CN.json.js +5 -3
  28. package/dist/esm/pages/layout/page.js +30 -19
  29. package/dist/esm/pages/menu/avatar.js +82 -82
  30. package/dist/esm/theme/uno.css.js +2 -2
  31. package/dist/types/components/layout/list.d.ts +7 -1
  32. package/dist/types/components/layout/table.d.ts +7 -1
  33. package/dist/types/components/list/card.d.ts +6 -0
  34. package/dist/types/components/list/list.d.ts +6 -0
  35. package/dist/types/components/panel/setting.d.ts +9 -0
  36. package/dist/types/components/table/index.d.ts +1 -1
  37. package/dist/types/components/table/table.d.ts +1 -1
  38. package/dist/types/components/table/tablePage.d.ts +6 -0
  39. package/dist/types/components/upload/image.d.ts +1 -1
  40. package/dist/types/components/upload/manage/item.d.ts +3 -0
  41. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
- import { defineComponent as $, computed as g, createVNode as e, createTextVNode as v } from "vue";
2
- import { useI18n as f, useManage as A, useLogout as L, useTheme as R, useGetAuth as I } from "@duxweb/dvha-core";
1
+ import { defineComponent as A, computed as v, createVNode as e } from "vue";
2
+ import { useI18n as f, useManage as L, useLogout as R, useTheme as I, useGetAuth as S } from "@duxweb/dvha-core";
3
3
  import { NDropdown as B } from "naive-ui";
4
- import { useRouter as T } from "vue-router";
4
+ import { useRouter as N } from "vue-router";
5
5
  import "clsx";
6
- import { DuxAvatar as b } from "../../components/widget/avatar.js";
6
+ import { DuxAvatar as g } from "../../components/widget/avatar.js";
7
7
  import "vue-echarts";
8
8
  import "@overlastic/vue";
9
9
  import "dayjs";
@@ -27,7 +27,7 @@ import "@unocss/preset-typography";
27
27
  import "unocss/preset-wind4";
28
28
  import "@vee-validate/i18n/dist/locale/en.json";
29
29
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
30
- import U from "./button.js";
30
+ import G from "./button.js";
31
31
  import "vue-command-palette";
32
32
  import "../page404.js";
33
33
  import "@iconify-json/tabler/icons.json";
@@ -42,7 +42,7 @@ import "ace-builds/src-noconflict/theme-tomorrow";
42
42
  import "ace-builds/src-noconflict/ext-searchbox";
43
43
  import "ace-builds/src-noconflict/ext-language_tools";
44
44
  import "ace-builds/src-noconflict/mode-snippets";
45
- const Ne = /* @__PURE__ */ $({
45
+ const $e = /* @__PURE__ */ A({
46
46
  name: "DuxMenuAvatar",
47
47
  props: {
48
48
  collapsed: {
@@ -50,78 +50,75 @@ const Ne = /* @__PURE__ */ $({
50
50
  default: !1
51
51
  }
52
52
  },
53
- setup(h) {
53
+ setup(b) {
54
54
  const {
55
- t
56
- } = f(), u = f(), y = T(), {
57
- config: x,
55
+ t: r
56
+ } = f(), c = f(), h = N(), {
57
+ config: y,
58
58
  getRoutePath: k
59
- } = A(), {
60
- mutate: C
61
59
  } = L(), {
60
+ mutate: x
61
+ } = R(), {
62
62
  mode: m,
63
- primaryColors: M,
64
- neutralColors: w,
63
+ primaryColors: C,
64
+ neutralColors: M,
65
65
  colorMapping: p,
66
66
  setColor: d,
67
- setMode: z
68
- } = R(), a = (l, r) => e("div", {
67
+ setMode: w
68
+ } = I(), n = (t, l) => e("div", {
69
69
  class: "flex gap-2 items-center w-30"
70
70
  }, [e("div", {
71
71
  class: "flex-1 min-w-0"
72
- }, [l]), e("div", null, [r && e("div", {
72
+ }, [t]), e("div", null, [l && e("div", {
73
73
  class: "i-tabler:check"
74
- }, null)])]), i = (l) => e("div", {
75
- class: `${l} size-4`
76
- }, null), D = g(() => {
77
- var r;
78
- const l = (r = x.userMenus) == null ? void 0 : r.map((o) => ({
79
- label: t(o.label || "", {}, o.label),
74
+ }, null)])]), s = (t) => e("div", {
75
+ class: `${t} size-4`
76
+ }, null), z = v(() => {
77
+ var l;
78
+ const t = (l = y.userMenus) == null ? void 0 : l.map((o) => ({
79
+ label: r(o.label || "", {}, o.label),
80
80
  key: o.key,
81
- icon: () => i(o.icon),
81
+ icon: () => s(o.icon),
82
82
  path: o.path
83
83
  }));
84
- return (l == null ? void 0 : l.length) > 0 ? [...l, {
84
+ return (t == null ? void 0 : t.length) > 0 ? [...t, {
85
85
  type: "divider"
86
86
  }] : [];
87
- }), s = I(), N = g(() => {
88
- var l, r;
87
+ }), i = S(), $ = v(() => {
88
+ var t, l;
89
89
  return [{
90
90
  key: "header",
91
91
  type: "render",
92
92
  render: () => {
93
- var o, c, n;
93
+ var o, u, a;
94
94
  return e("div", {
95
95
  class: "flex gap-2 px-3 pb-1 pt-1 items-center "
96
- }, [e(b, {
96
+ }, [e(g, {
97
97
  round: !0,
98
98
  size: 28,
99
- src: (o = s.info) == null ? void 0 : o.avatar
99
+ src: (o = i.info) == null ? void 0 : o.avatar
100
100
  }, null), e("div", {
101
101
  class: "flex flex-col"
102
102
  }, [e("div", {
103
103
  class: "text-sm font-medium"
104
- }, [(c = s.info) == null ? void 0 : c.nickname]), e("div", {
104
+ }, [(u = i.info) == null ? void 0 : u.nickname]), e("div", {
105
105
  class: "text-xs text-muted"
106
- }, [(n = s.info) == null ? void 0 : n.username])])]);
106
+ }, [(a = i.info) == null ? void 0 : a.username])])]);
107
107
  }
108
108
  }, {
109
109
  type: "divider"
110
- }, ...D.value, {
111
- label: t("components.menu.language"),
110
+ }, ...z.value, {
111
+ label: r("components.menu.language"),
112
112
  key: "locale",
113
- icon: () => i("i-tabler:language"),
114
- children: [{
115
- label: () => a(t("components.menu.chinese"), u.getLocale() === "zh-CN"),
116
- key: "locale.zh-CN"
117
- }, {
118
- label: () => a(t("components.menu.english"), u.getLocale() === "en-US"),
119
- key: "locale.en-US"
120
- }]
113
+ icon: () => s("i-tabler:language"),
114
+ children: [...(c.getLocales() || []).map((o) => ({
115
+ label: () => n(r(`locale.${o}`), c.getLocale() === o),
116
+ key: `locale.${o}`
117
+ }))]
121
118
  }, {
122
- label: t("components.menu.color"),
119
+ label: r("components.menu.color"),
123
120
  key: "color",
124
- icon: () => i("i-tabler:palette"),
121
+ icon: () => s("i-tabler:palette"),
125
122
  children: [{
126
123
  label: () => e("div", {
127
124
  class: "flex gap-2 items-center w-30"
@@ -130,10 +127,10 @@ const Ne = /* @__PURE__ */ $({
130
127
  style: {
131
128
  backgroundColor: "rgb(var(--ui-color-primary))"
132
129
  }
133
- }, null), e("div", null, [t("components.menu.primaryColor")])]),
130
+ }, null), e("div", null, [r("components.menu.primaryColor")])]),
134
131
  key: "color.primary",
135
- children: (l = M.value) == null ? void 0 : l.map((o) => ({
136
- label: () => a(e("div", {
132
+ children: (t = C.value) == null ? void 0 : t.map((o) => ({
133
+ label: () => n(e("div", {
137
134
  class: "flex gap-2 items-center"
138
135
  }, [e("div", {
139
136
  class: "size-2 rounded-full",
@@ -151,10 +148,10 @@ const Ne = /* @__PURE__ */ $({
151
148
  style: {
152
149
  backgroundColor: "rgb(var(--ui-color-gray-600))"
153
150
  }
154
- }, null), e("div", null, [t("components.menu.neutralColor")])]),
151
+ }, null), e("div", null, [r("components.menu.neutralColor")])]),
155
152
  key: "color.neutral",
156
- children: (r = w.value) == null ? void 0 : r.map((o) => ({
157
- label: () => a(e("div", {
153
+ children: (l = M.value) == null ? void 0 : l.map((o) => ({
154
+ label: () => n(e("div", {
158
155
  class: "flex gap-2 items-center"
159
156
  }, [e("div", {
160
157
  class: "size-2 rounded-full",
@@ -166,81 +163,84 @@ const Ne = /* @__PURE__ */ $({
166
163
  }))
167
164
  }]
168
165
  }, {
169
- label: t("components.menu.theme"),
166
+ label: r("components.menu.theme"),
170
167
  key: "theme",
171
- icon: () => i("i-tabler:brightness-half"),
168
+ icon: () => s("i-tabler:brightness-half"),
172
169
  children: [{
173
- label: () => a(t("components.menu.followSystem"), m.value === "auto"),
170
+ label: () => n(r("components.menu.followSystem"), m.value === "auto"),
174
171
  key: "theme.auto"
175
172
  }, {
176
- label: () => a(t("components.menu.lightMode"), m.value === "light"),
173
+ label: () => n(r("components.menu.lightMode"), m.value === "light"),
177
174
  key: "theme.light"
178
175
  }, {
179
- label: () => a(t("components.menu.darkMode"), m.value === "dark"),
176
+ label: () => n(r("components.menu.darkMode"), m.value === "dark"),
180
177
  key: "theme.dark"
181
178
  }]
182
179
  }, {
183
180
  type: "divider"
184
181
  }, {
185
- label: t("components.menu.logout"),
182
+ label: r("components.menu.logout"),
186
183
  key: "logout",
187
- icon: () => i("i-tabler:logout")
184
+ icon: () => s("i-tabler:logout")
188
185
  }];
189
186
  });
190
- function S(l, r) {
191
- const o = l.lastIndexOf("."), [c, n] = o === -1 ? [l, ""] : [l.substring(0, o), l.substring(o + 1)];
192
- switch (c) {
187
+ function D(t, l) {
188
+ const o = t.lastIndexOf("."), [u, a] = o === -1 ? [t, ""] : [t.substring(0, o), t.substring(o + 1)];
189
+ switch (u) {
193
190
  case "locale":
194
- u.changeLocale(n);
191
+ c.changeLocale(a);
195
192
  break;
196
193
  case "color.primary":
197
- d("primary", n);
194
+ d("primary", a);
198
195
  break;
199
196
  case "color.neutral":
200
- d("gray", n);
197
+ d("gray", a);
201
198
  break;
202
199
  case "theme":
203
- z(n);
200
+ w(a);
204
201
  break;
205
202
  case "logout":
206
- C();
203
+ x();
207
204
  break;
208
205
  default:
209
- if (!(r != null && r.path))
206
+ if (!(l != null && l.path))
210
207
  return;
211
- y.push(k(r.path));
208
+ h.push(k(l.path));
212
209
  }
213
210
  }
214
211
  return () => e(B, {
215
- options: N.value,
212
+ options: $.value,
216
213
  placement: "bottom-start",
217
214
  trigger: "click",
218
- onSelect: S,
215
+ onSelect: D,
219
216
  width: 200
220
217
  }, {
221
- default: () => [e(U, {
222
- collapsed: h.collapsed
218
+ default: () => [e(G, {
219
+ collapsed: b.collapsed
223
220
  }, {
224
221
  icon: () => {
225
- var l;
226
- return e(b, {
222
+ var t;
223
+ return e(g, {
227
224
  class: "group-hover:shadow-lg",
228
225
  round: !0,
229
226
  size: 28,
230
- src: (l = s.info) == null ? void 0 : l.avatar
227
+ src: (t = i.info) == null ? void 0 : t.avatar
231
228
  }, null);
232
229
  },
233
- default: () => e("div", {
234
- class: "flex flex-col"
235
- }, [e("div", {
236
- class: "text-sm font-medium"
237
- }, [v("admin")]), e("div", {
238
- class: "text-xs text-muted"
239
- }, [v("admin@example.com")])])
230
+ default: () => {
231
+ var t, l;
232
+ return e("div", {
233
+ class: "flex flex-col"
234
+ }, [e("div", {
235
+ class: "text-sm font-medium"
236
+ }, [(t = i.info) == null ? void 0 : t.nickname]), e("div", {
237
+ class: "text-xs text-muted"
238
+ }, [(l = i.info) == null ? void 0 : l.username])]);
239
+ }
240
240
  })]
241
241
  });
242
242
  }
243
243
  });
244
244
  export {
245
- Ne as default
245
+ $e as default
246
246
  };
@@ -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-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%;}}
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-from-opacity:100%;--un-text-opacity:100%;--un-bg-opacity:100%;--un-divide-x-reverse:0;--un-border-style:solid;--un-divide-opacity:100%;--un-divide-y-reverse:0;--un-shadow-opacity:100%;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-border-opacity:100%;--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%;}
@@ -1186,7 +1186,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
1186
1186
  .min-h-0{min-height:calc(var(--spacing) * 0);}
1187
1187
  .min-h-1{min-height:calc(var(--spacing) * 1);}
1188
1188
  .min-w-0{min-width:calc(var(--spacing) * 0);}
1189
- .min-w-200px{min-width:200px;}
1190
1189
  .min-w-60{min-width:calc(var(--spacing) * 60);}
1191
1190
  .w-120{width:calc(var(--spacing) * 120);}
1192
1191
  .w-120px{width:120px;}
@@ -1390,6 +1389,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
1390
1389
  .md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
1391
1390
  .md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
1392
1391
  .md\\:h-auto{height:auto;}
1392
+ .md\\:w-50\\%{width:50%;}
1393
1393
  .md\\:shadow{--un-shadow:0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
1394
1394
  .md\\:items-start{align-items:flex-start;}
1395
1395
  .md\\:items-center{align-items:center;}
@@ -1,4 +1,4 @@
1
- import type { JsonSchemaNode } from '@duxweb/dvha-core';
1
+ import type { JsonSchemaNode, UseExtendListProps } from '@duxweb/dvha-core';
2
2
  import type { PropType } from 'vue';
3
3
  import type { UseActionItem } from '../../hooks';
4
4
  export interface TablePagination {
@@ -53,6 +53,9 @@ export declare const DuxListLayout: import("vue").DefineComponent<import("vue").
53
53
  type: StringConstructor;
54
54
  default: string;
55
55
  };
56
+ hookListProps: {
57
+ type: PropType<UseExtendListProps>;
58
+ };
56
59
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
60
  rowKey: {
58
61
  type: StringConstructor;
@@ -96,6 +99,9 @@ export declare const DuxListLayout: import("vue").DefineComponent<import("vue").
96
99
  type: StringConstructor;
97
100
  default: string;
98
101
  };
102
+ hookListProps: {
103
+ type: PropType<UseExtendListProps>;
104
+ };
99
105
  }>> & Readonly<{}>, {
100
106
  checkable: boolean;
101
107
  rowKey: string;
@@ -1,5 +1,5 @@
1
1
  import type { JsonSchemaNode } from '@duxweb/dvha-core';
2
- import type { TableColumn, TablePagination, UseNaiveTableReturn } from '@duxweb/dvha-naiveui';
2
+ import type { TableColumn, TablePagination, UseNaiveTableReturn, UseTableProps } from '@duxweb/dvha-naiveui';
3
3
  import type { PropType } from 'vue';
4
4
  import type { UseActionItem } from '../../hooks';
5
5
  export interface TablePageTools {
@@ -49,6 +49,9 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
49
49
  type: StringConstructor;
50
50
  default: string;
51
51
  };
52
+ hookTableProps: {
53
+ type: PropType<UseTableProps>;
54
+ };
52
55
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
53
56
  path: {
54
57
  type: StringConstructor;
@@ -88,6 +91,9 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
88
91
  type: StringConstructor;
89
92
  default: string;
90
93
  };
94
+ hookTableProps: {
95
+ type: PropType<UseTableProps>;
96
+ };
91
97
  }>> & Readonly<{}>, {
92
98
  pagination: boolean | TablePagination;
93
99
  actions: UseActionItem[];
@@ -68,6 +68,9 @@ export declare const DuxCardPage: import("vue").DefineComponent<import("vue").Ex
68
68
  type: StringConstructor;
69
69
  default: string;
70
70
  };
71
+ hookListProps: {
72
+ type: import("vue").PropType<import("@duxweb/dvha-core").UseExtendListProps>;
73
+ };
71
74
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
72
75
  rowKey: {
73
76
  type: StringConstructor;
@@ -111,6 +114,9 @@ export declare const DuxCardPage: import("vue").DefineComponent<import("vue").Ex
111
114
  type: StringConstructor;
112
115
  default: string;
113
116
  };
117
+ hookListProps: {
118
+ type: import("vue").PropType<import("@duxweb/dvha-core").UseExtendListProps>;
119
+ };
114
120
  }>> & Readonly<{}>, {
115
121
  checkable: boolean;
116
122
  rowKey: string;
@@ -56,6 +56,9 @@ export declare const DuxListPage: import("vue").DefineComponent<import("vue").Ex
56
56
  type: StringConstructor;
57
57
  default: string;
58
58
  };
59
+ hookListProps: {
60
+ type: import("vue").PropType<import("@duxweb/dvha-core").UseExtendListProps>;
61
+ };
59
62
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
63
  rowKey: {
61
64
  type: StringConstructor;
@@ -99,6 +102,9 @@ export declare const DuxListPage: import("vue").DefineComponent<import("vue").Ex
99
102
  type: StringConstructor;
100
103
  default: string;
101
104
  };
105
+ hookListProps: {
106
+ type: import("vue").PropType<import("@duxweb/dvha-core").UseExtendListProps>;
107
+ };
102
108
  }>> & Readonly<{}>, {
103
109
  checkable: boolean;
104
110
  rowKey: string;
@@ -11,6 +11,10 @@ export declare const DuxPanelCard: import("vue").DefineComponent<import("vue").E
11
11
  padding: {
12
12
  type: PropType<"none" | "small" | "medium" | "large">;
13
13
  };
14
+ bordered: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
14
18
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
19
  title: {
16
20
  type: StringConstructor;
@@ -23,7 +27,12 @@ export declare const DuxPanelCard: import("vue").DefineComponent<import("vue").E
23
27
  padding: {
24
28
  type: PropType<"none" | "small" | "medium" | "large">;
25
29
  };
30
+ bordered: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
26
34
  }>> & Readonly<{}>, {
27
35
  title: string;
28
36
  description: string;
37
+ bordered: boolean;
29
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,2 +1,2 @@
1
- export * from './tablePage';
2
1
  export * from './table';
2
+ export * from './tablePage';
@@ -1,5 +1,5 @@
1
+ import type { TableColumn, TablePagination } from '@duxweb/dvha-naiveui';
1
2
  import type { PropType } from 'vue';
2
- import { TableColumn, TablePagination } from '@duxweb/dvha-naiveui';
3
3
  export declare const DuxTable: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  path: {
5
5
  type: StringConstructor;
@@ -44,6 +44,9 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
44
44
  type: StringConstructor;
45
45
  default: string;
46
46
  };
47
+ hookTableProps: {
48
+ type: PropType<import("@duxweb/dvha-naiveui").UseTableProps>;
49
+ };
47
50
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
48
51
  path: {
49
52
  type: StringConstructor;
@@ -83,6 +86,9 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
83
86
  type: StringConstructor;
84
87
  default: string;
85
88
  };
89
+ hookTableProps: {
90
+ type: PropType<import("@duxweb/dvha-naiveui").UseTableProps>;
91
+ };
86
92
  }>> & Readonly<{}>, {
87
93
  pagination: boolean | import("@duxweb/dvha-naiveui").TablePagination;
88
94
  actions: import("../..").UseActionItem[];
@@ -120,8 +120,8 @@ export declare const DuxImageUpload: import("vue").DefineComponent<import("vue")
120
120
  path: string;
121
121
  multiple: boolean;
122
122
  driver: "local" | "s3";
123
+ manager: boolean;
123
124
  managePath: string;
124
125
  signPath: string;
125
126
  maxSize: number;
126
- manager: boolean;
127
127
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -8,6 +8,7 @@ export declare const DuxFileManageItem: import("vue").DefineComponent<import("vu
8
8
  value: BooleanConstructor;
9
9
  onContextmenu: PropType<(e: MouseEvent) => void>;
10
10
  onSelect: FunctionConstructor;
11
+ page: BooleanConstructor;
11
12
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
13
  name: StringConstructor;
13
14
  url: StringConstructor;
@@ -17,6 +18,8 @@ export declare const DuxFileManageItem: import("vue").DefineComponent<import("vu
17
18
  value: BooleanConstructor;
18
19
  onContextmenu: PropType<(e: MouseEvent) => void>;
19
20
  onSelect: FunctionConstructor;
21
+ page: BooleanConstructor;
20
22
  }>> & Readonly<{}>, {
21
23
  value: boolean;
24
+ page: boolean;
22
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, 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.19",
4
+ "version": "1.0.21",
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.19",
37
- "@duxweb/dvha-naiveui": "^1.0.19",
36
+ "@duxweb/dvha-core": "^1.0.21",
37
+ "@duxweb/dvha-naiveui": "^1.0.21",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
40
  "@tanstack/vue-query": "^5.80.7",
@@ -59,7 +59,6 @@
59
59
  "naive-ui": "^2.42.0",
60
60
  "pinia": "^3.0.3",
61
61
  "pinia-plugin-persistedstate": "^4.3.0",
62
- "sass-embedded": "^1.89.1",
63
62
  "unocss": "^66.2.1",
64
63
  "vee-validate": "^4.15.1",
65
64
  "vue": "^3.5.0",
@@ -73,6 +72,7 @@
73
72
  "devDependencies": {
74
73
  "@unocss/cli": "^66.2.1",
75
74
  "rimraf": "^6.0.1",
75
+ "sass-embedded": "^1.89.1",
76
76
  "tslib": "^2.8.1",
77
77
  "vue-tsc": "^2.2.10"
78
78
  },