impact-ui 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +4 -2
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +2 -4
- package/dist/components/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/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 +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- 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 +1 -1
|
@@ -24,7 +24,7 @@ function AgGridHeader({
|
|
|
24
24
|
enableHeaderTextWrap = true,
|
|
25
25
|
...rest
|
|
26
26
|
}) {
|
|
27
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P;
|
|
27
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R;
|
|
28
28
|
const { t } = useTranslation();
|
|
29
29
|
const menuRef = useRef();
|
|
30
30
|
useRef();
|
|
@@ -341,9 +341,10 @@ function AgGridHeader({
|
|
|
341
341
|
/* @__PURE__ */ jsx(
|
|
342
342
|
Input,
|
|
343
343
|
{
|
|
344
|
+
inputProps: ((_w = (_v = rest.column) == null ? void 0 : _v.colDef) == null ? void 0 : _w.inputProps) ?? {},
|
|
344
345
|
placeholder: t("common.search"),
|
|
345
346
|
rightIcon: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
346
|
-
searchText.toString().length > 0 && (columnWidth[(
|
|
347
|
+
(searchText ?? "").toString().length > 0 && (columnWidth[(_x = rest.column) == null ? void 0 : _x.colId] ?? ((_y = rest.column) == null ? void 0 : _y.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
|
|
347
348
|
default_1$1,
|
|
348
349
|
{
|
|
349
350
|
onClick: () => {
|
|
@@ -354,7 +355,7 @@ function AgGridHeader({
|
|
|
354
355
|
}
|
|
355
356
|
}
|
|
356
357
|
),
|
|
357
|
-
((
|
|
358
|
+
((_A = (_z = rest.column) == null ? void 0 : _z.colDef) == null ? void 0 : _A.advanceSearchEnabled) && /* @__PURE__ */ jsx(
|
|
358
359
|
default_1,
|
|
359
360
|
{
|
|
360
361
|
onClick: () => {
|
|
@@ -372,9 +373,10 @@ function AgGridHeader({
|
|
|
372
373
|
setIsInputFocused(false);
|
|
373
374
|
},
|
|
374
375
|
onChange: (e) => {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
const nextValue = e.target.value;
|
|
377
|
+
setSearchText(nextValue);
|
|
378
|
+
setHasActiveSearch(!!nextValue);
|
|
379
|
+
debouncedHandleSearchChange(nextValue);
|
|
378
380
|
},
|
|
379
381
|
onFocus: () => {
|
|
380
382
|
setIsInputFocused(true);
|
|
@@ -398,9 +400,9 @@ function AgGridHeader({
|
|
|
398
400
|
/* @__PURE__ */ jsxs(
|
|
399
401
|
"div",
|
|
400
402
|
{
|
|
401
|
-
className: `ag-header-cell-text ${((
|
|
403
|
+
className: `ag-header-cell-text ${((_C = (_B = rest.column) == null ? void 0 : _B.colDef) == null ? void 0 : _C.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
|
|
402
404
|
children: [
|
|
403
|
-
((
|
|
405
|
+
((_E = (_D = rest.column) == null ? void 0 : _D.colDef) == null ? void 0 : _E.field) === "Selection" || ((_G = (_F = rest.column) == null ? void 0 : _F.colDef) == null ? void 0 : _G.checkboxSelection) ? children : /* @__PURE__ */ jsx(
|
|
404
406
|
"div",
|
|
405
407
|
{
|
|
406
408
|
ref: headerTextRef,
|
|
@@ -423,8 +425,8 @@ function AgGridHeader({
|
|
|
423
425
|
)
|
|
424
426
|
}
|
|
425
427
|
),
|
|
426
|
-
(
|
|
427
|
-
((
|
|
428
|
+
(_I = (_H = rest.column) == null ? void 0 : _H.colDef) == null ? void 0 : _I.headerIcons,
|
|
429
|
+
((_K = (_J = rest.column) == null ? void 0 : _J.colDef) == null ? void 0 : _K.sortable) && /* @__PURE__ */ jsx(
|
|
428
430
|
"img",
|
|
429
431
|
{
|
|
430
432
|
alt: "TableSortIcon",
|
|
@@ -441,10 +443,10 @@ function AgGridHeader({
|
|
|
441
443
|
{
|
|
442
444
|
className: `ia-icon-div ${hasActiveSearch ? "has-active-search" : ""} ${menuVisible ? "menu-visible" : ""}`,
|
|
443
445
|
children: [
|
|
444
|
-
(
|
|
446
|
+
(_N = (_M = (_L = rest.column) == null ? void 0 : _L.colDef) == null ? void 0 : _M.customHeaderIcons) == null ? void 0 : _N.map((icon) => {
|
|
445
447
|
return icon;
|
|
446
448
|
}),
|
|
447
|
-
((
|
|
449
|
+
((_P = (_O = rest.column) == null ? void 0 : _O.colDef) == null ? void 0 : _P.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
|
|
448
450
|
default_1$2,
|
|
449
451
|
{
|
|
450
452
|
fontSize: "small",
|
|
@@ -468,7 +470,7 @@ function AgGridHeader({
|
|
|
468
470
|
} : handleSearch
|
|
469
471
|
}
|
|
470
472
|
) }),
|
|
471
|
-
!((
|
|
473
|
+
!((_R = (_Q = rest.column) == null ? void 0 : _Q.colDef) == null ? void 0 : _R.suppressMenu) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
|
|
472
474
|
"button",
|
|
473
475
|
{
|
|
474
476
|
ref: menuRef,
|