@operato/flow 9.0.0-beta.52

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 (133) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +95 -0
  3. package/assets/images/no-image.png +0 -0
  4. package/dist/src/api/tasks.d.ts +7 -0
  5. package/dist/src/api/tasks.js +2517 -0
  6. package/dist/src/api/tasks.js.map +1 -0
  7. package/dist/src/base/anchor-instance.d.ts +30 -0
  8. package/dist/src/base/anchor-instance.js +82 -0
  9. package/dist/src/base/anchor-instance.js.map +1 -0
  10. package/dist/src/base/flow-edge-instance.d.ts +31 -0
  11. package/dist/src/base/flow-edge-instance.js +170 -0
  12. package/dist/src/base/flow-edge-instance.js.map +1 -0
  13. package/dist/src/base/flow-node-abstract.d.ts +44 -0
  14. package/dist/src/base/flow-node-abstract.js +144 -0
  15. package/dist/src/base/flow-node-abstract.js.map +1 -0
  16. package/dist/src/components/flow-debug-panel.d.ts +22 -0
  17. package/dist/src/components/flow-debug-panel.js +156 -0
  18. package/dist/src/components/flow-debug-panel.js.map +1 -0
  19. package/dist/src/components/flow-executor.d.ts +29 -0
  20. package/dist/src/components/flow-executor.js +88 -0
  21. package/dist/src/components/flow-executor.js.map +1 -0
  22. package/dist/src/components/flow-options-builder.d.ts +18 -0
  23. package/dist/src/components/flow-options-builder.js +145 -0
  24. package/dist/src/components/flow-options-builder.js.map +1 -0
  25. package/dist/src/components/flow-properties-panel.d.ts +20 -0
  26. package/dist/src/components/flow-properties-panel.js +212 -0
  27. package/dist/src/components/flow-properties-panel.js.map +1 -0
  28. package/dist/src/components/flow-side-panel.d.ts +9 -0
  29. package/dist/src/components/flow-side-panel.js +83 -0
  30. package/dist/src/components/flow-side-panel.js.map +1 -0
  31. package/dist/src/components/flow-sidebar.d.ts +7 -0
  32. package/dist/src/components/flow-sidebar.js +84 -0
  33. package/dist/src/components/flow-sidebar.js.map +1 -0
  34. package/dist/src/components/flow-toolbar.d.ts +15 -0
  35. package/dist/src/components/flow-toolbar.js +161 -0
  36. package/dist/src/components/flow-toolbar.js.map +1 -0
  37. package/dist/src/components/property-editor.d.ts +34 -0
  38. package/dist/src/components/property-editor.js +76 -0
  39. package/dist/src/components/property-editor.js.map +1 -0
  40. package/dist/src/components/property-panel/data-mapper-popup.d.ts +11 -0
  41. package/dist/src/components/property-panel/data-mapper-popup.js +86 -0
  42. package/dist/src/components/property-panel/data-mapper-popup.js.map +1 -0
  43. package/dist/src/components/property-panel/task-selection-popup.d.ts +10 -0
  44. package/dist/src/components/property-panel/task-selection-popup.js +106 -0
  45. package/dist/src/components/property-panel/task-selection-popup.js.map +1 -0
  46. package/dist/src/context/flow-context.d.ts +21 -0
  47. package/dist/src/context/flow-context.js +3 -0
  48. package/dist/src/context/flow-context.js.map +1 -0
  49. package/dist/src/context/flow-debug-context.d.ts +16 -0
  50. package/dist/src/context/flow-debug-context.js +3 -0
  51. package/dist/src/context/flow-debug-context.js.map +1 -0
  52. package/dist/src/context/flow-edit-context.d.ts +11 -0
  53. package/dist/src/context/flow-edit-context.js +3 -0
  54. package/dist/src/context/flow-edit-context.js.map +1 -0
  55. package/dist/src/handlers/dnd-event-handler.d.ts +9 -0
  56. package/dist/src/handlers/dnd-event-handler.js +41 -0
  57. package/dist/src/handlers/dnd-event-handler.js.map +1 -0
  58. package/dist/src/handlers/flow-event-handler.d.ts +20 -0
  59. package/dist/src/handlers/flow-event-handler.js +75 -0
  60. package/dist/src/handlers/flow-event-handler.js.map +1 -0
  61. package/dist/src/handlers/keydown-event-handler.d.ts +6 -0
  62. package/dist/src/handlers/keydown-event-handler.js +24 -0
  63. package/dist/src/handlers/keydown-event-handler.js.map +1 -0
  64. package/dist/src/handlers/pointer-event-handler.d.ts +9 -0
  65. package/dist/src/handlers/pointer-event-handler.js +118 -0
  66. package/dist/src/handlers/pointer-event-handler.js.map +1 -0
  67. package/dist/src/index.d.ts +2 -0
  68. package/dist/src/index.js +3 -0
  69. package/dist/src/index.js.map +1 -0
  70. package/dist/src/nodes/decision.d.ts +12 -0
  71. package/dist/src/nodes/decision.js +41 -0
  72. package/dist/src/nodes/decision.js.map +1 -0
  73. package/dist/src/nodes/end-event.d.ts +10 -0
  74. package/dist/src/nodes/end-event.js +44 -0
  75. package/dist/src/nodes/end-event.js.map +1 -0
  76. package/dist/src/nodes/index.d.ts +5 -0
  77. package/dist/src/nodes/index.js +19 -0
  78. package/dist/src/nodes/index.js.map +1 -0
  79. package/dist/src/nodes/intermediate-event.d.ts +10 -0
  80. package/dist/src/nodes/intermediate-event.js +46 -0
  81. package/dist/src/nodes/intermediate-event.js.map +1 -0
  82. package/dist/src/nodes/iterator.d.ts +8 -0
  83. package/dist/src/nodes/iterator.js +26 -0
  84. package/dist/src/nodes/iterator.js.map +1 -0
  85. package/dist/src/nodes/select.d.ts +13 -0
  86. package/dist/src/nodes/select.js +68 -0
  87. package/dist/src/nodes/select.js.map +1 -0
  88. package/dist/src/nodes/start-event.d.ts +11 -0
  89. package/dist/src/nodes/start-event.js +43 -0
  90. package/dist/src/nodes/start-event.js.map +1 -0
  91. package/dist/src/nodes/subflow.d.ts +8 -0
  92. package/dist/src/nodes/subflow.js +27 -0
  93. package/dist/src/nodes/subflow.js.map +1 -0
  94. package/dist/src/nodes/task.d.ts +13 -0
  95. package/dist/src/nodes/task.js +57 -0
  96. package/dist/src/nodes/task.js.map +1 -0
  97. package/dist/src/ox-flow-editor.d.ts +94 -0
  98. package/dist/src/ox-flow-editor.js +426 -0
  99. package/dist/src/ox-flow-editor.js.map +1 -0
  100. package/dist/src/ox-flow-monitor.d.ts +24 -0
  101. package/dist/src/ox-flow-monitor.js +117 -0
  102. package/dist/src/ox-flow-monitor.js.map +1 -0
  103. package/dist/src/types.d.ts +92 -0
  104. package/dist/src/types.js +2 -0
  105. package/dist/src/types.js.map +1 -0
  106. package/dist/src/utils/generate-mapping-scheme.d.ts +6 -0
  107. package/dist/src/utils/generate-mapping-scheme.js +50 -0
  108. package/dist/src/utils/generate-mapping-scheme.js.map +1 -0
  109. package/dist/stories/ox-flow-editor.stories.d.ts +24 -0
  110. package/dist/stories/ox-flow-editor.stories.js +249 -0
  111. package/dist/stories/ox-flow-editor.stories.js.map +1 -0
  112. package/dist/tsconfig.tsbuildinfo +1 -0
  113. package/package.json +91 -0
  114. package/themes/app-theme.css +138 -0
  115. package/themes/calendar-theme.css +61 -0
  116. package/themes/dark.css +51 -0
  117. package/themes/form-theme.css +70 -0
  118. package/themes/grist-theme.css +175 -0
  119. package/themes/layout-theme.css +94 -0
  120. package/themes/light.css +51 -0
  121. package/themes/material-theme.css +23 -0
  122. package/themes/md-typescale-styles.css +100 -0
  123. package/themes/oops-theme.css +22 -0
  124. package/themes/report-theme.css +47 -0
  125. package/themes/spacing.css +23 -0
  126. package/themes/state-color.css +6 -0
  127. package/themes/tooltip-theme.css +11 -0
  128. package/translations/en.json +3 -0
  129. package/translations/ja.json +3 -0
  130. package/translations/ko.json +3 -0
  131. package/translations/ms.json +3 -0
  132. package/translations/zh.json +3 -0
  133. package/types/dagre-esm.d.ts +4 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,25 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [9.0.0-beta.52](https://github.com/hatiolab/operato/compare/v9.0.0-beta.51...v9.0.0-beta.52) (2025-03-04)
7
+
8
+
9
+ ### :rocket: New Features
10
+
11
+ * add ox-flow component ([5c16369](https://github.com/hatiolab/operato/commit/5c163697cebe9c770631ff57ebd2a6a57b81ffa4))
12
+
13
+
14
+ ### :bug: Bug Fix
15
+
16
+ * data-mapper function box ([a46afcd](https://github.com/hatiolab/operato/commit/a46afcdacd625da63cadeebdf7944bc049ffc070))
17
+ * enhancing @operato/flow ([7fc6dd0](https://github.com/hatiolab/operato/commit/7fc6dd01c343a58b343680fb58410251113e616e))
18
+ * flow properties ([38ae2e5](https://github.com/hatiolab/operato/commit/38ae2e5b9152bd4f7944319b291aaa69a76b0579))
19
+ * flow properties ([f0f2934](https://github.com/hatiolab/operato/commit/f0f2934371e974ff1cf4e08ed44e196863cfa800))
20
+ * ox-data-mapper, ox-data-tree, ox-flow ([75d055c](https://github.com/hatiolab/operato/commit/75d055c5373bea07e63c1534bdfc3e382206adbf))
21
+ * ox-flow refactoring ([27df5cb](https://github.com/hatiolab/operato/commit/27df5cb9a7784611b49ae5ffc06764d1cdde747d))
22
+ * ox-flow refactoring ([bd62fae](https://github.com/hatiolab/operato/commit/bd62faec669d8f0959fb332a343b27e93e47769c))
23
+ * ox-flow refactoring ([d3e2db4](https://github.com/hatiolab/operato/commit/d3e2db4d79da667f9eb212266b4b35d0b93b6d44))
24
+ * ox-flow refactoring ([0fbf2df](https://github.com/hatiolab/operato/commit/0fbf2df8b0e1fcea7447c76efcb743fe26b67dea))
25
+ * ox-flow refactoring ([9059f3b](https://github.com/hatiolab/operato/commit/9059f3b9d822be112ea2d01beef07102dea91b48))
package/README.md ADDED
@@ -0,0 +1,95 @@
1
+ # \<flow>
2
+
3
+ This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm i flow
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```html
14
+ <script type="module">
15
+ import 'flow/flow.js'
16
+ </script>
17
+
18
+ <flow></flow>
19
+ ```
20
+
21
+ ## Linting with ESLint, Prettier, and Types
22
+
23
+ To scan the project for linting errors, run
24
+
25
+ ```bash
26
+ npm run lint
27
+ ```
28
+
29
+ You can lint with ESLint and Prettier individually as well
30
+
31
+ ```bash
32
+ npm run lint:eslint
33
+ ```
34
+
35
+ ```bash
36
+ npm run lint:prettier
37
+ ```
38
+
39
+ To automatically fix many linting errors, run
40
+
41
+ ```bash
42
+ npm run format
43
+ ```
44
+
45
+ You can format using ESLint and Prettier individually as well
46
+
47
+ ```bash
48
+ npm run format:eslint
49
+ ```
50
+
51
+ ```bash
52
+ npm run format:prettier
53
+ ```
54
+
55
+ ## Testing with Web Test Runner
56
+
57
+ To run the suite of Web Test Runner tests, run
58
+
59
+ ```bash
60
+ npm run test
61
+ ```
62
+
63
+ To run the tests in watch mode (for &lt;abbr title=&#34;test driven development&#34;&gt;TDD&lt;/abbr&gt;, for example), run
64
+
65
+ ```bash
66
+ npm run test:watch
67
+ ```
68
+
69
+ ## Demoing with Storybook
70
+
71
+ To run a local instance of Storybook for your component, run
72
+
73
+ ```bash
74
+ npm run storybook
75
+ ```
76
+
77
+ To build a production version of Storybook, run
78
+
79
+ ```bash
80
+ npm run storybook:build
81
+ ```
82
+
83
+ ## Tooling configs
84
+
85
+ For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.
86
+
87
+ If you customize the configuration a lot, you can consider moving them to individual files.
88
+
89
+ ## Local Demo with `web-dev-server`
90
+
91
+ ```bash
92
+ npm start
93
+ ```
94
+
95
+ To run a local development server that serves the basic demo located in `demo/index.html`
Binary file
@@ -0,0 +1,7 @@
1
+ import { TaskType } from '../types';
2
+ export declare const TaskTypes: TaskType[];
3
+ export declare const BaseTasks: TaskType[];
4
+ export declare const ControlFlowTasks: TaskType[];
5
+ export declare const TaskGroups: {
6
+ [group: string]: TaskType[];
7
+ };