impact-ui 4.0.2 → 4.0.3-tableV36.1
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/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/BottomSheet/index.d.ts +1 -1
- package/dist/components/BottomSheet/index.d.ts.map +1 -1
- package/dist/components/BottomSheet/index.js +7 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts +23 -0
- package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -0
- package/dist/components/Chart/ChartSkeleton.js +171 -0
- package/dist/components/Chart/index.d.ts +4 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +15 -3
- package/dist/components/Chatbot/index.js +1 -1
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Loader/Loader.types.d.ts +3 -3
- package/dist/components/Loader/Loader.types.d.ts.map +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +4 -2
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Skeleton/Skeleton.types.d.ts +39 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +13 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Skeleton/index.js +94 -0
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.js +1 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +33 -24
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableOld/AgGridHeader.js +15 -13
- package/dist/components/TableOld/index.js +1 -1
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts +27 -0
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/TableV36/AdvanceSortModal.d.ts +8 -0
- package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -0
- package/dist/components/TableV36/AdvanceSortModal.js +297 -0
- package/dist/components/TableV36/AgGridHeader.d.ts +16 -0
- package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -0
- package/dist/components/TableV36/AgGridHeader.js +799 -0
- package/dist/components/TableV36/CommentsPortal.d.ts +31 -0
- package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -0
- package/dist/components/TableV36/CommentsPortal.js +362 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +13 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.js +282 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +16 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +302 -0
- package/dist/components/TableV36/NoComments.d.ts +16 -0
- package/dist/components/TableV36/NoComments.d.ts.map +1 -0
- package/dist/components/TableV36/NoComments.js +237 -0
- package/dist/components/TableV36/Table.types.d.ts +89 -0
- package/dist/components/TableV36/Table.types.d.ts.map +1 -0
- package/dist/components/TableV36/actionBar.d.ts +7 -0
- package/dist/components/TableV36/actionBar.d.ts.map +1 -0
- package/dist/components/TableV36/actionBar.js +31 -0
- package/dist/components/TableV36/advanceSearchModal.d.ts +20 -0
- package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -0
- package/dist/components/TableV36/filterUtils.d.ts +133 -0
- package/dist/components/TableV36/filterUtils.d.ts.map +1 -0
- package/dist/components/TableV36/filterUtils.js +478 -0
- package/dist/components/TableV36/index.d.ts +3 -0
- package/dist/components/TableV36/index.d.ts.map +1 -0
- package/dist/components/TableV36/index.js +1603 -0
- package/dist/components/TableV36/mockData.d.ts +39 -0
- package/dist/components/TableV36/mockData.d.ts.map +1 -0
- package/dist/components/TableV36/tableFunctions.d.ts +63 -0
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -0
- package/dist/components/TableV36/tableFunctions.js +1796 -0
- package/dist/components/TableV36/tableHeader.d.ts +80 -0
- package/dist/components/TableV36/tableHeader.d.ts.map +1 -0
- package/dist/components/TableV36/tableHeader.js +396 -0
- package/dist/components/TableV36/tableIcons.d.ts +3 -0
- package/dist/components/TableV36/tableIcons.d.ts.map +1 -0
- package/dist/components/TableV36/tableMoreOptions.d.ts +52 -0
- package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -0
- package/dist/components/TableV36/tableMoreOptions.js +324 -0
- package/dist/components/TableV36/tablePagination.d.ts +7 -0
- package/dist/components/TableV36/tablePagination.d.ts.map +1 -0
- package/dist/components/TableV36/tablePagination.js +67 -0
- package/dist/components/TableV36/tableSettings.d.ts +41 -0
- package/dist/components/TableV36/tableSettings.d.ts.map +1 -0
- package/dist/components/TableV36/tableSettings.js +317 -0
- package/dist/components/TableV36/withCommentIcon.d.ts +7 -0
- package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -0
- package/dist/components/TableV36/withCommentIcon.js +108 -0
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -0
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/styles/style.css +1 -1
- package/dist/utils/helper.d.ts +1 -0
- package/dist/utils/helper.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
3
|
+
import default_1$2 from "../../node_modules/@mui/icons-material/AutoFixHigh.js";
|
|
4
|
+
import default_1$1 from "../../node_modules/@mui/icons-material/FormatColorTextOutlined.js";
|
|
5
|
+
import default_1 from "../../node_modules/@mui/icons-material/ViewColumnOutlined.js";
|
|
6
|
+
import { RadioButtonGroup } from "../RadioButtonGroup/index.js";
|
|
7
|
+
import { Tabs } from "../Tabs/index.js";
|
|
8
|
+
function TableSettings({
|
|
9
|
+
showMenu,
|
|
10
|
+
Columns,
|
|
11
|
+
actualRef,
|
|
12
|
+
tableFontSize,
|
|
13
|
+
setTableFontSize,
|
|
14
|
+
handleMenuClick,
|
|
15
|
+
onNumberFormatChange,
|
|
16
|
+
colDefs,
|
|
17
|
+
setShowMenu,
|
|
18
|
+
showTableSetting,
|
|
19
|
+
setShowTableSetting,
|
|
20
|
+
setTableSettingOpen,
|
|
21
|
+
tableActions,
|
|
22
|
+
onTableActionsTabClick,
|
|
23
|
+
showFilterStrip,
|
|
24
|
+
hideTableFormat,
|
|
25
|
+
hideTableActions,
|
|
26
|
+
savedViewsOptions,
|
|
27
|
+
handleSaveAndApply,
|
|
28
|
+
maxSavedViews,
|
|
29
|
+
handleSavedViewClick,
|
|
30
|
+
handleEditSaveView,
|
|
31
|
+
isSaveViewEnabled,
|
|
32
|
+
isSavingViewLoading,
|
|
33
|
+
handleDeleteViewClick,
|
|
34
|
+
isDeleteViewLoading,
|
|
35
|
+
handleSetDefaultView,
|
|
36
|
+
hideNumericFormat,
|
|
37
|
+
hideFontSize,
|
|
38
|
+
customTabInTableSettings,
|
|
39
|
+
saveViewCustomFilter,
|
|
40
|
+
customRenderSaveViewContent,
|
|
41
|
+
onTableSettingClick,
|
|
42
|
+
deleteViewPromptText,
|
|
43
|
+
isViewNameUniqueAcrossTypes,
|
|
44
|
+
tableSettingsTitle = "Table Settings",
|
|
45
|
+
registerTableSettingToggle,
|
|
46
|
+
numericFormatDefault
|
|
47
|
+
}) {
|
|
48
|
+
const [selectedMenuTab, setSelectedMenuTab] = useState("Columns");
|
|
49
|
+
const [numericFormat, setNumericFormat] = useState(numericFormatDefault || "full_no");
|
|
50
|
+
const showTableSettingRef = useRef(showTableSetting);
|
|
51
|
+
showTableSettingRef.current = showTableSetting;
|
|
52
|
+
const onFontSizeChange = useCallback(
|
|
53
|
+
(val) => {
|
|
54
|
+
setTableFontSize(val);
|
|
55
|
+
},
|
|
56
|
+
[setTableFontSize]
|
|
57
|
+
);
|
|
58
|
+
const onNumericFormatChange = useCallback(
|
|
59
|
+
(val) => {
|
|
60
|
+
setNumericFormat(val);
|
|
61
|
+
onNumberFormatChange(val);
|
|
62
|
+
},
|
|
63
|
+
[onNumberFormatChange]
|
|
64
|
+
);
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
setNumericFormat(numericFormatDefault);
|
|
67
|
+
}, [numericFormatDefault]);
|
|
68
|
+
const onCloseTableSetting = useCallback(() => {
|
|
69
|
+
setSelectedMenuTab("Columns");
|
|
70
|
+
setShowMenu(false);
|
|
71
|
+
setShowTableSetting(false);
|
|
72
|
+
setTableSettingOpen(false);
|
|
73
|
+
onTableSettingClick(false);
|
|
74
|
+
}, [setShowMenu, setShowTableSetting, setTableSettingOpen, onTableSettingClick]);
|
|
75
|
+
const tabPanels = useMemo(
|
|
76
|
+
() => [
|
|
77
|
+
/* @__PURE__ */ jsx(
|
|
78
|
+
Columns,
|
|
79
|
+
{
|
|
80
|
+
ref: actualRef,
|
|
81
|
+
column: colDefs,
|
|
82
|
+
customRenderSaveViewContent,
|
|
83
|
+
deleteViewPromptText,
|
|
84
|
+
handleDeleteViewClick,
|
|
85
|
+
handleEditSaveView,
|
|
86
|
+
handleSaveAndApply,
|
|
87
|
+
handleSavedViewClick,
|
|
88
|
+
handleSetDefaultView,
|
|
89
|
+
isDeleteViewLoading,
|
|
90
|
+
isSaveViewEnabled,
|
|
91
|
+
isSavingViewLoading,
|
|
92
|
+
isViewNameUniqueAcrossTypes,
|
|
93
|
+
maxSavedViews,
|
|
94
|
+
savedViewsOptions,
|
|
95
|
+
saveViewCustomFilter,
|
|
96
|
+
showMenu
|
|
97
|
+
},
|
|
98
|
+
"columns-tab"
|
|
99
|
+
),
|
|
100
|
+
!hideTableFormat && /* @__PURE__ */ jsx(
|
|
101
|
+
TableFormat,
|
|
102
|
+
{
|
|
103
|
+
hideFontSize,
|
|
104
|
+
hideNumericFormat,
|
|
105
|
+
numericFormat,
|
|
106
|
+
tableFontSize,
|
|
107
|
+
onFontSizeChange,
|
|
108
|
+
onNumericFormatChange
|
|
109
|
+
},
|
|
110
|
+
"format-tab"
|
|
111
|
+
),
|
|
112
|
+
!hideTableActions && /* @__PURE__ */ jsx(TableActions, { tableActions }, "actions-tab"),
|
|
113
|
+
...Array.isArray(customTabInTableSettings) ? customTabInTableSettings.map((tab, index) => {
|
|
114
|
+
var _a;
|
|
115
|
+
return /* @__PURE__ */ jsx(React__default.Fragment, { children: tab == null ? void 0 : tab.tabPanels }, ((_a = tab == null ? void 0 : tab.tabNames) == null ? void 0 : _a.value) || `custom-tab-${index}`);
|
|
116
|
+
}) : []
|
|
117
|
+
].filter(Boolean),
|
|
118
|
+
[
|
|
119
|
+
Columns,
|
|
120
|
+
actualRef,
|
|
121
|
+
colDefs,
|
|
122
|
+
customRenderSaveViewContent,
|
|
123
|
+
deleteViewPromptText,
|
|
124
|
+
handleDeleteViewClick,
|
|
125
|
+
handleEditSaveView,
|
|
126
|
+
handleSaveAndApply,
|
|
127
|
+
handleSavedViewClick,
|
|
128
|
+
handleSetDefaultView,
|
|
129
|
+
isDeleteViewLoading,
|
|
130
|
+
isSaveViewEnabled,
|
|
131
|
+
isSavingViewLoading,
|
|
132
|
+
isViewNameUniqueAcrossTypes,
|
|
133
|
+
maxSavedViews,
|
|
134
|
+
savedViewsOptions,
|
|
135
|
+
saveViewCustomFilter,
|
|
136
|
+
showMenu,
|
|
137
|
+
hideTableFormat,
|
|
138
|
+
hideFontSize,
|
|
139
|
+
hideNumericFormat,
|
|
140
|
+
numericFormat,
|
|
141
|
+
tableFontSize,
|
|
142
|
+
onFontSizeChange,
|
|
143
|
+
onNumericFormatChange,
|
|
144
|
+
hideTableActions,
|
|
145
|
+
tableActions,
|
|
146
|
+
customTabInTableSettings
|
|
147
|
+
]
|
|
148
|
+
);
|
|
149
|
+
const tabNames = useMemo(
|
|
150
|
+
() => [
|
|
151
|
+
{
|
|
152
|
+
label: selectedMenuTab === "Columns" ? "Columns" : "",
|
|
153
|
+
value: "Columns",
|
|
154
|
+
icon: /* @__PURE__ */ jsx(default_1, { fontSize: "small" })
|
|
155
|
+
},
|
|
156
|
+
!hideTableFormat && {
|
|
157
|
+
label: selectedMenuTab === "Format" ? "Format" : "",
|
|
158
|
+
value: "Format",
|
|
159
|
+
icon: /* @__PURE__ */ jsx(default_1$1, { fontSize: "small" })
|
|
160
|
+
},
|
|
161
|
+
!hideTableActions && {
|
|
162
|
+
label: selectedMenuTab === "Actions" ? "Actions" : "",
|
|
163
|
+
value: "Actions",
|
|
164
|
+
icon: /* @__PURE__ */ jsx(default_1$2, {})
|
|
165
|
+
},
|
|
166
|
+
...Array.isArray(customTabInTableSettings) ? customTabInTableSettings.map((tab) => {
|
|
167
|
+
var _a, _b;
|
|
168
|
+
return {
|
|
169
|
+
...tab.tabNames,
|
|
170
|
+
label: selectedMenuTab === ((_a = tab == null ? void 0 : tab.tabNames) == null ? void 0 : _a.value) ? (_b = tab == null ? void 0 : tab.tabNames) == null ? void 0 : _b.label : ""
|
|
171
|
+
};
|
|
172
|
+
}) : []
|
|
173
|
+
].filter(Boolean),
|
|
174
|
+
[selectedMenuTab, hideTableFormat, hideTableActions, customTabInTableSettings]
|
|
175
|
+
);
|
|
176
|
+
const handleTabChange = useCallback(
|
|
177
|
+
(_event, val) => {
|
|
178
|
+
setSelectedMenuTab(val);
|
|
179
|
+
if (val === "Actions") {
|
|
180
|
+
onTableActionsTabClick();
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
[onTableActionsTabClick]
|
|
184
|
+
);
|
|
185
|
+
useEffect(() => {
|
|
186
|
+
if (typeof registerTableSettingToggle !== "function") return void 0;
|
|
187
|
+
const toggle = (open, tabName, options = {}) => {
|
|
188
|
+
const shouldOpen = typeof open === "undefined" ? !showTableSettingRef.current : Boolean(open);
|
|
189
|
+
if (shouldOpen) {
|
|
190
|
+
if (options.menuOnly) {
|
|
191
|
+
setShowMenu(true);
|
|
192
|
+
} else {
|
|
193
|
+
setShowMenu(true);
|
|
194
|
+
setShowTableSetting(true);
|
|
195
|
+
setTableSettingOpen(true);
|
|
196
|
+
if (tabName) {
|
|
197
|
+
setSelectedMenuTab(tabName);
|
|
198
|
+
}
|
|
199
|
+
onTableSettingClick(true);
|
|
200
|
+
}
|
|
201
|
+
} else if (options.menuOnly) {
|
|
202
|
+
setShowMenu(false);
|
|
203
|
+
} else {
|
|
204
|
+
setSelectedMenuTab("Columns");
|
|
205
|
+
setShowMenu(false);
|
|
206
|
+
setShowTableSetting(false);
|
|
207
|
+
setTableSettingOpen(false);
|
|
208
|
+
onTableSettingClick(false);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
registerTableSettingToggle(toggle);
|
|
212
|
+
}, [
|
|
213
|
+
registerTableSettingToggle,
|
|
214
|
+
setShowMenu,
|
|
215
|
+
setShowTableSetting,
|
|
216
|
+
setTableSettingOpen,
|
|
217
|
+
onTableSettingClick
|
|
218
|
+
]);
|
|
219
|
+
return /* @__PURE__ */ jsxs(
|
|
220
|
+
"div",
|
|
221
|
+
{
|
|
222
|
+
className: `table-setting-main-container ${showTableSetting ? "display-table-setting" : ""} ${showFilterStrip ? "filters-strip-visible" : ""}`,
|
|
223
|
+
children: [
|
|
224
|
+
/* @__PURE__ */ jsxs("div", { className: "table-setting-header", children: [
|
|
225
|
+
/* @__PURE__ */ jsx("h2", { children: tableSettingsTitle }),
|
|
226
|
+
/* @__PURE__ */ jsx(
|
|
227
|
+
"span",
|
|
228
|
+
{
|
|
229
|
+
className: "close_icon",
|
|
230
|
+
role: "button",
|
|
231
|
+
tabIndex: 0,
|
|
232
|
+
onClick: onCloseTableSetting,
|
|
233
|
+
onKeyDown: (e) => {
|
|
234
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
235
|
+
e.preventDefault();
|
|
236
|
+
onCloseTableSetting();
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
)
|
|
241
|
+
] }),
|
|
242
|
+
/* @__PURE__ */ jsx(
|
|
243
|
+
Tabs,
|
|
244
|
+
{
|
|
245
|
+
remountOnTabChange: false,
|
|
246
|
+
tabNames,
|
|
247
|
+
tabPanels,
|
|
248
|
+
value: selectedMenuTab,
|
|
249
|
+
onChange: handleTabChange
|
|
250
|
+
}
|
|
251
|
+
)
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
const TableFormat = React__default.memo(function TableFormat2({
|
|
257
|
+
tableFontSize,
|
|
258
|
+
onFontSizeChange,
|
|
259
|
+
numericFormat,
|
|
260
|
+
onNumericFormatChange,
|
|
261
|
+
hideNumericFormat,
|
|
262
|
+
hideFontSize
|
|
263
|
+
}) {
|
|
264
|
+
const fontSizeOptions = useMemo(
|
|
265
|
+
() => [
|
|
266
|
+
{ label: "Small", value: "small" },
|
|
267
|
+
{ label: "Medium (default)", value: "medium" },
|
|
268
|
+
{ label: "Large", value: "large" }
|
|
269
|
+
],
|
|
270
|
+
[]
|
|
271
|
+
);
|
|
272
|
+
const numericOptions = useMemo(
|
|
273
|
+
() => [
|
|
274
|
+
{ label: "Full Number", value: "full_no" },
|
|
275
|
+
{ label: "In K (Thousands)", value: "thou" },
|
|
276
|
+
{ label: "In M (Millions)", value: "mil" },
|
|
277
|
+
{ label: "In B (Billions)", value: "bil" }
|
|
278
|
+
],
|
|
279
|
+
[]
|
|
280
|
+
);
|
|
281
|
+
return /* @__PURE__ */ jsxs("div", { className: "table-setting-format-settings", children: [
|
|
282
|
+
!hideFontSize && /* @__PURE__ */ jsxs("div", { className: "table-setting-font-size-setting-container", children: [
|
|
283
|
+
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children: "Font size" }),
|
|
284
|
+
/* @__PURE__ */ jsx(
|
|
285
|
+
RadioButtonGroup,
|
|
286
|
+
{
|
|
287
|
+
options: fontSizeOptions,
|
|
288
|
+
selectedOption: "medium",
|
|
289
|
+
value: tableFontSize,
|
|
290
|
+
onChange: (_e, val) => {
|
|
291
|
+
onFontSizeChange(val);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
)
|
|
295
|
+
] }),
|
|
296
|
+
!hideNumericFormat && /* @__PURE__ */ jsxs("div", { className: "table-setting-number-format-setting-container", children: [
|
|
297
|
+
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children: "Numeric Values" }),
|
|
298
|
+
/* @__PURE__ */ jsx(
|
|
299
|
+
RadioButtonGroup,
|
|
300
|
+
{
|
|
301
|
+
options: numericOptions,
|
|
302
|
+
selectedOption: "full_no",
|
|
303
|
+
value: numericFormat,
|
|
304
|
+
onChange: (_e, val) => {
|
|
305
|
+
onNumericFormatChange(val);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
)
|
|
309
|
+
] })
|
|
310
|
+
] });
|
|
311
|
+
});
|
|
312
|
+
const TableActions = React__default.memo(function TableActions2({ tableActions }) {
|
|
313
|
+
return /* @__PURE__ */ jsx("div", { className: "table-setting-action-settings", children: /* @__PURE__ */ jsx("div", { className: "table-setting-action-container", children: tableActions }) });
|
|
314
|
+
});
|
|
315
|
+
export {
|
|
316
|
+
TableSettings as default
|
|
317
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a memoized HOC wrapper for the given renderer.
|
|
3
|
+
* Prefer this over calling `withCommentIcon` directly when building columnDefs.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getCachedCommentIconWrapper: (Renderer: any) => any;
|
|
6
|
+
export declare const withCommentIcon: (Renderer: any) => any;
|
|
7
|
+
//# sourceMappingURL=withCommentIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withCommentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/withCommentIcon.tsx"],"names":[],"mappings":"AA4HA;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,aAAQ,QAgBnD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,aAAQ,QAA0C,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useRef } from "react";
|
|
3
|
+
import { getAssetUrl } from "../../utils/assetBase.js";
|
|
4
|
+
const CommentIndicator = (props) => /* @__PURE__ */ jsx("img", { alt: "", src: getAssetUrl("icons/comment-indicator.svg"), ...props });
|
|
5
|
+
const commentIconWrapperCache = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
const undefinedRendererKey = { __undefinedRenderer: true };
|
|
7
|
+
const undefinedWrapperCache = /* @__PURE__ */ new Map();
|
|
8
|
+
const createCommentIconWrapper = (Renderer) => {
|
|
9
|
+
const CommentIconCell = memo((props) => {
|
|
10
|
+
var _a;
|
|
11
|
+
const iconRef = useRef(null);
|
|
12
|
+
const {
|
|
13
|
+
handleCommentIconHover,
|
|
14
|
+
handleMouseEnter,
|
|
15
|
+
handleMouseLeave,
|
|
16
|
+
popup,
|
|
17
|
+
resolvedComments,
|
|
18
|
+
getLatestUnresolvedThreadId,
|
|
19
|
+
configuration,
|
|
20
|
+
colIdentifierKey,
|
|
21
|
+
comments
|
|
22
|
+
} = props.context || {};
|
|
23
|
+
const rowIdentifier = colIdentifierKey ? ((_a = props.data) == null ? void 0 : _a[colIdentifierKey]) || props.node.id : props.node.id;
|
|
24
|
+
const baseCellId = `${rowIdentifier}__${props.column.getColId()}`;
|
|
25
|
+
let effectiveCellId = baseCellId;
|
|
26
|
+
if ((popup == null ? void 0 : popup.cellId) != baseCellId && !(configuration == null ? void 0 : configuration.disableMultiCommentThread)) {
|
|
27
|
+
const baseResolved = Array.isArray(resolvedComments) ? resolvedComments.includes(baseCellId) : false;
|
|
28
|
+
if (baseResolved) {
|
|
29
|
+
const latestUnresolved = getLatestUnresolvedThreadId == null ? void 0 : getLatestUnresolvedThreadId(baseCellId);
|
|
30
|
+
if (latestUnresolved) {
|
|
31
|
+
effectiveCellId = latestUnresolved;
|
|
32
|
+
} else {
|
|
33
|
+
effectiveCellId = baseCellId;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const commentsArray = comments == null ? void 0 : comments[effectiveCellId];
|
|
38
|
+
const hasComment = commentsArray && Array.isArray(commentsArray) && commentsArray.length > 0;
|
|
39
|
+
const isPortalOpen = (popup == null ? void 0 : popup.cellId) === effectiveCellId;
|
|
40
|
+
const displayValue = props.valueFormatted !== void 0 && props.valueFormatted !== null ? props.valueFormatted : props.value;
|
|
41
|
+
const safeValue = displayValue !== null && typeof displayValue === "object" ? JSON.stringify(displayValue) : displayValue ?? "";
|
|
42
|
+
const Content = Renderer ? /* @__PURE__ */ jsx(Renderer, { ...props }) : /* @__PURE__ */ jsx(Fragment, { children: safeValue });
|
|
43
|
+
const isResolved = Array.isArray(resolvedComments) && resolvedComments.find((comment) => comment === effectiveCellId);
|
|
44
|
+
const showBorder = hasComment && isPortalOpen;
|
|
45
|
+
const showIcon = hasComment && !isResolved;
|
|
46
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
47
|
+
showBorder && /* @__PURE__ */ jsx(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
style: {
|
|
51
|
+
position: "absolute",
|
|
52
|
+
top: 0,
|
|
53
|
+
left: 0,
|
|
54
|
+
right: 0,
|
|
55
|
+
bottom: 0,
|
|
56
|
+
border: "1px solid #4259ee",
|
|
57
|
+
boxSizing: "border-box",
|
|
58
|
+
pointerEvents: "none",
|
|
59
|
+
zIndex: 1
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
Content,
|
|
64
|
+
showIcon && /* @__PURE__ */ jsx(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
ref: iconRef,
|
|
68
|
+
style: {
|
|
69
|
+
position: "absolute",
|
|
70
|
+
top: -15,
|
|
71
|
+
right: 0,
|
|
72
|
+
cursor: "pointer",
|
|
73
|
+
zIndex: 2
|
|
74
|
+
},
|
|
75
|
+
title: `${commentsArray.length} comment${commentsArray.length > 1 ? "s" : ""}`,
|
|
76
|
+
onMouseLeave: handleMouseLeave,
|
|
77
|
+
onMouseOver: () => {
|
|
78
|
+
handleMouseEnter == null ? void 0 : handleMouseEnter();
|
|
79
|
+
handleCommentIconHover == null ? void 0 : handleCommentIconHover(props);
|
|
80
|
+
},
|
|
81
|
+
children: /* @__PURE__ */ jsx(CommentIndicator, {})
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] });
|
|
85
|
+
});
|
|
86
|
+
CommentIconCell.displayName = `withCommentIcon(${(Renderer == null ? void 0 : Renderer.displayName) || (Renderer == null ? void 0 : Renderer.name) || "Cell"})`;
|
|
87
|
+
return CommentIconCell;
|
|
88
|
+
};
|
|
89
|
+
const getCachedCommentIconWrapper = (Renderer) => {
|
|
90
|
+
if (Renderer == null) {
|
|
91
|
+
if (!undefinedWrapperCache.has(undefinedRendererKey)) {
|
|
92
|
+
undefinedWrapperCache.set(undefinedRendererKey, createCommentIconWrapper(void 0));
|
|
93
|
+
}
|
|
94
|
+
return undefinedWrapperCache.get(undefinedRendererKey);
|
|
95
|
+
}
|
|
96
|
+
if (typeof Renderer !== "function") {
|
|
97
|
+
return Renderer;
|
|
98
|
+
}
|
|
99
|
+
let cached = commentIconWrapperCache.get(Renderer);
|
|
100
|
+
if (!cached) {
|
|
101
|
+
cached = createCommentIconWrapper(Renderer);
|
|
102
|
+
commentIconWrapperCache.set(Renderer, cached);
|
|
103
|
+
}
|
|
104
|
+
return cached;
|
|
105
|
+
};
|
|
106
|
+
export {
|
|
107
|
+
getCachedCommentIconWrapper
|
|
108
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var
|
|
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)}}.MuiChip-root.impact-tag{border:1px solid #b3bdf8;color:#60697d}.MuiChip-root.impact-tag:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.MuiChip-root.impact-tag:focus:not(:focus-visible){box-shadow:none;outline:none}.MuiChip-root.impact-tag.Mui-focusVisible{background:#eceefd}.MuiChip-root.impact-tag .MuiSvgIcon-root{color:#60697d;margin-left:10px;margin-right:-9px;width:16px}.MuiChip-root.impact-tag .MuiChip-deleteIcon{background-position:50%;background-size:16px;margin-left:-5px;margin-right:10px}.MuiChip-root.impact-tag-solid{background:#eceefd;border:none;border-radius:8px;color:#1f2b4d}.MuiChip-root.impact-tag-solid:hover{background:#eceefd}.MuiChip-root.impact-tag:hover{background:#fff;border:1px solid #b3bdf8;box-shadow:0 0 4px #0000001f}.MuiChip-root.impact-tag.MuiChip-outlined{background-color:#fff;border:1px solid #b3bdf8}.impact-tag-large{height:32px!important}.impact-tag-large .MuiChip-label{font-size:14px;font-weight:500;line-height:18px}.impact-tag-medium{height:24px!important}.impact-tag-medium .MuiChip-label{font-size:14px;line-height:20px}.impact-tag-small{height:22px!important}.impact-tag-small .MuiChip-label{font-size:12px;line-height:15px}.active_tags{background:#ff0}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import FilledTags from "./filled.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".impact_textarea_label{color:#60697d;font-size:12px;padding-bottom:6px}.impact_textarea{margin-top:6px}.impact_textarea textarea{border:1px solid #d9dde7;border-radius:8px;min-height:100px;min-width:240px;padding:12px;position:relative;resize:none}.impact_textarea textarea:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.impact_textarea textarea:focus:not(:focus-visible){box-shadow:none;outline:none}.impact_textarea textarea:focus,.impact_textarea textarea:hover{border:1px solid #4259ee;outline:none}.impact_textarea_btm_container{display:flex;justify-content:space-between;margin-top:6px}.impact_textarea_btm_container .left_secondary_label_container,.impact_textarea_btm_container .right_numeric_container{color:#5f6673;font-size:10px}.impact_textarea_disabled .impact_textarea_label{color:#b4bac7}.impact_textarea_disabled textarea{background:#f8f9fb;color:#d9dde7;pointer-events:none}.impact_textarea_disabled .impact_textarea_btm_container .left_secondary_label_container{color:#b4bac7;text-align:start}.impact_textarea_disabled .impact_textarea_btm_container .right_numeric_container{color:#b4bac7}.impact_textarea_error textarea{color:#ab3939}textarea{font-family:Manrope,sans-serif!important}.impact_textarea_disabled textarea::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#b4bac7}.impact_textarea_error .left_secondary_label_container,.impact_textarea_error .right_numeric_container{color:#ab3939}.impact_textarea_error textarea,.impact_textarea_error textarea:focus,.impact_textarea_error textarea:hover{border:1px solid #ec4c5c}.impact_textarea_error textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/material-symbols_error.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/success-icon.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea,.impact_textarea_success textarea:focus,.impact_textarea_success textarea:hover{border:1px solid #108431}.impact_textarea_success .left_secondary_label_container,.impact_textarea_success .right_numeric_container{color:#26734b}.impact_textarea_warning textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/warning-fill.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;border:1px solid #ffe174;padding-right:34px}.impact_textarea_warning textarea:focus,.impact_textarea_warning textarea:hover{border:1px solid #ffe174}.impact_textarea_warning .left_secondary_label_container,.impact_textarea_warning .right_numeric_container{color:#9d831c}.impact_textarea textarea::placeholder{color:#b4bac7;font-weight:400;transition:font-weight .2s ease}.impact_textarea_disabled textarea::placeholder{color:#b4bac7}.impact_textarea textarea:focus::placeholder{color:#0000}
|
|
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)}}.impact_textarea_label{color:#60697d;font-size:12px;padding-bottom:6px}.impact_textarea{margin-top:6px}.impact_textarea textarea{border:1px solid #d9dde7;border-radius:8px;min-height:100px;min-width:240px;padding:12px;position:relative;resize:none}.impact_textarea textarea:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.impact_textarea textarea:focus:not(:focus-visible){box-shadow:none;outline:none}.impact_textarea textarea:focus,.impact_textarea textarea:hover{border:1px solid #4259ee;outline:none}.impact_textarea_btm_container{display:flex;justify-content:space-between;margin-top:6px}.impact_textarea_btm_container .left_secondary_label_container,.impact_textarea_btm_container .right_numeric_container{color:#5f6673;font-size:10px}.impact_textarea_disabled .impact_textarea_label{color:#b4bac7}.impact_textarea_disabled textarea{background:#f8f9fb;color:#d9dde7;pointer-events:none}.impact_textarea_disabled .impact_textarea_btm_container .left_secondary_label_container{color:#b4bac7;text-align:start}.impact_textarea_disabled .impact_textarea_btm_container .right_numeric_container{color:#b4bac7}.impact_textarea_error textarea{color:#ab3939}textarea{font-family:Manrope,sans-serif!important}.impact_textarea_disabled textarea::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#b4bac7}.impact_textarea_error .left_secondary_label_container,.impact_textarea_error .right_numeric_container{color:#ab3939}.impact_textarea_error textarea,.impact_textarea_error textarea:focus,.impact_textarea_error textarea:hover{border:1px solid #ec4c5c}.impact_textarea_error textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/material-symbols_error.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/success-icon.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea,.impact_textarea_success textarea:focus,.impact_textarea_success textarea:hover{border:1px solid #108431}.impact_textarea_success .left_secondary_label_container,.impact_textarea_success .right_numeric_container{color:#26734b}.impact_textarea_warning textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/warning-fill.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;border:1px solid #ffe174;padding-right:34px}.impact_textarea_warning textarea:focus,.impact_textarea_warning textarea:hover{border:1px solid #ffe174}.impact_textarea_warning .left_secondary_label_container,.impact_textarea_warning .right_numeric_container{color:#9d831c}.impact_textarea textarea::placeholder{color:#b4bac7;font-weight:400;transition:font-weight .2s ease}.impact_textarea_disabled textarea::placeholder{color:#b4bac7}.impact_textarea textarea:focus::placeholder{color:#0000}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,: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}.dropdown-menu{background:#fff;border-radius:8px;display:flex;flex-direction:column;max-height:250px;min-width:180px;overflow:auto;padding:8px;position:relative}.dropdown-menu .mention-item{align-items:center;background-color:initial;border:none;border-radius:4px;color:#0d152c;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.dropdown-menu .mention-item .mention-avatar{align-items:center;display:flex;justify-content:center}.dropdown-menu .mention-item .mention-info{display:flex;flex:1;flex-direction:column;gap:2px}.dropdown-menu .mention-item .mention-name{font-weight:400;line-height:1.2}.dropdown-menu .mention-item .mention-status{font-size:11px;font-weight:400;line-height:1;opacity:.7;text-transform:capitalize}.dropdown-menu .mention-item .mention-status.online{color:#22c55e}.dropdown-menu .mention-item .mention-status.offline{color:#b4bac7}.dropdown-menu .mention-item:hover,.dropdown-menu .mention-item:hover.is-selected{background-color:#f5f5f5}.dropdown-menu .mention-item.is-selected{background-color:#f0f0f0;font-weight:500}.dropdown-menu .mention-item:focus{box-shadow:0 0 0 2px #4259ee33;outline:none}.dropdown-menu .item{color:#b4bac7;font-size:14px;padding:8px 12px;text-align:center}.dropdown-menu .mention-loading{align-items:center;color:#b4bac7;display:flex;font-size:14px;gap:8px;padding:12px;text-align:center}.dropdown-menu .mention-loading .loading-spinner{animation:spin 1s linear infinite;border:2px solid #f5f5f5;border-radius:50%;border-top-color:#4259ee;height:16px;width:16px}.dropdown-menu .mention-error{color:#ef4444;font-size:14px;padding:12px;text-align:center}.dropdown-menu .mention-no-result{color:#b4bac7;font-size:14px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dropdown-menu::-webkit-scrollbar{width:6px}.dropdown-menu::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb:hover{background:#c7c7c7}')),document.head.appendChild(e)}}catch(
|
|
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}.dropdown-menu{background:#fff;border-radius:8px;display:flex;flex-direction:column;max-height:250px;min-width:180px;overflow:auto;padding:8px;position:relative}.dropdown-menu .mention-item{align-items:center;background-color:initial;border:none;border-radius:4px;color:#0d152c;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.dropdown-menu .mention-item .mention-avatar{align-items:center;display:flex;justify-content:center}.dropdown-menu .mention-item .mention-info{display:flex;flex:1;flex-direction:column;gap:2px}.dropdown-menu .mention-item .mention-name{font-weight:400;line-height:1.2}.dropdown-menu .mention-item .mention-status{font-size:11px;font-weight:400;line-height:1;opacity:.7;text-transform:capitalize}.dropdown-menu .mention-item .mention-status.online{color:#22c55e}.dropdown-menu .mention-item .mention-status.offline{color:#b4bac7}.dropdown-menu .mention-item:hover,.dropdown-menu .mention-item:hover.is-selected{background-color:#f5f5f5}.dropdown-menu .mention-item.is-selected{background-color:#f0f0f0;font-weight:500}.dropdown-menu .mention-item:focus{box-shadow:0 0 0 2px #4259ee33;outline:none}.dropdown-menu .item{color:#b4bac7;font-size:14px;padding:8px 12px;text-align:center}.dropdown-menu .mention-loading{align-items:center;color:#b4bac7;display:flex;font-size:14px;gap:8px;padding:12px;text-align:center}.dropdown-menu .mention-loading .loading-spinner{animation:spin 1s linear infinite;border:2px solid #f5f5f5;border-radius:50%;border-top-color:#4259ee;height:16px;width:16px}.dropdown-menu .mention-error{color:#ef4444;font-size:14px;padding:12px;text-align:center}.dropdown-menu .mention-no-result{color:#b4bac7;font-size:14px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dropdown-menu::-webkit-scrollbar{width:6px}.dropdown-menu::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb:hover{background:#c7c7c7}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { forwardRef, useState, useEffect, useImperativeHandle } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var
|
|
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}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin: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{background:#0000;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;font-weight:400;line-height:160%;max-height:130px;min-height:20px;outline:none;overflow-y:auto;padding:0;resize:none;transition:all .2s ease-in-out;width:100%}.tiptap-editor::placeholder{color:#b4bac7}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding: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}.single-line .tiptap{line-height:24px}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { forwardRef, useEffect, useImperativeHandle } from "react";
|
|
@@ -76,6 +76,8 @@ export { Header } from './Header';
|
|
|
76
76
|
export type { HeaderProps, HeaderDropMenuOption } from './Header/Header.types';
|
|
77
77
|
export { Loader } from './Loader';
|
|
78
78
|
export type { LoaderProps, LoaderSize } from './Loader/Loader.types';
|
|
79
|
+
export { Skeleton, getShimmerClass } from './Skeleton';
|
|
80
|
+
export type { SkeletonProps, SkeletonVariant, ShimmerDirection, CssSize, } from './Skeleton/Skeleton.types';
|
|
79
81
|
export { Menu, MenuHeaderInfo } from './Menu';
|
|
80
82
|
export type { MenuProps, MenuOption } from './Menu/Menu.types';
|
|
81
83
|
export type { MenuHeaderInfoProps } from './Menu/MenuHeaderInfo.types';
|
|
@@ -95,6 +97,7 @@ export { Toast } from './Toast';
|
|
|
95
97
|
export type { ToastProps, ToastPosition, ToastVariant } from './Toast/Toast.types';
|
|
96
98
|
export { Table } from './Table';
|
|
97
99
|
export { OldTable } from './TableOld';
|
|
100
|
+
export { TableV36 } from './TableV36';
|
|
98
101
|
export { default as CommentsPanel, CommentsProvider, useComments, CommentsContext, } from './CommentsPanel';
|
|
99
102
|
export type { CommentProps, CommentsPanelProps, CommentsProviderProps, } from './CommentsPanel/CommentsPanel.types';
|
|
100
103
|
export { Select } from './Select';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,kBAAkB,EAClB,IAAI,EACJ,OAAO,EACP,UAAU,EACV,SAAS,EACT,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,yCA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,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,gBAAgB,EAChB,WAAW,EACX,eAAe,GAChB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAEvF,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,KAAK,GACN,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,OAAO,EACP,cAAc,EACd,aAAa,EACb,SAAS,EACT,eAAe,EACf,IAAI,EACJ,WAAW,EACX,WAAW,EACX,eAAe,GAChB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,SAAS,EACT,YAAY,EACZ,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -38,6 +38,7 @@ import { FileUpload } from "./FileUpload/index.js";
|
|
|
38
38
|
import { FILE_TYPE_MIME_MAP, SIZE_CONVENTIONS } from "./FileUpload/FileUpload.types.js";
|
|
39
39
|
import { Header } from "./Header/index.js";
|
|
40
40
|
import { Loader } from "./Loader/index.js";
|
|
41
|
+
import { Skeleton, getShimmerClass } from "./Skeleton/index.js";
|
|
41
42
|
import { Menu } from "./Menu/index.js";
|
|
42
43
|
import { ProgressBar } from "./ProgressBar/index.js";
|
|
43
44
|
import { CreateItemFlow } from "./CreateItemFlow/index.js";
|
|
@@ -48,6 +49,7 @@ import { TextArea } from "./TextArea/index.js";
|
|
|
48
49
|
import { Toast } from "./Toast/index.js";
|
|
49
50
|
import { Table } from "./Table/index.js";
|
|
50
51
|
import { OldTable } from "./TableOld/index.js";
|
|
52
|
+
import { TableV36 } from "./TableV36/index.js";
|
|
51
53
|
import { default as default2 } from "./CommentsPanel/index.js";
|
|
52
54
|
import { Select } from "./Select/index.js";
|
|
53
55
|
import { MonthPicker } from "./MonthPicker/index.js";
|
|
@@ -145,10 +147,12 @@ export {
|
|
|
145
147
|
ShortcutsConfigContext,
|
|
146
148
|
ShortcutsProvider,
|
|
147
149
|
Sidebar,
|
|
150
|
+
Skeleton,
|
|
148
151
|
Slider,
|
|
149
152
|
Stepper,
|
|
150
153
|
Switch,
|
|
151
154
|
Table,
|
|
155
|
+
TableV36,
|
|
152
156
|
Tabs,
|
|
153
157
|
Tag,
|
|
154
158
|
TagGroup,
|
|
@@ -159,6 +163,7 @@ export {
|
|
|
159
163
|
default3 as enUS,
|
|
160
164
|
formatShortcutDisplay,
|
|
161
165
|
getAssetUrl,
|
|
166
|
+
getShimmerClass,
|
|
162
167
|
isMac,
|
|
163
168
|
normalizeKey,
|
|
164
169
|
normalizeShortcutString,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as propTypes } from "../../_virtual/
|
|
2
|
+
import { __module as propTypes } from "../../_virtual/index2.js";
|
|
3
3
|
import { __require as requireReactIs } from "./node_modules/react-is/index.js";
|
|
4
4
|
import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
|
|
5
5
|
import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
|