shineout 1.10.14 → 1.10.15

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.
@@ -335,35 +335,36 @@ function (_PureComponent) {
335
335
  }
336
336
  };
337
337
 
338
- _proto.disabledRegister = function disabledRegister(disabled, mode) {
339
- this.disabledMap[mode] = disabled;
338
+ _proto.disabledRegister = function disabledRegister(disabled, mode, index) {
339
+ if (index === undefined) {
340
+ this.disabledMap[mode] = disabled;
341
+ return;
342
+ }
343
+
344
+ if (!this.disabledMap[mode]) this.disabledMap[mode] = [];
345
+ this.disabledMap[mode][index] = disabled;
340
346
  };
341
347
 
342
- _proto.handleDisabled = function handleDisabled(date) {
348
+ _proto.handleDisabled = function handleDisabled(date, index) {
343
349
  var mode = this.props.type;
344
350
  var disabledMap = this.disabledMap;
345
- var _this$props3 = this.props,
346
- min = _this$props3.min,
347
- max = _this$props3.max,
348
- range = _this$props3.range,
349
- disabled = _this$props3.disabled,
350
- disabledTime = _this$props3.disabledTime;
351
+ var isRange = index !== undefined;
351
352
 
352
353
  switch (mode) {
353
354
  case 'time':
354
- return _paramUtils.default.handleDisabled(date, min, max, range, disabled, disabledTime);
355
+ return isRange ? disabledMap.time[index](date, undefined, undefined, true) : disabledMap.time(date, undefined, undefined, true);
355
356
 
356
357
  case 'date':
357
- return disabledMap.day(date);
358
+ return isRange ? disabledMap.day[index](date) : disabledMap.day(date);
358
359
 
359
360
  case 'week':
360
- return disabledMap.day(date);
361
+ return isRange ? disabledMap.day[index](date) : disabledMap.day(date);
361
362
 
362
363
  case 'month':
363
- return disabledMap.month(date);
364
+ return isRange ? disabledMap.month[index](date) : disabledMap.month(date);
364
365
 
365
366
  case 'datetime':
366
- return _paramUtils.default.handleDisabled(date, min, max, range, disabled, disabledTime) || disabledMap.day(date);
367
+ return isRange ? disabledMap.time[index](date, undefined, undefined, true) || disabledMap.day[index](date) : disabledMap.time(date, undefined, undefined, true) || disabledMap.day(date);
367
368
 
368
369
  default:
369
370
  return false;
@@ -373,18 +374,18 @@ function (_PureComponent) {
373
374
  _proto.handleTextChange = function handleTextChange(date, index, e) {
374
375
  var _this4 = this;
375
376
 
376
- var _this$props4 = this.props,
377
- disabledTime = _this$props4.disabledTime,
378
- disabled = _this$props4.disabled,
379
- max = _this$props4.max,
380
- min = _this$props4.min,
381
- range = _this$props4.range;
377
+ var _this$props3 = this.props,
378
+ disabledTime = _this$props3.disabledTime,
379
+ disabled = _this$props3.disabled,
380
+ max = _this$props3.max,
381
+ min = _this$props3.min,
382
+ range = _this$props3.range;
382
383
  var format = this.getFormat();
383
384
  var val = date ? _utils.default.format(date, format) : '';
384
385
  var isDisabled;
385
386
 
386
387
  if (disabled || disabledTime || max || min || range) {
387
- isDisabled = this.handleDisabled(date);
388
+ isDisabled = this.handleDisabled(date, index);
388
389
  if (isDisabled) return;
389
390
  }
390
391
 
@@ -394,7 +395,7 @@ function (_PureComponent) {
394
395
  return;
395
396
  }
396
397
 
397
- var value = [].concat((0, _immer.default)(this.props.value, function (draft) {
398
+ var value = [].concat((0, _immer.default)(this.props.value === undefined && range ? [] : this.props.value, function (draft) {
398
399
  draft[index] = val;
399
400
  }));
400
401
  if (_utils.default.compareAsc(value[0], value[1]) > 0) value.push(value.shift());
@@ -467,10 +468,10 @@ function (_PureComponent) {
467
468
  };
468
469
 
469
470
  _proto.renderText = function renderText(value, placeholder, key) {
470
- var _this$props5 = this.props,
471
- inputable = _this$props5.inputable,
472
- formatResult = _this$props5.formatResult,
473
- disabled = _this$props5.disabled;
471
+ var _this$props4 = this.props,
472
+ inputable = _this$props4.inputable,
473
+ formatResult = _this$props4.formatResult,
474
+ disabled = _this$props4.disabled;
474
475
  var date = this.parseDate(value);
475
476
  var className = (0, _classnames.default)((0, _styles.datepickerClass)('txt', this.state["picker" + key] && 'text-focus'), _utils.default.isInvalid(date) && (0, _styles2.inputClass)('placeholder'));
476
477
  var resultFormat = formatResult || this.getFormat();
@@ -494,13 +495,13 @@ function (_PureComponent) {
494
495
  _proto.renderResult = function renderResult() {
495
496
  var _this6 = this;
496
497
 
497
- var _this$props6 = this.props,
498
- disabled = _this$props6.disabled,
499
- range = _this$props6.range,
500
- placeholder = _this$props6.placeholder,
501
- type = _this$props6.type,
502
- innerTitle = _this$props6.innerTitle,
503
- inputable = _this$props6.inputable;
498
+ var _this$props5 = this.props,
499
+ disabled = _this$props5.disabled,
500
+ range = _this$props5.range,
501
+ placeholder = _this$props5.placeholder,
502
+ type = _this$props5.type,
503
+ innerTitle = _this$props5.innerTitle,
504
+ inputable = _this$props5.inputable;
504
505
  var value = this.props.value;
505
506
  if (!value && range) value = []; // const isEmpty = !value || value.length === 0
506
507
 
@@ -536,10 +537,10 @@ function (_PureComponent) {
536
537
  var _this$state = this.state,
537
538
  focus = _this$state.focus,
538
539
  position = _this$state.position;
539
- var _this$props7 = this.props,
540
- absolute = _this$props7.absolute,
541
- zIndex = _this$props7.zIndex,
542
- quickSelect = _this$props7.quickSelect;
540
+ var _this$props6 = this.props,
541
+ absolute = _this$props6.absolute,
542
+ zIndex = _this$props6.zIndex,
543
+ quickSelect = _this$props6.quickSelect;
543
544
  var props = {
544
545
  absolute: absolute,
545
546
  focus: focus,
@@ -564,18 +565,18 @@ function (_PureComponent) {
564
565
  var _this7 = this;
565
566
 
566
567
  if (!this.firstRender) return undefined;
567
- var _this$props8 = this.props,
568
- range = _this$props8.range,
569
- type = _this$props8.type,
570
- value = _this$props8.value,
571
- min = _this$props8.min,
572
- max = _this$props8.max,
573
- disabled = _this$props8.disabled,
574
- allowSingle = _this$props8.allowSingle,
575
- hourStep = _this$props8.hourStep,
576
- minuteStep = _this$props8.minuteStep,
577
- secondStep = _this$props8.secondStep,
578
- disabledTime = _this$props8.disabledTime;
568
+ var _this$props7 = this.props,
569
+ range = _this$props7.range,
570
+ type = _this$props7.type,
571
+ value = _this$props7.value,
572
+ min = _this$props7.min,
573
+ max = _this$props7.max,
574
+ disabled = _this$props7.disabled,
575
+ allowSingle = _this$props7.allowSingle,
576
+ hourStep = _this$props7.hourStep,
577
+ minuteStep = _this$props7.minuteStep,
578
+ secondStep = _this$props7.secondStep,
579
+ disabledTime = _this$props7.disabledTime;
579
580
  var format = this.getFormat();
580
581
  var quicks = this.getQuick(format);
581
582
  var Component = range ? _Range.default : _Picker.default;
@@ -606,12 +607,12 @@ function (_PureComponent) {
606
607
  };
607
608
 
608
609
  _proto.render = function render() {
609
- var _this$props9 = this.props,
610
- range = _this$props9.range,
611
- size = _this$props9.size,
612
- disabled = _this$props9.disabled,
613
- align = _this$props9.align,
614
- innerTitle = _this$props9.innerTitle;
610
+ var _this$props8 = this.props,
611
+ range = _this$props8.range,
612
+ size = _this$props8.size,
613
+ disabled = _this$props8.disabled,
614
+ align = _this$props8.align,
615
+ innerTitle = _this$props8.innerTitle;
615
616
  var focus = this.state.focus;
616
617
  var rtl = (0, _config.isRTL)();
617
618
  var className = (0, _styles.datepickerClass)('inner', range && 'range', size && "size-" + size, focus && 'focus', disabled === true && 'disabled', align && "align-" + align, getCurrentPosition(this.state.position), rtl && 'rtl', innerTitle && 'inner-title');
@@ -54,7 +54,7 @@ function (_PureComponent) {
54
54
  _this.handleTimeChange = _this.handleTimeChange.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
55
55
  _this.handleDisabled = _this.handleDisabled.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
56
56
  _this.formatWithDefaultTime = _this.formatWithDefaultTime.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
57
- props.disabledRegister(_this.handleDisabled, 'day');
57
+ props.disabledRegister(_this.handleDisabled, 'day', props.index);
58
58
  return _this;
59
59
  }
60
60
 
@@ -226,7 +226,7 @@ function (_PureComponent) {
226
226
  } else if (rangeDate && current.getMonth() === date.getMonth()) {
227
227
  hoverProps.onMouseEnter = this.handleDayHover.bind(this, date);
228
228
  classList.push(_utils.default.isSameDay(date, rangeDate[index]) && 'active');
229
- hoverClass = (0, _styles.datepickerClass)(_utils.default.compareAsc(rangeDate[0], date) <= 0 && _utils.default.compareAsc(rangeDate[1], date) >= 0 && 'hover', // Datetime Picker range end datetime classname #330
229
+ hoverClass = (0, _styles.datepickerClass)(_utils.default.compareDay(rangeDate[0], date) <= 0 && _utils.default.compareDay(rangeDate[1], date) >= 0 && 'hover', // Datetime Picker range end datetime classname #330
230
230
  _utils.default.isSameDay(rangeDate[index], date) && "hover-" + (index === 0 ? 'start' : 'end') + " active");
231
231
  } else if (value) {
232
232
  classList.push(_utils.default.isSameDay(date, value) && 'active');
@@ -351,7 +351,7 @@ Day.propTypes = {
351
351
  onChangeSync: _propTypes.default.func,
352
352
  onDayHover: _propTypes.default.func,
353
353
  onModeChange: _propTypes.default.func.isRequired,
354
- range: _propTypes.default.number,
354
+ range: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.bool]),
355
355
  rangeDate: _propTypes.default.array,
356
356
  rangeTemp: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]),
357
357
  showTimePicker: _propTypes.default.bool,
@@ -40,7 +40,7 @@ function (_PureComponent) {
40
40
  _this.handlePrevYear = _this.handleYearChange.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), -1);
41
41
  _this.handleYearClick = _this.handleYearClick.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
42
42
  _this.handleDisabled = _this.handleDisabled.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
43
- props.disabledRegister(_this.handleDisabled, 'month');
43
+ props.disabledRegister(_this.handleDisabled, 'month', props.index);
44
44
  return _this;
45
45
  }
46
46
 
@@ -39,6 +39,8 @@ function (_PureComponent) {
39
39
  _this.handleMinuteChange = _this.handleChange.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), 'minute');
40
40
  _this.handleSecondChange = _this.handleChange.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), 'second');
41
41
  _this.handleAMPMChange = _this.handleChange.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)), 'ampm');
42
+ _this.handleDisabled = _this.handleDisabled.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
43
+ props.disabledRegister(_this.handleDisabled, 'time', props.index);
42
44
  return _this;
43
45
  }
44
46
 
@@ -62,16 +64,25 @@ function (_PureComponent) {
62
64
  return this.props.value || this.defaultValue;
63
65
  };
64
66
 
65
- _proto.handleChange = function handleChange(type, val) {
66
- var _this$props3;
67
-
67
+ _proto.handleDisabled = function handleDisabled(value, val, mode, onlyVaild) {
68
68
  var _this$props2 = this.props,
69
69
  disabled = _this$props2.disabled,
70
- format = _this$props2.format,
71
70
  min = _this$props2.min,
72
71
  max = _this$props2.max,
73
72
  range = _this$props2.range,
74
73
  disabledTime = _this$props2.disabledTime;
74
+
75
+ var _paramUtils$judgeTime = _paramUtils.default.judgeTimeByRange(val, value, mode, min, max, range, disabled, disabledTime),
76
+ isDisabled = _paramUtils$judgeTime[0],
77
+ date = _paramUtils$judgeTime[1];
78
+
79
+ return onlyVaild ? isDisabled : [isDisabled, date];
80
+ };
81
+
82
+ _proto.handleChange = function handleChange(type, val) {
83
+ var _this$props3;
84
+
85
+ var format = this.props.format;
75
86
  var value = this.getValue();
76
87
  var mode = type;
77
88
 
@@ -83,9 +94,9 @@ function (_PureComponent) {
83
94
  }
84
95
  }
85
96
 
86
- var _paramUtils$judgeTime = _paramUtils.default.judgeTimeByRange(val, value, mode, min, max, range, disabled, disabledTime),
87
- isDisabled = _paramUtils$judgeTime[0],
88
- date = _paramUtils$judgeTime[1];
97
+ var _this$handleDisabled = this.handleDisabled(value, val, mode),
98
+ isDisabled = _this$handleDisabled[0],
99
+ date = _this$handleDisabled[1];
89
100
 
90
101
  if (isDisabled) return;
91
102
 
@@ -206,14 +217,15 @@ Time.propTypes = {
206
217
  min: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]),
207
218
  max: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]),
208
219
  onChange: _propTypes.default.func.isRequired,
209
- range: _propTypes.default.number,
220
+ range: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.bool]),
210
221
  value: _propTypes.default.object,
211
222
  defaultTime: _propTypes.default.array,
212
223
  index: _propTypes.default.number,
213
224
  hourStep: _propTypes.default.number,
214
225
  minuteStep: _propTypes.default.number,
215
226
  secondStep: _propTypes.default.number,
216
- disabledTime: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func])
227
+ disabledTime: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
228
+ disabledRegister: _propTypes.default.func
217
229
  };
