@fangzhongya/utils 0.0.5 → 0.0.6-1

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 (83) hide show
  1. package/dist/basic/array/index.cjs +3 -3
  2. package/dist/basic/array/index.js +4 -4
  3. package/dist/basic/index.cjs +11 -9
  4. package/dist/basic/index.d.ts +5 -3
  5. package/dist/basic/index.js +12 -10
  6. package/dist/basic/object/index.cjs +4 -4
  7. package/dist/basic/object/index.d.ts +2 -1
  8. package/dist/basic/object/index.js +5 -5
  9. package/dist/basic/object/mergeObject.cjs +2 -6
  10. package/dist/basic/object/mergeObject.d.ts +1 -19
  11. package/dist/basic/object/mergeObject.js +3 -7
  12. package/dist/basic/object/unmergeObject.cjs +7 -0
  13. package/dist/basic/object/unmergeObject.d.ts +11 -0
  14. package/dist/basic/object/unmergeObject.js +7 -0
  15. package/dist/basic/string/firstLower.cjs +7 -0
  16. package/dist/basic/string/firstLower.d.ts +8 -0
  17. package/dist/basic/string/firstLower.js +7 -0
  18. package/dist/basic/string/firstUpper.cjs +7 -0
  19. package/dist/basic/string/firstUpper.d.ts +8 -0
  20. package/dist/basic/string/firstUpper.js +7 -0
  21. package/dist/basic/string/index.cjs +4 -4
  22. package/dist/basic/string/index.d.ts +2 -1
  23. package/dist/basic/string/index.js +7 -7
  24. package/dist/chunk-2B742V22.cjs +19 -0
  25. package/dist/chunk-2PY55D6T.js +16 -0
  26. package/dist/{chunk-P33DGEQL.js → chunk-34IFL7OR.js} +5 -5
  27. package/dist/chunk-3OME5O5G.cjs +16 -0
  28. package/dist/chunk-3VYRYSWK.cjs +49 -0
  29. package/dist/chunk-3YPXLIH5.js +21 -0
  30. package/dist/chunk-4OBNLDTJ.js +8 -0
  31. package/dist/chunk-A6J46LQK.js +49 -0
  32. package/dist/{chunk-4PBAZ73I.cjs → chunk-AH7GPXDD.cjs} +4 -4
  33. package/dist/{chunk-ED5PJTG5.js → chunk-AP2GHAT5.js} +3 -3
  34. package/dist/chunk-BRNROSJJ.cjs +24 -0
  35. package/dist/chunk-EWJJKQIO.js +8 -0
  36. package/dist/{chunk-JNC5JEFB.cjs → chunk-FXMA7ZCM.cjs} +2 -2
  37. package/dist/{chunk-DEENZC5X.js → chunk-J7CICTHH.js} +3 -11
  38. package/dist/{chunk-BEQYORII.cjs → chunk-LTVXRDTD.cjs} +3 -11
  39. package/dist/{chunk-AZNBYC7K.js → chunk-MAIGGOA4.js} +4 -4
  40. package/dist/chunk-NRJPCN4J.cjs +46 -0
  41. package/dist/chunk-O3RJ5M35.js +19 -0
  42. package/dist/chunk-OC2MRJDZ.cjs +21 -0
  43. package/dist/chunk-OQL4GIEJ.cjs +8 -0
  44. package/dist/{chunk-YYNHNLVW.js → chunk-PPEJX3ZH.js} +6 -6
  45. package/dist/{chunk-YZULJRHH.cjs → chunk-R7G5MSGO.cjs} +4 -4
  46. package/dist/chunk-RD4EP3M5.js +46 -0
  47. package/dist/chunk-S7VMX72B.cjs +32 -0
  48. package/dist/chunk-TRLNJ6BO.cjs +38 -0
  49. package/dist/chunk-UEVMS6QD.cjs +8 -0
  50. package/dist/chunk-W7OSG6B2.js +32 -0
  51. package/dist/chunk-YHBKZTYZ.js +38 -0
  52. package/dist/{index-8abebe13.d.ts → index-0cc6b278.d.ts} +2 -2
  53. package/dist/{index-5c5bf158.d.ts → index-3062a21e.d.ts} +2 -3
  54. package/dist/{index-5691335a.d.ts → index-8925a102.d.ts} +2 -3
  55. package/dist/index-f9cc2ca2.d.ts +22 -0
  56. package/dist/index.cjs +20 -9
  57. package/dist/index.d.ts +13 -5
  58. package/dist/index.js +20 -9
  59. package/dist/name/getComponentNames.cjs +12 -0
  60. package/dist/name/getComponentNames.d.ts +8 -0
  61. package/dist/name/getComponentNames.js +12 -0
  62. package/dist/name/getNames.cjs +12 -0
  63. package/dist/name/getNames.d.ts +8 -0
  64. package/dist/name/getNames.js +12 -0
  65. package/dist/name/humpToLine.cjs +7 -0
  66. package/dist/name/humpToLine.d.ts +8 -0
  67. package/dist/name/humpToLine.js +7 -0
  68. package/dist/name/index.cjs +26 -0
  69. package/dist/name/index.d.ts +5 -0
  70. package/dist/name/index.js +26 -0
  71. package/dist/name/lineToLargeHump.cjs +8 -0
  72. package/dist/name/lineToLargeHump.d.ts +8 -0
  73. package/dist/name/lineToLargeHump.js +8 -0
  74. package/dist/name/lineToSmallHump.cjs +9 -0
  75. package/dist/name/lineToSmallHump.d.ts +8 -0
  76. package/dist/name/lineToSmallHump.js +9 -0
  77. package/package.json +70 -25
  78. package/dist/basic/string/index2.cjs +0 -11
  79. package/dist/basic/string/index2.d.ts +0 -20
  80. package/dist/basic/string/index2.js +0 -11
  81. package/dist/chunk-J53DPBUN.cjs +0 -24
  82. package/dist/chunk-LYFX6BGT.js +0 -129
  83. package/dist/chunk-VAYHA5HS.cjs +0 -129
