@fangzhongya/vue-archive 0.0.54 → 0.0.56
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/node/index.cjs +83 -30
- package/dist/node/index.js +83 -30
- package/dist/packages/components/choice/index.vue.cjs +1 -1
- package/dist/packages/components/code/highlight.vue.cjs +1 -1
- package/dist/packages/components/code/index.vue.cjs +1 -1
- package/dist/packages/components/compo/code.vue.cjs +1 -0
- package/dist/packages/components/compo/code.vue.js +21 -0
- package/dist/packages/components/compo/code.vue3.cjs +1 -0
- package/dist/packages/components/compo/code.vue3.js +5 -0
- package/dist/packages/components/compo/index.cjs +1 -1
- package/dist/packages/components/compo/index.js +126 -108
- package/dist/packages/components/main/index.vue.cjs +1 -1
- package/dist/packages/components/main/index.vue.js +36 -32
- package/dist/packages/components/test/index.vue.cjs +1 -1
- package/dist/packages/components/use/code.cjs +10 -10
- package/dist/packages/components/use/code.d.ts +25 -17
- package/dist/packages/components/use/code.js +99 -93
- package/dist/packages/components/use/code.vue.cjs +1 -0
- package/dist/packages/components/use/code.vue.js +66 -0
- package/dist/packages/components/use/code.vue2.cjs +1 -0
- package/dist/packages/components/use/code.vue2.js +4 -0
- package/dist/packages/components/use/edit.cjs +18 -0
- package/dist/packages/components/use/edit.d.ts +32 -0
- package/dist/packages/components/use/edit.js +187 -0
- package/dist/packages/components/use/effect.d.ts +18 -0
- package/dist/packages/components/use/effect.vue.cjs +1 -0
- package/dist/packages/components/use/effect.vue.js +12 -0
- package/dist/packages/components/use/retrie/array/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/boolean/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/expose/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/index.d.ts +1 -1
- package/dist/packages/components/use/retrie/input/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/input/text.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/object/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/other/index.vue.cjs +1 -1
- package/dist/packages/components/use/retrie/slot/index.vue.cjs +1 -1
- package/dist/packages/components/use/set-code.vue.cjs +1 -1
- package/dist/packages/components/use/set-code.vue.js +17 -58
- package/dist/packages/components/use/util.cjs +3 -3
- package/dist/packages/components/use/util.js +38 -34
- package/dist/packages/page/compon/index.vue2.cjs +1 -1
- package/dist/packages/page/develop/index.vue2.cjs +1 -1
- package/dist/packages/page/edit/index.vue.cjs +1 -0
- package/dist/packages/page/edit/index.vue.js +4 -0
- package/dist/packages/page/edit/index.vue2.cjs +1 -0
- package/dist/packages/page/edit/index.vue2.js +23 -0
- package/dist/packages/router/file.cjs +1 -1
- package/dist/packages/router/file.js +5 -4
- package/dist/packages/router/index.cjs +1 -1
- package/dist/packages/router/index.d.ts +1 -0
- package/dist/packages/router/index.js +55 -45
- package/dist/packages/utils/props.cjs +1 -1
- package/dist/packages/utils/props.js +30 -27
- package/package.json +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as d from "vue";
|
|
2
|
+
import { defineComponent as y, defineAsyncComponent as h, resolveComponent as $, h as n, ref as k, onMounted as g } from "vue";
|
|
3
|
+
import C from "./code.vue.js";
|
|
4
|
+
import a from "./retrie/input/index.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import x from "./effect.vue.js";
|
|
7
|
+
const _ = y({
|
|
8
|
+
/**
|
|
9
|
+
* @props {Stinrg} value 插入数据
|
|
10
|
+
*/
|
|
11
|
+
props: {
|
|
12
|
+
value: {
|
|
13
|
+
type: Object
|
|
14
|
+
},
|
|
15
|
+
param: {
|
|
16
|
+
type: Object
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
data() {
|
|
20
|
+
return {
|
|
21
|
+
template: "",
|
|
22
|
+
script: "",
|
|
23
|
+
style: "",
|
|
24
|
+
vueHtml: ""
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
setup(m) {
|
|
28
|
+
function v(s) {
|
|
29
|
+
const l = document.getElementsByTagName("head")[0], c = "data-vite-dev-id", o = s + ".css", r = l.querySelector(`style[${c}="${o}"]`);
|
|
30
|
+
if (r)
|
|
31
|
+
return r;
|
|
32
|
+
{
|
|
33
|
+
let e = document.createElement("style");
|
|
34
|
+
return e.appendChild(document.createTextNode("")), e.setAttribute("type", "text/css"), e.setAttribute(c, o), l.appendChild(e), e;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function u(s, l = "", c) {
|
|
38
|
+
const o = [], r = m.value?.name;
|
|
39
|
+
let e = "";
|
|
40
|
+
return Object.keys(d).forEach((p) => {
|
|
41
|
+
l.includes(p + "(") && o.push(p);
|
|
42
|
+
}), o.length > 0 && (e = `import { ${o.join(" , ")} } from 'vue';`), `<!--${r}-->
|
|
43
|
+
<template>
|
|
44
|
+
${s}
|
|
45
|
+
</template>
|
|
46
|
+
<script>
|
|
47
|
+
${e}
|
|
48
|
+
export default {
|
|
49
|
+
setup(props, ctx) {
|
|
50
|
+
${l}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
<\/script>
|
|
54
|
+
<style>
|
|
55
|
+
${c}
|
|
56
|
+
</style>
|
|
57
|
+
`;
|
|
58
|
+
}
|
|
59
|
+
function i(s, l, c) {
|
|
60
|
+
try {
|
|
61
|
+
const o = Object.keys(d);
|
|
62
|
+
return new Function(
|
|
63
|
+
"props",
|
|
64
|
+
"ctx",
|
|
65
|
+
"vue",
|
|
66
|
+
` "use strict";
|
|
67
|
+
const { ${o.join(",")} } = vue;
|
|
68
|
+
${s}; `
|
|
69
|
+
)(l, c, d);
|
|
70
|
+
} catch (o) {
|
|
71
|
+
console.error("Code block execution failed:", o);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
const t = k(null);
|
|
75
|
+
return g(() => {
|
|
76
|
+
t.value = v(m.value?.key);
|
|
77
|
+
}), {
|
|
78
|
+
getHmtlVue: u,
|
|
79
|
+
getCodeBlock: i,
|
|
80
|
+
style: t
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
render(m, v, u, i, t) {
|
|
84
|
+
const s = u.value;
|
|
85
|
+
let l = "div";
|
|
86
|
+
s.component ? l = h(s.component) : s.name && (l = $(s.name));
|
|
87
|
+
const c = {};
|
|
88
|
+
c[s.name] = l;
|
|
89
|
+
const o = () => {
|
|
90
|
+
const e = i.getHmtlVue(t.template, t.script, t.style);
|
|
91
|
+
t.vueHtml = e;
|
|
92
|
+
}, r = () => {
|
|
93
|
+
i.style.innerHTML = t.style, o();
|
|
94
|
+
};
|
|
95
|
+
return n(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
class: "code-edit"
|
|
99
|
+
},
|
|
100
|
+
[
|
|
101
|
+
n(
|
|
102
|
+
"div",
|
|
103
|
+
{
|
|
104
|
+
class: "edit-effect use"
|
|
105
|
+
},
|
|
106
|
+
[
|
|
107
|
+
n(
|
|
108
|
+
x,
|
|
109
|
+
{
|
|
110
|
+
class: "use-component"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
default: () => n(
|
|
114
|
+
y({
|
|
115
|
+
components: c,
|
|
116
|
+
setup(e, f) {
|
|
117
|
+
return i.getCodeBlock(
|
|
118
|
+
t.script,
|
|
119
|
+
e,
|
|
120
|
+
f
|
|
121
|
+
);
|
|
122
|
+
},
|
|
123
|
+
template: t.template
|
|
124
|
+
})
|
|
125
|
+
)
|
|
126
|
+
}
|
|
127
|
+
),
|
|
128
|
+
n(C, {
|
|
129
|
+
html: t.vueHtml,
|
|
130
|
+
name: s.name + "_edit",
|
|
131
|
+
onRefresh: o
|
|
132
|
+
})
|
|
133
|
+
]
|
|
134
|
+
),
|
|
135
|
+
n(
|
|
136
|
+
"div",
|
|
137
|
+
{
|
|
138
|
+
class: "edit-input"
|
|
139
|
+
},
|
|
140
|
+
[
|
|
141
|
+
n(
|
|
142
|
+
"div",
|
|
143
|
+
{
|
|
144
|
+
onClick: r
|
|
145
|
+
},
|
|
146
|
+
"运行"
|
|
147
|
+
),
|
|
148
|
+
n("div", {}, [
|
|
149
|
+
n("div", {}, "template"),
|
|
150
|
+
n(a, {
|
|
151
|
+
check: (e) => e,
|
|
152
|
+
modelValue: t.template,
|
|
153
|
+
"onUpdate:modelValue": (e) => {
|
|
154
|
+
t.template = e;
|
|
155
|
+
}
|
|
156
|
+
})
|
|
157
|
+
]),
|
|
158
|
+
n("div", {}, [
|
|
159
|
+
n("div", {}, "script"),
|
|
160
|
+
n("div", {}, "setup(props, ctx)"),
|
|
161
|
+
n(a, {
|
|
162
|
+
check: (e) => e,
|
|
163
|
+
modelValue: t.script,
|
|
164
|
+
"onUpdate:modelValue": (e) => {
|
|
165
|
+
t.script = e;
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
]),
|
|
169
|
+
n("div", {}, [
|
|
170
|
+
n("div", {}, "style"),
|
|
171
|
+
n(a, {
|
|
172
|
+
check: (e) => e,
|
|
173
|
+
modelValue: t.style,
|
|
174
|
+
"onUpdate:modelValue": (e) => {
|
|
175
|
+
t.style = e;
|
|
176
|
+
}
|
|
177
|
+
})
|
|
178
|
+
])
|
|
179
|
+
]
|
|
180
|
+
)
|
|
181
|
+
]
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
export {
|
|
186
|
+
_ as default
|
|
187
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),c=require("../../../_virtual/_plugin-vue_export-helper.cjs"),r={},s={class:"use-effect"};function n(t,u){return e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(t.$slots,"default")])}const o=c(r,[["render",n]]);module.exports=o;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, renderSlot as c } from "vue";
|
|
2
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const s = {}, f = { class: "use-effect" };
|
|
4
|
+
function n(e, _) {
|
|
5
|
+
return o(), t("div", f, [
|
|
6
|
+
c(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const d = /* @__PURE__ */ r(s, [["render", n]]);
|
|
10
|
+
export {
|
|
11
|
+
d as default
|
|
12
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";const n=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const f=require("../../util.cjs"),d={class:"form-array"},p=n.defineComponent({__name:"index",props:{modelValue:{type:null}},emits:["value","error"],setup(i,{emit:
|
|
1
|
+
"use strict";const n=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const f=require("../../util.cjs"),d={class:"form-array"},p=n.defineComponent({__name:"index",props:{modelValue:{type:null}},emits:["value","error"],setup(i,{emit:s}){const u=i,o=s,l=n.ref("");n.watch(()=>u.modelValue,()=>{let e=u.modelValue;l.value=a(e)||e},{immediate:!0});function c(e){return new Function("",`{return ${e}}`)}function a(e){let r;if(e)try{let t=e;typeof e=="string"?(t=c(e)(),r=f.prettierArrFormat(e)):r=JSON.stringify(e),t instanceof Array?(o("value",t,r),o("error",!1)):(o("error",!0),console.log("error","类型不匹配"))}catch(t){o("error",!0),console.log("error",t)}else r=`[
|
|
2
2
|
|
|
3
3
|
]`,o("value",void 0,r),o("error",!1);return r}return(e,r)=>(n.openBlock(),n.createElementBlock("div",d,[n.createVNode(m,{modelValue:l.value,"onUpdate:modelValue":r[0]||(r[0]=t=>l.value=t),check:a},null,8,["modelValue"])]))}});module.exports=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f={class:"form-boolean"},c=["disabled","checked"],m=["disabled","checked"],p=e.defineComponent({__name:"index",props:{modelValue:{type:null},list:{type:Array},disabled:Boolean,config:{type:Object,default(){return{}}}},emits:["value","error"],setup(i,{emit:
|
|
1
|
+
"use strict";const e=require("vue"),f={class:"form-boolean"},c=["disabled","checked"],m=["disabled","checked"],p=e.defineComponent({__name:"index",props:{modelValue:{type:null},list:{type:Array},disabled:Boolean,config:{type:Object,default(){return{}}}},emits:["value","error"],setup(i,{emit:s}){const r=i,a=s,o=e.ref(!1);e.watch(()=>r.modelValue,()=>{let t=r.modelValue;n(t)},{immediate:!0});function d(t){return typeof t=="string"?t==="true"||t==="1":typeof t=="boolean"&&t===!0?!0:typeof t=="number"&&t===1}function n(t){o.value=d(t)||!1,a("value",o.value,JSON.stringify(o.value))}return(t,l)=>(e.openBlock(),e.createElementBlock("div",f,[e.createElementVNode("div",{class:"form-boolean-div",onClick:l[0]||(l[0]=e.withModifiers(u=>n(!0),["stop"]))},[e.createElementVNode("input",{type:"radio",value:"true",disabled:r.disabled,checked:o.value},null,8,c),l[2]||(l[2]=e.createElementVNode("label",{for:"true"},"true",-1))]),e.createElementVNode("div",{class:"form-boolean-div",onClick:l[1]||(l[1]=e.withModifiers(u=>n(!1),["stop"]))},[e.createElementVNode("input",{type:"radio",value:"false",disabled:r.disabled,checked:!o.value},null,8,m),l[3]||(l[3]=e.createElementVNode("label",{for:"false"},"false",-1))])]))}});module.exports=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("../../util.cjs"),g=require("../index.vue.cjs");;/* empty css */const y={class:"expose"},h={class:"expose-label"},x={class:"expose-return"},S=e.defineComponent({__name:"index",props:{getRef:{type:Function},name:String,value:{type:Object}},emits:["change"],setup(p,{emit:m}){const
|
|
1
|
+
"use strict";const e=require("vue"),d=require("../../util.cjs"),g=require("../index.vue.cjs");;/* empty css */const y={class:"expose"},h={class:"expose-label"},x={class:"expose-return"},S=e.defineComponent({__name:"index",props:{getRef:{type:Function},name:String,value:{type:Object}},emits:["change"],setup(p,{emit:m}){const a=p,v=m,c=e.ref(""),i=e.ref(""),o=e.ref([]),f=e.computed(()=>{o.value=[];const n=a.value;if(n&&n.name){let l=(n.selectable+"").trim();if(c.value=n.name+": "+n.description+" 入参=("+l+") 返回值: "+n.type,l){let r=d.parseParamString(l);return r.forEach(t=>{t.prop=t.name,o.value.push(t.name)}),r}}return[]});function _(n,l){let r=a.getRef?a.getRef():void 0,t=a.value?.name;if(t){let u=o.value.map(s=>n[s]);if(r&&r[t]){if(typeof r[t]=="function"){let s=r[t](...u);i.value=JSON.stringify(s)}else{let s=r[t];s instanceof HTMLDivElement?i.value=s.outerHTML:i.value=JSON.stringify(s)}v("change",t,u,typeof r[t],l)}}else console.log("请选择方法")}return(n,l)=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",h,e.toDisplayString(c.value||"请选择方法"),1),e.createVNode(g,{list:f.value,name:a.name,queryName:"调用",onQuery:_},null,8,["list","name"]),e.createElementVNode("div",x,e.toDisplayString(a.value?.type)+"返回值:"+e.toDisplayString(i.value),1)]))}});module.exports=S;
|
|
@@ -109,10 +109,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
109
109
|
}>> & Readonly<{
|
|
110
110
|
onQuery?: ((...args: any[]) => any) | undefined;
|
|
111
111
|
}>, {
|
|
112
|
+
refresh: number;
|
|
112
113
|
modelValue: any;
|
|
113
114
|
list: ObjUnk[];
|
|
114
115
|
selects: Record<string, any>;
|
|
115
|
-
refresh: number;
|
|
116
116
|
queryName: string;
|
|
117
117
|
defaultQuery: boolean;
|
|
118
118
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),p=require("./text.vue.cjs");;/* empty css */const m=require("./codemirror.vue.cjs"),d={class:"form-input"},i=e.defineComponent({__name:"index",props:{modelValue:{type:null},check:{type:Function,default(){return""}},format:{type:String,default:"js"}},emits:["update:modelValue"],setup(c,{emit:n}){const t=c,a=e.ref(0),s=n,o=e.computed({get(){return t.modelValue},set(r){s("update:modelValue",r)}});return(r,u)=>(e.openBlock(),e.createElementBlock("div",d,[a.value==1?(e.openBlock(),e.createBlock(m,{key:0,modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=l=>o.value=l),format:t.format,check:t.check},null,8,["modelValue","format","check"])):(e.openBlock(),e.createBlock(p,{key:1,modelValue:o.value,"onUpdate:modelValue":u[1]||(u[1]=l=>o.value=l),check:t.check},null,8,["modelValue","check"]))]))}});module.exports=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),a=["value"],p=e.defineComponent({__name:"text",props:{modelValue:{type:null},check:{type:Function,default(){return""}}},emits:["update:modelValue"],setup(l,{emit:c}){const t=l,r=c;function s(n){const o=n.target?.value;let u=t.check(o);u&&r("update:modelValue",u)}return(n,o)=>(e.openBlock(),e.createElementBlock("textarea",{class:"form-input-text",rows:"5",value:t.modelValue,onBlur:s},null,40,a))}});module.exports=p;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";const l=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const f=require("../../util.cjs"),p={class:"form-object"},d=l.defineComponent({__name:"index",props:{modelValue:{type:null}},emits:["value","error"],setup(c,{emit:
|
|
1
|
+
"use strict";const l=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const f=require("../../util.cjs"),p={class:"form-object"},d=l.defineComponent({__name:"index",props:{modelValue:{type:null}},emits:["value","error"],setup(c,{emit:s}){const u=c,o=s,n=l.ref("");l.watch(()=>u.modelValue,()=>{let e=u.modelValue;n.value=i(e)||e},{immediate:!0});function a(e){return new Function("",`{ return ${e} }`)}function i(e){let r;if(e)try{let t=e;typeof e=="string"?(t=a(e)(),r=f.prettierObjFormat(e)):r=JSON.stringify(e),typeof t=="object"?(o("value",t,r),o("error",!1)):(o("error",!0),console.log("error","类型不匹配"))}catch(t){o("error",!0),console.log("error",t)}else r=`{
|
|
2
2
|
|
|
3
3
|
}`,o("value",void 0,r),o("error",!1);return r}return(e,r)=>(l.openBlock(),l.createElementBlock("div",p,[l.createVNode(m,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=t=>n.value=t),check:i},null,8,["modelValue"])]))}});module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const
|
|
1
|
+
"use strict";const o=require("vue"),m=require("../input/index.vue.cjs");;/* empty css */const i=require("../../util.cjs"),f={class:"form-other"},v=o.defineComponent({__name:"index",props:{modelValue:{type:null},dataType:{type:[String,Array]},disabled:Boolean,list:{type:Array},config:{type:Object,default(){return{label:"label",prop:"prop"}}}},emits:["value","error"],setup(c,{emit:p}){const u=c,t=p,n=o.ref("");o.watch(()=>u.modelValue,()=>{let e=u.modelValue;n.value=a(e)||e},{immediate:!0});function d(e){return new Function("",`{ return ${e} }`)}function a(e){let r;if(e)try{const s=d(e)();i.isTypeEqual(s,u.dataType||[])?(r=i.prettierFormat(e),t("value",s,r),t("error",!1)):(t("error",!0),console.log("error","类型不匹配"))}catch(l){t("error",!0),console.log("error",l)}else r="",t("value",void 0,r),t("error",!1);return r}return(e,r)=>(o.openBlock(),o.createElementBlock("div",f,[o.createVNode(m,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=l=>n.value=l),check:a},null,8,["modelValue"])]))}});module.exports=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),i=require("../input/index.vue.cjs");;/* empty css */const a={class:"slot"},_=e.defineComponent({__name:"index",props:{value:{type:Object}},emits:["change","error"],setup(d,{emit:c}){const o=e.ref(""),n=c;function
|
|
1
|
+
"use strict";const e=require("vue"),i=require("../input/index.vue.cjs");;/* empty css */const a={class:"slot"},_=e.defineComponent({__name:"index",props:{value:{type:Object}},emits:["change","error"],setup(d,{emit:c}){const o=e.ref(""),n=c;function s(){const t=o.value.toString();try{n("change",t),n("error",!1)}catch(r){n("error",!0),console.log("error",r)}}function l(t){return t}return(t,r)=>(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(i,{format:"html",modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=u=>o.value=u),check:l},null,8,["modelValue"]),e.createElementVNode("div",{onClick:e.withModifiers(s,["stop"]),class:"but-div"},"插入")]))}});module.exports=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("vue"),p=require("./code.vue.cjs"),n=require("./code.cjs"),r={class:"set-code"},a=t.defineComponent({__name:"set-code",props:{name:{type:String},param:{type:Object},value:{type:Object},slotValue:{type:Object},propsText:{type:Object},exposeText:{type:Object}},setup(c){const e=c,o=t.ref("");t.watch([()=>e.name,()=>e.param,()=>e.value,()=>e.slotValue,()=>e.propsText,()=>e.exposeText],()=>{s()},{deep:!0});function s(){o.value=n.getHmtl(e.name||"",e.param||{},e.value||{},e.slotValue,e.propsText,e.exposeText)}return(l,u)=>(t.openBlock(),t.createElementBlock("div",r,[t.createVNode(p,{name:e.name,html:o.value,onRefresh:s},null,8,["name","html"])]))}});module.exports=a;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { exportStringToFile as T } from "../../utils/util.js";
|
|
6
|
-
const g = { class: "set-code" }, V = { class: "but-div set-code-but" }, j = { class: "set-code-html" }, H = /* @__PURE__ */ v({
|
|
1
|
+
import { defineComponent as p, ref as n, watch as r, createElementBlock as s, openBlock as c, createVNode as m } from "vue";
|
|
2
|
+
import l from "./code.vue.js";
|
|
3
|
+
import { getHmtl as u } from "./code.js";
|
|
4
|
+
const f = { class: "set-code" }, v = /* @__PURE__ */ p({
|
|
7
5
|
__name: "set-code",
|
|
8
6
|
props: {
|
|
9
7
|
name: {
|
|
@@ -25,9 +23,9 @@ const g = { class: "set-code" }, V = { class: "but-div set-code-but" }, j = { cl
|
|
|
25
23
|
type: Object
|
|
26
24
|
}
|
|
27
25
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const e =
|
|
30
|
-
|
|
26
|
+
setup(a) {
|
|
27
|
+
const e = a, t = n("");
|
|
28
|
+
r(
|
|
31
29
|
[
|
|
32
30
|
() => e.name,
|
|
33
31
|
() => e.param,
|
|
@@ -37,20 +35,12 @@ const g = { class: "set-code" }, V = { class: "but-div set-code-but" }, j = { cl
|
|
|
37
35
|
() => e.exposeText
|
|
38
36
|
],
|
|
39
37
|
() => {
|
|
40
|
-
o
|
|
41
|
-
e.name || "",
|
|
42
|
-
e.param || {},
|
|
43
|
-
e.value || {},
|
|
44
|
-
e.slotValue,
|
|
45
|
-
e.propsText,
|
|
46
|
-
e.exposeText
|
|
47
|
-
);
|
|
38
|
+
o();
|
|
48
39
|
},
|
|
49
40
|
{ deep: !0 }
|
|
50
41
|
);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
o.value = i(
|
|
42
|
+
function o() {
|
|
43
|
+
t.value = u(
|
|
54
44
|
e.name || "",
|
|
55
45
|
e.param || {},
|
|
56
46
|
e.value || {},
|
|
@@ -59,46 +49,15 @@ const g = { class: "set-code" }, V = { class: "but-div set-code-but" }, j = { cl
|
|
|
59
49
|
e.exposeText
|
|
60
50
|
);
|
|
61
51
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
function d() {
|
|
69
|
-
T(o.value, e.name + ".vue");
|
|
70
|
-
}
|
|
71
|
-
return (w, a) => (x(), f("div", g, [
|
|
72
|
-
t("div", {
|
|
73
|
-
onClick: u,
|
|
74
|
-
class: "set-code-buts"
|
|
75
|
-
}, [
|
|
76
|
-
a[0] || (a[0] = t("div", null, "代码", -1)),
|
|
77
|
-
t("div", V, h(s.value ? "显示" : "隐藏"), 1),
|
|
78
|
-
t("div", {
|
|
79
|
-
onClick: l(r, ["stop"]),
|
|
80
|
-
class: "but-div set-code-but"
|
|
81
|
-
}, " 复制 "),
|
|
82
|
-
t("div", {
|
|
83
|
-
onClick: l(d, ["stop"]),
|
|
84
|
-
class: "but-div set-code-but"
|
|
85
|
-
}, " 下载 "),
|
|
86
|
-
t("div", {
|
|
87
|
-
onClick: l(p, ["stop"]),
|
|
88
|
-
class: "but-div set-code-but"
|
|
89
|
-
}, " 刷新 ")
|
|
90
|
-
]),
|
|
91
|
-
b(t("div", j, [
|
|
92
|
-
C(k, {
|
|
93
|
-
language: "html",
|
|
94
|
-
code: o.value
|
|
95
|
-
}, null, 8, ["code"])
|
|
96
|
-
], 512), [
|
|
97
|
-
[_, s.value]
|
|
98
|
-
])
|
|
52
|
+
return (i, x) => (c(), s("div", f, [
|
|
53
|
+
m(l, {
|
|
54
|
+
name: e.name,
|
|
55
|
+
html: t.value,
|
|
56
|
+
onRefresh: o
|
|
57
|
+
}, null, 8, ["name", "html"])
|
|
99
58
|
]));
|
|
100
59
|
}
|
|
101
60
|
});
|
|
102
61
|
export {
|
|
103
|
-
|
|
62
|
+
v as default
|
|
104
63
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`)}function
|
|
3
|
-
|\r)+?)\\}[\\s|\\n|\\r]*`,r=new RegExp("^"+n+"$").exec(e);return r&&r.length>0?
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("@fangzhongya/utils/basic/string/toFunction"),w=require("@fangzhongya/utils/basic/string/firstLower");function y(e){return e.replace(/\;(\s|\n\r)*$/,"")}function A(e){return e="let a = "+e,y(e).replace(/^let a = /,"")}function x(e){return y(e)}function v(e,n=""){let t=(e+"").trim().split(/\n/);return t=t.map(r=>n+r),t.join(`
|
|
2
|
+
`)}function d(e=""){e=e.trim();let n=`[\\s|\\n|\\r]*\\{((.|
|
|
3
|
+
|\r)+?)\\}[\\s|\\n|\\r]*`,r=new RegExp("^"+n+"$").exec(e);return r&&r.length>0?d(r[1]):e}const W=["Boolean","Any","String","Number","Array","Object","Function"];function k(e){return W.includes(e)?w.firstLower(e):e}function E(e){let t=new RegExp("^([a-z|A-Z]+)\\<(.+)\\>$").exec(e);if(t&&t.length>0)return{own:k(t[1]),son:t[2]}}function T(e,n){let t=E(e);t?(n.push(t.own),t.son&&T(t.son,n)):n.push(e)}function h(e){e instanceof Array&&(e=e[0]);const n=[];return e&&T(e,n),n}function j(e){const n=Object.prototype.toString.call(e);let r=/^\[[O|o]bject (.*)\]$/.exec(n),i=typeof e;return r&&r.length>0&&(i=r[1].toLowerCase()),i}function q(e,n){const t=j(e),r=h(n)[0];return r&&r!="any"?t==r:!0}function B(e){if(typeof e=="string"){let n=!1;return(/^\'(.|\n|\r)*\'$/.test(e)||/^\"(.|\n|\r)*\"$/.test(e)||/^\`(.|\n|\r)*\`$/.test(e))&&(n=!0),n&&(e=e.substring(1,e.length-1)),e+""}else return typeof e=="object"&&e?e.toString():typeof e>"u"||typeof e=="object"&&!e?"":e+""}function L(e){const n=typeof e;if(n=="string"){e=(e+"").replace(/^(\s|\n|r)*/,"").replace(/(\s|\n|r)*$/,"");let t="";return/^\'(.|\n|\r)*\'$/.test(e)||/^\"(.|\n|\r)*\"$/.test(e)||/^\`(.|\n|\r)*\`$/.test(e)?t="string":/^\[(.|\n|\r)*\]$/.test(e)?t="array":/^\{(.|\n|\r)*\}$/.test(e)?t="object":/^[0-9]*$/.test(e)?t="number":e==="true"||e==="false"?t="boolean":e=="undefined"?t="undefined":e=="null"?t="null":e&&(t="string"),t}else return n==="object"?e instanceof Array?"array":n===null?"null":n:n}function F(e){const n=e[0]||"any";let t=n.split("<")[0];switch(t=t.trim().toLowerCase(),t){case"string":return'""';case"boolean":return"false";case"number":return"0";case"array":let r=n.indexOf("<"),i=n.substring(n.indexOf("<")+1,n.length-1)||"";r==-1&&(i="any");let o=F(b(i).dataType);return o=o=="undefined"?"":o,`[${o}]`;case"object":return"{}";case"function":return"()=>{}";case"any":return'""';default:return"undefined"}}function C(e){let n="";return e.forEach((t,r)=>{t=t.trim(),t&&(n&&(n+=" | "),t==="Array"?n+="Array<any>":n+=t)}),n||"any"}const f=(e,n)=>{let t=[],r=[],i="";for(let o=0;o<e.length;o++){const s=e[o];s==="["||s==="<"||s==="("?(t.push(s),i+=s):s==="]"&&t.length>0&&t[t.length-1]==="["||s===">"&&t.length>0&&t[t.length-1]==="<"||s===")"&&t.length>0&&t[t.length-1]==="("?(t.pop(),i+=s):s===n&&t.length===0?(r.push(i.trim()),i=""):i+=s}return i.trim()!==""&&r.push(i.trim()),r},b=e=>{if(e)if(e.startsWith("[")&&e.endsWith("]")||e.startsWith("(")&&e.endsWith(")")){const n=e.slice(1,-1).trim();if(!n)return{type:"any",dataType:["any"]};const t=f(n,",");return{type:t[0]||"any",dataType:t}}else if(e.startsWith("<")&&e.endsWith(">")){const n=e.slice(1,-1).trim();if(!n)return{type:"any",dataType:["any"]};const t=f(n,"|");return{type:t[0]||"any",dataType:t}}else{const n=f(e,",");return{type:n[0]||"any",dataType:n}}else return{type:"any",dataType:["any"]}};function M(e){return f(e,",").map(t=>{const r=t.trim(),i=t.match(/^([^:?]+)(\??):/);if(!i)return null;const o=i[1].trim(),s=!i[2],$=i[0].length,c=t.substring($).trim();let l=[],p="",g="";for(let u=0;u<c.length;u++){const a=c[u];if(a==="["||a==="<"||a==="("?l.push(a):(a==="]"&&l[l.length-1]==="["||a===">"&&l[l.length-1]==="<"||a===")"&&l[l.length-1]==="(")&&l.pop(),l.length===0&&u>0){u==1&&a!=="]"&&a!==">"&&a!==")"?(p="",g=c.substring(0)):(p=c.substring(0,u+1).trim(),g=c.substring(u+1));break}}const{type:N,dataType:m}=b(p),S=h(m);return{name:o,prop:o,type:S[0],dataType:m,must:s,label:r,description:g}}).filter(Boolean)}Object.defineProperty(exports,"getFunctionFormat",{enumerable:!0,get:()=>O.getFunctionFormat});exports.getFunBody=d;exports.getObjType=j;exports.getSonType=h;exports.getString=B;exports.getTypeValue=F;exports.isDefaultType=L;exports.isTypeEqual=q;exports.parseParamString=M;exports.parseTypeDefinition=b;exports.prettierArrFormat=x;exports.prettierFormat=y;exports.prettierObjFormat=A;exports.setDataType=C;exports.vueFormat=v;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getFunctionFormat as M } from "@fangzhongya/utils/basic/string/toFunction";
|
|
2
|
-
import { firstLower as
|
|
2
|
+
import { firstLower as j } from "@fangzhongya/utils/basic/string/firstLower";
|
|
3
3
|
function h(e) {
|
|
4
4
|
return e.replace(/\;(\s|\n\r)*$/, "");
|
|
5
5
|
}
|
|
@@ -14,11 +14,11 @@ function B(e, n = "") {
|
|
|
14
14
|
return t = t.map((r) => n + r), t.join(`
|
|
15
15
|
`);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function x(e = "") {
|
|
18
18
|
e = e.trim();
|
|
19
19
|
let n = `[\\s|\\n|\\r]*\\{((.|
|
|
20
20
|
|\r)+?)\\}[\\s|\\n|\\r]*`, r = new RegExp("^" + n + "$").exec(e);
|
|
21
|
-
return r && r.length > 0 ?
|
|
21
|
+
return r && r.length > 0 ? x(r[1]) : e;
|
|
22
22
|
}
|
|
23
23
|
const S = [
|
|
24
24
|
"Boolean",
|
|
@@ -30,9 +30,9 @@ const S = [
|
|
|
30
30
|
"Function"
|
|
31
31
|
];
|
|
32
32
|
function w(e) {
|
|
33
|
-
return S.includes(e) ?
|
|
33
|
+
return S.includes(e) ? j(e) : e;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function A(e) {
|
|
36
36
|
let t = new RegExp("^([a-z|A-Z]+)\\<(.+)\\>$").exec(e);
|
|
37
37
|
if (t && t.length > 0)
|
|
38
38
|
return {
|
|
@@ -40,22 +40,22 @@ function x(e) {
|
|
|
40
40
|
son: t[2]
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
let t =
|
|
45
|
-
t ? (n.push(t.own), t.son &&
|
|
43
|
+
function d(e, n) {
|
|
44
|
+
let t = A(e);
|
|
45
|
+
t ? (n.push(t.own), t.son && d(t.son, n)) : n.push(e);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function m(e) {
|
|
48
48
|
e instanceof Array && (e = e[0]);
|
|
49
49
|
const n = [];
|
|
50
|
-
return e &&
|
|
50
|
+
return e && d(e, n), n;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function F(e) {
|
|
53
53
|
const n = Object.prototype.toString.call(e);
|
|
54
54
|
let r = /^\[[O|o]bject (.*)\]$/.exec(n), i = typeof e;
|
|
55
55
|
return r && r.length > 0 && (i = r[1].toLowerCase()), i;
|
|
56
56
|
}
|
|
57
57
|
function L(e, n) {
|
|
58
|
-
const t =
|
|
58
|
+
const t = F(e), r = m(n)[0];
|
|
59
59
|
return r && r != "any" ? t == r : !0;
|
|
60
60
|
}
|
|
61
61
|
function C(e) {
|
|
@@ -73,8 +73,10 @@ function N(e) {
|
|
|
73
73
|
} else
|
|
74
74
|
return n === "object" ? e instanceof Array ? "array" : n === null ? "null" : n : n;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
76
|
+
function O(e) {
|
|
77
|
+
const n = e[0] || "any";
|
|
78
|
+
let t = n.split("<")[0];
|
|
79
|
+
switch (t = t.trim().toLowerCase(), t) {
|
|
78
80
|
case "string":
|
|
79
81
|
return '""';
|
|
80
82
|
case "boolean":
|
|
@@ -82,8 +84,10 @@ function F(e) {
|
|
|
82
84
|
case "number":
|
|
83
85
|
return "0";
|
|
84
86
|
case "array":
|
|
85
|
-
let
|
|
86
|
-
|
|
87
|
+
let r = n.indexOf("<"), i = n.substring(n.indexOf("<") + 1, n.length - 1) || "";
|
|
88
|
+
r == -1 && (i = "any");
|
|
89
|
+
let l = O(b(i).dataType);
|
|
90
|
+
return l = l == "undefined" ? "" : l, `[${l}]`;
|
|
87
91
|
case "object":
|
|
88
92
|
return "{}";
|
|
89
93
|
case "function":
|
|
@@ -102,12 +106,12 @@ function R(e) {
|
|
|
102
106
|
}
|
|
103
107
|
const f = (e, n) => {
|
|
104
108
|
let t = [], r = [], i = "";
|
|
105
|
-
for (let
|
|
106
|
-
const s = e[
|
|
109
|
+
for (let l = 0; l < e.length; l++) {
|
|
110
|
+
const s = e[l];
|
|
107
111
|
s === "[" || s === "<" || s === "(" ? (t.push(s), i += s) : s === "]" && t.length > 0 && t[t.length - 1] === "[" || s === ">" && t.length > 0 && t[t.length - 1] === "<" || s === ")" && t.length > 0 && t[t.length - 1] === "(" ? (t.pop(), i += s) : s === n && t.length === 0 ? (r.push(i.trim()), i = "") : i += s;
|
|
108
112
|
}
|
|
109
113
|
return i.trim() !== "" && r.push(i.trim()), r;
|
|
110
|
-
},
|
|
114
|
+
}, b = (e) => {
|
|
111
115
|
if (e)
|
|
112
116
|
if (e.startsWith("[") && e.endsWith("]") || e.startsWith("(") && e.endsWith(")")) {
|
|
113
117
|
const n = e.slice(1, -1).trim();
|
|
@@ -138,20 +142,20 @@ function q(e) {
|
|
|
138
142
|
return f(e, ",").map((t) => {
|
|
139
143
|
const r = t.trim(), i = t.match(/^([^:?]+)(\??):/);
|
|
140
144
|
if (!i) return null;
|
|
141
|
-
const
|
|
142
|
-
let
|
|
143
|
-
for (let
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
146
|
-
|
|
145
|
+
const l = i[1].trim(), s = !i[2], T = i[0].length, c = t.substring(T).trim();
|
|
146
|
+
let a = [], p = "", g = "";
|
|
147
|
+
for (let u = 0; u < c.length; u++) {
|
|
148
|
+
const o = c[u];
|
|
149
|
+
if (o === "[" || o === "<" || o === "(" ? a.push(o) : (o === "]" && a[a.length - 1] === "[" || o === ">" && a[a.length - 1] === "<" || o === ")" && a[a.length - 1] === "(") && a.pop(), a.length === 0 && u > 0) {
|
|
150
|
+
u == 1 && o !== "]" && o !== ">" && o !== ")" ? (p = "", g = c.substring(0)) : (p = c.substring(0, u + 1).trim(), g = c.substring(u + 1));
|
|
147
151
|
break;
|
|
148
152
|
}
|
|
149
153
|
}
|
|
150
|
-
const { type:
|
|
154
|
+
const { type: W, dataType: y } = b(p), $ = m(y);
|
|
151
155
|
return {
|
|
152
|
-
name:
|
|
153
|
-
prop:
|
|
154
|
-
type:
|
|
156
|
+
name: l,
|
|
157
|
+
prop: l,
|
|
158
|
+
type: $[0],
|
|
155
159
|
dataType: y,
|
|
156
160
|
must: s,
|
|
157
161
|
label: r,
|
|
@@ -160,16 +164,16 @@ function q(e) {
|
|
|
160
164
|
}).filter(Boolean);
|
|
161
165
|
}
|
|
162
166
|
export {
|
|
163
|
-
|
|
167
|
+
x as getFunBody,
|
|
164
168
|
M as getFunctionFormat,
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
F as getObjType,
|
|
170
|
+
m as getSonType,
|
|
167
171
|
C as getString,
|
|
168
|
-
|
|
172
|
+
O as getTypeValue,
|
|
169
173
|
N as isDefaultType,
|
|
170
174
|
L as isTypeEqual,
|
|
171
175
|
q as parseParamString,
|
|
172
|
-
|
|
176
|
+
b as parseTypeDefinition,
|
|
173
177
|
E as prettierArrFormat,
|
|
174
178
|
h as prettierFormat,
|
|
175
179
|
v as prettierObjFormat,
|
|
@@ -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-compon"},c=e.defineComponent({__name:"index",setup(r){return(o
|
|
1
|
+
"use strict";const e=require("vue"),_=require("../../components/main/index.vue.cjs"),n=require("../../components/choice/index.vue.cjs"),u={class:"__document-compon"},c=e.defineComponent({__name:"index",setup(r){return(s,o)=>(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 +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-compon"},c=e.defineComponent({__name:"index",setup(
|
|
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-compon"},c=e.defineComponent({__name:"index",setup(s){return(o,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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.cjs");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),_=require("../../components/compo/code.vue.cjs");;/* empty css */const u=require("../../components/choice/index.vue.cjs"),r={class:"__document-edit"},n=e.defineComponent({__name:"index",setup(c){return(s,o)=>(e.openBlock(),e.createElementBlock("div",r,[e.createVNode(u,null,{default:e.withCtx(t=>[e.createVNode(_,{istop:"",value:t.value},null,8,["value"])]),_:1})]))}});module.exports=n;
|