@fangzhongya/utils 0.0.7 → 0.0.8-3

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 (179) hide show
  1. package/LICENSE +25 -25
  2. package/README.md +5 -3
  3. package/dist/basic/array/asyncMergeArray.cjs +7 -0
  4. package/dist/basic/array/asyncMergeArray.d.ts +9 -0
  5. package/dist/basic/array/asyncMergeArray.js +7 -0
  6. package/dist/basic/array/duplicateRemoval.cjs +7 -0
  7. package/dist/basic/array/duplicateRemoval.d.ts +9 -0
  8. package/dist/basic/array/duplicateRemoval.js +7 -0
  9. package/dist/basic/array/index.cjs +15 -3
  10. package/dist/basic/array/index.d.ts +3 -0
  11. package/dist/basic/array/index.js +14 -2
  12. package/dist/basic/array/replaceAfter.cjs +7 -0
  13. package/dist/basic/array/replaceAfter.d.ts +10 -0
  14. package/dist/basic/array/replaceAfter.js +7 -0
  15. package/dist/basic/array/toggleArray.cjs +2 -2
  16. package/dist/basic/array/toggleArray.d.ts +4 -7
  17. package/dist/basic/array/toggleArray.js +1 -1
  18. package/dist/basic/index.cjs +16 -11
  19. package/dist/basic/index.d.ts +13 -8
  20. package/dist/basic/index.js +15 -10
  21. package/dist/basic/object/index.cjs +7 -3
  22. package/dist/basic/object/index.d.ts +2 -1
  23. package/dist/basic/object/index.js +7 -3
  24. package/dist/basic/object/isObject.cjs +2 -3
  25. package/dist/basic/object/isObject.js +1 -2
  26. package/dist/basic/object/isObjectArray.cjs +9 -0
  27. package/dist/basic/object/isObjectArray.d.ts +8 -0
  28. package/dist/basic/object/isObjectArray.js +9 -0
  29. package/dist/basic/string/index.cjs +8 -4
  30. package/dist/basic/string/index.d.ts +3 -2
  31. package/dist/basic/string/index.js +10 -6
  32. package/dist/basic/string/splitUpper.cjs +7 -0
  33. package/dist/basic/string/splitUpper.d.ts +8 -0
  34. package/dist/basic/string/splitUpper.js +7 -0
  35. package/dist/{chunk-O6GUK5PL.cjs → chunk-27WA7EI2.cjs} +2 -2
  36. package/dist/chunk-2SOGI5PH.js +40 -0
  37. package/dist/{chunk-G3AKL6ST.js → chunk-2W7EPKCY.js} +6 -6
  38. package/dist/chunk-3ERQHPTD.cjs +13 -0
  39. package/dist/chunk-3NFJ3TZL.js +32 -0
  40. package/dist/chunk-43VE3KXL.cjs +27 -0
  41. package/dist/{chunk-XZDG4EDX.js → chunk-4TVFBKXC.js} +5 -5
  42. package/dist/{chunk-R7G5MSGO.cjs → chunk-5JCMM6YG.cjs} +6 -2
  43. package/dist/chunk-5RZYHE3X.js +16 -0
  44. package/dist/{chunk-N6OX2U6W.cjs → chunk-5U2ZV4MK.cjs} +6 -2
  45. package/dist/{chunk-IMCJXCTH.cjs → chunk-5UV36ZIW.cjs} +4 -4
  46. package/dist/chunk-6A6EAFGL.cjs +13 -0
  47. package/dist/{chunk-MWVRSPS5.js → chunk-6MGCPTRE.js} +9 -5
  48. package/dist/{chunk-P3YVE7JK.cjs → chunk-77SI5VSS.cjs} +5 -2
  49. package/dist/chunk-7B2HWFLC.cjs +20 -0
  50. package/dist/chunk-AM67P3W7.js +15 -0
  51. package/dist/{chunk-LFC6RYSS.js → chunk-AWC672JW.js} +13 -0
  52. package/dist/chunk-AXAVKIR3.cjs +20 -0
  53. package/dist/{chunk-3BKSZA3U.cjs → chunk-AXMOZZCM.cjs} +4 -3
  54. package/dist/chunk-BDJORZRC.js +13 -0
  55. package/dist/{chunk-VHMUSGCJ.js → chunk-BWNLZJJG.js} +4 -4
  56. package/dist/{chunk-MAIGGOA4.js → chunk-C5A37VUQ.js} +5 -1
  57. package/dist/{chunk-DILKJQYV.cjs → chunk-CP2ZSRMU.cjs} +1 -1
  58. package/dist/chunk-FP5ETUFZ.cjs +21 -0
  59. package/dist/chunk-GD3OA7GU.cjs +18 -0
  60. package/dist/chunk-GOH6G74S.js +17 -0
  61. package/dist/{chunk-HULCI3SJ.js → chunk-GOJN3OQ4.js} +4 -3
  62. package/dist/chunk-HCEAYQHS.cjs +40 -0
  63. package/dist/{chunk-YK7WI6H7.cjs → chunk-IRKWYW5B.cjs} +13 -0
  64. package/dist/chunk-ISSZY3JI.cjs +24 -0
  65. package/dist/chunk-JLEIVV37.cjs +32 -0
  66. package/dist/chunk-LG7MY5KL.cjs +17 -0
  67. package/dist/chunk-LPDYEUMB.cjs +48 -0
  68. package/dist/chunk-MIC3W2VY.cjs +8 -0
  69. package/dist/{chunk-FESWCW7T.js → chunk-MXLYIZIX.js} +4 -4
  70. package/dist/chunk-MXY4W3K5.js +8 -0
  71. package/dist/{chunk-L45SIOB3.js → chunk-MYS6DR74.js} +22 -6
  72. package/dist/chunk-O2RP4UZQ.cjs +45 -0
  73. package/dist/chunk-P3HC3D2H.cjs +32 -0
  74. package/dist/{chunk-JSU6KHXP.cjs → chunk-PAJDTMC5.cjs} +6 -6
  75. package/dist/{chunk-HRECTLZO.js → chunk-QIK5MQUL.js} +7 -3
  76. package/dist/chunk-QKLVFB74.js +45 -0
  77. package/dist/chunk-QLBOPNV4.cjs +15 -0
  78. package/dist/chunk-RFUD3TOQ.cjs +30 -0
  79. package/dist/chunk-RU4PMJQS.js +21 -0
  80. package/dist/chunk-RWKZ6ZKW.js +20 -0
  81. package/dist/chunk-SRR2GWC7.js +15 -0
  82. package/dist/{chunk-AS3WKQP7.js → chunk-TP5BP64T.js} +5 -2
  83. package/dist/chunk-UCZBNN4I.cjs +19 -0
  84. package/dist/chunk-UGS2F6DK.cjs +16 -0
  85. package/dist/chunk-UOADEBDH.js +13 -0
  86. package/dist/chunk-VNVG4BJ4.cjs +23 -0
  87. package/dist/{chunk-3OME5O5G.cjs → chunk-WI55O3IV.cjs} +2 -2
  88. package/dist/{chunk-G6FL4SSB.js → chunk-XBZX5YZW.js} +1 -1
  89. package/dist/{chunk-2PY55D6T.js → chunk-XCDKXZFR.js} +3 -3
  90. package/dist/chunk-XCTPS2CO.js +20 -0
  91. package/dist/{chunk-2B742V22.cjs → chunk-XHR36FJK.cjs} +2 -6
  92. package/dist/chunk-XQB2HUHZ.js +23 -0
  93. package/dist/{chunk-ZEXHP7HI.js → chunk-YWL2IWBT.js} +1 -1
  94. package/dist/chunk-YYWENXJO.js +27 -0
  95. package/dist/chunk-Z6NS6N32.js +19 -0
  96. package/dist/chunk-ZJHRAMCL.js +30 -0
  97. package/dist/{chunk-62JF75OY.cjs → chunk-ZMG2MHGS.cjs} +7 -3
  98. package/dist/chunk-ZVBCHJA5.js +18 -0
  99. package/dist/css/fetchUnitValue.cjs +7 -0
  100. package/dist/css/fetchUnitValue.d.ts +10 -0
  101. package/dist/css/fetchUnitValue.js +7 -0
  102. package/dist/css/getCss.cjs +7 -0
  103. package/dist/css/getCss.d.ts +3 -0
  104. package/dist/css/getCss.js +7 -0
  105. package/dist/css/index.cjs +12 -0
  106. package/dist/css/index.d.ts +2 -0
  107. package/dist/css/index.js +12 -0
  108. package/dist/{index-24872dab.d.ts → index-09cd203a.d.ts} +3 -0
  109. package/dist/index-2c4dacd2.d.ts +13 -0
  110. package/dist/{index-f8e894a2.d.ts → index-39c0a1ca.d.ts} +5 -2
  111. package/dist/index-42672b09.d.ts +36 -0
  112. package/dist/index-84b0c6c3.d.ts +13 -0
  113. package/dist/index-b16b81dc.d.ts +22 -0
  114. package/dist/index-c661bc0a.d.ts +13 -0
  115. package/dist/{index-8473d4b5.d.ts → index-fab49d44.d.ts} +4 -1
  116. package/dist/index.cjs +46 -25
  117. package/dist/index.d.ts +30 -15
  118. package/dist/index.js +46 -25
  119. package/dist/iss/index.cjs +7 -3
  120. package/dist/iss/index.d.ts +1 -0
  121. package/dist/iss/index.js +8 -4
  122. package/dist/load/getSynch.cjs +7 -0
  123. package/dist/load/getSynch.d.ts +8 -0
  124. package/dist/load/getSynch.js +7 -0
  125. package/dist/load/index.cjs +12 -0
  126. package/dist/load/index.d.ts +2 -0
  127. package/dist/load/index.js +12 -0
  128. package/dist/load/loadScript.cjs +7 -0
  129. package/dist/load/loadScript.d.ts +3 -0
  130. package/dist/load/loadScript.js +7 -0
  131. package/dist/name/getComponentNames.cjs +5 -5
  132. package/dist/name/getComponentNames.js +4 -4
  133. package/dist/name/getNames.cjs +5 -5
  134. package/dist/name/getNames.js +4 -4
  135. package/dist/name/index.cjs +7 -7
  136. package/dist/name/index.d.ts +2 -2
  137. package/dist/name/index.js +8 -8
  138. package/dist/name/lineToLargeHump.cjs +3 -3
  139. package/dist/name/lineToLargeHump.js +2 -2
  140. package/dist/name/lineToSmallHump.cjs +4 -3
  141. package/dist/name/lineToSmallHump.d.ts +1 -1
  142. package/dist/name/lineToSmallHump.js +3 -2
  143. package/dist/urls/getImportUrl.cjs +2 -2
  144. package/dist/urls/getImportUrl.js +1 -1
  145. package/dist/urls/getImportUrlSuffix.cjs +3 -3
  146. package/dist/urls/getImportUrlSuffix.js +2 -2
  147. package/dist/urls/getNewFileName.cjs +8 -0
  148. package/dist/urls/getNewFileName.d.ts +8 -0
  149. package/dist/urls/getNewFileName.js +8 -0
  150. package/dist/urls/getReplaceImportUrl.cjs +8 -0
  151. package/dist/urls/getReplaceImportUrl.d.ts +9 -0
  152. package/dist/urls/getReplaceImportUrl.js +8 -0
  153. package/dist/urls/getSuffix.cjs +7 -0
  154. package/dist/urls/getSuffix.d.ts +8 -0
  155. package/dist/urls/getSuffix.js +7 -0
  156. package/dist/urls/getUrlCatalogue.cjs +2 -2
  157. package/dist/urls/getUrlCatalogue.js +1 -1
  158. package/dist/urls/getUrlCatalogueLast.cjs +7 -0
  159. package/dist/urls/getUrlCatalogueLast.d.ts +8 -0
  160. package/dist/urls/getUrlCatalogueLast.js +7 -0
  161. package/dist/urls/getUrlCatalogueObj.cjs +2 -2
  162. package/dist/urls/getUrlCatalogueObj.d.ts +4 -3
  163. package/dist/urls/getUrlCatalogueObj.js +1 -1
  164. package/dist/urls/index.cjs +22 -6
  165. package/dist/urls/index.d.ts +5 -1
  166. package/dist/urls/index.js +23 -7
  167. package/package.json +308 -233
  168. package/dist/chunk-3VG3A2GM.cjs +0 -24
  169. package/dist/chunk-6ADW34CB.cjs +0 -32
  170. package/dist/chunk-ETPPNXJN.cjs +0 -20
  171. package/dist/chunk-O3RJ5M35.js +0 -19
  172. package/dist/chunk-UL24YTNH.cjs +0 -32
  173. package/dist/chunk-WO6JQRTD.js +0 -16
  174. package/dist/chunk-XRGLFTH2.cjs +0 -16
  175. package/dist/chunk-YMC5G5SU.js +0 -20
  176. package/dist/index-cee90650.d.ts +0 -22
  177. package/dist/index-dfd59fc4.d.ts +0 -13
  178. package/dist/index-ee246de3.d.ts +0 -13
  179. package/dist/{index-dddef964.d.ts → index-f6ea5a6a.d.ts} +2 -2
