@fangzhongya/vue-archive 0.0.2-26 → 0.0.2-28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/index.cjs +11 -8
- package/dist/node/index.js +11 -8
- package/dist/packages/utils/glob.cjs +1 -1
- package/dist/packages/utils/glob.js +7 -7
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/node/index.cjs
CHANGED
|
@@ -64470,7 +64470,7 @@ function getexamplesRawObj(comRaw, key) {
|
|
|
64470
64470
|
return comRaw;
|
|
64471
64471
|
}
|
|
64472
64472
|
}
|
|
64473
|
-
async function getImport(text, type
|
|
64473
|
+
async function getImport(text, type) {
|
|
64474
64474
|
let jstext = "";
|
|
64475
64475
|
if (type == "vue") {
|
|
64476
64476
|
const reg = new RegExp(
|
|
@@ -64480,9 +64480,7 @@ async function getImport(text, type = "vue") {
|
|
|
64480
64480
|
if (zz) {
|
|
64481
64481
|
jstext = zz[3];
|
|
64482
64482
|
}
|
|
64483
|
-
} else if (type == "js") {
|
|
64484
|
-
jstext = text;
|
|
64485
|
-
} else if (type == "ts") {
|
|
64483
|
+
} else if (type == "js" || type == "ts" || type == "") {
|
|
64486
64484
|
jstext = text;
|
|
64487
64485
|
}
|
|
64488
64486
|
if (jstext) {
|
|
@@ -66369,19 +66367,24 @@ function getData(value) {
|
|
|
66369
66367
|
});
|
|
66370
66368
|
}
|
|
66371
66369
|
function setValue(data, item, index, key) {
|
|
66370
|
+
let v;
|
|
66372
66371
|
if (item.formatter) {
|
|
66373
|
-
|
|
66372
|
+
v = item.formatter(data, item, index, key);
|
|
66374
66373
|
} else if (item.prop) {
|
|
66375
|
-
|
|
66374
|
+
v = data[item.prop];
|
|
66376
66375
|
} else {
|
|
66377
|
-
|
|
66376
|
+
v = "";
|
|
66378
66377
|
}
|
|
66378
|
+
v = v.toString();
|
|
66379
|
+
return v.replace(/</g, "<").replace(/>/g, ">");
|
|
66379
66380
|
}
|
|
66380
66381
|
function getlistDom(arr, t, list) {
|
|
66381
66382
|
const arrs = [];
|
|
66382
66383
|
const ths = [];
|
|
66383
66384
|
list.forEach((item) => {
|
|
66384
|
-
|
|
66385
|
+
let v = _optionalChain([item, 'optionalAccess', _63 => _63.label]) || "";
|
|
66386
|
+
v = v.replace(/</g, "<").replace(/>/g, ">");
|
|
66387
|
+
ths.push(setHtml("th", {}, [v]));
|
|
66385
66388
|
});
|
|
66386
66389
|
let trli;
|
|
66387
66390
|
if (arr && arr.length > 0) {
|
package/dist/node/index.js
CHANGED
|
@@ -64470,7 +64470,7 @@ function getexamplesRawObj(comRaw, key) {
|
|
|
64470
64470
|
return comRaw;
|
|
64471
64471
|
}
|
|
64472
64472
|
}
|
|
64473
|
-
async function getImport(text, type
|
|
64473
|
+
async function getImport(text, type) {
|
|
64474
64474
|
let jstext = "";
|
|
64475
64475
|
if (type == "vue") {
|
|
64476
64476
|
const reg = new RegExp(
|
|
@@ -64480,9 +64480,7 @@ async function getImport(text, type = "vue") {
|
|
|
64480
64480
|
if (zz) {
|
|
64481
64481
|
jstext = zz[3];
|
|
64482
64482
|
}
|
|
64483
|
-
} else if (type == "js") {
|
|
64484
|
-
jstext = text;
|
|
64485
|
-
} else if (type == "ts") {
|
|
64483
|
+
} else if (type == "js" || type == "ts" || type == "") {
|
|
64486
64484
|
jstext = text;
|
|
64487
64485
|
}
|
|
64488
64486
|
if (jstext) {
|
|
@@ -66369,19 +66367,24 @@ function getData(value) {
|
|
|
66369
66367
|
});
|
|
66370
66368
|
}
|
|
66371
66369
|
function setValue(data, item, index, key) {
|
|
66370
|
+
let v;
|
|
66372
66371
|
if (item.formatter) {
|
|
66373
|
-
|
|
66372
|
+
v = item.formatter(data, item, index, key);
|
|
66374
66373
|
} else if (item.prop) {
|
|
66375
|
-
|
|
66374
|
+
v = data[item.prop];
|
|
66376
66375
|
} else {
|
|
66377
|
-
|
|
66376
|
+
v = "";
|
|
66378
66377
|
}
|
|
66378
|
+
v = v.toString();
|
|
66379
|
+
return v.replace(/</g, "<").replace(/>/g, ">");
|
|
66379
66380
|
}
|
|
66380
66381
|
function getlistDom(arr, t, list) {
|
|
66381
66382
|
const arrs = [];
|
|
66382
66383
|
const ths = [];
|
|
66383
66384
|
list.forEach((item) => {
|
|
66384
|
-
|
|
66385
|
+
let v = item?.label || "";
|
|
66386
|
+
v = v.replace(/</g, "<").replace(/>/g, ">");
|
|
66387
|
+
ths.push(setHtml("th", {}, [v]));
|
|
66385
66388
|
});
|
|
66386
66389
|
let trli;
|
|
66387
66390
|
if (arr && arr.length > 0) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../config.cjs"),p=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"),C=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),j=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs"),y=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"),K=require("./index.cjs"),f={},O={},P=[],q={},A={},d={};function b(){return N.getConfig("example")}function M(e,t,s){const n=Object.assign({exampless:[],examplessRaw:[]},t,s),r=[],a=n.examples;a&&Object.keys(a).forEach(o=>{r.push(o),A[o]=a[o]});const i=n.examplesRaw,l=[];n.urls&&n.urls.length>0?(n.exampless=n.urls,n.urls.forEach(o=>{l.push(o),i&&(d[o]=L(i,o))})):(n.exampless=r,i&&Object.keys(i).forEach(o=>{l.push(o),i&&(d[o]=L(i,o))})),n.examples=void 0,n.examplessRaw=l,n.examplesRaw=void 0,q[e]=n}function L(e,t){return typeof e=="function"?e:e&&(e[t]||e)}async function H(e,t
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../config.cjs"),p=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"),C=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),j=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs"),y=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"),K=require("./index.cjs"),f={},O={},P=[],q={},A={},d={};function b(){return N.getConfig("example")}function M(e,t,s){const n=Object.assign({exampless:[],examplessRaw:[]},t,s),r=[],a=n.examples;a&&Object.keys(a).forEach(o=>{r.push(o),A[o]=a[o]});const i=n.examplesRaw,l=[];n.urls&&n.urls.length>0?(n.exampless=n.urls,n.urls.forEach(o=>{l.push(o),i&&(d[o]=L(i,o))})):(n.exampless=r,i&&Object.keys(i).forEach(o=>{l.push(o),i&&(d[o]=L(i,o))})),n.examples=void 0,n.examplessRaw=l,n.examplesRaw=void 0,q[e]=n}function L(e,t){return typeof e=="function"?e:e&&(e[t]||e)}async function H(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 K.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 I(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 k(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 U(e,t,s){var l,o;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"?(l=t.aliasNames)==null||l.forEach(c=>{r.push(w.humpToLine(c))}):e=="9"&&(r.push(n),(o=t.aliasNames)==null||o.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,C.firstLower(u))}):s==="2"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(c,u,C.firstLower(u))}):i=[...r],i=[...new Set(i)],i}function V(e,t,s,n){const r=[];return s.examplessRaw.forEach(a=>{for(let i=0;i<t.length;i++){const l=t[i];if(a==e+l+"/"+s.md+".md"){r.push({topurl:e,comkey:n.key,suffix:x.getSuffix(a),name:n.name,value:l,key:a,raw:"",getRaw:p.getRawValue(d,a)});break}}}),r}function R(e){h();const t=f[e];if(t.tests)return t.tests;{const s=q[t.dir],n=s.dir+k(s.level||0,t),r=U(s.aliaslevel||0,t,s.componentName||0);t.mds=V(n,r,s,t);const a={};return s.exampless.forEach(i=>{for(let l=0;l<r.length;l++){const o=r[l];if(i.startsWith(n+o+"/")){const c=new RegExp("^\\"+n+o+"/(.*)/index\\."+p.defaultExtensions.join("|")+"$");let u="",m=i.match(c);m&&m.length>1&&(u=m[1]),a[i]={topurl:n,name:o,value:u,suffix:x.getSuffix(i),comname:t.name,comkey:t.key,key:i,component:A[i],raw:"",getRaw:p.getRawValue(d,i)};break}}}),t.tests=a,a}}function W(e){if(e){const t=R(e);return Object.values(t)}else return[]}function B(e,t,s){h();const n=R(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 D(e){return R(e),f[e].mds}async function T(e,t,s){let n=await H(t,s)||[],r=e.split("/");return n.map(a=>{if(a.startsWith("./")){let i=r.slice(0,r.length-1).join("/"),l=a.substring(2);return{name:a,value:l,suffix:x.getSuffix(a),head:i,key:i+"/"+l}}else{let i=a.split("/"),l=0;for(let m=0;m<i.length;m++)if(i[m]!=".."){l=m;break}let o=i.slice(l,i.length),c=r.slice(0,r.length-l-1).join("/"),u=o.join("/");return{name:a,value:u,suffix:x.getSuffix(a),head:c,key:c+"/"+u}}})}function F(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:p.getRawValue(d,n.key)}));y.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(l=>{const o=(l||"")+"";a.raw=o,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}function J(){const e=b(),t=N.getConfig("components");t==null||t.forEach(s=>{var r;Q(s);let n=s.dir||((r=s==null?void 0:s.resolver)==null?void 0:r.dir)||"";M(n,e,s.example)})}const g="default";function X(e){let t=w.humpToLine(e.name),s=[...e.aliasNames];s.push(t),s.forEach(n=>{P.push({name:n,value:e.key})})}function Z(e,t){const s={};t==null||t.forEach(n=>{f[n.key]=n,X(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 Q(e){var n;let t,s;if(e.resolver)t=e.alias||((n=e.resolver)==null?void 0:n.alias)||g,s=p.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=p.getComponentsArr(r,e,e.componentsRaw,e.components,e)}s&&(s!=null&&s.props)&&s.props.forEach(r=>{O[r.key]=r}),Z(t,s.components)}function $(e){return h(),f[e]}function h(){return Object.keys(f).length==0&&J(),Object.values(f)}function G(e,t,s){h();const n=[];if(s){let a=f[s];if(a&&a.key)return[a]}let r=w.humpToLine(e);return P.forEach(a=>{t?a.name.includes(r)&&n.push(f[a.value]):a.name==r&&n.push(f[a.value])}),j.duplicateRemoval(n,"key")}async function Y(e,t){let s=e;if(e){let n=(await T(t.key,e,t.suffix)).filter(r=>r.key.startsWith(t.head));s+=await S(n)}return s}function _(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>O[n.key]||O[n.key+".js"]||O[n.key+".ts"]);y.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(async l=>{const o=(l||"")+"";let c=await Y(o,e[i]);a.raw=c,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}async function S(e){const t=await _(e);return((t==null?void 0:t.map(n=>n.raw))||[]).join(`
|
|
2
2
|
`)}async function z(e,t){let s=e;if(e&&(t.comprops||t.curprops)){let n=(await T(t.key,e,t.suffix)).filter(a=>p.isComprops(a.name,t.comprops||"")||p.isCurprops(a.name,t.curprops||"")),r=await S(n);s+=r}return s}function v(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 z(r,s);s.raw=a,s.getRaw=null,t(a)}):t(""):t("")}else t("")})}exports.defaultName=g;exports.getCompoName=G;exports.getCompoNameKey=$;exports.getCompoNameObj=h;exports.getKeyMds=D;exports.getLocalTextArr=F;exports.getLocalTextComponents=v;exports.getLocalTextTests=I;exports.getTestImportUrl=T;exports.getTestName=W;exports.getTestNameObj=B;
|
|
@@ -7,7 +7,7 @@ import { duplicateRemoval as U } from "../../node_modules/.pnpm/@fangzhongya_uti
|
|
|
7
7
|
import { asyncMergeArray as L } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js";
|
|
8
8
|
import { getSuffix as g } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-16/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
|
|
9
9
|
import { getTextImport as S } from "./index.js";
|
|
10
|
-
const u = {}, d = {}, j = [],
|
|
10
|
+
const u = {}, d = {}, j = [], W = {}, y = {}, w = {};
|
|
11
11
|
function V() {
|
|
12
12
|
return P("example");
|
|
13
13
|
}
|
|
@@ -21,7 +21,7 @@ function F(e, t, s) {
|
|
|
21
21
|
s
|
|
22
22
|
), r = [], a = n.examples;
|
|
23
23
|
a && Object.keys(a).forEach((o) => {
|
|
24
|
-
r.push(o),
|
|
24
|
+
r.push(o), y[o] = a[o];
|
|
25
25
|
});
|
|
26
26
|
const i = n.examplesRaw, l = [];
|
|
27
27
|
n.urls && n.urls.length > 0 ? (n.exampless = n.urls, n.urls.forEach((o) => {
|
|
@@ -34,12 +34,12 @@ function F(e, t, s) {
|
|
|
34
34
|
i,
|
|
35
35
|
o
|
|
36
36
|
));
|
|
37
|
-
})), n.examples = void 0, n.examplessRaw = l, n.examplesRaw = void 0,
|
|
37
|
+
})), n.examples = void 0, n.examplessRaw = l, n.examplesRaw = void 0, W[e] = n;
|
|
38
38
|
}
|
|
39
39
|
function N(e, t) {
|
|
40
40
|
return typeof e == "function" ? e : e && (e[t] || e);
|
|
41
41
|
}
|
|
42
|
-
async function H(e, t
|
|
42
|
+
async function H(e, t) {
|
|
43
43
|
let s = "";
|
|
44
44
|
if (t == "vue") {
|
|
45
45
|
let r = new RegExp(
|
|
@@ -47,7 +47,7 @@ async function H(e, t = "vue") {
|
|
|
47
47
|
).exec(e);
|
|
48
48
|
r && (s = r[3]);
|
|
49
49
|
} else
|
|
50
|
-
(t == "js" || t == "ts") && (s = e);
|
|
50
|
+
(t == "js" || t == "ts" || t == "") && (s = e);
|
|
51
51
|
if (s) {
|
|
52
52
|
const n = await S(s);
|
|
53
53
|
let r = n == null ? void 0 : n.map((i) => i.n);
|
|
@@ -143,7 +143,7 @@ function O(e) {
|
|
|
143
143
|
if (t.tests)
|
|
144
144
|
return t.tests;
|
|
145
145
|
{
|
|
146
|
-
const s =
|
|
146
|
+
const s = W[t.dir], n = s.dir + $(s.level || 0, t), r = q(
|
|
147
147
|
s.aliaslevel || 0,
|
|
148
148
|
t,
|
|
149
149
|
s.componentName || 0
|
|
@@ -166,7 +166,7 @@ function O(e) {
|
|
|
166
166
|
comname: t.name,
|
|
167
167
|
comkey: t.key,
|
|
168
168
|
key: i,
|
|
169
|
-
component:
|
|
169
|
+
component: y[i],
|
|
170
170
|
raw: "",
|
|
171
171
|
getRaw: R(
|
|
172
172
|
w,
|
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)}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)}.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}/*!
|
|
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
|
|
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}
|