@fangzhongya/vue-components 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/archive.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunk5ZYL6JOZcjs = require('./chunk-5ZYL6JOZ.cjs');
3
+ var _chunkHVHTH5JDcjs = require('./chunk-HVHTH5JD.cjs');
4
4
 
5
5
 
6
6
  var _chunkUNBQUEQ4cjs = require('./chunk-UNBQUEQ4.cjs');
7
7
 
8
8
 
9
- var _chunkM6Y4OKJRcjs = require('./chunk-M6Y4OKJR.cjs');
10
- require('./chunk-XMZBDIKY.cjs');
9
+ var _chunkEGU4WHHRcjs = require('./chunk-EGU4WHHR.cjs');
10
+ require('./chunk-FOPZ7EBX.cjs');
11
11
 
12
12
  // packages/archive.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
 
16
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-5HC662VK.js
16
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-5HC662VK.js
17
17
  var TYPE_MARKERS = {
18
18
  FUNCTION_REF: "_FR_",
19
19
  CODE_BLOCK: "_CB_",
@@ -299,8 +299,8 @@ function setJson(obj) {
299
299
  }
300
300
  }
301
301
  function ComponentsResolverArchive(config2 = {}) {
302
- const configs = _chunkM6Y4OKJRcjs.unmergeObject.call(void 0, _chunkUNBQUEQ4cjs.config, archiveConfig, 2, true);
303
- const fangComp = new (0, _chunk5ZYL6JOZcjs.component_default)(_chunkM6Y4OKJRcjs.unmergeObject.call(void 0, configs, config2, 1));
302
+ const configs = _chunkEGU4WHHRcjs.unmergeObject.call(void 0, _chunkUNBQUEQ4cjs.config, archiveConfig, 2, true);
303
+ const fangComp = new (0, _chunkHVHTH5JDcjs.component_default)(_chunkEGU4WHHRcjs.unmergeObject.call(void 0, configs, config2, 1));
304
304
  setJson(fangComp.config);
305
305
  return [
306
306
  {
package/dist/archive.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-QJWZJHFG.js";
3
+ } from "./chunk-E2BEMH6U.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-DURXCSNX.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-ZRYXYGML.js";
10
- import "./chunk-BDZPEKUD.js";
9
+ } from "./chunk-OQ2ECPIY.js";
10
+ import "./chunk-ZWVHHITI.js";
11
11
 
12
12
  // packages/archive.ts
13
13
  import { writeFile } from "fs";
14
14
  import { resolve } from "path";
15
15
 
16
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-5HC662VK.js
16
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-5HC662VK.js
17
17
  var TYPE_MARKERS = {
18
18
  FUNCTION_REF: "_FR_",
19
19
  CODE_BLOCK: "_CB_",
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5ZYL6JOZcjs = require('./chunk-5ZYL6JOZ.cjs');
3
+ var _chunkHVHTH5JDcjs = require('./chunk-HVHTH5JD.cjs');
4
4
 
5
5
 
6
6
  var _chunkUNBQUEQ4cjs = require('./chunk-UNBQUEQ4.cjs');
7
7
 
8
8
 
9
- var _chunkM6Y4OKJRcjs = require('./chunk-M6Y4OKJR.cjs');
9
+ var _chunkEGU4WHHRcjs = require('./chunk-EGU4WHHR.cjs');
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
13
- const configs = _chunkM6Y4OKJRcjs.unmergeObject.call(void 0, _chunkUNBQUEQ4cjs.config, config2, 1);
14
- const fangComp = new (0, _chunk5ZYL6JOZcjs.component_default)(configs);
13
+ const configs = _chunkEGU4WHHRcjs.unmergeObject.call(void 0, _chunkUNBQUEQ4cjs.config, config2, 1);
14
+ const fangComp = new (0, _chunkHVHTH5JDcjs.component_default)(configs);
15
15
  return [
16
16
  {
17
17
  type: "component",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-QJWZJHFG.js";
3
+ } from "./chunk-E2BEMH6U.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-DURXCSNX.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-ZRYXYGML.js";
9
+ } from "./chunk-OQ2ECPIY.js";
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  getComponentNames,
3
3
  styleLog
4
- } from "./chunk-ZRYXYGML.js";
4
+ } from "./chunk-OQ2ECPIY.js";
5
5
  import {
6
6
  humpToLine
7
- } from "./chunk-BDZPEKUD.js";
7
+ } from "./chunk-ZWVHHITI.js";
8
8
 
9
9
  // packages/component.ts
