analytica-frontend-lib 1.2.74 → 1.2.76

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/index.mjs CHANGED
@@ -23882,6 +23882,11 @@ var formatDaysToComplete = (daysToComplete) => {
23882
23882
  if (daysToComplete === 1) return "1 dia";
23883
23883
  return `${daysToComplete} dias`;
23884
23884
  };
23885
+ var GOAL_ACTIVITY_STATUS = {
23886
+ PENDENTE: "PENDENTE",
23887
+ CONCLUIDA: "CONCLUIDA",
23888
+ EXPIRADA: "EXPIRADA"
23889
+ };
23885
23890
 
23886
23891
  // src/hooks/useRecommendedLessons.ts
23887
23892
  import { useState as useState43, useCallback as useCallback21 } from "react";
@@ -26713,6 +26718,7 @@ function useChat({
26713
26718
  setIsConnected(true);
26714
26719
  setError(null);
26715
26720
  reconnectAttemptsRef.current = 0;
26721
+ ws.send(JSON.stringify({ type: "getInitialData" }));
26716
26722
  onConnect?.();
26717
26723
  };
26718
26724
  ws.onmessage = handleMessage;
@@ -27616,6 +27622,7 @@ export {
27616
27622
  EmptyState_default as EmptyState,
27617
27623
  FileAttachment_default as FileAttachment,
27618
27624
  FilterModal,
27625
+ GOAL_ACTIVITY_STATUS,
27619
27626
  GOAL_FILTER_STATUS_OPTIONS,
27620
27627
  GOAL_STATUS_OPTIONS,
27621
27628
  ActivityStatus2 as GeneralActivityStatus,