propro-common-components 0.1.21 → 0.1.23

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.
@@ -56936,19 +56936,15 @@ var _coreExports = _core.exports, _aFunction = function(g) {
56936
56936
  if (!isObject$3(g))
56937
56937
  throw TypeError(g + " is not an object!");
56938
56938
  return g;
56939
- }, _fails, hasRequired_fails;
56940
- function require_fails() {
56941
- return hasRequired_fails || (hasRequired_fails = 1, _fails = function(g) {
56942
- try {
56943
- return !!g();
56944
- } catch {
56945
- return !0;
56946
- }
56947
- }), _fails;
56948
- }
56949
- var _descriptors, hasRequired_descriptors;
56939
+ }, _fails = function(g) {
56940
+ try {
56941
+ return !!g();
56942
+ } catch {
56943
+ return !0;
56944
+ }
56945
+ }, _descriptors, hasRequired_descriptors;
56950
56946
  function require_descriptors() {
56951
- return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !require_fails()(function() {
56947
+ return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !_fails(function() {
56952
56948
  return Object.defineProperty({}, "a", { get: function() {
56953
56949
  return 7;
56954
56950
  } }).a != 7;
@@ -56966,7 +56962,7 @@ function require_domCreate() {
56966
56962
  }
56967
56963
  var _ie8DomDefine, hasRequired_ie8DomDefine;
56968
56964
  function require_ie8DomDefine() {
56969
- return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
56965
+ return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !_fails(function() {
56970
56966
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
56971
56967
  return 7;
56972
56968
  } }).a != 7;
@@ -57111,7 +57107,7 @@ function require_objectAssign() {
57111
57107
  return _objectAssign;
57112
57108
  hasRequired_objectAssign = 1;
57113
57109
  var g = require_descriptors(), S = _objectKeys, E = _objectGops, $ = require_objectPie(), O = _toObject, L = require_iobject(), D = Object.assign;
57114
- return _objectAssign = !D || require_fails()(function() {
57110
+ return _objectAssign = !D || _fails(function() {
57115
57111
  var U = {}, H = {}, G = Symbol(), Y = "abcdefghijklmnopqrst";
57116
57112
  return U[G] = 7, Y.split("").forEach(function(K) {
57117
57113
  H[K] = K;
@@ -57146,7 +57142,7 @@ function require_objectSap() {
57146
57142
  if (hasRequired_objectSap)
57147
57143
  return _objectSap;
57148
57144
  hasRequired_objectSap = 1;
57149
- var g = _export, S = _coreExports, E = require_fails();
57145
+ var g = _export, S = _coreExports, E = _fails;
57150
57146
  return _objectSap = function($, O) {
57151
57147
  var L = (S.Object || {})[$] || Object[$], D = {};
57152
57148
  D[$] = O(L), g(g.S + g.F * E(function() {
@@ -57316,7 +57312,7 @@ var _wksExt = {};
57316
57312
  _wksExt.f = _wksExports;
57317
57313
  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 = require_objectDp().f, id = 0, isExtensible = Object.isExtensible || function() {
57318
57314
  return !0;
57319
- }, FREEZE = !require_fails()(function() {
57315
+ }, FREEZE = !_fails(function() {
57320
57316
  return isExtensible(Object.preventExtensions({}));
57321
57317
  }), setMeta = function(g) {
57322
57318
  setDesc(g, META$1, { value: {
@@ -57388,7 +57384,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(S, E) {
57388
57384
  if (has$1(S, E))
57389
57385
  return createDesc$1(!pIE.f.call(S, E), S[E]);
57390
57386
  };
57391
- var global$1 = _globalExports, has = _has, DESCRIPTORS = require_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 = require_objectCreate(), gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = require_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() {
57387
+ var global$1 = _globalExports, has = _has, DESCRIPTORS = require_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 = require_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() {
57392
57388
  return _create$1(dP({}, "a", {
57393
57389
  get: function() {
57394
57390
  return dP(this, "a", { value: 7 }).a;
@@ -65581,9 +65577,13 @@ const checkAccessToken = async () => {
65581
65577
  }, H) => {
65582
65578
  const G = useQueryClient();
65583
65579
  return useMutation({
65584
- mutationFn: async (Y) => (U && console.log(U, g), checkAccessToken(), axios(g, { method: S, data: Y, headers: $ }).then(
65585
- (K) => K.data
65586
- )),
65580
+ mutationFn: async (Y) => {
65581
+ U && console.log(U, g);
65582
+ const K = B.loading("Please wait...");
65583
+ return console.log(K), checkAccessToken(), axios(g, { method: S, data: Y, headers: $ }).then(
65584
+ (Q) => Q.data
65585
+ );
65586
+ },
65587
65587
  onSuccess: (Y) => {
65588
65588
  E && G.setQueryData(E, Y.data), O && G.invalidateQueries(), L && console.log(L, { res: Y });
65589
65589
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",