cd-form 2.0.32 → 2.0.34

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.
package/dist/types.d.ts CHANGED
@@ -45,6 +45,7 @@ export interface FormFieldConfig {
45
45
  borderColor?: string;
46
46
  type?: string;
47
47
  btnsList?: ButtonConfig[];
48
+ i18n?: boolean;
48
49
  };
49
50
  __vModel__?: string;
50
51
  placeholder?: string;
@@ -101,6 +102,9 @@ export interface FormDataConfig {
101
102
  fields: FormFieldConfig[];
102
103
  btnsList: any[];
103
104
  columnBtnsList: any[];
105
+ formTitle?: string;
106
+ name?: string;
107
+ hasWorkflow?: boolean;
104
108
  }
105
109
  /**
106
110
  * 列选项配置
@@ -1,7 +1,8 @@
1
+ import { AxiosResponse } from 'axios';
1
2
  export declare const defHttp: {
2
- get: (url: string, config?: any) => any;
3
- post: (url: string, data?: any, config?: any) => any;
4
- put: (url: string, data?: any, config?: any) => any;
5
- delete: (url: string, config?: any) => any;
3
+ get: (url: string, config?: any) => Promise< AxiosResponse<any, any, {}>>;
4
+ post: (url: string, data?: any, config?: any) => Promise< AxiosResponse<any, any, {}>>;
5
+ put: (url: string, data?: any, config?: any) => Promise< AxiosResponse<any, any, {}>>;
6
+ delete: (url: string, config?: any) => Promise< AxiosResponse<any, any, {}>>;
6
7
  };
7
8
  export default defHttp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cd-form",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "description": "低代码单据组件,支持动态表单和表格展示",
5
5
  "type": "module",
6
6
  "main": "./dist/cd-form.umd.cjs",
@@ -43,7 +43,7 @@
43
43
  "@vitejs/plugin-vue": "^5.0.0",
44
44
  "cd-personselector": "^1.1.0",
45
45
  "cd-usercard": "^2.3.3",
46
- "cd-vue-filter": "^2.3.8",
46
+ "cd-vue-filter": "^2.4.1",
47
47
  "playwright": "^1.58.2",
48
48
  "sass": "^1.69.0",
49
49
  "tdesign-vue-next": "^1.9.0",