@@ -1,11 +1,5 @@
1
- // packages/basic/string/index2.ts
2
- function firstUpper(vs) {
3
- return vs.slice(0, 1).toUpperCase() + vs.slice(1);
4
- }
5
- function firstLower(vs) {
6
- return vs.slice(0, 1).toLowerCase() + vs.slice(1);
7
- }
8
- function getNmaeBar(name) {
1
+ // packages/name/humpToLine.ts
2
+ function humpToLine(name) {
9
3
  const reg = /(([A-Z])([^A-Z]*))/g;
10
4
  let result;
11
5
  const arr = [];
@@ -27,7 +21,5 @@ function getNmaeBar(name) {
27
21
  }
28
22
 
29
23
  export {
30
- firstUpper,
31
- firstLower,
32
- getNmaeBar
24
+ humpToLine
33
25
  };
@@ -1,11 +1,5 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/string/index2.ts
2
- function firstUpper(vs) {
3
- return vs.slice(0, 1).toUpperCase() + vs.slice(1);
4
- }
5
- function firstLower(vs) {
6
- return vs.slice(0, 1).toLowerCase() + vs.slice(1);
7
- }
8
- function getNmaeBar(name) {
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/name/humpToLine.ts
2
+ function humpToLine(name) {
9
3
  const reg = /(([A-Z])([^A-Z]*))/g;
10
4
  let result;
11
5
  const arr = [];
@@ -28,6 +22,4 @@ function getNmaeBar(name) {
28
22
 
29
23
 
30
24
 
31
-
32
-
33
- exports.firstUpper = firstUpper; exports.firstLower = firstLower; exports.getNmaeBar = getNmaeBar;
25
+ exports.humpToLine = humpToLine;
@@ -1,8 +1,9 @@
1
1
  import {
2
- mergeObject,
3
- mergeObject2,
2
+ mergeObject
3
+ } from "./chunk-RD4EP3M5.js";
4
+ import {
4
5
  unmergeObject
5
- } from "./chunk-LYFX6BGT.js";
6
+ } from "./chunk-A6J46LQK.js";
6
7
  import {
7
8
  isObject
8
9
  } from "./chunk-WO6JQRTD.js";
@@ -15,7 +16,6 @@ var object_exports = {};
15
16
  __export(object_exports, {
16
17
  isObject: () => isObject,
17
18
  mergeObject: () => mergeObject,
18
- mergeObject2: () => mergeObject2,
19
19
  unmergeObject: () => unmergeObject
20
20
  });
21
21
 
@@ -0,0 +1,46 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/object/mergeObject.ts
2
+ function mergeObject(a, b, j = 0, i) {
3
+ if (a instanceof Array) {
4
+ if (j > 0 && i) {
5
+ if (b instanceof Array) {
6
+ for (const v of b) {
7
+ if (!a.includes(v)) {
8
+ a.push(v);
9
+ }
10
+ }
11
+ } else {
12
+ if (!a.includes(b)) {
13
+ a.push(b);
14
+ }
15
+ }
16
+ } else {
17
+ a = b;
18
+ }
19
+ } else if (typeof a == "object") {
20
+ const cv = Object.prototype.toString.call(a);
21
+ const ct = Object.prototype.toString.call(b);
22
+ if (a && typeof b == "object" && cv == ct && j > 0) {
23
+ const n = j - 1;
24
+ if (n > 0) {
25
+ for (const key in b) {
26
+ const v = a[key];
27
+ const t = b[key];
28
+ a[key] = mergeObject(v, t, n, i);
29
+ }
30
+ } else {
31
+ for (const key in b) {
32
+ a[key] = b[key];
33
+ }
34
+ }
35
+ } else {
36
+ a = b;
37
+ }
38
+ } else {
39
+ a = b;
40
+ }
41
+ return a;
42
+ }
43
+
44
+
45
+
46
+ exports.mergeObject = mergeObject;
@@ -0,0 +1,19 @@
1
+ import {
2
+ firstUpper
3
+ } from "./chunk-EWJJKQIO.js";
4
+ import {
5
+ firstLower
6
+ } from "./chunk-4OBNLDTJ.js";
7
+
8
+ // packages/name/lineToSmallHump.ts
9
+ function lineToSmallHump(name) {
10
+ let arr = name.split("-");
11
+ arr = arr.map((vs) => {
12
+ return firstLower(vs);
13
+ });
14
+ return firstUpper(arr.join(""));
15
+ }
16
+
17
+ export {
18
+ lineToSmallHump
19
+ };
@@ -0,0 +1,21 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk3OME5O5Gcjs = require('./chunk-3OME5O5G.cjs');
4
+
5
+
6
+ var _chunk2B742V22cjs = require('./chunk-2B742V22.cjs');
7
+
8
+
9
+ var _chunkLTVXRDTDcjs = require('./chunk-LTVXRDTD.cjs');
10
+
11
+ // packages/name/getNames.ts
12
+ function getNames(name) {
13
+ const line = _chunkLTVXRDTDcjs.humpToLine.call(void 0, name);
14
+ const upper = _chunk3OME5O5Gcjs.lineToLargeHump.call(void 0, line);
15
+ const lower = _chunk2B742V22cjs.lineToSmallHump.call(void 0, upper);
16
+ return [line, upper, lower];
17
+ }
18
+
19
+
20
+
21
+ exports.getNames = getNames;
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/string/firstUpper.ts
2
+ function firstUpper(str) {
3
+ return str.slice(0, 1).toUpperCase() + str.slice(1);
4
+ }
5
+
6
+
7
+
8
+ exports.firstUpper = firstUpper;
@@ -1,8 +1,9 @@
1
1
  import {
2
- firstLower,
3
- firstUpper,
4
- getNmaeBar
5
- } from "./chunk-DEENZC5X.js";
2
+ firstUpper
3
+ } from "./chunk-EWJJKQIO.js";
4
+ import {
5
+ firstLower
6
+ } from "./chunk-4OBNLDTJ.js";
6
7
  import {
7
8
  __export
8
9
  } from "./chunk-UICA3PK6.js";
@@ -11,8 +12,7 @@ import {
11
12
  var string_exports = {};
12
13
  __export(string_exports, {
13
14
  firstLower: () => firstLower,
14
- firstUpper: () => firstUpper,
15
- getNmaeBar: () => getNmaeBar
15
+ firstUpper: () => firstUpper
16
16
  });
17
17
 
18
18
  export {
@@ -1,8 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkNRJPCN4Jcjs = require('./chunk-NRJPCN4J.cjs');
3
4
 
4
5
 
5
- var _chunkVAYHA5HScjs = require('./chunk-VAYHA5HS.cjs');
6
+ var _chunk3VYRYSWKcjs = require('./chunk-3VYRYSWK.cjs');
6
7
 
7
8
 
8
9
  var _chunkXRGLFTH2cjs = require('./chunk-XRGLFTH2.cjs');
@@ -14,9 +15,8 @@ var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
14
15
  var object_exports = {};
15
16
  _chunk5AZGAKWRcjs.__export.call(void 0, object_exports, {
16
17
  isObject: () => _chunkXRGLFTH2cjs.isObject,
17
- mergeObject: () => _chunkVAYHA5HScjs.mergeObject,
18
- mergeObject2: () => _chunkVAYHA5HScjs.mergeObject2,
19
- unmergeObject: () => _chunkVAYHA5HScjs.unmergeObject
18
+ mergeObject: () => _chunkNRJPCN4Jcjs.mergeObject,
19
+ unmergeObject: () => _chunk3VYRYSWKcjs.unmergeObject
20
20
  });
21
21
 
22
22
 
@@ -0,0 +1,46 @@
1
+ // packages/basic/object/mergeObject.ts
2
+ function mergeObject(a, b, j = 0, i) {
3
+ if (a instanceof Array) {
4
+ if (j > 0 && i) {
5
+ if (b instanceof Array) {
6
+ for (const v of b) {
7
+ if (!a.includes(v)) {
8
+ a.push(v);
9
+ }
10
+ }
11
+ } else {
12
+ if (!a.includes(b)) {
13
+ a.push(b);
14
+ }
15
+ }
16
+ } else {
17
+ a = b;
18
+ }
19
+ } else if (typeof a == "object") {
20
+ const cv = Object.prototype.toString.call(a);
21
+ const ct = Object.prototype.toString.call(b);
22
+ if (a && typeof b == "object" && cv == ct && j > 0) {
23
+ const n = j - 1;
24
+ if (n > 0) {
25
+ for (const key in b) {
26
+ const v = a[key];
27
+ const t = b[key];
28
+ a[key] = mergeObject(v, t, n, i);
29
+ }
30
+ } else {
31
+ for (const key in b) {
32
+ a[key] = b[key];
33
+ }
34
+ }
35
+ } else {
36
+ a = b;
37
+ }
38
+ } else {
39
+ a = b;
40
+ }
41
+ return a;
42
+ }
43
+
44
+ export {
45
+ mergeObject
46
+ };
@@ -0,0 +1,32 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkTRLNJ6BOcjs = require('./chunk-TRLNJ6BO.cjs');
4
+
5
+
6
+ var _chunkOC2MRJDZcjs = require('./chunk-OC2MRJDZ.cjs');
7
+
8
+
9
+ var _chunk3OME5O5Gcjs = require('./chunk-3OME5O5G.cjs');
10
+
11
+
12
+ var _chunk2B742V22cjs = require('./chunk-2B742V22.cjs');
13
+
14
+
15
+ var _chunkLTVXRDTDcjs = require('./chunk-LTVXRDTD.cjs');
16
+
17
+
18
+ var _chunk5AZGAKWRcjs = require('./chunk-5AZGAKWR.cjs');
19
+
20
+ // packages/name/index.ts
21
+ var name_exports = {};
22
+ _chunk5AZGAKWRcjs.__export.call(void 0, name_exports, {
23
+ getComponentNames: () => _chunkTRLNJ6BOcjs.getComponentNames,
24
+ getNames: () => _chunkOC2MRJDZcjs.getNames,
25
+ humpToLine: () => _chunkLTVXRDTDcjs.humpToLine,
26
+ lineToLargeHump: () => _chunk3OME5O5Gcjs.lineToLargeHump,
27
+ lineToSmallHump: () => _chunk2B742V22cjs.lineToSmallHump
28
+ });
29
+
30
+
31
+
32
+ exports.name_exports = name_exports;
@@ -0,0 +1,38 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk3OME5O5Gcjs = require('./chunk-3OME5O5G.cjs');
4
+
5
+
6
+ var _chunk2B742V22cjs = require('./chunk-2B742V22.cjs');
7
+
8
+
9
+ var _chunkLTVXRDTDcjs = require('./chunk-LTVXRDTD.cjs');
10
+
11
+ // packages/name/getComponentNames.ts
12
+ function getComponentNames(name) {
13
+ if (name.includes("-")) {
14
+ const line = _chunkLTVXRDTDcjs.humpToLine.call(void 0, name);
15
+ const upper = _chunk3OME5O5Gcjs.lineToLargeHump.call(void 0, line);
16
+ const lower = _chunk2B742V22cjs.lineToSmallHump.call(void 0, upper);
17
+ return [line, upper, lower];
18
+ } else if (/[A-Z]/.test(name)) {
19
+ const line = _chunkLTVXRDTDcjs.humpToLine.call(void 0, name);
20
+ if (/^[A-Z]/.test(name)) {
21
+ const upper = _chunk3OME5O5Gcjs.lineToLargeHump.call(void 0, line);
22
+ const lower = _chunk2B742V22cjs.lineToSmallHump.call(void 0, upper);
23
+ if (line.includes("-")) {
24
+ return [line, upper, lower];
25
+ } else {
26
+ return [name, lower];
27
+ }
28
+ } else {
29
+ return [line, name];
30
+ }
31
+ } else {
32
+ return [name];
33
+ }
34
+ }
35
+
36
+
37
+
38
+ exports.getComponentNames = getComponentNames;
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/basic/string/firstLower.ts
2
+ function firstLower(str) {
3
+ return str.slice(0, 1).toLowerCase() + str.slice(1);
4
+ }
5
+
6
+
7
+
8
+ exports.firstLower = firstLower;
@@ -0,0 +1,32 @@
1
+ import {
2
+ getComponentNames
3
+ } from "./chunk-YHBKZTYZ.js";
4
+ import {
5
+ getNames
6
+ } from "./chunk-3YPXLIH5.js";
7
+ import {
8
+ lineToLargeHump
9
+ } from "./chunk-2PY55D6T.js";
10
+ import {
11
+ lineToSmallHump
12
+ } from "./chunk-O3RJ5M35.js";
13
+ import {
14
+ humpToLine
15
+ } from "./chunk-J7CICTHH.js";
16
+ import {
17
+ __export
18
+ } from "./chunk-UICA3PK6.js";
19
+
20
+ // packages/name/index.ts
21
+ var name_exports = {};
22
+ __export(name_exports, {
23
+ getComponentNames: () => getComponentNames,
24
+ getNames: () => getNames,
25
+ humpToLine: () => humpToLine,
26
+ lineToLargeHump: () => lineToLargeHump,
27
+ lineToSmallHump: () => lineToSmallHump
28
+ });
29
+
30
+ export {
31
+ name_exports
32
+ };
@@ -0,0 +1,38 @@
1
+ import {
2
+ lineToLargeHump
3
+ } from "./chunk-2PY55D6T.js";
4
+ import {
5
+ lineToSmallHump
6
+ } from "./chunk-O3RJ5M35.js";
7
+ import {
8
+ humpToLine
9
+ } from "./chunk-J7CICTHH.js";
10
+
11
+ // packages/name/getComponentNames.ts
12
+ function getComponentNames(name) {
13
+ if (name.includes("-")) {
14
+ const line = humpToLine(name);
15
+ const upper = lineToLargeHump(line);
16
+ const lower = lineToSmallHump(upper);
17
+ return [line, upper, lower];
18
+ } else if (/[A-Z]/.test(name)) {
19
+ const line = humpToLine(name);
20
+ if (/^[A-Z]/.test(name)) {
21
+ const upper = lineToLargeHump(line);
22
+ const lower = lineToSmallHump(upper);
23
+ if (line.includes("-")) {
24
+ return [line, upper, lower];
25
+ } else {
26
+ return [name, lower];
27
+ }
28
+ } else {
29
+ return [line, name];
30
+ }
31
+ } else {
32
+ return [name];
33
+ }
34
+ }
35
+
36
+ export {
37
+ getComponentNames
38
+ };
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-6be6487f.js';
2
- import { i as index$2 } from './index-5c5bf158.js';
3
- import { i as index$3 } from './index-5691335a.js';
2
+ import { i as index$2 } from './index-3062a21e.js';
3
+ import { i as index$3 } from './index-8925a102.js';
4
4
 
5
5
  declare namespace index {
6
6
  export {
@@ -1,15 +1,14 @@
1
1
  import { isObject } from './basic/object/isObject.js';
2
- import { mergeObject, mergeObject2, unmergeObject } from './basic/object/mergeObject.js';
2
+ import { mergeObject } from './basic/object/mergeObject.js';
3
+ import { unmergeObject } from './basic/object/unmergeObject.js';
3
4
 
4
5
  declare const index_isObject: typeof isObject;
5
6
  declare const index_mergeObject: typeof mergeObject;
6
- declare const index_mergeObject2: typeof mergeObject2;
7
7
  declare const index_unmergeObject: typeof unmergeObject;
8
8
  declare namespace index {
9
9
  export {
10
10
  index_isObject as isObject,
11
11
  index_mergeObject as mergeObject,
12
- index_mergeObject2 as mergeObject2,
13
12
  index_unmergeObject as unmergeObject,
14
13
  };
15
14
  }
@@ -1,13 +1,12 @@
1
- import { firstLower, firstUpper, getNmaeBar } from './basic/string/index2.js';
1
+ import { firstLower } from './basic/string/firstLower.js';
2
+ import { firstUpper } from './basic/string/firstUpper.js';
2
3
 
3
4
  declare const index_firstLower: typeof firstLower;
4
5
  declare const index_firstUpper: typeof firstUpper;
5
- declare const index_getNmaeBar: typeof getNmaeBar;
6
6
  declare namespace index {
7
7
  export {
8
8
  index_firstLower as firstLower,
9
9
  index_firstUpper as firstUpper,
10
- index_getNmaeBar as getNmaeBar,
11
10
  };
12
11
  }
13
12
 
@@ -0,0 +1,22 @@
1
+ import { getNames } from './name/getNames.js';
2
+ import { getComponentNames } from './name/getComponentNames.js';
3
+ import { humpToLine } from './name/humpToLine.js';
4
+ import { lineToLargeHump } from './name/lineToLargeHump.js';
5
+ import { lineToSmallHump } from './name/lineToSmallHump.js';
6
+
7
+ declare const index_getComponentNames: typeof getComponentNames;
8
+ declare const index_getNames: typeof getNames;
9
+ declare const index_humpToLine: typeof humpToLine;
10
+ declare const index_lineToLargeHump: typeof lineToLargeHump;
11
+ declare const index_lineToSmallHump: typeof lineToSmallHump;
12
+ declare namespace index {
13
+ export {
14
+ index_getComponentNames as getComponentNames,
15
+ index_getNames as getNames,
16
+ index_humpToLine as humpToLine,
17
+ index_lineToLargeHump as lineToLargeHump,
18
+ index_lineToSmallHump as lineToSmallHump,
19
+ };
20
+ }
21
+
22
+ export { index as i };
package/dist/index.cjs CHANGED
@@ -1,24 +1,35 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJ53DPBUNcjs = require('./chunk-J53DPBUN.cjs');
4
- require('./chunk-YZULJRHH.cjs');
5
- require('./chunk-VAYHA5HS.cjs');
6
- require('./chunk-4PBAZ73I.cjs');
7
- require('./chunk-BEQYORII.cjs');
3
+ var _chunkS7VMX72Bcjs = require('./chunk-S7VMX72B.cjs');
4
+
5
+
6
+ var _chunkBRNROSJJcjs = require('./chunk-BRNROSJJ.cjs');
7
+ require('./chunk-AH7GPXDD.cjs');
8
+ require('./chunk-FXMA7ZCM.cjs');
9
+ require('./chunk-BL4KF5G4.cjs');
10
+ require('./chunk-R7G5MSGO.cjs');
11
+ require('./chunk-NRJPCN4J.cjs');
12
+ require('./chunk-3VYRYSWK.cjs');
8
13
 
9
14
 
10
15
  var _chunkN6OX2U6Wcjs = require('./chunk-N6OX2U6W.cjs');
11
16
  require('./chunk-XRGLFTH2.cjs');
17
+ require('./chunk-ISHLY7WM.cjs');
12
18
 
13
19
 
14
20
  var _chunkJ7SPTSZMcjs = require('./chunk-J7SPTSZM.cjs');
15
21
  require('./chunk-5VQ4EAJZ.cjs');
16
- require('./chunk-JNC5JEFB.cjs');
17
- require('./chunk-ISHLY7WM.cjs');
18
- require('./chunk-BL4KF5G4.cjs');
22
+ require('./chunk-TRLNJ6BO.cjs');
23
+ require('./chunk-OC2MRJDZ.cjs');
24
+ require('./chunk-3OME5O5G.cjs');
25
+ require('./chunk-2B742V22.cjs');
26
+ require('./chunk-OQL4GIEJ.cjs');
27
+ require('./chunk-UEVMS6QD.cjs');
28
+ require('./chunk-LTVXRDTD.cjs');
19
29
  require('./chunk-5AZGAKWR.cjs');
20
30
 
21
31
 
22
32
 
23
33
 
24
- exports.basic = _chunkJ53DPBUNcjs.basic_exports; exports.iss = _chunkN6OX2U6Wcjs.iss_exports; exports.log = _chunkJ7SPTSZMcjs.log_exports;
34
+
35
+ exports.basic = _chunkBRNROSJJcjs.basic_exports; exports.iss = _chunkN6OX2U6Wcjs.iss_exports; exports.log = _chunkJ7SPTSZMcjs.log_exports; exports.name = _chunkS7VMX72Bcjs.name_exports;
package/dist/index.d.ts CHANGED
@@ -1,12 +1,20 @@
1
- export { i as basic } from './index-8abebe13.js';
2
- export { i as iss } from './index-24872dab.js';
1
+ export { i as basic } from './index-0cc6b278.js';
3
2
  export { i as log } from './index-ef15848a.js';
3
+ export { i as iss } from './index-24872dab.js';
4
+ export { i as name } from './index-f9cc2ca2.js';
4
5
  import './index-6be6487f.js';
5
6
  import './basic/array/isArray.js';
6
7
  import './basic/array/toggleArray.js';
7
- import './index-5c5bf158.js';
8
+ import './index-3062a21e.js';
8
9
  import './basic/object/isObject.js';
9
10
  import './basic/object/mergeObject.js';
10
- import './index-5691335a.js';
11
- import './basic/string/index2.js';
11
+ import './basic/object/unmergeObject.js';
12
+ import './index-8925a102.js';
13
+ import './basic/string/firstLower.js';
14
+ import './basic/string/firstUpper.js';
12
15
  import './log/styleLog.js';
16
+ import './name/getNames.js';
17
+ import './name/getComponentNames.js';
18
+ import './name/humpToLine.js';
19
+ import './name/lineToLargeHump.js';
20
+ import './name/lineToSmallHump.js';
package/dist/index.js CHANGED
@@ -1,24 +1,35 @@
1
+ import {
2
+ name_exports
3
+ } from "./chunk-W7OSG6B2.js";
1
4
  import {
2
5
  basic_exports
3
- } from "./chunk-P33DGEQL.js";
4
- import "./chunk-AZNBYC7K.js";
5
- import "./chunk-LYFX6BGT.js";
6
- import "./chunk-YYNHNLVW.js";
7
- import "./chunk-DEENZC5X.js";
6
+ } from "./chunk-34IFL7OR.js";
7
+ import "./chunk-PPEJX3ZH.js";
8
+ import "./chunk-AP2GHAT5.js";
9
+ import "./chunk-OX5EXWS2.js";
10
+ import "./chunk-MAIGGOA4.js";
11
+ import "./chunk-RD4EP3M5.js";
12
+ import "./chunk-A6J46LQK.js";
8
13
  import {
9
14
  iss_exports
10
15
  } from "./chunk-HRECTLZO.js";
11
16
  import "./chunk-WO6JQRTD.js";
17
+ import "./chunk-5PX3AFSC.js";
12
18
  import {
13
19
  log_exports
14
20
  } from "./chunk-MPKGL6EV.js";
15
21
  import "./chunk-HVQG2IGJ.js";
16
- import "./chunk-ED5PJTG5.js";
17
- import "./chunk-5PX3AFSC.js";
18
- import "./chunk-OX5EXWS2.js";
22
+ import "./chunk-YHBKZTYZ.js";
23
+ import "./chunk-3YPXLIH5.js";
24
+ import "./chunk-2PY55D6T.js";
25
+ import "./chunk-O3RJ5M35.js";
26
+ import "./chunk-EWJJKQIO.js";
27
+ import "./chunk-4OBNLDTJ.js";
28
+ import "./chunk-J7CICTHH.js";
19
29
  import "./chunk-UICA3PK6.js";
20
30
  export {
21
31
  basic_exports as basic,
22
32
  iss_exports as iss,
23
- log_exports as log
33
+ log_exports as log,
34
+ name_exports as name
24
35
  };
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkTRLNJ6BOcjs = require('../chunk-TRLNJ6BO.cjs');
4
+ require('../chunk-3OME5O5G.cjs');
5
+ require('../chunk-2B742V22.cjs');
6
+ require('../chunk-OQL4GIEJ.cjs');
7
+ require('../chunk-UEVMS6QD.cjs');
8
+ require('../chunk-LTVXRDTD.cjs');
9
+ require('../chunk-5AZGAKWR.cjs');
10
+
11
+
12
+ exports.getComponentNames = _chunkTRLNJ6BOcjs.getComponentNames;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 获取三种方式名称 el-input ElInput elInput
3
+ * @param {*} name
4
+ * @returns
5
+ */
6
+ declare function getComponentNames(name: string): Array<string>;
7
+
8
+ export { getComponentNames };
@@ -0,0 +1,12 @@
1
+ import {
2
+ getComponentNames
3
+ } from "../chunk-YHBKZTYZ.js";
4
+ import "../chunk-2PY55D6T.js";
5
+ import "../chunk-O3RJ5M35.js";
6
+ import "../chunk-EWJJKQIO.js";
7
+ import "../chunk-4OBNLDTJ.js";
8
+ import "../chunk-J7CICTHH.js";
9
+ import "../chunk-UICA3PK6.js";
10
+ export {
11
+ getComponentNames
12
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkOC2MRJDZcjs = require('../chunk-OC2MRJDZ.cjs');
4
+ require('../chunk-3OME5O5G.cjs');
5
+ require('../chunk-2B742V22.cjs');
6
+ require('../chunk-OQL4GIEJ.cjs');
7
+ require('../chunk-UEVMS6QD.cjs');
8
+ require('../chunk-LTVXRDTD.cjs');
9
+ require('../chunk-5AZGAKWR.cjs');
10
+
11
+
12
+ exports.getNames = _chunkOC2MRJDZcjs.getNames;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 获取三种方式名称 el-input ElInput elInput
3
+ * @param {*} name
4
+ * @returns
5
+ */
6
+ declare function getNames(name: string): Array<string>;
7
+
8
+ export { getNames };