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.
Files changed (108) hide show
  1. package/dist/_virtual/index13.js +2 -2
  2. package/dist/_virtual/index14.js +2 -2
  3. package/dist/_virtual/index15.js +2 -2
  4. package/dist/_virtual/index16.js +2 -2
  5. package/dist/_virtual/index2.js +2 -2
  6. package/dist/_virtual/index3.js +2 -4
  7. package/dist/_virtual/index4.js +3 -3
  8. package/dist/_virtual/index5.js +4 -2
  9. package/dist/components/AccordionModern/index.js +1 -1
  10. package/dist/components/Badge/index.js +1 -1
  11. package/dist/components/Breadcrumbs/index.js +1 -1
  12. package/dist/components/Button/index.js +1 -1
  13. package/dist/components/ButtonGroup/index.js +1 -1
  14. package/dist/components/Chart/index.d.ts +1 -4
  15. package/dist/components/Chart/index.d.ts.map +1 -1
  16. package/dist/components/Chart/index.js +3 -15
  17. package/dist/components/Chatbot/index.js +1 -1
  18. package/dist/components/Chips/index.js +1 -1
  19. package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
  20. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +10 -4
  21. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
  22. package/dist/components/CreateItemFlow/index.d.ts +3 -15
  23. package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
  24. package/dist/components/CreateItemFlow/index.js +132 -52
  25. package/dist/components/DatePicker/index.js +1 -1
  26. package/dist/components/DateRangePicker/index.js +1 -1
  27. package/dist/components/DynamicLayout/index.d.ts +9 -12
  28. package/dist/components/DynamicLayout/index.d.ts.map +1 -1
  29. package/dist/components/DynamicLayout/index.js +37 -29
  30. package/dist/components/FileUpload/index.js +1 -1
  31. package/dist/components/FilterPanel/index.js +1 -1
  32. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  33. package/dist/components/FiltersStrip/index.js +1 -1
  34. package/dist/components/Input/index.js +1 -1
  35. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  36. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  37. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  38. package/dist/components/KeyboardShortCuts/index.js +1 -1
  39. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  40. package/dist/components/Loader/Loader.types.d.ts +3 -3
  41. package/dist/components/Loader/Loader.types.d.ts.map +1 -1
  42. package/dist/components/Loader/index.d.ts.map +1 -1
  43. package/dist/components/Loader/index.js +2 -4
  44. package/dist/components/Menu/IconMenuItem.js +1 -1
  45. package/dist/components/Menu/NestedMenuItem.js +1 -1
  46. package/dist/components/Menu/index.js +1 -1
  47. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  48. package/dist/components/Modal/index.js +1 -1
  49. package/dist/components/MonthPicker/index.js +1 -1
  50. package/dist/components/MonthRangePicker/index.js +1 -1
  51. package/dist/components/Panel/index.js +1 -1
  52. package/dist/components/Popover/index.js +1 -1
  53. package/dist/components/Prompt/index.js +1 -1
  54. package/dist/components/Select/Select.types.d.ts +2 -2
  55. package/dist/components/Select/Select.types.d.ts.map +1 -1
  56. package/dist/components/Select/dropdown.d.ts.map +1 -1
  57. package/dist/components/Select/dropdown.js +1 -9
  58. package/dist/components/Select/index.d.ts.map +1 -1
  59. package/dist/components/Select/index.js +4 -3
  60. package/dist/components/Stepper/index.js +1 -1
  61. package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
  62. package/dist/components/Table/AgGridHeader.js +17 -20
  63. package/dist/components/Table/index.js +1 -1
  64. package/dist/components/TableChat/EmptyContainer.js +1 -1
  65. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  66. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  67. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  68. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
  69. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  70. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  71. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
  72. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
  73. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  74. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  75. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
  76. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  77. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  78. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  79. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
  80. package/dist/components/TableOld/AgGridHeader.js +13 -33
  81. package/dist/components/TableOld/index.js +1 -1
  82. package/dist/components/Tag/index.js +1 -1
  83. package/dist/components/TextArea/index.js +1 -1
  84. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  85. package/dist/components/common/MentionEditor/index.js +1 -1
  86. package/dist/components/index.d.ts +0 -2
  87. package/dist/components/index.d.ts.map +1 -1
  88. package/dist/components/index.js +0 -3
  89. package/dist/mcp-component-registry.json +1 -1
  90. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  91. package/dist/node_modules/call-bind/index.js +1 -1
  92. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  93. package/dist/node_modules/is-symbol/index.js +1 -1
  94. package/dist/node_modules/prop-types/index.js +1 -1
  95. package/dist/node_modules/react-is/index.js +1 -1
  96. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  97. package/dist/styles/style.css +1 -1
  98. package/dist/utils/helper.d.ts +0 -1
  99. package/dist/utils/helper.d.ts.map +1 -1
  100. package/package.json +1 -1
  101. package/dist/components/Chart/ChartSkeleton.d.ts +0 -23
  102. package/dist/components/Chart/ChartSkeleton.d.ts.map +0 -1
  103. package/dist/components/Chart/ChartSkeleton.js +0 -171
  104. package/dist/components/Skeleton/Skeleton.types.d.ts +0 -39
  105. package/dist/components/Skeleton/Skeleton.types.d.ts.map +0 -1
  106. package/dist/components/Skeleton/index.d.ts +0 -13
  107. package/dist/components/Skeleton/index.d.ts.map +0 -1
  108. 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, _Q, _R, _S;
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
- (searchText ?? "").toString().length > 0 && (columnWidth[(_y = rest.column) == null ? void 0 : _y.colId] ?? ((_z = rest.column) == null ? void 0 : _z.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
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
- ((_B = (_A = rest.column) == null ? void 0 : _A.colDef) == null ? void 0 : _B.advanceSearchEnabled) && /* @__PURE__ */ jsx(
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
- var _a2;
391
- const nextValue = e.target.value;
392
- if (isNumericValueColumn((_a2 = rest.column) == null ? void 0 : _a2.colDef) && !isPartialNumericInput(nextValue)) {
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 ${((_D = (_C = rest.column) == null ? void 0 : _C.colDef) == null ? void 0 : _D.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
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
- ((_F = (_E = rest.column) == null ? void 0 : _E.colDef) == null ? void 0 : _F.field) === "Selection" || ((_H = (_G = rest.column) == null ? void 0 : _G.colDef) == null ? void 0 : _H.checkboxSelection) ? children : /* @__PURE__ */ jsx(
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
- (_J = (_I = rest.column) == null ? void 0 : _I.colDef) == null ? void 0 : _J.headerIcons,
447
- ((_L = (_K = rest.column) == null ? void 0 : _K.colDef) == null ? void 0 : _L.sortable) && /* @__PURE__ */ jsx(
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
- (_O = (_N = (_M = rest.column) == null ? void 0 : _M.colDef) == null ? void 0 : _N.customHeaderIcons) == null ? void 0 : _O.map((icon) => {
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
- ((_Q = (_P = rest.column) == null ? void 0 : _P.colDef) == null ? void 0 : _Q.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
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
- !((_S = (_R = rest.column) == null ? void 0 : _R.colDef) == null ? void 0 : _S.suppressMenu) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
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,