cmcts-c-agent-embedding 1.0.37 → 1.0.38-cagent

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 (115) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/AGENTS.md +166 -0
  3. package/README.md +349 -349
  4. package/dist/api/chatRoom.d.ts +85 -0
  5. package/dist/api/chatRoom.d.ts.map +1 -0
  6. package/dist/components/Bot.d.ts +7 -0
  7. package/dist/components/Bot.d.ts.map +1 -1
  8. package/dist/components/FeedbackContentDialog.d.ts.map +1 -1
  9. package/dist/components/RoomReconnectAlert.d.ts +14 -0
  10. package/dist/components/RoomReconnectAlert.d.ts.map +1 -0
  11. package/dist/components/Toast.d.ts +10 -0
  12. package/dist/components/Toast.d.ts.map +1 -0
  13. package/dist/components/bubbles/BotBubble.d.ts +8 -0
  14. package/dist/components/bubbles/BotBubble.d.ts.map +1 -1
  15. package/dist/components/bubbles/ChartBubble.d.ts +73 -0
  16. package/dist/components/bubbles/ChartBubble.d.ts.map +1 -0
  17. package/dist/components/bubbles/ChartLoadingPlaceholder.d.ts +8 -0
  18. package/dist/components/bubbles/ChartLoadingPlaceholder.d.ts.map +1 -0
  19. package/dist/components/bubbles/ChartPlaceholder.d.ts +20 -0
  20. package/dist/components/bubbles/ChartPlaceholder.d.ts.map +1 -0
  21. package/dist/components/bubbles/ChartPopupModal.d.ts +4 -0
  22. package/dist/components/bubbles/ChartPopupModal.d.ts.map +1 -0
  23. package/dist/components/bubbles/LoadingBubble.d.ts +7 -1
  24. package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -1
  25. package/dist/components/bubbles/SourceBubble.d.ts.map +1 -1
  26. package/dist/components/bubbles/StableChartWrapper.d.ts +18 -0
  27. package/dist/components/bubbles/StableChartWrapper.d.ts.map +1 -0
  28. package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -1
  29. package/dist/components/buttons/CopyMessageButton.d.ts +10 -0
  30. package/dist/components/buttons/CopyMessageButton.d.ts.map +1 -0
  31. package/dist/components/buttons/EditMessageButton.d.ts +8 -0
  32. package/dist/components/buttons/EditMessageButton.d.ts.map +1 -0
  33. package/dist/components/buttons/PopupToast.d.ts +7 -0
  34. package/dist/components/buttons/PopupToast.d.ts.map +1 -0
  35. package/dist/components/buttons/SendButton.d.ts +1 -0
  36. package/dist/components/buttons/SendButton.d.ts.map +1 -1
  37. package/dist/components/dialogs/EditMessageDialog.d.ts +9 -0
  38. package/dist/components/dialogs/EditMessageDialog.d.ts.map +1 -0
  39. package/dist/components/icons/AddImageIcon.d.ts.map +1 -1
  40. package/dist/components/icons/CheckIcon.d.ts +3 -0
  41. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  42. package/dist/components/icons/CopyIcon.d.ts +5 -0
  43. package/dist/components/icons/CopyIcon.d.ts.map +1 -0
  44. package/dist/components/icons/EditIcon.d.ts +5 -0
  45. package/dist/components/icons/EditIcon.d.ts.map +1 -0
  46. package/dist/components/icons/FullScreenIcon.d.ts +3 -0
  47. package/dist/components/icons/FullScreenIcon.d.ts.map +1 -0
  48. package/dist/components/icons/ResetZoomIcon.d.ts +3 -0
  49. package/dist/components/icons/ResetZoomIcon.d.ts.map +1 -0
  50. package/dist/components/icons/ZoomInIcon.d.ts +3 -0
  51. package/dist/components/icons/ZoomInIcon.d.ts.map +1 -0
  52. package/dist/components/icons/ZoomOutIcon.d.ts +3 -0
  53. package/dist/components/icons/ZoomOutIcon.d.ts.map +1 -0
  54. package/dist/components/icons/index.d.ts +7 -0
  55. package/dist/components/icons/index.d.ts.map +1 -1
  56. package/dist/components/image/PreviewImage.d.ts +5 -0
  57. package/dist/components/image/PreviewImage.d.ts.map +1 -0
  58. package/dist/components/index.d.ts +1 -0
  59. package/dist/components/index.d.ts.map +1 -1
  60. package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +4 -0
  61. package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -1
  62. package/dist/components/inputs/textInput/components/TextInput.d.ts +16 -1
  63. package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -1
  64. package/dist/constants.d.ts.map +1 -1
  65. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  66. package/dist/features/full/components/Full.d.ts.map +1 -1
  67. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  68. package/dist/queries/sendMessageQuery.d.ts +34 -2
  69. package/dist/queries/sendMessageQuery.d.ts.map +1 -1
  70. package/dist/store/constant.d.ts +43 -0
  71. package/dist/store/constant.d.ts.map +1 -0
  72. package/dist/types/chart.d.ts +86 -0
  73. package/dist/types/chart.d.ts.map +1 -0
  74. package/dist/utils/chartInstanceManager.d.ts +43 -0
  75. package/dist/utils/chartInstanceManager.d.ts.map +1 -0
  76. package/dist/utils/chartTagParser.d.ts +39 -0
  77. package/dist/utils/chartTagParser.d.ts.map +1 -0
  78. package/dist/utils/chatStreamHelper.d.ts +19 -0
  79. package/dist/utils/chatStreamHelper.d.ts.map +1 -0
  80. package/dist/utils/index.d.ts +4 -0
  81. package/dist/utils/index.d.ts.map +1 -1
  82. package/dist/utils/transcriptApi.d.ts +8 -0
  83. package/dist/utils/transcriptApi.d.ts.map +1 -0
  84. package/dist/utils/ultimateJsonParser.d.ts +2 -0
  85. package/dist/utils/ultimateJsonParser.d.ts.map +1 -0
  86. package/dist/web.d.ts +4 -2
  87. package/dist/web.d.ts.map +1 -1
  88. package/dist/web.js +1 -1
  89. package/dist/window.d.ts +2 -1
  90. package/dist/window.d.ts.map +1 -1
  91. package/docs/chart-rendering-implementation-plan.md +565 -0
  92. package/package.json +11 -4
  93. package/public/index.html +4 -114
  94. package/server.js +477 -401
  95. package/.env +0 -36
  96. package/.husky/pre-commit +0 -18
  97. package/.idea/AugmentWebviewStateStore.xml +0 -10
  98. package/.idea/Flowise-share-chatbox.iml +0 -13
  99. package/.idea/codeStyles/Project.xml +0 -60
  100. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  101. package/.idea/inspectionProfiles/Project_Default.xml +0 -16
  102. package/.idea/modules.xml +0 -9
  103. package/.idea/prettier.xml +0 -6
  104. package/.idea/vcs.xml +0 -7
  105. package/dist/BubbleChat.d.ts +0 -13
  106. package/dist/BubbleChat.d.ts.map +0 -1
  107. package/dist/FullPageChat.d.ts +0 -18
  108. package/dist/FullPageChat.d.ts.map +0 -1
  109. package/dist/components/ImageUploadButton.d.ts +0 -11
  110. package/dist/components/ImageUploadButton.d.ts.map +0 -1
  111. package/dist/components/RecordAudioButton.d.ts +0 -11
  112. package/dist/components/RecordAudioButton.d.ts.map +0 -1
  113. package/dist/components/SendButton.d.ts +0 -12
  114. package/dist/components/SendButton.d.ts.map +0 -1
  115. package/dist/index.js +0 -1
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Chat Room API
3
+ * API functions for managing chat rooms and human advisor connections
4
+ */
5
+ import { RoomStatus } from '@/store/constant';
6
+ export interface ApiResponse<T> {
7
+ success: boolean;
8
+ data?: T;
9
+ error?: string;
10
+ }
11
+ export interface RoomInfo {
12
+ roomId: string;
13
+ status: RoomStatus;
14
+ createdAt: string;
15
+ humanAdvisorId?: string;
16
+ humanAdvisorName?: string;
17
+ conversationId?: string;
18
+ }
19
+ export interface MessageInfo {
20
+ id: string;
21
+ content: string;
22
+ sender: 'user' | 'agent' | 'human' | 'system';
23
+ timestamp: string;
24
+ metadata?: Record<string, any>;
25
+ }
26
+ /**
27
+ * Create a new chat room
28
+ */
29
+ export declare const createRoom: (chatflowId: string, chatId: string, apiHost?: string) => Promise<ApiResponse<RoomInfo>>;
30
+ /**
31
+ * Join an existing chat room
32
+ */
33
+ export declare const joinRoom: (roomId: string, userId?: string, apiHost?: string) => Promise<ApiResponse<RoomInfo>>;
34
+ /**
35
+ * Leave a chat room
36
+ */
37
+ export declare const leaveRoom: (roomId: string, userId?: string, apiHost?: string) => Promise<ApiResponse<{
38
+ success: boolean;
39
+ }>>;
40
+ /**
41
+ * Close a chat room (end conversation with human advisor)
42
+ */
43
+ export declare const closeRoom: (roomId: string, apiHost?: string) => Promise<ApiResponse<{
44
+ success: boolean;
45
+ }>>;
46
+ /**
47
+ * Get room status
48
+ */
49
+ export declare const getRoomStatus: (roomId: string, apiHost?: string) => Promise<ApiResponse<RoomInfo>>;
50
+ /**
51
+ * Get messages from a room
52
+ */
53
+ export declare const getRoomMessages: (roomId: string, limit?: number, before?: string, apiHost?: string) => Promise<ApiResponse<MessageInfo[]>>;
54
+ /**
55
+ * Request human advisor support
56
+ */
57
+ export declare const requestHumanAdvisor: (roomId: string, chatflowId: string, userInfo?: {
58
+ name?: string;
59
+ email?: string;
60
+ phone?: string;
61
+ }, apiHost?: string) => Promise<ApiResponse<{
62
+ requestId: string;
63
+ status: string;
64
+ }>>;
65
+ /**
66
+ * Check if room has active human advisor
67
+ */
68
+ export declare const hasActiveHumanAdvisor: (roomInfo: RoomInfo | null) => boolean;
69
+ /**
70
+ * Check if room is waiting for human advisor
71
+ */
72
+ export declare const isWaitingForHuman: (roomInfo: RoomInfo | null) => boolean;
73
+ /**
74
+ * Get stored room ID from localStorage
75
+ */
76
+ export declare const getStoredRoomId: (chatflowId: string) => string | null;
77
+ /**
78
+ * Store room ID to localStorage
79
+ */
80
+ export declare const storeRoomId: (chatflowId: string, roomId: string) => void;
81
+ /**
82
+ * Clear stored room ID from localStorage
83
+ */
84
+ export declare const clearStoredRoomId: (chatflowId: string) => void;
85
+ //# sourceMappingURL=chatRoom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatRoom.d.ts","sourceRoot":"","sources":["../../src/api/chatRoom.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAiB,UAAU,EAAe,MAAM,kBAAkB,CAAC;AAG1E,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAA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mB,WACtB,MAAM,cACF,MAAM,aACP;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,YAClD,MAAM,KACf,QAAQ,YAAY;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,MAAM,CAAA;CAAE,CAAC,CAS5D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,aAAc,QAAQ,GAAG,IAAI,KAAG,OAGjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,aAAc,QAAQ,GAAG,IAAI,KAAG,OAG7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,eAAgB,MAAM,KAAG,MAAM,GAAG,IAM7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,eAAgB,MAAM,UAAU,MAAM,KAAG,IAMhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,eAAgB,MAAM,KAAG,IAMtD,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { FilePreview } from '@/components/inputs/textInput/components/FilePreview';
2
2
  import { BotMessageTheme, DateTimeToggleTheme, DisclaimerPopUpTheme, FeedbackTheme, FooterTheme, TextInputTheme, UserMessageTheme } from '@/features/bubble/types';
