zartui 2.0.79-beta.1 → 2.0.80
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/es/index.js +1 -1
- package/es/media-picker/index.js +2 -2
- package/es/pull-refresh/index.js +6 -4
- package/lib/index.js +1 -1
- package/lib/pull-refresh/index.js +6 -4
- package/lib/zart.js +1469 -2406
- package/lib/zart.min.js +1 -1
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -74,7 +74,7 @@ import Tag from './tag';
|
|
|
74
74
|
import Timeline from './timeline';
|
|
75
75
|
import Toast from './toast';
|
|
76
76
|
import Uploader from './uploader';
|
|
77
|
-
var version = '2.0.
|
|
77
|
+
var version = '2.0.80';
|
|
78
78
|
|
|
79
79
|
function install(Vue) {
|
|
80
80
|
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, 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, Timeline, Toast, Uploader];
|
package/es/media-picker/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Utils
|
|
2
|
-
import { createNamespace, isDef, isPromise
|
|
2
|
+
import { createNamespace, isDef, isPromise } from '../utils';
|
|
3
3
|
import Icon from "../icon";
|
|
4
4
|
import Loading from "../loading";
|
|
5
5
|
import ZtImage from "../image";
|
|
@@ -8,7 +8,7 @@ import ZtMediaPlayer from "../media-player";
|
|
|
8
8
|
import ZtActionSheet from "../action-sheet";
|
|
9
9
|
import ZtGrid from "../grid"; // Types
|
|
10
10
|
|
|
11
|
-
import { MediaAddType, MediaType,
|
|
11
|
+
import { MediaAddType, MediaType, MediaUploadStatus } from "./type";
|
|
12
12
|
import { checkWatermarkConfigSupported, CompressOptions, file2DataURL, ImageProcessor, ResizeOptions, WatermarkOptions } from "@egova/media"; // import components
|
|
13
13
|
|
|
14
14
|
import Toast from '../toast';
|
package/es/pull-refresh/index.js
CHANGED
|
@@ -73,11 +73,13 @@ export default createComponent({
|
|
|
73
73
|
},
|
|
74
74
|
scrollEl: function scrollEl() {
|
|
75
75
|
if (this.scrollElement) {
|
|
76
|
-
|
|
77
|
-
return getTargetDom(this.scrollElement);
|
|
78
|
-
}
|
|
76
|
+
var targetDom = getTargetDom(this.scrollElement);
|
|
79
77
|
|
|
80
|
-
|
|
78
|
+
if (targetDom) {
|
|
79
|
+
return targetDom;
|
|
80
|
+
} else {
|
|
81
|
+
console.warn('请检查props scroll-element元素是否存在!');
|
|
82
|
+
}
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
return getScroller(this.$el);
|
package/lib/index.js
CHANGED
|
@@ -309,7 +309,7 @@ exports.Toast = _toast.default;
|
|
|
309
309
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
|
310
310
|
|
|
311
311
|
exports.Uploader = _uploader.default;
|
|
312
|
-
var version = '2.0.
|
|
312
|
+
var version = '2.0.80';
|
|
313
313
|
exports.version = version;
|
|
314
314
|
|
|
315
315
|
function install(Vue) {
|
|
@@ -85,11 +85,13 @@ var _default = createComponent({
|
|
|
85
85
|
},
|
|
86
86
|
scrollEl: function scrollEl() {
|
|
87
87
|
if (this.scrollElement) {
|
|
88
|
-
|
|
89
|
-
return (0, _scroll.getTargetDom)(this.scrollElement);
|
|
90
|
-
}
|
|
88
|
+
var targetDom = (0, _scroll.getTargetDom)(this.scrollElement);
|
|
91
89
|
|
|
92
|
-
|
|
90
|
+
if (targetDom) {
|
|
91
|
+
return targetDom;
|
|
92
|
+
} else {
|
|
93
|
+
console.warn('请检查props scroll-element元素是否存在!');
|
|
94
|
+
}
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
return (0, _scroll.getScroller)(this.$el);
|