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