zartui 2.1.0 → 2.1.1

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
@@ -75,7 +75,7 @@ import TextEllipsis from './text-ellipsis';
75
75
  import Timeline from './timeline';
76
76
  import Toast from './toast';
77
77
  import Uploader from './uploader';
78
- var version = '2.1.0';
78
+ var version = '2.1.1';
79
79
 
80
80
  function install(Vue) {
81
81
  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, TextEllipsis, Timeline, Toast, Uploader];
@@ -124,6 +124,8 @@ export default createComponent({
124
124
  }
125
125
  },
126
126
  render: function render(h) {
127
+ var _this2 = this;
128
+
127
129
  return h(Popup, {
128
130
  "class": bem(),
129
131
  "attrs": {
@@ -145,7 +147,11 @@ export default createComponent({
145
147
  "size": "large"
146
148
  },
147
149
  "on": {
148
- "click": this.onClose
150
+ "click": function click(event) {
151
+ event.stopPropagation();
152
+
153
+ _this2.onClose();
154
+ }
149
155
  }
150
156
  }, ["\u5173\u95ED"])]);
151
157
  }
@@ -481,6 +481,11 @@ export default createComponent({
481
481
  "closeOnClickOverlay": this.closeOnClickOverlay,
482
482
  "customOnClickOverlay": this.onClickOverlay,
483
483
  "getContainer": this.getContainer
484
+ },
485
+ "on": {
486
+ "input": function input(val) {
487
+ _this7.$emit('update:showPicker', val);
488
+ }
484
489
  }
485
490
  }, [renderPicker()]);
486
491
  }
package/lib/index.js CHANGED
@@ -313,7 +313,7 @@ exports.Toast = _toast.default;
313
313
  var _uploader = _interopRequireDefault(require("./uploader"));
314
314
 
315
315
  exports.Uploader = _uploader.default;
316
- var version = '2.1.0';
316
+ var version = '2.1.1';
317
317
  exports.version = version;
318
318
 
319
319
  function install(Vue) {
@@ -135,6 +135,8 @@ var _default = createComponent({
135
135
  }
136
136
  },
137
137
  render: function render(h) {
138
+ var _this2 = this;
139
+
138
140
  return h(_popup.default, {
139
141
  "class": bem(),
140
142
  "attrs": {
@@ -156,7 +158,11 @@ var _default = createComponent({
156
158
  "size": "large"
157
159
  },
158
160
  "on": {
159
- "click": this.onClose
161
+ "click": function click(event) {
162
+ event.stopPropagation();
163
+
164
+ _this2.onClose();
165
+ }
160
166
  }
161
167
  }, ["\u5173\u95ED"])]);
162
168
  }
@@ -497,6 +497,11 @@ var _default2 = createComponent({
497
497
  "closeOnClickOverlay": this.closeOnClickOverlay,
498
498
  "customOnClickOverlay": this.onClickOverlay,
499
499
  "getContainer": this.getContainer
500
+ },
501
+ "on": {
502
+ "input": function input(val) {
503
+ _this7.$emit('update:showPicker', val);
504
+ }
500
505
  }
501
506
  }, [renderPicker()]);
502
507
  }
package/lib/zart.js CHANGED
@@ -4274,6 +4274,11 @@ var picker_createNamespace = Object(utils["b" /* createNamespace */])('picker'),
4274
4274
  "closeOnClickOverlay": this.closeOnClickOverlay,
4275
4275
  "customOnClickOverlay": this.onClickOverlay,
4276
4276
  "getContainer": this.getContainer
4277
+ },
4278
+ "on": {
4279
+ "input": function input(val) {
4280
+ _this7.$emit('update:showPicker', val);
4281
+ }
4277
4282
  }
4278
4283
  }, [renderPicker()]);
4279
4284
  }
@@ -20057,6 +20062,8 @@ var media_player_createNamespace = Object(utils["b" /* createNamespace */])('med
20057
20062
  }
20058
20063
  },
20059
20064
  render: function render(h) {
20065
+ var _this2 = this;
20066
+
20060
20067
  return h(popup, {
20061
20068
  "class": media_player_bem(),
20062
20069
  "attrs": {
@@ -20078,7 +20085,11 @@ var media_player_createNamespace = Object(utils["b" /* createNamespace */])('med
20078
20085
  "size": "large"
20079
20086
  },
20080
20087
  "on": {
20081
- "click": this.onClose
20088
+ "click": function click(event) {
20089
+ event.stopPropagation();
20090
+
20091
+ _this2.onClose();
20092
+ }
20082
20093
  }
20083
20094
  }, ["\u5173\u95ED"])]);
20084
20095
  }
@@ -27805,16 +27816,16 @@ const floating_ui_core_esm_size = function (options) {
27805
27816
  widthSide = side;
27806
27817
  heightSide = alignment === 'end' ? 'top' : 'bottom';
27807
27818
  }
27808
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
27809
- const maximumClippingWidth = width - overflow.left - overflow.right;
27810
- const overflowAvailableHeight = floating_ui_utils_esm_min(height - overflow[heightSide], maximumClippingHeight);
27811
- const overflowAvailableWidth = floating_ui_utils_esm_min(width - overflow[widthSide], maximumClippingWidth);
27819
+ const overflowAvailableHeight = height - overflow[heightSide];
27820
+ const overflowAvailableWidth = width - overflow[widthSide];
27812
27821
  const noShift = !state.middlewareData.shift;
27813
27822
  let availableHeight = overflowAvailableHeight;
27814
27823
  let availableWidth = overflowAvailableWidth;
27815
27824
  if (isYAxis) {
27825
+ const maximumClippingWidth = width - overflow.left - overflow.right;
27816
27826
  availableWidth = alignment || noShift ? floating_ui_utils_esm_min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
27817
27827
  } else {
27828
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
27818
27829
  availableHeight = alignment || noShift ? floating_ui_utils_esm_min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
27819
27830
  }
27820
27831
  if (noShift && !alignment) {
@@ -33462,7 +33473,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
33462
33473
 
33463
33474
 
33464
33475
 
33465
- var version = '2.1.0';
33476
+ var version = '2.1.1';
33466
33477
 
33467
33478
  function install(Vue) {
33468
33479
  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, es_picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, steps, es_sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, text_ellipsis, timeline, es_toast, uploader];