@dazhicheng/utils 1.3.5 → 1.3.7

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.
@@ -83,4 +83,3 @@ export declare function showSuccess(message: string, showMessage?: boolean): voi
83
83
  * @returns 是否为 HttpError 类型
84
84
  */
85
85
  export declare const isHttpError: (error: unknown) => error is HttpError;
86
- //# sourceMappingURL=error.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { TtHttpReturnType } from "./type";
2
2
  /** 退出登录函数 */
3
3
  export declare function TtHttp(config: any): TtHttpReturnType;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const fourDotsSpinnerSvg = "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\">\n <style>\n .spinner {\n transform-origin: 20px 20px;\n animation: rotate 1.6s linear infinite;\n }\n .dot {\n fill: var(--theme-color);\n animation: fade 1.6s infinite;\n }\n .dot:nth-child(1) { animation-delay: 0s; }\n .dot:nth-child(2) { animation-delay: 0.5s; }\n .dot:nth-child(3) { animation-delay: 1s; }\n .dot:nth-child(4) { animation-delay: 1.5s; }\n @keyframes rotate {\n 100% { transform: rotate(360deg); }\n }\n @keyframes fade {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.5; }\n }\n </style>\n <g class=\"spinner\">\n <circle class=\"dot\" cx=\"20\" cy=\"8\" r=\"4\"/>\n <circle class=\"dot\" cx=\"32\" cy=\"20\" r=\"4\"/>\n <circle class=\"dot\" cx=\"20\" cy=\"32\" r=\"4\"/>\n <circle class=\"dot\" cx=\"8\" cy=\"20\" r=\"4\"/>\n </g>\n </svg>\n";
2
- //# sourceMappingURL=loadinSvg.d.ts.map
@@ -9,4 +9,3 @@ export declare const loadingService: {
9
9
  */
10
10
  hideLoading(): void;
11
11
  };
12
- //# sourceMappingURL=loading.d.ts.map
@@ -35,4 +35,3 @@ export declare enum HttpMsg {
35
35
  serviceUnavailable = "\u670D\u52A1\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",
36
36
  unauthorized = "\u672A\u6388\u6743\u8BBF\u95EE\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55"
37
37
  }
38
- //# sourceMappingURL=status.d.ts.map
@@ -21,4 +21,3 @@ export interface TtHttpReturnType {
21
21
  request<T>(config: ExtendedAxiosRequestConfig): Promise<T>;
22
22
  logOut: () => void;
23
23
  }
24
- //# sourceMappingURL=type.d.ts.map
package/dist/calc.d.ts CHANGED
@@ -55,4 +55,3 @@ declare const _default: {
55
55
  calc: typeof calc;
56
56
  };
57
57
  export default _default;
58
- //# sourceMappingURL=calc.d.ts.map
package/dist/check.d.ts CHANGED
@@ -7,4 +7,3 @@
7
7
  * @returns 是否满足版本要求
8
8
  */
9
9
  export declare function checkVersion(currentVersion: string, major: number, minor: number, patch?: number): boolean;
10
- //# sourceMappingURL=check.d.ts.map
package/dist/file.d.ts CHANGED
@@ -10,4 +10,3 @@ interface HttpResponse<T> {
10
10
  }
11
11
  export declare const downloadFile: (res: HttpResponse<Blob>, type: string) => void;
12
12
  export {};
13
- //# sourceMappingURL=file.d.ts.map
package/dist/index.d.ts CHANGED
@@ -12,4 +12,3 @@ export * from "./stateHandler";
12
12
  export * from "./types";
13
13
  export * from "./stroge";
14
14
  export * from "./check";
15
- //# sourceMappingURL=index.d.ts.map