@sheinx/base 3.9.17 → 3.9.18-beta.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAmB1E,QAAA,MAAM,UAAU,gHAgWf,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAmB1E,QAAA,MAAM,UAAU,gHAkWf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -198,11 +198,13 @@ var DatePicker = function DatePicker(props0) {
198
198
  });
199
199
  var handleFocus = (0, _hooks.usePersistFn)(function (e) {
200
200
  var _props$onFocus;
201
+ if (disabledStatus === 'all') return;
201
202
  setFocused(true);
202
203
  (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props, e);
203
204
  });
204
205
  var handleBlur = (0, _hooks.usePersistFn)(function (e, index) {
205
206
  var _props$onBlur;
207
+ if (disabledStatus === 'all') return;
206
208
  setFocused(false);
207
209
  (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props, e, index);
208
210
  if (props.needConfirm) return;
@@ -289,7 +289,9 @@ var _default = exports.default = function _default(props) {
289
289
  return trRefs.current[i] = el;
290
290
  },
291
291
  children: tr
292
- }, i);
292
+ }, "".concat(i, "-").concat(tr.map(function (item) {
293
+ return item.props.colSpan;
294
+ }).toString()));
293
295
  });
294
296
  };
295
297
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("thead", {
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAmB1E,QAAA,MAAM,UAAU,gHAgWf,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAmB1E,QAAA,MAAM,UAAU,gHAkWf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -191,11 +191,13 @@ var DatePicker = function DatePicker(props0) {
191
191
  });
192
192
  var handleFocus = usePersistFn(function (e) {
193
193
  var _props$onFocus;
194
+ if (disabledStatus === 'all') return;
194
195
  setFocused(true);
195
196
  (_props$onFocus = props.onFocus) === null || _props$onFocus === void 0 || _props$onFocus.call(props, e);
196
197
  });
197
198
  var handleBlur = usePersistFn(function (e, index) {
198
199
  var _props$onBlur;
200
+ if (disabledStatus === 'all') return;
199
201
  setFocused(false);
200
202
  (_props$onBlur = props.onBlur) === null || _props$onBlur === void 0 || _props$onBlur.call(props, e, index);
201
203
  if (props.needConfirm) return;
@@ -282,7 +282,9 @@ export default (function (props) {
282
282
  return trRefs.current[i] = el;
283
283
  },
284
284
  children: tr
285
- }, i);
285
+ }, "".concat(i, "-").concat(tr.map(function (item) {
286
+ return item.props.colSpan;
287
+ }).toString()));
286
288
  });
287
289
  };
288
290
  return /*#__PURE__*/_jsx("thead", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.17",
3
+ "version": "3.9.18-beta.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.9.17",
13
+ "@sheinx/hooks": "3.9.18-beta.2",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"