@fangzhongya/vue-components 0.1.4-2 → 0.1.4-4

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.
package/dist/archive.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL2I63KQAcjs = require('./chunk-L2I63KQA.cjs');
3
+ var _chunkJJI4HPOHcjs = require('./chunk-JJI4HPOH.cjs');
4
4
 
5
5
 
6
6
  var _chunkX23FY6UKcjs = require('./chunk-X23FY6UK.cjs');
7
7
 
8
8
 
9
- var _chunkGZCYXJUEcjs = require('./chunk-GZCYXJUE.cjs');
10
- require('./chunk-JO3FU3FJ.cjs');
9
+ var _chunkZEBYUEDCcjs = require('./chunk-ZEBYUEDC.cjs');
10
+ require('./chunk-7W5XCJSD.cjs');
11
11
 
12
12
  // packages/archive.ts
13
13
  var _fs = require('fs');
@@ -59,14 +59,14 @@ function setJson(obj) {
59
59
  }
60
60
  }
61
61
  function ComponentsResolverArchive(config2 = {}) {
62
- const configs = _chunkGZCYXJUEcjs.unmergeObject.call(void 0,
62
+ const configs = _chunkZEBYUEDCcjs.unmergeObject.call(void 0,
63
63
  _chunkX23FY6UKcjs.config,
64
64
  archiveConfig,
65
65
  2,
66
66
  true
67
67
  );
68
- const fangComp = new (0, _chunkL2I63KQAcjs.component_default)(
69
- _chunkGZCYXJUEcjs.unmergeObject.call(void 0, configs, config2, 1)
68
+ const fangComp = new (0, _chunkJJI4HPOHcjs.component_default)(
69
+ _chunkZEBYUEDCcjs.unmergeObject.call(void 0, configs, config2, 1)
70
70
  );
71
71
  setJson(fangComp.config);
72
72
  return [
package/dist/archive.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-UDMQRR2S.js";
3
+ } from "./chunk-I22NBLDL.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-S6QJIPBZ.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-BBUKS5YN.js";
10
- import "./chunk-HTNQ5IXZ.js";
9
+ } from "./chunk-J7ACZOK6.js";
10
+ import "./chunk-MGYDUWF7.js";
11
11
 
12
12
  // packages/archive.ts
13
13
  import { writeFile } from "node:fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-UDMQRR2S.js";
3
+ } from "./chunk-I22NBLDL.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-S6QJIPBZ.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-BBUKS5YN.js";
9
+ } from "./chunk-J7ACZOK6.js";
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
2
2
  function humpToLine(name) {
3
3
  const reg = /(([A-Z])([^A-Z]*))/g;
4
4
  let result;
@@ -2,10 +2,10 @@ import {
2
2
  firstUpper,
3
3
  getComponentNames,
4
4
  styleLog
5
- } from "./chunk-BBUKS5YN.js";
5
+ } from "./chunk-J7ACZOK6.js";
6
6
  import {
7
7
  humpToLine
8
- } from "./chunk-HTNQ5IXZ.js";
8
+ } from "./chunk-MGYDUWF7.js";
9
9
 
10
10
  // packages/component.ts
11
11
  import fastGlob from "fast-glob";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  humpToLine
3
- } from "./chunk-HTNQ5IXZ.js";
3
+ } from "./chunk-MGYDUWF7.js";
4
4
 
