@elevasis/ui 2.66.0 → 2.68.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.
Files changed (98) hide show
  1. package/dist/api/index.d.ts +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +16 -15
  4. package/dist/app/index.js +31 -21
  5. package/dist/auth/index.js +10 -12
  6. package/dist/charts/index.js +10 -12
  7. package/dist/chunk-2MTP3H3A.js +425 -0
  8. package/dist/chunk-3KMDHCAR.js +52 -0
  9. package/dist/chunk-3MEXPLWT.js +265 -0
  10. package/dist/{chunk-XNW3O6QW.js → chunk-5NRJ2BLQ.js} +1 -1
  11. package/dist/chunk-75NOC536.js +2162 -0
  12. package/dist/chunk-76IVMVI3.js +1764 -0
  13. package/dist/chunk-AH52XQB7.js +1 -0
  14. package/dist/chunk-BZZCNLT6.js +12 -0
  15. package/dist/chunk-DLR4SDZW.js +51 -0
  16. package/dist/chunk-FK3K2VK2.js +2103 -0
  17. package/dist/chunk-GBXTRSAU.js +37 -0
  18. package/dist/chunk-HJVPVS57.js +1934 -0
  19. package/dist/{chunk-M535KHLW.js → chunk-JC5W55J3.js} +1 -1
  20. package/dist/{chunk-I7BZVVVU.js → chunk-L3HFJFYF.js} +89 -382
  21. package/dist/chunk-LGKLC5MG.js +44 -0
  22. package/dist/{chunk-4DV4ECMG.js → chunk-N7U24M2J.js} +4 -0
  23. package/dist/chunk-NDHMZT2G.js +383 -0
  24. package/dist/chunk-OOACTYRA.js +10 -0
  25. package/dist/chunk-PDHTXPSF.js +12 -0
  26. package/dist/chunk-QYI5BZKM.js +85 -0
  27. package/dist/{chunk-4OEVLV66.js → chunk-R6NMRXNO.js} +112 -147
  28. package/dist/chunk-SIVUCZXQ.js +1194 -0
  29. package/dist/{chunk-JFBZ6XDW.js → chunk-SNZDFCOQ.js} +3 -49
  30. package/dist/chunk-TGPJNKDU.js +1595 -0
  31. package/dist/chunk-TUMSNGTX.js +35 -0
  32. package/dist/chunk-TYKAKJGW.js +67 -0
  33. package/dist/chunk-UD657ICS.js +589 -0
  34. package/dist/chunk-WPIASV3H.js +194 -0
  35. package/dist/chunk-ZFISGKYW.js +39 -0
  36. package/dist/chunk-ZGCWTWBD.js +16127 -0
  37. package/dist/chunk-ZNKZMK2E.js +4528 -0
  38. package/dist/chunk-ZWS3TCQR.js +11032 -0
  39. package/dist/components/chat/index.js +2 -1
  40. package/dist/components/index.d.ts +23 -11
  41. package/dist/components/index.js +2773 -14
  42. package/dist/components/navigation/index.js +11 -12
  43. package/dist/features/auth/index.d.ts +0 -4
  44. package/dist/features/auth/index.js +12 -13
  45. package/dist/features/clients/index.js +14 -12
  46. package/dist/features/crm/index.d.ts +1371 -15
  47. package/dist/features/crm/index.js +15 -12
  48. package/dist/features/dashboard/index.d.ts +1 -2
  49. package/dist/features/dashboard/index.js +15 -12
  50. package/dist/features/delivery/index.d.ts +0 -4
  51. package/dist/features/delivery/index.js +15 -12
  52. package/dist/features/knowledge/index.js +10 -12
  53. package/dist/features/lead-gen/index.d.ts +35 -15
  54. package/dist/features/lead-gen/index.js +16 -12
  55. package/dist/features/monitoring/index.js +15 -12
  56. package/dist/features/monitoring/requests/index.js +13 -13
  57. package/dist/features/operations/index.d.ts +1 -2
  58. package/dist/features/operations/index.js +21 -12
  59. package/dist/features/public-agent-chat/index.js +2 -1
  60. package/dist/features/seo/index.js +2 -1
  61. package/dist/features/settings/index.d.ts +0 -4
  62. package/dist/features/settings/index.js +14 -12
  63. package/dist/hooks/access/index.js +10 -12
  64. package/dist/hooks/delivery/index.d.ts +0 -4
  65. package/dist/hooks/delivery/index.js +2 -23
  66. package/dist/hooks/index.d.ts +13 -7
  67. package/dist/hooks/index.js +10 -12
  68. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -2
  69. package/dist/hooks/published.d.ts +13 -7
  70. package/dist/hooks/published.js +10 -12
  71. package/dist/initialization/index.d.ts +1 -5
  72. package/dist/knowledge/index.d.ts +1 -2
  73. package/dist/knowledge/index.js +15 -13
  74. package/dist/layout/index.js +14 -12
  75. package/dist/organization/index.d.ts +3 -3
  76. package/dist/organization/index.js +1 -21
  77. package/dist/profile/index.d.ts +0 -4
  78. package/dist/provider/index.d.ts +2 -7
  79. package/dist/provider/index.js +10 -12
  80. package/dist/provider/published.d.ts +2 -7
  81. package/dist/provider/published.js +10 -12
  82. package/dist/supabase/index.d.ts +0 -8
  83. package/dist/test-utils/index.d.ts +5 -0
  84. package/dist/test-utils/index.js +5 -5
  85. package/dist/test-utils/setup-integration.js +1 -1
  86. package/dist/test-utils/setup.js +1 -1
  87. package/dist/theme/index.js +2 -1
  88. package/dist/typeform/index.js +2049 -1
  89. package/dist/types/index.d.ts +13 -7
  90. package/dist/utils/index.d.ts +1 -2
  91. package/dist/utils/index.js +1 -1
  92. package/package.json +5 -5
  93. package/dist/chunk-ANNM5R7S.js +0 -51404
  94. package/dist/chunk-AUDNF2Q7.js +0 -2050
  95. package/dist/index.css +0 -659
  96. package/dist/index.d.ts +0 -17888
  97. package/dist/index.js +0 -30
  98. package/dist/{chunk-GMXGDO3I.js → chunk-MISHPEJX.js} +1 -1
