@dayoakin/vue-ui 0.0.0-stage → 0.1.2
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.
- package/README.md +121 -2
- package/dist/components/AnimeHeight/index.vue.d.ts +28 -0
- package/dist/components/Badge/Badge.vue.d.ts +110 -0
- package/dist/components/Button/Button.vue.d.ts +231 -0
- package/dist/components/Button/ButtonGroup.vue.d.ts +41 -0
- package/dist/components/Button/SecondaryButton/index.vue.d.ts +231 -0
- package/dist/components/Card/Card.vue.d.ts +139 -0
- package/dist/components/CardSelect/CardSelect.vue.d.ts +178 -0
- package/dist/components/CodeBlock/index.vue.d.ts +291 -0
- package/dist/components/EmptyState/index.vue.d.ts +98 -0
- package/dist/components/Hr/index.vue.d.ts +3 -0
- package/dist/components/Input/AddressAutocomplete/index.vue.d.ts +218 -0
- package/dist/components/Input/CheckboxInput/index.vue.d.ts +115 -0
- package/dist/components/Input/CurrencyConverterInput/index.vue.d.ts +561 -0
- package/dist/components/Input/CurrencyInput/index.vue.d.ts +310 -0
- package/dist/components/Input/DateInput/index.vue.d.ts +276 -0
- package/dist/components/Input/DoubleRangeInput/index.vue.d.ts +206 -0
- package/dist/components/Input/Input.vue.d.ts +377 -0
- package/dist/components/Input/OtpInput/index.vue.d.ts +294 -0
- package/dist/components/Input/OtpInput/singleOtpInput.vue.d.ts +258 -0
- package/dist/components/Input/RadioInput/index.vue.d.ts +107 -0
- package/dist/components/Input/SearchInput/index.vue.d.ts +170 -0
- package/dist/components/Input/Select/index.vue.d.ts +250 -0
- package/dist/components/Input/TelInput/index.vue.d.ts +242 -0
- package/dist/components/Input/Upload/index.vue.d.ts +353 -0
- package/dist/components/Loaders/index.d.ts +8 -0
- package/dist/components/Loaders/index.vue.d.ts +104 -0
- package/dist/components/Loaders/loaderService.d.ts +18 -0
- package/dist/components/Modals/Modal.vue.d.ts +189 -0
- package/dist/components/Modals/RightSidebar.vue.d.ts +146 -0
- package/dist/components/Notification/AlertBox/AlertBox.vue.d.ts +103 -0
- package/dist/components/Notification/AlertBox/alertService.d.ts +21 -0
- package/dist/components/Notification/AlertBox/index.d.ts +8 -0
- package/dist/components/Notification/InlineToast/InlineToast.vue.d.ts +103 -0
- package/dist/components/Notification/Toast/index.d.ts +8 -0
- package/dist/components/Notification/Toast/index.vue.d.ts +76 -0
- package/dist/components/Notification/Toast/toastServices.d.ts +20 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +238 -0
- package/dist/components/Skeleton/index.vue.d.ts +81 -0
- package/dist/components/Spinner/index.vue.d.ts +71 -0
- package/dist/components/Tab/Tab.vue.d.ts +149 -0
- package/dist/components/Table/index.vue.d.ts +551 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +90 -0
- package/dist/components/index.d.ts +38 -0
- package/dist/components/ts/api.d.ts +4 -0
- package/dist/core/theme.d.ts +4 -0
- package/dist/core/ui.d.ts +88 -0
- package/dist/index-z9l8C72U-BM4uarLu.cjs +14 -0
- package/dist/index-z9l8C72U-CAfHR3NZ.js +3733 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +16257 -0
- package/dist/lib.d.ts +3 -0
- package/dist/style.css +1 -0
- package/package.json +53 -4
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
import { uiAttrs } from '../../core/ui';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export interface TableColumn {
|
|
4
|
+
key: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
width?: string;
|
|
8
|
+
align?: "left" | "center" | "right";
|
|
9
|
+
sortable?: boolean;
|
|
10
|
+
nowrap?: boolean;
|
|
11
|
+
fallback?: string;
|
|
12
|
+
render?: (value: any, row: any, index: number) => any;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
columns: {
|
|
18
|
+
type: PropType<TableColumn[]>;
|
|
19
|
+
default: () => never[];
|
|
20
|
+
};
|
|
21
|
+
data: {
|
|
22
|
+
type: PropType<Record<string, any>[]>;
|
|
23
|
+
default: () => never[];
|
|
24
|
+
};
|
|
25
|
+
rowKey: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
loading: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
loadingText: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
emptyText: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
noResultsText: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
caption: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
w: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
radius: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
maxHeight: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
compact: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
stickyHeader: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
tableLayout: {
|
|
70
|
+
type: PropType<"fixed" | "auto">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
striped: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
bordered: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
hoverable: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
rowNumbers: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
bgColor: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
borderColor: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
headerBg: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
headerColor: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
textColor: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
mutedColor: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
stripedColor: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
hoverColor: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
accentColor: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
sortable: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
defaultSortKey: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
defaultSortDir: {
|
|
134
|
+
type: PropType<"asc" | "desc">;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
externalSort: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
pagination: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
pageSize: {
|
|
146
|
+
type: NumberConstructor;
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
149
|
+
pageSizePicker: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
pageSizeOptions: {
|
|
154
|
+
type: PropType<number[]>;
|
|
155
|
+
default: () => number[];
|
|
156
|
+
};
|
|
157
|
+
externalPagination: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
totalRows: {
|
|
162
|
+
type: NumberConstructor;
|
|
163
|
+
default: number;
|
|
164
|
+
};
|
|
165
|
+
selectable: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
selectedRows: {
|
|
170
|
+
type: PropType<number[]>;
|
|
171
|
+
default: () => never[];
|
|
172
|
+
};
|
|
173
|
+
selectOnRowClick: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
expandable: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
hasActions: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
searchable: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
searchPlaceholder: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
searchKeys: {
|
|
194
|
+
type: PropType<string[]>;
|
|
195
|
+
default: () => never[];
|
|
196
|
+
};
|
|
197
|
+
rowClass: {
|
|
198
|
+
type: PropType<(row: any, index: number) => string>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
rowStyle: {
|
|
202
|
+
type: PropType<(row: any, index: number) => Record<string, string>>;
|
|
203
|
+
default: undefined;
|
|
204
|
+
};
|
|
205
|
+
onRowClick: {
|
|
206
|
+
type: PropType<(row: any, index: number) => void>;
|
|
207
|
+
default: undefined;
|
|
208
|
+
};
|
|
209
|
+
onSort: {
|
|
210
|
+
type: PropType<(key: string, dir: string) => void>;
|
|
211
|
+
default: undefined;
|
|
212
|
+
};
|
|
213
|
+
onPageChange: {
|
|
214
|
+
type: PropType<(page: number) => void>;
|
|
215
|
+
default: undefined;
|
|
216
|
+
};
|
|
217
|
+
}>, {
|
|
218
|
+
uiAttrs: typeof uiAttrs;
|
|
219
|
+
currentPage: import('vue').Ref<number, number>;
|
|
220
|
+
sortCol: import('vue').Ref<string, string>;
|
|
221
|
+
sortDir: import('vue').Ref<"desc" | "asc", "desc" | "asc">;
|
|
222
|
+
expandedRows: import('vue').Ref<Set<string | number> & Omit<Set<string | number>, keyof Set<any>>, Set<string | number> | (Set<string | number> & Omit<Set<string | number>, keyof Set<any>>)>;
|
|
223
|
+
searchQuery: import('vue').Ref<string, string>;
|
|
224
|
+
internalPageSize: import('vue').Ref<number, number>;
|
|
225
|
+
processedRows: import('vue').ComputedRef<Record<string, any>[]>;
|
|
226
|
+
pagedRows: import('vue').ComputedRef<Record<string, any>[]>;
|
|
227
|
+
totalPages: import('vue').ComputedRef<number>;
|
|
228
|
+
pageStart: import('vue').ComputedRef<number>;
|
|
229
|
+
pageEnd: import('vue').ComputedRef<number>;
|
|
230
|
+
pageNumbers: import('vue').ComputedRef<(string | number)[]>;
|
|
231
|
+
allPageSelected: import('vue').ComputedRef<boolean>;
|
|
232
|
+
somePageSelected: import('vue').ComputedRef<boolean>;
|
|
233
|
+
absIdx: (rowIdx: number) => number;
|
|
234
|
+
isSelected: (absIndex: number) => boolean;
|
|
235
|
+
toggleRow: (absIndex: number) => void;
|
|
236
|
+
toggleAll: () => void;
|
|
237
|
+
toggleExpand: (row: any, idx: number) => void;
|
|
238
|
+
getRowKey: (row: any, idx: number) => any;
|
|
239
|
+
handleSort: (col: TableColumn) => void;
|
|
240
|
+
handlePage: (page: number) => void;
|
|
241
|
+
handleRowClick: (row: any, rowIdx: number) => void;
|
|
242
|
+
onPageSizeChange: (e: Event) => void;
|
|
243
|
+
renderCell: (col: TableColumn, row: any, rowIdx: number) => {
|
|
244
|
+
render: () => any;
|
|
245
|
+
} | null;
|
|
246
|
+
rowStyle: (row: any, rowIdx: number) => Record<string, string>;
|
|
247
|
+
wrapStyle: import('vue').ComputedRef<{
|
|
248
|
+
maxHeight?: string | undefined;
|
|
249
|
+
overflowY?: "auto" | undefined;
|
|
250
|
+
borderRadius: string;
|
|
251
|
+
border: string;
|
|
252
|
+
overflow: string;
|
|
253
|
+
}>;
|
|
254
|
+
tableStyle: import('vue').ComputedRef<{
|
|
255
|
+
width: string;
|
|
256
|
+
minWidth: string;
|
|
257
|
+
borderCollapse: "collapse";
|
|
258
|
+
tableLayout: any;
|
|
259
|
+
background: string;
|
|
260
|
+
}>;
|
|
261
|
+
thStyle: import('vue').ComputedRef<{
|
|
262
|
+
position?: "sticky" | undefined;
|
|
263
|
+
top?: number | undefined;
|
|
264
|
+
zIndex?: number | undefined;
|
|
265
|
+
padding: string;
|
|
266
|
+
fontSize: string;
|
|
267
|
+
fontWeight: number;
|
|
268
|
+
letterSpacing: string;
|
|
269
|
+
color: string;
|
|
270
|
+
background: string;
|
|
271
|
+
whiteSpace: "nowrap";
|
|
272
|
+
borderBottom: string;
|
|
273
|
+
}>;
|
|
274
|
+
tdBaseStyle: import('vue').ComputedRef<{
|
|
275
|
+
padding: string;
|
|
276
|
+
fontSize: string;
|
|
277
|
+
color: string;
|
|
278
|
+
verticalAlign: "middle";
|
|
279
|
+
borderBottom: string;
|
|
280
|
+
}>;
|
|
281
|
+
tdStyle: (_row: any, rowIdx: number, _colIdx: number) => {
|
|
282
|
+
background: string;
|
|
283
|
+
cursor: string;
|
|
284
|
+
transition: string;
|
|
285
|
+
padding: string;
|
|
286
|
+
fontSize: string;
|
|
287
|
+
color: string;
|
|
288
|
+
verticalAlign: "middle";
|
|
289
|
+
borderBottom: string;
|
|
290
|
+
};
|
|
291
|
+
totalCols: import('vue').ComputedRef<number>;
|
|
292
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("sort" | "search" | "update:selectedRows" | "page-change" | "page-size-change" | "row-click")[], "sort" | "search" | "update:selectedRows" | "page-change" | "page-size-change" | "row-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
293
|
+
columns: {
|
|
294
|
+
type: PropType<TableColumn[]>;
|
|
295
|
+
default: () => never[];
|
|
296
|
+
};
|
|
297
|
+
data: {
|
|
298
|
+
type: PropType<Record<string, any>[]>;
|
|
299
|
+
default: () => never[];
|
|
300
|
+
};
|
|
301
|
+
rowKey: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
305
|
+
loading: {
|
|
306
|
+
type: BooleanConstructor;
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
309
|
+
loadingText: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
default: string;
|
|
312
|
+
};
|
|
313
|
+
emptyText: {
|
|
314
|
+
type: StringConstructor;
|
|
315
|
+
default: string;
|
|
316
|
+
};
|
|
317
|
+
noResultsText: {
|
|
318
|
+
type: StringConstructor;
|
|
319
|
+
default: string;
|
|
320
|
+
};
|
|
321
|
+
caption: {
|
|
322
|
+
type: StringConstructor;
|
|
323
|
+
default: string;
|
|
324
|
+
};
|
|
325
|
+
w: {
|
|
326
|
+
type: StringConstructor;
|
|
327
|
+
default: string;
|
|
328
|
+
};
|
|
329
|
+
radius: {
|
|
330
|
+
type: StringConstructor;
|
|
331
|
+
default: string;
|
|
332
|
+
};
|
|
333
|
+
maxHeight: {
|
|
334
|
+
type: StringConstructor;
|
|
335
|
+
default: string;
|
|
336
|
+
};
|
|
337
|
+
compact: {
|
|
338
|
+
type: BooleanConstructor;
|
|
339
|
+
default: boolean;
|
|
340
|
+
};
|
|
341
|
+
stickyHeader: {
|
|
342
|
+
type: BooleanConstructor;
|
|
343
|
+
default: boolean;
|
|
344
|
+
};
|
|
345
|
+
tableLayout: {
|
|
346
|
+
type: PropType<"fixed" | "auto">;
|
|
347
|
+
default: string;
|
|
348
|
+
};
|
|
349
|
+
striped: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
default: boolean;
|
|
352
|
+
};
|
|
353
|
+
bordered: {
|
|
354
|
+
type: BooleanConstructor;
|
|
355
|
+
default: boolean;
|
|
356
|
+
};
|
|
357
|
+
hoverable: {
|
|
358
|
+
type: BooleanConstructor;
|
|
359
|
+
default: boolean;
|
|
360
|
+
};
|
|
361
|
+
rowNumbers: {
|
|
362
|
+
type: BooleanConstructor;
|
|
363
|
+
default: boolean;
|
|
364
|
+
};
|
|
365
|
+
bgColor: {
|
|
366
|
+
type: StringConstructor;
|
|
367
|
+
default: string;
|
|
368
|
+
};
|
|
369
|
+
borderColor: {
|
|
370
|
+
type: StringConstructor;
|
|
371
|
+
default: string;
|
|
372
|
+
};
|
|
373
|
+
headerBg: {
|
|
374
|
+
type: StringConstructor;
|
|
375
|
+
default: string;
|
|
376
|
+
};
|
|
377
|
+
headerColor: {
|
|
378
|
+
type: StringConstructor;
|
|
379
|
+
default: string;
|
|
380
|
+
};
|
|
381
|
+
textColor: {
|
|
382
|
+
type: StringConstructor;
|
|
383
|
+
default: string;
|
|
384
|
+
};
|
|
385
|
+
mutedColor: {
|
|
386
|
+
type: StringConstructor;
|
|
387
|
+
default: string;
|
|
388
|
+
};
|
|
389
|
+
stripedColor: {
|
|
390
|
+
type: StringConstructor;
|
|
391
|
+
default: string;
|
|
392
|
+
};
|
|
393
|
+
hoverColor: {
|
|
394
|
+
type: StringConstructor;
|
|
395
|
+
default: string;
|
|
396
|
+
};
|
|
397
|
+
accentColor: {
|
|
398
|
+
type: StringConstructor;
|
|
399
|
+
default: string;
|
|
400
|
+
};
|
|
401
|
+
sortable: {
|
|
402
|
+
type: BooleanConstructor;
|
|
403
|
+
default: boolean;
|
|
404
|
+
};
|
|
405
|
+
defaultSortKey: {
|
|
406
|
+
type: StringConstructor;
|
|
407
|
+
default: string;
|
|
408
|
+
};
|
|
409
|
+
defaultSortDir: {
|
|
410
|
+
type: PropType<"asc" | "desc">;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
externalSort: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
default: boolean;
|
|
416
|
+
};
|
|
417
|
+
pagination: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
default: boolean;
|
|
420
|
+
};
|
|
421
|
+
pageSize: {
|
|
422
|
+
type: NumberConstructor;
|
|
423
|
+
default: number;
|
|
424
|
+
};
|
|
425
|
+
pageSizePicker: {
|
|
426
|
+
type: BooleanConstructor;
|
|
427
|
+
default: boolean;
|
|
428
|
+
};
|
|
429
|
+
pageSizeOptions: {
|
|
430
|
+
type: PropType<number[]>;
|
|
431
|
+
default: () => number[];
|
|
432
|
+
};
|
|
433
|
+
externalPagination: {
|
|
434
|
+
type: BooleanConstructor;
|
|
435
|
+
default: boolean;
|
|
436
|
+
};
|
|
437
|
+
totalRows: {
|
|
438
|
+
type: NumberConstructor;
|
|
439
|
+
default: number;
|
|
440
|
+
};
|
|
441
|
+
selectable: {
|
|
442
|
+
type: BooleanConstructor;
|
|
443
|
+
default: boolean;
|
|
444
|
+
};
|
|
445
|
+
selectedRows: {
|
|
446
|
+
type: PropType<number[]>;
|
|
447
|
+
default: () => never[];
|
|
448
|
+
};
|
|
449
|
+
selectOnRowClick: {
|
|
450
|
+
type: BooleanConstructor;
|
|
451
|
+
default: boolean;
|
|
452
|
+
};
|
|
453
|
+
expandable: {
|
|
454
|
+
type: BooleanConstructor;
|
|
455
|
+
default: boolean;
|
|
456
|
+
};
|
|
457
|
+
hasActions: {
|
|
458
|
+
type: BooleanConstructor;
|
|
459
|
+
default: boolean;
|
|
460
|
+
};
|
|
461
|
+
searchable: {
|
|
462
|
+
type: BooleanConstructor;
|
|
463
|
+
default: boolean;
|
|
464
|
+
};
|
|
465
|
+
searchPlaceholder: {
|
|
466
|
+
type: StringConstructor;
|
|
467
|
+
default: string;
|
|
468
|
+
};
|
|
469
|
+
searchKeys: {
|
|
470
|
+
type: PropType<string[]>;
|
|
471
|
+
default: () => never[];
|
|
472
|
+
};
|
|
473
|
+
rowClass: {
|
|
474
|
+
type: PropType<(row: any, index: number) => string>;
|
|
475
|
+
default: undefined;
|
|
476
|
+
};
|
|
477
|
+
rowStyle: {
|
|
478
|
+
type: PropType<(row: any, index: number) => Record<string, string>>;
|
|
479
|
+
default: undefined;
|
|
480
|
+
};
|
|
481
|
+
onRowClick: {
|
|
482
|
+
type: PropType<(row: any, index: number) => void>;
|
|
483
|
+
default: undefined;
|
|
484
|
+
};
|
|
485
|
+
onSort: {
|
|
486
|
+
type: PropType<(key: string, dir: string) => void>;
|
|
487
|
+
default: undefined;
|
|
488
|
+
};
|
|
489
|
+
onPageChange: {
|
|
490
|
+
type: PropType<(page: number) => void>;
|
|
491
|
+
default: undefined;
|
|
492
|
+
};
|
|
493
|
+
}>> & Readonly<{
|
|
494
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
495
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
496
|
+
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
497
|
+
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
498
|
+
"onPage-size-change"?: ((...args: any[]) => any) | undefined;
|
|
499
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
500
|
+
}>, {
|
|
501
|
+
borderColor: string;
|
|
502
|
+
maxHeight: string;
|
|
503
|
+
bgColor: string;
|
|
504
|
+
textColor: string;
|
|
505
|
+
caption: string;
|
|
506
|
+
data: Record<string, any>[];
|
|
507
|
+
radius: string;
|
|
508
|
+
loading: boolean;
|
|
509
|
+
w: string;
|
|
510
|
+
emptyText: string;
|
|
511
|
+
mutedColor: string;
|
|
512
|
+
searchable: boolean;
|
|
513
|
+
accentColor: string;
|
|
514
|
+
loadingText: string;
|
|
515
|
+
columns: TableColumn[];
|
|
516
|
+
rowKey: string;
|
|
517
|
+
noResultsText: string;
|
|
518
|
+
compact: boolean;
|
|
519
|
+
stickyHeader: boolean;
|
|
520
|
+
tableLayout: "auto" | "fixed";
|
|
521
|
+
striped: boolean;
|
|
522
|
+
bordered: boolean;
|
|
523
|
+
hoverable: boolean;
|
|
524
|
+
rowNumbers: boolean;
|
|
525
|
+
headerBg: string;
|
|
526
|
+
headerColor: string;
|
|
527
|
+
stripedColor: string;
|
|
528
|
+
hoverColor: string;
|
|
529
|
+
sortable: boolean;
|
|
530
|
+
defaultSortKey: string;
|
|
531
|
+
defaultSortDir: "desc" | "asc";
|
|
532
|
+
externalSort: boolean;
|
|
533
|
+
pagination: boolean;
|
|
534
|
+
pageSize: number;
|
|
535
|
+
pageSizePicker: boolean;
|
|
536
|
+
pageSizeOptions: number[];
|
|
537
|
+
externalPagination: boolean;
|
|
538
|
+
totalRows: number;
|
|
539
|
+
selectable: boolean;
|
|
540
|
+
selectedRows: number[];
|
|
541
|
+
selectOnRowClick: boolean;
|
|
542
|
+
expandable: boolean;
|
|
543
|
+
hasActions: boolean;
|
|
544
|
+
searchPlaceholder: string;
|
|
545
|
+
searchKeys: string[];
|
|
546
|
+
rowClass: (row: any, index: number) => string;
|
|
547
|
+
rowStyle: (row: any, index: number) => Record<string, string>;
|
|
548
|
+
onRowClick: (row: any, index: number) => void;
|
|
549
|
+
onSort: (key: string, dir: string) => void;
|
|
550
|
+
onPageChange: (page: number) => void;
|
|
551
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
type Position = "top" | "bottom" | "left" | "right";
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
content: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
position: {
|
|
10
|
+
type: () => Position;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
p: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
maxW: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
radius: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
bgColor: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
textColor: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
fontSize: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>, {
|
|
38
|
+
show: import('vue').Ref<boolean, boolean>;
|
|
39
|
+
bubbleStyle: import('vue').ComputedRef<{
|
|
40
|
+
background: string;
|
|
41
|
+
color: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
padding: string;
|
|
44
|
+
fontSize: string;
|
|
45
|
+
maxWidth: string;
|
|
46
|
+
"--tip-bg": string;
|
|
47
|
+
}>;
|
|
48
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
content: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
position: {
|
|
54
|
+
type: () => Position;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
p: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
maxW: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
radius: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
bgColor: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
textColor: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
fontSize: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
}>> & Readonly<{}>, {
|
|
82
|
+
p: string;
|
|
83
|
+
fontSize: string;
|
|
84
|
+
bgColor: string;
|
|
85
|
+
textColor: string;
|
|
86
|
+
radius: string;
|
|
87
|
+
position: Position;
|
|
88
|
+
content: string;
|
|
89
|
+
maxW: string;
|
|
90
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { showToast, showAlert, setLoading } from './ts/api';
|
|
2
|
+
export { default as inlineToast } from './Notification/InlineToast/InlineToast.vue';
|
|
3
|
+
export { default as AnimeHeight } from './AnimeHeight/index.vue';
|
|
4
|
+
export { default as SecondaryButton } from './Button/SecondaryButton/index.vue';
|
|
5
|
+
export { default as Button } from './Button/Button.vue';
|
|
6
|
+
export { default as ButtonGroup } from './Button/ButtonGroup.vue';
|
|
7
|
+
export { default as Card } from './Card/Card.vue';
|
|
8
|
+
export { default as CardSelect } from './CardSelect/CardSelect.vue';
|
|
9
|
+
export { default as EmptyState } from './EmptyState/index.vue';
|
|
10
|
+
export { default as SearchInput } from './Input/SearchInput/index.vue';
|
|
11
|
+
export { default as Hr } from './Hr/index.vue';
|
|
12
|
+
export { default as Input } from './Input/Input.vue';
|
|
13
|
+
export { default as CurrencyInput } from './Input/CurrencyInput/index.vue';
|
|
14
|
+
export { default as Select } from './Input/Select/index.vue';
|
|
15
|
+
export { default as Upload } from './Input/Upload/index.vue';
|
|
16
|
+
export { default as OtpInput } from './Input/OtpInput/index.vue';
|
|
17
|
+
export { default as SingleOtp } from './Input/OtpInput/singleOtpInput.vue';
|
|
18
|
+
export { default as CurrencyConverterInput } from './Input/CurrencyConverterInput/index.vue';
|
|
19
|
+
export { default as TelInput } from './Input/TelInput/index.vue';
|
|
20
|
+
export { default as DateInput } from './Input/DateInput/index.vue';
|
|
21
|
+
export { default as GoogleAutocomplete } from './Input/AddressAutocomplete/index.vue';
|
|
22
|
+
export { default as RadioInput } from './Input/RadioInput/index.vue';
|
|
23
|
+
export { default as CheckboxInput } from './Input/CheckboxInput/index.vue';
|
|
24
|
+
export { default as DoubleRangeInput } from './Input/DoubleRangeInput/index.vue';
|
|
25
|
+
export { default as Modal } from './Modals/Modal.vue';
|
|
26
|
+
export { default as RightSidebar } from './Modals/RightSidebar.vue';
|
|
27
|
+
export { default as Toast } from './Notification/Toast';
|
|
28
|
+
export { default as AlertBox } from './Notification/AlertBox';
|
|
29
|
+
export { default as InlineToast } from './/Notification/InlineToast//InlineToast.vue';
|
|
30
|
+
export { default as Pagination } from './Pagination/Pagination.vue';
|
|
31
|
+
export { default as Loader } from './Loaders/';
|
|
32
|
+
export { default as Skeleton } from './Skeleton/index.vue';
|
|
33
|
+
export { default as Tab } from './Tab/Tab.vue';
|
|
34
|
+
export { default as Badge } from './Badge/Badge.vue';
|
|
35
|
+
export { default as Tooltip } from './Tooltip/Tooltip.vue';
|
|
36
|
+
export { default as Table } from './Table/index.vue';
|
|
37
|
+
export { default as CodeBlock } from './CodeBlock/index.vue';
|
|
38
|
+
export { showToast, showAlert, setLoading };
|