@fangzhongya/utils 0.0.36 → 0.0.38

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.
Files changed (66) hide show
  1. package/dist/basic/array/index.cjs +7 -7
  2. package/dist/basic/array/index.js +10 -10
  3. package/dist/basic/index.cjs +15 -15
  4. package/dist/basic/index.js +14 -14
  5. package/dist/basic/object/index.cjs +7 -7
  6. package/dist/basic/object/index.js +7 -7
  7. package/dist/basic/string/index.cjs +10 -10
  8. package/dist/basic/string/index.js +12 -12
  9. package/dist/chunk-5VET7DKF.js +14 -0
  10. package/dist/{chunk-JZQA6OH4.cjs → chunk-77ZAHOKN.cjs} +17 -13
  11. package/dist/{chunk-TQGXHFVK.js → chunk-BWA6OSIZ.js} +20 -16
  12. package/dist/chunk-FA4AVVIV.cjs +24 -0
  13. package/dist/chunk-IKAH5YFL.cjs +14 -0
  14. package/dist/chunk-LHMAKOVB.cjs +123 -0
  15. package/dist/{chunk-TERIHBSO.js → chunk-SZ3EQ45X.js} +14 -0
  16. package/dist/{chunk-5WEKCLPK.cjs → chunk-TTIQUN2J.cjs} +14 -0
  17. package/dist/chunk-UQM7IS4W.js +123 -0
  18. package/dist/{chunk-AXX6AFYC.js → chunk-XOTRYNO4.js} +3 -3
  19. package/dist/css/index.cjs +13 -13
  20. package/dist/css/index.js +13 -13
  21. package/dist/html/index.cjs +1 -1
  22. package/dist/html/index.js +1 -1
  23. package/dist/{index--yFTfMpc.d.cts → index-CPpoPAO6.d.cts} +3 -1
  24. package/dist/index-CTT_peAX.d.cts +20 -0
  25. package/dist/{index-CLnASTZ5.d.ts → index-Cgz5ZPX9.d.ts} +3 -1
  26. package/dist/index-DQTqufH0.d.ts +20 -0
  27. package/dist/index.cjs +50 -48
  28. package/dist/index.d.cts +4 -2
  29. package/dist/index.d.ts +4 -2
  30. package/dist/index.js +50 -48
  31. package/dist/name/index.cjs +3 -3
  32. package/dist/name/index.js +4 -4
  33. package/dist/urls/getReplaceUrls.cjs +3 -3
  34. package/dist/urls/getReplaceUrls.js +2 -2
  35. package/dist/urls/index.cjs +19 -15
  36. package/dist/urls/index.d.cts +1 -0
  37. package/dist/urls/index.d.ts +1 -0
  38. package/dist/urls/index.js +23 -19
  39. package/dist/urls/toUrlParam.cjs +7 -0
  40. package/dist/urls/toUrlParam.d.cts +11 -0
  41. package/dist/urls/toUrlParam.d.ts +11 -0
  42. package/dist/urls/toUrlParam.js +7 -0
  43. package/dist/window/download.cjs +17 -0
  44. package/dist/window/download.d.cts +50 -0
  45. package/dist/window/download.d.ts +50 -0
  46. package/dist/window/download.js +17 -0
  47. package/dist/window/index.cjs +16 -2
  48. package/dist/window/index.d.cts +1 -0
  49. package/dist/window/index.d.ts +1 -0
  50. package/dist/window/index.js +15 -1
  51. package/package.json +11 -1
  52. package/dist/chunk-VT3YWR6G.cjs +0 -24
  53. package/dist/index-DAi9PP0w.d.cts +0 -13
  54. package/dist/index-vCPDFXBq.d.ts +0 -13
  55. package/dist/{chunk-IVDRKJ33.js → chunk-BFN33JM5.js} +3 -3
  56. package/dist/{chunk-ZXWKQRGH.cjs → chunk-BG2YS767.cjs} +2 -2
  57. package/dist/{chunk-XDTLZL44.cjs → chunk-DI5JC25H.cjs} +11 -11
  58. package/dist/{chunk-ATRR4ELS.js → chunk-HAXXG6HP.js} +9 -9
  59. package/dist/{chunk-KDSELPFY.js → chunk-HKUOF43F.js} +10 -10
  60. package/dist/{chunk-SR4YVP26.cjs → chunk-HPQRTXFK.cjs} +6 -6
  61. package/dist/{chunk-IY346OU3.js → chunk-IEQHKLEL.js} +6 -6
  62. package/dist/{chunk-M7CA6X7T.js → chunk-JQPUT54I.js} +12 -12
  63. package/dist/{chunk-4E4OWBN7.cjs → chunk-UGT4QBTM.cjs} +6 -6
  64. package/dist/{chunk-HMAAC5QA.cjs → chunk-UJ6W4KCR.cjs} +3 -3
  65. package/dist/{chunk-3SJOLMSI.cjs → chunk-UZMD5VAA.cjs} +8 -8
  66. package/dist/{chunk-GHJWTV6H.js → chunk-YP4WA3PQ.js} +3 -3
