@gemafajarramadhan/dynamic-ui 1.2.41 → 1.2.43
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/dist/dynamic-ui.css +2 -2
- package/dist/dynamic-ui.es.js +6256 -6287
- package/dist/dynamic-ui.umd.js +13 -13
- package/dist/index.d.ts +45 -0
- package/package.json +1 -1
- package/src/index.d.ts +45 -0
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,19 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
23
23
|
[key: string]: any
|
|
24
24
|
}>
|
|
25
25
|
|
|
26
|
+
export const DCodeBadge: DefineComponent<{
|
|
27
|
+
text?: string
|
|
28
|
+
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'info' | 'ghost' | 'tonal' | 'pink' | 'purple' | 'dark' | 'light'
|
|
29
|
+
size?: 'xs' | 'sm' | 'md' | 'lg'
|
|
30
|
+
icon?: string
|
|
31
|
+
dot?: boolean
|
|
32
|
+
pill?: boolean
|
|
33
|
+
color?: string
|
|
34
|
+
skeleton?: boolean
|
|
35
|
+
visible?: boolean
|
|
36
|
+
[key: string]: any
|
|
37
|
+
}>
|
|
38
|
+
|
|
26
39
|
export const DCodeButton: DefineComponent<{
|
|
27
40
|
text?: string
|
|
28
41
|
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
|
|
@@ -43,6 +56,25 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
43
56
|
[key: string]: any
|
|
44
57
|
}>
|
|
45
58
|
|
|
59
|
+
export const DCodeChart: DefineComponent<{
|
|
60
|
+
type: string
|
|
61
|
+
width?: number
|
|
62
|
+
height?: number
|
|
63
|
+
required?: boolean
|
|
64
|
+
loading?: boolean
|
|
65
|
+
error?: string | null
|
|
66
|
+
showInfo?: boolean
|
|
67
|
+
responsive?: boolean
|
|
68
|
+
maintainAspectRatio?: boolean
|
|
69
|
+
theme?: string
|
|
70
|
+
colors?: string[]
|
|
71
|
+
data?: any
|
|
72
|
+
modelValue?: any
|
|
73
|
+
options?: any
|
|
74
|
+
label?: string
|
|
75
|
+
[key: string]: any
|
|
76
|
+
}>
|
|
77
|
+
|
|
46
78
|
export interface CheckboxItem {
|
|
47
79
|
id: string | number
|
|
48
80
|
title: string
|
|
@@ -252,6 +284,18 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
252
284
|
[key: string]: any
|
|
253
285
|
}>
|
|
254
286
|
|
|
287
|
+
export const DCodeProgress: DefineComponent<{
|
|
288
|
+
modelValue?: number
|
|
289
|
+
max?: number
|
|
290
|
+
label?: string
|
|
291
|
+
showValue?: boolean
|
|
292
|
+
color?: string
|
|
293
|
+
size?: 'sm' | 'md' | 'lg'
|
|
294
|
+
striped?: boolean
|
|
295
|
+
animated?: boolean
|
|
296
|
+
[key: string]: any
|
|
297
|
+
}>
|
|
298
|
+
|
|
255
299
|
export const DCodeProgressBar: DefineComponent<{
|
|
256
300
|
isApiLoading?: boolean
|
|
257
301
|
apiProgress?: number
|
|
@@ -371,6 +415,7 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
371
415
|
|
|
372
416
|
export const AutoLayoutForm: any
|
|
373
417
|
export const AutoLayoutDatatable: any
|
|
418
|
+
export const DataTable: any
|
|
374
419
|
export const DataTableComponent: any
|
|
375
420
|
|
|
376
421
|
export function registerLogic(name: string, module: any): void
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -23,6 +23,19 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
23
23
|
[key: string]: any
|
|
24
24
|
}>
|
|
25
25
|
|
|
26
|
+
export const DCodeBadge: DefineComponent<{
|
|
27
|
+
text?: string
|
|
28
|
+
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'success' | 'warning' | 'info' | 'ghost' | 'tonal' | 'pink' | 'purple' | 'dark' | 'light'
|
|
29
|
+
size?: 'xs' | 'sm' | 'md' | 'lg'
|
|
30
|
+
icon?: string
|
|
31
|
+
dot?: boolean
|
|
32
|
+
pill?: boolean
|
|
33
|
+
color?: string
|
|
34
|
+
skeleton?: boolean
|
|
35
|
+
visible?: boolean
|
|
36
|
+
[key: string]: any
|
|
37
|
+
}>
|
|
38
|
+
|
|
26
39
|
export const DCodeButton: DefineComponent<{
|
|
27
40
|
text?: string
|
|
28
41
|
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
|
|
@@ -43,6 +56,25 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
43
56
|
[key: string]: any
|
|
44
57
|
}>
|
|
45
58
|
|
|
59
|
+
export const DCodeChart: DefineComponent<{
|
|
60
|
+
type: string
|
|
61
|
+
width?: number
|
|
62
|
+
height?: number
|
|
63
|
+
required?: boolean
|
|
64
|
+
loading?: boolean
|
|
65
|
+
error?: string | null
|
|
66
|
+
showInfo?: boolean
|
|
67
|
+
responsive?: boolean
|
|
68
|
+
maintainAspectRatio?: boolean
|
|
69
|
+
theme?: string
|
|
70
|
+
colors?: string[]
|
|
71
|
+
data?: any
|
|
72
|
+
modelValue?: any
|
|
73
|
+
options?: any
|
|
74
|
+
label?: string
|
|
75
|
+
[key: string]: any
|
|
76
|
+
}>
|
|
77
|
+
|
|
46
78
|
export interface CheckboxItem {
|
|
47
79
|
id: string | number
|
|
48
80
|
title: string
|
|
@@ -252,6 +284,18 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
252
284
|
[key: string]: any
|
|
253
285
|
}>
|
|
254
286
|
|
|
287
|
+
export const DCodeProgress: DefineComponent<{
|
|
288
|
+
modelValue?: number
|
|
289
|
+
max?: number
|
|
290
|
+
label?: string
|
|
291
|
+
showValue?: boolean
|
|
292
|
+
color?: string
|
|
293
|
+
size?: 'sm' | 'md' | 'lg'
|
|
294
|
+
striped?: boolean
|
|
295
|
+
animated?: boolean
|
|
296
|
+
[key: string]: any
|
|
297
|
+
}>
|
|
298
|
+
|
|
255
299
|
export const DCodeProgressBar: DefineComponent<{
|
|
256
300
|
isApiLoading?: boolean
|
|
257
301
|
apiProgress?: number
|
|
@@ -371,6 +415,7 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
371
415
|
|
|
372
416
|
export const AutoLayoutForm: any
|
|
373
417
|
export const AutoLayoutDatatable: any
|
|
418
|
+
export const DataTable: any
|
|
374
419
|
export const DataTableComponent: any
|
|
375
420
|
|
|
376
421
|
export function registerLogic(name: string, module: any): void
|