beca-ui 2.0.19-beta.97 → 2.0.19-beta.99

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/beca-ui.js CHANGED
@@ -568,19 +568,25 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
568
568
  }, reactDom_development.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
569
569
  }()), reactDom_development;
570
570
  }
571
- function checkDCE$1() {
572
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
573
- if (process.env.NODE_ENV !== "production")
574
- throw new Error("^_^");
575
- try {
576
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE$1);
577
- } catch (a) {
578
- console.error(a);
571
+ var hasRequiredReactDom;
572
+ function requireReactDom() {
573
+ if (hasRequiredReactDom)
574
+ return reactDom.exports;
575
+ hasRequiredReactDom = 1;
576
+ function a() {
577
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
578
+ if (process.env.NODE_ENV !== "production")
579
+ throw new Error("^_^");
580
+ try {
581
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a);
582
+ } catch (s) {
583
+ console.error(s);
584
+ }
579
585
  }
580
586
  }
587
+ return process.env.NODE_ENV === "production" ? (a(), reactDom.exports = requireReactDom_production()) : reactDom.exports = requireReactDom_development(), reactDom.exports;
581
588
  }
582
- process.env.NODE_ENV === "production" ? (checkDCE$1(), reactDom.exports = requireReactDom_production()) : reactDom.exports = requireReactDom_development();
583
- var reactDomExports = reactDom.exports;
589
+ var reactDomExports = requireReactDom();
584
590
  const ReactDOM = /* @__PURE__ */ getDefaultExportFromCjs$1(reactDomExports), ReactDOM$1 = /* @__PURE__ */ _mergeNamespaces({
585
591
  __proto__: null,
586
592
  default: ReactDOM
@@ -84650,7 +84656,7 @@ function requireReactDomClient_production() {
84650
84656
  if (hasRequiredReactDomClient_production)
84651
84657
  return reactDomClient_production;
84652
84658
  hasRequiredReactDomClient_production = 1;
84653
- var a = requireScheduler(), s = React__default$1, c = reactDomExports;
84659
+ var a = requireScheduler(), s = React__default$1, c = requireReactDom();
84654
84660
  function u(w) {
84655
84661
  var O = "https://react.dev/errors/" + w;
84656
84662
  if (1 < arguments.length) {
@@ -107100,7 +107106,7 @@ Check the render method of %s.`,
107100
107106
  ));
107101
107107
  }
107102
107108
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
107103
- var _a = requireScheduler(), Zd = React__default$1, Vp = reactDomExports, Up = Symbol.for("react.element"), vl = Symbol.for("react.transitional.element"), ad = Symbol.for("react.portal"), yl = Symbol.for("react.fragment"), x1 = Symbol.for("react.strict_mode"), S1 = Symbol.for("react.profiler"), Ar = Symbol.for("react.provider"), Zf = Symbol.for("react.consumer"), Bi = Symbol.for("react.context"), od = Symbol.for("react.forward_ref"), $1 = Symbol.for("react.suspense"), Jf = Symbol.for("react.suspense_list"), Yc = Symbol.for("react.memo"), jo = Symbol.for("react.lazy"), sd = Symbol.for("react.offscreen"), ys = Symbol.for("react.memo_cache_sentinel"), Vh = Symbol.iterator, Am = Symbol.for("react.client.reference"), Ht = Zd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, wn = Object.assign, Zc = 0, dr, wa, co, nc, _1, w1, Qf;
107109
+ var _a = requireScheduler(), Zd = React__default$1, Vp = requireReactDom(), Up = Symbol.for("react.element"), vl = Symbol.for("react.transitional.element"), ad = Symbol.for("react.portal"), yl = Symbol.for("react.fragment"), x1 = Symbol.for("react.strict_mode"), S1 = Symbol.for("react.profiler"), Ar = Symbol.for("react.provider"), Zf = Symbol.for("react.consumer"), Bi = Symbol.for("react.context"), od = Symbol.for("react.forward_ref"), $1 = Symbol.for("react.suspense"), Jf = Symbol.for("react.suspense_list"), Yc = Symbol.for("react.memo"), jo = Symbol.for("react.lazy"), sd = Symbol.for("react.offscreen"), ys = Symbol.for("react.memo_cache_sentinel"), Vh = Symbol.iterator, Am = Symbol.for("react.client.reference"), Ht = Zd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, wn = Object.assign, Zc = 0, dr, wa, co, nc, _1, w1, Qf;
107104
107110
  k.__reactDisabledLog = !0;
107105
107111
  var E1, Wp, ld = !1, e0 = new (typeof WeakMap == "function" ? WeakMap : Map)(), Ea = null, yi = !1, Qa = Array.isArray, er = Vp.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ja = Object.freeze({
107106
107112
  pending: !1,
@@ -115176,7 +115182,7 @@ Object.defineProperty(DraggableCore$2, "__esModule", {
115176
115182
  value: !0
115177
115183
  });
115178
115184
  DraggableCore$2.default = void 0;
115179
- var React$2 = _interopRequireWildcard$2(React__default$1), _propTypes$4 = _interopRequireDefault$K(propTypesExports), _reactDom = _interopRequireDefault$K(reactDomExports), _domFns = domFns, _positionFns = positionFns, _shims = shims, _log = _interopRequireDefault$K(log$1);
115185
+ var React$2 = _interopRequireWildcard$2(React__default$1), _propTypes$4 = _interopRequireDefault$K(propTypesExports), _reactDom = _interopRequireDefault$K(requireReactDom()), _domFns = domFns, _positionFns = positionFns, _shims = shims, _log = _interopRequireDefault$K(log$1);
115180
115186
  function _interopRequireDefault$K(a) {
115181
115187
  return a && a.__esModule ? a : { default: a };
115182
115188
  }
@@ -115492,7 +115498,7 @@ _defineProperty$6(DraggableCore$1, "defaultProps", {
115492
115498
  return m.default;
115493
115499
  }
115494
115500
  }), a.default = void 0;
115495
- var s = C(React__default$1), c = v(propTypesExports), u = v(reactDomExports), d = v(require$$3), f = domFns, p = positionFns, h = shims, m = v(DraggableCore$2), g = v(log$1);
115501
+ var s = C(React__default$1), c = v(propTypesExports), u = v(requireReactDom()), d = v(require$$3), f = domFns, p = positionFns, h = shims, m = v(DraggableCore$2), g = v(log$1);
115496
115502
  function v(A) {
115497
115503
  return A && A.__esModule ? A : { default: A };
115498
115504
  }
@@ -116713,6 +116719,7 @@ const ResizableComponent = Resizable, ResizableTitle = (a) => {
116713
116719
  Button,
116714
116720
  {
116715
116721
  type: "primary",
116722
+ status: "default",
116716
116723
  onClick: h,
116717
116724
  ...u,
116718
116725
  className: classNames$1(
@@ -116957,7 +116964,10 @@ const InputNumber = (a) => {
116957
116964
  const { popupClassName: s } = a;
116958
116965
  let c = "beca-select-popup";
116959
116966
  return s && (c += " " + s), c;
116960
- }, labelAndValueFilterOption = (a, s) => ((s == null ? void 0 : s.label) ?? "").toLowerCase().includes(a.toLowerCase()), childrenAndValueFilterOption = (a, s) => {
116967
+ }, labelAndValueFilterOption = (a, s) => {
116968
+ var c;
116969
+ return (c = (s == null ? void 0 : s.label) ?? "") == null ? void 0 : c.toString().toLowerCase().includes(a == null ? void 0 : a.toString().toLowerCase());
116970
+ }, childrenAndValueFilterOption = (a, s) => {
116961
116971
  var c, u, d;
116962
116972
  return ((d = (u = (c = s == null ? void 0 : s.children) == null ? void 0 : c.toString()) == null ? void 0 : u.toLowerCase()) == null ? void 0 : d.indexOf(a.toLowerCase())) >= 0;
116963
116973
  }, Select = forwardRef(
@@ -3,6 +3,6 @@ import type { UploadChangeParam as AntUploadChangeParam } from "antd/es/upload";
3
3
  import type { RcFile as AntRcFile, UploadFile as AntUploadFile } from "antd/es/upload/interface";
4
4
  export interface UploadProps extends AntUploadProps {
5
5
  }
6
- export type UploadChangeParam<T> = AntUploadChangeParam<T>;
6
+ export type UploadChangeParam<T = any> = AntUploadChangeParam<T>;
7
7
  export type RcFile = AntRcFile;
8
- export type UploadFile<T> = AntUploadFile<T>;
8
+ export type UploadFile<T = any> = AntUploadFile<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.97",
3
+ "version": "2.0.19-beta.99",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {