@gemafajarramadhan/dynamic-ui 1.3.86 → 1.3.88
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 +5 -2
- package/dist/dynamic-ui.es.js +83913 -19921
- package/dist/dynamic-ui.umd.js +381 -53
- package/dist/index.d.ts +79 -0
- package/package.json +5 -1
- package/src/index.d.ts +79 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, Plugin, App } from 'vue'
|
|
2
|
+
import type { ChartData, ChartOptions } from 'chart.js'
|
|
2
3
|
|
|
3
4
|
export interface DynamicUIApiConfig {
|
|
4
5
|
externalApi: any
|
|
@@ -14,6 +15,50 @@ export const CardSummary: DefineComponent<{
|
|
|
14
15
|
delay?: number
|
|
15
16
|
}>
|
|
16
17
|
|
|
18
|
+
export const DashboardActivityCard: DefineComponent<{
|
|
19
|
+
title: string
|
|
20
|
+
description: string
|
|
21
|
+
years: number[]
|
|
22
|
+
modelValue: number
|
|
23
|
+
data: ChartData<'bar'>
|
|
24
|
+
options?: ChartOptions<'bar'>
|
|
25
|
+
loading?: boolean
|
|
26
|
+
theme?: 'light' | 'dark'
|
|
27
|
+
}>
|
|
28
|
+
|
|
29
|
+
export interface DashboardInsightItem {
|
|
30
|
+
id: string | number
|
|
31
|
+
count: number
|
|
32
|
+
title: string
|
|
33
|
+
description: string
|
|
34
|
+
tone: 'primary' | 'warning' | 'danger'
|
|
35
|
+
route?: string | Record<string, unknown>
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const DashboardInsightsCard: DefineComponent<{
|
|
39
|
+
title: string
|
|
40
|
+
description: string
|
|
41
|
+
items: DashboardInsightItem[]
|
|
42
|
+
loading?: boolean
|
|
43
|
+
skeletonCount?: number
|
|
44
|
+
}>
|
|
45
|
+
|
|
46
|
+
export interface DashboardFeatureItem {
|
|
47
|
+
id: string | number
|
|
48
|
+
category: string
|
|
49
|
+
releaseDate: string
|
|
50
|
+
title: string
|
|
51
|
+
description: string
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const DashboardFeaturesCard: DefineComponent<{
|
|
55
|
+
title: string
|
|
56
|
+
description: string
|
|
57
|
+
items: DashboardFeatureItem[]
|
|
58
|
+
loading?: boolean
|
|
59
|
+
skeletonCount?: number
|
|
60
|
+
}>
|
|
61
|
+
|
|
17
62
|
export const DynamicFormField: DefineComponent<{
|
|
18
63
|
field: {
|
|
19
64
|
key: string;
|
|
@@ -483,6 +528,27 @@ export const DCodeTextField: DefineComponent<{
|
|
|
483
528
|
[key: string]: any
|
|
484
529
|
}>
|
|
485
530
|
|
|
531
|
+
export const DCodeMapField: DefineComponent<{
|
|
532
|
+
modelValue?: any
|
|
533
|
+
valueFormat?: 'object-lat-lng' | 'object-latitude-longitude' | 'array-lat-lng' | 'array-lng-lat' | 'string'
|
|
534
|
+
label?: string
|
|
535
|
+
placeholder?: string
|
|
536
|
+
disabled?: boolean
|
|
537
|
+
readonly?: boolean
|
|
538
|
+
visible?: boolean
|
|
539
|
+
skeleton?: boolean
|
|
540
|
+
error?: string | null
|
|
541
|
+
height?: string
|
|
542
|
+
zoom?: number
|
|
543
|
+
defaultLat?: number
|
|
544
|
+
defaultLng?: number
|
|
545
|
+
enableSearch?: boolean
|
|
546
|
+
enableCurrentLocation?: boolean
|
|
547
|
+
enableManualInput?: boolean
|
|
548
|
+
[key: string]: any
|
|
549
|
+
}>
|
|
550
|
+
|
|
551
|
+
|
|
486
552
|
export const DCodeTextarea: DefineComponent<{
|
|
487
553
|
modelValue?: string | null
|
|
488
554
|
label?: string
|
|
@@ -494,6 +560,19 @@ export const DCodeTextarea: DefineComponent<{
|
|
|
494
560
|
[key: string]: any
|
|
495
561
|
}>
|
|
496
562
|
|
|
563
|
+
export const DCodeTextEditor: DefineComponent<{
|
|
564
|
+
modelValue?: string | null
|
|
565
|
+
label?: string
|
|
566
|
+
error?: string | null
|
|
567
|
+
disabled?: boolean
|
|
568
|
+
readonly?: boolean
|
|
569
|
+
visible?: boolean
|
|
570
|
+
skeleton?: boolean
|
|
571
|
+
placeholder?: string
|
|
572
|
+
height?: string
|
|
573
|
+
[key: string]: any
|
|
574
|
+
}>
|
|
575
|
+
|
|
497
576
|
export const DCodeTimelineWithIcons: DefineComponent<{
|
|
498
577
|
items?: any[]
|
|
499
578
|
apiUrl?: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gemafajarramadhan/dynamic-ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.88",
|
|
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",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
+
"@ckeditor/ckeditor5-vue": "^8.1.1",
|
|
83
84
|
"@fontsource/geist-mono": "^5.2.7",
|
|
84
85
|
"@fontsource/geist-sans": "^5.2.5",
|
|
85
86
|
"@jamescoyle/vue-icon": "^0.1.2",
|
|
@@ -90,10 +91,12 @@
|
|
|
90
91
|
"@vuepic/vue-datepicker": "^12.0.0",
|
|
91
92
|
"@vueuse/core": "^14.2.1",
|
|
92
93
|
"chart.js": "^4.5.1",
|
|
94
|
+
"ckeditor5": "^48.2.0",
|
|
93
95
|
"class-variance-authority": "^0.7.1",
|
|
94
96
|
"clsx": "^2.1.1",
|
|
95
97
|
"currency.js": "^2.0.4",
|
|
96
98
|
"json-logic-js": "^2.0.5",
|
|
99
|
+
"leaflet": "^1.9.4",
|
|
97
100
|
"lucide-vue-next": "^0.575.0",
|
|
98
101
|
"reka-ui": "^2.8.0",
|
|
99
102
|
"tailwind-merge": "^3.5.0",
|
|
@@ -107,6 +110,7 @@
|
|
|
107
110
|
},
|
|
108
111
|
"devDependencies": {
|
|
109
112
|
"@types/json-logic-js": "^2.0.8",
|
|
113
|
+
"@types/leaflet": "^1.9.21",
|
|
110
114
|
"@types/node": "^25.0.3",
|
|
111
115
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
112
116
|
"autoprefixer": "^10.4.19",
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, Plugin, App } from 'vue'
|
|
2
|
+
import type { ChartData, ChartOptions } from 'chart.js'
|
|
2
3
|
|
|
3
4
|
export interface DynamicUIApiConfig {
|
|
4
5
|
externalApi: any
|
|
@@ -14,6 +15,50 @@ export const CardSummary: DefineComponent<{
|
|
|
14
15
|
delay?: number
|
|
15
16
|
}>
|
|
16
17
|
|
|
18
|
+
export const DashboardActivityCard: DefineComponent<{
|
|
19
|
+
title: string
|
|
20
|
+
description: string
|
|
21
|
+
years: number[]
|
|
22
|
+
modelValue: number
|
|
23
|
+
data: ChartData<'bar'>
|
|
24
|
+
options?: ChartOptions<'bar'>
|
|
25
|
+
loading?: boolean
|
|
26
|
+
theme?: 'light' | 'dark'
|
|
27
|
+
}>
|
|
28
|
+
|
|
29
|
+
export interface DashboardInsightItem {
|
|
30
|
+
id: string | number
|
|
31
|
+
count: number
|
|
32
|
+
title: string
|
|
33
|
+
description: string
|
|
34
|
+
tone: 'primary' | 'warning' | 'danger'
|
|
35
|
+
route?: string | Record<string, unknown>
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const DashboardInsightsCard: DefineComponent<{
|
|
39
|
+
title: string
|
|
40
|
+
description: string
|
|
41
|
+
items: DashboardInsightItem[]
|
|
42
|
+
loading?: boolean
|
|
43
|
+
skeletonCount?: number
|
|
44
|
+
}>
|
|
45
|
+
|
|
46
|
+
export interface DashboardFeatureItem {
|
|
47
|
+
id: string | number
|
|
48
|
+
category: string
|
|
49
|
+
releaseDate: string
|
|
50
|
+
title: string
|
|
51
|
+
description: string
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const DashboardFeaturesCard: DefineComponent<{
|
|
55
|
+
title: string
|
|
56
|
+
description: string
|
|
57
|
+
items: DashboardFeatureItem[]
|
|
58
|
+
loading?: boolean
|
|
59
|
+
skeletonCount?: number
|
|
60
|
+
}>
|
|
61
|
+
|
|
17
62
|
export const DynamicFormField: DefineComponent<{
|
|
18
63
|
field: {
|
|
19
64
|
key: string;
|
|
@@ -483,6 +528,27 @@ export const DCodeTextField: DefineComponent<{
|
|
|
483
528
|
[key: string]: any
|
|
484
529
|
}>
|
|
485
530
|
|
|
531
|
+
export const DCodeMapField: DefineComponent<{
|
|
532
|
+
modelValue?: any
|
|
533
|
+
valueFormat?: 'object-lat-lng' | 'object-latitude-longitude' | 'array-lat-lng' | 'array-lng-lat' | 'string'
|
|
534
|
+
label?: string
|
|
535
|
+
placeholder?: string
|
|
536
|
+
disabled?: boolean
|
|
537
|
+
readonly?: boolean
|
|
538
|
+
visible?: boolean
|
|
539
|
+
skeleton?: boolean
|
|
540
|
+
error?: string | null
|
|
541
|
+
height?: string
|
|
542
|
+
zoom?: number
|
|
543
|
+
defaultLat?: number
|
|
544
|
+
defaultLng?: number
|
|
545
|
+
enableSearch?: boolean
|
|
546
|
+
enableCurrentLocation?: boolean
|
|
547
|
+
enableManualInput?: boolean
|
|
548
|
+
[key: string]: any
|
|
549
|
+
}>
|
|
550
|
+
|
|
551
|
+
|
|
486
552
|
export const DCodeTextarea: DefineComponent<{
|
|
487
553
|
modelValue?: string | null
|
|
488
554
|
label?: string
|
|
@@ -494,6 +560,19 @@ export const DCodeTextarea: DefineComponent<{
|
|
|
494
560
|
[key: string]: any
|
|
495
561
|
}>
|
|
496
562
|
|
|
563
|
+
export const DCodeTextEditor: DefineComponent<{
|
|
564
|
+
modelValue?: string | null
|
|
565
|
+
label?: string
|
|
566
|
+
error?: string | null
|
|
567
|
+
disabled?: boolean
|
|
568
|
+
readonly?: boolean
|
|
569
|
+
visible?: boolean
|
|
570
|
+
skeleton?: boolean
|
|
571
|
+
placeholder?: string
|
|
572
|
+
height?: string
|
|
573
|
+
[key: string]: any
|
|
574
|
+
}>
|
|
575
|
+
|
|
497
576
|
export const DCodeTimelineWithIcons: DefineComponent<{
|
|
498
577
|
items?: any[]
|
|
499
578
|
apiUrl?: string
|