propro-common-components 0.1.28 → 0.1.29
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 +53 -78
- package/package.json +1 -1
@@ -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,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;
|
@@ -56967,7 +56963,7 @@ function require_domCreate() {
|
|
56967
56963
|
}
|
56968
56964
|
var _ie8DomDefine, hasRequired_ie8DomDefine;
|
56969
56965
|
function require_ie8DomDefine() {
|
56970
|
-
return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !
|
56966
|
+
return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !_fails(function() {
|
56971
56967
|
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
56972
56968
|
return 7;
|
56973
56969
|
} }).a != 7;
|
@@ -57004,14 +57000,14 @@ var _propertyDesc = function(m, g) {
|
|
57004
57000
|
writable: !(m & 4),
|
57005
57001
|
value: g
|
57006
57002
|
};
|
57007
|
-
}, dP$
|
57008
|
-
return dP$
|
57003
|
+
}, dP$2 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(m, g, b) {
|
57004
|
+
return dP$2.f(m, g, createDesc$2(1, b));
|
57009
57005
|
} : function(m, g, b) {
|
57010
57006
|
return m[g] = b, m;
|
57011
57007
|
}, hasOwnProperty = {}.hasOwnProperty, _has = function(m, g) {
|
57012
57008
|
return hasOwnProperty.call(m, g);
|
57013
|
-
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$
|
57014
|
-
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$
|
57009
|
+
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(m, g, b) {
|
57010
|
+
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;
|
57015
57011
|
x && (b = g);
|
57016
57012
|
for (D in b)
|
57017
57013
|
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) {
|
@@ -57029,7 +57025,7 @@ var _propertyDesc = function(m, g) {
|
|
57029
57025
|
}
|
57030
57026
|
return V.apply(this, arguments);
|
57031
57027
|
};
|
57032
|
-
return Z[PROTOTYPE$
|
57028
|
+
return Z[PROTOTYPE$2] = V[PROTOTYPE$2], Z;
|
57033
57029
|
}(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)));
|
57034
57030
|
};
|
57035
57031
|
$export$5.F = 1;
|
@@ -57085,19 +57081,19 @@ var _defined = function(m) {
|
|
57085
57081
|
mode: "pure",
|
57086
57082
|
copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
|
57087
57083
|
});
|
57088
|
-
var _sharedExports = _shared.exports, id$
|
57089
|
-
return "Symbol(".concat(m === void 0 ? "" : m, ")_", (++id$
|
57084
|
+
var _sharedExports = _shared.exports, id$2 = 0, px = Math.random(), _uid = function(m) {
|
57085
|
+
return "Symbol(".concat(m === void 0 ? "" : m, ")_", (++id$2 + px).toString(36));
|
57090
57086
|
}, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(m) {
|
57091
57087
|
return shared$1[m] || (shared$1[m] = uid$2(m));
|
57092
|
-
}, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$
|
57088
|
+
}, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(m, g) {
|
57093
57089
|
var b = toIObject$4(m), _ = 0, x = [], C;
|
57094
57090
|
for (C in b)
|
57095
|
-
C != IE_PROTO$
|
57091
|
+
C != IE_PROTO$2 && has$5(b, C) && x.push(C);
|
57096
57092
|
for (; g.length > _; )
|
57097
57093
|
has$5(b, C = g[_++]) && (~arrayIndexOf(x, C) || x.push(C));
|
57098
57094
|
return x;
|
57099
|
-
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys = _enumBugKeys, _objectKeys = Object.keys || function(g) {
|
57100
|
-
return $keys$2(g, enumBugKeys);
|
57095
|
+
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function(g) {
|
57096
|
+
return $keys$2(g, enumBugKeys$1);
|
57101
57097
|
}, _objectGops = {};
|
57102
57098
|
_objectGops.f = Object.getOwnPropertySymbols;
|
57103
57099
|
var _objectPie = {}, hasRequired_objectPie;
|
@@ -57112,7 +57108,7 @@ function require_objectAssign() {
|
|
57112
57108
|
return _objectAssign;
|
57113
57109
|
hasRequired_objectAssign = 1;
|
57114
57110
|
var m = require_descriptors(), g = _objectKeys, b = _objectGops, _ = require_objectPie(), x = _toObject, C = require_iobject(), $ = Object.assign;
|
57115
|
-
return _objectAssign = !$ ||
|
57111
|
+
return _objectAssign = !$ || _fails(function() {
|
57116
57112
|
var I = {}, R = {}, P = Symbol(), N = "abcdefghijklmnopqrst";
|
57117
57113
|
return I[P] = 7, N.split("").forEach(function(z) {
|
57118
57114
|
R[z] = z;
|
@@ -57140,14 +57136,14 @@ _extends.default = _assign2.default || function(m) {
|
|
57140
57136
|
}
|
57141
57137
|
return m;
|
57142
57138
|
};
|
57143
|
-
var has$4 = _has, toObject$2 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
|
57144
|
-
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;
|
57139
|
+
var has$4 = _has, toObject$2 = _toObject, IE_PROTO$1 = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
|
57140
|
+
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;
|
57145
57141
|
}, _objectSap, hasRequired_objectSap;
|
57146
57142
|
function require_objectSap() {
|
57147
57143
|
if (hasRequired_objectSap)
|
57148
57144
|
return _objectSap;
|
57149
57145
|
hasRequired_objectSap = 1;
|
57150
|
-
var m = _export, g = _coreExports, b =
|
57146
|
+
var m = _export, g = _coreExports, b = _fails;
|
57151
57147
|
return _objectSap = function(_, x) {
|
57152
57148
|
var C = (g.Object || {})[_] || Object[_], $ = {};
|
57153
57149
|
$[_] = x(C), m(m.S + m.F * b(function() {
|
@@ -57193,20 +57189,12 @@ var possibleConstructorReturn = {}, _typeof$1 = {}, toInteger = _toInteger, defi
|
|
57193
57189
|
var _ = String(defined(g)), x = toInteger(b), C = _.length, $, I;
|
57194
57190
|
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);
|
57195
57191
|
};
|
57196
|
-
}, _redefine = _hide, _iterators = {}, _objectDps,
|
57197
|
-
|
57198
|
-
|
57199
|
-
|
57200
|
-
|
57201
|
-
|
57202
|
-
return _objectDps = require_descriptors() ? Object.defineProperties : function(x, C) {
|
57203
|
-
g(x);
|
57204
|
-
for (var $ = b(C), I = $.length, R = 0, P; I > R; )
|
57205
|
-
m.f(x, P = $[R++], C[P]);
|
57206
|
-
return x;
|
57207
|
-
}, _objectDps;
|
57208
|
-
}
|
57209
|
-
var _html, hasRequired_html;
|
57192
|
+
}, _redefine = _hide, _iterators = {}, dP$1 = require_objectDp(), anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = require_descriptors() ? Object.defineProperties : function(g, b) {
|
57193
|
+
anObject$2(g);
|
57194
|
+
for (var _ = getKeys$1(b), x = _.length, C = 0, $; x > C; )
|
57195
|
+
dP$1.f(g, $ = _[C++], b[$]);
|
57196
|
+
return g;
|
57197
|
+
}, _html, hasRequired_html;
|
57210
57198
|
function require_html() {
|
57211
57199
|
if (hasRequired_html)
|
57212
57200
|
return _html;
|
@@ -57214,24 +57202,16 @@ function require_html() {
|
|
57214
57202
|
var m = _globalExports.document;
|
57215
57203
|
return _html = m && m.documentElement, _html;
|
57216
57204
|
}
|
57217
|
-
var
|
57218
|
-
function
|
57219
|
-
|
57220
|
-
|
57221
|
-
|
57222
|
-
|
57223
|
-
|
57224
|
-
|
57225
|
-
|
57226
|
-
|
57227
|
-
return $();
|
57228
|
-
};
|
57229
|
-
return _objectCreate = Object.create || function(R, P) {
|
57230
|
-
var N;
|
57231
|
-
return R !== null ? (x[C] = m(R), N = new x(), x[C] = null, N[_] = R) : N = $(), P === void 0 ? N : g(N, P);
|
57232
|
-
}, _objectCreate;
|
57233
|
-
}
|
57234
|
-
var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
|
57205
|
+
var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO = _sharedKey("IE_PROTO"), Empty = function() {
|
57206
|
+
}, PROTOTYPE$1 = "prototype", createDict = function() {
|
57207
|
+
var m = require_domCreate()("iframe"), g = enumBugKeys.length, b = "<", _ = ">", x;
|
57208
|
+
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--; )
|
57209
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[g]];
|
57210
|
+
return createDict();
|
57211
|
+
}, _objectCreate = Object.create || function(g, b) {
|
57212
|
+
var _;
|
57213
|
+
return g !== null ? (Empty[PROTOTYPE$1] = anObject$1(g), _ = new Empty(), Empty[PROTOTYPE$1] = null, _[IE_PROTO] = g) : _ = createDict(), b === void 0 ? _ : dPs(_, b);
|
57214
|
+
}, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
|
57235
57215
|
return store[m] || (store[m] = USE_SYMBOL && Symbol$1[m] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + m));
|
57236
57216
|
};
|
57237
57217
|
$exports.store = store;
|
@@ -57242,7 +57222,7 @@ function require_iterCreate() {
|
|
57242
57222
|
if (hasRequired_iterCreate)
|
57243
57223
|
return _iterCreate;
|
57244
57224
|
hasRequired_iterCreate = 1;
|
57245
|
-
var m =
|
57225
|
+
var m = _objectCreate, g = _propertyDesc, b = _setToStringTag, _ = {};
|
57246
57226
|
return _hide(_, _wksExports("iterator"), function() {
|
57247
57227
|
return this;
|
57248
57228
|
}), _iterCreate = function(x, C, $) {
|
@@ -57315,13 +57295,13 @@ for (var i = 0; i < DOMIterables.length; i++) {
|
|
57315
57295
|
}
|
57316
57296
|
var _wksExt = {};
|
57317
57297
|
_wksExt.f = _wksExports;
|
57318
|
-
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() {
|
57298
|
+
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$1 = 0, isExtensible = Object.isExtensible || function() {
|
57319
57299
|
return !0;
|
57320
|
-
}, FREEZE = !
|
57300
|
+
}, FREEZE = !_fails(function() {
|
57321
57301
|
return isExtensible(Object.preventExtensions({}));
|
57322
57302
|
}), setMeta = function(m) {
|
57323
57303
|
setDesc(m, META$1, { value: {
|
57324
|
-
i: "O" + ++id,
|
57304
|
+
i: "O" + ++id$1,
|
57325
57305
|
// object ID
|
57326
57306
|
w: {}
|
57327
57307
|
// weak collections IDs
|
@@ -57389,7 +57369,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(g, b) {
|
|
57389
57369
|
if (has$1(g, b))
|
57390
57370
|
return createDesc$1(!pIE.f.call(g, b), g[b]);
|
57391
57371
|
};
|
57392
|
-
var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails =
|
57372
|
+
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 = _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
57373
|
return _create$1(dP({}, "a", {
|
57394
57374
|
get: function() {
|
57395
57375
|
return dP(this, "a", { value: 7 }).a;
|
@@ -57567,7 +57547,7 @@ function require_setProto() {
|
|
57567
57547
|
var $export$1 = _export;
|
57568
57548
|
$export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
57569
57549
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
|
57570
|
-
$export($export.S, "Object", { create:
|
57550
|
+
$export($export.S, "Object", { create: _objectCreate });
|
57571
57551
|
var $Object = _coreExports.Object, create$1 = function(g, b) {
|
57572
57552
|
return $Object.create(g, b);
|
57573
57553
|
}, create = { default: create$1, __esModule: !0 };
|
@@ -65478,7 +65458,7 @@ const checkAccessToken = async () => {
|
|
65478
65458
|
queryFn: async () => (await checkAccessToken(), await axios.get(g).then((_) => _.data.data)),
|
65479
65459
|
refetchOnWindowFocus: !1,
|
65480
65460
|
...b
|
65481
|
-
}), useMutate = ({
|
65461
|
+
}), id = toast.loading("Please wait..."), useMutate = ({
|
65482
65462
|
url: m,
|
65483
65463
|
method: g,
|
65484
65464
|
updateKey: b,
|
@@ -65492,15 +65472,10 @@ const checkAccessToken = async () => {
|
|
65492
65472
|
}, R) => {
|
65493
65473
|
const P = useQueryClient();
|
65494
65474
|
return useMutation({
|
65495
|
-
mutationFn: async (N) => (I && console.log(I, m),
|
65496
|
-
|
65497
|
-
|
65498
|
-
|
65499
|
-
closeOnClick: !0,
|
65500
|
-
pauseOnHover: !0,
|
65501
|
-
draggable: !0,
|
65502
|
-
progress: void 0,
|
65503
|
-
theme: "light"
|
65475
|
+
mutationFn: async (N) => (I && console.log(I, m), toast.update(id, {
|
65476
|
+
render: "All is good",
|
65477
|
+
type: "info",
|
65478
|
+
isLoading: !0
|
65504
65479
|
}), checkAccessToken(), axios(m, { method: g, data: N, headers: _ }).then(
|
65505
65480
|
(z) => z.data
|
65506
65481
|
)),
|