propro-common-components 0.1.31 → 0.1.33

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.
@@ -37080,7 +37080,7 @@ var parseStyle = function m(g) {
37080
37080
  function uniqueHash(m, g) {
37081
37081
  return murmur2$1("".concat(m.join("%")).concat(g));
37082
37082
  }
37083
- function Empty() {
37083
+ function Empty$1() {
37084
37084
  return null;
37085
37085
  }
37086
37086
  var STYLE_PREFIX = "style";
@@ -37140,7 +37140,7 @@ function useStyleRegister(m, g) {
37140
37140
  return function(ye) {
37141
37141
  var ve;
37142
37142
  if (!Z || re || !U)
37143
- ve = /* @__PURE__ */ React.createElement(Empty, null);
37143
+ ve = /* @__PURE__ */ React.createElement(Empty$1, null);
37144
37144
  else {
37145
37145
  var Se;
37146
37146
  ve = /* @__PURE__ */ React.createElement("style", _extends$5({}, (Se = {}, _defineProperty$1(Se, ATTR_TOKEN, me), _defineProperty$1(Se, ATTR_MARK, be), Se), {
@@ -56937,13 +56937,17 @@ var _coreExports = _core.exports, _aFunction = function(m) {
56937
56937
  if (!isObject$3(m))
56938
56938
  throw TypeError(m + " is not an object!");
56939
56939
  return m;
56940
- }, _fails = function(m) {
56941
- try {
56942
- return !!m();
56943
- } catch {
56944
- return !0;
56945
- }
56946
- }, _descriptors = !_fails(function() {
56940
+ }, _fails, hasRequired_fails;
56941
+ function require_fails() {
56942
+ return hasRequired_fails || (hasRequired_fails = 1, _fails = function(m) {
56943
+ try {
56944
+ return !!m();
56945
+ } catch {
56946
+ return !0;
56947
+ }
56948
+ }), _fails;
56949
+ }
56950
+ var _descriptors = !require_fails()(function() {
56947
56951
  return Object.defineProperty({}, "a", { get: function() {
56948
56952
  return 7;
56949
56953
  } }).a != 7;
@@ -56957,7 +56961,7 @@ function require_domCreate() {
56957
56961
  return b ? g.createElement(_) : {};
56958
56962
  }, _domCreate;
56959
56963
  }
56960
- var _ie8DomDefine = !_descriptors && !_fails(function() {
56964
+ var _ie8DomDefine = !_descriptors && !require_fails()(function() {
56961
56965
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
56962
56966
  return 7;
56963
56967
  } }).a != 7;
@@ -56968,11 +56972,11 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
56968
56972
  if (g && typeof (b = m.toString) == "function" && !isObject$2(_ = b.call(m)) || typeof (b = m.valueOf) == "function" && !isObject$2(_ = b.call(m)) || !g && typeof (b = m.toString) == "function" && !isObject$2(_ = b.call(m)))
56969
56973
  return _;
56970
56974
  throw TypeError("Can't convert object to primitive value");
56971
- }, anObject$1 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive, dP$2 = Object.defineProperty;
56975
+ }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive, dP$3 = Object.defineProperty;
56972
56976
  _objectDp.f = _descriptors ? Object.defineProperty : function(g, b, _) {
56973
- if (anObject$1(g), b = toPrimitive$2(b, !0), anObject$1(_), IE8_DOM_DEFINE$1)
56977
+ if (anObject$3(g), b = toPrimitive$2(b, !0), anObject$3(_), IE8_DOM_DEFINE$1)
56974
56978
  try {
56975
- return dP$2(g, b, _);
56979
+ return dP$3(g, b, _);
56976
56980
  } catch {
56977
56981
  }
56978
56982
  if ("get" in _ || "set" in _)
@@ -56986,14 +56990,14 @@ var _propertyDesc = function(m, g) {
56986
56990
  writable: !(m & 4),
56987
56991
  value: g
56988
56992
  };
56989
- }, dP$1 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(m, g, b) {
56990
- return dP$1.f(m, g, createDesc$2(1, b));
56993
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(m, g, b) {
56994
+ return dP$2.f(m, g, createDesc$2(1, b));
56991
56995
  } : function(m, g, b) {
56992
56996
  return m[g] = b, m;
56993
56997
  }, hasOwnProperty = {}.hasOwnProperty, _has = function(m, g) {
56994
56998
  return hasOwnProperty.call(m, g);
56995
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$1 = "prototype", $export$5 = function(m, g, b) {
56996
- var _ = m & $export$5.F, x = m & $export$5.G, C = m & $export$5.S, $ = m & $export$5.P, I = m & $export$5.B, R = m & $export$5.W, P = x ? core$2 : core$2[g] || (core$2[g] = {}), N = P[PROTOTYPE$1], z = x ? global$4 : C ? global$4[g] : (global$4[g] || {})[PROTOTYPE$1], D, U, W;
56999
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(m, g, b) {
57000
+ var _ = m & $export$5.F, x = m & $export$5.G, C = m & $export$5.S, $ = m & $export$5.P, I = m & $export$5.B, R = m & $export$5.W, P = x ? core$2 : core$2[g] || (core$2[g] = {}), N = P[PROTOTYPE$2], z = x ? global$4 : C ? global$4[g] : (global$4[g] || {})[PROTOTYPE$2], D, U, W;
56997
57001
  x && (b = g);
56998
57002
  for (D in b)
56999
57003
  U = !_ && z && z[D] !== void 0, !(U && has$6(P, D)) && (W = U ? z[D] : b[D], P[D] = x && typeof z[D] != "function" ? b[D] : I && U ? ctx(W, global$4) : R && z[D] == W ? function(V) {
@@ -57011,7 +57015,7 @@ var _propertyDesc = function(m, g) {
57011
57015
  }
57012
57016
  return V.apply(this, arguments);
57013
57017
  };
57014
- return Z[PROTOTYPE$1] = V[PROTOTYPE$1], Z;
57018
+ return Z[PROTOTYPE$2] = V[PROTOTYPE$2], Z;
57015
57019
  }(W) : $ && typeof W == "function" ? ctx(Function.call, W) : W, $ && ((P.virtual || (P.virtual = {}))[D] = W, m & $export$5.R && N && !N[D] && hide$1(N, D, W)));
57016
57020
  };
57017
57021
  $export$5.F = 1;
@@ -57067,27 +57071,25 @@ var _defined = function(m) {
57067
57071
  mode: "pure",
57068
57072
  copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
57069
57073
  });
57070
- var _sharedExports = _shared.exports, id$2 = 0, px = Math.random(), _uid = function(m) {
57071
- return "Symbol(".concat(m === void 0 ? "" : m, ")_", (++id$2 + px).toString(36));
57074
+ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = function(m) {
57075
+ return "Symbol(".concat(m === void 0 ? "" : m, ")_", (++id$1 + px).toString(36));
57072
57076
  }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(m) {
57073
57077
  return shared$1[m] || (shared$1[m] = uid$2(m));
57074
- }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$1 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(m, g) {
57078
+ }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(m, g) {
57075
57079
  var b = toIObject$4(m), _ = 0, x = [], C;
57076
57080
  for (C in b)
57077
- C != IE_PROTO$1 && has$5(b, C) && x.push(C);
57081
+ C != IE_PROTO$2 && has$5(b, C) && x.push(C);
57078
57082
  for (; g.length > _; )
57079
57083
  has$5(b, C = g[_++]) && (~arrayIndexOf(x, C) || x.push(C));
57080
57084
  return x;
57081
- }, _enumBugKeys, hasRequired_enumBugKeys;
57082
- function require_enumBugKeys() {
57083
- return hasRequired_enumBugKeys || (hasRequired_enumBugKeys = 1, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")), _enumBugKeys;
57084
- }
57085
- var $keys$1 = _objectKeysInternal, enumBugKeys = require_enumBugKeys(), _objectKeys = Object.keys || function(g) {
57086
- return $keys$1(g, enumBugKeys);
57085
+ }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function(g) {
57086
+ return $keys$2(g, enumBugKeys$1);
57087
57087
  }, _objectGops = {};
57088
57088
  _objectGops.f = Object.getOwnPropertySymbols;
57089
- var _objectPie = {};
57090
- _objectPie.f = {}.propertyIsEnumerable;
57089
+ var _objectPie = {}, hasRequired_objectPie;
57090
+ function require_objectPie() {
57091
+ return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
57092
+ }
57091
57093
  var defined$1 = _defined, _toObject = function(m) {
57092
57094
  return Object(defined$1(m));
57093
57095
  }, _objectAssign, hasRequired_objectAssign;
@@ -57095,8 +57097,8 @@ function require_objectAssign() {
57095
57097
  if (hasRequired_objectAssign)
57096
57098
  return _objectAssign;
57097
57099
  hasRequired_objectAssign = 1;
57098
- var m = _descriptors, g = _objectKeys, b = _objectGops, _ = _objectPie, x = _toObject, C = require_iobject(), $ = Object.assign;
57099
- return _objectAssign = !$ || _fails(function() {
57100
+ var m = _descriptors, g = _objectKeys, b = _objectGops, _ = require_objectPie(), x = _toObject, C = require_iobject(), $ = Object.assign;
57101
+ return _objectAssign = !$ || require_fails()(function() {
57100
57102
  var I = {}, R = {}, P = Symbol(), N = "abcdefghijklmnopqrst";
57101
57103
  return I[P] = 7, N.split("").forEach(function(z) {
57102
57104
  R[z] = z;
@@ -57124,14 +57126,14 @@ _extends.default = _assign2.default || function(m) {
57124
57126
  }
57125
57127
  return m;
57126
57128
  };
57127
- var has$4 = _has, toObject$2 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
57128
- return m = toObject$2(m), has$4(m, IE_PROTO) ? m[IE_PROTO] : typeof m.constructor == "function" && m instanceof m.constructor ? m.constructor.prototype : m instanceof Object ? ObjectProto$1 : null;
57129
+ var has$4 = _has, toObject$2 = _toObject, IE_PROTO$1 = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
57130
+ return m = toObject$2(m), has$4(m, IE_PROTO$1) ? m[IE_PROTO$1] : typeof m.constructor == "function" && m instanceof m.constructor ? m.constructor.prototype : m instanceof Object ? ObjectProto$1 : null;
57129
57131
  }, _objectSap, hasRequired_objectSap;
57130
57132
  function require_objectSap() {
57131
57133
  if (hasRequired_objectSap)
57132
57134
  return _objectSap;
57133
57135
  hasRequired_objectSap = 1;
57134
- var m = _export, g = _coreExports, b = _fails;
57136
+ var m = _export, g = _coreExports, b = require_fails();
57135
57137
  return _objectSap = function(_, x) {
57136
57138
  var C = (g.Object || {})[_] || Object[_], $ = {};
57137
57139
  $[_] = x(C), m(m.S + m.F * b(function() {
@@ -57177,20 +57179,12 @@ var possibleConstructorReturn = {}, _typeof$1 = {}, toInteger = _toInteger, defi
57177
57179
  var _ = String(defined(g)), x = toInteger(b), C = _.length, $, I;
57178
57180
  return x < 0 || x >= C ? m ? "" : void 0 : ($ = _.charCodeAt(x), $ < 55296 || $ > 56319 || x + 1 === C || (I = _.charCodeAt(x + 1)) < 56320 || I > 57343 ? m ? _.charAt(x) : $ : m ? _.slice(x, x + 2) : ($ - 55296 << 10) + (I - 56320) + 65536);
57179
57181
  };
57180
- }, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
57181
- function require_objectDps() {
57182
- if (hasRequired_objectDps)
57183
- return _objectDps;
57184
- hasRequired_objectDps = 1;
57185
- var m = _objectDp, g = _anObject, b = _objectKeys;
57186
- return _objectDps = _descriptors ? Object.defineProperties : function(x, C) {
57187
- g(x);
57188
- for (var $ = b(C), I = $.length, R = 0, P; I > R; )
57189
- m.f(x, P = $[R++], C[P]);
57190
- return x;
57191
- }, _objectDps;
57192
- }
57193
- var _html, hasRequired_html;
57182
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function(g, b) {
57183
+ anObject$2(g);
57184
+ for (var _ = getKeys$1(b), x = _.length, C = 0, $; x > C; )
57185
+ dP$1.f(g, $ = _[C++], b[$]);
57186
+ return g;
57187
+ }, _html, hasRequired_html;
57194
57188
  function require_html() {
57195
57189
  if (hasRequired_html)
57196
57190
  return _html;
@@ -57198,24 +57192,16 @@ function require_html() {
57198
57192
  var m = _globalExports.document;
57199
57193
  return _html = m && m.documentElement, _html;
57200
57194
  }
57201
- var _objectCreate, hasRequired_objectCreate;
57202
- function require_objectCreate() {
57203
- if (hasRequired_objectCreate)
57204
- return _objectCreate;
57205
- hasRequired_objectCreate = 1;
57206
- var m = _anObject, g = require_objectDps(), b = require_enumBugKeys(), _ = _sharedKey("IE_PROTO"), x = function() {
57207
- }, C = "prototype", $ = function() {
57208
- var I = require_domCreate()("iframe"), R = b.length, P = "<", N = ">", z;
57209
- for (I.style.display = "none", require_html().appendChild(I), I.src = "javascript:", z = I.contentWindow.document, z.open(), z.write(P + "script" + N + "document.F=Object" + P + "/script" + N), z.close(), $ = z.F; R--; )
57210
- delete $[C][b[R]];
57211
- return $();
57212
- };
57213
- return _objectCreate = Object.create || function(R, P) {
57214
- var N;
57215
- return R !== null ? (x[C] = m(R), N = new x(), x[C] = null, N[_] = R) : N = $(), P === void 0 ? N : g(N, P);
57216
- }, _objectCreate;
57217
- }
57218
- var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
57195
+ var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO = _sharedKey("IE_PROTO"), Empty = function() {
57196
+ }, PROTOTYPE$1 = "prototype", createDict = function() {
57197
+ var m = require_domCreate()("iframe"), g = enumBugKeys.length, b = "<", _ = ">", x;
57198
+ for (m.style.display = "none", require_html().appendChild(m), m.src = "javascript:", x = m.contentWindow.document, x.open(), x.write(b + "script" + _ + "document.F=Object" + b + "/script" + _), x.close(), createDict = x.F; g--; )
57199
+ delete createDict[PROTOTYPE$1][enumBugKeys[g]];
57200
+ return createDict();
57201
+ }, _objectCreate = Object.create || function(g, b) {
57202
+ var _;
57203
+ return g !== null ? (Empty[PROTOTYPE$1] = anObject$1(g), _ = new Empty(), Empty[PROTOTYPE$1] = null, _[IE_PROTO] = g) : _ = createDict(), b === void 0 ? _ : dPs(_, b);
57204
+ }, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
57219
57205
  return store[m] || (store[m] = USE_SYMBOL && Symbol$1[m] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + m));
57220
57206
  };
57221
57207
  $exports.store = store;
@@ -57226,7 +57212,7 @@ function require_iterCreate() {
57226
57212
  if (hasRequired_iterCreate)
57227
57213
  return _iterCreate;
57228
57214
  hasRequired_iterCreate = 1;
57229
- var m = require_objectCreate(), g = _propertyDesc, b = _setToStringTag, _ = {};
57215
+ var m = _objectCreate, g = _propertyDesc, b = _setToStringTag, _ = {};
57230
57216
  return _hide(_, _wksExports("iterator"), function() {
57231
57217
  return this;
57232
57218
  }), _iterCreate = function(x, C, $) {
@@ -57299,13 +57285,13 @@ for (var i = 0; i < DOMIterables.length; i++) {
57299
57285
  }
57300
57286
  var _wksExt = {};
57301
57287
  _wksExt.f = _wksExports;
57302
- var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: !0 }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$1 = _isObject, has$2 = _has, setDesc = _objectDp.f, id$1 = 0, isExtensible = Object.isExtensible || function() {
57288
+ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: !0 }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$1 = _isObject, has$2 = _has, setDesc = _objectDp.f, id = 0, isExtensible = Object.isExtensible || function() {
57303
57289
  return !0;
57304
- }, FREEZE = !_fails(function() {
57290
+ }, FREEZE = !require_fails()(function() {
57305
57291
  return isExtensible(Object.preventExtensions({}));
57306
57292
  }), setMeta = function(m) {
57307
57293
  setDesc(m, META$1, { value: {
57308
- i: "O" + ++id$1,
57294
+ i: "O" + ++id,
57309
57295
  // object ID
57310
57296
  w: {}
57311
57297
  // weak collections IDs
@@ -57341,7 +57327,7 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
57341
57327
  }, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = _objectDp.f, _wksDefine = function(m) {
57342
57328
  var g = core.Symbol || (core.Symbol = {});
57343
57329
  m.charAt(0) != "_" && !(m in g) && defineProperty(g, m, { value: wksExt$1.f(m) });
57344
- }, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = _objectPie, _enumKeys = function(m) {
57330
+ }, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(m) {
57345
57331
  var g = getKeys(m), b = gOPS.f;
57346
57332
  if (b)
57347
57333
  for (var _ = b(m), x = pIE$1.f, C = 0, $; _.length > C; )
@@ -57349,17 +57335,11 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
57349
57335
  return g;
57350
57336
  }, cof = _cof, _isArray = Array.isArray || function(g) {
57351
57337
  return cof(g) == "Array";
57352
- }, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
57353
- function require_objectGopn() {
57354
- if (hasRequired_objectGopn)
57355
- return _objectGopn;
57356
- hasRequired_objectGopn = 1;
57357
- var m = _objectKeysInternal, g = require_enumBugKeys().concat("length", "prototype");
57358
- return _objectGopn.f = Object.getOwnPropertyNames || function(_) {
57359
- return m(_, g);
57360
- }, _objectGopn;
57361
- }
57362
- var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(m) {
57338
+ }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys = _enumBugKeys.concat("length", "prototype");
57339
+ _objectGopn.f = Object.getOwnPropertyNames || function(g) {
57340
+ return $keys$1(g, hiddenKeys);
57341
+ };
57342
+ var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(m) {
57363
57343
  try {
57364
57344
  return gOPN$1(m);
57365
57345
  } catch {
@@ -57369,7 +57349,7 @@ var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString = {}.toS
57369
57349
  _objectGopnExt.f = function(g) {
57370
57350
  return windowNames && toString.call(g) == "[object Window]" ? getWindowNames(g) : gOPN$1(toIObject$2(g));
57371
57351
  };
57372
- var _objectGopd = {}, pIE = _objectPie, createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
57352
+ var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
57373
57353
  _objectGopd.f = _descriptors ? gOPD$1 : function(g, b) {
57374
57354
  if (g = toIObject$1(g), b = toPrimitive$1(b, !0), IE8_DOM_DEFINE)
57375
57355
  try {
@@ -57379,7 +57359,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function(g, b) {
57379
57359
  if (has$1(g, b))
57380
57360
  return createDesc$1(!pIE.f.call(g, b), g[b]);
57381
57361
  };
57382
- var global$1 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 = require_objectCreate(), gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
57362
+ var global$1 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = require_fails(), shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
57383
57363
  return _create$1(dP({}, "a", {
57384
57364
  get: function() {
57385
57365
  return dP(this, "a", { value: 7 }).a;
@@ -57430,7 +57410,7 @@ USE_NATIVE || ($Symbol = function() {
57430
57410
  return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, g, { configurable: !0, set: b }), wrap(g);
57431
57411
  }, redefine($Symbol[PROTOTYPE], "toString", function() {
57432
57412
  return this._k;
57433
- }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames, _objectPie.f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, DESCRIPTORS && !_library && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable), wksExt.f = function(m) {
57413
+ }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, DESCRIPTORS && !_library && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable), wksExt.f = function(m) {
57434
57414
  return wrap(wks(m));
57435
57415
  });
57436
57416
  $export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
@@ -57557,7 +57537,7 @@ function require_setProto() {
57557
57537
  var $export$1 = _export;
57558
57538
  $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
57559
57539
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
57560
- $export($export.S, "Object", { create: require_objectCreate() });
57540
+ $export($export.S, "Object", { create: _objectCreate });
57561
57541
  var $Object = _coreExports.Object, create$1 = function(g, b) {
57562
57542
  return $Object.create(g, b);
57563
57543
  }, create = { default: create$1, __esModule: !0 };
@@ -65468,7 +65448,7 @@ const checkAccessToken = async () => {
65468
65448
  queryFn: async () => (await checkAccessToken(), await axios.get(g).then((_) => _.data.data)),
65469
65449
  refetchOnWindowFocus: !1,
65470
65450
  ...b
65471
- }), id = toast.loading("Please wait..."), useMutate = ({
65451
+ }), useMutate = ({
65472
65452
  url: m,
65473
65453
  method: g,
65474
65454
  updateKey: b,
@@ -65482,30 +65462,22 @@ const checkAccessToken = async () => {
65482
65462
  }, R) => {
65483
65463
  const P = useQueryClient();
65484
65464
  return useMutation({
65485
- mutationFn: async (N) => (I && console.log(I, m), toast.update(id, {
65486
- render: "All is good",
65487
- type: "info",
65488
- isLoading: !0,
65489
- position: "top-right",
65490
- autoClose: 5e3,
65491
- hideProgressBar: !1,
65492
- closeOnClick: !0,
65493
- pauseOnHover: !0,
65494
- draggable: !0,
65495
- progress: void 0,
65496
- theme: "light"
65497
- }), toast("🦄 Wow so easy!", {
65498
- position: "top-right",
65499
- autoClose: 5e3,
65500
- hideProgressBar: !1,
65501
- closeOnClick: !0,
65502
- pauseOnHover: !0,
65503
- draggable: !0,
65504
- progress: void 0,
65505
- theme: "light"
65506
- }), checkAccessToken(), axios(m, { method: g, data: N, headers: _ }).then(
65507
- (z) => z.data
65508
- )),
65465
+ mutationFn: async (N) => {
65466
+ I && console.log(I, m);
65467
+ const z = toast("🦄 Wow so easy!", {
65468
+ position: "top-right",
65469
+ autoClose: 5e3,
65470
+ hideProgressBar: !1,
65471
+ closeOnClick: !0,
65472
+ pauseOnHover: !0,
65473
+ draggable: !0,
65474
+ progress: void 0,
65475
+ theme: "light"
65476
+ });
65477
+ return console.log(z), checkAccessToken(), axios(m, { method: g, data: N, headers: _ }).then(
65478
+ (D) => D.data
65479
+ );
65480
+ },
65509
65481
  onSuccess: (N) => {
65510
65482
  b && P.setQueryData(b, N.data), x && P.invalidateQueries(), C && console.log(C, { res: N });
65511
65483
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",