zartui 0.1.50 → 0.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.generated.md +2 -2
- package/es/fold-dialog/index.js +8 -9
- package/es/index.js +1 -1
- package/lib/fold-dialog/index.js +8 -9
- package/lib/index.js +1 -1
- package/lib/zart.js +9 -10
- package/lib/zart.min.js +2 -2
- package/package.json +1 -1
package/changelog.generated.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
### [v0.1.
|
|
1
|
+
### [v0.1.51](http://192.168.177.251:8000/compare/v0.1.50...v0.1.51)
|
|
2
2
|
|
|
3
3
|
`2022-03-08`
|
|
4
4
|
|
|
5
|
-
- [M]
|
|
5
|
+
- [M]折叠段落demo参数修复 [f13515](http://192.168.177.251:8000/commits/f135150ed7f11c672b330d05e4242a0e57ed5832)
|
package/es/fold-dialog/index.js
CHANGED
|
@@ -78,17 +78,16 @@ export default createComponent({
|
|
|
78
78
|
calculateOffset: function calculateOffset(from, to) {
|
|
79
79
|
var _this2 = this;
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
if (Math.abs(from - to) <= 1) return;
|
|
83
|
-
|
|
84
|
-
if (_this2.isOverflow()) {
|
|
85
|
-
to = _this2.offset;
|
|
86
|
-
} else {
|
|
87
|
-
from = _this2.offset;
|
|
88
|
-
}
|
|
81
|
+
if (Math.abs(from - to) <= 1) return;
|
|
89
82
|
|
|
90
|
-
|
|
83
|
+
if (this.isOverflow()) {
|
|
84
|
+
to = this.offset;
|
|
85
|
+
} else {
|
|
86
|
+
from = this.offset;
|
|
87
|
+
}
|
|
91
88
|
|
|
89
|
+
this.offset = Math.floor((from + to) / 2);
|
|
90
|
+
this.$nextTick(function () {
|
|
92
91
|
_this2.calculateOffset(from, to);
|
|
93
92
|
});
|
|
94
93
|
},
|
package/es/index.js
CHANGED
|
@@ -65,7 +65,7 @@ import Tabs from './tabs';
|
|
|
65
65
|
import Tag from './tag';
|
|
66
66
|
import Toast from './toast';
|
|
67
67
|
import Uploader from './uploader';
|
|
68
|
-
var version = '0.1.
|
|
68
|
+
var version = '0.1.51';
|
|
69
69
|
|
|
70
70
|
function install(Vue) {
|
|
71
71
|
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Icon, Image, ImagePreview, Info, Lazyload, List, Loading, Locale, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Toast, Uploader];
|
package/lib/fold-dialog/index.js
CHANGED
|
@@ -83,17 +83,16 @@ var _default = createComponent({
|
|
|
83
83
|
calculateOffset: function calculateOffset(from, to) {
|
|
84
84
|
var _this2 = this;
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
if (Math.abs(from - to) <= 1) return;
|
|
88
|
-
|
|
89
|
-
if (_this2.isOverflow()) {
|
|
90
|
-
to = _this2.offset;
|
|
91
|
-
} else {
|
|
92
|
-
from = _this2.offset;
|
|
93
|
-
}
|
|
86
|
+
if (Math.abs(from - to) <= 1) return;
|
|
94
87
|
|
|
95
|
-
|
|
88
|
+
if (this.isOverflow()) {
|
|
89
|
+
to = this.offset;
|
|
90
|
+
} else {
|
|
91
|
+
from = this.offset;
|
|
92
|
+
}
|
|
96
93
|
|
|
94
|
+
this.offset = Math.floor((from + to) / 2);
|
|
95
|
+
this.$nextTick(function () {
|
|
97
96
|
_this2.calculateOffset(from, to);
|
|
98
97
|
});
|
|
99
98
|
},
|
package/lib/index.js
CHANGED
|
@@ -273,7 +273,7 @@ exports.Toast = _toast.default;
|
|
|
273
273
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
|
274
274
|
|
|
275
275
|
exports.Uploader = _uploader.default;
|
|
276
|
-
var version = '0.1.
|
|
276
|
+
var version = '0.1.51';
|
|
277
277
|
exports.version = version;
|
|
278
278
|
|
|
279
279
|
function install(Vue) {
|
package/lib/zart.js
CHANGED
|
@@ -34520,17 +34520,16 @@ var fold_dialog_createNamespace = Object(utils["b" /* createNamespace */])('fold
|
|
|
34520
34520
|
calculateOffset: function calculateOffset(from, to) {
|
|
34521
34521
|
var _this2 = this;
|
|
34522
34522
|
|
|
34523
|
-
|
|
34524
|
-
if (Math.abs(from - to) <= 1) return;
|
|
34525
|
-
|
|
34526
|
-
if (_this2.isOverflow()) {
|
|
34527
|
-
to = _this2.offset;
|
|
34528
|
-
} else {
|
|
34529
|
-
from = _this2.offset;
|
|
34530
|
-
}
|
|
34523
|
+
if (Math.abs(from - to) <= 1) return;
|
|
34531
34524
|
|
|
34532
|
-
|
|
34525
|
+
if (this.isOverflow()) {
|
|
34526
|
+
to = this.offset;
|
|
34527
|
+
} else {
|
|
34528
|
+
from = this.offset;
|
|
34529
|
+
}
|
|
34533
34530
|
|
|
34531
|
+
this.offset = Math.floor((from + to) / 2);
|
|
34532
|
+
this.$nextTick(function () {
|
|
34534
34533
|
_this2.calculateOffset(from, to);
|
|
34535
34534
|
});
|
|
34536
34535
|
},
|
|
@@ -45784,7 +45783,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
|
|
|
45784
45783
|
|
|
45785
45784
|
|
|
45786
45785
|
|
|
45787
|
-
var version = '0.1.
|
|
45786
|
+
var version = '0.1.51';
|
|
45788
45787
|
|
|
45789
45788
|
function install(Vue) {
|
|
45790
45789
|
var components = [action_sheet, es_area, avatar, back_top, badge, es_button, calendar, cell, cell_group, es_checkbox, checkbox_group, col, collapse, collapse_item, count_down, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, fold_dialog, es_form, es_icon, es_image, image_preview, es_info, lazyload, list, es_loading, locale["a" /* default */], nav_bar, notice_bar, number_keyboard, es_overlay, password_input, pdf_viewer, picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, steps, sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, es_toast, uploader];
|