@v1nt1248/3nclient-lib 0.3.9 → 0.3.11

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.
Files changed (83) hide show
  1. package/README.md +3 -2
  2. package/dist/components/ui3n-autocomplete/types.d.ts +100 -0
  3. package/dist/components/ui3n-badge/types.d.ts +14 -0
  4. package/dist/components/ui3n-badge/ui3n-badge.vue.d.ts +2 -4
  5. package/dist/components/ui3n-breadcrumbs/types.d.ts +50 -0
  6. package/dist/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue.d.ts +2 -4
  7. package/dist/components/ui3n-button/types.d.ts +21 -0
  8. package/dist/components/ui3n-button/ui3n-button.vue.d.ts +2 -4
  9. package/dist/components/ui3n-checkbox/types.d.ts +44 -0
  10. package/dist/components/ui3n-chip/types.d.ts +49 -0
  11. package/dist/components/ui3n-dialog/types.d.ts +103 -0
  12. package/dist/components/ui3n-drop-files/types.d.ts +31 -0
  13. package/dist/components/ui3n-editable/types.d.ts +102 -0
  14. package/dist/components/ui3n-emoji/types.d.ts +13 -0
  15. package/dist/components/ui3n-icon/types.d.ts +10 -0
  16. package/dist/components/ui3n-input/types.d.ts +85 -0
  17. package/dist/components/ui3n-input-file/types.d.ts +29 -0
  18. package/dist/components/ui3n-list/types.d.ts +35 -0
  19. package/dist/components/ui3n-menu/types.d.ts +89 -0
  20. package/dist/components/ui3n-notification/types.d.ts +28 -0
  21. package/dist/components/ui3n-progress/types.d.ts +49 -0
  22. package/dist/components/ui3n-radio-group/types.d.ts +78 -0
  23. package/dist/components/ui3n-selector/types.d.ts +95 -0
  24. package/dist/components/ui3n-slider/types.d.ts +51 -0
  25. package/dist/components/ui3n-step-line-bar/types.d.ts +12 -0
  26. package/dist/components/ui3n-switch/types.d.ts +31 -0
  27. package/dist/components/ui3n-table/types.d.ts +198 -0
  28. package/dist/components/ui3n-tabs/types.d.ts +38 -0
  29. package/dist/components/ui3n-text/types.d.ts +56 -0
  30. package/dist/components/ui3n-tooltip/types.d.ts +69 -0
  31. package/dist/components/ui3n-virtual-scroll/types.d.ts +18 -0
  32. package/dist/constants/general.d.ts +0 -1
  33. package/dist/constants/plugins-keys.d.ts +0 -2
  34. package/dist/index.d.ts +0 -8
  35. package/dist/plugins/index.d.ts +1 -4
  36. package/dist/style.css +1 -1
  37. package/dist/ui3n-components.js +5521 -5527
  38. package/dist/ui3n-plugins.d.ts +3 -11
  39. package/dist/ui3n-plugins.js +338 -366
  40. package/dist/ui3n-utils.js +422 -439
  41. package/dist/utils/copy-to-clipboard.d.ts +1 -0
  42. package/dist/utils/execute-function.d.ts +29 -0
  43. package/dist/utils/index.d.ts +3 -0
  44. package/dist/utils/remove-whitespace-in-string.d.ts +1 -0
  45. package/dist/utils/ui/get-element-color.d.ts +1 -1
  46. package/package.json +25 -22
  47. package/src/components/ui3n-autocomplete/types.ts +100 -0
  48. package/src/components/ui3n-badge/types.ts +16 -0
  49. package/src/components/ui3n-badge/ui3n-badge-simple.vue +10 -9
  50. package/src/components/ui3n-badge/ui3n-badge.vue +37 -36
  51. package/src/components/ui3n-breadcrumbs/types.ts +51 -0
  52. package/src/components/ui3n-breadcrumbs/ui3n-breadcrumb.vue +69 -69
  53. package/src/components/ui3n-breadcrumbs/ui3n-breadcrumbs.vue +7 -8
  54. package/src/components/ui3n-button/types.ts +23 -0
  55. package/src/components/ui3n-button/ui3n-button.vue +27 -29
  56. package/src/components/ui3n-checkbox/types.ts +44 -0
  57. package/src/components/ui3n-checkbox/ui3n-checkbox.vue +16 -23
  58. package/src/components/ui3n-chip/types.ts +51 -0
  59. package/src/components/ui3n-dialog/types.ts +103 -0
  60. package/src/components/ui3n-drop-files/types.ts +31 -0
  61. package/src/components/ui3n-editable/types.ts +102 -0
  62. package/src/components/ui3n-editable/useContentEditable.ts +4 -2
  63. package/src/components/ui3n-emoji/types.ts +13 -0
  64. package/src/components/ui3n-icon/types.ts +10 -0
  65. package/src/components/ui3n-input/types.ts +85 -0
  66. package/src/components/ui3n-input-file/types.ts +29 -0
  67. package/src/components/ui3n-list/types.ts +35 -0
  68. package/src/components/ui3n-menu/types.ts +89 -0
  69. package/src/components/ui3n-notification/types.ts +28 -0
  70. package/src/components/ui3n-progress/types.ts +49 -0
  71. package/src/components/ui3n-radio-group/types.ts +78 -0
  72. package/src/components/ui3n-selector/types.ts +96 -1
  73. package/src/components/ui3n-slider/types.ts +51 -0
  74. package/src/components/ui3n-step-line-bar/types.ts +12 -0
  75. package/src/components/ui3n-switch/types.ts +31 -0
  76. package/src/components/ui3n-table/types.ts +204 -0
  77. package/src/components/ui3n-tabs/types.ts +38 -0
  78. package/src/components/ui3n-text/types.ts +56 -0
  79. package/src/components/ui3n-tooltip/types.ts +69 -0
  80. package/src/components/ui3n-virtual-scroll/types.ts +18 -0
  81. package/dist/plugins/i18n/i18n.d.ts +0 -9
  82. package/dist/plugins/i18n/store-i18n.d.ts +0 -7
  83. package/dist/plugins/i18n/types.d.ts +0 -9