@@ -0,0 +1,19 @@
1
+ // packages/basic/string/splitUpper.ts
2
+ function splitUpper(name) {
3
+ let reg = /(([A-Z])([^A-Z]*))/g;
4
+ let result;
5
+ let arr = [];
6
+ let i = 0;
7
+ while ((result = reg.exec(name)) !== null) {
8
+ if (i == 0 && result.index != 0) {
9
+ arr.push(name.substring(0, result.index));
10
+ }
11
+ i++;
12
+ arr.push(result[1].toLowerCase());
13
+ }
14
+ return arr;
15
+ }
16
+
17
+ export {
18
+ splitUpper
19
+ };
@@ -0,0 +1,30 @@
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(0, (regs.index || 0) + 1);
14
+ arr[1] = a + arr[1];
15
+ }
16
+ }
17
+ const l = arr[1].split(/\\|\//).length - 1;
18
+ let ds = ["./"];
19
+ if (l > 0) {
20
+ ds = [];
21
+ for (let index = 0; index < l; index++) {
22
+ ds.push("../");
23
+ }
24
+ }
25
+ return ds.join("");
26
+ }
27
+
28
+ export {
29
+ getReplaceImportUrl
30
+ };
@@ -1,5 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkUCZBNN4Icjs = require('./chunk-UCZBNN4I.cjs');
4
+
5
+
3
6
  var _chunkJ7S3KBHLcjs = require('./chunk-J7S3KBHL.cjs');
