|
12 | 12 | */ |
13 | 13 |
|
14 | 14 | import React from 'react'; |
15 | | -import { Input, Switch, Checkbox, FilterBuilder, SortBuilder, ConfigRow, SectionHeader } from '@object-ui/components'; |
| 15 | +import { Input, Switch, Checkbox, FilterBuilder, SortBuilder, ConfigRow } from '@object-ui/components'; |
16 | 16 | import type { ConfigPanelSchema, ConfigField } from '@object-ui/components'; |
17 | 17 | import type { FilterGroup, SortItem } from '@object-ui/components'; |
18 | 18 | import { ArrowUp, ArrowDown } from 'lucide-react'; |
@@ -98,7 +98,7 @@ export function buildViewConfigSchema(opts: ViewSchemaFactoryOptions): ConfigPan |
98 | 98 |
|
99 | 99 | function buildPageConfigSection( |
100 | 100 | t: ViewSchemaFactoryOptions['t'], |
101 | | - fieldOptions: FieldOption[], |
| 101 | + _fieldOptions: FieldOption[], |
102 | 102 | objectDef: ViewSchemaFactoryOptions['objectDef'], |
103 | 103 | updateField: ViewSchemaFactoryOptions['updateField'], |
104 | 104 | ): ConfigPanelSchema['sections'][number] { |
@@ -426,7 +426,7 @@ function buildPageConfigSection( |
426 | 426 | function buildDataSection( |
427 | 427 | t: ViewSchemaFactoryOptions['t'], |
428 | 428 | fieldOptions: FieldOption[], |
429 | | - fieldSelectWithNone: Array<{ value: string; label: string }>, |
| 429 | + _fieldSelectWithNone: Array<{ value: string; label: string }>, |
430 | 430 | objectDef: ViewSchemaFactoryOptions['objectDef'], |
431 | 431 | updateField: ViewSchemaFactoryOptions['updateField'], |
432 | 432 | filterGroupValue: FilterGroup, |
@@ -551,7 +551,7 @@ function buildDataSection( |
551 | 551 | key: '_filterBy', |
552 | 552 | label: t('console.objectView.filterBy'), |
553 | 553 | type: 'custom', |
554 | | - render: (_value, _onChange, draft) => { |
| 554 | + render: (_value, _onChange, _draft) => { |
555 | 555 | const filterCount = filterGroupValue.conditions.length; |
556 | 556 | const filterSummary = filterCount > 0 |
557 | 557 | ? t('console.objectView.filtersCount', { count: filterCount }) |
@@ -964,7 +964,7 @@ function buildDataSection( |
964 | 964 | function buildAppearanceSection( |
965 | 965 | t: ViewSchemaFactoryOptions['t'], |
966 | 966 | fieldOptions: FieldOption[], |
967 | | - fieldSelectWithNone: Array<{ value: string; label: string }>, |
| 967 | + _fieldSelectWithNone: Array<{ value: string; label: string }>, |
968 | 968 | updateField: ViewSchemaFactoryOptions['updateField'], |
969 | 969 | ): ConfigPanelSchema['sections'][number] { |
970 | 970 | return { |
|
0 commit comments