@gemafajarramadhan/dynamic-ui 1.4.33 → 1.4.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gemafajarramadhan/dynamic-ui",
3
- "version": "1.4.33",
3
+ "version": "1.4.35",
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",
@@ -90,6 +90,8 @@
90
90
  "@uppy/image-editor": "^4.0.0",
91
91
  "@vuepic/vue-datepicker": "^12.0.0",
92
92
  "@vueuse/core": "^14.2.1",
93
+ "bpmn-js": "^18.24.0",
94
+ "bpmn-js-token-simulation": "^0.40.0",
93
95
  "chart.js": "^4.5.1",
94
96
  "ckeditor5": "^48.2.0",
95
97
  "class-variance-authority": "^0.7.1",
@@ -120,6 +122,7 @@
120
122
  "typescript": "^5.2.2",
121
123
  "vite": "^6.0.0",
122
124
  "vitest": "^4.0.16",
125
+ "vue": "^3.4.0",
123
126
  "vue-tsc": "^2.0.6"
124
127
  }
125
128
  }
package/src/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