workflow-editor 0.0.81-up-tmp6 → 0.0.81-up-tmp7

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.
@@ -1,5 +1,5 @@
1
1
  !function(e, t) {
2
- "object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("xml-js"), require("file-saver"), require("prismjs")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "xml-js", "file-saver", "prismjs"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).AgilebuilderUi = {}, e.vuex, e.agilebuilderUi, e.vueI18n, e.vue, e.convert, e.FileSaver, e.Prism);
2
+ "object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("xml-js"), require("file-saver"), require("prismjs")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "xml-js", "file-saver", "prismjs"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).wfEditor = {}, e.vuex, e.agilebuilderUi, e.vueI18n, e.vue, e.convert, e.FileSaver, e.Prism);
3
3
  }(this, function(e, t, o, l, r, n, i, a) {
4
4
  "use strict";
5
5
  !function(e2) {
package/es/style.css CHANGED
@@ -172,6 +172,14 @@ g text{
172
172
  .current-tache text{
173
173
  fill: white
174
174
  }
175
+
176
+ .svg-icon {
177
+ width: 1em;
178
+ height: 1em;
179
+ vertical-align: -0.15em;
180
+ fill: currentColor;
181
+ overflow: hidden;
182
+ }
175
183
  h3[data-v-0d941719] {
176
184
  color: #999999;
177
185
  margin: 0;
@@ -186,6 +194,34 @@ h3[data-v-0d941719] {
186
194
  }
187
195
  .el-button i[data-v-0d941719] {
188
196
  padding-right: 4px;
197
+ }li[data-v-7e8a1cf6] {
198
+ color: #333;
199
+ }
200
+ .context-menu[data-v-7e8a1cf6] {
201
+ position: fixed;
202
+ background: #fff;
203
+ z-index: 999;
204
+ padding: 5px;
205
+ margin: 0;
206
+ }
207
+ .context-menu li[data-v-7e8a1cf6] {
208
+ min-width: 75px;
209
+ height: 28px;
210
+ line-height: 28px;
211
+ text-align: left;
212
+ color: #1a1a1a;
213
+ }
214
+ .context-menu li[data-v-7e8a1cf6]:hover {
215
+ background: #42b983;
216
+ color: #fff;
217
+ }
218
+ .context-menu[data-v-7e8a1cf6] {
219
+ border: 1px solid #eee;
220
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
221
+ border-radius: 5px;
222
+ }
223
+ li[data-v-7e8a1cf6] {
224
+ list-style-type: none;
189
225
  }
190
226
  #svg{
191
227
  /* border:1px solid red; */
@@ -218,52 +254,11 @@ g text{
218
254
  stroke-width: 2;
219
255
  }
220
256
 
221
- .svg-icon {
222
- width: 1em;
223
- height: 1em;
224
- vertical-align: -0.15em;
225
- fill: currentColor;
226
- overflow: hidden;
227
- }
228
- li[data-v-7e8a1cf6] {
229
- color: #333;
230
- }
231
- .context-menu[data-v-7e8a1cf6] {
232
- position: fixed;
233
- background: #fff;
234
- z-index: 999;
235
- padding: 5px;
236
- margin: 0;
237
- }
238
- .context-menu li[data-v-7e8a1cf6] {
239
- min-width: 75px;
240
- height: 28px;
241
- line-height: 28px;
242
- text-align: left;
243
- color: #1a1a1a;
244
- }
245
- .context-menu li[data-v-7e8a1cf6]:hover {
246
- background: #42b983;
247
- color: #fff;
248
- }
249
- .context-menu[data-v-7e8a1cf6] {
250
- border: 1px solid #eee;
251
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
252
- border-radius: 5px;
253
- }
254
- li[data-v-7e8a1cf6] {
255
- list-style-type: none;
256
- }
257
257
  .start{
258
258
  stroke-width: 0;
259
259
  fill:#fff;
260
260
  }
261
261
 
262
- .end{
263
- stroke-width: 0;
264
- fill:#fff;
265
- }
266
-
267
262
  .decision{
268
263
  stroke-width: 0;
269
264
  fill:#fff;
@@ -278,28 +273,6 @@ li[data-v-7e8a1cf6] {
278
273
  stroke-width: 0;
279
274
  fill:#fff;
280
275
  }
281
- .tooltip[data-v-ac799913] {
282
- position: absolute;
283
- background: #fff;
284
- min-width: 150px;
285
- border-radius: 4px;
286
- border: 1px solid #ebeef5;
287
- padding: 12px;
288
- z-index: 2000;
289
- color: #606266;
290
- line-height: 1.4;
291
- text-align: justify;
292
- font-size: 14px;
293
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
294
- word-break: break-all;
295
- }#_subprocess-content[data-v-2b195c05] {
296
- width: 100%;
297
- height: calc(100vh - 200px);
298
- }
299
- .human-decision{
300
- stroke-width: 0;
301
- fill:#fff;
302
- }
303
276
 
304
277
  .transition[data-v-a1576cad] {
305
278
  stroke-width: 2;
@@ -319,10 +292,32 @@ li[data-v-7e8a1cf6] {
319
292
  .no-events[data-v-a1576cad] {
320
293
  pointer-events: none;
321
294
  }
322
-
323
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
324
- .properties-editor[data-v-1651d82a] .el-dialog__body {
325
- padding-top: 0;
295
+
296
+ .human-decision{
297
+ stroke-width: 0;
298
+ fill:#fff;
299
+ }
300
+ #_subprocess-content[data-v-2b195c05] {
301
+ width: 100%;
302
+ height: calc(100vh - 200px);
303
+ }.tooltip[data-v-ac799913] {
304
+ position: absolute;
305
+ background: #fff;
306
+ min-width: 150px;
307
+ border-radius: 4px;
308
+ border: 1px solid #ebeef5;
309
+ padding: 12px;
310
+ z-index: 2000;
311
+ color: #606266;
312
+ line-height: 1.4;
313
+ text-align: justify;
314
+ font-size: 14px;
315
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
316
+ word-break: break-all;
317
+ }
318
+ .end{
319
+ stroke-width: 0;
320
+ fill:#fff;
326
321
  }
327
322
 
328
323
  .virtual-transition{
@@ -346,6 +341,11 @@ li[data-v-7e8a1cf6] {
346
341
  pointer-events:none;
347
342
  }
348
343
 
344
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
345
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
346
+ padding-top: 0;
347
+ }
348
+
349
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
350
350
  .properties-editor[data-v-0e44fe8c] .el-dialog__body{
351
351
  padding-top: 0
@@ -357,12 +357,12 @@ li[data-v-7e8a1cf6] {
357
357
  }
358
358
 
359
359
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-bd66d235] .el-dialog__body{
360
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
361
  padding-top: 0
362
362
  }
363
363
 
364
364
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
365
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
366
366
  padding-top: 0
367
367
  }
368
368
 
@@ -387,8 +387,20 @@ li[data-v-7e8a1cf6] {
387
387
  fill: white;
388
388
  }
389
389
 
390
- .el-checkbox[data-v-c019538f]{
391
- margin-left: 20px;
390
+ .control-point[data-v-788fb0ae]{
391
+ fill: #fff;
392
+ cursor: move;
393
+ }
394
+ .control-line[data-v-788fb0ae] {
395
+ stroke-dasharray: 2 2
396
+ }
397
+
398
+ .control-point[data-v-0ff53a0a]{
399
+ fill: #fff;
400
+ cursor: move;
401
+ }
402
+ .control-line[data-v-0ff53a0a] {
403
+ stroke-dasharray: 2 2
392
404
  }
393
405
 
394
406
  .percent[data-v-a219b06d] {
@@ -397,12 +409,8 @@ li[data-v-7e8a1cf6] {
397
409
  font-size: 1.2em;
398
410
  }
399
411
 
400
- .control-point[data-v-788fb0ae]{
401
- fill: #fff;
402
- cursor: move;
403
- }
404
- .control-line[data-v-788fb0ae] {
405
- stroke-dasharray: 2 2
412
+ .el-checkbox[data-v-c019538f]{
413
+ margin-left: 20px;
406
414
  }
407
415
  ul[data-v-39fac73c] {
408
416
  margin: 0;
@@ -414,29 +422,21 @@ 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
- .percent[data-v-c1c7385b]{
425
+ .percent[data-v-6aef99ff]{
430
426
  margin-left: 10px;
431
427
  color:red;
432
428
  font-size:1.2em;
433
429
  }
434
430
 
435
- .percent[data-v-6aef99ff]{
431
+ .percent[data-v-c1c7385b]{
436
432
  margin-left: 10px;
437
433
  color:red;
438
434
  font-size:1.2em;
439
435
  }
436
+
437
+ .el-checkbox[data-v-5fb29fef]{
438
+ margin-left: 20px;
439
+ }
440
440
  .group[data-v-98300543] {
441
441
  font-size: 14px;
442
442
  width: 100%;
@@ -478,13 +478,6 @@ span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
480
 
481
- .searchResult {
482
- color:red
483
- }
484
- .inline-input-custom {
485
- width : 90%
486
- }
487
-
488
481
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
489
482
  height: 500px;
490
483
  }
@@ -503,6 +496,13 @@ span[data-v-4e29ea06] {
503
496
  padding-left: 20px;
504
497
  overflow: auto;
505
498
  }
499
+
500
+ .searchResult {
501
+ color:red
502
+ }
503
+ .inline-input-custom {
504
+ width : 90%
505
+ }
506
506
  #appContainer[data-v-9458f3bf] .el-checkbox {
507
507
  display: block;
508
508
  }
package/lib/style.css CHANGED
@@ -172,6 +172,14 @@ g text{
172
172
  .current-tache text{
173
173
  fill: white
174
174
  }
175
+
176
+ .svg-icon {
177
+ width: 1em;
178
+ height: 1em;
179
+ vertical-align: -0.15em;
180
+ fill: currentColor;
181
+ overflow: hidden;
182
+ }
175
183
  h3[data-v-0d941719] {
176
184
  color: #999999;
177
185
  margin: 0;
@@ -186,6 +194,34 @@ h3[data-v-0d941719] {
186
194
  }
187
195
  .el-button i[data-v-0d941719] {
188
196
  padding-right: 4px;
197
+ }li[data-v-7e8a1cf6] {
198
+ color: #333;
199
+ }
200
+ .context-menu[data-v-7e8a1cf6] {
201
+ position: fixed;
202
+ background: #fff;
203
+ z-index: 999;
204
+ padding: 5px;
205
+ margin: 0;
206
+ }
207
+ .context-menu li[data-v-7e8a1cf6] {
208
+ min-width: 75px;
209
+ height: 28px;
210
+ line-height: 28px;
211
+ text-align: left;
212
+ color: #1a1a1a;
213
+ }
214
+ .context-menu li[data-v-7e8a1cf6]:hover {
215
+ background: #42b983;
216
+ color: #fff;
217
+ }
218
+ .context-menu[data-v-7e8a1cf6] {
219
+ border: 1px solid #eee;
220
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
221
+ border-radius: 5px;
222
+ }
223
+ li[data-v-7e8a1cf6] {
224
+ list-style-type: none;
189
225
  }
190
226
  #svg{
191
227
  /* border:1px solid red; */
@@ -217,42 +253,6 @@ g text{
217
253
  stroke: #666;
218
254
  stroke-width: 2;
219
255
  }
220
- li[data-v-7e8a1cf6] {
221
- color: #333;
222
- }
223
- .context-menu[data-v-7e8a1cf6] {
224
- position: fixed;
225
- background: #fff;
226
- z-index: 999;
227
- padding: 5px;
228
- margin: 0;
229
- }
230
- .context-menu li[data-v-7e8a1cf6] {
231
- min-width: 75px;
232
- height: 28px;
233
- line-height: 28px;
234
- text-align: left;
235
- color: #1a1a1a;
236
- }
237
- .context-menu li[data-v-7e8a1cf6]:hover {
238
- background: #42b983;
239
- color: #fff;
240
- }
241
- .context-menu[data-v-7e8a1cf6] {
242
- border: 1px solid #eee;
243
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
244
- border-radius: 5px;
245
- }
246
- li[data-v-7e8a1cf6] {
247
- list-style-type: none;
248
- }
249
- .svg-icon {
250
- width: 1em;
251
- height: 1em;
252
- vertical-align: -0.15em;
253
- fill: currentColor;
254
- overflow: hidden;
255
- }
256
256
 
257
257
  .start{
258
258
  stroke-width: 0;
@@ -269,17 +269,36 @@ 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
+ .transition[data-v-a1576cad] {
278
+ stroke-width: 2;
279
+ stroke: #666;
280
+ fill: none;
281
+ cursor: pointer;
282
+ }
283
+ .selected[data-v-a1576cad] {
284
+ stroke: red;
285
+ }
286
+ .transition-dragger[data-v-a1576cad] {
287
+ stroke: red;
288
+ stroke-width: 1;
289
+ fill: white;
290
+ cursor: move;
291
+ }
292
+ .no-events[data-v-a1576cad] {
293
+ pointer-events: none;
294
+ }
295
+
277
296
  .human-decision{
278
297
  stroke-width: 0;
279
298
  fill:#fff;
280
299
  }
281
300
 
282
- .decision{
301
+ .end{
283
302
  stroke-width: 0;
284
303
  fill:#fff;
285
304
  }
@@ -301,25 +320,6 @@ li[data-v-7e8a1cf6] {
301
320
  width: 100%;
302
321
  height: calc(100vh - 200px);
303
322
  }
304
- .transition[data-v-a1576cad] {
305
- stroke-width: 2;
306
- stroke: #666;
307
- fill: none;
308
- cursor: pointer;
309
- }
310
- .selected[data-v-a1576cad] {
311
- stroke: red;
312
- }
313
- .transition-dragger[data-v-a1576cad] {
314
- stroke: red;
315
- stroke-width: 1;
316
- fill: white;
317
- cursor: move;
318
- }
319
- .no-events[data-v-a1576cad] {
320
- pointer-events: none;
321
- }
322
-
323
323
  .virtual-transition{
324
324
  stroke-width: 2;
325
325
  stroke:#000;
@@ -357,12 +357,12 @@ li[data-v-7e8a1cf6] {
357
357
  }
358
358
 
359
359
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-bd66d235] .el-dialog__body{
360
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
361
  padding-top: 0
362
362
  }
363
363
 
364
364
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
365
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
366
366
  padding-top: 0
367
367
  }
368
368
 
@@ -387,14 +387,12 @@ li[data-v-7e8a1cf6] {
387
387
  fill: white;
388
388
  }
389
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;
390
+ .control-point[data-v-0ff53a0a]{
391
+ fill: #fff;
392
+ cursor: move;
393
+ }
394
+ .control-line[data-v-0ff53a0a] {
395
+ stroke-dasharray: 2 2
398
396
  }
399
397
 
400
398
  .control-point[data-v-788fb0ae]{
@@ -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
+ .percent[data-v-a219b06d] {
407
+ margin-left: 10px;
408
+ color: red;
409
+ font-size: 1.2em;
410
+ }
411
+
412
+ .el-checkbox[data-v-c019538f]{
413
+ margin-left: 20px;
414
+ }
407
415
  ul[data-v-39fac73c] {
408
416
  margin: 0;
409
417
  padding: 0;
@@ -414,29 +422,21 @@ 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
- .percent[data-v-c1c7385b]{
425
+ .percent[data-v-6aef99ff]{
430
426
  margin-left: 10px;
431
427
  color:red;
432
428
  font-size:1.2em;
433
429
  }
434
430
 
435
- .percent[data-v-6aef99ff]{
431
+ .percent[data-v-c1c7385b]{
436
432
  margin-left: 10px;
437
433
  color:red;
438
434
  font-size:1.2em;
439
435
  }
436
+
437
+ .el-checkbox[data-v-5fb29fef]{
438
+ margin-left: 20px;
439
+ }
440
440
  .group[data-v-98300543] {
441
441
  font-size: 14px;
442
442
  width: 100%;
@@ -478,13 +478,6 @@ span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
480
 
481
- .searchResult {
482
- color:red
483
- }
484
- .inline-input-custom {
485
- width : 90%
486
- }
487
-
488
481
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
489
482
  height: 500px;
490
483
  }
@@ -503,6 +496,13 @@ span[data-v-4e29ea06] {
503
496
  padding-left: 20px;
504
497
  overflow: auto;
505
498
  }
499
+
500
+ .searchResult {
501
+ color:red
502
+ }
503
+ .inline-input-custom {
504
+ width : 90%
505
+ }
506
506
  #appContainer[data-v-9458f3bf] .el-checkbox {
507
507
  display: block;
508
508
  }
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-tmp7",
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文件包含所有内容