@@ -1,40 +1,120 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { VNode } from 'vue';
3
- import type { PrepareComponentEmits, Nullable } from '../../types';
3
+ import type { PrepareComponentEmits, Nullable } from '@/types';
4
4
 
5
+ /**
6
+ * Base selector option interface
7
+ */
5
8
  export interface Ui3nSelectorOptionBase {
9
+ /**
10
+ * Option ID
11
+ */
6
12
  id: string;
7
13
  [key: string]: any;
8
14
  }
9
15
 
16
+ /**
17
+ * Function to display selector item
18
+ */
10
19
  export type Ui3nSelectorItemDisplayingFunction<T extends Ui3nSelectorOptionBase> = (v: T) => string;
11
20
 
21
+ /**
22
+ * Selector value type
23
+ */
12
24
  export type Ui3nSelectorValue<T extends Ui3nSelectorOptionBase> = T | T[keyof T] | null;
13
25
 
26
+ /**
27
+ * Selector component properties
28
+ */
14
29
  export interface Ui3nSelectorProps<T extends Ui3nSelectorOptionBase> {
30
+ /**
31
+ * Current selector value
32
+ */
15
33
  modelValue: Ui3nSelectorValue<T>;
34
+ /**
35
+ * Label text
36
+ */
16
37
  label?: string;
38
+ /**
39
+ * Placeholder text
40
+ */
17
41
  placeholder?: string;
42
+ /**
43
+ * Items to display
44
+ */
18
45
  items?: T[];
46
+ /**
47
+ * Property to use as value
48
+ */
19
49
  itemValue?: keyof T;
50
+ /**
51
+ * Property or function to display item
52
+ */
20
53
  itemDisplay?: keyof T | Ui3nSelectorItemDisplayingFunction<T>;
54
+ /**
55
+ * Custom filter function
56
+ */
21
57
  customFilter?: (value: Ui3nSelectorValue<T>, query: string) => boolean;
58
+ /**
59
+ * Whether to return the whole object or just the value
60
+ * @default false
61
+ */
22
62
  returnObject?: boolean;
63
+ /**
64
+ * Whether to show clear button
65
+ * @default false
66
+ */
23
67
  clearable?: boolean;
68
+ /**
69
+ * Whether to show search input
70
+ * @default false
71
+ */
24
72
  withSearch?: boolean;
73
+ /**
74
+ * Whether to hide selected item
75
+ * @default false
76
+ */
25
77
  hideSelected?: boolean;
78
+ /**
79
+ * Text to show when no data
80
+ */
26
81
  noDataText?: string;
82
+ /**
83
+ * Whether selector is disabled
84
+ * @default false
85
+ */
27
86
  disabled?: boolean;
28
87
  }
