@fangzhongya/utils 0.0.56 → 0.0.58

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 (70) hide show
  1. package/dist/basic/array/index.cjs +4 -4
  2. package/dist/basic/array/index.js +4 -4
  3. package/dist/basic/index.cjs +17 -17
  4. package/dist/basic/index.d.cts +1 -1
  5. package/dist/basic/index.d.ts +1 -1
  6. package/dist/basic/index.js +16 -16
  7. package/dist/basic/object/deepCopy.cjs +2 -2
  8. package/dist/basic/object/deepCopy.d.cts +1 -1
  9. package/dist/basic/object/deepCopy.d.ts +1 -1
  10. package/dist/basic/object/deepCopy.js +1 -1
  11. package/dist/basic/object/index.cjs +14 -14
  12. package/dist/basic/object/index.js +16 -16
  13. package/dist/basic/string/getContent.cjs +4 -2
  14. package/dist/basic/string/getContent.d.cts +2 -1
  15. package/dist/basic/string/getContent.d.ts +2 -1
  16. package/dist/basic/string/getContent.js +5 -3
  17. package/dist/basic/string/index.cjs +16 -14
  18. package/dist/basic/string/index.d.cts +1 -1
  19. package/dist/basic/string/index.d.ts +1 -1
  20. package/dist/basic/string/index.js +20 -18
  21. package/dist/{chunk-QHMO7DUJ.cjs → chunk-3U2KPIAM.cjs} +14 -12
  22. package/dist/{chunk-FQCXDJQ3.cjs → chunk-4PUYFFPO.cjs} +11 -7
  23. package/dist/{chunk-CDQONLGU.cjs → chunk-BP5O2BSR.cjs} +2 -2
  24. package/dist/{chunk-PHKZER72.js → chunk-CUCGFOQ6.js} +2 -2
  25. package/dist/{chunk-SVK3J3CY.js → chunk-DHB3NS2U.js} +15 -15
  26. package/dist/{chunk-3DUFQKFF.js → chunk-FVTXE2XU.js} +13 -13
  27. package/dist/{chunk-3QR3J6AE.cjs → chunk-JFFZ4GTE.cjs} +13 -13
  28. package/dist/{chunk-5GWQIIRZ.js → chunk-KKWN2KSW.js} +19 -17
  29. package/dist/{chunk-BYQGX3ZV.js → chunk-L4SCFZEY.js} +3 -3
  30. package/dist/chunk-LPLXULQ5.cjs +24 -0
  31. package/dist/{chunk-FL2HPQ66.cjs → chunk-UHKL2RG3.cjs} +5 -5
  32. package/dist/{chunk-7GCUYESU.cjs → chunk-UUQH3DDH.cjs} +13 -13
  33. package/dist/{chunk-X44UO4CZ.js → chunk-YKNGDK4I.js} +4 -4
  34. package/dist/{chunk-DHETM4MS.js → chunk-YKSVLAAK.js} +11 -7
  35. package/dist/date/index.cjs +4 -4
  36. package/dist/date/index.js +4 -4
  37. package/dist/{index-J-xiEtN9.d.ts → index-CnVIRWwZ.d.ts} +1 -1
  38. package/dist/{index-CqPaaWEs.d.cts → index-CxW0zCsG.d.cts} +3 -2
  39. package/dist/{index-KftqgSWD.d.cts → index-DLnJJBhb.d.cts} +1 -1
  40. package/dist/{index-BsactE-d.d.ts → index-zLctRwm9.d.ts} +3 -2
  41. package/dist/index.cjs +42 -42
  42. package/dist/index.d.cts +2 -2
  43. package/dist/index.d.ts +2 -2
  44. package/dist/index.js +43 -43
  45. package/dist/judge/index.cjs +6 -6
  46. package/dist/judge/index.js +5 -5
  47. package/dist/judge/matchs.cjs +3 -3
  48. package/dist/judge/matchs.js +2 -2
  49. package/dist/tree/index.cjs +3 -3
  50. package/dist/tree/index.js +6 -6
  51. package/dist/urls/getReplaceUrls.cjs +3 -3
  52. package/dist/urls/getReplaceUrls.js +2 -2
  53. package/dist/urls/index.cjs +16 -16
  54. package/dist/urls/index.js +16 -16
  55. package/dist/window/index.cjs +4 -4
  56. package/dist/window/index.js +7 -7
  57. package/package.json +1 -1
  58. package/dist/chunk-SUAM6STT.cjs +0 -24
  59. package/dist/{chunk-MZLWYQQH.js → chunk-5WQXANBO.js} +6 -6
  60. package/dist/{chunk-5SOPYS7L.cjs → chunk-7NEXCOZZ.cjs} +3 -3
  61. package/dist/{chunk-72GMBSE6.cjs → chunk-E74ZD4NG.cjs} +3 -3
  62. package/dist/{chunk-GHJWTV6H.js → chunk-FSFT4EKE.js} +3 -3
  63. package/dist/{chunk-PVXQ2H5H.js → chunk-HAXXG6HP.js} +3 -3
  64. package/dist/{chunk-65O7KWP4.cjs → chunk-HPQRTXFK.cjs} +3 -3
  65. package/dist/{chunk-H22VVRP6.js → chunk-JPQN3LUH.js} +3 -3
  66. package/dist/{chunk-QUIZWAFR.js → chunk-OVHYLUAS.js} +5 -5
  67. package/dist/{chunk-APRM3ELY.cjs → chunk-PV2N6PF2.cjs} +2 -2
  68. package/dist/{chunk-3YUI42XN.cjs → chunk-T22I7TJQ.cjs} +3 -3
  69. package/dist/{chunk-33X65PQS.js → chunk-T2QKEABG.js} +3 -3
  70. package/dist/{chunk-HMAAC5QA.cjs → chunk-UOQMDO75.cjs} +3 -3
