@fangzhongya/utils 0.0.7-17 → 0.0.7-19

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 (60) hide show
  1. package/dist/basic/array/index.cjs +5 -5
  2. package/dist/basic/array/index.d.ts +1 -1
  3. package/dist/basic/array/index.js +7 -7
  4. package/dist/basic/index.cjs +9 -9
  5. package/dist/basic/index.d.ts +9 -9
  6. package/dist/basic/index.js +8 -8
  7. package/dist/basic/object/index.d.ts +1 -1
  8. package/dist/basic/string/index.cjs +6 -6
  9. package/dist/basic/string/index.d.ts +1 -1
  10. package/dist/basic/string/index.js +9 -9
  11. package/dist/chunk-3T5SHCYK.js +30 -0
  12. package/dist/chunk-5V52TYPZ.cjs +30 -0
  13. package/dist/{chunk-3BGPFW3U.cjs → chunk-B3X2CJCP.cjs} +14 -6
  14. package/dist/chunk-CWNSXHMU.js +33 -0
  15. package/dist/chunk-DKQWP2SZ.cjs +33 -0
  16. package/dist/{chunk-MWTVE2FZ.cjs → chunk-O7WADTTJ.cjs} +4 -4
  17. package/dist/{chunk-QODMZOIX.js → chunk-R7HCJIJZ.js} +12 -4
  18. package/dist/{chunk-ZLCUSADU.cjs → chunk-SYXWQKOO.cjs} +5 -5
  19. package/dist/{chunk-CVUMTGJH.js → chunk-X5J26FBN.js} +2 -2
  20. package/dist/{chunk-AS3WKQP7.js → chunk-XUUIYV6X.js} +3 -0
  21. package/dist/{chunk-P3YVE7JK.cjs → chunk-YAML5YPL.cjs} +3 -0
  22. package/dist/{chunk-V3AYCU2W.js → chunk-ZQX2TYQB.js} +4 -4
  23. package/dist/{index-5d3a1d3e.d.ts → index-260a1738.d.ts} +7 -1
  24. package/dist/index-f5d4acc3.d.ts +13 -0
  25. package/dist/index.cjs +24 -22
  26. package/dist/index.d.ts +21 -19
  27. package/dist/index.js +23 -21
  28. package/dist/iss/index.d.ts +1 -1
  29. package/dist/judge/index.cjs +6 -6
  30. package/dist/judge/index.js +5 -5
  31. package/dist/judge/matchs.cjs +3 -3
  32. package/dist/judge/matchs.js +2 -2
  33. package/dist/urls/getNewFileName.cjs +8 -0
  34. package/dist/urls/getNewFileName.d.ts +8 -0
  35. package/dist/urls/getNewFileName.js +8 -0
  36. package/dist/urls/getReplaceImportUrl.cjs +8 -0
  37. package/dist/urls/getReplaceImportUrl.d.ts +9 -0
  38. package/dist/urls/getReplaceImportUrl.js +8 -0
  39. package/dist/urls/getReplaceUrl.cjs +3 -3
  40. package/dist/urls/getReplaceUrl.js +2 -2
  41. package/dist/urls/getUrlCatalogueObj.cjs +2 -2
  42. package/dist/urls/getUrlCatalogueObj.d.ts +2 -1
  43. package/dist/urls/getUrlCatalogueObj.js +1 -1
  44. package/dist/urls/index.cjs +15 -7
  45. package/dist/urls/index.d.ts +3 -1
  46. package/dist/urls/index.js +14 -6
  47. package/package.json +96 -86
  48. package/dist/index-786af8b2.d.ts +0 -13
  49. package/dist/{chunk-6RIGEV6G.cjs → chunk-4MDPNVDF.cjs} +2 -2
  50. package/dist/{chunk-ZDAU5XXV.cjs → chunk-4O7YOSS7.cjs} +4 -4
  51. package/dist/{chunk-DBHAL33J.js → chunk-E75NHLNL.js} +6 -6
  52. package/dist/{chunk-IFXB4WQX.js → chunk-NDFREXHP.js} +8 -8
  53. package/dist/{chunk-ZRZ5HATA.js → chunk-QRPNQFNF.js} +3 -3
  54. package/dist/{chunk-LRMKZNK6.cjs → chunk-SWWYZUMW.cjs} +5 -5
  55. package/dist/{chunk-NGQKVTCR.cjs → chunk-T22I7TJQ.cjs} +3 -3
  56. package/dist/{chunk-FRGDQOX4.js → chunk-T2QKEABG.js} +3 -3
  57. package/dist/{index-09cd203a.d.ts → index-38b73962.d.ts} +1 -1
  58. package/dist/{index-b16b81dc.d.ts → index-bd1b8c37.d.ts} +1 -1
  59. package/dist/{index-c07fa6d2.d.ts → index-ee7f301e.d.ts} +1 -1
  60. package/dist/{index-eef2a16c.d.ts → index-f0bbf5f8.d.ts} +1 -1
