zartui 1.0.31 → 1.0.32

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.
@@ -436,7 +436,6 @@ export default createComponent({
436
436
  "lazyRender": this.lazyRender,
437
437
  "currentDate": this.currentDate,
438
438
  "showSubtitle": this.showSubtitle,
439
- "showWeekDays": this.showWeekDays,
440
439
  "allowSameDay": this.allowSameDay,
441
440
  "showMonthTitle": showMonthTitle,
442
441
  "firstDayOfWeek": this.dayOffset
@@ -496,6 +495,7 @@ export default createComponent({
496
495
  "showTitle": this.showTitle,
497
496
  "subtitle": this.subtitle,
498
497
  "showSubtitle": this.showSubtitle,
498
+ "showWeekDays": this.showWeekDays,
499
499
  "firstDayOfWeek": this.dayOffset
500
500
  },
501
501
  "scopedSlots": {
package/es/index.js CHANGED
@@ -78,7 +78,7 @@ import Tag from './tag';
78
78
  import Timeline from './timeline';
79
79
  import Toast from './toast';
80
80
  import Uploader from './uploader';
81
- var version = '1.0.31';
81
+ var version = '1.0.32';
82
82
 
83
83
  function install(Vue) {
84
84
  var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, 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, RadioPicker, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
@@ -1,10 +1,12 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  // Utils
3
- import debounce from 'lodash.debounce';
4
3
  import { createNamespace } from '../utils';
5
4
  import { preventDefault } from '../utils/dom/event';
6
5
  import { unitToPx } from '../utils/format/unit';
7
- import { DEFAULT_WRAP_HEIGHT, radioPickerProps } from './shared'; // Components
6
+ import { DEFAULT_WRAP_HEIGHT, radioPickerProps } from './shared';
7
+
8
+ var _ = require('lodash'); // Components
9
+
8
10
 
9
11
  import Loading from '../loading';
10
12
  import { PopupMixin } from '../mixins/popup';
@@ -394,7 +396,7 @@ export default createComponent({
394
396
  handleSearch: function handleSearch() {
395
397
  var _this6 = this;
396
398
 
397
- return debounce(function (val) {
399
+ return _.debounce(function (val) {
398
400
  _this6.searchVal = val;
399
401
  }, 500);
400
402
  },
@@ -452,7 +452,6 @@ var _default2 = (0, _utils.createComponent)({
452
452
  "lazyRender": this.lazyRender,
453
453
  "currentDate": this.currentDate,
454
454
  "showSubtitle": this.showSubtitle,
455
- "showWeekDays": this.showWeekDays,
456
455
  "allowSameDay": this.allowSameDay,
457
456
  "showMonthTitle": showMonthTitle,
458
457
  "firstDayOfWeek": this.dayOffset
@@ -512,6 +511,7 @@ var _default2 = (0, _utils.createComponent)({
512
511
  "showTitle": this.showTitle,
513
512
  "subtitle": this.subtitle,
514
513
  "showSubtitle": this.showSubtitle,
514
+ "showWeekDays": this.showWeekDays,
515
515
  "firstDayOfWeek": this.dayOffset
516
516
  },
517
517
  "scopedSlots": {
package/lib/index.js CHANGED
@@ -325,7 +325,7 @@ exports.Toast = _toast.default;
325
325
  var _uploader = _interopRequireDefault(require("./uploader"));
326
326
 
327
327
  exports.Uploader = _uploader.default;
328
- var version = '1.0.31';
328
+ var version = '1.0.32';
329
329
  exports.version = version;
330
330
 
331
331
  function install(Vue) {
@@ -7,8 +7,6 @@ exports.default = void 0;
7
7
 
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
 
10
- var _lodash = _interopRequireDefault(require("lodash.debounce"));
11
-
12
10
  var _utils = require("../utils");
13
11
 
14
12
  var _event = require("../utils/dom/event");
@@ -28,7 +26,9 @@ var _search = _interopRequireDefault(require("../search"));
28
26
  var _PickerColumn = _interopRequireDefault(require("./PickerColumn"));
29
27
 
30
28
  // Utils
31
- // Components
29
+ var _ = require('lodash'); // Components
30
+
31
+
32
32
  var _createNamespace = (0, _utils.createNamespace)('radio-picker'),
33
33
  createComponent = _createNamespace[0],
34
34
  bem = _createNamespace[1],
@@ -411,7 +411,7 @@ var _default2 = createComponent({
411
411
  handleSearch: function handleSearch() {
412
412
  var _this6 = this;
413
413
 
414
- return (0, _lodash.default)(function (val) {
414
+ return _.debounce(function (val) {
415
415
  _this6.searchVal = val;
416
416
  }, 500);
417
417
  },