@flowuent-org/diagramming-core 1.0.8 → 1.1.1

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.
Files changed (40) hide show
  1. package/apps/diagramming/src/AutomationDiagramData.ts +22 -0
  2. package/apps/diagramming/src/components/AddNodeView.tsx +252 -252
  3. package/apps/diagramming/src/main.tsx +463 -463
  4. package/apps/diagramming/src/node-data.ts +664 -664
  5. package/apps/diagramming/src/stencil-items.ts +31 -31
  6. package/apps/diagramming/src/vite-env.d.ts +1 -1
  7. package/package.json +1 -1
  8. package/packages/diagrams/NODE_DATA_UPDATE_API.md +430 -430
  9. package/packages/diagrams/README.md +7 -463
  10. package/packages/diagrams/UNDO_REDO_API.md +306 -306
  11. package/packages/diagrams/package.json +27 -27
  12. package/packages/diagrams/project.json +42 -42
  13. package/packages/diagrams/rollup.config.js +26 -26
  14. package/packages/diagrams/src/DiagramFlow.tsx +7 -7
  15. package/packages/diagrams/src/index.ts +116 -116
  16. package/packages/diagrams/src/index.ts.bak +99 -99
  17. package/packages/diagrams/src/lib/atoms/CardEditableTitle.tsx +76 -76
  18. package/packages/diagrams/src/lib/atoms/ExpressionInput.tsx +437 -437
  19. package/packages/diagrams/src/lib/components/DiagramPanel.tsx +331 -331
  20. package/packages/diagrams/src/lib/components/automation/AISuggestionsModal.tsx +269 -0
  21. package/packages/diagrams/src/lib/components/automation/AISuggestionsPanel.tsx +227 -0
  22. package/packages/diagrams/src/lib/components/automation/AutomationAISuggestionNode.tsx +178 -115
  23. package/packages/diagrams/src/lib/components/automation/AutomationApiNode.tsx +133 -27
  24. package/packages/diagrams/src/lib/components/automation/AutomationEndNode.tsx +134 -28
  25. package/packages/diagrams/src/lib/components/automation/AutomationFormattingNode.tsx +132 -27
  26. package/packages/diagrams/src/lib/components/automation/AutomationNoteNode.tsx +124 -17
  27. package/packages/diagrams/src/lib/components/automation/AutomationSheetsNode.tsx +122 -15
  28. package/packages/diagrams/src/lib/components/automation/index.ts +3 -0
  29. package/packages/diagrams/src/lib/contexts/onWorkflowNodeDelete.ts +65 -65
  30. package/packages/diagrams/src/lib/organisms/CustomEdge/useCreateBendPoint.tsx +121 -121
  31. package/packages/diagrams/src/lib/organisms/WorkFlowNode/NodeActionButtons.tsx +45 -45
  32. package/packages/diagrams/src/lib/templates/node-forms/CallForm.tsx +370 -370
  33. package/packages/diagrams/src/lib/templates/systemFlow/components/FloatingEdge.tsx +219 -219
  34. package/packages/diagrams/src/lib/types/card-node.ts +68 -68
  35. package/packages/diagrams/src/lib/types/node-types.ts +29 -29
  36. package/packages/diagrams/src/lib/utils/AutomationExecutionEngine.ts +1179 -1179
  37. package/packages/diagrams/tsconfig.lib.json +25 -25
  38. package/tsconfig.base.json +29 -30
  39. package/TRANSLATION_FIX_SUMMARY.md +0 -118
  40. package/packages/diagrams/I18N_SETUP.md +0 -126
@@ -1,31 +1,31 @@
1
- import { StencilItemType } from './stencil-item';
2
-
3
- export const stencilItems: StencilItemType[] = [
4
- {
5
- id: 'stencil-text-component',
6
- data: { type: '', data: { label: 'text' } },
7
- label: 'Field',
8
- iconName: 'field',
9
- },
10
- {
11
- id: 'workflow-node',
12
- data: { type: 'workflow', data: { label: 'text' } },
13
- label: 'workflow-node',
14
- iconName: 'entity',
15
- },
16
- {
17
- id: 'stencil-block-component',
18
- data: {
19
- type: 'entity',
20
- data: { title: 'Block', color: 'green', isBlock: true },
21
- }, //optional data that we can use on drop
22
- label: 'Entity',
23
- iconName: 'entity',
24
- },
25
- {
26
- id: 'stencil-connector-component',
27
- data: { type: 'connector', data: { label: 'text' } },
28
- label: 'Connector',
29
- iconName: 'connector',
30
- },
31
- ];
1
+ import { StencilItemType } from './stencil-item';
2
+
3
+ export const stencilItems: StencilItemType[] = [
4
+ {
5
+ id: 'stencil-text-component',
6
+ data: { type: '', data: { label: 'text' } },
7
+ label: 'Field',
8
+ iconName: 'field',
9
+ },
10
+ {
11
+ id: 'workflow-node',
12
+ data: { type: 'workflow', data: { label: 'text' } },
13
+ label: 'workflow-node',
14
+ iconName: 'entity',
15
+ },
16
+ {
17
+ id: 'stencil-block-component',
18
+ data: {
19
+ type: 'entity',
20
+ data: { title: 'Block', color: 'green', isBlock: true },
21
+ }, //optional data that we can use on drop
22
+ label: 'Entity',
23
+ iconName: 'entity',
24
+ },
25
+ {
26
+ id: 'stencil-connector-component',
27
+ data: { type: 'connector', data: { label: 'text' } },
28
+ label: 'Connector',
29
+ iconName: 'connector',
30
+ },
31
+ ];
@@ -1 +1 @@
1
- /// <reference types="vite/client" />
1
+ /// <reference types="vite/client" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowuent-org/diagramming-core",
3
- "version": "1.0.8",
3
+ "version": "1.1.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"