@owp/core 2.5.27 → 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 (132) hide show
  1. package/dist/components/OwpTable/OwpDataTable.js +151 -156
  2. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  3. package/dist/components/OwpTable/OwpFieldTable.js +1 -1
  4. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
  5. package/dist/components/OwpTable/internal/OwpTableTotalCount.js +23 -16
  6. package/dist/components/OwpTable/internal/OwpTableTotalCount.js.map +1 -1
  7. package/dist/components/OwpTable/internal/treeGridTableStyle.js +29 -28
  8. package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
  9. package/dist/components/OwpTable/utils/tableSx.js +11 -10
  10. package/dist/components/OwpTable/utils/tableSx.js.map +1 -1
  11. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +297 -265
  12. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  13. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +310 -291
  14. package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
  15. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +986 -485
  16. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  17. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +360 -224
  18. package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
  19. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js +1 -1
  20. package/dist/features/themePreview/defs/ThemePreviewGridDef.xml.js.map +1 -1
  21. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js +1 -1
  22. package/dist/features/themePreview/defs/ThemePreviewReadonlyGridDef.xml.js.map +1 -1
  23. package/dist/index.js +54 -56
  24. package/dist/index.js.map +1 -1
  25. package/dist/layout/components/menus/PasswordChangeMenu.js +5 -5
  26. 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
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  30. package/dist/owp-app.css +1 -1
  31. package/dist/types/components/OwpTable/internal/OwpTableTotalCount.d.ts +11 -4
  32. package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +5 -0
  33. package/dist/types/components/OwpTable/utils/tableSx.d.ts +15 -0
  34. package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +11 -1
  35. package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.d.ts +5 -2
  36. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +14 -4
  37. package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +1 -0
  38. package/dist/types/index.d.ts +0 -1
  39. package/dist/types/utils/treeGridUtil.d.ts +4 -0
  40. package/dist/utils/treeGridUtil.js +161 -152
  41. package/dist/utils/treeGridUtil.js.map +1 -1
  42. package/package.json +1 -2
  43. package/treegrid/TextKR.xml +1 -1
  44. package/dist/components/OwpMrtTable/OwpMrtTable.js +0 -670
  45. package/dist/components/OwpMrtTable/OwpMrtTable.js.map +0 -1
  46. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js +0 -54
  47. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js.map +0 -1
  48. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js +0 -102
  49. package/dist/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.js.map +0 -1
  50. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.js +0 -7
  51. package/dist/components/OwpMrtTable/utils/parseFromValuesOrFunc.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/ArrowDownward.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/ArrowDownward.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/ArrowDropDownRounded.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/ArrowDropDownRounded.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/ArrowRight.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/ArrowRight.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/Cancel.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/Cancel.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/ClearAll.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/ClearAll.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/ContentCopy.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/ContentCopy.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/DensityLarge.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/DensityLarge.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/DensityMedium.js +0 -9
  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/DensityMedium.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/DensitySmall.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/DensitySmall.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/DragHandle.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/DragHandle.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/DynamicFeed.js +0 -11
  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/DynamicFeed.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/Edit.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/Edit.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/ExpandMore.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/ExpandMore.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/FilterAlt.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/FilterAlt.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/FilterList.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/FilterList.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/FilterListOff.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/FilterListOff.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/FirstPage.js +0 -9
  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/FirstPage.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/Fullscreen.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/Fullscreen.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/FullscreenExit.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/FullscreenExit.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/KeyboardDoubleArrowDown.js +0 -11
  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/KeyboardDoubleArrowDown.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/LastPage.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/LastPage.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/MoreHoriz.js +0 -9
  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/MoreHoriz.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/PushPin.js +0 -10
  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/PushPin.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/Save.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/Save.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/SearchOff.js +0 -11
  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/SearchOff.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/Sort.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/Sort.js.map +0 -1
  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/SyncAlt.js +0 -9
  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/SyncAlt.js.map +0 -1
  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/UnfoldMoreRounded.js +0 -9
  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/UnfoldMoreRounded.js.map +0 -1
  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/ViewColumn.js +0 -9
  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/ViewColumn.js.map +0 -1
  110. package/dist/node_modules/.pnpm/@tanstack_match-sorter-utils@8.19.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.js +0 -554
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js +0 -2055
  117. package/dist/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
  118. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -454
  119. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/index.js.map +0 -1
  120. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -54
  121. package/dist/node_modules/.pnpm/@tanstack_virtual-core@3.11.2/node_modules/@tanstack/virtual-core/dist/esm/utils.js.map +0 -1
  122. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js +0 -92
  123. package/dist/node_modules/.pnpm/highlight-words@2.0.0/node_modules/highlight-words/dist/highlight-words.js.map +0 -1
  124. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js +0 -2440
  125. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/dist/index.esm.js.map +0 -1
  126. package/dist/node_modules/.pnpm/material-react-table@3.2.1_69126b2b17f4a182bc981f3ab8d41a62/node_modules/material-react-table/locales/ko/index.esm.js +0 -98
  127. 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
  128. package/dist/types/components/OwpMrtTable/OwpMrtTable.d.ts +0 -25
  129. package/dist/types/components/OwpMrtTable/index.d.ts +0 -1
  130. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.d.ts +0 -14
  131. package/dist/types/components/OwpMrtTable/internal/OwpMrtTableTopToolbar.d.ts +0 -6
  132. package/dist/types/components/OwpMrtTable/utils/parseFromValuesOrFunc.d.ts +0 -11