@@ -1,14 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/string/getContent.ts
2
2
  function getContent(value) {
3
- try {
4
- const func = new Function(
5
- "",
6
- `
3
+ const func = new Function(
4
+ "",
5
+ `
7
6
  "use strict";
8
7
  return ${value};
9
8
  `
10
- );
11
- return func();
9
+ );
10
+ return func();
11
+ }
12
+ function getContents(value) {
13
+ try {
14
+ return getContent(value);
12
15
  } catch (error) {
13
16
  console.log("getContent:", error);
14
17
  return value;
@@ -17,4 +20,5 @@ function getContent(value) {
17
20
 
18
21
 
19
22
 
20
- exports.getContent = getContent;
23
+
24
+ exports.getContent = getContent; exports.getContents = getContents;
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/object/deepCopy.ts
2
- function deepCopy(obj) {
2
+ function deepCopy(obj, filter = () => true) {
3
3
  if (obj && typeof obj === "object") {
4
4
  const objClone = Array.isArray(obj) ? [] : {};
5
5
  for (let key in obj) {
6
6
  if (obj.hasOwnProperty(key)) {
7
7
  if (obj[key] && typeof obj[key] === "object") {
8
- objClone[key] = deepCopy(obj[key]);
8
+ if (filter(key)) objClone[key] = deepCopy(obj[key]);
9
9
  } else {
10
10
  objClone[key] = obj[key];
11
11
  }
@@ -1,11 +1,11 @@
1
1
  // packages/basic/object/deepCopy.ts
2
- function deepCopy(obj) {
2
+ function deepCopy(obj, filter = () => true) {
3
3
  if (obj && typeof obj === "object") {
4
4
  const objClone = Array.isArray(obj) ? [] : {};
5
5
  for (let key in obj) {
6
6
  if (obj.hasOwnProperty(key)) {
7
7
  if (obj[key] && typeof obj[key] === "object") {
8
- objClone[key] = deepCopy(obj[key]);
8
+ if (filter(key)) objClone[key] = deepCopy(obj[key]);
9
9
  } else {
10
10
  objClone[key] = obj[key];
11
11
  }
@@ -1,12 +1,16 @@
1
- import {
2
- setSort
3
- } from "./chunk-3LWFUVER.js";
4
1
  import {
5
2
  unmergeObject
6
3
  } from "./chunk-A6J46LQK.js";
7
4
  import {
8
- hasOwn
9
- } from "./chunk-3IR2ABRO.js";
5
+ isEqual,
6
+ isEqualEnhanced
7
+ } from "./chunk-BEKTNBRJ.js";
8
+ import {
9
+ isObjectArray
10
+ } from "./chunk-GYE23WAN.js";
11
+ import {
12
+ isObject
13
+ } from "./chunk-MXY4W3K5.js";
10
14
  import {
11
15
  mergeObject
12
16
  } from "./chunk-RD4EP3M5.js";
@@ -17,12 +21,15 @@ import {
17
21
  import {
18
22
  reverseObj
19
23
  } from "./chunk-B3IGSYZT.js";
24
+ import {
25
+ setSort
26
+ } from "./chunk-3LWFUVER.js";
20
27
  import {
21
28
  attrValueSort
22
29
  } from "./chunk-T4BAVDTH.js";
23
30
  import {
24
31
  deepCopy
25
- } from "./chunk-PHKZER72.js";
32
+ } from "./chunk-CUCGFOQ6.js";
26
33
  import {
27
34
  deepCopys,
28
35
  fastDeepCopy,
@@ -38,15 +45,8 @@ import {
38
45
  getSort
39
46
  } from "./chunk-ZEAT23CI.js";
40
47
  import {
41
- isEqual,
42
- isEqualEnhanced
43
- } from "./chunk-BEKTNBRJ.js";
44
- import {
45
- isObjectArray
46
- } from "./chunk-GYE23WAN.js";
47
- import {
48
- isObject
49
- } from "./chunk-MXY4W3K5.js";
48
+ hasOwn
49
+ } from "./chunk-3IR2ABRO.js";
50
50
  import {
51
51
  __export
52
52
  } from "./chunk-MLKGABMK.js";
@@ -1,3 +1,16 @@
1
+ import {
2
+ toUrlParam,
3
+ toUrlParams
4
+ } from "./chunk-I5IL3OO7.js";
5
+ import {
6
+ getReplaceImportUrl
7
+ } from "./chunk-ZJHRAMCL.js";
8
+ import {
9
+ getReplaceUrl
10
+ } from "./chunk-SE7A43WC.js";
11
+ import {
12
+ getReplaceUrls
13
+ } from "./chunk-FSFT4EKE.js";
1
14
  import {
2
15
  getSuffix
3
16
  } from "./chunk-Z7NTQAAJ.js";
@@ -7,10 +20,6 @@ import {
7
20
  import {
8
21
  getUrlCatalogueLast
9
22
  } from "./chunk-7KGS6354.js";
10
- import {
11
- toUrlParam,
12
- toUrlParams
13
- } from "./chunk-I5IL3OO7.js";
14
23
  import {
15
24
  getImportUrlSuffix
16
25
  } from "./chunk-NWIJYHAJ.js";
@@ -26,15 +35,6 @@ import {
26
35
  import {
27
36
  getUrlCatalogueObj
28
37
  } from "./chunk-BRS7HYO6.js";
29
- import {
30
- getReplaceImportUrl
31
- } from "./chunk-ZJHRAMCL.js";
32
- import {
33
- getReplaceUrl
34
- } from "./chunk-SE7A43WC.js";
35
- import {
36
- getReplaceUrls
37
- } from "./chunk-GHJWTV6H.js";
38
38
  import {
39
39
  __export
40
40
  } from "./chunk-MLKGABMK.js";
@@ -1,12 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIIKQHLKTcjs = require('./chunk-IIKQHLKT.cjs');
3
+ var _chunk3VYRYSWKcjs = require('./chunk-3VYRYSWK.cjs');
4
4
 
5
5
 
6
- var _chunk3VYRYSWKcjs = require('./chunk-3VYRYSWK.cjs');
7
6
 
7
+ var _chunkWWAPPA4Ecjs = require('./chunk-WWAPPA4E.cjs');
8
8
 
9
- var _chunkGOUC2DFAcjs = require('./chunk-GOUC2DFA.cjs');
9
+
10
+ var _chunkA5LHXE5Xcjs = require('./chunk-A5LHXE5X.cjs');
11
+
12
+
13
+ var _chunkMIC3W2VYcjs = require('./chunk-MIC3W2VY.cjs');
10
14
 
11
15
 
12
16
  var _chunkNRJPCN4Jcjs = require('./chunk-NRJPCN4J.cjs');
@@ -19,10 +23,13 @@ var _chunkE4WBX6J5cjs = require('./chunk-E4WBX6J5.cjs');
19
23
  var _chunkSLXKYTEUcjs = require('./chunk-SLXKYTEU.cjs');
20
24
 
21
25
 
26
+ var _chunkIIKQHLKTcjs = require('./chunk-IIKQHLKT.cjs');
27
+
28
+
22
29
  var _chunkUFYLVZNUcjs = require('./chunk-UFYLVZNU.cjs');
23
30
 
24
31
 
25
- var _chunkCDQONLGUcjs = require('./chunk-CDQONLGU.cjs');
32
+ var _chunkBP5O2BSRcjs = require('./chunk-BP5O2BSR.cjs');
26
33
 
27
34
 
28
35
 
@@ -39,14 +46,7 @@ var _chunkD3SX7OUVcjs = require('./chunk-D3SX7OUV.cjs');
39
46
  var _chunk7AIT4XSDcjs = require('./chunk-7AIT4XSD.cjs');
40
47
 
41
48
 
42
-
43
- var _chunkWWAPPA4Ecjs = require('./chunk-WWAPPA4E.cjs');
44
-
45
-
46
- var _chunkA5LHXE5Xcjs = require('./chunk-A5LHXE5X.cjs');
47
-
48
-
49
- var _chunkMIC3W2VYcjs = require('./chunk-MIC3W2VY.cjs');
49
+ var _chunkGOUC2DFAcjs = require('./chunk-GOUC2DFA.cjs');
50
50
 
51
51
 
52
52
  var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
@@ -55,7 +55,7 @@ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
55
55
  var object_exports = {};
56
56
  _chunk75ZPJI57cjs.__export.call(void 0, object_exports, {
57
57
  attrValueSort: () => _chunkUFYLVZNUcjs.attrValueSort,
58
- deepCopy: () => _chunkCDQONLGUcjs.deepCopy,
58
+ deepCopy: () => _chunkBP5O2BSRcjs.deepCopy,
59
59
  deepCopys: () => _chunkSJ74DU4Bcjs.deepCopys,
60
60
  fastDeepCopy: () => _chunkSJ74DU4Bcjs.fastDeepCopy,
61
61
  filterObject: () => _chunkD3SX7OUVcjs.filterObject,
@@ -1,7 +1,3 @@
1
- import {
2
- toJSONParse,
3
- toJSONStringify
4
- } from "./chunk-U3PZBQ6G.js";
5
1
  import {
6
2
  serializeCodeBlock,
7
3
  serializeFunctionRef,
@@ -11,32 +7,31 @@ import {
11
7
  import {
12
8
  toStringParse
13
9
  } from "./chunk-MGK5PCGH.js";
14
- import {
15
- getImports,
16
- getImportss
17
- } from "./chunk-N5Y3XGHX.js";
18
10
  import {
19
11
  getStartSame
20
12
  } from "./chunk-7DTHADVK.js";
21
13
  import {
22
14
  splitUpper
23
15
  } from "./chunk-VKE5JARB.js";
16
+ import {
17
+ toJSONParse,
18
+ toJSONStringify
19
+ } from "./chunk-U3PZBQ6G.js";
24
20
  import {
25
21
  getFunctionFormat,
26
22
  toFunction
27
23
  } from "./chunk-7O4MJOHM.js";
28
24
  import {
29
- deComment
30
- } from "./chunk-FS4JPT23.js";
31
- import {
32
- getContent
33
- } from "./chunk-DHETM4MS.js";
25
+ getContent,
26
+ getContents
27
+ } from "./chunk-YKSVLAAK.js";
34
28
  import {
35
- getStrNunPosit
36
- } from "./chunk-USIMBBLW.js";
29
+ getImports,
30
+ getImportss
31
+ } from "./chunk-N5Y3XGHX.js";
37
32
  import {
38
- startsNum
39
- } from "./chunk-P7AWHISY.js";
33
+ deComment
34
+ } from "./chunk-FS4JPT23.js";
40
35
  import {
41
36
  appearNum
42
37
  } from "./chunk-LPMR5W6M.js";
@@ -46,6 +41,12 @@ import {
46
41
  import {
47
42
  getStartSames
48
43
  } from "./chunk-A276ZDLP.js";
44
+ import {
45
+ getStrNunPosit
46
+ } from "./chunk-USIMBBLW.js";
47
+ import {
48
+ startsNum
49
+ } from "./chunk-P7AWHISY.js";
49
50
  import {
50
51
  firstLower
51
52
  } from "./chunk-4OBNLDTJ.js";
@@ -65,6 +66,7 @@ __export(string_exports, {
65
66
  firstLower: () => firstLower,
66
67
  firstUpper: () => firstUpper,
67
68
  getContent: () => getContent,
69
+ getContents: () => getContents,
68
70
  getFunctionFormat: () => getFunctionFormat,
69
71
  getImports: () => getImports,
70
72
  getImportss: () => getImportss,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  string_exports
3
- } from "./chunk-5GWQIIRZ.js";
3
+ } from "./chunk-KKWN2KSW.js";
4
4
  import {
5
5
  object_exports
6
- } from "./chunk-SVK3J3CY.js";
6
+ } from "./chunk-DHB3NS2U.js";
7
7
  import {
8
8
  array_exports
9
- } from "./chunk-PVXQ2H5H.js";
9
+ } from "./chunk-HAXXG6HP.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-MLKGABMK.js";
@@ -0,0 +1,24 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk3U2KPIAMcjs = require('./chunk-3U2KPIAM.cjs');
4
+
5
+
6
+ var _chunkJFFZ4GTEcjs = require('./chunk-JFFZ4GTE.cjs');
7
+
8
+
9
+ var _chunkHPQRTXFKcjs = require('./chunk-HPQRTXFK.cjs');
10
+
11
+
12
+ var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
13
+
14
+ // packages/basic/index.ts
15
+ var basic_exports = {};
16
+ _chunk75ZPJI57cjs.__export.call(void 0, basic_exports, {
17
+ array: () => _chunkHPQRTXFKcjs.array_exports,
18
+ object: () => _chunkJFFZ4GTEcjs.object_exports,
19
+ string: () => _chunk3U2KPIAMcjs.string_exports
20
+ });
21
+
22
+
23
+
24
+ exports.basic_exports = basic_exports;
@@ -27,10 +27,7 @@
27
27
  var _chunkV2DXOH6Bcjs = require('./chunk-V2DXOH6B.cjs');
28
28
 
29
29
 
30
- var _chunk3YUI42XNcjs = require('./chunk-3YUI42XN.cjs');
31
-
32
-
33
- var _chunk2BY5RQHUcjs = require('./chunk-2BY5RQHU.cjs');
30
+ var _chunkT22I7TJQcjs = require('./chunk-T22I7TJQ.cjs');
34
31
 
35
32
 
36
33
  var _chunkYGJOBIEOcjs = require('./chunk-YGJOBIEO.cjs');
@@ -39,6 +36,9 @@ var _chunkYGJOBIEOcjs = require('./chunk-YGJOBIEO.cjs');
39
36
  var _chunkZZEFL2TEcjs = require('./chunk-ZZEFL2TE.cjs');
40
37
 
41
38
 
39
+ var _chunk2BY5RQHUcjs = require('./chunk-2BY5RQHU.cjs');
40
+
41
+
42
42
  var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
43
43
 
44
44
  // packages/judge/index.ts
@@ -69,7 +69,7 @@ _chunk75ZPJI57cjs.__export.call(void 0, judge_exports, {
69
69
  isTel: () => _chunkV2DXOH6Bcjs.isTel,
70
70
  isURL: () => _chunkV2DXOH6Bcjs.isURL,
71
71
  isWeChat: () => _chunkV2DXOH6Bcjs.isWeChat,
72
- matchs: () => _chunk3YUI42XNcjs.matchs,
72
+ matchs: () => _chunkT22I7TJQcjs.matchs,
73
73
  matchsEnd: () => _chunkYGJOBIEOcjs.matchsEnd,
74
74
  matchsStart: () => _chunkZZEFL2TEcjs.matchsStart,
75
75
  matchsWhole: () => _chunk2BY5RQHUcjs.matchsWhole
@@ -1,40 +1,40 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk76G4GJ6Rcjs = require('./chunk-76G4GJ6R.cjs');
4
3
 
4
+ var _chunkJFAHWIZ3cjs = require('./chunk-JFAHWIZ3.cjs');
5
5
 
6
- var _chunkETOSL4FHcjs = require('./chunk-ETOSL4FH.cjs');
7
6
 
7
+ var _chunkRFUD3TOQcjs = require('./chunk-RFUD3TOQ.cjs');
8
8
 
9
- var _chunkTPOVGKBXcjs = require('./chunk-TPOVGKBX.cjs');
10
9
 
10
+ var _chunk3DD7YCN2cjs = require('./chunk-3DD7YCN2.cjs');
11
11
 
12
12
 
13
- var _chunkJFAHWIZ3cjs = require('./chunk-JFAHWIZ3.cjs');
13
+ var _chunkUOQMDO75cjs = require('./chunk-UOQMDO75.cjs');
14
14
 
15
15
 
16
- var _chunkH6KIVPAScjs = require('./chunk-H6KIVPAS.cjs');
16
+ var _chunk76G4GJ6Rcjs = require('./chunk-76G4GJ6R.cjs');
17
17
 
18
18
 
19
- var _chunkCVBJXH33cjs = require('./chunk-CVBJXH33.cjs');
19
+ var _chunkETOSL4FHcjs = require('./chunk-ETOSL4FH.cjs');
20
20
 
21
21
 
22
- var _chunkJAWXP52Ocjs = require('./chunk-JAWXP52O.cjs');
22
+ var _chunkTPOVGKBXcjs = require('./chunk-TPOVGKBX.cjs');
23
23
 
24
24
 
25
- var _chunkKHFZCJ23cjs = require('./chunk-KHFZCJ23.cjs');
25
+ var _chunkH6KIVPAScjs = require('./chunk-H6KIVPAS.cjs');
26
26
 
27
27
 
28
- var _chunkA4K3QWLIcjs = require('./chunk-A4K3QWLI.cjs');
28
+ var _chunkCVBJXH33cjs = require('./chunk-CVBJXH33.cjs');
29
29
 
30
30
 
31
- var _chunkRFUD3TOQcjs = require('./chunk-RFUD3TOQ.cjs');
31
+ var _chunkJAWXP52Ocjs = require('./chunk-JAWXP52O.cjs');
32
32
 
33
33
 
34
- var _chunk3DD7YCN2cjs = require('./chunk-3DD7YCN2.cjs');
34
+ var _chunkKHFZCJ23cjs = require('./chunk-KHFZCJ23.cjs');
35
35
 
36
36
 
37
- var _chunkHMAAC5QAcjs = require('./chunk-HMAAC5QA.cjs');
37
+ var _chunkA4K3QWLIcjs = require('./chunk-A4K3QWLI.cjs');
38
38
 
39
39
 
40
40
  var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
@@ -48,7 +48,7 @@ _chunk75ZPJI57cjs.__export.call(void 0, urls_exports, {
48
48
  getReplaceCompleteUrl: () => _chunkKHFZCJ23cjs.getReplaceCompleteUrl,
49
49
  getReplaceImportUrl: () => _chunkRFUD3TOQcjs.getReplaceImportUrl,
50
50
  getReplaceUrl: () => _chunk3DD7YCN2cjs.getReplaceUrl,
51
- getReplaceUrls: () => _chunkHMAAC5QAcjs.getReplaceUrls,
51
+ getReplaceUrls: () => _chunkUOQMDO75cjs.getReplaceUrls,
52
52
  getSuffix: () => _chunk76G4GJ6Rcjs.getSuffix,
53
53
  getUrlCatalogue: () => _chunkETOSL4FHcjs.getUrlCatalogue,
54
54
  getUrlCatalogueLast: () => _chunkTPOVGKBXcjs.getUrlCatalogueLast,
@@ -27,16 +27,16 @@ import {
27
27
  } from "./chunk-PLNZCEDI.js";
28
28
  import {
29
29
  matchs
30
- } from "./chunk-33X65PQS.js";
31
- import {
32
- matchsWhole
33
- } from "./chunk-IRGCP7KH.js";
30
+ } from "./chunk-T2QKEABG.js";
34
31
  import {
35
32
  matchsEnd
36
33
  } from "./chunk-YNOFNHEK.js";
37
34
  import {
38
35
  matchsStart
39
36
  } from "./chunk-S6JRKYPY.js";
37
+ import {
38
+ matchsWhole
39
+ } from "./chunk-IRGCP7KH.js";
40
40
  import {
41
41
  __export
42
42
  } from "./chunk-MLKGABMK.js";
@@ -1,14 +1,17 @@
1
1
  // packages/basic/string/getContent.ts
2
2
  function getContent(value) {
3
- try {
4
- const func = new Function(
5
- "",
6
- `
3
+ const func = new Function(
4
+ "",
5
+ `
7
6
  "use strict";
8
7
  return ${value};
9
8
  `
10
- );
11
- return func();
9
+ );
10
+ return func();
11
+ }
12
+ function getContents(value) {
13
+ try {
14
+ return getContent(value);
12
15
  } catch (error) {
13
16
  console.log("getContent:", error);
14
17
  return value;
@@ -16,5 +19,6 @@ function getContent(value) {
16
19
  }
17
20
 
18
21
  export {
19
- getContent
22
+ getContent,
23
+ getContents
20
24
  };
@@ -1,7 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5SOPYS7L.cjs');
2
-
3
-
4
- var _chunkZ2EAQZ47cjs = require('../chunk-Z2EAQZ47.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7NEXCOZZ.cjs');
5
2
 
6
3
 
7
4
 
@@ -9,6 +6,9 @@ var _chunk7TGGIID4cjs = require('../chunk-7TGGIID4.cjs');
9
6
 
10
7
 
11
8
  var _chunk75UYCE4Xcjs = require('../chunk-75UYCE4X.cjs');
9
+
10
+
11
+ var _chunkZ2EAQZ47cjs = require('../chunk-Z2EAQZ47.cjs');
12
12
  require('../chunk-75ZPJI57.cjs');
13
13
 
14
14
 
@@ -1,7 +1,4 @@
1
- import "../chunk-H22VVRP6.js";
2
- import {
3
- hourFormat
4
- } from "../chunk-UCF3YRN2.js";
1
+ import "../chunk-JPQN3LUH.js";
5
2
  import {
6
3
  format,
7
4
  parseDateString
@@ -9,6 +6,9 @@ import {
9
6
  import {
10
7
  getEndOfDay
11
8
  } from "../chunk-Q2EFMBMD.js";
9
+ import {
10
+ hourFormat
11
+ } from "../chunk-UCF3YRN2.js";
12
12
  import "../chunk-MLKGABMK.js";
13
13
  export {
14
14
  format,
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-BYfEDFkm.js';
2
2
  import { i as index$2 } from './index-oW2flHUo.js';
3
- import { i as index$3 } from './index-BsactE-d.js';
3
+ import { i as index$3 } from './index-zLctRwm9.js';
4
4
 
5
5
  declare namespace index {
6
6
  export { index$1 as array, index$2 as object, index$3 as string };
@@ -3,7 +3,7 @@ import { appearNumSeat } from './basic/string/appearNumSeat.cjs';
3
3
  import { deComment } from './basic/string/deComment.cjs';
4
4
  import { firstLower } from './basic/string/firstLower.cjs';
5
5
  import { firstUpper } from './basic/string/firstUpper.cjs';
6
- import { getContent } from './basic/string/getContent.cjs';
6
+ import { getContent, getContents } from './basic/string/getContent.cjs';
7
7
  import { getImports, getImportss } from './basic/string/getImports.cjs';
8
8
  import { getStartSame } from './basic/string/getStartSame.cjs';
9
9
  import { getStartSames } from './basic/string/getStartSames.cjs';
@@ -22,6 +22,7 @@ declare const index_deComment: typeof deComment;
22
22
  declare const index_firstLower: typeof firstLower;
23
23
  declare const index_firstUpper: typeof firstUpper;
24
24
  declare const index_getContent: typeof getContent;
25
+ declare const index_getContents: typeof getContents;
25
26
  declare const index_getFunctionFormat: typeof getFunctionFormat;
26
27
  declare const index_getImports: typeof getImports;
27
28
  declare const index_getImportss: typeof getImportss;
@@ -39,7 +40,7 @@ declare const index_toJSONSStringify: typeof toJSONSStringify;
39
40
  declare const index_toJSONStringify: typeof toJSONStringify;
40
41
  declare const index_toStringParse: typeof toStringParse;
41
42
  declare namespace index {
42
- export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getContent as getContent, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify, index_toStringParse as toStringParse };
43
+ export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getContent as getContent, index_getContents as getContents, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify, index_toStringParse as toStringParse };
43
44
  }
44
45
 
45
46
  export { index as i };
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-D8_Udh46.cjs';
2
2
  import { i as index$2 } from './index-Cz8fWd5l.cjs';
3
- import { i as index$3 } from './index-CqPaaWEs.cjs';
3
+ import { i as index$3 } from './index-CxW0zCsG.cjs';
4
4
 
5
5
  declare namespace index {
6
6
  export { index$1 as array, index$2 as object, index$3 as string };
@@ -3,7 +3,7 @@ import { appearNumSeat } from './basic/string/appearNumSeat.js';
3
3
  import { deComment } from './basic/string/deComment.js';
4
4
  import { firstLower } from './basic/string/firstLower.js';
5
5
  import { firstUpper } from './basic/string/firstUpper.js';
6
- import { getContent } from './basic/string/getContent.js';
6
+ import { getContent, getContents } from './basic/string/getContent.js';
7
7
  import { getImports, getImportss } from './basic/string/getImports.js';
8
8
  import { getStartSame } from './basic/string/getStartSame.js';
9
9
  import { getStartSames } from './basic/string/getStartSames.js';
@@ -22,6 +22,7 @@ declare const index_deComment: typeof deComment;
22
22
  declare const index_firstLower: typeof firstLower;
23
23
  declare const index_firstUpper: typeof firstUpper;
24
24
  declare const index_getContent: typeof getContent;
25
+ declare const index_getContents: typeof getContents;
25
26
  declare const index_getFunctionFormat: typeof getFunctionFormat;
26
27
  declare const index_getImports: typeof getImports;
27
28
  declare const index_getImportss: typeof getImportss;
@@ -39,7 +40,7 @@ declare const index_toJSONSStringify: typeof toJSONSStringify;
39
40
  declare const index_toJSONStringify: typeof toJSONStringify;
40
41
  declare const index_toStringParse: typeof toStringParse;
41
42
  declare namespace index {
42
- export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getContent as getContent, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify, index_toStringParse as toStringParse };
43
+ export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getContent as getContent, index_getContents as getContents, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify, index_toStringParse as toStringParse };
43
44
  }
44
45
 
45
46
  export { index as i };