Browse Source
style: fix oxfmt 0.65 format drift on main (#8327)
Co-authored-by: EvoX <evox@evomap.ai>
pull/8329/head
俞可 · YU KE
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
11 additions and
10 deletions
-
packages/@core/composables/src/use-layout-style.ts
-
packages/@core/preferences/src/types.ts
-
packages/effects/plugins/src/vxe-table/use-vxe-grid.ts
|
|
|
@ -15,9 +15,11 @@ import { useCssVar } from '@vueuse/core'; |
|
|
|
export function useLayoutContentStyle() { |
|
|
|
const contentElement = ref<HTMLDivElement | null>(null); |
|
|
|
|
|
|
|
const overlayStyle = computed( |
|
|
|
(): CSSProperties => ({ inset: 0, position: 'absolute', zIndex: 150 }), |
|
|
|
); |
|
|
|
const overlayStyle = computed((): CSSProperties => ({ |
|
|
|
inset: 0, |
|
|
|
position: 'absolute', |
|
|
|
zIndex: 150, |
|
|
|
})); |
|
|
|
|
|
|
|
return { contentElement, overlayStyle }; |
|
|
|
} |
|
|
|
|
|
|
|
@ -76,10 +76,9 @@ type CustomPreferencesField< |
|
|
|
string extends Extract<keyof TCustomPreferences, string> |
|
|
|
? AnyCustomPreferencesField |
|
|
|
: { |
|
|
|
[K in Extract< |
|
|
|
keyof TCustomPreferences, |
|
|
|
string |
|
|
|
>]: TCustomPreferences[K] extends boolean |
|
|
|
[ |
|
|
|
K in Extract<keyof TCustomPreferences, string> |
|
|
|
]: TCustomPreferences[K] extends boolean |
|
|
|
? CustomPreferencesSwitchField<K> |
|
|
|
: TCustomPreferences[K] extends number |
|
|
|
? CustomPreferencesNumberField<K> |
|
|
|
|
|
|
|
@ -14,9 +14,9 @@ import { VxeGridApi } from './api'; |
|
|
|
import VxeGrid from './use-vxe-grid.vue'; |
|
|
|
|
|
|
|
type FilteredSlots<T> = { |
|
|
|
[K in keyof VxeGridSlots<T> as K extends 'form' |
|
|
|
? never |
|
|
|
: K]: VxeGridSlots<T>[K]; |
|
|
|
[ |
|
|
|
K in keyof VxeGridSlots<T> as K extends 'form' ? never : K |
|
|
|
]: VxeGridSlots<T>[K]; |
|
|
|
}; |
|
|
|
|
|
|
|
export function useVbenVxeGrid< |
|
|
|
|