@owp/core 2.5.28 → 2.5.29

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 (126) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index16.js +4 -4
  6. package/dist/_virtual/index17.js +4 -4
  7. package/dist/_virtual/index18.js +4 -4
  8. package/dist/_virtual/index19.js +4 -4
  9. package/dist/components/OwpTable/OwpFieldTable.js +1 -1
  10. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +1 -1
  12. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  13. package/dist/index.js +54 -56
  14. package/dist/index.js.map +1 -1
  15. package/dist/layout/components/menus/PasswordChangeMenu.js +5 -5
  16. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  17. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/VisibilityOff.js.map +1 -1
  18. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  19. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  20. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  21. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  22. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  23. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  24. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  25. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  30. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  31. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  32. package/dist/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
  33. package/dist/owp-app.css +1 -1
  34. package/dist/types/index.d.ts +0 -1
  35. package/dist/utils/treeGridUtil.js +42 -42
  36. package/dist/utils/treeGridUtil.js.map +1 -1
  37. package/package.json +1 -2
  38. package/dist/components/OwpMrtTable/OwpMrtTable.js +0 -717
  39. package/dist/components/OwpMrtTable/OwpMrtTable.js.map +0 -1
  40. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js +0 -54
  41. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js.map +0 -1
  42. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js +0 -102
  43. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js.map +0 -1
  44. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.js +0 -7
  45. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.js.map +0 -1
  46. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowDownward.js +0 -9
  47. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowDownward.js.map +0 -1
  48. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowDropDownRounded.js +0 -9
  49. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowDropDownRounded.js.map +0 -1
  50. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowRight.js +0 -9
  51. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowRight.js.map +0 -1
  52. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Cancel.js +0 -9
  53. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Cancel.js.map +0 -1
  54. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ClearAll.js +0 -9
  55. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ClearAll.js.map +0 -1
  56. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ContentCopy.js +0 -9
  57. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ContentCopy.js.map +0 -1
  58. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensityLarge.js +0 -9
  59. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensityLarge.js.map +0 -1
  60. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensityMedium.js +0 -9
  61. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensityMedium.js.map +0 -1
  62. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensitySmall.js +0 -9
  63. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DensitySmall.js.map +0 -1
  64. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DragHandle.js +0 -9
  65. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DragHandle.js.map +0 -1
  66. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DynamicFeed.js +0 -11
  67. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/DynamicFeed.js.map +0 -1
  68. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Edit.js +0 -9
  69. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Edit.js.map +0 -1
  70. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ExpandMore.js +0 -9
  71. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ExpandMore.js.map +0 -1
  72. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterAlt.js +0 -9
  73. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterAlt.js.map +0 -1
  74. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterList.js +0 -9
  75. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterList.js.map +0 -1
  76. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterListOff.js +0 -9
  77. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FilterListOff.js.map +0 -1
  78. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FirstPage.js +0 -9
  79. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FirstPage.js.map +0 -1
  80. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Fullscreen.js +0 -9
  81. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Fullscreen.js.map +0 -1
  82. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FullscreenExit.js +0 -9
  83. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/FullscreenExit.js.map +0 -1
  84. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/KeyboardDoubleArrowDown.js +0 -11
  85. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/KeyboardDoubleArrowDown.js.map +0 -1
  86. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/LastPage.js +0 -9
  87. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/LastPage.js.map +0 -1
  88. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/MoreHoriz.js +0 -9
  89. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/MoreHoriz.js.map +0 -1
  90. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PushPin.js +0 -10
  91. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/PushPin.js.map +0 -1
  92. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Save.js +0 -9
  93. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Save.js.map +0 -1
  94. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SearchOff.js +0 -11
  95. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SearchOff.js.map +0 -1
  96. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Sort.js +0 -9
  97. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/Sort.js.map +0 -1
  98. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SyncAlt.js +0 -9
  99. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/SyncAlt.js.map +0 -1
  100. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/UnfoldMoreRounded.js +0 -9
  101. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/UnfoldMoreRounded.js.map +0 -1
  102. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ViewColumn.js +0 -9
  103. package/dist/node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ViewColumn.js.map +0 -1
  104. package/dist/node_modules/.pnpm/@tanstack_match-sorter-utils@8.19.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.js +0 -554
  105. package/dist/node_modules/.pnpm/@tanstack_match-sorter-utils@8.19.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.js.map +0 -1
  106. package/dist/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-table/build/lib/index.js +0 -95
  107. package/dist/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-table/build/lib/index.js.map +0 -1
  108. package/dist/node_modules/.pnpm/@tanstack_react-virtual@3.11.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-virtual/dist/esm/index.js +0 -40
  109. package/dist/node_modules/.pnpm/@tanstack_react-virtual@3.11.2_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@tanstack/react-virtual/dist/esm/index.js.map +0 -1
  110. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js +0 -2055
  111. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
  112. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -454
  113. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +0 -1
  114. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -54
  115. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +0 -1
  116. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js +0 -92
  117. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js.map +0 -1
  118. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js +0 -2440
  119. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js.map +0 -1
  120. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/locales/ko/index.esm.js +0 -98
  121. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/locales/ko/index.esm.js.map +0 -1
  122. package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +0 -25
  123. package/dist/types/components/OwpMrtTable/index.d.ts +0 -1
  124. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.d.ts +0 -14
  125. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.d.ts +0 -6
  126. package/dist/types/components/OwpMrtTable/utils/parseFromValuesOrFunc.d.ts +0 -11