29
88
 
89
+ /**
90
+ * Selector component events map
91
+ */
30
92
  export interface Ui3nSelectorEventsMap<T extends Ui3nSelectorOptionBase> {
93
+ /**
94
+ * Emitted when model value updates
95
+ */
31
96
  'update:modelValue': Ui3nSelectorValue<T>;
97
+ /**
98
+ * Emitted when list is opened
99
+ */
32
100
  'list:open': undefined;
101
+ /**
102
+ * Emitted when list is closed
103
+ */
33
104
  'list:close': undefined;
105
+ /**
106
+ * Emitted when component is focused
107
+ */
34
108
  focus: undefined;
109
+ /**
110
+ * Emitted when component loses focus
111
+ */
35
112
  blur: undefined;
36
113
  }
37
114
 
115
+ /**
116
+ * Selector component events type
117
+ */
38
118
  export type Ui3nSelectorEvents = keyof Ui3nSelectorEventsMap<any>;
39
119
 
40
120
  // export interface Ui3nSelectorEmits<T extends Ui3nSelectorOptionBase> {
@@ -45,10 +125,25 @@ export type Ui3nSelectorEvents = keyof Ui3nSelectorEventsMap<any>;
45
125
  // (event: 'blur'): void;
46
126
  // }
47
127
 
128
+ /**
129
+ * Selector component emits
130
+ */
48
131
  export type Ui3nSelectorEmits<T extends Ui3nSelectorOptionBase> = PrepareComponentEmits<Ui3nSelectorEventsMap<T>>;
49
132
 
133
+ /**
134
+ * Selector component slots
135
+ */
50
136
  export interface Ui3nSelectorSlots<T extends Ui3nSelectorOptionBase> {
137
+ /**
138
+ * No data text slot
139
+ */
51
140
  noDataText?: () => VNode;
141
+ /**
142
+ * Item slot
143
+ */
52
144
  item?: (props: { item: T; index: number; activeIndex: Nullable<number>; query?: string }) => VNode;
145
+ /**
146
+ * Selection slot
147
+ */
53
148
  selection?: (props: { value: Ui3nSelectorValue<T>; selectedItem: T | undefined }) => VNode;
54
149
  }
@@ -1,21 +1,72 @@
1
1
  export interface UI3nSliderProps {
2
+ /**
3
+ * Current slider value
4
+ */
2
5
  modelValue: number | [number, number];
6
+ /**
7
+ * Slider step
8
+ */
3
9
  step?: string | number;
10
+ /**
11
+ * Whether slider is range
12
+ * @default false
13
+ */
4
14
  range?: boolean;
15
+ /**
16
+ * Minimum value
17
+ */
5
18
  min?: string | number;
19
+ /**
20
+ * Maximum value
21
+ */
6
22
  max?: string | number;
23
+ /**
24
+ * Label visibility
25
+ * @default 'normal'
26
+ */
7
27
  labelVisible?: 'always' | 'normal' | 'never';
28
+ /**
29
+ * Label text color
30
+ */
8
31
  labelTextColor?: string;
32
+ /**
33
+ * Label color
34
+ */
9
35
  labelColor?: string;
36
+ /**
37
+ * Active color
38
+ */
10
39
  activeColor?: string;
40
+ /**
41
+ * Track color
42
+ */
11
43
  trackColor?: string;
44
+ /**
45
+ * Track height
46
+ */
12
47
  trackHeight?: string | number;
48
+ /**
49
+ * Thumb size
50
+ */
13
51
  thumbSize?: string | number;
52
+ /**
53
+ * Thumb color
54
+ */
14
55
  thumbColor?: string;
56
+ /**
57
+ * Transform value method
58
+ */
15
59
  transformValueMethod?: (value: number) => string;
60
+ /**
61
+ * Whether slider is disabled
62
+ * @default false
63
+ */
16
64
  disabled?: boolean;
17
65
  }
18
66
 
