Skip to content

Commit

Permalink
feat(query-search-table): delete PQuerySearchTable (#301)
Browse files Browse the repository at this point in the history
* feat(query-search-table): delete `PQuerySearchTable`

Signed-off-by: Dahyun Yu <[email protected]>

* chore: replace type `Options` to `ToolboxTableOptions`

Signed-off-by: Dahyun Yu <[email protected]>

---------

Signed-off-by: Dahyun Yu <[email protected]>
  • Loading branch information
Dahyun Yu authored Feb 16, 2023
1 parent 50bd566 commit 9dca233
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 306 deletions.
1 change: 0 additions & 1 deletion src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export { default as PQuerySearchTags } from './inputs/search/query-search-tags/P
export { default as PFilterableQueryDropdown } from './inputs/dropdown/filterable-query-dropdown/PFilterableQueryDropdown.vue';
export { default as PDataTable } from './data-display/tables/data-table/PDataTable.vue';
export { default as PDefinitionTable } from './data-display/tables/definition-table/PDefinitionTable.vue';
export { default as PQuerySearchTable } from './data-display/tables/query-search-table/PQuerySearchTable.vue';
export { default as PSearchTable } from './data-display/tables/search-table/PSearchTable.vue';
export { default as PToolboxTable } from './data-display/tables/toolbox-table/PToolboxTable.vue';
export { default as PButtonTab } from './navigation/tabs/button-tab/PButtonTab.vue';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ import type { QuerySearchTableOptions } from '@/data-display/dynamic/dynamic-lay
import { getValueByPath } from '@/data-display/dynamic/helper';
import PHeading from '@/data-display/heading/PHeading.vue';
import type { DataTableFieldType } from '@/data-display/tables/data-table/type';
import type { Options } from '@/data-display/tables/query-search-table/type';
import PToolboxTable from '@/data-display/tables/toolbox-table/PToolboxTable.vue';
import type { ToolboxTableOptions } from '@/data-display/tables/toolbox-table/type';
import type { KeyItemSet } from '@/inputs/search/query-search/type';
Expand Down Expand Up @@ -237,7 +237,7 @@ export default defineComponent<QuerySearchTableDynamicLayoutProps>({
emit('export');
};
const onChange = (options: Options = {}) => {
const onChange = (options: ToolboxTableOptions = {}) => {
emit('fetch', options);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ import type { DynamicLayoutFetchOptions, DynamicLayoutTypeOptions } from '@/data
import type { TableOptions } from '@/data-display/dynamic/dynamic-layout/type/layout-schema';
import { getValueByPath } from '@/data-display/dynamic/helper';
import PHeading from '@/data-display/heading/PHeading.vue';
import type { Options } from '@/data-display/tables/query-search-table/type';
import PToolboxTable from '@/data-display/tables/toolbox-table/PToolboxTable.vue';
import type { ToolboxTableOptions } from '@/data-display/tables/toolbox-table/type';
export default defineComponent<TableDynamicLayoutProps>({
name: 'PDynamicLayoutTable',
Expand Down Expand Up @@ -228,7 +228,7 @@ export default defineComponent<TableDynamicLayoutProps>({
emit('export');
};
const onChange = (options: Options = {}) => {
const onChange = (options: ToolboxTableOptions = {}) => {
emit('fetch', options);
};
Expand Down
59 changes: 0 additions & 59 deletions src/data-display/tables/query-search-table/PQuerySearchTable.md

This file was deleted.

203 changes: 0 additions & 203 deletions src/data-display/tables/query-search-table/PQuerySearchTable.vue

This file was deleted.

39 changes: 0 additions & 39 deletions src/data-display/tables/query-search-table/type.ts

This file was deleted.

0 comments on commit 9dca233

Please sign in to comment.