@@ -7,13 +7,15 @@ import type {
77 VTextField ,
88 VTextarea ,
99} from 'vuetify/components' ;
10+ import type { EventBusKey } from '@vueuse/core' ;
1011import {
1112 AxiosError ,
1213} from 'axios' ;
1314
1415
15- // -------------------------------------------------- Vuetify Types //
16- export type Density = null | 'default' | 'comfortable' | 'compact' ;
16+ // -------------------------------------------------- Types //
17+ export type FieldValue = string | boolean | number | object | [ ] | null | { [ key : string ] : string | unknown ; } ;
18+ export type TimeOpened = Date | null ;
1719
1820
1921// -------------------------------------------------- Props //
@@ -62,8 +64,6 @@ export interface SharedProps {
6264 valueColor ?: string ;
6365}
6466
65-
66-
6767// Component Props //
6868export interface VInlineCheckboxProps extends Omit < SharedProps ,
6969 'autofocus' | 'hideSaveIcon' | 'loadingIcon' | 'loadingIconColor' | 'saveButtonColor' | 'saveButtonSize' | 'saveIcon' | 'saveIconColor' | 'saveButtonTitle' | 'saveButtonVariant'
@@ -108,6 +108,7 @@ export interface VInlineTextFieldProps extends Omit<SharedProps,
108108 variant ?: VTextField [ '$props' ] [ 'variant' ] ;
109109}
110110
111+ // -------------------------------------------------- Components //
111112export type BooleanIcons = Required < Pick < SharedProps , 'iconFalse' | 'iconFalseColor' | 'iconFalseTitle' | 'iconTrue' | 'iconTrueColor' | 'iconTrueTitle' > > ;
112113
113114export interface SaveFieldButtons extends Required < Pick < SharedProps ,
@@ -133,11 +134,6 @@ export interface SaveFieldButtons extends Required<Pick<SharedProps,
133134} ;
134135
135136
136- // -------------------------------------------------- Methods //
137- export type FieldValue = string | boolean | number | object | [ ] | null | { [ key : string ] : string | unknown ; } ;
138- export type TimeOpened = Date | null ;
139-
140-
141137// -------------------------------------------------- Composables //
142138export interface UseToggleField {
143139 (
@@ -170,3 +166,7 @@ export interface UseSaveValue {
170166 value : FieldValue ,
171167 ) : Promise < { [ key : string ] : string | unknown ; } | undefined > ;
172168}
169+
170+
171+ // -------------------------------------------------- Close Siblings Event Bus //
172+ export const CloseSiblingsBus : EventBusKey < TimeOpened > = Symbol ( 'identifier' ) ;
0 commit comments