-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- In `src/components/table/Table.vue`, - The code to generate default renderers for `columns` is totally replaced. I thought the older code cannot be ported to Vue 3 because Vue 3 no longer provides `extend` and I could not find out how to get a component instance without mounting it. Thus I decided to create an object that mocks a component instance. `mockTableColumn` does it. `mockTableColumn` creates an object that conforms to the interface required by `SlotComponent`. - The bug that `Table` crashed when `$slots.footer` was not specified is fixed. - Background: enough updates to show the documentation page of the `Button` component are performed. The documentation page uses the `Table` component to show attributes and events of the `Button` component. - TODO: the `mockTableColumn` function should be defined in a separate file. - Applies ESLint fix to the following files, - `src/components/input/Input.vue` - `src/components/pagination/Pagination.vue` - `src/components/pagination/PaginationButton.vue` - `src/components/table/TableColumn.vue` - `src/components/table/TableMobileSort.vue` - `src/utils/FormElementMixin.js` - Manually fixes the following ESLint errors, - Removing `.native` from `v-on` (`Input`) - Explicitly returning `undefined` (`Input`, `PaginationButton`) - Avoiding combinations of `v-for` and `v-if` (`TableMobileSort`). Removes `v-if` by filtering the array before giving it to `v-for`.
- Loading branch information
Showing
7 changed files
with
173 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.