19
67
  export interface UI3nSliderEmits {
68
+ /**
69
+ * Emitted when model value updates
70
+ */
20
71
  (event: 'update:modelValue', value: number | [number, number]): void;
21
72
  }
@@ -1,5 +1,17 @@
1
+ /**
2
+ * Step line bar component properties
3
+ */
1
4
  export interface Ui3nStepLineBarProps {
5
+ /**
6
+ * Step label
7
+ */
2
8
  label: string;
9
+ /**
10
+ * Current step
11
+ */
3
12
  current: number;
13
+ /**
14
+ * Total number of steps
15
+ */
4
16
  steps: number;
5
17
  }
@@ -1,17 +1,48 @@
1
1
  import { VNode } from 'vue';
2
2
 
3
+ /**
4
+ * Switch component properties
5
+ */
3
6
  export interface Ui3nSwitchProps {
7
+ /**
8
+ * Current switch value
9
+ */
4
10
  modelValue: boolean;
11
+ /**
12
+ * Switch size
13
+ */
5
14
  size?: number | string;
15
+ /**
16
+ * Switch color
17
+ */
6
18
  color?: string;
19
+ /**
20
+ * Whether switch is disabled
21
+ * @default false
22
+ */
7
23
  disabled?: boolean;
8
24
  }
9
25
 
26
+ /**
27
+ * Switch component emits
28
+ */
10
29
  export interface Ui3nSwitchEmits {
30
+ /**
31
+ * Emitted when switch value changes
32
+ */
11
33
  (ev: 'change', value: boolean): void;
34
+ /**
35
+ * Emitted when model value updates
36
+ */
12
37
  (ev: 'update:modelValue', value: boolean): void;
13
38
  }
14
39
 
40
+ /**
41
+ * Switch component slots
42
+ */
15
43
  export interface Ui3nSwitchSlots {
44
+ /**
45
+ * Default slot
46
+ */
16
47
  default: () => VNode;
17
48
  }
@@ -1,108 +1,312 @@
1
1
  import { VNode, type Ref, type ComputedRef } from 'vue';
2
2
 
3
+ /**
4
+ * Base table item interface
5
+ */
3
6
  export interface Ui3nTableBodyBaseItem {
7
+ /**
8
+ * Item ID
9
+ */
4
10
  id?: string | number | symbol;
5
11
  }
6
12
 
13
+ /**
14
+ * Table sort type
15
+ */
7
16
  export type Ui3nTableSort<T extends Ui3nTableBodyBaseItem> = {
17
+ /**
18
+ * Sort field
19
+ */
8
20
  field: keyof T;
21
+ /**
22
+ * Sort direction
23
+ */
9
24
  direction: 'asc' | 'desc';
10
25
  };
11
26
 
27
+ /**
28
+ * Table configuration type
29
+ */
12
30
  export type Ui3nTableConfig<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
31
+ /**
32
+ * Table name
33
+ */
13
34
  tableName?: string;
35
+ /**
36
+ * Sort order
37
+ */
14
38
  sortOrder?: Ui3nTableSort<T>;
39
+ /**
40
+ * Selection mode
41
+ */
15
42
  selectable?: 'single' | 'multiple';
16
43
  // draggableRows?: boolean; // ToDo this will be done in the next version
17
44
  // draggableColumns?: boolean; // ToDo this will be done in the next version
45
+ /**
46
+ * Column styles
47
+ */
18
48
  columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
49
+ /**
50
+ * Field to use as row key
51
+ */
19
52
  fieldAsRowKey?: keyof T;
53
+ /**
54
+ * Whether to show no data message
55
+ * @default true
56
+ */
20
57
  showNoDataMessage?: boolean;
58
+ /**
59
+ * Minimum height for unused place
60
+ */
21
61
  minHeightUnusedPlace?: number | string;
22
62
  };
23
63
 
64
+ /**
65
+ * Table header properties type
66
+ */
24
67
  export type Ui3nTableHeadProps<T extends Ui3nTableBodyBaseItem> = {
68
+ /**
69
+ * Header key
70
+ */
25
71
  key: keyof T;
72
+ /**
73
+ * Header text
74
+ */
26
75
  text: string;
76
+ /**
77
+ * Whether header is sortable
78
+ * @default false
79
+ */
27
80
  sortable?: boolean;
81
+ /**
82
+ * Header cell style
83
+ */
28
84
  headCellStyle?: Record<string, string>;
85
+ /**
86
+ * Format function
87
+ */
29
88
  format?: (content: unknown) => string;
89
+ /**
90
+ * Whether header is hidden
91
+ * @default false
92
+ */
30
93
  hidden?: boolean;
94
+ /**
95
+ * Header index
96
+ */
31
97
  index?: number;
32
98
  };
