master-components-react 1.17.9 → 1.17.10

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.
@@ -2477,7 +2477,7 @@ zr.prototype.fire = function() {
2477
2477
  zr.prototype.fired = function() {
2478
2478
  return this._fired;
2479
2479
  };
2480
- var ct = function(e) {
2480
+ var dt = function(e) {
2481
2481
  return new zr(e);
2482
2482
  }, SI = [{
2483
2483
  method: "resolve",
@@ -2494,7 +2494,7 @@ var ct = function(e) {
2494
2494
  var e = this;
2495
2495
  this._state = "pending", this._promise = {}, SI.forEach((function(t) {
2496
2496
  var i = t.method;
2497
- this[i + "Callbacks"] = new ct(), this[i] = (function() {
2497
+ this[i + "Callbacks"] = new dt(), this[i] = (function() {
2498
2498
  return this[i + "With"](this._promise, arguments);
2499
2499
  }).bind(this), this._promise[t.handler] = function(n) {
2500
2500
  if (!n)
@@ -2954,7 +2954,7 @@ function xe() {
2954
2954
  }
2955
2955
  class Mg {
2956
2956
  constructor() {
2957
- this.memory = [], this.callbacks = ct();
2957
+ this.memory = [], this.callbacks = dt();
2958
2958
  }
2959
2959
  add(t) {
2960
2960
  F(this.memory, (i, n) => t.apply(t, n)), this.callbacks.add(t);
@@ -3284,7 +3284,7 @@ function Wg(e, t, i) {
3284
3284
  }
3285
3285
  CF.forEach((e) => Wg(e, (t) => t[e]));
3286
3286
  _F(Wg);
3287
- var LI = ct(), FI = ct();
3287
+ var LI = dt(), FI = dt();
3288
3288
  A.set = function(e) {
3289
3289
  LI.fire(), A.inject(e), PI(e.Event), FI.fire();
3290
3290
  };
@@ -4267,7 +4267,7 @@ var Df = [], XF = Gr(() => {
4267
4267
  };
4268
4268
  const ur = An(XI);
4269
4269
  var so = function() {
4270
- var e, t = ct(), i = t.add, n = t.remove;
4270
+ var e, t = dt(), i = t.add, n = t.remove;
4271
4271
  if (!Ue())
4272
4272
  return t;
4273
4273
  var r = function() {
@@ -4325,7 +4325,7 @@ class bo {
4325
4325
  });
4326
4326
  else {
4327
4327
  var n = this._events[t];
4328
- n || (n = ct({
4328
+ n || (n = dt({
4329
4329
  syncStrategy: this._options.syncStrategy
4330
4330
  }), this._events[t] = n);
4331
4331
  var r = n.originalAdd || n.add;
@@ -4349,7 +4349,7 @@ var JF = Ye(), ZI = function() {
4349
4349
  } catch {
4350
4350
  }
4351
4351
  return e;
4352
- }, eM = ur.add, Rh = ct(), QI = v(), va = /* @__PURE__ */ function() {
4352
+ }, eM = ur.add, Rh = dt(), QI = v(), va = /* @__PURE__ */ function() {
4353
4353
  var e;
4354
4354
  return function(t) {
4355
4355
  if (!arguments.length)
@@ -4425,7 +4425,7 @@ var tM = bu(), eT = Ye(), iM = {
4425
4425
  };
4426
4426
  class rM {
4427
4427
  constructor(t) {
4428
- this._window = (t == null ? void 0 : t.window) || eT, this._realDevice = this._getDevice(), this._currentDevice = void 0, this._currentOrientation = void 0, this._eventsStrategy = new bo(this), this.changed = ct(), Ue() && (ur.add(this._recalculateOrientation.bind(this)), so.add(this._recalculateOrientation.bind(this)));
4428
+ this._window = (t == null ? void 0 : t.window) || eT, this._realDevice = this._getDevice(), this._currentDevice = void 0, this._currentOrientation = void 0, this._eventsStrategy = new bo(this), this.changed = dt(), Ue() && (ur.add(this._recalculateOrientation.bind(this)), so.add(this._recalculateOrientation.bind(this)));
4429
4429
  }
4430
4430
  current(t) {
4431
4431
  if (t) {
@@ -4794,7 +4794,7 @@ var uy = (e) => e.charAt(2).toLowerCase() + e.substr(3), hM = (e) => e.indexOf("
4794
4794
  _optionChangedCallbacks: t,
4795
4795
  _disposingCallbacks: i
4796
4796
  } = e;
4797
- this.NAME = wu(this.constructor), this._eventsStrategy = bo.create(this, e.eventsStrategy), this._updateLockCount = 0, this._optionChangedCallbacks = t || ct(), this._disposingCallbacks = i || ct(), this.postponedOperations = new cM(), this._createOptions(e);
4797
+ this.NAME = wu(this.constructor), this._eventsStrategy = bo.create(this, e.eventsStrategy), this._updateLockCount = 0, this._optionChangedCallbacks = t || dt(), this._disposingCallbacks = i || dt(), this.postponedOperations = new cM(), this._createOptions(e);
4798
4798
  },
4799
4799
  _createOptions(e) {
4800
4800
  this.beginUpdate();
@@ -5034,7 +5034,7 @@ var uy = (e) => e.charAt(2).toLowerCase() + e.substr(3), hM = (e) => e.indexOf("
5034
5034
  for (var i = v(t || "body"), n = i.filter(".dx-visibility-change-handler").add(i.find(".dx-visibility-change-handler")), r = 0; r < n.length; r++)
5035
5035
  A.triggerHandler(n[r], e);
5036
5036
  };
5037
- }, Gc = Zg("dxshown"), mM = Zg("dxhiding"), tr = Zg("dxresize"), CM = ct({
5037
+ }, Gc = Zg("dxshown"), mM = Zg("dxhiding"), tr = Zg("dxresize"), CM = dt({
5038
5038
  syncStrategy: !0
5039
5039
  });
5040
5040
  class Eo {
@@ -6200,7 +6200,7 @@ var lt = {
6200
6200
  out: "dxpointerout"
6201
6201
  }, Fh = tt.inherit({
6202
6202
  ctor: function(e) {
6203
- this._$element = v(e), this._cancelCallback = ct(), this._acceptCallback = ct();
6203
+ this._$element = v(e), this._cancelCallback = dt(), this._acceptCallback = dt();
6204
6204
  },
6205
6205
  getElement: function() {
6206
6206
  return this._$element;
@@ -7948,7 +7948,7 @@ var IV = {
7948
7948
  var t = this.getFormatter(e), i = Array.prototype.slice.call(arguments, 1);
7949
7949
  return t && t.apply(this, i) || "";
7950
7950
  }
7951
- }), ds = new ct();
7951
+ }), ds = new dt();
7952
7952
  const Qe = Bg(mt.ERROR_MESSAGES, {
7953
7953
  E1001: "Module '{0}'. Controller '{1}' is already registered",
7954
7954
  E1002: "Module '{0}'. Controller '{1}' does not inherit from DevExpress.ui.dxDataGrid.Controller",
@@ -14429,7 +14429,7 @@ var Q2 = "dxDataGrid", PA = tt.inherit({
14429
14429
  var t = this;
14430
14430
  t._updateLockCount = 0, t.component = e, t._actions = {}, t._actionConfigs = {}, F(this.callbackNames() || [], function(i, n) {
14431
14431
  var r = t.callbackFlags(n) || {};
14432
- r.unique = !0, r.syncStrategy = !0, t[this] = ct(r);
14432
+ r.unique = !0, r.syncStrategy = !0, t[this] = dt(r);
14433
14433
  });
14434
14434
  },
14435
14435
  init: function() {
@@ -14538,7 +14538,7 @@ var Q2 = "dxDataGrid", PA = tt.inherit({
14538
14538
  return this._$parent;
14539
14539
  },
14540
14540
  ctor: function(e) {
14541
- this.callBase(e), this.renderCompleted = ct(), this.resizeCompleted = ct();
14541
+ this.callBase(e), this.renderCompleted = dt(), this.resizeCompleted = dt();
14542
14542
  },
14543
14543
  element: function() {
14544
14544
  return this._$element;
@@ -16688,7 +16688,7 @@ var qA = ["filterValues", "filterType", "fixed", "fixedPosition"], _d = ["visibl
16688
16688
  else
16689
16689
  $.updateValueMap && $.updateValueMap();
16690
16690
  }
16691
- }), T.resizedCallbacks = ct(), y.resized && T.resizedCallbacks.add(y.resized.bind(y)), F(T, function($) {
16691
+ }), T.resizedCallbacks = dt(), y.resized && T.resizedCallbacks.add(y.resized.bind(y)), F(T, function($) {
16692
16692
  if (Se(T[$]) && $.indexOf("default") !== 0) {
16693
16693
  var V = "default" + $.charAt(0).toUpperCase() + $.substr(1);
16694
16694
  T[V] = T[$];
@@ -16860,7 +16860,7 @@ const eW = Ae.Controller.inherit(/* @__PURE__ */ function() {
16860
16860
  var l = this;
16861
16861
  l._dataSource = o, l._remoteOperations = s || {}, l._isLastPage = !o.isLastPage(), l._hasLastPage = !1, l._currentTotalCount = 0, l._cachedData = {
16862
16862
  items: {}
16863
- }, l._lastOperationTypes = {}, l._eventsStrategy = o._eventsStrategy, l._totalCountCorrection = 0, l._isLoadingAll = !1, l.changed = ct(), l.loadingChanged = ct(), l.loadError = ct(), l.customizeStoreLoadOptions = ct(), l.changing = ct(), l.pushed = ct(), l._dataChangedHandler = l._handleDataChanged.bind(l), l._customizeStoreLoadOptionsHandler = l._handleCustomizeStoreLoadOptions.bind(l), l._dataLoadedHandler = l._handleDataLoaded.bind(l), l._loadingChangedHandler = l._handleLoadingChanged.bind(l), l._loadErrorHandler = l._handleLoadError.bind(l), l._pushHandler = l._handlePush.bind(l), l._changingHandler = l._handleChanging.bind(l), o.on("changed", l._dataChangedHandler), o.on("customizeStoreLoadOptions", l._customizeStoreLoadOptionsHandler), o.on("customizeLoadResult", l._dataLoadedHandler), o.on("loadingChanged", l._loadingChangedHandler), o.on("loadError", l._loadErrorHandler), o.on("changing", l._changingHandler), o.store().on("beforePush", l._pushHandler), F(o, function(u, d) {
16863
+ }, l._lastOperationTypes = {}, l._eventsStrategy = o._eventsStrategy, l._totalCountCorrection = 0, l._isLoadingAll = !1, l.changed = dt(), l.loadingChanged = dt(), l.loadError = dt(), l.customizeStoreLoadOptions = dt(), l.changing = dt(), l.pushed = dt(), l._dataChangedHandler = l._handleDataChanged.bind(l), l._customizeStoreLoadOptionsHandler = l._handleCustomizeStoreLoadOptions.bind(l), l._dataLoadedHandler = l._handleDataLoaded.bind(l), l._loadingChangedHandler = l._handleLoadingChanged.bind(l), l._loadErrorHandler = l._handleLoadError.bind(l), l._pushHandler = l._handlePush.bind(l), l._changingHandler = l._handleChanging.bind(l), o.on("changed", l._dataChangedHandler), o.on("customizeStoreLoadOptions", l._customizeStoreLoadOptionsHandler), o.on("customizeLoadResult", l._dataLoadedHandler), o.on("loadingChanged", l._loadingChangedHandler), o.on("loadError", l._loadErrorHandler), o.on("changing", l._changingHandler), o.store().on("beforePush", l._pushHandler), F(o, function(u, d) {
16864
16864
  !l[u] && Se(d) && (l[u] = function() {
16865
16865
  return this._dataSource[u].apply(this._dataSource, arguments);
16866
16866
  });
@@ -21142,7 +21142,7 @@ var vx = "dx-invalid-message-auto", Sz = "dx-state-readonly", Ez = "dx-invalid",
21142
21142
  validationBoundary: "boundary"
21143
21143
  }, $n = ci.inherit({
21144
21144
  ctor: function() {
21145
- this.showValidationMessageTimeout = null, this.validationRequest = ct(), this.callBase.apply(this, arguments);
21145
+ this.showValidationMessageTimeout = null, this.validationRequest = dt(), this.callBase.apply(this, arguments);
21146
21146
  },
21147
21147
  _createElement: function(e) {
21148
21148
  this.callBase(e);
@@ -29292,7 +29292,7 @@ var sb = "dx-list-item-badge-container", QG = "dx-list-item-badge", JG = "dx-bad
29292
29292
  this.callBase(e), this._$topPocket = e._$topPocket, this._$pullDown = e._$pullDown, this._$refreshingText = e._$refreshingText, this._$scrollViewContent = v(e.content()), this._$container = v(e.container()), this._initCallbacks();
29293
29293
  },
29294
29294
  _initCallbacks: function() {
29295
- this.pullDownCallbacks = ct(), this.releaseCallbacks = ct(), this.reachBottomCallbacks = ct();
29295
+ this.pullDownCallbacks = dt(), this.releaseCallbacks = dt(), this.reachBottomCallbacks = dt();
29296
29296
  },
29297
29297
  render: function() {
29298
29298
  this.callBase(), this._renderPullDown(), this._releaseState();
@@ -29402,7 +29402,7 @@ var sb = "dx-list-item-badge-container", QG = "dx-list-item-badge", JG = "dx-bad
29402
29402
  this.callBase(e), this._$topPocket = e._$topPocket, this._$pullDown = e._$pullDown, this._$scrollViewContent = v(e.content()), this._$container = v(e.container()), this._initCallbacks(), this._location = 0;
29403
29403
  },
29404
29404
  _initCallbacks: function() {
29405
- this.pullDownCallbacks = ct(), this.releaseCallbacks = ct(), this.reachBottomCallbacks = ct();
29405
+ this.pullDownCallbacks = dt(), this.releaseCallbacks = dt(), this.reachBottomCallbacks = dt();
29406
29406
  },
29407
29407
  render: function() {
29408
29408
  this.callBase(), this._renderPullDown(), this._releaseState();
@@ -29530,7 +29530,7 @@ var sb = "dx-list-item-badge-container", QG = "dx-list-item-badge", JG = "dx-bad
29530
29530
  });
29531
29531
  },
29532
29532
  _initCallbacks: function() {
29533
- this.pullDownCallbacks = ct(), this.releaseCallbacks = ct(), this.reachBottomCallbacks = ct();
29533
+ this.pullDownCallbacks = dt(), this.releaseCallbacks = dt(), this.reachBottomCallbacks = dt();
29534
29534
  },
29535
29535
  _updateBounds: function() {
29536
29536
  var e = this._direction !== "horizontal";
@@ -29611,7 +29611,7 @@ var sb = "dx-list-item-badge-container", QG = "dx-list-item-badge", JG = "dx-bad
29611
29611
  this.callBase(e), this._$pullDown = e._$pullDown, this._$topPocket = e._$topPocket, this._$bottomPocket = e._$bottomPocket, this._initCallbacks();
29612
29612
  },
29613
29613
  _initCallbacks: function() {
29614
- this.pullDownCallbacks = ct(), this.releaseCallbacks = ct(), this.reachBottomCallbacks = ct();
29614
+ this.pullDownCallbacks = dt(), this.releaseCallbacks = dt(), this.reachBottomCallbacks = dt();
29615
29615
  },
29616
29616
  render: function() {
29617
29617
  this._renderPullDown(), this.callBase();
@@ -34469,7 +34469,7 @@ let uC = class extends Yu {
34469
34469
  }, t;
34470
34470
  }
34471
34471
  _createElement(t) {
34472
- super._createElement(t), this.showValidationMessageTimeout = void 0, this.validationRequest = ct(), Mt(this.$element()[0], kb, this);
34472
+ super._createElement(t), this.showValidationMessageTimeout = void 0, this.validationRequest = dt(), Mt(this.$element()[0], kb, this);
34473
34473
  }
34474
34474
  _render() {
34475
34475
  var t;
@@ -47581,7 +47581,7 @@ var UY = "dx-widget", KY = "dx-form", fv = "dx-form-group", jY = "dx-form-group-
47581
47581
  });
47582
47582
  },
47583
47583
  _init() {
47584
- this.callBase(), this._initGroupRegistration(), this.focused = ct(), this._initAdapter(), this._validationInfo = {
47584
+ this.callBase(), this._initGroupRegistration(), this.focused = dt(), this._initAdapter(), this._validationInfo = {
47585
47585
  result: null,
47586
47586
  deferred: null,
47587
47587
  skipValidation: !1
@@ -51087,7 +51087,7 @@ function YR(e, t, i) {
51087
51087
  var XR = tt.inherit(function() {
51088
51088
  var e = {
51089
51089
  ctor: function(t, i, n) {
51090
- this._dataOptions = i, this.component = t, this._viewportSize = t.option(Zd) === !1 ? 15 : 0, this._viewportItemSize = 20, this._viewportItemIndex = 0, this._position = 0, this._isScrollingBack = !1, this._contentSize = 0, this._itemSizes = {}, this._sizeRatio = 1, this._isVirtual = n, this.positionChanged = ct(), this._dataLoader = new OZ(this, this._dataOptions);
51090
+ this._dataOptions = i, this.component = t, this._viewportSize = t.option(Zd) === !1 ? 15 : 0, this._viewportItemSize = 20, this._viewportItemIndex = 0, this._position = 0, this._isScrollingBack = !1, this._contentSize = 0, this._itemSizes = {}, this._sizeRatio = 1, this._isVirtual = n, this.positionChanged = dt(), this._dataLoader = new OZ(this, this._dataOptions);
51091
51091
  },
51092
51092
  getItemSizes: function() {
51093
51093
  return this._itemSizes;
@@ -57340,7 +57340,7 @@ var ate = "columns-separator", JE = "columns-separator-transparent", ew = "drag-
57340
57340
  });
57341
57341
  },
57342
57342
  ctor: function(e) {
57343
- this.callBase(e), this.positionChanged = ct();
57343
+ this.callBase(e), this.positionChanged = dt();
57344
57344
  }
57345
57345
  }), _te = It.ViewController.inherit({
57346
57346
  _generatePointsByColumns: function(e) {
@@ -71761,7 +71761,7 @@ var Hk = { exports: {} };
71761
71761
  });
71762
71762
  })(Hk);
71763
71763
  var Bse = Hk.exports;
71764
- const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
71764
+ const ct = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
71765
71765
  /* @__PURE__ */ k.jsx("g", { clipPath: "url(#clip0_1321_39043)", children: /* @__PURE__ */ k.jsx(
71766
71766
  "path",
71767
71767
  {
@@ -71795,7 +71795,7 @@ const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", {
71795
71795
  ut(!1);
71796
71796
  const [b, I] = Je(""), R = ut(null), D = ut(null), z = ut(null), U = VC(() => Array.from({ length: 60 }, (ne, te) => te < 10 ? `0${te}` : `${te}`), []), M = VC(() => Array.from({ length: 24 }, (ne, te) => te < 9 ? `0${te + 1}` : `${te + 1}`), []), W = (Y, ne, te) => {
71797
71797
  Y.stopPropagation(), Y.target.scrollIntoView({ behavior: "smooth", block: "start" }), te === "hour" && (D.current = ne, R.current || (R.current = "00")), te === "minute" && (R.current = ne, D.current || (D.current = "00"));
71798
- const ge = dt().hour(parseInt(D.current ?? "0", 10)).minute(parseInt(R.current ?? "0", 10)).format(n ?? "hh:mm");
71798
+ const ge = ct().hour(parseInt(D.current ?? "0", 10)).minute(parseInt(R.current ?? "0", 10)).format(n ?? "hh:mm");
71799
71799
  I(ge), o && typeof o == "function" && o(ge);
71800
71800
  }, q = (Y) => {
71801
71801
  Y.stopPropagation(), D.current = null, R.current = null, I(""), o && typeof o == "function" && o("");
@@ -71978,54 +71978,54 @@ const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", {
71978
71978
  }), g.current = QP(g.current, "key"), M = g.current, M;
71979
71979
  }, R = (M) => {
71980
71980
  let W = { start: "", end: "" };
71981
- switch (M.key.toLowerCase()) {
71981
+ switch (o(null), M.key.toLowerCase()) {
71982
71982
  case "today":
71983
71983
  c({
71984
- start: dt(),
71985
- end: dt()
71986
- }), o(dt()), W.start = dt();
71984
+ start: ct(),
71985
+ end: ct()
71986
+ }), W.start = ct();
71987
71987
  break;
71988
71988
  case "yesterday":
71989
- o(dt().subtract(1, "day")), c({
71990
- start: dt().subtract(1, "day"),
71991
- end: dt().subtract(1, "day")
71992
- }), W.start = dt().subtract(1, "day");
71989
+ o(ct().subtract(1, "day")), c({
71990
+ start: ct().subtract(1, "day"),
71991
+ end: ct().subtract(1, "day")
71992
+ }), W.start = ct().subtract(1, "day");
71993
71993
  break;
71994
71994
  case "thisweek":
71995
71995
  c({
71996
- start: dt().startOf("week"),
71997
- end: dt().endOf("week")
71998
- }), W.start = dt().startOf("week"), W.end = dt().endOf("week");
71996
+ start: ct().startOf("week"),
71997
+ end: ct().endOf("week")
71998
+ }), W.start = ct().startOf("week"), W.end = ct().endOf("week");
71999
71999
  break;
72000
72000
  case "lastweek":
72001
72001
  c({
72002
- start: dt().subtract(1, "week").startOf("week"),
72003
- end: dt().subtract(1, "week").endOf("week")
72004
- }), W.start = dt().subtract(1, "week").startOf("week"), W.end = dt().subtract(1, "week").endOf("week");
72002
+ start: ct().subtract(1, "week").startOf("week"),
72003
+ end: ct().subtract(1, "week").endOf("week")
72004
+ }), W.start = ct().subtract(1, "week").startOf("week"), W.end = ct().subtract(1, "week").endOf("week");
72005
72005
  break;
72006
72006
  case "thismonth":
72007
72007
  c({
72008
- start: dt().startOf("month"),
72009
- end: dt().endOf("month")
72010
- }), W.start = dt().startOf("month"), W.end = dt().endOf("month");
72008
+ start: ct().startOf("month"),
72009
+ end: ct().endOf("month")
72010
+ }), W.start = ct().startOf("month"), W.end = ct().endOf("month");
72011
72011
  break;
72012
72012
  case "lastmonth":
72013
72013
  c({
72014
- start: dt().subtract(1, "month").startOf("month"),
72015
- end: dt().subtract(1, "month").endOf("month")
72016
- }), W.start = dt().subtract(1, "month").startOf("month"), W.end = dt().subtract(1, "month").endOf("month");
72014
+ start: ct().subtract(1, "month").startOf("month"),
72015
+ end: ct().subtract(1, "month").endOf("month")
72016
+ }), W.start = ct().subtract(1, "month").startOf("month"), W.end = ct().subtract(1, "month").endOf("month");
72017
72017
  break;
72018
72018
  case "thisyear":
72019
72019
  c({
72020
- start: dt().startOf("year"),
72021
- end: dt().endOf("year")
72022
- }), W.start = dt().startOf("year"), W.end = dt().endOf("year");
72020
+ start: ct().startOf("year"),
72021
+ end: ct().endOf("year")
72022
+ }), W.start = ct().startOf("year"), W.end = ct().endOf("year");
72023
72023
  break;
72024
72024
  case "lastyear":
72025
72025
  c({
72026
- start: dt().subtract(1, "year").startOf("year"),
72027
- end: dt().subtract(1, "year").endOf("year")
72028
- }), W.start = dt().subtract(1, "year").startOf("year"), W.end = dt().subtract(1, "year").endOf("year");
72026
+ start: ct().subtract(1, "year").startOf("year"),
72027
+ end: ct().subtract(1, "year").endOf("year")
72028
+ }), W.start = ct().subtract(1, "year").startOf("year"), W.end = ct().subtract(1, "year").endOf("year");
72029
72029
  break;
72030
72030
  case "alltime":
72031
72031
  c({
@@ -72098,11 +72098,11 @@ const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", {
72098
72098
  {
72099
72099
  className: `${Ft.day}
72100
72100
  ${j ? "" : Ft.otherMonth}
72101
- ${j && q.isSame(dt(), "day") ? Ft.today : ""}
72101
+ ${j && q.isSame(ct(), "day") ? Ft.today : ""}
72102
72102
  ${j && Z ? Ft.inRange : ""}
72103
72103
  ${j && E ? Ft.startDate : ""}
72104
72104
  ${j && Y ? Ft.endDate : ""}
72105
- ${j && ne ? Ft.selected : ""}`,
72105
+ ${!j && !Z && !Y ? "" : ne ? Ft.selected : ""}`,
72106
72106
  onClick: () => D(q, j),
72107
72107
  children: q.date()
72108
72108
  },
@@ -72120,11 +72120,11 @@ const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", {
72120
72120
  {
72121
72121
  className: `${Ft.day}
72122
72122
  ${j ? "" : Ft.otherMonth}
72123
- ${j && q.isSame(dt(), "day") ? Ft.today : ""}
72123
+ ${j && q.isSame(ct(), "day") ? Ft.today : ""}
72124
72124
  ${j && Z ? Ft.inRange : ""}
72125
72125
  ${j && E ? Ft.startDate : ""}
72126
72126
  ${j && Y ? Ft.endDate : ""}
72127
- ${j && ne ? Ft.selected : ""}`,
72127
+ ${!j && !Z && !Y ? "" : ne ? Ft.selected : ""}`,
72128
72128
  onClick: () => D(q, j),
72129
72129
  children: q.date()
72130
72130
  },
@@ -72170,12 +72170,12 @@ const dt = /* @__PURE__ */ vI(Bse), Pse = () => /* @__PURE__ */ k.jsxs("svg", {
72170
72170
  }) => {
72171
72171
  const [m, b] = Je(!1), [I, R] = Je(n ?? "");
72172
72172
  Je(!1);
72173
- const D = ut(null), [z, U] = Je(dt()), [M, W] = Je(""), [q, j] = Je({
72173
+ const D = ut(null), [z, U] = Je(ct()), [M, W] = Je(""), [q, j] = Je({
72174
72174
  start: null,
72175
72175
  end: null
72176
72176
  }), N = ut(null), Z = (K, G) => {
72177
72177
  let y = "", w = { start: "", end: "" };
72178
- !G && (g === "single" || typeof K == "string") && (y = K, R(y)), !G && (g !== "single" || typeof K != "string") && (y = `${dt((K == null ? void 0 : K.start) ?? "").format(a ?? "DD-MM-YYYY")} / ${K != null && K.end ? dt(K.end).format(a ?? "DD-MM-YYYY") : ""}`, w.start = dt((K == null ? void 0 : K.start) ?? "").format(a ?? "DD-MM-YYYY"), w.end = K != null && K.end ? dt(K.end).format(a ?? "DD-MM-YYYY") : "", R(y)), G && (y = dt(K).format(a ?? "DD-MM-YYYY"), R(y)), K != null && K.end && b(!1), o && typeof o == "function" && o(w.start !== "" ? w : y);
72178
+ !G && (g === "single" || typeof K == "string") && (y = K, R(y)), !G && (g !== "single" || typeof K != "string") && (y = `${ct((K == null ? void 0 : K.start) ?? "").format(a ?? "DD-MM-YYYY")} / ${K != null && K.end ? ct(K.end).format(a ?? "DD-MM-YYYY") : ""}`, w.start = ct((K == null ? void 0 : K.start) ?? "").format(a ?? "DD-MM-YYYY"), w.end = K != null && K.end ? ct(K.end).format(a ?? "DD-MM-YYYY") : "", R(y)), G && (y = ct(K).format(a ?? "DD-MM-YYYY"), R(y)), K != null && K.end && b(!1), o && typeof o == "function" && o(w.start !== "" ? w : y);
72179
72179
  }, E = (K) => {
72180
72180
  K.stopPropagation(), R(""), j({
72181
72181
  start: null,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-components-react",
3
3
  "private": false,
4
- "version": "1.17.9",
4
+ "version": "1.17.10",
5
5
  "type": "module",
6
6
  "main": "dist/master-components-react.cjs.js",
7
7
  "module": "dist/master-components-react.es.js",