@chase-shao/vue-component-lib 1.2.64 → 1.2.66

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.
@@ -125,7 +125,7 @@ export declare function getListData(className: string, params: {
125
125
  data: object[];
126
126
  totalCount: number;
127
127
  }>;
128
- export declare function createData(className: string, data: object, url: string): Promise<number>;
128
+ export declare function createData(className: string, data: object, url: string): Promise<number[]>;
129
129
  export declare function updateData(className: string, id: string, data: object, url: string): Promise<any>;
130
130
  export declare function approveData(className: string, id: string, email: string, reason: string, data: object, url: string, status: string, ifGlobal: string): Promise<any>;
131
131
  export declare function getOptions(url: string, value?: string): Promise<SelectOption[]>;
@@ -151,3 +151,4 @@ export declare function getAssociator(workflowId: string): Promise<{
151
151
  associator: string;
152
152
  }[]>;
153
153
  export declare function deleteAssociator(associatorId: string): Promise<void>;
154
+ export declare function download(url: string, params?: any): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chase-shao/vue-component-lib",
3
- "version": "1.2.64",
3
+ "version": "1.2.66",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",