33
99
 
100
+ /**
101
+ * Table body properties type
102
+ */
34
103
  export type Ui3nTableBodyProps<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
104
+ /**
105
+ * Body content
106
+ */
35
107
  content: T[];
108
+ /**
109
+ * Row styles
110
+ */
36
111
  rowsStyle?: { [P in T[K] as string | number]: Record<string, string> };
37
112
  };
38
113
 
114
+ /**
115
+ * Table component properties
116
+ */
39
117
  export interface Ui3nTableProps<T extends Ui3nTableBodyBaseItem> {
118
+ /**
119
+ * Table configuration
120
+ */
40
121
  config: Ui3nTableConfig<T>;
122
+ /**
123
+ * Table header
124
+ */
41
125
  head: Ui3nTableHeadProps<T>[];
126
+ /**
127
+ * Table body
128
+ */
42
129
  body: Ui3nTableBodyProps<T>;
43
130
  }
44
131
 
132
+ /**
133
+ * Table component events
134
+ */
45
135
  export interface Ui3nTableEmits<T extends Ui3nTableBodyBaseItem> {
136
+ /**
137
+ * Emitted when sort changes
138
+ */
46
139
  (ev: 'change:sort', val: Ui3nTableSort<T>): void;
140
+ /**
141
+ * Emitted when row is selected
142
+ */
47
143
  (ev: 'select:row', val: T[]): void;
48
144
  }
49
145
 
146
+ /**
147
+ * Table other slots
148
+ */
50
149
  export type Ui3nTableOtherSlots = {
150
+ /**
151
+ * No data slot
152
+ */
51
153
  'no-data': () => VNode;
154
+ /**
155
+ * Unused place slot
156
+ */
52
157
  'unused-place': () => VNode;
53
158
  };
54
159
 
160
+ /**
161
+ * Table group actions slot
162
+ */
55
163
  export type Ui3nTableGroupActionsSlot<T extends Ui3nTableBodyBaseItem> = {
164
+ /**
165
+ * Group actions slot
166
+ */
56
167
  'group-actions': ({ selectedRows }: { selectedRows: T[] }) => VNode;
57
168
  };
58
169
 
170
+ /**
171
+ * Table header cell slot
172
+ */
59
173
  export type Ui3nTableHeaderCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
174
+ /**
175
+ * Header cell slot
176
+ */
60
177
  [p in `header-cell-${K}`]: () => VNode;
61
178
  };
62
179
 
180
+ /**
181
+ * Table body row slot scope
182
+ */
63
183
  export type Ui3nTableBodyRowSlotScope<T extends Ui3nTableBodyBaseItem, K extends keyof T = keyof T> = {
184
+ /**
185
+ * Row data
186
+ */
64
187
  row: T;
188
+ /**
189
+ * Row style
190
+ */
65
191
  rowStyle?: Record<string, string>;
192
+ /**
193
+ * Row index
194
+ */
66
195
  rowIndex: number;
196
+ /**
197
+ * Whether row is selected
198
+ */
67
199
  isRowSelected?: boolean;
200
+ /**
201
+ * Column styles
202
+ */
68
203
  columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
204
+ /**
205
+ * Events
206
+ */
69
207
  events?: {
208
+ /**
209
+ * Select function
210
+ */
70
211
  select: (row: T, withoutEvents?: boolean) => void;
71
212
  };
72
213
  };
73
214
 
215
+ /**
216
+ * Table body row slot
217
+ */
74
218
  export type Ui3nTableBodyRowSlot<T extends Ui3nTableBodyBaseItem> = {
219
+ /**
220
+ * Row slot
221
+ */
75
222
  row: (scope: Ui3nTableBodyRowSlotScope<T>) => VNode;
76
223
  };
77
224
 
225
+ /**
226
+ * Table body row cell slot scope
227
+ */
78
228
  export type Ui3nTableBodyRowCellSlotScope<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
