Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Aug 13, 2019
1 parent 42a35d7 commit 75686c1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion dist/index.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
exports["default"] = exports.VXETablePluginIView = void 0;

var _xeUtils = _interopRequireDefault(require("xe-utils"));

Expand Down Expand Up @@ -507,6 +507,7 @@ var VXETablePluginIView = {
interceptor.add('event.clear_actived', handleClearEvent);
}
};
exports.VXETablePluginIView = VXETablePluginIView;

if (typeof window !== 'undefined' && window.VXETable) {
window.VXETable.use(VXETablePluginIView);
Expand Down
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports["default"] = void 0;
_exports["default"] = _exports.VXETablePluginIView = void 0;
_xeUtils = _interopRequireDefault(_xeUtils);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
Expand Down Expand Up @@ -519,6 +519,7 @@
interceptor.add('event.clear_actived', handleClearEvent);
}
};
_exports.VXETablePluginIView = VXETablePluginIView;

if (typeof window !== 'undefined' && window.VXETable) {
window.VXETable.use(VXETablePluginIView);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import VXETable from 'vxe-table'

export interface VXETablePluginIViewStatic {
install(vue: typeof Vue): void;
install(xTable: typeof VXETable): void;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function handleClearEvent (params, evnt, context) {
}
}

const VXETablePluginIView = {
export const VXETablePluginIView = {
install ({ interceptor, renderer }) {
// 添加到渲染器
renderer.mixin(renderMap)
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-iview",
"version": "1.3.4",
"version": "1.4.0",
"description": "vxe-table renderer plugins for iview.",
"scripts": {
"lib": "gulp build"
Expand Down Expand Up @@ -38,8 +38,7 @@
"gulp-sass": "^4.0.2",
"gulp-uglify": "^3.0.2",
"markdown-doctest": "^0.9.1",
"vxe-table": "^1.5.13",
"xe-utils": "^1.9.5"
"xe-utils": "^1.9.8"
},
"peerDependencies": {
"vxe-table": "^1.4.0",
Expand Down

0 comments on commit 75686c1

Please sign in to comment.