@fangzhongya/vue-archive 0.0.57 → 0.0.58
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.
|
@@ -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;
|