zartui 1.0.17 → 1.0.18-beta

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 CHANGED
@@ -76,7 +76,7 @@ import Tag from './tag';
76
76
  import Timeline from './timeline';
77
77
  import Toast from './toast';
78
78
  import Uploader from './uploader';
79
- var version = '1.0.17';
79
+ var version = '1.0.18-beta';
80
80
 
81
81
  function install(Vue) {
82
82
  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, PdfViewer, PdfViewerV2, 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];
@@ -17,6 +17,12 @@ export default createComponent({
17
17
  readonly: Boolean,
18
18
  allowHtml: Boolean,
19
19
  itemHeight: Number,
20
+ selectIndexs: {
21
+ type: Array,
22
+ default: function _default() {
23
+ return [];
24
+ }
25
+ },
20
26
  defaultIndexs: {
21
27
  type: Array,
22
28
  default: function _default() {
@@ -45,6 +51,12 @@ export default createComponent({
45
51
  handler: function handler() {
46
52
  this.setDefaultIndexs();
47
53
  }
54
+ },
55
+ selectIndexs: {
56
+ deep: true,
57
+ handler: function handler() {
58
+ this.currentIndexs = this.selectIndexs;
59
+ }
48
60
  }
49
61
  },
50
62
  computed: {
@@ -28,6 +28,12 @@ export default createComponent({
28
28
  return [];
29
29
  }
30
30
  },
31
+ selectIndexs: {
32
+ type: Array,
33
+ default: function _default() {
34
+ return [];
35
+ }
36
+ },
31
37
  options: {
32
38
  type: Array,
33
39
  default: function _default() {
@@ -53,6 +59,12 @@ export default createComponent({
53
59
  };
54
60
  },
55
61
  watch: {
62
+ selectIndexs: {
63
+ deep: true,
64
+ handler: function handler() {
65
+ this.confirmIndexs = this.selectIndexs;
66
+ }
67
+ },
56
68
  showPicker: {
57
69
  handler: function handler(val) {
58
70
  var _this = this;
@@ -199,6 +211,7 @@ export default createComponent({
199
211
  "allowHtml": this.allowHtml,
200
212
  "itemHeight": this.itemPxHeight,
201
213
  "defaultIndexs": this.defaultIndexs,
214
+ "selectIndexs": this.selectIndexs,
202
215
  "initialOptions": formatOptions,
203
216
  "columnCounts": this.columnCounts
204
217
  },
package/lib/index.js CHANGED
@@ -317,7 +317,7 @@ exports.Toast = _toast.default;
317
317
  var _uploader = _interopRequireDefault(require("./uploader"));
318
318
 
319
319
  exports.Uploader = _uploader.default;
320
- var version = '1.0.17';
320
+ var version = '1.0.18-beta';
321
321
  exports.version = version;
322
322
 
323
323
  function install(Vue) {
@@ -25,6 +25,12 @@ var _default2 = createComponent({
25
25
  readonly: Boolean,
26
26
  allowHtml: Boolean,
27
27
  itemHeight: Number,
28
+ selectIndexs: {
29
+ type: Array,
30
+ default: function _default() {
31
+ return [];
32
+ }
33
+ },
28
34
  defaultIndexs: {
29
35
  type: Array,
30
36
  default: function _default() {
@@ -53,6 +59,12 @@ var _default2 = createComponent({
53
59
  handler: function handler() {
54
60
  this.setDefaultIndexs();
55
61
  }
62
+ },
63
+ selectIndexs: {
64
+ deep: true,
65
+ handler: function handler() {
66
+ this.currentIndexs = this.selectIndexs;
67
+ }
56
68
  }
57
69
  },
58
70
  computed: {
@@ -43,6 +43,12 @@ var _default2 = createComponent({
43
43
  return [];
44
44
  }
45
45
  },
46
+ selectIndexs: {
47
+ type: Array,
48
+ default: function _default() {
49
+ return [];
50
+ }
51
+ },
46
52
  options: {
47
53
  type: Array,
48
54
  default: function _default() {
@@ -68,6 +74,12 @@ var _default2 = createComponent({
68
74
  };
69
75
  },
70
76
  watch: {
77
+ selectIndexs: {
78
+ deep: true,
79
+ handler: function handler() {
80
+ this.confirmIndexs = this.selectIndexs;
81
+ }
82
+ },
71
83
  showPicker: {
72
84
  handler: function handler(val) {
73
85
  var _this = this;
@@ -214,6 +226,7 @@ var _default2 = createComponent({
214
226
  "allowHtml": this.allowHtml,
215
227
  "itemHeight": this.itemPxHeight,
216
228
  "defaultIndexs": this.defaultIndexs,
229
+ "selectIndexs": this.selectIndexs,
217
230
  "initialOptions": formatOptions,
218
231
  "columnCounts": this.columnCounts
219
232
  },