@duxweb/dvha-pro 1.0.31 → 1.0.33

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 (141) 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/designEditor/components/grid.cjs +1 -1
  7. package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
  8. package/dist/cjs/components/form/drawerForm.cjs +1 -1
  9. package/dist/cjs/components/form/modalForm.cjs +1 -1
  10. package/dist/cjs/components/form/pageForm.cjs +1 -1
  11. package/dist/cjs/components/form/pageTabForm.cjs +1 -0
  12. package/dist/cjs/components/form/settingForm.cjs +1 -1
  13. package/dist/cjs/components/formEditor/base/base.cjs +1 -1
  14. package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
  15. package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
  16. package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
  17. package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
  18. package/dist/cjs/components/formEditor/components/color.cjs +1 -1
  19. package/dist/cjs/components/formEditor/components/date.cjs +1 -1
  20. package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
  21. package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
  22. package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
  23. package/dist/cjs/components/formEditor/components/input.cjs +1 -1
  24. package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
  25. package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
  26. package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
  27. package/dist/cjs/components/formEditor/components/region.cjs +1 -1
  28. package/dist/cjs/components/formEditor/components/select.cjs +1 -1
  29. package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
  30. package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
  31. package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
  32. package/dist/cjs/components/formEditor/components/time.cjs +1 -1
  33. package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
  34. package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
  35. package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
  36. package/dist/cjs/components/formEditor/editor.cjs +1 -1
  37. package/dist/cjs/components/formEditor/renderer.cjs +1 -1
  38. package/dist/cjs/components/icon/icon.cjs +1 -1
  39. package/dist/cjs/components/layout/list.cjs +1 -1
  40. package/dist/cjs/components/layout/table.cjs +1 -1
  41. package/dist/cjs/components/level/level.cjs +1 -1
  42. package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
  43. package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
  44. package/dist/cjs/components/table/table.cjs +1 -1
  45. package/dist/cjs/components/upload/file.cjs +1 -1
  46. package/dist/cjs/components/upload/image.cjs +1 -1
  47. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  48. package/dist/cjs/components/upload/manager.cjs +1 -1
  49. package/dist/cjs/config/echart.cjs +1 -1
  50. package/dist/cjs/dvha-pro.css +1 -1
  51. package/dist/cjs/hooks/dialog.cjs +1 -1
  52. package/dist/cjs/hooks/drawer.cjs +1 -1
  53. package/dist/cjs/hooks/modal.cjs +1 -1
  54. package/dist/cjs/hooks/table/image.cjs +1 -1
  55. package/dist/cjs/hooks/table/media.cjs +1 -1
  56. package/dist/cjs/index.cjs +1 -1
  57. package/dist/cjs/pages/layout/global.cjs +1 -1
  58. package/dist/cjs/pages/layout/page.cjs +1 -1
  59. package/dist/cjs/pages/login.cjs +1 -1
  60. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  61. package/dist/cjs/pages/menu/button.cjs +1 -1
  62. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  63. package/dist/cjs/pages/menu/main.cjs +1 -1
  64. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  65. package/dist/cjs/pages/page404.cjs +1 -1
  66. package/dist/cjs/pages/pageStatus.cjs +1 -1
  67. package/dist/cjs/theme/uno.css.cjs +2 -1
  68. package/dist/esm/component.js +31 -31
  69. package/dist/esm/components/chart/echart.js +16 -2
  70. package/dist/esm/components/crop/imageCrop.js +26 -12
  71. package/dist/esm/components/data/dynamicSelect.js +34 -20
  72. package/dist/esm/components/data/selectModal.js +41 -27
  73. package/dist/esm/components/designEditor/components/grid.js +39 -25
  74. package/dist/esm/components/designEditor/editor/setting.js +36 -22
  75. package/dist/esm/components/form/drawerForm.js +32 -18
  76. package/dist/esm/components/form/modalForm.js +31 -17
  77. package/dist/esm/components/form/pageForm.js +40 -30
  78. package/dist/esm/components/form/pageTabForm.js +159 -0
  79. package/dist/esm/components/form/settingForm.js +32 -18
  80. package/dist/esm/components/formEditor/base/base.js +29 -15
  81. package/dist/esm/components/formEditor/base/setting.js +21 -7
  82. package/dist/esm/components/formEditor/components/cascader.js +65 -51
  83. package/dist/esm/components/formEditor/components/cascaderAsync.js +95 -81
  84. package/dist/esm/components/formEditor/components/checkbox.js +43 -29
  85. package/dist/esm/components/formEditor/components/color.js +34 -20
  86. package/dist/esm/components/formEditor/components/date.js +51 -37
  87. package/dist/esm/components/formEditor/components/dynamicInput.js +42 -28
  88. package/dist/esm/components/formEditor/components/dynamicTags.js +39 -25
  89. package/dist/esm/components/formEditor/components/editor.js +23 -9
  90. package/dist/esm/components/formEditor/components/input.js +66 -52
  91. package/dist/esm/components/formEditor/components/inputNumber.js +37 -23
  92. package/dist/esm/components/formEditor/components/mentionAsync.js +60 -46
  93. package/dist/esm/components/formEditor/components/radio.js +28 -14
  94. package/dist/esm/components/formEditor/components/region.js +37 -23
  95. package/dist/esm/components/formEditor/components/select.js +16 -2
  96. package/dist/esm/components/formEditor/components/selectAsync.js +72 -58
  97. package/dist/esm/components/formEditor/components/sider.js +40 -26
  98. package/dist/esm/components/formEditor/components/switch.js +33 -19
  99. package/dist/esm/components/formEditor/components/time.js +60 -46
  100. package/dist/esm/components/formEditor/components/transferAsync.js +49 -35
  101. package/dist/esm/components/formEditor/components/treeSelect.js +54 -40
  102. package/dist/esm/components/formEditor/components/treeSelectAsync.js +74 -60
  103. package/dist/esm/components/formEditor/editor.js +16 -2
  104. package/dist/esm/components/formEditor/renderer.js +28 -14
  105. package/dist/esm/components/icon/icon.js +23 -9
  106. package/dist/esm/components/layout/list.js +69 -55
  107. package/dist/esm/components/layout/table.js +101 -85
  108. package/dist/esm/components/level/level.js +37 -23
  109. package/dist/esm/components/posterEditor/pages/RightPanel.js +46 -32
  110. package/dist/esm/components/posterEditor/posterEditor.js +26 -12
  111. package/dist/esm/components/table/table.js +21 -7
  112. package/dist/esm/components/upload/file.js +20 -4
  113. package/dist/esm/components/upload/image.js +42 -28
  114. package/dist/esm/components/upload/manage/item.js +24 -10
  115. package/dist/esm/components/upload/manager.js +16 -2
  116. package/dist/esm/config/echart.js +1 -1
  117. package/dist/esm/dvha-pro.css +1 -1
  118. package/dist/esm/hooks/dialog.js +16 -2
  119. package/dist/esm/hooks/drawer.js +16 -2
  120. package/dist/esm/hooks/modal.js +16 -2
  121. package/dist/esm/hooks/table/image.js +20 -6
  122. package/dist/esm/hooks/table/media.js +20 -6
  123. package/dist/esm/index.js +130 -128
  124. package/dist/esm/pages/layout/global.js +52 -37
  125. package/dist/esm/pages/layout/page.js +26 -12
  126. package/dist/esm/pages/login.js +33 -19
  127. package/dist/esm/pages/menu/avatar.js +46 -32
  128. package/dist/esm/pages/menu/button.js +22 -8
  129. package/dist/esm/pages/menu/cmd.js +51 -37
  130. package/dist/esm/pages/menu/main.js +42 -28
  131. package/dist/esm/pages/menu/mobile.js +16 -2
  132. package/dist/esm/pages/page404.js +14 -0
  133. package/dist/esm/pages/pageStatus.js +18 -4
  134. package/dist/esm/theme/uno.css.js +2 -1
  135. package/dist/types/components/data/selectModal.d.ts +1 -1
  136. package/dist/types/components/form/index.d.ts +1 -0
  137. package/dist/types/components/form/pageForm.d.ts +0 -9
  138. package/dist/types/components/form/pageTabForm.d.ts +63 -0
  139. package/dist/types/components/layout/table.d.ts +2 -2
  140. package/dist/types/components/table/tablePage.d.ts +2 -2
  141. package/package.json +5 -3