@@ -1,16 +1,16 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-ZDAU5XXV.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-4O7YOSS7.cjs');
2
2
 
3
3
 
4
- var _chunkTCMJPIRMcjs = require('../../chunk-TCMJPIRM.cjs');
4
+ var _chunkLG7MY5KLcjs = require('../../chunk-LG7MY5KL.cjs');
5
5
 
6
6
 
7
- var _chunkGD3OA7GUcjs = require('../../chunk-GD3OA7GU.cjs');
7
+ var _chunkAXMOZZCMcjs = require('../../chunk-AXMOZZCM.cjs');
8
8
 
9
9
 
10
- var _chunkLG7MY5KLcjs = require('../../chunk-LG7MY5KL.cjs');
10
+ var _chunkTCMJPIRMcjs = require('../../chunk-TCMJPIRM.cjs');
11
11
 
12
12
 
13
- var _chunkAXMOZZCMcjs = require('../../chunk-AXMOZZCM.cjs');
13
+ var _chunkGD3OA7GUcjs = require('../../chunk-GD3OA7GU.cjs');
14
14
 
15
15
 
16
16
  var _chunkISHLY7WMcjs = require('../../chunk-ISHLY7WM.cjs');
@@ -1,5 +1,5 @@
1
1
  export { asyncMergeArray } from './asyncMergeArray.js';
2
2
  export { duplicateRemoval } from './duplicateRemoval.js';
3
- export { isArray } from './isArray.js';
4
3
  export { replaceAfter } from './replaceAfter.js';
4
+ export { isArray } from './isArray.js';
5
5
  export { toggleArray } from './toggleArray.js';
@@ -1,16 +1,16 @@
1
- import "../../chunk-DBHAL33J.js";
2
- import {
3
- asyncMergeArray
4
- } from "../../chunk-Q6FMBSK4.js";
5
- import {
6
- duplicateRemoval
7
- } from "../../chunk-ZVBCHJA5.js";
1
+ import "../../chunk-E75NHLNL.js";
8
2
  import {
9
3
  replaceAfter
10
4
  } from "../../chunk-GOH6G74S.js";
11
5
  import {
12
6
  toggleArray
13
7
  } from "../../chunk-GOJN3OQ4.js";
8
+ import {
9
+ asyncMergeArray
10
+ } from "../../chunk-Q6FMBSK4.js";
11
+ import {
12
+ duplicateRemoval
13
+ } from "../../chunk-ZVBCHJA5.js";
14
14
  import {
15
15
  isArray
16
16
  } from "../../chunk-5PX3AFSC.js";
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-MWTVE2FZ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-O7WADTTJ.cjs');
2
2
 
3
3
 
4
- var _chunkLRMKZNK6cjs = require('../chunk-LRMKZNK6.cjs');
4
+ var _chunkSWWYZUMWcjs = require('../chunk-SWWYZUMW.cjs');
5
5
  require('../chunk-J7S3KBHL.cjs');
6
6
  require('../chunk-UCZBNN4I.cjs');
7
7
 
@@ -11,16 +11,16 @@ require('../chunk-NRJPCN4J.cjs');
11
11
  require('../chunk-3VYRYSWK.cjs');
12
12
 
13
13
 
