@optimajet/workflow-designer 0.0.20 → 5.2.2

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
@@ -11,7 +11,7 @@ To run the example below, you should create the WorkflowEngine backend capable o
11
11
  ## Installation
12
12
 
13
13
  ```shell
14
- > npm install @optimajet/workflow-designer
14
+ npm install @optimajet/workflow-designer
15
15
  ```
16
16
 
17
17
  ## Basic Usage
@@ -87,13 +87,13 @@ This section checks whether the above data exist and available for loading and d
87
87
  We use the webpack package to build our example.
88
88
 
89
89
  ```shell
90
- > npm i -D webpack webpack-cli
90
+ npm i -D webpack webpack-cli
91
91
  ```
92
92
 
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 uglifyjs-webpack-plugin
96
+ npm i -D @babel/preset-env @babel/core babel-loader css-loader html-webpack-plugin mini-css-extract-plugin uglifyjs-webpack-plugin
97
97
  ```
98
98
 
99
99
  The basic webpack configuration looks like this:
@@ -151,7 +151,7 @@ module.exports = () => ({
151
151
  To support successful performance of the designer in IE11, we should slightly modify the webpack configuration in `webpack.config.js`, but first we should add another package to transpile and modify our JavaScript.
152
152
 
153
153
  ```shell
154
- > npm i -D @babel/plugin-proposal-decorators
154
+ npm i -D @babel/plugin-proposal-decorators
155
155
  ```
156
156
 
157
157
  Now, add the `target: ['web', 'es5']` property in the webpack config, and change the `babel-loader` rule in`module.rules` to the following:
@@ -215,3 +215,15 @@ module.exports = function (api) {
215
215
  ```
216
216
 
217
217
  The configuration is completed successfully, so you can enjoy using the WorkflowDesigner in IE11.
218
+
219
+ ## Hotkeys:
220
+ Ctrl + A - Select All
221
+ Ctrl + C - Copy selected items
222
+ Ctrl + E - New Activity
223
+ Ctrl + I - Extended info
224
+ Ctrl + Y - Redo
225
+ Ctrl + Z - Undo
226
+ Arrows - Moving selected items
227
+ Delete - Delete
228
+ Alt + Enter - Full Screen Mode
229
+ Ctrl + M - Move mode
@@ -78,17 +78,30 @@ font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[clas
78
78
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
79
79
  }
80
80
 
81
- /*!
82
- * # Semantic UI - Site
83
- * http://github.com/semantic-org/semantic-ui/
84
- *
85
- *
86
- * Released under the MIT license
87
- * http://opensource.org/licenses/MIT
88
- *
89
- */
90
- body,html{height:100%}html{font-size:14px}body{margin:0;padding:0;overflow-x:hidden;min-width:320px;background:#fff;font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4285em;color:rgba(0,0,0,.87);font-smoothing:antialiased}h1,h2,h3,h4,h5{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;line-height:1.28571429em;margin:calc(2rem - .14285714em) 0 1rem;font-weight:700;padding:0}h1{min-height:1rem;font-size:2rem}h2{font-size:1.71428571rem}h3{font-size:1.28571429rem}h4{font-size:1.07142857rem}h5{font-size:1rem}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child{margin-top:0}h1:last-child,h2:last-child,h3:last-child,h4:last-child,h5:last-child{margin-bottom:0}p{margin:0 0 1em;line-height:1.4285em}p:first-child{margin-top:0}p:last-child{margin-bottom:0}a{color:#4183c4;text-decoration:none}a:hover{color:#1e70bf;text-decoration:none}::-webkit-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::-moz-selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}::selection{background-color:#cce2ff;color:rgba(0,0,0,.87)}input::-webkit-selection,textarea::-webkit-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::-moz-selection,textarea::-moz-selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}input::selection,textarea::selection{background-color:rgba(100,100,100,.4);color:rgba(0,0,0,.87)}body ::-webkit-scrollbar{-webkit-appearance:none;width:10px;height:10px}body ::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:0}body ::-webkit-scrollbar-thumb{cursor:pointer;border-radius:5px;background:rgba(0,0,0,.25);-webkit-transition:color .2s ease;transition:color .2s ease}body ::-webkit-scrollbar-thumb:window-inactive{background:rgba(0,0,0,.15)}body ::-webkit-scrollbar-thumb:hover{background:rgba(128,135,139,.8)}body .ui.inverted::-webkit-scrollbar-track{background:rgba(255,255,255,.1)}body .ui.inverted::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25)}body .ui.inverted::-webkit-scrollbar-thumb:window-inactive{background:rgba(255,255,255,.15)}body .ui.inverted::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.35)}
91
-
81
+ .WorkflowDesignerContainer {
82
+ margin: 0;
83
+ padding: 0;
84
+ font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
85
+ font-size: 14px;
86
+ line-height: 1.4285em;
87
+ font-smoothing: antialiased
88
+ }
89
+
90
+ .WorkflowDesignerContainer h3 {
91
+ font-size: 18px
92
+ }
93
+
94
+ .WorkflowDesignerContainer h4 {
95
+ font-size: 14px;
96
+ }
97
+
98
+ .WorkflowDesignerContainer h1:first-child,
99
+ .WorkflowDesignerContainer h2:first-child,
100
+ .WorkflowDesignerContainer h3:first-child,
101
+ .WorkflowDesignerContainer h4:first-child,
102
+ .WorkflowDesignerContainer h5:first-child {
103
+ margin-top: 0
104
+ }
92
105
 
93
106
 
94
107
  div.workflowenginecontainerstage {
@@ -687,6 +700,16 @@ button.WorkflowDesignerToolbarButtonActive.el-button:focus {
687
700
  padding-left: 26px;
688
701
  }
689
702
 
703
+ .TwoItemRow {
704
+ display: flex;
705
+ width: 100%;
706
+ }
707
+
708
+ .TwoItemRow > * {
709
+ flex: 1;
710
+ min-width: 40%;
711
+ }
712
+
690
713
  .SpacedRow {
691
714
  display: flex;
692
715
  flex-wrap: wrap;
@@ -913,4 +936,8 @@ div.SpacedRow > div:not(:last-child){
913
936
  100% {
914
937
  transform: rotate(360deg);
915
938
  }
939
+ }
940
+
941
+ table .el-form-item {
942
+ margin-bottom: 0;
916
943
  }