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 bf3151f commit 5214350
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.VXETablePluginAntd = void 0;

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

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

if (typeof window !== 'undefined' && window.VXETable) {
window.VXETable.use(VXETablePluginAntd);
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.VXETablePluginAntd = void 0;
_xeUtils = _interopRequireDefault(_xeUtils);

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

if (typeof window !== 'undefined' && window.VXETable) {
window.VXETable.use(VXETablePluginAntd);
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 VXETablePluginAntdStatic {
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 @@ -393,7 +393,7 @@ function handleClearEvent (params, evnt, context) {
}
}

const VXETablePluginAntd = {
export const VXETablePluginAntd = {
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-antd",
"version": "1.3.4",
"version": "1.4.0",
"description": "vxe-table renderer plugins for ant-design-vue.",
"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 5214350

Please sign in to comment.