@operato/process 8.0.0-beta.1 → 8.0.0-beta.4

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 CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.0.0-beta.4](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.3...v8.0.0-beta.4) (2025-01-09)
7
+
8
+ **Note:** Version bump only for package @operato/process
9
+
10
+
11
+
12
+
13
+
14
+ ## [8.0.0-beta.2](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.1...v8.0.0-beta.2) (2025-01-08)
15
+
16
+
17
+ ### :bug: Bug Fix
18
+
19
+ * typo .npmignore ([d9c0c8c](https://github.com/heartyoh/ioperato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
20
+
21
+
22
+
6
23
  ## [8.0.0-beta.1](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
7
24
 
8
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/process",
3
- "version": "8.0.0-beta.1",
3
+ "version": "8.0.0-beta.4",
4
4
  "description": "Webcomponent for business process modeling following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -74,18 +74,18 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@open-wc/scoped-elements": "^2.1.3",
77
- "@operato/app": "^8.0.0-beta.1",
78
- "@operato/board": "^8.0.0-beta.1",
79
- "@operato/data-grist": "^8.0.0-beta.1",
80
- "@operato/font": "^8.0.0-beta.1",
81
- "@operato/graphql": "^8.0.0-beta.1",
82
- "@operato/i18n": "^8.0.0-beta.1",
83
- "@operato/input": "^8.0.0-beta.1",
84
- "@operato/markdown": "^8.0.0-beta.1",
85
- "@operato/popup": "^8.0.0-beta.1",
86
- "@operato/property-editor": "^8.0.0-beta.1",
87
- "@operato/styles": "^8.0.0-beta.1",
88
- "@operato/utils": "^8.0.0-beta.1",
77
+ "@operato/app": "^8.0.0-beta.4",
78
+ "@operato/board": "^8.0.0-beta.4",
79
+ "@operato/data-grist": "^8.0.0-beta.2",
80
+ "@operato/font": "^8.0.0-beta.4",
81
+ "@operato/graphql": "^8.0.0-beta.2",
82
+ "@operato/i18n": "^8.0.0-beta.2",
83
+ "@operato/input": "^8.0.0-beta.2",
84
+ "@operato/markdown": "^8.0.0-beta.2",
85
+ "@operato/popup": "^8.0.0-beta.2",
86
+ "@operato/property-editor": "^8.0.0-beta.4",
87
+ "@operato/styles": "^8.0.0-beta.2",
88
+ "@operato/utils": "^8.0.0-beta.2",
89
89
  "@polymer/paper-dropdown-menu": "^3.2.0",
90
90
  "@types/file-saver": "^2.0.4",
91
91
  "@types/sortablejs": "^1.10.7",
@@ -134,5 +134,5 @@
134
134
  "prettier --write"
135
135
  ]
136
136
  },
137
- "gitHead": "d5b28a2e9deb632c0dc80132f6a7196dd6fe4220"
137
+ "gitHead": "51d4fc847a2e114f490d1700b025e4a7d7af062b"
138
138
  }
