zartui 1.0.17 → 1.0.18

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';
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';
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
  },
package/lib/zart.js CHANGED
@@ -78548,6 +78548,12 @@ function MultiplePickerOptions_isOptionDisabled(option) {
78548
78548
  readonly: Boolean,
78549
78549
  allowHtml: Boolean,
78550
78550
  itemHeight: Number,
78551
+ selectIndexs: {
78552
+ type: Array,
78553
+ default: function _default() {
78554
+ return [];
78555
+ }
78556
+ },
78551
78557
  defaultIndexs: {
78552
78558
  type: Array,
78553
78559
  default: function _default() {
@@ -78576,6 +78582,12 @@ function MultiplePickerOptions_isOptionDisabled(option) {
78576
78582
  handler: function handler() {
78577
78583
  this.setDefaultIndexs();
78578
78584
  }
78585
+ },
78586
+ selectIndexs: {
78587
+ deep: true,
78588
+ handler: function handler() {
78589
+ this.currentIndexs = this.selectIndexs;
78590
+ }
78579
78591
  }
78580
78592
  },
78581
78593
  computed: {
@@ -78727,6 +78739,12 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
78727
78739
  return [];
78728
78740
  }
78729
78741
  },
78742
+ selectIndexs: {
78743
+ type: Array,
78744
+ default: function _default() {
78745
+ return [];
78746
+ }
78747
+ },
78730
78748
  options: {
78731
78749
  type: Array,
78732
78750
  default: function _default() {
@@ -78752,6 +78770,12 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
78752
78770
  };
78753
78771
  },
78754
78772
  watch: {
78773
+ selectIndexs: {
78774
+ deep: true,
78775
+ handler: function handler() {
78776
+ this.confirmIndexs = this.selectIndexs;
78777
+ }
78778
+ },
78755
78779
  showPicker: {
78756
78780
  handler: function handler(val) {
78757
78781
  var _this = this;
@@ -78898,6 +78922,7 @@ var multiple_picker_createNamespace = Object(utils["b" /* createNamespace */])('
78898
78922
  "allowHtml": this.allowHtml,
78899
78923
  "itemHeight": this.itemPxHeight,
78900
78924
  "defaultIndexs": this.defaultIndexs,
78925
+ "selectIndexs": this.selectIndexs,
78901
78926
  "initialOptions": formatOptions,
78902
78927
  "columnCounts": this.columnCounts
78903
78928
  },
@@ -86167,7 +86192,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
86167
86192
 
86168
86193
 
86169
86194
 
86170
- var version = '1.0.17';
86195
+ var version = '1.0.18';
86171
86196
 
86172
86197
  function install(Vue) {
86173
86198
  var components = [action_sheet, es_area, avatar, back_top, badge, es_button, calendar, cascader, 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, grid, grid_item, hierarchy_select, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, lazyload, es_list, es_loading, locale["a" /* default */], media_picker, media_player, multiple_picker, nav_bar, notice_bar, number_keyboard, es_overlay, password_input, pdf_viewer, pdf_viewer_v2, es_picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, es_steps, es_sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, timeline, es_toast, uploader];