218
230
  var _default = Time;
219
231
  exports.default = _default;
@@ -186,7 +186,7 @@ TimeScroll.propTypes = {
186
186
  disabled: _propTypes.default.func,
187
187
  min: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]),
188
188
  max: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.string]),
189
- range: _propTypes.default.number,
189
+ range: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.bool]),
190
190
  current: _propTypes.default.object,
191
191
  mode: _propTypes.default.string,
192
192
  disabledTime: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func])
@@ -7,6 +7,8 @@ exports.default = void 0;
7
7
 
8
8
  var _utils = _interopRequireDefault(require("./utils"));
9
9
 
10
+ var _is = require("../utils/is");
11
+
10
12
  var TIME_FORMAT = _utils.default.TIME_FORMAT,
11
13
  compareAsc = _utils.default.compareAsc,
12
14
  addSeconds = _utils.default.addSeconds,
@@ -61,12 +63,12 @@ function handleDisabled() {
61
63
 
62
64
  if (!isDisabled && min) {
63
65
  if (compareAsc(date, min) < 0) return true;
64
- if (range && compareAsc(date, addSeconds(min, range)) > 0) return true;
66
+ if (range && (0, _is.isNumber)(range) && compareAsc(date, addSeconds(min, range)) > 0) return true;
65
67
  }
66
68
 
67
69
  if (!isDisabled && max) {
68
70
  if (compareAsc(date, max) > 0) return true;
69
- if (range && compareAsc(date, addSeconds(max, -range)) < 0) return true;
71
+ if (range && (0, _is.isNumber)(range) && compareAsc(date, addSeconds(max, -range)) < 0) return true;
70
72
  }
71
73
 
72
74
  return false;
@@ -202,6 +202,13 @@ function toDateWithFormat(dirtyDate, fmt, def) {
202
202
  return date;
203
203
  }
204
204
 
205
+ function compareDay(dateLeft, dateRight) {
206
+ if (!dateLeft || !dateRight) return NaN;
207
+ var left = new Date(dateLeft.getFullYear(), dateLeft.getMonth(), dateLeft.getDate());
208
+ var right = new Date(dateRight.getFullYear(), dateRight.getMonth(), dateRight.getDate());
209
+ return compareAsc(left, right);
210
+ }
211
+
205
212
  function compareMonth(dateLeft, dateRight, pad) {
206
213
  if (pad === void 0) {
207
214
  pad = 0;
@@ -300,6 +307,7 @@ var _default = {
300
307
  cloneTime: cloneTime,
301
308
  compareAsc: compareAsc,
302
309
  compareMonth: compareMonth,
310
+ compareDay: compareDay,
303
311
  getDaysOfMonth: getDaysOfMonth,
304
312
  format: formatted,
305
313
  isInvalid: isInvalid,
@@ -119,16 +119,12 @@ function (_PureComponent) {
119
119
  this.clearClickAway();
120
120
  };
121
121
 
122
- _proto.getText = function getText(key) {
123
- return this.props.text[key] || (0, _locale.getLocale)(key);
124
- };
125
-
126
122
  _proto.getDisabledStatus = function getDisabledStatus() {
127
- if (typeof this.props.disabled == 'function') {
123
+ if (typeof this.props.disabled === 'function') {
128
124
  return this.props.disabled;
129
- } else {
130
- return !!this.props.disabled;
131
125
  }
126
+
127
+ return !!this.props.disabled;
132
128
  };
133
129
 
134
130
  _proto.getFocusSelected = function getFocusSelected() {
@@ -473,19 +469,19 @@ function (_PureComponent) {
473
469
  _proto.handleDelete = function handleDelete(e) {
474
470
  var _this$props10 = this.props,
475
471
  multiple = _this$props10.multiple,
476
- filterText = _this$props10.filterText,
472
+ inputText = _this$props10.inputText,
477
473
  datum = _this$props10.datum,
478
474
  value = _this$props10.value,
479
475
  data = _this$props10.data;
480
476
  if (!multiple) return;
481
477
 
482
- if (filterText) {
478
+ if (inputText) {
483
479
  this.deleteLock = true;
484
480
  } else if (this.deleteLock) {
485
481
  this.cancelDeleteLock();
486
482
  }
487
483
 
488
- if (filterText || this.deleteLock) return;
484
+ if (inputText || this.deleteLock) return;
489
485
  if (!value || !value.length) return;
490
486
  e.preventDefault();
491
487
  var raws = Array.isArray(value) ? value : [value];
@@ -698,7 +694,8 @@ Select.propTypes = (0, _objectSpread2.default)({}, (0, _proptypes.getProps)(_pro
698
694
  reFocus: _propTypes.default.bool,
699
695
  header: _propTypes.default.node,
700
696
  maxLength: _propTypes.default.number,
701
- innerTitle: _propTypes.default.node
697
+ innerTitle: _propTypes.default.node,
698
+ inputText: _propTypes.default.string
702
699
  });
703
700
  Select.defaultProps = {
704
701
  clearable: false,
@@ -40,7 +40,8 @@ var _default = function _default(Origin) {
40
40
  _this.state = {
41
41
  innerFilter: undefined,
42
42
  innerData: undefined,
43
- filterText: ''
43
+ filterText: '',
44
+ text: ''
44
45
  };
45
46
  _this.handleCreate = _this.handleCreate.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
46
47
  _this.handleFilter = _this.handleFilter.bind((0, _assertThisInitialized2.default)((0, _assertThisInitialized2.default)(_this)));
@@ -139,7 +140,10 @@ var _default = function _default(Origin) {
139
140
  var _this$props5 = this.props,
140
141
  filterDelay = _this$props5.filterDelay,
141
142
  onFilter = _this$props5.onFilter,
142
- onCreate = _this$props5.onCreate; // not filter
143
+ onCreate = _this$props5.onCreate;
144
+ this.setState({
145
+ text: text
146
+ }); // not filter
143
147
 
144
148
  if (!text) {
145
149
  this.setState({
@@ -246,11 +250,13 @@ var _default = function _default(Origin) {
246
250
  other = (0, _objectWithoutPropertiesLoose2.default)(_this$props8, ["treeData", "onFilter", "onCreate"]);
247
251
  var _this$state2 = this.state,
248
252
  filterText = _this$state2.filterText,
249
- innerData = _this$state2.innerData;
253
+ innerData = _this$state2.innerData,
254
+ text = _this$state2.text;
250
255
  var filterFn = onFilter || onCreate ? this.handleFilter : undefined;
251
256
  var dataGenerator = treeData ? this.filterTreeData : this.filterData;
252
257
  var props = (0, _objectSpread2.default)({}, other, {
253
258
  filterText: filterText,
259
+ inputText: text,
254
260
  result: this.getResultByValues(),
255
261
  inputable: !!onCreate,
256
262
  onCreate: onCreate ? this.handleCreate : undefined,
package/css/Table/Tr.js CHANGED
@@ -9,6 +9,8 @@ exports.default = exports.ROW_HEIGHT_UPDATE_EVENT = void 0;
9
9
 
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
 
12
+ var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread"));
13
+
12
14
  var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
13
15
 
14
16
  var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
@@ -233,7 +235,14 @@ function (_Component) {
233
235
  rowClassName = _this$props6.rowClassName,
234
236
  treeExpandKeys = _this$props6.treeExpandKeys,
235
237
  rowEvents = _this$props6.rowEvents,
236
- other = (0, _objectWithoutPropertiesLoose2.default)(_this$props6, ["columns", "data", "rowData", "striped", "index", "expandRender", "offsetLeft", "offsetRight", "hasNotRenderRows", "rowClassName", "treeExpandKeys", "rowEvents"]);
238
+ reset = (0, _objectWithoutPropertiesLoose2.default)(_this$props6, ["columns", "data", "rowData", "striped", "index", "expandRender", "offsetLeft", "offsetRight", "hasNotRenderRows", "rowClassName", "treeExpandKeys", "rowEvents"]);
239
+ var other = Object.keys(reset).filter(function (key) {
240
+ return !['format', 'prediction', 'value', 'onChange'].includes(key);
241
+ }).reduce(function (r, key) {
242
+ var _objectSpread2;
243
+
244
+ return (0, _objectSpread3.default)({}, r, (_objectSpread2 = {}, _objectSpread2[key] = reset[key], _objectSpread2));
245
+ }, {});
237
246
  var tds = [];
238
247
  var skip = 0;
239
248
 
package/css/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Created by scripts/src-index.js.
2
2
  import * as utils from './utils'
3
3
 
4
- export default { utils, version: '1.10.14' }
4
+ export default { utils, version: '1.10.15' }
5
5
  export { utils }
6
6
  export { setLocale } from './locale'
7
7
  export { color, style } from './utils/expose'
package/css/index.js CHANGED
@@ -224,6 +224,6 @@ exports.Upload = _Upload.default;
224
224
  // Created by scripts/src-index.js.
225
225
  var _default = {
226
226
  utils: utils,
227
- version: '1.10.14'
227
+ version: '1.10.15'
228
228
  };
229
229
  exports.default = _default;