@@ -1,112 +0,0 @@
1
- <!doctype html>
2
- <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
6
- <style>
7
- body {
8
- margin: 0;
9
- padding: 0;
10
- overflow: hidden;
11
-
12
- /* This is a font-stack that tries to use the system-default sans-serifs first */
13
- font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
14
- line-height: 1.5;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- ox-process-modeller {
19
- width: 100vw;
20
- height: 100dvh;
21
- }
22
- </style>
23
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link
25
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
- rel="stylesheet"
27
- />
28
- <link
29
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
- rel="stylesheet"
31
- />
32
- <link
33
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
- rel="stylesheet"
35
- />
36
- </head>
37
- <body>
38
- <div id="demo"></div>
39
- <script type="module">
40
- import { html, render } from 'lit'
41
- import '../dist/src/ox-process-modeller.js'
42
- import { ReferenceMap, create, error } from '@hatiolab/things-scene'
43
-
44
- const colors = ['red', 'blue', 'orange', 'yellow', 'magenta', 'violet', 'navy', 'green', 'cyan', 'lime']
45
- const processes = colors.map((color, idx) => {
46
- var to = colors[(idx + 1) % colors.length]
47
- return {
48
- id: color,
49
- model: {
50
- width: 400,
51
- height: 300,
52
- fillStyle: color,
53
- components: [
54
- {
55
- type: 'text',
56
- left: 100,
57
- top: 100,
58
- width: 200,
59
- height: 30,
60
- text: `Click to move to ${to}`,
61
- event: {
62
- tap: {
63
- action: 'goto',
64
- target: to
65
- }
66
- }
67
- }
68
- ]
69
- }
70
- }
71
- })
72
-
73
- var provider = new ReferenceMap(
74
- async (processId, resolve, reject) => {
75
- try {
76
- const process = processes.find(process => {
77
- return process.id === processId
78
- })
79
- if (!process) {
80
- throw `no process named as ${processId}`
81
- }
82
-
83
- var scene
84
-
85
- try {
86
- scene = await provider.get(processId)
87
- console.warn('Process fetched more than twice.', processId)
88
- } catch (e) {
89
- scene = create({
90
- model: JSON.parse(JSON.stringify(process.model)),
91
- mode: 0,
92
- refProvider: provider
93
- })
94
- }
95
- resolve(scene, process)
96
- } catch (e) {
97
- error(e)
98
- reject(e)
99
- }
100
- },
101
- async (id, ref) => {
102
- ref.dispose()
103
- }
104
- )
105
-
106
- render(
107
- html` <ox-process-modeller .process=${processes[0]} .provider=${provider}> </ox-process-modeller> `,
108
- document.querySelector('#demo')
109
- )
110
- </script>
111
- </body>
112
- </html>
@@ -1,112 +0,0 @@
1
- <!doctype html>
2
- <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
6
- <style>
7
- body {
8
- margin: 0;
9
- padding: 0;
10
- overflow: hidden;
11
-
12
- /* This is a font-stack that tries to use the system-default sans-serifs first */
13
- font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
14
- line-height: 1.5;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- ox-process-viewer {
19
- width: 100vw;
20
- height: 100dvh;
21
- }
22
- </style>
23
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link
25
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
- rel="stylesheet"
27
- />
28
- <link
29
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
- rel="stylesheet"
31
- />
32
- <link
33
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
- rel="stylesheet"
35
- />
36
- </head>
37
- <body>
38
- <div id="demo"></div>
39
- <script type="module">
40
- import { html, render } from 'lit'
41
- import '../dist/src/ox-process-viewer.js'
42
- import { ReferenceMap, create, error } from '@hatiolab/things-scene'
43
-
44
- const colors = ['red', 'blue', 'orange', 'yellow', 'magenta', 'violet', 'navy', 'green', 'cyan', 'lime']
45
- const processes = colors.map((color, idx) => {
46
- var to = colors[(idx + 1) % colors.length]
47
- return {
48
- id: color,
49
- model: {
50
- width: 400,
51
- height: 300,
52
- fillStyle: color,
53
- components: [
54
- {
55
- type: 'text',
56
- left: 100,
57
- top: 100,
58
- width: 200,
59
- height: 30,
60
- text: `Click to move to ${to}`,
61
- event: {
62
- tap: {
63
- action: 'goto',
64
- target: to
65
- }
66
- }
67
- }
68
- ]
69
- }
70
- }
71
- })
72
-
73
- var provider = new ReferenceMap(
74
- async (processId, resolve, reject) => {
75
- try {
76
- const process = processes.find(process => {
77
- return process.id === processId
78
- })
79
- if (!process) {
80
- throw `no process named as ${processId}`
81
- }
82
-
83
- var scene
84
-
85
- try {
86
- scene = await provider.get(processId)
87
- console.warn('Process fetched more than twice.', processId)
88
- } catch (e) {
89
- scene = create({
90
- model: JSON.parse(JSON.stringify(process.model)),
91
- mode: 0,
92
- refProvider: provider
93
- })
94
- }
95
- resolve(scene, process)
96
- } catch (e) {
97
- error(e)
98
- reject(e)
99
- }
100
- },
101
- async (id, ref) => {
102
- ref.dispose()
103
- }
104
- )
105
-
106
- render(
107
- html` <ox-process-viewer .process=${processes[0]} .provider=${provider}></ox-process-viewer> `,
108
- document.querySelector('#demo')
109
- )
110
- </script>
111
- </body>
112
- </html>
package/demo/index.html DELETED
@@ -1,112 +0,0 @@
1
- <!doctype html>
2
- <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
6
- <style>
7
- body {
8
- margin: 0;
9
- padding: 0;
10
- overflow: hidden;
11
-
12
- /* This is a font-stack that tries to use the system-default sans-serifs first */
13
- font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
14
- line-height: 1.5;
15
- -webkit-font-smoothing: antialiased;
16
- }
17
-
18
- ox-process-viewer {
19
- width: 100vw;
20
- height: 100dvh;
21
- }
22
- </style>
23
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link
25
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
- rel="stylesheet"
27
- />
28
- <link
29
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
- rel="stylesheet"
31
- />
32
- <link
33
- href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
- rel="stylesheet"
35
- />
36
- </head>
37
- <body>
38
- <div id="demo"></div>
39
- <script type="module">
40
- import { html, render } from 'lit'
41
- import '../dist/src/ox-process-viewer.js'
42
- import { ReferenceMap, create, error } from '@hatiolab/things-scene'
43
-
44
- const colors = ['red', 'blue', 'orange', 'yellow', 'magenta', 'violet', 'navy', 'green', 'cyan', 'lime']
45
- const processes = colors.map((color, idx) => {
46
- var to = colors[(idx + 1) % colors.length]
47
- return {
48
- id: color,
49
- model: {
50
- width: 400,
51
- height: 300,
52
- fillStyle: color,
53
- components: [
54
- {
55
- type: 'text',
56
- left: 100,
57
- top: 100,
58
- width: 200,
59
- height: 30,
60
- text: `Click to move to ${to}`,
61
- event: {
62
- tap: {
63
- action: 'goto',
64
- target: to
65
- }
66
- }
67
- }
68
- ]
69
- }
70
- }
71
- })
72
-
73
- var provider = new ReferenceMap(
74
- async (processId, resolve, reject) => {
75
- try {
76
- const process = processes.find(process => {
77
- return process.id === processId
78
- })
79
- if (!process) {
80
- throw `no process named as ${processId}`
81
- }
82
-
83
- var scene
84
-
85
- try {
86
- scene = await provider.get(processId)
87
- console.warn('Process fetched more than twice.', processId)
88
- } catch (e) {
89
- scene = create({
90
- model: JSON.parse(JSON.stringify(process.model)),
91
- mode: 0,
92
- refProvider: provider
93
- })
94
- }
95
- resolve(scene, process)
96
- } catch (e) {
97
- error(e)
98
- reject(e)
99
- }
100
- },
101
- async (id, ref) => {
102
- ref.dispose()
103
- }
104
- )
105
-
106
- render(
107
- html` <ox-process-viewer .process=${processes[0]} .provider=${provider}></ox-process-viewer> `,
108
- document.querySelector('#demo')
109
- )
110
- </script>
111
- </body>
112
- </html>