@fangzhongya/vue-archive 0.0.2-30 → 0.0.2-31

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 (40) hide show
  1. package/dist/node/index.cjs +29 -15
  2. package/dist/node/index.js +29 -15
  3. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs +0 -0
  4. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js +0 -0
  5. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs +0 -0
  6. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js +0 -0
  7. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.cjs +1 -0
  8. package/dist/node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js +11 -0
  9. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.cjs +0 -0
  10. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js +0 -0
  11. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs +0 -0
  12. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js +0 -0
  13. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs +0 -0
  14. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js +0 -0
  15. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.cjs +0 -0
  16. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js +0 -0
  17. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.cjs +0 -0
  18. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js +0 -0
  19. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs +0 -0
  20. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js +0 -0
  21. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs +0 -0
  22. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js +0 -0
  23. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs +0 -0
  24. package/dist/node_modules/.pnpm/{@fangzhongya_utils@0.0.7-16 → @fangzhongya_utils@0.0.7-17}/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js +0 -0
  25. package/dist/packages/components/compo/index.cjs +1 -1
  26. package/dist/packages/components/compo/index.js +96 -95
  27. package/dist/packages/components/use/index.cjs +1 -1
  28. package/dist/packages/components/use/index.js +1 -1
  29. package/dist/packages/components/use/retrie/choice/index.vue.cjs +1 -1
  30. package/dist/packages/components/use/retrie/choice/index.vue.js +1 -1
  31. package/dist/packages/components/use/set-code.vue.cjs +1 -1
  32. package/dist/packages/components/use/set-code.vue.js +3 -3
  33. package/dist/packages/config.cjs +1 -1
  34. package/dist/packages/config.js +1 -1
  35. package/dist/packages/utils/common.cjs +1 -1
  36. package/dist/packages/utils/common.js +4 -4
  37. package/dist/packages/utils/glob.cjs +1 -1
  38. package/dist/packages/utils/glob.js +6 -6
  39. package/dist/packages/utils/util.d.ts +2 -1
  40. package/package.json +3 -3
@@ -63462,7 +63462,7 @@ var require_vue = __commonJS({
63462
63462
  }
63463
63463
  });
63464
63464
 