10
10
  import fastGlob from "fast-glob";
11
11
  import { resolve } from "path";
12
12
 
13
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
13
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
14
14
  function matchsEnd(key, matchs) {
15
15
  if (matchs && matchs.length > 0) {
16
16
  for (const value of matchs) {
@@ -30,7 +30,7 @@ function matchsEnd(key, matchs) {
30
30
  }
31
31
  }
32
32
 
33
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
33
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
34
34
  function matchsStart(key, matchs) {
35
35
  if (matchs && matchs.length > 0) {
36
36
  for (const value of matchs) {
@@ -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 _chunkXMZBDIKYcjs = require('./chunk-XMZBDIKY.cjs');
3
+ var _chunkFOPZ7EBXcjs = require('./chunk-FOPZ7EBX.cjs');
4
4
 
5
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
5
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
35
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
81
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
86
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
95
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
100
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
105
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
106
106
  function getComponentNames(name) {
107
107
  if (name.includes("-")) {
108
- const line = _chunkXMZBDIKYcjs.humpToLine.call(void 0, name);
108
+ const line = _chunkFOPZ7EBXcjs.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 = _chunkXMZBDIKYcjs.humpToLine.call(void 0, name);
113
+ const line = _chunkFOPZ7EBXcjs.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,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.43/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,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
 
4
- var _chunkM6Y4OKJRcjs = require('./chunk-M6Y4OKJR.cjs');
4
+ var _chunkEGU4WHHRcjs = require('./chunk-EGU4WHHR.cjs');
5
5
 
6
6
 
7
- var _chunkXMZBDIKYcjs = require('./chunk-XMZBDIKY.cjs');
7
+ var _chunkFOPZ7EBXcjs = require('./chunk-FOPZ7EBX.cjs');
8
8
 
9
9
  // packages/component.ts
10
10
  var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);
11
11
  var _path = require('path');
12
12
 
13
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
13
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
14
14
  function matchsEnd(key, matchs) {
15
15
  if (matchs && matchs.length > 0) {
16
16
  for (const value of matchs) {
@@ -30,7 +30,7 @@ function matchsEnd(key, matchs) {
30
30
  }
31
31
  }
32
32
 
33
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
33
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
34
34
  function matchsStart(key, matchs) {
35
35
  if (matchs && matchs.length > 0) {
36
36
  for (const value of matchs) {
@@ -124,9 +124,9 @@ var FangComponent = class {
124
124
  return this.config.getAliass;
125
125
  } else {
126
126
  return function(name, _type, c) {
127
- const arr = _chunkM6Y4OKJRcjs.getComponentNames.call(void 0, name);
127
+ const arr = _chunkEGU4WHHRcjs.getComponentNames.call(void 0, name);
128
128
  if (c.alias) {
129
- return [..._chunkM6Y4OKJRcjs.getComponentNames.call(void 0, c.alias + "-" + name), ...arr];
129
+ return [..._chunkEGU4WHHRcjs.getComponentNames.call(void 0, c.alias + "-" + name), ...arr];
130
130
  } else {
131
131
  return arr;
132
132
  }
@@ -283,7 +283,7 @@ var FangComponent = class {
283
283
  * @returns { Boolean } 是否要替换
284
284
  */
285
285
  #namefilter(name) {
286
- name = _chunkXMZBDIKYcjs.humpToLine.call(void 0, name);
286
+ name = _chunkFOPZ7EBXcjs.humpToLine.call(void 0, name);
287
287
  if (this.config.startss) {
288
288
  for (let index = 0; index < this.config.startss.length; index++) {
289
289
  const element = this.config.startss[index] + "-";
@@ -496,46 +496,46 @@ var FangComponent = class {
496
496
  };
497
497
  const arr = [];
498
498
  arr.push(
499
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
499
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
500
500
  text: 3
501
501
  })
502
502
  );
503
503
  if (obj && obj.from) {
504
- let sfrom = _chunkM6Y4OKJRcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _28 => _28.from]), {
504
+ let sfrom = _chunkEGU4WHHRcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _28 => _28.from]), {
505
505
  text: 4,
506
506
  revert: true
507
507
  });
508
508
  arr.push(
509
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, type, {
509
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, type, {
510
510
  text: texts[type]
511
511
  })
512
512
  );
513
513
  arr.push(
514
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, name, {
514
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, name, {
515
515
  bold: true
516
516
  })
517
517
  );
518
518
  if (!is) {
519
- sfrom = _chunkM6Y4OKJRcjs.styleLog.call(void 0, "+", {
519
+ sfrom = _chunkEGU4WHHRcjs.styleLog.call(void 0, "+", {
520
520
  text: 2
521
521
  }) + sfrom;
522
522
  }
523
523
  arr.push(sfrom);
524
524
  if (obj.sideEffects) {
525
525
  arr.push(
526
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, obj.sideEffects.toString(), {
526
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, obj.sideEffects.toString(), {
527
527
  text: texts["sideEffects"]
528
528
  })
529
529
  );
530
530
  }
531
531
  } else {
532
532
  arr.push(
533
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, type, {
533
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, type, {
534
534
  text: texts[type]
535
535
  })
536
536
  );
537
537
  arr.push(
538
- _chunkM6Y4OKJRcjs.styleLog.call(void 0, name, {
538
+ _chunkEGU4WHHRcjs.styleLog.call(void 0, name, {
539
539
  bold: true,
540
540
  text: 1
541
541
  })
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  humpToLine
3
- } from "./chunk-BDZPEKUD.js";
3
+ } from "./chunk-ZWVHHITI.js";
4
4
 
5
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
5
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
35
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
81
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
86
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
95
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
100
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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.28/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
105
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/node_modules/@fangzhongya/utils/dist/chunk-VRRDYCUH.js
106
106
  function getComponentNames(name) {
107
107
  if (name.includes("-")) {
108
108
  const line = humpToLine(name);
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/@fangzhongya+utils@0.0.28/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
1
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.43/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});
2
2
 
3
- var _chunk5ZYL6JOZcjs = require('./chunk-5ZYL6JOZ.cjs');
4
- require('./chunk-M6Y4OKJR.cjs');
5
- require('./chunk-XMZBDIKY.cjs');
3
+ var _chunkHVHTH5JDcjs = require('./chunk-HVHTH5JD.cjs');
4
+ require('./chunk-EGU4WHHR.cjs');
5
+ require('./chunk-FOPZ7EBX.cjs');
6
6
 
7
7
 
8
- exports.default = _chunk5ZYL6JOZcjs.component_default;
8
+ exports.default = _chunkHVHTH5JDcjs.component_default;
package/dist/component.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-QJWZJHFG.js";
4
- import "./chunk-ZRYXYGML.js";
5
- import "./chunk-BDZPEKUD.js";
3
+ } from "./chunk-E2BEMH6U.js";
4
+ import "./chunk-OQ2ECPIY.js";
5
+ import "./chunk-ZWVHHITI.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 _chunkF2PKOFAZcjs = require('./chunk-F2PKOFAZ.cjs');
3
+ var _chunk6BRXYTETcjs = require('./chunk-6BRXYTET.cjs');
4
4
 
5
5
 
6
- var _chunk5ZYL6JOZcjs = require('./chunk-5ZYL6JOZ.cjs');
6
+ var _chunkHVHTH5JDcjs = require('./chunk-HVHTH5JD.cjs');
7
7
  require('./chunk-UNBQUEQ4.cjs');
8
- require('./chunk-M6Y4OKJR.cjs');
9
- require('./chunk-XMZBDIKY.cjs');
8
+ require('./chunk-EGU4WHHR.cjs');
9
+ require('./chunk-FOPZ7EBX.cjs');
10
10
 
11
11
  // packages/index.ts
12
- var FangComponent = class extends _chunk5ZYL6JOZcjs.component_default {
12
+ var FangComponent = class extends _chunkHVHTH5JDcjs.component_default {
13
13
  };
14
14
 
15
15
 
16
16
 
17
- exports.ComponentsResolver = _chunkF2PKOFAZcjs.ComponentsResolver; exports.FangComponent = FangComponent;
17
+ exports.ComponentsResolver = _chunk6BRXYTETcjs.ComponentsResolver; exports.FangComponent = FangComponent;
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-VP5RIE57.js";
3
+ } from "./chunk-DQBKCBHA.js";
4
4
  import {
5
5
  component_default
6
- } from "./chunk-QJWZJHFG.js";
6
+ } from "./chunk-E2BEMH6U.js";
7
7
  import "./chunk-DURXCSNX.js";
8
- import "./chunk-ZRYXYGML.js";
9
- import "./chunk-BDZPEKUD.js";
8
+ import "./chunk-OQ2ECPIY.js";
9
+ import "./chunk-ZWVHHITI.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 _chunkXMZBDIKYcjs = require('./chunk-XMZBDIKY.cjs');
3
+ var _chunkFOPZ7EBXcjs = require('./chunk-FOPZ7EBX.cjs');
4
4
 
5
5
  // packages/library.ts
6
6
  function namefilter(config, name) {
7
- let vm = _chunkXMZBDIKYcjs.humpToLine.call(void 0, name);
7
+ let vm = _chunkFOPZ7EBXcjs.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-BDZPEKUD.js";
3
+ } from "./chunk-ZWVHHITI.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 _chunkF2PKOFAZcjs = require('./chunk-F2PKOFAZ.cjs');
4
- require('./chunk-5ZYL6JOZ.cjs');
3
+ var _chunk6BRXYTETcjs = require('./chunk-6BRXYTET.cjs');
4
+ require('./chunk-HVHTH5JD.cjs');
5
5
  require('./chunk-UNBQUEQ4.cjs');
6
- require('./chunk-M6Y4OKJR.cjs');
7
- require('./chunk-XMZBDIKY.cjs');
6
+ require('./chunk-EGU4WHHR.cjs');
7
+ require('./chunk-FOPZ7EBX.cjs');
8
8
 
9
9
 
10
- exports.ComponentsResolver = _chunkF2PKOFAZcjs.ComponentsResolver;
10
+ exports.ComponentsResolver = _chunk6BRXYTETcjs.ComponentsResolver;
package/dist/resolver.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-VP5RIE57.js";
4
- import "./chunk-QJWZJHFG.js";
3
+ } from "./chunk-DQBKCBHA.js";
4
+ import "./chunk-E2BEMH6U.js";
5
5
  import "./chunk-DURXCSNX.js";
6
- import "./chunk-ZRYXYGML.js";
7
- import "./chunk-BDZPEKUD.js";
6
+ import "./chunk-OQ2ECPIY.js";
7
+ import "./chunk-ZWVHHITI.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 _chunkM6Y4OKJRcjs = require('./chunk-M6Y4OKJR.cjs');
6
+ var _chunkEGU4WHHRcjs = require('./chunk-EGU4WHHR.cjs');
7
7
 
8
8
 
9
- var _chunkXMZBDIKYcjs = require('./chunk-XMZBDIKY.cjs');
9
+ var _chunkFOPZ7EBXcjs = require('./chunk-FOPZ7EBX.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- exports.firstUpper = _chunkM6Y4OKJRcjs.firstUpper; exports.getComponentNames = _chunkM6Y4OKJRcjs.getComponentNames; exports.humpToLine = _chunkXMZBDIKYcjs.humpToLine; exports.styleLog = _chunkM6Y4OKJRcjs.styleLog; exports.unmergeObject = _chunkM6Y4OKJRcjs.unmergeObject;
16
+ exports.firstUpper = _chunkEGU4WHHRcjs.firstUpper; exports.getComponentNames = _chunkEGU4WHHRcjs.getComponentNames; exports.humpToLine = _chunkFOPZ7EBXcjs.humpToLine; exports.styleLog = _chunkEGU4WHHRcjs.styleLog; exports.unmergeObject = _chunkEGU4WHHRcjs.unmergeObject;
package/dist/util.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  getComponentNames,
4
4
  styleLog,
5
5
  unmergeObject
6
- } from "./chunk-ZRYXYGML.js";
6
+ } from "./chunk-OQ2ECPIY.js";
7
7
  import {
8
8
  humpToLine
9
- } from "./chunk-BDZPEKUD.js";
9
+ } from "./chunk-ZWVHHITI.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.18",
5
+ "version": "0.1.19",
6
6
  "description ": "unplugin-vue-components插件",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -18,15 +18,15 @@
18
18
  "registry": "https://registry.npmjs.org/"
19
19
  },
20
20
  "devDependencies": {
21
- "@fangzhongya/create": "0.2.34",
22
- "@fangzhongya/utils": "0.0.28",
23
- "@types/node": "^24.3.0",
21
+ "@fangzhongya/create": "0.2.41",
22
+ "@fangzhongya/utils": "0.0.43",
23
+ "@types/node": "^24.10.0",
24
24
  "ts-node": "^10.9.2",
25
25
  "tsup": "^8.5.0",
26
- "typescript": "^5.9.2",
27
- "unplugin-vue-components": "^29.0.0",
28
- "vitest": "^3.2.4",
29
- "vue": "^3.5.18"
26
+ "typescript": "^5.9.3",
27
+ "unplugin-vue-components": "^30.0.0",
28
+ "vitest": "^4.0.8",
29
+ "vue": "^3.5.24"
30
30
  },
31
31
  "dependencies": {
32
32
  "fast-glob": "^3.3.3"