@duxweb/dvha-pro 1.0.26 → 1.0.28

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.
@@ -6,7 +6,7 @@ export interface DuxDynamicDataColumn {
6
6
  copy?: boolean;
7
7
  width?: number;
8
8
  render?: (cell: Record<string, any>, rowIndex: number) => VNode;
9
- schema?: JsonSchemaNode | JsonSchemaNode[];
9
+ schema?: JsonSchemaNode | JsonSchemaNode[] | ((cell: Record<string, any>, rowIndex: number) => JsonSchemaNode | JsonSchemaNode[]);
10
10
  }
11
11
  export declare const DuxDynamicData: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  createAction: {
@@ -13,6 +13,10 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
13
13
  description: {
14
14
  type: PropType<string>;
15
15
  };
16
+ labelPlacement: {
17
+ type: PropType<"left" | "top" | "setting" | "page">;
18
+ default: string;
19
+ };
16
20
  path: {
17
21
  type: PropType<string>;
18
22
  };
@@ -45,6 +49,10 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
45
49
  description: {
46
50
  type: PropType<string>;
47
51
  };
52
+ labelPlacement: {
53
+ type: PropType<"left" | "top" | "setting" | "page">;
54
+ default: string;
55
+ };
48
56
  path: {
49
57
  type: PropType<string>;
50
58
  };
@@ -66,4 +74,5 @@ export declare const DuxPageForm: import("vue").DefineComponent<import("vue").Ex
66
74
  };
67
75
  }>> & Readonly<{}>, {
68
76
  size: "small" | "medium" | "large";
77
+ labelPlacement: "left" | "top" | "page" | "setting";
69
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -114,4 +114,5 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
114
114
  actions: () => any;
115
115
  sideLeft: () => any;
116
116
  sideRight: () => any;
117
+ header: () => any;
117
118
  }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -23,7 +23,7 @@ export interface DrawerActionItem extends BaseActionItem {
23
23
  }
24
24
  export interface LinkActionItem extends BaseActionItem {
25
25
  type: 'link';
26
- path: string | ((id?: unknown, item?: Record<string, any>) => string);
26
+ path?: string | ((id?: unknown, item?: Record<string, any>) => string);
27
27
  }
28
28
  export interface ConfirmActionItem extends BaseActionItem {
29
29
  type: 'confirm';
@@ -40,7 +40,7 @@ export interface RequestActionItem extends BaseActionItem {
40
40
  export interface DeleteActionItem extends BaseActionItem {
41
41
  type: 'delete';
42
42
  content?: string;
43
- path: string | ((id?: unknown, item?: Record<string, any>) => string);
43
+ path?: string | ((id?: unknown, item?: Record<string, any>) => string);
44
44
  }
45
45
  export interface CallbackActionItem extends BaseActionItem {
46
46
  type: 'callback';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-pro",
3
3
  "type": "module",
4
- "version": "1.0.26",
4
+ "version": "1.0.28",
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.26",
37
- "@duxweb/dvha-naiveui": "^1.0.26",
36
+ "@duxweb/dvha-core": "^1.0.28",
37
+ "@duxweb/dvha-naiveui": "^1.0.28",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
40
  "@tanstack/vue-query": "^5.80.7",