@fangzhongya/vue-archive 0.0.2-33 → 0.0.2-34

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.
@@ -65236,11 +65236,14 @@ function setExpose(obj) {
65236
65236
  function addObj(value, type) {
65237
65237
  const ms = notesObj[type + "name"] || [];
65238
65238
  const name = _nullishCoalesce(value.name, () => ( value.props.name));
65239
- if (!ms.includes(name)) {
65240
- notesObj[type + "s"].push(value);
65241
- ms.push(name);
65242
- notesObj[type + "name"] = ms;
65243
- }
65239
+ const nis = ms.indexOf(name);
65240
+ if (nis >= 0) {
65241
+ notesObj[type + "s"].splice(nis, 1);
65242
+ ms.splice(nis, 1);
65243
+ }
65244
+ notesObj[type + "s"].push(value);
65245
+ ms.push(name);
65246
+ notesObj[type + "name"] = ms;
65244
65247
  }
65245
65248
  function init2() {
65246
65249
  Object.keys(notesObj).forEach((key) => {
@@ -65236,11 +65236,14 @@ function setExpose(obj) {
65236
65236
  function addObj(value, type) {
65237
65237
  const ms = notesObj[type + "name"] || [];
65238
65238
  const name = value.name ?? value.props.name;
65239
- if (!ms.includes(name)) {
65240
- notesObj[type + "s"].push(value);
65241
- ms.push(name);
65242
- notesObj[type + "name"] = ms;
65243
- }
65239
+ const nis = ms.indexOf(name);
65240
+ if (nis >= 0) {
65241
+ notesObj[type + "s"].splice(nis, 1);
65242
+ ms.splice(nis, 1);
65243
+ }
65244
+ notesObj[type + "s"].push(value);
65245
+ ms.push(name);
65246
+ notesObj[type + "name"] = ms;
65244
65247
  }
65245
65248
  function init2() {
65246
65249
  Object.keys(notesObj).forEach((key) => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../utils/index.cjs"),b=require("../../utils/glob.cjs"),a=require("../../utils/props.cjs"),p={titles:[],propss:[],slots:[],emitss:[],exposes:[]};function x(e,s){let t=e.charAt(0),l=[['"','"'],["'","'"],["`","`"],["(",")"],["{","}"],["[","]"]],o=l.map(c=>c[0]).indexOf(t);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 y(e){delete e.problems,delete e.source;let s=e.tag,t=e.name,l=e.description,r=e.default,o="";if(s=="default")t=t.trim(),t=x(t)||t;else if(s=="selectable")t=t.trim();else{if(t.includes("=")){const u=t.split("=");t=u[0];const h=u[1]+" "+l,d=x(h,!0);d?(r=d,l=h.replace(d,"")):r=e.default||u[1]||""}const n=/\s*\((.*)\)\s/gi.exec(l);n&&n.length>0&&(o=n[1],l=l.replace(n[0],""))}return e.name=t,e.default=r||"",e.description=l,e.selectable=o,e}function O(e){let s=["title","text","author","date"],t=f(e),l={};s.forEach(r=>{l[r]=t.obj[r]}),g(l),t.arr.forEach(r=>{m(r.key,r.value)})}function g(e){p.titles.push(e)}function T(e){let s=["props","name","type","default","selectable","description","descriptions"],t=f(e),l={};s.forEach(r=>{l[r]=t.obj[r]}),i(l,"props"),t.arr.forEach(r=>{m(r.key,r.value)})}function w(e){let s=["slot","name","selectable","description","descriptions"],t=f(e),l={};s.forEach(r=>{l[r]=t.obj[r]}),i(l,"slot"),t.arr.forEach(r=>{m(r.key,r.value)})}function P(e){let s=["emits","name","selectable","description","descriptions"],t=f(e),l={};s.forEach(r=>{l[r]=t.obj[r]}),i(l,"emits"),t.arr.forEach(r=>{m(r.key,r.value)})}function k(e){let s=["expose","name","type","selectable","description","descriptions"],t=f(e),l={};s.forEach(r=>{l[r]=t.obj[r]}),i(l,"expose"),t.arr.forEach(r=>{m(r.key,r.value)})}function i(e,s){const t=p[s+"name"]||[],l=e.name??e.props.name;t.includes(l)||(p[s+"s"].push(e),t.push(l),p[s+"name"]=t)}function q(){Object.keys(p).forEach(e=>{p[e]=[]})}function f(e,s){var r;const t={descriptions:(e==null?void 0:e.description)||""},l=[];return e!=null&&e.tags&&((r=e==null?void 0:e.tags)==null||r.forEach(o=>{let c=o.tag,n=y(o);if(!t.hasOwnProperty(c))t[c]=n;else{const u={};u[c]=n,l.push({key:c,value:u})}})),{arr:l,obj:t}}function m(e,s){switch(e){case"title":return g(s),!0;case"text":return g(s),!0;case"props":return i(s,"props"),!0;case"slot":return i(s,"slot"),!0;case"emits":return i(s,"emits"),!0;case"expose":return i(s,"expose"),!0;default:return!1}}function M(e,s){switch(e){case"title":return O(s),!0;case"props":return T(s),!0;case"slot":return w(s),!0;case"emits":return P(s),!0;case"expose":return k(s),!0;default:return!1}}function N(e){return q(),e==null||e.forEach(s=>{let t=(s==null?void 0:s.tags)||[],l=(t==null?void 0:t.length)||0;if(l>0)for(let r=0;r<l;r++){const o=t[r]||{};if(M(o.tag,s))break}}),p}function S(e){return new Promise(s=>{b.getLocalTextComponents(e).then(t=>{let l=E.getTextNotes(t);s(N(l))})})}const F=[{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}],K=[{label:"事件名",prop:"name",formatter:a.emits.name},{label:"说明",prop:"description",formatter:a.emits.description},{label:"回调参数",prop:"selectable",formatter:a.emits.selectable}],v=[{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}],z=[{label:"插槽名",prop:"name",formatter:a.slot.name},{label:"说明",prop:"description",formatter:a.slot.description},{label:"作用域参数",prop:"selectable",formatter:a.slot.selectable}];exports.getKeyMds=b.getKeyMds;exports.getNotes=S;exports.temits=K;exports.texpose=v;exports.tprops=F;exports.tslot=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("../../utils/index.cjs"),b=require("../../utils/glob.cjs"),a=require("../../utils/props.cjs"),c={titles:[],propss:[],slots:[],emitss:[],exposes:[]};function x(e,s){let r=e.charAt(0),l=[['"','"'],["'","'"],["`","`"],["(",")"],["{","}"],["[","]"]],o=l.map(i=>i[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 y(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=x(r)||r;else if(s=="selectable")r=r.trim();else{if(r.includes("=")){const u=r.split("=");r=u[0];const h=u[1]+" "+l,d=x(h,!0);d?(t=d,l=h.replace(d,"")):t=e.default||u[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}function O(e){let s=["title","text","author","date"],r=f(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),g(l),r.arr.forEach(t=>{m(t.key,t.value)})}function g(e){c.titles.push(e)}function T(e){let s=["props","name","type","default","selectable","description","descriptions"],r=f(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),p(l,"props"),r.arr.forEach(t=>{m(t.key,t.value)})}function w(e){let s=["slot","name","selectable","description","descriptions"],r=f(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),p(l,"slot"),r.arr.forEach(t=>{m(t.key,t.value)})}function P(e){let s=["emits","name","selectable","description","descriptions"],r=f(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),p(l,"emits"),r.arr.forEach(t=>{m(t.key,t.value)})}function k(e){let s=["expose","name","type","selectable","description","descriptions"],r=f(e),l={};s.forEach(t=>{l[t]=r.obj[t]}),p(l,"expose"),r.arr.forEach(t=>{m(t.key,t.value)})}function p(e,s){const r=c[s+"name"]||[],l=e.name??e.props.name,t=r.indexOf(l);t>=0&&(c[s+"s"].splice(t,1),r.splice(t,1)),c[s+"s"].push(e),r.push(l),c[s+"name"]=r}function q(){Object.keys(c).forEach(e=>{c[e]=[]})}function f(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 i=o.tag,n=y(o);if(!r.hasOwnProperty(i))r[i]=n;else{const u={};u[i]=n,l.push({key:i,value:u})}})),{arr:l,obj:r}}function m(e,s){switch(e){case"title":return g(s),!0;case"text":return g(s),!0;case"props":return p(s,"props"),!0;case"slot":return p(s,"slot"),!0;case"emits":return p(s,"emits"),!0;case"expose":return p(s,"expose"),!0;default:return!1}}function M(e,s){switch(e){case"title":return O(s),!0;case"props":return T(s),!0;case"slot":return w(s),!0;case"emits":return P(s),!0;case"expose":return k(s),!0;default:return!1}}function N(e){return q(),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(M(o.tag,s))break}}),c}function S(e){return new Promise(s=>{b.getLocalTextComponents(e).then(r=>{let l=E.getTextNotes(r);s(N(l))})})}const F=[{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}],K=[{label:"事件名",prop:"name",formatter:a.emits.name},{label:"说明",prop:"description",formatter:a.emits.description},{label:"回调参数",prop:"selectable",formatter:a.emits.selectable}],v=[{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}],z=[{label:"插槽名",prop:"name",formatter:a.slot.name},{label:"说明",prop:"description",formatter:a.slot.description},{label:"作用域参数",prop:"selectable",formatter:a.slot.selectable}];exports.getKeyMds=b.getKeyMds;exports.getNotes=S;exports.temits=K;exports.texpose=v;exports.tprops=F;exports.tslot=z;
@@ -2,7 +2,7 @@ import { getTextNotes as O } from "../../utils/index.js";
2
2
  import { getLocalTextComponents as T } from "../../utils/glob.js";
3
3
  import { getKeyMds as H } from "../../utils/glob.js";
4
4
  import { props as f, emits as h, expose as d, slot as x } from "../../utils/props.js";
5
- const i = {
5
+ const c = {
6
6
  titles: [],
7
7
  propss: [],
8
8
  slots: [],
@@ -10,14 +10,14 @@ const i = {
10
10
  exposes: []
11
11
  };
12
12
  function y(e, s) {
13
- let t = e.charAt(0), l = [
13
+ let r = e.charAt(0), l = [
14
14
  ['"', '"'],
15
15
  ["'", "'"],
16
16
  ["`", "`"],
17
17
  ["(", ")"],
18
18
  ["{", "}"],
19
19
  ["[", "]"]
20
- ], a = l.map((n) => n[0]).indexOf(t);
20
+ ], a = l.map((n) => n[0]).indexOf(r);
21
21
  if (a != -1) {
22
22
  let o = new RegExp(
23
23
  "^" + l[a][0] + "((.|\\n|\\r)+?)" + l[a][1] + (s ? "\\s" : ""),
@@ -29,22 +29,22 @@ function y(e, s) {
29
29
  }
30
30
  function w(e) {
31
31
  delete e.problems, delete e.source;
32
- let s = e.tag, t = e.name, l = e.description, r = e.default, a = "";
32
+ let s = e.tag, r = e.name, l = e.description, t = e.default, a = "";
33
33
  if (s == "default")
34
- t = t.trim(), t = y(t) || t;
34
+ r = r.trim(), r = y(r) || r;
35
35
  else if (s == "selectable")
36
- t = t.trim();
36
+ r = r.trim();
37
37
  else {
38
- if (t.includes("=")) {
39
- const p = t.split("=");
40
- t = p[0];
38
+ if (r.includes("=")) {
39
+ const p = r.split("=");
40
+ r = p[0];
41
41
  const E = p[1] + " " + l, g = y(E, !0);
42
- g ? (r = g, l = E.replace(g, "")) : r = e.default || p[1] || "";
42
+ g ? (t = g, l = E.replace(g, "")) : t = e.default || p[1] || "";
43
43
  }
44
44
  const o = /\s*\((.*)\)\s/gi.exec(l);
45
45
  o && o.length > 0 && (a = o[1], l = l.replace(o[0], ""));
46
46
  }
47
- return e.name = t, e.default = r || "", e.description = l, e.selectable = a, e;
47
+ return e.name = r, e.default = t || "", e.description = l, e.selectable = a, e;
48
48
  }
49
49
  function k(e) {
50
50
  let s = [
@@ -55,15 +55,15 @@ function k(e) {
55
55
  "date"
56
56
  // 'description',
57
57
  // 'descriptions',
58
- ], t = u(e), l = {};
59
- s.forEach((r) => {
60
- l[r] = t.obj[r];
61
- }), b(l), t.arr.forEach((r) => {
62
- m(r.key, r.value);
58
+ ], r = u(e), l = {};
59
+ s.forEach((t) => {
60
+ l[t] = r.obj[t];
61
+ }), b(l), r.arr.forEach((t) => {
62
+ m(t.key, t.value);
63
63
  });
64
64
  }
65
65
  function b(e) {
66
- i.titles.push(e);
66
+ c.titles.push(e);
67
67
  }
68
68
  function P(e) {
69
69
  let s = [
@@ -74,11 +74,11 @@ function P(e) {
74
74
  "selectable",
75
75
  "description",
76
76
  "descriptions"
77
- ], t = u(e), l = {};
78
- s.forEach((r) => {
79
- l[r] = t.obj[r];
80
- }), c(l, "props"), t.arr.forEach((r) => {
81
- m(r.key, r.value);
77
+ ], r = u(e), l = {};
78
+ s.forEach((t) => {
79
+ l[t] = r.obj[t];
80
+ }), i(l, "props"), r.arr.forEach((t) => {
81
+ m(t.key, t.value);
82
82
  });
83
83
  }
84
84
  function F(e) {
@@ -88,11 +88,11 @@ function F(e) {
88
88
  "selectable",
89
89
  "description",
90
90
  "descriptions"
91
- ], t = u(e), l = {};
92
- s.forEach((r) => {
93
- l[r] = t.obj[r];
94
- }), c(l, "slot"), t.arr.forEach((r) => {
95
- m(r.key, r.value);
91
+ ], r = u(e), l = {};
92
+ s.forEach((t) => {
93
+ l[t] = r.obj[t];
94
+ }), i(l, "slot"), r.arr.forEach((t) => {
95
+ m(t.key, t.value);
96
96
  });
97
97
  }
98
98
  function N(e) {
@@ -102,11 +102,11 @@ function N(e) {
102
102
  "selectable",
103
103
  "description",
104
104
  "descriptions"
105
- ], t = u(e), l = {};
106
- s.forEach((r) => {
107
- l[r] = t.obj[r];
108
- }), c(l, "emits"), t.arr.forEach((r) => {
109
- m(r.key, r.value);
105
+ ], r = u(e), l = {};
106
+ s.forEach((t) => {
107
+ l[t] = r.obj[t];
108
+ }), i(l, "emits"), r.arr.forEach((t) => {
109
+ m(t.key, t.value);
110
110
  });
111
111
  }
112
112
  function z(e) {
@@ -117,31 +117,31 @@ function z(e) {
117
117
  "selectable",
118
118
  "description",
119
119
  "descriptions"
120
- ], t = u(e), l = {};
121
- s.forEach((r) => {
122
- l[r] = t.obj[r];
123
- }), c(l, "expose"), t.arr.forEach((r) => {
124
- m(r.key, r.value);
120
+ ], r = u(e), l = {};
121
+ s.forEach((t) => {
122
+ l[t] = r.obj[t];
123
+ }), i(l, "expose"), r.arr.forEach((t) => {
124
+ m(t.key, t.value);
125
125
  });
126
126
  }
127
- function c(e, s) {
128
- const t = i[s + "name"] || [], l = e.name ?? e.props.name;
129
- t.includes(l) || (i[s + "s"].push(e), t.push(l), i[s + "name"] = t);
127
+ function i(e, s) {
128
+ const r = c[s + "name"] || [], l = e.name ?? e.props.name, t = r.indexOf(l);
129
+ t >= 0 && (c[s + "s"].splice(t, 1), r.splice(t, 1)), c[s + "s"].push(e), r.push(l), c[s + "name"] = r;
130
130
  }
131
131
  function A() {
132
- Object.keys(i).forEach((e) => {
133
- i[e] = [];
132
+ Object.keys(c).forEach((e) => {
133
+ c[e] = [];
134
134
  });
135
135
  }
136
136
  function u(e, s) {
137
- var r;
138
- const t = {
137
+ var t;
138
+ const r = {
139
139
  descriptions: (e == null ? void 0 : e.description) || ""
140
140
  }, l = [];
141
- return e != null && e.tags && ((r = e == null ? void 0 : e.tags) == null || r.forEach((a) => {
141
+ return e != null && e.tags && ((t = e == null ? void 0 : e.tags) == null || t.forEach((a) => {
142
142
  let n = a.tag, o = w(a);
143
- if (!t.hasOwnProperty(n))
144
- t[n] = o;
143
+ if (!r.hasOwnProperty(n))
144
+ r[n] = o;
145
145
  else {
146
146
  const p = {};
147
147
  p[n] = o, l.push({
@@ -151,7 +151,7 @@ function u(e, s) {
151
151
  }
152
152
  })), {
153
153
  arr: l,
154
- obj: t
154
+ obj: r
155
155
  };
156
156
  }
157
157
  function m(e, s) {
@@ -161,13 +161,13 @@ function m(e, s) {
161
161
  case "text":
162
162
  return b(s), !0;
163
163
  case "props":
164
- return c(s, "props"), !0;
164
+ return i(s, "props"), !0;
165
165
  case "slot":
166
- return c(s, "slot"), !0;
166
+ return i(s, "slot"), !0;
167
167
  case "emits":
168
- return c(s, "emits"), !0;
168
+ return i(s, "emits"), !0;
169
169
  case "expose":
170
- return c(s, "expose"), !0;
170
+ return i(s, "expose"), !0;
171
171
  default:
172
172
  return !1;
173
173
  }
@@ -190,19 +190,19 @@ function C(e, s) {
190
190
  }
191
191
  function D(e) {
192
192
  return A(), e == null || e.forEach((s) => {
193
- let t = (s == null ? void 0 : s.tags) || [], l = (t == null ? void 0 : t.length) || 0;
193
+ let r = (s == null ? void 0 : s.tags) || [], l = (r == null ? void 0 : r.length) || 0;
194
194
  if (l > 0)
195
- for (let r = 0; r < l; r++) {
196
- const a = t[r] || {};
195
+ for (let t = 0; t < l; t++) {
196
+ const a = r[t] || {};
197
197
  if (C(a.tag, s))
198
198
  break;
199
199
  }
200
- }), i;
200
+ }), c;
201
201
  }
202
202
  function R(e) {
203
203
  return new Promise((s) => {
204
- T(e).then((t) => {
205
- let l = O(t);
204
+ T(e).then((r) => {
205
+ let l = O(r);
206
206
  s(D(l));
207
207
  });
208
208
  });
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- :root{--bor-cor: rgb(239, 248, 255);--but-cor: rgb(27, 155, 253);--but-hover-cor: rgb(0, 145, 255);--bg-but-hover-cor: rgb(128, 199, 253);--bg-aside-cor: rgb(228, 251, 197);--bg-aside-on-cor: rgb(78, 250, 87);--bg-index-cor: rgb(248, 248, 248);--bg-table-th-cor: rgb(207, 246, 251);--bg-table-td-cor: rgb(221, 243, 246);--bg-test-cor: rgb(236 255 236);--bg-test-err-cor: rgb(255, 210, 210);--bg-test-pro-cor: rgb(203, 246, 255);--bg-test-err-pro-cor: rgb(251, 203, 255);--te-test-err-cor: rgb(247, 56, 56);--te-test-pro-cor: rgb(106, 131, 255);--bg-test-body: rgb(255, 255, 255);--bg-code-highlig: rgb(255, 251, 223);--bg-box-cor: rgb(198, 198, 198);--bg-md-cor: rgb(255, 233, 243);--bg-use-cor: rgb(193, 219, 255);--bg-use-component-cor: rgb(246, 246, 246);--text-cor: rgb(0, 0, 0);--fs-1: 12px;--fs-2: 14px;--fs-3: 16px;--fs-4: 18px;--fs-5: 20px}.__document{position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:auto;text-align:left;width:100%;height:100%;padding:0;margin:0}.__document .but-div{cursor:pointer;color:var(--but-cor);padding:5px 10px}.__document .but-div:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside{padding:20px 0}.__document .aside .aside-li{padding:5px 10px;height:60px;font-size:20px;font-weight:600;border-bottom:1px solid var(--bor-cor);cursor:pointer;display:flex;flex-direction:row;align-items:center}.__document .aside .aside-li:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside .aside-li.on{background-color:var(--bg-aside-on-cor)}.__document .aside .aside-li .aside-li-name{width:100%}.__document .aside .aside-li .aside-li-name .aside-li-name-alias{font-size:var(--fs-2)}.__document .aside .aside-li .aside-li-name .aside-li-name-aliass{font-size:var(--fs-1)}.__document .md{position:relative}.__document .use .use-component{padding:10px;display:flex;justify-content:center;align-items:center;height:300px;background-color:var(--bg-use-component-cor)}.__document .set-code .set-code-buts{display:flex;align-items:center}.__document .form-item.error{background-color:var(--te-test-err-cor)}.__document .compo .compo-top .compo-top-name{padding:10px;font-size:var(--fs-4)}.__document .compo .compo-top .compo-top-name .compo-top-name-li{font-size:var(--fs-2)}.__document .compo .compo-top .compo-top-info{padding:10px;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-info .compo-top-athor,.__document .compo .compo-top .compo-top-info .compo-top-date{flex:1;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-descriptions{padding:0 10px;font-size:var(--fs-2)}.__document .compo .compo-li h4{margin:10px 0 0;padding:10px}.__document .compo .compo-li .compo-talbe{width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body{border:1px solid var(--bor-cor);width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body td,.__document .compo .compo-li .compo-talbe .compo-talbe-body th{padding:5px 10px;border-bottom:1px solid var(--bor-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body th{background-color:var(--bg-table-th-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body td{background-color:var(--bg-table-td-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body tr:last-child td{border-bottom:0}.__document .compo .compo-li .compo-talbe .compo-talbe-body .compo-talbe-zw{width:100%;text-align:center;padding:10px}.__document .compo .compo-md{padding:10px;background-color:var(--bg-md-cor)}.__document .compo .compo-use{padding:10px;background-color:var(--bg-use-cor)}.__document .main .main-but{text-align:right;display:flex;flex-direction:row;align-items:center}.__document .test.error .test-top{background-color:var(--bg-test-err-cor)}.__document .test.proposal .test-top{background-color:var(--bg-test-pro-cor)}.__document .test.error-proposal .test-top{background-color:var(--bg-test-err-pro-cor)}.__document .test .test-top{padding:5px;background-color:var(--bg-test-cor)}.__document .test .test-top .test-top-error{color:var(--te-test-err-cor)}.__document .test .test-top .test-top-proposal{color:var(--te-test-pro-cor)}.__document .test .test-div .test-body{padding:5px;background-color:var(--bg-test-body)}.__document .code{padding:0}.__document .code .code-top .code-top-but,.__document .code .code-top .code-top-but .top-but-files{display:flex;flex-direction:row;align-items:center}.__document .code .code-highlightjs{padding:0}.__document .code .code-highlightjs .hljs{background-color:var(--bg-code-highlig)}.__document .box-url{position:relative}.__document .box-url:hover .box-url-box{display:block}.__document .box-url .box-url-box{position:fixed;top:25px;display:none;background-color:var(--bg-box-cor);font-size:var(--fs-1);color:var(--text-cor);z-index:100000}.__document .box-url .box-url-box .box-div-li{height:20px;line-height:20px;display:flex;flex-direction:row;align-items:center}.__document .box-url .box-url-box .box-div-li .box-div-li-span{white-space:nowrap;padding:5px 10px}.__document .__document-index{width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:row}.__document .__document-index .index-aside{width:250px;position:relative;z-index:100}.__document .__document-index .index-aside .index-aside-div{height:100%;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-index .index-body{flex:1;position:relative;background-color:var(--bg-index-cor)}.__document .__document-index .index-body .index-div{padding:20px;position:absolute;top:0;right:0;left:0;bottom:0;overflow-y:auto}.__document .__document-tests{padding:10px;height:100%;position:relative}.__document .__document-tests .tests-top .but-div.on{background-color:var(--bg-aside-on-cor)}.__document .__document-develop,.__document .__document-single{padding:10px;height:100%;position:relative}.__document .__document-single .single-top .single-top-li{display:flex;flex-direction:row;align-items:center}.__document .__document-single .single-top .single-top-li .single-top-li-span{padding:5px 10px}.__document .__document-compon{padding:10px;height:100%;position:relative}.__document .__document-compon .__document-compon-body.choice{padding-left:30px}.__document .__document-compon .__document-compon-choice{position:absolute;top:0;bottom:0;left:0;z-index:100;display:flex;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but{cursor:pointer}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.form-select .form-select-box{position:absolute;z-index:100;background-color:#fff;text-align:center}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
1
+ :root{--bor-cor: rgb(239, 248, 255);--but-cor: rgb(27, 155, 253);--but-hover-cor: rgb(0, 145, 255);--bg-but-hover-cor: rgb(128, 199, 253);--bg-aside-cor: rgb(228, 251, 197);--bg-aside-on-cor: rgb(78, 250, 87);--bg-index-cor: rgb(248, 248, 248);--bg-table-th-cor: rgb(207, 246, 251);--bg-table-td-cor: rgb(221, 243, 246);--bg-test-cor: rgb(236 255 236);--bg-test-err-cor: rgb(255, 210, 210);--bg-test-pro-cor: rgb(203, 246, 255);--bg-test-err-pro-cor: rgb(251, 203, 255);--te-test-err-cor: rgb(247, 56, 56);--te-test-pro-cor: rgb(106, 131, 255);--bg-test-body: rgb(255, 255, 255);--bg-code-highlig: rgb(255, 251, 223);--bg-box-cor: rgb(198, 198, 198);--bg-md-cor: rgb(255, 233, 243);--bg-use-cor: rgb(193, 219, 255);--bg-use-component-cor: rgb(246, 246, 246);--text-cor: rgb(0, 0, 0);--fs-1: 12px;--fs-2: 14px;--fs-3: 16px;--fs-4: 18px;--fs-5: 20px}.__document{position:fixed;top:0;left:0;width:100vw;height:100vh;overflow:auto;text-align:left;width:100%;height:100%;padding:0;margin:0}.__document .but-div{cursor:pointer;color:var(--but-cor);padding:5px 10px}.__document .but-div:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside{padding:20px 0}.__document .aside .aside-li{padding:5px 10px;height:60px;font-size:20px;font-weight:600;border-bottom:1px solid var(--bor-cor);cursor:pointer;display:flex;flex-direction:row;align-items:center}.__document .aside .aside-li:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__document .aside .aside-li.on{background-color:var(--bg-aside-on-cor)}.__document .aside .aside-li .aside-li-name{width:100%}.__document .aside .aside-li .aside-li-name .aside-li-name-alias{font-size:var(--fs-2)}.__document .aside .aside-li .aside-li-name .aside-li-name-aliass{font-size:var(--fs-1)}.__document .md{position:relative}.__document .use .use-component{padding:10px;display:flex;justify-content:center;align-items:center;height:300px;background-color:var(--bg-use-component-cor)}.__document .set-code .set-code-buts{display:flex;align-items:center}.__document .form-item.error{background-color:var(--te-test-err-cor)}.__document .compo .compo-top .compo-top-name{padding:10px;font-size:var(--fs-4)}.__document .compo .compo-top .compo-top-name .compo-top-name-li{font-size:var(--fs-2)}.__document .compo .compo-top .compo-top-info{padding:10px;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-info .compo-top-athor,.__document .compo .compo-top .compo-top-info .compo-top-date{flex:1;display:flex;flex-direction:row;align-items:center}.__document .compo .compo-top .compo-top-descriptions{padding:0 10px;font-size:var(--fs-2)}.__document .compo .compo-li h4{margin:10px 0 0;padding:10px}.__document .compo .compo-li .compo-talbe{width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body{border:1px solid var(--bor-cor);width:100%}.__document .compo .compo-li .compo-talbe .compo-talbe-body td,.__document .compo .compo-li .compo-talbe .compo-talbe-body th{padding:5px 10px;border-bottom:1px solid var(--bor-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body th{background-color:var(--bg-table-th-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body td{background-color:var(--bg-table-td-cor)}.__document .compo .compo-li .compo-talbe .compo-talbe-body tr:last-child td{border-bottom:0}.__document .compo .compo-li .compo-talbe .compo-talbe-body .compo-talbe-zw{width:100%;text-align:center;padding:10px}.__document .compo .compo-md{padding:10px;background-color:var(--bg-md-cor)}.__document .compo .compo-use{padding:10px;background-color:var(--bg-use-cor)}.__document .main .main-but{text-align:right;display:flex;flex-direction:row;align-items:center}.__document .test.error .test-top{background-color:var(--bg-test-err-cor)}.__document .test.proposal .test-top{background-color:var(--bg-test-pro-cor)}.__document .test.error-proposal .test-top{background-color:var(--bg-test-err-pro-cor)}.__document .test .test-top{padding:5px;background-color:var(--bg-test-cor)}.__document .test .test-top .test-top-error{color:var(--te-test-err-cor)}.__document .test .test-top .test-top-proposal{color:var(--te-test-pro-cor)}.__document .test .test-div .test-body{padding:5px;background-color:var(--bg-test-body)}.__document .code{padding:0}.__document .code .code-top .code-top-but,.__document .code .code-top .code-top-but .top-but-files{display:flex;flex-direction:row;align-items:center}.__document .code .code-highlightjs{padding:0}.__document .code .code-highlightjs .hljs{background-color:var(--bg-code-highlig)}.__document .box-url{position:relative}.__document .box-url:hover .box-url-box{display:block}.__document .box-url .box-url-box{position:fixed;top:25px;display:none;background-color:var(--bg-box-cor);font-size:var(--fs-1);color:var(--text-cor);z-index:100000}.__document .box-url .box-url-box .box-div-li{height:20px;line-height:20px;display:flex;flex-direction:row;align-items:center}.__document .box-url .box-url-box .box-div-li .box-div-li-span{white-space:nowrap;padding:5px 10px}.__document .__document-index{width:100%;height:100%;padding:0;margin:0;display:flex;flex-direction:row}.__document .__document-index .index-aside{width:250px;position:relative;z-index:100}.__document .__document-index .index-aside .index-aside-div{height:100%;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-index .index-body{flex:1;position:relative;background-color:var(--bg-index-cor)}.__document .__document-index .index-body .index-div{padding:20px;position:absolute;top:0;right:0;left:0;bottom:0;overflow-y:auto}.__document .__document-tests{padding:10px;height:100%;position:relative}.__document .__document-tests .tests-top .but-div.on{background-color:var(--bg-aside-on-cor)}.__document .__document-develop,.__document .__document-single{padding:10px;height:100%;position:relative}.__document .__document-single .single-top .single-top-li{display:flex;flex-direction:row;align-items:center}.__document .__document-single .single-top .single-top-li .single-top-li-span{padding:5px 10px}.__document .__document-compon{padding:10px;height:100%;position:relative}.__document .__document-compon .__document-compon-body.choice{padding-left:30px}.__document .__document-compon .__document-compon-choice{position:absolute;top:0;bottom:0;left:0;z-index:100;display:flex;overflow-y:auto;background-color:var(--bg-aside-cor)}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but{cursor:pointer}.__document .__document-compon .__document-compon-choice .__document-compon-choice-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
2
2
  Theme: StackOverflow Light
3
3
  Description: Light theme as used on stackoverflow.com
4
4
  Author: stackoverflow.com
@@ -10,4 +10,4 @@
10
10
  Updated for @stackoverflow/stacks v0.64.0
11
11
  Code Blocks: /blob/v0.64.0/lib/css/components/_stacks-code-blocks.less
12
12
  Colors: /blob/v0.64.0/lib/css/exports/_stacks-constants-colors.less
13
- */.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-attr,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-section,.hljs-selector-tag{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-number,.hljs-quote,.hljs-selector-id,.hljs-template-tag,.hljs-type{color:#b75501}.hljs-selector-class{color:#015692}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-string,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-literal,.hljs-title{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.form-select{position:relative}.form-select .form-select-box{position:absolute;background-color:#fff;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #fff}.form-select .form-select-box .form-select-list-div .form-select-list-li{padding:10px;border-bottom:1px solid #eee}.form-select .form-select-box .form-select-list-div .form-select-list-li:last-child{border:0}.form-select .form-select-box .form-select-list-div .form-select-list-li.active{color:#0051ff}
13
+ */.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-attr,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-section,.hljs-selector-tag{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-number,.hljs-quote,.hljs-selector-id,.hljs-template-tag,.hljs-type{color:#b75501}.hljs-selector-class{color:#015692}.hljs-link,.hljs-regexp,.hljs-selector-attr,.hljs-string,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-literal,.hljs-title{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.form-select .form-select-box{position:absolute;z-index:100;background-color:#fff;text-align:center}.form-select{position:relative}.form-select .form-select-box{position:absolute;background-color:#fff;text-align:center}.form-select .form-select-box .form-select-list-div{border:1px solid #fff}.form-select .form-select-box .form-select-list-div .form-select-list-li{padding:10px;border-bottom:1px solid #eee}.form-select .form-select-box .form-select-list-div .form-select-list-li:last-child{border:0}.form-select .form-select-box .form-select-list-div .form-select-list-li.active{color:#0051ff}
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-33",
4
+ "version": "0.0.2-34",
5
5
  "type": "module",
6
6
  "description ": "vue 组件注释生成文档",
7
7
  "author": "fangzhongya ",