@@ -6,6 +6,14 @@ var _chunkVYOTXPMMcjs = require('./chunk-VYOTXPMM.cjs');
6
6
 
7
7
 
8
8
 
9
+
10
+
11
+ var _chunkLHMAKOVBcjs = require('./chunk-LHMAKOVB.cjs');
12
+
13
+
14
+
15
+
16
+
9
17
  var _chunkZRO5GHYVcjs = require('./chunk-ZRO5GHYV.cjs');
10
18
 
11
19
 
@@ -15,6 +23,12 @@ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
15
23
  var window_exports = {};
16
24
  _chunk75ZPJI57cjs.__export.call(void 0, window_exports, {
17
25
  copy: () => _chunkVYOTXPMMcjs.copy,
26
+ downloadCSV: () => _chunkLHMAKOVBcjs.downloadCSV,
27
+ downloadFile: () => _chunkLHMAKOVBcjs.downloadFile,
28
+ downloadFromURL: () => _chunkLHMAKOVBcjs.downloadFromURL,
29
+ downloadJSON: () => _chunkLHMAKOVBcjs.downloadJSON,
30
+ downloadText: () => _chunkLHMAKOVBcjs.downloadText,
31
+ downloadViaAJAX: () => _chunkLHMAKOVBcjs.downloadViaAJAX,
18
32
  getAllParams: () => _chunkZRO5GHYVcjs.getAllParams,
19
33
  getParam: () => _chunkZRO5GHYVcjs.getParam,
20
34
  getUrlParam: () => _chunkZRO5GHYVcjs.getUrlParam,
@@ -0,0 +1,123 @@
1
+ // packages/window/download.ts
2
+ function downloadFile(data, options = {}) {
3
+ const {
4
+ filename = "download",
5
+ mimeType = "application/octet-stream",
6
+ charset = "utf-8",
7
+ bom = ""
8
+ } = options;
9
+ try {
10
+ let blobData;
11
+ if (data instanceof Blob) {
12
+ blobData = data;
13
+ } else if (typeof data === "object") {
14
+ const jsonString = JSON.stringify(data, null, 2);
15
+ blobData = bom + jsonString;
16
+ } else if (typeof data === "string") {
17
+ blobData = bom + data;
18
+ } else {
19
+ blobData = data;
20
+ }
21
+ const blob = new Blob([blobData], {
22
+ type: `${mimeType};charset=${charset}`
23
+ });
24
+ const blobUrl = URL.createObjectURL(blob);
25
+ const link = document.createElement("a");
26
+ link.href = blobUrl;
27
+ link.download = filename;
28
+ document.body.appendChild(link);
29
+ link.click();
30
+ document.body.removeChild(link);
31
+ URL.revokeObjectURL(blobUrl);
32
+ } catch (error) {
33
+ console.error("\u6587\u4EF6\u4E0B\u8F7D\u5931\u8D25:", error);
34
+ throw new Error(
35
+ `\u4E0B\u8F7D\u5931\u8D25: ${error instanceof Error ? error.message : "\u672A\u77E5\u9519\u8BEF"}`
36
+ );
37
+ }
38
+ }
39
+ function downloadText(text, filename = "text.txt", mimeType = "text/plain") {
40
+ downloadFile(text, { filename, mimeType });
41
+ }
42
+ function downloadJSON(jsonData, filename = "data.json") {
43
+ downloadFile(jsonData, {
44
+ filename,
45
+ mimeType: "application/json"
46
+ });
47
+ }
48
+ function downloadCSV(data, filename = "data.csv", headers) {
49
+ let csvContent = "";
50
+ if (Array.isArray(data) && data.length > 0) {
51
+ if (Array.isArray(data[0])) {
52
+ const rows = data;
53
+ csvContent = rows.map(
54
+ (row) => row.map((cell) => `"${String(cell).replace(/"/g, '""')}"`).join(",")
55
+ ).join("\n");
56
+ } else if (typeof data[0] === "object") {
57
+ const objects = data;
58
+ const objectHeaders = headers || Object.keys(objects[0]);
59
+ csvContent = objectHeaders.map((header) => `"${String(header).replace(/"/g, '""')}"`).join(",") + "\n";
60
+ csvContent += objects.map(
61
+ (obj) => objectHeaders.map(
62
+ (header) => `"${String(obj[header] || "").replace(
63
+ /"/g,
64
+ '""'
65
+ )}"`
66
+ ).join(",")
67
+ ).join("\n");
68
+ }
69
+ }
70
+ downloadFile(csvContent, {
71
+ filename,
72
+ mimeType: "text/csv"
73
+ });
74
+ }
75
+ function downloadFromURL(url, filename) {
76
+ const link = document.createElement("a");
77
+ link.href = url;
78
+ if (filename) {
79
+ link.download = filename;
80
+ }
81
+ document.body.appendChild(link);
82
+ link.click();
83
+ document.body.removeChild(link);
84
+ }
85
+ async function downloadViaAJAX(url, filename, options = {}) {
86
+ try {
87
+ const response = await fetch(url, {
88
+ method: "GET",
89
+ ...options
90
+ });
91
+ if (!response.ok) {
92
+ throw new Error(`HTTP error! status: ${response.status}`);
93
+ }
94
+ const blob = await response.blob();
95
+ let finalFilename = filename;
96
+ if (!finalFilename) {
97
+ const contentDisposition = response.headers.get(
98
+ "content-disposition"
99
+ );
100
+ if (contentDisposition) {
101
+ const filenameMatch = contentDisposition.match(/filename="?(.+?)"?$/);
102
+ if (filenameMatch) {
103
+ finalFilename = filenameMatch[1];
104
+ }
105
+ }
106
+ }
107
+ downloadFile(blob, { filename: finalFilename });
108
+ } catch (error) {
109
+ console.error("AJAX \u4E0B\u8F7D\u5931\u8D25:", error);
110
+ throw new Error(
111
+ `\u4E0B\u8F7D\u5931\u8D25: ${error instanceof Error ? error.message : "\u672A\u77E5\u9519\u8BEF"}`
112
+ );
113
+ }
114
+ }
115
+
116
+ export {
117
+ downloadFile,
118
+ downloadText,
119
+ downloadJSON,
120
+ downloadCSV,
121
+ downloadFromURL,
122
+ downloadViaAJAX
123
+ };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  string_exports
3
- } from "./chunk-KDSELPFY.js";
3
+ } from "./chunk-HKUOF43F.js";
4
4
  import {
5
5
  object_exports
6
- } from "./chunk-IY346OU3.js";
6
+ } from "./chunk-IEQHKLEL.js";
7
7
  import {
8
8
  array_exports
9
- } from "./chunk-ATRR4ELS.js";
9
+ } from "./chunk-HAXXG6HP.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-MLKGABMK.js";
@@ -1,10 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XDTLZL44.cjs');
2
-
3
-
4
- var _chunkSJPWB2OHcjs = require('../chunk-SJPWB2OH.cjs');
5
-
6
-
7
- var _chunkGFAUQTB2cjs = require('../chunk-GFAUQTB2.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-DI5JC25H.cjs');
8
2
 
