@gemafajarramadhan/dynamic-ui 1.2.42 → 1.2.44
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 +8718 -7965
- package/dist/dynamic-ui.umd.js +14 -14
- package/dist/index.d.ts +57 -0
- package/package.json +3 -1
- package/src/index.d.ts +57 -0
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,31 @@ 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
|
+
|
|
39
|
+
export const DCodeBeforeAfter: DefineComponent<{
|
|
40
|
+
dataBefore: any
|
|
41
|
+
dataAfter: any
|
|
42
|
+
[key: string]: any
|
|
43
|
+
}>
|
|
44
|
+
|
|
45
|
+
export const DCodeListLabels: DefineComponent<{
|
|
46
|
+
dataBefore?: any
|
|
47
|
+
dataAfter?: any
|
|
48
|
+
[key: string]: any
|
|
49
|
+
}>
|
|
50
|
+
|
|
26
51
|
export const DCodeButton: DefineComponent<{
|
|
27
52
|
text?: string
|
|
28
53
|
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
|
|
@@ -43,6 +68,25 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
43
68
|
[key: string]: any
|
|
44
69
|
}>
|
|
45
70
|
|
|
71
|
+
export const DCodeChart: DefineComponent<{
|
|
72
|
+
type: string
|
|
73
|
+
width?: number
|
|
74
|
+
height?: number
|
|
75
|
+
required?: boolean
|
|
76
|
+
loading?: boolean
|
|
77
|
+
error?: string | null
|
|
78
|
+
showInfo?: boolean
|
|
79
|
+
responsive?: boolean
|
|
80
|
+
maintainAspectRatio?: boolean
|
|
81
|
+
theme?: string
|
|
82
|
+
colors?: string[]
|
|
83
|
+
data?: any
|
|
84
|
+
modelValue?: any
|
|
85
|
+
options?: any
|
|
86
|
+
label?: string
|
|
87
|
+
[key: string]: any
|
|
88
|
+
}>
|
|
89
|
+
|
|
46
90
|
export interface CheckboxItem {
|
|
47
91
|
id: string | number
|
|
48
92
|
title: string
|
|
@@ -252,6 +296,18 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
252
296
|
[key: string]: any
|
|
253
297
|
}>
|
|
254
298
|
|
|
299
|
+
export const DCodeProgress: DefineComponent<{
|
|
300
|
+
modelValue?: number
|
|
301
|
+
max?: number
|
|
302
|
+
label?: string
|
|
303
|
+
showValue?: boolean
|
|
304
|
+
color?: string
|
|
305
|
+
size?: 'sm' | 'md' | 'lg'
|
|
306
|
+
striped?: boolean
|
|
307
|
+
animated?: boolean
|
|
308
|
+
[key: string]: any
|
|
309
|
+
}>
|
|
310
|
+
|
|
255
311
|
export const DCodeProgressBar: DefineComponent<{
|
|
256
312
|
isApiLoading?: boolean
|
|
257
313
|
apiProgress?: number
|
|
@@ -371,6 +427,7 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
371
427
|
|
|
372
428
|
export const AutoLayoutForm: any
|
|
373
429
|
export const AutoLayoutDatatable: any
|
|
430
|
+
export const DataTable: any
|
|
374
431
|
export const DataTableComponent: any
|
|
375
432
|
|
|
376
433
|
export function registerLogic(name: string, module: any): void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gemafajarramadhan/dynamic-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.44",
|
|
4
4
|
"description": "Vue 3 Dynamic UI Component Library - Compatible with Vue, React, Angular, and any other framework via Web Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
"chart.js": "^4.5.1",
|
|
93
93
|
"class-variance-authority": "^0.7.1",
|
|
94
94
|
"clsx": "^2.1.1",
|
|
95
|
+
"json-logic-js": "^2.0.5",
|
|
95
96
|
"lucide-vue-next": "^0.575.0",
|
|
96
97
|
"reka-ui": "^2.8.0",
|
|
97
98
|
"tailwind-merge": "^3.5.0",
|
|
@@ -103,6 +104,7 @@
|
|
|
103
104
|
"vue3-toastify": "^0.2.9"
|
|
104
105
|
},
|
|
105
106
|
"devDependencies": {
|
|
107
|
+
"@types/json-logic-js": "^2.0.8",
|
|
106
108
|
"@types/node": "^25.0.3",
|
|
107
109
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
108
110
|
"autoprefixer": "^10.4.19",
|
package/src/index.d.ts
CHANGED
|
@@ -23,6 +23,31 @@ 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
|
+
|
|
39
|
+
export const DCodeBeforeAfter: DefineComponent<{
|
|
40
|
+
dataBefore: any
|
|
41
|
+
dataAfter: any
|
|
42
|
+
[key: string]: any
|
|
43
|
+
}>
|
|
44
|
+
|
|
45
|
+
export const DCodeListLabels: DefineComponent<{
|
|
46
|
+
dataBefore?: any
|
|
47
|
+
dataAfter?: any
|
|
48
|
+
[key: string]: any
|
|
49
|
+
}>
|
|
50
|
+
|
|
26
51
|
export const DCodeButton: DefineComponent<{
|
|
27
52
|
text?: string
|
|
28
53
|
variant?: 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link' | 'tonal' | 'elevated'
|
|
@@ -43,6 +68,25 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
43
68
|
[key: string]: any
|
|
44
69
|
}>
|
|
45
70
|
|
|
71
|
+
export const DCodeChart: DefineComponent<{
|
|
72
|
+
type: string
|
|
73
|
+
width?: number
|
|
74
|
+
height?: number
|
|
75
|
+
required?: boolean
|
|
76
|
+
loading?: boolean
|
|
77
|
+
error?: string | null
|
|
78
|
+
showInfo?: boolean
|
|
79
|
+
responsive?: boolean
|
|
80
|
+
maintainAspectRatio?: boolean
|
|
81
|
+
theme?: string
|
|
82
|
+
colors?: string[]
|
|
83
|
+
data?: any
|
|
84
|
+
modelValue?: any
|
|
85
|
+
options?: any
|
|
86
|
+
label?: string
|
|
87
|
+
[key: string]: any
|
|
88
|
+
}>
|
|
89
|
+
|
|
46
90
|
export interface CheckboxItem {
|
|
47
91
|
id: string | number
|
|
48
92
|
title: string
|
|
@@ -252,6 +296,18 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
252
296
|
[key: string]: any
|
|
253
297
|
}>
|
|
254
298
|
|
|
299
|
+
export const DCodeProgress: DefineComponent<{
|
|
300
|
+
modelValue?: number
|
|
301
|
+
max?: number
|
|
302
|
+
label?: string
|
|
303
|
+
showValue?: boolean
|
|
304
|
+
color?: string
|
|
305
|
+
size?: 'sm' | 'md' | 'lg'
|
|
306
|
+
striped?: boolean
|
|
307
|
+
animated?: boolean
|
|
308
|
+
[key: string]: any
|
|
309
|
+
}>
|
|
310
|
+
|
|
255
311
|
export const DCodeProgressBar: DefineComponent<{
|
|
256
312
|
isApiLoading?: boolean
|
|
257
313
|
apiProgress?: number
|
|
@@ -371,6 +427,7 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
371
427
|
|
|
372
428
|
export const AutoLayoutForm: any
|
|
373
429
|
export const AutoLayoutDatatable: any
|
|
430
|
+
export const DataTable: any
|
|
374
431
|
export const DataTableComponent: any
|
|
375
432
|
|
|
376
433
|
export function registerLogic(name: string, module: any): void
|