@fangzhongya/vue-components 0.1.2-9 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/archive.cjs CHANGED
@@ -1,13 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGZJZCHKBcjs = require('./chunk-GZJZCHKB.cjs');
3
+ var _chunkCN6VSJUJcjs = require('./chunk-CN6VSJUJ.cjs');
4
4
 
5
5
 
6
6
  var _chunkIGEUOPSAcjs = require('./chunk-IGEUOPSA.cjs');
7
7
 
8
8
 
9
- var _chunk2JMJHEXXcjs = require('./chunk-2JMJHEXX.cjs');
10
- require('./chunk-A532XNIQ.cjs');
9
+ var _chunk4QP7PNF2cjs = require('./chunk-4QP7PNF2.cjs');
11
10
 
12
11
  // packages/archive.ts
13
12
  var _fs = require('fs');
@@ -57,14 +56,14 @@ function setJson(obj) {
57
56
  }
58
57
  }
59
58
  function ComponentsResolverArchive(config2 = {}) {
60
- const configs = _chunk2JMJHEXXcjs.unmergeObject.call(void 0,
59
+ const configs = _chunk4QP7PNF2cjs.unmergeObject.call(void 0,
61
60
  _chunkIGEUOPSAcjs.config,
62
61
  archiveConfig,
63
62
  2,
64
63
  true
65
64
  );
66
- const fangComp = new (0, _chunkGZJZCHKBcjs.component_default)(
67
- _chunk2JMJHEXXcjs.unmergeObject.call(void 0, configs, config2, 1)
65
+ const fangComp = new (0, _chunkCN6VSJUJcjs.component_default)(
66
+ _chunk4QP7PNF2cjs.unmergeObject.call(void 0, configs, config2, 1)
68
67
  );
69
68
  setJson(fangComp.config);
70
69
  return [
package/dist/archive.js CHANGED
@@ -1,13 +1,12 @@
1
1
  import {
2
2
  component_default
3
- } from "./chunk-I4TJHTKQ.js";
3
+ } from "./chunk-4S476CS6.js";
4
4
  import {
5
5
  config
6
6
  } from "./chunk-KSHI5GQ7.js";
7
7
  import {
8
8
  unmergeObject
9
- } from "./chunk-WNPTUDIE.js";
10
- import "./chunk-O6HOO6WA.js";
9
+ } from "./chunk-RSOCJC3Z.js";
11
10
 
12
11
  // packages/archive.ts
13
12
  import { writeFile } from "node:fs";
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGZJZCHKBcjs = require('./chunk-GZJZCHKB.cjs');
3
+ var _chunkCN6VSJUJcjs = require('./chunk-CN6VSJUJ.cjs');
4
4
 
5
5
 
6
6
  var _chunkIGEUOPSAcjs = require('./chunk-IGEUOPSA.cjs');
7
7
 
8
8
 
9
- var _chunk2JMJHEXXcjs = require('./chunk-2JMJHEXX.cjs');
9
+ var _chunk4QP7PNF2cjs = require('./chunk-4QP7PNF2.cjs');
10
10
 
11
11
  // packages/resolver.ts
12
12
  function ComponentsResolver(config2 = {}) {
13
- const configs = _chunk2JMJHEXXcjs.unmergeObject.call(void 0, _chunkIGEUOPSAcjs.config, config2, 1);
14
- const fangComp = new (0, _chunkGZJZCHKBcjs.component_default)(configs);
13
+ const configs = _chunk4QP7PNF2cjs.unmergeObject.call(void 0, _chunkIGEUOPSAcjs.config, config2, 1);
14
+ const fangComp = new (0, _chunkCN6VSJUJcjs.component_default)(configs);
15
15
  return [
16
16
  {
17
17
  type: "component",
@@ -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.7-9/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-10/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.7-9/node_modules/@fangzhongya/utils/dist/chunk-A6J46LQK.js
31
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/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.7-9/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
77
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/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,12 +96,12 @@ function humpToLine(name) {
96
96
  }
97
97
  }
98
98
 
99
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-9/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
99
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
100
100
  function firstUpper(str) {
101
101
  return str.slice(0, 1).toUpperCase() + str.slice(1);
102
102
  }
103
103
 
104
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-9/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
104
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/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) => {
@@ -110,17 +110,17 @@ function lineToLargeHump(name) {
110
110
  return arr.join("");
111
111
  }
112
112
 
113
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-9/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
113
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
114
114
  function firstLower(str) {
115
115
  return str.slice(0, 1).toLowerCase() + str.slice(1);
116
116
  }
117
117
 
118
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-9/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
118
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-AM67P3W7.js
119
119
  function lineToSmallHump(name) {
120
120
  return firstLower(lineToLargeHump(name));
121
121
  }
122
122
 
123
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-9/node_modules/@fangzhongya/utils/dist/chunk-MXLYIZIX.js
123
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-10/node_modules/@fangzhongya/utils/dist/chunk-MXLYIZIX.js
124
124
  function getComponentNames(name) {
125
125
  if (name.includes("-")) {
126
126
  const line = humpToLine(name);