tianheng-ui 0.0.2 → 0.0.6

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.
@@ -0,0 +1,251 @@
1
+ <template>
2
+ <div class="th-table">
3
+ <el-table
4
+ ref="th_table"
5
+ v-loading="loading"
6
+ :data="data"
7
+ :row-key="rowKey"
8
+ stripe
9
+ :highlight-current-row="selectType === 'single'"
10
+ :tree-props="treeProps"
11
+ @current-change="handleSingleSelect"
12
+ @row-dblclick="dblclick"
13
+ @selection-change="handleSelectionChange"
14
+ >
15
+ <template v-for="(item, index) in options">
16
+ <template v-if="!item.hide">
17
+ <el-table-column
18
+ v-if="item.type"
19
+ :key="index"
20
+ :type="item.type"
21
+ :label="item.label"
22
+ width="50"
23
+ >
24
+ </el-table-column>
25
+ <el-table-column
26
+ v-else-if="item.children"
27
+ :key="index"
28
+ :prop="item.prop"
29
+ :label="item.label"
30
+ :width="item.width"
31
+ :align="item.align || 'left'"
32
+ :fixed="item.fixed || null"
33
+ :sortable="item.sortable"
34
+ :sort-method="item.sortMethod"
35
+ show-overflow-tooltip
36
+ >
37
+ <table-column :options="item.children"></table-column>
38
+ </el-table-column>
39
+ <el-table-column
40
+ v-else
41
+ :key="index"
42
+ :prop="item.prop"
43
+ :label="item.label"
44
+ :width="item.width"
45
+ :align="item.align || 'left'"
46
+ :fixed="item.fixed || null"
47
+ :sortable="item.sortable"
48
+ :sort-method="item.sortMethod"
49
+ show-overflow-tooltip
50
+ >
51
+ <template slot-scope="scope">
52
+ <slot
53
+ v-if="item.slot"
54
+ :name="item.slot"
55
+ :scope="scope"
56
+ :option="item"
57
+ />
58
+ <div v-else>{{ scope.row[item.prop] }}</div>
59
+ </template>
60
+ </el-table-column>
61
+ </template>
62
+ </template>
63
+ <!-- <table-column :options="options">
64
+ <template #slot="{ scope,option }">
65
+ <slot :name="option.slot" :scope="scope" :option="option" />
66
+ </template>
67
+ </table-column> -->
68
+ <template #empty>
69
+ <div>
70
+ {{ loading ? loadingText || "加载中" : emptyText || "暂无数据" }}
71
+ </div>
72
+ </template>
73
+ </el-table>
74
+ <!-- <i class="th-table-more el-icon-setting"></i> -->
75
+
76
+ <div v-if="Object.keys(pageInfo).length > 0 && showPage" class="pagination">
77
+ <el-pagination
78
+ :current-page="pageInfo.currentPage"
79
+ :page-sizes="pageInfo.sizes"
80
+ :page-size="pageInfo.pageSize"
81
+ layout="total, prev, pager, next, sizes"
82
+ :total="pageInfo.total"
83
+ @size-change="handleSizeChange"
84
+ @current-change="handleCurrentChange"
85
+ @prev-click="handlePrevClick"
86
+ @next-click="handleNextClick"
87
+ />
88
+ </div>
89
+ </div>
90
+ </template>
91
+
92
+ <script>
93
+ import TableColumn from "./column.vue";
94
+
95
+ export default {
96
+ name:'ThTable',
97
+ components: {
98
+ TableColumn,
99
+ },
100
+ props: {
101
+ data: {
102
+ type: Array,
103
+ default: () => {
104
+ return [];
105
+ },
106
+ },
107
+ options: {
108
+ type: Array,
109
+ default: () => {
110
+ return [];
111
+ },
112
+ },
113
+ // single:单行选中 multiple:多行选中
114
+ selectType: {
115
+ type: String,
116
+ default: () => {
117
+ return "";
118
+ },
119
+ },
120
+ // 行双击事件
121
+ dblclick: {
122
+ type: Function,
123
+ default: () => {
124
+ return null;
125
+ },
126
+ },
127
+ treeProps: {
128
+ type: Object,
129
+ default: function() {
130
+ return {};
131
+ },
132
+ },
133
+ // 对象,不传表示没有分页,包含三个参数,均必填pageSize:每页展示的条数。currentPage:当前页码。pageCount:总页数
134
+ pageInfo: {
135
+ type: Object,
136
+ default: function() {
137
+ return {};
138
+ },
139
+ },
140
+ loading: {
141
+ type: Boolean,
142
+ default: () => {
143
+ return false;
144
+ },
145
+ },
146
+ height: {
147
+ type: String,
148
+ default: () => {
149
+ return "";
150
+ },
151
+ },
152
+ rowKey: {
153
+ type: String,
154
+ default: () => {
155
+ return "";
156
+ },
157
+ },
158
+ showPage: {
159
+ type: Boolean,
160
+ default: () => {
161
+ return true;
162
+ },
163
+ },
164
+ emptyText: {
165
+ type: String,
166
+ default: () => {
167
+ return "暂无数据";
168
+ },
169
+ },
170
+ loadingText: {
171
+ type: String,
172
+ default: () => {
173
+ return "加载中";
174
+ },
175
+ },
176
+ },
177
+ data() {
178
+ return {};
179
+ },
180
+ methods: {
181
+ handleSelectionChange(currentRow) {
182
+ if (currentRow) {
183
+ this.$emit("selection-change", currentRow);
184
+ }
185
+ },
186
+ // 选中行--单选
187
+ handleSingleSelect(currentRow, oldCurrentRow) {
188
+ if (currentRow) {
189
+ this.$emit("select-row-change", currentRow);
190
+ }
191
+ },
192
+ // 每页展示的条数 改变时
193
+ handleSizeChange(val) {
194
+ this.pageInfo.pageSize = val;
195
+ this.$emit(
196
+ "pageNumberChange",
197
+ this.pageInfo.currentPage,
198
+ this.pageInfo.pageSize
199
+ );
200
+ },
201
+ // 当前页码 改变时
202
+ handleCurrentChange(val) {
203
+ this.pageInfo.currentPage = val;
204
+ this.$emit(
205
+ "pageNumberChange",
206
+ this.pageInfo.currentPage,
207
+ this.pageInfo.pageSize
208
+ );
209
+ },
210
+ // 点击上一页
211
+ handlePrevClick() {
212
+ if (this.pageInfo.currentPage === 1) return;
213
+ this.pageInfo.currentPage -= 1;
214
+ this.$emit(
215
+ "pageNumberChange",
216
+ this.pageInfo.currentPage,
217
+ this.pageInfo.pageSize
218
+ );
219
+ },
220
+ // 点击下一页
221
+ handleNextClick() {
222
+ if (this.pageInfo.currentPage === this.pageInfo.pageCount) return;
223
+ this.pageInfo.currentPage += 1;
224
+ this.$emit(
225
+ "pageNumberChange",
226
+ this.pageInfo.currentPage,
227
+ this.pageInfo.pageSize
228
+ );
229
+ },
230
+ getTable() {
231
+ return this.$refs["th_table"];
232
+ },
233
+ },
234
+ };
235
+ </script>
236
+
237
+ <style lang="less" scoped>
238
+ .th-table {
239
+ position: relative;
240
+ width: 100%;
241
+ .pagination {
242
+ margin-top: 20px;
243
+ }
244
+ &-more {
245
+ position: absolute;
246
+ top: 13px;
247
+ right: 5px;
248
+ cursor: pointer;
249
+ }
250
+ }
251
+ </style>
@@ -0,0 +1,105 @@
1
+ <template>
2
+ <div class="table-search">
3
+ <template v-for="(item, index) in options">
4
+ <el-input
5
+ v-if="item.type === 'input'"
6
+ class="table-search-item"
7
+ v-model="params[item.value]"
8
+ :key="index"
9
+ :style="{ width: item.width + 'px' }"
10
+ :placeholder="item.placeholder || '请输入'"
11
+ :size="item.size || 'mini'"
12
+ clearable
13
+ ></el-input>
14
+ <el-date-picker
15
+ v-if="item.type === 'date'"
16
+ class="table-search-item"
17
+ v-model="params[item.value]"
18
+ :key="index"
19
+ :style="{ width: item.width + 'px' }"
20
+ :type="item.dateType || 'date'"
21
+ :format="item.format"
22
+ :value-format="item.valueFormat"
23
+ :size="item.size || 'mini'"
24
+ range-separator="至"
25
+ start-placeholder="开始日期"
26
+ end-placeholder="结束日期"
27
+ >
28
+ </el-date-picker>
29
+ </template>
30
+
31
+ <el-button
32
+ type="primary"
33
+ icon="el-icon-search"
34
+ size="mini"
35
+ plain
36
+ @click="doSearch"
37
+ >查询</el-button
38
+ >
39
+ <el-button
40
+ type="primary"
41
+ icon="el-icon-refresh-right"
42
+ size="mini"
43
+ plain
44
+ @click="doReset"
45
+ >重置</el-button
46
+ >
47
+ </div>
48
+ </template>
49
+
50
+ <script>
51
+ export default {
52
+ props: {
53
+ options: {
54
+ type: Array,
55
+ default: () => {
56
+ return [];
57
+ },
58
+ },
59
+ params: {
60
+ type: Object,
61
+ default: () => {
62
+ return {};
63
+ },
64
+ },
65
+ },
66
+ data() {
67
+ return {
68
+ datePickerTypes: [
69
+ "year",
70
+ "month",
71
+ "date",
72
+ "dates",
73
+ "week",
74
+ "datetime",
75
+ "datetimerange",
76
+ "daterange",
77
+ "monthrange",
78
+ ],
79
+ };
80
+ },
81
+ methods: {
82
+ doSearch() {
83
+ this.$emit("on-search", this.params);
84
+ },
85
+ doReset() {
86
+ this.params = {};
87
+ this.$emit("on-reset", this.params);
88
+ },
89
+ },
90
+ };
91
+ </script>
92
+
93
+ <style lang="less" scoped>
94
+ .table-search {
95
+ display: flex;
96
+ align-items: center;
97
+ margin-bottom: 10px;
98
+ &-item {
99
+ margin-right: 10px;
100
+ }
101
+ }
102
+ .table-search-item:last-child {
103
+ margin-right: 20px !important;
104
+ }
105
+ </style>
@@ -0,0 +1,98 @@
1
+ <template>
2
+ <div class="tableTools">
3
+ <template v-for="(item, index) in options">
4
+ <el-button
5
+ v-if="item.act_type === 'add'"
6
+ :key="index"
7
+ :style="{ color: item.btn_color }"
8
+ :type="item.btn_type"
9
+ :icon="item.btn_icon"
10
+ :disabled="item.btn_disabled"
11
+ @click="doAdd(item)"
12
+ >{{ item.btn_name }}</el-button
13
+ >
14
+ <el-button
15
+ v-if="item.act_type === 'refresh'"
16
+ :key="index"
17
+ :style="{ color: item.btn_color }"
18
+ :type="item.btn_type"
19
+ :icon="item.btn_icon"
20
+ :disabled="item.btn_disabled"
21
+ @click="doRefresh(item)"
22
+ >{{ item.btn_name }}</el-button
23
+ >
24
+ <el-button
25
+ v-if="item.act_type === 'export'"
26
+ :key="index"
27
+ :style="{ color: item.btn_color }"
28
+ :type="item.btn_type"
29
+ :icon="item.btn_icon"
30
+ :disabled="item.btn_disabled"
31
+ @click="doExport(item)"
32
+ >{{ item.btn_name }}</el-button
33
+ >
34
+ <el-button
35
+ v-if="item.act_type === 'batch'"
36
+ :key="index"
37
+ :style="{ color: item.btn_color }"
38
+ :type="item.btn_type"
39
+ :icon="item.btn_icon"
40
+ :disabled="item.btn_disabled || selectionDisabled"
41
+ :loading="loadingDel"
42
+ @click="doBatch(item)"
43
+ >{{ item.btn_name }}</el-button
44
+ >
45
+ </template>
46
+ </div>
47
+ </template>
48
+
49
+ <script>
50
+ export default {
51
+ props: {
52
+ options: {
53
+ type: Array,
54
+ default: () => {
55
+ return [];
56
+ },
57
+ },
58
+ selectionDisabled: {
59
+ type: Boolean,
60
+ default: () => {
61
+ return true;
62
+ },
63
+ },
64
+ },
65
+ data() {
66
+ return {
67
+ loadingDel: false,
68
+ };
69
+ },
70
+ methods: {
71
+ doEval(item) {
72
+ this.$emit("on-eval", item);
73
+ },
74
+ doAdd(item) {
75
+ this.$emit("on-add", item);
76
+ },
77
+ doRefresh(item) {
78
+ this.$emit("on-refresh", item);
79
+ },
80
+ doExport(item) {
81
+ this.$emit("on-export", item);
82
+ },
83
+ doBatch(item) {
84
+ this.loadingDel = true;
85
+ const callback = (bool) => {
86
+ this.loadingDel = false;
87
+ };
88
+ this.$emit("on-batch", item, callback);
89
+ },
90
+ },
91
+ };
92
+ </script>
93
+
94
+ <style lang="less">
95
+ .tableTools {
96
+ margin-bottom: 10px;
97
+ }
98
+ </style>
package/src/App.vue CHANGED
@@ -9,7 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script>
12
- import ThCell from "./component/cell/index.vue";
12
+ import ThCell from "../packages/cell/index.vue";
13
13
  export default {
14
14
  name: "app",
15
15
  components: { ThCell },
package/src/index.js ADDED
@@ -0,0 +1,21 @@
1
+ import Cell from "../packages/cell/index.js";
2
+ import Icons from "../packages/icons/index.js";
3
+ import Table from "../packages/table/index.js";
4
+
5
+ const components = [Cell, Icons, Table];
6
+
7
+ const install = function(Vue, opts = {}) {
8
+ components.forEach(component => {
9
+ Vue.component(component.name, component);
10
+ });
11
+ };
12
+
13
+ if (typeof window !== "undefined" && window.Vue) {
14
+ install(window.Vue);
15
+ }
16
+
17
+ export default {
18
+ version: "0.0.6",
19
+ install,
20
+ ...components
21
+ };
package/.babelrc DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "presets": [
3
- ["env", { "modules": false }],
4
- "stage-3"
5
- ]
6
- }
package/.editorconfig DELETED
@@ -1,9 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("tianheng-ui",[],t):"object"==typeof exports?exports["tianheng-ui"]=t():e["tianheng-ui"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=1)}([function(e,t,n){"use strict";t.a={name:"ThCell",props:{title:{type:String,default:function(){return""}},value:{type:String,default:function(){return""}},label:{type:String,default:function(){return""}},icon:{type:String,default:function(){return""}},customStyle:{type:String,default:function(){return""}},loading:{type:Boolean,default:function(){return!1}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a},function(e,t,n){"use strict";function r(e){n(3)}var a=n(0),o=n(9),i=n(8),s=r,l=i(a.a,o.a,!1,s,"data-v-28bf3db5",null);t.a=l.exports},function(e,t,n){var r=n(4);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(6)("4b242edc",r,!0,{})},function(e,t,n){t=e.exports=n(5)(!1),t.push([e.i,".th-cell[data-v-28bf3db5]{position:relative;display:flex;align-items:center;padding:10px 15px;border-radius:4px;border:1px solid #ebeef5;background-color:#fff;overflow:hidden;transition:.3s}.th-cell .th-cell-icon[data-v-28bf3db5]{margin-right:10px;font-size:18px}.th-cell .th-cell-content[data-v-28bf3db5]{flex:1}.th-cell-title[data-v-28bf3db5]{font-size:16px;color:#333}.th-cell-label[data-v-28bf3db5]{margin-top:5px;font-size:14px;color:#666;word-wrap:break-word;word-break:break-all}.th-cell-value[data-v-28bf3db5]{margin-left:10px;max-width:50%;font-size:14px;color:#999;word-wrap:break-word;word-break:break-all}.th-cell[data-v-28bf3db5]:hover{box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.skeleton[data-v-28bf3db5]{display:flex;align-items:center;margin-bottom:20px;padding:10px 15px;border-radius:4px;border:1px solid #ebeef5}.skeleton-icon[data-v-28bf3db5]{width:30px;height:30px;margin-right:10px;font-size:18px}.skeleton-content[data-v-28bf3db5]{flex:1}.skeleton-title[data-v-28bf3db5]{width:100px}.skeleton-label[data-v-28bf3db5]{margin-top:5px}.skeleton-value[data-v-28bf3db5]{margin-left:10px;width:100px}",""])},function(e,t){function n(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var o=r(a);return[n].concat(a.sources.map(function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<e.length;a++){var i=e[a];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=d[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(o(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],a=0;a<n.parts.length;a++)i.push(o(n.parts[a]));d[n.id]={id:n.id,refs:1,parts:i}}}}function a(){var e=document.createElement("style");return e.type="text/css",u.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+g+'~="'+e.id+'"]');if(r){if(v)return h;r.parentNode.removeChild(r)}if(m){var o=p++;r=f||(f=a()),t=i.bind(null,r,o,!1),n=i.bind(null,r,o,!0)}else r=a(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function i(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function s(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),b.ssrId&&e.setAttribute(g,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(7),d={},u=l&&(document.head||document.getElementsByTagName("head")[0]),f=null,p=0,v=!1,h=function(){},b=null,g="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,a){v=n,b=a||{};var o=c(e,t);return r(o),function(t){for(var n=[],a=0;a<o.length;a++){var i=o[a],s=d[i.id];s.refs--,n.push(s)}t?(o=c(e,t),r(o)):o=[];for(var a=0;a<n.length;a++){var s=n[a];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete d[s.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s=o[1],l=o[2],c=o[3],d={id:e+":"+a,css:s,media:l,sourceMap:c};r[i]?r[i].parts.push(d):n.push(r[i]={id:i,parts:[d]})}return n}},function(e,t){e.exports=function(e,t,n,r,a,o){var i,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(i=e,s=e.default);var c="function"==typeof s?s.options:s;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId=a);var d;if(o?(d=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=d):r&&(d=r),d){var u=c.functional,f=u?c.render:c.beforeCreate;u?(c._injectStyles=d,c.render=function(e,t){return d.call(t),f(e,t)}):c.beforeCreate=f?[].concat(f,d):[d]}return{esModule:i,exports:s,options:c}}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-skeleton",{attrs:{loading:e.loading,animated:""}},[n("template",{slot:"template"},[n("div",{staticClass:"skeleton"},[n("el-skeleton-item",{staticClass:"skeleton-icon",attrs:{variant:"image"}}),e._v(" "),n("div",{staticClass:"skeleton-content"},[n("el-skeleton-item",{staticClass:"skeleton-title",attrs:{variant:"h4"}}),e._v(" "),n("el-skeleton-item",{staticClass:"skeleton-label",attrs:{variant:"text"}})],1),e._v(" "),n("el-skeleton-item",{staticClass:"skeleton-value",attrs:{variant:"text"}})],1)])],2),e._v(" "),e.loading?e._e():n("div",{staticClass:"th-cell",style:e.customStyle},[e.icon?n("i",{staticClass:"th-cell-icon",class:e.icon}):e._t("icon"),e._v(" "),n("div",{staticClass:"th-cell-content"},[e.title?n("div",{staticClass:"th-cell-title"},[e._v(e._s(e.title))]):e._t("title"),e._v(" "),e.label?n("div",{staticClass:"th-cell-label"},[e._v(e._s(e.label))]):e._t("label")],2),e._v(" "),e.value?n("div",{staticClass:"th-cell-value"},[e._v(e._s(e.value))]):e._t("default")],2)],1)},a=[],o={render:r,staticRenderFns:a};t.a=o}])});
2
- //# sourceMappingURL=tianheng-ui.js.map