4
7
 
5
8
 
@@ -9,13 +12,13 @@ var _chunk3HXQ7TGVcjs = require('./chunk-3HXQ7TGV.cjs');
9
12
  var _chunkJR6ZN6QDcjs = require('./chunk-JR6ZN6QD.cjs');
10
13
 
11
14
 
12
- var _chunkPW7RP73Jcjs = require('./chunk-PW7RP73J.cjs');
15
+ var _chunkUEVMS6QDcjs = require('./chunk-UEVMS6QD.cjs');
13
16
 
14
17
 
15
18
  var _chunkOQL4GIEJcjs = require('./chunk-OQL4GIEJ.cjs');
16
19
 
17
20
 
18
- var _chunkUEVMS6QDcjs = require('./chunk-UEVMS6QD.cjs');
21
+ var _chunkPW7RP73Jcjs = require('./chunk-PW7RP73J.cjs');
19
22
 
20
23
 
21
24
  var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
@@ -28,7 +31,8 @@ _chunk5AZGAKWRcjs.__export.call(void 0, string_exports, {
28
31
  firstLower: () => _chunkUEVMS6QDcjs.firstLower,
29
32
  firstUpper: () => _chunkOQL4GIEJcjs.firstUpper,
30
33
  getStartSame: () => _chunkJ7S3KBHLcjs.getStartSame,
31
- getStartSames: () => _chunkPW7RP73Jcjs.getStartSames
34
+ getStartSames: () => _chunkPW7RP73Jcjs.getStartSames,
35
+ splitUpper: () => _chunkUCZBNN4Icjs.splitUpper
32
36
  });
