@gemafajarramadhan/dynamic-ui 1.4.32 → 1.4.34

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
@@ -662,6 +662,35 @@ export const DCodeWorkflowDiagram: DefineComponent<{
662
662
  [key: string]: any
663
663
  }>
664
664
 
665
+ export const DCodeWorkflowBpmn: DefineComponent<{
666
+ xml?: string | null
667
+ modelValue?: string | null
668
+ title?: string
669
+ height?: string
670
+ apiUrl?: string
671
+ apiModule?: string
672
+ apiAction?: string
673
+ apiMethod?: string
674
+ apiParams?: Record<string, any>
675
+ endpoint?: {
676
+ apiUrl?: string;
677
+ apiMethod?: string;
678
+ keyParam?: string[];
679
+ model?: string;
680
+ }
681
+ fetcher?: (params?: any) => Promise<string | Blob>
682
+ baseUrl?: string
683
+ dummyMode?: boolean
684
+ showToolbar?: boolean
685
+ allowDownload?: boolean
686
+ allowViewCode?: boolean
687
+ fitOnLoad?: boolean
688
+ zoomOnScroll?: boolean
689
+ interactive?: boolean
690
+ tokenSimulation?: boolean
691
+ [key: string]: any
692
+ }>
693
+
665
694
  export const DCodeWizard: DefineComponent<{
666
695
  steps?: any[]
667
696
  modelValue?: number
@@ -850,11 +879,21 @@ export interface MetricBarItem {
850
879
  }
851
880
 
852
881
  export const DCodeBarCustom: DefineComponent<{
853
- items?: MetricBarItem[]
882
+ label?: string
883
+ icon?: string
884
+ modelValue?: any
854
885
  border?: boolean
855
886
  shadow?: boolean
856
887
  padding?: string
857
888
  containerClass?: string
889
+ /** Tipe format value. Nilai: 'TEXT' | 'DATE' | 'DATETIME' | 'CURRENCY' | 'BOOLEAN' | 'NUMBER' | 'PERCENT' | 'BADGE' */
890
+ valueType?: 'TEXT' | 'DATE' | 'DATETIME' | 'CURRENCY' | 'BOOLEAN' | 'NUMBER' | 'PERCENT' | 'BADGE' | string
891
+ /** Kode mata uang atau awalan (contoh: 'IDR', 'USD'). Digunakan saat valueType='CURRENCY' */
892
+ prefix?: string
893
+ /** Akhiran teks (contoh: ' unit', ' kg') */
894
+ suffix?: string
895
+ /** Locale formatting, default 'id-ID' */
896
+ locale?: string
858
897
  }>
859
898
 
860
899
  export function registerLogic(name: string, module: any): void