63465
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63465
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63466
63466
  function mergeObject(a, b, j = 0, i) {
63467
63467
  if (a instanceof Array) {
63468
63468
  if (j > 0 && i) {
@@ -63505,7 +63505,7 @@ function mergeObject(a, b, j = 0, i) {
63505
63505
  return a;
63506
63506
  }
63507
63507
 
63508
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63508
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63509
63509
  function humpToLine(name) {
63510
63510
  const reg = /(([A-Z])([^A-Z]*))/g;
63511
63511
  let result;
@@ -63527,12 +63527,12 @@ function humpToLine(name) {
63527
63527
  }
63528
63528
  }
63529
63529
 
63530
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63530
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63531
63531
  function firstUpper(str) {
63532
63532
  return str.slice(0, 1).toUpperCase() + str.slice(1);
63533
63533
  }
63534
63534
 
63535
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63535
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63536
63536
  function lineToLargeHump(name) {
63537
63537
  let arr = name.split("-");
63538
63538
  arr = arr.map((vs) => {
@@ -63541,7 +63541,7 @@ function lineToLargeHump(name) {
63541
63541
  return arr.join("");
63542
63542
  }
63543
63543
 
63544
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63544
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63545
63545
  function appearNum(str, t) {
63546
63546
  let reg = t;
63547
63547
  if (typeof t == "string") {
@@ -63552,12 +63552,12 @@ function appearNum(str, t) {
63552
63552
  return c;
63553
63553
  }
63554
63554
 
63555
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63555
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63556
63556
  function firstLower(str) {
63557
63557
  return str.slice(0, 1).toLowerCase() + str.slice(1);
63558
63558
  }
63559
63559
 
63560
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63560
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63561
63561
  function asyncMergeArray(arr, callback) {
63562
63562
  return new Promise((resolve3, reject) => {
63563
63563
  let index = 0;
@@ -63581,7 +63581,7 @@ function asyncMergeArray(arr, callback) {
63581
63581
  });
63582
63582
  }
63583
63583
 
63584
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63584
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63585
63585
  function getSuffix(url) {
63586
63586
  const reg = /\.([a-z|A-Z]+)$/;
63587
63587
  const regs = reg.exec(url);
@@ -63591,6 +63591,20 @@ function getSuffix(url) {
63591
63591
  return "";
63592
63592
  }
63593
63593
 
63594
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js
63595
+ function replaceAfter(arr, obj, id) {
63596
+ const varr = [];
63597
+ for (let index = 0; index < arr.length; index++) {
63598
+ const element = arr[index];
63599
+ const vs = obj;
63600
+ if (element[id] !== vs[id]) {
63601
+ varr.push(arr[index]);
63602
+ }
63603
+ }
63604
+ varr.push(obj);
63605
+ return varr;
63606
+ }
63607
+
63594
63608
  // packages/config.ts
63595
63609
  var config = {
63596
63610
  components: []
@@ -64175,12 +64189,12 @@ function getNotes(text) {
64175
64189
  };
64176
64190
  }
64177
64191
 
64178
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64192
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64179
64193
  function isArray(obj) {
64180
64194
  return Object.prototype.toString.call(obj) == "[object Array]";
64181
64195
  }
64182
64196
 
64183
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64197
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64184
64198
  function getStartSames(str, val) {
64185
64199
  let s = "";
64186
64200
  const vs = [...val];
@@ -64196,7 +64210,7 @@ function getStartSames(str, val) {
64196
64210
  return [s, str.substring(index), val.substring(index)];
64197
64211
  }
64198
64212
 
64199
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64213
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64200
64214
  function getImportUrl(url, imp) {
64201
64215
  const arr = getStartSames(url, imp);
64202
64216
  const ts = arr[0];
@@ -65168,7 +65182,7 @@ function setProps(obj) {
65168
65182
  });
65169
65183
  }
65170
65184
  function addProps(value) {
65171
- propss.push(value);
65185
+ propss = replaceAfter(propss, value, "name");
65172
65186
  }
65173
65187
  var slots = [];
65174
65188
  function setSlot(obj) {
@@ -65193,7 +65207,7 @@ function setSlot(obj) {
65193
65207
  });
65194
65208
  }
65195
65209
  function addSlots(value) {
65196
- slots.push(value);
65210
+ slots = replaceAfter(slots, value, "name");
65197
65211
  }
65198
65212
  var emitss = [];
65199
65213
  function setEmits(obj) {
@@ -65218,7 +65232,7 @@ function setEmits(obj) {
65218
65232
  });
65219
65233
  }
65220
65234
  function addEmits(value) {
65221
- emitss.push(value);
65235
+ emitss = replaceAfter(emitss, value, "name");
65222
65236
  }
65223
65237
  var exposes = [];
65224
65238
  function setExpose(obj) {
@@ -65241,7 +65255,7 @@ function setExpose(obj) {
65241
65255
  });
65242
65256
  }
65243
65257
  function addExpose(value) {
65244
- exposes.push(value);
65258
+ exposes = replaceAfter(exposes, value, "name");
65245
65259
  }
65246
65260
  function getFilter2(obj, arrs) {
65247
65261
  const _objs = {
@@ -63462,7 +63462,7 @@ var require_vue = __commonJS({
63462
63462
  }
63463
63463
  });
63464
63464
 
63465
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63465
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
63466
63466
  function mergeObject(a, b, j = 0, i) {
63467
63467
  if (a instanceof Array) {
63468
63468
  if (j > 0 && i) {
@@ -63505,7 +63505,7 @@ function mergeObject(a, b, j = 0, i) {
63505
63505
  return a;
63506
63506
  }
63507
63507
 
63508
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63508
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
63509
63509
  function humpToLine(name) {
63510
63510
  const reg = /(([A-Z])([^A-Z]*))/g;
63511
63511
  let result;
@@ -63527,12 +63527,12 @@ function humpToLine(name) {
63527
63527
  }
63528
63528
  }
63529
63529
 
63530
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63530
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
63531
63531
  function firstUpper(str) {
63532
63532
  return str.slice(0, 1).toUpperCase() + str.slice(1);
63533
63533
  }
63534
63534
 
63535
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63535
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
63536
63536
  function lineToLargeHump(name) {
63537
63537
  let arr = name.split("-");
63538
63538
  arr = arr.map((vs) => {
@@ -63541,7 +63541,7 @@ function lineToLargeHump(name) {
63541
63541
  return arr.join("");
63542
63542
  }
63543
63543
 
63544
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63544
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js
63545
63545
  function appearNum(str, t) {
63546
63546
  let reg = t;
63547
63547
  if (typeof t == "string") {
@@ -63552,12 +63552,12 @@ function appearNum(str, t) {
63552
63552
  return c;
63553
63553
  }
63554
63554
 
63555
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63555
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
63556
63556
  function firstLower(str) {
63557
63557
  return str.slice(0, 1).toLowerCase() + str.slice(1);
63558
63558
  }
63559
63559
 
63560
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63560
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
63561
63561
  function asyncMergeArray(arr, callback) {
63562
63562
  return new Promise((resolve3, reject) => {
63563
63563
  let index = 0;
@@ -63581,7 +63581,7 @@ function asyncMergeArray(arr, callback) {
63581
63581
  });
63582
63582
  }
63583
63583
 
63584
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63584
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
63585
63585
  function getSuffix(url) {
63586
63586
  const reg = /\.([a-z|A-Z]+)$/;
63587
63587
  const regs = reg.exec(url);
@@ -63591,6 +63591,20 @@ function getSuffix(url) {
63591
63591
  return "";
63592
63592
  }
63593
63593
 
63594
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js
63595
+ function replaceAfter(arr, obj, id) {
63596
+ const varr = [];
63597
+ for (let index = 0; index < arr.length; index++) {
63598
+ const element = arr[index];
63599
+ const vs = obj;
63600
+ if (element[id] !== vs[id]) {
63601
+ varr.push(arr[index]);
63602
+ }
63603
+ }
63604
+ varr.push(obj);
63605
+ return varr;
63606
+ }
63607
+
63594
63608
  // packages/config.ts
63595
63609
  var config = {
63596
63610
  components: []
@@ -64175,12 +64189,12 @@ function getNotes(text) {
64175
64189
  };
64176
64190
  }
64177
64191
 
64178
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64192
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
64179
64193
  function isArray(obj) {
64180
64194
  return Object.prototype.toString.call(obj) == "[object Array]";
64181
64195
  }
64182
64196
 
64183
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64197
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
64184
64198
  function getStartSames(str, val) {
64185
64199
  let s = "";
64186
64200
  const vs = [...val];
@@ -64196,7 +64210,7 @@ function getStartSames(str, val) {
64196
64210
  return [s, str.substring(index), val.substring(index)];
64197
64211
  }
64198
64212
 
64199
- // node_modules/.pnpm/@fangzhongya+utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64213
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
64200
64214
  function getImportUrl(url, imp) {
64201
64215
  const arr = getStartSames(url, imp);
64202
64216
  const ts = arr[0];
@@ -65168,7 +65182,7 @@ function setProps(obj) {
65168
65182
  });
65169
65183
  }
65170
65184
  function addProps(value) {
65171
- propss.push(value);
65185
+ propss = replaceAfter(propss, value, "name");
65172
65186
  }
65173
65187
  var slots = [];
65174
65188
  function setSlot(obj) {
@@ -65193,7 +65207,7 @@ function setSlot(obj) {
65193
65207
  });
65194
65208
  }
65195
65209
  function addSlots(value) {
65196
- slots.push(value);
65210
+ slots = replaceAfter(slots, value, "name");
65197
65211
  }
65198
65212
  var emitss = [];
65199
65213
  function setEmits(obj) {
@@ -65218,7 +65232,7 @@ function setEmits(obj) {
65218
65232
  });
65219
65233
  }
65220
65234
  function addEmits(value) {
65221
- emitss.push(value);
65235
+ emitss = replaceAfter(emitss, value, "name");
65222
65236
  }
65223
65237
  var exposes = [];
65224
65238
  function setExpose(obj) {
@@ -65241,7 +65255,7 @@ function setExpose(obj) {
65241
65255
  });
65242
65256
  }
65243
65257
  function addExpose(value) {
65244
- exposes.push(value);
65258
+ exposes = replaceAfter(exposes, value, "name");
65245
65259
  }
65246
65260
  function getFilter2(obj, arrs) {
65247
65261
  const _objs = {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(t,r,c){const n=[];for(let e=0;e<t.length;e++){const l=t[e],o=r;l[c]!==o[c]&&n.push(t[e])}return n.push(r),n}exports.replaceAfter=s;
@@ -0,0 +1,11 @@
1
+ function l(t, s, c) {
2
+ const n = [];
3
+ for (let e = 0; e < t.length; e++) {
4
+ const o = t[e], f = s;
5
+ o[c] !== f[c] && n.push(t[e]);
6
+ }
7
+ return n.push(s), n;
8
+ }
9
+ export {
10
+ l as replaceAfter
11
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../utils/index.cjs"),T=require("../../utils/glob.cjs"),a=require("../../utils/props.cjs");function y(e,s){let r=e.charAt(0),l=[['"','"'],["'","'"],["`","`"],["(",")"],["{","}"],["[","]"]],o=l.map(p=>p[0]).indexOf(r);if(o!=-1){let n=new RegExp("^"+l[o][0]+"((.|\\n|\\r)+?)"+l[o][1]+(s?"\\s":""),"gi").exec(e);if(n)return n[0]}}function v(e){delete e.problems,delete e.source;let s=e.tag,r=e.name,l=e.description,t=e.default,o="";if(s=="default")r=r.trim(),r=y(r)||r;else if(s=="selectable")r=r.trim();else{if(r.includes("=")){const c=r.split("=");r=c[0];const E=c[1]+" "+l,f=y(E,!0);f?(t=f,l=E.replace(f,"")):t=e.default||c[1]||""}const n=/\s*\((.*)\)\s/gi.exec(l);n&&n.length>0&&(o=n[1],l=l.replace(n[0],""))}return e.name=r,e.default=t||"",e.description=l,e.selectable=o,e}let d=[];function M(e){let s=["title","text","author","date"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),m(l),r.arr.forEach(t=>{u(t.key,t.value)})}function m(e){d.push(e)}let g=[];function N(e){let s=["props","name","type","default","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),w(l),r.arr.forEach(t=>{u(t.key,t.value)})}function w(e){g.push(e)}let h=[];function k(e){let s=["slot","name","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),P(l),r.arr.forEach(t=>{u(t.key,t.value)})}function P(e){h.push(e)}let x=[];function F(e){let s=["emits","name","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),O(l),r.arr.forEach(t=>{u(t.key,t.value)})}function O(e){x.push(e)}let b=[];function K(e){let s=["expose","name","type","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),S(l),r.arr.forEach(t=>{u(t.key,t.value)})}function S(e){b.push(e)}function i(e,s){var t;const r={descriptions:(e==null?void 0:e.description)||""},l=[];return e!=null&&e.tags&&((t=e==null?void 0:e.tags)==null||t.forEach(o=>{let p=o.tag,n=v(o);if(!r.hasOwnProperty(p))r[p]=n;else{const c={};c[p]=n,l.push({key:p,value:c})}})),{arr:l,obj:r}}function u(e,s){switch(e){case"title":return m(s),!0;case"text":return m(s),!0;case"props":return w(s),!0;case"slot":return P(s),!0;case"emits":return O(s),!0;case"expose":return S(s),!0;default:return!1}}function z(e,s){switch(e){case"title":return M(s),!0;case"props":return N(s),!0;case"slot":return k(s),!0;case"emits":return F(s),!0;case"expose":return K(s),!0;default:return!1}}function A(e){return d=[],g=[],h=[],x=[],b=[],e==null||e.forEach(s=>{let r=(s==null?void 0:s.tags)||[],l=(r==null?void 0:r.length)||0;if(l>0)for(let t=0;t<l;t++){const o=r[t]||{};if(z(o.tag,s))break}}),{titles:d,propss:g,slots:h,emitss:x,exposes:b}}function C(e){return new Promise(s=>{T.getLocalTextComponents(e).then(r=>{let l=q.getTextNotes(r);s(A(l))})})}const D=[{label:"属性名",prop:"name",formatter:a.props.name},{label:"说明",prop:"description",formatter:a.props.description},{label:"类型",prop:"type",formatter:a.props.type},{label:"可选值",prop:"selectable",formatter:a.props.selectable},{label:"默认值",prop:"default",formatter:a.props.default}],L=[{label:"事件名",prop:"name",formatter:a.emits.name},{label:"说明",prop:"description",formatter:a.emits.description},{label:"回调参数",prop:"selectable",formatter:a.emits.selectable}],R=[{label:"方法名",prop:"name",formatter:a.expose.name},{label:"说明",prop:"description",formatter:a.expose.description},{label:"参数",prop:"selectable",formatter:a.expose.selectable},{label:"返回值",prop:"type",formatter:a.expose.type}],_=[{label:"插槽名",prop:"name",formatter:a.slot.name},{label:"说明",prop:"description",formatter:a.slot.description},{label:"作用域参数",prop:"selectable",formatter:a.slot.selectable}];exports.getKeyMds=T.getKeyMds;exports.getNotes=C;exports.temits=L;exports.texpose=R;exports.tprops=D;exports.tslot=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../utils/index.cjs"),w=require("../../utils/glob.cjs"),h=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.cjs"),a=require("../../utils/props.cjs");function T(e,s){let r=e.charAt(0),l=[['"','"'],["'","'"],["`","`"],["(",")"],["{","}"],["[","]"]],o=l.map(c=>c[0]).indexOf(r);if(o!=-1){let n=new RegExp("^"+l[o][0]+"((.|\\n|\\r)+?)"+l[o][1]+(s?"\\s":""),"gi").exec(e);if(n)return n[0]}}function k(e){delete e.problems,delete e.source;let s=e.tag,r=e.name,l=e.description,t=e.default,o="";if(s=="default")r=r.trim(),r=T(r)||r;else if(s=="selectable")r=r.trim();else{if(r.includes("=")){const p=r.split("=");r=p[0];const y=p[1]+" "+l,x=T(y,!0);x?(t=x,l=y.replace(x,"")):t=e.default||p[1]||""}const n=/\s*\((.*)\)\s/gi.exec(l);n&&n.length>0&&(o=n[1],l=l.replace(n[0],""))}return e.name=r,e.default=t||"",e.description=l,e.selectable=o,e}let b=[];function v(e){let s=["title","text","author","date"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),E(l),r.arr.forEach(t=>{u(t.key,t.value)})}function E(e){b.push(e)}let f=[];function M(e){let s=["props","name","type","default","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),A(l),r.arr.forEach(t=>{u(t.key,t.value)})}function A(e){f=h.replaceAfter(f,e,"name")}let d=[];function N(e){let s=["slot","name","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),O(l),r.arr.forEach(t=>{u(t.key,t.value)})}function O(e){d=h.replaceAfter(d,e,"name")}let m=[];function F(e){let s=["emits","name","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),P(l),r.arr.forEach(t=>{u(t.key,t.value)})}function P(e){m=h.replaceAfter(m,e,"name")}let g=[];function G(e){let s=["expose","name","type","selectable","description","descriptions"],r=i(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),S(l),r.arr.forEach(t=>{u(t.key,t.value)})}function S(e){g=h.replaceAfter(g,e,"name")}function i(e,s){var t;const r={descriptions:(e==null?void 0:e.description)||""},l=[];return e!=null&&e.tags&&((t=e==null?void 0:e.tags)==null||t.forEach(o=>{let c=o.tag,n=k(o);if(!r.hasOwnProperty(c))r[c]=n;else{const p={};p[c]=n,l.push({key:c,value:p})}})),{arr:l,obj:r}}function u(e,s){switch(e){case"title":return E(s),!0;case"text":return E(s),!0;case"props":return A(s),!0;case"slot":return O(s),!0;case"emits":return P(s),!0;case"expose":return S(s),!0;default:return!1}}function K(e,s){switch(e){case"title":return v(s),!0;case"props":return M(s),!0;case"slot":return N(s),!0;case"emits":return F(s),!0;case"expose":return G(s),!0;default:return!1}}function z(e){return b=[],f=[],d=[],m=[],g=[],e==null||e.forEach(s=>{let r=(s==null?void 0:s.tags)||[],l=(r==null?void 0:r.length)||0;if(l>0)for(let t=0;t<l;t++){const o=r[t]||{};if(K(o.tag,s))break}}),{titles:b,propss:f,slots:d,emitss:m,exposes:g}}function C(e){return new Promise(s=>{w.getLocalTextComponents(e).then(r=>{let l=q.getTextNotes(r);s(z(l))})})}const D=[{label:"属性名",prop:"name",formatter:a.props.name},{label:"说明",prop:"description",formatter:a.props.description},{label:"类型",prop:"type",formatter:a.props.type},{label:"可选值",prop:"selectable",formatter:a.props.selectable},{label:"默认值",prop:"default",formatter:a.props.default}],H=[{label:"事件名",prop:"name",formatter:a.emits.name},{label:"说明",prop:"description",formatter:a.emits.description},{label:"回调参数",prop:"selectable",formatter:a.emits.selectable}],L=[{label:"方法名",prop:"name",formatter:a.expose.name},{label:"说明",prop:"description",formatter:a.expose.description},{label:"参数",prop:"selectable",formatter:a.expose.selectable},{label:"返回值",prop:"type",formatter:a.expose.type}],R=[{label:"插槽名",prop:"name",formatter:a.slot.name},{label:"说明",prop:"description",formatter:a.slot.description},{label:"作用域参数",prop:"selectable",formatter:a.slot.selectable}];exports.getKeyMds=w.getKeyMds;exports.getNotes=C;exports.temits=H;exports.texpose=L;exports.tprops=D;exports.tslot=R;
@@ -1,19 +1,20 @@
1
1
  import { getTextNotes as N } from "../../utils/index.js";
2
2
  import { getLocalTextComponents as S } from "../../utils/glob.js";
3
- import { getKeyMds as W } from "../../utils/glob.js";
4
- import { props as i, emits as d, expose as u, slot as g } from "../../utils/props.js";
5
- function P(e, l) {
6
- let r = e.charAt(0), s = [
3
+ import { getKeyMds as Y } from "../../utils/glob.js";
4
+ import { replaceAfter as x } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOH6G74S.js";
5
+ import { props as i, emits as b, expose as u, slot as y } from "../../utils/props.js";
6
+ function O(e, l) {
7
+ let r = e.charAt(0), a = [
7
8
  ['"', '"'],
8
9
  ["'", "'"],
9
10
  ["`", "`"],
10
11
  ["(", ")"],
11
12
  ["{", "}"],
12
13
  ["[", "]"]
13
- ], a = s.map((n) => n[0]).indexOf(r);
14
- if (a != -1) {
14
+ ], s = a.map((n) => n[0]).indexOf(r);
15
+ if (s != -1) {
15
16
  let o = new RegExp(
16
- "^" + s[a][0] + "((.|\\n|\\r)+?)" + s[a][1] + (l ? "\\s" : ""),
17
+ "^" + a[s][0] + "((.|\\n|\\r)+?)" + a[s][1] + (l ? "\\s" : ""),
17
18
  "gi"
18
19
  ).exec(e);
19
20
  if (o)
@@ -22,25 +23,25 @@ function P(e, l) {
22
23
  }
23
24
  function z(e) {
24
25
  delete e.problems, delete e.source;
25
- let l = e.tag, r = e.name, s = e.description, t = e.default, a = "";
26
+ let l = e.tag, r = e.name, a = e.description, t = e.default, s = "";
26
27
  if (l == "default")
27
- r = r.trim(), r = P(r) || r;
28
+ r = r.trim(), r = O(r) || r;
28
29
  else if (l == "selectable")
29
30
  r = r.trim();
30
31
  else {
31
32
  if (r.includes("=")) {
32
33
  const c = r.split("=");
33
34
  r = c[0];
34
- const w = c[1] + " " + s, m = P(w, !0);
35
- m ? (t = m, s = w.replace(m, "")) : t = e.default || c[1] || "";
35
+ const P = c[1] + " " + a, E = O(P, !0);
36
+ E ? (t = E, a = P.replace(E, "")) : t = e.default || c[1] || "";
36
37
  }
37
- const o = /\s*\((.*)\)\s/gi.exec(s);
38
- o && o.length > 0 && (a = o[1], s = s.replace(o[0], ""));
38
+ const o = /\s*\((.*)\)\s/gi.exec(a);
39
+ o && o.length > 0 && (s = o[1], a = a.replace(o[0], ""));
39
40
  }
40
- return e.name = r, e.default = t || "", e.description = s, e.selectable = a, e;
41
+ return e.name = r, e.default = t || "", e.description = a, e.selectable = s, e;
41
42
  }
42
- let h = [];
43
- function A(e) {
43
+ let T = [];
44
+ function C(e) {
44
45
  let l = [
45
46
  "title",
46
47
  // 'name',
@@ -49,18 +50,18 @@ function A(e) {
49
50
  "date"
50
51
  // 'description',
51
52
  // 'descriptions',
52
- ], r = p(e), s = {};
53
+ ], r = p(e), a = {};
53
54
  l.forEach((t) => {
54
- s[t] = r.obj[t];
55
- }), x(s), r.arr.forEach((t) => {
55
+ a[t] = r.obj[t];
56
+ }), w(a), r.arr.forEach((t) => {
56
57
  f(t.key, t.value);
57
58
  });
58
59
  }
59
- function x(e) {
60
- h.push(e);
60
+ function w(e) {
61
+ T.push(e);
61
62
  }
62
- let E = [];
63
- function C(e) {
63
+ let m = [];
64
+ function D(e) {
64
65
  let l = [
65
66
  "props",
66
67
  "name",
@@ -69,54 +70,54 @@ function C(e) {
69
70
  "selectable",
70
71
  "description",
71
72
  "descriptions"
72
- ], r = p(e), s = {};
73
+ ], r = p(e), a = {};
73
74
  l.forEach((t) => {
74
- s[t] = r.obj[t];
75
- }), O(s), r.arr.forEach((t) => {
75
+ a[t] = r.obj[t];
76
+ }), k(a), r.arr.forEach((t) => {
76
77
  f(t.key, t.value);
77
78
  });
78
79
  }
79
- function O(e) {
80
- E.push(e);
80
+ function k(e) {
81
+ m = x(m, e, "name");
81
82
  }
82
- let b = [];
83
- function D(e) {
83
+ let d = [];
84
+ function K(e) {
84
85
  let l = [
85
86
  "slot",
86
87
  "name",
87
88
  "selectable",
88
89
  "description",
89
90
  "descriptions"
90
- ], r = p(e), s = {};
91
+ ], r = p(e), a = {};
91
92
  l.forEach((t) => {
92
- s[t] = r.obj[t];
93
- }), k(s), r.arr.forEach((t) => {
93
+ a[t] = r.obj[t];
94
+ }), v(a), r.arr.forEach((t) => {
94
95
  f(t.key, t.value);
95
96
  });
96
97
  }
97
- function k(e) {
98
- b.push(e);
98
+ function v(e) {
99
+ d = x(d, e, "name");
99
100
  }
100
- let y = [];
101
- function K(e) {
101
+ let g = [];
102
+ function L(e) {
102
103
  let l = [
103
104
  "emits",
104
105
  "name",
105
106
  "selectable",
106
107
  "description",
107
108
  "descriptions"
108
- ], r = p(e), s = {};
109
+ ], r = p(e), a = {};
109
110
  l.forEach((t) => {
110
- s[t] = r.obj[t];
111
- }), v(s), r.arr.forEach((t) => {
111
+ a[t] = r.obj[t];
112
+ }), A(a), r.arr.forEach((t) => {
112
113
  f(t.key, t.value);
113
114
  });
114
115
  }
115
- function v(e) {
116
- y.push(e);
116
+ function A(e) {
117
+ g = x(g, e, "name");
117
118
  }
118
- let T = [];
119
- function L(e) {
119
+ let h = [];
120
+ function M(e) {
120
121
  let l = [
121
122
  "expose",
122
123
  "name",
@@ -124,97 +125,97 @@ function L(e) {
124
125
  "selectable",
125
126
  "description",
126
127
  "descriptions"
127
- ], r = p(e), s = {};
128
+ ], r = p(e), a = {};
128
129
  l.forEach((t) => {
129
- s[t] = r.obj[t];
130
- }), F(s), r.arr.forEach((t) => {
130
+ a[t] = r.obj[t];
131
+ }), F(a), r.arr.forEach((t) => {
131
132
  f(t.key, t.value);
132
133
  });
133
134
  }
134
135
  function F(e) {
135
- T.push(e);
136
+ h = x(h, e, "name");
136
137
  }
137
138
  function p(e, l) {
138
139
  var t;
139
140
  const r = {
140
141
  descriptions: (e == null ? void 0 : e.description) || ""
141
- }, s = [];
142
- return e != null && e.tags && ((t = e == null ? void 0 : e.tags) == null || t.forEach((a) => {
143
- let n = a.tag, o = z(a);
142
+ }, a = [];
143
+ return e != null && e.tags && ((t = e == null ? void 0 : e.tags) == null || t.forEach((s) => {
144
+ let n = s.tag, o = z(s);
144
145
  if (!r.hasOwnProperty(n))
145
146
  r[n] = o;
146
147
  else {
147
148
  const c = {};
148
- c[n] = o, s.push({
149
+ c[n] = o, a.push({
149
150
  key: n,
150
151
  value: c
151
152
  });
152
153
  }
153
154
  })), {
154
- arr: s,
155
+ arr: a,
155
156
  obj: r
156
157
  };
157
158
  }
158
159
  function f(e, l) {
159
160
  switch (e) {
160
161
  case "title":
161
- return x(l), !0;
162
+ return w(l), !0;
162
163
  case "text":
163
- return x(l), !0;
164
+ return w(l), !0;
164
165
  case "props":
165
- return O(l), !0;
166
- case "slot":
167
166
  return k(l), !0;
168
- case "emits":
167
+ case "slot":
169
168
  return v(l), !0;
169
+ case "emits":
170
+ return A(l), !0;
170
171
  case "expose":
171
172
  return F(l), !0;
172
173
  default:
173
174
  return !1;
174
175
  }
175
176
  }
176
- function M(e, l) {
177
+ function R(e, l) {
177
178
  switch (e) {
178
179
  case "title":
179
- return A(l), !0;
180
- case "props":
181
180
  return C(l), !0;
182
- case "slot":
181
+ case "props":
183
182
  return D(l), !0;
184
- case "emits":
183
+ case "slot":
185
184
  return K(l), !0;
186
- case "expose":
185
+ case "emits":
187
186
  return L(l), !0;
187
+ case "expose":
188
+ return M(l), !0;
188
189
  default:
189
190
  return !1;
190
191
  }
191
192
  }
192
- function R(e) {
193
- return h = [], E = [], b = [], y = [], T = [], e == null || e.forEach((l) => {
194
- let r = (l == null ? void 0 : l.tags) || [], s = (r == null ? void 0 : r.length) || 0;
195
- if (s > 0)
196
- for (let t = 0; t < s; t++) {
197
- const a = r[t] || {};
198
- if (M(a.tag, l))
193
+ function _(e) {
194
+ return T = [], m = [], d = [], g = [], h = [], e == null || e.forEach((l) => {
195
+ let r = (l == null ? void 0 : l.tags) || [], a = (r == null ? void 0 : r.length) || 0;
196
+ if (a > 0)
197
+ for (let t = 0; t < a; t++) {
198
+ const s = r[t] || {};
199
+ if (R(s.tag, l))
199
200
  break;
200
201
  }
201
202
  }), {
202
- titles: h,
203
- propss: E,
204
- slots: b,
205
- emitss: y,
206
- exposes: T
203
+ titles: T,
204
+ propss: m,
205
+ slots: d,
206
+ emitss: g,
207
+ exposes: h
207
208
  };
208
209
  }
209
- function G(e) {
210
+ function I(e) {
210
211
  return new Promise((l) => {
211
212
  S(e).then((r) => {
212
- let s = N(r);
213
- l(R(s));
213
+ let a = N(r);
214
+ l(_(a));
214
215
  });
215
216
  });
216
217
  }
217
- const H = [
218
+ const J = [
218
219
  {
219
220
  label: "属性名",
220
221
  prop: "name",
@@ -240,23 +241,23 @@ const H = [
240
241
  prop: "default",
241
242
  formatter: i.default
242
243
  }
243
- ], I = [
244
+ ], Q = [
244
245
  {
245
246
  label: "事件名",
246
247
  prop: "name",
247
- formatter: d.name
248
+ formatter: b.name
248
249
  },
249
250
  {
250
251
  label: "说明",
251
252
  prop: "description",
252
- formatter: d.description
253
+ formatter: b.description
253
254
  },
254
255
  {
255
256
  label: "回调参数",
256
257
  prop: "selectable",
257
- formatter: d.selectable
258
+ formatter: b.selectable
258
259
  }
259
- ], J = [
260
+ ], U = [
260
261
  {
261
262
  label: "方法名",
262
263
  prop: "name",
@@ -277,28 +278,28 @@ const H = [
277
278
  prop: "type",
278
279
  formatter: u.type
279
280
  }
280
- ], Q = [
281
+ ], V = [
281
282
  {
282
283
  label: "插槽名",
283
284
  prop: "name",
284
- formatter: g.name
285
+ formatter: y.name
285
286
  },
286
287
  {
287
288
  label: "说明",
288
289
  prop: "description",
289
- formatter: g.description
290
+ formatter: y.description
290
291
  },
291
292
  {
292
293
  label: "作用域参数",
293
294
  prop: "selectable",
294
- formatter: g.selectable
295
+ formatter: y.selectable
295
296
  }
296
297
  ];
297
298
  export {
298
- W as getKeyMds,
299
- G as getNotes,
300
- I as temits,
301
- J as texpose,
302
- H as tprops,
303
- Q as tslot
299
+ Y as getKeyMds,
300
+ I as getNotes,
301
+ Q as temits,
302
+ U as texpose,
303
+ J as tprops,
304
+ V as tslot
304
305
  };
@@ -1 +1 @@
1
- "use strict";const t=require("vue"),x=require("./set-props.vue.cjs"),q=require("./set-emit.vue.cjs"),E=require("./set-code.vue.cjs"),b=require("./set-expose.vue.cjs"),C=require("./set-slot.vue.cjs"),i=require("../../utils/props.cjs"),V=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs"),j=t.defineComponent({props:{value:{type:Object},param:{type:Object}},render(O,T,v,D,a){console.log("render",new Date().getTime());const r=t.reactive({emitValue:{},slotValue:{}}),n=v.value;let c="div";n.component?c=t.defineAsyncComponent(n.component):n.name&&(c=t.resolveComponent(n.name));const u=v.param,d=i.getPropsValue(u.props),m=i.getEmitsValue(u.emits),y=i.getExposeValue(u.expose),h=i.getSlotValue(u.slot),l={},f={};d.forEach(s=>{let e=s.name;if(!e.includes(".")){let o=e.split("/");e=(o[0]||"").trim(),e&&(l[e]=a.propsValue[e],o&&o.length>1&&m.push({name:"update:"+e,description:s.description,selectable:"value:["+s.type+"]"}))}}),m.forEach(s=>{let e=s.name;if(e.includes("-")){let p=e.split("-");p=p.map((_,U)=>V.firstUpper(_)),e=p.join("")}else e=V.firstUpper(e);const o="on"+e;l[o]=(...p)=>{const _={arr:p,_date_:new Date().getTime()};r.emitValue[s.name]=_}});let g;return h.forEach(s=>{const e=s.name||"default";f[e]=o=>{if(r.slotValue[e])return t.h(t.defineComponent({props:{scope:{type:Object}},template:r.slotValue[e]}),{scope:o})}}),t.h("div",{class:"use"},[t.h("div",{class:"use-props"},t.h(x,{name:n.name,list:d,onChange:(s,e)=>{a.propsValue=s,a.propsText=e}})),t.h("div",{class:"use-component"},t.h(c,{...l,ref:s=>{g=s}},f)),t.h("div",{class:"use-code"},t.h(E,{name:n.name,value:l,propsText:a.propsText,slotValue:r.slotValue})),t.h("div",{class:"use-emit"},t.h(q,{name:n.name,list:m,value:r.emitValue})),t.h("div",{class:"use-expose"},t.h(b,{name:n.name,list:y,getRef:()=>g})),t.h("div",{class:"use-slot"},t.h(C,{name:n.name,list:h,onChange:(s,e)=>{r.slotValue[s]=e}}))])},data(){return{propsValue:{},propsText:{}}}});module.exports=j;
1
+ "use strict";const t=require("vue"),x=require("./set-props.vue.cjs"),q=require("./set-emit.vue.cjs"),E=require("./set-code.vue.cjs"),b=require("./set-expose.vue.cjs"),C=require("./set-slot.vue.cjs"),i=require("../../utils/props.cjs"),V=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs"),j=t.defineComponent({props:{value:{type:Object},param:{type:Object}},render(O,T,v,D,a){console.log("render",new Date().getTime());const r=t.reactive({emitValue:{},slotValue:{}}),n=v.value;let c="div";n.component?c=t.defineAsyncComponent(n.component):n.name&&(c=t.resolveComponent(n.name));const u=v.param,d=i.getPropsValue(u.props),m=i.getEmitsValue(u.emits),y=i.getExposeValue(u.expose),h=i.getSlotValue(u.slot),l={},f={};d.forEach(s=>{let e=s.name;if(!e.includes(".")){let o=e.split("/");e=(o[0]||"").trim(),e&&(l[e]=a.propsValue[e],o&&o.length>1&&m.push({name:"update:"+e,description:s.description,selectable:"value:["+s.type+"]"}))}}),m.forEach(s=>{let e=s.name;if(e.includes("-")){let p=e.split("-");p=p.map((_,U)=>V.firstUpper(_)),e=p.join("")}else e=V.firstUpper(e);const o="on"+e;l[o]=(...p)=>{const _={arr:p,_date_:new Date().getTime()};r.emitValue[s.name]=_}});let g;return h.forEach(s=>{const e=s.name||"default";f[e]=o=>{if(r.slotValue[e])return t.h(t.defineComponent({props:{scope:{type:Object}},template:r.slotValue[e]}),{scope:o})}}),t.h("div",{class:"use"},[t.h("div",{class:"use-props"},t.h(x,{name:n.name,list:d,onChange:(s,e)=>{a.propsValue=s,a.propsText=e}})),t.h("div",{class:"use-component"},t.h(c,{...l,ref:s=>{g=s}},f)),t.h("div",{class:"use-code"},t.h(E,{name:n.name,value:l,propsText:a.propsText,slotValue:r.slotValue})),t.h("div",{class:"use-emit"},t.h(q,{name:n.name,list:m,value:r.emitValue})),t.h("div",{class:"use-expose"},t.h(b,{name:n.name,list:y,getRef:()=>g})),t.h("div",{class:"use-slot"},t.h(C,{name:n.name,list:h,onChange:(s,e)=>{r.slotValue[s]=e}}))])},data(){return{propsValue:{},propsText:{}}}});module.exports=j;
@@ -5,7 +5,7 @@ import E from "./set-code.vue.js";
5
5
  import O from "./set-expose.vue.js";
6
6
  import $ from "./set-slot.vue.js";
7
7
  import { getPropsValue as D, getEmitsValue as w, getExposeValue as U, getSlotValue as k } from "../../utils/props.js";
8
- import { firstUpper as h } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
8
+ import { firstUpper as h } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
9
9
  const K = g({
10
10
  /**
11
11
  * @props {Stinrg} value 插入数据
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("vue"),S=require("../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.cjs"),v=require("../../util.cjs"),C={class:"form-select"},x=["value","disabled","onClick","onBlur"],A=["onMousemove","onMouseout"],j={class:"form-select-list"},O={key:0,class:"form-select-list-div"},T=["onClick"],q={key:1,class:"no-data"},L=e.defineComponent({__name:"index",props:{modelValue:{type:null},dataType:{type:[String,Array]},disabled:Boolean,list:{type:Array},config:{type:Object,default(){return{label:"label",prop:"prop"}}}},emits:["value","change"],setup(h,{emit:g}){const l=h,u=e.ref(),a=e.ref(!1),c=e.ref(!1),r=e.ref([]),y=e.computed(()=>r.value.map(t=>d(t)).join(",")),p=e.computed(()=>{let t=l.dataType||"";return(v.getSonType(t)||[])[1]});e.watch(()=>l.modelValue,()=>{b()},{immediate:!0});function _(t=[]){return p.value=="string"?t.map(n=>v.getString(n)):p.value=="number"?t.map(n=>{let o=Number(n);return isNaN(o)&&(o=0),o}):t}function k(t){return new Function("",`{
1
+ "use strict";const e=require("vue"),S=require("../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.cjs"),v=require("../../util.cjs"),C={class:"form-select"},x=["value","disabled","onClick","onBlur"],A=["onMousemove","onMouseout"],j={class:"form-select-list"},O={key:0,class:"form-select-list-div"},T=["onClick"],q={key:1,class:"no-data"},L=e.defineComponent({__name:"index",props:{modelValue:{type:null},dataType:{type:[String,Array]},disabled:Boolean,list:{type:Array},config:{type:Object,default(){return{label:"label",prop:"prop"}}}},emits:["value","change"],setup(h,{emit:g}){const l=h,u=e.ref(),a=e.ref(!1),c=e.ref(!1),r=e.ref([]),y=e.computed(()=>r.value.map(t=>d(t)).join(",")),p=e.computed(()=>{let t=l.dataType||"";return(v.getSonType(t)||[])[1]});e.watch(()=>l.modelValue,()=>{b()},{immediate:!0});function _(t=[]){return p.value=="string"?t.map(n=>v.getString(n)):p.value=="number"?t.map(n=>{let o=Number(n);return isNaN(o)&&(o=0),o}):t}function k(t){return new Function("",`{
2
2
  var a = ${t};
3
3
  return a;
4
4
  }`)}function b(){r.value=[];let t=l.modelValue,n=[];const o=k(t);if(o instanceof Array&&(n=o),l.list)for(let i=0;i<l.list.length;i++){const f=l.list[i];n.includes(s(f))&&r.value.push(f)}m()}function d(t){var o;let n=(o=l.config)==null?void 0:o.label;return n&&typeof t=="object"&&t?t[n]:t}function s(t){var o;let n=(o=l.config)==null?void 0:o.prop;return n&&typeof t=="object"&&t?t[n]:t}function B(t){return r.value.map(n=>s(n)).includes(s(t))}function w(){l.disabled||(a.value=!0)}function M(){c.value||(a.value=!1)}function V(){c.value=!0}function E(){c.value=!1}function N(t){u.value&&u.value.focus(),r.value=S.toggleArray(r.value,t,l.config.prop),m()}function m(){let t=_(r.value.map(n=>s(n)));g("value",t,JSON.stringify(t))}return(t,n)=>(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("input",{value:e.unref(y),readonly:"",placeholder:"请选择",type:"text",disabled:l.disabled,ref_key:"refInput",ref:u,onClick:e.withModifiers(w,["stop"]),onBlur:e.withModifiers(M,["stop"])},null,40,x),e.createElementVNode("div",{onMousemove:e.withModifiers(V,["stop"]),onMouseout:e.withModifiers(E,["stop"]),class:"form-select-box"},[e.withDirectives(e.createElementVNode("div",j,[l.list&&l.list.length>0?(e.openBlock(),e.createElementBlock("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(o,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["form-select-list-li",{active:B(o)}]),onClick:e.withModifiers(f=>N(o),["stop"])},[e.createElementVNode("span",null,e.toDisplayString(d(o)),1)],10,T))),256))])):(e.openBlock(),e.createElementBlock("div",q," 暂无数据 "))],512),[[e.vShow,a.value]])],40,A)]))}});module.exports=L;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as c, computed as h, watch as L, openBlock as s, createElementBlock as i, createElementVNode as f, unref as z, withModifiers as u, withDirectives as D, Fragment as E, renderList as F, normalizeClass as I, toDisplayString as O, vShow as $ } from "vue";
2
- import { toggleArray as J } from "../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js";
2
+ import { toggleArray as J } from "../../../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-GOJN3OQ4.js";
3
3
  import { getSonType as P, getString as q } from "../../util.js";
4
4
  const G = { class: "form-select" }, H = ["value", "disabled", "onClick", "onBlur"], K = ["onMousemove", "onMouseout"], Q = { class: "form-select-list" }, R = {
5
5
  key: 0,
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("vue"),d=require("./util.cjs"),V=require("../code/highlight.vue.cjs"),N=require("../../utils/index.cjs"),O=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),_=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs"),S=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),q={class:"set-code"},y=e.createElementVNode("div",null,"代码",-1),F={class:"but-div set-code-but"},w=["onClick"],B={class:"set-code-html"},J=e.defineComponent({__name:"set-code",props:{name:{type:String},value:{type:Object},slotValue:{type:Object},propsText:{type:Object}},setup(b){const r=b,m=e.computed(()=>{const s=[],t=[];let i=!0;const n=r.value;Object.keys(n).forEach(o=>{let p=n[o];if(/^on[A-Z]/.test(o)&&typeof p=="function"){let u=o.substring(2);const a=o.split(":");let l;if(a.length>1?(l=a[0]+a.slice(1).map(f=>_.firstUpper(f)).join(""),u=S.firstLower(u)):(l=a[0],u=O.humpToLine(u)),a.includes("-")){let f=l.split("-");f=f.map((g,E)=>E!=0?_.firstUpper(g):g),l=f.join("")}s.push(" @"+u+'="'+l+'"'),t.push("function "+l+"(...arr) {"),t.push(" console.log('"+l+"', arr)"),t.push("}")}else if(s.push(" :"+o+'="'+o+'"'),typeof p=="function")t.push("const "+o+" = "+$(p,o));else if(i&&(i=!1,t.unshift("import { ref } from 'vue';")),typeof p>"u")t.push("const "+o+" = ref();");else{let u=T(p,o);t.push("const "+o+" = ref("+u+");")}}),s.length>0&&s.unshift("");const c=x(r.slotValue);return`<!--${r.name}-->
1
+ "use strict";const e=require("vue"),d=require("./util.cjs"),V=require("../code/highlight.vue.cjs"),N=require("../../utils/index.cjs"),O=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),_=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.cjs"),S=require("../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),q={class:"set-code"},y=e.createElementVNode("div",null,"代码",-1),F={class:"but-div set-code-but"},w=["onClick"],B={class:"set-code-html"},J=e.defineComponent({__name:"set-code",props:{name:{type:String},value:{type:Object},slotValue:{type:Object},propsText:{type:Object}},setup(b){const r=b,m=e.computed(()=>{const s=[],t=[];let i=!0;const n=r.value;Object.keys(n).forEach(o=>{let p=n[o];if(/^on[A-Z]/.test(o)&&typeof p=="function"){let u=o.substring(2);const a=o.split(":");let l;if(a.length>1?(l=a[0]+a.slice(1).map(f=>_.firstUpper(f)).join(""),u=S.firstLower(u)):(l=a[0],u=O.humpToLine(u)),a.includes("-")){let f=l.split("-");f=f.map((g,E)=>E!=0?_.firstUpper(g):g),l=f.join("")}s.push(" @"+u+'="'+l+'"'),t.push("function "+l+"(...arr) {"),t.push(" console.log('"+l+"', arr)"),t.push("}")}else if(s.push(" :"+o+'="'+o+'"'),typeof p=="function")t.push("const "+o+" = "+$(p,o));else if(i&&(i=!1,t.unshift("import { ref } from 'vue';")),typeof p>"u")t.push("const "+o+" = ref();");else{let u=T(p,o);t.push("const "+o+" = ref("+u+");")}}),s.length>0&&s.unshift("");const c=x(r.slotValue);return`<!--${r.name}-->
2
2
  <template>
3
3
  <div>
4
4
  <${r.name}${s.join(`
@@ -2,9 +2,9 @@ import { defineComponent as C, computed as F, ref as O, openBlock as w, createEl
2
2
  import { vueFormat as g, getFunctionFormat as H, prettierFormat as J, getFunBody as M } from "./util.js";
3
3
  import U from "../code/highlight.vue.js";
4
4
  import { copyCode as Z } from "../../utils/index.js";
5
- import { humpToLine as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
6
- import { firstUpper as _ } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
7
- import { firstLower as z } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
5
+ import { humpToLine as q } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
6
+ import { firstUpper as _ } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js";
7
+ import { firstLower as z } from "../../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
8
8
  const G = { class: "set-code" }, I = /* @__PURE__ */ f("div", null, "代码", -1), K = { class: "but-div set-code-but" }, P = ["onClick"], Q = { class: "set-code-html" }, ot = /* @__PURE__ */ C({
9
9
  __name: "set-code",
10
10
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.cjs"),n={components:[]};function o(e){return t.mergeObject(n,e,2)}function r(e){return n[e]}exports.getConfig=r;exports.userConfig=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.cjs"),n={components:[]};function o(e){return t.mergeObject(n,e,2)}function r(e){return n[e]}exports.getConfig=r;exports.userConfig=o;
@@ -1,4 +1,4 @@
1
- import { mergeObject as t } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
1
+ import { mergeObject as t } from "../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js";
2
2
  const o = {
3
3
  components: []
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./storage.cjs"),R=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),q=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs"),m=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.cjs"),E=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs"),A=["vue","js"];function K(t,e){let n=R.humpToLine(t.name),i=[];return t.alias&&i.push(t.alias+"-"+n),e&&e.length>0&&e.forEach(s=>{t.alias&&i.push(t.alias+"-"+s+"-"+n),i.push(s+"-"+n)}),i}function T(t){return t.sort((e,n)=>{let i=m.appearNum(e,"/"),s=m.appearNum(n,"/");return i==s?n.length-e.length:s-i}),t}function C(t=[],e=[],n=[]){let i=e;(!i||i.length==0)&&(i=A);let s=[];return t&&t.length>0&&(s=t),n&&n.length>0&&n.forEach(l=>{i==null||i.forEach(a=>{s.push(l+"."+a)})}),s=[...new Set(s)],T(s)}function N(t,e,n={},i=""){for(let s=0;s<e.length;s++){const l=e[s],a=new RegExp("^.*/([^/]+)"+l+"$");let c=t.match(a);if(c){const p=[],u={};let f="";Object.keys(n).forEach(g=>{let h=n[g];t.startsWith(h+"/")&&(f=h,u[g]=h,p.push(g))});let o=c[1],r={dir:"",suffix:E.getSuffix(t),name:q.lineToLargeHump(o),value:o,key:"",tdir:"",adir:f,alias:i,aliass:u,aliasNames:[],raw:"",getRaw:null,mds:[],tests:void 0};return r.aliasNames=K(r,p),r}}}function y(t){x.setSession("aside.key",t)}function D(){return x.getSession("aside.key")}function H(t){let e=t.match(/\/([^\/]+)\/$/);return e&&e.length>1?e[1]:""}function w(t,e){return e?new RegExp(e+".+(\\.(js|ts))?$").test(t):!1}function S(t,e){return e?new RegExp("/"+e+"(\\.(js|ts))?$").test(t):!1}function M(t,e,n,i,s){const l=[],a=[],c=C(e.matchexts,e.extensions,e.matchs),p=H(e.dir);return t.forEach(u=>{const f=new RegExp("^"+e.dir);let o=u.replace(f,"");if(s.comprops&&w(o,s.comprops)||s.curprops&&S(o,s.curprops)){let r={};r.comprops=s.comprops||"",r.curprops=s.curprops||"",r.value=o,r.dir=e.dir,r.suffix=E.getSuffix(u),r.tdir=p,r.key=u,r.raw="",r.getRaw=d(n,u),l.push(r)}else{let r=N(o,c,e.aliass,e.alias);r&&(r.comprops=s.comprops,r.curprops=s.curprops,r.dir=e.dir,r.tdir=p,r.key=u,r.component=i[u],r.getRaw=d(n,u),a.push(r))}}),{props:l,components:a}}function d(t,e){return typeof t=="function"?t:t?t[e]:null}exports.defaultExtensions=A;exports.getAsideKey=D;exports.getComponentsArr=M;exports.getMatchs=C;exports.getRawValue=d;exports.getUrlName=N;exports.isComprops=w;exports.isCurprops=S;exports.setAsideKey=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./storage.cjs"),R=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),q=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs"),m=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.cjs"),E=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs"),A=["vue","js"];function K(t,e){let n=R.humpToLine(t.name),i=[];return t.alias&&i.push(t.alias+"-"+n),e&&e.length>0&&e.forEach(s=>{t.alias&&i.push(t.alias+"-"+s+"-"+n),i.push(s+"-"+n)}),i}function T(t){return t.sort((e,n)=>{let i=m.appearNum(e,"/"),s=m.appearNum(n,"/");return i==s?n.length-e.length:s-i}),t}function C(t=[],e=[],n=[]){let i=e;(!i||i.length==0)&&(i=A);let s=[];return t&&t.length>0&&(s=t),n&&n.length>0&&n.forEach(l=>{i==null||i.forEach(a=>{s.push(l+"."+a)})}),s=[...new Set(s)],T(s)}function N(t,e,n={},i=""){for(let s=0;s<e.length;s++){const l=e[s],a=new RegExp("^.*/([^/]+)"+l+"$");let c=t.match(a);if(c){const p=[],u={};let f="";Object.keys(n).forEach(g=>{let h=n[g];t.startsWith(h+"/")&&(f=h,u[g]=h,p.push(g))});let o=c[1],r={dir:"",suffix:E.getSuffix(t),name:q.lineToLargeHump(o),value:o,key:"",tdir:"",adir:f,alias:i,aliass:u,aliasNames:[],raw:"",getRaw:null,mds:[],tests:void 0};return r.aliasNames=K(r,p),r}}}function y(t){x.setSession("aside.key",t)}function D(){return x.getSession("aside.key")}function H(t){let e=t.match(/\/([^\/]+)\/$/);return e&&e.length>1?e[1]:""}function w(t,e){return e?new RegExp(e+".+(\\.(js|ts))?$").test(t):!1}function S(t,e){return e?new RegExp("/"+e+"(\\.(js|ts))?$").test(t):!1}function M(t,e,n,i,s){const l=[],a=[],c=C(e.matchexts,e.extensions,e.matchs),p=H(e.dir);return t.forEach(u=>{const f=new RegExp("^"+e.dir);let o=u.replace(f,"");if(s.comprops&&w(o,s.comprops)||s.curprops&&S(o,s.curprops)){let r={};r.comprops=s.comprops||"",r.curprops=s.curprops||"",r.value=o,r.dir=e.dir,r.suffix=E.getSuffix(u),r.tdir=p,r.key=u,r.raw="",r.getRaw=d(n,u),l.push(r)}else{let r=N(o,c,e.aliass,e.alias);r&&(r.comprops=s.comprops,r.curprops=s.curprops,r.dir=e.dir,r.tdir=p,r.key=u,r.component=i[u],r.getRaw=d(n,u),a.push(r))}}),{props:l,components:a}}function d(t,e){return typeof t=="function"?t:t?t[e]:null}exports.defaultExtensions=A;exports.getAsideKey=D;exports.getComponentsArr=M;exports.getMatchs=C;exports.getRawValue=d;exports.getUrlName=N;exports.isComprops=w;exports.isCurprops=S;exports.setAsideKey=y;
@@ -1,8 +1,8 @@
1
1
  import { setSession as E, getSession as w } from "./storage.js";
2
- import { humpToLine as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
3
- import { lineToLargeHump as A } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
4
- import { appearNum as h } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js";
5
- import { getSuffix as x } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
2
+ import { humpToLine as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
3
+ import { lineToLargeHump as A } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
4
+ import { appearNum as h } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-SNABGVNO.js";
5
+ import { getSuffix as x } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
6
6
  const R = ["vue", "js"];
7
7
  function S(t, e) {
8
8
  let n = N(t.name), i = [];
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../config.cjs"),m=require("./common.cjs"),w=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),E=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs"),L=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),M=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs"),P=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs"),x=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs"),H=require("./index.cjs"),f={},R={},q=[],A={},S={},d={};function I(){return y.getConfig("example")}function j(e,t,s){const n=Object.assign({exampless:[],examplessRaw:[]},t,s),r=[],a=n.examples;a&&Object.keys(a).forEach(l=>{r.push(l),S[l]=a[l]});const i=n.examplesRaw,o=[];n.urls&&n.urls.length>0?(n.exampless=n.urls,n.urls.forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})):(n.exampless=r,i&&Object.keys(i).forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})),n.examples=void 0,n.examplessRaw=o,n.examplesRaw=void 0,A[e]=n}function N(e,t){return typeof e=="function"?e:e&&(e[t]||e)}async function k(e,t){let s="";if(t=="vue"){let r=new RegExp(/(<script([^>]*)>)((.|\n|\r)*)(<\/script>)/g).exec(e);r&&(s=r[3])}else(t=="js"||t=="ts"||t=="")&&(s=e);if(s){const n=await H.getTextImport(s);let r=n==null?void 0:n.map(i=>i.n);const a=[];return r&&r.length>0&&r.forEach(i=>{i&&(i.startsWith("./")||i.startsWith("../"))&&a.push(i)}),a}}function U(e){return new Promise(t=>{e?e.raw?t(e.raw):e.getRaw?e.getRaw(e).then(s=>{const n=(s||"")+"";e.raw=n,e.getRaw=null,t(n)}):t(""):t("")})}function V(e,t){e=(e||"")+"";let s="";switch(e){case"1":s=t.tdir+"/";break;case"2":s=t.adir+"/";break;case"3":s=t.tdir+"/"+t.adir+"/";break}return s}function W(e,t,s){var o,l;e=(e||"")+"",s=(s||"")+"";let n=w.humpToLine(t.name),r=[];const a=Object.values(t.aliass||{});if(e==="1")t.alias&&r.push(t.alias+"-"+n);else if(e==="2")a&&a.length>0&&a.forEach(c=>{r.push(c+"-"+n)});else if(e==="3"){let c="";t.alias&&(c=t.alias+"-"),a==null||a.forEach(u=>{r.push(c+u+"-"+n)})}else e==="4"?(o=t.aliasNames)==null||o.forEach(c=>{r.push(w.humpToLine(c))}):e=="9"&&(r.push(n),(l=t.aliasNames)==null||l.forEach(c=>{r.push(w.humpToLine(c))}));r.length==0&&r.push(n);let i=[];return s==="1"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(u,L.firstLower(u))}):s==="2"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(c,u,L.firstLower(u))}):i=[...r],i=[...new Set(i)],i}function b(e,t,s,n){const r=[];return s.examplessRaw.forEach(a=>{for(let i=0;i<t.length;i++){const o=t[i];if(a==e+o+"/"+s.md+".md"){r.push({topurl:e,comkey:n.key,suffix:x.getSuffix(a),name:n.name,value:o,key:a,raw:"",getRaw:m.getRawValue(d,a)});break}}}),r}function T(e){h();const t=f[e];if(t.tests)return t.tests;{const s=A[t.dir],n=s.dir+V(s.level||0,t),r=W(s.aliaslevel||0,t,s.componentName||0);t.mds=b(n,r,s,t);const a={};return s.exampless.forEach(i=>{for(let o=0;o<r.length;o++){const l=r[o];if(i.startsWith(n+l+"/")){const c=new RegExp("^\\"+n+l+"/(.*)/index\\."+m.defaultExtensions.join("|")+"$");let u="",p=i.match(c);p&&p.length>1&&(u=p[1]),a[i]={topurl:n,name:l,value:u,suffix:x.getSuffix(i),comname:t.name,comkey:t.key,key:i,component:S[i],raw:"",getRaw:m.getRawValue(d,i)};break}}}),t.tests=a,a}}function B(e){if(e){const t=T(e);return Object.values(t)}else return[]}function D(e,t,s){h();const n=T(s),r=[];if(t){let a=n[t];if(a)return r.push(a),r}return Object.values(n).forEach(a=>{a.name+"/"+a.value==e&&r.push(a)}),r}function F(e){return T(e),f[e].mds}async function C(e,t,s,n){let r=await k(t,s)||[],a=e.split("/");return r.map(i=>{if(i.startsWith("./")){let o=a.slice(0,a.length-1).join("/"),l=i.substring(2);return{name:i,comprops:n||"",value:l,suffix:x.getSuffix(i),head:o,key:o+"/"+l}}else{let o=i.split("/"),l=0;for(let O=0;O<o.length;O++)if(o[O]!=".."){l=O;break}let c=o.slice(l,o.length),u=a.slice(0,a.length-l-1).join("/"),p=c.join("/");return{name:i,comprops:n||"",value:p,suffix:x.getSuffix(i),head:u,key:u+"/"+p}}})}function J(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>({raw:"",value:n.value,suffix:x.getSuffix(n.key),key:n.key,getRaw:m.getRawValue(d,n.key)}));P.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(o=>{const l=(o||"")+"";a.raw=l,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}function X(){const e=I(),t=y.getConfig("components");t==null||t.forEach(s=>{var r;$(s);let n=s.dir||((r=s==null?void 0:s.resolver)==null?void 0:r.dir)||"";j(n,e,s.example)})}const g="default";function Z(e){let t=w.humpToLine(e.name),s=[...e.aliasNames];s.push(t),s.forEach(n=>{q.push({name:n,value:e.key})})}function Q(e,t){const s={};t==null||t.forEach(n=>{f[n.key]=n,Z(n);const r=Object.values(n.aliass||{});r&&r.length?r.forEach(a=>{s[a]=s[a]||[],s[a].push(n.key)}):(s[g]=s[g]||[],s[g].push(n.key))})}function $(e){var n;let t,s;if(e.resolver)t=e.alias||((n=e.resolver)==null?void 0:n.alias)||g,s=m.getComponentsArr(e.resolver.urls||[],e.resolver,e.componentsRaw,e.components,e);else{t=e.alias||g;let r=(e==null?void 0:e.urls)||Object.keys(e.componentsRaw);s=m.getComponentsArr(r,e,e.componentsRaw,e.components,e)}s&&(s!=null&&s.props)&&s.props.forEach(r=>{R[r.key]=r}),Q(t,s.components)}function G(e){return h(),f[e]}function h(){return Object.keys(f).length==0&&X(),Object.values(f)}function Y(e,t,s){h();const n=[];if(s){let a=f[s];if(a&&a.key)return[a]}let r=w.humpToLine(e);return q.forEach(a=>{t?a.name.includes(r)&&n.push(f[a.value]):a.name==r&&n.push(f[a.value])}),M.duplicateRemoval(n,"key")}async function _(e,t){let s=e;if(e){let n=(await C(t.key,e,t.suffix,t.comprops)).filter(r=>r.key.startsWith(t.head)||m.isComprops(r.name,t.comprops||""));s=await K(n)+s}return s}function z(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>R[n.key]||R[n.key+".js"]||R[n.key+".ts"]);P.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(async o=>{const l=(o||"")+"";let c=await _(l,e[i]);a.raw=c,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}async function K(e){const t=await z(e);return((t==null?void 0:t.map(n=>n.raw))||[]).join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../config.cjs"),m=require("./common.cjs"),w=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),E=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs"),L=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),M=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs"),P=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs"),x=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs"),H=require("./index.cjs"),f={},R={},q=[],A={},S={},d={};function I(){return y.getConfig("example")}function j(e,t,s){const n=Object.assign({exampless:[],examplessRaw:[]},t,s),r=[],a=n.examples;a&&Object.keys(a).forEach(l=>{r.push(l),S[l]=a[l]});const i=n.examplesRaw,o=[];n.urls&&n.urls.length>0?(n.exampless=n.urls,n.urls.forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})):(n.exampless=r,i&&Object.keys(i).forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})),n.examples=void 0,n.examplessRaw=o,n.examplesRaw=void 0,A[e]=n}function N(e,t){return typeof e=="function"?e:e&&(e[t]||e)}async function k(e,t){let s="";if(t=="vue"){let r=new RegExp(/(<script([^>]*)>)((.|\n|\r)*)(<\/script>)/g).exec(e);r&&(s=r[3])}else(t=="js"||t=="ts"||t=="")&&(s=e);if(s){const n=await H.getTextImport(s);let r=n==null?void 0:n.map(i=>i.n);const a=[];return r&&r.length>0&&r.forEach(i=>{i&&(i.startsWith("./")||i.startsWith("../"))&&a.push(i)}),a}}function U(e){return new Promise(t=>{e?e.raw?t(e.raw):e.getRaw?e.getRaw(e).then(s=>{const n=(s||"")+"";e.raw=n,e.getRaw=null,t(n)}):t(""):t("")})}function V(e,t){e=(e||"")+"";let s="";switch(e){case"1":s=t.tdir+"/";break;case"2":s=t.adir+"/";break;case"3":s=t.tdir+"/"+t.adir+"/";break}return s}function W(e,t,s){var o,l;e=(e||"")+"",s=(s||"")+"";let n=w.humpToLine(t.name),r=[];const a=Object.values(t.aliass||{});if(e==="1")t.alias&&r.push(t.alias+"-"+n);else if(e==="2")a&&a.length>0&&a.forEach(c=>{r.push(c+"-"+n)});else if(e==="3"){let c="";t.alias&&(c=t.alias+"-"),a==null||a.forEach(u=>{r.push(c+u+"-"+n)})}else e==="4"?(o=t.aliasNames)==null||o.forEach(c=>{r.push(w.humpToLine(c))}):e=="9"&&(r.push(n),(l=t.aliasNames)==null||l.forEach(c=>{r.push(w.humpToLine(c))}));r.length==0&&r.push(n);let i=[];return s==="1"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(u,L.firstLower(u))}):s==="2"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(c,u,L.firstLower(u))}):i=[...r],i=[...new Set(i)],i}function b(e,t,s,n){const r=[];return s.examplessRaw.forEach(a=>{for(let i=0;i<t.length;i++){const o=t[i];if(a==e+o+"/"+s.md+".md"){r.push({topurl:e,comkey:n.key,suffix:x.getSuffix(a),name:n.name,value:o,key:a,raw:"",getRaw:m.getRawValue(d,a)});break}}}),r}function T(e){h();const t=f[e];if(t.tests)return t.tests;{const s=A[t.dir],n=s.dir+V(s.level||0,t),r=W(s.aliaslevel||0,t,s.componentName||0);t.mds=b(n,r,s,t);const a={};return s.exampless.forEach(i=>{for(let o=0;o<r.length;o++){const l=r[o];if(i.startsWith(n+l+"/")){const c=new RegExp("^\\"+n+l+"/(.*)/index\\."+m.defaultExtensions.join("|")+"$");let u="",p=i.match(c);p&&p.length>1&&(u=p[1]),a[i]={topurl:n,name:l,value:u,suffix:x.getSuffix(i),comname:t.name,comkey:t.key,key:i,component:S[i],raw:"",getRaw:m.getRawValue(d,i)};break}}}),t.tests=a,a}}function B(e){if(e){const t=T(e);return Object.values(t)}else return[]}function D(e,t,s){h();const n=T(s),r=[];if(t){let a=n[t];if(a)return r.push(a),r}return Object.values(n).forEach(a=>{a.name+"/"+a.value==e&&r.push(a)}),r}function F(e){return T(e),f[e].mds}async function C(e,t,s,n){let r=await k(t,s)||[],a=e.split("/");return r.map(i=>{if(i.startsWith("./")){let o=a.slice(0,a.length-1).join("/"),l=i.substring(2);return{name:i,comprops:n||"",value:l,suffix:x.getSuffix(i),head:o,key:o+"/"+l}}else{let o=i.split("/"),l=0;for(let O=0;O<o.length;O++)if(o[O]!=".."){l=O;break}let c=o.slice(l,o.length),u=a.slice(0,a.length-l-1).join("/"),p=c.join("/");return{name:i,comprops:n||"",value:p,suffix:x.getSuffix(i),head:u,key:u+"/"+p}}})}function J(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>({raw:"",value:n.value,suffix:x.getSuffix(n.key),key:n.key,getRaw:m.getRawValue(d,n.key)}));P.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(o=>{const l=(o||"")+"";a.raw=l,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}function X(){const e=I(),t=y.getConfig("components");t==null||t.forEach(s=>{var r;$(s);let n=s.dir||((r=s==null?void 0:s.resolver)==null?void 0:r.dir)||"";j(n,e,s.example)})}const g="default";function Z(e){let t=w.humpToLine(e.name),s=[...e.aliasNames];s.push(t),s.forEach(n=>{q.push({name:n,value:e.key})})}function Q(e,t){const s={};t==null||t.forEach(n=>{f[n.key]=n,Z(n);const r=Object.values(n.aliass||{});r&&r.length?r.forEach(a=>{s[a]=s[a]||[],s[a].push(n.key)}):(s[g]=s[g]||[],s[g].push(n.key))})}function $(e){var n;let t,s;if(e.resolver)t=e.alias||((n=e.resolver)==null?void 0:n.alias)||g,s=m.getComponentsArr(e.resolver.urls||[],e.resolver,e.componentsRaw,e.components,e);else{t=e.alias||g;let r=(e==null?void 0:e.urls)||Object.keys(e.componentsRaw);s=m.getComponentsArr(r,e,e.componentsRaw,e.components,e)}s&&(s!=null&&s.props)&&s.props.forEach(r=>{R[r.key]=r}),Q(t,s.components)}function G(e){return h(),f[e]}function h(){return Object.keys(f).length==0&&X(),Object.values(f)}function Y(e,t,s){h();const n=[];if(s){let a=f[s];if(a&&a.key)return[a]}let r=w.humpToLine(e);return q.forEach(a=>{t?a.name.includes(r)&&n.push(f[a.value]):a.name==r&&n.push(f[a.value])}),M.duplicateRemoval(n,"key")}async function _(e,t){let s=e;if(e){let n=(await C(t.key,e,t.suffix,t.comprops)).filter(r=>r.key.startsWith(t.head)||m.isComprops(r.name,t.comprops||""));s=await K(n)+s}return s}function z(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>R[n.key]||R[n.key+".js"]||R[n.key+".ts"]);P.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(async o=>{const l=(o||"")+"";let c=await _(l,e[i]);a.raw=c,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}async function K(e){const t=await z(e);return((t==null?void 0:t.map(n=>n.raw))||[]).join(`
2
2
  `)}async function v(e,t){let s=e;if(e&&(t.comprops||t.curprops)){let n=(await C(t.key,e,t.suffix,t.comprops||"")).filter(a=>m.isComprops(a.name,t.comprops||"")||m.isCurprops(a.name,t.curprops||""));s=await K(n)+s}return s}function ee(e){return new Promise(t=>{if(e){h();const s=f[e];s?s.raw?t(s.raw):s.getRaw?s.getRaw(s).then(async n=>{const r=(n||"")+"",a=await v(r,s);s.raw=a,s.getRaw=null,t(a)}):t(""):t("")}else t("")})}exports.defaultName=g;exports.getCompoName=Y;exports.getCompoNameKey=G;exports.getCompoNameObj=h;exports.getKeyMds=F;exports.getLocalTextArr=J;exports.getLocalTextComponents=ee;exports.getLocalTextTests=U;exports.getTestImportUrl=C;exports.getTestName=B;exports.getTestNameObj=D;
@@ -1,11 +1,11 @@
1
1
  import { getConfig as L } from "../config.js";
2
2
  import { getRawValue as O, getComponentsArr as T, defaultExtensions as j, isComprops as W, isCurprops as S } from "./common.js";
3
- import { humpToLine as p } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
4
- import { lineToLargeHump as C } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
5
- import { firstLower as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
6
- import { duplicateRemoval as V } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js";
7
- import { asyncMergeArray as y } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js";
8
- import { getSuffix as g } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
3
+ import { humpToLine as p } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js";
4
+ import { lineToLargeHump as C } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
5
+ import { firstLower as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
6
+ import { duplicateRemoval as V } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js";
7
+ import { asyncMergeArray as y } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js";
8
+ import { getSuffix as g } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-17/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
9
9
  import { getTextImport as F } from "./index.js";
10
10
  const m = {}, R = {}, A = [], I = {}, K = {}, w = {};
11
11
  function H() {
@@ -8,4 +8,5 @@ import { duplicateRemoval } from '@fangzhongya/utils/basic/array/duplicateRemova
8
8
  import { asyncMergeArray } from '@fangzhongya/utils/basic/array/asyncMergeArray';
9
9
  import { firstUpper } from '@fangzhongya/utils/basic/string/firstUpper';
10
10
  import { getSuffix } from '@fangzhongya/utils/urls/getSuffix';
11
- export { mergeObject, getSuffix, toggleArray, humpToLine, asyncMergeArray, duplicateRemoval, lineToLargeHump, appearNum, firstUpper, firstLower, };
11
+ import { replaceAfter } from '@fangzhongya/utils/basic/array/replaceAfter';
12
+ export { mergeObject, getSuffix, toggleArray, replaceAfter, humpToLine, asyncMergeArray, duplicateRemoval, lineToLargeHump, appearNum, firstUpper, firstLower, };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fangzhongya/vue-archive",
3
3
  "private": false,
4
- "version": "0.0.2-30",
4
+ "version": "0.0.2-31",
5
5
  "type": "module",
6
6
  "description ": "vue 组件注释生成文档",
7
7
  "author": "fangzhongya ",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@fangzhongya/create": "0.2.3-6",
22
- "@fangzhongya/utils": "0.0.7-16",
22
+ "@fangzhongya/utils": "0.0.7-17",
23
23
  "@fangzhongya/vue-components": "0.1.3-8",
24
24
  "@highlightjs/vue-plugin": "^2.1.0",
25
25
  "@types/node": "^18.14.0",
@@ -39,7 +39,7 @@
39
39
  "vitest": "^0.28.5",
40
40
  "vue": "^3.2.47",
41
41
  "vue-router": "^4.1.6",
42
- "vue-tsc": "^1.1.6"
42
+ "vue-tsc": "^1.1.7"
43
43
  },
44
44
  "main": "./dist/packages/index.cjs",
45
45
  "module": "./dist/packages/index.js",