impact-ui 4.0.2-alpha.3 → 4.0.2
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/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.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/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -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/index.d.ts +1 -4
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +3 -15
- 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/CreateItemFlow/CreateItemFlow.types.d.ts +10 -4
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.d.ts +3 -15
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +132 -52
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/DynamicLayout/index.d.ts +9 -12
- package/dist/components/DynamicLayout/index.d.ts.map +1 -1
- package/dist/components/DynamicLayout/index.js +37 -29
- 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 +2 -4
- 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/Select.types.d.ts +2 -2
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/dropdown.js +1 -9
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +4 -3
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +17 -20
- 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 +13 -33
- 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 +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -3
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/is-symbol/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/styles/style.css +1 -1
- package/dist/utils/helper.d.ts +0 -1
- package/dist/utils/helper.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts +0 -23
- package/dist/components/Chart/ChartSkeleton.d.ts.map +0 -1
- package/dist/components/Chart/ChartSkeleton.js +0 -171
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -39
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -13
- package/dist/components/Skeleton/index.d.ts.map +0 -1
- package/dist/components/Skeleton/index.js +0 -94
|
@@ -8,7 +8,6 @@ import { getAssetUrl } from "../../utils/assetBase.js";
|
|
|
8
8
|
import { debounce } from "../../utils/debounce.js";
|
|
9
9
|
import { DatePicker } from "../DatePicker/index.js";
|
|
10
10
|
import { Input } from "../Input/index.js";
|
|
11
|
-
import { handleNumericKeyDown, isNumericValueColumn, isPartialNumericInput, handleNumericPaste } from "../Table/filterUtils.js";
|
|
12
11
|
import { Tooltip } from "../Tooltip/index.js";
|
|
13
12
|
import { useTranslation } from "../../i18n/useTranslation.js";
|
|
14
13
|
import Badge from "../../node_modules/@mui/material/Badge/Badge.js";
|
|
@@ -25,7 +24,7 @@ function AgGridHeader({
|
|
|
25
24
|
enableHeaderTextWrap = true,
|
|
26
25
|
...rest
|
|
27
26
|
}) {
|
|
28
|
-
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;
|
|
29
28
|
const { t } = useTranslation();
|
|
30
29
|
const menuRef = useRef();
|
|
31
30
|
useRef();
|
|
@@ -342,23 +341,9 @@ function AgGridHeader({
|
|
|
342
341
|
/* @__PURE__ */ jsx(
|
|
343
342
|
Input,
|
|
344
343
|
{
|
|
345
|
-
inputProps: {
|
|
346
|
-
...isNumericValueColumn((_v = rest.column) == null ? void 0 : _v.colDef) ? {
|
|
347
|
-
inputMode: "decimal",
|
|
348
|
-
onKeyDown: handleNumericKeyDown,
|
|
349
|
-
onPaste: (e) => {
|
|
350
|
-
handleNumericPaste(e, (val) => {
|
|
351
|
-
setSearchText(val);
|
|
352
|
-
setHasActiveSearch(!!val);
|
|
353
|
-
debouncedHandleSearchChange(val);
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
} : {},
|
|
357
|
-
...((_x = (_w = rest.column) == null ? void 0 : _w.colDef) == null ? void 0 : _x.inputProps) ?? {}
|
|
358
|
-
},
|
|
359
344
|
placeholder: t("common.search"),
|
|
360
345
|
rightIcon: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
361
|
-
|
|
346
|
+
searchText.toString().length > 0 && (columnWidth[(_v = rest.column) == null ? void 0 : _v.colId] ?? ((_w = rest.column) == null ? void 0 : _w.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
|
|
362
347
|
default_1$1,
|
|
363
348
|
{
|
|
364
349
|
onClick: () => {
|
|
@@ -369,7 +354,7 @@ function AgGridHeader({
|
|
|
369
354
|
}
|
|
370
355
|
}
|
|
371
356
|
),
|
|
372
|
-
((
|
|
357
|
+
((_y = (_x = rest.column) == null ? void 0 : _x.colDef) == null ? void 0 : _y.advanceSearchEnabled) && /* @__PURE__ */ jsx(
|
|
373
358
|
default_1,
|
|
374
359
|
{
|
|
375
360
|
onClick: () => {
|
|
@@ -387,14 +372,9 @@ function AgGridHeader({
|
|
|
387
372
|
setIsInputFocused(false);
|
|
388
373
|
},
|
|
389
374
|
onChange: (e) => {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
395
|
-
setSearchText(nextValue);
|
|
396
|
-
setHasActiveSearch(!!nextValue);
|
|
397
|
-
debouncedHandleSearchChange(nextValue);
|
|
375
|
+
setSearchText(e.target.value);
|
|
376
|
+
setHasActiveSearch(!!e.target.value);
|
|
377
|
+
debouncedHandleSearchChange(e.target.value);
|
|
398
378
|
},
|
|
399
379
|
onFocus: () => {
|
|
400
380
|
setIsInputFocused(true);
|
|
@@ -418,9 +398,9 @@ function AgGridHeader({
|
|
|
418
398
|
/* @__PURE__ */ jsxs(
|
|
419
399
|
"div",
|
|
420
400
|
{
|
|
421
|
-
className: `ag-header-cell-text ${((
|
|
401
|
+
className: `ag-header-cell-text ${((_A = (_z = rest.column) == null ? void 0 : _z.colDef) == null ? void 0 : _A.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
|
|
422
402
|
children: [
|
|
423
|
-
((
|
|
403
|
+
((_C = (_B = rest.column) == null ? void 0 : _B.colDef) == null ? void 0 : _C.field) === "Selection" || ((_E = (_D = rest.column) == null ? void 0 : _D.colDef) == null ? void 0 : _E.checkboxSelection) ? children : /* @__PURE__ */ jsx(
|
|
424
404
|
"div",
|
|
425
405
|
{
|
|
426
406
|
ref: headerTextRef,
|
|
@@ -443,8 +423,8 @@ function AgGridHeader({
|
|
|
443
423
|
)
|
|
444
424
|
}
|
|
445
425
|
),
|
|
446
|
-
(
|
|
447
|
-
((
|
|
426
|
+
(_G = (_F = rest.column) == null ? void 0 : _F.colDef) == null ? void 0 : _G.headerIcons,
|
|
427
|
+
((_I = (_H = rest.column) == null ? void 0 : _H.colDef) == null ? void 0 : _I.sortable) && /* @__PURE__ */ jsx(
|
|
448
428
|
"img",
|
|
449
429
|
{
|
|
450
430
|
alt: "TableSortIcon",
|
|
@@ -461,10 +441,10 @@ function AgGridHeader({
|
|
|
461
441
|
{
|
|
462
442
|
className: `ia-icon-div ${hasActiveSearch ? "has-active-search" : ""} ${menuVisible ? "menu-visible" : ""}`,
|
|
463
443
|
children: [
|
|
464
|
-
(
|
|
444
|
+
(_L = (_K = (_J = rest.column) == null ? void 0 : _J.colDef) == null ? void 0 : _K.customHeaderIcons) == null ? void 0 : _L.map((icon) => {
|
|
465
445
|
return icon;
|
|
466
446
|
}),
|
|
467
|
-
((
|
|
447
|
+
((_N = (_M = rest.column) == null ? void 0 : _M.colDef) == null ? void 0 : _N.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
|
|
468
448
|
default_1$2,
|
|
469
449
|
{
|
|
470
450
|
fontSize: "small",
|
|
@@ -488,7 +468,7 @@ function AgGridHeader({
|
|
|
488
468
|
} : handleSearch
|
|
489
469
|
}
|
|
490
470
|
) }),
|
|
491
|
-
!((
|
|
471
|
+
!((_P = (_O = rest.column) == null ? void 0 : _O.colDef) == null ? void 0 : _P.suppressMenu) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
|
|
492
472
|
"button",
|
|
493
473
|
{
|
|
494
474
|
ref: menuRef,
|