impact-ui 5.0.2-alpha.1 → 5.0.2-alpha.3
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/index4.js +2 -4
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +4 -2
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +4 -3
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +6 -4
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +4 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +39 -2
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +40 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +1 -1
- package/dist/components/TableV36/index.d.ts.map +1 -1
- package/dist/components/TableV36/index.js +10 -7
- package/dist/components/TableV36/tableHeader.d.ts +2 -1
- package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
- package/dist/components/TableV36/tableHeader.js +4 -1
- package/dist/locales/de-DE.json.d.ts +2 -0
- package/dist/locales/de-DE.json.js +2 -0
- package/dist/locales/en-US.json.d.ts +2 -0
- package/dist/locales/en-US.json.js +2 -0
- package/dist/locales/es-ES.json.d.ts +2 -0
- package/dist/locales/es-ES.json.js +2 -0
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +155 -247
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/stories/tableV36ChatApiMock.d.ts +10 -6
- package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js";
|
|
3
|
-
const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
1
|
+
var reactIs = { exports: {} };
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
reactIs as __module
|
|
6
4
|
};
|
package/dist/_virtual/index5.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/formatMuiErrorMessage/index.js";
|
|
3
|
+
const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
4
4
|
export {
|
|
5
|
-
require$$
|
|
5
|
+
require$$1 as default
|
|
6
6
|
};
|
package/dist/_virtual/index6.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/clamp/index.js";
|
|
3
|
+
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
require$$2 as default
|
|
4
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuHeaderInfo.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuHeaderInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAM1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuHeaderInfo.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuHeaderInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAM1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,8BAA8B,CAAC;AA8QtC,eAAO,MAAM,cAAc,4RAjPxB,mBAAmB,6CAiPqC,CAAC;AAG5D,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB,4RArP3B,mBAAmB,6CAqPyB,CAAC"}
|
|
@@ -145,8 +145,9 @@ const MenuHeaderInfoComponent = ({
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
const
|
|
149
|
-
const
|
|
148
|
+
const selectableValues = options.filter((opt) => !opt.disabled).map((opt) => opt.value).filter((v) => v != null);
|
|
149
|
+
const isAllSelected = selectableValues.length > 0 && selectableValues.every((value) => selectedItems.includes(value));
|
|
150
|
+
const isIndeterminate = selectedItems.length > 0 && !isAllSelected;
|
|
150
151
|
const onSelectRadioButton = (_e, value) => {
|
|
151
152
|
setSelectedRadioOption(value);
|
|
152
153
|
if (externalHandlers.onRadioButtonChange) {
|
|
@@ -156,7 +157,7 @@ const MenuHeaderInfoComponent = ({
|
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
159
|
const handleSelectAll = () => {
|
|
159
|
-
const allValues =
|
|
160
|
+
const allValues = selectableValues;
|
|
160
161
|
if (externalHandlers.onSelectAll) {
|
|
161
162
|
externalHandlers.onSelectAll(allValues);
|
|
162
163
|
} else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,oBAAoB,CAAC;AAE5B,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,oBAAoB,CAAC;AAE5B,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,IAAI,uHA0OhB,CAAC"}
|
|
@@ -78,7 +78,7 @@ const Menu = forwardRef(
|
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
const handleSelectAll = () => {
|
|
81
|
-
const allValues = (filteredOptions ?? data ?? []).map((opt) => opt.value).filter((v) => v != null);
|
|
81
|
+
const allValues = (filteredOptions ?? data ?? []).filter((opt) => !opt.disabled).map((opt) => opt.value).filter((v) => v != null);
|
|
82
82
|
setSelectedItems(allValues);
|
|
83
83
|
onSelectAll == null ? void 0 : onSelectAll(allValues);
|
|
84
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"AAeA,OAAO,kCAAkC,CAAC;AAE1C,QAAA,MAAM,kBAAkB,GAAI;;;;;CAA+D,
|
|
1
|
+
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"AAeA,OAAO,kCAAkC,CAAC;AAE1C,QAAA,MAAM,kBAAkB,GAAI;;;;;CAA+D,4CAmgC1F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -313,7 +313,7 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration, entryConte
|
|
|
313
313
|
setLoadingChannelsOrChats(false);
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
const openChatFromSelection = async (selectedRows = []) => {
|
|
316
|
+
const openChatFromSelection = async (selectedRows = [], { isSpace = false } = {}) => {
|
|
317
317
|
var _a2;
|
|
318
318
|
setLoadingChannelsOrChats(true);
|
|
319
319
|
setLoadingMessages(true);
|
|
@@ -324,7 +324,7 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration, entryConte
|
|
|
324
324
|
await fetchChannelList();
|
|
325
325
|
return;
|
|
326
326
|
}
|
|
327
|
-
const result = await onStartNewChat(selectedRows);
|
|
327
|
+
const result = await onStartNewChat(selectedRows, { isSpace });
|
|
328
328
|
const channel = result == null ? void 0 : result.channel;
|
|
329
329
|
const chatToOpen = (result == null ? void 0 : result.openChat) || (result == null ? void 0 : result.formattedChat);
|
|
330
330
|
if (!(result == null ? void 0 : result.success) || !channel || !(chatToOpen == null ? void 0 : chatToOpen.id)) {
|
|
@@ -422,8 +422,10 @@ const TableChatSidePanel = ({ isOpen, handleClose, chatConfiguration, entryConte
|
|
|
422
422
|
if (!isOpen) {
|
|
423
423
|
return;
|
|
424
424
|
}
|
|
425
|
-
if ((entryContext == null ? void 0 : entryContext.mode) === "startNewChat") {
|
|
426
|
-
openChatFromSelection(entryContext.selectedRows
|
|
425
|
+
if ((entryContext == null ? void 0 : entryContext.mode) === "startNewChat" || (entryContext == null ? void 0 : entryContext.mode) === "createSpace") {
|
|
426
|
+
openChatFromSelection(entryContext.selectedRows, {
|
|
427
|
+
isSpace: entryContext.mode === "createSpace"
|
|
428
|
+
});
|
|
427
429
|
} else if ((entryContext == null ? void 0 : entryContext.mode) === "openChannel") {
|
|
428
430
|
openChannelFromRow(entryContext.selectedRows);
|
|
429
431
|
} else {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ChatChannelItem: ({ id, title, subtitle, timestamp, time, unreadCount, chatCount, avatar, isSelected, isMuted, onClick, showChannelList, showCheckbox, handleChatSelect, selectedChat, onPinnedChatClick, onPinnedChange, handleToast, isPinned: isPinnedProp, ...rest }: {
|
|
1
|
+
export declare const ChatChannelItem: ({ id, title, subtitle, timestamp, time, unreadCount, chatCount, avatar, isSelected, isMuted, onClick, showChannelList, showCheckbox, handleChatSelect, selectedChat, onPinnedChatClick, onPinnedChange, handleToast, isPinned: isPinnedProp, isSpace, badge, badgeLabel, ...rest }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
id: any;
|
|
4
4
|
title: any;
|
|
@@ -21,5 +21,8 @@ export declare const ChatChannelItem: ({ id, title, subtitle, timestamp, time, u
|
|
|
21
21
|
onPinnedChange: any;
|
|
22
22
|
handleToast: any;
|
|
23
23
|
isPinned: any;
|
|
24
|
+
isSpace?: boolean | undefined;
|
|
25
|
+
badge: any;
|
|
26
|
+
badgeLabel: any;
|
|
24
27
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
28
|
//# sourceMappingURL=ChatChannelItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatChannelItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatLeftSection/ChatChannelItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatChannelItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/TableChat/components/TableChatLeftSection/ChatChannelItem.tsx"],"names":[],"mappings":"AAuCA,eAAO,MAAM,eAAe,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB/B,4CAiIA,CAAC"}
|
|
@@ -11,6 +11,23 @@ const formatBadgeCountLabel = (count, maxCount = 99) => {
|
|
|
11
11
|
if (!count || count <= 0) return null;
|
|
12
12
|
return count > maxCount ? `${maxCount}+` : String(count);
|
|
13
13
|
};
|
|
14
|
+
const resolveLabelBadge = (badge, badgeLabel, isSpace, spaceLabel) => {
|
|
15
|
+
if (badge && typeof badge === "object" && badge.label) {
|
|
16
|
+
return {
|
|
17
|
+
label: badge.label,
|
|
18
|
+
variant: badge.variant || "stroke",
|
|
19
|
+
color: badge.color,
|
|
20
|
+
size: badge.size || "small"
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
if (typeof badgeLabel === "string" && badgeLabel.trim()) {
|
|
24
|
+
return { label: badgeLabel, variant: "stroke", size: "small" };
|
|
25
|
+
}
|
|
26
|
+
if (isSpace) {
|
|
27
|
+
return { label: spaceLabel, variant: "stroke", size: "small" };
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
};
|
|
14
31
|
const ChatChannelItem = ({
|
|
15
32
|
id,
|
|
16
33
|
title,
|
|
@@ -31,12 +48,21 @@ const ChatChannelItem = ({
|
|
|
31
48
|
onPinnedChange,
|
|
32
49
|
handleToast,
|
|
33
50
|
isPinned: isPinnedProp,
|
|
51
|
+
isSpace = false,
|
|
52
|
+
badge,
|
|
53
|
+
badgeLabel,
|
|
34
54
|
...rest
|
|
35
55
|
}) => {
|
|
36
56
|
const { t } = useTranslation();
|
|
37
57
|
const isPinned = Boolean(isPinnedProp ?? rest.isPinned);
|
|
38
58
|
const displayTime = timestamp ?? time;
|
|
39
59
|
const channelBadgeLabel = formatBadgeCountLabel(chatCount);
|
|
60
|
+
const labelBadge = resolveLabelBadge(
|
|
61
|
+
badge,
|
|
62
|
+
badgeLabel,
|
|
63
|
+
Boolean(isSpace ?? rest.isSpace),
|
|
64
|
+
t("tableChat.channelItem.spaceBadge")
|
|
65
|
+
);
|
|
40
66
|
const handlePinnedChatClick = async (chatId, newPinned) => {
|
|
41
67
|
if (onPinnedChatClick) {
|
|
42
68
|
onPinnedChange == null ? void 0 : onPinnedChange(chatId, newPinned);
|
|
@@ -71,10 +97,21 @@ const ChatChannelItem = ({
|
|
|
71
97
|
onKeyDown: handleKeyDown,
|
|
72
98
|
children: [
|
|
73
99
|
/* @__PURE__ */ jsxs("div", { className: "channel-list-item__content", children: [
|
|
74
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ jsxs("div", { className: "channel-list-item__title-row", children: [
|
|
101
|
+
/* @__PURE__ */ jsx("span", { className: "channel-list-item__title", children: title }),
|
|
102
|
+
labelBadge ? /* @__PURE__ */ jsx(
|
|
103
|
+
Badge,
|
|
104
|
+
{
|
|
105
|
+
color: labelBadge.color,
|
|
106
|
+
label: labelBadge.label,
|
|
107
|
+
size: labelBadge.size,
|
|
108
|
+
variant: labelBadge.variant
|
|
109
|
+
}
|
|
110
|
+
) : null
|
|
111
|
+
] }),
|
|
75
112
|
displayTime ? /* @__PURE__ */ jsx("span", { className: "channel-list-item__time", children: displayTime }) : null
|
|
76
113
|
] }),
|
|
77
|
-
channelBadgeLabel ? /* @__PURE__ */ jsx(Badge, { color: "info", label: channelBadgeLabel, size: "small", variant: "filled" }) : null
|
|
114
|
+
!labelBadge && channelBadgeLabel ? /* @__PURE__ */ jsx(Badge, { color: "info", label: channelBadgeLabel, size: "small", variant: "filled" }) : null
|
|
78
115
|
]
|
|
79
116
|
}
|
|
80
117
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,: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}.table-left-panel-container{background-color:#fff;border:1px solid #b3bdf8b3;border-radius:10px;box-shadow:12px 13px 45px #0000001a;flex-shrink:0;isolation:isolate;max-width:350px;overflow:hidden;position:relative;width:350px}.table-left-panel-container:before{background-image:linear-gradient(168.63deg,#ffffff8a 44.85%,#b3bdf81f 114.26%);border-radius:inherit;content:"";top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;z-index:0}.table-left-panel-container>*{position:relative;z-index:1}.table-left-panel-container>.chat-header-navigation{z-index:2}.table-left-panel-container .ia-styles.ia-btn.ia-btn-tertiary:not(.channel-list-header__search),.table-left-panel-container .ia-styles.ia-btn.ia-btn-tertiary:not(.channel-list-header__search):hover{background:none!important;box-shadow:none!important}.chat-header-navigation{align-items:center;background:#0000;border-bottom:1px solid #b3bdf8;box-sizing:border-box;display:flex;justify-content:space-between;padding:16px;position:relative}.chat-header-navigation .nav-left{align-items:center;display:flex;gap:7px}.chat-header-navigation .nav-left button{background:none;border:none!important;box-shadow:none}.chat-header-navigation .nav-title{color:#1f2b4d;font-size:16px;font-weight:800;line-height:24px;margin:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-navigation .nav-right{align-items:center;display:flex;gap:8px;position:relative}.chat-header-navigation .nav-right button{background:none;border:none!important;box-shadow:none}.chat-header-navigation .chat-button{background:#4259ee!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important;font-size:14px!important;font-weight:500!important;height:32px;padding:6px 12px!important;width:77px}.chat-header-navigation .chat-button:hover{background:#2b44ec!important}.chat-header-navigation .chat-button .ia-btn-icon{margin-right:4px}.chat-header-navigation .impact_inputbox_container_with_icons{width:100%}.channel-list-header{align-items:center;display:flex;gap:12px;justify-content:space-between;width:100%}.channel-list-header__title{color:#1f2b4d;font-size:16px;font-weight:800;line-height:24px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-list-header__search{background:#f5f6fa!important;border:none!important;border-radius:8px!important;box-shadow:none!important;color:#60697d!important;flex-shrink:0;max-height:32px}.channel-list-header__search:hover{background:#f5f6fa!important}.channel-list{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 150px);overflow-x:hidden;overflow-y:auto;padding:8px}.channel-list .no-channels-found-container{align-items:center;background:#f2f4fb;border-radius:8px;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:12px}.channel-list .no-channels-found-container .no-channels-found{color:#0d152c;font-size:16px;font-weight:600}.channel-list .no-channels-found-container .no-channels-found-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-align:center}.channel-list-item{align-items:flex-start;background:#f2f4fb;border-radius:8px;box-sizing:border-box;cursor:pointer;display:flex;gap:8px;padding:12px 16px;width:100%}.channel-list-item--selected,.channel-list-item:hover{background:#eceefd}.channel-list-item--muted{opacity:.7}.channel-list-item__content{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.channel-list-item__title{color:#0d152c;font-size:16px;font-weight:600;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-list-item__time{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.channel-list-item .MuiChip-root,.channel-list-item .impact_badges_only_label_filled{flex-shrink:0}.chat-channel-list{display:flex;flex-direction:column;gap:12px;margin:8px;max-height:calc(100vh - 150px);overflow-y:auto}.chat-channel-list .no-channels-found-container{align-items:center;background:#f2f4fb;border-radius:8px;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:12px}.chat-channel-list .no-channels-found-container .no-channels-found{color:#0d152c;font-size:16px;font-weight:600}.chat-channel-list .no-channels-found-container .no-channels-found-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-align:center}.chat_list{align-items:baseline;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background-color .2s ease}.chat_list .ia-styles.ia-avatar{background:#7a8294;border-radius:16px}.chat_list:hover{background:#eceefd}.chat_list:hover .ia-styles.ia-avatar,.chat_list:hover .unread-badge{background:#4259ee}.chat_list:hover .pinnedChat_container .pinnedChat{opacity:1}.chat_list.selected{background:#eceefd}.chat_list.selected .ia-styles.ia-avatar,.chat_list.selected .unread-badge{background:#4259ee}.chat_list.muted{opacity:.7}.chat_list:focus{outline-offset:-2px}.channel-checkbox{align-items:center;display:flex;padding-top:2px}.channel-checkbox input[type=checkbox]{accent-color:#4259ee;border:1px solid #d9dde7;border-radius:3px;cursor:pointer;height:16px;width:16px}.channel-checkbox input[type=checkbox]:checked{background:#4259ee;border-color:#4259ee}.channel-avatar{border-radius:16px;flex-shrink:0;margin-top:2px}.channel-avatar .ia-avatar{font-size:14px!important;font-weight:600!important;height:32px!important;width:32px!important}.channel-content{flex:1;min-width:0}.channel-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.channel-title{color:#0d152c;flex:1;font-size:16px;font-weight:600;height:24px;line-height:24px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted-icon{color:#7a8294;font-size:16px!important}.unread-badge{align-items:center;background:#7a8294;border-radius:10px;color:#fff;display:flex;font-size:10px;font-weight:400;height:18px;justify-content:center;line-height:1;min-width:18px;padding:2px 6px}.channel-subtitle{margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-subtitle,.channel-time{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.delete_chat_container{height:32px!important;width:32px}.pinnedChat_container{display:flex;justify-content:space-between}.pinnedChat_container .pinnedChat{opacity:0;transition:opacity .2s ease}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,: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}.table-left-panel-container{background-color:#fff;border:1px solid #b3bdf8b3;border-radius:10px;box-shadow:12px 13px 45px #0000001a;flex-shrink:0;isolation:isolate;max-width:350px;overflow:hidden;position:relative;width:350px}.table-left-panel-container:before{background-image:linear-gradient(168.63deg,#ffffff8a 44.85%,#b3bdf81f 114.26%);border-radius:inherit;content:"";top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;z-index:0}.table-left-panel-container>*{position:relative;z-index:1}.table-left-panel-container>.chat-header-navigation{z-index:2}.table-left-panel-container .ia-styles.ia-btn.ia-btn-tertiary:not(.channel-list-header__search),.table-left-panel-container .ia-styles.ia-btn.ia-btn-tertiary:not(.channel-list-header__search):hover{background:none!important;box-shadow:none!important}.chat-header-navigation{align-items:center;background:#0000;border-bottom:1px solid #b3bdf8;box-sizing:border-box;display:flex;justify-content:space-between;padding:16px;position:relative}.chat-header-navigation .nav-left{align-items:center;display:flex;gap:7px}.chat-header-navigation .nav-left button{background:none;border:none!important;box-shadow:none}.chat-header-navigation .nav-title{color:#1f2b4d;font-size:16px;font-weight:800;line-height:24px;margin:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-navigation .nav-right{align-items:center;display:flex;gap:8px;position:relative}.chat-header-navigation .nav-right button{background:none;border:none!important;box-shadow:none}.chat-header-navigation .chat-button{background:#4259ee!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important;font-size:14px!important;font-weight:500!important;height:32px;padding:6px 12px!important;width:77px}.chat-header-navigation .chat-button:hover{background:#2b44ec!important}.chat-header-navigation .chat-button .ia-btn-icon{margin-right:4px}.chat-header-navigation .impact_inputbox_container_with_icons{width:100%}.channel-list-header{align-items:center;display:flex;gap:12px;justify-content:space-between;width:100%}.channel-list-header__title{color:#1f2b4d;font-size:16px;font-weight:800;line-height:24px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-list-header__search{background:#f5f6fa!important;border:none!important;border-radius:8px!important;box-shadow:none!important;color:#60697d!important;flex-shrink:0;max-height:32px}.channel-list-header__search:hover{background:#f5f6fa!important}.channel-list{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 150px);overflow-x:hidden;overflow-y:auto;padding:8px}.channel-list .no-channels-found-container{align-items:center;background:#f2f4fb;border-radius:8px;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:12px}.channel-list .no-channels-found-container .no-channels-found{color:#0d152c;font-size:16px;font-weight:600}.channel-list .no-channels-found-container .no-channels-found-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-align:center}.channel-list-item{align-items:flex-start;background:#f2f4fb;border-radius:8px;box-sizing:border-box;cursor:pointer;display:flex;gap:8px;padding:12px 16px;width:100%}.channel-list-item--selected,.channel-list-item:hover{background:#eceefd}.channel-list-item--muted{opacity:.7}.channel-list-item__content{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.channel-list-item__title-row{align-items:center;display:flex;gap:10px;min-width:0;width:100%}.channel-list-item__title{color:#0d152c;flex:1;font-size:16px;font-weight:600;line-height:24px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-list-item__time{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.channel-list-item .MuiChip-root,.channel-list-item .impact_badges_only_label_filled,.channel-list-item .impact_badges_only_label_stroke{flex-shrink:0}.chat-channel-list{display:flex;flex-direction:column;gap:12px;margin:8px;max-height:calc(100vh - 150px);overflow-y:auto}.chat-channel-list .no-channels-found-container{align-items:center;background:#f2f4fb;border-radius:8px;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:12px}.chat-channel-list .no-channels-found-container .no-channels-found{color:#0d152c;font-size:16px;font-weight:600}.chat-channel-list .no-channels-found-container .no-channels-found-description{color:#7a8294;font-size:12px;font-weight:500;line-height:16px;text-align:center}.chat_list{align-items:baseline;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background-color .2s ease}.chat_list .ia-styles.ia-avatar{background:#7a8294;border-radius:16px}.chat_list:hover{background:#eceefd}.chat_list:hover .ia-styles.ia-avatar,.chat_list:hover .unread-badge{background:#4259ee}.chat_list:hover .pinnedChat_container .pinnedChat{opacity:1}.chat_list.selected{background:#eceefd}.chat_list.selected .ia-styles.ia-avatar,.chat_list.selected .unread-badge{background:#4259ee}.chat_list.muted{opacity:.7}.chat_list:focus{outline-offset:-2px}.channel-checkbox{align-items:center;display:flex;padding-top:2px}.channel-checkbox input[type=checkbox]{accent-color:#4259ee;border:1px solid #d9dde7;border-radius:3px;cursor:pointer;height:16px;width:16px}.channel-checkbox input[type=checkbox]:checked{background:#4259ee;border-color:#4259ee}.channel-avatar{border-radius:16px;flex-shrink:0;margin-top:2px}.channel-avatar .ia-avatar{font-size:14px!important;font-weight:600!important;height:32px!important;width:32px!important}.channel-content{flex:1;min-width:0}.channel-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.channel-title{color:#0d152c;flex:1;font-size:16px;font-weight:600;height:24px;line-height:24px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted-icon{color:#7a8294;font-size:16px!important}.unread-badge{align-items:center;background:#7a8294;border-radius:10px;color:#fff;display:flex;font-size:10px;font-weight:400;height:18px;justify-content:center;line-height:1;min-width:18px;padding:2px 6px}.channel-subtitle{margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-subtitle,.channel-time{color:#7a8294;font-size:12px;font-weight:500;line-height:16px}.delete_chat_container{height:32px!important;width:32px}.pinnedChat_container{display:flex;justify-content:space-between}.pinnedChat_container .pinnedChat{opacity:0;transition:opacity .2s ease}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useMemo } from "react";
|
|
4
4
|
import { ChatChannelList } from "./ChatChannelList.js";
|
package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.tsx"],"names":[],"mappings":"AAMA,OAAO,0BAA0B,CAAC;AAoBlC,eAAO,MAAM,UAAU,GAAI;;;;;;;;;;;CAW1B,
|
|
1
|
+
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.tsx"],"names":[],"mappings":"AAMA,OAAO,0BAA0B,CAAC;AAoBlC,eAAO,MAAM,UAAU,GAAI;;;;;;;;;;;CAW1B,4CAybA,CAAC"}
|
|
@@ -40,6 +40,7 @@ const ChatHeader = ({
|
|
|
40
40
|
const [selectedMenuItems, setSelectedMenuItems] = useState([]);
|
|
41
41
|
const [messageSearchValue, setMessageSearchValue] = useState("");
|
|
42
42
|
const [menuOptions, setMenuOptions] = useState([]);
|
|
43
|
+
const [optionsCacheByRadio, setOptionsCacheByRadio] = useState({});
|
|
43
44
|
const [isLoadingOptions, setIsLoadingOptions] = useState(false);
|
|
44
45
|
const [isSearching, setIsSearching] = useState(false);
|
|
45
46
|
const [searchResults, setSearchResults] = useState([]);
|
|
@@ -54,20 +55,40 @@ const ChatHeader = ({
|
|
|
54
55
|
);
|
|
55
56
|
}
|
|
56
57
|
}, [(_a = chatHeaderConfig.headerConfig) == null ? void 0 : _a.selectedRadioOptionMenu]);
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
setMenuOptions([]);
|
|
60
|
+
setOptionsCacheByRadio({});
|
|
61
|
+
setSelectedMenuItems([]);
|
|
62
|
+
setMenuSearchQuery("");
|
|
63
|
+
setSearchResults([]);
|
|
64
|
+
setLoadingError(null);
|
|
65
|
+
setIsLoadingOptions(false);
|
|
66
|
+
setIsSearching(false);
|
|
67
|
+
}, [chatId]);
|
|
57
68
|
const [showNotificationSettings, setShowNotificationSettings] = useState(false);
|
|
58
|
-
const fetchOptionsForRadio = async (radioValue) => {
|
|
69
|
+
const fetchOptionsForRadio = async (radioValue, { keepPreviousOptions = false, force = false } = {}) => {
|
|
59
70
|
var _a2;
|
|
71
|
+
setSelectedMenuItems([]);
|
|
72
|
+
setMenuSearchQuery("");
|
|
73
|
+
setSearchResults([]);
|
|
74
|
+
setLoadingError(null);
|
|
75
|
+
const cached = optionsCacheByRadio[radioValue];
|
|
76
|
+
if (!force && Array.isArray(cached)) {
|
|
77
|
+
setMenuOptions(cached);
|
|
78
|
+
setIsLoadingOptions(false);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
60
81
|
try {
|
|
61
82
|
console.log(`🔄 [API] Loading options for ${radioValue}...`);
|
|
62
83
|
setIsLoadingOptions(true);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
setLoadingError(null);
|
|
84
|
+
if (!keepPreviousOptions) {
|
|
85
|
+
setMenuOptions([]);
|
|
86
|
+
}
|
|
67
87
|
const options = await ((_a2 = chatHeaderConfig.loadParticipants) == null ? void 0 : _a2.call(chatHeaderConfig, radioValue, chatId));
|
|
68
88
|
if (options) {
|
|
69
89
|
console.log(`✅ [API] ${radioValue} options loaded successfully`);
|
|
70
90
|
setMenuOptions(options);
|
|
91
|
+
setOptionsCacheByRadio((prev) => ({ ...prev, [radioValue]: options }));
|
|
71
92
|
}
|
|
72
93
|
} catch (error) {
|
|
73
94
|
console.error(`❌ [API] Error loading options for ${radioValue}:`, error);
|
|
@@ -135,17 +156,18 @@ const ChatHeader = ({
|
|
|
135
156
|
return menuOptions;
|
|
136
157
|
};
|
|
137
158
|
const filteredMenuOptions = getOptionsToShow();
|
|
138
|
-
const handleRadioButtonChange = async (value) => {
|
|
159
|
+
const handleRadioButtonChange = async (value, { force = false } = {}) => {
|
|
139
160
|
setSelectedRadioOption(value);
|
|
140
161
|
setMenuSearchQuery("");
|
|
141
|
-
await fetchOptionsForRadio(value);
|
|
162
|
+
await fetchOptionsForRadio(value, { force });
|
|
142
163
|
};
|
|
143
164
|
const localHandlers = {
|
|
144
165
|
onSelectAll: (allValues) => {
|
|
145
|
-
|
|
166
|
+
const selectableValues = allValues ?? filteredMenuOptions.filter((opt) => !opt.disabled).map((opt) => opt.value);
|
|
167
|
+
if (selectableValues.length === selectedMenuItems.length) {
|
|
146
168
|
setSelectedMenuItems([]);
|
|
147
169
|
} else {
|
|
148
|
-
setSelectedMenuItems(
|
|
170
|
+
setSelectedMenuItems(selectableValues);
|
|
149
171
|
}
|
|
150
172
|
},
|
|
151
173
|
onClearSelection: () => {
|
|
@@ -208,11 +230,18 @@ const ChatHeader = ({
|
|
|
208
230
|
(_a2 = chatHeaderConfig.onPinnedClick) == null ? void 0 : _a2.call(chatHeaderConfig, chatId);
|
|
209
231
|
};
|
|
210
232
|
const handleParticipantsClick = async () => {
|
|
233
|
+
const hasCache = Boolean(selectedRadioOption) && Array.isArray(optionsCacheByRadio[selectedRadioOption]);
|
|
234
|
+
const needsFetch = Boolean(selectedRadioOption) && !hasCache;
|
|
235
|
+
if (needsFetch) {
|
|
236
|
+
setIsLoadingOptions(true);
|
|
237
|
+
} else if (hasCache) {
|
|
238
|
+
setMenuOptions(optionsCacheByRadio[selectedRadioOption]);
|
|
239
|
+
}
|
|
211
240
|
if (chatHeaderConfig.onParticipantsClick) {
|
|
212
241
|
await chatHeaderConfig.onParticipantsClick(chatId);
|
|
213
242
|
}
|
|
214
|
-
if (
|
|
215
|
-
await fetchOptionsForRadio(selectedRadioOption);
|
|
243
|
+
if (needsFetch) {
|
|
244
|
+
await fetchOptionsForRadio(selectedRadioOption, { keepPreviousOptions: true });
|
|
216
245
|
}
|
|
217
246
|
};
|
|
218
247
|
const handleThreeDotMenuClose = () => {
|
|
@@ -229,7 +258,6 @@ const ChatHeader = ({
|
|
|
229
258
|
};
|
|
230
259
|
const CleanupParticipantsData = () => {
|
|
231
260
|
console.log("[ChatHeader] CleanupParticipantsData");
|
|
232
|
-
setMenuOptions([]);
|
|
233
261
|
setSelectedMenuItems([]);
|
|
234
262
|
setMenuSearchQuery("");
|
|
235
263
|
setIsLoadingParticipants(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHeaderAction.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,gBAAgB,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCzB,
|
|
1
|
+
{"version":3,"file":"ChatHeaderAction.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.tsx"],"names":[],"mappings":"AAoBA,QAAA,MAAM,gBAAgB,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCzB,4CAqTA,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js
CHANGED
|
@@ -120,7 +120,7 @@ const ChatHeaderAction = ({
|
|
|
120
120
|
selectedRadioOption,
|
|
121
121
|
chatId
|
|
122
122
|
);
|
|
123
|
-
await ((_a = externalHandlers == null ? void 0 : externalHandlers.handleRadioButtonChange) == null ? void 0 : _a.call(externalHandlers, selectedRadioOption));
|
|
123
|
+
await ((_a = externalHandlers == null ? void 0 : externalHandlers.handleRadioButtonChange) == null ? void 0 : _a.call(externalHandlers, selectedRadioOption, { force: true }));
|
|
124
124
|
}
|
|
125
125
|
} catch (error) {
|
|
126
126
|
console.error("Error adding participants:", error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,sCAAsC,CAAC;AAC9C,OAAO,8CAA8C,CAAC;AACtD,OAAO,qBAAqB,CAAC;AAgtE7B,eAAO,MAAM,QAAQ,mFAUnB,CAAC"}
|
|
@@ -910,11 +910,11 @@ const TableContent = forwardRef(
|
|
|
910
910
|
args.gridOptions
|
|
911
911
|
]
|
|
912
912
|
);
|
|
913
|
-
const [
|
|
913
|
+
const [selectedRowCountBucket, setSelectedRowCountBucket] = useState(0);
|
|
914
914
|
const [chatEntryContext, setChatEntryContext] = useState(null);
|
|
915
915
|
useEffect(() => {
|
|
916
916
|
if (!isChatEnabled) {
|
|
917
|
-
|
|
917
|
+
setSelectedRowCountBucket(0);
|
|
918
918
|
setChatEntryContext(null);
|
|
919
919
|
}
|
|
920
920
|
}, [isChatEnabled]);
|
|
@@ -922,8 +922,9 @@ const TableContent = forwardRef(
|
|
|
922
922
|
(event) => {
|
|
923
923
|
var _a2, _b2, _c2, _d2;
|
|
924
924
|
if (isChatEnabled) {
|
|
925
|
-
const
|
|
926
|
-
|
|
925
|
+
const count = ((_c2 = (_b2 = (_a2 = event == null ? void 0 : event.api) == null ? void 0 : _a2.getSelectedNodes) == null ? void 0 : _b2.call(_a2)) == null ? void 0 : _c2.length) ?? 0;
|
|
926
|
+
const next = count === 0 ? 0 : count === 1 ? 1 : 2;
|
|
927
|
+
setSelectedRowCountBucket((prev) => prev === next ? prev : next);
|
|
927
928
|
}
|
|
928
929
|
(_d2 = args.onSelectionChanged) == null ? void 0 : _d2.call(args, event);
|
|
929
930
|
},
|
|
@@ -936,9 +937,10 @@ const TableContent = forwardRef(
|
|
|
936
937
|
const handleHeaderStartNewChatClick = useCallback(() => {
|
|
937
938
|
var _a2, _b2, _c2;
|
|
938
939
|
const selectedRows = ((_c2 = (_b2 = (_a2 = actualRef == null ? void 0 : actualRef.current) == null ? void 0 : _a2.api) == null ? void 0 : _b2.getSelectedRows) == null ? void 0 : _c2.call(_b2)) ?? [];
|
|
939
|
-
|
|
940
|
+
const mode = selectedRows.length > 1 ? "createSpace" : "startNewChat";
|
|
941
|
+
setChatEntryContext({ mode, selectedRows, openedAt: Date.now() });
|
|
940
942
|
if (typeof handleStartNewChatClick === "function") {
|
|
941
|
-
handleStartNewChatClick(selectedRows);
|
|
943
|
+
handleStartNewChatClick(selectedRows, { isSpace: mode === "createSpace" });
|
|
942
944
|
} else {
|
|
943
945
|
handleChatClick == null ? void 0 : handleChatClick();
|
|
944
946
|
}
|
|
@@ -1637,7 +1639,8 @@ const TableContent = forwardRef(
|
|
|
1637
1639
|
handleChatClick: handleHeaderChatIconClick,
|
|
1638
1640
|
handleChatClose: handleHeaderChatClose,
|
|
1639
1641
|
handleStartNewChatClick: handleHeaderStartNewChatClick,
|
|
1640
|
-
hasSelectedRows,
|
|
1642
|
+
hasSelectedRows: selectedRowCountBucket > 0,
|
|
1643
|
+
hasMultipleSelectedRows: selectedRowCountBucket > 1,
|
|
1641
1644
|
chatEntryContext,
|
|
1642
1645
|
handleCloseButtonClick,
|
|
1643
1646
|
handleDeleteViewClick,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function TableHeader({ actualRef, colDefs, Columns, tableFontSize, setTableFontSize, rowHeight, setRowHeight, tableHeader, topRightOptions, topLeftOptions, onGlobalSearchClick, cardContainer, onNumberFormatChange, hideRowHeightOptionMenu, showDownloadButton, onDownloadButtonClick, closeButton, handleCloseButtonClick, additionalButtons, setTableSettingOpen, showHideEditableCells, handleShowHideEditableCells, topCenterOptions, showContentualFilter, showContentualFilterBadge, onContentualFilterClick, contentualFilterProps, contentualFilterComponent, tableActions, onTableActionsTabClick, hideTableFormat, hideTableActions, hideTableSetting, explicitlyCloseTableSetting, customSystemButton, isChatEnabled, handleChatClick, handleStartNewChatClick, isChatOpen, handleChatClose, chatConfiguration, hasSelectedRows, chatEntryContext, savedViewsOptions, handleSaveAndApply, maxSavedViews, handleSavedViewClick, handleEditSaveView, isSaveViewEnabled, isSavingViewLoading, handleDeleteViewClick, isDeleteViewLoading, handleSetDefaultView, isCommentFeatureEnabled, showCommentBadge, toggleCommentMode, commentMode, hideFontSize, hideNumericFormat, onContentDensityChange, isCommentResolvedAlertOpen, setIsCommentResolvedAlertOpen, showCommentPanel, setShowCommentPanel, customTabInTableSettings, closeTableSettingOnOutsideClick, saveViewCustomFilter, customRenderSaveViewContent, onTableSettingClick, deleteViewPromptText, isViewNameUniqueAcrossTypes, contentualFilterOpenByDefault, tableSettingsTitle, registerTableSettingToggle, numericFormatDefault, extraNumericFormatOptions, viewPoint, disableContextualFilter, disableTableSettings, onAdvanceSortClick, advanceSortEnabled, highlightChatIcon }: {
|
|
1
|
+
export default function TableHeader({ actualRef, colDefs, Columns, tableFontSize, setTableFontSize, rowHeight, setRowHeight, tableHeader, topRightOptions, topLeftOptions, onGlobalSearchClick, cardContainer, onNumberFormatChange, hideRowHeightOptionMenu, showDownloadButton, onDownloadButtonClick, closeButton, handleCloseButtonClick, additionalButtons, setTableSettingOpen, showHideEditableCells, handleShowHideEditableCells, topCenterOptions, showContentualFilter, showContentualFilterBadge, onContentualFilterClick, contentualFilterProps, contentualFilterComponent, tableActions, onTableActionsTabClick, hideTableFormat, hideTableActions, hideTableSetting, explicitlyCloseTableSetting, customSystemButton, isChatEnabled, handleChatClick, handleStartNewChatClick, isChatOpen, handleChatClose, chatConfiguration, hasSelectedRows, hasMultipleSelectedRows, chatEntryContext, savedViewsOptions, handleSaveAndApply, maxSavedViews, handleSavedViewClick, handleEditSaveView, isSaveViewEnabled, isSavingViewLoading, handleDeleteViewClick, isDeleteViewLoading, handleSetDefaultView, isCommentFeatureEnabled, showCommentBadge, toggleCommentMode, commentMode, hideFontSize, hideNumericFormat, onContentDensityChange, isCommentResolvedAlertOpen, setIsCommentResolvedAlertOpen, showCommentPanel, setShowCommentPanel, customTabInTableSettings, closeTableSettingOnOutsideClick, saveViewCustomFilter, customRenderSaveViewContent, onTableSettingClick, deleteViewPromptText, isViewNameUniqueAcrossTypes, contentualFilterOpenByDefault, tableSettingsTitle, registerTableSettingToggle, numericFormatDefault, extraNumericFormatOptions, viewPoint, disableContextualFilter, disableTableSettings, onAdvanceSortClick, advanceSortEnabled, highlightChatIcon }: {
|
|
2
2
|
actualRef: any;
|
|
3
3
|
colDefs: any;
|
|
4
4
|
Columns: any;
|
|
@@ -41,6 +41,7 @@ export default function TableHeader({ actualRef, colDefs, Columns, tableFontSize
|
|
|
41
41
|
handleChatClose: any;
|
|
42
42
|
chatConfiguration: any;
|
|
43
43
|
hasSelectedRows?: boolean | undefined;
|
|
44
|
+
hasMultipleSelectedRows?: boolean | undefined;
|
|
44
45
|
chatEntryContext?: null | undefined;
|
|
45
46
|
savedViewsOptions: any;
|
|
46
47
|
handleSaveAndApply: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/tableHeader.tsx"],"names":[],"mappings":"AAqBA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAS,EACT,OAAO,EACP,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACvB,qBAA0B,EAC1B,yBAAyB,EACzB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,aAAoB,EACpB,eAA0B,EAC1B,uBAAkC,EAClC,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,eAAuB,EACvB,gBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,+BAA+B,EAC/B,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EAClB
|
|
1
|
+
{"version":3,"file":"tableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/tableHeader.tsx"],"names":[],"mappings":"AAqBA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAS,EACT,OAAO,EACP,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACvB,qBAA0B,EAC1B,yBAAyB,EACzB,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,EAC3B,kBAAkB,EAClB,aAAoB,EACpB,eAA0B,EAC1B,uBAAkC,EAClC,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,eAAuB,EACvB,uBAA+B,EAC/B,gBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,EACnB,wBAAwB,EACxB,+BAA+B,EAC/B,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,SAAS,EACT,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAA,kDA4XA"}
|
|
@@ -58,6 +58,7 @@ function TableHeader({
|
|
|
58
58
|
handleChatClose,
|
|
59
59
|
chatConfiguration,
|
|
60
60
|
hasSelectedRows = false,
|
|
61
|
+
hasMultipleSelectedRows = false,
|
|
61
62
|
chatEntryContext = null,
|
|
62
63
|
savedViewsOptions,
|
|
63
64
|
handleSaveAndApply,
|
|
@@ -270,7 +271,9 @@ function TableHeader({
|
|
|
270
271
|
icon: /* @__PURE__ */ jsx("img", { alt: "", src: ChatIcon }),
|
|
271
272
|
variant: "tertiary",
|
|
272
273
|
onClick: handleStartNewChatClick,
|
|
273
|
-
children: t(
|
|
274
|
+
children: t(
|
|
275
|
+
hasMultipleSelectedRows ? "table.header.createASpace" : "table.header.startNewChat"
|
|
276
|
+
)
|
|
274
277
|
}
|
|
275
278
|
)
|
|
276
279
|
}
|
|
@@ -259,6 +259,7 @@ declare const _default: {
|
|
|
259
259
|
"table.header.download": "Herunterladen",
|
|
260
260
|
"table.header.more": "Mehr",
|
|
261
261
|
"table.header.startNewChat": "Neuen Chat starten",
|
|
262
|
+
"table.header.createASpace": "Space erstellen",
|
|
262
263
|
|
|
263
264
|
"table.settings.title": "Tabelleneinstellungen",
|
|
264
265
|
"table.settings.columns": "Spalten",
|
|
@@ -317,6 +318,7 @@ declare const _default: {
|
|
|
317
318
|
"tableChat.channelItem.errorPinningChat": "Fehler beim Anheften des Chats",
|
|
318
319
|
"tableChat.channelItem.unpinChat": "Chat lösen",
|
|
319
320
|
"tableChat.channelItem.pinChat": "Chat anheften",
|
|
321
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
320
322
|
|
|
321
323
|
"tableChat.nav.searchChatPlaceholder": "Chat-Namen suchen, z. B. \"Deal-Übersicht\"",
|
|
322
324
|
"tableChat.nav.searchChannelPlaceholder": "Kanal-Namen suchen, z. B. \"Vertrieb\"",
|
|
@@ -239,6 +239,7 @@ const deDE = {
|
|
|
239
239
|
"table.header.download": "Herunterladen",
|
|
240
240
|
"table.header.more": "Mehr",
|
|
241
241
|
"table.header.startNewChat": "Neuen Chat starten",
|
|
242
|
+
"table.header.createASpace": "Space erstellen",
|
|
242
243
|
"table.settings.title": "Tabelleneinstellungen",
|
|
243
244
|
"table.settings.columns": "Spalten",
|
|
244
245
|
"table.settings.format": "Format",
|
|
@@ -286,6 +287,7 @@ const deDE = {
|
|
|
286
287
|
"tableChat.channelItem.errorPinningChat": "Fehler beim Anheften des Chats",
|
|
287
288
|
"tableChat.channelItem.unpinChat": "Chat lösen",
|
|
288
289
|
"tableChat.channelItem.pinChat": "Chat anheften",
|
|
290
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
289
291
|
"tableChat.nav.searchChatPlaceholder": 'Chat-Namen suchen, z. B. "Deal-Übersicht"',
|
|
290
292
|
"tableChat.nav.searchChannelPlaceholder": 'Kanal-Namen suchen, z. B. "Vertrieb"',
|
|
291
293
|
"tableChat.filterChips.all": "Alle",
|
|
@@ -259,6 +259,7 @@ declare const _default: {
|
|
|
259
259
|
"table.header.download": "Download",
|
|
260
260
|
"table.header.more": "More",
|
|
261
261
|
"table.header.startNewChat": "Start new chat",
|
|
262
|
+
"table.header.createASpace": "Create a space",
|
|
262
263
|
|
|
263
264
|
"table.settings.title": "Table Settings",
|
|
264
265
|
"table.settings.columns": "Columns",
|
|
@@ -316,6 +317,7 @@ declare const _default: {
|
|
|
316
317
|
"tableChat.channelItem.errorPinningChat": "Error pinning chat",
|
|
317
318
|
"tableChat.channelItem.unpinChat": "Unpin chat",
|
|
318
319
|
"tableChat.channelItem.pinChat": "Pin chat",
|
|
320
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
319
321
|
|
|
320
322
|
"tableChat.nav.searchChatPlaceholder": "Enter the chat name to search Ex: 'Deal overview discussion'",
|
|
321
323
|
"tableChat.nav.searchChannelPlaceholder": "Enter the channel name to search Ex: 'Sales'",
|
|
@@ -239,6 +239,7 @@ const enUS = {
|
|
|
239
239
|
"table.header.download": "Download",
|
|
240
240
|
"table.header.more": "More",
|
|
241
241
|
"table.header.startNewChat": "Start new chat",
|
|
242
|
+
"table.header.createASpace": "Create a space",
|
|
242
243
|
"table.settings.title": "Table Settings",
|
|
243
244
|
"table.settings.columns": "Columns",
|
|
244
245
|
"table.settings.format": "Format",
|
|
@@ -286,6 +287,7 @@ const enUS = {
|
|
|
286
287
|
"tableChat.channelItem.errorPinningChat": "Error pinning chat",
|
|
287
288
|
"tableChat.channelItem.unpinChat": "Unpin chat",
|
|
288
289
|
"tableChat.channelItem.pinChat": "Pin chat",
|
|
290
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
289
291
|
"tableChat.nav.searchChatPlaceholder": "Enter the chat name to search Ex: 'Deal overview discussion'",
|
|
290
292
|
"tableChat.nav.searchChannelPlaceholder": "Enter the channel name to search Ex: 'Sales'",
|
|
291
293
|
"tableChat.filterChips.all": "All",
|
|
@@ -259,6 +259,7 @@ declare const _default: {
|
|
|
259
259
|
"table.header.download": "Descargar",
|
|
260
260
|
"table.header.more": "Más",
|
|
261
261
|
"table.header.startNewChat": "Iniciar chat nuevo",
|
|
262
|
+
"table.header.createASpace": "Crear un espacio",
|
|
262
263
|
|
|
263
264
|
"table.settings.title": "Configuración de tabla",
|
|
264
265
|
"table.settings.columns": "Columnas",
|
|
@@ -316,6 +317,7 @@ declare const _default: {
|
|
|
316
317
|
"tableChat.channelItem.errorPinningChat": "Error al fijar el chat",
|
|
317
318
|
"tableChat.channelItem.unpinChat": "Desfijar chat",
|
|
318
319
|
"tableChat.channelItem.pinChat": "Fijar chat",
|
|
320
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
319
321
|
|
|
320
322
|
"tableChat.nav.searchChatPlaceholder": "Escribe el nombre del chat a buscar. Ej.: \"Resumen de la operación\"",
|
|
321
323
|
"tableChat.nav.searchChannelPlaceholder": "Escribe el nombre del canal a buscar. Ej.: \"Ventas\"",
|
|
@@ -239,6 +239,7 @@ const esES = {
|
|
|
239
239
|
"table.header.download": "Descargar",
|
|
240
240
|
"table.header.more": "Más",
|
|
241
241
|
"table.header.startNewChat": "Iniciar chat nuevo",
|
|
242
|
+
"table.header.createASpace": "Crear un espacio",
|
|
242
243
|
"table.settings.title": "Configuración de tabla",
|
|
243
244
|
"table.settings.columns": "Columnas",
|
|
244
245
|
"table.settings.format": "Formato",
|
|
@@ -286,6 +287,7 @@ const esES = {
|
|
|
286
287
|
"tableChat.channelItem.errorPinningChat": "Error al fijar el chat",
|
|
287
288
|
"tableChat.channelItem.unpinChat": "Desfijar chat",
|
|
288
289
|
"tableChat.channelItem.pinChat": "Fijar chat",
|
|
290
|
+
"tableChat.channelItem.spaceBadge": "Space",
|
|
289
291
|
"tableChat.nav.searchChatPlaceholder": 'Escribe el nombre del chat a buscar. Ej.: "Resumen de la operación"',
|
|
290
292
|
"tableChat.nav.searchChannelPlaceholder": 'Escribe el nombre del canal a buscar. Ej.: "Ventas"',
|
|
291
293
|
"tableChat.filterChips.all": "Todos",
|