@gemafajarramadhan/dynamic-ui 1.2.35 → 1.2.39

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/index.d.ts CHANGED
@@ -43,11 +43,44 @@ declare module '@gemafajarramadhan/dynamic-ui' {
43
43
  [key: string]: any
44
44
  }>
45
45
 
46
+ export interface CheckboxItem {
47
+ id: string | number
48
+ title: string
49
+ value?: boolean
50
+ disabled?: boolean
51
+ indeterminate?: boolean
52
+ }
53
+
46
54
  export const DCodeCheckbox: DefineComponent<{
47
55
  modelValue?: boolean | string[] | any
48
56
  label?: string
57
+ title?: string
58
+ required?: boolean
49
59
  disabled?: boolean
50
60
  visible?: boolean
61
+ skeleton?: boolean
62
+ [key: string]: any
63
+ }>
64
+
65
+ export const DCodeCardCheckboxList: DefineComponent<{
66
+ label?: string
67
+ items?: CheckboxItem[]
68
+ modelValue?: CheckboxItem[] | (string | number)[]
69
+ columns?: 1 | 2 | 3 | 4
70
+ skeleton?: boolean
71
+ disabled?: boolean
72
+ visible?: boolean
73
+ apiModule?: string
74
+ apiAction?: string
75
+ endpoint?: {
76
+ apiUrl: string
77
+ apiMethod?: string
78
+ [key: string]: any
79
+ }
80
+ itemTitle?: string
81
+ itemValue?: string
82
+ apiParams?: Record<string, any>
83
+ returnArray?: boolean
51
84
  [key: string]: any
52
85
  }>
53
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemafajarramadhan/dynamic-ui",
3
- "version": "1.2.35",
3
+ "version": "1.2.39",
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",
package/src/index.d.ts CHANGED
@@ -43,11 +43,44 @@ declare module '@gemafajarramadhan/dynamic-ui' {
43
43
  [key: string]: any
44
44
  }>
45
45
 
46
+ export interface CheckboxItem {
47
+ id: string | number
48
+ title: string
49
+ value?: boolean
50
+ disabled?: boolean
51
+ indeterminate?: boolean
52
+ }
53
+
46
54
  export const DCodeCheckbox: DefineComponent<{
47
55
  modelValue?: boolean | string[] | any
48
56
  label?: string
57
+ title?: string
58
+ required?: boolean
49
59
  disabled?: boolean
50
60
  visible?: boolean
61
+ skeleton?: boolean
62
+ [key: string]: any
63
+ }>
64
+
65
+ export const DCodeCardCheckboxList: DefineComponent<{
66
+ label?: string
67
+ items?: CheckboxItem[]
68
+ modelValue?: CheckboxItem[] | (string | number)[]
69
+ columns?: 1 | 2 | 3 | 4
70
+ skeleton?: boolean
71
+ disabled?: boolean
72
+ visible?: boolean
73
+ apiModule?: string
74
+ apiAction?: string
75
+ endpoint?: {
76
+ apiUrl: string
77
+ apiMethod?: string
78
+ [key: string]: any
79
+ }
80
+ itemTitle?: string
81
+ itemValue?: string
82
+ apiParams?: Record<string, any>
83
+ returnArray?: boolean
51
84
  [key: string]: any
52
85
  }>
53
86