@owp/core 2.5.28 → 2.5.30

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 (137) hide show
  1. package/dist/_virtual/index20.js +2 -2
  2. package/dist/_virtual/index21.js +2 -2
  3. package/dist/_virtual/index22.js +2 -2
  4. package/dist/components/OwpTable/OwpDataTable.js +109 -104
  5. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  6. package/dist/components/OwpTable/OwpFieldTable.js +1 -1
  7. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
  8. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +1 -1
  9. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  10. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +475 -427
  11. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  12. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +335 -288
  13. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  14. package/dist/constants/gridTheme.js +8 -7
  15. package/dist/constants/gridTheme.js.map +1 -1
  16. package/dist/constants/treeGrid.js +26 -25
  17. package/dist/constants/treeGrid.js.map +1 -1
  18. package/dist/constants.js +25 -24
  19. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js +120 -114
  20. package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
  21. package/dist/features/themePreview/configs/grid.js +1 -0
  22. package/dist/features/themePreview/configs/grid.js.map +1 -1
  23. package/dist/features/themePreview/utils/themePreviewDefinitions.js +4 -0
  24. package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
  25. package/dist/index.js +54 -56
  26. package/dist/index.js.map +1 -1
  27. package/dist/layout/components/menus/PasswordChangeMenu.js +5 -5
  28. 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
  29. package/dist/node_modules/.pnpm/autosuggest-highlight@3.3.4/node_modules/autosuggest-highlight/match/index.js +1 -1
  30. package/dist/node_modules/.pnpm/autosuggest-highlight@3.3.4/node_modules/autosuggest-highlight/parse/index.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  33. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  34. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  35. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  36. package/dist/owp-app.css +1 -1
  37. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +2 -1
  38. package/dist/types/constants/gridTheme.d.ts +2 -0
  39. package/dist/types/constants/treeGrid.d.ts +1 -0
  40. package/dist/types/features/themePreview/configs/grid.d.ts +1 -0
  41. package/dist/types/features/themePreview/configs/settings.d.ts +1 -0
  42. package/dist/types/index.d.ts +0 -1
  43. package/dist/types/types/OwpGridThemeTypes.d.ts +1 -0
  44. package/dist/types/utils/treeGridUtil.d.ts +42 -0
  45. package/dist/utils/treeGridUtil.js +256 -163
  46. package/dist/utils/treeGridUtil.js.map +1 -1
  47. package/dist/utils.js +31 -30
  48. package/package.json +1 -2
  49. package/dist/components/OwpMrtTable/OwpMrtTable.js +0 -717
  50. package/dist/components/OwpMrtTable/OwpMrtTable.js.map +0 -1
  51. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js +0 -54
  52. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js.map +0 -1
  53. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js +0 -102
  54. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js.map +0 -1
  55. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.js +0 -7
  56. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.js.map +0 -1
  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/ArrowDownward.js +0 -9
  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/ArrowDownward.js.map +0 -1
  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/ArrowDropDownRounded.js +0 -9
  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/ArrowDropDownRounded.js.map +0 -1
  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/ArrowRight.js +0 -9
  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/ArrowRight.js.map +0 -1
  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/Cancel.js +0 -9
  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/Cancel.js.map +0 -1
  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/ClearAll.js +0 -9
  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/ClearAll.js.map +0 -1
  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/ContentCopy.js +0 -9
  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/ContentCopy.js.map +0 -1
  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/DensityLarge.js +0 -9
  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/DensityLarge.js.map +0 -1
  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/DensityMedium.js +0 -9
  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/DensityMedium.js.map +0 -1
  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/DensitySmall.js +0 -9
  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/DensitySmall.js.map +0 -1
  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/DragHandle.js +0 -9
  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/DragHandle.js.map +0 -1
  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/DynamicFeed.js +0 -11
  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/DynamicFeed.js.map +0 -1
  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/Edit.js +0 -9
  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/Edit.js.map +0 -1
  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/ExpandMore.js +0 -9
  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/ExpandMore.js.map +0 -1
  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/FilterAlt.js +0 -9
  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/FilterAlt.js.map +0 -1
  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/FilterList.js +0 -9
  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/FilterList.js.map +0 -1
  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/FilterListOff.js +0 -9
  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/FilterListOff.js.map +0 -1
  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/FirstPage.js +0 -9
  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/FirstPage.js.map +0 -1
  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/Fullscreen.js +0 -9
  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/Fullscreen.js.map +0 -1
  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/FullscreenExit.js +0 -9
  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/FullscreenExit.js.map +0 -1
  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/KeyboardDoubleArrowDown.js +0 -11
  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/KeyboardDoubleArrowDown.js.map +0 -1
  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/LastPage.js +0 -9
  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/LastPage.js.map +0 -1
  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/MoreHoriz.js +0 -9
  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/MoreHoriz.js.map +0 -1
  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/PushPin.js +0 -10
  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/PushPin.js.map +0 -1
  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/Save.js +0 -9
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. package/dist/node_modules/.pnpm/@tanstack_match-sorter-utils@8.19.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.js +0 -554
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js +0 -2055
  122. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
  123. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -454
  124. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +0 -1
  125. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -54
  126. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +0 -1
  127. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js +0 -92
  128. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js.map +0 -1
  129. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js +0 -2440
  130. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js.map +0 -1
  131. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/locales/ko/index.esm.js +0 -98
  132. 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
  133. package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +0 -25
  134. package/dist/types/components/OwpMrtTable/index.d.ts +0 -1
  135. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.d.ts +0 -14
  136. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.d.ts +0 -6
  137. package/dist/types/components/OwpMrtTable/utils/parseFromValuesOrFunc.d.ts +0 -11