14
- var _chunkZDAU5XXVcjs = require('../chunk-ZDAU5XXV.cjs');
15
- require('../chunk-TCMJPIRM.cjs');
16
- require('../chunk-GD3OA7GU.cjs');
14
+ var _chunk4O7YOSS7cjs = require('../chunk-4O7YOSS7.cjs');
17
15
  require('../chunk-LG7MY5KL.cjs');
18
16
  require('../chunk-AXMOZZCM.cjs');
19
- require('../chunk-UEVMS6QD.cjs');
20
- require('../chunk-OQL4GIEJ.cjs');
21
- require('../chunk-3HXQ7TGV.cjs');
17
+ require('../chunk-TCMJPIRM.cjs');
18
+ require('../chunk-GD3OA7GU.cjs');
22
19
  require('../chunk-JR6ZN6QD.cjs');
20
+ require('../chunk-3HXQ7TGV.cjs');
23
21
  require('../chunk-PW7RP73J.cjs');
22
+ require('../chunk-UEVMS6QD.cjs');
23
+ require('../chunk-OQL4GIEJ.cjs');
24
24
  require('../chunk-A5LHXE5X.cjs');
25
25
  require('../chunk-MIC3W2VY.cjs');
26
26
  require('../chunk-ISHLY7WM.cjs');
@@ -29,4 +29,4 @@ require('../chunk-5AZGAKWR.cjs');
29
29
 
30
30
 
31
31
 
32
- exports.array = _chunkZDAU5XXVcjs.array_exports; exports.object = _chunkPB6FN2XCcjs.object_exports; exports.string = _chunkLRMKZNK6cjs.string_exports;
32
+ exports.array = _chunk4O7YOSS7cjs.array_exports; exports.object = _chunkPB6FN2XCcjs.object_exports; exports.string = _chunkSWWYZUMWcjs.string_exports;
@@ -1,19 +1,19 @@
1
- export { i as array } from '../index-b16b81dc.js';
2
- export { i as object } from '../index-c07fa6d2.js';
3
- export { i as string } from '../index-eef2a16c.js';
1
+ export { i as array } from '../index-bd1b8c37.js';
2
+ export { i as string } from '../index-f0bbf5f8.js';
3
+ export { i as object } from '../index-ee7f301e.js';
4
4
  import './array/asyncMergeArray.js';
5
5
  import './array/duplicateRemoval.js';
6
- import './array/isArray.js';
7
6
  import './array/replaceAfter.js';
7
+ import './array/isArray.js';
8
8
  import './array/toggleArray.js';
9
- import './object/isObject.js';
10
- import './object/mergeObject.js';
11
- import './object/isObjectArray.js';
12
- import './object/unmergeObject.js';
13
9
  import './string/appearNum.js';
14
10
  import './string/appearNumSeat.js';
15
11
  import './string/firstLower.js';
16
12
  import './string/firstUpper.js';
17
- import './string/getStartSame.js';
18
13
  import './string/getStartSames.js';
14
+ import './string/getStartSame.js';
19
15
  import './string/splitUpper.js';
16
+ import './object/isObjectArray.js';
17
+ import './object/isObject.js';
18
+ import './object/mergeObject.js';
19
+ import './object/unmergeObject.js';
@@ -1,7 +1,7 @@
1
- import "../chunk-CVUMTGJH.js";
1
+ import "../chunk-X5J26FBN.js";
2
2
  import {
3
3
  string_exports
4
- } from "../chunk-IFXB4WQX.js";
4
+ } from "../chunk-NDFREXHP.js";
5
5
  import "../chunk-7DTHADVK.js";
6
6
  import "../chunk-Z6NS6N32.js";
7
7
  import {
@@ -11,16 +11,16 @@ import "../chunk-RD4EP3M5.js";
11
11
  import "../chunk-A6J46LQK.js";
12
12
  import {
13
13
  array_exports
14
- } from "../chunk-DBHAL33J.js";
15
- import "../chunk-Q6FMBSK4.js";
16
- import "../chunk-ZVBCHJA5.js";
14
+ } from "../chunk-E75NHLNL.js";
17
15
  import "../chunk-GOH6G74S.js";
18
16
  import "../chunk-GOJN3OQ4.js";
