12345678910111213141516171819202122232425262728293031323334353637383940 |
- import _extends from "@babel/runtime/helpers/esm/extends";
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
- import Table, { tableProps } from './Table';
- import Column from './Column';
- import ColumnGroup from './ColumnGroup';
- import { defineComponent } from 'vue';
- import { EXPAND_COLUMN, Summary, SummaryCell, SummaryRow } from '../vc-table';
- import { SELECTION_ALL, SELECTION_INVERT, SELECTION_NONE, SELECTION_COLUMN } from './hooks/useSelection';
- var TableSummaryRow = defineComponent(_objectSpread(_objectSpread({}, SummaryRow), {}, {
- name: 'ATableSummaryRow'
- }));
- var TableSummaryCell = defineComponent(_objectSpread(_objectSpread({}, SummaryCell), {}, {
- name: 'ATableSummaryCell'
- }));
- var TableSummary = _extends(Summary, {
- Cell: TableSummaryCell,
- Row: TableSummaryRow,
- name: 'ATableSummary'
- });
- /* istanbul ignore next */
- export { tableProps, TableSummary, TableSummaryRow, TableSummaryCell, Column as TableColumn, ColumnGroup as TableColumnGroup };
- export default _extends(Table, {
- SELECTION_ALL: SELECTION_ALL,
- SELECTION_INVERT: SELECTION_INVERT,
- SELECTION_NONE: SELECTION_NONE,
- SELECTION_COLUMN: SELECTION_COLUMN,
- EXPAND_COLUMN: EXPAND_COLUMN,
- Column: Column,
- ColumnGroup: ColumnGroup,
- Summary: TableSummary,
- install: function install(app) {
- app.component(TableSummary.name, TableSummary);
- app.component(TableSummaryCell.name, TableSummaryCell);
- app.component(TableSummaryRow.name, TableSummaryRow);
- app.component(Table.name, Table);
- app.component(Column.name, Column);
- app.component(ColumnGroup.name, ColumnGroup);
- return app;
- }
- });
|