@fmdeui/fmui 1.0.47 → 1.0.49

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.
@@ -9,6 +9,7 @@ export declare const useBaseApi: (module: string, options?: CustomAxiosRequestCo
9
9
  download: (data: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
10
10
  get: (params: any, action: string, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
11
11
  page: (data: any, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
12
+ list: (data: any, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
12
13
  detail: (id: any, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
13
14
  dropdownData: (data: any, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
14
15
  add: (data: any, cancel?: boolean) => Promise<AxiosResponse<any, any, {}>>;
package/es/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { default as emitter } from './utils/mitt';
4
4
  import { default as Watermark } from './utils/watermark';
5
5
  import { default as commonFunction } from './hooks/commonFunction';
6
6
  import { default as other } from './hooks/other';
7
+ import { default as initIconfont } from './utils/getStyleSheets';
7
8
  import { EmptyArrayType } from './types';
8
9
  import { MessageHandler } from 'element-plus';
9
10
  import { App } from 'vue';
@@ -35,7 +36,7 @@ declare const commonFun: {
35
36
  value: () => Date[];
36
37
  }[];
37
38
  };
38
- export { setIntroduction, emitter as mittBus, Watermark, other, commonFunction, commonFun, setCssCdn, setJsCdn };
39
+ export { setIntroduction, emitter as mittBus, Watermark, other, initIconfont, commonFunction, commonFun, setCssCdn, setJsCdn };
39
40
  export { version } from './version';
40
41
  export declare const install: (app: App) => void;
41
42
  export default installer;
package/es/index.mjs CHANGED
@@ -4,6 +4,7 @@ export { default as mittBus } from './packages/utils/mitt.mjs';
4
4
  export { default as Watermark } from './packages/utils/watermark.mjs';
5
5
  import commonFunction from './packages/hooks/commonFunction.mjs';
6
6
  export { default as other } from './packages/hooks/other.mjs';
7
+ export { default as initIconfont } from './packages/utils/getStyleSheets.mjs';
7
8
  import './packages/types/index.mjs';
8
9
  export { AccountTypeEnum, HttpMethodEnum, JobCreateTypeEnum } from './packages/api/index.mjs';
9
10
  import './packages/utils/index.mjs';
@@ -74,6 +74,16 @@ const useBaseApi = (module, options = {}) => {
74
74
  cancel
75
75
  );
76
76
  },
77
+ list: function(data, cancel = false) {
78
+ return request(
79
+ {
80
+ url: baseUrl + "list",
81
+ method: "post",
82
+ data
83
+ },
84
+ cancel
85
+ );
86
+ },
77
87
  detail: function(id, cancel = false) {
78
88
  return request(
79
89
  {