@processmaker/modeler 1.22.2 → 1.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/modeler",
3
- "version": "1.22.2",
3
+ "version": "1.23.0",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "open-cypress": "TZ=UTC cypress open",
package/src/.DS_Store CHANGED
Binary file
@@ -2,10 +2,14 @@
2
2
  <crown-button
3
3
  id="lane-above-button"
4
4
  aria-label="Add lane above icon"
5
- :src="laneAboveIcon"
6
5
  v-on="$listeners"
7
6
  :width="25"
8
- />
7
+ >
8
+ <img
9
+ :src="laneAboveIcon"
10
+ aria-hidden="true"
11
+ >
12
+ </crown-button>
9
13
  </template>
10
14
 
11
15
  <script>
@@ -2,10 +2,14 @@
2
2
  <crown-button
3
3
  id="lane-below-button"
4
4
  aria-label="Add lane below icon"
5
- :src="laneBelowIcon"
6
5
  v-on="$listeners"
7
6
  :width="25"
8
- />
7
+ >
8
+ <img
9
+ :src="laneBelowIcon"
10
+ aria-hidden="true"
11
+ >
12
+ </crown-button>
9
13
  </template>
10
14
 
11
15
  <script>
@@ -20,4 +24,4 @@ export default {
20
24
  };
21
25
  },
22
26
  };
23
- </script>
27
+ </script>
@@ -5,10 +5,14 @@
5
5
  v-b-tooltip.hover.viewport.d50="{ customClass: 'no-pointer-events' }"
6
6
  id="association-flow-button"
7
7
  aria-label="Add association flow"
8
- :src="connectIcon"
9
8
  role="menuitem"
10
9
  @click="addAssociation"
11
- />
10
+ >
11
+ <img
12
+ :src="connectIcon"
13
+ aria-hidden="true"
14
+ >
15
+ </crown-button>
12
16
  </template>
13
17
 
14
18
  <script>
@@ -42,4 +46,4 @@ export default {
42
46
  },
43
47
  },
44
48
  };
45
- </script>
49
+ </script>
@@ -6,9 +6,14 @@
6
6
  aria-label="Copy Element"
7
7
  data-test="copy-button"
8
8
  role="menuitem"
9
- :src="copyIcon"
10
9
  @click="copyElement"
11
- />
10
+ >
11
+ <img
12
+ :src="copyIcon"
13
+ aria-hidden="true"
14
+ >
15
+ </crown-button>
16
+
12
17
  </template>
13
18
 
14
19
  <script>
@@ -8,7 +8,6 @@
8
8
  <slot>
9
9
  <img
10
10
  :src="src"
11
- alt=""
12
11
  width="width"
13
12
  height="height"
14
13
  >
@@ -41,8 +40,12 @@ export default {
41
40
  margin-top: 0;
42
41
  display: flex;
43
42
  }
44
- img, i {
45
- margin: 5px 10px;
46
- width: 15px;
43
+ img {
44
+ margin: 0px 10px;
45
+ height: 15px;
46
+ }
47
+ i {
48
+ margin: 0px 10px;
49
+ font-size: 15px;
47
50
  }
48
51
  </style>
@@ -13,6 +13,7 @@ $crown-left-chevron: 0.3rem;
13
13
  background: none;
14
14
  border: none;
15
15
  color: $primary-white;
16
+ height: 15px;
16
17
  }
17
18
  }
18
19
 
@@ -5,10 +5,14 @@
5
5
  v-b-tooltip.hover.viewport.d50="{ customClass: 'no-pointer-events' }"
6
6
  id="association-flow-button"
7
7
  aria-label="Add association flow"
8
- :src="connectIcon"
9
8
  role="menuitem"
10
9
  @click="addDataAssociation"
11
- />
10
+ >
11
+ <img
12
+ :src="connectIcon"
13
+ aria-hidden="true"
14
+ >
15
+ </crown-button>
12
16
  </template>
13
17
 
14
18
  <script>
@@ -6,9 +6,13 @@
6
6
  aria-label="Default Flow"
7
7
  data-test="default-flow"
8
8
  role="menuitem"
9
- :src="icon"
10
9
  @click="click"
11
- />
10
+ >
11
+ <img
12
+ :src="icon"
13
+ aria-hidden="true"
14
+ >
15
+ </crown-button>
12
16
  </template>
13
17
 
14
18
  <script>
@@ -13,7 +13,6 @@
13
13
  data-prefix="fas"
14
14
  data-icon="trash-alt"
15
15
  class="fa-trash-alt trash-icon"
16
- alt=""
17
16
  >
18
17
  </crown-button>
19
18
  </template>
@@ -65,9 +64,4 @@ export default {
65
64
  },
66
65
  },
67
66
  };
68
- </script>
69
- <style>
70
- .trash-icon {
71
- height: 13.25px;
72
- }
73
- </style>
67
+ </script>
@@ -5,10 +5,14 @@
5
5
  :title="$t('Flow')"
6
6
  id="generic-flow-button"
7
7
  aria-label="Create a flow"
8
- :src="sequenceFlow"
9
8
  role="menuitem"
10
9
  @click="addSequence"
11
- />
10
+ >
11
+ <img
12
+ :src="sequenceFlow"
13
+ aria-hidden="true"
14
+ >
15
+ </crown-button>
12
16
  </template>
13
17
  <script>
14
18
  import Flow from '@/assets/connect-elements.svg';
@@ -71,4 +75,4 @@ export default {
71
75
  this.$t = this.$t.bind(this);
72
76
  },
73
77
  };
74
- </script>
78
+ </script>
@@ -6,6 +6,7 @@ $crown-left-chevron: 0.3rem;
6
6
  position: absolute;
7
7
  z-index: 0;
8
8
  display: flex;
9
+ align-items: center;
9
10
  justify-content: center;
10
11
  width: auto;
11
12
  height: 1.85rem;