@@ -1,7 +1,7 @@
1
- import { defineComponent as c, createVNode as e, createTextVNode as l } from "vue";
1
+ import { defineComponent as c, createVNode as o, createTextVNode as r } from "vue";
2
2
  import { useManage as f, useI18n as v, DuxLogoIcon as x } from "@duxweb/dvha-core";
3
3
  import { useNaiveMenu as g } from "@duxweb/dvha-naiveui";
4
- import { NTag as r, NScrollbar as h, NMenu as b } from "naive-ui";
4
+ import { NTag as l, NScrollbar as h, NMenu as b } from "naive-ui";
5
5
  import "vue-router";
6
6
  import "@overlastic/vue";
7
7
  import "clsx";
@@ -25,6 +25,20 @@ import "vue-draggable-plus";
25
25
  import "@vee-validate/i18n";
26
26
  import "colorizr";
27
27
  import "echarts";
28
+ import "highlight.js/lib/core";
29
+ import "highlight.js/lib/languages/bash";
30
+ import "highlight.js/lib/languages/css";
31
+ import "highlight.js/lib/languages/go";
32
+ import "highlight.js/lib/languages/java";
33
+ import "highlight.js/lib/languages/javascript";
34
+ import "highlight.js/lib/languages/json";
35
+ import "highlight.js/lib/languages/markdown";
36
+ import "highlight.js/lib/languages/php";
37
+ import "highlight.js/lib/languages/python";
38
+ import "highlight.js/lib/languages/shell";
39
+ import "highlight.js/lib/languages/sql";
40
+ import "highlight.js/lib/languages/typescript";
41
+ import "highlight.js/lib/languages/xml";
28
42
  import "@ant-design/colors";
