impact-ui 4.0.17 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -9
- package/dist/_virtual/_commonjsHelpers.js +0 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -4
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +4 -2
- package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
- package/dist/components/Checkbox/WithDropDown.js +46 -30
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Input/HelperText.d.ts.map +1 -1
- package/dist/components/Input/HelperText.js +22 -2
- package/dist/components/Input/index.js +3 -3
- 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.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/index.js +38 -112
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/OnboardingTour/index.d.ts +61 -0
- package/dist/components/OnboardingTour/index.d.ts.map +1 -0
- package/dist/components/OnboardingTour/index.js +232 -0
- package/dist/components/OnboardingTour/productTourList.d.ts +39 -0
- package/dist/components/OnboardingTour/productTourList.d.ts.map +1 -0
- package/dist/components/OnboardingTour/productTourList.js +86 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts +45 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -0
- package/dist/components/OnboardingTour/tooltipCard.js +96 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts +29 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts.map +1 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.js +221 -0
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +14 -5
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/AdvanceSortModal.js +35 -37
- package/dist/components/{Table → TableV36}/AgGridHeader.d.ts +4 -1
- package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/AgGridHeader.js +93 -105
- package/dist/components/TableV36/AgGridHeaderGroup.d.ts +3 -0
- package/dist/components/TableV36/AgGridHeaderGroup.d.ts.map +1 -0
- package/dist/components/TableV36/AgGridHeaderGroup.js +29 -0
- package/dist/components/TableV36/CellTooltip.d.ts +14 -0
- package/dist/components/TableV36/CellTooltip.d.ts.map +1 -0
- package/dist/components/TableV36/CellTooltip.js +11 -0
- package/dist/components/{Table → TableV36}/CommentsPortal.d.ts +5 -3
- package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/CommentsPortal.js +6 -10
- package/dist/components/TableV36/HighlightedText.d.ts +11 -0
- package/dist/components/TableV36/HighlightedText.d.ts.map +1 -0
- package/dist/components/TableV36/HighlightedText.js +20 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModal.js +23 -26
- package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +2 -3
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +19 -43
- package/dist/components/TableV36/NoComments.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/NoComments.js +3 -5
- package/dist/components/TableV36/Table.types.d.ts +127 -0
- package/dist/components/TableV36/Table.types.d.ts.map +1 -0
- package/dist/components/TableV36/TableSkeletonCell.d.ts +18 -0
- package/dist/components/TableV36/TableSkeletonCell.d.ts.map +1 -0
- package/dist/components/TableV36/TableSkeletonCell.js +38 -0
- package/dist/components/{TableOld → TableV36}/actionBar.d.ts.map +1 -1
- package/dist/components/{Table → TableV36}/actionBar.js +1 -5
- package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/filterUtils.d.ts +2 -56
- package/dist/components/TableV36/filterUtils.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/filterUtils.js +17 -100
- 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 +1767 -0
- package/dist/components/TableV36/mockData.d.ts.map +1 -0
- package/dist/components/TableV36/resolveTableLoadingOptions.d.ts +62 -0
- package/dist/components/TableV36/resolveTableLoadingOptions.d.ts.map +1 -0
- package/dist/components/TableV36/resolveTableLoadingOptions.js +52 -0
- package/dist/components/TableV36/resolveTableLoadingOptions.test.d.ts +2 -0
- package/dist/components/TableV36/resolveTableLoadingOptions.test.d.ts.map +1 -0
- package/dist/components/{TableOld → TableV36}/tableFunctions.d.ts +14 -10
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -0
- package/dist/components/{shared/tableColumnSettings/columnsTabV36.js → TableV36/tableFunctions.js} +663 -292
- package/dist/components/{Table → TableV36}/tableHeader.d.ts +2 -2
- package/dist/components/TableV36/tableHeader.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/tableHeader.js +17 -26
- package/dist/components/{TableOld → TableV36}/tableIcons.d.ts.map +1 -1
- package/dist/components/{Table → TableV36}/tableMoreOptions.d.ts +2 -2
- package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/tableMoreOptions.js +39 -84
- package/dist/components/TableV36/tablePagination.d.ts.map +1 -0
- package/dist/components/{Table → TableV36}/tablePagination.js +6 -16
- package/dist/components/{Table → TableV36}/tableSettings.d.ts +3 -2
- package/dist/components/TableV36/tableSettings.d.ts.map +1 -0
- package/dist/components/{shared/tableColumnSettings/tableSettingsV36.js → TableV36/tableSettings.js} +34 -40
- package/dist/components/TableV36/tableUtils.d.ts +17 -0
- package/dist/components/TableV36/tableUtils.d.ts.map +1 -0
- package/dist/components/TableV36/tableUtils.js +60 -0
- package/dist/components/TableV36/withCommentIcon.d.ts +13 -0
- package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -0
- package/dist/components/TableV36/withCommentIcon.js +134 -0
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts +2 -4
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts.map +1 -1
- package/dist/mcp-component-registry.json +268 -337
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +3 -9
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
- package/dist/stories/tableStoryDefaults.d.ts +1 -1
- package/dist/stories/tableStoryDefaults.d.ts.map +1 -1
- package/dist/stories/tableStoryManyColumns.d.ts +1 -1
- package/dist/stories/tableV36ChatApiMock.d.ts +420 -0
- package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -0
- package/dist/utils/helper.js +0 -60
- package/package.json +8 -8
- package/dist/_virtual/lodash.js +0 -4
- package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +0 -1
- package/dist/components/Table/AdvanceSearchModalItem.js +0 -313
- package/dist/components/Table/AdvanceSortModal.d.ts.map +0 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +0 -1
- package/dist/components/Table/CommentsPortal.d.ts.map +0 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +0 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +0 -1
- package/dist/components/Table/NoComments.d.ts.map +0 -1
- package/dist/components/Table/Table.types.d.ts +0 -40
- package/dist/components/Table/Table.types.d.ts.map +0 -1
- package/dist/components/Table/actionBar.d.ts.map +0 -1
- package/dist/components/Table/advanceSearchModal.d.ts.map +0 -1
- package/dist/components/Table/advanceSearchModal.js +0 -601
- package/dist/components/Table/agGridLocale.d.ts +0 -33
- package/dist/components/Table/agGridLocale.d.ts.map +0 -1
- package/dist/components/Table/agGridLocale.js +0 -59
- package/dist/components/Table/filterUtils.d.ts.map +0 -1
- package/dist/components/Table/filterUtils.test.d.ts +0 -2
- package/dist/components/Table/filterUtils.test.d.ts.map +0 -1
- package/dist/components/Table/index.d.ts +0 -4
- package/dist/components/Table/index.d.ts.map +0 -1
- package/dist/components/Table/index.js +0 -1441
- package/dist/components/Table/mockData.d.ts.map +0 -1
- package/dist/components/Table/tableFunctions.d.ts +0 -57
- package/dist/components/Table/tableFunctions.d.ts.map +0 -1
- package/dist/components/Table/tableFunctions.js +0 -1317
- package/dist/components/Table/tableHeader.d.ts.map +0 -1
- package/dist/components/Table/tableIcons.d.ts.map +0 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +0 -1
- package/dist/components/Table/tablePagination.d.ts.map +0 -1
- package/dist/components/Table/tableSettings.d.ts.map +0 -1
- package/dist/components/Table/tableSettings.js +0 -282
- package/dist/components/Table/withCommentIcon.d.ts +0 -2
- package/dist/components/Table/withCommentIcon.d.ts.map +0 -1
- package/dist/components/Table/withCommentIcon.js +0 -88
- package/dist/components/TableOld/AgGridHeader.d.ts +0 -12
- package/dist/components/TableOld/AgGridHeader.d.ts.map +0 -1
- package/dist/components/TableOld/AgGridHeader.js +0 -496
- package/dist/components/TableOld/actionBar.d.ts +0 -7
- package/dist/components/TableOld/actionBar.js +0 -35
- package/dist/components/TableOld/index.d.ts +0 -3
- package/dist/components/TableOld/index.d.ts.map +0 -1
- package/dist/components/TableOld/index.js +0 -645
- package/dist/components/TableOld/mockData.d.ts +0 -39
- package/dist/components/TableOld/mockData.d.ts.map +0 -1
- package/dist/components/TableOld/tableFunctions.d.ts.map +0 -1
- package/dist/components/TableOld/tableFunctions.js +0 -1321
- package/dist/components/TableOld/tableHeader.d.ts +0 -53
- package/dist/components/TableOld/tableHeader.d.ts.map +0 -1
- package/dist/components/TableOld/tableHeader.js +0 -229
- package/dist/components/TableOld/tableIcons.d.ts +0 -3
- package/dist/components/TableOld/tablePagination.d.ts +0 -8
- package/dist/components/TableOld/tablePagination.d.ts.map +0 -1
- package/dist/components/TableOld/tablePagination.js +0 -80
- package/dist/components/TableOld/tableSettings.d.ts +0 -11
- package/dist/components/TableOld/tableSettings.d.ts.map +0 -1
- package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.js +0 -52
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.js +0 -264
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.js +0 -298
- package/dist/node_modules/lodash/lodash.js +0 -5506
- /package/dist/components/{Table → TableV36}/AdvanceSearchModalItem.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/AdvanceSortModal.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/NoComments.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/actionBar.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/advanceSearchModal.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/mockData.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/tableIcons.d.ts +0 -0
- /package/dist/components/{Table → TableV36}/tablePagination.d.ts +0 -0
package/dist/components/{shared/tableColumnSettings/tableSettingsV36.js → TableV36/tableSettings.js}
RENAMED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React__default, { useState, useRef,
|
|
3
|
-
import default_1$2 from "
|
|
4
|
-
import default_1$1 from "
|
|
5
|
-
import default_1 from "
|
|
6
|
-
import { RadioButtonGroup } from "
|
|
7
|
-
import { Tabs } from "
|
|
8
|
-
import { useTranslation } from "../../../i18n/useTranslation.js";
|
|
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";
|
|
9
8
|
function TableSettings({
|
|
10
9
|
showMenu,
|
|
11
10
|
Columns,
|
|
@@ -42,19 +41,15 @@ function TableSettings({
|
|
|
42
41
|
onTableSettingClick,
|
|
43
42
|
deleteViewPromptText,
|
|
44
43
|
isViewNameUniqueAcrossTypes,
|
|
45
|
-
tableSettingsTitle,
|
|
44
|
+
tableSettingsTitle = "Table Settings",
|
|
46
45
|
registerTableSettingToggle,
|
|
47
|
-
numericFormatDefault
|
|
46
|
+
numericFormatDefault,
|
|
47
|
+
extraNumericFormatOptions
|
|
48
48
|
}) {
|
|
49
|
-
const { t } = useTranslation();
|
|
50
49
|
const [selectedMenuTab, setSelectedMenuTab] = useState("Columns");
|
|
51
50
|
const [numericFormat, setNumericFormat] = useState(numericFormatDefault || "full_no");
|
|
52
51
|
const showTableSettingRef = useRef(showTableSetting);
|
|
53
52
|
showTableSettingRef.current = showTableSetting;
|
|
54
|
-
const [columnsTabMounted, setColumnsTabMounted] = useState(showTableSetting);
|
|
55
|
-
useEffect(() => {
|
|
56
|
-
if (showTableSetting) setColumnsTabMounted(true);
|
|
57
|
-
}, [showTableSetting]);
|
|
58
53
|
const onFontSizeChange = useCallback(
|
|
59
54
|
(val) => {
|
|
60
55
|
setTableFontSize(val);
|
|
@@ -80,7 +75,7 @@ function TableSettings({
|
|
|
80
75
|
}, [setShowMenu, setShowTableSetting, setTableSettingOpen, onTableSettingClick]);
|
|
81
76
|
const tabPanels = useMemo(
|
|
82
77
|
() => [
|
|
83
|
-
|
|
78
|
+
/* @__PURE__ */ jsx(
|
|
84
79
|
Columns,
|
|
85
80
|
{
|
|
86
81
|
ref: actualRef,
|
|
@@ -99,14 +94,14 @@ function TableSettings({
|
|
|
99
94
|
maxSavedViews,
|
|
100
95
|
savedViewsOptions,
|
|
101
96
|
saveViewCustomFilter,
|
|
102
|
-
showMenu
|
|
103
|
-
showTableSetting
|
|
97
|
+
showMenu
|
|
104
98
|
},
|
|
105
99
|
"columns-tab"
|
|
106
|
-
)
|
|
100
|
+
),
|
|
107
101
|
!hideTableFormat && /* @__PURE__ */ jsx(
|
|
108
102
|
TableFormat,
|
|
109
103
|
{
|
|
104
|
+
extraNumericFormatOptions,
|
|
110
105
|
hideFontSize,
|
|
111
106
|
hideNumericFormat,
|
|
112
107
|
numericFormat,
|
|
@@ -124,8 +119,6 @@ function TableSettings({
|
|
|
124
119
|
].filter(Boolean),
|
|
125
120
|
[
|
|
126
121
|
Columns,
|
|
127
|
-
columnsTabMounted,
|
|
128
|
-
showTableSetting,
|
|
129
122
|
actualRef,
|
|
130
123
|
colDefs,
|
|
131
124
|
customRenderSaveViewContent,
|
|
@@ -150,6 +143,7 @@ function TableSettings({
|
|
|
150
143
|
tableFontSize,
|
|
151
144
|
onFontSizeChange,
|
|
152
145
|
onNumericFormatChange,
|
|
146
|
+
extraNumericFormatOptions,
|
|
153
147
|
hideTableActions,
|
|
154
148
|
tableActions,
|
|
155
149
|
customTabInTableSettings
|
|
@@ -158,17 +152,17 @@ function TableSettings({
|
|
|
158
152
|
const tabNames = useMemo(
|
|
159
153
|
() => [
|
|
160
154
|
{
|
|
161
|
-
label: selectedMenuTab === "Columns" ?
|
|
155
|
+
label: selectedMenuTab === "Columns" ? "Columns" : "",
|
|
162
156
|
value: "Columns",
|
|
163
157
|
icon: /* @__PURE__ */ jsx(default_1, { fontSize: "small" })
|
|
164
158
|
},
|
|
165
159
|
!hideTableFormat && {
|
|
166
|
-
label: selectedMenuTab === "Format" ?
|
|
160
|
+
label: selectedMenuTab === "Format" ? "Format" : "",
|
|
167
161
|
value: "Format",
|
|
168
162
|
icon: /* @__PURE__ */ jsx(default_1$1, { fontSize: "small" })
|
|
169
163
|
},
|
|
170
164
|
!hideTableActions && {
|
|
171
|
-
label: selectedMenuTab === "Actions" ?
|
|
165
|
+
label: selectedMenuTab === "Actions" ? "Actions" : "",
|
|
172
166
|
value: "Actions",
|
|
173
167
|
icon: /* @__PURE__ */ jsx(default_1$2, {})
|
|
174
168
|
},
|
|
@@ -180,7 +174,7 @@ function TableSettings({
|
|
|
180
174
|
};
|
|
181
175
|
}) : []
|
|
182
176
|
].filter(Boolean),
|
|
183
|
-
[selectedMenuTab, hideTableFormat, hideTableActions, customTabInTableSettings
|
|
177
|
+
[selectedMenuTab, hideTableFormat, hideTableActions, customTabInTableSettings]
|
|
184
178
|
);
|
|
185
179
|
const handleTabChange = useCallback(
|
|
186
180
|
(_event, val) => {
|
|
@@ -228,11 +222,10 @@ function TableSettings({
|
|
|
228
222
|
return /* @__PURE__ */ jsxs(
|
|
229
223
|
"div",
|
|
230
224
|
{
|
|
231
|
-
className: `table-setting-main-container
|
|
232
|
-
"data-column-settings-mode": "v36",
|
|
225
|
+
className: `table-setting-main-container ${showTableSetting ? "display-table-setting" : ""} ${showFilterStrip ? "filters-strip-visible" : ""}`,
|
|
233
226
|
children: [
|
|
234
227
|
/* @__PURE__ */ jsxs("div", { className: "table-setting-header", children: [
|
|
235
|
-
/* @__PURE__ */ jsx("
|
|
228
|
+
/* @__PURE__ */ jsx("h2", { children: tableSettingsTitle }),
|
|
236
229
|
/* @__PURE__ */ jsx(
|
|
237
230
|
"span",
|
|
238
231
|
{
|
|
@@ -269,29 +262,30 @@ const TableFormat = React__default.memo(function TableFormat2({
|
|
|
269
262
|
numericFormat,
|
|
270
263
|
onNumericFormatChange,
|
|
271
264
|
hideNumericFormat,
|
|
272
|
-
hideFontSize
|
|
265
|
+
hideFontSize,
|
|
266
|
+
extraNumericFormatOptions
|
|
273
267
|
}) {
|
|
274
|
-
const { t } = useTranslation();
|
|
275
268
|
const fontSizeOptions = useMemo(
|
|
276
269
|
() => [
|
|
277
|
-
{ label:
|
|
278
|
-
{ label:
|
|
279
|
-
{ label:
|
|
270
|
+
{ label: "Small", value: "small" },
|
|
271
|
+
{ label: "Medium (default)", value: "medium" },
|
|
272
|
+
{ label: "Large", value: "large" }
|
|
280
273
|
],
|
|
281
|
-
[
|
|
274
|
+
[]
|
|
282
275
|
);
|
|
283
276
|
const numericOptions = useMemo(
|
|
284
277
|
() => [
|
|
285
|
-
{ label:
|
|
286
|
-
{ label:
|
|
287
|
-
{ label:
|
|
288
|
-
{ label:
|
|
278
|
+
{ label: "Full Number", value: "full_no" },
|
|
279
|
+
{ label: "In K (Thousands)", value: "thou" },
|
|
280
|
+
{ label: "In M (Millions)", value: "mil" },
|
|
281
|
+
{ label: "In B (Billions)", value: "bil" },
|
|
282
|
+
...Array.isArray(extraNumericFormatOptions) ? extraNumericFormatOptions : []
|
|
289
283
|
],
|
|
290
|
-
[
|
|
284
|
+
[extraNumericFormatOptions]
|
|
291
285
|
);
|
|
292
286
|
return /* @__PURE__ */ jsxs("div", { className: "table-setting-format-settings", children: [
|
|
293
287
|
!hideFontSize && /* @__PURE__ */ jsxs("div", { className: "table-setting-font-size-setting-container", children: [
|
|
294
|
-
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children:
|
|
288
|
+
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children: "Font size" }),
|
|
295
289
|
/* @__PURE__ */ jsx(
|
|
296
290
|
RadioButtonGroup,
|
|
297
291
|
{
|
|
@@ -305,7 +299,7 @@ const TableFormat = React__default.memo(function TableFormat2({
|
|
|
305
299
|
)
|
|
306
300
|
] }),
|
|
307
301
|
!hideNumericFormat && /* @__PURE__ */ jsxs("div", { className: "table-setting-number-format-setting-container", children: [
|
|
308
|
-
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children:
|
|
302
|
+
/* @__PURE__ */ jsx("h3", { className: "custom-menu-sub-header", children: "Numeric Values" }),
|
|
309
303
|
/* @__PURE__ */ jsx(
|
|
310
304
|
RadioButtonGroup,
|
|
311
305
|
{
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GridApi } from 'ag-grid-community';
|
|
2
|
+
|
|
3
|
+
export interface ColumnTreeNode {
|
|
4
|
+
colId?: string;
|
|
5
|
+
headerName?: string;
|
|
6
|
+
isVisible?: boolean;
|
|
7
|
+
children?: ColumnTreeNode[] | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const collectVisibleLeafIds: (columns: ColumnTreeNode[]) => string[];
|
|
10
|
+
export declare const ensureColumnGroupsExpanded: (api: GridApi | null | undefined, colId: string | null | undefined) => void;
|
|
11
|
+
export interface SearchHighlightSegment {
|
|
12
|
+
text: string;
|
|
13
|
+
isMatch: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const getSearchHighlightSegments: (text: string | null | undefined, searchText: string | null | undefined) => SearchHighlightSegment[];
|
|
16
|
+
export declare const syncColumnSearchTextToGrid: (api: GridApi | null | undefined, searchText: string) => void;
|
|
17
|
+
//# sourceMappingURL=tableUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableUtils.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/tableUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,qBAAqB,GAAI,SAAS,cAAc,EAAE,KAAG,MAAM,EAgBvE,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,KAAK,OAAO,GAAG,IAAI,GAAG,SAAS,EAC/B,OAAO,MAAM,GAAG,IAAI,GAAG,SAAS,KAC/B,IAYF,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,0BAA0B,GACrC,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,YAAY,MAAM,GAAG,IAAI,GAAG,SAAS,KACpC,sBAAsB,EAoBxB,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,KAAK,OAAO,GAAG,IAAI,GAAG,SAAS,EAC/B,YAAY,MAAM,KACjB,IAOF,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const collectVisibleLeafIds = (columns) => {
|
|
2
|
+
const ids = [];
|
|
3
|
+
const walk = (cols) => {
|
|
4
|
+
(cols || []).forEach((col) => {
|
|
5
|
+
var _a;
|
|
6
|
+
if (!col || col.headerName === "N/A") return;
|
|
7
|
+
if ((_a = col.children) == null ? void 0 : _a.length) {
|
|
8
|
+
walk(col.children);
|
|
9
|
+
} else if (col.colId) {
|
|
10
|
+
ids.push(col.colId);
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
walk(columns);
|
|
15
|
+
return ids;
|
|
16
|
+
};
|
|
17
|
+
const ensureColumnGroupsExpanded = (api, colId) => {
|
|
18
|
+
if (!api || !colId) return;
|
|
19
|
+
const column = api.getColumn(colId);
|
|
20
|
+
let group = (column == null ? void 0 : column.getParent()) ?? null;
|
|
21
|
+
while (group) {
|
|
22
|
+
if (!group.isExpanded()) {
|
|
23
|
+
api.setColumnGroupOpened(group.getGroupId(), true);
|
|
24
|
+
}
|
|
25
|
+
group = group.getParent();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const getSearchHighlightSegments = (text, searchText) => {
|
|
29
|
+
const value = text ?? "";
|
|
30
|
+
if (!searchText || !value) return [{ text: value, isMatch: false }];
|
|
31
|
+
const matchIndex = value.toLowerCase().indexOf(searchText.toLowerCase());
|
|
32
|
+
if (matchIndex === -1) return [{ text: value, isMatch: false }];
|
|
33
|
+
const segments = [];
|
|
34
|
+
if (matchIndex > 0) {
|
|
35
|
+
segments.push({ text: value.slice(0, matchIndex), isMatch: false });
|
|
36
|
+
}
|
|
37
|
+
segments.push({
|
|
38
|
+
text: value.slice(matchIndex, matchIndex + searchText.length),
|
|
39
|
+
isMatch: true
|
|
40
|
+
});
|
|
41
|
+
const remainder = value.slice(matchIndex + searchText.length);
|
|
42
|
+
if (remainder) {
|
|
43
|
+
segments.push({ text: remainder, isMatch: false });
|
|
44
|
+
}
|
|
45
|
+
return segments;
|
|
46
|
+
};
|
|
47
|
+
const syncColumnSearchTextToGrid = (api, searchText) => {
|
|
48
|
+
if (!api) return;
|
|
49
|
+
const context = api.getGridOption("context");
|
|
50
|
+
if (context && typeof context === "object") {
|
|
51
|
+
context.columnSearchText = searchText || "";
|
|
52
|
+
}
|
|
53
|
+
api.refreshHeader();
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
collectVisibleLeafIds,
|
|
57
|
+
ensureColumnGroupsExpanded,
|
|
58
|
+
getSearchHighlightSegments,
|
|
59
|
+
syncColumnSearchTextToGrid
|
|
60
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True when a column's `cellRenderer` still ends up painting just the raw value, so AG Grid's
|
|
3
|
+
* truncation-based tooltip is meaningful for it. Covers both "no renderer at all" and this HOC
|
|
4
|
+
* wrapping nothing, which is what every column looks like once the comment feature is enabled.
|
|
5
|
+
*/
|
|
6
|
+
export declare const isPlainValueRenderer: (colDef: any) => any;
|
|
7
|
+
/**
|
|
8
|
+
* Returns a memoized HOC wrapper for the given renderer.
|
|
9
|
+
* Prefer this over calling `withCommentIcon` directly when building columnDefs.
|
|
10
|
+
*/
|
|
11
|
+
export declare const getCachedCommentIconWrapper: (Renderer: any) => any;
|
|
12
|
+
export declare const withCommentIcon: (Renderer: any) => any;
|
|
13
|
+
//# sourceMappingURL=withCommentIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withCommentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/withCommentIcon.tsx"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,WAAM,QACoE,CAAC;AAkJhH;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,aAAQ,QAgBnD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,aAAQ,QAA0C,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useRef, useEffect } 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 PLAIN_VALUE_CELL = "__impactPlainValueCell";
|
|
6
|
+
const isPlainValueRenderer = (colDef) => {
|
|
7
|
+
var _a;
|
|
8
|
+
return (colDef == null ? void 0 : colDef.cellRenderer) == null || (colDef == null ? void 0 : colDef.cellRenderer[PLAIN_VALUE_CELL]) === true || ((_a = colDef == null ? void 0 : colDef.extra) == null ? void 0 : _a.isPlainText);
|
|
9
|
+
};
|
|
10
|
+
const isTruncated = (element) => {
|
|
11
|
+
if (!element) return false;
|
|
12
|
+
return element.clientWidth < element.scrollWidth || element.clientHeight < element.scrollHeight;
|
|
13
|
+
};
|
|
14
|
+
const commentIconWrapperCache = /* @__PURE__ */ new WeakMap();
|
|
15
|
+
const undefinedRendererKey = { __undefinedRenderer: true };
|
|
16
|
+
const undefinedWrapperCache = /* @__PURE__ */ new Map();
|
|
17
|
+
const createCommentIconWrapper = (Renderer) => {
|
|
18
|
+
const CommentIconCell = memo((props) => {
|
|
19
|
+
var _a;
|
|
20
|
+
const iconRef = useRef(null);
|
|
21
|
+
const {
|
|
22
|
+
handleCommentIconHover,
|
|
23
|
+
handleMouseEnter,
|
|
24
|
+
handleMouseLeave,
|
|
25
|
+
popup: popupFromContext,
|
|
26
|
+
popupRef,
|
|
27
|
+
resolvedComments: resolvedCommentsFromContext,
|
|
28
|
+
resolvedCommentsRef,
|
|
29
|
+
getLatestUnresolvedThreadId,
|
|
30
|
+
configuration,
|
|
31
|
+
colIdentifierKey,
|
|
32
|
+
comments: commentsFromContext,
|
|
33
|
+
commentsRef
|
|
34
|
+
} = props.context || {};
|
|
35
|
+
const comments = (commentsRef == null ? void 0 : commentsRef.current) ?? commentsFromContext;
|
|
36
|
+
const popup = (popupRef == null ? void 0 : popupRef.current) ?? popupFromContext;
|
|
37
|
+
const resolvedComments = (resolvedCommentsRef == null ? void 0 : resolvedCommentsRef.current) ?? resolvedCommentsFromContext;
|
|
38
|
+
const rowIdentifier = colIdentifierKey ? ((_a = props.data) == null ? void 0 : _a[colIdentifierKey]) || props.node.id : props.node.id;
|
|
39
|
+
const baseCellId = `${rowIdentifier}__${props.column.getColId()}`;
|
|
40
|
+
let effectiveCellId = baseCellId;
|
|
41
|
+
if ((popup == null ? void 0 : popup.cellId) != baseCellId && !(configuration == null ? void 0 : configuration.disableMultiCommentThread)) {
|
|
42
|
+
const baseResolved = Array.isArray(resolvedComments) ? resolvedComments.includes(baseCellId) : false;
|
|
43
|
+
if (baseResolved) {
|
|
44
|
+
const latestUnresolved = getLatestUnresolvedThreadId == null ? void 0 : getLatestUnresolvedThreadId(baseCellId);
|
|
45
|
+
if (latestUnresolved) {
|
|
46
|
+
effectiveCellId = latestUnresolved;
|
|
47
|
+
} else {
|
|
48
|
+
effectiveCellId = baseCellId;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
const commentsArray = comments == null ? void 0 : comments[effectiveCellId];
|
|
53
|
+
const hasComment = commentsArray && Array.isArray(commentsArray) && commentsArray.length > 0;
|
|
54
|
+
const isPortalOpen = (popup == null ? void 0 : popup.cellId) === effectiveCellId;
|
|
55
|
+
const displayValue = props.valueFormatted !== void 0 && props.valueFormatted !== null ? props.valueFormatted : props.value;
|
|
56
|
+
const safeValue = displayValue !== null && typeof displayValue === "object" ? JSON.stringify(displayValue) : displayValue ?? "";
|
|
57
|
+
const Content = Renderer ? /* @__PURE__ */ jsx(Renderer, { ...props }) : /* @__PURE__ */ jsx(Fragment, { children: safeValue });
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
if (Renderer || typeof props.setTooltip !== "function" || safeValue === "") return;
|
|
60
|
+
props.setTooltip(String(safeValue), () => {
|
|
61
|
+
const cell = props.eParentOfValue ?? props.eGridCell;
|
|
62
|
+
if (!cell) return false;
|
|
63
|
+
const valueEl = cell.children.length === 0 ? cell : cell.querySelector(".ag-cell-value");
|
|
64
|
+
return isTruncated(valueEl ?? cell);
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
const isResolved = Array.isArray(resolvedComments) && resolvedComments.find((comment) => comment === effectiveCellId);
|
|
68
|
+
const showBorder = hasComment && isPortalOpen;
|
|
69
|
+
const showIcon = hasComment && !isResolved;
|
|
70
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
71
|
+
showBorder && /* @__PURE__ */ jsx(
|
|
72
|
+
"div",
|
|
73
|
+
{
|
|
74
|
+
style: {
|
|
75
|
+
position: "absolute",
|
|
76
|
+
top: 0,
|
|
77
|
+
left: 0,
|
|
78
|
+
right: 0,
|
|
79
|
+
bottom: 0,
|
|
80
|
+
border: "1px solid #4259ee",
|
|
81
|
+
boxSizing: "border-box",
|
|
82
|
+
pointerEvents: "none",
|
|
83
|
+
zIndex: 1
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
Content,
|
|
88
|
+
showIcon && /* @__PURE__ */ jsx(
|
|
89
|
+
"div",
|
|
90
|
+
{
|
|
91
|
+
ref: iconRef,
|
|
92
|
+
style: {
|
|
93
|
+
position: "absolute",
|
|
94
|
+
top: -18,
|
|
95
|
+
right: 0,
|
|
96
|
+
cursor: "pointer",
|
|
97
|
+
zIndex: 2
|
|
98
|
+
},
|
|
99
|
+
title: `${commentsArray.length} comment${commentsArray.length > 1 ? "s" : ""}`,
|
|
100
|
+
onMouseLeave: handleMouseLeave,
|
|
101
|
+
onMouseOver: () => {
|
|
102
|
+
handleMouseEnter == null ? void 0 : handleMouseEnter();
|
|
103
|
+
handleCommentIconHover == null ? void 0 : handleCommentIconHover(props);
|
|
104
|
+
},
|
|
105
|
+
children: /* @__PURE__ */ jsx(CommentIndicator, {})
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
] });
|
|
109
|
+
});
|
|
110
|
+
CommentIconCell.displayName = `withCommentIcon(${(Renderer == null ? void 0 : Renderer.displayName) || (Renderer == null ? void 0 : Renderer.name) || "Cell"})`;
|
|
111
|
+
CommentIconCell[PLAIN_VALUE_CELL] = !Renderer;
|
|
112
|
+
return CommentIconCell;
|
|
113
|
+
};
|
|
114
|
+
const getCachedCommentIconWrapper = (Renderer) => {
|
|
115
|
+
if (Renderer == null) {
|
|
116
|
+
if (!undefinedWrapperCache.has(undefinedRendererKey)) {
|
|
117
|
+
undefinedWrapperCache.set(undefinedRendererKey, createCommentIconWrapper(void 0));
|
|
118
|
+
}
|
|
119
|
+
return undefinedWrapperCache.get(undefinedRendererKey);
|
|
120
|
+
}
|
|
121
|
+
if (typeof Renderer !== "function") {
|
|
122
|
+
return Renderer;
|
|
123
|
+
}
|
|
124
|
+
let cached = commentIconWrapperCache.get(Renderer);
|
|
125
|
+
if (!cached) {
|
|
126
|
+
cached = createCommentIconWrapper(Renderer);
|
|
127
|
+
commentIconWrapperCache.set(Renderer, cached);
|
|
128
|
+
}
|
|
129
|
+
return cached;
|
|
130
|
+
};
|
|
131
|
+
export {
|
|
132
|
+
getCachedCommentIconWrapper,
|
|
133
|
+
isPlainValueRenderer
|
|
134
|
+
};
|
|
@@ -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)}}.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
|
|
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,.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.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.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.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
|
|
|
@@ -99,8 +99,7 @@ export { TextArea } from './TextArea';
|
|
|
99
99
|
export type { TextAreaProps } from './TextArea/TextArea.types';
|
|
100
100
|
export { Toast } from './Toast';
|
|
101
101
|
export type { ToastProps, ToastPosition, ToastVariant } from './Toast/Toast.types';
|
|
102
|
-
export {
|
|
103
|
-
export { OldTable } from './TableOld';
|
|
102
|
+
export { TableV36 } from './TableV36';
|
|
104
103
|
export { default as CommentsPanel, CommentsProvider, useComments, CommentsContext, } from './CommentsPanel';
|
|
105
104
|
export type { CommentProps, CommentsPanelProps, CommentsProviderProps, } from './CommentsPanel/CommentsPanel.types';
|
|
106
105
|
export { Select } from './Select';
|
|
@@ -110,6 +109,8 @@ export type { MonthPickerProps, YearOption } from './MonthPicker/MonthPicker.typ
|
|
|
110
109
|
export { MonthRangePicker } from './MonthRangePicker';
|
|
111
110
|
export type { MonthRangePickerProps } from './MonthRangePicker/MonthRangePicker.types';
|
|
112
111
|
export { useShortcut, useShortcutScope, ShortcutScope, ShortcutHint, ShortcutsProvider, ShortcutsConfigContext, ShortcutManager, formatShortcutDisplay, parseShortcutString, normalizeKey, normalizeShortcutString, isMac, } from './Shortcuts';
|
|
112
|
+
export { OnboardingTour } from './OnboardingTour';
|
|
113
|
+
export type { OnboardingTourProps, OnboardingTourTooltipProps, OnboardingTourProductTourProps, TooltipCardSlide, TooltipCardArrowPosition, ProductTourStep, ProductTourListProps, } from './OnboardingTour';
|
|
113
114
|
export { KeyboardShortcuts, ShortcutModal } from './KeyboardShortCuts';
|
|
114
115
|
export { I18nProvider, I18nContext, useI18n, useTranslation, buildMessages, translate, ourDictionaries, enUS, BASE_LOCALE, AGLocaleMap, LOCALE_REGISTRY, } from '../i18n';
|
|
115
116
|
export type { I18nProviderProps, LocaleRegistryEntry, Locale, Messages, TranslateVars, TFunction, LoadMessages, I18nContextValue, } from '../i18n';
|
|
@@ -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,S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AAE,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,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,mBAAmB,EACnB,0BAA0B,EAC1B,8BAA8B,EAC9B,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EACf,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAC1B,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
|
@@ -49,12 +49,12 @@ import { Portal } from "./Portal/index.js";
|
|
|
49
49
|
import { RadioButtonGroup } from "./RadioButtonGroup/index.js";
|
|
50
50
|
import { TextArea } from "./TextArea/index.js";
|
|
51
51
|
import { Toast } from "./Toast/index.js";
|
|
52
|
-
import {
|
|
53
|
-
import { OldTable } from "./TableOld/index.js";
|
|
52
|
+
import { TableV36 } from "./TableV36/index.js";
|
|
54
53
|
import { default as default2 } from "./CommentsPanel/index.js";
|
|
55
54
|
import { Select } from "./Select/index.js";
|
|
56
55
|
import { MonthPicker } from "./MonthPicker/index.js";
|
|
57
56
|
import { MonthRangePicker } from "./MonthRangePicker/index.js";
|
|
57
|
+
import { OnboardingTour } from "./OnboardingTour/index.js";
|
|
58
58
|
import { KeyboardShortcuts } from "./KeyboardShortCuts/index.js";
|
|
59
59
|
import { AGLocaleMap, BASE_LOCALE, LOCALE_REGISTRY, ourDictionaries } from "../locales/index.js";
|
|
60
60
|
import { AppliedFilters } from "./FiltersStrip/AppliedFilters.js";
|
|
@@ -132,7 +132,7 @@ export {
|
|
|
132
132
|
NewCreateItemFlow,
|
|
133
133
|
NewDynamicLayout,
|
|
134
134
|
Notification,
|
|
135
|
-
|
|
135
|
+
OnboardingTour,
|
|
136
136
|
Panel,
|
|
137
137
|
PanelFooter,
|
|
138
138
|
PanelSidebar,
|
|
@@ -154,7 +154,7 @@ export {
|
|
|
154
154
|
Slider,
|
|
155
155
|
Stepper,
|
|
156
156
|
Switch,
|
|
157
|
-
|
|
157
|
+
TableV36,
|
|
158
158
|
Tabs,
|
|
159
159
|
Tag,
|
|
160
160
|
TagGroup,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Column visibility helpers for Table Settings
|
|
3
|
-
*
|
|
4
|
-
* - v31+: gridApi.setColumnVisible
|
|
5
|
-
* - v33+: gridApi.setColumnsVisible (batch)
|
|
2
|
+
* Column visibility helpers for Table Settings (AG Grid v36).
|
|
3
|
+
* Prefers `setColumnsVisible` / `setColumnVisible`, with `applyColumnState` fallback.
|
|
6
4
|
*/
|
|
7
5
|
type GridRefLike = {
|
|
8
6
|
current?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agGridColumnSettingsApi.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/tableColumnSettings/agGridColumnSettingsApi.ts"],"names":[],"mappings":"AACA
|
|
1
|
+
{"version":3,"file":"agGridColumnSettingsApi.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/tableColumnSettings/agGridColumnSettingsApi.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,OAAO,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,CAAC;AAE3F,wBAAgB,qBAAqB,CAAC,OAAO,KAAA,EAAE,OAAO,CAAC,EAAE,WAAW,OAUnE;AAkBD,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,OAAO,KAAA,EAAE,aAAa,KAAA,EAAE,OAAO,CAAC,EAAE,WAAW,QAsBrF"}
|