@gemafajarramadhan/dynamic-ui 1.1.6 → 1.1.7
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.es.js +333 -341
- package/dist/dynamic-ui.umd.js +8 -8
- package/dist/index.d.ts +56 -0
- package/package.json +1 -1
- package/src/index.d.ts +56 -0
package/dist/index.d.ts
CHANGED
|
@@ -186,6 +186,47 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
186
186
|
[key: string]: any
|
|
187
187
|
}>
|
|
188
188
|
|
|
189
|
+
export const DCodeInfiniteAutoComplete: DefineComponent<{
|
|
190
|
+
modelValue?: string | number | object | any[] | null | undefined
|
|
191
|
+
apiModule?: string
|
|
192
|
+
apiAction?: string
|
|
193
|
+
apiOptions?: any | (() => any | undefined)
|
|
194
|
+
autoFetchOnOpen?: boolean
|
|
195
|
+
refreshOnOpen?: boolean
|
|
196
|
+
autoFetchOnMount?: boolean
|
|
197
|
+
visible?: boolean
|
|
198
|
+
clearable?: boolean
|
|
199
|
+
disabled?: boolean
|
|
200
|
+
skeleton?: boolean
|
|
201
|
+
error?: string | null
|
|
202
|
+
errorMessage?: string | null
|
|
203
|
+
itemTitle?: string | ((item: any) => string)
|
|
204
|
+
itemValue?: string | ((item: any) => any)
|
|
205
|
+
itemSubtitle?: string | ((item: any) => string)
|
|
206
|
+
returnObject?: boolean
|
|
207
|
+
endpoint?: {
|
|
208
|
+
apiModule?: string
|
|
209
|
+
apiAction?: string
|
|
210
|
+
apiUrl?: string
|
|
211
|
+
apiMethod?: string
|
|
212
|
+
}
|
|
213
|
+
apiParams?: Record<string, any>
|
|
214
|
+
fetchItems?: () => Promise<any[]>
|
|
215
|
+
icon?: any
|
|
216
|
+
label?: string
|
|
217
|
+
placeholder?: string
|
|
218
|
+
required?: boolean
|
|
219
|
+
inputType?: string
|
|
220
|
+
helperText?: string
|
|
221
|
+
noResultsText?: string
|
|
222
|
+
loadingText?: string
|
|
223
|
+
endOfResultsText?: string
|
|
224
|
+
pageSize?: number
|
|
225
|
+
threshold?: number
|
|
226
|
+
debounceMs?: number
|
|
227
|
+
[key: string]: any
|
|
228
|
+
}>
|
|
229
|
+
|
|
189
230
|
export const DCodeLabel: DefineComponent<{
|
|
190
231
|
for?: string
|
|
191
232
|
required?: boolean
|
|
@@ -217,6 +258,21 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
217
258
|
apiProgress?: number
|
|
218
259
|
}>
|
|
219
260
|
|
|
261
|
+
export const DCodeRadio: DefineComponent<{
|
|
262
|
+
modelValue?: any
|
|
263
|
+
value?: any
|
|
264
|
+
label?: string
|
|
265
|
+
description?: string
|
|
266
|
+
disabled?: boolean
|
|
267
|
+
required?: boolean
|
|
268
|
+
error?: string | null
|
|
269
|
+
size?: 'sm' | 'md' | 'lg'
|
|
270
|
+
color?: string
|
|
271
|
+
name?: string
|
|
272
|
+
id?: string
|
|
273
|
+
[key: string]: any
|
|
274
|
+
}>
|
|
275
|
+
|
|
220
276
|
export const DCodeRadioCustom: DefineComponent<{
|
|
221
277
|
modelValue?: string | number | boolean
|
|
222
278
|
options?: any[]
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -186,6 +186,47 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
186
186
|
[key: string]: any
|
|
187
187
|
}>
|
|
188
188
|
|
|
189
|
+
export const DCodeInfiniteAutoComplete: DefineComponent<{
|
|
190
|
+
modelValue?: string | number | object | any[] | null | undefined
|
|
191
|
+
apiModule?: string
|
|
192
|
+
apiAction?: string
|
|
193
|
+
apiOptions?: any | (() => any | undefined)
|
|
194
|
+
autoFetchOnOpen?: boolean
|
|
195
|
+
refreshOnOpen?: boolean
|
|
196
|
+
autoFetchOnMount?: boolean
|
|
197
|
+
visible?: boolean
|
|
198
|
+
clearable?: boolean
|
|
199
|
+
disabled?: boolean
|
|
200
|
+
skeleton?: boolean
|
|
201
|
+
error?: string | null
|
|
202
|
+
errorMessage?: string | null
|
|
203
|
+
itemTitle?: string | ((item: any) => string)
|
|
204
|
+
itemValue?: string | ((item: any) => any)
|
|
205
|
+
itemSubtitle?: string | ((item: any) => string)
|
|
206
|
+
returnObject?: boolean
|
|
207
|
+
endpoint?: {
|
|
208
|
+
apiModule?: string
|
|
209
|
+
apiAction?: string
|
|
210
|
+
apiUrl?: string
|
|
211
|
+
apiMethod?: string
|
|
212
|
+
}
|
|
213
|
+
apiParams?: Record<string, any>
|
|
214
|
+
fetchItems?: () => Promise<any[]>
|
|
215
|
+
icon?: any
|
|
216
|
+
label?: string
|
|
217
|
+
placeholder?: string
|
|
218
|
+
required?: boolean
|
|
219
|
+
inputType?: string
|
|
220
|
+
helperText?: string
|
|
221
|
+
noResultsText?: string
|
|
222
|
+
loadingText?: string
|
|
223
|
+
endOfResultsText?: string
|
|
224
|
+
pageSize?: number
|
|
225
|
+
threshold?: number
|
|
226
|
+
debounceMs?: number
|
|
227
|
+
[key: string]: any
|
|
228
|
+
}>
|
|
229
|
+
|
|
189
230
|
export const DCodeLabel: DefineComponent<{
|
|
190
231
|
for?: string
|
|
191
232
|
required?: boolean
|
|
@@ -217,6 +258,21 @@ declare module '@gemafajarramadhan/dynamic-ui' {
|
|
|
217
258
|
apiProgress?: number
|
|
218
259
|
}>
|
|
219
260
|
|
|
261
|
+
export const DCodeRadio: DefineComponent<{
|
|
262
|
+
modelValue?: any
|
|
263
|
+
value?: any
|
|
264
|
+
label?: string
|
|
265
|
+
description?: string
|
|
266
|
+
disabled?: boolean
|
|
267
|
+
required?: boolean
|
|
268
|
+
error?: string | null
|
|
269
|
+
size?: 'sm' | 'md' | 'lg'
|
|
270
|
+
color?: string
|
|
271
|
+
name?: string
|
|
272
|
+
id?: string
|
|
273
|
+
[key: string]: any
|
|
274
|
+
}>
|
|
275
|
+
|
|
220
276
|
export const DCodeRadioCustom: DefineComponent<{
|
|
221
277
|
modelValue?: string | number | boolean
|
|
222
278
|
options?: any[]
|