9
3
 
10
4
  var _chunkCTLBHJGFcjs = require('../chunk-CTLBHJGF.cjs');
@@ -18,12 +12,6 @@ require('../chunk-LTVXRDTD.cjs');
18
12
  var _chunkHJTIJGIFcjs = require('../chunk-HJTIJGIF.cjs');
19
13
 
20
14
 
21
- var _chunkUGFSIZ5Pcjs = require('../chunk-UGFSIZ5P.cjs');
22
-
23
-
24
- var _chunkTE3XNGF4cjs = require('../chunk-TE3XNGF4.cjs');
25
-
26
-
27
15
  var _chunkVY5VQ7WEcjs = require('../chunk-VY5VQ7WE.cjs');
28
16
 
29
17
 
@@ -34,6 +22,18 @@ var _chunkIFVVMDAWcjs = require('../chunk-IFVVMDAW.cjs');
34
22
 
35
23
 
36
24
  var _chunk6TH2K7LEcjs = require('../chunk-6TH2K7LE.cjs');
25
+
26
+
27
+ var _chunkSJPWB2OHcjs = require('../chunk-SJPWB2OH.cjs');
28
+
29
+
30
+ var _chunkGFAUQTB2cjs = require('../chunk-GFAUQTB2.cjs');
31
+
32
+
33
+ var _chunkTE3XNGF4cjs = require('../chunk-TE3XNGF4.cjs');
34
+
35
+
36
+ var _chunkUGFSIZ5Pcjs = require('../chunk-UGFSIZ5P.cjs');
37
37
  require('../chunk-75ZPJI57.cjs');
