@das-fed/utils 1.0.2 → 1.0.4
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/api-services/index.d.ts +1 -0
- package/api-services/index.js +2 -6964
- package/api-services/modules/app-manage.d.ts +2 -0
- package/api-services/modules/app-manage.js +3 -6964
- package/api-services/modules/authentication.d.ts +2 -0
- package/api-services/modules/authentication.js +3 -6964
- package/api-services/modules/bems.d.ts +6 -0
- package/api-services/modules/bems.js +6 -6967
- package/api-services/modules/contract.d.ts +2 -0
- package/api-services/modules/contract.js +3 -6964
- package/api-services/modules/duty-manage.d.ts +7 -0
- package/api-services/modules/duty-manage.js +7 -6968
- package/api-services/modules/enterpriseright.d.ts +2 -0
- package/api-services/modules/enterpriseright.js +3 -6964
- package/api-services/modules/file.d.ts +36 -0
- package/api-services/modules/file.js +380 -7040
- package/api-services/modules/gateway-edge.d.ts +2 -0
- package/api-services/modules/gateway-edge.js +3 -6964
- package/api-services/modules/index.d.ts +21 -0
- package/api-services/modules/index.js +445 -7105
- package/api-services/modules/iot.d.ts +15 -0
- package/api-services/modules/iot.js +16 -6977
- package/api-services/modules/justauth.d.ts +3 -0
- package/api-services/modules/justauth.js +4 -6965
- package/api-services/modules/knowledge.d.ts +2 -0
- package/api-services/modules/knowledge.js +3 -6964
- package/api-services/modules/link.d.ts +2 -0
- package/api-services/modules/link.js +3 -6964
- package/api-services/modules/permission.d.ts +2 -0
- package/api-services/modules/permission.js +3 -6964
- package/api-services/modules/platformManage.d.ts +14 -0
- package/api-services/modules/platformManage.js +10 -6971
- package/api-services/modules/portal.d.ts +2 -0
- package/api-services/modules/portal.js +3 -6964
- package/api-services/modules/space-manage.d.ts +2 -0
- package/api-services/modules/space-manage.js +3 -6964
- package/api-services/modules/super-admin.d.ts +8 -0
- package/api-services/modules/super-admin.js +6 -6967
- package/api-services/modules/supplier.d.ts +6 -0
- package/api-services/modules/supplier.js +5 -6966
- package/api-services/modules/supplychain-manage.d.ts +2 -0
- package/api-services/modules/supplychain-manage.js +3 -6964
- package/api-services/modules/systemConfiguration.d.ts +2 -0
- package/api-services/modules/systemConfiguration.js +3 -6964
- package/api-services/modules/tool.d.ts +2 -0
- package/api-services/modules/tool.js +3 -6964
- package/api-services/src/create-service.d.ts +1 -0
- package/api-services/src/create-service.js +2284 -6013
- package/api-services/src/sso.d.ts +29 -0
- package/api-services/src/sso.js +506 -669
- package/api-services/src/util.d.ts +1 -0
- package/api-services/src/util.js +243 -247
- package/atob/index.d.ts +2 -0
- package/common-info/getIframeUrl.d.ts +9 -0
- package/common-info/getIframeUrl.js +6 -11
- package/common-info/index.d.ts +42 -0
- package/common-info/index.js +104 -163
- package/common-info/setInfoFromUrl.d.ts +8 -0
- package/common-tools/arr-tools.d.ts +15 -0
- package/common-tools/date-format.d.ts +7 -0
- package/common-tools/get-url-params.d.ts +33 -0
- package/common-tools/get-url-params.js +1 -0
- package/common-tools/handle-data.d.ts +6 -0
- package/common-tools/index.d.ts +7 -0
- package/common-tools/index.js +7 -117
- package/common-tools/nest-tree-format.d.ts +30 -0
- package/common-tools/obj-tools.d.ts +7 -0
- package/common-tools/setHtmlMinWH.d.ts +5 -0
- package/common-tools/throttled.d.ts +7 -0
- package/config/index.d.ts +2 -0
- package/curring-http/index.d.ts +11 -0
- package/directive/auth.d.ts +8 -0
- package/directive/auth.js +32 -190
- package/directive/clickOutside.d.ts +5 -0
- package/directive/clickOutside.js +19 -21
- package/directive/hoverInside.d.ts +5 -0
- package/directive/hoverInside.js +13 -15
- package/directive/index.d.ts +3 -0
- package/directive/index.js +6 -260
- package/directive/utils.d.ts +7 -0
- package/dom-check-in/index.d.ts +6 -0
- package/dom-watcher/index.d.ts +25 -0
- package/hooks/popup-manager/use-zindex.d.ts +5 -0
- package/index.d.ts +2 -0
- package/index.js +2 -266
- package/load-js/index.d.ts +3 -0
- package/load-js/index.js +8 -12
- package/oss/index.d.ts +2 -0
- package/oss/index.js +8 -12
- package/package.json +6 -7
- package/pinyin-first-character/index.d.ts +2 -0
- package/process-engine-info/index.d.ts +10 -0
- package/pure-image-src/index.d.ts +2 -0
- package/set-personal-info/index.d.ts +5 -0
- package/set-personal-info/index.js +516 -622
- package/size-watcher/index.d.ts +6 -0
- package/style/index.d.ts +2 -0
- package/style/math.d.ts +9 -0
- package/style/style.d.ts +30 -0
- package/token-tools/index.d.ts +18 -0
- package/token-tools/index.js +60 -1579
- package/vue/hooks/use-model-value.d.ts +3 -0
- package/vue/index.d.ts +1 -0
- package/vue/index.js +2 -8
- package/webSocket-service/index.d.ts +40 -0
- package/webSocket-service/index.js +35 -138
- package/with-install/index.d.ts +10 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type optionsRalated = {
|
|
2
|
+
bucketName: string;
|
|
3
|
+
importFileName: string | any;
|
|
4
|
+
autoContentType?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type ImExportFuncRelated = {
|
|
7
|
+
status: boolean;
|
|
8
|
+
taskId?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const useFile: () => {
|
|
11
|
+
showProgressDialog: any;
|
|
12
|
+
progressTitle: any;
|
|
13
|
+
percent: any;
|
|
14
|
+
progressStatus: any;
|
|
15
|
+
progressLoading: any;
|
|
16
|
+
progressResult: any;
|
|
17
|
+
errorFileName: any;
|
|
18
|
+
errorFileSize: any;
|
|
19
|
+
errorMessage: any;
|
|
20
|
+
errorImport: any;
|
|
21
|
+
errorFilePath: any;
|
|
22
|
+
fileImport: (importFunc: (n?: any) => Promise<ImExportFuncRelated>, file: any, options: optionsRalated, needProgress?: boolean, errPathName?: string, isBatch?: boolean) => Promise<void>;
|
|
23
|
+
fileExport: (exportFunc: () => Promise<ImExportFuncRelated>, fileName?: string, fileSuffix?: string) => Promise<void>;
|
|
24
|
+
fileAction: (exportFunc: () => Promise<ImExportFuncRelated>, fileName?: string, actionTitle?: string) => Promise<void>;
|
|
25
|
+
generateUniqueName: (fileName?: string) => string;
|
|
26
|
+
downloadFile: (path: any, filename: string, fileSuffix?: string) => void;
|
|
27
|
+
resetStataus: () => void;
|
|
28
|
+
checkProgress: (taskId: any, type: string, fileName: string, fileSuffix?: string) => Promise<void>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* 下载文件
|
|
32
|
+
* @param path 文件链接
|
|
33
|
+
* @param filename 下载文件名
|
|
34
|
+
*/
|
|
35
|
+
export declare const downloadFile: (path: any, filename: string, fileSuffix?: string) => void;
|
|
36
|
+
export {};
|