29
43
  import "@unocss/preset-icons/browser";
30
44
  import "@unocss/preset-typography";
@@ -45,7 +59,7 @@ import "mime";
45
59
  import "dayjs";
46
60
  import "@tanstack/vue-query";
47
61
  import { useUI as y } from "../../hooks/ui.js";
48
- const ve = /* @__PURE__ */ c({
62
+ const Bo = /* @__PURE__ */ c({
49
63
  name: "DuxMenuMain",
50
64
  props: {
51
65
  collapsed: {
@@ -53,7 +67,7 @@ const ve = /* @__PURE__ */ c({
53
67
  default: !1
54
68
  }
55
69
  },
56
- setup(o) {
70
+ setup(e) {
57
71
  const {
58
72
  options: m,
59
73
  active: a
@@ -67,53 +81,53 @@ const ve = /* @__PURE__ */ c({
67
81
  } = f(), {
68
82
  t: u
69
83
  } = v();
70
- return () => e("div", {
84
+ return () => o("div", {
71
85
  class: "flex flex-col h-screen px-1"
72
- }, [e("div", {
86
+ }, [o("div", {
73
87
  class: "h-13 px-2 hidden lg:flex justify-center items-center"
74
- }, [e(p, {
88
+ }, [o(p, {
75
89
  onClick: () => d(!t.value),
76
- collapsed: o.collapsed
90
+ collapsed: e.collapsed
77
91
  }, {
78
- icon: () => e("div", {
92
+ icon: () => o("div", {
79
93
  class: "bg-white dark:bg-primary-950 rounded-full p-2 shadow group-hover:shadow-lg"
80
- }, [e(x, {
94
+ }, [o(x, {
81
95
  highlight: "fill-primary",
82
96
  class: "size-4"
83
97
  }, null)]),
84
- default: () => e("div", null, [n.title])
85
- })]), e("div", {
98
+ default: () => o("div", null, [n.title])
99
+ })]), o("div", {
86
100
  class: "px-2 py-1 hidden lg:block"
87
- }, [e(p, {
88
- collapsed: o.collapsed,
101
+ }, [o(p, {
102
+ collapsed: e.collapsed,
89
103
  inverted: !0,
90
104
  class: "relative py-1.5 px-3",
91
105
  onClick: () => s(!0)
92
106
  }, {
93
- icon: () => e("div", {
107
+ icon: () => o("div", {
94
108
  class: "i-tabler:search size-4 icon-gradient"
95
109
  }, null),
96
- default: () => e("div", {
110
+ default: () => o("div", {
97
111
  class: "text-muted text-sm"
98
- }, [u("common.search"), !t.value && e("div", {
112
+ }, [u("common.search"), !t.value && o("div", {
99
113
  class: "flex items-center gap-1 absolute right-2.5 top-1.3"
100
- }, [e(r, {
114
+ }, [o(l, {
101
115
  size: "small",
102
116
  bordered: !1,
103
117
  type: "primary"
104
118
  }, {
105
- default: () => [l("⌘")]
106
- }), e(r, {
119
+ default: () => [r("⌘")]
120
+ }), o(l, {
107
121
  size: "small",
108
122
  bordered: !1,
109
123
  type: "primary"
110
124
  }, {
111
- default: () => [l("K")]
125
+ default: () => [r("K")]
112
126
  })])])
113
- })]), e("div", {
127
+ })]), o("div", {
114
128
  class: ["flex-1 min-h-0", i.value ? "border-t border-muted" : ""]
115
- }, [e(h, null, {
116
- default: () => [e(b, {
129
+ }, [o(h, null, {
130
+ default: () => [o(b, {
117
131
  options: m.value,
118
132
  value: a.value,
119
133
  collapsed: t.value && !i.value,
@@ -121,13 +135,13 @@ const ve = /* @__PURE__ */ c({
121
135
  collapsedWidth: 60,
122
136
  collapsedIconSize: 20
123
137
  }, null)]
124
- })]), e("div", {
138
+ })]), o("div", {
125
139
  class: "flex-none hidden lg:flex flex-col items-center gap-2 p-2 border-t border-muted/50"
126
- }, [e(M, {
127
- collapsed: o.collapsed
140
+ }, [o(M, {
141
+ collapsed: e.collapsed
128
142
  }, null)])]);
129
143
  }
130
144
  });
131
145
  export {
132
- ve as DuxMenuMain
146
+ Bo as DuxMenuMain
133
147
  };
@@ -24,6 +24,20 @@ import "vue-draggable-plus";
24
24
  import "@vee-validate/i18n";
25
25
  import "colorizr";
26
26
  import "echarts";
27
+ import "highlight.js/lib/core";
28
+ import "highlight.js/lib/languages/bash";
29
+ import "highlight.js/lib/languages/css";
30
+ import "highlight.js/lib/languages/go";
31
+ import "highlight.js/lib/languages/java";
32
+ import "highlight.js/lib/languages/javascript";
33
+ import "highlight.js/lib/languages/json";
34
+ import "highlight.js/lib/languages/markdown";
35
+ import "highlight.js/lib/languages/php";
36
+ import "highlight.js/lib/languages/python";
37
+ import "highlight.js/lib/languages/shell";
38
+ import "highlight.js/lib/languages/sql";
39
+ import "highlight.js/lib/languages/typescript";
40
+ import "highlight.js/lib/languages/xml";
27
41
  import "@ant-design/colors";
28
42
  import "@unocss/preset-icons/browser";
29
43
  import "@unocss/preset-typography";
@@ -44,7 +58,7 @@ import "mime";
44
58
  import "dayjs";
45
59
  import "@tanstack/vue-query";
46
60
  import { useUI as e } from "../../hooks/ui.js";
47
- const oo = /* @__PURE__ */ p({
61
+ const co = /* @__PURE__ */ p({
48
62
  name: "DuxMobileMenu",
49
63
  props: {},
50
64
  setup(l) {
@@ -64,5 +78,5 @@ const oo = /* @__PURE__ */ p({
64
78
  }
65
79
  });
66
80
  export {
67
- oo as DuxMobileMenu
81
+ co as DuxMobileMenu
68
82
  };
@@ -30,6 +30,20 @@ import { DuxDrawEmpty as f } from "../components/draw/drawEmpty.js";
30
30
  import "@vee-validate/i18n";
31
31
  import "colorizr";
32
32
  import "echarts";
33
+ import "highlight.js/lib/core";
34
+ import "highlight.js/lib/languages/bash";
35
+ import "highlight.js/lib/languages/css";
36
+ import "highlight.js/lib/languages/go";
37
+ import "highlight.js/lib/languages/java";
38
+ import "highlight.js/lib/languages/javascript";
39
+ import "highlight.js/lib/languages/json";
40
+ import "highlight.js/lib/languages/markdown";
41
+ import "highlight.js/lib/languages/php";
42
+ import "highlight.js/lib/languages/python";
43
+ import "highlight.js/lib/languages/shell";
44
+ import "highlight.js/lib/languages/sql";
45
+ import "highlight.js/lib/languages/typescript";
46
+ import "highlight.js/lib/languages/xml";
33
47
  import "@ant-design/colors";
34
48
  import "@unocss/preset-icons/browser";
35
49
  import "@unocss/preset-typography";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, createVNode as t } from "vue";
2
- import { DuxCard as e } from "../components/card/card.js";
2
+ import { DuxCard as m } from "../components/card/card.js";
3
3
  import "clsx";
4
4
  import "naive-ui";
5
5
  import "vue-echarts";
@@ -30,6 +30,20 @@ import "vue-draggable-plus";
30
30
  import "@vee-validate/i18n";
31
31
  import "colorizr";
32
32
  import "echarts";
33
+ import "highlight.js/lib/core";
34
+ import "highlight.js/lib/languages/bash";
35
+ import "highlight.js/lib/languages/css";
36
+ import "highlight.js/lib/languages/go";
37
+ import "highlight.js/lib/languages/java";
38
+ import "highlight.js/lib/languages/javascript";
39
+ import "highlight.js/lib/languages/json";
40
+ import "highlight.js/lib/languages/markdown";
41
+ import "highlight.js/lib/languages/php";
42
+ import "highlight.js/lib/languages/python";
43
+ import "highlight.js/lib/languages/shell";
44
+ import "highlight.js/lib/languages/sql";
45
+ import "highlight.js/lib/languages/typescript";
46
+ import "highlight.js/lib/languages/xml";
33
47
  import "@ant-design/colors";
34
48
  import "@unocss/preset-icons/browser";
35
49
  import "@unocss/preset-typography";
@@ -44,7 +58,7 @@ import "aieditor";
44
58
  import "@iconify-json/tabler/icons.json";
45
59
  import "../components/posterEditor/elements/index.js";
46
60
  import "fabric";
47
- const Z = /* @__PURE__ */ o({
61
+ const ct = /* @__PURE__ */ o({
48
62
  name: "DuxPageStatus",
49
63
  props: {
50
64
  title: String,
@@ -57,7 +71,7 @@ const Z = /* @__PURE__ */ o({
57
71
  setup(r, {
58
72
  slots: i
59
73
  }) {
60
- return () => t(e, {
74
+ return () => t(m, {
61
75
  class: "size-full flex items-center justify-center",
62
76
  bordered: r.bordered
63
77
  }, {
@@ -78,5 +92,5 @@ const Z = /* @__PURE__ */ o({
78
92
  }
79
93
  });
80
94
  export {
81
- Z as DuxPageStatus
95
+ ct as DuxPageStatus
82
96
  };
@@ -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-from-opacity:100%;--un-text-opacity:100%;--un-bg-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-ease:initial;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-border-opacity:100%;--un-to-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-x-reverse:initial;--un-border-style:solid;--un-divide-opacity:100%;--un-divide-y-reverse:initial;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-ease:initial;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--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%;}
@@ -1237,6 +1237,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
1237
1237
  .min-w-0{min-width:calc(var(--spacing) * 0);}
1238
1238
  .min-w-110{min-width:calc(var(--spacing) * 110);}
1239
1239
  .min-w-60{min-width:calc(var(--spacing) * 60);}
1240
+ .w-1{width:calc(var(--spacing) * 1);}
1240
1241
  .w-12{width:calc(var(--spacing) * 12);}
1241
1242
  .w-120{width:calc(var(--spacing) * 120);}
1242
1243
  .w-120px{width:120px;}
@@ -1,6 +1,6 @@
1
+ import type { JsonSchemaNode } from '@duxweb/dvha-core';
1
2
  import type { TableColumn } from '@duxweb/dvha-naiveui';
2
3
  import type { PropType } from 'vue';
3
- import { type JsonSchemaNode } from '@duxweb/dvha-core';
4
4
  declare const Select: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  path: StringConstructor;
6
6
  columns: {
@@ -3,4 +3,5 @@ export * from './formItem';
3
3
  export * from './formLayout';
4
4
  export * from './modalForm';
5
5
  export * from './pageForm';
6
+ export * from './pageTabForm';
6
7
  export * from './settingForm';
@@ -29,10 +29,6 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
29
29
  onError: {
30
30
  type: PropType<(error?: IDataProviderError) => void>;
31
31
  };
32
- size: {
33
- type: PropType<"small" | "medium" | "large">;
34
- default: string;
35
- };
36
32
  invalidate: {
37
33
  type: PropType<string>;
38
34
  };
@@ -65,14 +61,9 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
65
61
  onError: {
66
62
  type: PropType<(error?: IDataProviderError) => void>;
67
63
  };
68
- size: {
69
- type: PropType<"small" | "medium" | "large">;
70
- default: string;
71
- };
72
64
  invalidate: {
73
65
  type: PropType<string>;
74
66
  };
75
67
  }>> & Readonly<{}>, {
76
- size: "small" | "medium" | "large";
77
68
  labelPlacement: "left" | "top" | "page" | "setting";
78
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,63 @@
1
+ import type { IDataProviderError, IDataProviderResponse } from '@duxweb/dvha-core';
2
+ import type { MaybeRef, PropType } from 'vue';
3
+ export declare const DuxPageTabForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ id: {
5
+ type: PropType<string | number>;
6
+ };
7
+ action: {
8
+ type: PropType<"create" | "edit">;
9
+ };
10
+ title: {
11
+ type: PropType<string>;
12
+ };
13
+ path: {
14
+ type: PropType<string>;
15
+ };
16
+ data: {
17
+ type: PropType<MaybeRef<Record<string, any>>>;
18
+ };
19
+ onSuccess: {
20
+ type: PropType<(data?: IDataProviderResponse) => void>;
21
+ };
22
+ onError: {
23
+ type: PropType<(error?: IDataProviderError) => void>;
24
+ };
25
+ invalidate: {
26
+ type: PropType<string>;
27
+ };
28
+ defaultTab: {
29
+ type: PropType<string>;
30
+ default: string;
31
+ };
32
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ id: {
34
+ type: PropType<string | number>;
35
+ };
36
+ action: {
37
+ type: PropType<"create" | "edit">;
38
+ };
39
+ title: {
40
+ type: PropType<string>;
41
+ };
42
+ path: {
43
+ type: PropType<string>;
44
+ };
45
+ data: {
46
+ type: PropType<MaybeRef<Record<string, any>>>;
47
+ };
48
+ onSuccess: {
49
+ type: PropType<(data?: IDataProviderResponse) => void>;
50
+ };
51
+ onError: {
52
+ type: PropType<(error?: IDataProviderError) => void>;
53
+ };
54
+ invalidate: {
55
+ type: PropType<string>;
56
+ };
57
+ defaultTab: {
58
+ type: PropType<string>;
59
+ default: string;
60
+ };
61
+ }>> & Readonly<{}>, {
62
+ defaultTab: string;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -54,7 +54,7 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
54
54
  default: string;
55
55
  };
56
56
  hookTableProps: {
57
- type: PropType<UseTableProps>;
57
+ type: PropType<Partial<UseTableProps>>;
58
58
  };
59
59
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
60
  path: {
@@ -100,7 +100,7 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
100
100
  default: string;
101
101
  };
102
102
  hookTableProps: {
103
- type: PropType<UseTableProps>;
103
+ type: PropType<Partial<UseTableProps>>;
104
104
  };
105
105
  }>> & Readonly<{}>, {
106
106
  pagination: boolean | TablePagination;
@@ -49,7 +49,7 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
49
49
  default: string;
50
50
  };
51
51
  hookTableProps: {
52
- type: PropType<import("@duxweb/dvha-naiveui").UseTableProps>;
52
+ type: PropType<Partial<import("@duxweb/dvha-naiveui").UseTableProps>>;
53
53
  };
54
54
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
55
  path: {
@@ -95,7 +95,7 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
95
95
  default: string;
96
96
  };
97
97
  hookTableProps: {
98
- type: PropType<import("@duxweb/dvha-naiveui").UseTableProps>;
98
+ type: PropType<Partial<import("@duxweb/dvha-naiveui").UseTableProps>>;
99
99
  };
100
100
  }>> & Readonly<{}>, {
101
101
  pagination: boolean | import("@duxweb/dvha-naiveui").TablePagination;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-pro",
3
3
  "type": "module",
4
- "version": "1.0.31",
4
+ "version": "1.0.33",
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.31",
37
- "@duxweb/dvha-naiveui": "^1.0.31",
36
+ "@duxweb/dvha-core": "^1.0.33",
37
+ "@duxweb/dvha-naiveui": "^1.0.33",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
40
  "@tanstack/vue-query": "^5.80.7",
@@ -43,6 +43,7 @@
43
43
  "@unocss/runtime": "^66.2.1",
44
44
  "@vee-validate/i18n": "^4.15.1",
45
45
  "@vee-validate/rules": "^4.15.1",
46
+ "@visactor/vchart": "^2.0.0",
46
47
  "@vueuse/core": "^13.3.0",
47
48
  "@vueuse/integrations": "^13.3.0",
48
49
  "ace-builds": "^1.43.0",
@@ -52,6 +53,7 @@
52
53
  "dayjs": "^1.11.13",
53
54
  "echarts": "^5.6.0",
54
55
  "fabric": "^6.7.0",
56
+ "highlight.js": "^11.11.1",
55
57
  "jinrishici": "^1.0.6",
56
58
  "jsep": "^1.4.0",
57
59
  "konva": "^9.3.20",