@fangzhongya/vue-archive 0.1.10 → 0.1.12

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 (60) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/node/index.cjs +63 -36
  3. package/dist/node/index.js +63 -36
  4. package/dist/packages/components/aside/index.vue.js +4 -4
  5. package/dist/packages/components/boxurl/index.vue.js +5 -5
  6. package/dist/packages/components/choice/choice.vue.js +4 -4
  7. package/dist/packages/components/choice/index.vue.js +1 -1
  8. package/dist/packages/components/code/highlight.vue.js +3 -3
  9. package/dist/packages/components/code/highlight.vue2.cjs +1 -1
  10. package/dist/packages/components/code/highlight.vue2.js +1 -1
  11. package/dist/packages/components/code/index.vue.js +3 -3
  12. package/dist/packages/components/compo/code.vue.js +2 -2
  13. package/dist/packages/components/compo/ftable.vue.js +6 -6
  14. package/dist/packages/components/compo/index.vue.js +1 -1
  15. package/dist/packages/components/compo/info-top.vue.js +2 -2
  16. package/dist/packages/components/compo/info.vue.js +5 -5
  17. package/dist/packages/components/compo/props.vue.js +1 -1
  18. package/dist/packages/components/header/index.vue.js +2 -2
  19. package/dist/packages/components/main/index.vue.js +3 -3
  20. package/dist/packages/components/md/index.vue.js +7 -7
  21. package/dist/packages/components/test/index.vue.js +4 -4
  22. package/dist/packages/components/use/code.d.ts +18 -25
  23. package/dist/packages/components/use/code.vue.js +4 -4
  24. package/dist/packages/components/use/effect.vue.js +2 -2
  25. package/dist/packages/components/use/retrie/any/index.vue.js +2 -2
  26. package/dist/packages/components/use/retrie/array/index.vue.js +2 -2
  27. package/dist/packages/components/use/retrie/boolean/index.vue.js +2 -2
  28. package/dist/packages/components/use/retrie/choice/index.vue.js +5 -5
  29. package/dist/packages/components/use/retrie/expose/index.vue.js +2 -2
  30. package/dist/packages/components/use/retrie/form/index.vue.js +1 -1
  31. package/dist/packages/components/use/retrie/function/index.vue.js +2 -2
  32. package/dist/packages/components/use/retrie/index.vue.js +1 -1
  33. package/dist/packages/components/use/retrie/input/editor/editor.d.ts +0 -49
  34. package/dist/packages/components/use/retrie/input/editor/editor.vue.js +2 -2
  35. package/dist/packages/components/use/retrie/input/index.vue.js +1 -1
  36. package/dist/packages/components/use/retrie/input/text.vue.js +2 -2
  37. package/dist/packages/components/use/retrie/number/index.vue.js +2 -2
  38. package/dist/packages/components/use/retrie/object/index.vue.js +2 -2
  39. package/dist/packages/components/use/retrie/other/index.vue.js +2 -2
  40. package/dist/packages/components/use/retrie/select/index.vue.js +5 -5
  41. package/dist/packages/components/use/retrie/slot/index.vue.js +2 -2
  42. package/dist/packages/components/use/retrie/string/index.vue.js +2 -2
  43. package/dist/packages/components/use/set-code.vue.js +2 -2
  44. package/dist/packages/components/use/set-emit.vue.js +4 -4
  45. package/dist/packages/components/use/set-expose.vue.js +6 -6
  46. package/dist/packages/components/use/set-props.vue.js +2 -2
  47. package/dist/packages/components/use/set-slot.vue.js +7 -7
  48. package/dist/packages/index/index.vue2.js +2 -2
  49. package/dist/packages/page/compon/index.vue2.js +2 -2
  50. package/dist/packages/page/comprops/index.vue2.js +3 -3
  51. package/dist/packages/page/develop/index.vue2.js +2 -2
  52. package/dist/packages/page/edit/index.vue2.js +2 -2
  53. package/dist/packages/page/index/index.vue2.js +1 -1
  54. package/dist/packages/page/single/index.vue2.js +2 -2
  55. package/dist/packages/page/tests/index.vue2.js +6 -6
  56. package/dist/packages/utils/annotat.cjs +1 -1
  57. package/dist/packages/utils/annotat.js +1 -0
  58. package/package.json +19 -19
  59. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010 → @highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs +0 -0
  60. /package/dist/node_modules/.pnpm/{@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010 → @highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91}/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js +0 -0
@@ -58,12 +58,12 @@ var init_prettier = __esm({
58
58
  }
59
59
  });
60
60
 
61
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
61
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
62
62
  function isArray(obj2) {
63
63
  return Object.prototype.toString.call(obj2) == "[object Array]";
64
64
  }
65
65
 