@@ -1,341 +1,373 @@
1
- var cr = Object.defineProperty;
2
- var i = (e, r) => cr(e, "name", { value: r, configurable: !0 });
3
- import { jsxs as ur, jsx 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 { resolveOwpGridTheme as fr } from "../../constants/gridTheme.js";
5
- import { DEFAULT_TABLE_RADIUS as mr } from "../../constants/table.js";
6
- import { resolveTreeGridColorNumber as M, TREEGRID_INPUT_CELL_COLOR as He, TREEGRID_CELL_HIGHLIGHT_COLOR as Me } from "../../constants/treeGrid.js";
7
- import { useGetCurrentSettings as pr } from "../../hooks/useOwpSettings.js";
8
- import { useOwpTranslation as Rr } from "../../hooks/useOwpTranslation.js";
9
- import { useGetCurrentLanguage as Tr } from "../../hooks/internal/useCurrentLanguage.js";
10
- import { useConfirm as gr } from "../../hooks/useConfirm.js";
11
- import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as xe } from "../../utils/internal/treeGridBodyRowsEvent.js";
12
- import { getTreeGridCellComparableValue as We, clearTreeGridCellHighlightById as Cr, isTreeGridRowAddedById as w, removeTreeGridAddedRowHighlightColumn as Gr, highlightTreeGridCellById as yr, appendTreeGridAddedRowHighlightColumn as Er, getTreeGridAddedRowBaselineValue as hr } from "../../utils/treeGridUtil.js";
13
- import { getTreeGridPerfTimestamp as ee, countTreeGridPerf as Ne, logTreeGridPerf as we, measureTreeGridPerf as Fe } from "./internal/utils/perf.js";
14
- import { useRef as n, useState as re, useMemo as Br, useEffect as x, useLayoutEffect as vr } from "react";
15
- import Dr from "@mui/material/GlobalStyles";
16
- import { useOwpTreeGridDatePickerEditor as br } from "./internal/hooks/useOwpTreeGridDatePickerEditor.js";
17
- import { useOwpTreeGridOverlayFrame as Ir } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
18
- import { hasTreeGridExplicitEnterMode as je, bindTreeGridEvents as _r, getTreeGridBodyDataCount as te, buildTreeGridInitializationOptions as kr, hasTreeGridDisplayDataRows as Ue, replaceTreeGridBodyData as Lr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as Ar } from "./internal/treeGridRuntime.js";
19
- import { applyTreeGridLayoutToGrid as Or } from "./internal/treeGridLayout.js";
20
- import { OwpTreeGridLoadingOverlay as Pr } from "./internal/OwpTreeGridLoadingOverlay.js";
21
- import { OwpTreeGridNoDataOverlay as Sr } from "./internal/OwpTreeGridNoDataOverlay.js";
22
- import { createTreeGridThemeContainerStyle as Vr, TREE_GRID_THEME_WRAPPER_CLASS as Hr, TREE_GRID_THEME_TABLE_RADIUS_CLASS as Mr, treeGridThemeStyles as xr } from "./internal/treeGridTheme.js";
23
- import { isEmpty as N } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
24
- import { delay as Nr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js";
25
- import { isEqual as wr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
26
- import { omit as Fr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
27
- const jr = /* @__PURE__ */ i((e) => {
1
+ var Dr = Object.defineProperty;
2
+ var i = (e, r) => Dr(e, "name", { value: r, configurable: !0 });
3
+ import { jsxs as Ir, jsx as V } 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 { resolveOwpGridTheme as _r } from "../../constants/gridTheme.js";
5
+ import { DEFAULT_TABLE_RADIUS as vr } from "../../constants/table.js";
6
+ import { resolveTreeGridColorNumber as w, TREEGRID_INPUT_CELL_COLOR as ze, TREEGRID_CELL_HIGHLIGHT_COLOR as Je } from "../../constants/treeGrid.js";
7
+ import { useGetCurrentSettings as Lr } from "../../hooks/useOwpSettings.js";
8
+ import { useOwpTranslation as Or } from "../../hooks/useOwpTranslation.js";
9
+ import { useGetCurrentLanguage as Ar } from "../../hooks/internal/useCurrentLanguage.js";
10
+ import { useConfirm as kr } from "../../hooks/useConfirm.js";
11
+ import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as Ye } from "../../utils/internal/treeGridBodyRowsEvent.js";
12
+ import { isTreeGridRowAddedById as nr, getTreeGridCellComparableValue as ir, clearTreeGridCellHighlightById as Sr, highlightTreeGridCellById as Fr } from "../../utils/treeGridUtil.js";
13
+ import { getTreeGridPerfTimestamp as oe, countTreeGridPerf as Qe, logTreeGridPerf as Xe, measureTreeGridPerf as Ze } from "./internal/utils/perf.js";
14
+ import { useMemo as er, useRef as t, useState as ne, useEffect as H, useLayoutEffect as Pr } from "react";
15
+ import Mr from "@mui/material/GlobalStyles";
16
+ import { useOwpTreeGridDatePickerEditor as Nr } from "./internal/hooks/useOwpTreeGridDatePickerEditor.js";
17
+ import { useOwpTreeGridOverlayFrame as Vr } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
18
+ import { hasTreeGridExplicitEnterMode as rr, bindTreeGridEvents as wr, getTreeGridBodyDataCount as ie, buildTreeGridInitializationOptions as Hr, hasTreeGridDisplayDataRows as tr, replaceTreeGridBodyData as xr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as Ur } from "./internal/treeGridRuntime.js";
19
+ import { applyTreeGridLayoutToGrid as jr } from "./internal/treeGridLayout.js";
20
+ import { OwpTreeGridLoadingOverlay as $r } from "./internal/OwpTreeGridLoadingOverlay.js";
21
+ import { OwpTreeGridNoDataOverlay as Wr } from "./internal/OwpTreeGridNoDataOverlay.js";
22
+ import { createTreeGridThemeContainerStyle as qr, TREE_GRID_THEME_WRAPPER_CLASS as Kr, TREE_GRID_THEME_TABLE_RADIUS_CLASS as zr, treeGridThemeStyles as Jr } from "./internal/treeGridTheme.js";
23
+ import { isEmpty as x } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
24
+ import { delay as Yr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js";
25
+ import { isEqual as Qr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
26
+ import { omit as Xr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
27
+ import { isPlainObject as Zr } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js";
28
+ const et = "NumberToString(count(5),',0')", rt = ["Formula", "FormulaFormula"], tt = Object.prototype.hasOwnProperty, or = /* @__PURE__ */ i((e) => JSON.stringify(e) ?? '""', "toTreeGridFormulaStringLiteral"), ot = /* @__PURE__ */ i((e, r) => `${or(
29
+ `${e} : `
30
+ )}+${et}+${or(
31
+ ` ${r}`
32
+ )}`, "buildTreeGridTotalCountToolbarFormula"), nt = /* @__PURE__ */ i((e) => Zr(e) ? rt.some(
33
+ (r) => tt.call(e, r)
34
+ ) : !1, "hasTreeGridToolbarFormulaField"), it = /* @__PURE__ */ i((e) => {
28
35
  const r = e == null ? void 0 : e.Visible;
29
36
  return !!e && r !== 0 && r !== !1 && r !== "0";
30
- }, "isVisibleTreeGridRow"), Ur = /* @__PURE__ */ i((e) => {
37
+ }, "isVisibleTreeGridRow"), se = /* @__PURE__ */ i((e) => {
31
38
  const r = e == null ? void 0 : e.Added;
32
39
  return !!e && r !== 0 && r !== !1 && r !== "0" && r !== void 0;
33
- }, "isAddedTreeGridRow"), qe = /* @__PURE__ */ i((e) => !e || e.Fixed === "Foot" || !jr(e) ? !1 : e.Kind === "Data" || Ur(e), "isDisplayTreeGridRow"), Wr = /* @__PURE__ */ i((e) => {
40
+ }, "isAddedTreeGridRow"), sr = /* @__PURE__ */ i((e) => !e || e.Fixed === "Foot" || !it(e) ? !1 : e.Kind === "Data" || se(e), "isDisplayTreeGridRow"), st = /* @__PURE__ */ i((e) => {
34
41
  if (typeof e.GetFirst == "function" && typeof e.GetNext == "function") {
35
42
  const r = [];
36
- let t = e.GetFirst();
37
- for (; t; )
38
- r.push(t), t = e.GetNext(t);
43
+ let o = e.GetFirst();
44
+ for (; o; )
45
+ r.push(o), o = e.GetNext(o);
39
46
  return r;
40
47
  }
41
48
  return Object.values(e.Rows ?? {});
42
- }, "getTreeGridRows"), qr = /* @__PURE__ */ i((e, r) => {
49
+ }, "getTreeGridRows"), lt = /* @__PURE__ */ i((e, r) => {
43
50
  if (!e)
44
51
  return;
45
- const t = Object.keys(e.Cols ?? {}).filter(Boolean);
46
- Wr(e).forEach((o) => {
47
- qe(o) && r.set(
48
- o,
49
- new Map(t.map((l) => [l, We(e, o, l)]))
52
+ const o = Object.keys(e.Cols ?? {}).filter(Boolean);
53
+ st(e).forEach((n) => {
54
+ sr(n) && r.set(
55
+ n,
56
+ new Map(o.map((d) => [d, ir(e, n, d)]))
50
57
  );
51
58
  });
52
- }, "captureTreeGridChangeBaselines"), Kr = /* @__PURE__ */ i((e) => e != null && e !== "" && e !== 0 && e !== !1 && e !== "0", "isTreeGridChangedFlag"), $r = /* @__PURE__ */ i((e, r, t) => {
53
- const o = r;
54
- return Object.keys(e.Cols ?? {}).some((l) => l !== t && Kr(o[`${l}Changed`]));
55
- }, "hasOtherTreeGridChangedCells"), zr = /* @__PURE__ */ i((e, r, t) => {
56
- const o = r;
57
- o[`${t}Changed`] = 0, !w(r) && !$r(e, r, t) && (o.Changed = 0);
58
- }, "clearTreeGridCellChangedState"), Yr = /* @__PURE__ */ i((e, r, t) => {
59
- const o = e.get(r);
60
- if (o != null && o.has(t))
61
- return o.get(t);
62
- if (w(r))
63
- return hr(r, t) ?? "";
64
- }, "resolveTreeGridCellBaselineValue"), Jr = /* @__PURE__ */ i(({
59
+ }, "captureTreeGridChangeBaselines"), at = /* @__PURE__ */ i((e) => e != null && e !== "" && e !== 0 && e !== !1 && e !== "0", "isTreeGridChangedFlag"), ct = /* @__PURE__ */ i((e, r, o) => {
60
+ const n = r;
61
+ return Object.keys(e.Cols ?? {}).some((d) => d !== o && at(n[`${d}Changed`]));
62
+ }, "hasOtherTreeGridChangedCells"), ut = /* @__PURE__ */ i((e, r, o) => {
63
+ const n = r;
64
+ n[`${o}Changed`] = 0, !se(r) && !nr(r) && !ct(e, r, o) && (n.Changed = 0);
65
+ }, "clearTreeGridCellChangedState"), dt = /* @__PURE__ */ i((e, r, o) => {
66
+ const n = e.get(r);
67
+ if (n != null && n.has(o))
68
+ return n.get(o);
69
+ }, "resolveTreeGridCellBaselineValue"), ft = /* @__PURE__ */ i(({
65
70
  gridId: e,
66
71
  grid: r,
67
- row: t,
68
- col: o,
69
- backgroundColor: l,
70
- baselineMap: F
72
+ row: o,
73
+ col: n,
74
+ backgroundColor: d,
75
+ baselineMap: U,
76
+ highlightRefresh: v
71
77
  }) => {
72
- if (!qe(t))
78
+ if (!sr(o) || se(o) || nr(o))
73
79
  return;
74
- const C = Yr(F, t, o), b = We(r, t, o);
75
- if (C !== void 0 && b === C) {
76
- Cr(e, { row: t, col: o }), zr(r, t, o), w(t) && Gr(t, o);
80
+ const y = dt(U, o, n), L = ir(r, o, n);
81
+ if (y !== void 0 && L === y) {
82
+ Sr(e, { row: o, col: n }), ut(r, o, n);
77
83
  return;
78
84
  }
79
- yr(e, {
80
- row: t,
81
- col: o,
82
- backgroundColor: l
83
- }), w(t) && Er(t, o);
84
- }, "syncTreeGridChangedCellHighlightById"), Bt = /* @__PURE__ */ i(({
85
+ Fr(e, {
86
+ row: o,
87
+ col: n,
88
+ backgroundColor: d,
89
+ refresh: v
90
+ });
91
+ }, "syncTreeGridChangedCellHighlightById"), mt = [
92
+ "addRow",
93
+ "deleteRow",
94
+ "selectRow"
95
+ ], xt = /* @__PURE__ */ i(({
85
96
  id: e = "treeGridWrapper",
86
97
  containerStyle: r,
87
- containerClassName: t,
88
- toolbarRowBackgroundColor: o,
89
- className: l,
90
- style: F,
91
- height: C = "100%",
92
- width: b = "100%",
93
- canUseTableRadius: ne = !1,
94
- tableBorderRadius: Ke = mr,
95
- layoutUrl: $e,
96
- layoutData: j,
97
- dataUrl: ze,
98
- layoutOverrides: U,
99
- data: c,
100
- useDataUrl: oe,
101
- onSelect: ie,
102
- onRowClick: se,
103
- onRowAdd: ae,
104
- onRowDelete: de,
105
- onRowUndelete: le,
106
- onRowChange: ce,
107
- onClickButton: ue,
108
- onSave: fe,
109
- onReady: me,
110
- onAfterValueChanged: pe,
111
- datePickerEditor: Ye,
112
- highlightEditableCells: Re = !0,
113
- highlightChangedCells: Te = !0,
114
- syncDeletedRowCanEdit: ge = !0,
115
- confirmDeletedRowRemoval: Je = !0,
116
- loading: Qe,
117
- showLoading: u = !0
98
+ containerClassName: o,
99
+ toolbarRowBackgroundColor: n,
100
+ className: d,
101
+ style: U,
102
+ height: v = "100%",
103
+ width: y = "100%",
104
+ canUseTableRadius: L = !1,
105
+ tableBorderRadius: lr = vr,
106
+ suppressCfg: j = 3,
107
+ showToolbarTotalCount: le = !0,
108
+ hideChildHeaderSortButtons: ae = !0,
109
+ layoutUrl: ar,
110
+ layoutData: $,
111
+ disabledAnimations: W = mt,
112
+ dataUrl: cr,
113
+ layoutOverrides: C,
114
+ data: f,
115
+ useDataUrl: ce,
116
+ onSelect: ue,
117
+ onRowClick: de,
118
+ onRowAdd: fe,
119
+ onRowDelete: me,
120
+ onRowUndelete: Re,
121
+ onRowChange: Te,
122
+ onClickButton: pe,
123
+ onSave: Ce,
124
+ onReady: ge,
125
+ onAfterValueChanged: Ge,
126
+ datePickerEditor: ur,
127
+ highlightEditableCells: Ee = !0,
128
+ highlightChangedCells: ye = !0,
129
+ syncDeletedRowCanEdit: he = !0,
130
+ confirmDeletedRowRemoval: dr = !0,
131
+ loading: fr,
132
+ showLoading: m = !0
118
133
  }) => {
119
- var Oe, Pe;
120
- const { t: I } = Rr(), { confirmDelete: Xe } = gr(), W = pr(), q = (Pe = (Oe = W == null ? void 0 : W.theme) == null ? void 0 : Oe.main) == null ? void 0 : Pe.grid, d = n(null), Ce = n(null), Ge = n(null), K = n(null), $ = n(U), ye = n(c), Ee = n(je(j)), he = Je ? async () => await Xe({
121
- title: I("Message.삭제된 항목을 완전히 삭제하시겠습니까?"),
122
- description: I("Message.취소하면 삭제 상태가 해제됩니다."),
123
- okText: I("Button.완전 삭제")
124
- }) ? "remove" : "undelete" : void 0, _ = n({
125
- onSelect: ie,
126
- onRowClick: se,
127
- onRowAdd: ae,
128
- onRowDelete: de,
129
- onBeforeRowUndelete: he,
130
- onRowUndelete: le,
131
- onRowChange: ce,
132
- onClickButton: ue,
133
- onSave: fe,
134
- onReady: me,
135
- onAfterValueChanged: pe
136
- }), G = n(void 0), z = n(!1), k = n(void 0), L = n(void 0), Ze = n(!1), y = n(0), g = n(null), E = n(void 0), h = n(void 0), Be = n(Re), Y = n(Te), ve = n(ge), [A, er] = re(!1), [rr, B] = re(!1), [tr, De] = re(!1), O = Tr(), f = Br(
137
- () => fr(q),
138
- [q]
139
- ), be = n(
140
- M(f.editable.backgroundColor) ?? M(He)
141
- ), J = n(
142
- f.changed.backgroundColor ?? Me
143
- ), P = n(/* @__PURE__ */ new WeakMap()), Ie = n(f.state.selectedCellBackgroundColor), _e = n(f.state.hoverCellBackgroundColor), ke = n(O.id), nr = u && c !== void 0 && A && L.current !== c, Q = u && Qe === !0 || u && (rr || nr), X = !Q && c !== void 0 && N(c) && !tr, Le = /* @__PURE__ */ i((s) => {
144
- De(Ue(s));
145
- }, "syncHasDisplayDataRows"), or = /* @__PURE__ */ i((s, a, p, T) => {
146
- var m, v;
147
- Y.current && a.Fixed !== "Foot" && Jr({
134
+ var $e, We;
135
+ const { t: G } = Or(), { confirmDelete: mr } = kr(), q = Lr(), K = (We = ($e = q == null ? void 0 : q.theme) == null ? void 0 : $e.main) == null ? void 0 : We.grid, be = G("Common.전체"), Be = G("Common.건"), z = er(
136
+ () => le && !nt(C == null ? void 0 : C.Toolbar) ? ot(be, Be) : void 0,
137
+ [
138
+ C,
139
+ Be,
140
+ be,
141
+ le
142
+ ]
143
+ ), c = t(null), De = t(null), Ie = t(null), J = t(null), Y = t(C), _e = t(z), ve = t(j), Le = t(ae), Oe = t(W), Ae = t(f), ke = t(rr($)), Se = dr ? async () => await mr({
144
+ title: G("Message.삭제된 항목을 완전히 삭제하시겠습니까?"),
145
+ description: G("Message.취소하면 삭제 상태가 해제됩니다."),
146
+ okText: G("Button.완전 삭제")
147
+ }) ? "remove" : "undelete" : void 0, O = t({
148
+ onSelect: ue,
149
+ onRowClick: de,
150
+ onRowAdd: fe,
151
+ onRowDelete: me,
152
+ onBeforeRowUndelete: Se,
153
+ onRowUndelete: Re,
154
+ onRowChange: Te,
155
+ onClickButton: pe,
156
+ onSave: Ce,
157
+ onReady: ge,
158
+ onAfterValueChanged: Ge
159
+ }), h = t(void 0), Q = t(!1), A = t(void 0), k = t(void 0), Rr = t(!1), b = t(0), E = t(null), B = t(void 0), D = t(void 0), Fe = t(Ee), X = t(ye), Pe = t(he), [S, Tr] = ne(!1), [pr, I] = ne(!1), [Cr, Me] = ne(!1), F = Ar(), a = er(
160
+ () => _r(K),
161
+ [K]
162
+ ), Ne = t(
163
+ w(a.editable.backgroundColor) ?? w(ze)
164
+ ), Z = t(
165
+ a.changed.backgroundColor ?? Je
166
+ ), P = t(/* @__PURE__ */ new WeakMap()), Ve = t(a.state.focusedCellBackgroundColor), we = t(a.state.selectedCellBackgroundColor), He = t(a.state.hoverCellBackgroundColor), xe = t(F.id), gr = m && f !== void 0 && S && k.current !== f, ee = m && fr === !0 || m && (pr || gr), re = !ee && f !== void 0 && x(f) && !Cr, Ue = /* @__PURE__ */ i((s) => {
167
+ Me(tr(s));
168
+ }, "syncHasDisplayDataRows"), Gr = /* @__PURE__ */ i((s, l, R, g, T) => {
169
+ var _, p;
170
+ X.current && l.Fixed !== "Foot" && ft({
148
171
  gridId: e,
149
172
  grid: s,
150
- row: a,
151
- col: p,
152
- backgroundColor: J.current,
153
- baselineMap: P.current
173
+ row: l,
174
+ col: R,
175
+ backgroundColor: Z.current,
176
+ baselineMap: P.current,
177
+ highlightRefresh: T == null ? void 0 : T.highlightRefresh
154
178
  });
155
- const R = ((m = _.current) == null ? void 0 : m.onAfterValueChanged) ?? ((v = _.current) == null ? void 0 : v.onRowChange);
156
- R == null || R(s, a, p, T);
179
+ const u = ((_ = O.current) == null ? void 0 : _.onAfterValueChanged) ?? ((p = O.current) == null ? void 0 : p.onRowChange);
180
+ u == null || u(s, l, R, g);
157
181
  }, "handleDatePickerEditorValueChange");
158
- $.current = U, ye.current = c, Ee.current = je(j), Be.current = Re, Y.current = Te, ve.current = ge, be.current = M(f.editable.backgroundColor) ?? M(He), J.current = f.changed.backgroundColor ?? Me, Ie.current = f.state.selectedCellBackgroundColor, _e.current = f.state.hoverCellBackgroundColor;
182
+ Y.current = C, _e.current = z, ve.current = j, Le.current = ae, Oe.current = W, Ae.current = f, ke.current = rr($), Fe.current = Ee, X.current = ye, Pe.current = he, Ne.current = w(a.editable.backgroundColor) ?? w(ze), Z.current = a.changed.backgroundColor ?? Je, Ve.current = a.state.focusedCellBackgroundColor, we.current = a.state.selectedCellBackgroundColor, He.current = a.state.hoverCellBackgroundColor;
159
183
  const {
160
- datePickerEditorElement: ir,
161
- handleDatePickerEditorButtonClick: sr,
162
- handleDatePickerEditorCellClick: ar,
163
- handleDatePickerEditorKeyDown: dr,
164
- handleDatePickerEditorStartEdit: lr
165
- } = br({
166
- config: Ye,
167
- treeGridInstanceRef: d,
168
- isTreeGridReady: A,
169
- onValueChange: or
184
+ datePickerEditorElement: Er,
185
+ handleDatePickerEditorButtonClick: yr,
186
+ handleDatePickerEditorCellClick: hr,
187
+ handleDatePickerEditorKeyDown: br,
188
+ handleDatePickerEditorStartEdit: Br
189
+ } = Nr({
190
+ config: ur,
191
+ treeGridInstanceRef: c,
192
+ isTreeGridReady: S,
193
+ onValueChange: Gr
170
194
  });
171
- _.current = {
172
- onSelect: ie,
173
- onRowClick: se,
174
- onRowAdd: ae,
175
- onRowDelete: de,
176
- onBeforeRowUndelete: he,
177
- onRowUndelete: le,
178
- onRowChange: ce,
179
- onClickButton: ue,
180
- onSave: fe,
181
- onReady: me,
182
- onAfterValueChanged: pe,
183
- onInternalButtonClick: sr,
184
- onInternalCellClick: ar,
185
- onInternalKeyDown: dr,
186
- onInternalStartEdit: lr
195
+ O.current = {
196
+ onSelect: ue,
197
+ onRowClick: de,
198
+ onRowAdd: fe,
199
+ onRowDelete: me,
200
+ onBeforeRowUndelete: Se,
201
+ onRowUndelete: Re,
202
+ onRowChange: Te,
203
+ onClickButton: pe,
204
+ onSave: Ce,
205
+ onReady: ge,
206
+ onAfterValueChanged: Ge,
207
+ onInternalButtonClick: yr,
208
+ onInternalCellClick: hr,
209
+ onInternalKeyDown: br,
210
+ onInternalStartEdit: Br
187
211
  };
188
- const Ae = Ir({
189
- visible: Q || X,
190
- containerRef: Ce,
191
- treeGridInstanceRef: d,
212
+ const je = Vr({
213
+ visible: ee || re,
214
+ containerRef: De,
215
+ treeGridInstanceRef: c,
192
216
  debugId: e
193
- }), S = /* @__PURE__ */ i(() => {
194
- E.current !== void 0 && (window.clearTimeout(E.current), E.current = void 0);
195
- }, "clearBindingLoadingHideTimeout"), Z = /* @__PURE__ */ i(() => {
196
- h.current !== void 0 && (window.clearTimeout(h.current), h.current = void 0);
217
+ }), M = /* @__PURE__ */ i(() => {
218
+ B.current !== void 0 && (window.clearTimeout(B.current), B.current = void 0);
219
+ }, "clearBindingLoadingHideTimeout"), te = /* @__PURE__ */ i(() => {
220
+ D.current !== void 0 && (window.clearTimeout(D.current), D.current = void 0);
197
221
  }, "clearBodyReloadStartTimeout");
198
- x(() => {
199
- const s = /* @__PURE__ */ i((a) => {
200
- var T;
201
- ((T = a.detail) == null ? void 0 : T.gridId) === e && De(Ue(d.current));
222
+ H(() => {
223
+ const s = /* @__PURE__ */ i((l) => {
224
+ var g;
225
+ ((g = l.detail) == null ? void 0 : g.gridId) === e && Me(tr(c.current));
202
226
  }, "handleBodyRowsChanged");
203
- return window.addEventListener(xe, s), () => {
204
- window.removeEventListener(xe, s);
227
+ return window.addEventListener(Ye, s), () => {
228
+ window.removeEventListener(Ye, s);
205
229
  };
206
- }, [e]), x(() => {
207
- u || (Z(), S(), g.current = null, B(!1));
208
- }, [u]), x(() => {
230
+ }, [e]), H(() => {
231
+ m || (te(), M(), E.current = null, I(!1));
232
+ }, [m]), H(() => {
209
233
  var s;
210
- if (O.id !== ke.current && !N(d.current) && ((s = d.current) == null || s.Dispose(), d.current = null, ke.current = O.id), !!N(d.current))
211
- return _r({
234
+ if (F.id !== xe.current && !x(c.current) && ((s = c.current) == null || s.Dispose(), c.current = null, xe.current = F.id), !!x(c.current))
235
+ return wr({
212
236
  id: e,
213
- latestEventHandlersRef: _,
214
- layoutHasExplicitEnterModeRef: Ee,
215
- highlightEditableCellsRef: Be,
216
- highlightChangedCellsRef: Y,
217
- syncDeletedRowCanEditRef: ve,
218
- editableCellBackgroundColorValueRef: be,
219
- changedCellBackgroundColorRef: J,
220
- selectedCellBackgroundColorRef: Ie,
221
- hoverCellBackgroundColorRef: _e,
237
+ latestEventHandlersRef: O,
238
+ layoutHasExplicitEnterModeRef: ke,
239
+ highlightEditableCellsRef: Fe,
240
+ highlightChangedCellsRef: X,
241
+ syncDeletedRowCanEditRef: Pe,
242
+ editableCellBackgroundColorValueRef: Ne,
243
+ changedCellBackgroundColorRef: Z,
244
+ focusedCellBackgroundColorRef: Ve,
245
+ selectedCellBackgroundColorRef: we,
246
+ hoverCellBackgroundColorRef: He,
222
247
  changedCellBaselineRef: P,
223
- treeGridInstanceRef: d,
224
- treeGridInitStartedAtRef: Ge,
225
- latestLayoutOverridesRef: $,
226
- appliedLayoutOverridesRef: k,
227
- appliedBodyDataPropRef: L,
228
- hasAppliedInitialLayoutRef: Ze,
229
- syncHasDisplayDataRows: Le,
230
- setIsTreeGridReady: er
231
- }), Ge.current = ee(), Ne(e, "init"), we(e, "TreeGrid init start", {
232
- useDataUrl: !!oe,
233
- bodyRowCount: te(c)
248
+ treeGridInstanceRef: c,
249
+ treeGridInitStartedAtRef: Ie,
250
+ latestLayoutOverridesRef: Y,
251
+ latestToolbarTotalCountFormulaRef: _e,
252
+ latestSuppressCfgRef: ve,
253
+ latestHideChildHeaderSortButtonsRef: Le,
254
+ latestDisabledAnimationsRef: Oe,
255
+ appliedLayoutOverridesRef: A,
256
+ appliedBodyDataPropRef: k,
257
+ hasAppliedInitialLayoutRef: Rr,
258
+ syncHasDisplayDataRows: Ue,
259
+ setIsTreeGridReady: Tr
260
+ }), Ie.current = oe(), Qe(e, "init"), Xe(e, "TreeGrid init start", {
261
+ useDataUrl: !!ce,
262
+ bodyRowCount: ie(f)
234
263
  }), window.TreeGrid(
235
- kr({
264
+ Hr({
236
265
  id: e,
237
- layoutUrl: $e,
238
- layoutData: j,
239
- dataUrl: ze,
240
- bodyData: c,
241
- useDataUrl: oe,
242
- width: b,
243
- height: C,
244
- languageId: O.id
266
+ layoutUrl: ar,
267
+ layoutData: $,
268
+ toolbarTotalCountFormula: z,
269
+ suppressCfg: j,
270
+ disabledAnimations: W,
271
+ dataUrl: cr,
272
+ bodyData: f,
273
+ useDataUrl: ce,
274
+ width: y,
275
+ height: v,
276
+ languageId: F.id
245
277
  }),
246
278
  e,
247
279
  e
248
280
  ), () => {
249
- Nr(() => {
250
- var a;
251
- (a = d.current) == null || a.Dispose();
281
+ Yr(() => {
282
+ var l;
283
+ (l = c.current) == null || l.Dispose();
252
284
  }, 200);
253
285
  };
254
- }, []), vr(() => {
255
- const s = d.current, a = $.current, p = ye.current;
256
- if (N(s) || !A)
286
+ }, []), Pr(() => {
287
+ const s = c.current, l = Y.current, R = Ae.current;
288
+ if (x(s) || !S)
257
289
  return;
258
- const T = k.current !== a && !wr(k.current, a), R = L.current !== p && (!z.current || G.current !== p);
259
- if (!(!T && !R)) {
260
- if (T) {
261
- const m = ee();
262
- Or(s, a, R), k.current = a, Fe(e, "apply layout", m, {
263
- disableBodyReload: !!R
290
+ const g = A.current !== l && !Qr(A.current, l), T = k.current !== R && (!Q.current || h.current !== R);
291
+ if (!(!g && !T)) {
292
+ if (g) {
293
+ const u = oe();
294
+ jr(s, l, T), A.current = l, Ze(e, "apply layout", u, {
295
+ disableBodyReload: !!T
264
296
  });
265
297
  }
266
- if (R) {
267
- const m = y.current + 1, v = /* @__PURE__ */ i(() => {
268
- const D = G.current;
269
- h.current = void 0, K.current = ee(), Ne(e, "reload"), we(e, "ReloadBody start", {
270
- bodyRowCount: te(D)
271
- }), Lr(s, D, () => {
272
- if (y.current !== m)
298
+ if (T) {
299
+ const u = b.current + 1, _ = /* @__PURE__ */ i(() => {
300
+ const p = h.current;
301
+ D.current = void 0, J.current = oe(), Qe(e, "reload"), Xe(e, "ReloadBody start", {
302
+ bodyRowCount: ie(p)
303
+ }), xr(s, p, () => {
304
+ if (b.current !== u)
273
305
  return;
274
- L.current = D, P.current = /* @__PURE__ */ new WeakMap(), qr(s, P.current), Le(s), Fe(e, "ReloadBody end", K.current, {
275
- bodyRowCount: te(D)
276
- }), K.current = null, G.current === D && (G.current = void 0, z.current = !1);
277
- const Se = g.current;
278
- if (!u || Se === null) {
279
- g.current = null, B(!1);
306
+ k.current = p, P.current = /* @__PURE__ */ new WeakMap(), lt(s, P.current), Ue(s), Ze(e, "ReloadBody end", J.current, {
307
+ bodyRowCount: ie(p)
308
+ }), J.current = null, h.current === p && (h.current = void 0, Q.current = !1);
309
+ const qe = E.current;
310
+ if (!m || qe === null) {
311
+ E.current = null, I(!1);
280
312
  return;
281
313
  }
282
- const Ve = Math.max(
314
+ const Ke = Math.max(
283
315
  0,
284
- Ar - (Date.now() - Se)
316
+ Ur - (Date.now() - qe)
285
317
  );
286
- if (S(), Ve === 0) {
287
- g.current = null, B(!1);
318
+ if (M(), Ke === 0) {
319
+ E.current = null, I(!1);
288
320
  return;
289
321
  }
290
- E.current = window.setTimeout(() => {
291
- y.current === m && (E.current = void 0, g.current = null, B(!1));
292
- }, Ve);
322
+ B.current = window.setTimeout(() => {
323
+ b.current === u && (B.current = void 0, E.current = null, I(!1));
324
+ }, Ke);
293
325
  });
294
326
  }, "runBodyReload");
295
- y.current = m, G.current = p, z.current = !0, u && p !== void 0 ? (Z(), S(), g.current = Date.now(), B(!0), h.current = window.setTimeout(() => {
296
- y.current === m && v();
297
- }, 0)) : v();
327
+ b.current = u, h.current = R, Q.current = !0, m && R !== void 0 ? (te(), M(), E.current = Date.now(), I(!0), D.current = window.setTimeout(() => {
328
+ b.current === u && _();
329
+ }, 0)) : _();
298
330
  }
299
331
  }
300
- }, [A, U, c, u, e]), x(() => () => {
301
- Z(), S();
332
+ }, [S, C, f, m, e]), H(() => () => {
333
+ te(), M();
302
334
  }, []);
303
- const V = Vr({
304
- width: b,
305
- height: C,
306
- treeGridTheme: f,
307
- gridThemeConfig: q,
335
+ const N = qr({
336
+ width: y,
337
+ height: v,
338
+ treeGridTheme: a,
339
+ gridThemeConfig: K,
308
340
  containerStyle: r,
309
- tableBorderRadius: ne ? Ke : void 0
341
+ tableBorderRadius: L ? lr : void 0
310
342
  });
311
- return o !== void 0 && (V["--owp-tree-grid-toolbar-row-background-color"] = String(o)), (u || X) && (V.position = r != null && r.position && r.position !== "static" ? r.position : "relative", V.isolation = "isolate"), /* @__PURE__ */ ur(
343
+ return n !== void 0 && (N["--owp-tree-grid-toolbar-row-background-color"] = String(n)), (m || re) && (N.position = r != null && r.position && r.position !== "static" ? r.position : "relative", N.isolation = "isolate"), /* @__PURE__ */ Ir(
312
344
  "div",
313
345
  {
314
- ref: Ce,
346
+ ref: De,
315
347
  className: [
316
- Hr,
317
- ne && Mr,
318
- t
348
+ Kr,
349
+ L && zr,
350
+ o
319
351
  ].filter(Boolean).join(" "),
320
- style: V,
352
+ style: N,
321
353
  children: [
322
- /* @__PURE__ */ H(Dr, { styles: xr }),
323
- /* @__PURE__ */ H("div", { id: e, className: l, style: Fr(F, ["height", "width"]) }),
324
- /* @__PURE__ */ H(
325
- Sr,
354
+ /* @__PURE__ */ V(Mr, { styles: Jr }),
355
+ /* @__PURE__ */ V("div", { id: e, className: d, style: Xr(U, ["height", "width"]) }),
356
+ /* @__PURE__ */ V(
357
+ Wr,
326
358
  {
327
- visible: X,
328
- message: I("Message.조회된 결과가 없습니다."),
329
- overlayFrame: Ae
359
+ visible: re,
360
+ message: G("Message.조회된 결과가 없습니다."),
361
+ overlayFrame: je
330
362
  }
331
363
  ),
332
- /* @__PURE__ */ H(Pr, { visible: Q, overlayFrame: Ae }),
333
- ir
364
+ /* @__PURE__ */ V($r, { visible: ee, overlayFrame: je }),
365
+ Er
334
366
  ]
335
367
  }
336
368
  );
337
369
  }, "OwpTreeGrid");
338
370
  export {
339
- Bt as OwpTreeGrid
371
+ xt as OwpTreeGrid
340
372
  };
341
373
  //# sourceMappingURL=OwpTreeGrid.js.map