@fangzhongya/vue-archive 0.0.57 → 0.0.59
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/index.css +1 -1
- package/dist/packages/components/choice/index.vue.cjs +1 -1
- package/dist/packages/components/choice/index.vue.js +31 -31
- package/dist/packages/components/compo/ftable.vue.cjs +1 -1
- package/dist/packages/components/compo/ftable.vue.js +2 -7
- package/dist/packages/components/use/code.d.ts +25 -17
- package/dist/packages/page/compon/index.vue2.cjs +1 -1
- package/dist/packages/page/compon/index.vue2.js +2 -2
- package/dist/packages/page/develop/index.vue2.cjs +1 -1
- package/dist/packages/page/develop/index.vue2.js +7 -7
- package/dist/packages/page/edit/index.vue2.cjs +1 -1
- package/dist/packages/page/edit/index.vue2.js +9 -9
- package/dist/packages/page/single/index.vue2.cjs +1 -1
- package/dist/packages/page/single/index.vue2.js +12 -12
- package/dist/packages/page/tests/index.vue2.cjs +1 -1
- package/dist/packages/page/tests/index.vue2.js +7 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -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-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{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}.expose .expose-label{padding:10px 0;font-size:18px}.expose .expose-return{padding:5px;background-color:azure}.set-expose .set-expose-li{position:relative}.set-expose .set-expose-li .set-expose-delete{color:red;position:absolute;right:20px;top:10px}.code-edit{display:flex}.code-edit .edit-input{flex:1}.code-edit .edit-effect{flex:1;margin-right:10px}: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-code: rgb(255, 255, 255);--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 20px 20px 10px}.__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 .use .codemirror-div{background-color:var(--bg-code)}.__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 .box-url .box-url-box .box-div-but{padding:10px;cursor:pointer;color:var(--but-cor)}.__document .box-url .box-url-box .box-div-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__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;inset: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{
|
|
13
|
+
*/.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{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}.expose .expose-label{padding:10px 0;font-size:18px}.expose .expose-return{padding:5px;background-color:azure}.set-expose .set-expose-li{position:relative}.set-expose .set-expose-li .set-expose-delete{color:red;position:absolute;right:20px;top:10px}.code-edit{display:flex}.code-edit .edit-input{flex:1}.code-edit .edit-effect{flex:1;margin-right:10px}: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-code: rgb(255, 255, 255);--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 20px 20px 10px}.__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 .use .codemirror-div{background-color:var(--bg-code)}.__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 .box-url .box-url-box .box-div-but{padding:10px;cursor:pointer;color:var(--but-cor)}.__document .box-url .box-url-box .box-div-but:hover{color:var(--but-hover-cor);background-color:var(--bg-but-hover-cor)}.__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;inset: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{height:100%;position:relative;display:flex}.__document .__document-compon .__document-compon-body{padding:10px;flex:1;overflow-y:auto}.__document .__document-compon .__document-compon-body.choice{padding-left:30px}.__document .__document-compon .__document-compon-choice{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)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("@fangzhongya/utils/name/humpToLine"),g=require("./choice.vue.cjs"),k=require("../../utils/glob.cjs"),y=require("../../utils/common.cjs"),f=require("vue-router"),B=require("../../router/index.cjs"),q={class:"__document-compon"},C={key:0,class:"__document-compon-choice"},N={key:0},E={key:1},b={key:2},x=e.defineComponent({__name:"index",props:{getName:{type:Function,default(
|
|
1
|
+
"use strict";const e=require("vue"),d=require("@fangzhongya/utils/name/humpToLine"),g=require("./choice.vue.cjs"),k=require("../../utils/glob.cjs"),y=require("../../utils/common.cjs"),f=require("vue-router"),B=require("../../router/index.cjs"),q={class:"__document-compon"},C={key:0,class:"__document-compon-choice"},N={key:0},E={key:1},b={key:2},x=e.defineComponent({__name:"index",props:{getName:{type:Function,default(l){return l.id}},getKey:{type:Function,default(l){return l.key}}},emits:["change"],setup(l,{emit:p}){const i=l,u=f.useRoute(),h=B.getPageParams(u),t=e.ref(),n=e.ref([]),a=e.ref(!1),r=p;e.watch(()=>u.query.id,()=>{m()});function m(){let c=d.humpToLine(i.getName(u.query)),o=k.getCompoName(i.getName(u.query),!0,i.getKey(h))||[];if(n.value=[],o.length==1)t.value=o[0],r("change",t.value);else if(o.length==0)t.value=void 0,r("change",t.value);else{n.value=o;for(let s=0;s<o.length;s++){const v=o[s];if(c===d.humpToLine(v.name)){t.value=v,r("change",t.value);break}}}}function _(c){a.value=!1,t.value=c,r("change",t.value),y.setAsideKey(c.key)}return m(),(c,o)=>(e.openBlock(),e.createElementBlock("div",q,[n.value.length?(e.openBlock(),e.createElementBlock("div",C,[a.value?(e.openBlock(),e.createBlock(g,{key:0,onChange:_,value:n.value,choice:t.value},null,8,["value","choice"])):e.createCommentVNode("",!0),e.createElementVNode("div",{onClick:o[0]||(o[0]=s=>a.value=!a.value),class:"__document-compon-choice-but"},e.toDisplayString(a.value?"展开":"隐藏"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["__document-compon-body",{choice:n.value.length}])},[t.value?.key?(e.openBlock(),e.createElementBlock("div",N,[e.renderSlot(c.$slots,"default",{value:t.value})])):n.value.length?(e.openBlock(),e.createElementBlock("div",E,"请先选择要查看的组件")):(e.openBlock(),e.createElementBlock("div",b,"没有查询到"+e.toDisplayString(e.unref(u).query.id)+"组件",1))],2)]))}});module.exports=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, ref as v, watch as q, createElementBlock as i, openBlock as
|
|
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";
|
|
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";
|
|
@@ -13,20 +13,20 @@ const S = { class: "__document-compon" }, V = {
|
|
|
13
13
|
props: {
|
|
14
14
|
getName: {
|
|
15
15
|
type: Function,
|
|
16
|
-
default(
|
|
17
|
-
return
|
|
16
|
+
default(l) {
|
|
17
|
+
return l.id;
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
getKey: {
|
|
21
21
|
type: Function,
|
|
22
|
-
default(
|
|
23
|
-
return
|
|
22
|
+
default(l) {
|
|
23
|
+
return l.key;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
emits: ["change"],
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
28
|
+
setup(l, { emit: y }) {
|
|
29
|
+
const m = l, c = F(), k = P(c), e = v(), o = v([]), u = v(!1), r = y;
|
|
30
30
|
q(
|
|
31
31
|
() => c.query.id,
|
|
32
32
|
() => {
|
|
@@ -34,50 +34,50 @@ const S = { class: "__document-compon" }, V = {
|
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
36
|
function d() {
|
|
37
|
-
let
|
|
38
|
-
|
|
37
|
+
let n = g(m.getName(c.query)), t = D(
|
|
38
|
+
m.getName(c.query),
|
|
39
39
|
!0,
|
|
40
|
-
|
|
40
|
+
m.getKey(k)
|
|
41
41
|
) || [];
|
|
42
42
|
if (o.value = [], t.length == 1)
|
|
43
|
-
e.value = t[0],
|
|
43
|
+
e.value = t[0], r("change", e.value);
|
|
44
44
|
else if (t.length == 0)
|
|
45
|
-
e.value = void 0,
|
|
45
|
+
e.value = void 0, r("change", e.value);
|
|
46
46
|
else {
|
|
47
|
-
|
|
48
|
-
for (let
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
e.value =
|
|
47
|
+
o.value = t;
|
|
48
|
+
for (let s = 0; s < t.length; s++) {
|
|
49
|
+
const h = t[s];
|
|
50
|
+
if (n === g(h.name)) {
|
|
51
|
+
e.value = h, r("change", e.value);
|
|
52
52
|
break;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
function C(
|
|
58
|
-
|
|
57
|
+
function C(n) {
|
|
58
|
+
u.value = !1, e.value = n, r("change", e.value), E(n.key);
|
|
59
59
|
}
|
|
60
|
-
return d(), (
|
|
61
|
-
o.value.length ? (
|
|
62
|
-
|
|
60
|
+
return d(), (n, t) => (a(), i("div", S, [
|
|
61
|
+
o.value.length ? (a(), i("div", V, [
|
|
62
|
+
u.value ? (a(), b($, {
|
|
63
63
|
key: 0,
|
|
64
64
|
onChange: C,
|
|
65
65
|
value: o.value,
|
|
66
66
|
choice: e.value
|
|
67
|
-
}, null, 8, ["value", "choice"])) :
|
|
68
|
-
|
|
69
|
-
onClick: t[0] || (t[0] = (
|
|
67
|
+
}, null, 8, ["value", "choice"])) : p("", !0),
|
|
68
|
+
f("div", {
|
|
69
|
+
onClick: t[0] || (t[0] = (s) => u.value = !u.value),
|
|
70
70
|
class: "__document-compon-choice-but"
|
|
71
|
-
}, _(
|
|
72
|
-
])) :
|
|
73
|
-
|
|
71
|
+
}, _(u.value ? "展开" : "隐藏"), 1)
|
|
72
|
+
])) : p("", !0),
|
|
73
|
+
f("div", {
|
|
74
74
|
class: x(["__document-compon-body", {
|
|
75
75
|
choice: o.value.length
|
|
76
76
|
}])
|
|
77
77
|
}, [
|
|
78
|
-
e.value?.key ? (
|
|
79
|
-
B(
|
|
80
|
-
])) : o.value.length ? (
|
|
78
|
+
e.value?.key ? (a(), i("div", w, [
|
|
79
|
+
B(n.$slots, "default", { value: e.value })
|
|
80
|
+
])) : o.value.length ? (a(), i("div", z, "请先选择要查看的组件")) : (a(), i("div", A, "没有查询到" + _(K(c).query.id) + "组件", 1))
|
|
81
81
|
], 2)
|
|
82
82
|
]));
|
|
83
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),u={class:"compo-talbe"},d={class:"compo-talbe-body"},m={class:"compo-talbe-top"},i={class:"compo-talbe-li"},k={key:1,class:"compo-talbe-zw"},B=e.defineComponent({__name:"ftable",props:{list:{type:Array,default(){return[]}},value:{type:Array,default(){return[]}}},setup(c){const l=c;function a(n,t,o,r){if(t.formatter)return t.formatter(n,t,o,r);if(t.prop)return n[t.prop]}return(n,t)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("table",d,[e.createElementVNode("thead",null,[e.createElementVNode("tr",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(o,r)=>(e.openBlock(),e.createElementBlock("th",null,e.toDisplayString(o?.label),1))),256))])]),e.createElementVNode("tbody",null,[l.value&&l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,(o,r)=>(e.openBlock(),e.createElementBlock("tr",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(s,p)=>(e.openBlock(),e.createElementBlock("td",null,e.toDisplayString(a(o,s,r,p)),1))),256))]))),256)):(e.openBlock(),e.createElementBlock("tr",k,t[0]||(t[0]=[e.createElementVNode("td",{colspan:"
|
|
1
|
+
"use strict";const e=require("vue"),u={class:"compo-talbe"},d={class:"compo-talbe-body"},m={class:"compo-talbe-top"},i={class:"compo-talbe-li"},k={key:1,class:"compo-talbe-zw"},B=e.defineComponent({__name:"ftable",props:{list:{type:Array,default(){return[]}},value:{type:Array,default(){return[]}}},setup(c){const l=c;function a(n,t,o,r){if(t.formatter)return t.formatter(n,t,o,r);if(t.prop)return n[t.prop]}return(n,t)=>(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("table",d,[e.createElementVNode("thead",null,[e.createElementVNode("tr",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(o,r)=>(e.openBlock(),e.createElementBlock("th",null,e.toDisplayString(o?.label),1))),256))])]),e.createElementVNode("tbody",null,[l.value&&l.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.value,(o,r)=>(e.openBlock(),e.createElementBlock("tr",i,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.list,(s,p)=>(e.openBlock(),e.createElementBlock("td",null,e.toDisplayString(a(o,s,r,p)),1))),256))]))),256)):(e.openBlock(),e.createElementBlock("tr",k,t[0]||(t[0]=[e.createElementVNode("td",{colspan:"7"},"暂无",-1)])))])])]))}});module.exports=B;
|
|
@@ -43,14 +43,9 @@ const b = { class: "compo-talbe" }, y = { class: "compo-talbe-body" }, h = { cla
|
|
|
43
43
|
]),
|
|
44
44
|
n("tbody", null, [
|
|
45
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(
|
|
47
|
-
o,
|
|
48
|
-
_,
|
|
49
|
-
s,
|
|
50
|
-
f
|
|
51
|
-
)), 1))), 256))
|
|
46
|
+
(l(!0), e(u, null, c(r.list, (_, f) => (l(), e("td", null, p(i(o, _, s, f)), 1))), 256))
|
|
52
47
|
]))), 256)) : (l(), e("tr", k, t[0] || (t[0] = [
|
|
53
|
-
n("td", { colspan: "
|
|
48
|
+
n("td", { colspan: "7" }, "暂无", -1)
|
|
54
49
|
])))
|
|
55
50
|
])
|
|
56
51
|
])
|
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
name: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
6
|
+
html: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default(): string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
refresh: (...args: any[]) => void;
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
|
+
name: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
html: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default(): string;
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{
|
|
21
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
html: string;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),_=require("../../components/main/index.vue.cjs"),n=require("../../components/choice/index.vue.cjs"),u={class:"__document-
|
|
1
|
+
"use strict";const e=require("vue"),_=require("../../components/main/index.vue.cjs"),n=require("../../components/choice/index.vue.cjs"),u={class:"__document-com __document-compon"},c=e.defineComponent({__name:"index",setup(o){return(r,s)=>(e.openBlock(),e.createElementBlock("div",u,[e.createVNode(n,null,{default:e.withCtx(t=>[e.createVNode(_,{value:t.value},null,8,["value"])]),_:1})]))}});module.exports=c;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as t, createElementBlock as n, openBlock as _, createVNode as e, withCtx as c } from "vue";
|
|
2
2
|
import m from "../../components/main/index.vue.js";
|
|
3
3
|
import a from "../../components/choice/index.vue.js";
|
|
4
|
-
const r = { class: "__document-
|
|
4
|
+
const r = { class: "__document-com __document-compon" }, f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "index",
|
|
6
6
|
setup(l) {
|
|
7
|
-
return (
|
|
7
|
+
return (u, i) => (_(), n("div", r, [
|
|
8
8
|
e(a, null, {
|
|
9
9
|
default: c((o) => [
|
|
10
10
|
e(m, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),_=require("../../components/compo/info.vue.cjs"),u=require("../../components/compo/index.vue.cjs"),n=require("../../components/choice/index.vue.cjs"),r={class:"__document-
|
|
1
|
+
"use strict";const e=require("vue"),_=require("../../components/compo/info.vue.cjs"),u=require("../../components/compo/index.vue.cjs"),n=require("../../components/choice/index.vue.cjs"),r={class:"__document-com __document-compon"},c=e.defineComponent({__name:"index",setup(o){return(s,l)=>(e.openBlock(),e.createElementBlock("div",r,[e.createVNode(n,null,{default:e.withCtx(t=>[e.createVNode(_,{value:t.value},null,8,["value"]),e.createVNode(u,{istop:"",value:t.value},null,8,["value"])]),_:1})]))}});module.exports=c;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as t, createElementBlock as n, openBlock as _, createVNode as e, withCtx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as t, createElementBlock as n, openBlock as _, createVNode as e, withCtx as m } from "vue";
|
|
2
|
+
import a from "../../components/compo/info.vue.js";
|
|
3
|
+
import l from "../../components/compo/index.vue.js";
|
|
4
4
|
import c from "../../components/choice/index.vue.js";
|
|
5
|
-
const r = { class: "__document-
|
|
5
|
+
const r = { class: "__document-com __document-compon" }, x = /* @__PURE__ */ t({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(u) {
|
|
8
8
|
return (i, s) => (_(), n("div", r, [
|
|
9
9
|
e(c, null, {
|
|
10
|
-
default:
|
|
11
|
-
e(
|
|
10
|
+
default: m((o) => [
|
|
11
|
+
e(a, {
|
|
12
12
|
value: o.value
|
|
13
13
|
}, null, 8, ["value"]),
|
|
14
|
-
e(
|
|
14
|
+
e(l, {
|
|
15
15
|
istop: "",
|
|
16
16
|
value: o.value
|
|
17
17
|
}, null, 8, ["value"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),_=require("../../components/compo/code.vue.cjs");;/* empty css */const u=require("../../components/choice/index.vue.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),_=require("../../components/compo/code.vue.cjs");;/* empty css */const u=require("../../components/choice/index.vue.cjs"),c={class:"__document-com __document-edit"},n=e.defineComponent({__name:"index",setup(r){return(o,s)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(u,null,{default:e.withCtx(t=>[e.createVNode(_,{istop:"",value:t.value},null,8,["value"])]),_:1})]))}});module.exports=n;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as o, createElementBlock as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as o, createElementBlock as _, openBlock as n, createVNode as e, withCtx as c } from "vue";
|
|
2
|
+
import m from "../../components/compo/code.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import r from "../../components/choice/index.vue.js";
|
|
5
|
+
const a = { class: "__document-com __document-edit" }, v = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
7
|
-
setup(
|
|
8
|
-
return (l, s) => (
|
|
9
|
-
e(
|
|
7
|
+
setup(i) {
|
|
8
|
+
return (l, s) => (n(), _("div", a, [
|
|
9
|
+
e(r, null, {
|
|
10
10
|
default: c((t) => [
|
|
11
|
-
e(
|
|
11
|
+
e(m, {
|
|
12
12
|
istop: "",
|
|
13
13
|
value: t.value
|
|
14
14
|
}, null, 8, ["value"])
|
|
@@ -19,5 +19,5 @@ const r = { class: "__document-index __document-edit" }, x = /* @__PURE__ */ o({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
v as default
|
|
23
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("../../components/compo/info.vue.cjs"),v=require("../../components/choice/index.vue.cjs"),p=require("../../components/test/index.vue.cjs"),g=require("../../components/compo/index.vue.cjs"),m=require("../../utils/glob.cjs"),N=require("vue-router"),y=require("../../router/index.cjs"),V={class:"__document-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("../../components/compo/info.vue.cjs"),v=require("../../components/choice/index.vue.cjs"),p=require("../../components/test/index.vue.cjs"),g=require("../../components/compo/index.vue.cjs"),m=require("../../utils/glob.cjs"),N=require("vue-router"),y=require("../../router/index.cjs"),V={class:"__document-com __document-single"},f={class:"single-top-li"},h={class:"single-top-li-span"},E={class:"single-top-li-span"},q={class:"single-top-li"},k={class:"single-top-li-span"},x={class:"single-test"},S={class:"single-compo"},w=e.defineComponent({__name:"index",setup(C){const i=N.useRoute(),a=y.getPageParams(i),n=e.ref({}),s=e.ref(),o=e.ref(!1);function u(t){return t.comkey}function c(t){return(t.id||"").split("/")[0]||""}function r(){o.value=!o.value}function _(t){n.value=t,s.value=m.getTestNameObj(i.query.id+"",a.key,t.key)[0]}return(t,l)=>(e.openBlock(),e.createElementBlock("div",V,[e.createVNode(v,{"get-name":c,"get-key":u,onChange:_},{default:e.withCtx(()=>[e.createVNode(d,{value:n.value},null,8,["value"]),e.createElementVNode("div",{class:"single-top",onClick:r},[e.createElementVNode("div",f,[e.createElementVNode("div",h,e.toDisplayString(s.value?.name),1),e.createElementVNode("div",E,e.toDisplayString(s.value?.value),1)]),e.createElementVNode("div",q,[l[0]||(l[0]=e.createElementVNode("div",{class:"single-top-li-span"},"文件路径",-1)),e.createElementVNode("div",k,e.toDisplayString(s.value?.key),1)])]),e.createElementVNode("div",x,[e.createVNode(p,{value:s.value},null,8,["value"])]),e.withDirectives(e.createElementVNode("div",S,[e.createVNode(g,{value:n.value},null,8,["value"])],512),[[e.vShow,o.value]])]),_:1})]))}});module.exports=w;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as d, ref as a, createElementBlock as f, openBlock as g, createVNode as o, withCtx as h, createElementVNode as e, withDirectives as k, toDisplayString as c, vShow as y } from "vue";
|
|
2
|
+
import w from "../../components/compo/info.vue.js";
|
|
3
|
+
import x from "../../components/choice/index.vue.js";
|
|
4
4
|
import C from "../../components/test/index.vue.js";
|
|
5
5
|
import N from "../../components/compo/index.vue.js";
|
|
6
6
|
import { getTestNameObj as $ } from "../../utils/glob.js";
|
|
7
7
|
import { useRoute as S } from "vue-router";
|
|
8
8
|
import { getPageParams as B } from "../../router/index.js";
|
|
9
|
-
const D = { class: "__document-
|
|
9
|
+
const D = { class: "__document-com __document-single" }, E = { class: "single-top-li" }, P = { class: "single-top-li-span" }, V = { class: "single-top-li-span" }, b = { class: "single-top-li" }, j = { class: "single-top-li-span" }, q = { class: "single-test" }, K = { class: "single-compo" }, L = /* @__PURE__ */ d({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(O) {
|
|
12
|
-
const u = S(),
|
|
13
|
-
function
|
|
12
|
+
const u = S(), m = B(u), n = a({}), s = a(), i = a(!1);
|
|
13
|
+
function r(t) {
|
|
14
14
|
return t.comkey;
|
|
15
15
|
}
|
|
16
16
|
function _(t) {
|
|
@@ -19,21 +19,21 @@ const D = { class: "__document-index __document-single" }, E = { class: "single-
|
|
|
19
19
|
function v() {
|
|
20
20
|
i.value = !i.value;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function p(t) {
|
|
23
23
|
n.value = t, s.value = $(
|
|
24
24
|
u.query.id + "",
|
|
25
|
-
|
|
25
|
+
m.key,
|
|
26
26
|
t.key
|
|
27
27
|
)[0];
|
|
28
28
|
}
|
|
29
29
|
return (t, l) => (g(), f("div", D, [
|
|
30
|
-
o(
|
|
30
|
+
o(x, {
|
|
31
31
|
"get-name": _,
|
|
32
|
-
"get-key":
|
|
33
|
-
onChange:
|
|
32
|
+
"get-key": r,
|
|
33
|
+
onChange: p
|
|
34
34
|
}, {
|
|
35
35
|
default: h(() => [
|
|
36
|
-
o(
|
|
36
|
+
o(w, { value: n.value }, null, 8, ["value"]),
|
|
37
37
|
e("div", {
|
|
38
38
|
class: "single-top",
|
|
39
39
|
onClick: v
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),m=require("../../components/compo/info.vue.cjs"),p=require("../../components/choice/index.vue.cjs"),k=require("../../components/test/index.vue.cjs"),f=require("../../utils/glob.cjs"),h={class:"__document-
|
|
1
|
+
"use strict";const e=require("vue"),m=require("../../components/compo/info.vue.cjs"),p=require("../../components/choice/index.vue.cjs"),k=require("../../components/test/index.vue.cjs"),f=require("../../utils/glob.cjs"),h={class:"__document-com __document-tests"},B={class:"tests-top"},g=["onClick"],y={key:0,class:"tests-test"},E={class:"tests-test-li"},C={key:1},x=e.defineComponent({__name:"index",setup(N){const o=e.ref([]),l=e.ref([]),u=e.ref(),r=e.ref(""),i=[{name:"全部",id:""},{name:"正常",id:"1"},{name:"更新",id:"2"},{name:"建议",id:"3"},{name:"错误",id:"4"},{name:"错误与建议",id:"5"},{name:"修改",id:"6"},{name:"完成建议修改",id:"7"},{name:"完成错误修改",id:"8"},{name:"完成全部修改",id:"9"}],a={};function _(n="",s){n=n+"";let t=a[n]||[];t.push(s),a[n]=t}function d(n){u.value=n,o.value=f.getTestName(n.key),l.value=[...o.value]}function v(n){let s=n.id;if(r.value=n.id,s){let t=a[s];t&&t.length>0?l.value=o.value.filter(c=>t.includes(c.key)):l.value=[]}else l.value=[...o.value]}return(n,s)=>(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(p,{onChange:d},{default:e.withCtx(()=>[e.createVNode(m,{value:u.value},null,8,["value"]),e.createElementVNode("div",B,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,(t,c)=>e.createElementVNode("span",{class:e.normalizeClass(["but-div",{on:r.value==t.id}]),key:c,onClick:q=>v(t)},e.toDisplayString(t.name),11,g)),64))]),l.value&&l.value.length>0?(e.openBlock(),e.createElementBlock("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,t=>(e.openBlock(),e.createElementBlock("div",E,[e.createVNode(k,{onState:_,value:t},null,8,["value"])]))),256))])):(e.openBlock(),e.createElementBlock("div",C,"没有查询到示例"))]),_:1})]))}});module.exports=x;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as g, ref as i, createElementBlock as s, openBlock as a, createVNode as
|
|
1
|
+
import { defineComponent as g, ref as i, createElementBlock as s, openBlock as a, createVNode as r, withCtx as y, createElementVNode as _, Fragment as v, renderList as f, normalizeClass as x, toDisplayString as $ } from "vue";
|
|
2
2
|
import N from "../../components/compo/info.vue.js";
|
|
3
3
|
import b from "../../components/choice/index.vue.js";
|
|
4
4
|
import B from "../../components/test/index.vue.js";
|
|
5
5
|
import { getTestName as E } from "../../utils/glob.js";
|
|
6
|
-
const L = { class: "__document-
|
|
6
|
+
const L = { class: "__document-com __document-tests" }, S = { class: "tests-top" }, V = ["onClick"], j = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "tests-test"
|
|
9
9
|
}, w = { class: "tests-test-li" }, z = { key: 1 }, H = /* @__PURE__ */ g({
|
|
10
10
|
__name: "index",
|
|
11
11
|
setup(D) {
|
|
12
|
-
const o = i([]), n = i([]),
|
|
12
|
+
const o = i([]), n = i([]), d = i(), m = i(""), p = [
|
|
13
13
|
{ name: "全部", id: "" },
|
|
14
14
|
{ name: "正常", id: "1" },
|
|
15
15
|
{ name: "更新", id: "2" },
|
|
@@ -27,7 +27,7 @@ const L = { class: "__document-index __document-tests" }, S = { class: "tests-to
|
|
|
27
27
|
e.push(l), u[t] = e;
|
|
28
28
|
}
|
|
29
29
|
function k(t) {
|
|
30
|
-
|
|
30
|
+
d.value = t, o.value = E(t.key), n.value = [...o.value];
|
|
31
31
|
}
|
|
32
32
|
function C(t) {
|
|
33
33
|
let l = t.id;
|
|
@@ -38,9 +38,9 @@ const L = { class: "__document-index __document-tests" }, S = { class: "tests-to
|
|
|
38
38
|
n.value = [...o.value];
|
|
39
39
|
}
|
|
40
40
|
return (t, l) => (a(), s("div", L, [
|
|
41
|
-
|
|
41
|
+
r(b, { onChange: k }, {
|
|
42
42
|
default: y(() => [
|
|
43
|
-
|
|
43
|
+
r(N, { value: d.value }, null, 8, ["value"]),
|
|
44
44
|
_("div", S, [
|
|
45
45
|
(a(), s(v, null, f(p, (e, c) => _("span", {
|
|
46
46
|
class: x(["but-div", { on: m.value == e.id }]),
|
|
@@ -50,7 +50,7 @@ const L = { class: "__document-index __document-tests" }, S = { class: "tests-to
|
|
|
50
50
|
]),
|
|
51
51
|
n.value && n.value.length > 0 ? (a(), s("div", j, [
|
|
52
52
|
(a(!0), s(v, null, f(n.value, (e) => (a(), s("div", w, [
|
|
53
|
-
|
|
53
|
+
r(B, {
|
|
54
54
|
onState: h,
|
|
55
55
|
value: e
|
|
56
56
|
}, null, 8, ["value"])
|