19
- import "../chunk-4OBNLDTJ.js";
20
- import "../chunk-EWJJKQIO.js";
21
- import "../chunk-SNABGVNO.js";
17
+ import "../chunk-Q6FMBSK4.js";
18
+ import "../chunk-ZVBCHJA5.js";
22
19
  import "../chunk-DMZP4RPN.js";
20
+ import "../chunk-SNABGVNO.js";
23
21
  import "../chunk-A276ZDLP.js";
22
+ import "../chunk-4OBNLDTJ.js";
23
+ import "../chunk-EWJJKQIO.js";
24
24
  import "../chunk-GYE23WAN.js";
25
25
  import "../chunk-MXY4W3K5.js";
26
26
  import "../chunk-5PX3AFSC.js";
@@ -1,4 +1,4 @@
1
+ export { isObjectArray } from './isObjectArray.js';
1
2
  export { isObject } from './isObject.js';
2
3
  export { mergeObject } from './mergeObject.js';
3
- export { isObjectArray } from './isObjectArray.js';
4
4
  export { unmergeObject } from './unmergeObject.js';
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-LRMKZNK6.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-SWWYZUMW.cjs');
2
2
 
3
3
 
4
4
  var _chunkJ7S3KBHLcjs = require('../../chunk-J7S3KBHL.cjs');
@@ -7,19 +7,19 @@ var _chunkJ7S3KBHLcjs = require('../../chunk-J7S3KBHL.cjs');
7
7
  var _chunkUCZBNN4Icjs = require('../../chunk-UCZBNN4I.cjs');
8
8
 
9
9
 
10
- var _chunkUEVMS6QDcjs = require('../../chunk-UEVMS6QD.cjs');
10
+ var _chunkJR6ZN6QDcjs = require('../../chunk-JR6ZN6QD.cjs');
11
11
 
12
12
 
13
- var _chunkOQL4GIEJcjs = require('../../chunk-OQL4GIEJ.cjs');
13
+ var _chunk3HXQ7TGVcjs = require('../../chunk-3HXQ7TGV.cjs');
14
14
 
15
15
 
16
- var _chunk3HXQ7TGVcjs = require('../../chunk-3HXQ7TGV.cjs');
16
+ var _chunkPW7RP73Jcjs = require('../../chunk-PW7RP73J.cjs');
17
17
 
18
18
 
19
- var _chunkJR6ZN6QDcjs = require('../../chunk-JR6ZN6QD.cjs');
19
+ var _chunkUEVMS6QDcjs = require('../../chunk-UEVMS6QD.cjs');
20
20
 
21
21
 
22
- var _chunkPW7RP73Jcjs = require('../../chunk-PW7RP73J.cjs');
22
+ var _chunkOQL4GIEJcjs = require('../../chunk-OQL4GIEJ.cjs');
23
23
  require('../../chunk-5AZGAKWR.cjs');
24
24
 
25
25
 
@@ -2,6 +2,6 @@ export { appearNum } from './appearNum.js';
2
2
  export { appearNumSeat } from './appearNumSeat.js';
3
3
  export { firstLower } from './firstLower.js';
4
4
  export { firstUpper } from './firstUpper.js';
5
- export { getStartSame } from './getStartSame.js';
6
5
  export { getStartSames } from './getStartSames.js';
6
+ export { getStartSame } from './getStartSame.js';
7
7
  export { splitUpper } from './splitUpper.js';
@@ -1,4 +1,4 @@
1
- import "../../chunk-IFXB4WQX.js";
1
+ import "../../chunk-NDFREXHP.js";
2
2
  import {
3
3
  getStartSame
4
4
  } from "../../chunk-7DTHADVK.js";
@@ -6,20 +6,20 @@ import {
6
6
  splitUpper
7
7
  } from "../../chunk-Z6NS6N32.js";
8
8
  import {
9
- firstLower
10
- } from "../../chunk-4OBNLDTJ.js";
11
- import {
12
- firstUpper
13
- } from "../../chunk-EWJJKQIO.js";
9
+ appearNumSeat
10
+ } from "../../chunk-DMZP4RPN.js";
14
11
  import {
15
12
  appearNum
16
13
  } from "../../chunk-SNABGVNO.js";
