@optimajet/workflow-designer 12.2.0 → 12.4.0
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/README.md
CHANGED
|
@@ -93,7 +93,7 @@ npm i -D webpack webpack-cli
|
|
|
93
93
|
Next, add the packages necessary for the correct webpack setup
|
|
94
94
|
|
|
95
95
|
```shell
|
|
96
|
-
npm i -D @babel/preset-env @babel/core babel-loader css-loader html-webpack-plugin mini-css-extract-plugin
|
|
96
|
+
npm i -D @babel/preset-env @babel/core babel-loader css-loader html-webpack-plugin mini-css-extract-plugin terser-webpack-plugin
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
The basic webpack configuration looks like this:
|
|
@@ -102,7 +102,7 @@ The basic webpack configuration looks like this:
|
|
|
102
102
|
const HtmlWebpackPlugin = require('html-webpack-plugin'); // for generate an HTML5 file
|
|
103
103
|
const path = require('path')
|
|
104
104
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); // to extract CSS into separate files
|
|
105
|
-
const
|
|
105
|
+
const TerserPlugin = require('terser-webpack-plugin'); // to minify your JavaScript
|
|
106
106
|
const webpack = require('webpack');
|
|
107
107
|
|
|
108
108
|
|
|
@@ -111,14 +111,14 @@ module.exports = () => ({
|
|
|
111
111
|
wfesample: './src/index.js',
|
|
112
112
|
},
|
|
113
113
|
output: {
|
|
114
|
-
path: path.resolve(__dirname, 'dist'),
|
|
114
|
+
path: path.resolve(__dirname, 'dist'),
|
|
115
115
|
filename: '[name].min.js',
|
|
116
116
|
libraryTarget: "umd",
|
|
117
117
|
},
|
|
118
118
|
mode:'production',
|
|
119
|
-
|
|
119
|
+
|
|
120
120
|
optimization: {
|
|
121
|
-
minimizer: [new
|
|
121
|
+
minimizer: [new TerserPlugin()],
|
|
122
122
|
},
|
|
123
123
|
module: {
|
|
124
124
|
rules: [
|
|
@@ -226,4 +226,4 @@ Ctrl + Z - Undo
|
|
|
226
226
|
Arrows - Moving selected items
|
|
227
227
|
Delete - Delete
|
|
228
228
|
Alt + Enter - Full Screen Mode
|
|
229
|
-
Ctrl + M - Move mode
|
|
229
|
+
Ctrl + M - Move mode
|
|
@@ -77,7 +77,8 @@ font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[clas
|
|
|
77
77
|
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
78
78
|
font-size: 14px;
|
|
79
79
|
line-height: 1.4285em;
|
|
80
|
-
font-smoothing: antialiased
|
|
80
|
+
font-smoothing: antialiased;
|
|
81
|
+
overflow: hidden;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
.WorkflowDesignerContainer h3 {
|
|
@@ -259,6 +260,8 @@ td .el-checkbox__input {
|
|
|
259
260
|
top: 0;
|
|
260
261
|
min-height: 200px;
|
|
261
262
|
min-width: 200px;
|
|
263
|
+
max-height: calc(100% - 20px);
|
|
264
|
+
max-width: calc(100% - 20px);
|
|
262
265
|
box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 10px, rgba(0, 0, 0, 0.12) 0px 1px 18px,
|
|
263
266
|
rgba(0, 0, 16, 0.15) 0 3px 5px;
|
|
264
267
|
/*z-index: 100;*/
|
|
@@ -316,7 +319,7 @@ td .el-checkbox__input {
|
|
|
316
319
|
position: absolute;
|
|
317
320
|
top: 0;
|
|
318
321
|
inset-inline-start: 0;
|
|
319
|
-
width:
|
|
322
|
+
width: 100%;
|
|
320
323
|
height: 20px;
|
|
321
324
|
cursor: move;
|
|
322
325
|
}
|
|
@@ -325,7 +328,7 @@ td .el-checkbox__input {
|
|
|
325
328
|
position: absolute;
|
|
326
329
|
bottom: 0;
|
|
327
330
|
inset-inline-start: 0;
|
|
328
|
-
width:
|
|
331
|
+
width: 100%;
|
|
329
332
|
height: 20px;
|
|
330
333
|
cursor: move;
|
|
331
334
|
}
|
|
@@ -476,6 +479,27 @@ td .el-checkbox__input {
|
|
|
476
479
|
background-color: transparent;
|
|
477
480
|
}
|
|
478
481
|
|
|
482
|
+
.WorkflowDesignerWatermark {
|
|
483
|
+
top: auto;
|
|
484
|
+
bottom: 10px;
|
|
485
|
+
inset-inline-end: 10px;
|
|
486
|
+
min-height: 0;
|
|
487
|
+
box-shadow: none;
|
|
488
|
+
background-color: transparent;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.WorkflowDesignerWatermark a {
|
|
492
|
+
color: #000;
|
|
493
|
+
text-decoration: none;
|
|
494
|
+
font-size: 20px;
|
|
495
|
+
display: flex;
|
|
496
|
+
align-items: center;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.WorkflowDesignerWatermark img {
|
|
500
|
+
width: 140px;
|
|
501
|
+
margin-right: 10px
|
|
502
|
+
}
|
|
479
503
|
|
|
480
504
|
.WorkflowDesignerToolbarSide {
|
|
481
505
|
inset-inline: auto 10px;
|
|
@@ -1150,7 +1174,7 @@ div.SpacedRow > div:not(:last-child) {
|
|
|
1150
1174
|
.WorkflowDesignerWindowLoaderOverlay {
|
|
1151
1175
|
position: absolute;
|
|
1152
1176
|
top: 0;
|
|
1153
|
-
z-index:
|
|
1177
|
+
z-index: 0;
|
|
1154
1178
|
width: 100%;
|
|
1155
1179
|
height: 100%;
|
|
1156
1180
|
min-width: 40px;
|