diff --git a/packages/table copy/editable.vue b/packages/table copy/editable.vue deleted file mode 100644 index 99efbb6..0000000 --- a/packages/table copy/editable.vue +++ /dev/null @@ -1,217 +0,0 @@ - - - - - diff --git a/packages/table copy/index.js b/packages/table copy/index.js deleted file mode 100644 index a6b2a96..0000000 --- a/packages/table copy/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import tableProps from './props'; - -export default { - name: 'Table', - props: { - value: { - type: Array, - default() { - return []; - }, - }, - columns: { - type: Array, - default() { - return []; - }, - }, - editable: Boolean, - editall: Boolean, - clickable: Boolean, - disabled: Boolean, - ...tableProps, - }, - render(h) { - return h(`z-table-${this.editable ? 'editable' : 'normal'}`, { props: { ...this._props }, scopedSlots: this.$scopedSlots, on: this.$listeners }); - }, -}; diff --git a/packages/table copy/normal.vue b/packages/table copy/normal.vue deleted file mode 100644 index 8a93543..0000000 --- a/packages/table copy/normal.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - diff --git a/packages/table copy/props.js b/packages/table copy/props.js deleted file mode 100644 index 7ea8926..0000000 --- a/packages/table copy/props.js +++ /dev/null @@ -1,62 +0,0 @@ -export default { - data: { - type: Array, - default: function() { - return []; - }, - }, - size: String, - width: [String, Number], - height: [String, Number], - maxHeight: [String, Number], - fit: { - type: Boolean, - default: true, - }, - stripe: Boolean, - border: Boolean, - rowKey: [String, Function], - context: {}, - showHeader: { - type: Boolean, - default: true, - }, - showSummary: Boolean, - sumText: String, - summaryMethod: Function, - rowClassName: [String, Function], - rowStyle: [Object, Function], - cellClassName: [String, Function], - cellStyle: [Object, Function], - headerRowClassName: [String, Function], - headerRowStyle: [Object, Function], - headerCellClassName: [String, Function], - headerCellStyle: [Object, Function], - highlightCurrentRow: Boolean, - currentRowKey: [String, Number], - emptyText: String, - expandRowKeys: Array, - defaultExpandAll: Boolean, - defaultSort: Object, - tooltipEffect: String, - spanMethod: Function, - selectOnIndeterminate: { - type: Boolean, - default: true, - }, - indent: { - type: Number, - default: 16, - }, - treeProps: { - type: Object, - default() { - return { - hasChildren: 'hasChildren', - children: 'children', - }; - }, - }, - lazy: Boolean, - load: Function, -}; diff --git a/packages/table/normal copy.vue b/packages/table/normal copy.vue deleted file mode 100644 index 8a93543..0000000 --- a/packages/table/normal copy.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - -- libgit2 0.21.0