callix-dialer-widget 1.2.0 → 1.2.2

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.
@@ -54367,8 +54367,19 @@ function AuthenticatedDialer({ username, dialValue, setDialValue, onLogout, vari
54367
54367
  ] }) }) : null;
54368
54368
  if (isMiniMode) {
54369
54369
  const isCallActive = isInCall || isConnecting;
54370
- const callButtonDisabled = !isCallActive && !isNumberValid;
54370
+ const hasNumber = sanitizedDialValue.length > 0;
54371
+ const callButtonDisabled = !isCallActive && !hasNumber;
54371
54372
  const miniCanUseKeypad = !availabilityError && (canUseKeypad || isIdle || isOnBreak);
54373
+ console.log("[FloatingDialer Mini] Estado:", {
54374
+ miniCanUseKeypad,
54375
+ callButtonDisabled,
54376
+ hasNumber,
54377
+ dialValue: sanitizedDialValue,
54378
+ isNumberValid,
54379
+ availabilityError,
54380
+ callState,
54381
+ operatorState: operatorState == null ? void 0 : operatorState.state
54382
+ });
54372
54383
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
54373
54384
  "div",
54374
54385
  {