229
+ /**
230
+ * Row data
231
+ */
79
232
  row: T;
233
+ /**
234
+ * Row index
235
+ */
80
236
  rowIndex: number;
237
+ /**
238
+ * Whether row is selected
239
+ */
81
240
  isRowSelected?: boolean;
241
+ /**
242
+ * Column styles
243
+ */
82
244
  columnStyle?: { [P in Omit<K, 'id'> as string | number]: Record<string, string> };
245
+ /**
246
+ * Cell data
247
+ */
83
248
  cell: T[K];
84
249
  };
85
250
 
251
+ /**
252
+ * Table body row cell slot
253
+ */
86
254
  export type Ui3nTableBodyRowCellSlot<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = {
255
+ /**
256
+ * Row cell slot
257
+ */
87
258
  [p in `row-cell-${K}`]: (scope: Ui3nTableBodyRowCellSlotScope<T, K>) => VNode;
88
259
  };
89
260
 
261
+ /**
262
+ * Table slots
263
+ */
90
264
  export type Ui3nTableSlots<T extends Ui3nTableBodyBaseItem, K extends string & keyof T> = Ui3nTableOtherSlots &
91
265
  Ui3nTableGroupActionsSlot<T> &
92
266
  Ui3nTableHeaderCellSlot<T, K> &
93
267
  Ui3nTableBodyRowSlot<T> &
94
268
  Ui3nTableBodyRowCellSlot<T, K>;
95
269
 
270
+ /**
271
+ * Table sort icon properties
272
+ */
96
273
  export interface Ui3nTableSortIconProps {
274
+ /**
275
+ * Icon size
276
+ */
97
277
  size?: string | number;
278
+ /**
279
+ * Icon color
280
+ */
98
281
  color?: string;
282
+ /**
283
+ * Icon value
284
+ */
99
285
  value: 'asc' | 'desc';
100
286
  }
101
287
 
288
+ /**
289
+ * Table expose
290
+ */
102
291
  export type Ui3nTableExpose<T extends Ui3nTableBodyBaseItem> = {
292
+ /**
293
+ * Selected rows
294
+ */
103
295
  selectedRows: Ref<Set<T> | Array<T[keyof T]>>;
296
+ /**
297
+ * Selected rows array
298
+ */
104
299
  selectedRowsArray: ComputedRef<T[]>;
300
+ /**
301
+ * Whether has group actions row
302
+ */
105
303
  hasGroupActionsRow: Ref<boolean>;
304
+ /**
305
+ * Get row style
306
+ */
106
307
  getRowStyle: (row: T) => Record<string, string>;
308
+ /**
309
+ * Close group actions row
310
+ */
107
311
  closeGroupActionsRow: () => void;
108
312
  };
@@ -1,19 +1,57 @@
1
1
  import { VNode } from 'vue';
2
2
 
3
+ /**
4
+ * Tabs component properties
5
+ */
3
6
  export interface Ui3nTabsProps {
7
+ /**
8
+ * Current active tab index
9
+ */
4
10
  modelValue: number;
11
+ /**
12
+ * Direction of tabs
13
+ * @default 'horizontal'
14
+ */
5
15
  itemDirection?: 'horizontal' | 'vertical';
16
+ /**
17
+ * Active tab color
18
+ */
6
19
  activeColor?: string;
20
+ /**
21
+ * Inactive tab color
22
+ */
7
23
  inactiveColor?: string;
24
+ /**
25
+ * Indicator color
26
+ */
8
27
  indicatorColor?: string;
28
+ /**
29
+ * Indicator size
30
+ */
9
31
  indicatorSize?: number | string;
32
+ /**
33
+ * Indicator position
34
+ * @default 'normal'
35
+ */
10
36
  indicatorPosition?: 'normal' | 'reverse';
11
37
  }
12
38
 
39
+ /**
40
+ * Tabs component emits
41
+ */
13
42
  export interface Ui3nTabsEmits {
43
+ /**
44
+ * Emitted when model value updates
45
+ */
14
46
  (ev: 'update:modelValue', val: number): void;
15
47
  }
16
48
 
49
+ /**
50
+ * Tabs component slots
51
+ */
17
52
  export interface Ui3nTabsSlots {
53
+ /**
54
+ * Default slot
55
+ */
18
56
  default: () => VNode;
19
57
  }