vue-editify 0.0.39 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/editify.es.js +114 -80
- package/lib/editify.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/Editify.vue +106 -71
- package/src/components/base/Button.vue +1 -1
- package/src/components/bussiness/Menu.vue +1 -1
- package/src/index.js +2 -2
@@ -10,7 +10,7 @@
|
|
10
10
|
<Icon v-if="type == 'select' || type == 'display'" value="caret-down" class="editify-button-caret" :class="{ rotate: layerConfig.show }"></Icon>
|
11
11
|
</div>
|
12
12
|
</Tooltip>
|
13
|
-
<Layer ref="layer" v-model="layerConfig.show" :node="layerConfig.node" border fade placement="bottom-start" :z-index="
|
13
|
+
<Layer ref="layer" v-model="layerConfig.show" :node="layerConfig.node" border fade placement="bottom-start" :z-index="12" animation="translate" @show="layerShow" @shown="layerShown" @hidden="layerHidden">
|
14
14
|
<div class="editify-button-layer" :style="{ width: (type == 'select' ? parseSelectConfig.width : parseDisplayConfig.width) + 'px', maxHeight: (type == 'select' ? parseSelectConfig.maxHeight : parseDisplayConfig.maxHeight) + 'px', overflow: hideScroll ? 'visible' : '' }">
|
15
15
|
<slot v-if="$slots.layer" name="layer" :options="cmpOptions"></slot>
|
16
16
|
<div v-else class="editify-button-options">
|
package/src/index.js
CHANGED
@@ -7,7 +7,7 @@ import './icon/iconfont.css'
|
|
7
7
|
//引入国际化
|
8
8
|
import i18n from './locale'
|
9
9
|
//版本号
|
10
|
-
const version = '0.0.
|
10
|
+
const version = '0.0.41'
|
11
11
|
//安装函数
|
12
12
|
const install = (app, props) => {
|
13
13
|
const locale = (props ? props.locale : 'zh_CN') || 'zh_CN'
|
@@ -21,4 +21,4 @@ const stdin_default = {
|
|
21
21
|
version
|
22
22
|
}
|
23
23
|
|
24
|
-
export { stdin_default as default, install, version, AlexElement }
|
24
|
+
export { stdin_default as default, install as editify, version, AlexElement }
|