propro-common-components 0.0.87 → 0.0.89

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.
@@ -1,7 +1,7 @@
1
1
  var es = Object.defineProperty;
2
2
  var ts = (e, t, n) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Nr = (e, t, n) => (ts(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { d as tn, s as Gn, m as Hn, c as P, g as ns, a as F, b as v, e as N, o as It, P as Po, S as K, i as E, f as U, h as L, j as Be, k as D, l as rs, n as At, p as ir, q as H, r as os, t as $n, F as zo, u as Bo, v as V, $ as ft, w as pn, x as jn, y as Re, z as Ce, A as Se, I as is, B as sr, C as O, D as nn, E as Ur, G as ss, H as kt, J as jt, K as Vr, L as Z, M as ls, N as as, O as Pn, Q as cs, R as us, T as ds, U as fs, V as zn, W as gs, X as hs } from "./main-9D3yX1Ug.js";
4
+ import { d as tn, s as Gn, m as Hn, c as P, g as ns, a as F, b as v, e as N, o as It, P as Po, S as K, i as E, f as U, h as L, j as Be, k as D, l as rs, n as At, p as ir, q as H, r as os, t as $n, F as zo, u as Bo, v as V, $ as ft, w as pn, x as jn, y as Re, z as Ce, A as Se, I as is, B as sr, C as O, D as nn, E as Ur, G as ss, H as kt, J as jt, K as Vr, L as Z, M as ls, N as as, O as Pn, Q as cs, R as us, T as ds, U as fs, V as zn, W as gs, X as hs } from "./main-5Ho6HueS.js";
5
5
  var Ko = {
6
6
  À: "A",
7
7
  Á: "A",
@@ -1,2 +1,4 @@
1
- declare const Loading: () => import("react/jsx-runtime").JSX.Element | null;
1
+ declare const Loading: ({ loading }: {
2
+ loading: boolean;
3
+ }) => import("react/jsx-runtime").JSX.Element | null;
2
4
  export default Loading;
@@ -38468,7 +38468,7 @@ var parseStyle = function m(g) {
38468
38468
  function uniqueHash(m, g) {
38469
38469
  return murmur2$1("".concat(m.join("%")).concat(g));
38470
38470
  }
38471
- function Empty$1() {
38471
+ function Empty() {
38472
38472
  return null;
38473
38473
  }
38474
38474
  var STYLE_PREFIX = "style";
@@ -38528,7 +38528,7 @@ function useStyleRegister(m, g) {
38528
38528
  return function(ye) {
38529
38529
  var ve;
38530
38530
  if (!Q || re || !B)
38531
- ve = /* @__PURE__ */ React.createElement(Empty$1, null);
38531
+ ve = /* @__PURE__ */ React.createElement(Empty, null);
38532
38532
  else {
38533
38533
  var Se;
38534
38534
  ve = /* @__PURE__ */ React.createElement("style", _extends$5({}, (Se = {}, _defineProperty$1(Se, ATTR_TOKEN, me), _defineProperty$1(Se, ATTR_MARK, be), Se), {
@@ -54062,7 +54062,7 @@ var displayValue = (m, g = !1) => {
54062
54062
  const g = render(() => {
54063
54063
  const b = this, [_] = je(this, _d), [S] = je(this, Sd), [x] = je(this, Ed), [$] = je(this, xd), [T] = je(this, bd);
54064
54064
  let R;
54065
- return je(this, Cd) ? R = je(this, Cd) : (R = lazy(() => import("./335X72D7-r6cxg7Xh.js")), $t(this, Cd, R)), setupStyleSheet(je(this, Xh)), createComponent(R, mergeProps({
54065
+ return je(this, Cd) ? R = je(this, Cd) : (R = lazy(() => import("./335X72D7-w2N7rwk1.js")), $t(this, Cd, R)), setupStyleSheet(je(this, Xh)), createComponent(R, mergeProps({
54066
54066
  get queryFlavor() {
54067
54067
  return je(b, Zh);
54068
54068
  },
@@ -60443,14 +60443,14 @@ var _propertyDesc = function(m, g) {
60443
60443
  writable: !(m & 4),
60444
60444
  value: g
60445
60445
  };
60446
- }, dP$2 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(m, g, b) {
60447
- return dP$2.f(m, g, createDesc$2(1, b));
60446
+ }, dP$1 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(m, g, b) {
60447
+ return dP$1.f(m, g, createDesc$2(1, b));
60448
60448
  } : function(m, g, b) {
60449
60449
  return m[g] = b, m;
60450
60450
  }, hasOwnProperty = {}.hasOwnProperty, _has = function(m, g) {
60451
60451
  return hasOwnProperty.call(m, g);
60452
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(m, g, b) {
60453
- var _ = m & $export$5.F, S = m & $export$5.G, x = m & $export$5.S, $ = m & $export$5.P, T = m & $export$5.B, R = m & $export$5.W, P = S ? core$2 : core$2[g] || (core$2[g] = {}), O = P[PROTOTYPE$2], F = S ? global$4 : x ? global$4[g] : (global$4[g] || {})[PROTOTYPE$2], L, B, W;
60452
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$6 = _has, PROTOTYPE$1 = "prototype", $export$5 = function(m, g, b) {
60453
+ var _ = m & $export$5.F, S = m & $export$5.G, x = m & $export$5.S, $ = m & $export$5.P, T = m & $export$5.B, R = m & $export$5.W, P = S ? core$2 : core$2[g] || (core$2[g] = {}), O = P[PROTOTYPE$1], F = S ? global$4 : x ? global$4[g] : (global$4[g] || {})[PROTOTYPE$1], L, B, W;
60454
60454
  S && (b = g);
60455
60455
  for (L in b)
60456
60456
  B = !_ && F && F[L] !== void 0, !(B && has$6(P, L)) && (W = B ? F[L] : b[L], P[L] = S && typeof F[L] != "function" ? b[L] : T && B ? ctx(W, global$4) : R && F[L] == W ? function(V) {
@@ -60468,7 +60468,7 @@ var _propertyDesc = function(m, g) {
60468
60468
  }
60469
60469
  return V.apply(this, arguments);
60470
60470
  };
60471
- return Q[PROTOTYPE$2] = V[PROTOTYPE$2], Q;
60471
+ return Q[PROTOTYPE$1] = V[PROTOTYPE$1], Q;
60472
60472
  }(W) : $ && typeof W == "function" ? ctx(Function.call, W) : W, $ && ((P.virtual || (P.virtual = {}))[L] = W, m & $export$5.R && O && !O[L] && hide$1(O, L, W)));
60473
60473
  };
60474
60474
  $export$5.F = 1;
@@ -60528,15 +60528,15 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
60528
60528
  return "Symbol(".concat(m === void 0 ? "" : m, ")_", (++id$1 + px).toString(36));
60529
60529
  }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(m) {
60530
60530
  return shared$1[m] || (shared$1[m] = uid$2(m));
60531
- }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(m, g) {
60531
+ }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$1 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(m, g) {
60532
60532
  var b = toIObject$4(m), _ = 0, S = [], x;
60533
60533
  for (x in b)
60534
- x != IE_PROTO$2 && has$5(b, x) && S.push(x);
60534
+ x != IE_PROTO$1 && has$5(b, x) && S.push(x);
60535
60535
  for (; g.length > _; )
60536
60536
  has$5(b, x = g[_++]) && (~arrayIndexOf(S, x) || S.push(x));
60537
60537
  return S;
60538
- }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function(g) {
60539
- return $keys$2(g, enumBugKeys$1);
60538
+ }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys = _enumBugKeys, _objectKeys = Object.keys || function(g) {
60539
+ return $keys$2(g, enumBugKeys);
60540
60540
  }, _objectGops = {};
60541
60541
  _objectGops.f = Object.getOwnPropertySymbols;
60542
60542
  var _objectPie = {}, hasRequired_objectPie;
@@ -60579,8 +60579,8 @@ _extends.default = _assign2.default || function(m) {
60579
60579
  }
60580
60580
  return m;
60581
60581
  };
60582
- var has$4 = _has, toObject$2 = _toObject, IE_PROTO$1 = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
60583
- 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;
60582
+ var has$4 = _has, toObject$2 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(m) {
60583
+ 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;
60584
60584
  }, _objectSap, hasRequired_objectSap;
60585
60585
  function require_objectSap() {
60586
60586
  if (hasRequired_objectSap)
@@ -60632,12 +60632,20 @@ var possibleConstructorReturn = {}, _typeof$1 = {}, toInteger = _toInteger, defi
60632
60632
  var _ = String(defined(g)), S = toInteger(b), x = _.length, $, T;
60633
60633
  return S < 0 || S >= x ? m ? "" : void 0 : ($ = _.charCodeAt(S), $ < 55296 || $ > 56319 || S + 1 === x || (T = _.charCodeAt(S + 1)) < 56320 || T > 57343 ? m ? _.charAt(S) : $ : m ? _.slice(S, S + 2) : ($ - 55296 << 10) + (T - 56320) + 65536);
60634
60634
  };
60635
- }, _redefine = _hide, _iterators = {}, dP$1 = require_objectDp(), anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = require_descriptors() ? Object.defineProperties : function(g, b) {
60636
- anObject$2(g);
60637
- for (var _ = getKeys$1(b), S = _.length, x = 0, $; S > x; )
60638
- dP$1.f(g, $ = _[x++], b[$]);
60639
- return g;
60640
- }, _html, hasRequired_html;
60635
+ }, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
60636
+ function require_objectDps() {
60637
+ if (hasRequired_objectDps)
60638
+ return _objectDps;
60639
+ hasRequired_objectDps = 1;
60640
+ var m = require_objectDp(), g = _anObject, b = _objectKeys;
60641
+ return _objectDps = require_descriptors() ? Object.defineProperties : function(S, x) {
60642
+ g(S);
60643
+ for (var $ = b(x), T = $.length, R = 0, P; T > R; )
60644
+ m.f(S, P = $[R++], x[P]);
60645
+ return S;
60646
+ }, _objectDps;
60647
+ }
60648
+ var _html, hasRequired_html;
60641
60649
  function require_html() {
60642
60650
  if (hasRequired_html)
60643
60651
  return _html;
@@ -60645,16 +60653,24 @@ function require_html() {
60645
60653
  var m = _globalExports.document;
60646
60654
  return _html = m && m.documentElement, _html;
60647
60655
  }
60648
- var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO = _sharedKey("IE_PROTO"), Empty = function() {
60649
- }, PROTOTYPE$1 = "prototype", createDict = function() {
60650
- var m = require_domCreate()("iframe"), g = enumBugKeys.length, b = "<", _ = ">", S;
60651
- for (m.style.display = "none", require_html().appendChild(m), m.src = "javascript:", S = m.contentWindow.document, S.open(), S.write(b + "script" + _ + "document.F=Object" + b + "/script" + _), S.close(), createDict = S.F; g--; )
60652
- delete createDict[PROTOTYPE$1][enumBugKeys[g]];
60653
- return createDict();
60654
- }, _objectCreate = Object.create || function(g, b) {
60655
- var _;
60656
- return g !== null ? (Empty[PROTOTYPE$1] = anObject$1(g), _ = new Empty(), Empty[PROTOTYPE$1] = null, _[IE_PROTO] = g) : _ = createDict(), b === void 0 ? _ : dPs(_, b);
60657
- }, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
60656
+ var _objectCreate, hasRequired_objectCreate;
60657
+ function require_objectCreate() {
60658
+ if (hasRequired_objectCreate)
60659
+ return _objectCreate;
60660
+ hasRequired_objectCreate = 1;
60661
+ var m = _anObject, g = require_objectDps(), b = _enumBugKeys, _ = _sharedKey("IE_PROTO"), S = function() {
60662
+ }, x = "prototype", $ = function() {
60663
+ var T = require_domCreate()("iframe"), R = b.length, P = "<", O = ">", F;
60664
+ for (T.style.display = "none", require_html().appendChild(T), T.src = "javascript:", F = T.contentWindow.document, F.open(), F.write(P + "script" + O + "document.F=Object" + P + "/script" + O), F.close(), $ = F.F; R--; )
60665
+ delete $[x][b[R]];
60666
+ return $();
60667
+ };
60668
+ return _objectCreate = Object.create || function(R, P) {
60669
+ var O;
60670
+ return R !== null ? (S[x] = m(R), O = new S(), S[x] = null, O[_] = R) : O = $(), P === void 0 ? O : g(O, P);
60671
+ }, _objectCreate;
60672
+ }
60673
+ var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(m) {
60658
60674
  return store[m] || (store[m] = USE_SYMBOL && Symbol$1[m] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + m));
60659
60675
  };
60660
60676
  $exports.store = store;
@@ -60665,7 +60681,7 @@ function require_iterCreate() {
60665
60681
  if (hasRequired_iterCreate)
60666
60682
  return _iterCreate;
60667
60683
  hasRequired_iterCreate = 1;
60668
- var m = _objectCreate, g = _propertyDesc, b = _setToStringTag, _ = {};
60684
+ var m = require_objectCreate(), g = _propertyDesc, b = _setToStringTag, _ = {};
60669
60685
  return _hide(_, _wksExports("iterator"), function() {
60670
60686
  return this;
60671
60687
  }), _iterCreate = function(S, x, $) {
@@ -60812,7 +60828,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(g, b) {
60812
60828
  if (has$1(g, b))
60813
60829
  return createDesc$1(!pIE.f.call(g, b), g[b]);
60814
60830
  };
60815
- 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 = _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() {
60831
+ 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() {
60816
60832
  return _create$1(dP({}, "a", {
60817
60833
  get: function() {
60818
60834
  return dP(this, "a", { value: 7 }).a;
@@ -60990,7 +61006,7 @@ function require_setProto() {
60990
61006
  var $export$1 = _export;
60991
61007
  $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
60992
61008
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
60993
- $export($export.S, "Object", { create: _objectCreate });
61009
+ $export($export.S, "Object", { create: require_objectCreate() });
60994
61010
  var $Object = _coreExports.Object, create$1 = function(g, b) {
60995
61011
  return $Object.create(g, b);
60996
61012
  }, create = { default: create$1, __esModule: !0 };
@@ -68846,8 +68862,8 @@ Lottie.defaultProps = {
68846
68862
  isClickToPauseDisabled: !1,
68847
68863
  title: ""
68848
68864
  };
68849
- const Loading = () => {
68850
- const { state: m } = useContext$1(AppContext), g = document.createElement("div"), b = {
68865
+ const Loading = ({ loading: m }) => {
68866
+ const g = document.createElement("div"), b = {
68851
68867
  loop: !0,
68852
68868
  autoplay: !0,
68853
68869
  animationData,
@@ -68857,7 +68873,7 @@ const Loading = () => {
68857
68873
  };
68858
68874
  return useEffect(() => (document.getElementById("root").prepend(g), () => {
68859
68875
  document.getElementById("root").removeChild(g);
68860
- }), [g]), m.loading ? /* @__PURE__ */ jsx$2(Fragment$2, { children: reactDomExports.createPortal(
68876
+ }), [g]), m ? /* @__PURE__ */ jsx$2(Fragment$2, { children: reactDomExports.createPortal(
68861
68877
  /* @__PURE__ */ jsx$2("div", { className: "fixed w-[100vw] h-[100vh] z-[1000] bg-[#00000099] grid place-items-center pointer-events-none", children: /* @__PURE__ */ jsx$2(
68862
68878
  _default,
68863
68879
  {
@@ -1,4 +1,4 @@
1
- import { a0 as p, _ as r, a1 as s, Y as e, Z as t, a2 as A } from "./main-9D3yX1Ug.js";
1
+ import { a0 as p, _ as r, a1 as s, Y as e, Z as t, a2 as A } from "./main-5Ho6HueS.js";
2
2
  export {
3
3
  p as AppContext,
4
4
  r as AppHOC,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",