From 3a51f27e43ff1d1ce0ddaa498a045c7f07d0646d Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 22 Mar 2018 17:23:51 +0800 Subject: [PATCH] add logo and update vc-XXX --- README-zh_CN.md | 4 +- README.md | 2 +- components/_util/props-util.js | 2 +- components/_util/vue-types/index.js | 2 +- components/_util/vue-types/utils.js | 2 +- components/align/Align.jsx | 2 +- components/modal/ConfirmDialog.jsx | 2 +- components/modal/confirm.js | 5 +- components/select/demo/select-users.md | 2 +- components/tabs/src/ScrollableTabBarMixin.js | 2 +- components/vc-calendar/src/date/DateTBody.jsx | 5 + components/vc-calendar/src/locale/sl_SI.js | 27 ++ components/vc-pagination/Pagination.jsx | 62 ++-- components/vc-pagination/locale/id_ID.js | 15 + components/vc-pagination/locale/sl_SI.js | 15 + components/vc-pagination/locale/tr_TR.js | 15 + components/vc-steps/index.js | 1 + examples/components/header.vue | 2 +- examples/index.html | 3 +- logo.png | Bin 0 -> 7642 bytes package.json | 295 +++++++++--------- 21 files changed, 274 insertions(+), 191 deletions(-) create mode 100644 components/vc-calendar/src/locale/sl_SI.js create mode 100644 components/vc-pagination/locale/id_ID.js create mode 100644 components/vc-pagination/locale/sl_SI.js create mode 100644 components/vc-pagination/locale/tr_TR.js create mode 100644 logo.png diff --git a/README-zh_CN.md b/README-zh_CN.md index 5162f20e7..ec20721cd 100644 --- a/README-zh_CN.md +++ b/README-zh_CN.md @@ -1,6 +1,6 @@

- +

@@ -20,7 +20,7 @@ Ant Design 3.X 的 Vue 实现,开发和服务于企业级后台产品。 - 提炼自企业级中后台产品的交互语言和视觉风格。 - 开箱即用的高质量 Vue 组件。 -- 全链路开发和设计工具体系。 +- 全链路开发和设计工具体系。 ## 安装 diff --git a/README.md b/README.md index 344b28b95..d9ba6b041 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- +

diff --git a/components/_util/props-util.js b/components/_util/props-util.js index 0e7e90219..d483cbd80 100644 --- a/components/_util/props-util.js +++ b/components/_util/props-util.js @@ -1,4 +1,4 @@ -import isPlainObject from 'lodash.isplainobject' +import isPlainObject from 'lodash/isPlainObject' const camelizeRE = /-(\w)/g const camelize = (str) => { diff --git a/components/_util/vue-types/index.js b/components/_util/vue-types/index.js index 4c9997c05..84819ce5e 100644 --- a/components/_util/vue-types/index.js +++ b/components/_util/vue-types/index.js @@ -1,4 +1,4 @@ -import isPlainObject from 'lodash.isplainobject' +import isPlainObject from 'lodash/isPlainObject' import { toType, getType, isFunction, validateType, isInteger, isArray, warn } from './utils' const VuePropTypes = { diff --git a/components/_util/vue-types/utils.js b/components/_util/vue-types/utils.js index c661d0dc2..9554a42da 100644 --- a/components/_util/vue-types/utils.js +++ b/components/_util/vue-types/utils.js @@ -1,4 +1,4 @@ -import isPlainObject from 'lodash.isplainobject' +import isPlainObject from 'lodash/isPlainObject' const ObjProto = Object.prototype const toString = ObjProto.toString diff --git a/components/align/Align.jsx b/components/align/Align.jsx index d8ae29801..1a10f09e3 100644 --- a/components/align/Align.jsx +++ b/components/align/Align.jsx @@ -4,7 +4,7 @@ import align from 'dom-align' import addEventListener from '../_util/Dom/addEventListener' import { cloneElement } from '../_util/vnode.js' import isWindow from './isWindow' -import clonedeep from 'lodash.clonedeep' +import clonedeep from 'lodash/cloneDeep' import shallowequal from 'shallowequal' function noop () { } diff --git a/components/modal/ConfirmDialog.jsx b/components/modal/ConfirmDialog.jsx index 884aa4651..41525eb12 100644 --- a/components/modal/ConfirmDialog.jsx +++ b/components/modal/ConfirmDialog.jsx @@ -8,7 +8,7 @@ import { getConfirmLocale } from './locale' export default { functional: true, render (h, context) { - const { data: props } = context + const { props } = context const { onCancel, onOk, close, zIndex, afterClose, visible } = props const iconType = props.iconType || 'question-circle' const okType = props.okType || 'primary' diff --git a/components/modal/confirm.js b/components/modal/confirm.js index a4781d986..69ac8082d 100644 --- a/components/modal/confirm.js +++ b/components/modal/confirm.js @@ -25,10 +25,13 @@ export default function confirm (config) { } function render (props) { + const confirmDialogProps = { + props, + } return new Vue({ el: el, render () { - return + return }, }) } diff --git a/components/select/demo/select-users.md b/components/select/demo/select-users.md index fcb3340ed..73559602d 100644 --- a/components/select/demo/select-users.md +++ b/components/select/demo/select-users.md @@ -29,7 +29,7 @@ A complete multiple select sample with remote search, debounce fetch, ajax callb