Skip to content

Commit

Permalink
chore(release): 1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
忠兰 committed Sep 23, 2019
1 parent 728f079 commit 6b96bf3
Show file tree
Hide file tree
Showing 8 changed files with 132 additions and 119 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.25.0](https://github.com/heyui/heyui/compare/v1.24.0...v1.25.0) (2019-09-23)


### Bug Fixes

* **DateFullRangePicker:** update view with data type ([eb9b13e](https://github.com/heyui/heyui/commit/eb9b13e))
* **Dropdown:** css optimize ([9de3b48](https://github.com/heyui/heyui/commit/9de3b48))
* **i18n:** adjust points of translate ([1a1db1c](https://github.com/heyui/heyui/commit/1a1db1c))
* **ImagePreview:** support single page preview ([7f04d04](https://github.com/heyui/heyui/commit/7f04d04))
* **Pagination:** optimize select style ([6477dcb](https://github.com/heyui/heyui/commit/6477dcb))
* **Pagination:** page input use change event ([c659e19](https://github.com/heyui/heyui/commit/c659e19))
* **Pagination:** use import for select ([4d995c2](https://github.com/heyui/heyui/commit/4d995c2))
* **Poptip:** add prop disabled ([1007f7b](https://github.com/heyui/heyui/commit/1007f7b)), closes [#220](https://github.com/heyui/heyui/issues/220)
* link style add !important ([5171714](https://github.com/heyui/heyui/commit/5171714))
* **Row:** remove row clear when use flex ([e13feb3](https://github.com/heyui/heyui/commit/e13feb3))
* **TimePicker:** remove date handler when use correct parse ([253c6e7](https://github.com/heyui/heyui/commit/253c6e7)), closes [#209](https://github.com/heyui/heyui/issues/209)
* **Tree:** optimize use ([81c0b9a](https://github.com/heyui/heyui/commit/81c0b9a))
* **TreePicker:** optimize trigger ([09b0d3e](https://github.com/heyui/heyui/commit/09b0d3e))


### Build System

* **deps:** bump eslint-utils from 1.3.1 to 1.4.2 ([728f079](https://github.com/heyui/heyui/commit/728f079))


### Features

* **Modal:** Add drag and drop function ([e7040b6](https://github.com/heyui/heyui/commit/e7040b6)), closes [#165](https://github.com/heyui/heyui/issues/165)
* **table:** add prop attrs ([4639c00](https://github.com/heyui/heyui/commit/4639c00)), closes [#186](https://github.com/heyui/heyui/issues/186)
* **TextEllipsis:** define text style and class, support more prop ([6e31940](https://github.com/heyui/heyui/commit/6e31940))
* **Transfer:** optimze ([d979e99](https://github.com/heyui/heyui/commit/d979e99)), closes [#210](https://github.com/heyui/heyui/issues/210)



## [1.25.0-alpha.1](https://github.com/heyui/heyui/compare/v1.24.0...v1.25.0-alpha.1) (2019-08-26)


Expand Down
4 changes: 2 additions & 2 deletions dist/heyui.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/heyui.js

Large diffs are not rendered by default.

201 changes: 90 additions & 111 deletions dist/heyui.uncompressed.js
Original file line number Diff line number Diff line change
Expand Up @@ -5930,7 +5930,7 @@ var _default = {
showCls: function showCls() {
var _ref2;

return _ref2 = {}, (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-show"), true), (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-disabled"), !!this.disabled), (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-show-toggle"), !!this.toggleIcon), (0, _defineProperty2.default)(_ref2, this.className, !!this.className), (0, _defineProperty2.default)(_ref2, this.showClass, !!this.showClass), _ref2;
return _ref2 = {}, (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-show"), true), (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-disabled"), !!this.disabled), (0, _defineProperty2.default)(_ref2, "".concat(prefix, "-show-toggle"), !!this.toggleIcon), (0, _defineProperty2.default)(_ref2, this.className, !!this.className), (0, _defineProperty2.default)(_ref2, this.showClass, !!this.showClass), (0, _defineProperty2.default)(_ref2, 'h-dropdowncustom-empty', !this.$slots.default), _ref2;
},
groupCls: function groupCls() {
return (0, _defineProperty2.default)({}, "".concat(prefix, "-group"), true);
Expand Down Expand Up @@ -8535,6 +8535,10 @@ var _default = {
theme: {
type: String,
default: 'white'
},
disabled: {
type: Boolean,
default: false
}
},
methods: {
Expand Down Expand Up @@ -11336,46 +11340,6 @@ var getChooseNode = function getChooseNode(data, options) {
return options;
};

var updateModeSomeChildChooseStatus = function updateModeSomeChildChooseStatus(data) {
if (data.children) {
var isChoose = false;
var _iteratorNormalCompletion4 = true;
var _didIteratorError4 = false;
var _iteratorError4 = undefined;

try {
for (var _iterator4 = data.children[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
var child = _step4.value;

// updateChildStatus(child);
if (child.status.choose) {
isChoose = true;
}

updateModeSomeChildChooseStatus(child);
}
} catch (err) {
_didIteratorError4 = true;
_iteratorError4 = err;
} finally {
try {
if (!_iteratorNormalCompletion4 && _iterator4.return != null) {
_iterator4.return();
}
} finally {
if (_didIteratorError4) {
throw _iteratorError4;
}
}
}

if (isChoose) {
data.status.choose = true;
data.status.opened = true;
}
}
};

var _default = {
name: 'hTree',
props: {
Expand Down Expand Up @@ -11600,30 +11564,30 @@ var _default = {
},
initTreeModeData: function initTreeModeData(list, isWait, parentKey) {
var datas = [];
var _iteratorNormalCompletion5 = true;
var _didIteratorError5 = false;
var _iteratorError5 = undefined;
var _iteratorNormalCompletion4 = true;
var _didIteratorError4 = false;
var _iteratorError4 = undefined;

try {
for (var _iterator5 = list[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {
var data = _step5.value;
for (var _iterator4 = list[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {
var data = _step4.value;
var obj = this.initTreeNode(data, parentKey, isWait);
var children = data[this.param.childrenName] || [];
obj.children = this.initTreeModeData(children, isWait, obj.key);
this.treeObj[obj.key] = obj;
datas.push(obj);
}
} catch (err) {
_didIteratorError5 = true;
_iteratorError5 = err;
_didIteratorError4 = true;
_iteratorError4 = err;
} finally {
try {
if (!_iteratorNormalCompletion5 && _iterator5.return != null) {
_iterator5.return();
if (!_iteratorNormalCompletion4 && _iterator4.return != null) {
_iterator4.return();
}
} finally {
if (_didIteratorError5) {
throw _iteratorError5;
if (_didIteratorError4) {
throw _iteratorError4;
}
}
}
Expand Down Expand Up @@ -11720,13 +11684,13 @@ var _default = {
_tree2.status.opened = false;
}

var _iteratorNormalCompletion6 = true;
var _didIteratorError6 = false;
var _iteratorError6 = undefined;
var _iteratorNormalCompletion5 = true;
var _didIteratorError5 = false;
var _iteratorError5 = undefined;

try {
for (var _iterator6 = choose[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {
var _key2 = _step6.value;
for (var _iterator5 = choose[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {
var _key2 = _step5.value;
var _tree3 = this.treeObj[_key2];

if (_tree3) {
Expand All @@ -11743,41 +11707,41 @@ var _default = {
}
}
} catch (err) {
_didIteratorError6 = true;
_iteratorError6 = err;
_didIteratorError5 = true;
_iteratorError5 = err;
} finally {
try {
if (!_iteratorNormalCompletion6 && _iterator6.return != null) {
_iterator6.return();
if (!_iteratorNormalCompletion5 && _iterator5.return != null) {
_iterator5.return();
}
} finally {
if (_didIteratorError6) {
throw _iteratorError6;
if (_didIteratorError5) {
throw _iteratorError5;
}
}
}

if (this.chooseMode == 'all') {
var _iteratorNormalCompletion7 = true;
var _didIteratorError7 = false;
var _iteratorError7 = undefined;
var _iteratorNormalCompletion6 = true;
var _didIteratorError6 = false;
var _iteratorError6 = undefined;

try {
for (var _iterator7 = this.treeDatas[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) {
var tree = _step7.value;
for (var _iterator6 = this.treeDatas[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {
var tree = _step6.value;
updateModeAllChildChooseStatus(tree);
}
} catch (err) {
_didIteratorError7 = true;
_iteratorError7 = err;
_didIteratorError6 = true;
_iteratorError6 = err;
} finally {
try {
if (!_iteratorNormalCompletion7 && _iterator7.return != null) {
_iterator7.return();
if (!_iteratorNormalCompletion6 && _iterator6.return != null) {
_iterator6.return();
}
} finally {
if (_didIteratorError7) {
throw _iteratorError7;
if (_didIteratorError6) {
throw _iteratorError6;
}
}
}
Expand Down Expand Up @@ -11831,26 +11795,26 @@ var _default = {
return this.getFullChoose();
} else {
var options = [];
var _iteratorNormalCompletion8 = true;
var _didIteratorError8 = false;
var _iteratorError8 = undefined;
var _iteratorNormalCompletion7 = true;
var _didIteratorError7 = false;
var _iteratorError7 = undefined;

try {
for (var _iterator8 = this.treeDatas[Symbol.iterator](), _step8; !(_iteratorNormalCompletion8 = (_step8 = _iterator8.next()).done); _iteratorNormalCompletion8 = true) {
var data = _step8.value;
for (var _iterator7 = this.treeDatas[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) {
var data = _step7.value;
options = getChooseNode(data, options);
}
} catch (err) {
_didIteratorError8 = true;
_iteratorError8 = err;
_didIteratorError7 = true;
_iteratorError7 = err;
} finally {
try {
if (!_iteratorNormalCompletion8 && _iterator8.return != null) {
_iterator8.return();
if (!_iteratorNormalCompletion7 && _iterator7.return != null) {
_iterator7.return();
}
} finally {
if (_didIteratorError8) {
throw _iteratorError8;
if (_didIteratorError7) {
throw _iteratorError7;
}
}
}
Expand Down Expand Up @@ -14972,6 +14936,7 @@ exports.default = void 0;
//
//
//
//
var _default = {
name: 'hTextEllipsis',
props: {
Expand All @@ -14986,7 +14951,10 @@ var _default = {
default: false
},
tooltipTheme: String,
placement: String
placement: String,
textStyle: [String, Object, Array],
textClass: [String, Object, Array],
more: String
},
data: function data() {
return {
Expand Down Expand Up @@ -15020,6 +14988,9 @@ var _default = {
this.limitShow();
}
},
textClick: function textClick() {
this.$emit('click');
},
limitShow: function limitShow() {
var _this = this;

Expand Down Expand Up @@ -16323,32 +16294,38 @@ var render = function() {
expression: "useTooltip&&isHide"
}
],
key: _vm.keyIndex,
staticClass: "h-text-ellipsis-limit-text",
class: _vm.textClass,
style: _vm.textStyle,
attrs: {
theme: _vm.tooltipTheme,
placement: _vm.placement,
content: _vm.text
}
},
on: { click: _vm.textClick }
},
[_vm._v(_vm._s(_vm.text))]
),
_vm._v(" "),
_c(
"span",
{
directives: [
[
_c(
"span",
{ key: _vm.keyIndex, staticClass: "h-text-ellipsis-limit-text" },
[_vm._v(_vm._s(_vm.text))]
),
_c(
"span",
{
name: "show",
rawName: "v-show",
value: _vm.oversize,
expression: "oversize"
}
],
staticClass: "h-text-ellipsis-more"
},
[_vm._t("more")],
2
directives: [
{
name: "show",
rawName: "v-show",
value: _vm.oversize,
expression: "oversize"
}
],
staticClass: "h-text-ellipsis-more"
},
[_vm._v(_vm._s(_vm.more)), _vm._t("more")],
2
)
]
),
_vm._v(" "),
_vm._t("after")
Expand Down Expand Up @@ -17888,10 +17865,7 @@ var render = function() {
_c("div", { class: _vm.showCls }, [
_c(
"div",
{
staticClass: "h-dropdowncustom-show-content",
class: { "h-dropdowncustom-show-empty": !_vm.$slots.default }
},
{ staticClass: "h-dropdowncustom-show-content" },
[_vm._t("default")],
2
),
Expand Down Expand Up @@ -20753,7 +20727,12 @@ var render = function() {
"Tooltip",
{
ref: "tooltip",
attrs: { theme: _vm.theme, placement: _vm.placement, trigger: "click" }
attrs: {
theme: _vm.theme,
disabled: _vm.disabled,
placement: _vm.placement,
trigger: "click"
}
},
[
_vm._t("default"),
Expand Down
2 changes: 1 addition & 1 deletion dist/locale/stat.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "heyui",
"version": "1.25.0-alpha.1",
"version": "1.25.0",
"description": "UI Toolkit for Web, Vue2.0.",
"main": "./dist/heyui.js",
"module": "./dist/heyui.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion themes/index.css

Large diffs are not rendered by default.

0 comments on commit 6b96bf3

Please sign in to comment.