shineout 1.11.8 → 1.11.9

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.
@@ -299,7 +299,7 @@ function (_PureComponent) {
299
299
  }, _react.default.createElement(_Icon.default, {
300
300
  name: "AngleDoubleLeft",
301
301
  className: "left",
302
- disabled: !!(min && _utils.default.compareYear(current, min, -1, this.getOptions()) === -1),
302
+ disabled: !!(min && _utils.default.compareYear(current, min, 1, this.getOptions()) === -1),
303
303
  onClick: this.handlePrevYear
304
304
  }), _react.default.createElement(_Icon.default, {
305
305
  name: "AngleLeft",
@@ -23,7 +23,7 @@ export type ColumnType = 'expand' | 'row-expand'
23
23
 
24
24
  export interface renderSorterParam {status?: 'asc' | 'desc', triggerAsc: () => void, triggerDesc: () => void}
25
25
 
26
- interface CommonColumn<T> {
26
+ export interface CommonColumn<T> {
27
27
  /**
28
28
  * cell align \['left', 'center', 'right'\]
29
29
  *
@@ -374,7 +374,7 @@ Result.propTypes = {
374
374
  renderResult: _propTypes.default.func.isRequired,
375
375
  placeholder: _propTypes.default.string,
376
376
  setInputReset: _propTypes.default.func,
377
- compressed: _propTypes.default.bool,
377
+ compressed: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
378
378
  compressedBound: _propTypes.default.number,
379
379
  renderUnmatched: _propTypes.default.func,
380
380
  innerTitle: _propTypes.default.node,
@@ -485,7 +485,7 @@ TreeSelect.propTypes = (0, _objectSpread2.default)({}, (0, _proptypes.getProps)(
485
485
  onFilter: _propTypes.default.func,
486
486
  onFocus: _propTypes.default.func,
487
487
  empty: _propTypes.default.string,
488
- compressed: _propTypes.default.bool,
488
+ compressed: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.string]),
489
489
  compressedBound: _propTypes.default.number,
490
490
  absolute: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.func]),
491
491
  parentClickExpand: _propTypes.default.bool,
package/css/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as utils from './utils'
3
3
 
4
4
  declare const __default: {
5
5
  utils: typeof utils,
6
- version: '1.11.8'
6
+ version: '1.11.9'
7
7
  }
8
8
 
9
9
  export default __default
@@ -125,7 +125,7 @@ export { default as Switch } from './Switch'
125
125
  import { SwitchProps as __SwitchProps , } from './Switch'
126
126
 
127
127
  export { default as Table } from './Table'
128
- import { TableProps as __TableProps , TableRef as __TableRef,RowEvents as __RowEvents,CheckColumn as __CheckColumn,renderSorterParam as __renderSorterParam , ColumnFix as __ColumnFix,ColumnType as __ColumnType,ColumnOrder as __ColumnOrder,ColumnItem as __ColumnItem } from './Table'
128
+ import { TableProps as __TableProps , TableRef as __TableRef,RowEvents as __RowEvents,CheckColumn as __CheckColumn,CommonColumn as __CommonColumn,renderSorterParam as __renderSorterParam , ColumnFix as __ColumnFix,ColumnType as __ColumnType,ColumnOrder as __ColumnOrder,ColumnItem as __ColumnItem } from './Table'
129
129
 
130
130
  export { default as Tabs } from './Tabs'
131
131
  import { TabsProps as __TabsProps , TabsLinkProps as __TabsLinkProps,TabsPanelProps as __TabsPanelProps , } from './Tabs'
@@ -315,6 +315,7 @@ export namespace TYPE {
315
315
  export type Ref = __TableRef
316
316
  export type RowEvents = __RowEvents
317
317
  export type CheckColumn<T> = __CheckColumn<T>
318
+ export type CommonColumn<T> = __CommonColumn<T>
318
319
  export type renderSorterParam = __renderSorterParam
319
320
  export type ColumnFix = __ColumnFix
320
321
  export type ColumnType = __ColumnType
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.11.8'
227
+ version: '1.11.9'
228
228
  };
229
229
  exports.default = _default;