@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.
- package/CHANGELOG.md +25 -0
- package/README.md +95 -0
- package/assets/images/no-image.png +0 -0
- package/dist/src/api/tasks.d.ts +7 -0
- package/dist/src/api/tasks.js +2517 -0
- package/dist/src/api/tasks.js.map +1 -0
- package/dist/src/base/anchor-instance.d.ts +30 -0
- package/dist/src/base/anchor-instance.js +82 -0
- package/dist/src/base/anchor-instance.js.map +1 -0
- package/dist/src/base/flow-edge-instance.d.ts +31 -0
- package/dist/src/base/flow-edge-instance.js +170 -0
- package/dist/src/base/flow-edge-instance.js.map +1 -0
- package/dist/src/base/flow-node-abstract.d.ts +44 -0
- package/dist/src/base/flow-node-abstract.js +144 -0
- package/dist/src/base/flow-node-abstract.js.map +1 -0
- package/dist/src/components/flow-debug-panel.d.ts +22 -0
- package/dist/src/components/flow-debug-panel.js +156 -0
- package/dist/src/components/flow-debug-panel.js.map +1 -0
- package/dist/src/components/flow-executor.d.ts +29 -0
- package/dist/src/components/flow-executor.js +88 -0
- package/dist/src/components/flow-executor.js.map +1 -0
- package/dist/src/components/flow-options-builder.d.ts +18 -0
- package/dist/src/components/flow-options-builder.js +145 -0
- package/dist/src/components/flow-options-builder.js.map +1 -0
- package/dist/src/components/flow-properties-panel.d.ts +20 -0
- package/dist/src/components/flow-properties-panel.js +212 -0
- package/dist/src/components/flow-properties-panel.js.map +1 -0
- package/dist/src/components/flow-side-panel.d.ts +9 -0
- package/dist/src/components/flow-side-panel.js +83 -0
- package/dist/src/components/flow-side-panel.js.map +1 -0
- package/dist/src/components/flow-sidebar.d.ts +7 -0
- package/dist/src/components/flow-sidebar.js +84 -0
- package/dist/src/components/flow-sidebar.js.map +1 -0
- package/dist/src/components/flow-toolbar.d.ts +15 -0
- package/dist/src/components/flow-toolbar.js +161 -0
- package/dist/src/components/flow-toolbar.js.map +1 -0
- package/dist/src/components/property-editor.d.ts +34 -0
- package/dist/src/components/property-editor.js +76 -0
- package/dist/src/components/property-editor.js.map +1 -0
- package/dist/src/components/property-panel/data-mapper-popup.d.ts +11 -0
- package/dist/src/components/property-panel/data-mapper-popup.js +86 -0
- package/dist/src/components/property-panel/data-mapper-popup.js.map +1 -0
- package/dist/src/components/property-panel/task-selection-popup.d.ts +10 -0
- package/dist/src/components/property-panel/task-selection-popup.js +106 -0
- package/dist/src/components/property-panel/task-selection-popup.js.map +1 -0
- package/dist/src/context/flow-context.d.ts +21 -0
- package/dist/src/context/flow-context.js +3 -0
- package/dist/src/context/flow-context.js.map +1 -0
- package/dist/src/context/flow-debug-context.d.ts +16 -0
- package/dist/src/context/flow-debug-context.js +3 -0
- package/dist/src/context/flow-debug-context.js.map +1 -0
- package/dist/src/context/flow-edit-context.d.ts +11 -0
- package/dist/src/context/flow-edit-context.js +3 -0
- package/dist/src/context/flow-edit-context.js.map +1 -0
- package/dist/src/handlers/dnd-event-handler.d.ts +9 -0
- package/dist/src/handlers/dnd-event-handler.js +41 -0
- package/dist/src/handlers/dnd-event-handler.js.map +1 -0
- package/dist/src/handlers/flow-event-handler.d.ts +20 -0
- package/dist/src/handlers/flow-event-handler.js +75 -0
- package/dist/src/handlers/flow-event-handler.js.map +1 -0
- package/dist/src/handlers/keydown-event-handler.d.ts +6 -0
- package/dist/src/handlers/keydown-event-handler.js +24 -0
- package/dist/src/handlers/keydown-event-handler.js.map +1 -0
- package/dist/src/handlers/pointer-event-handler.d.ts +9 -0
- package/dist/src/handlers/pointer-event-handler.js +118 -0
- package/dist/src/handlers/pointer-event-handler.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/nodes/decision.d.ts +12 -0
- package/dist/src/nodes/decision.js +41 -0
- package/dist/src/nodes/decision.js.map +1 -0
- package/dist/src/nodes/end-event.d.ts +10 -0
- package/dist/src/nodes/end-event.js +44 -0
- package/dist/src/nodes/end-event.js.map +1 -0
- package/dist/src/nodes/index.d.ts +5 -0
- package/dist/src/nodes/index.js +19 -0
- package/dist/src/nodes/index.js.map +1 -0
- package/dist/src/nodes/intermediate-event.d.ts +10 -0
- package/dist/src/nodes/intermediate-event.js +46 -0
- package/dist/src/nodes/intermediate-event.js.map +1 -0
- package/dist/src/nodes/iterator.d.ts +8 -0
- package/dist/src/nodes/iterator.js +26 -0
- package/dist/src/nodes/iterator.js.map +1 -0
- package/dist/src/nodes/select.d.ts +13 -0
- package/dist/src/nodes/select.js +68 -0
- package/dist/src/nodes/select.js.map +1 -0
- package/dist/src/nodes/start-event.d.ts +11 -0
- package/dist/src/nodes/start-event.js +43 -0
- package/dist/src/nodes/start-event.js.map +1 -0
- package/dist/src/nodes/subflow.d.ts +8 -0
- package/dist/src/nodes/subflow.js +27 -0
- package/dist/src/nodes/subflow.js.map +1 -0
- package/dist/src/nodes/task.d.ts +13 -0
- package/dist/src/nodes/task.js +57 -0
- package/dist/src/nodes/task.js.map +1 -0
- package/dist/src/ox-flow-editor.d.ts +94 -0
- package/dist/src/ox-flow-editor.js +426 -0
- package/dist/src/ox-flow-editor.js.map +1 -0
- package/dist/src/ox-flow-monitor.d.ts +24 -0
- package/dist/src/ox-flow-monitor.js +117 -0
- package/dist/src/ox-flow-monitor.js.map +1 -0
- package/dist/src/types.d.ts +92 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils/generate-mapping-scheme.d.ts +6 -0
- package/dist/src/utils/generate-mapping-scheme.js +50 -0
- package/dist/src/utils/generate-mapping-scheme.js.map +1 -0
- package/dist/stories/ox-flow-editor.stories.d.ts +24 -0
- package/dist/stories/ox-flow-editor.stories.js +249 -0
- package/dist/stories/ox-flow-editor.stories.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +91 -0
- package/themes/app-theme.css +138 -0
- package/themes/calendar-theme.css +61 -0
- package/themes/dark.css +51 -0
- package/themes/form-theme.css +70 -0
- package/themes/grist-theme.css +175 -0
- package/themes/layout-theme.css +94 -0
- package/themes/light.css +51 -0
- package/themes/material-theme.css +23 -0
- package/themes/md-typescale-styles.css +100 -0
- package/themes/oops-theme.css +22 -0
- package/themes/report-theme.css +47 -0
- package/themes/spacing.css +23 -0
- package/themes/state-color.css +6 -0
- package/themes/tooltip-theme.css +11 -0
- package/translations/en.json +3 -0
- package/translations/ja.json +3 -0
- package/translations/ko.json +3 -0
- package/translations/ms.json +3 -0
- package/translations/zh.json +3 -0
- 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 <abbr title="test driven development">TDD</abbr>, 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
|