3
3
  import { FeedbackRatingType } from '@/queries/sendMessageQuery';
4
+ import type { ChartConfig } from '@/types/chart';
4
5
  export type FileEvent<T = EventTarget> = {
5
6
  target: T;
6
7
  };
@@ -65,6 +66,7 @@ export type MessageType = {
65
66
  id?: string;
66
67
  followUpPrompts?: string;
67
68
  dateTime?: string;
69
+ chartConfigs?: ChartConfig[];
68
70
  };
69
71
  type observerConfigType = (accessor: string | boolean | object | MessageType[]) => void;
70
72
  export type observersConfigType = Record<'observeUserInput' | 'observeLoading' | 'observeMessages', observerConfigType>;
@@ -107,6 +109,11 @@ export type BotProps = {
107
109
  filePath?: string;
108
110
  suggestQuestions?: string;
109
111
  externalData?: string;
112
+ callBackFunction?: (e: any) => void;
113
+ callBackIcon?: string;
114
+ onToggleFullScreen?: () => void;
115
+ isFullScreen?: boolean;
116
+ onResetChat?: () => void;
110
117
  };
111
118
  export type LeadsConfig = {
112
119
  status: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,cAAc,EACd,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,kBAAkB,EAQnB,MAAM,4BAA4B,CAAC;AAiBpC,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,WAAW,IAAI;IACvC,MAAM,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,WAAW,IAAI;IACvC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,CAAC;CAClB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,qBAAqB,EAAE,iBAAiB,EAAE,CAAC;IAC3C,sBAAsB,EAAE,iBAAiB,EAAE,CAAC;IAC5C,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,KAAK,eAAe,GAAG,MAAM,GAAG,WAAW,CAAC;AAE5C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,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ources":["../../src/components/FeedbackContentDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAgB,MAAM,EAAE,MAAM,UAAU,CAAC;AAE1D,KAAK,0BAA0B,GAAG;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAKF,QAAA,MAAM,qBAAqB,UAAW,0BAA0B,mCAuF/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"FeedbackContentDialog.d.ts","sourceRoot":"","sources":["../../src/components/FeedbackContentDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,0BAA0B,GAAG;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAKF,QAAA,MAAM,qBAAqB,UAAW,0BAA0B,mCAuF/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Room Reconnect Alert Component
3
+ * Shows alert when user has an active human advisor session that can be reconnected
4
+ */
5
+ import { JSX } from 'solid-js';
6
+ export interface RoomReconnectAlertProps {
7
+ roomId: string;
8
+ advisorName?: string;
9
+ onReconnect: () => void;
10
+ onDismiss: () => void;
11
+ }
12
+ declare const RoomReconnectAlert: (props: RoomReconnectAlertProps) => JSX.Element;
13
+ export default RoomReconnectAlert;
14
+ //# sourceMappingURL=RoomReconnectAlert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoomReconnectAlert.d.ts","sourceRoot":"","sources":["../../src/components/RoomReconnectAlert.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,kBAAkB,UAAW,uBAAuB,KAAG,WA4D5D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,10 @@
1
+ type Props = {
2
+ message: string;
3
+ type?: 'error' | 'success' | 'info';
4
+ duration?: number;
5
+ onClose?: () => void;
6
+ style?: Record<string, string>;
7
+ };
8
+ export declare const Toast: (props: Props) => import("solid-js").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/components/Toast.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,KAAK,mCA2DjC,CAAC"}
@@ -1,7 +1,9 @@
1
1
  import { IAction, MessageType } from '../Bot';
2
2
  import { DateTimeToggleTheme } from '@/features/bubble/types';
3
+ import type { ChartConfig } from '@/types/chart';
3
4
  type Props = {
4
5
  message: MessageType;
6
+ setMessages?: any;
5
7
  chatflowid: string;
6
8
  chatId: string;
7
9
  apiHost?: string;
@@ -25,6 +27,12 @@ type Props = {
25
27
  onConnectToHumanAdvisor?: (id: string, params?: any) => void;
26
28
  roomIds?: Record<string, string>;
27
29
  question?: string;
30
+ callBackIcon?: string;
31
+ callBackFunction?: (e: any) => void;
32
+ checkShowCallbackBtn?: boolean;
33
+ pendingCharts?: Map<string, Partial<ChartConfig>>;
34
+ completedCharts?: Map<string, ChartConfig>;
35
+ isLastMessage?: boolean;
28
36
  };
29
37
  export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element;
30
38
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"BotBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/BotBubble.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAc,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAM1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,Q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,OAAO,CAAC;CACzB,CAAC;AAWF,eAAO,MAAM,SAAS,UAAW,KAAK,mCA+1BrC,CAAC"}
@@ -0,0 +1,73 @@
1
+ import type { ChartOptions } from 'chart.js';
2
+ import type { ChartBubbleProps, SupportedChartType } from '@/types/chart';
3
+ /**
4
+ * Vietnamese Government Style Color Palette
5
+ * Based on official Vietnamese flag colors and professional government design standards
6
+ * Primary: Red (#C8102E) - symbolizes revolution and sacrifice
7
+ * Secondary: Gold (#FFCD00) - symbolizes prosperity and national identity
8
+ * Supporting colors for multi-series data visualization with accessibility in mind
9
+ */
10
+ export declare const vnGovColors: {
11
+ primary: string;
12
+ secondary: string;
13
+ palette: string[];
14
+ paletteFill: string[];
15
+ paletteLineFill: string[];
16
+ text: {
17
+ primary: string;
18
+ secondary: string;
19
+ light: string;
20
+ };
21
+ grid: {
22
+ line: string;
23
+ border: string;
24
+ axis: string;
25
+ };
26
+ container: {
27
+ background: string;
28
+ border: string;
29
+ shadow: string;
30
+ };
31
+ };
32
+ /**
33
+ * Professional Vietnamese government chart typography settings
34
+ * Using system sans-serif fonts for clean, official appearance
35
+ */
36
+ export declare const vnGovTypography: {
37
+ fontFamily: string;
38
+ title: {
39
+ size: number;
40
+ weight: "bold";
41
+ lineHeight: number;
42
+ };
43
+ legend: {
44
+ size: number;
45
+ weight: "bold";
46
+ };
47
+ axis: {
48
+ size: number;
49
+ weight: "normal";
50
+ };
51
+ tooltip: {
52
+ size: number;
53
+ weight: "normal";
54
+ };
55
+ };
56
+ /**
57
+ * Applies Vietnamese government color palette to chart datasets
58
+ * Ensures consistent, professional appearance across all chart types
59
+ */
60
+ export declare const applyVnGovColorsToDatasets: (data: ChartBubbleProps['config']['data'], chartType: SupportedChartType) => ChartBubbleProps['config']['data'];
61
+ /**
62
+ * Creates Vietnamese government-styled chart options
63
+ * Professional appearance suitable for official reports and dashboards
64
+ */
65
+ export declare const createVnGovChartOptions: (chartType: SupportedChartType, title: string | undefined, textColor: string) => ChartOptions;
66
+ /**
67
+ * SolidJS component that renders a Chart.js chart with Vietnamese government styling.
68
+ * Features professional color palette, typography, and visual design appropriate
69
+ * for official government reports, dashboards, and publications.
70
+ */
71
+ export declare const ChartBubble: (props: ChartBubbleProps) => import("solid-js").JSX.Element;
72
+ export default ChartBubble;
73
+ //# sourceMappingURL=ChartBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/ChartBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAM1E;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CA0DvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CAmB3B,CAAC;AAoGF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,SAC/B,gBAAgB,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,aAC7B,kBAAkB,KAC5B,gBAAgB,CAAC,QAAQ,CAAC,CAAC,MAAM,CAiGnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,cACvB,kBAAkB,SACtB,MAAM,GAAG,SAAS,aACd,MAAM,KAChB,YAkJF,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,UAAW,gBAAgB,mCAsElD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ChartLoadingPlaceholderProps } from '@/types/chart';
2
+ /**
3
+ * Loading skeleton component displayed while chart data is streaming.
4
+ * Shows an animated placeholder with a chart icon.
5
+ */
6
+ export declare const ChartLoadingPlaceholder: (props: ChartLoadingPlaceholderProps) => import("solid-js").JSX.Element;
7
+ export default ChartLoadingPlaceholder;
8
+ //# sourceMappingURL=ChartLoadingPlaceholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartLoadingPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/ChartLoadingPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAIlE;;;GAGG;AACH,eAAO,MAAM,uBAAuB,UAAW,4BAA4B,mCAkI1E,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ChartConfig } from '@/types/chart';
2
+ export interface ChartPlaceholderProps {
3
+ chartId: string;
4
+ /** Getter function that returns the chart config. Using a getter ensures reactivity when rendered via SolidJS render(). */
5
+ getConfig?: () => ChartConfig | null | undefined;
6
+ /** Getter function that returns loading state. Using a getter ensures reactivity when rendered via SolidJS render(). */
7
+ getIsLoading?: () => boolean;
8
+ /** Getter function that returns true while streaming is in progress. Using a getter ensures reactivity when rendered via SolidJS render(). */
9
+ isStreaming?: () => boolean;
10
+ backgroundColor?: string;
11
+ textColor?: string;
12
+ }
13
+ /**
14
+ * Simplified placeholder component that renders charts directly inline.
15
+ * Uses StableChartWrapper to ensure charts are only rendered once when config is available.
16
+ * Includes a fullscreen button to open the chart in a popup modal with zoom/pan capabilities.
17
+ */
18
+ export declare const ChartPlaceholder: (props: ChartPlaceholderProps) => import("solid-js").JSX.Element;
19
+ export default ChartPlaceholder;
20
+ //# sourceMappingURL=ChartPlaceholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/ChartPlaceholder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKjD,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,2HAA2H;IAC3H,SAAS,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,wHAAwH;IACxH,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B,8IAA8I;IAC9I,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,mCA+E5D,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChartPopupModalProps } from '@/types/chart';
2
+ export declare const ChartPopupModal: (props: ChartPopupModalProps) => import("solid-js").JSX.Element;
3
+ export default ChartPopupModal;
4
+ //# sourceMappingURL=ChartPopupModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartPopupModal.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/ChartPopupModal.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAS1D,eAAO,MAAM,eAAe,UAAW,oBAAoB,mCAiO1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,2 +1,8 @@
1
- export declare const LoadingBubble: () => import("solid-js").JSX.Element;
1
+ type Props = {
2
+ streamingStartTime?: number | null;
3
+ elapsedStreamingTime?: number;
4
+ hideTimer?: boolean;
5
+ };
6
+ export declare const LoadingBubble: (props: Props) => import("solid-js").JSX.Element;
7
+ export {};
2
8
  //# sourceMappingURL=LoadingBubble.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LoadingBubble.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,sCAMzB,CAAC"}
1
+ {"version":3,"file":"LoadingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LoadingBubble.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,KAAK,mCAWzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SourceBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/SourceBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,KAAK,mCAiDxC,CAAC"}
1
+ {"version":3,"file":"SourceBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/SourceBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,KAAK,mCAmDxC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { ChartConfig } from '@/types/chart';
2
+ export interface StableChartWrapperProps {
3
+ chartId: string;
4
+ /** Getter function for reactive config updates */
5
+ getConfig?: () => ChartConfig | null | undefined;
6
+ /** Getter function for reactive loading state updates */
7
+ getIsLoading?: () => boolean;
8
+ backgroundColor?: string;
9
+ textColor?: string;
10
+ }
11
+ /**
12
+ * A stable wrapper component that renders ChartBubble only ONCE when config becomes available.
13
+ * Uses manual DOM rendering via solid-js/web render() to bypass reactive updates.
14
+ * This prevents re-renders during streaming updates.
15
+ */
16
+ export declare const StableChartWrapper: (props: StableChartWrapperProps) => import("solid-js").JSX.Element;
17
+ export default StableChartWrapper;
18
+ //# sourceMappingURL=StableChartWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StableChartWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StableChartWrapper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,mCAmGhE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StarterPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StarterPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCAsB/C,CAAC"}
1
+ {"version":3,"file":"StarterPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StarterPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCA0B/C,CAAC"}
@@ -0,0 +1,10 @@
1
+ interface ICopyMessageButtonProps {
2
+ class?: string;
3
+ isLoading?: boolean;
4
+ onCopy?: (text: string) => void;
5
+ copiedDuration?: number;
6
+ textToCopy: string;
7
+ }
8
+ declare const CopyMessageButton: (props: ICopyMessageButtonProps) => import("solid-js").JSX.Element;
9
+ export default CopyMessageButton;
10
+ //# sourceMappingURL=CopyMessageButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyMessageButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/CopyMessageButton.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,UAAW,uBAAuB,mCA6CxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,8 @@
1
+ interface IEditMessageButtonProps {
2
+ class?: string;
3
+ isLoading?: boolean;
4
+ onClick?: () => void;
5
+ }
6
+ declare const EditMessageButton: (props: IEditMessageButtonProps) => import("solid-js").JSX.Element;
7
+ export default EditMessageButton;
8
+ //# sourceMappingURL=EditMessageButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditMessageButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/EditMessageButton.tsx"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,iBAAiB,UAAW,uBAAuB,mCAmBxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,7 @@
1
+ interface IPopupToast {
2
+ content: string;
3
+ duration?: number;
4
+ }
5
+ declare const PopupToast: (props: IPopupToast) => import("solid-js").JSX.Element;
6
+ export default PopupToast;
7
+ //# sourceMappingURL=PopupToast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopupToast.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/PopupToast.tsx"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,UAAU,UAAW,WAAW,mCAwCrC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -7,6 +7,7 @@ type SendButtonProps = {
7
7
  } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
8
  export declare const SendButton: (props: SendButtonProps) => JSX.Element;
9
9
  export declare const DeleteButton: (props: SendButtonProps) => JSX.Element;
10
+ export declare const FullScreenButton: (props: SendButtonProps) => JSX.Element;
10
11
  export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
11
12
  export {};
12
13
  //# sourceMappingURL=SendButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAiBhD,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,eAAe,gBAsBlD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAiBhD,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,eAAe,gBAsBlD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,eAAe,gBAsBtD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface EditMessageDialogProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ originalMessage: string;
5
+ onSave: (newMessage: string) => Promise<void>;
6
+ }
7
+ declare const EditMessageDialog: (props: EditMessageDialogProps) => import("solid-js").JSX.Element;
8
+ export default EditMessageDialog;
9
+ //# sourceMappingURL=EditMessageDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditMessageDialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialogs/EditMessageDialog.tsx"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED,QAAA,MAAM,iBAAiB,UAAW,sBAAsB,mCA0EvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddImageIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AddImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBtE,CAAC"}
1
+ {"version":3,"file":"AddImageIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AddImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAmBtE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const CheckIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=CheckIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,SAAS,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAcnE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const CopyIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement> & {
3
+ filled?: boolean;
4
+ }) => JSX.Element;
5
+ //# sourceMappingURL=CopyIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CopyIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,gBAiBzF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const EditIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement> & {
3
+ filled?: boolean;
4
+ }) => JSX.Element;
5
+ //# sourceMappingURL=EditIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/EditIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,gBAiBzF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const FullScreenIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=FullScreenIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FullScreenIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FullScreenIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,cAAc,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAwBxE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ResetZoomIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ResetZoomIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResetZoomIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ResetZoomIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBvE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ZoomInIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ZoomInIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomInIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ZoomInIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ZoomOutIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ZoomOutIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoomOutIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ZoomOutIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,eAAO,MAAM,WAAW,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAiBrE,CAAC"}
@@ -11,4 +11,11 @@ export * from './XIcon';
11
11
  export * from './TickIcon';