38
38
 
39
39
 
package/dist/css/index.js CHANGED
@@ -1,10 +1,4 @@
1
- import "../chunk-M7CA6X7T.js";
2
- import {
3
- getScssImports
4
- } from "../chunk-NW2ZNMSV.js";
5
- import {
6
- getSVG
7
- } from "../chunk-WIYZQNGO.js";
1
+ import "../chunk-JQPUT54I.js";
8
2
  import {
9
3
  setClassName
10
4
  } from "../chunk-D3YMEKIF.js";
@@ -16,12 +10,6 @@ import {
16
10
  setObjStyle,
17
11
  toStyleString
18
12
  } from "../chunk-M323GS33.js";
19
- import {
20
- fetchUnitValue
21
- } from "../chunk-WX3JYE47.js";
22
- import {
23
- getAttrObj
24
- } from "../chunk-N3FZ4WUI.js";
25
13
  import {
26
14
  getPositionRelative
27
15
  } from "../chunk-MQHLAQQA.js";
@@ -34,6 +22,18 @@ import {
34
22
  import {
35
23
  getPrentCorres
36
24
  } from "../chunk-VNY5UA2Q.js";
25
+ import {
26
+ getScssImports
27
+ } from "../chunk-NW2ZNMSV.js";
28
+ import {
29
+ getSVG
30
+ } from "../chunk-WIYZQNGO.js";
31
+ import {
32
+ getAttrObj
33
+ } from "../chunk-N3FZ4WUI.js";
34
+ import {
35
+ fetchUnitValue
36
+ } from "../chunk-WX3JYE47.js";
37
37
  import "../chunk-MLKGABMK.js";
38
38
  export {
39
39
  fetchUnitValue,
@@ -12,8 +12,8 @@ var _chunk6TBH7RACcjs = require('../chunk-6TBH7RAC.cjs');
12
12
 
13
13
 
14
14
  var _chunkEWXBN4VGcjs = require('../chunk-EWXBN4VG.cjs');
15
- require('../chunk-ISHLY7WM.cjs');
16
15
  require('../chunk-TE3XNGF4.cjs');
16
+ require('../chunk-ISHLY7WM.cjs');
17
17
  require('../chunk-75ZPJI57.cjs');
18
18
 
19
19
 
@@ -12,8 +12,8 @@ import {
12
12
  import {
13
13
  htmlEscape
14
14
  } from "../chunk-NCSN3MC5.js";
15
- import "../chunk-5PX3AFSC.js";
16
15
  import "../chunk-N3FZ4WUI.js";
16
+ import "../chunk-5PX3AFSC.js";
17
17
  import "../chunk-MLKGABMK.js";
18
18
  export {
19
19
  analysisHtml,
@@ -9,6 +9,7 @@ import { getSuffix } from './urls/getSuffix.cjs';
9
9
  import { getUrlCatalogue } from './urls/getUrlCatalogue.cjs';
10
10
  import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.cjs';
11
11
  import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.cjs';
12
+ import { toUrlParam } from './urls/toUrlParam.cjs';
12
13
 
13
14
  declare const index_UrlCatalogue: typeof UrlCatalogue;
14
15
  declare const index_getImportUrl: typeof getImportUrl;
@@ -22,8 +23,9 @@ declare const index_getSuffix: typeof getSuffix;
22
23
  declare const index_getUrlCatalogue: typeof getUrlCatalogue;
23
24
  declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
24
25
  declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
26
+ declare const index_toUrlParam: typeof toUrlParam;
25
27
  declare namespace index {
26
- export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
28
+ export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj, index_toUrlParam as toUrlParam };
27
29
  }
28
30
 
29
31
  export { index as i };
@@ -0,0 +1,20 @@
1
+ import { copy } from './window/copy.cjs';
2
+ import { downloadCSV, downloadFile, downloadFromURL, downloadJSON, downloadText, downloadViaAJAX } from './window/download.cjs';
3
+ import { getAllParams, getParam, getUrlParam, getUrlParams } from './window/getParam.cjs';
4
+
5
+ declare const index_copy: typeof copy;
6
+ declare const index_downloadCSV: typeof downloadCSV;
7
+ declare const index_downloadFile: typeof downloadFile;
8
+ declare const index_downloadFromURL: typeof downloadFromURL;
9
+ declare const index_downloadJSON: typeof downloadJSON;
10
+ declare const index_downloadText: typeof downloadText;
11
+ declare const index_downloadViaAJAX: typeof downloadViaAJAX;
12
+ declare const index_getAllParams: typeof getAllParams;
13
+ declare const index_getParam: typeof getParam;
14
+ declare const index_getUrlParam: typeof getUrlParam;
15
+ declare const index_getUrlParams: typeof getUrlParams;
16
+ declare namespace index {
17
+ export { index_copy as copy, index_downloadCSV as downloadCSV, index_downloadFile as downloadFile, index_downloadFromURL as downloadFromURL, index_downloadJSON as downloadJSON, index_downloadText as downloadText, index_downloadViaAJAX as downloadViaAJAX, index_getAllParams as getAllParams, index_getParam as getParam, index_getUrlParam as getUrlParam, index_getUrlParams as getUrlParams };
18
+ }
19
+
20
+ export { index as i };
@@ -9,6 +9,7 @@ import { getSuffix } from './urls/getSuffix.js';
9
9
  import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
10
10
  import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
11
11
  import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.js';
12
+ import { toUrlParam } from './urls/toUrlParam.js';
12
13
 
13
14
  declare const index_UrlCatalogue: typeof UrlCatalogue;
14
15
  declare const index_getImportUrl: typeof getImportUrl;
@@ -22,8 +23,9 @@ declare const index_getSuffix: typeof getSuffix;
22
23
  declare const index_getUrlCatalogue: typeof getUrlCatalogue;
23
24
  declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
24
25
  declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
26
+ declare const index_toUrlParam: typeof toUrlParam;
25
27
  declare namespace index {
26
- export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
28
+ export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj, index_toUrlParam as toUrlParam };
27
29
  }
28
30
 
29
31
  export { index as i };
@@ -0,0 +1,20 @@
1
+ import { copy } from './window/copy.js';
2
+ import { downloadCSV, downloadFile, downloadFromURL, downloadJSON, downloadText, downloadViaAJAX } from './window/download.js';
3
+ import { getAllParams, getParam, getUrlParam, getUrlParams } from './window/getParam.js';
4
+
5
+ declare const index_copy: typeof copy;
6
+ declare const index_downloadCSV: typeof downloadCSV;
7
+ declare const index_downloadFile: typeof downloadFile;
8
+ declare const index_downloadFromURL: typeof downloadFromURL;
9
+ declare const index_downloadJSON: typeof downloadJSON;
10
+ declare const index_downloadText: typeof downloadText;
11
+ declare const index_downloadViaAJAX: typeof downloadViaAJAX;
12
+ declare const index_getAllParams: typeof getAllParams;
13
+ declare const index_getParam: typeof getParam;
14
+ declare const index_getUrlParam: typeof getUrlParam;
15
+ declare const index_getUrlParams: typeof getUrlParams;
16
+ declare namespace index {
17
+ export { index_copy as copy, index_downloadCSV as downloadCSV, index_downloadFile as downloadFile, index_downloadFromURL as downloadFromURL, index_downloadJSON as downloadJSON, index_downloadText as downloadText, index_downloadViaAJAX as downloadViaAJAX, index_getAllParams as getAllParams, index_getParam as getParam, index_getUrlParam as getUrlParam, index_getUrlParams as getUrlParams };
18
+ }
19
+
20
+ export { index as i };
package/dist/index.cjs CHANGED
@@ -1,40 +1,42 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJZQA6OH4cjs = require('./chunk-JZQA6OH4.cjs');
3
+ var _chunk77ZAHOKNcjs = require('./chunk-77ZAHOKN.cjs');
4
+ require('./chunk-3DD7YCN2.cjs');
5
+ require('./chunk-UJ6W4KCR.cjs');
6
+ require('./chunk-6A6EAFGL.cjs');
7
+ require('./chunk-CP2ZSRMU.cjs');
4
8
  require('./chunk-3ERQHPTD.cjs');
9
+ require('./chunk-IKAH5YFL.cjs');
5
10
 
6
11
 
7
- var _chunk5WEKCLPKcjs = require('./chunk-5WEKCLPK.cjs');
8
- require('./chunk-VYOTXPMM.cjs');
9
- require('./chunk-ZRO5GHYV.cjs');
12
+ var _chunkPV2N6PF2cjs = require('./chunk-PV2N6PF2.cjs');
13
+ require('./chunk-YAD5PHVF.cjs');
14
+ require('./chunk-RYBJGHXK.cjs');
10
15
  require('./chunk-27WA7EI2.cjs');
16
+ require('./chunk-IRKWYW5B.cjs');
11
17
  require('./chunk-43VE3KXL.cjs');
12
18
  require('./chunk-NESVPZNF.cjs');
13
19
  require('./chunk-77SI5VSS.cjs');
14
20
  require('./chunk-RFUD3TOQ.cjs');
15
- require('./chunk-3DD7YCN2.cjs');
16
- require('./chunk-HMAAC5QA.cjs');
17
- require('./chunk-6A6EAFGL.cjs');
18
- require('./chunk-CP2ZSRMU.cjs');
19
21
 
20
22
 
21
- var _chunkZXWKQRGHcjs = require('./chunk-ZXWKQRGH.cjs');
22
- require('./chunk-O6P3QI3B.cjs');
23
+ var _chunkBG2YS767cjs = require('./chunk-BG2YS767.cjs');
23
24
 
24
25
 
25
- var _chunkHUKQYAV6cjs = require('./chunk-HUKQYAV6.cjs');
26
- require('./chunk-5VQ4EAJZ.cjs');
27
- require('./chunk-IRKWYW5B.cjs');
26
+ var _chunkTTIQUN2Jcjs = require('./chunk-TTIQUN2J.cjs');
27
+ require('./chunk-VYOTXPMM.cjs');
28
+ require('./chunk-LHMAKOVB.cjs');
29
+ require('./chunk-ZRO5GHYV.cjs');
28
30
 
29
31
 
30
- var _chunkPV2N6PF2cjs = require('./chunk-PV2N6PF2.cjs');
31
- require('./chunk-YAD5PHVF.cjs');
32
- require('./chunk-RYBJGHXK.cjs');
32
+ var _chunkHUKQYAV6cjs = require('./chunk-HUKQYAV6.cjs');
33
+ require('./chunk-5VQ4EAJZ.cjs');
33
34
 
34
35
 
35
36
  var _chunkV6PYRA4Acjs = require('./chunk-V6PYRA4A.cjs');
36
37
  require('./chunk-FGQXKLTH.cjs');
37
38
  require('./chunk-KRBTSMT2.cjs');
39
+ require('./chunk-O6P3QI3B.cjs');
38
40
  require('./chunk-XHR36FJK.cjs');
39
41
  require('./chunk-WI55O3IV.cjs');
40
42
 
@@ -62,69 +64,69 @@ require('./chunk-6TBH7RAC.cjs');
62
64
  require('./chunk-EWXBN4VG.cjs');
63
65
 
64
66
 
65
- var _chunkZUIHJQD6cjs = require('./chunk-ZUIHJQD6.cjs');
66
- require('./chunk-2OR4FUOA.cjs');
67
- require('./chunk-EOJVE3HL.cjs');
68
-
69
-
70
- var _chunkXDTLZL44cjs = require('./chunk-XDTLZL44.cjs');
71
- require('./chunk-SJPWB2OH.cjs');
72
- require('./chunk-GFAUQTB2.cjs');
67
+ var _chunkDI5JC25Hcjs = require('./chunk-DI5JC25H.cjs');
73
68
  require('./chunk-CTLBHJGF.cjs');
74
69
  require('./chunk-4X7AFGTV.cjs');
75
70
  require('./chunk-LTVXRDTD.cjs');
76
71
  require('./chunk-HJTIJGIF.cjs');
72
+ require('./chunk-VY5VQ7WE.cjs');
73
+ require('./chunk-UGS2F6DK.cjs');
74
+ require('./chunk-IFVVMDAW.cjs');
75
+ require('./chunk-6TH2K7LE.cjs');
76
+ require('./chunk-SJPWB2OH.cjs');
77
+ require('./chunk-GFAUQTB2.cjs');
78
+ require('./chunk-TE3XNGF4.cjs');
77
79
 
78
80
 
79
- var _chunkWCOLWI35cjs = require('./chunk-WCOLWI35.cjs');
80
- require('./chunk-L2U4EVBL.cjs');
81
-
82
-
83
- var _chunkVT3YWR6Gcjs = require('./chunk-VT3YWR6G.cjs');
84
- require('./chunk-3SJOLMSI.cjs');
81
+ var _chunkFA4AVVIVcjs = require('./chunk-FA4AVVIV.cjs');
82
+ require('./chunk-UZMD5VAA.cjs');
83
+ require('./chunk-L7FSHU27.cjs');
85
84
  require('./chunk-JHV27P2Q.cjs');
86
85
  require('./chunk-ETMYYVQJ.cjs');
87
86
  require('./chunk-XG44HG5N.cjs');
88
87
  require('./chunk-QXK4IUBI.cjs');
89
88
  require('./chunk-3GVTDRAE.cjs');
90
- require('./chunk-J7S3KBHL.cjs');
91
- require('./chunk-L7FSHU27.cjs');
92
89
  require('./chunk-XWCRGY54.cjs');
93
- require('./chunk-4E4OWBN7.cjs');
90
+ require('./chunk-J7S3KBHL.cjs');
91
+ require('./chunk-UGT4QBTM.cjs');
92
+ require('./chunk-NRJPCN4J.cjs');
94
93
  require('./chunk-E4WBX6J5.cjs');
95
94
  require('./chunk-SLXKYTEU.cjs');
96
95
  require('./chunk-IIKQHLKT.cjs');
97
96
  require('./chunk-3VYRYSWK.cjs');
97
+ require('./chunk-UFYLVZNU.cjs');
98
98
  require('./chunk-CDQONLGU.cjs');
99
99
  require('./chunk-D3SX7OUV.cjs');
100
100
  require('./chunk-7AIT4XSD.cjs');
101
101
  require('./chunk-GOUC2DFA.cjs');
102
- require('./chunk-NRJPCN4J.cjs');
103
- require('./chunk-SR4YVP26.cjs');
104
- require('./chunk-XSQOJWXL.cjs');
105
- require('./chunk-GD3OA7GU.cjs');
106
- require('./chunk-MHHMXDHD.cjs');
102
+ require('./chunk-HPQRTXFK.cjs');
107
103
  require('./chunk-SOAKYJIG.cjs');
108
- require('./chunk-UFYLVZNU.cjs');
109
104
  require('./chunk-TCMJPIRM.cjs');
110
105
  require('./chunk-NDKOWDDX.cjs');
111
- require('./chunk-2H3KVSFA.cjs');
112
- require('./chunk-ILJLXJ5O.cjs');
106
+ require('./chunk-XSQOJWXL.cjs');
107
+ require('./chunk-GD3OA7GU.cjs');
108
+ require('./chunk-MHHMXDHD.cjs');
113
109
  require('./chunk-OJBZ7UUC.cjs');
114
110
  require('./chunk-JR6ZN6QD.cjs');
115
- require('./chunk-PW7RP73J.cjs');
116
111
  require('./chunk-XW3XIK3D.cjs');
112
+ require('./chunk-2H3KVSFA.cjs');
113
+ require('./chunk-ILJLXJ5O.cjs');
114
+ require('./chunk-PW7RP73J.cjs');
117
115
  require('./chunk-UEVMS6QD.cjs');
118
116
  require('./chunk-OQL4GIEJ.cjs');
119
117
  require('./chunk-A5LHXE5X.cjs');
120
118
  require('./chunk-MIC3W2VY.cjs');
121
119
  require('./chunk-ISHLY7WM.cjs');
120
+
121
+
122
+ var _chunkWCOLWI35cjs = require('./chunk-WCOLWI35.cjs');
123
+ require('./chunk-L2U4EVBL.cjs');
124
+
125
+
126
+ var _chunkZUIHJQD6cjs = require('./chunk-ZUIHJQD6.cjs');
127
+ require('./chunk-2OR4FUOA.cjs');
128
+ require('./chunk-EOJVE3HL.cjs');
122
129
  require('./chunk-UGFSIZ5P.cjs');
123
- require('./chunk-TE3XNGF4.cjs');
124
- require('./chunk-VY5VQ7WE.cjs');
125
- require('./chunk-UGS2F6DK.cjs');
126
- require('./chunk-IFVVMDAW.cjs');
127
- require('./chunk-6TH2K7LE.cjs');
128
130
  require('./chunk-75ZPJI57.cjs');
129
131
 
130
132
 
@@ -141,4 +143,4 @@ require('./chunk-75ZPJI57.cjs');
141
143
 
142
144
 
143
145
 
144
- exports.basic = _chunkVT3YWR6Gcjs.basic_exports; exports.css = _chunkXDTLZL44cjs.css_exports; exports.date = _chunkWCOLWI35cjs.date_exports; exports.dom = _chunkZUIHJQD6cjs.dom_exports; exports.html = _chunkQN6KZWKMcjs.html_exports; exports.iss = _chunkIJDVZOVJcjs.iss_exports; exports.judge = _chunkOZWQIUPScjs.judge_exports; exports.load = _chunkBD6DK4QKcjs.load_exports; exports.log = _chunkHUKQYAV6cjs.log_exports; exports.name = _chunkZXWKQRGHcjs.name_exports; exports.node = _chunkV6PYRA4Acjs.node_exports; exports.tree = _chunkPV2N6PF2cjs.tree_exports; exports.urls = _chunkJZQA6OH4cjs.urls_exports; exports.window = _chunk5WEKCLPKcjs.window_exports;
146
+ exports.basic = _chunkFA4AVVIVcjs.basic_exports; exports.css = _chunkDI5JC25Hcjs.css_exports; exports.date = _chunkWCOLWI35cjs.date_exports; exports.dom = _chunkZUIHJQD6cjs.dom_exports; exports.html = _chunkQN6KZWKMcjs.html_exports; exports.iss = _chunkIJDVZOVJcjs.iss_exports; exports.judge = _chunkOZWQIUPScjs.judge_exports; exports.load = _chunkBD6DK4QKcjs.load_exports; exports.log = _chunkHUKQYAV6cjs.log_exports; exports.name = _chunkBG2YS767cjs.name_exports; exports.node = _chunkV6PYRA4Acjs.node_exports; exports.tree = _chunkPV2N6PF2cjs.tree_exports; exports.urls = _chunk77ZAHOKNcjs.urls_exports; exports.window = _chunkTTIQUN2Jcjs.window_exports;
package/dist/index.d.cts CHANGED
@@ -10,8 +10,8 @@ export { i as log } from './index-D1xTdh0f.cjs';
10
10
  export { i as name } from './index-BbrWO_KD.cjs';
11
11
  export { i as node } from './index-CK2c-6vv.cjs';
12
12
  export { i as tree } from './index-cuR7l2XV.cjs';
13
- export { i as urls } from './index--yFTfMpc.cjs';
14
- export { i as window } from './index-DAi9PP0w.cjs';
13
+ export { i as urls } from './index-CPpoPAO6.cjs';
14
+ export { i as window } from './index-CTT_peAX.cjs';
15
15
  import './index-D8_Udh46.cjs';
16
16
  import './basic/array/asyncMergeArray.cjs';
17
17
  import './basic/array/compareArray.cjs';
@@ -95,5 +95,7 @@ import './urls/getSuffix.cjs';
95
95
  import './urls/getUrlCatalogue.cjs';
96
96
  import './urls/getUrlCatalogueLast.cjs';
97
97
  import './urls/getUrlCatalogueObj.cjs';
98
+ import './urls/toUrlParam.cjs';
98
99
  import './window/copy.cjs';
100
+ import './window/download.cjs';
99
101
  import './window/getParam.cjs';
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ export { i as log } from './index-Cqj4dm5n.js';
10
10
  export { i as name } from './index-CS54GrWo.js';
11
11
  export { i as node } from './index-BocAlCa8.js';
12
12
  export { i as tree } from './index-CPO1AFVg.js';
13
- export { i as urls } from './index-CLnASTZ5.js';
14
- export { i as window } from './index-vCPDFXBq.js';
13
+ export { i as urls } from './index-Cgz5ZPX9.js';
14
+ export { i as window } from './index-DQTqufH0.js';
15
15
  import './index-BYfEDFkm.js';
16
16
  import './basic/array/asyncMergeArray.js';
17
17
  import './basic/array/compareArray.js';
@@ -95,5 +95,7 @@ import './urls/getSuffix.js';
95
95
  import './urls/getUrlCatalogue.js';
96
96
  import './urls/getUrlCatalogueLast.js';
97
97
  import './urls/getUrlCatalogueObj.js';
98
+ import './urls/toUrlParam.js';
98
99
  import './window/copy.js';
100
+ import './window/download.js';
99
101
  import './window/getParam.js';