@@ -1,92 +0,0 @@
1
- var m = Object.defineProperty;
2
- var r = (e, t) => m(e, "name", { value: t, configurable: !0 });
3
- const x = /* @__PURE__ */ r((e) => (t) => t !== null && typeof t == "object" && e in t, "hasProp"), g = x("match"), l = /* @__PURE__ */ r((e) => typeof e < "u", "chunkExists");
4
- function w({
5
- curr: e,
6
- next: t,
7
- prev: n,
8
- clipBy: o = 3
9
- }) {
10
- const i = e.text.split(" "), a = i.length;
11
- if (e.match || o >= a)
12
- return e.text;
13
- const s = "...";
14
- return l(t) && l(n) && g(n) && g(t) ? a > o * 2 ? [
15
- ...i.slice(0, o),
16
- s,
17
- ...i.slice(-o)
18
- ].join(" ") : e.text : l(t) && g(t) ? [s, ...i.slice(-o)].join(" ") : l(n) && g(n) ? [...i.slice(0, o), s].join(" ") : e.text;
19
- }
20
- r(w, "clip");
21
- const E = /* @__PURE__ */ r((e) => e.replace(/[|\\{}()[\]^$+*?.-]/g, (t) => `\\${t}`), "escapeRegexp"), d = /* @__PURE__ */ r((e) => e.replace(/\s{2,}/g, " ").split(" ").join("|"), "termsToRegExpString"), R = /* @__PURE__ */ r(({
22
- terms: e,
23
- matchExactly: t = !1
24
- }) => {
25
- if (typeof e != "string")
26
- throw new TypeError("Expected a string");
27
- const n = E(e.trim());
28
- return `(${t ? n : d(n)})`;
29
- }, "regexpQuery"), T = /* @__PURE__ */ r(({
30
- terms: e,
31
- matchExactly: t = !1
32
- }) => {
33
- try {
34
- const n = /^([/~@;%#'])(.*?)\1([gimsuy]*)$/.exec(e);
35
- return n ? new RegExp(n[2], n[3]) : new RegExp(R({ terms: e, matchExactly: t }), "ig");
36
- } catch {
37
- throw new TypeError("Expected terms to be either a string or a RegExp!");
38
- }
39
- }, "buildRegexp");
40
- let p = 36, u = "";
41
- for (; p--; )
42
- u += p.toString(36);
43
- function h(e = 11) {
44
- let t = "", n = e;
45
- for (; n--; )
46
- t += u[Math.random() * 36 | 0];
47
- return t;
48
- }
49
- r(h, "uid");
50
- const $ = /* @__PURE__ */ r((e) => e.length > 0, "hasLength"), y = /* @__PURE__ */ r(({
51
- text: e,
52
- query: t,
53
- clipBy: n,
54
- matchExactly: o = !1
55
- }) => {
56
- const i = typeof t == "string" ? t.trim() : t;
57
- if (i === "")
58
- return [
59
- {
60
- key: h(),
61
- text: e,
62
- match: !1
63
- }
64
- ];
65
- const a = T({ terms: t, matchExactly: o });
66
- return e.split(a).filter($).map((s) => ({
67
- // Compose the object for a match
68
- key: h(),
69
- text: s,
70
- match: o ? s.toLowerCase() === i.toLowerCase() : a.test(s)
71
- })).map((s, c, f) => ({
72
- // For each chunk, clip the text if needed
73
- ...s,
74
- // All the props first
75
- ...typeof n == "number" && {
76
- // We only overwrite the text if there is a clip
77
- text: w({
78
- curr: s,
79
- // We need the current chunk
80
- ...c < f.length - 1 && { next: f[c + 1] },
81
- // If this wasn't the last chunk, set the next chunk
82
- ...c > 0 && { prev: f[c - 1] },
83
- // If this wasn't the first chunk, set the previous chunk
84
- clipBy: n
85
- })
86
- }
87
- }));
88
- }, "highlightWords");
89
- export {
90
- y as default
91
- };
92
- //# sourceMappingURL=highlight-words.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-words.js","sources":["../../../../../../../../../node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.mjs"],"sourcesContent":["const hasProp = (prop) => (obj) => obj !== null && typeof obj === \"object\" && prop in obj;\nconst hasMatch = hasProp(\"match\");\nconst chunkExists = (chunk) => typeof chunk !== \"undefined\";\nfunction clip({\n curr,\n next,\n prev,\n clipBy = 3\n}) {\n const words = curr.text.split(\" \");\n const len = words.length;\n if (curr.match || clipBy >= len) {\n return curr.text;\n }\n const ellipsis = \"...\";\n if (chunkExists(next) && chunkExists(prev) && hasMatch(prev) && hasMatch(next)) {\n if (len > clipBy * 2) {\n return [\n ...words.slice(0, clipBy),\n ellipsis,\n ...words.slice(-clipBy)\n ].join(\" \");\n }\n return curr.text;\n }\n if (chunkExists(next) && hasMatch(next)) {\n return [ellipsis, ...words.slice(-clipBy)].join(\" \");\n }\n if (chunkExists(prev) && hasMatch(prev)) {\n return [...words.slice(0, clipBy), ellipsis].join(\" \");\n }\n return curr.text;\n}\n\nconst escapeRegexp = (term) => term.replace(/[|\\\\{}()[\\]^$+*?.-]/g, (char) => `\\\\${char}`);\nconst termsToRegExpString = (terms) => terms.replace(/\\s{2,}/g, \" \").split(\" \").join(\"|\");\nconst regexpQuery = ({\n terms,\n matchExactly = false\n}) => {\n if (typeof terms !== \"string\") {\n throw new TypeError(\"Expected a string\");\n }\n const escapedTerms = escapeRegexp(terms.trim());\n return `(${matchExactly ? escapedTerms : termsToRegExpString(escapedTerms)})`;\n};\nconst buildRegexp = ({\n terms,\n matchExactly = false\n}) => {\n try {\n const fromString = /^([/~@;%#'])(.*?)\\1([gimsuy]*)$/.exec(terms);\n if (fromString) {\n return new RegExp(fromString[2], fromString[3]);\n }\n return new RegExp(regexpQuery({ terms, matchExactly }), \"ig\");\n } catch {\n throw new TypeError(\"Expected terms to be either a string or a RegExp!\");\n }\n};\n\nlet IDX = 36;\nlet HEX = \"\";\nwhile (IDX--) {\n HEX += IDX.toString(36);\n}\nfunction uid(len = 11) {\n let str = \"\";\n let num = len;\n while (num--) {\n str += HEX[Math.random() * 36 | 0];\n }\n return str;\n}\n\nconst hasLength = (str) => str.length > 0;\nconst highlightWords = ({\n text,\n query,\n clipBy,\n matchExactly = false\n}) => {\n const safeQuery = typeof query === \"string\" ? query.trim() : query;\n if (safeQuery === \"\") {\n return [\n {\n key: uid(),\n text,\n match: false\n }\n ];\n }\n const searchRegexp = buildRegexp({ terms: query, matchExactly });\n return text.split(searchRegexp).filter(hasLength).map((str) => ({\n // Compose the object for a match\n key: uid(),\n text: str,\n match: matchExactly ? str.toLowerCase() === safeQuery.toLowerCase() : searchRegexp.test(str)\n })).map((chunk, index, chunks) => ({\n // For each chunk, clip the text if needed\n ...chunk,\n // All the props first\n ...typeof clipBy === \"number\" && {\n // We only overwrite the text if there is a clip\n text: clip({\n curr: chunk,\n // We need the current chunk\n ...index < chunks.length - 1 && { next: chunks[index + 1] },\n // If this wasn't the last chunk, set the next chunk\n ...index > 0 && { prev: chunks[index - 1] },\n // If this wasn't the first chunk, set the previous chunk\n clipBy\n })\n }\n }));\n};\n\nexport { highlightWords as default };\n"],"names":["hasProp","__name","prop","obj","hasMatch","chunkExists","chunk","clip","curr","next","prev","clipBy","words","len","ellipsis","escapeRegexp","term","char","termsToRegExpString","terms","regexpQuery","matchExactly","escapedTerms","buildRegexp","fromString","IDX","HEX","uid","str","num","hasLength","highlightWords","text","query","safeQuery","searchRegexp","index","chunks"],"mappings":";;AAAA,MAAMA,IAAU,gBAAAC,EAAA,CAACC,MAAS,CAACC,MAAQA,MAAQ,QAAQ,O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