@@ -1,717 +0,0 @@
1
- var Bo = Object.defineProperty;
2
- var e = (o, t) => Bo(o, "name", { value: t, configurable: !0 });
3
- import { jsx as s, jsxs as E, Fragment as H } from "../../node_modules/.pnpm/@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
4
- import ko from "../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/ArrowDropDownRounded.js";
5
- import Ho from "../../node_modules/.pnpm/@mui_icons-material@7.3.9_@mui_material@7.3.9_@emotion_react@11.14.0_@types_react@19.2._dc2be6bc014bebdac88a574e3e02c144/node_modules/@mui/icons-material/esm/UnfoldMoreRounded.js";
6
- import Io from "@mui/material/GlobalStyles";
7
- import { resolveOwpGridTheme as Lo } from "../../constants/gridTheme.js";
8
- import { DEFAULT_TABLE_RADIUS as zo } from "../../constants/table.js";
9
- import { getTreeGridFontFaceStyles as Fo } from "../../constants/treeGrid.js";
10
- import { useGetCurrentLanguage as Co } from "../../hooks/internal/useCurrentLanguage.js";
11
- import { useGetCurrentSettings as Oo } from "../../hooks/useOwpSettings.js";
12
- import { useOwpTranslation as Ao } from "../../hooks/useOwpTranslation.js";
13
- import { clsx as Do } from "../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
14
- import { MaterialReactTable as V, useMaterialReactTable as Go, MRT_BottomToolbar as yo } from "../../node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js";
15
- import { MRT_Localization_KO as $o } from "../../node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/locales/ko/index.esm.js";
16
- import { useMemo as W } from "react";
17
- import { getTreeGridSelectedCellBackgroundColor as U, TREEGRID_TABLE_BODY_BORDER_COLOR as b, getTreeGridHeaderCellSx as Eo, getTreeGridContainerSx as L, getTreeGridBodyRowSx as Wo, getTreeGridBodyCellSx as No, getTreeGridTypographySx as _o } from "../OwpTable/internal/treeGridTableStyle.js";
18
- import { OwpTableTotalCount as jo } from "../OwpTable/internal/OwpTableTotalCount.js";
19
- import { getTableHelperTextContentSx as Vo, toTableRadiusCssValue as Uo } from "../OwpTable/utils/tableSx.js";
20
- import { OwpMrtTableNoDataOverlay as So } from "./internal/OwpMrtTableNoDataOverlay.js";
21
- import Ko from "./internal/OwpMrtTableTopToolbar.js";
22
- import { isArray as M } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isArray.js";
23
- import { defaults as N } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/defaults.js";
24
- import { isNumber as qo } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isNumber.js";
25
- import { OwpSvgIcon as c } from "../OwpSvgIcon/OwpSvgIcon.js";
26
- const Yo = "#cbd5e1", Xo = /* @__PURE__ */ e((o, t) => ({
27
- ..._o(
28
- (t == null ? void 0 : t.fontSize) ?? o.header.fontSize,
29
- (t == null ? void 0 : t.fontWeight) ?? o.header.fontWeight
30
- ),
31
- color: (t == null ? void 0 : t.color) ?? o.header.color
32
- }), "getResolvedTreeGridHeaderTextSx"), Jo = /* @__PURE__ */ e((o) => ({
33
- color: o == null ? void 0 : o.color,
34
- fontSize: o == null ? void 0 : o.fontSize,
35
- fontWeight: o == null ? void 0 : o.fontWeight
36
- }), "getHeaderCellTextStyleSx"), S = /* @__PURE__ */ e((o) => o != null && o.height ? {
37
- height: o.height,
38
- minHeight: o.height
39
- } : void 0, "getHeaderCellHeightStyleSx"), z = /* @__PURE__ */ e((o) => o != null && o.backgroundColor ? `${o.backgroundColor} !important` : void 0, "getHeaderCellBackgroundColor"), K = /* @__PURE__ */ e((o) => {
40
- const t = z(o), r = Jo(o), a = S(o), d = o != null && o.height ? "100%" : void 0;
41
- return {
42
- ...r,
43
- ...a,
44
- backgroundColor: t,
45
- "& .Mui-TableHeadCell-Content": {
46
- ...r,
47
- ...a,
48
- alignItems: "center",
49
- backgroundColor: t,
50
- display: "flex"
51
- },
52
- "& .Mui-TableHeadCell-Content-Labels": {
53
- alignItems: "center",
54
- backgroundColor: t,
55
- display: "flex",
56
- height: o != null && o.height ? "100%" : void 0
57
- },
58
- "& .Mui-TableHeadCell-Content-Wrapper": {
59
- ...r,
60
- alignItems: "center",
61
- backgroundColor: t,
62
- display: "flex",
63
- minHeight: d
64
- },
65
- "& .MuiTableSortLabel-root": {
66
- color: o == null ? void 0 : o.color
67
- },
68
- "& .MuiTableSortLabel-root:hover": {
69
- color: o == null ? void 0 : o.color
70
- },
71
- "& .MuiTableSortLabel-root.Mui-active": {
72
- color: o == null ? void 0 : o.color
73
- },
74
- "& .MuiTableSortLabel-icon": {
75
- color: o != null && o.color ? `${o.color} !important` : void 0
76
- }
77
- };
78
- }, "getHeaderCellOverrideSx"), Qo = /* @__PURE__ */ e((...o) => {
79
- const t = o.flatMap((r) => r ? M(r) ? r : [r] : []);
80
- if (t.length !== 0)
81
- return (r) => t.reduce((a, d) => {
82
- const l = typeof d == "function" ? d(r) : d;
83
- return !l || M(l) ? a : {
84
- ...a,
85
- ...l
86
- };
87
- }, {});
88
- }, "mergeSxValues"), q = /* @__PURE__ */ e((o, t) => typeof o == "function" ? o(t) : o, "resolvePropValue"), Zo = /* @__PURE__ */ e((...o) => {
89
- const t = o.filter(Boolean), r = t.reduce((l, g) => ({
90
- ...l,
91
- ...g
92
- }), {}), a = Do(t.map((l) => l.className)), d = Qo(...t.map((l) => l.sx));
93
- return a && (r.className = a), d && (r.sx = d), r;
94
- }, "mergeComponentProps"), m = /* @__PURE__ */ e((o, ...t) => Zo(
95
- ...t.map((r) => q(r, o))
96
- ), "mergeResolvedProps"), oe = {
97
- ArrowDownwardIcon: /* @__PURE__ */ e((o) => /* @__PURE__ */ s(c, { size: 20, ...o, children: "heroicons-outline:arrow-down-circle" }), "ArrowDownwardIcon"),
98
- ClearAllIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:adjustments-horizontal" }), "ClearAllIcon"),
99
- DensityLargeIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:bars-3-bottom-left" }), "DensityLargeIcon"),
100
- DensityMediumIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:bars-3" }), "DensityMediumIcon"),
101
- DensitySmallIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:bars-2" }), "DensitySmallIcon"),
102
- DragHandleIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { className: "rotate-45", size: 14, children: "heroicons-outline:arrows-pointing-out" }), "DragHandleIcon"),
103
- FilterListIcon: /* @__PURE__ */ e((o) => /* @__PURE__ */ s(c, { size: 16, ...o, children: "heroicons-outline:funnel" }), "FilterListIcon"),
104
- FilterListOffIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:funnel" }), "FilterListOffIcon"),
105
- FullscreenExitIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:arrows-pointing-in" }), "FullscreenExitIcon"),
106
- FullscreenIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:arrows-pointing-out" }), "FullscreenIcon"),
107
- SearchIcon: /* @__PURE__ */ e((o) => /* @__PURE__ */ s(c, { color: "action", size: 20, ...o, children: "heroicons-outline:magnifying-glass" }), "SearchIcon"),
108
- SearchOffIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:magnifying-glass" }), "SearchOffIcon"),
109
- ViewColumnIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:view-columns" }), "ViewColumnIcon"),
110
- MoreVertIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:ellipsis-vertical" }), "MoreVertIcon"),
111
- MoreHorizIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:ellipsis-horizontal" }), "MoreHorizIcon"),
112
- SortIcon: /* @__PURE__ */ e((o) => /* @__PURE__ */ s(c, { size: 20, ...o, children: "heroicons-outline:arrows-up-down" }), "SortIcon"),
113
- PushPinIcon: /* @__PURE__ */ e((o) => /* @__PURE__ */ s(c, { size: 20, ...o, children: "heroicons-outline:bookmark" }), "PushPinIcon"),
114
- VisibilityOffIcon: /* @__PURE__ */ e(() => /* @__PURE__ */ s(c, { size: 20, children: "heroicons-outline:eye-slash" }), "VisibilityOffIcon")
115
- }, ee = /* @__PURE__ */ e((o) => /* @__PURE__ */ s(ko, { fontSize: "small", ...o }), "TreeGridArrowDownwardIcon"), te = /* @__PURE__ */ e((o) => {
116
- const { direction: t, ...r } = o;
117
- return /* @__PURE__ */ s(Ho, { fontSize: "small", ...r });
118
- }, "TreeGridSyncAltIcon"), re = {
119
- ArrowDownwardIcon: ee,
120
- SyncAltIcon: te
121
- }, ie = {
122
- className: "flex items-center min-h-56 h-56"
123
- }, ne = {
124
- elevation: 0,
125
- square: !0,
126
- className: "flex flex-col flex-auto h-full"
127
- }, se = /* @__PURE__ */ e((o) => ({
128
- sx: {
129
- ...L(o),
130
- display: "flex",
131
- height: "100%",
132
- flexDirection: "column",
133
- border: `1px solid ${b}`,
134
- borderRadius: 0,
135
- boxShadow: "none"
136
- }
137
- }), "getTreeGridPaperProps"), ae = {
138
- sx: {
139
- border: 0
140
- }
141
- }, le = /* @__PURE__ */ e(() => ({
142
- sx: {
143
- borderTop: `1px solid ${b}`,
144
- borderRight: `1px solid ${b}`,
145
- borderLeft: `1px solid ${b}`
146
- }
147
- }), "getTotalCountFooterBorderlessContainerProps"), ce = {
148
- className: "flex-auto"
149
- }, de = /* @__PURE__ */ e((o) => ({
150
- square: !1,
151
- sx: {
152
- borderRadius: Uo(o),
153
- overflow: "hidden"
154
- }
155
- }), "getTableRadiusPaperProps"), ue = {
156
- sx: {
157
- borderRadius: "inherit"
158
- }
159
- }, h = 40, Y = "owp-mrt-table-body-field-cell", be = Vo(
160
- `> .${Y} > *`
161
- ), X = {
162
- width: h,
163
- minWidth: h,
164
- maxWidth: h
165
- }, pe = {
166
- sx: {
167
- flex: 1,
168
- minHeight: 0,
169
- overflowX: "hidden",
170
- overflowY: "auto"
171
- }
172
- }, fe = /* @__PURE__ */ e((o) => ({
173
- sx: {
174
- backgroundColor: o == null ? void 0 : o.backgroundColor,
175
- boxShadow: "none"
176
- }
177
- }), "getTreeGridHeadRowProps"), _ = {
178
- className: "w-48"
179
- }, j = {
180
- sx: {
181
- display: "flex",
182
- m: 0,
183
- mx: "auto"
184
- }
185
- }, me = /* @__PURE__ */ e((o) => ({
186
- sx: {
187
- ...L(o),
188
- borderSpacing: 0,
189
- width: "100%",
190
- tableLayout: "fixed",
191
- "& .MuiTableHead-root .MuiTableCell-root": {
192
- ...Eo(o),
193
- borderRight: `1px solid ${b}`,
194
- borderRightColor: `${b} !important`,
195
- borderRightStyle: "solid",
196
- borderRightWidth: "1px",
197
- py: 0.75,
198
- wordBreak: "keep-all"
199
- },
200
- "& .MuiTableHead-root .MuiTableRow-root:first-of-type .MuiTableCell-root:first-of-type": {
201
- borderLeft: `1px solid ${b}`,
202
- borderLeftColor: `${b} !important`,
203
- borderLeftStyle: "solid",
204
- borderLeftWidth: "1px"
205
- },
206
- "& .MuiTableHead-root .MuiTableRow-root:first-of-type .MuiTableCell-root:last-of-type": {
207
- borderRight: `1px solid ${b}`,
208
- borderRightColor: `${b} !important`,
209
- borderRightStyle: "solid",
210
- borderRightWidth: "1px"
211
- },
212
- "& .MuiTableHead-root .MuiIconButton-root": {
213
- display: "none"
214
- },
215
- "& .MuiTableBody-root .MuiTableCell-root": {
216
- backgroundColor: o.row.backgroundColor,
217
- color: o.body.color,
218
- p: 0,
219
- verticalAlign: "middle",
220
- borderRight: `1px solid ${b}`,
221
- borderBottom: `1px solid ${b}`,
222
- overflowWrap: "anywhere"
223
- },
224
- "& .MuiTableBody-root .MuiTableCell-root:last-of-type": {
225
- borderRight: "none"
226
- }
227
- }
228
- }), "getTreeGridTableProps"), ge = {
229
- sx: {
230
- "& .MuiTableHead-root .MuiTableCell-root": {
231
- borderTop: "none"
232
- },
233
- "& .MuiTableHead-root .MuiTableRow-root:first-of-type .MuiTableCell-root:first-of-type": {
234
- borderLeft: "none"
235
- },
236
- "& .MuiTableHead-root .MuiTableRow-root:first-of-type .MuiTableCell-root:last-of-type": {
237
- borderRight: "none"
238
- }
239
- }
240
- }, Te = {
241
- sx: {
242
- "& .MuiTableBody-root .MuiTableRow-root:last-of-type .MuiTableCell-root": {
243
- borderBottom: "none"
244
- }
245
- }
246
- }, xe = '&.Mui-selected, &[data-selected="true"], &.Mui-selected:hover, &[data-selected="true"]:hover', he = '&.Mui-selected > td, &[data-selected="true"] > td, &.Mui-selected:hover > td, &[data-selected="true"]:hover > td', we = '&.Mui-selected > td::after, &[data-selected="true"] > td::after, &.Mui-selected:hover > td::after, &[data-selected="true"]:hover > td::after', ve = /* @__PURE__ */ e((o) => {
247
- const t = U(o);
248
- return {
249
- [xe]: {
250
- backgroundColor: `${t} !important`
251
- },
252
- [he]: {
253
- backgroundColor: `${t} !important`,
254
- backgroundImage: "none !important"
255
- },
256
- [we]: {
257
- display: "none !important"
258
- }
259
- };
260
- }, "getMrtSelectedBodyRowSx"), Pe = /* @__PURE__ */ e(({
261
- row: o,
262
- table: t
263
- }) => {
264
- const { density: r } = t.getState();
265
- return r === "compact" ? {
266
- sx: {
267
- backgroundColor: "initial",
268
- opacity: 1,
269
- boxShadow: "none",
270
- height: o.getIsPinned() ? "37px" : void 0
271
- }
272
- } : {
273
- sx: {
274
- backgroundColor: "initial",
275
- opacity: 1,
276
- boxShadow: "none",
277
- height: o.getIsPinned() ? `${r === "comfortable" ? 53 : 69}px` : void 0
278
- }
279
- };
280
- }, "getDefaultBodyRowProps"), Re = /* @__PURE__ */ e(({ column: o }, t) => {
281
- const r = z(t);
282
- return {
283
- sx: {
284
- "& .Mui-TableHeadCell-Content-Labels": {
285
- flex: 1,
286
- justifyContent: "space-between"
287
- },
288
- "& .Mui-TableHeadCell-Content-Actions": {
289
- "& > button": {
290
- marginX: "2px"
291
- }
292
- },
293
- "& .MuiFormHelperText-root": {
294
- textAlign: "center",
295
- marginX: 0,
296
- color: /* @__PURE__ */ e((a) => a.palette.text.disabled, "color"),
297
- fontSize: 11
298
- },
299
- ...K(t),
300
- backgroundColor: /* @__PURE__ */ e((a) => r ?? (o.getIsPinned() ? a.palette.background.paper : "inherit"), "backgroundColor")
301
- }
302
- };
303
- }, "getDefaultHeadCellProps"), Me = /* @__PURE__ */ e(({ column: o }, t, r) => {
304
- const a = o.id === "mrt-row-select", d = Xo(t, r), l = (r == null ? void 0 : r.color) ?? Yo, g = S(r), i = r != null && r.height ? "100%" : void 0;
305
- return {
306
- align: "center",
307
- sx: {
308
- ...a ? X : {},
309
- ...d,
310
- ...K(r),
311
- backgroundColor: z(r),
312
- borderRight: `1px solid ${b}`,
313
- borderRightColor: `${b} !important`,
314
- borderRightStyle: "solid",
315
- borderRightWidth: "1px",
316
- "&:first-of-type": {
317
- borderLeft: `1px solid ${b}`,
318
- borderLeftColor: `${b} !important`,
319
- borderLeftStyle: "solid",
320
- borderLeftWidth: "1px"
321
- },
322
- "& .Mui-TableHeadCell-Content": {
323
- ...d,
324
- ...g,
325
- alignItems: "center",
326
- backgroundColor: "inherit",
327
- display: "flex",
328
- justifyContent: "center",
329
- position: "relative",
330
- width: "100%"
331
- },
332
- "& .Mui-TableHeadCell-Content-Labels": {
333
- alignItems: "center",
334
- backgroundColor: "inherit",
335
- display: "flex",
336
- flex: 1,
337
- justifyContent: "center",
338
- maxWidth: "100%",
339
- minWidth: 0,
340
- overflow: "hidden",
341
- position: "relative",
342
- pl: 0,
343
- pr: a ? 0 : "24px",
344
- height: r != null && r.height ? "100%" : void 0,
345
- width: "100%"
346
- },
347
- "& .Mui-TableHeadCell-Content-Wrapper": {
348
- ...d,
349
- alignItems: "center",
350
- backgroundColor: "inherit",
351
- display: "flex",
352
- minHeight: i,
353
- overflow: "hidden",
354
- textOverflow: "ellipsis",
355
- whiteSpace: "nowrap"
356
- },
357
- "&& .MuiBadge-root": a ? void 0 : {
358
- alignItems: "center",
359
- display: "inline-flex",
360
- justifyContent: "center",
361
- position: "absolute",
362
- pointerEvents: "none",
363
- right: "6px",
364
- top: "50%",
365
- transform: "translateY(-50%)",
366
- width: "16px"
367
- },
368
- "&& .MuiTableSortLabel-root": {
369
- alignItems: "center",
370
- color: l,
371
- display: "inline-flex",
372
- justifyContent: "center",
373
- minWidth: "16px",
374
- opacity: "1 !important",
375
- overflow: "visible",
376
- width: "16px"
377
- },
378
- "&& .MuiTableSortLabel-root:hover": {
379
- color: l
380
- },
381
- "&& .MuiTableSortLabel-root.Mui-active": {
382
- color: l
383
- },
384
- "&& .MuiTableSortLabel-icon": {
385
- color: `${l} !important`,
386
- display: "block",
387
- fontSize: "18px",
388
- margin: 0,
389
- opacity: "1 !important",
390
- overflow: "visible"
391
- },
392
- "& .MuiButtonBase-root": a ? {
393
- display: "flex",
394
- margin: "0 auto"
395
- } : void 0
396
- }
397
- };
398
- }, "getTreeGridHeadCellProps"), Be = /* @__PURE__ */ e(({ column: o }, t) => {
399
- const r = { ...No(t) };
400
- return Reflect.deleteProperty(r, "padding"), Reflect.deleteProperty(r, "borderBottom"), Reflect.deleteProperty(r, "borderLeft"), Reflect.deleteProperty(r, "borderRight"), o.id !== "mrt-row-select" ? {
401
- sx: r
402
- } : {
403
- align: "center",
404
- sx: {
405
- ...r,
406
- ...X,
407
- "& > .MuiButtonBase-root, & .MuiButtonBase-root": {
408
- display: "flex",
409
- margin: "0 auto"
410
- }
411
- }
412
- };
413
- }, "getTreeGridBodyCellProps"), I = [
414
- 'tbody td input:not([type="hidden"])',
415
- "tbody td textarea",
416
- 'tbody td [contenteditable="true"]',
417
- 'tbody td [role="combobox"]'
418
- ].join(", "), J = /* @__PURE__ */ e((o) => o.tabIndex < 0 || o.getAttribute("aria-disabled") === "true" || o.getAttribute("aria-readonly") === "true" || (o instanceof HTMLInputElement || o instanceof HTMLTextAreaElement) && (o.disabled || o.readOnly) || o instanceof HTMLSelectElement && o.disabled || o instanceof HTMLInputElement && ["button", "checkbox", "file", "hidden", "radio", "reset", "submit"].includes(o.type) ? !1 : o.getClientRects().length > 0, "isTabNavigableTableBodyField"), ke = /* @__PURE__ */ e((o) => {
419
- if (!(o instanceof Element))
420
- return null;
421
- const t = o.matches(I) ? o : o.closest(I);
422
- return t instanceof HTMLElement && J(t) ? t : null;
423
- }, "getCurrentTableBodyField"), He = /* @__PURE__ */ e((o) => {
424
- if (o.key !== "Tab" || o.altKey || o.ctrlKey || o.metaKey)
425
- return;
426
- const t = ke(o.target);
427
- if (!t)
428
- return;
429
- const r = t.closest("table");
430
- if (!r)
431
- return;
432
- const a = Array.from(
433
- r.querySelectorAll(I)
434
- ).filter(J), d = a.indexOf(t);
435
- if (d < 0)
436
- return;
437
- const l = a[d + (o.shiftKey ? -1 : 1)];
438
- l && (o.preventDefault(), queueMicrotask(() => {
439
- document.contains(l) && l.focus();
440
- }));
441
- }, "handleTableBodyFieldTabNavigation");
442
- function Ie(o) {
443
- const { t } = Ao(), r = Oo(), {
444
- canHideTotalCountFooterBorder: a = !1,
445
- canUseNoDataOverlay: d = !1,
446
- canUseTableRadius: l = !1,
447
- canTotalCountRow: g = !0,
448
- canUseTreeGridStyle: i = !0,
449
- columns: Q,
450
- data: v,
451
- headerCellStyle: u,
452
- tableBorderRadius: Z = zo,
453
- totalCount: F,
454
- ...oo
455
- } = o, {
456
- icons: eo,
457
- initialState: to,
458
- muiBottomToolbarProps: ro,
459
- muiSelectAllCheckboxProps: io,
460
- muiSelectCheckboxProps: no,
461
- displayColumnDefOptions: w,
462
- muiTableBodyCellProps: so,
463
- muiTableBodyRowProps: ao,
464
- muiTableContainerProps: lo,
465
- muiTableHeadCellProps: co,
466
- muiTableHeadRowProps: uo,
467
- muiTablePaperProps: bo,
468
- muiTableProps: po,
469
- mrtTheme: fo,
470
- renderBottomToolbar: P,
471
- renderEmptyRowsFallback: mo,
472
- ...go
473
- } = oo, C = M(v) ? v : [], p = W(
474
- () => {
475
- var n, f;
476
- return Lo((f = (n = r == null ? void 0 : r.theme) == null ? void 0 : n.main) == null ? void 0 : f.grid);
477
- },
478
- [r]
479
- ), T = W(() => i ? {
480
- backgroundColor: (u == null ? void 0 : u.backgroundColor) ?? p.header.backgroundColor,
481
- color: (u == null ? void 0 : u.color) ?? p.header.color,
482
- fontSize: (u == null ? void 0 : u.fontSize) ?? p.header.fontSize,
483
- fontWeight: (u == null ? void 0 : u.fontWeight) ?? p.header.fontWeight,
484
- height: (u == null ? void 0 : u.height) ?? p.header.height
485
- } : u, [i, u, p]), To = M(v) && v.length === 0, O = g && (i || a), A = i || d, R = i && l, D = i ? {
486
- ...w ?? {},
487
- "mrt-row-select": {
488
- header: "",
489
- size: h,
490
- minSize: h,
491
- maxSize: h,
492
- ...(w == null ? void 0 : w["mrt-row-select"]) ?? {}
493
- }
494
- } : w, G = N(
495
- { ...to ?? {} },
496
- {
497
- density: i ? "compact" : "spacious",
498
- showColumnFilters: !1,
499
- showGlobalFilter: !i,
500
- columnPinning: {
501
- left: ["mrt-row-expand", "mrt-row-select"],
502
- right: ["mrt-row-actions"]
503
- },
504
- pagination: {
505
- pageSize: 15
506
- },
507
- enableFullScreenToggle: !1
508
- }
509
- ), B = N(
510
- {
511
- ...go,
512
- displayColumnDefOptions: D,
513
- initialState: G,
514
- mrtTheme: /* @__PURE__ */ e((n) => {
515
- const f = q(
516
- fo,
517
- n
518
- );
519
- return {
520
- baseBackgroundColor: n.palette.background.paper,
521
- menuBackgroundColor: n.palette.background.paper,
522
- pinnedRowBackgroundColor: n.palette.background.paper,
523
- pinnedColumnBackgroundColor: n.palette.background.paper,
524
- ...f ?? {},
525
- selectedRowBackgroundColor: U(p)
526
- };
527
- }, "resolveMrtTheme")
528
- },
529
- {
530
- displayColumnDefOptions: D,
531
- initialState: G,
532
- layoutMode: i ? "semantic" : void 0,
533
- enablePagination: i ? !1 : void 0,
534
- enableBottomToolbar: i ? !1 : void 0,
535
- enableTopToolbar: i ? !1 : void 0,
536
- enableColumnActions: i ? !1 : void 0,
537
- enableColumnDragging: i ? !1 : void 0,
538
- enableColumnFilters: i ? !1 : void 0,
539
- enableColumnOrdering: !i,
540
- enableDensityToggle: i ? !1 : void 0,
541
- enableFullScreenToggle: !1,
542
- enableGlobalFilter: i ? !1 : void 0,
543
- enableGrouping: !i,
544
- enableHiding: i ? !1 : void 0,
545
- enableColumnPinning: !i,
546
- enableFacetedValues: !i,
547
- enableMultiRowSelection: i ? !0 : void 0,
548
- enableRowActions: !i,
549
- enableRowSelection: !0,
550
- enableRowDragging: i ? !1 : void 0,
551
- enableRowOrdering: i ? !1 : void 0,
552
- enableSelectAll: i ? !1 : void 0,
553
- enableStickyHeader: !0,
554
- enableToolbarInternalActions: i ? !1 : void 0,
555
- getRowId: i ? (n) => String(n.id) : void 0,
556
- paginationDisplayMode: "pages",
557
- positionToolbarAlertBanner: "top",
558
- muiPaginationProps: {
559
- color: "secondary",
560
- rowsPerPageOptions: [10, 20, 30],
561
- shape: "rounded",
562
- variant: "outlined",
563
- showRowsPerPage: !1
564
- },
565
- muiSearchTextFieldProps: {
566
- placeholder: "Search",
567
- sx: { minWidth: "300px" },
568
- variant: "outlined",
569
- size: "small"
570
- },
571
- muiFilterTextFieldProps: {
572
- variant: "outlined",
573
- size: "small",
574
- sx: {
575
- "& .MuiInputBase-root": {
576
- padding: "0px 8px",
577
- height: "32px!important",
578
- minHeight: "32px!important"
579
- }
580
- }
581
- },
582
- renderTopToolbar: /* @__PURE__ */ e((n) => /* @__PURE__ */ s(Ko, { ...n }), "renderTopToolbar")
583
- }
584
- ), y = B.enableBottomToolbar !== !1, xo = qo(F) ? F : C.length, ho = R && !g && !y, wo = /* @__PURE__ */ e((n) => y ? typeof P == "function" ? P({ table: n }) : P ?? /* @__PURE__ */ s(yo, { table: n }) : null, "renderBaseBottomToolbar"), vo = /* @__PURE__ */ e((n) => {
585
- const f = m(
586
- n,
587
- i ? (x) => Be(x, p) : void 0,
588
- {
589
- className: n.column.columnDef.columnDefType === "display" ? void 0 : Y
590
- },
591
- so
592
- ), { onKeyDownCapture: k, ...Mo } = f;
593
- return {
594
- ...Mo,
595
- onKeyDownCapture: /* @__PURE__ */ e((x) => {
596
- k == null || k(x), !(x.defaultPrevented || x.isPropagationStopped()) && He(x);
597
- }, "onKeyDownCapture")
598
- };
599
- }, "getResolvedBodyCellProps"), Po = /* @__PURE__ */ e((n) => m(
600
- n,
601
- Pe,
602
- i ? () => ({
603
- sx: Wo(p, {
604
- canHover: !0,
605
- selected: n.row.getIsSelected()
606
- })
607
- }) : void 0,
608
- ao,
609
- {
610
- sx: [be, ve(p)]
611
- }
612
- ), "getResolvedBodyRowProps"), Ro = /* @__PURE__ */ e(() => {
613
- if (T != null && T.backgroundColor)
614
- return {
615
- sx: {
616
- backgroundColor: `${T.backgroundColor} !important`
617
- }
618
- };
619
- }, "getResolvedHeadRowProps"), $ = Go({
620
- ...B,
621
- columns: Q,
622
- data: C,
623
- enableBottomToolbar: g ? !0 : B.enableBottomToolbar,
624
- icons: {
625
- ...oe,
626
- ...i ? re : {},
627
- ...eo ?? {}
628
- },
629
- muiBottomToolbarProps: /* @__PURE__ */ e((n) => m(
630
- n,
631
- ie,
632
- ro
633
- ), "muiBottomToolbarProps"),
634
- muiSelectAllCheckboxProps: /* @__PURE__ */ e((n) => m(
635
- n,
636
- _,
637
- i ? j : void 0,
638
- io
639
- ), "muiSelectAllCheckboxProps"),
640
- muiSelectCheckboxProps: /* @__PURE__ */ e((n) => m(
641
- n,
642
- _,
643
- i ? j : void 0,
644
- no
645
- ), "muiSelectCheckboxProps"),
646
- muiTableBodyCellProps: /* @__PURE__ */ e((n) => vo(n), "muiTableBodyCellProps"),
647
- muiTableBodyRowProps: /* @__PURE__ */ e((n) => Po(n), "muiTableBodyRowProps"),
648
- muiTableContainerProps: /* @__PURE__ */ e((n) => m(
649
- n,
650
- ce,
651
- i ? pe : void 0,
652
- i ? { sx: L(p) } : void 0,
653
- l ? ue : void 0,
654
- lo,
655
- O && !R ? le() : void 0
656
- ), "muiTableContainerProps"),
657
- muiTableHeadRowProps: /* @__PURE__ */ e((n) => m(
658
- n,
659
- i ? fe(T) : void 0,
660
- Ro(),
661
- uo
662
- ), "muiTableHeadRowProps"),
663
- muiTableHeadCellProps: /* @__PURE__ */ e((n) => m(
664
- n,
665
- (f) => Re(f, T),
666
- i ? (f) => Me(f, p, T) : void 0,
667
- co
668
- ), "muiTableHeadCellProps"),
669
- muiTablePaperProps: /* @__PURE__ */ e((n) => m(
670
- n,
671
- ne,
672
- i ? se(p) : void 0,
673
- l ? de(Z) : void 0,
674
- bo,
675
- O && !R ? ae : void 0
676
- ), "muiTablePaperProps"),
677
- muiTableProps: /* @__PURE__ */ e((n) => m(
678
- n,
679
- i ? me(p) : void 0,
680
- R ? ge : void 0,
681
- ho ? Te : void 0,
682
- po
683
- ), "muiTableProps"),
684
- renderBottomToolbar: g ? ({ table: n }) => /* @__PURE__ */ E(H, { children: [
685
- wo(n),
686
- /* @__PURE__ */ s(jo, { totalCount: xo })
687
- ] }) : P,
688
- renderEmptyRowsFallback: A ? () => /* @__PURE__ */ s(H, {}) : mo
689
- });
690
- return /* @__PURE__ */ E(H, { children: [
691
- i && /* @__PURE__ */ s(Io, { styles: Fo() }),
692
- /* @__PURE__ */ s(V, { table: $ }),
693
- A && /* @__PURE__ */ s(
694
- So,
695
- {
696
- visible: To,
697
- message: t("Message.조회된 결과가 없습니다."),
698
- table: $
699
- }
700
- )
701
- ] });
702
- }
703
- e(Ie, "DataTable");
704
- const Le = /* @__PURE__ */ e((o) => "table" in o && o.table !== void 0, "hasTableInstance"), tt = /* @__PURE__ */ e((o) => {
705
- const t = Co();
706
- return Le(o) ? /* @__PURE__ */ s(V, { table: o.table }) : /* @__PURE__ */ s(
707
- Ie,
708
- {
709
- ...o,
710
- localization: o.localization ?? (t.id === "kr" ? $o : void 0)
711
- }
712
- );
713
- }, "OwpMrtTable");
714
- export {
715
- tt as OwpMrtTable
716
- };
717
- //# sourceMappingURL=OwpMrtTable.js.map