@fangzhongya/vue-components 0.1.2-5 → 0.1.2-7

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/README.md CHANGED
@@ -13,7 +13,7 @@ npm i -D <b>@fangzhongya/vue-components</b>
13
13
  ### 单个配置
14
14
 
15
15
  ```js
16
- import { ComponentsResolver } from '@fangzhongya/vue-components';
16
+ import { ComponentsResolver } from '@fangzhongya/vue-components/index';
17
17
 
18
18
  Components({
19
19
  resolvers: [ComponentsResolver()],
@@ -103,6 +103,11 @@ const config = {
103
103
  */
104
104
  filtes: ['router-link', 'router-view'],
105
105
 
106
+ /**
107
+ * 控制台是否输出日志
108
+ */
109
+ log: true,
110
+
106
111
  /**
107
112
  * 匹配到的文件路径
108
113
  * @param {*} url
@@ -198,7 +203,10 @@ interface Config {
198
203
  * 不区分首字母大小写
199
204
  */
200
205
  filtes?: Array<string>;
201
-
206
+ /**
207
+ * 控制台是否输出日志
208
+ */
209
+ log?: boolean;
202
210
  /**
203
211
  * 匹配到的文件路径
204
212
  */
package/dist/archive.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4RBBEA7Zcjs = require('./chunk-4RBBEA7Z.cjs');
3
+ var _chunkIM5BK2S7cjs = require('./chunk-IM5BK2S7.cjs');
4
4
 
5
5
 
6
6
  var _chunkPUE2ULUAcjs = require('./chunk-PUE2ULUA.cjs');
7
7
 
8
8
 
9
- var _chunkZO3KTUNKcjs = require('./chunk-ZO3KTUNK.cjs');
9
+ var _chunkCF5VMNJFcjs = require('./chunk-CF5VMNJF.cjs');
10
10
 
11
11
  // packages/archive.ts
12
12
  var _fs = require('fs');
@@ -38,14 +38,14 @@ function setJson(obj) {
38
38
  }
39
39
  }
40
40
  function ComponentsResolverArchive(config2 = {}) {
41
- const configs = _chunkZO3KTUNKcjs.unmergeObject.call(void 0,
41
+ const configs = _chunkCF5VMNJFcjs.unmergeObject.call(void 0,
42
42
  _chunkPUE2ULUAcjs.config,
43
43
  archiveConfig,
44
44
  2,
45
45
  true
46
46
  );
47
- const fangComp = new (0, _chunk4RBBEA7Zcjs.component_default)(
48
- _chunkZO3KTUNKcjs.unmergeObject.call(void 0, configs, config2, 1)
47
+ const fangComp = new (0, _chunkIM5BK2S7cjs.component_default)(
48
+ _chunkCF5VMNJFcjs.unmergeObject.call(void 0, configs, config2, 1)
49
49
  );
50
50
  setJson(fangComp.config);
51
51
  return [
package/dist/archive.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-G6YWLTEU.js";
3
+ } from "./chunk-HF7ZS5PG.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-SN4SJVXW.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-FDVNT7FU.js";
9
+ } from "./chunk-R4DADB6M.js";
10
10
 
11
11
  // packages/archive.ts
12
12
  import { writeFile } from "node:fs";
@@ -1,4 +1,4 @@
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; }// node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
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; }// node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
2
2
  function styleLog(msg = "", obj) {
3
3
  const arr = ["\x1B[0m"];
4
4
  if (_optionalChain([obj, 'optionalAccess', _ => _.revert])) {
@@ -28,7 +28,7 @@ function styleLog(msg = "", obj) {
28
28
  return arr.join("");
29
29
  }
30
30
 
31
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
31
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
32
32
  function unmergeObject(a, b, j = 0, i) {
33
33
  let c;
34
34
  if (a instanceof Array) {
@@ -74,7 +74,7 @@ function unmergeObject(a, b, j = 0, i) {
74
74
  return c;
75
75
  }
76
76
 
77
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
77
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
78
78
  function humpToLine(name) {
79
79
  const reg = /(([A-Z])([^A-Z]*))/g;
80
80
  let result;
@@ -96,35 +96,31 @@ function humpToLine(name) {
96
96
  }
97
97
  }
98
98
 
99
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
100
- function firstLower(str) {
101
- return str.slice(0, 1).toLowerCase() + str.slice(1);
99
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
100
+ function firstUpper(str) {
101
+ return str.slice(0, 1).toUpperCase() + str.slice(1);
102
102
  }
103
103
 
104
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-2PY55D6T.js
104
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
105
105
  function lineToLargeHump(name) {
106
106
  let arr = name.split("-");
107
107
  arr = arr.map((vs) => {
108
- return firstLower(vs);
108
+ return firstUpper(vs);
109
109
  });
110
110
  return arr.join("");
111
111
  }
112
112
 
113
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
114
- function firstUpper(str) {
115
- return str.slice(0, 1).toUpperCase() + str.slice(1);
113
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
114
+ function firstLower(str) {
115
+ return str.slice(0, 1).toLowerCase() + str.slice(1);
116
116
  }
117
117
 
118
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-O3RJ5M35.js
118
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
119
119
  function lineToSmallHump(name) {
120
- let arr = name.split("-");
121
- arr = arr.map((vs) => {
122
- return firstLower(vs);
123
- });
124
- return firstUpper(arr.join(""));
120
+ return firstLower(lineToLargeHump(name));
125
121
  }
126
122
 
127
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-FESWCW7T.js
123
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-MXLYIZIX.js
128
124
  function getComponentNames(name) {
129
125
  if (name.includes("-")) {
130
126
  const line = humpToLine(name);
@@ -3,7 +3,7 @@ import {
3
3
  getComponentNames,
4
4
  humpToLine,
5
5
  styleLog
6
- } from "./chunk-FDVNT7FU.js";
6
+ } from "./chunk-R4DADB6M.js";
7
7
 
8
8
  // packages/component.ts
9
9
  import fastGlob from "fast-glob";
@@ -409,7 +409,7 @@ var FangComponent = class {
409
409
  text: 3
410
410
  })
411
411
  );
412
- if (obj) {
412
+ if (obj && obj.from) {
413
413
  let sfrom = styleLog(obj?.from, {
414
414
  text: 4,
415
415
  revert: true
@@ -433,13 +433,13 @@ var FangComponent = class {
433
433
  } else {
434
434
  arr.push(
435
435
  styleLog(type, {
436
- text: texts[type],
437
- lineThrough: true
436
+ text: texts[type]
438
437
  })
439
438
  );
440
439
  arr.push(
441
440
  styleLog(name, {
442
- bold: true
441
+ bold: true,
442
+ text: 1
443
443
  })
444
444
  );
445
445
  }
@@ -453,8 +453,8 @@ var FangComponent = class {
453
453
  return cache;
454
454
  } else if (this.#namefilter(name)) {
455
455
  let obj = this.#setNameFrom(name, type);
456
+ this.#setLog(name, type, obj);
456
457
  if (obj) {
457
- this.#setLog(name, type, obj);
458
458
  this.#setCache(name, type, obj);
459
459
  return obj;
460
460
  }
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4RBBEA7Zcjs = require('./chunk-4RBBEA7Z.cjs');
3
+ var _chunkIM5BK2S7cjs = require('./chunk-IM5BK2S7.cjs');
4
4
 
5
5
 
6
6
  var _chunkPUE2ULUAcjs = require('./chunk-PUE2ULUA.cjs');
7
7
 
8
8
 
9
- var _chunkZO3KTUNKcjs = require('./chunk-ZO3KTUNK.cjs');
9
+ var _chunkCF5VMNJFcjs = require('./chunk-CF5VMNJF.cjs');
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
13
- const configs = _chunkZO3KTUNKcjs.unmergeObject.call(void 0, _chunkPUE2ULUAcjs.config, config2, 1);
14
- const fangComp = new (0, _chunk4RBBEA7Zcjs.component_default)(configs);
13
+ const configs = _chunkCF5VMNJFcjs.unmergeObject.call(void 0, _chunkPUE2ULUAcjs.config, config2, 1);
14
+ const fangComp = new (0, _chunkIM5BK2S7cjs.component_default)(configs);
15
15
  return [
16
16
  {
17
17
  type: "component",
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZO3KTUNKcjs = require('./chunk-ZO3KTUNK.cjs');
6
+ var _chunkCF5VMNJFcjs = require('./chunk-CF5VMNJF.cjs');
7
7
 
8
8
  // packages/component.ts
9
9
  var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);
@@ -177,7 +177,7 @@ var FangComponent = class {
177
177
  cach[type] = co;
178
178
  }
179
179
  #namefilter(name) {
180
- name = _chunkZO3KTUNKcjs.humpToLine.call(void 0, name);
180
+ name = _chunkCF5VMNJFcjs.humpToLine.call(void 0, name);
181
181
  if (this.config.startss) {
182
182
  for (let index = 0; index < this.config.startss.length; index++) {
183
183
  const element = this.config.startss[index] + "-";
@@ -224,7 +224,7 @@ var FangComponent = class {
224
224
  } else if (as.length > 1) {
225
225
  let m;
226
226
  if (/[A-Z]/.test(yname.slice(0, 1))) {
227
- m = yname.replace(_chunkZO3KTUNKcjs.firstUpper.call(void 0, top), "");
227
+ m = yname.replace(_chunkCF5VMNJFcjs.firstUpper.call(void 0, top), "");
228
228
  } else {
229
229
  m = yname.replace(top, "");
230
230
  }
@@ -247,7 +247,7 @@ var FangComponent = class {
247
247
  }
248
248
  }
249
249
  #setNameFrom(name, type) {
250
- let mb = _chunkZO3KTUNKcjs.humpToLine.call(void 0, name);
250
+ let mb = _chunkCF5VMNJFcjs.humpToLine.call(void 0, name);
251
251
  const alias = this.config.alias;
252
252
  if (alias) {
253
253
  if (mb.startsWith(alias + "-")) {
@@ -255,7 +255,7 @@ var FangComponent = class {
255
255
  mb = mb.replace(reg, "");
256
256
  const reg1 = new RegExp("^" + alias);
257
257
  const reg2 = new RegExp(
258
- "^" + _chunkZO3KTUNKcjs.firstUpper.call(void 0, alias)
258
+ "^" + _chunkCF5VMNJFcjs.firstUpper.call(void 0, alias)
259
259
  );
260
260
  if (reg1.test(name)) {
261
261
  name = name.replace(reg1, "");
@@ -301,7 +301,7 @@ var FangComponent = class {
301
301
  }
302
302
  }
303
303
  #setMatchUrls(name, type) {
304
- const arr = _chunkZO3KTUNKcjs.getComponentNames.call(void 0, name);
304
+ const arr = _chunkCF5VMNJFcjs.getComponentNames.call(void 0, name);
305
305
  const urls = [];
306
306
  if (type == "directive") {
307
307
  arr.forEach((v) => {
@@ -405,41 +405,41 @@ var FangComponent = class {
405
405
  };
406
406
  const arr = [];
407
407
  arr.push(
408
- _chunkZO3KTUNKcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
408
+ _chunkCF5VMNJFcjs.styleLog.call(void 0, "[@fangzhongya/vue-components]", {
409
409
  text: 3
410
410
  })
411
411
  );
412
- if (obj) {
413
- let sfrom = _chunkZO3KTUNKcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _15 => _15.from]), {
412
+ if (obj && obj.from) {
413
+ let sfrom = _chunkCF5VMNJFcjs.styleLog.call(void 0, _optionalChain([obj, 'optionalAccess', _15 => _15.from]), {
414
414
  text: 4,
415
415
  revert: true
416
416
  });
417
417
  arr.push(
418
- _chunkZO3KTUNKcjs.styleLog.call(void 0, type, {
418
+ _chunkCF5VMNJFcjs.styleLog.call(void 0, type, {
419
419
  text: texts[type]
420
420
  })
421
421
  );
422
422
  arr.push(
423
- _chunkZO3KTUNKcjs.styleLog.call(void 0, name, {
423
+ _chunkCF5VMNJFcjs.styleLog.call(void 0, name, {
424
424
  bold: true
425
425
  })
426
426
  );
427
427
  if (!is) {
428
- sfrom = _chunkZO3KTUNKcjs.styleLog.call(void 0, "+", {
428
+ sfrom = _chunkCF5VMNJFcjs.styleLog.call(void 0, "+", {
429
429
  text: 2
430
430
  }) + sfrom;
431
431
  }
432
432
  arr.push(sfrom);
433
433
  } else {
434
434
  arr.push(
435
- _chunkZO3KTUNKcjs.styleLog.call(void 0, type, {
436
- text: texts[type],
437
- lineThrough: true
435
+ _chunkCF5VMNJFcjs.styleLog.call(void 0, type, {
436
+ text: texts[type]
438
437
  })
439
438
  );
440
439
  arr.push(
441
- _chunkZO3KTUNKcjs.styleLog.call(void 0, name, {
442
- bold: true
440
+ _chunkCF5VMNJFcjs.styleLog.call(void 0, name, {
441
+ bold: true,
442
+ text: 1
443
443
  })
444
444
  );
445
445
  }
@@ -453,8 +453,8 @@ var FangComponent = class {
453
453
  return cache;
454
454
  } else if (this.#namefilter(name)) {
455
455
  let obj = this.#setNameFrom(name, type);
456
+ this.#setLog(name, type, obj);
456
457
  if (obj) {
457
- this.#setLog(name, type, obj);
458
458
  this.#setCache(name, type, obj);
459
459
  return obj;
460
460
  }
@@ -1,4 +1,4 @@
1
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
1
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-HVQG2IGJ.js
2
2
  function styleLog(msg = "", obj) {
3
3
  const arr = ["\x1B[0m"];
4
4
  if (obj?.revert) {
@@ -28,7 +28,7 @@ function styleLog(msg = "", obj) {
28
28
  return arr.join("");
29
29
  }
30
30
 
31
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
31
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
32
32
  function unmergeObject(a, b, j = 0, i) {
33
33
  let c;
34
34
  if (a instanceof Array) {
@@ -74,7 +74,7 @@ function unmergeObject(a, b, j = 0, i) {
74
74
  return c;
75
75
  }
76
76
 
77
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
77
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
78
78
  function humpToLine(name) {
79
79
  const reg = /(([A-Z])([^A-Z]*))/g;
80
80
  let result;
@@ -96,35 +96,31 @@ function humpToLine(name) {
96
96
  }
97
97
  }
98
98
 
99
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
100
- function firstLower(str) {
101
- return str.slice(0, 1).toLowerCase() + str.slice(1);
99
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
100
+ function firstUpper(str) {
101
+ return str.slice(0, 1).toUpperCase() + str.slice(1);
102
102
  }
103
103
 
104
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-2PY55D6T.js
104
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
105
105
  function lineToLargeHump(name) {
106
106
  let arr = name.split("-");
107
107
  arr = arr.map((vs) => {
108
- return firstLower(vs);
108
+ return firstUpper(vs);
109
109
  });
110
110
  return arr.join("");
111
111
  }
112
112
 
113
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
114
- function firstUpper(str) {
115
- return str.slice(0, 1).toUpperCase() + str.slice(1);
113
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
114
+ function firstLower(str) {
115
+ return str.slice(0, 1).toLowerCase() + str.slice(1);
116
116
  }
117
117
 
118
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-O3RJ5M35.js
118
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
119
119
  function lineToSmallHump(name) {
120
- let arr = name.split("-");
121
- arr = arr.map((vs) => {
122
- return firstLower(vs);
123
- });
124
- return firstUpper(arr.join(""));
120
+ return firstLower(lineToLargeHump(name));
125
121
  }
126
122
 
127
- // node_modules/.pnpm/@fangzhongya+utils@0.0.6-11/node_modules/@fangzhongya/utils/dist/chunk-FESWCW7T.js
123
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-2/node_modules/@fangzhongya/utils/dist/chunk-MXLYIZIX.js
128
124
  function getComponentNames(name) {
129
125
  if (name.includes("-")) {
130
126
  const line = humpToLine(name);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-G6YWLTEU.js";
3
+ } from "./chunk-HF7ZS5PG.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-SN4SJVXW.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-FDVNT7FU.js";
9
+ } from "./chunk-R4DADB6M.js";
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4RBBEA7Zcjs = require('./chunk-4RBBEA7Z.cjs');
4
- require('./chunk-ZO3KTUNK.cjs');
3
+ var _chunkIM5BK2S7cjs = require('./chunk-IM5BK2S7.cjs');
4
+ require('./chunk-CF5VMNJF.cjs');
5
5
 
6
6
 
7
- exports.default = _chunk4RBBEA7Zcjs.component_default;
7
+ exports.default = _chunkIM5BK2S7cjs.component_default;
package/dist/component.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-G6YWLTEU.js";
4
- import "./chunk-FDVNT7FU.js";
3
+ } from "./chunk-HF7ZS5PG.js";
4
+ import "./chunk-R4DADB6M.js";
5
5
  export {
6
6
  component_default as default
7
7
  };
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCZALKJ3Lcjs = require('./chunk-CZALKJ3L.cjs');
3
+ var _chunkI4WDQX5Gcjs = require('./chunk-I4WDQX5G.cjs');
4
4
 
5
5
 
6
- var _chunk4RBBEA7Zcjs = require('./chunk-4RBBEA7Z.cjs');
6
+ var _chunkIM5BK2S7cjs = require('./chunk-IM5BK2S7.cjs');
7
7
  require('./chunk-PUE2ULUA.cjs');
8
- require('./chunk-ZO3KTUNK.cjs');
8
+ require('./chunk-CF5VMNJF.cjs');
9
9
 
10
10
  // packages/index.ts
11
- var FangComponent = class extends _chunk4RBBEA7Zcjs.component_default {
11
+ var FangComponent = class extends _chunkIM5BK2S7cjs.component_default {
12
12
  };
13
13
 
14
14
 
15
15
 
16
- exports.ComponentsResolver = _chunkCZALKJ3Lcjs.ComponentsResolver; exports.FangComponent = FangComponent;
16
+ exports.ComponentsResolver = _chunkI4WDQX5Gcjs.ComponentsResolver; exports.FangComponent = FangComponent;
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-RQGSI7XJ.js";
3
+ } from "./chunk-TOCPLYUE.js";
4
4
  import {
5
5
  component_default
6
- } from "./chunk-G6YWLTEU.js";
6
+ } from "./chunk-HF7ZS5PG.js";
7
7
  import "./chunk-SN4SJVXW.js";
8
- import "./chunk-FDVNT7FU.js";
8
+ import "./chunk-R4DADB6M.js";
9
9
 
10
10
  // packages/index.ts
11
11
  var FangComponent = class extends component_default {
package/dist/resolver.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCZALKJ3Lcjs = require('./chunk-CZALKJ3L.cjs');
4
- require('./chunk-4RBBEA7Z.cjs');
3
+ var _chunkI4WDQX5Gcjs = require('./chunk-I4WDQX5G.cjs');
4
+ require('./chunk-IM5BK2S7.cjs');
5
5
  require('./chunk-PUE2ULUA.cjs');
6
- require('./chunk-ZO3KTUNK.cjs');
6
+ require('./chunk-CF5VMNJF.cjs');
7
7
 
8
8
 
9
- exports.ComponentsResolver = _chunkCZALKJ3Lcjs.ComponentsResolver;
9
+ exports.ComponentsResolver = _chunkI4WDQX5Gcjs.ComponentsResolver;
package/dist/resolver.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ComponentsResolver
3
- } from "./chunk-RQGSI7XJ.js";
4
- import "./chunk-G6YWLTEU.js";
3
+ } from "./chunk-TOCPLYUE.js";
4
+ import "./chunk-HF7ZS5PG.js";
5
5
  import "./chunk-SN4SJVXW.js";
6
- import "./chunk-FDVNT7FU.js";
6
+ import "./chunk-R4DADB6M.js";
7
7
  export {
8
8
  ComponentsResolver
9
9
  };
package/dist/util.cjs CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZO3KTUNKcjs = require('./chunk-ZO3KTUNK.cjs');
7
+ var _chunkCF5VMNJFcjs = require('./chunk-CF5VMNJF.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.firstUpper = _chunkZO3KTUNKcjs.firstUpper; exports.getComponentNames = _chunkZO3KTUNKcjs.getComponentNames; exports.humpToLine = _chunkZO3KTUNKcjs.humpToLine; exports.styleLog = _chunkZO3KTUNKcjs.styleLog; exports.unmergeObject = _chunkZO3KTUNKcjs.unmergeObject;
14
+ exports.firstUpper = _chunkCF5VMNJFcjs.firstUpper; exports.getComponentNames = _chunkCF5VMNJFcjs.getComponentNames; exports.humpToLine = _chunkCF5VMNJFcjs.humpToLine; exports.styleLog = _chunkCF5VMNJFcjs.styleLog; exports.unmergeObject = _chunkCF5VMNJFcjs.unmergeObject;
package/dist/util.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  humpToLine,
5
5
  styleLog,
6
6
  unmergeObject
7
- } from "./chunk-FDVNT7FU.js";
7
+ } from "./chunk-R4DADB6M.js";
8
8
  export {
9
9
  firstUpper,
10
10
  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.2-5",
5
+ "version": "0.1.2-7",
6
6
  "description ": "unplugin-vue-components插件",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fangzhongya/create": "0.2.0-6",
28
- "@fangzhongya/utils": "0.0.6-11",
28
+ "@fangzhongya/utils": "0.0.7-2",
29
29
  "@types/node": "^18.11.19",
30
30
  "tsup": "^6.5.0",
31
31
  "typescript": "^4.9.5",