impact-ui 4.0.0-alpha.15 → 4.0.0-alpha.16
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/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index3.js +4 -2
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +2 -4
- package/dist/components/Button/Button.types.d.ts +4 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +2 -0
- package/dist/components/Table/CommentsPortal.d.ts +1 -3
- package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
- package/dist/components/Table/CommentsPortal.js +2 -3
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/NoComments.js +3 -1
- package/dist/components/Table/TableImpl.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.js +12 -0
- package/dist/components/Table/commentPanel.d.ts +2 -1
- package/dist/components/Table/commentPanel.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.js +5 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +4 -2
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +12 -14
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +4 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +0 -4
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/mcp-component-registry.json +37 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index14.js
CHANGED
package/dist/_virtual/index15.js
CHANGED
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { getAugmentedNamespace } from "./_commonjsHelpers.js";
|
|
2
|
+
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js";
|
|
3
|
+
const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
require$$1 as default
|
|
4
6
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAugmentedNamespace } from "./_commonjsHelpers.js";
|
|
2
|
-
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/
|
|
3
|
-
const require$$
|
|
2
|
+
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
|
|
3
|
+
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
4
4
|
export {
|
|
5
|
-
require$$
|
|
5
|
+
require$$2 as default
|
|
6
6
|
};
|
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
|
|
3
|
-
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
1
|
+
var reactIs = { exports: {} };
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
reactIs as __module
|
|
6
4
|
};
|
|
@@ -36,6 +36,10 @@ export interface ButtonProps extends Omit<BaseComponentProps, 'children'>, Omit<
|
|
|
36
36
|
* The button type for styling purposes (not HTML button type)
|
|
37
37
|
*/
|
|
38
38
|
type?: 'default' | 'destructive';
|
|
39
|
+
/**
|
|
40
|
+
* Native HTML button type (submit, reset, or button)
|
|
41
|
+
*/
|
|
42
|
+
htmlType?: 'button' | 'submit' | 'reset';
|
|
39
43
|
/**
|
|
40
44
|
* Click handler for the button
|
|
41
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEvF,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;IAC/F;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;IAC3F;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAEvF,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;IAC/F;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC;IAC3F;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAG9B,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,MAAM,wHAsJlB,CAAC;AAIF,eAAe,MAAM,CAAC"}
|
|
@@ -14,6 +14,7 @@ const Button = forwardRef(
|
|
|
14
14
|
disabled,
|
|
15
15
|
className = "",
|
|
16
16
|
type = "default",
|
|
17
|
+
htmlType = "button",
|
|
17
18
|
"aria-label": ariaLabel,
|
|
18
19
|
...args
|
|
19
20
|
}, ref) => {
|
|
@@ -103,6 +104,7 @@ const Button = forwardRef(
|
|
|
103
104
|
className: classStr,
|
|
104
105
|
disableRipple: true,
|
|
105
106
|
disableElevation: true,
|
|
107
|
+
type: htmlType,
|
|
106
108
|
"aria-label": computedAriaLabel,
|
|
107
109
|
"aria-busy": loading,
|
|
108
110
|
"aria-disabled": isDisabled,
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
1
|
declare const CommentsPortal: ({ isOpen, onClose, comments, onAddComment, cellId, position, author, onMouseEnter, onMouseLeave, openedBy, onMenuClick, onMarkAsReadClick, onMarkAsResolvedClick, editCommentText, isLoading, error, onClearError, currentAuthor, editingComment, onUpdateComment, setEditingComment, loadParticipantsAvatar, resolvedComments, messageId, configuration, }: {
|
|
4
2
|
isOpen: any;
|
|
5
3
|
onClose: any;
|
|
@@ -26,6 +24,6 @@ declare const CommentsPortal: ({ isOpen, onClose, comments, onAddComment, cellId
|
|
|
26
24
|
resolvedComments?: never[] | undefined;
|
|
27
25
|
messageId?: null | undefined;
|
|
28
26
|
configuration: any;
|
|
29
|
-
}) =>
|
|
27
|
+
}) => import('react').ReactPortal | null;
|
|
30
28
|
export default CommentsPortal;
|
|
31
29
|
//# sourceMappingURL=CommentsPortal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentsPortal.d.ts","sourceRoot":"","sources":["../../../src/components/Table/CommentsPortal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommentsPortal.d.ts","sourceRoot":"","sources":["../../../src/components/Table/CommentsPortal.tsx"],"names":[],"mappings":"AAgBA,QAAA,MAAM,cAAc,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BvB,uCAyZA,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NoComments.d.ts","sourceRoot":"","sources":["../../../src/components/Table/NoComments.tsx"],"names":[],"mappings":"AAyCA,QAAA,MAAM,UAAU,GAAI;;;;;;;;;;;;;CAanB,
|
|
1
|
+
{"version":3,"file":"NoComments.d.ts","sourceRoot":"","sources":["../../../src/components/Table/NoComments.tsx"],"names":[],"mappings":"AAyCA,QAAA,MAAM,UAAU,GAAI;;;;;;;;;;;;;CAanB,4CA2OA,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableImpl.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableImpl.tsx"],"names":[],"mappings":"AAaA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAe7B,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"TableImpl.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableImpl.tsx"],"names":[],"mappings":"AAaA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAe7B,eAAO,MAAM,KAAK,mFAo8DjB,CAAC"}
|
|
@@ -678,6 +678,8 @@ const Table = forwardRef(
|
|
|
678
678
|
);
|
|
679
679
|
const [comments, setComments] = useState((commentProps == null ? void 0 : commentProps.comments) || {});
|
|
680
680
|
const [resolvedComments, setResolvedComments] = useState((commentProps == null ? void 0 : commentProps.resolvedComments) || []);
|
|
681
|
+
const commentsBeforeResolvedViewRef = useRef(null);
|
|
682
|
+
const resolvedCommentsBeforeResolvedViewRef = useRef(null);
|
|
681
683
|
const [isCommentResolvedAlertOpen, setIsCommentResolvedAlertOpen] = useState(false);
|
|
682
684
|
useEffect(() => {
|
|
683
685
|
if (commentProps == null ? void 0 : commentProps.comments) {
|
|
@@ -1569,10 +1571,20 @@ const Table = forwardRef(
|
|
|
1569
1571
|
setShowCommentPanel,
|
|
1570
1572
|
showCommentPanel,
|
|
1571
1573
|
onCommentItemClick: handleCommentItemClick,
|
|
1574
|
+
onExitResolvedCommentsView: (commentProps == null ? void 0 : commentProps.handleFetchResolvedComments) ? () => {
|
|
1575
|
+
if (commentsBeforeResolvedViewRef.current != null && resolvedCommentsBeforeResolvedViewRef.current != null) {
|
|
1576
|
+
setComments(commentsBeforeResolvedViewRef.current);
|
|
1577
|
+
setResolvedComments(resolvedCommentsBeforeResolvedViewRef.current);
|
|
1578
|
+
commentsBeforeResolvedViewRef.current = null;
|
|
1579
|
+
resolvedCommentsBeforeResolvedViewRef.current = null;
|
|
1580
|
+
}
|
|
1581
|
+
} : void 0,
|
|
1572
1582
|
onMarkAsReadClick: commentProps == null ? void 0 : commentProps.handleMarkAsRead,
|
|
1573
1583
|
onMarkAsResolvedClick: handleMarkAsResolved,
|
|
1574
1584
|
onMenuClick: handleMenuClick,
|
|
1575
1585
|
onShowResolvedCommentsRequest: (commentProps == null ? void 0 : commentProps.handleFetchResolvedComments) ? async () => {
|
|
1586
|
+
commentsBeforeResolvedViewRef.current = comments;
|
|
1587
|
+
resolvedCommentsBeforeResolvedViewRef.current = resolvedComments;
|
|
1576
1588
|
const result = await commentProps.handleFetchResolvedComments();
|
|
1577
1589
|
if (result) {
|
|
1578
1590
|
if (result.comments !== void 0) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function CommentPanel({ showCommentPanel, setShowCommentPanel, comments, onCommentItemClick, onMenuClick, onMarkAsReadClick, onMarkAsResolvedClick, commentProps, resolvedComments, popup, onShowResolvedCommentsRequest, }: {
|
|
1
|
+
export default function CommentPanel({ showCommentPanel, setShowCommentPanel, comments, onCommentItemClick, onMenuClick, onMarkAsReadClick, onMarkAsResolvedClick, commentProps, resolvedComments, popup, onShowResolvedCommentsRequest, onExitResolvedCommentsView, }: {
|
|
2
2
|
showCommentPanel: any;
|
|
3
3
|
setShowCommentPanel: any;
|
|
4
4
|
comments: any;
|
|
@@ -10,5 +10,6 @@ export default function CommentPanel({ showCommentPanel, setShowCommentPanel, co
|
|
|
10
10
|
resolvedComments: any;
|
|
11
11
|
popup: any;
|
|
12
12
|
onShowResolvedCommentsRequest: any;
|
|
13
|
+
onExitResolvedCommentsView: any;
|
|
13
14
|
}): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
//# sourceMappingURL=commentPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commentPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Table/commentPanel.tsx"],"names":[],"mappings":"AA4CA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,6BAA6B,
|
|
1
|
+
{"version":3,"file":"commentPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Table/commentPanel.tsx"],"names":[],"mappings":"AA4CA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,6BAA6B,EAC7B,0BAA0B,GAC3B;;;;;;;;;;;;;CAAA,2CA2YA"}
|
|
@@ -49,7 +49,8 @@ function CommentPanel({
|
|
|
49
49
|
commentProps,
|
|
50
50
|
resolvedComments,
|
|
51
51
|
popup,
|
|
52
|
-
onShowResolvedCommentsRequest
|
|
52
|
+
onShowResolvedCommentsRequest,
|
|
53
|
+
onExitResolvedCommentsView
|
|
53
54
|
}) {
|
|
54
55
|
const [activeItem, setActiveItem] = useState(null);
|
|
55
56
|
const [menuAnchorEl, setMenuAnchorEl] = useState(null);
|
|
@@ -129,6 +130,9 @@ function CommentPanel({
|
|
|
129
130
|
};
|
|
130
131
|
const handleOptionClick = async (option) => {
|
|
131
132
|
setMenuAnchorEl(null);
|
|
133
|
+
if (selectedOption === "opt3" && option.value !== "opt3" && onExitResolvedCommentsView) {
|
|
134
|
+
onExitResolvedCommentsView();
|
|
135
|
+
}
|
|
132
136
|
if (option.value === "opt3" && onShowResolvedCommentsRequest) {
|
|
133
137
|
setIsLoadingResolvedComments(true);
|
|
134
138
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"AAWA,OAAO,kCAAkC,CAAC;AAU1C,QAAA,MAAM,kBAAkB,GAAI;;;;CAA0C,
|
|
1
|
+
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"AAWA,OAAO,kCAAkC,CAAC;AAU1C,QAAA,MAAM,kBAAkB,GAAI;;;;CAA0C,4CAmuBrE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -125,7 +125,7 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration }) => {
|
|
|
125
125
|
var _a3, _b3;
|
|
126
126
|
setShowPinnedMsg(false);
|
|
127
127
|
setShowThread(true);
|
|
128
|
-
handleThreadClick();
|
|
128
|
+
handleThreadClick(messageId);
|
|
129
129
|
(_b3 = (_a3 = chatConfiguration == null ? void 0 : chatConfiguration.messageChatConfig) == null ? void 0 : _a3.onThreadClick) == null ? void 0 : _b3.call(_a3, messageId, messageItem);
|
|
130
130
|
},
|
|
131
131
|
// Load participants for mentions
|
|
@@ -221,12 +221,13 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration }) => {
|
|
|
221
221
|
id: (_d2 = (_c2 = newChat == null ? void 0 : newChat.otherProps) == null ? void 0 : _c2.object_ids) == null ? void 0 : _d2[0],
|
|
222
222
|
title: "Chat List",
|
|
223
223
|
objectType: (_e2 = newChat == null ? void 0 : newChat.otherProps) == null ? void 0 : _e2.object_type
|
|
224
|
-
// or get from configuration
|
|
225
224
|
};
|
|
226
225
|
await fetchChatList(newChannelInfo);
|
|
227
226
|
setSelectedChannelInfo(newChannelInfo);
|
|
228
227
|
setSelectedChannelId((_g2 = (_f2 = newChat == null ? void 0 : newChat.otherProps) == null ? void 0 : _f2.object_ids) == null ? void 0 : _g2[0]);
|
|
229
228
|
await handleChatClick(newChat.id, newChat);
|
|
229
|
+
} else if (selectedChannelId2) {
|
|
230
|
+
await fetchChatList(selectedChannelId2);
|
|
230
231
|
}
|
|
231
232
|
}
|
|
232
233
|
return response;
|
|
@@ -307,6 +308,7 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration }) => {
|
|
|
307
308
|
setIsSearchOpen(false);
|
|
308
309
|
setIsMoreOpen(false);
|
|
309
310
|
setHighlightMessageId(null);
|
|
311
|
+
setIsCreateNewChatOpen(false);
|
|
310
312
|
};
|
|
311
313
|
const handleBackToChannels = async () => {
|
|
312
314
|
var _a2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddChatContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"AddChatContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,gCAAgC,CAAC;AAuBxC,QAAA,MAAM,OAAO,GAAI;;;;;;CAMhB,4CAyHA,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -17,11 +17,6 @@ const validationRules = {
|
|
|
17
17
|
value: 50,
|
|
18
18
|
message: "Chat name cannot exceed 50 characters"
|
|
19
19
|
}
|
|
20
|
-
// pattern: {
|
|
21
|
-
// value: /^[a-zA-Z0-9\s\-_]+$/,
|
|
22
|
-
// message:
|
|
23
|
-
// "Chat name can only contain letters, numbers, spaces, hyphens, and underscores",
|
|
24
|
-
// },
|
|
25
20
|
},
|
|
26
21
|
chatDescription: {
|
|
27
22
|
maxLength: {
|
|
@@ -41,16 +36,20 @@ const AddChat = ({
|
|
|
41
36
|
const {
|
|
42
37
|
control,
|
|
43
38
|
handleSubmit,
|
|
44
|
-
formState: { errors, isSubmitting
|
|
39
|
+
formState: { errors, isSubmitting },
|
|
45
40
|
reset
|
|
46
41
|
} = useForm({
|
|
47
42
|
mode: "onSubmit",
|
|
48
|
-
// Validate on change for real-time feedback
|
|
49
43
|
defaultValues: {
|
|
50
44
|
chatName: "",
|
|
51
45
|
chatDescription: ""
|
|
52
46
|
}
|
|
53
47
|
});
|
|
48
|
+
const handleCancel = () => {
|
|
49
|
+
reset();
|
|
50
|
+
setShowAddChat(false);
|
|
51
|
+
setIsCreateNewChatOpen(false);
|
|
52
|
+
};
|
|
54
53
|
useEffect(() => {
|
|
55
54
|
function handleClickOutside(event) {
|
|
56
55
|
if (containerRef.current && !containerRef.current.contains(event.target)) {
|
|
@@ -65,6 +64,10 @@ const AddChat = ({
|
|
|
65
64
|
const onSubmit = async (data) => {
|
|
66
65
|
try {
|
|
67
66
|
const response = await handleChatName(data, selectedChannelInfo);
|
|
67
|
+
if ((response == null ? void 0 : response.success) === false) {
|
|
68
|
+
handleToast(true, "Error while saving chat", "error");
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
68
71
|
handleToast(true, "Chat saved successfully", "success");
|
|
69
72
|
handleCancel();
|
|
70
73
|
} catch (err) {
|
|
@@ -72,11 +75,6 @@ const AddChat = ({
|
|
|
72
75
|
handleToast(true, "Error while saving chat", "error");
|
|
73
76
|
}
|
|
74
77
|
};
|
|
75
|
-
const handleCancel = () => {
|
|
76
|
-
reset();
|
|
77
|
-
setShowAddChat(false);
|
|
78
|
-
setIsCreateNewChatOpen(false);
|
|
79
|
-
};
|
|
80
78
|
return /* @__PURE__ */ jsx("div", { ref: containerRef, className: "addChat_container", children: /* @__PURE__ */ jsxs("form", { noValidate: true, className: "chatcontainer", onSubmit: handleSubmit(onSubmit), children: [
|
|
81
79
|
/* @__PURE__ */ jsx(
|
|
82
80
|
Controller,
|
|
@@ -139,8 +137,8 @@ const AddChat = ({
|
|
|
139
137
|
Button,
|
|
140
138
|
{
|
|
141
139
|
disabled: isSubmitting,
|
|
140
|
+
htmlType: "button",
|
|
142
141
|
size: "large",
|
|
143
|
-
type: "button",
|
|
144
142
|
variant: "tertiary",
|
|
145
143
|
onClick: handleCancel,
|
|
146
144
|
children: "Cancel"
|
|
@@ -151,8 +149,8 @@ const AddChat = ({
|
|
|
151
149
|
{
|
|
152
150
|
className: "chat_save_btn",
|
|
153
151
|
disabled: isSubmitting,
|
|
152
|
+
htmlType: "submit",
|
|
154
153
|
size: "large",
|
|
155
|
-
type: "submit",
|
|
156
154
|
variant: "primary",
|
|
157
155
|
children: isSubmitting ? /* @__PURE__ */ jsx(Fragment, { children: "Saving..." }) : "Save"
|
|
158
156
|
}
|
package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHeaderNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ChatHeaderNavigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAWzD,eAAO,MAAM,oBAAoB,oCAmLhC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useState } from "react";
|
|
2
|
+
import { memo, useState, useEffect } from "react";
|
|
3
3
|
import default_1$2 from "../../../../node_modules/@mui/icons-material/ChevronLeft.js";
|
|
4
4
|
import default_1 from "../../../../node_modules/@mui/icons-material/Close.js";
|
|
5
5
|
import default_1$3 from "../../../../node_modules/@mui/icons-material/DeleteOutlined.js";
|
|
@@ -26,6 +26,9 @@ const ChatHeaderNavigation = memo(
|
|
|
26
26
|
setIsCreateNewChatOpen
|
|
27
27
|
}) => {
|
|
28
28
|
const [showAddChat, setShowAddChat] = useState(isCreateNewChatOpen);
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
setShowAddChat(Boolean(isCreateNewChatOpen));
|
|
31
|
+
}, [isCreateNewChatOpen]);
|
|
29
32
|
const renderSearch = () => /* @__PURE__ */ jsx(
|
|
30
33
|
Input,
|
|
31
34
|
{
|
package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableChatRightSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatRightSection/TableChatRightSection.tsx"],"names":[],"mappings":"AAmBA,OAAO,qCAAqC,CAAC;AAI7C,QAAA,MAAM,qBAAqB,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,
|
|
1
|
+
{"version":3,"file":"TableChatRightSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatRightSection/TableChatRightSection.tsx"],"names":[],"mappings":"AAmBA,OAAO,qCAAqC,CAAC;AAI7C,QAAA,MAAM,qBAAqB,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,4CAurCA,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -53,7 +53,6 @@ const TableChatRightSection = ({
|
|
|
53
53
|
...restProps
|
|
54
54
|
}) => {
|
|
55
55
|
var _a, _b;
|
|
56
|
-
console.log("showQuickAction", inputChatConfig);
|
|
57
56
|
const messagesRef = useRef(null);
|
|
58
57
|
const isLoadingRef = useRef(false);
|
|
59
58
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -176,8 +175,6 @@ const TableChatRightSection = ({
|
|
|
176
175
|
if (reloadedMessages && reloadedMessages.length > 0) {
|
|
177
176
|
setMessages(reloadedMessages);
|
|
178
177
|
updateHasMore(true);
|
|
179
|
-
} else {
|
|
180
|
-
console.log("[TableChatRightSection] API confirmed messages are cleared");
|
|
181
178
|
}
|
|
182
179
|
}
|
|
183
180
|
} catch (error) {
|
|
@@ -812,7 +809,6 @@ const TableChatRightSection = ({
|
|
|
812
809
|
Modal,
|
|
813
810
|
{
|
|
814
811
|
className: "test-modal add_members_modal",
|
|
815
|
-
footerOptions: /* @__PURE__ */ jsx("div", { children: "Footer Options" }),
|
|
816
812
|
loading: showAddMembersLoading,
|
|
817
813
|
open: showAddMembers,
|
|
818
814
|
primaryButtonLabel: showAddMembersLoading ? "Adding..." : "Add",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin:.5em 0;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}.tiptap h1{font-size:2em;margin:1em 0 .5em}.tiptap h1,.tiptap h2{color:#1a202c;font-weight:600}.tiptap h2{font-size:1.5em;margin:.83em 0 .5em}.tiptap h3{color:#1a202c;font-size:1.17em;font-weight:600;margin:.67em 0 .5em}.tiptap h4{font-size:1em}.tiptap h4,.tiptap h5{color:#1a202c;font-weight:600;margin:.5em 0}.tiptap h5{font-size:.83em}.tiptap h6{color:#1a202c;font-size:.67em;margin:.5em 0}.tiptap h6,.tiptap strong{font-weight:600}.tiptap em{font-style:italic}.tiptap s{color:#666;text-decoration:line-through;text-decoration-thickness:.1em}.tiptap .highlight{background-color:#fef3c7!important}.tiptap .highlight,.tiptap mark{border-radius:4px;margin:0 2px;padding:2px 4px}.tiptap mark{background-color:#fef3c7}.tiptap a{border-bottom:1px solid #2b6cb0;color:#2b6cb0;text-decoration:none;transition:all .2s ease}.tiptap a:hover{border-bottom-color:#1a4971;color:#1a4971}.tiptap img{border-radius:4px;height:auto;margin:.5em 0;max-width:100%}.tiptap .mention{background-color:#f0f4f8;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#2b6cb0;font-weight:500;padding:2px 6px;text-decoration:none;transition:background-color .2s ease;white-space:nowrap}.tiptap .mention:hover{background-color:#e2e8f0;cursor:pointer}.tiptap .is-active{background-color:#f0f4f8}.tiptap ol,.tiptap ul{margin:.5em 0;padding-left:1.2em}.tiptap ol li,.tiptap ul li{line-height:1.2;margin:.2em 0;padding-left:0}.tiptap ol li p,.tiptap ul li p{display:inline-block;margin:0}.tiptap ul li{list-style-type:disc}.tiptap ol li{list-style-type:decimal}.tiptap ol ol,.tiptap ol ul,.tiptap ul ol,.tiptap ul ul{margin:.2em 0 .2em .5em}.tiptap ul ul li{list-style-type:circle}.tiptap ul ul ul li{list-style-type:square}.tiptap ol ol li{list-style-type:lower-alpha}.tiptap ol ol ol li{list-style-type:lower-roman}.tiptap ol[data-type=orderedList] li,.tiptap ul[data-type=bulletList] li{position:relative}.tiptap ol[data-type=orderedList] li:before,.tiptap ul[data-type=bulletList] li:before{border-radius:50%;content:"";height:4px;left:-1em;position:absolute;top:50%;transform:translateY(-50%);width:4px}.tiptap .highlight{background-color:#fef3c7;border-radius:2px;padding:0 2px}.tiptap code{background-color:#f7fafc;border-radius:4px;font-family:monospace;padding:.2em .4em}.tiptap blockquote{border-left:3px solid #e2e8f0;color:#4a5568;margin:.5em 0;padding-left:1em}.character-count{align-items:center;color:var(--gray-5);display:flex;font-size:.75rem;gap:.5rem;margin:1.5rem}.character-count svg{color:var(--purple)}.character-count--warning,.character-count--warning svg{color:var(--red)}.tiptap-editor{margin-right:10px;max-height:100px;overflow-y:auto;width:88%}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding:8px
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin:.5em 0;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}.tiptap h1{font-size:2em;margin:1em 0 .5em}.tiptap h1,.tiptap h2{color:#1a202c;font-weight:600}.tiptap h2{font-size:1.5em;margin:.83em 0 .5em}.tiptap h3{color:#1a202c;font-size:1.17em;font-weight:600;margin:.67em 0 .5em}.tiptap h4{font-size:1em}.tiptap h4,.tiptap h5{color:#1a202c;font-weight:600;margin:.5em 0}.tiptap h5{font-size:.83em}.tiptap h6{color:#1a202c;font-size:.67em;margin:.5em 0}.tiptap h6,.tiptap strong{font-weight:600}.tiptap em{font-style:italic}.tiptap s{color:#666;text-decoration:line-through;text-decoration-thickness:.1em}.tiptap .highlight{background-color:#fef3c7!important}.tiptap .highlight,.tiptap mark{border-radius:4px;margin:0 2px;padding:2px 4px}.tiptap mark{background-color:#fef3c7}.tiptap a{border-bottom:1px solid #2b6cb0;color:#2b6cb0;text-decoration:none;transition:all .2s ease}.tiptap a:hover{border-bottom-color:#1a4971;color:#1a4971}.tiptap img{border-radius:4px;height:auto;margin:.5em 0;max-width:100%}.tiptap .mention{background-color:#f0f4f8;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#2b6cb0;font-weight:500;padding:2px 6px;text-decoration:none;transition:background-color .2s ease;white-space:nowrap}.tiptap .mention:hover{background-color:#e2e8f0;cursor:pointer}.tiptap .is-active{background-color:#f0f4f8}.tiptap ol,.tiptap ul{margin:.5em 0;padding-left:1.2em}.tiptap ol li,.tiptap ul li{line-height:1.2;margin:.2em 0;padding-left:0}.tiptap ol li p,.tiptap ul li p{display:inline-block;margin:0}.tiptap ul li{list-style-type:disc}.tiptap ol li{list-style-type:decimal}.tiptap ol ol,.tiptap ol ul,.tiptap ul ol,.tiptap ul ul{margin:.2em 0 .2em .5em}.tiptap ul ul li{list-style-type:circle}.tiptap ul ul ul li{list-style-type:square}.tiptap ol ol li{list-style-type:lower-alpha}.tiptap ol ol ol li{list-style-type:lower-roman}.tiptap ol[data-type=orderedList] li,.tiptap ul[data-type=bulletList] li{position:relative}.tiptap ol[data-type=orderedList] li:before,.tiptap ul[data-type=bulletList] li:before{border-radius:50%;content:"";height:4px;left:-1em;position:absolute;top:50%;transform:translateY(-50%);width:4px}.tiptap .highlight{background-color:#fef3c7;border-radius:2px;padding:0 2px}.tiptap code{background-color:#f7fafc;border-radius:4px;font-family:monospace;padding:.2em .4em}.tiptap blockquote{border-left:3px solid #e2e8f0;color:#4a5568;margin:.5em 0;padding-left:1em}.character-count{align-items:center;color:var(--gray-5);display:flex;font-size:.75rem;gap:.5rem;margin:1.5rem}.character-count svg{color:var(--purple)}.character-count--warning,.character-count--warning svg{color:var(--red)}.tiptap-editor{margin-right:10px;max-height:100px;overflow-y:auto;width:88%}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding:8px 0 0!important;word-wrap:break-word}.tiptap-editor .ProseMirror::-webkit-scrollbar{width:4px}.tiptap-editor .ProseMirror::-webkit-scrollbar-track{background:#0000}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb:hover{background:#0000004d}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { forwardRef, useEffect, useImperativeHandle } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-18T09:11:45.719Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Accordion": {
|
|
6
6
|
"title": "Components/Accordion",
|
|
@@ -3435,6 +3435,42 @@
|
|
|
3435
3435
|
},
|
|
3436
3436
|
"storyFile": "src/components/Table/Table.stories.tsx"
|
|
3437
3437
|
},
|
|
3438
|
+
"TableChat": {
|
|
3439
|
+
"title": "Components/TableChat",
|
|
3440
|
+
"category": "Components",
|
|
3441
|
+
"description": "# Table Chat Feature\n\nThe Table Chat feature provides a comprehensive real-time messaging system integrated with the Table component. It includes:\n\n- **Channel Management**: Organize conversations by channels\n- **Real-time Messaging**: Live message updates with WebSocket support\n- **Rich Text Editor**: Full-featured text editor with mentions, formatting, and emoji support\n- **File & Image Sharing**: Upload and share files and images\n- **Message Actions**: Pin, reply, bookmark, edit, and delete messages\n- **Participant Management**: Add/remove participants and manage permissions\n- **Search**: Search messages and participants\n- **Notifications**: Configurable notification settings\n- **Thread Support**: Threaded conversations for better organization\n\n## Architecture\n\nThe chat feature consists of several key components:\n\n### 1. TableChatSidePanel\nThe main container component that manages the chat interface state and handles the communication between left and right panels.\n\n### 2. TableChatRightSection\nHandles the message display, infinite scroll, real-time updates, and message interactions.\n\n### 3. ChatInput\nRich text editor with mention support, formatting tools, file upload, and emoji picker.\n\n### 4. ChatHeader\nHeader with participant management, search functionality, and notification settings.\n\n## Configuration Structure\n\nThe chat feature is configured through a comprehensive \\",
|
|
3442
|
+
"examples": [],
|
|
3443
|
+
"props": {
|
|
3444
|
+
"isChatEnabled": {
|
|
3445
|
+
"description": "Enables the chat feature in the table component",
|
|
3446
|
+
"type": "boolean",
|
|
3447
|
+
"defaultValue": "false",
|
|
3448
|
+
"required": false
|
|
3449
|
+
},
|
|
3450
|
+
"handleChatClick": {
|
|
3451
|
+
"description": "Handler function called when chat button is clicked",
|
|
3452
|
+
"type": "() => void",
|
|
3453
|
+
"required": true
|
|
3454
|
+
},
|
|
3455
|
+
"isChatOpen": {
|
|
3456
|
+
"description": "Controls whether the chat panel is open",
|
|
3457
|
+
"type": "boolean",
|
|
3458
|
+
"defaultValue": "false",
|
|
3459
|
+
"required": false
|
|
3460
|
+
},
|
|
3461
|
+
"handleChatClose": {
|
|
3462
|
+
"description": "Handler function called when chat panel is closed",
|
|
3463
|
+
"type": "() => void",
|
|
3464
|
+
"required": true
|
|
3465
|
+
},
|
|
3466
|
+
"chatConfiguration": {
|
|
3467
|
+
"description": "Comprehensive chat configuration object (messageChatConfig, headerChatConfig, inputChatConfig, leftPanel, rightPanel)",
|
|
3468
|
+
"type": "ChatConfiguration",
|
|
3469
|
+
"required": true
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
"storyFile": "src/components/TableChat/TableChat.stories.tsx"
|
|
3473
|
+
},
|
|
3438
3474
|
"Tabs": {
|
|
3439
3475
|
"title": "Components/Tabs",
|
|
3440
3476
|
"category": "Components",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
|
-
import require$$1 from "../../../_virtual/
|
|
4
|
-
import require$$2 from "../../../_virtual/
|
|
3
|
+
import require$$1 from "../../../_virtual/index3.js";
|
|
4
|
+
import require$$2 from "../../../_virtual/index4.js";
|
|
5
5
|
var _interopRequireDefault = require$$0;
|
|
6
6
|
Object.defineProperty(colorManipulator, "__esModule", {
|
|
7
7
|
value: true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as callBind } from "../../_virtual/
|
|
1
|
+
import { __module as callBind } from "../../_virtual/index14.js";
|
|
2
2
|
import { __require as requireSetFunctionLength } from "../set-function-length/index.js";
|
|
3
3
|
import { __require as requireEsDefineProperty } from "../es-define-property/index.js";
|
|
4
4
|
import { __require as requireCallBindApplyHelpers } from "../call-bind-apply-helpers/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as isSymbol } from "../../_virtual/
|
|
1
|
+
import { __module as isSymbol } from "../../_virtual/index15.js";
|
|
2
2
|
import { __require as requireCallBound } from "../call-bound/index.js";
|
|
3
3
|
import { __require as requireHasSymbols } from "../has-symbols/index.js";
|
|
4
4
|
import { __require as requireSafeRegexTest } from "../safe-regex-test/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index5.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|