@fayz-ai/plugin-crm 0.40.0 → 0.41.0

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.
@@ -6,7 +6,7 @@ import { dealHeadline, dealHouseLine, QuoteFormView, QuoteListView, QuoteDetailV
6
6
  import './chunk-ZWUFORDV.js';
7
7
  import { formatCurrency, CrmContextProvider, useCrmProvider, useCrmStore, useCrmConfig } from './chunk-7V46TYYX.js';
8
8
  import React2, { useCallback, useMemo, useState, useEffect, useRef } from 'react';
9
- import { Archive, FileX2, FileCheck2, Send, FilePlus2, XCircle, Trophy, PhoneCall, MoveRight, Target, ArrowRightLeft, UserPlus, MapPin, MessageCircle, CheckSquare, FileText, Users, Mail, Phone, Loader2, Snowflake, Sun, Flame, ThumbsDown, UserRoundPlus, UserRound, Check, Filter, Globe, ChevronRight, Plus, Settings, Tag, Briefcase, CircleDot, User, Inbox, X, Play, Clock, Download, Sparkles, Calendar, ArrowRight, Network, Building2, CheckCircle2, AlertTriangle, Star, Pencil, Trash2, MessageSquareQuote, CalendarDays, SignalHigh, CalendarRange, TrendingDown, MoreHorizontal, UserCheck, Settings2, Repeat, Zap, Merge, Fingerprint, Paperclip, ImageOff, ChevronDown, Search, Link2, RefreshCw, ExternalLink, Ban, PhoneMissed, MessageSquareOff, PhoneOff, CalendarClock, Clipboard, DollarSign, ThumbsUp, SlidersHorizontal, ChevronLeft } from 'lucide-react';
9
+ import { UserCheck, Archive, FileX2, FileCheck2, Send, FilePlus2, XCircle, Trophy, PhoneCall, MoveRight, Target, ArrowRightLeft, UserPlus, MapPin, MessageCircle, CheckSquare, FileText, Users, Mail, Phone, Loader2, Snowflake, Sun, Flame, ThumbsDown, UserRoundPlus, UserRound, Check, Filter, Globe, ChevronRight, Plus, Settings, Tag, Briefcase, CircleDot, User, Inbox, X, Play, Clock, Download, Sparkles, Calendar, ArrowRight, Network, Building2, CheckCircle2, AlertTriangle, Star, Pencil, Trash2, MessageSquareQuote, CalendarDays, SignalHigh, CalendarRange, TrendingDown, MoreHorizontal, Settings2, Repeat, Zap, Merge, Fingerprint, Paperclip, ImageOff, ChevronDown, Search, Link2, RefreshCw, ExternalLink, Ban, PhoneMissed, MessageSquareOff, PhoneOff, CalendarClock, Clipboard, DollarSign, ThumbsUp, SlidersHorizontal, ChevronLeft } from 'lucide-react';
10
10
  import { Dropdown, DropdownTrigger, Button, PersonAvatar, DropdownContent, PageTransition, ModulePage, useIsWide, PageHeaderActions, usePageSize, toast, FilterChip, MultiSelect, FilterMenu, FilterMenuRow, SubpageHeader, ListView, ConfirmDialog, Modal, ModalContent, ModalHeader, ModalTitle, ModalBody, Input, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Textarea, ModalFooter, DataTable, PhoneLink, ComingSoon, StatTiles, Card, Switch, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, DashboardCanvas, DatePicker, Pagination, DropdownItem, PersonPicker, ShellBanner, cn, HeaderTabs, SheetBody, SheetFooter, Popover, PopoverTrigger, PopoverContent, getLucideIcon, DictateButton, ModalDescription, normalizePhone } from '@fayz-ai/ui';
11
11
  import { useTranslation, usePluginRuntimeOptional, currentAppPath, navigateApp, useActiveTenantId, exportCSV, getSupabaseClientOptional, appHref, loadMessageOverrides, resolveMessages, useActiveUnitId, getActiveTenantId } from '@fayz-ai/core';
12
12
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -3125,7 +3125,8 @@ var TYPE_ICONS = {
3125
3125
  quote_rejected: FileX2,
3126
3126
  lead_archived: Archive,
3127
3127
  deal_archived: Archive,
3128
- quote_archived: Archive
3128
+ quote_archived: Archive,
3129
+ deal_assigned: UserCheck
3129
3130
  };
3130
3131
  function ActivityTimeline({ activities, loading, locale, contactName }) {
3131
3132
  const t = useTranslation();
@@ -8020,6 +8021,7 @@ var SYSTEM_ACTIVITY_TYPES = [
8020
8021
  "deal_won",
8021
8022
  "deal_lost",
8022
8023
  "deal_archived",
8024
+ "deal_assigned",
8023
8025
  "quote_created",
8024
8026
  "quote_sent",
8025
8027
  "quote_approved",
@@ -8048,7 +8050,8 @@ var TYPE_CONFIG = {
8048
8050
  quote_rejected: { icon: FileX2, color: "bg-destructive/15 text-destructive dark:bg-destructive/20", label: "Quote rejected" },
8049
8051
  lead_archived: { icon: Archive, color: "bg-muted text-muted-foreground", label: "Lead archived" },
8050
8052
  deal_archived: { icon: Archive, color: "bg-muted text-muted-foreground", label: "Deal archived" },
8051
- quote_archived: { icon: Archive, color: "bg-muted text-muted-foreground", label: "Quote archived" }
8053
+ quote_archived: { icon: Archive, color: "bg-muted text-muted-foreground", label: "Quote archived" },
8054
+ deal_assigned: { icon: UserCheck, color: "bg-info/15 text-info dark:bg-info/20", label: "Owner changed" }
8052
8055
  };
8053
8056
  var SYSTEM_TYPES = new Set(SYSTEM_ACTIVITY_TYPES);
8054
8057
  var MANUAL_TYPES = Object.keys(TYPE_CONFIG).filter((t) => !SYSTEM_TYPES.has(t));
@@ -9783,5 +9786,5 @@ function CrmPage({ config, provider, store, registries }) {
9783
9786
  }
9784
9787
 
9785
9788
  export { CrmPage };
9786
- //# sourceMappingURL=CrmPage-DLFFHQJP.js.map
9787
- //# sourceMappingURL=CrmPage-DLFFHQJP.js.map
9789
+ //# sourceMappingURL=CrmPage-LPIRRUUT.js.map
9790
+ //# sourceMappingURL=CrmPage-LPIRRUUT.js.map