@bpmnkit/plugins 0.0.19 → 0.0.24
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/README.md +4 -0
- package/dist/config-panel-bpmn/index.d.ts +18 -0
- package/dist/config-panel-bpmn/index.js +534 -19
- package/dist/config-panel-bpmn/util.d.ts +14 -0
- package/dist/config-panel-bpmn/util.js +21 -0
- package/dist/connector-catalog/builtin-templates.d.ts +10 -0
- package/dist/connector-catalog/builtin-templates.js +585 -0
- package/dist/connector-catalog/css.d.ts +1 -1
- package/dist/connector-catalog/css.js +282 -0
- package/dist/connector-catalog/index.d.ts +27 -14
- package/dist/connector-catalog/index.js +76 -17
- package/dist/connector-catalog/panel.d.ts +34 -0
- package/dist/connector-catalog/panel.js +223 -0
- package/dist/process-runner/css.js +237 -0
- package/dist/process-runner/index.d.ts +56 -0
- package/dist/process-runner/index.js +519 -36
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
[](https://www.npmjs.com/package/@bpmnkit/plugins)
|
|
7
7
|
[](https://github.com/bpmnkit/monorepo/blob/main/LICENSE)
|
|
8
8
|
[](https://github.com/bpmnkit/monorepo)
|
|
9
|
+
[](https://github.com/bpmnkit/monorepo)
|
|
10
|
+
[](https://github.com/bpmnkit/monorepo)
|
|
9
11
|
|
|
10
12
|
[Website](https://bpmnkit.com) · [Documentation](https://docs.bpmnkit.com) · [GitHub](https://github.com/bpmnkit/monorepo) · [Changelog](https://github.com/bpmnkit/monorepo/blob/main/packages/plugins/CHANGELOG.md)
|
|
11
13
|
</div>
|
|
@@ -151,6 +153,8 @@ const ai = createAiBridgePlugin({
|
|
|
151
153
|
| [`@bpmnkit/connector-gen`](https://www.npmjs.com/package/@bpmnkit/connector-gen) | Generate connector templates from OpenAPI specs |
|
|
152
154
|
| [`@bpmnkit/cli`](https://www.npmjs.com/package/@bpmnkit/cli) | Camunda 8 command-line interface (casen) |
|
|
153
155
|
| [`@bpmnkit/proxy`](https://www.npmjs.com/package/@bpmnkit/proxy) | Local AI bridge and Camunda API proxy server |
|
|
156
|
+
| [`@bpmnkit/patterns`](https://www.npmjs.com/package/@bpmnkit/patterns) | Domain process patterns for BPMNKit AIKit |
|
|
157
|
+
| [`@bpmnkit/worker-client`](https://www.npmjs.com/package/@bpmnkit/worker-client) | Thin Zeebe REST client for standalone workers |
|
|
154
158
|
| [`@bpmnkit/cli-sdk`](https://www.npmjs.com/package/@bpmnkit/cli-sdk) | Plugin authoring SDK for the casen CLI |
|
|
155
159
|
| [`@bpmnkit/create-casen-plugin`](https://www.npmjs.com/package/@bpmnkit/create-casen-plugin) | Scaffold a new casen CLI plugin in seconds |
|
|
156
160
|
| [`@bpmnkit/casen-report`](https://www.npmjs.com/package/@bpmnkit/casen-report) | HTML reports from Camunda 8 incident and SLA data |
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
* @packageDocumentation
|
|
26
26
|
*/
|
|
27
27
|
import type { CanvasPlugin } from "@bpmnkit/canvas";
|
|
28
|
+
import type { BpmnDefinitions } from "@bpmnkit/core";
|
|
28
29
|
import { ELEMENT_TYPE_LABELS } from "@bpmnkit/editor";
|
|
29
30
|
import type { ConfigPanelPlugin } from "../config-panel/index.js";
|
|
30
31
|
import type { ElementTemplate } from "./template-types.js";
|
|
@@ -36,6 +37,23 @@ export interface ConfigPanelBpmnOptions {
|
|
|
36
37
|
* Typically implemented by calling `tabsPlugin.api.openTab({ type: "feel", ... })`.
|
|
37
38
|
*/
|
|
38
39
|
openFeelPlayground?: (expression: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Called when a new validation DMN should be created.
|
|
42
|
+
* Receives the DMN XML content, a suggested file name, and the decision ID.
|
|
43
|
+
* Typically implemented by saving a new DMN model in the studio's model storage.
|
|
44
|
+
*/
|
|
45
|
+
onCreateValidationDmn?: (dmnXml: string, fileName: string, decisionId: string) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Called when the user clicks "Edit Validation DMN".
|
|
48
|
+
* Receives the decision ID so the host can navigate to the DMN model.
|
|
49
|
+
*/
|
|
50
|
+
onEditValidationDmn?: (decisionId: string) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Applies a change to the current BPMN definitions.
|
|
53
|
+
* Required for input validation insert/remove to work.
|
|
54
|
+
* Typically: `(fn) => editorRef.current?.applyChange(fn)`.
|
|
55
|
+
*/
|
|
56
|
+
applyChange?: (fn: (defs: BpmnDefinitions) => BpmnDefinitions) => void;
|
|
39
57
|
}
|
|
40
58
|
/**
|
|
41
59
|
* Creates the BPMN config panel extension plugin.
|