uiw 4.13.10 → 4.13.11

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/dist/uiw.js CHANGED
@@ -381,7 +381,7 @@ __webpack_require__.d(__webpack_exports__, {
381
381
  "Steps": () => (/* reexport */ react_steps_esm),
382
382
  "SubMenu": () => (/* reexport */ SubMenu),
383
383
  "Switch": () => (/* reexport */ react_switch_esm),
384
- "Table": () => (/* reexport */ react_table_esm),
384
+ "Table": () => (/* reexport */ Table),
385
385
  "Tabs": () => (/* reexport */ Tabs),
386
386
  "Tag": () => (/* reexport */ react_tag_esm),
387
387
  "Textarea": () => (/* reexport */ react_textarea_esm),
@@ -3734,7 +3734,7 @@ function DatePicker(props) {
3734
3734
 
3735
3735
  setType(curType);
3736
3736
  } else {
3737
- var currentDate = new Date(selectDate || selectPanelDate);
3737
+ var currentDate = new Date(selectPanelDate);
3738
3738
  var month = currentDate.getMonth();
3739
3739
 
3740
3740
  if (curType === 'prev') {
@@ -3752,7 +3752,7 @@ function DatePicker(props) {
3752
3752
  }
3753
3753
 
3754
3754
  setSelectPanelDate(curType === 'today' ? today : currentDate);
3755
- setSelectDate(curType === 'today' ? today : currentDate);
3755
+ curType === 'today' && setSelectDate(today);
3756
3756
  setType('day');
3757
3757
  }
3758
3758
  }
@@ -8860,7 +8860,7 @@ var Thead_excluded = ["prefixCls", "className", "data", "onCellHead"],
8860
8860
 
8861
8861
 
8862
8862
 
8863
- /* harmony default export */ const Thead = (function (props) {
8863
+ function TheadComponent(props) {
8864
8864
  if (props === void 0) {
8865
8865
  props = {};
8866
8866
  }
@@ -8902,7 +8902,7 @@ var Thead_excluded = ["prefixCls", "className", "data", "onCellHead"],
8902
8902
  })
8903
8903
  }, rowNum))
8904
8904
  }));
8905
- });
8905
+ }
8906
8906
 
8907
8907
  ;// CONCATENATED MODULE: ../react-table/esm/util.js
8908
8908
  /**
@@ -8964,7 +8964,7 @@ function getRowspanNum(data, child) {
8964
8964
  * JSON Array => Array
8965
8965
  * @param {Array} date
8966
8966
  */
8967
- var getLevelItems = (data, result) => {
8967
+ function getLevelItems(data, result) {
8968
8968
  if (!result) {
8969
8969
  result = {
8970
8970
  header: [],
@@ -9044,13 +9044,13 @@ var getLevelItems = (data, result) => {
9044
9044
  }
9045
9045
 
9046
9046
  return result;
9047
- };
9047
+ }
9048
9048
  /**
9049
9049
  * Get all columns keys
9050
9050
  * @param {Array} data
9051
9051
  */
9052
9052
 
9053
- var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
9053
+ function getAllColumnsKeys(data, keys) {
9054
9054
  if (keys === void 0) {
9055
9055
  keys = [];
9056
9056
  }
@@ -9064,7 +9064,7 @@ var getAllColumnsKeys = function getAllColumnsKeys(data, keys) {
9064
9064
  }
9065
9065
 
9066
9066
  return keys;
9067
- };
9067
+ }
9068
9068
 
9069
9069
  ;// CONCATENATED MODULE: ../react-table/esm/index.js
9070
9070
 
@@ -9078,7 +9078,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9078
9078
 
9079
9079
 
9080
9080
 
9081
- /* harmony default export */ const react_table_esm = (function (props) {
9081
+ function Table(props) {
9082
9082
  if (props === void 0) {
9083
9083
  props = {};
9084
9084
  }
@@ -9117,7 +9117,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9117
9117
  } : {},
9118
9118
  children: [title && /*#__PURE__*/(0,jsx_runtime.jsx)("caption", {
9119
9119
  children: title
9120
- }), columns && columns.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(Thead, {
9120
+ }), columns && columns.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(TheadComponent, {
9121
9121
  onCellHead: onCellHead,
9122
9122
  data: header
9123
9123
  }), data && data.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("tbody", {
@@ -9178,7 +9178,7 @@ var react_table_esm_excluded = ["prefixCls", "className", "columns", "data", "ti
9178
9178
  children: footer
9179
9179
  })]
9180
9180
  });
9181
- });
9181
+ }
9182
9182
 
9183
9183
  ;// CONCATENATED MODULE: ../react-tabs/esm/Pane.js
9184
9184