pangea-lib 4.0.516 → 4.0.518

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,197 +1,211 @@
1
1
  import { PlainObject } from 'pangea-helpers';
2
2
  import { Item, Columns, ColumnAlign, SearchParams, Indentation, DropdownOption, StrOrFn, Icon } from '../../types';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
- searchParams: import('vue').PropType<SearchParams>;
6
- itemsSelected: import('vue').PropType<Item[]>;
7
- hideTitles: {
8
- type: import('vue').PropType<boolean>;
9
- };
10
- columns: {
11
- type: import('vue').PropType<Columns>;
12
- };
13
- columnsAlign: {
14
- type: import('vue').PropType<ColumnAlign>;
15
- };
16
- createItemBtnText: {
17
- type: import('vue').PropType<string>;
18
- };
19
- withEditButton: {
20
- type: import('vue').PropType<boolean>;
21
- };
22
- editToName: {
23
- type: import('vue').PropType<string>;
24
- };
25
- deleteFn: {
26
- type: import('vue').PropType<(item: Item) => Promise<void>>;
27
- };
28
- deleteBtnIcon: {
29
- type: import('vue').PropType<Icon>;
30
- };
31
- deleteBtnText: {
32
- type: import('vue').PropType<StrOrFn>;
33
- };
34
- toName: {
35
- type: import('vue').PropType<string>;
36
- };
37
- actionsOptions: {
38
- type: import('vue').PropType<DropdownOption[]>;
39
- };
40
- useDropdown: {
41
- type: import('vue').PropType<boolean>;
42
- };
43
- items: {
44
- type: import('vue').PropType<Item[]>;
45
- required: true;
46
- };
47
- descriptionField: {
48
- type: import('vue').PropType<string>;
49
- };
50
- totalCount: {
51
- type: import('vue').PropType<number>;
52
- };
53
- groupByFn: {
54
- type: import('vue').PropType<(item: Item) => string>;
55
- };
56
- groupByDate: {
57
- type: import('vue').PropType<string | boolean>;
58
- };
59
- reduceGroupTitleFn: {
60
- type: import('vue').PropType<(items: Item[]) => string>;
61
- };
62
- noItemsLabel: {
63
- type: import('vue').PropType<StrOrFn>;
64
- };
65
- noDisplayNoItemsIcon: {
66
- type: import('vue').PropType<boolean>;
67
- };
68
- noSearch: {
69
- type: import('vue').PropType<boolean>;
70
- };
71
- searchInputPlaceholder: {
72
- type: import('vue').PropType<string>;
73
- };
74
- filters: {
75
- type: import('vue').PropType<PlainObject>;
76
- };
77
- indentation: {
78
- type: import('vue').PropType<Indentation>;
79
- };
80
- isLoading: {
81
- type: import('vue').PropType<boolean>;
82
- };
83
- secondary: {
84
- type: import('vue').PropType<boolean>;
85
- };
86
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
87
- refreshList: () => void;
88
- editItem: (item: Item) => void;
89
- createItem: () => void;
90
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
91
- searchParams: import('vue').PropType<SearchParams>;
92
- itemsSelected: import('vue').PropType<Item[]>;
93
- hideTitles: {
94
- type: import('vue').PropType<boolean>;
95
- };
96
- columns: {
97
- type: import('vue').PropType<Columns>;
98
- };
99
- columnsAlign: {
100
- type: import('vue').PropType<ColumnAlign>;
101
- };
102
- createItemBtnText: {
103
- type: import('vue').PropType<string>;
104
- };
105
- withEditButton: {
106
- type: import('vue').PropType<boolean>;
107
- };
108
- editToName: {
109
- type: import('vue').PropType<string>;
110
- };
111
- deleteFn: {
112
- type: import('vue').PropType<(item: Item) => Promise<void>>;
113
- };
114
- deleteBtnIcon: {
115
- type: import('vue').PropType<Icon>;
116
- };
117
- deleteBtnText: {
118
- type: import('vue').PropType<StrOrFn>;
119
- };
120
- toName: {
121
- type: import('vue').PropType<string>;
122
- };
123
- actionsOptions: {
124
- type: import('vue').PropType<DropdownOption[]>;
125
- };
126
- useDropdown: {
127
- type: import('vue').PropType<boolean>;
128
- };
129
- items: {
130
- type: import('vue').PropType<Item[]>;
131
- required: true;
132
- };
133
- descriptionField: {
134
- type: import('vue').PropType<string>;
135
- };
136
- totalCount: {
137
- type: import('vue').PropType<number>;
138
- };
139
- groupByFn: {
140
- type: import('vue').PropType<(item: Item) => string>;
141
- };
142
- groupByDate: {
143
- type: import('vue').PropType<string | boolean>;
144
- };
145
- reduceGroupTitleFn: {
146
- type: import('vue').PropType<(items: Item[]) => string>;
147
- };
148
- noItemsLabel: {
149
- type: import('vue').PropType<StrOrFn>;
150
- };
151
- noDisplayNoItemsIcon: {
152
- type: import('vue').PropType<boolean>;
153
- };
154
- noSearch: {
155
- type: import('vue').PropType<boolean>;
156
- };
157
- searchInputPlaceholder: {
158
- type: import('vue').PropType<string>;
159
- };
160
- filters: {
161
- type: import('vue').PropType<PlainObject>;
162
- };
163
- indentation: {
164
- type: import('vue').PropType<Indentation>;
165
- };
166
- isLoading: {
167
- type: import('vue').PropType<boolean>;
168
- };
169
- secondary: {
170
- type: import('vue').PropType<boolean>;
171
- };
172
- }>> & {
4
+ declare const _default: <T extends Item>(__VLS_props: {
5
+ secondary?: boolean;
6
+ columns?: Columns;
7
+ filters?: PlainObject;
8
+ isLoading?: boolean;
9
+ items: T[];
10
+ deleteFn?: (item: T) => Promise<void>;
11
+ toName?: string;
173
12
  onRefreshList?: () => any;
174
- onEditItem?: (item: Item) => any;
13
+ descriptionField?: string;
14
+ totalCount?: number;
15
+ groupByFn?: (item: T) => string;
16
+ reduceGroupTitleFn?: (items: T[]) => string;
17
+ withEditButton?: boolean;
18
+ editToName?: string;
19
+ deleteBtnIcon?: Icon;
20
+ deleteBtnText?: StrOrFn;
21
+ onEditItem?: (item: T) => any;
175
22
  onCreateItem?: () => any;
176
- }, {}, {}>, Partial<Record<string, (_: {
177
- item: Item;
178
- }) => any>> & {
179
- header?(_: {}): any;
180
- filters?(_: {}): any;
181
- actionsButtons?(_: {
182
- item: Item;
183
- }): any;
184
- mainItem?(_: {
185
- item: Item;
186
- }): any;
187
- smallDevicesItem?(_: {
188
- item: Item;
189
- }): any;
190
- itemsSelected?(_: {}): any;
191
- }>;
192
- export default _default;
193
- type __VLS_WithTemplateSlots<T, S> = T & {
194
- new (): {
195
- $slots: S;
23
+ hideTitles?: boolean;
24
+ columnsAlign?: ColumnAlign;
25
+ createItemBtnText?: string;
26
+ actionsOptions?: DropdownOption[];
27
+ useDropdown?: boolean;
28
+ groupByDate?: boolean | string;
29
+ noItemsLabel?: StrOrFn;
30
+ noDisplayNoItemsIcon?: boolean;
31
+ noSearch?: boolean;
32
+ searchInputPlaceholder?: string;
33
+ indentation?: Indentation;
34
+ searchParams?: SearchParams;
35
+ itemsSelected?: T[];
36
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
37
+ slots: Readonly<NonNullable<{
38
+ header?: () => any;
39
+ filters?: () => any;
40
+ itemsSelected?: () => any;
41
+ actionsButtons?: (props: {
42
+ item: T;
43
+ }) => any;
44
+ mainItem?: (props: {
45
+ item: T;
46
+ }) => any;
47
+ smallDevicesItem?: (props: {
48
+ item: T;
49
+ }) => any;
50
+ } & Record<string, (props: {
51
+ item: T;
52
+ }) => any>>> & {
53
+ header?: () => any;
54
+ filters?: () => any;
55
+ itemsSelected?: () => any;
56
+ actionsButtons?: (props: {
57
+ item: T;
58
+ }) => any;
59
+ mainItem?: (props: {
60
+ item: T;
61
+ }) => any;
62
+ smallDevicesItem?: (props: {
63
+ item: T;
64
+ }) => any;
65
+ } & Record<string, (props: {
66
+ item: T;
67
+ }) => any>;
68
+ attrs: any;
69
+ emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
70
+ }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
71
+ props: {
72
+ secondary?: boolean;
73
+ columns?: Columns;
74
+ filters?: PlainObject;
75
+ isLoading?: boolean;
76
+ items: T[];
77
+ deleteFn?: (item: T) => Promise<void>;
78
+ toName?: string;
79
+ onRefreshList?: () => any;
80
+ descriptionField?: string;
81
+ totalCount?: number;
82
+ groupByFn?: (item: T) => string;
83
+ reduceGroupTitleFn?: (items: T[]) => string;
84
+ withEditButton?: boolean;
85
+ editToName?: string;
86
+ deleteBtnIcon?: Icon;
87
+ deleteBtnText?: StrOrFn;
88
+ onEditItem?: (item: T) => any;
89
+ onCreateItem?: () => any;
90
+ hideTitles?: boolean;
91
+ columnsAlign?: ColumnAlign;
92
+ createItemBtnText?: string;
93
+ actionsOptions?: DropdownOption[];
94
+ useDropdown?: boolean;
95
+ groupByDate?: boolean | string;
96
+ noItemsLabel?: StrOrFn;
97
+ noDisplayNoItemsIcon?: boolean;
98
+ noSearch?: boolean;
99
+ searchInputPlaceholder?: string;
100
+ indentation?: Indentation;
101
+ searchParams?: SearchParams;
102
+ itemsSelected?: T[];
103
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
104
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
105
+ attrs: any;
106
+ slots: Readonly<NonNullable<{
107
+ header?: () => any;
108
+ filters?: () => any;
109
+ itemsSelected?: () => any;
110
+ actionsButtons?: (props: {
111
+ item: T;
112
+ }) => any;
113
+ mainItem?: (props: {
114
+ item: T;
115
+ }) => any;
116
+ smallDevicesItem?: (props: {
117
+ item: T;
118
+ }) => any;
119
+ } & Record<string, (props: {
120
+ item: T;
121
+ }) => any>>> & {
122
+ header?: () => any;
123
+ filters?: () => any;
124
+ itemsSelected?: () => any;
125
+ actionsButtons?: (props: {
126
+ item: T;
127
+ }) => any;
128
+ mainItem?: (props: {
129
+ item: T;
130
+ }) => any;
131
+ smallDevicesItem?: (props: {
132
+ item: T;
133
+ }) => any;
134
+ } & Record<string, (props: {
135
+ item: T;
136
+ }) => any>;
137
+ emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
138
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
139
+ [key: string]: any;
140
+ }> & {
141
+ __ctx?: {
142
+ props: {
143
+ secondary?: boolean;
144
+ columns?: Columns;
145
+ filters?: PlainObject;
146
+ isLoading?: boolean;
147
+ items: T[];
148
+ deleteFn?: (item: T) => Promise<void>;
149
+ toName?: string;
150
+ onRefreshList?: () => any;
151
+ descriptionField?: string;
152
+ totalCount?: number;
153
+ groupByFn?: (item: T) => string;
154
+ reduceGroupTitleFn?: (items: T[]) => string;
155
+ withEditButton?: boolean;
156
+ editToName?: string;
157
+ deleteBtnIcon?: Icon;
158
+ deleteBtnText?: StrOrFn;
159
+ onEditItem?: (item: T) => any;
160
+ onCreateItem?: () => any;
161
+ hideTitles?: boolean;
162
+ columnsAlign?: ColumnAlign;
163
+ createItemBtnText?: string;
164
+ actionsOptions?: DropdownOption[];
165
+ useDropdown?: boolean;
166
+ groupByDate?: boolean | string;
167
+ noItemsLabel?: StrOrFn;
168
+ noDisplayNoItemsIcon?: boolean;
169
+ noSearch?: boolean;
170
+ searchInputPlaceholder?: string;
171
+ indentation?: Indentation;
172
+ searchParams?: SearchParams;
173
+ itemsSelected?: T[];
174
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
175
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
176
+ attrs: any;
177
+ slots: Readonly<NonNullable<{
178
+ header?: () => any;
179
+ filters?: () => any;
180
+ itemsSelected?: () => any;
181
+ actionsButtons?: (props: {
182
+ item: T;
183
+ }) => any;
184
+ mainItem?: (props: {
185
+ item: T;
186
+ }) => any;
187
+ smallDevicesItem?: (props: {
188
+ item: T;
189
+ }) => any;
190
+ } & Record<string, (props: {
191
+ item: T;
192
+ }) => any>>> & {
193
+ header?: () => any;
194
+ filters?: () => any;
195
+ itemsSelected?: () => any;
196
+ actionsButtons?: (props: {
197
+ item: T;
198
+ }) => any;
199
+ mainItem?: (props: {
200
+ item: T;
201
+ }) => any;
202
+ smallDevicesItem?: (props: {
203
+ item: T;
204
+ }) => any;
205
+ } & Record<string, (props: {
206
+ item: T;
207
+ }) => any>;
208
+ emit: ((evt: "refreshList") => void) & ((evt: "editItem", item: T) => void) & ((evt: "createItem") => void);
196
209
  };
197
210
  };
211
+ export default _default;
@@ -1,21 +1,36 @@
1
1
  import { Item } from '../../../types';
2
2
 
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
- items: Item[];
5
- groupByFn: (item: Item) => string;
6
- reduceGroupTitleFn?: (items: Item[]) => string;
7
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- items: Item[];
9
- groupByFn: (item: Item) => string;
10
- reduceGroupTitleFn?: (items: Item[]) => string;
11
- }>>>, {}, {}>;
12
- export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
3
+ declare const _default: <T extends Item>(__VLS_props: {
4
+ items: T[];
5
+ groupByFn: (item: T) => string;
6
+ reduceGroupTitleFn?: (items: T[]) => string;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
8
+ slots: {};
9
+ attrs: any;
10
+ emit: any;
11
+ }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
12
+ props: {
13
+ items: T[];
14
+ groupByFn: (item: T) => string;
15
+ reduceGroupTitleFn?: (items: T[]) => string;
16
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
17
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
18
+ attrs: any;
19
+ slots: {};
20
+ emit: any;
21
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
22
+ [key: string]: any;
23
+ }> & {
24
+ __ctx?: {
25
+ props: {
26
+ items: T[];
27
+ groupByFn: (item: T) => string;
28
+ reduceGroupTitleFn?: (items: T[]) => string;
29
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
30
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
31
+ attrs: any;
32
+ slots: {};
33
+ emit: any;
20
34
  };
21
35
  };
36
+ export default _default;
@@ -1,96 +1,105 @@
1
- import { Item } from '../../../types';
1
+ import { Id, Item } from '../../../types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
- modelValue: {
5
- required: true;
6
- type: import('vue').PropType<number[]>;
7
- };
8
- itemsGroupedBy: {
9
- type: import('vue').PropType<Item[][]>;
10
- required: true;
11
- };
12
- getDescriptionFn: {
13
- type: import('vue').PropType<(item: Item) => string>;
14
- required: true;
15
- };
16
- withEditButton: {
17
- type: import('vue').PropType<boolean>;
18
- };
19
- editToName: {
20
- type: import('vue').PropType<string>;
21
- };
22
- deleteFn: {
23
- type: import('vue').PropType<(item: Item) => Promise<void>>;
24
- };
25
- toName: {
26
- type: import('vue').PropType<string>;
27
- };
28
- groupByFn: {
29
- type: import('vue').PropType<(item: Item) => string>;
30
- };
31
- reduceGroupTitleFn: {
32
- type: import('vue').PropType<(items: Item[]) => string>;
33
- };
34
- hasActionsButtons: {
35
- type: import('vue').PropType<boolean>;
36
- required: true;
37
- };
38
- secondary: {
39
- type: import('vue').PropType<boolean>;
40
- };
41
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
- editItem: (item: Item) => void;
43
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
- modelValue: {
45
- required: true;
46
- type: import('vue').PropType<number[]>;
47
- };
48
- itemsGroupedBy: {
49
- type: import('vue').PropType<Item[][]>;
50
- required: true;
51
- };
52
- getDescriptionFn: {
53
- type: import('vue').PropType<(item: Item) => string>;
54
- required: true;
55
- };
56
- withEditButton: {
57
- type: import('vue').PropType<boolean>;
58
- };
59
- editToName: {
60
- type: import('vue').PropType<string>;
61
- };
62
- deleteFn: {
63
- type: import('vue').PropType<(item: Item) => Promise<void>>;
64
- };
65
- toName: {
66
- type: import('vue').PropType<string>;
67
- };
68
- groupByFn: {
69
- type: import('vue').PropType<(item: Item) => string>;
70
- };
71
- reduceGroupTitleFn: {
72
- type: import('vue').PropType<(items: Item[]) => string>;
73
- };
74
- hasActionsButtons: {
75
- type: import('vue').PropType<boolean>;
76
- required: true;
77
- };
78
- secondary: {
79
- type: import('vue').PropType<boolean>;
80
- };
81
- }>> & {
82
- onEditItem?: (item: Item) => any;
83
- }, {}, {}>, {
84
- item?(_: {
85
- item: Item;
86
- }): any;
87
- actionsButtons?(_: {
88
- item: Item;
89
- }): any;
90
- }>;
91
- export default _default;
92
- type __VLS_WithTemplateSlots<T, S> = T & {
93
- new (): {
94
- $slots: S;
3
+ declare const _default: <T extends Item>(__VLS_props: {
4
+ secondary?: boolean;
5
+ modelValue: Id[];
6
+ deleteFn?: (item: T) => Promise<void>;
7
+ toName?: string;
8
+ groupByFn?: (item: T) => string;
9
+ reduceGroupTitleFn?: (items: T[]) => string;
10
+ getDescriptionFn: (item: T) => string;
11
+ withEditButton?: boolean;
12
+ editToName?: string;
13
+ onEditItem?: (item: T) => any;
14
+ itemsGroupedBy: T[][];
15
+ hasActionsButtons: boolean;
16
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
17
+ slots: Readonly<{
18
+ item?: (props: {
19
+ item: T;
20
+ }) => any;
21
+ actionsButtons?: (props: {
22
+ item: T;
23
+ }) => any;
24
+ }> & {
25
+ item?: (props: {
26
+ item: T;
27
+ }) => any;
28
+ actionsButtons?: (props: {
29
+ item: T;
30
+ }) => any;
31
+ };
32
+ attrs: any;
33
+ emit: (evt: "editItem", item: T) => void;
34
+ }, __VLS_expose?: (exposed: import('vue').ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
35
+ props: {
36
+ secondary?: boolean;
37
+ modelValue: Id[];
38
+ deleteFn?: (item: T) => Promise<void>;
39
+ toName?: string;
40
+ groupByFn?: (item: T) => string;
41
+ reduceGroupTitleFn?: (items: T[]) => string;
42
+ getDescriptionFn: (item: T) => string;
43
+ withEditButton?: boolean;
44
+ editToName?: string;
45
+ onEditItem?: (item: T) => any;
46
+ itemsGroupedBy: T[][];
47
+ hasActionsButtons: boolean;
48
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
49
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
50
+ attrs: any;
51
+ slots: Readonly<{
52
+ item?: (props: {
53
+ item: T;
54
+ }) => any;
55
+ actionsButtons?: (props: {
56
+ item: T;
57
+ }) => any;
58
+ }> & {
59
+ item?: (props: {
60
+ item: T;
61
+ }) => any;
62
+ actionsButtons?: (props: {
63
+ item: T;
64
+ }) => any;
65
+ };
66
+ emit: (evt: "editItem", item: T) => void;
67
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
68
+ [key: string]: any;
69
+ }> & {
70
+ __ctx?: {
71
+ props: {
72
+ secondary?: boolean;
73
+ modelValue: Id[];
74
+ deleteFn?: (item: T) => Promise<void>;
75
+ toName?: string;
76
+ groupByFn?: (item: T) => string;
77
+ reduceGroupTitleFn?: (items: T[]) => string;
78
+ getDescriptionFn: (item: T) => string;
79
+ withEditButton?: boolean;
80
+ editToName?: string;
81
+ onEditItem?: (item: T) => any;
82
+ itemsGroupedBy: T[][];
83
+ hasActionsButtons: boolean;
84
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
85
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
86
+ attrs: any;
87
+ slots: Readonly<{
88
+ item?: (props: {
89
+ item: T;
90
+ }) => any;
91
+ actionsButtons?: (props: {
92
+ item: T;
93
+ }) => any;
94
+ }> & {
95
+ item?: (props: {
96
+ item: T;
97
+ }) => any;
98
+ actionsButtons?: (props: {
99
+ item: T;
100
+ }) => any;
101
+ };
102
+ emit: (evt: "editItem", item: T) => void;
95
103
  };
96
104
  };
105
+ export default _default;
@@ -21,5 +21,5 @@ type TextOptions = {
21
21
  uppercase?: boolean;
22
22
  capitalize?: boolean;
23
23
  };
24
- export declare function createI18n<F extends I18nFiles>(files: F): <FN extends keyof F, MP extends MessagesPath<F[FN]["es"]> = undefined>(fileName: FN, messagesPath?: MP) => (messageKey: MessageKeyString<F["global"]["es"]> | MessageKey<F[FN]["es"], MP>, props?: MessageProps, options?: TextOptions) => string;
24
+ export declare function createI18n<F extends I18nFiles>(files: F): <FN extends keyof F, MP extends MessagesPath<F[FN]["es"]> = undefined>(fileName: FN, messagesPath?: MP) => (messageKey: MessageKey<F['global'][Language], undefined> | MessageKey<F[FN][Language], MP>, props?: MessageProps, options?: TextOptions) => string;
25
25
  export {};