5
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
5
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
6
6
  function styleLog(msg = "", obj) {
7
7
  const arr = ["\x1B[0m"];
8
8
  if (obj?.revert) {
@@ -32,7 +32,7 @@ function styleLog(msg = "", obj) {
32
32
  return arr.join("");
33
33
  }
34
34
 
35
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
35
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
36
36
  function unmergeObject(a, b, j = 0, i) {
37
37
  let c;
38
38
  if (a instanceof Array) {
@@ -78,12 +78,12 @@ function unmergeObject(a, b, j = 0, i) {
78
78
  return c;
79
79
  }
80
80
 
81
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
81
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
82
82
  function firstUpper(str) {
83
83
  return str.slice(0, 1).toUpperCase() + str.slice(1);
84
84
  }
85
85
 
86
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
86
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
87
87
  function lineToLargeHump(name) {
88
88
  let arr = name.split("-");
89
89
  arr = arr.map((vs) => {
@@ -92,17 +92,17 @@ function lineToLargeHump(name) {
92
92
  return arr.join("");
93
93
  }
94
94
 
95
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
95
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
96
96
  function firstLower(str) {
97
97
  return str.slice(0, 1).toLowerCase() + str.slice(1);
98
98
  }
99
99
 
100
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
100
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
101
101
  function lineToSmallHump(name) {
102
102
  return firstLower(lineToLargeHump(name));
103
103
  }
104
104
 
105
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
105
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
106
106
  function getComponentNames(name) {
107
107
  if (name.includes("-")) {
108
108
  const line = humpToLine(name);
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkGZCYXJUEcjs = require('./chunk-GZCYXJUE.cjs');
5
+ var _chunkZEBYUEDCcjs = require('./chunk-ZEBYUEDC.cjs');
6
6
 
7
7
 
8
- var _chunkJO3FU3FJcjs = require('./chunk-JO3FU3FJ.cjs');
8
+ var _chunk7W5XCJSDcjs = require('./chunk-7W5XCJSD.cjs');
9
9
 
10
10
  // packages/component.ts
11
11
  var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);
@@ -247,7 +247,7 @@ var FangComponent = class {
247
247
  * @returns { Boolean } 是否要替换
248
248
  */
249
249
  #namefilter(name) {
250
- name = _chunkJO3FU3FJcjs.humpToLine.call(void 0, name);
250
+ name = _chunk7W5XCJSDcjs.humpToLine.call(void 0, name);
251
251
  if (this.config.startss) {
252
252
  for (let index = 0; index < this.config.startss.length; index++) {
253
253
  const element = this.config.startss[index] + "-";
@@ -307,7 +307,7 @@ var FangComponent = class {
307
307
  } else if (as.length > 1) {
308
308
  let m;
309
309
  if (/[A-Z]/.test(yname.slice(0, 1))) {
310
- m = yname.replace(_chunkGZCYXJUEcjs.firstUpper.call(void 0, top), "");
310
+ m = yname.replace(_chunkZEBYUEDCcjs.firstUpper.call(void 0, top), "");
311
311
  } else {
312
312
  m = yname.replace(top, "");
313
313
  }
@@ -339,14 +339,14 @@ var FangComponent = class {
339
339
  * @returns { Object } 注册的对象
340
340
  */
341
341
  #setNameFrom(name, type) {
342
- let mb = _chunkJO3FU3FJcjs.humpToLine.call(void 0, name);
342
+ let mb = _chunk7W5XCJSDcjs.humpToLine.call(void 0, name);
343
343
  const alias = this.config.alias;
344
344
  if (alias) {
345
345
  if (mb.startsWith(alias + "-")) {
346
346
  const reg = new RegExp("^" + alias + "-");
347
347
  mb = mb.replace(reg, "");
348
348
  const reg1 = new RegExp("^" + alias);
349
- const reg2 = new RegExp("^" + _chunkGZCYXJUEcjs.firstUpper.call(void 0, alias));
349
+ const reg2 = new RegExp("^" + _chunkZEBYUEDCcjs.firstUpper.call(void 0, alias));
350
350
  if (reg1.test(name)) {
351
351
  name = name.replace(reg1, "");
352
352
  } else if (reg2.test(name)) {
@@ -391,7 +391,7 @@ var FangComponent = class {
391
391
  * @returns {Array} 需要匹配的地址名称数组
392
392
  */
393
393
  #setMatchUrls(name, type) {
394
- const arr = _chunkGZCYXJUEcjs.getComponentNames.call(void 0, name);
394
+ const arr = _chunkZEBYUEDCcjs.getComponentNames.call(void 0, name);
395
395
  const urls = [];
396
396
  if (type == "directive") {
397
397
  const getMatchDir = this.config.getMatchDir;
@@ -547,39 +547,39 @@ var FangComponent = class {
547
547
  };
548
548
  const arr = [];
549
549
  arr.push(
550
- _chunkGZCYXJUEcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
550
+ _chunkZEBYUEDCcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
551
551
  text: 3
552
552
  })
553
553
  );
554
554
  if (obj && obj.from) {
555
- let sfrom = _chunkGZCYXJUEcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _15 => _15.from]), {
555
+ let sfrom = _chunkZEBYUEDCcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _15 => _15.from]), {
556
556
  text: 4,
557
557
  revert: true
558
558
  });
559
559
  arr.push(
560
- _chunkGZCYXJUEcjs.styleLog.call(void 0, type, {
560
+ _chunkZEBYUEDCcjs.styleLog.call(void 0, type, {
561
561
  text: texts[type]
562
562
  })
563
563
  );
564
564
  arr.push(
565
- _chunkGZCYXJUEcjs.styleLog.call(void 0, name, {
565
+ _chunkZEBYUEDCcjs.styleLog.call(void 0, name, {
566
566
  bold: true
567
567
  })
568
568
  );
569
569
  if (!is) {
570
- sfrom = _chunkGZCYXJUEcjs.styleLog.call(void 0, "+", {
570
+ sfrom = _chunkZEBYUEDCcjs.styleLog.call(void 0, "+", {
571
571
  text: 2
572
572
  }) + sfrom;
573
573
  }
574
574
  arr.push(sfrom);
575
575
  } else {
576
576
  arr.push(
577
- _chunkGZCYXJUEcjs.styleLog.call(void 0, type, {
577
+ _chunkZEBYUEDCcjs.styleLog.call(void 0, type, {
578
578
  text: texts[type]
579
579
  })
580
580
  );
581
581
  arr.push(
582
- _chunkGZCYXJUEcjs.styleLog.call(void 0, name, {
582
+ _chunkZEBYUEDCcjs.styleLog.call(void 0, name, {
583
583
  bold: true,
584
584
  text: 1
585
585
  })
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL2I63KQAcjs = require('./chunk-L2I63KQA.cjs');
3
+ var _chunkJJI4HPOHcjs = require('./chunk-JJI4HPOH.cjs');
4
4
 
5
5
 
6
6
  var _chunkX23FY6UKcjs = require('./chunk-X23FY6UK.cjs');
7
7
 
8
8
 
9
- var _chunkGZCYXJUEcjs = require('./chunk-GZCYXJUE.cjs');
9
+ var _chunkZEBYUEDCcjs = require('./chunk-ZEBYUEDC.cjs');
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
13
- const configs = _chunkGZCYXJUEcjs.unmergeObject.call(void 0, _chunkX23FY6UKcjs.config, config2, 1);
14
- const fangComp = new (0, _chunkL2I63KQAcjs.component_default)(configs);
13
+ const configs = _chunkZEBYUEDCcjs.unmergeObject.call(void 0, _chunkX23FY6UKcjs.config, config2, 1);
14
+ const fangComp = new (0, _chunkJJI4HPOHcjs.component_default)(configs);
15
15
  return [
16
16
  {
17
17
  type: "component",
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
1
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
2
2
  function humpToLine(name) {
3
3
  const reg = /(([A-Z])([^A-Z]*))/g;
4
4
  let result;
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkJO3FU3FJcjs = require('./chunk-JO3FU3FJ.cjs');
3
+ var _chunk7W5XCJSDcjs = require('./chunk-7W5XCJSD.cjs');
4
4
 
5
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
5
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
6
6
  function styleLog(msg = "", obj) {
7
7
  const arr = ["\x1B[0m"];
8
8
  if (_optionalChain([obj, 'optionalAccess', _ => _.revert])) {
@@ -32,7 +32,7 @@ function styleLog(msg = "", obj) {
32
32
  return arr.join("");
33
33
  }
34
34
 
35
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
35
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
36
36
  function unmergeObject(a, b, j = 0, i) {
37
37
  let c;
38
38
  if (a instanceof Array) {
@@ -78,12 +78,12 @@ function unmergeObject(a, b, j = 0, i) {
78
78
  return c;
79
79
  }
80
80
 
81
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
81
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
82
82
  function firstUpper(str) {
83
83
  return str.slice(0, 1).toUpperCase() + str.slice(1);
84
84
  }
85
85
 
86
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
86
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
87
87
  function lineToLargeHump(name) {
88
88
  let arr = name.split("-");
89
89
  arr = arr.map((vs) => {
@@ -92,25 +92,25 @@ function lineToLargeHump(name) {
92
92
  return arr.join("");
93
93
  }
94
94
 
95
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
95
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
96
96
  function firstLower(str) {
97
97
  return str.slice(0, 1).toLowerCase() + str.slice(1);
98
98
  }
99
99
 
100
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
100
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
101
101
  function lineToSmallHump(name) {
102
102
  return firstLower(lineToLargeHump(name));
103
103
  }
104
104
 
105
- // node_modules/.pnpm/@fangzhongya+utils@0.0.8-27/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
105
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.8-29/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
106
106
  function getComponentNames(name) {
107
107
  if (name.includes("-")) {
108
- const line = _chunkJO3FU3FJcjs.humpToLine.call(void 0, name);
108
+ const line = _chunk7W5XCJSDcjs.humpToLine.call(void 0, name);
109
109
  const upper = lineToLargeHump(line);
110
110
  const lower = lineToSmallHump(upper);
111
111
  return [line, upper, lower];
112
112
  } else if (/[A-Z]/.test(name)) {
113
- const line = _chunkJO3FU3FJcjs.humpToLine.call(void 0, name);
113
+ const line = _chunk7W5XCJSDcjs.humpToLine.call(void 0, name);
114
114
  if (/^[A-Z]/.test(name)) {
115
115
  const upper = lineToLargeHump(line);
116
116
  const lower = lineToSmallHump(upper);
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL2I63KQAcjs = require('./chunk-L2I63KQA.cjs');
4
- require('./chunk-GZCYXJUE.cjs');
5
- require('./chunk-JO3FU3FJ.cjs');
3
+ var _chunkJJI4HPOHcjs = require('./chunk-JJI4HPOH.cjs');
4
+ require('./chunk-ZEBYUEDC.cjs');
5
+ require('./chunk-7W5XCJSD.cjs');
6
6
 
7
7
 
8
- exports.default = _chunkL2I63KQAcjs.component_default;
8
+ exports.default = _chunkJJI4HPOHcjs.component_default;
package/dist/component.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-UDMQRR2S.js";
4
- import "./chunk-BBUKS5YN.js";
5
- import "./chunk-HTNQ5IXZ.js";
3
+ } from "./chunk-I22NBLDL.js";
4
+ import "./chunk-J7ACZOK6.js";
5
+ import "./chunk-MGYDUWF7.js";
6
6
  export {
7
7
  component_default as default
8
8
  };
package/dist/index.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVT2OACF3cjs = require('./chunk-VT2OACF3.cjs');
3
+ var _chunkM6OYKMIVcjs = require('./chunk-M6OYKMIV.cjs');
4
4
 
5
5
 
6
- var _chunkL2I63KQAcjs = require('./chunk-L2I63KQA.cjs');
6
+ var _chunkJJI4HPOHcjs = require('./chunk-JJI4HPOH.cjs');
7
7
  require('./chunk-X23FY6UK.cjs');
8
- require('./chunk-GZCYXJUE.cjs');
9
- require('./chunk-JO3FU3FJ.cjs');
8
+ require('./chunk-ZEBYUEDC.cjs');
9
+ require('./chunk-7W5XCJSD.cjs');
10
10
 
11
11
  // packages/index.ts
12
- var FangComponent = class extends _chunkL2I63KQAcjs.component_default {
12
+ var FangComponent = class extends _chunkJJI4HPOHcjs.component_default {
13
13
  };
14
14
 
15
15
 
16
16
 
17
- exports.ComponentsResolver = _chunkVT2OACF3cjs.ComponentsResolver; exports.FangComponent = FangComponent;
17
+ exports.ComponentsResolver = _chunkM6OYKMIVcjs.ComponentsResolver; exports.FangComponent = FangComponent;
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-X7CLYK62.js";
3
+ } from "./chunk-3J4VOMAF.js";
4
4
  import {
5
5
  component_default
6
- } from "./chunk-UDMQRR2S.js";
6
+ } from "./chunk-I22NBLDL.js";
7
7
  import "./chunk-S6QJIPBZ.js";
8
- import "./chunk-BBUKS5YN.js";
9
- import "./chunk-HTNQ5IXZ.js";
8
+ import "./chunk-J7ACZOK6.js";
9
+ import "./chunk-MGYDUWF7.js";
10
10
 
11
11
  // packages/index.ts
12
12
  var FangComponent = class extends component_default {
package/dist/library.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJO3FU3FJcjs = require('./chunk-JO3FU3FJ.cjs');
3
+ var _chunk7W5XCJSDcjs = require('./chunk-7W5XCJSD.cjs');
4
4
 
5
5
  // packages/library.ts
6
6
  function namefilter(config, name) {
7
- let vm = _chunkJO3FU3FJcjs.humpToLine.call(void 0, name);
7
+ let vm = _chunk7W5XCJSDcjs.humpToLine.call(void 0, name);
8
8
  if (config.alias) {
9
9
  const reg1 = new RegExp("^" + config.alias + "-" + config.prefix + "-");
10
10
  if (reg1.test(vm)) {
package/dist/library.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  humpToLine
3
- } from "./chunk-HTNQ5IXZ.js";
3
+ } from "./chunk-MGYDUWF7.js";
4
4
 
5
5
  // packages/library.ts
6
6
  function namefilter(config, name) {
package/dist/resolver.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVT2OACF3cjs = require('./chunk-VT2OACF3.cjs');
4
- require('./chunk-L2I63KQA.cjs');
3
+ var _chunkM6OYKMIVcjs = require('./chunk-M6OYKMIV.cjs');
4
+ require('./chunk-JJI4HPOH.cjs');
5
5
  require('./chunk-X23FY6UK.cjs');
6
- require('./chunk-GZCYXJUE.cjs');
7
- require('./chunk-JO3FU3FJ.cjs');
6
+ require('./chunk-ZEBYUEDC.cjs');
7
+ require('./chunk-7W5XCJSD.cjs');
8
8
 
9
9
 
10
- exports.ComponentsResolver = _chunkVT2OACF3cjs.ComponentsResolver;
10
+ exports.ComponentsResolver = _chunkM6OYKMIVcjs.ComponentsResolver;
package/dist/resolver.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-X7CLYK62.js";
4
- import "./chunk-UDMQRR2S.js";
3
+ } from "./chunk-3J4VOMAF.js";
4
+ import "./chunk-I22NBLDL.js";
5
5
  import "./chunk-S6QJIPBZ.js";
6
- import "./chunk-BBUKS5YN.js";
7
- import "./chunk-HTNQ5IXZ.js";
6
+ import "./chunk-J7ACZOK6.js";
7
+ import "./chunk-MGYDUWF7.js";
8
8
  export {
9
9
  ComponentsResolver
10
10
  };
package/dist/util.cjs CHANGED
@@ -3,14 +3,14 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkGZCYXJUEcjs = require('./chunk-GZCYXJUE.cjs');
6
+ var _chunkZEBYUEDCcjs = require('./chunk-ZEBYUEDC.cjs');
7
7
 
8
8
 
9
- var _chunkJO3FU3FJcjs = require('./chunk-JO3FU3FJ.cjs');
9
+ var _chunk7W5XCJSDcjs = require('./chunk-7W5XCJSD.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- exports.firstUpper = _chunkGZCYXJUEcjs.firstUpper; exports.getComponentNames = _chunkGZCYXJUEcjs.getComponentNames; exports.humpToLine = _chunkJO3FU3FJcjs.humpToLine; exports.styleLog = _chunkGZCYXJUEcjs.styleLog; exports.unmergeObject = _chunkGZCYXJUEcjs.unmergeObject;
16
+ exports.firstUpper = _chunkZEBYUEDCcjs.firstUpper; exports.getComponentNames = _chunkZEBYUEDCcjs.getComponentNames; exports.humpToLine = _chunk7W5XCJSDcjs.humpToLine; exports.styleLog = _chunkZEBYUEDCcjs.styleLog; exports.unmergeObject = _chunkZEBYUEDCcjs.unmergeObject;
package/dist/util.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  getComponentNames,
4
4
  styleLog,
5
5
  unmergeObject
6
- } from "./chunk-BBUKS5YN.js";
6
+ } from "./chunk-J7ACZOK6.js";
7
7
  import {
8
8
  humpToLine
9
- } from "./chunk-HTNQ5IXZ.js";
9
+ } from "./chunk-MGYDUWF7.js";
10
10
  export {
11
11
  firstUpper,
12
12
  getComponentNames,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/vue-components",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.1.4-2",
5
+ "version": "0.1.4-4",
6
6
  "description ": "unplugin-vue-components插件",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "registry": "https://registry.npmjs.org/"
19
19
  },
20
20
  "devDependencies": {
21
- "@fangzhongya/create": "0.2.4-3",
22
- "@fangzhongya/utils": "0.0.8-27",
21
+ "@fangzhongya/create": "0.2.4-10",
22
+ "@fangzhongya/utils": "0.0.8-29",
23
23
  "@types/node": "^18.15.5",
24
24
  "ts-node": "^10.9.1",
25
25
  "tsup": "^6.7.0",
@@ -63,20 +63,12 @@
63
63
  "import": "./dist/index.js",
64
64
  "types": "./dist/index.d.ts"
65
65
  },
66
- "./*": "./*",
67
66
  "./library": {
68
67
  "require": "./dist/library.cjs",
69
68
  "import": "./dist/library.js",
70
69
  "types": "./dist/library.d.ts"
71
70
  }
72
71
  },
73
- "typesVersions": {
74
- "*": {
75
- "*": [
76
- "./dist/*"
77
- ]
78
- }
79
- },
80
72
  "scripts": {
81
73
  "dev": "ts-node node/index.ts",
82
74
  "pub": "pnpm publish --access public --no-git-checks",