@operato/process 7.1.31 → 7.1.32
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 +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -14
- package/.storybook/main.js +0 -3
- package/.storybook/preview.js +0 -52
- package/.storybook/server.mjs +0 -8
- package/demo/index-modeller.html +0 -112
- package/demo/index-viewer.html +0 -112
- package/demo/index.html +0 -112
- package/src/data-storage/data-storage.ts +0 -47
- package/src/graphql/data-subscription.ts +0 -30
- package/src/graphql/favorite-process.ts +0 -25
- package/src/graphql/index.ts +0 -3
- package/src/graphql/process-group.ts +0 -138
- package/src/graphql/process.ts +0 -141
- package/src/graphql/scenario.ts +0 -79
- package/src/index.ts +0 -8
- package/src/modeller/component-toolbar/component-detail.ts +0 -58
- package/src/modeller/component-toolbar/component-menu.ts +0 -193
- package/src/modeller/component-toolbar/component-toolbar.ts +0 -196
- package/src/modeller/component-toolbar/mode-icons.ts +0 -88
- package/src/modeller/edit-toolbar-style.ts +0 -229
- package/src/modeller/edit-toolbar.ts +0 -576
- package/src/modeller/property-sidebar/abstract-property.ts +0 -69
- package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +0 -475
- package/src/modeller/property-sidebar/data-binding/data-binding.ts +0 -479
- package/src/modeller/property-sidebar/effects/effects-shared-style.ts +0 -62
- package/src/modeller/property-sidebar/effects/effects.ts +0 -52
- package/src/modeller/property-sidebar/effects/property-event-hover.ts +0 -201
- package/src/modeller/property-sidebar/effects/property-event-tap.ts +0 -212
- package/src/modeller/property-sidebar/effects/property-event.ts +0 -76
- package/src/modeller/property-sidebar/effects/property-shadow.ts +0 -114
- package/src/modeller/property-sidebar/effects/value-converter.ts +0 -23
- package/src/modeller/property-sidebar/inspector/inspector.ts +0 -408
- package/src/modeller/property-sidebar/property-shared-style.ts +0 -136
- package/src/modeller/property-sidebar/property-sidebar.ts +0 -342
- package/src/modeller/property-sidebar/shapes/box-padding-editor-styles.ts +0 -94
- package/src/modeller/property-sidebar/shapes/shapes.ts +0 -410
- package/src/modeller/property-sidebar/specifics/specific-properties-builder.ts +0 -147
- package/src/modeller/property-sidebar/specifics/specifics.ts +0 -81
- package/src/modeller/property-sidebar/styles/styles.ts +0 -577
- package/src/ox-editor-process-selector.ts +0 -91
- package/src/ox-process-list.ts +0 -401
- package/src/ox-process-modeller.ts +0 -432
- package/src/ox-process-template-list.ts +0 -272
- package/src/ox-process-template-viewer.ts +0 -198
- package/src/ox-process-viewer.ts +0 -575
- package/src/ox-property-editor-process-selector.ts +0 -23
- package/src/selector/ox-process-creation-card.ts +0 -95
- package/src/selector/ox-process-selector.ts +0 -324
- package/src/selector/process-creation-popup.ts +0 -151
- package/src/selector/process-thumbnail-card.ts +0 -175
- package/src/types.ts +0 -57
- package/stories/index.stories.ts +0 -54
- package/tsconfig.json +0 -24
- package/web-dev-server.config.mjs +0 -30
- package/web-test-runner.config.mjs +0 -29
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export const ICON_EDIT_MODE = `
|
|
2
|
-
<svg
|
|
3
|
-
version="1.1"
|
|
4
|
-
id="Layer_1"
|
|
5
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
7
|
-
x="0px"
|
|
8
|
-
y="0px"
|
|
9
|
-
viewBox="0 0 30 30"
|
|
10
|
-
style="enable-background:new 0 0 30 30;"
|
|
11
|
-
xml:space="preserve"
|
|
12
|
-
>
|
|
13
|
-
<style type="text/css">
|
|
14
|
-
.st0 {
|
|
15
|
-
fill: {{strokeColor}};
|
|
16
|
-
}
|
|
17
|
-
.st1 {
|
|
18
|
-
fill: none;
|
|
19
|
-
stroke: {{strokeColor}};
|
|
20
|
-
stroke-width: 0.75;
|
|
21
|
-
stroke-linejoin: round;
|
|
22
|
-
stroke-miterlimit: 10;
|
|
23
|
-
}
|
|
24
|
-
</style>
|
|
25
|
-
<g>
|
|
26
|
-
<polygon class="st0" points="2.7,3.9 2.7,22.8 7.8,17.2 16.1,16.9 " />
|
|
27
|
-
<path
|
|
28
|
-
class="st1"
|
|
29
|
-
d="M27.7,20.1L26.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1
|
|
30
|
-
c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L20.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5
|
|
31
|
-
l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0
|
|
32
|
-
c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L21,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1
|
|
33
|
-
s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1
|
|
34
|
-
c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C27.7,20.2,27.7,20.1,27.7,20.1z"
|
|
35
|
-
/>
|
|
36
|
-
</g>
|
|
37
|
-
</svg>
|
|
38
|
-
`
|
|
39
|
-
|
|
40
|
-
export const ICON_SHIFT_MODE = `
|
|
41
|
-
<svg
|
|
42
|
-
version="1.1"
|
|
43
|
-
id="Layer_1"
|
|
44
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
45
|
-
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
46
|
-
x="0px"
|
|
47
|
-
y="0px"
|
|
48
|
-
viewBox="0 0 30 30"
|
|
49
|
-
style="enable-background:new 0 0 30 30;"
|
|
50
|
-
xml:space="preserve"
|
|
51
|
-
>
|
|
52
|
-
<style type="text/css">
|
|
53
|
-
.st0 {
|
|
54
|
-
fill: {{strokeColor}};
|
|
55
|
-
stroke: {{strokeColor}};
|
|
56
|
-
fill-rule: evenodd;
|
|
57
|
-
clip-rule: evenodd;
|
|
58
|
-
}
|
|
59
|
-
.st1 {
|
|
60
|
-
fill: {{strokeColor}};
|
|
61
|
-
stroke: {{strokeColor}};
|
|
62
|
-
stroke-width: 0.75;
|
|
63
|
-
stroke-linejoin: round;
|
|
64
|
-
stroke-miterlimit: 10;
|
|
65
|
-
}
|
|
66
|
-
</style>
|
|
67
|
-
<g>
|
|
68
|
-
<path
|
|
69
|
-
class="st0"
|
|
70
|
-
d="M7.8,23.2c1.6,0,3.8,0,5.7,0c0.8,0,1.3-0.3,1.6-1.2c0.4-2.9,1.5-4.9,2.4-6.9s1.4-2.5,1.6-3.4
|
|
71
|
-
c0.1-0.5,0.2-1.6-0.4-1.9c-0.6-0.3-1.2,0.1-1.9,1.3c-0.8,1.6-1,2-1.4,2c-0.3,0-0.1-4,0-5.4c0.1-1.3-0.6-1.8-1.3-1.8
|
|
72
|
-
c-0.8-0.1-1.5,0.4-1.5,1.5c0,1.5-0.2,5.2-0.7,5.2c-0.4,0-0.3-4.3-0.6-6.7c-0.1-1-0.6-1.8-1.5-1.8C9.1,4.2,8.4,4.7,8.3,5.8
|
|
73
|
-
c-0.1,1.3,1,6.7,0.5,6.7c-0.4,0-1.4-3.3-2.3-5.1C6,6.5,5.6,6,4.6,6.4C3.9,6.7,3.5,7.6,3.8,8.5c0.5,1.2,2.7,6.8,2.2,6.8
|
|
74
|
-
c-0.4,0-1.4-1.4-2.7-2.1c-1.1-0.6-1.8-0.4-2.1-0.1c-0.4,0.3-0.7,1,0.9,2.8c0.6,0.6,3.1,2.3,3.7,3.2c0.7,1.3,0.6,1,0.8,2.8
|
|
75
|
-
C6.7,22.7,7,23.2,7.8,23.2z"
|
|
76
|
-
/>
|
|
77
|
-
<path
|
|
78
|
-
class="st1"
|
|
79
|
-
d="M28.7,20.1L27.1,19c-0.1,0-0.2,0-0.2,0c0,0.1,0,0.2,0,0.2l1.2,0.9h-4.9v-5l0.9,1.2c0,0,0.1,0.1,0.1,0.1
|
|
80
|
-
c0,0,0.1,0,0.1,0c0.1,0,0.1-0.1,0-0.2l-1.1-1.6c-0.1-0.1-0.2-0.1-0.2,0L21.8,16c0,0.1,0,0.2,0,0.2s0.2,0,0.2,0l0.9-1.2v5h-5
|
|
81
|
-
l1.2-0.9c0.1,0,0.1-0.1,0-0.2c0-0.1-0.1-0.1-0.2,0l-1.6,1.1c0,0-0.1,0.1-0.1,0.1c0,0,0,0.1,0.1,0.1l1.6,1.1c0,0,0.1,0,0.1,0
|
|
82
|
-
c0,0,0.1,0,0.1-0.1c0-0.1,0-0.2,0-0.2l-1.2-0.9h5v5L22,24.2c0-0.1-0.1-0.1-0.2,0c-0.1,0-0.1,0.1,0,0.2l1.1,1.6c0,0,0.1,0.1,0.1,0.1
|
|
83
|
-
s0.1,0,0.1-0.1l1.1-1.6c0-0.1,0-0.2,0-0.2c-0.1,0-0.2,0-0.2,0l-0.9,1.2v-5h4.9l-1.2,0.9c-0.1,0-0.1,0.1,0,0.2c0,0,0.1,0.1,0.1,0.1
|
|
84
|
-
c0,0,0.1,0,0.1,0l1.6-1.1c0,0,0.1-0.1,0.1-0.1C28.7,20.2,28.7,20.1,28.7,20.1z"
|
|
85
|
-
/>
|
|
86
|
-
</g>
|
|
87
|
-
</svg>
|
|
88
|
-
`
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright © HatioLab Inc. All rights reserved.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { css } from 'lit'
|
|
6
|
-
|
|
7
|
-
export const style = css`
|
|
8
|
-
:host {
|
|
9
|
-
background-color: var(--edit-toolbar-background-color, var(--md-sys-color-secondary-container, #394e64));
|
|
10
|
-
color: var(--edit-toolbar-color, var(--md-sys-color-on-secondary-container, #394e64));
|
|
11
|
-
|
|
12
|
-
overflow-x: hidden;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
[tools] {
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
overflow: none;
|
|
19
|
-
padding: 0px 10px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
[tools] > * {
|
|
23
|
-
padding: 0px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
[tools] > span[button] {
|
|
27
|
-
min-width: 30px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
[tools] > span[padding] {
|
|
31
|
-
flex: 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
[tools] > .vline {
|
|
35
|
-
display: block;
|
|
36
|
-
flex: none;
|
|
37
|
-
border-left: 1px solid rgba(255, 255, 255, 0.2);
|
|
38
|
-
border-right: 1px solid rgba(0, 0, 0, 0.15);
|
|
39
|
-
width: 0px;
|
|
40
|
-
height: 18px;
|
|
41
|
-
margin: 0 3px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
span[button] {
|
|
45
|
-
min-height: 35px;
|
|
46
|
-
|
|
47
|
-
background: var(--url-icon-htoolbar) no-repeat;
|
|
48
|
-
background-position-x: 50%;
|
|
49
|
-
opacity: 0.8;
|
|
50
|
-
}
|
|
51
|
-
span[button]:hover {
|
|
52
|
-
opacity: 1;
|
|
53
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
#fullscreen,
|
|
58
|
-
#toggle-property {
|
|
59
|
-
flex: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
#align-left {
|
|
63
|
-
background-position-y: 8px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
#align-center {
|
|
67
|
-
background-position-y: -42px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
#align-right {
|
|
71
|
-
background-position-y: -92px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
#align-top {
|
|
75
|
-
background-position-y: -142px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
#align-middle {
|
|
79
|
-
background-position-y: -192px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
#align-bottom {
|
|
83
|
-
background-position-y: -242px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
#undo {
|
|
87
|
-
background-position-y: -592px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
#redo {
|
|
91
|
-
background-position-y: -642px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
#front {
|
|
95
|
-
background-position-y: -292px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
#back {
|
|
99
|
-
background-position-y: -342px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
#forward {
|
|
103
|
-
background-position-y: -392px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
#backward {
|
|
107
|
-
background-position-y: -442px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
#symmetry-x {
|
|
111
|
-
background-position-y: -492px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
#symmetry-y {
|
|
115
|
-
background-position-y: -542px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
#group {
|
|
119
|
-
background-position-y: -492px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
#ungroup {
|
|
123
|
-
background-position-y: -542px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
#fullscreen {
|
|
127
|
-
background-position-y: -692px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
#toggle-property {
|
|
131
|
-
background-position-y: -692px;
|
|
132
|
-
float: right;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
#zoomin {
|
|
136
|
-
background-position-y: -742px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
#zoomout {
|
|
140
|
-
background-position-y: -792px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
#fit-scene {
|
|
144
|
-
background-position-y: -1492px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
#cut {
|
|
148
|
-
background-position-y: -842px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
#copy {
|
|
152
|
-
background-position-y: -892px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
#paste {
|
|
156
|
-
background-position-y: -942px;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
#delete {
|
|
160
|
-
background-position-y: -992px;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
#font-increase {
|
|
164
|
-
background-position-y: -1042px;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
#font-decrease {
|
|
168
|
-
background-position-y: -1092px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
#style-copy {
|
|
172
|
-
background-position-y: -1142px;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
#context-menu {
|
|
176
|
-
background-position-y: -692px;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
#symmetry-x {
|
|
180
|
-
background-position-y: -1192px;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
#symmetry-y {
|
|
184
|
-
background-position-y: -1242px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
#rotate-cw {
|
|
188
|
-
background-position-y: -1292px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
#rotate-ccw {
|
|
192
|
-
background-position-y: -1342px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
#distribute-horizontal {
|
|
196
|
-
background-position-y: -1542px;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
#distribute-vertical {
|
|
200
|
-
background-position-y: -1593px;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
#toggle-property {
|
|
204
|
-
background-position-y: -1392px;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
#preview {
|
|
208
|
-
background-position-y: -1640px;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/* bigger buttons */
|
|
212
|
-
#fullscreen {
|
|
213
|
-
background: var(--url-icon-fullscreen) 50% 10px no-repeat;
|
|
214
|
-
width: var(--edit-toolbar-bigger-icon-size);
|
|
215
|
-
height: var(--edit-toolbar-bigger-icon-size);
|
|
216
|
-
border-left: var(--edit-toolbar-bigger-icon-line);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
#toggle-property {
|
|
220
|
-
background: var(--url-icon-collapse) 80% 10px no-repeat;
|
|
221
|
-
width: var(--edit-toolbar-bigger-icon-size);
|
|
222
|
-
height: var(--edit-toolbar-bigger-icon-size);
|
|
223
|
-
border-left: var(--edit-toolbar-bigger-icon-line);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
#toggle-property[active] {
|
|
227
|
-
background: var(--url-icon-collapse-active) 80% 10px no-repeat;
|
|
228
|
-
}
|
|
229
|
-
`
|