12
12
  export * from './AttachmentIcon';
13
13
  export * from './SparklesIcon';
14
+ export * from './FullScreenIcon';
15
+ export * from './EditIcon';
16
+ export * from './CopyIcon';
17
+ export * from './CheckIcon';
18
+ export * from './ZoomInIcon';
19
+ export * from './ZoomOutIcon';
20
+ export * from './ResetZoomIcon';
14
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const PreviewImage: (props: {
2
+ previewImg: () => Element | null;
3
+ setPreviewImg: (value: Element | null) => void;
4
+ }) => import("solid-js").JSX.Element;
5
+ //# sourceMappingURL=PreviewImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewImage.d.ts","sourceRoot":"","sources":["../../../src/components/image/PreviewImage.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;gBAAyB,MAAM,OAAO,GAAG,IAAI;2BAAyB,OAAO,GAAG,IAAI,KAAK,IAAI;oCA6BrH,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './buttons/SendButton';
2
2
  export * from './TypingBubble';
3
+ export { default as RoomReconnectAlert } from './RoomReconnectAlert';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -4,6 +4,10 @@ type ShortTextInputProps = {
4
4
  onInput: (value: string) => void;
5
5
  fontSize?: number;
6
6
  disabled?: boolean;
7
+ isWelcomeScreen?: boolean;
8
+ onFocus?: () => void;
9
+ onBlur?: () => void;
10
+ onPaste?: (event: any) => void;
7
11
  } & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onInput'>;
8
12
  export declare const ShortTextInput: (props: ShortTextInputProps) => JSX.Element;
9
13
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,mBAAmB,GAAG,SAAS,CAAC;IACxD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAC;AAIrE,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBA4CxD,CAAC"}
1
+ {"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,mBAAmB,GAAG,SAAS,CAAC;IACxD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBAoKxD,CAAC"}