@gemafajarramadhan/dynamic-ui 1.2.51 → 1.2.53

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
@@ -450,12 +450,60 @@ declare module '@gemafajarramadhan/dynamic-ui' {
450
450
 
451
451
  export const MicroDynamicForm: any
452
452
  export const MicroDynamicDatatable: any
453
- export const MicroDataTable: any
454
453
 
455
- export const AutoLayoutForm: any
456
- export const AutoLayoutDatatable: any
457
- export const DataTable: any
458
- export const DataTableComponent: any
454
+ export const AutoLayoutForm: DefineComponent<{
455
+ layoutCode: string
456
+ isEditMode?: boolean
457
+ model?: Record<string, any>
458
+ [key: string]: any
459
+ }>
460
+ export const AutoLayoutDatatable: DefineComponent<{
461
+ layoutCode: string
462
+ userPermissions?: any
463
+ permissionBase?: string
464
+ checkPermission?: (permission: string) => boolean
465
+ [key: string]: any
466
+ }>
467
+ export const DataTable: DefineComponent<{
468
+ columns?: any[]
469
+ data?: any[]
470
+ perPage?: number
471
+ loading?: boolean
472
+ hasActions?: boolean
473
+ nested?: boolean
474
+ apiModule?: string
475
+ apiAction?: string
476
+ apiMethod?: string
477
+ apiUrl?: string
478
+ permissionBase?: string
479
+ apiParams?: Record<string, any>
480
+ configKey?: string
481
+ tableConfig?: any
482
+ dynamicColumns?: boolean
483
+ searchApiEndpoint?: string
484
+ enableQuickSearch?: boolean
485
+ showPagination?: boolean
486
+ ignorePermissions?: boolean
487
+ userPermissions?: any
488
+ permissionChecker?: (path: string, action: string) => boolean
489
+ permissions?: string[]
490
+ checkPermission?: (permission: string) => boolean
491
+ menuPermissions?: any[]
492
+ dummyMode?: boolean
493
+ [key: string]: any
494
+ }>
495
+ export const DataTableComponent: DefineComponent<{
496
+ [key: string]: any
497
+ }>
498
+
499
+ export const DynamicForm: DefineComponent<{
500
+ schema: any
501
+ model?: Record<string, any>
502
+ isEditMode?: boolean
503
+ loading?: boolean
504
+ baseUrl?: string
505
+ [key: string]: any
506
+ }>
459
507
 
460
508
  export function registerLogic(name: string, module: any): void
461
509
  export function getLogicModule(name: string): any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemafajarramadhan/dynamic-ui",
3
- "version": "1.2.51",
3
+ "version": "1.2.53",
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
@@ -450,12 +450,60 @@ declare module '@gemafajarramadhan/dynamic-ui' {
450
450
 
451
451
  export const MicroDynamicForm: any
452
452
  export const MicroDynamicDatatable: any
453
- export const MicroDataTable: any
454
453
 
455
- export const AutoLayoutForm: any
456
- export const AutoLayoutDatatable: any
457
- export const DataTable: any
458
- export const DataTableComponent: any
454
+ export const AutoLayoutForm: DefineComponent<{
455
+ layoutCode: string
456
+ isEditMode?: boolean
457
+ model?: Record<string, any>
458
+ [key: string]: any
459
+ }>
460
+ export const AutoLayoutDatatable: DefineComponent<{
461
+ layoutCode: string
462
+ userPermissions?: any
463
+ permissionBase?: string
464
+ checkPermission?: (permission: string) => boolean
465
+ [key: string]: any
466
+ }>
467
+ export const DataTable: DefineComponent<{
468
+ columns?: any[]
469
+ data?: any[]
470
+ perPage?: number
471
+ loading?: boolean
472
+ hasActions?: boolean
473
+ nested?: boolean
474
+ apiModule?: string
475
+ apiAction?: string
476
+ apiMethod?: string
477
+ apiUrl?: string
478
+ permissionBase?: string
479
+ apiParams?: Record<string, any>
480
+ configKey?: string
481
+ tableConfig?: any
482
+ dynamicColumns?: boolean
483
+ searchApiEndpoint?: string
484
+ enableQuickSearch?: boolean
485
+ showPagination?: boolean
486
+ ignorePermissions?: boolean
487
+ userPermissions?: any
488
+ permissionChecker?: (path: string, action: string) => boolean
489
+ permissions?: string[]
490
+ checkPermission?: (permission: string) => boolean
491
+ menuPermissions?: any[]
492
+ dummyMode?: boolean
493
+ [key: string]: any
494
+ }>
495
+ export const DataTableComponent: DefineComponent<{
496
+ [key: string]: any
497
+ }>
498
+
499
+ export const DynamicForm: DefineComponent<{
500
+ schema: any
501
+ model?: Record<string, any>
502
+ isEditMode?: boolean
503
+ loading?: boolean
504
+ baseUrl?: string
505
+ [key: string]: any
506
+ }>
459
507
 
460
508
  export function registerLogic(name: string, module: any): void
461
509
  export function getLogicModule(name: string): any