propro-common-components 0.1.32 → 0.1.34
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/propro-common-components.js +51 -61
- package/package.json +1 -1
@@ -56937,19 +56937,15 @@ 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
|
56941
|
-
|
56942
|
-
|
56943
|
-
|
56944
|
-
|
56945
|
-
|
56946
|
-
|
56947
|
-
}
|
56948
|
-
}), _fails;
|
56949
|
-
}
|
56950
|
-
var _descriptors, hasRequired_descriptors;
|
56940
|
+
}, _fails = function(m) {
|
56941
|
+
try {
|
56942
|
+
return !!m();
|
56943
|
+
} catch {
|
56944
|
+
return !0;
|
56945
|
+
}
|
56946
|
+
}, _descriptors, hasRequired_descriptors;
|
56951
56947
|
function require_descriptors() {
|
56952
|
-
return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !
|
56948
|
+
return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !_fails(function() {
|
56953
56949
|
return Object.defineProperty({}, "a", { get: function() {
|
56954
56950
|
return 7;
|
56955
56951
|
} }).a != 7;
|
@@ -56965,15 +56961,11 @@ function require_domCreate() {
|
|
56965
56961
|
return b ? g.createElement(_) : {};
|
56966
56962
|
}, _domCreate;
|
56967
56963
|
}
|
56968
|
-
var _ie8DomDefine
|
56969
|
-
|
56970
|
-
|
56971
|
-
|
56972
|
-
|
56973
|
-
} }).a != 7;
|
56974
|
-
})), _ie8DomDefine;
|
56975
|
-
}
|
56976
|
-
var isObject$2 = _isObject, _toPrimitive = function(m, g) {
|
56964
|
+
var _ie8DomDefine = !require_descriptors() && !_fails(function() {
|
56965
|
+
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
56966
|
+
return 7;
|
56967
|
+
} }).a != 7;
|
56968
|
+
}), isObject$2 = _isObject, _toPrimitive = function(m, g) {
|
56977
56969
|
if (!isObject$2(m))
|
56978
56970
|
return m;
|
56979
56971
|
var b, _;
|
@@ -56985,7 +56977,7 @@ function require_objectDp() {
|
|
56985
56977
|
if (hasRequired_objectDp)
|
56986
56978
|
return _objectDp;
|
56987
56979
|
hasRequired_objectDp = 1;
|
56988
|
-
var m = _anObject, g =
|
56980
|
+
var m = _anObject, g = _ie8DomDefine, b = _toPrimitive, _ = Object.defineProperty;
|
56989
56981
|
return _objectDp.f = require_descriptors() ? Object.defineProperty : function(C, $, I) {
|
56990
56982
|
if (m(C), $ = b($, !0), m(I), g)
|
56991
56983
|
try {
|
@@ -57042,21 +57034,13 @@ $export$5.U = 64;
|
|
57042
57034
|
$export$5.R = 128;
|
57043
57035
|
var _export = $export$5, toString$1 = {}.toString, _cof = function(m) {
|
57044
57036
|
return toString$1.call(m).slice(8, -1);
|
57045
|
-
},
|
57046
|
-
|
57047
|
-
|
57048
|
-
return _iobject;
|
57049
|
-
hasRequired_iobject = 1;
|
57050
|
-
var m = _cof;
|
57051
|
-
return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(g) {
|
57052
|
-
return m(g) == "String" ? g.split("") : Object(g);
|
57053
|
-
}, _iobject;
|
57054
|
-
}
|
57055
|
-
var _defined = function(m) {
|
57037
|
+
}, cof$1 = _cof, _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(m) {
|
57038
|
+
return cof$1(m) == "String" ? m.split("") : Object(m);
|
57039
|
+
}, _defined = function(m) {
|
57056
57040
|
if (m == null)
|
57057
57041
|
throw TypeError("Can't call method on " + m);
|
57058
57042
|
return m;
|
57059
|
-
}, IObject =
|
57043
|
+
}, IObject = _iobject, defined$2 = _defined, _toIobject = function(m) {
|
57060
57044
|
return IObject(defined$2(m));
|
57061
57045
|
}, ceil = Math.ceil, floor = Math.floor, _toInteger = function(m) {
|
57062
57046
|
return isNaN(m = +m) ? 0 : (m > 0 ? floor : ceil)(m);
|
@@ -57096,14 +57080,16 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
|
|
57096
57080
|
for (; g.length > _; )
|
57097
57081
|
has$5(b, C = g[_++]) && (~arrayIndexOf(x, C) || x.push(C));
|
57098
57082
|
return x;
|
57099
|
-
}, _enumBugKeys
|
57083
|
+
}, _enumBugKeys, hasRequired_enumBugKeys;
|
57084
|
+
function require_enumBugKeys() {
|
57085
|
+
return hasRequired_enumBugKeys || (hasRequired_enumBugKeys = 1, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")), _enumBugKeys;
|
57086
|
+
}
|
57087
|
+
var $keys$2 = _objectKeysInternal, enumBugKeys = require_enumBugKeys(), _objectKeys = Object.keys || function(g) {
|
57100
57088
|
return $keys$2(g, enumBugKeys);
|
57101
57089
|
}, _objectGops = {};
|
57102
57090
|
_objectGops.f = Object.getOwnPropertySymbols;
|
57103
|
-
var _objectPie = {}
|
57104
|
-
|
57105
|
-
return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
|
57106
|
-
}
|
57091
|
+
var _objectPie = {};
|
57092
|
+
_objectPie.f = {}.propertyIsEnumerable;
|
57107
57093
|
var defined$1 = _defined, _toObject = function(m) {
|
57108
57094
|
return Object(defined$1(m));
|
57109
57095
|
}, _objectAssign, hasRequired_objectAssign;
|
@@ -57111,8 +57097,8 @@ function require_objectAssign() {
|
|
57111
57097
|
if (hasRequired_objectAssign)
|
57112
57098
|
return _objectAssign;
|
57113
57099
|
hasRequired_objectAssign = 1;
|
57114
|
-
var m = require_descriptors(), g = _objectKeys, b = _objectGops, _ =
|
57115
|
-
return _objectAssign = !$ ||
|
57100
|
+
var m = require_descriptors(), g = _objectKeys, b = _objectGops, _ = _objectPie, x = _toObject, C = _iobject, $ = Object.assign;
|
57101
|
+
return _objectAssign = !$ || _fails(function() {
|
57116
57102
|
var I = {}, R = {}, P = Symbol(), N = "abcdefghijklmnopqrst";
|
57117
57103
|
return I[P] = 7, N.split("").forEach(function(z) {
|
57118
57104
|
R[z] = z;
|
@@ -57147,7 +57133,7 @@ function require_objectSap() {
|
|
57147
57133
|
if (hasRequired_objectSap)
|
57148
57134
|
return _objectSap;
|
57149
57135
|
hasRequired_objectSap = 1;
|
57150
|
-
var m = _export, g = _coreExports, b =
|
57136
|
+
var m = _export, g = _coreExports, b = _fails;
|
57151
57137
|
return _objectSap = function(_, x) {
|
57152
57138
|
var C = (g.Object || {})[_] || Object[_], $ = {};
|
57153
57139
|
$[_] = x(C), m(m.S + m.F * b(function() {
|
@@ -57219,7 +57205,7 @@ function require_objectCreate() {
|
|
57219
57205
|
if (hasRequired_objectCreate)
|
57220
57206
|
return _objectCreate;
|
57221
57207
|
hasRequired_objectCreate = 1;
|
57222
|
-
var m = _anObject, g = require_objectDps(), b =
|
57208
|
+
var m = _anObject, g = require_objectDps(), b = require_enumBugKeys(), _ = _sharedKey("IE_PROTO"), x = function() {
|
57223
57209
|
}, C = "prototype", $ = function() {
|
57224
57210
|
var I = require_domCreate()("iframe"), R = b.length, P = "<", N = ">", z;
|
57225
57211
|
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--; )
|
@@ -57317,7 +57303,7 @@ var _wksExt = {};
|
|
57317
57303
|
_wksExt.f = _wksExports;
|
57318
57304
|
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() {
|
57319
57305
|
return !0;
|
57320
|
-
}, FREEZE = !
|
57306
|
+
}, FREEZE = !_fails(function() {
|
57321
57307
|
return isExtensible(Object.preventExtensions({}));
|
57322
57308
|
}), setMeta = function(m) {
|
57323
57309
|
setDesc(m, META$1, { value: {
|
@@ -57357,7 +57343,7 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
|
|
57357
57343
|
}, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = require_objectDp().f, _wksDefine = function(m) {
|
57358
57344
|
var g = core.Symbol || (core.Symbol = {});
|
57359
57345
|
m.charAt(0) != "_" && !(m in g) && defineProperty(g, m, { value: wksExt$1.f(m) });
|
57360
|
-
}, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 =
|
57346
|
+
}, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = _objectPie, _enumKeys = function(m) {
|
57361
57347
|
var g = getKeys(m), b = gOPS.f;
|
57362
57348
|
if (b)
|
57363
57349
|
for (var _ = b(m), x = pIE$1.f, C = 0, $; _.length > C; )
|
@@ -57365,7 +57351,7 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
|
|
57365
57351
|
return g;
|
57366
57352
|
}, cof = _cof, _isArray = Array.isArray || function(g) {
|
57367
57353
|
return cof(g) == "Array";
|
57368
|
-
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys =
|
57354
|
+
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys = require_enumBugKeys().concat("length", "prototype");
|
57369
57355
|
_objectGopn.f = Object.getOwnPropertyNames || function(g) {
|
57370
57356
|
return $keys$1(g, hiddenKeys);
|
57371
57357
|
};
|
@@ -57379,7 +57365,7 @@ var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString = {}.toString, wi
|
|
57379
57365
|
_objectGopnExt.f = function(g) {
|
57380
57366
|
return windowNames && toString.call(g) == "[object Window]" ? getWindowNames(g) : gOPN$1(toIObject$2(g));
|
57381
57367
|
};
|
57382
|
-
var _objectGopd = {}, pIE =
|
57368
|
+
var _objectGopd = {}, pIE = _objectPie, createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
|
57383
57369
|
_objectGopd.f = require_descriptors() ? gOPD$1 : function(g, b) {
|
57384
57370
|
if (g = toIObject$1(g), b = toPrimitive$1(b, !0), IE8_DOM_DEFINE)
|
57385
57371
|
try {
|
@@ -57389,7 +57375,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(g, b) {
|
|
57389
57375
|
if (has$1(g, b))
|
57390
57376
|
return createDesc$1(!pIE.f.call(g, b), g[b]);
|
57391
57377
|
};
|
57392
|
-
var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails =
|
57378
|
+
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() {
|
57393
57379
|
return _create$1(dP({}, "a", {
|
57394
57380
|
get: function() {
|
57395
57381
|
return dP(this, "a", { value: 7 }).a;
|
@@ -57440,7 +57426,7 @@ USE_NATIVE || ($Symbol = function() {
|
|
57440
57426
|
return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, g, { configurable: !0, set: b }), wrap(g);
|
57441
57427
|
}, redefine($Symbol[PROTOTYPE], "toString", function() {
|
57442
57428
|
return this._k;
|
57443
|
-
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames,
|
57429
|
+
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, _objectPie.f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, DESCRIPTORS && !_library && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable), wksExt.f = function(m) {
|
57444
57430
|
return wrap(wks(m));
|
57445
57431
|
});
|
57446
57432
|
$export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
|
@@ -65492,18 +65478,22 @@ const checkAccessToken = async () => {
|
|
65492
65478
|
}, R) => {
|
65493
65479
|
const P = useQueryClient();
|
65494
65480
|
return useMutation({
|
65495
|
-
mutationFn: async (N) =>
|
65496
|
-
|
65497
|
-
|
65498
|
-
|
65499
|
-
|
65500
|
-
|
65501
|
-
|
65502
|
-
|
65503
|
-
|
65504
|
-
|
65505
|
-
|
65506
|
-
|
65481
|
+
mutationFn: async (N) => {
|
65482
|
+
I && console.log(I, m);
|
65483
|
+
const z = toast("🦄 Wow so easy!", {
|
65484
|
+
position: "top-right",
|
65485
|
+
autoClose: 5e3,
|
65486
|
+
hideProgressBar: !1,
|
65487
|
+
closeOnClick: !0,
|
65488
|
+
pauseOnHover: !0,
|
65489
|
+
draggable: !0,
|
65490
|
+
progress: void 0,
|
65491
|
+
theme: "light"
|
65492
|
+
});
|
65493
|
+
return console.log(z), checkAccessToken(), axios(m, { method: g, data: N, headers: _ }).then(
|
65494
|
+
(D) => D.data
|
65495
|
+
);
|
65496
|
+
},
|
65507
65497
|
onSuccess: (N) => {
|
65508
65498
|
b && P.setQueryData(b, N.data), x && P.invalidateQueries(), C && console.log(C, { res: N });
|
65509
65499
|
},
|