eoss-ui 0.4.79 → 0.4.80

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 +1 @@
1
- @charset "UTF-8";.es-layout{height:100%;position:relative;-webkit-transition:height .2s ease;transition:height .2s ease;padding:6px}.es-layout .es-layout-item{position:absolute;padding:6px;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.es-layout .es-layout-item .es-card{width:100%;height:100%}.es-layout .es-layout-item .es-layout-resizable{width:20px;height:20px;position:absolute;right:6px;bottom:6px;z-index:9999;cursor:se-resize}.es-layout .es-layout-item .es-layout-resizable-width{width:10px;position:absolute;top:6px;right:6px;bottom:6px;z-index:9998;cursor:e-resize}.es-layout .es-layout-item .es-layout-resizable-height{height:10px;position:absolute;left:6px;right:6px;bottom:6px;z-index:9998;cursor:s-resize}
1
+ @charset "UTF-8";.es-layout{height:100%;position:relative;-webkit-transition:height .2s ease;transition:height .2s ease}.es-layout .es-layout-item{position:absolute;padding:6px;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.es-layout .es-layout-item.es-dragging{z-index:3}.es-layout .es-layout-item .es-card{width:100%;height:100%}.es-layout .es-layout-item .es-layout-resizable{width:20px;height:20px;position:absolute;right:6px;bottom:6px;z-index:9999;cursor:se-resize}.es-layout .es-layout-item .es-layout-resizable-width{width:10px;position:absolute;top:6px;right:6px;bottom:6px;z-index:9998;cursor:e-resize}.es-layout .es-layout-item .es-layout-resizable-height{height:10px;position:absolute;left:6px;right:6px;bottom:6px;z-index:9998;cursor:s-resize}
@@ -3,12 +3,14 @@
3
3
  height: 100%;
4
4
  position: relative;
5
5
  transition: height 200ms ease;
6
- padding: 6px;
7
6
  .es-layout-item {
8
7
  position: absolute;
9
8
  padding: 6px;
10
9
  touch-action: none;
11
10
  user-select: none;
11
+ &.es-dragging {
12
+ z-index: 3;
13
+ }
12
14
  .es-card {
13
15
  width: 100%;
14
16
  height: 100%;
@@ -9,6 +9,7 @@
9
9
  </template>
10
10
  <slot>
11
11
  <i
12
+ @click="handleClick"
12
13
  :class="[icon, 'es-tips' + (position ? '-' + position : position)]"
13
14
  ></i>
14
15
  </slot>
@@ -123,6 +124,10 @@ export default {
123
124
  this.$message.error(err.message);
124
125
  }
125
126
  });
127
+ },
128
+ handleClick(e) {
129
+ e.stopPropagation();
130
+ e.preventDefault();
126
131
  }
127
132
  }
128
133
  };
package/src/index.js CHANGED
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.4.79',
120
+ version: '0.4.80',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,