workflow-editor 0.0.81-up-tmp6 → 0.0.81-up-tmp8

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/lib/style.css CHANGED
@@ -125,54 +125,7 @@ section[data-v-6658e14b] {
125
125
  }
126
126
  .canvas[data-v-6658e14b] .draggable {
127
127
  cursor: default;
128
- }
129
- #svg{
130
- /* border:1px solid red; */
131
- background: white;
132
- background-image:
133
- linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
134
- linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
135
- linear-gradient(#e5e5e5 1px, transparent 0),
136
- linear-gradient(90deg,#e5e5e5 1px, transparent 0);
137
- background-size:
138
- 15px 15px,
139
- 15px 15px,
140
- 75px 75px,
141
- 75px 75px;
142
- }
143
- g{
144
- font-size: 16px;
145
- }
146
- g text{
147
- dominant-baseline: middle;
148
- }
149
- .selected{
150
- fill: #fff;
151
- stroke: #f00;
152
- stroke-width: 2;
153
- }
154
- .task-tache{
155
- fill: #fff;
156
- stroke: #666;
157
- stroke-width: 2;
158
- }
159
- .passed-tache .task-tache{
160
- fill: green;
161
- stroke: green;
162
- stroke-width: 2;
163
- }
164
- .current-tache .task-tache{
165
- fill: red;
166
- stroke: red;
167
- stroke-width: 2;
168
- }
169
- .passed-tache text{
170
- fill:white;
171
- }
172
- .current-tache text{
173
- fill: white
174
- }
175
- h3[data-v-0d941719] {
128
+ }h3[data-v-0d941719] {
176
129
  color: #999999;
177
130
  margin: 0;
178
131
  padding: 0;
@@ -217,6 +170,14 @@ g text{
217
170
  stroke: #666;
218
171
  stroke-width: 2;
219
172
  }
173
+
174
+ .svg-icon {
175
+ width: 1em;
176
+ height: 1em;
177
+ vertical-align: -0.15em;
178
+ fill: currentColor;
179
+ overflow: hidden;
180
+ }
220
181
  li[data-v-7e8a1cf6] {
221
182
  color: #333;
222
183
  }
@@ -246,12 +207,51 @@ li[data-v-7e8a1cf6] {
246
207
  li[data-v-7e8a1cf6] {
247
208
  list-style-type: none;
248
209
  }
249
- .svg-icon {
250
- width: 1em;
251
- height: 1em;
252
- vertical-align: -0.15em;
253
- fill: currentColor;
254
- overflow: hidden;
210
+ #svg{
211
+ /* border:1px solid red; */
212
+ background: white;
213
+ background-image:
214
+ linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
215
+ linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
216
+ linear-gradient(#e5e5e5 1px, transparent 0),
217
+ linear-gradient(90deg,#e5e5e5 1px, transparent 0);
218
+ background-size:
219
+ 15px 15px,
220
+ 15px 15px,
221
+ 75px 75px,
222
+ 75px 75px;
223
+ }
224
+ g{
225
+ font-size: 16px;
226
+ }
227
+ g text{
228
+ dominant-baseline: middle;
229
+ }
230
+ .selected{
231
+ fill: #fff;
232
+ stroke: #f00;
233
+ stroke-width: 2;
234
+ }
235
+ .task-tache{
236
+ fill: #fff;
237
+ stroke: #666;
238
+ stroke-width: 2;
239
+ }
240
+ .passed-tache .task-tache{
241
+ fill: green;
242
+ stroke: green;
243
+ stroke-width: 2;
244
+ }
245
+ .current-tache .task-tache{
246
+ fill: red;
247
+ stroke: red;
248
+ stroke-width: 2;
249
+ }
250
+ .passed-tache text{
251
+ fill:white;
252
+ }
253
+ .current-tache text{
254
+ fill: white
255
255
  }
256
256
 
257
257
  .start{
@@ -259,7 +259,7 @@ li[data-v-7e8a1cf6] {
259
259
  fill:#fff;
260
260
  }
261
261
 
262
- .decision{
262
+ .end{
263
263
  stroke-width: 0;
264
264
  fill:#fff;
265
265
  }
@@ -269,38 +269,21 @@ li[data-v-7e8a1cf6] {
269
269
  fill:#fff;
270
270
  }
271
271
 
272
- .end{
272
+ .decision{
273
273
  stroke-width: 0;
274
274
  fill:#fff;
275
275
  }
276
276
 
277
- .human-decision{
277
+ .decision{
278
278
  stroke-width: 0;
279
279
  fill:#fff;
280
280
  }
281
281
 
282
- .decision{
282
+ .human-decision{
283
283
  stroke-width: 0;
284
284
  fill:#fff;
285
285
  }
286
- .tooltip[data-v-ac799913] {
287
- position: absolute;
288
- background: #fff;
289
- min-width: 150px;
290
- border-radius: 4px;
291
- border: 1px solid #ebeef5;
292
- padding: 12px;
293
- z-index: 2000;
294
- color: #606266;
295
- line-height: 1.4;
296
- text-align: justify;
297
- font-size: 14px;
298
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
299
- word-break: break-all;
300
- }#_subprocess-content[data-v-2b195c05] {
301
- width: 100%;
302
- height: calc(100vh - 200px);
303
- }
286
+
304
287
  .transition[data-v-a1576cad] {
305
288
  stroke-width: 2;
306
289
  stroke: #666;
@@ -350,21 +333,52 @@ li[data-v-7e8a1cf6] {
350
333
  .properties-editor[data-v-0e44fe8c] .el-dialog__body{
351
334
  padding-top: 0
352
335
  }
353
-
336
+ .tooltip[data-v-ac799913] {
337
+ position: absolute;
338
+ background: #fff;
339
+ min-width: 150px;
340
+ border-radius: 4px;
341
+ border: 1px solid #ebeef5;
342
+ padding: 12px;
343
+ z-index: 2000;
344
+ color: #606266;
345
+ line-height: 1.4;
346
+ text-align: justify;
347
+ font-size: 14px;
348
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
349
+ word-break: break-all;
350
+ }
354
351
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
355
- .properties-editor[data-v-af76d417] .el-dialog__body{
352
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
356
353
  padding-top: 0
357
354
  }
358
355
 
359
356
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-bd66d235] .el-dialog__body{
357
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
358
  padding-top: 0
362
359
  }
363
360
 
364
361
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
362
+ .properties-editor[data-v-af76d417] .el-dialog__body{
366
363
  padding-top: 0
367
364
  }
365
+ #_subprocess-content[data-v-2b195c05] {
366
+ width: 100%;
367
+ height: calc(100vh - 200px);
368
+ }
369
+ .control-point[data-v-0ff53a0a]{
370
+ fill: #fff;
371
+ cursor: move;
372
+ }
373
+ .control-line[data-v-0ff53a0a] {
374
+ stroke-dasharray: 2 2
375
+ }
376
+
377
+ .percent[data-v-a219b06d] {
378
+ margin-left: 10px;
379
+ color: red;
380
+ font-size: 1.2em;
381
+ }
368
382
 
369
383
  .joint-container{
370
384
  stroke-width: 0;
@@ -381,22 +395,6 @@ li[data-v-7e8a1cf6] {
381
395
  fill-opacity: 1;
382
396
  }
383
397
 
384
- .resizer{
385
- stroke: blue;
386
- stroke-width: 1;
387
- fill: white;
388
- }
389
-
390
- .el-checkbox[data-v-c019538f]{
391
- margin-left: 20px;
392
- }
393
-
394
- .percent[data-v-a219b06d] {
395
- margin-left: 10px;
396
- color: red;
397
- font-size: 1.2em;
398
- }
399
-
400
398
  .control-point[data-v-788fb0ae]{
401
399
  fill: #fff;
402
400
  cursor: move;
@@ -404,6 +402,16 @@ li[data-v-7e8a1cf6] {
404
402
  .control-line[data-v-788fb0ae] {
405
403
  stroke-dasharray: 2 2
406
404
  }
405
+
406
+ .el-checkbox[data-v-c019538f]{
407
+ margin-left: 20px;
408
+ }
409
+
410
+ .resizer{
411
+ stroke: blue;
412
+ stroke-width: 1;
413
+ fill: white;
414
+ }
407
415
  ul[data-v-39fac73c] {
408
416
  margin: 0;
409
417
  padding: 0;
@@ -414,44 +422,12 @@ ul li[data-v-39fac73c] {
414
422
  .sub-li[data-v-39fac73c] {
415
423
  padding-left: 10px;
416
424
  }
417
- .control-point[data-v-0ff53a0a]{
418
- fill: #fff;
419
- cursor: move;
420
- }
421
- .control-line[data-v-0ff53a0a] {
422
- stroke-dasharray: 2 2
423
- }
424
-
425
- .el-checkbox[data-v-5fb29fef]{
426
- margin-left: 20px;
427
- }
428
-
429
425
  .percent[data-v-c1c7385b]{
430
426
  margin-left: 10px;
431
427
  color:red;
432
428
  font-size:1.2em;
433
429
  }
434
430
 
435
- .percent[data-v-6aef99ff]{
436
- margin-left: 10px;
437
- color:red;
438
- font-size:1.2em;
439
- }
440
- .group[data-v-98300543] {
441
- font-size: 14px;
442
- width: 100%;
443
- }
444
- .item[data-v-98300543] {
445
- float: left;
446
- list-style-type: none;
447
- width: 33.33%;
448
- margin-bottom: 18px;
449
- }
450
- .item-content[data-v-98300543] {
451
- height: calc(100vh - 300px);
452
- padding-left: 20px;
453
- overflow: auto;
454
- }
455
431
  .el-tag + .el-tag[data-v-aaf48aff] {
456
432
  margin-left: 10px;
457
433
  }
@@ -474,10 +450,47 @@ select[data-v-aaf48aff]{
474
450
  line-height: 32px;
475
451
  }
476
452
 
453
+ .percent[data-v-6aef99ff]{
454
+ margin-left: 10px;
455
+ color:red;
456
+ font-size:1.2em;
457
+ }
458
+
459
+ .el-checkbox[data-v-5fb29fef]{
460
+ margin-left: 20px;
461
+ }
462
+ .group[data-v-98300543] {
463
+ font-size: 14px;
464
+ width: 100%;
465
+ }
466
+ .item[data-v-98300543] {
467
+ float: left;
468
+ list-style-type: none;
469
+ width: 33.33%;
470
+ margin-bottom: 18px;
471
+ }
472
+ .item-content[data-v-98300543] {
473
+ height: calc(100vh - 300px);
474
+ padding-left: 20px;
475
+ overflow: auto;
476
+ }
477
477
  span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
-
480
+ #appContainer[data-v-9458f3bf] .el-checkbox {
481
+ display: block;
482
+ }
483
+ #appContainer[data-v-9458f3bf] .el-transfer-panel {
484
+ width: 400px;
485
+ }
486
+ #appContainer[data-v-9458f3bf] .ellipsis {
487
+ display: inline-block;
488
+ overflow: hidden;
489
+ text-overflow: ellipsis;
490
+ white-space: nowrap;
491
+ word-break: keep-all;
492
+ width: 55%;
493
+ }
481
494
  .searchResult {
482
495
  color:red
483
496
  }
@@ -503,20 +516,7 @@ span[data-v-4e29ea06] {
503
516
  padding-left: 20px;
504
517
  overflow: auto;
505
518
  }
506
- #appContainer[data-v-9458f3bf] .el-checkbox {
507
- display: block;
508
- }
509
- #appContainer[data-v-9458f3bf] .el-transfer-panel {
510
- width: 400px;
511
- }
512
- #appContainer[data-v-9458f3bf] .ellipsis {
513
- display: inline-block;
514
- overflow: hidden;
515
- text-overflow: ellipsis;
516
- white-space: nowrap;
517
- word-break: keep-all;
518
- width: 55%;
519
- }
519
+
520
520
  .searchResult {
521
521
  color:red
522
522
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "workflow-editor",
3
3
  "private": false,
4
- "version": "0.0.81-up-tmp6",
4
+ "version": "0.0.81-up-tmp8",
5
5
  "type": "module",
6
6
  "main": "./lib/index.cjs",
7
7
  "module": "./es/index.mjs",
package/vite.config.js CHANGED
@@ -42,7 +42,7 @@ export default defineConfig(({ mode }) => ({
42
42
  output:[
43
43
  {
44
44
  format: 'umd',
45
- name: 'AgilebuilderUi',
45
+ name: 'wfEditor',
46
46
  //不用打包成.es.js,这里我们想把它打包成.js
47
47
  entryFileNames: 'index.full.min.js',
48
48
  //让打包目录和源码目录对应,如果为false就会只生成一个js文件包含所有内容
@@ -1,9 +0,0 @@
1
- import o from "./src/workflow-editor.vue.mjs";
2
- import r from "./src/workflow-history.vue.mjs";
3
- o.install = function(t2) {
4
- t2.component(o.name, o), t2.component(r.name, r);
5
- };
6
- const t = { WorkflowEditor: o, WorkflowHistory: r };
7
- export {
8
- t as default
9
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- const o = require("./src/workflow-editor.vue.cjs"), r = require("./src/workflow-history.vue.cjs");
3
- o.install = function(e2) {
4
- e2.component(o.name, o), e2.component(r.name, r);
5
- };
6
- const e = { WorkflowEditor: o, WorkflowHistory: r };
7
- module.exports = e;