17
- import {
18
- appearNumSeat
19
- } from "../../chunk-DMZP4RPN.js";
20
14
  import {
21
15
  getStartSames
22
16
  } from "../../chunk-A276ZDLP.js";
17
+ import {
18
+ firstLower
19
+ } from "../../chunk-4OBNLDTJ.js";
20
+ import {
21
+ firstUpper
22
+ } from "../../chunk-EWJJKQIO.js";
23
23
  import "../../chunk-UICA3PK6.js";
24
24
  export {
25
25
  appearNum,
@@ -0,0 +1,30 @@
1
+ import {
2
+ getUrlCatalogueObj
3
+ } from "./chunk-XUUIYV6X.js";
4
+
5
+ // packages/urls/getNewFileName.ts
6
+ function getNewFileName(url) {
7
+ const obj = getUrlCatalogueObj(url);
8
+ let wb = obj.name;
9
+ if (wb) {
10
+ const reg = /([0-9]+)$/g;
11
+ const regs = reg.exec(wb);
12
+ if (regs && regs.length > 0) {
13
+ const sl = Number(regs[1]) + 1;
14
+ const reg1 = new RegExp(regs[1] + "$");
15
+ wb = wb.replace(
16
+ reg1,
17
+ (sl + "").padStart(regs[1].length, "0")
18
+ );
19
+ } else {
20
+ wb = wb + "1";
21
+ }
22
+ return obj.catalogue + obj.apart + wb + "." + obj.suffix;
23
+ } else {
24
+ return "";
25
+ }
26
+ }
27
+
28
+ export {
29
+ getNewFileName
30
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkYAML5YPLcjs = require('./chunk-YAML5YPL.cjs');
4
+
5
+ // packages/urls/getNewFileName.ts
6
+ function getNewFileName(url) {
7
+ const obj = _chunkYAML5YPLcjs.getUrlCatalogueObj.call(void 0, url);
8
+ let wb = obj.name;
9
+ if (wb) {
10
+ const reg = /([0-9]+)$/g;
11
+ const regs = reg.exec(wb);
12
+ if (regs && regs.length > 0) {
13
+ const sl = Number(regs[1]) + 1;
14
+ const reg1 = new RegExp(regs[1] + "$");
15
+ wb = wb.replace(
16
+ reg1,
17
+ (sl + "").padStart(regs[1].length, "0")
18
+ );
19
+ } else {
20
+ wb = wb + "1";
21
+ }
22
+ return obj.catalogue + obj.apart + wb + "." + obj.suffix;
23
+ } else {
24
+ return "";
25
+ }
26
+ }
27
+
28
+
29
+
30
+ exports.getNewFileName = getNewFileName;
@@ -6,16 +6,22 @@ var _chunkDILKJQYVcjs = require('./chunk-DILKJQYV.cjs');
6
6
  var _chunk3ERQHPTDcjs = require('./chunk-3ERQHPTD.cjs');
7
7
 
8
8
 
9
- var _chunkP3YVE7JKcjs = require('./chunk-P3YVE7JK.cjs');
10
-
11
-
12
9
  var _chunk27WA7EI2cjs = require('./chunk-27WA7EI2.cjs');
13
10
 
14
11
 
15
12
  var _chunkIRKWYW5Bcjs = require('./chunk-IRKWYW5B.cjs');
16
13
 
17
14
 
18
- var _chunk6RIGEV6Gcjs = require('./chunk-6RIGEV6G.cjs');
15
+ var _chunk5V52TYPZcjs = require('./chunk-5V52TYPZ.cjs');
16
+
17
+
18
+ var _chunkYAML5YPLcjs = require('./chunk-YAML5YPL.cjs');
19
+
20
+
21
+ var _chunkDKQWP2SZcjs = require('./chunk-DKQWP2SZ.cjs');
22
+
23
+
24
+ var _chunk4MDPNVDFcjs = require('./chunk-4MDPNVDF.cjs');
19
25
 
20
26
 
21
27
  var _chunk6A6EAFGLcjs = require('./chunk-6A6EAFGL.cjs');
@@ -28,11 +34,13 @@ var urls_exports = {};
28
34
  _chunk5AZGAKWRcjs.__export.call(void 0, urls_exports, {
29
35
  getImportUrl: () => _chunkIRKWYW5Bcjs.getImportUrl,
30
36
  getImportUrlSuffix: () => _chunk27WA7EI2cjs.getImportUrlSuffix,
31
- getReplaceUrl: () => _chunk6RIGEV6Gcjs.getReplaceUrl,
37
+ getNewFileName: () => _chunk5V52TYPZcjs.getNewFileName,
38
+ getReplaceImportUrl: () => _chunkDKQWP2SZcjs.getReplaceImportUrl,
39
+ getReplaceUrl: () => _chunk4MDPNVDFcjs.getReplaceUrl,
32
40
  getSuffix: () => _chunk6A6EAFGLcjs.getSuffix,
33
41
  getUrlCatalogue: () => _chunkDILKJQYVcjs.getUrlCatalogue,
34
42
  getUrlCatalogueLast: () => _chunk3ERQHPTDcjs.getUrlCatalogueLast,
35
- getUrlCatalogueObj: () => _chunkP3YVE7JKcjs.getUrlCatalogueObj
43
+ getUrlCatalogueObj: () => _chunkYAML5YPLcjs.getUrlCatalogueObj
36
44
  });
37
45
 
38
46
 
@@ -0,0 +1,33 @@
1
+ import {
2
+ getStartSames
3
+ } from "./chunk-A276ZDLP.js";
4
+
5
+ // packages/urls/getReplaceImportUrl.ts
6
+ function getReplaceImportUrl(url, imp) {
7
+ const arr = getStartSames(url, imp);
8
+ const ts = arr[0];
9
+ if (!/[\\|\/]$/.test(ts)) {
10
+ const regs = ts.match(/[\\|\/]([^\\|\/]*)$/);
11
+ if (regs && regs.length > 0) {
12
+ const a = regs[1];
13
+ arr[0] = ts.substring(
14
+ 0,
15
+ regs.index + 1
16
+ );
17
+ arr[1] = a + arr[1];
18
+ }
19
+ }
20
+ const l = arr[1].split(/\\|\//).length - 1;
21
+ let ds = ["./"];
22
+ if (l > 0) {
23
+ ds = [];
24
+ for (let index = 0; index < l; index++) {
25
+ ds.push("../");
26
+ }
27
+ }
28
+ return ds.join("");
29
+ }
30
+
31
+ export {
32
+ getReplaceImportUrl
33
+ };
@@ -0,0 +1,33 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkPW7RP73Jcjs = require('./chunk-PW7RP73J.cjs');
4
+
5
+ // packages/urls/getReplaceImportUrl.ts
6
+ function getReplaceImportUrl(url, imp) {
7
+ const arr = _chunkPW7RP73Jcjs.getStartSames.call(void 0, url, imp);
8
+ const ts = arr[0];
9
+ if (!/[\\|\/]$/.test(ts)) {
10
+ const regs = ts.match(/[\\|\/]([^\\|\/]*)$/);
11
+ if (regs && regs.length > 0) {
12
+ const a = regs[1];
13
+ arr[0] = ts.substring(
14
+ 0,
15
+ regs.index + 1
16
+ );
17
+ arr[1] = a + arr[1];
18
+ }
19
+ }
20
+ const l = arr[1].split(/\\|\//).length - 1;
21
+ let ds = ["./"];
22
+ if (l > 0) {
23
+ ds = [];
24
+ for (let index = 0; index < l; index++) {
25
+ ds.push("../");
26
+ }
27
+ }
28
+ return ds.join("");
29
+ }
30
+
31
+
32
+
33
+ exports.getReplaceImportUrl = getReplaceImportUrl;
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLRMKZNK6cjs = require('./chunk-LRMKZNK6.cjs');
3
+ var _chunkSWWYZUMWcjs = require('./chunk-SWWYZUMW.cjs');
4
4
 
5
5
 
6
6
  var _chunkPB6FN2XCcjs = require('./chunk-PB6FN2XC.cjs');
7
7
 
8
8
 
9
- var _chunkZDAU5XXVcjs = require('./chunk-ZDAU5XXV.cjs');
9
+ var _chunk4O7YOSS7cjs = require('./chunk-4O7YOSS7.cjs');
10
10
 
11
11
 
12
12
  var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
@@ -14,9 +14,9 @@ var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
14
14
  // packages/basic/index.ts
15
15
  var basic_exports = {};
16
16
  _chunk5AZGAKWRcjs.__export.call(void 0, basic_exports, {
17
- array: () => _chunkZDAU5XXVcjs.array_exports,
17
+ array: () => _chunk4O7YOSS7cjs.array_exports,
18
18
  object: () => _chunkPB6FN2XCcjs.object_exports,
19
- string: () => _chunkLRMKZNK6cjs.string_exports
19
+ string: () => _chunkSWWYZUMWcjs.string_exports
20
20
  });
21
21
 
22
22
 
@@ -4,18 +4,24 @@ import {
4
4
  import {
5
5
  getUrlCatalogueLast
6
6
  } from "./chunk-BDJORZRC.js";
7
- import {
8
- getUrlCatalogueObj
9
- } from "./chunk-AS3WKQP7.js";
10
7
  import {
11
8
  getImportUrlSuffix
12
9
  } from "./chunk-XBZX5YZW.js";
13
10
  import {
14
11
  getImportUrl
15
12
  } from "./chunk-AWC672JW.js";
13
+ import {
14
+ getNewFileName
15
+ } from "./chunk-3T5SHCYK.js";
16
+ import {
17
+ getUrlCatalogueObj
18
+ } from "./chunk-XUUIYV6X.js";
19
+ import {
20
+ getReplaceImportUrl
21
+ } from "./chunk-CWNSXHMU.js";
16
22
  import {
17
23
  getReplaceUrl
18
- } from "./chunk-ZRZ5HATA.js";
24
+ } from "./chunk-QRPNQFNF.js";
19
25
  import {
20
26
  getSuffix
21
27
  } from "./chunk-UOADEBDH.js";
@@ -28,6 +34,8 @@ var urls_exports = {};
28
34
  __export(urls_exports, {
29
35
  getImportUrl: () => getImportUrl,
30
36
  getImportUrlSuffix: () => getImportUrlSuffix,
37
+ getNewFileName: () => getNewFileName,
38
+ getReplaceImportUrl: () => getReplaceImportUrl,
31
39
  getReplaceUrl: () => getReplaceUrl,
32
40
  getSuffix: () => getSuffix,
33
41
  getUrlCatalogue: () => getUrlCatalogue,
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNGQKVTCRcjs = require('./chunk-NGQKVTCR.cjs');
3
+ var _chunkT22I7TJQcjs = require('./chunk-T22I7TJQ.cjs');
4
4
 
5
5
 
6
- var _chunkZZEFL2TEcjs = require('./chunk-ZZEFL2TE.cjs');
6
+ var _chunkYGJOBIEOcjs = require('./chunk-YGJOBIEO.cjs');
7
7
 
8
8
 
9
- var _chunk2BY5RQHUcjs = require('./chunk-2BY5RQHU.cjs');
9
+ var _chunkZZEFL2TEcjs = require('./chunk-ZZEFL2TE.cjs');
10
10
 
11
11
 
12
- var _chunkYGJOBIEOcjs = require('./chunk-YGJOBIEO.cjs');
12
+ var _chunk2BY5RQHUcjs = require('./chunk-2BY5RQHU.cjs');
13
13
 
14
14
 
15
15
  var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
@@ -17,7 +17,7 @@ var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
17
17
  // packages/judge/index.ts
18
18
  var judge_exports = {};
19
19
  _chunk5AZGAKWRcjs.__export.call(void 0, judge_exports, {
20
- matchs: () => _chunkNGQKVTCRcjs.matchs,
20
+ matchs: () => _chunkT22I7TJQcjs.matchs,
21
21
  matchsEnd: () => _chunkYGJOBIEOcjs.matchsEnd,
22
22
  matchsStart: () => _chunkZZEFL2TEcjs.matchsStart,
23
23
  matchsWhole: () => _chunk2BY5RQHUcjs.matchsWhole
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  string_exports
3
- } from "./chunk-IFXB4WQX.js";
3
+ } from "./chunk-NDFREXHP.js";
4
4
  import {
5
5
  object_exports
6
6
  } from "./chunk-HQFPDOWY.js";
7
7
  import {
8
8
  array_exports
9
- } from "./chunk-DBHAL33J.js";
9
+ } from "./chunk-E75NHLNL.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-UICA3PK6.js";
@@ -4,12 +4,15 @@ function getUrlCatalogueObj(str) {
4
4
  const ml = str.replace(reg, "");
5
5
  let name = "";
6
6
  let suffix = "";
7
+ let apart = "";
7
8
  const arr = reg.exec(str);
8
9
  if (arr) {
10
+ apart = arr[1];
9
11
  name = arr[2];
10
12
  suffix = arr[3];
11
13
  }
12
14
  return {
15
+ apart,
13
16
  catalogue: ml,
14
17
  name,
15
18
  suffix
@@ -4,12 +4,15 @@ function getUrlCatalogueObj(str) {
4
4
  const ml = str.replace(reg, "");
5
5
  let name = "";
6
6
  let suffix = "";
7
+ let apart = "";
7
8
  const arr = reg.exec(str);
8
9
  if (arr) {
10
+ apart = arr[1];
9
11
  name = arr[2];
10
12
  suffix = arr[3];
11
13
  }
12
14
  return {
15
+ apart,
13
16
  catalogue: ml,
14
17
  name,
15
18
  suffix
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  matchs
3
- } from "./chunk-FRGDQOX4.js";
3
+ } from "./chunk-T2QKEABG.js";
4
+ import {
5
+ matchsEnd
6
+ } from "./chunk-YNOFNHEK.js";
4
7
  import {
5
8
  matchsStart
6
9
  } from "./chunk-S6JRKYPY.js";
7
10
  import {
8
11
  matchsWhole
9
12
  } from "./chunk-IRGCP7KH.js";
10
- import {
11
- matchsEnd
12
- } from "./chunk-YNOFNHEK.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-UICA3PK6.js";
@@ -1,14 +1,18 @@
1
1
  import { getImportUrl } from './urls/getImportUrl.js';
2
2
  import { getImportUrlSuffix } from './urls/getImportUrlSuffix.js';
3
+ import { getReplaceImportUrl } from './urls/getReplaceImportUrl.js';
4
+ import { getNewFileName } from './urls/getNewFileName.js';
3
5
  import { getReplaceUrl } from './urls/getReplaceUrl.js';
4
- import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
5
6
  import { getSuffix } from './urls/getSuffix.js';
6
7
  import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
7
8
  import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.js';
9
+ import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
8
10
 
9
11
  declare const index_UrlCatalogue: typeof UrlCatalogue;
10
12
  declare const index_getImportUrl: typeof getImportUrl;
11
13
  declare const index_getImportUrlSuffix: typeof getImportUrlSuffix;
14
+ declare const index_getNewFileName: typeof getNewFileName;
15
+ declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
12
16
  declare const index_getReplaceUrl: typeof getReplaceUrl;
13
17
  declare const index_getSuffix: typeof getSuffix;
14
18
  declare const index_getUrlCatalogue: typeof getUrlCatalogue;
@@ -19,6 +23,8 @@ declare namespace index {
19
23
  index_UrlCatalogue as UrlCatalogue,
20
24
  index_getImportUrl as getImportUrl,
21
25
  index_getImportUrlSuffix as getImportUrlSuffix,
26
+ index_getNewFileName as getNewFileName,
27
+ index_getReplaceImportUrl as getReplaceImportUrl,
22
28
  index_getReplaceUrl as getReplaceUrl,
23
29
  index_getSuffix as getSuffix,
24
30
  index_getUrlCatalogue as getUrlCatalogue,
@@ -0,0 +1,13 @@
1
+ import { i as index$1 } from './index-bd1b8c37.js';
2
+ import { i as index$3 } from './index-f0bbf5f8.js';
3
+ import { i as index$2 } from './index-ee7f301e.js';
4
+
5
+ declare namespace index {
6
+ export {
7
+ index$1 as array,
8
+ index$2 as object,
9
+ index$3 as string,
10
+ };
11
+ }
12
+
13
+ export { index as i };