66
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
66
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
67
67
  function getStartSames(str, val) {
68
68
  let s = "";
69
69
  const vs = [...val];
@@ -79,7 +79,7 @@ function getStartSames(str, val) {
79
79
  return [s, str.substring(index), val.substring(index)];
80
80
  }
81
81
 
82
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-KDOS4NFR.js
82
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-KDOS4NFR.js
83
83
  function getImportUrl(url, imp) {
84
84
  const arr = getStartSames(url, imp);
85
85
  const ts2 = arr[0];
@@ -103,12 +103,12 @@ function getImportUrl(url, imp) {
103
103
  return ds.join("") + arr[2].replace(/\\/g, "/");
104
104
  }
105
105
 
106
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
106
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
107
107
  function firstUpper(str) {
108
108
  return str.slice(0, 1).toUpperCase() + str.slice(1);
109
109
  }
110
110
 
111
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
111
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
112
112
  function lineToLargeHump(name) {
113
113
  let arr = name.split("-");
114
114
  arr = arr.map((vs) => {
@@ -828,7 +828,7 @@ function runDev(config2, configCallback) {
828
828
  return new FangMd(config2, configCallback);
829
829
  }
830
830
 
831
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
831
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
832
832
  var zObj = {
833
833
  "<": "&lt;",
834
834
  ">": "&gt;",
@@ -849,7 +849,7 @@ function htmlEscape(str) {
849
849
  // packages/node/index.ts
850
850
  import { join as join4 } from "path";
851
851
 
852
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
852
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
853
853
  function mergeObject(a, b, j = 0, i) {
854
854
  if (a instanceof Array) {
855
855
  if (j > 0 && i) {
@@ -903,7 +903,7 @@ function getConfig(key) {
903
903
  return config[key];
904
904
  }
905
905
 
906
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
906
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
907
907
  function getVueText(content) {
908
908
  const result = {
909
909
  template: "",
@@ -950,7 +950,7 @@ function getVueTexts(content) {
950
950
  };
951
951
  }
952
952
 
953
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
953
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
954
954
  function humpToLine(name) {
955
955
  const reg = /(([A-Z])([^A-Z]*))/g;
956
956
  let result;
@@ -972,12 +972,12 @@ function humpToLine(name) {
972
972
  }
973
973
  }
974
974
 
975
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
975
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
976
976
  function firstLower(str) {
977
977
  return str.slice(0, 1).toLowerCase() + str.slice(1);
978
978
  }
979
979
 
980
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
980
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
981
981
  function asyncMergeArray(arr, callback) {
982
982
  return new Promise((resolve2, reject) => {
983
983
  let index = 0;
@@ -1001,7 +1001,7 @@ function asyncMergeArray(arr, callback) {
1001
1001
  });
1002
1002
  }
1003
1003
 
1004
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-Z7NTQAAJ.js
1004
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-Z7NTQAAJ.js
1005
1005
  function getSuffix2(url) {
1006
1006
  const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
1007
1007
  const regs = reg.exec(url);
@@ -1011,7 +1011,7 @@ function getSuffix2(url) {
1011
1011
  return "";
1012
1012
  }
1013
1013
 
1014
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1014
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1015
1015
  function matchsStart2(key, matchs) {
1016
1016
  if (matchs && matchs.length > 0) {
1017
1017
  for (const value of matchs) {
@@ -1031,7 +1031,7 @@ function matchsStart2(key, matchs) {
1031
1031
  }
1032
1032
  }
1033
1033
 
1034
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1034
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1035
1035
  function matchsEnd2(key, matchs) {
1036
1036
  if (matchs && matchs.length > 0) {
1037
1037
  for (const value of matchs) {
@@ -1323,7 +1323,7 @@ function getRawValue(comRaw, key) {
1323
1323
  }
1324
1324
  }
1325
1325
 
1326
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1326
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1327
1327
  function deComment(code) {
1328
1328
  let output = "";
1329
1329
  let state = "code";
@@ -1415,7 +1415,7 @@ function deComment(code) {
1415
1415
  return output;
1416
1416
  }
1417
1417
 
1418
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-N5Y3XGHX.js
1418
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-N5Y3XGHX.js
1419
1419
  function getImports(code, includeType = false) {
1420
1420
  code = deComment(code);
1421
1421
  const imports = /* @__PURE__ */ new Set();
@@ -2319,16 +2319,16 @@ function getSlotValue(arr) {
2319
2319
  });
2320
2320
  }
2321
2321
 
2322
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/primitives.js
2322
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/primitives.js
2323
2323
  var Markers;
2324
2324
  (function(Markers2) {
2325
2325
  Markers2["start"] = "/**";
2326
2326
  Markers2["nostart"] = "/***";
2327
2327
  Markers2["delim"] = "*";
2328
2328
  Markers2["end"] = "*/";
2329
- })(Markers = Markers || (Markers = {}));
2329
+ })(Markers || (Markers = {}));
2330
2330
 
2331
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/util.js
2331
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/util.js
2332
2332
  function isSpace(source) {
2333
2333
  return /^\s+$/.test(source);
2334
2334
  }
@@ -2350,8 +2350,8 @@ function seedTokens(tokens = {}) {
2350
2350
  return Object.assign({ start: "", delimiter: "", postDelimiter: "", tag: "", postTag: "", name: "", postName: "", type: "", postType: "", description: "", end: "", lineEnd: "" }, tokens);
2351
2351
  }
2352
2352
 
2353
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/block-parser.js
2354
- var reTag = /^@\S+/;
2353
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/block-parser.js
2354
+ var reTag = /^@[^\s/]+(?=\s|$)/;
2355
2355
  function getParser({ fence = "```" } = {}) {
2356
2356
  const fencer = getFencer(fence);
2357
2357
  const toggleFence = (source, isFenced) => fencer(source) ? !isFenced : isFenced;
@@ -2375,7 +2375,7 @@ function getFencer(fence) {
2375
2375
  return fence;
2376
2376
  }
2377
2377
 
2378
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/source-parser.js
2378
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/source-parser.js
2379
2379
  function getParser2({ startLine = 0, markers = Markers } = {}) {
2380
2380
  let block = null;
2381
2381
  let num = startLine;
@@ -2417,7 +2417,7 @@ function getParser2({ startLine = 0, markers = Markers } = {}) {
2417
2417
  };
2418
2418
  }
2419
2419
 
2420
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/spec-parser.js
2420
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/spec-parser.js
2421
2421
  function getParser3({ tokenizers }) {
2422
2422
  return function parseSpec(source) {
2423
2423
  var _a;
@@ -2431,7 +2431,7 @@ function getParser3({ tokenizers }) {
2431
2431
  };
2432
2432
  }
2433
2433
 
2434
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/tokenizers/tag.js
2434
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/tag.js
2435
2435
  function tagTokenizer() {
2436
2436
  return (spec) => {
2437
2437
  const { tokens } = spec.source[0];
@@ -2445,6 +2445,9 @@ function tagTokenizer() {
2445
2445
  });
2446
2446
  return spec;
2447
2447
  }
2448
+ if (match[1].includes("/")) {
2449
+ return spec;
2450
+ }
2448
2451
  tokens.tag = match[1];
2449
2452
  tokens.postTag = match[3];
2450
2453
  tokens.description = tokens.description.slice(match[0].length);
@@ -2453,16 +2456,24 @@ function tagTokenizer() {
2453
2456
  };
2454
2457
  }
2455
2458
 
2456
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/tokenizers/type.js
2459
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/type.js
2457
2460
  function typeTokenizer(spacing = "compact") {
2458
2461
  const join5 = getJoiner(spacing);
2459
2462
  return (spec) => {
2460
2463
  let curlies = 0;
2461
2464
  let lines = [];
2462
- for (const [i, { tokens }] of spec.source.entries()) {
2465
+ let descriptionBegun = false;
2466
+ let firstTypeIteration = true;
2467
+ for (const { tokens } of spec.source.values()) {
2463
2468
  let type = "";
2464
- if (i === 0 && tokens.description[0] !== "{")
2469
+ if (!descriptionBegun && tokens.description.trim()) {
2470
+ descriptionBegun = true;
2471
+ } else if (!descriptionBegun) {
2472
+ continue;
2473
+ }
2474
+ if (firstTypeIteration && tokens.description[0] !== "{")
2465
2475
  return spec;
2476
+ firstTypeIteration = false;
2466
2477
  for (const ch of tokens.description) {
2467
2478
  if (ch === "{")
2468
2479
  curlies++;
@@ -2476,6 +2487,9 @@ function typeTokenizer(spacing = "compact") {
2476
2487
  if (curlies === 0)
2477
2488
  break;
2478
2489
  }
2490
+ if (!descriptionBegun) {
2491
+ return spec;
2492
+ }
2479
2493
  if (curlies !== 0) {
2480
2494
  spec.problems.push({
2481
2495
  code: "spec:type:unpaired-curlies",
@@ -2512,13 +2526,25 @@ function getJoiner(spacing) {
2512
2526
  return spacing;
2513
2527
  }
2514
2528
 
2515
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/tokenizers/name.js
2529
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/name.js
2516
2530
  var isQuoted = (s) => s && s.startsWith('"') && s.endsWith('"');
2517
2531
  function nameTokenizer() {
2518
2532
  const typeEnd = (num, { tokens }, i) => tokens.type === "" ? num : i;
2519
2533
  return (spec) => {
2520
- const { tokens } = spec.source[spec.source.reduce(typeEnd, 0)];
2521
- const source = tokens.description.trimLeft();
2534
+ let finalTypeLine = spec.source.reduce(typeEnd, 0);
2535
+ let tokens;
2536
+ if (spec.type) {
2537
+ do {
2538
+ ({ tokens } = spec.source[finalTypeLine]);
2539
+ if (tokens.description.trim()) {
2540
+ break;
2541
+ }
2542
+ finalTypeLine++;
2543
+ } while (spec.source[finalTypeLine]);
2544
+ } else {
2545
+ ({ tokens } = spec.source[finalTypeLine]);
2546
+ }
2547
+ const source = tokens.description.trimStart();
2522
2548
  const quotedGroups = source.split('"');
2523
2549
  if (quotedGroups.length > 1 && quotedGroups[0] === "" && quotedGroups.length % 2 === 1) {
2524
2550
  spec.name = quotedGroups[1];
@@ -2594,7 +2620,7 @@ function nameTokenizer() {
2594
2620
  };
2595
2621
  }
2596
2622
 
2597
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/tokenizers/description.js
2623
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/tokenizers/description.js
2598
2624
  function descriptionTokenizer(spacing = "compact", markers = Markers) {
2599
2625
  const join5 = getJoiner2(spacing);
2600
2626
  return (spec) => {
@@ -2626,7 +2652,7 @@ function preserveJoiner(lines, markers = Markers) {
2626
2652
  return lines.map(getDescription).join("\n");
2627
2653
  }
2628
2654
 
2629
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/parser/index.js
2655
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/parser/index.js
2630
2656
  function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers = Markers, tokenizers = [
2631
2657
  tagTokenizer(),
2632
2658
  typeTokenizer(spacing),
@@ -2658,7 +2684,7 @@ function getParser4({ startLine = 0, fence = "```", spacing = "compact", markers
2658
2684
  };
2659
2685
  }
2660
2686
 
2661
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/stringifier/index.js
2687
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/stringifier/index.js
2662
2688
  function join3(tokens) {
2663
2689
  return tokens.start + tokens.delimiter + tokens.postDelimiter + tokens.tag + tokens.postTag + tokens.type + tokens.postType + tokens.name + tokens.postName + tokens.description + tokens.end + tokens.lineEnd;
2664
2690
  }
@@ -2666,7 +2692,7 @@ function getStringifier() {
2666
2692
  return (block) => block.source.map(({ tokens }) => join3(tokens)).join("\n");
2667
2693
  }
2668
2694
 
2669
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/stringifier/inspect.js
2695
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/stringifier/inspect.js
2670
2696
  var zeroWidth = {
2671
2697
  line: 0,
2672
2698
  start: 0,
@@ -2684,7 +2710,7 @@ var zeroWidth = {
2684
2710
  };
2685
2711
  var fields = Object.keys(zeroWidth);
2686
2712
 
2687
- // node_modules/.pnpm/comment-parser@1.4.1/node_modules/comment-parser/es6/index.js
2713
+ // node_modules/.pnpm/comment-parser@1.4.5/node_modules/comment-parser/es6/index.js
2688
2714
  function parse(source, options = {}) {
2689
2715
  return getParser4(options)(source);
2690
2716
  }
@@ -2818,6 +2844,7 @@ function setTitle(obj2) {
2818
2844
  let arr = [
2819
2845
  "title",
2820
2846
  // 'name',
2847
+ "state",
2821
2848
  "text",
2822
2849
  "author",
2823
2850
  "date"
@@ -3720,7 +3747,7 @@ var top_default2 = defineComponent2({
3720
3747
  }
3721
3748
  });
3722
3749
 
3723
- // node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-Q6BNW3MO.js
3750
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.78/node_modules/@fangzhongya/utils/dist/chunk-Q6BNW3MO.js
3724
3751
  var FUNCTION_REGEX = /^\s*(?:(async)\s+)?(?:function\s*(\*?)\s*(\w*)\s*\(([\s\S]*?)\)|(\*?\s*)\b(\w+)\s*\(([\s\S]*?)\)|\(([\s\S]*?)\)|([^=>,\(\)]+?))\s*(?:=>)?\s*(?:\{([\s\S]*?)\}|([\s\S]*))$/;
3725
3752
  function getFunctionFormat(v) {
3726
3753
  if (!v) return;
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as c, watch as k, onMounted as w, nextTick as S, createElementBlock as o, openBlock as n, createElementVNode as s, withDirectives as V, vModelText as b, Fragment as y, renderList as h, normalizeClass as j, createVNode as z, withCtx as B, toDisplayString as g } from "vue";
1
+ import { defineComponent as A, ref as c, watch as k, onMounted as w, nextTick as S, openBlock as o, createElementBlock as n, createElementVNode as s, withDirectives as V, vModelText as b, Fragment as y, renderList as h, normalizeClass as j, createVNode as z, withCtx as B, toDisplayString as g } from "vue";
2
2
  import D from "../boxurl/index.vue.js";
3
3
  import { getCompoNameObj as C, getCompoNameKey as E, getCompoName as M } from "../../utils/glob.js";
4
4
  import { getAsideKey as O, setAsideKey as $ } from "../../utils/common.js";
@@ -56,7 +56,7 @@ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"
56
56
  t.scrollTop = u;
57
57
  }
58
58
  });
59
- }), (e, u) => (n(), o("div", {
59
+ }), (e, u) => (o(), n("div", {
60
60
  class: "aside",
61
61
  ref_key: "refAside",
62
62
  ref: d
@@ -70,7 +70,7 @@ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"
70
70
  ])
71
71
  ]),
72
72
  s("div", F, [
73
- (n(!0), o(y, null, h(l.value, (t, I) => (n(), o("div", {
73
+ (o(!0), n(y, null, h(l.value, (t, I) => (o(), n("div", {
74
74
  class: j([
75
75
  "aside-li",
76
76
  p(t.key) + " " + (t.key == a.value?.key ? "on" : "")
@@ -82,7 +82,7 @@ const q = { class: "aside-search" }, F = { class: "aside-list" }, L = ["onClick"
82
82
  s("div", U, [
83
83
  s("div", G, g(t.name), 1),
84
84
  s("span", H, [
85
- (n(!0), o(y, null, h(t.aliasNames, (_) => (n(), o("span", null, g(_), 1))), 256))
85
+ (o(!0), n(y, null, h(t.aliasNames, (_) => (o(), n("span", null, g(_), 1))), 256))
86
86
  ])
87
87
  ])
88
88
  ]),
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, ref as v, onMounted as f, createElementBlock as l, openBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, createCommentVNode as k, toDisplayString as a, Fragment as _, renderList as h } from "vue";
1
+ import { defineComponent as p, ref as v, onMounted as f, openBlock as l, createElementBlock as i, createElementVNode as s, renderSlot as y, normalizeStyle as g, toDisplayString as a, Fragment as k, renderList as _, createCommentVNode as h } from "vue";
2
2
  import { openInEditor as N } from "../../utils/util.js";
3
3
  import { getConfig as C } from "../../config.js";
4
4
  import { getReplaceUrls as w } from "@fangzhongya/utils/urls/getReplaceUrls";
@@ -21,7 +21,7 @@ const E = { class: "box-url-span" }, S = { class: "box-url-box-div" }, B = { cla
21
21
  let t, d;
22
22
  e.x || e.y ? (t = e.x, d = e.y) : (e.pageX || e.pageY) && (t = e.pageX - 1, d = e.pageY - 1), u.value = t + "px", x.value = d + "px";
23
23
  };
24
- }), (n, e) => (i(), l("div", {
24
+ }), (n, e) => (l(), i("div", {
25
25
  ref_key: "boxurl",
26
26
  ref: c,
27
27
  class: "box-url"
@@ -38,12 +38,12 @@ const E = { class: "box-url-span" }, S = { class: "box-url-box-div" }, B = { cla
38
38
  s("div", V, a(o.value?.name), 1),
39
39
  s("div", X, a(o.value?.value), 1)
40
40
  ]),
41
- o.value?.aliasNames && o.value?.aliasNames.length ? (i(), l("div", Y, [
41
+ o.value?.aliasNames && o.value?.aliasNames.length ? (l(), i("div", Y, [
42
42
  e[0] || (e[0] = s("div", { class: "box-div-li-span" }, "别名", -1)),
43
43
  s("div", j, [
44
- (i(!0), l(_, null, h(o.value?.aliasNames, (t) => (i(), l("span", null, a(t), 1))), 256))
44
+ (l(!0), i(k, null, _(o.value?.aliasNames, (t) => (l(), i("span", null, a(t), 1))), 256))
45
45
  ])
46
- ])) : k("", !0),
46
+ ])) : h("", !0),
47
47
  s("div", z, [
48
48
  e[1] || (e[1] = s("div", { class: "box-div-li-span" }, "文件路径", -1)),
49
49
  s("div", D, a(o.value?.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, createElementBlock as s, openBlock as a, Fragment as l, renderList as r, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as t } from "vue";
1
+ import { defineComponent as p, openBlock as s, createElementBlock as a, Fragment as l, renderList as r, normalizeClass as h, createVNode as v, withCtx as k, createElementVNode as n, toDisplayString as t } from "vue";
2
2
  import f from "../boxurl/index.vue.js";
3
3
  const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-name" }, x = { class: "aside-li-name-name" }, N = { class: "aside-li-name-aliass" }, B = { class: "aside-li-name-aliass" }, j = /* @__PURE__ */ p({
4
4
  __name: "choice",
@@ -16,8 +16,8 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
16
16
  function m(c) {
17
17
  u("change", c);
18
18
  }
19
- return (c, E) => (a(), s("div", y, [
20
- (a(!0), s(l, null, r(i.value, (e, V) => (a(), s("div", {
19
+ return (c, E) => (s(), a("div", y, [
20
+ (s(!0), a(l, null, r(i.value, (e, V) => (s(), a("div", {
21
21
  class: h(["aside-li", {
22
22
  on: e.key == i.choice?.key
23
23
  }]),
@@ -28,7 +28,7 @@ const y = { class: "choice aside" }, C = ["onClick"], g = { class: "aside-li-nam
28
28
  n("div", g, [
29
29
  n("div", x, t(e.name), 1),
30
30
  n("div", N, [
31
- (a(!0), s(l, null, r(e.aliasNames, (o) => (a(), s("span", null, t(o), 1))), 256))
31
+ (s(!0), a(l, null, r(e.aliasNames, (o) => (s(), a("span", null, t(o), 1))), 256))
32
32
  ]),
33
33
  n("div", B, [
34
34
  n("span", null, t(e.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, ref as v, watch as q, createElementBlock as i, openBlock as a, createCommentVNode as p, createElementVNode as f, createBlock as b, toDisplayString as _, normalizeClass as x, renderSlot as B, unref as K } from "vue";
1
+ import { defineComponent as N, ref as v, watch as q, openBlock as a, createElementBlock as i, createBlock as b, createCommentVNode as p, createElementVNode as f, toDisplayString as _, normalizeClass as x, renderSlot as B, unref as K } from "vue";
2
2
  import { humpToLine as g } from "@fangzhongya/utils/name/humpToLine";
3
3
  import $ from "./choice.vue.js";
4
4
  import { getCompoName as D } from "../../utils/glob.js";
@@ -1,14 +1,14 @@
1
1
  import t from "./highlight.vue2.js";
2
- import { resolveComponent as n, createBlock as r, createCommentVNode as c, openBlock as a } from "vue";
2
+ import { resolveComponent as n, openBlock as r, createBlock as c, createCommentVNode as a } from "vue";
3
3
  import s from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  function g(e, i, l, h, p, m) {
5
5
  const o = n("highlightjs");
6
- return e.code ? (a(), r(o, {
6
+ return e.code ? (r(), c(o, {
7
7
  key: 0,
8
8
  class: "highlightjs",
9
9
  language: e.language,
10
10
  code: e.code
11
- }, null, 8, ["language", "code"])) : c("", !0);
11
+ }, null, 8, ["language", "code"])) : a("", !0);
12
12
  }
13
13
  const _ = /* @__PURE__ */ s(t, [["render", g]]);
14
14
  export {
@@ -1 +1 @@
1
- "use strict";;/* empty css */require("../../../_virtual/common.cjs");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs"),n=require("vue"),t=n.defineComponent({props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}});module.exports=t;
1
+ "use strict";;/* empty css */require("../../../_virtual/common.cjs");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs"),n=require("vue"),t=n.defineComponent({props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}});module.exports=t;
@@ -1,6 +1,6 @@
1
1
  /* empty css */
2
2
  import "../../../_virtual/common.js";
3
- import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_088738b011f896e680b57492efece010/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
+ import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_09b7e5d2c19325dc414e3a91415b2e91/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
4
4
  import { defineComponent as t } from "vue";
5
5
  const m = t({
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, watch as B, ref as s, createElementBlock as d, openBlock as u, createElementVNode as l, withDirectives as $, toDisplayString as f, createVNode as m, withCtx as p, withModifiers as _, normalizeClass as k, Fragment as E, renderList as F, createBlock as L, vShow as N } from "vue";
1
+ import { defineComponent as j, watch as B, ref as s, openBlock as u, createElementBlock as d, createElementVNode as l, toDisplayString as f, createVNode as m, withCtx as p, withModifiers as _, normalizeClass as k, Fragment as $, renderList as E, createBlock as F, withDirectives as L, vShow as N } from "vue";
2
2
  import h from "../boxurl/index.vue.js";
3
3
  import { toSingle as O } from "../../router/index.js";
4
4
  import U from "./highlight.vue.js";
@@ -85,7 +85,7 @@ const H = { class: "code" }, I = { class: "code-top" }, M = { class: "code-top-b
85
85
  ]),
86
86
  _: 1
87
87
  }, 8, ["value"]),
88
- (u(!0), d(E, null, F(c.value, (a, J) => (u(), L(h, { value: a }, {
88
+ (u(!0), d($, null, E(c.value, (a, J) => (u(), F(h, { value: a }, {
89
89
  default: p(() => [
90
90
  l("div", {
91
91
  class: k(["but-div", {
@@ -99,7 +99,7 @@ const H = { class: "code" }, I = { class: "code-top" }, M = { class: "code-top-b
99
99
  ])
100
100
  ])
101
101
  ]),
102
- $(l("div", G, [
102
+ L(l("div", G, [
103
103
  m(U, {
104
104
  language: "html",
105
105
  code: t.value?.raw || e.text
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, createElementBlock as c, openBlock as n, createVNode as r, unref as a } from "vue";
1
+ import { defineComponent as t, openBlock as c, createElementBlock as n, createVNode as r, unref as a } from "vue";
2
2
  import p from "../use/edit.js";
3
3
  const l = { class: "compo-code" }, _ = /* @__PURE__ */ t({
4
4
  __name: "code",
@@ -9,7 +9,7 @@ const l = { class: "compo-code" }, _ = /* @__PURE__ */ t({
9
9
  },
10
10
  setup(e) {
11
11
  const o = e;
12
- return (s, u) => (n(), c("div", l, [
12
+ return (s, u) => (c(), n("div", l, [
13
13
  r(a(p), {
14
14
  value: o.value
15
15
  }, null, 8, ["value"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, createElementBlock as e, openBlock as l, createElementVNode as n, Fragment as u, renderList as c, toDisplayString as p } from "vue";
1
+ import { defineComponent as m, openBlock as e, createElementBlock as l, createElementVNode as n, Fragment as u, renderList as c, toDisplayString as p } from "vue";
2
2
  const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { class: "compo-talbe-top" }, v = { class: "compo-talbe-li" }, k = {
3
3
  key: 1,
4
4
  class: "compo-talbe-zw"
@@ -34,17 +34,17 @@ const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { cla
34
34
  if (t.prop)
35
35
  return a[t.prop];
36
36
  }
37
- return (a, t) => (l(), e("div", b, [
37
+ return (a, t) => (e(), l("div", b, [
38
38
  n("table", y, [
39
39
  n("thead", null, [
40
40
  n("tr", h, [
41
- (l(!0), e(u, null, c(r.list, (o, s) => (l(), e("th", null, p(o?.label), 1))), 256))
41
+ (e(!0), l(u, null, c(r.list, (o, s) => (e(), l("th", null, p(o?.label), 1))), 256))
42
42
  ])
43
43
  ]),
44
44
  n("tbody", null, [
45
- r.value && r.value.length > 0 ? (l(!0), e(u, { key: 0 }, c(r.value, (o, s) => (l(), e("tr", v, [
46
- (l(!0), e(u, null, c(r.list, (_, f) => (l(), e("td", null, p(i(o, _, s, f)), 1))), 256))
47
- ]))), 256)) : (l(), e("tr", k, [...t[0] || (t[0] = [
45
+ r.value && r.value.length > 0 ? (e(!0), l(u, { key: 0 }, c(r.value, (o, s) => (e(), l("tr", v, [
46
+ (e(!0), l(u, null, c(r.list, (_, f) => (e(), l("td", null, p(i(o, _, s, f)), 1))), 256))
47
+ ]))), 256)) : (e(), l("tr", k, [...t[0] || (t[0] = [
48
48
  n("td", { colspan: "7" }, "暂无", -1)
49
49
  ])]))
50
50
  ])
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as l, reactive as h, watch as y, createElementBlock as o, openBlock as t, createCommentVNode as m, createVNode as v, createElementVNode as C, Fragment as x, renderList as B, createBlock as N, unref as d } from "vue";
1
+ import { defineComponent as g, ref as l, reactive as h, watch as y, openBlock as t, createElementBlock as o, createElementVNode as C, Fragment as x, renderList as B, createBlock as N, createCommentVNode as m, createVNode as v, unref as d } from "vue";
2
2
  import V from "../use/index.js";
3
3
  import $ from "./props.vue.js";
4
4
  import { getConfig as E } from "../../config.js";
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as l, watch as p, createElementBlock as s, openBlock as u, createVNode as i, unref as f } from "vue";
1
+ import { defineComponent as c, ref as l, watch as p, openBlock as s, createElementBlock as u, createVNode as i, unref as f } from "vue";
2
2
  import m from "./top.js";
3
3
  import { getNotesText as v } from "../../utils/annotat.js";
4
4
  import { getLocalTextComponents as _ } from "../../utils/glob.js";
@@ -22,7 +22,7 @@ const d = { class: "info-top" }, y = /* @__PURE__ */ c({
22
22
  () => {
23
23
  o();
24
24
  }
25
- ), o(), (n, a) => (u(), s("div", d, [
25
+ ), o(), (n, a) => (s(), u("div", d, [
26
26
  i(f(m), { value: t.value }, null, 8, ["value"])
27
27
  ]));
28
28
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, createElementBlock as n, openBlock as a, createVNode as c, withCtx as p, createElementVNode as e, createCommentVNode as r, toDisplayString as t, Fragment as d, renderList as u } from "vue";
1
+ import { defineComponent as m, openBlock as n, createElementBlock as a, createVNode as c, withCtx as p, createElementVNode as e, toDisplayString as t, Fragment as r, renderList as d, createCommentVNode as u } from "vue";
2
2
  import _ from "../boxurl/index.vue.js";
3
3
  const f = { class: "compo-info" }, v = { class: "compo-info-name" }, h = { class: "compo-info-name-span" }, N = {
4
4
  key: 0,
@@ -12,19 +12,19 @@ const f = { class: "compo-info" }, v = { class: "compo-info-name" }, h = { class
12
12
  },
13
13
  setup(i) {
14
14
  const o = i;
15
- return (x, s) => (a(), n("div", f, [
15
+ return (x, s) => (n(), a("div", f, [
16
16
  c(_, {
17
17
  value: o.value
18
18
  }, {
19
19
  default: p(() => [
20
20
  e("div", v, [
21
21
  e("div", h, t(o.value?.name), 1),
22
- o.value?.aliasNames && o.value?.aliasNames.length ? (a(), n("div", N, [
22
+ o.value?.aliasNames && o.value?.aliasNames.length ? (n(), a("div", N, [
23
23
  s[0] || (s[0] = e("span", { class: "compo-info-name-li-span" }, " 别名 ", -1)),
24
24
  e("span", k, [
25
- (a(!0), n(d, null, u(o.value.aliasNames, (l) => (a(), n("span", null, t(l), 1))), 256))
25
+ (n(!0), a(r, null, d(o.value.aliasNames, (l) => (n(), a("span", null, t(l), 1))), 256))
26
26
  ])
27
- ])) : r("", !0),
27
+ ])) : u("", !0),
28
28
  e("div", y, [
29
29
  s[1] || (s[1] = e("span", { class: "compo-info-name-li-span" }, " 文件路径 ", -1)),
30
30
  e("span", g, t(o.value?.key), 1)
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, ref as p, reactive as $, watch as B, createElementBlock as h, openBlock as l, createCommentVNode as i, createElementVNode as o, createBlock as n, unref as u } from "vue";
1
+ import { defineComponent as g, ref as p, reactive as $, watch as B, openBlock as l, createElementBlock as h, createBlock as n, unref as u, createCommentVNode as i, createElementVNode as o } from "vue";
2
2
  import N from "./top.js";
3
3
  import r from "./ftable.vue.js";
4
4
  import { tprops as E, temits as T, texpose as V, tslot as b } from "./index.js";
@@ -1,8 +1,8 @@
1
- import { createElementBlock as e, openBlock as r } from "vue";
1
+ import { openBlock as e, createElementBlock as r } from "vue";
2
2
  import c from "../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
- return r(), e("div");
5
+ return e(), r("div");
6
6
  }
7
7
  const m = /* @__PURE__ */ c(o, [["render", t]]);
8
8
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, ref as f, watch as p, createElementBlock as v, openBlock as m, createElementVNode as t, createVNode as a, Fragment as _, renderList as $ } from "vue";
1
+ import { defineComponent as d, ref as f, watch as p, openBlock as v, createElementBlock as m, createElementVNode as t, createVNode as a, Fragment as _, renderList as $ } from "vue";
2
2
  import { useRouter as C } from "vue-router";
3
3
  import { toCompon as b, toTests as k, toDevelop as g, toEdit as x } from "../../router/index.js";
4
4
  import E from "../compo/index.vue.js";
@@ -26,7 +26,7 @@ const j = { class: "main" }, w = { class: "main-top" }, D = { class: "main-compo
26
26
  function n(s) {
27
27
  s == 1 ? b(l, o.value) : s == 2 ? k(l, o.value) : s == 3 ? g(l, o.value) : s == 4 && x(l, o.value);
28
28
  }
29
- return (s, e) => (m(), v("div", j, [
29
+ return (s, e) => (v(), m("div", j, [
30
30
  t("div", w, [
31
31
  a(N, { value: u.value }, null, 8, ["value"])
32
32
  ]),
@@ -51,7 +51,7 @@ const j = { class: "main" }, w = { class: "main-top" }, D = { class: "main-compo
51
51
  onClick: e[3] || (e[3] = (i) => n(4))
52
52
  }, "编辑")
53
53
  ]),
54
- (m(!0), v(_, null, $(r.value, (i) => (m(), v("div", L, [
54
+ (v(!0), m(_, null, $(r.value, (i) => (v(), m("div", L, [
55
55
  a(T, { value: i }, null, 8, ["value"])
56
56
  ]))), 256)),
57
57
  t("div", O, [