33
37
 
34
38
 
@@ -0,0 +1,18 @@
1
+ // packages/basic/array/duplicateRemoval.ts
2
+ function duplicateRemoval(arr, key) {
3
+ const ks = [];
4
+ const arrs = [];
5
+ for (let index = 0; index < arr.length; index++) {
6
+ const element = arr[index];
7
+ const v = element[key];
8
+ if (!ks.includes(v)) {
9
+ ks.push(v);
10
+ arrs.push(arr[index]);
11
+ }
12
+ }
13
+ return arrs;
14
+ }
15
+
16
+ export {
17
+ duplicateRemoval
18
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkO2RP4UZQcjs = require('../chunk-O2RP4UZQ.cjs');
4
+ require('../chunk-5AZGAKWR.cjs');
5
+
6
+
7
+ exports.fetchUnitValue = _chunkO2RP4UZQcjs.fetchUnitValue;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * 提取单位值
3
+ * @param text
4
+ * @param str
5
+ * @param callback
6
+ * @returns
7
+ */
8
+ declare function fetchUnitValue(text: string, str: string, callback?: (n: number, dw: string, yss: string, i: number) => string): string;
9
+
10
+ export { fetchUnitValue };
@@ -0,0 +1,7 @@
1
+ import {
2
+ fetchUnitValue
3
+ } from "../chunk-QKLVFB74.js";
4
+ import "../chunk-UICA3PK6.js";
5
+ export {
6
+ fetchUnitValue
7
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkUGS2F6DKcjs = require('../chunk-UGS2F6DK.cjs');
4
+ require('../chunk-5AZGAKWR.cjs');
5
+
6
+
7
+ exports.getCss = _chunkUGS2F6DKcjs.getCss;
@@ -0,0 +1,3 @@
1
+ declare function getCss(elem: HTMLDivElement, style: string): any;
2
+
3
+ export { getCss };
@@ -0,0 +1,7 @@
1
+ import {
2
+ getCss
3
+ } from "../chunk-5RZYHE3X.js";
4
+ import "../chunk-UICA3PK6.js";
5
+ export {
6
+ getCss
7
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7B2HWFLC.cjs');
2
+
3
+
4
+ var _chunkO2RP4UZQcjs = require('../chunk-O2RP4UZQ.cjs');
5
+
6
+
7
+ var _chunkUGS2F6DKcjs = require('../chunk-UGS2F6DK.cjs');
8
+ require('../chunk-5AZGAKWR.cjs');
9
+
10
+
11
+
12
+ exports.fetchUnitValue = _chunkO2RP4UZQcjs.fetchUnitValue; exports.getCss = _chunkUGS2F6DKcjs.getCss;
@@ -0,0 +1,2 @@
1
+ export { fetchUnitValue } from './fetchUnitValue.js';
2
+ export { getCss } from './getCss.js';
@@ -0,0 +1,12 @@
1
+ import "../chunk-RWKZ6ZKW.js";
2
+ import {
3
+ fetchUnitValue
4
+ } from "../chunk-QKLVFB74.js";
5
+ import {
6
+ getCss
7
+ } from "../chunk-5RZYHE3X.js";
8
+ import "../chunk-UICA3PK6.js";
9
+ export {
10
+ fetchUnitValue,
11
+ getCss
12
+ };
@@ -1,12 +1,15 @@
1
1
  import { isArray } from './basic/array/isArray.js';
2
2
  import { isObject } from './basic/object/isObject.js';
3
+ import { isObjectArray } from './basic/object/isObjectArray.js';
3
4
 
4
5
  declare const index_isArray: typeof isArray;
5
6
  declare const index_isObject: typeof isObject;
7
+ declare const index_isObjectArray: typeof isObjectArray;
6
8
  declare namespace index {
7
9
  export {
8
10
  index_isArray as isArray,
9
11
  index_isObject as isObject,
12
+ index_isObjectArray as isObjectArray,
10
13
  };
11
14
  }
12
15
 
@@ -0,0 +1,13 @@
1
+ import { fetchUnitValue } from './css/fetchUnitValue.js';
2
+ import { getCss } from './css/getCss.js';
3
+
4
+ declare const index_fetchUnitValue: typeof fetchUnitValue;
5
+ declare const index_getCss: typeof getCss;
6
+ declare namespace index {
7
+ export {
8
+ index_fetchUnitValue as fetchUnitValue,
9
+ index_getCss as getCss,
10
+ };
11
+ }
12
+
13
+ export { index as i };
@@ -1,9 +1,10 @@
1
1
  import { appearNum } from './basic/string/appearNum.js';
2
- import { appearNumSeat } from './basic/string/appearNumSeat.js';
3
- import { firstLower } from './basic/string/firstLower.js';
4
2
  import { firstUpper } from './basic/string/firstUpper.js';
3
+ import { firstLower } from './basic/string/firstLower.js';
4
+ import { appearNumSeat } from './basic/string/appearNumSeat.js';
5
5
  import { getStartSame } from './basic/string/getStartSame.js';
6
6
  import { getStartSames } from './basic/string/getStartSames.js';
7
+ import { splitUpper } from './basic/string/splitUpper.js';
7
8
 
8
9
  declare const index_appearNum: typeof appearNum;
9
10
  declare const index_appearNumSeat: typeof appearNumSeat;
@@ -11,6 +12,7 @@ declare const index_firstLower: typeof firstLower;
11
12
  declare const index_firstUpper: typeof firstUpper;
12
13
  declare const index_getStartSame: typeof getStartSame;
13
14
  declare const index_getStartSames: typeof getStartSames;
15
+ declare const index_splitUpper: typeof splitUpper;
14
16
  declare namespace index {
15
17
  export {
16
18
  index_appearNum as appearNum,
@@ -19,6 +21,7 @@ declare namespace index {
19
21
  index_firstUpper as firstUpper,
20
22
  index_getStartSame as getStartSame,
21
23
  index_getStartSames as getStartSames,
24
+ index_splitUpper as splitUpper,
22
25
  };
23
26
  }
24
27
 
@@ -0,0 +1,36 @@
1
+ import { getImportUrl } from './urls/getImportUrl.js';
2
+ import { getImportUrlSuffix } from './urls/getImportUrlSuffix.js';
3
+ import { getNewFileName } from './urls/getNewFileName.js';
4
+ import { getReplaceImportUrl } from './urls/getReplaceImportUrl.js';
5
+ import { getReplaceUrl } from './urls/getReplaceUrl.js';
6
+ import { getSuffix } from './urls/getSuffix.js';
7
+ import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
8
+ import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
9
+ import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.js';
10
+
11
+ declare const index_UrlCatalogue: typeof UrlCatalogue;
12
+ declare const index_getImportUrl: typeof getImportUrl;
13
+ declare const index_getImportUrlSuffix: typeof getImportUrlSuffix;
14
+ declare const index_getNewFileName: typeof getNewFileName;
15
+ declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
16
+ declare const index_getReplaceUrl: typeof getReplaceUrl;
17
+ declare const index_getSuffix: typeof getSuffix;
18
+ declare const index_getUrlCatalogue: typeof getUrlCatalogue;
19
+ declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
20
+ declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
21
+ declare namespace index {
22
+ export {
23
+ index_UrlCatalogue as UrlCatalogue,
24
+ index_getImportUrl as getImportUrl,
25
+ index_getImportUrlSuffix as getImportUrlSuffix,
26
+ index_getNewFileName as getNewFileName,
27
+ index_getReplaceImportUrl as getReplaceImportUrl,
28
+ index_getReplaceUrl as getReplaceUrl,
29
+ index_getSuffix as getSuffix,
30
+ index_getUrlCatalogue as getUrlCatalogue,
31
+ index_getUrlCatalogueLast as getUrlCatalogueLast,
32
+ index_getUrlCatalogueObj as getUrlCatalogueObj,
33
+ };
34
+ }
35
+
36
+ export { index as i };
@@ -0,0 +1,13 @@
1
+ import { getSynch } from './load/getSynch.js';
2
+ import { loadScript } from './load/loadScript.js';
3
+
4
+ declare const index_getSynch: typeof getSynch;
5
+ declare const index_loadScript: typeof loadScript;
6
+ declare namespace index {
7
+ export {
8
+ index_getSynch as getSynch,
9
+ index_loadScript as loadScript,
10
+ };
11
+ }
12
+
13
+ export { index as i };
@@ -0,0 +1,22 @@
1
+ import { asyncMergeArray } from './basic/array/asyncMergeArray.js';
2
+ import { duplicateRemoval } from './basic/array/duplicateRemoval.js';
3
+ import { isArray } from './basic/array/isArray.js';
4
+ import { replaceAfter } from './basic/array/replaceAfter.js';
5
+ import { toggleArray } from './basic/array/toggleArray.js';
6
+
7
+ declare const index_asyncMergeArray: typeof asyncMergeArray;
8
+ declare const index_duplicateRemoval: typeof duplicateRemoval;
9
+ declare const index_isArray: typeof isArray;
10
+ declare const index_replaceAfter: typeof replaceAfter;
11
+ declare const index_toggleArray: typeof toggleArray;
12
+ declare namespace index {
13
+ export {
14
+ index_asyncMergeArray as asyncMergeArray,
15
+ index_duplicateRemoval as duplicateRemoval,
16
+ index_isArray as isArray,
17
+ index_replaceAfter as replaceAfter,
18
+ index_toggleArray as toggleArray,
19
+ };
20
+ }
21
+
22
+ export { index as i };
@@ -0,0 +1,13 @@
1
+ import { i as index$1 } from './index-b16b81dc.js';
2
+ import { i as index$3 } from './index-39c0a1ca.js';
3
+ import { i as index$2 } from './index-fab49d44.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 };
@@ -1,13 +1,16 @@
1
- import { mergeObject } from './basic/object/mergeObject.js';
2
1
  import { isObject } from './basic/object/isObject.js';
2
+ import { isObjectArray } from './basic/object/isObjectArray.js';
3
+ import { mergeObject } from './basic/object/mergeObject.js';
3
4
  import { unmergeObject } from './basic/object/unmergeObject.js';
4
5
 
5
6
  declare const index_isObject: typeof isObject;
7
+ declare const index_isObjectArray: typeof isObjectArray;
6
8
  declare const index_mergeObject: typeof mergeObject;
7
9
  declare const index_unmergeObject: typeof unmergeObject;
8
10
  declare namespace index {
9
11
  export {
10
12
  index_isObject as isObject,
13
+ index_isObjectArray as isObjectArray,
11
14
  index_mergeObject as mergeObject,
12
15
  index_unmergeObject as unmergeObject,
13
16
  };
package/dist/index.cjs CHANGED
@@ -1,38 +1,62 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6ADW34CBcjs = require('./chunk-6ADW34CB.cjs');
4
- require('./chunk-O6GUK5PL.cjs');
5
- require('./chunk-YK7WI6H7.cjs');
3
+ var _chunkLPDYEUMBcjs = require('./chunk-LPDYEUMB.cjs');
4
+ require('./chunk-43VE3KXL.cjs');
5
+ require('./chunk-RFUD3TOQ.cjs');
6
6
  require('./chunk-6RIGEV6G.cjs');
7
- require('./chunk-DILKJQYV.cjs');
8
- require('./chunk-P3YVE7JK.cjs');
7
+ require('./chunk-6A6EAFGL.cjs');
8
+ require('./chunk-CP2ZSRMU.cjs');
9
+ require('./chunk-3ERQHPTD.cjs');
10
+ require('./chunk-77SI5VSS.cjs');
9
11
 
10
12
 
11
- var _chunkJ7SPTSZMcjs = require('./chunk-J7SPTSZM.cjs');
12
- require('./chunk-5VQ4EAJZ.cjs');
13
+ var _chunkJLEIVV37cjs = require('./chunk-JLEIVV37.cjs');
14
+ require('./chunk-PAJDTMC5.cjs');
15
+ require('./chunk-5UV36ZIW.cjs');
16
+ require('./chunk-LTVXRDTD.cjs');
17
+ require('./chunk-XHR36FJK.cjs');
18
+ require('./chunk-WI55O3IV.cjs');
19
+ require('./chunk-27WA7EI2.cjs');
20
+ require('./chunk-IRKWYW5B.cjs');
13
21
 
14
22
 
15
- var _chunkUL24YTNHcjs = require('./chunk-UL24YTNH.cjs');
16
- require('./chunk-JSU6KHXP.cjs');
17
- require('./chunk-IMCJXCTH.cjs');
18
- require('./chunk-LTVXRDTD.cjs');
19
- require('./chunk-3OME5O5G.cjs');
20
- require('./chunk-2B742V22.cjs');
23
+ var _chunkAXAVKIR3cjs = require('./chunk-AXAVKIR3.cjs');
24
+ require('./chunk-HCEAYQHS.cjs');
25
+ require('./chunk-FP5ETUFZ.cjs');
26
+
27
+
28
+ var _chunkJ7SPTSZMcjs = require('./chunk-J7SPTSZM.cjs');
29
+ require('./chunk-5VQ4EAJZ.cjs');
21
30
 
22
31
 
23
- var _chunk3VG3A2GMcjs = require('./chunk-3VG3A2GM.cjs');
24
- require('./chunk-62JF75OY.cjs');
32
+ var _chunkISSZY3JIcjs = require('./chunk-ISSZY3JI.cjs');
33
+ require('./chunk-ZMG2MHGS.cjs');
34
+ require('./chunk-UCZBNN4I.cjs');
25
35
  require('./chunk-J7S3KBHL.cjs');
26
- require('./chunk-R7G5MSGO.cjs');
36
+ require('./chunk-P3HC3D2H.cjs');
37
+ require('./chunk-VNVG4BJ4.cjs');
38
+ require('./chunk-GD3OA7GU.cjs');
39
+ require('./chunk-LG7MY5KL.cjs');
40
+ require('./chunk-AXMOZZCM.cjs');
41
+ require('./chunk-5JCMM6YG.cjs');
27
42
  require('./chunk-NRJPCN4J.cjs');
28
43
  require('./chunk-3VYRYSWK.cjs');
29
44
  require('./chunk-3HXQ7TGV.cjs');
30
45
  require('./chunk-JR6ZN6QD.cjs');
31
- require('./chunk-PW7RP73J.cjs');
32
- require('./chunk-ETPPNXJN.cjs');
33
- require('./chunk-3BKSZA3U.cjs');
34
- require('./chunk-OQL4GIEJ.cjs');
35
46
  require('./chunk-UEVMS6QD.cjs');
47
+ require('./chunk-OQL4GIEJ.cjs');
48
+ require('./chunk-PW7RP73J.cjs');
49
+
50
+
51
+ var _chunk7B2HWFLCcjs = require('./chunk-7B2HWFLC.cjs');
52
+ require('./chunk-O2RP4UZQ.cjs');
53
+ require('./chunk-UGS2F6DK.cjs');
54
+
55
+
56
+ var _chunk5U2ZV4MKcjs = require('./chunk-5U2ZV4MK.cjs');
57
+ require('./chunk-QLBOPNV4.cjs');
58
+ require('./chunk-ISHLY7WM.cjs');
59
+ require('./chunk-MIC3W2VY.cjs');
36
60
 
37
61
 
38
62
  var _chunkSYXWQKOOcjs = require('./chunk-SYXWQKOO.cjs');
@@ -40,12 +64,9 @@ require('./chunk-T22I7TJQ.cjs');
40
64
  require('./chunk-YGJOBIEO.cjs');
41
65
  require('./chunk-ZZEFL2TE.cjs');
42
66
  require('./chunk-2BY5RQHU.cjs');
67
+ require('./chunk-5AZGAKWR.cjs');
43
68
 
44
69
 
45
- var _chunkN6OX2U6Wcjs = require('./chunk-N6OX2U6W.cjs');
46
- require('./chunk-XRGLFTH2.cjs');
47
- require('./chunk-ISHLY7WM.cjs');
48
- require('./chunk-5AZGAKWR.cjs');
49
70
 
50
71
 
51
72
 
@@ -53,4 +74,4 @@ require('./chunk-5AZGAKWR.cjs');
53
74
 
54
75
 
55
76
 
56
- exports.basic = _chunk3VG3A2GMcjs.basic_exports; exports.iss = _chunkN6OX2U6Wcjs.iss_exports; exports.judge = _chunkSYXWQKOOcjs.judge_exports; exports.log = _chunkJ7SPTSZMcjs.log_exports; exports.name = _chunkUL24YTNHcjs.name_exports; exports.urls = _chunk6ADW34CBcjs.urls_exports;
77
+ exports.basic = _chunkISSZY3JIcjs.basic_exports; exports.css = _chunk7B2HWFLCcjs.css_exports; exports.iss = _chunk5U2ZV4MKcjs.iss_exports; exports.judge = _chunkSYXWQKOOcjs.judge_exports; exports.load = _chunkAXAVKIR3cjs.load_exports; exports.log = _chunkJ7SPTSZMcjs.log_exports; exports.name = _chunkJLEIVV37cjs.name_exports; exports.urls = _chunkLPDYEUMBcjs.urls_exports;
package/dist/index.d.ts CHANGED
@@ -1,35 +1,50 @@
1
- export { i as basic } from './index-dfd59fc4.js';
2
- export { i as iss } from './index-24872dab.js';
1
+ export { i as basic } from './index-c661bc0a.js';
2
+ export { i as css } from './index-2c4dacd2.js';
3
+ export { i as iss } from './index-09cd203a.js';
3
4
  export { i as judge } from './index-445fe401.js';
5
+ export { i as load } from './index-84b0c6c3.js';
4
6
  export { i as log } from './index-ef15848a.js';
5
- export { i as name } from './index-dddef964.js';
6
- export { i as urls } from './index-cee90650.js';
7
- import './index-ee246de3.js';
7
+ export { i as name } from './index-f6ea5a6a.js';
8
+ export { i as urls } from './index-42672b09.js';
9
+ import './index-b16b81dc.js';
10
+ import './basic/array/asyncMergeArray.js';
11
+ import './basic/array/duplicateRemoval.js';
8
12
  import './basic/array/isArray.js';
13
+ import './basic/array/replaceAfter.js';
9
14
  import './basic/array/toggleArray.js';
10
- import './index-8473d4b5.js';
11
- import './basic/object/mergeObject.js';
12
- import './basic/object/isObject.js';
13
- import './basic/object/unmergeObject.js';
14
- import './index-f8e894a2.js';
15
+ import './index-39c0a1ca.js';
15
16
  import './basic/string/appearNum.js';
16
- import './basic/string/appearNumSeat.js';
17
- import './basic/string/firstLower.js';
18
17
  import './basic/string/firstUpper.js';
18
+ import './basic/string/firstLower.js';
19
+ import './basic/string/appearNumSeat.js';
19
20
  import './basic/string/getStartSame.js';
20
21
  import './basic/string/getStartSames.js';
22
+ import './basic/string/splitUpper.js';
23
+ import './index-fab49d44.js';
24
+ import './basic/object/isObject.js';
25
+ import './basic/object/isObjectArray.js';
26
+ import './basic/object/mergeObject.js';
27
+ import './basic/object/unmergeObject.js';
28
+ import './css/fetchUnitValue.js';
29
+ import './css/getCss.js';
21
30
  import './judge/matchs.js';
22
31
  import './judge/matchsEnd.js';
23
32
  import './judge/matchsStart.js';
24
33
  import './judge/matchsWhole.js';
34
+ import './load/getSynch.js';
35
+ import './load/loadScript.js';
25
36
  import './log/styleLog.js';
26
37
  import './name/getComponentNames.js';
27
- import './name/getNames.js';
28
38
  import './name/humpToLine.js';
29
- import './name/lineToSmallHump.js';
39
+ import './name/getNames.js';
30
40
  import './name/lineToLargeHump.js';
41
+ import './name/lineToSmallHump.js';
31
42
  import './urls/getImportUrl.js';
32
43
  import './urls/getImportUrlSuffix.js';
44
+ import './urls/getNewFileName.js';
45
+ import './urls/getReplaceImportUrl.js';
33
46
  import './urls/getReplaceUrl.js';
34
- import './urls/getUrlCatalogueObj.js';
47
+ import './urls/getSuffix.js';
35
48
  import './urls/getUrlCatalogue.js';
49
+ import './urls/getUrlCatalogueLast.js';
50
+ import './urls/getUrlCatalogueObj.js';
package/dist/index.js CHANGED
@@ -1,38 +1,62 @@
1
1
  import {
2
2
  urls_exports
3
- } from "./chunk-L45SIOB3.js";
4
- import "./chunk-G6FL4SSB.js";
5
- import "./chunk-LFC6RYSS.js";
3
+ } from "./chunk-MYS6DR74.js";
4
+ import "./chunk-YYWENXJO.js";
5
+ import "./chunk-ZJHRAMCL.js";
6
6
  import "./chunk-ZRZ5HATA.js";
7
- import "./chunk-ZEXHP7HI.js";
8
- import "./chunk-AS3WKQP7.js";
7
+ import "./chunk-UOADEBDH.js";
8
+ import "./chunk-YWL2IWBT.js";
9
+ import "./chunk-BDJORZRC.js";
10
+ import "./chunk-TP5BP64T.js";
11
+ import {
12
+ name_exports
13
+ } from "./chunk-2W7EPKCY.js";
14
+ import "./chunk-MXLYIZIX.js";
15
+ import "./chunk-BWNLZJJG.js";
16
+ import "./chunk-J7CICTHH.js";
17
+ import "./chunk-AM67P3W7.js";
18
+ import "./chunk-XCDKXZFR.js";
19
+ import "./chunk-XBZX5YZW.js";
20
+ import "./chunk-AWC672JW.js";
21
+ import {
22
+ load_exports
23
+ } from "./chunk-XCTPS2CO.js";
24
+ import "./chunk-2SOGI5PH.js";
25
+ import "./chunk-RU4PMJQS.js";
9
26
  import {
10
27
  log_exports
11
28
  } from "./chunk-MPKGL6EV.js";
12
29
  import "./chunk-HVQG2IGJ.js";
13
- import {
14
- name_exports
15
- } from "./chunk-G3AKL6ST.js";
16
- import "./chunk-FESWCW7T.js";
17
- import "./chunk-VHMUSGCJ.js";
18
- import "./chunk-J7CICTHH.js";
19
- import "./chunk-2PY55D6T.js";
20
- import "./chunk-O3RJ5M35.js";
21
30
  import {
22
31
  basic_exports
23
- } from "./chunk-XZDG4EDX.js";
24
- import "./chunk-MWVRSPS5.js";
32
+ } from "./chunk-4TVFBKXC.js";
33
+ import "./chunk-6MGCPTRE.js";
34
+ import "./chunk-Z6NS6N32.js";
25
35
  import "./chunk-7DTHADVK.js";
26
- import "./chunk-MAIGGOA4.js";
36
+ import "./chunk-3NFJ3TZL.js";
37
+ import "./chunk-XQB2HUHZ.js";
38
+ import "./chunk-ZVBCHJA5.js";
39
+ import "./chunk-GOH6G74S.js";
40
+ import "./chunk-GOJN3OQ4.js";
41
+ import "./chunk-C5A37VUQ.js";
27
42
  import "./chunk-RD4EP3M5.js";
28
43
  import "./chunk-A6J46LQK.js";
29
44
  import "./chunk-SNABGVNO.js";
30
45
  import "./chunk-DMZP4RPN.js";
31
- import "./chunk-A276ZDLP.js";
32
- import "./chunk-YMC5G5SU.js";
33
- import "./chunk-HULCI3SJ.js";
34
- import "./chunk-EWJJKQIO.js";
35
46
  import "./chunk-4OBNLDTJ.js";
47
+ import "./chunk-EWJJKQIO.js";
48
+ import "./chunk-A276ZDLP.js";
49
+ import {
50
+ css_exports
51
+ } from "./chunk-RWKZ6ZKW.js";
52
+ import "./chunk-QKLVFB74.js";
53
+ import "./chunk-5RZYHE3X.js";
54
+ import {
55
+ iss_exports
56
+ } from "./chunk-QIK5MQUL.js";
57
+ import "./chunk-SRR2GWC7.js";
58
+ import "./chunk-5PX3AFSC.js";
59
+ import "./chunk-MXY4W3K5.js";
36
60
  import {
37
61
  judge_exports
38
62
  } from "./chunk-ZQX2TYQB.js";
@@ -40,16 +64,13 @@ import "./chunk-T2QKEABG.js";
40
64
  import "./chunk-YNOFNHEK.js";
41
65
  import "./chunk-S6JRKYPY.js";
42
66
  import "./chunk-IRGCP7KH.js";
43
- import {
44
- iss_exports
45
- } from "./chunk-HRECTLZO.js";
46
- import "./chunk-WO6JQRTD.js";
47
- import "./chunk-5PX3AFSC.js";
48
67
  import "./chunk-UICA3PK6.js";
49
68
  export {
50
69
  basic_exports as basic,
70
+ css_exports as css,
51
71
  iss_exports as iss,
52
72
  judge_exports as judge,
73
+ load_exports as load,
53
74
  log_exports as log,
54
75
  name_exports as name,
55
76
  urls_exports as urls
@@ -1,12 +1,16 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-N6OX2U6W.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-5U2ZV4MK.cjs');
2
2
 
3
3
 
4
- var _chunkXRGLFTH2cjs = require('../chunk-XRGLFTH2.cjs');
4
+ var _chunkQLBOPNV4cjs = require('../chunk-QLBOPNV4.cjs');
5
5
 
6
6
 
7
7
  var _chunkISHLY7WMcjs = require('../chunk-ISHLY7WM.cjs');
8
+
9
+
10
+ var _chunkMIC3W2VYcjs = require('../chunk-MIC3W2VY.cjs');
8
11
  require('../chunk-5AZGAKWR.cjs');
9
12
 
10
13
 
11
14
 
12
- exports.isArray = _chunkISHLY7WMcjs.isArray; exports.isObject = _chunkXRGLFTH2cjs.isObject;
15
+
16
+ exports.isArray = _chunkISHLY7WMcjs.isArray; exports.isObject = _chunkMIC3W2VYcjs.isObject; exports.isObjectArray = _chunkQLBOPNV4cjs.isObjectArray;
@@ -1,2 +1,3 @@
1
1
  export { isArray } from '../basic/array/isArray.js';
2
2
  export { isObject } from '../basic/object/isObject.js';
3
+ export { isObjectArray } from '../basic/object/isObjectArray.js';