@@ -1,2 +1,3 @@
1
- export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator } from '../../chunk-JFBZ6XDW.js';
1
+ export { ChatHeader, ChatInputArea, ChatInterface, ChatSidebar, MessageBubble, ProcessingIndicator } from '../../chunk-SNZDFCOQ.js';
2
+ import '../../chunk-3KMDHCAR.js';
2
3
  import '../../chunk-I2KLQ2HA.js';
@@ -3549,10 +3549,6 @@ type Database = {
3549
3549
  Args: Record<PropertyKey, never>;
3550
3550
  Returns: string;
3551
3551
  };
3552
- detect_stalled_executions: {
3553
- Args: Record<PropertyKey, never>;
3554
- Returns: undefined;
3555
- };
3556
3552
  execute_session_turn: {
3557
3553
  Args: {
3558
3554
  p_session_id: string;
@@ -3847,7 +3843,18 @@ type DealDetailResponse = z.infer<typeof DealDetailResponseSchema>;
3847
3843
 
3848
3844
  /** Raw database row type for acq_deals table */
3849
3845
  type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
3850
- type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
3846
+ /**
3847
+ * Deal stage key. Intentionally an open string, not a closed union — stage
3848
+ * vocabulary is tenant-owned content (see the `CrmStageKeySchema` comment in
3849
+ * api-schemas.ts: "CRM stage/state catalogs are model-owned... The published
3850
+ * core schema validates only the transport shape; closed-catalog membership
3851
+ * is enforced by the caller/API layer via model-injected validators"). A
3852
+ * closed union here would bake Elevasis's specific pipeline
3853
+ * (`interested`/`proposal`/`closing`/`closed_won`/`closed_lost`/`nurturing`)
3854
+ * into every tenant's type surface. `DealStageSchema` in api-schemas.ts is
3855
+ * already `z.string()` for the same reason; this type now matches it.
3856
+ */
3857
+ type DealStage = string;
3851
3858
  type DealPriorityBucketKey = 'needs_response' | 'follow_up_due' | 'waiting' | 'stale' | 'closed_low';
3852
3859
  interface DealPriority {
3853
3860
  bucketKey: DealPriorityBucketKey;
@@ -4197,8 +4204,7 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
4197
4204
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
4198
4205
  readinessContract: z.ZodOptional<z.ZodObject<{
4199
4206
  requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
4200
- requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
4201
- requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4207
+ requiredCatalogs: z.ZodArray<z.ZodString>;
4202
4208
  }, z.core.$strict>>;
4203
4209
  }, z.core.$strict>;
4204
4210
  type JsonPrimitive = string | number | boolean | null;
@@ -5271,7 +5277,7 @@ interface StyledMarkdownProps {
5271
5277
  *
5272
5278
  * @example
5273
5279
  * ```tsx
5274
- * import { StyledMarkdown } from '@repo/ui'
5280
+ * import { StyledMarkdown } from '@elevasis/ui/components'
5275
5281
  *
5276
5282
  * <StyledMarkdown>{markdownContent}</StyledMarkdown>
5277
5283
  * ```
@@ -5291,7 +5297,7 @@ interface JsonViewerProps {
5291
5297
  *
5292
5298
  * @example
5293
5299
  * ```tsx
5294
- * import { JsonViewer } from '@repo/ui'
5300
+ * import { JsonViewer } from '@elevasis/ui/components'
5295
5301
  *
5296
5302
  * <JsonViewer data={{ foo: 'bar', count: 42 }} />
5297
5303
  * <JsonViewer data={apiResponse} maxHeight={300} />
@@ -6452,7 +6458,7 @@ declare const showWarningNotification: (message: string) => void;
6452
6458
  *
6453
6459
  * @example
6454
6460
  * ```typescript
6455
- * import { showApiErrorNotification } from '@repo/ui/utils'
6461
+ * import { showApiErrorNotification } from '@elevasis/ui/components'
6456
6462
  *
6457
6463
  * onError: (error) => {
6458
6464
  * showApiErrorNotification(error)
@@ -7292,8 +7298,14 @@ interface DealDetailPageProps {
7292
7298
  dealId: string;
7293
7299
  renderActions?: (deal: DealDetail) => ReactNode;
7294
7300
  onDealLoaded?: (deal: DealDetail) => void;
7301
+ /**
7302
+ * Base URL for the "Copy Booking Link" affordance. `@repo/ui` has no built-in booking
7303
+ * domain -- when omitted, the copy-link button is hidden rather than falling back to
7304
+ * a placeholder URL.
7305
+ */
7306
+ bookingUrl?: string;
7295
7307
  }
7296
- declare function DealDetailPage({ dealId, renderActions, onDealLoaded }: DealDetailPageProps): react_jsx_runtime.JSX.Element;
7308
+ declare function DealDetailPage({ dealId, renderActions, onDealLoaded, bookingUrl }: DealDetailPageProps): react_jsx_runtime.JSX.Element;
7297
7309
 
7298
7310
  interface CompanyDetailPageProps {
7299
7311
  companyId: string;