nectiasw 0.0.82 → 0.0.84

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.
@@ -16,6 +16,7 @@ export type ContextProps = Partial<CommonSignalConnection> & {
16
16
  expanded?: boolean;
17
17
  history?: BrowserHistory;
18
18
  environment?: Record<string, string>;
19
+ onClear?: () => void;
19
20
  onExpand?: (status?: boolean) => void;
20
21
  onSignal?: (signal?: CommonSignalConnection) => void;
21
22
  onAcessDenied?: (route: string) => void;
package/dist/index.es.js CHANGED
@@ -34641,7 +34641,7 @@ const Datepicker = React__default.memo((props) => {
34641
34641
  format: format2,
34642
34642
  minDate,
34643
34643
  maxDate,
34644
- readOnly: readOnly2,
34644
+ readOnly,
34645
34645
  disabled,
34646
34646
  onChange,
34647
34647
  className,
@@ -34777,7 +34777,7 @@ const Datepicker = React__default.memo((props) => {
34777
34777
  locale: "es",
34778
34778
  minDate,
34779
34779
  maxDate,
34780
- readOnly: readOnly2,
34780
+ readOnly,
34781
34781
  disabled,
34782
34782
  selected: props == null ? void 0 : props.date,
34783
34783
  wrapperClassName: className,
@@ -34814,7 +34814,7 @@ const Datepicker = React__default.memo((props) => {
34814
34814
  open,
34815
34815
  locale: "es",
34816
34816
  value,
34817
- readOnly: readOnly2,
34817
+ readOnly,
34818
34818
  disabled,
34819
34819
  selected: props == null ? void 0 : props.date,
34820
34820
  minDate,
@@ -49683,7 +49683,7 @@ const resetAllStores = () => {
49683
49683
  }
49684
49684
  };
49685
49685
  /*!
49686
- * sweetalert2 v11.14.4
49686
+ * sweetalert2 v11.14.5
49687
49687
  * Released under the MIT License.
49688
49688
  */
49689
49689
  function _assertClassBrand(e, t, n) {
@@ -51104,12 +51104,13 @@ const prepareResolveValue = (resolveValue) => {
51104
51104
  }, resolveValue);
51105
51105
  };
51106
51106
  const handlePopupAnimation = (instance, popup, innerParams) => {
51107
+ var _globalState$eventEmi;
51107
51108
  const container = getContainer();
51108
51109
  const animationIsSupported = hasCssAnimation(popup);
51109
51110
  if (typeof innerParams.willClose === "function") {
51110
51111
  innerParams.willClose(popup);
51111
51112
  }
51112
- globalState.eventEmitter.emit("willClose", popup);
51113
+ (_globalState$eventEmi = globalState.eventEmitter) === null || _globalState$eventEmi === void 0 || _globalState$eventEmi.emit("willClose", popup);
51113
51114
  if (animationIsSupported) {
51114
51115
  animatePopup(instance, popup, container, innerParams.returnFocus, innerParams.didClose);
51115
51116
  } else {
@@ -51120,7 +51121,8 @@ const animatePopup = (instance, popup, container, returnFocus, didClose) => {
51120
51121
  globalState.swalCloseEventFinishedCallback = removePopupAndResetState.bind(null, instance, container, returnFocus, didClose);
51121
51122
  const swalCloseAnimationFinished = function(e) {
51122
51123
  if (e.target === popup) {
51123
- globalState.swalCloseEventFinishedCallback();
51124
+ var _globalState$swalClos;
51125
+ (_globalState$swalClos = globalState.swalCloseEventFinishedCallback) === null || _globalState$swalClos === void 0 || _globalState$swalClos.call(globalState);
51124
51126
  delete globalState.swalCloseEventFinishedCallback;
51125
51127
  popup.removeEventListener("animationend", swalCloseAnimationFinished);
51126
51128
  popup.removeEventListener("transitionend", swalCloseAnimationFinished);
@@ -51131,10 +51133,11 @@ const animatePopup = (instance, popup, container, returnFocus, didClose) => {
51131
51133
  };
51132
51134
  const triggerDidCloseAndDispose = (instance, didClose) => {
51133
51135
  setTimeout(() => {
51136
+ var _globalState$eventEmi2;
51134
51137
  if (typeof didClose === "function") {
51135
51138
  didClose.bind(instance.params)();
51136
51139
  }
51137
- globalState.eventEmitter.emit("didClose");
51140
+ (_globalState$eventEmi2 = globalState.eventEmitter) === null || _globalState$eventEmi2 === void 0 || _globalState$eventEmi2.emit("didClose");
51138
51141
  if (instance._destroy) {
51139
51142
  instance._destroy();
51140
51143
  }
@@ -52573,7 +52576,7 @@ const initFocus = (domCache, innerParams) => {
52573
52576
  setFocus(-1, 1);
52574
52577
  };
52575
52578
  const focusAutofocus = (domCache) => {
52576
- const autofocusElements = domCache.popup.querySelectorAll("[autofocus]");
52579
+ const autofocusElements = Array.from(domCache.popup.querySelectorAll("[autofocus]"));
52577
52580
  for (const autofocusElement of autofocusElements) {
52578
52581
  if (autofocusElement instanceof HTMLElement && isVisible$1(autofocusElement)) {
52579
52582
  autofocusElement.focus();
@@ -52647,7 +52650,7 @@ Object.keys(instanceMethods).forEach((key) => {
52647
52650
  };
52648
52651
  });
52649
52652
  SweetAlert.DismissReason = DismissReason;
52650
- SweetAlert.version = "11.14.4";
52653
+ SweetAlert.version = "11.14.5";
52651
52654
  const Swal = SweetAlert;
52652
52655
  Swal.default = Swal;
52653
52656
  "undefined" != typeof document && function(e, t) {
@@ -52659,250 +52662,6 @@ Swal.default = Swal;
52659
52662
  n.innerText = t;
52660
52663
  }
52661
52664
  }(document, '.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:hsl(0,0%,33%);font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):focus-visible{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):focus-visible{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus-visible{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em;text-align:center}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:0;padding:1em 1.6em .3em;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid hsl(0,0%,85%);border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:hsl(0,0%,94%);color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-icon).swal2-warning{border-color:rgb(249.95234375,205.965625,167.74765625);color:#f8bb86}div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-icon).swal2-info{border-color:rgb(156.7033492823,224.2822966507,246.2966507177);color:#3fc3ee}div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-icon).swal2-question{border-color:rgb(200.8064516129,217.9677419355,225.1935483871);color:#87adbd}div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}');
52662
- var Action;
52663
- (function(Action2) {
52664
- Action2["Pop"] = "POP";
52665
- Action2["Push"] = "PUSH";
52666
- Action2["Replace"] = "REPLACE";
52667
- })(Action || (Action = {}));
52668
- var readOnly = process.env.NODE_ENV !== "production" ? function(obj) {
52669
- return Object.freeze(obj);
52670
- } : function(obj) {
52671
- return obj;
52672
- };
52673
- function warning(cond, message2) {
52674
- {
52675
- if (typeof console !== "undefined") console.warn(message2);
52676
- try {
52677
- throw new Error(message2);
52678
- } catch (e) {
52679
- }
52680
- }
52681
- }
52682
- var BeforeUnloadEventType = "beforeunload";
52683
- var PopStateEventType = "popstate";
52684
- function createBrowserHistory(options2) {
52685
- if (options2 === void 0) {
52686
- options2 = {};
52687
- }
52688
- var _options = options2, _options$window = _options.window, window2 = _options$window === void 0 ? document.defaultView : _options$window;
52689
- var globalHistory = window2.history;
52690
- function getIndexAndLocation() {
52691
- var _window$location = window2.location, pathname = _window$location.pathname, search = _window$location.search, hash = _window$location.hash;
52692
- var state = globalHistory.state || {};
52693
- return [state.idx, readOnly({
52694
- pathname,
52695
- search,
52696
- hash,
52697
- state: state.usr || null,
52698
- key: state.key || "default"
52699
- })];
52700
- }
52701
- var blockedPopTx = null;
52702
- function handlePop() {
52703
- if (blockedPopTx) {
52704
- blockers.call(blockedPopTx);
52705
- blockedPopTx = null;
52706
- } else {
52707
- var nextAction = Action.Pop;
52708
- var _getIndexAndLocation = getIndexAndLocation(), nextIndex = _getIndexAndLocation[0], nextLocation = _getIndexAndLocation[1];
52709
- if (blockers.length) {
52710
- if (nextIndex != null) {
52711
- var delta = index2 - nextIndex;
52712
- if (delta) {
52713
- blockedPopTx = {
52714
- action: nextAction,
52715
- location: nextLocation,
52716
- retry: function retry() {
52717
- go(delta * -1);
52718
- }
52719
- };
52720
- go(delta);
52721
- }
52722
- } else {
52723
- process.env.NODE_ENV !== "production" ? warning(
52724
- false,
52725
- // TODO: Write up a doc that explains our blocking strategy in
52726
- // detail and link to it here so people can understand better what
52727
- // is going on and how to avoid it.
52728
- "You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation."
52729
- ) : void 0;
52730
- }
52731
- } else {
52732
- applyTx(nextAction);
52733
- }
52734
- }
52735
- }
52736
- window2.addEventListener(PopStateEventType, handlePop);
52737
- var action = Action.Pop;
52738
- var _getIndexAndLocation2 = getIndexAndLocation(), index2 = _getIndexAndLocation2[0], location2 = _getIndexAndLocation2[1];
52739
- var listeners = createEvents();
52740
- var blockers = createEvents();
52741
- if (index2 == null) {
52742
- index2 = 0;
52743
- globalHistory.replaceState(_extends$7({}, globalHistory.state, {
52744
- idx: index2
52745
- }), "");
52746
- }
52747
- function createHref(to2) {
52748
- return typeof to2 === "string" ? to2 : createPath(to2);
52749
- }
52750
- function getNextLocation(to2, state) {
52751
- if (state === void 0) {
52752
- state = null;
52753
- }
52754
- return readOnly(_extends$7({
52755
- pathname: location2.pathname,
52756
- hash: "",
52757
- search: ""
52758
- }, typeof to2 === "string" ? parsePath(to2) : to2, {
52759
- state,
52760
- key: createKey()
52761
- }));
52762
- }
52763
- function getHistoryStateAndUrl(nextLocation, index3) {
52764
- return [{
52765
- usr: nextLocation.state,
52766
- key: nextLocation.key,
52767
- idx: index3
52768
- }, createHref(nextLocation)];
52769
- }
52770
- function allowTx(action2, location3, retry) {
52771
- return !blockers.length || (blockers.call({
52772
- action: action2,
52773
- location: location3,
52774
- retry
52775
- }), false);
52776
- }
52777
- function applyTx(nextAction) {
52778
- action = nextAction;
52779
- var _getIndexAndLocation3 = getIndexAndLocation();
52780
- index2 = _getIndexAndLocation3[0];
52781
- location2 = _getIndexAndLocation3[1];
52782
- listeners.call({
52783
- action,
52784
- location: location2
52785
- });
52786
- }
52787
- function push(to2, state) {
52788
- var nextAction = Action.Push;
52789
- var nextLocation = getNextLocation(to2, state);
52790
- function retry() {
52791
- push(to2, state);
52792
- }
52793
- if (allowTx(nextAction, nextLocation, retry)) {
52794
- var _getHistoryStateAndUr = getHistoryStateAndUrl(nextLocation, index2 + 1), historyState = _getHistoryStateAndUr[0], url = _getHistoryStateAndUr[1];
52795
- try {
52796
- globalHistory.pushState(historyState, "", url);
52797
- } catch (error2) {
52798
- window2.location.assign(url);
52799
- }
52800
- applyTx(nextAction);
52801
- }
52802
- }
52803
- function replace(to2, state) {
52804
- var nextAction = Action.Replace;
52805
- var nextLocation = getNextLocation(to2, state);
52806
- function retry() {
52807
- replace(to2, state);
52808
- }
52809
- if (allowTx(nextAction, nextLocation, retry)) {
52810
- var _getHistoryStateAndUr2 = getHistoryStateAndUrl(nextLocation, index2), historyState = _getHistoryStateAndUr2[0], url = _getHistoryStateAndUr2[1];
52811
- globalHistory.replaceState(historyState, "", url);
52812
- applyTx(nextAction);
52813
- }
52814
- }
52815
- function go(delta) {
52816
- globalHistory.go(delta);
52817
- }
52818
- var history = {
52819
- get action() {
52820
- return action;
52821
- },
52822
- get location() {
52823
- return location2;
52824
- },
52825
- createHref,
52826
- push,
52827
- replace,
52828
- go,
52829
- back: function back() {
52830
- go(-1);
52831
- },
52832
- forward: function forward() {
52833
- go(1);
52834
- },
52835
- listen: function listen(listener) {
52836
- return listeners.push(listener);
52837
- },
52838
- block: function block(blocker) {
52839
- var unblock = blockers.push(blocker);
52840
- if (blockers.length === 1) {
52841
- window2.addEventListener(BeforeUnloadEventType, promptBeforeUnload);
52842
- }
52843
- return function() {
52844
- unblock();
52845
- if (!blockers.length) {
52846
- window2.removeEventListener(BeforeUnloadEventType, promptBeforeUnload);
52847
- }
52848
- };
52849
- }
52850
- };
52851
- return history;
52852
- }
52853
- function promptBeforeUnload(event) {
52854
- event.preventDefault();
52855
- event.returnValue = "";
52856
- }
52857
- function createEvents() {
52858
- var handlers = [];
52859
- return {
52860
- get length() {
52861
- return handlers.length;
52862
- },
52863
- push: function push(fn) {
52864
- handlers.push(fn);
52865
- return function() {
52866
- handlers = handlers.filter(function(handler2) {
52867
- return handler2 !== fn;
52868
- });
52869
- };
52870
- },
52871
- call: function call(arg) {
52872
- handlers.forEach(function(fn) {
52873
- return fn && fn(arg);
52874
- });
52875
- }
52876
- };
52877
- }
52878
- function createKey() {
52879
- return Math.random().toString(36).substr(2, 8);
52880
- }
52881
- function createPath(_ref) {
52882
- var _ref$pathname = _ref.pathname, pathname = _ref$pathname === void 0 ? "/" : _ref$pathname, _ref$search = _ref.search, search = _ref$search === void 0 ? "" : _ref$search, _ref$hash = _ref.hash, hash = _ref$hash === void 0 ? "" : _ref$hash;
52883
- if (search && search !== "?") pathname += search.charAt(0) === "?" ? search : "?" + search;
52884
- if (hash && hash !== "#") pathname += hash.charAt(0) === "#" ? hash : "#" + hash;
52885
- return pathname;
52886
- }
52887
- function parsePath(path) {
52888
- var parsedPath = {};
52889
- if (path) {
52890
- var hashIndex = path.indexOf("#");
52891
- if (hashIndex >= 0) {
52892
- parsedPath.hash = path.substr(hashIndex);
52893
- path = path.substr(0, hashIndex);
52894
- }
52895
- var searchIndex = path.indexOf("?");
52896
- if (searchIndex >= 0) {
52897
- parsedPath.search = path.substr(searchIndex);
52898
- path = path.substr(0, searchIndex);
52899
- }
52900
- if (path) {
52901
- parsedPath.pathname = path;
52902
- }
52903
- }
52904
- return parsedPath;
52905
- }
52906
52665
  const roles = ["otic", "otec", "empresa"];
52907
52666
  const assign = (realm_access) => {
52908
52667
  const role = roles.find((role2) => realm_access.includes(role2));
@@ -52916,37 +52675,64 @@ const renderName = (name) => {
52916
52675
  };
52917
52676
  const MicrofrontHost = React__default.memo((props) => {
52918
52677
  const {
52919
- app,
52920
52678
  layout = true,
52921
52679
  navbar = () => true,
52922
52680
  sidebar = () => true,
52923
52681
  footer: footer2,
52924
52682
  navigation,
52925
52683
  environment,
52926
- observerToken = true,
52927
52684
  previousPath = false,
52928
52685
  includeNavbarDropdown
52929
52686
  } = props;
52930
- const [signal, setSignal] = React__default.useState({});
52931
- const history = React__default.useRef(createBrowserHistory());
52932
52687
  const dismiss = React__default.useRef(true);
52933
- useBroadcaster(
52934
- EventMap.ON_CONNECT_APP,
52935
- () => {
52936
- setSignal((currentSingal) => ({
52937
- ...currentSingal,
52938
- loading: true
52688
+ const authentication = React__default.useRef(props == null ? void 0 : props.onAuthCallback);
52689
+ const [signal, setSignal] = React__default.useState({});
52690
+ const handleAuthCallback = React__default.useCallback(async () => {
52691
+ var _a3;
52692
+ setSignal((signal2) => ({
52693
+ ...signal2,
52694
+ loading: true
52695
+ }));
52696
+ try {
52697
+ const data = await ((_a3 = authentication == null ? void 0 : authentication.current) == null ? void 0 : _a3.call(authentication));
52698
+ setSignal((signal2) => {
52699
+ var _a4, _b2, _c2, _d;
52700
+ return {
52701
+ ...signal2,
52702
+ info: data.info,
52703
+ user: data.user,
52704
+ session: {
52705
+ token: data.token,
52706
+ refreshToken: data.refreshToken
52707
+ },
52708
+ ref: {
52709
+ lastName: renderName((_a4 = signal2 == null ? void 0 : signal2.user) == null ? void 0 : _a4.lastName),
52710
+ firstName: renderName((_b2 = signal2 == null ? void 0 : signal2.user) == null ? void 0 : _b2.firstName),
52711
+ role: assign(((_d = (_c2 = signal2 == null ? void 0 : signal2.info) == null ? void 0 : _c2.realm_access) == null ? void 0 : _d.roles) ?? [])
52712
+ }
52713
+ };
52714
+ });
52715
+ } catch (e) {
52716
+ console.debug("Microfront Error:", e);
52717
+ } finally {
52718
+ setSignal((signal2) => ({
52719
+ ...signal2,
52720
+ loading: false
52939
52721
  }));
52940
- },
52941
- app
52942
- );
52722
+ }
52723
+ }, []);
52724
+ React__default.useEffect(() => {
52725
+ handleAuthCallback();
52726
+ }, [handleAuthCallback]);
52943
52727
  const onSignal = React__default.useCallback((signal2) => {
52944
52728
  if (signal2) {
52945
52729
  setSignal(signal2);
52946
52730
  }
52947
52731
  }, []);
52732
+ const onClear = React__default.useCallback(() => {
52733
+ setSignal({});
52734
+ }, []);
52948
52735
  const onAcessDenied = React__default.useCallback(async (route) => {
52949
- var _a3;
52950
52736
  if (dismiss.current) {
52951
52737
  dismiss.current = false;
52952
52738
  await Swal.fire({
@@ -52957,63 +52743,31 @@ const MicrofrontHost = React__default.memo((props) => {
52957
52743
  showCancelButton: false,
52958
52744
  showConfirmButton: false
52959
52745
  });
52960
- (_a3 = history.current) == null ? void 0 : _a3.push({
52961
- pathname: route
52962
- });
52746
+ navigateToUrl(route);
52963
52747
  dismiss.current = true;
52964
52748
  }
52965
52749
  }, []);
52966
- React__default.useEffect(() => {
52967
- if (typeof props.loading === "boolean") {
52968
- setSignal((currentSingal) => ({
52969
- ...currentSingal,
52970
- loading: props.loading
52971
- }));
52972
- }
52973
- }, [props.loading]);
52974
- React__default.useEffect(() => {
52975
- if (observerToken) {
52976
- observe(EventMap.SIGNAL, (signalRef) => {
52977
- setSignal({
52978
- ...signalRef,
52979
- loading: false
52980
- });
52981
- });
52982
- }
52983
- }, [app, observerToken]);
52984
52750
  const context = React__default.useMemo(() => {
52985
- var _a3, _b2, _c2, _d;
52986
52751
  return {
52987
52752
  ...signal,
52753
+ onClear,
52988
52754
  onSignal,
52989
52755
  onAcessDenied,
52990
- history: history.current,
52991
- environment,
52992
- ref: {
52993
- lastName: renderName((_a3 = signal == null ? void 0 : signal.user) == null ? void 0 : _a3.lastName),
52994
- firstName: renderName((_b2 = signal == null ? void 0 : signal.user) == null ? void 0 : _b2.firstName),
52995
- role: assign(((_d = (_c2 = signal == null ? void 0 : signal.info) == null ? void 0 : _c2.realm_access) == null ? void 0 : _d.roles) ?? [])
52996
- }
52756
+ environment
52997
52757
  };
52998
- }, [signal, environment, onSignal, onAcessDenied]);
52758
+ }, [signal, environment, onClear, onSignal, onAcessDenied]);
52999
52759
  return /* @__PURE__ */ jsxRuntimeExports.jsx(SignalContext.Provider, { value: context, children: layout ? /* @__PURE__ */ jsxRuntimeExports.jsx(
53000
52760
  Layout,
53001
52761
  {
53002
52762
  menu: navigation,
53003
- includeNavbar: navbar == null ? void 0 : navbar(
53004
- signal,
53005
- signal.loading
53006
- ),
53007
- includeSidebar: sidebar == null ? void 0 : sidebar(
53008
- signal,
53009
- signal.loading
53010
- ),
53011
52763
  includeFooter: footer2,
53012
52764
  previousPath,
52765
+ includeNavbar: navbar == null ? void 0 : navbar(signal, signal.loading),
52766
+ includeSidebar: sidebar == null ? void 0 : sidebar(signal, signal.loading),
53013
52767
  includeNavbarDropdown,
53014
52768
  children: signal.loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, { status: true }) : props.children
53015
52769
  }
53016
- ) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: signal.loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, { status: true }) : props.children }) });
52770
+ ) : /* @__PURE__ */ jsxRuntimeExports.jsx(React__default.Fragment, { children: signal.loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loading, { status: true }) : props.children }) });
53017
52771
  });
53018
52772
  var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
53019
52773
  LogLevel2[LogLevel2["DEBUG"] = 0] = "DEBUG";