@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,341 +1,373 @@
|
|
|
1
|
-
var
|
|
2
|
-
var i = (e, r) =>
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { resolveOwpGridTheme as
|
|
5
|
-
import { DEFAULT_TABLE_RADIUS as
|
|
6
|
-
import { resolveTreeGridColorNumber as
|
|
7
|
-
import { useGetCurrentSettings as
|
|
8
|
-
import { useOwpTranslation as
|
|
9
|
-
import { useGetCurrentLanguage as
|
|
10
|
-
import { useConfirm as
|
|
11
|
-
import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as
|
|
12
|
-
import {
|
|
13
|
-
import { getTreeGridPerfTimestamp as
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import { useOwpTreeGridDatePickerEditor as
|
|
17
|
-
import { useOwpTreeGridOverlayFrame as
|
|
18
|
-
import { hasTreeGridExplicitEnterMode as
|
|
19
|
-
import { applyTreeGridLayoutToGrid as
|
|
20
|
-
import { OwpTreeGridLoadingOverlay as
|
|
21
|
-
import { OwpTreeGridNoDataOverlay as
|
|
22
|
-
import { createTreeGridThemeContainerStyle as
|
|
23
|
-
import { isEmpty as
|
|
24
|
-
import { delay as
|
|
25
|
-
import { isEqual as
|
|
26
|
-
import { omit as
|
|
27
|
-
|
|
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"),
|
|
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"),
|
|
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
|
|
37
|
-
for (;
|
|
38
|
-
r.push(
|
|
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"),
|
|
49
|
+
}, "getTreeGridRows"), lt = /* @__PURE__ */ i((e, r) => {
|
|
43
50
|
if (!e)
|
|
44
51
|
return;
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
new Map(
|
|
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"),
|
|
53
|
-
const
|
|
54
|
-
return Object.keys(e.Cols ?? {}).some((
|
|
55
|
-
}, "hasOtherTreeGridChangedCells"),
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
}, "clearTreeGridCellChangedState"),
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
61
|
-
return
|
|
62
|
-
|
|
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:
|
|
68
|
-
col:
|
|
69
|
-
backgroundColor:
|
|
70
|
-
baselineMap:
|
|
72
|
+
row: o,
|
|
73
|
+
col: n,
|
|
74
|
+
backgroundColor: d,
|
|
75
|
+
baselineMap: U,
|
|
76
|
+
highlightRefresh: v
|
|
71
77
|
}) => {
|
|
72
|
-
if (!
|
|
78
|
+
if (!sr(o) || se(o) || nr(o))
|
|
73
79
|
return;
|
|
74
|
-
const
|
|
75
|
-
if (
|
|
76
|
-
|
|
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
|
-
|
|
80
|
-
row:
|
|
81
|
-
col:
|
|
82
|
-
backgroundColor:
|
|
83
|
-
|
|
84
|
-
}
|
|
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:
|
|
88
|
-
toolbarRowBackgroundColor:
|
|
89
|
-
className:
|
|
90
|
-
style:
|
|
91
|
-
height:
|
|
92
|
-
width:
|
|
93
|
-
canUseTableRadius:
|
|
94
|
-
tableBorderRadius:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
|
120
|
-
const { t:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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:
|
|
151
|
-
col:
|
|
152
|
-
backgroundColor:
|
|
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
|
|
156
|
-
|
|
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
|
-
|
|
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:
|
|
161
|
-
handleDatePickerEditorButtonClick:
|
|
162
|
-
handleDatePickerEditorCellClick:
|
|
163
|
-
handleDatePickerEditorKeyDown:
|
|
164
|
-
handleDatePickerEditorStartEdit:
|
|
165
|
-
} =
|
|
166
|
-
config:
|
|
167
|
-
treeGridInstanceRef:
|
|
168
|
-
isTreeGridReady:
|
|
169
|
-
onValueChange:
|
|
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
|
-
|
|
172
|
-
onSelect:
|
|
173
|
-
onRowClick:
|
|
174
|
-
onRowAdd:
|
|
175
|
-
onRowDelete:
|
|
176
|
-
onBeforeRowUndelete:
|
|
177
|
-
onRowUndelete:
|
|
178
|
-
onRowChange:
|
|
179
|
-
onClickButton:
|
|
180
|
-
onSave:
|
|
181
|
-
onReady:
|
|
182
|
-
onAfterValueChanged:
|
|
183
|
-
onInternalButtonClick:
|
|
184
|
-
onInternalCellClick:
|
|
185
|
-
onInternalKeyDown:
|
|
186
|
-
onInternalStartEdit:
|
|
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
|
|
189
|
-
visible:
|
|
190
|
-
containerRef:
|
|
191
|
-
treeGridInstanceRef:
|
|
212
|
+
const je = Vr({
|
|
213
|
+
visible: ee || re,
|
|
214
|
+
containerRef: De,
|
|
215
|
+
treeGridInstanceRef: c,
|
|
192
216
|
debugId: e
|
|
193
|
-
}),
|
|
194
|
-
|
|
195
|
-
}, "clearBindingLoadingHideTimeout"),
|
|
196
|
-
|
|
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
|
-
|
|
199
|
-
const s = /* @__PURE__ */ i((
|
|
200
|
-
var
|
|
201
|
-
((
|
|
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(
|
|
204
|
-
window.removeEventListener(
|
|
227
|
+
return window.addEventListener(Ye, s), () => {
|
|
228
|
+
window.removeEventListener(Ye, s);
|
|
205
229
|
};
|
|
206
|
-
}, [e]),
|
|
207
|
-
|
|
208
|
-
}, [
|
|
230
|
+
}, [e]), H(() => {
|
|
231
|
+
m || (te(), M(), E.current = null, I(!1));
|
|
232
|
+
}, [m]), H(() => {
|
|
209
233
|
var s;
|
|
210
|
-
if (
|
|
211
|
-
return
|
|
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:
|
|
215
|
-
highlightEditableCellsRef:
|
|
216
|
-
highlightChangedCellsRef:
|
|
217
|
-
syncDeletedRowCanEditRef:
|
|
218
|
-
editableCellBackgroundColorValueRef:
|
|
219
|
-
changedCellBackgroundColorRef:
|
|
220
|
-
|
|
221
|
-
|
|
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:
|
|
224
|
-
treeGridInitStartedAtRef:
|
|
225
|
-
latestLayoutOverridesRef:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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
|
-
|
|
264
|
+
Hr({
|
|
236
265
|
id: e,
|
|
237
|
-
layoutUrl:
|
|
238
|
-
layoutData:
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
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
|
-
|
|
250
|
-
var
|
|
251
|
-
(
|
|
281
|
+
Yr(() => {
|
|
282
|
+
var l;
|
|
283
|
+
(l = c.current) == null || l.Dispose();
|
|
252
284
|
}, 200);
|
|
253
285
|
};
|
|
254
|
-
}, []),
|
|
255
|
-
const s =
|
|
256
|
-
if (
|
|
286
|
+
}, []), Pr(() => {
|
|
287
|
+
const s = c.current, l = Y.current, R = Ae.current;
|
|
288
|
+
if (x(s) || !S)
|
|
257
289
|
return;
|
|
258
|
-
const
|
|
259
|
-
if (!(!
|
|
260
|
-
if (
|
|
261
|
-
const
|
|
262
|
-
|
|
263
|
-
disableBodyReload: !!
|
|
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 (
|
|
267
|
-
const
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
bodyRowCount:
|
|
271
|
-
}),
|
|
272
|
-
if (
|
|
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
|
-
|
|
275
|
-
bodyRowCount:
|
|
276
|
-
}),
|
|
277
|
-
const
|
|
278
|
-
if (!
|
|
279
|
-
|
|
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
|
|
314
|
+
const Ke = Math.max(
|
|
283
315
|
0,
|
|
284
|
-
|
|
316
|
+
Ur - (Date.now() - qe)
|
|
285
317
|
);
|
|
286
|
-
if (
|
|
287
|
-
|
|
318
|
+
if (M(), Ke === 0) {
|
|
319
|
+
E.current = null, I(!1);
|
|
288
320
|
return;
|
|
289
321
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
},
|
|
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
|
-
|
|
296
|
-
|
|
297
|
-
}, 0)) :
|
|
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
|
-
}, [
|
|
301
|
-
|
|
332
|
+
}, [S, C, f, m, e]), H(() => () => {
|
|
333
|
+
te(), M();
|
|
302
334
|
}, []);
|
|
303
|
-
const
|
|
304
|
-
width:
|
|
305
|
-
height:
|
|
306
|
-
treeGridTheme:
|
|
307
|
-
gridThemeConfig:
|
|
335
|
+
const N = qr({
|
|
336
|
+
width: y,
|
|
337
|
+
height: v,
|
|
338
|
+
treeGridTheme: a,
|
|
339
|
+
gridThemeConfig: K,
|
|
308
340
|
containerStyle: r,
|
|
309
|
-
tableBorderRadius:
|
|
341
|
+
tableBorderRadius: L ? lr : void 0
|
|
310
342
|
});
|
|
311
|
-
return
|
|
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:
|
|
346
|
+
ref: De,
|
|
315
347
|
className: [
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
348
|
+
Kr,
|
|
349
|
+
L && zr,
|
|
350
|
+
o
|
|
319
351
|
].filter(Boolean).join(" "),
|
|
320
|
-
style:
|
|
352
|
+
style: N,
|
|
321
353
|
children: [
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
-
/* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
|
|
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:
|
|
328
|
-
message:
|
|
329
|
-
overlayFrame:
|
|
359
|
+
visible: re,
|
|
360
|
+
message: G("Message.조회된 결과가 없습니다."),
|
|
361
|
+
overlayFrame: je
|
|
330
362
|
}
|
|
331
363
|
),
|
|
332
|
-
/* @__PURE__ */
|
|
333
|
-
|
|
364
|
+
/* @__PURE__ */ V($r, { visible: ee, overlayFrame: je }),
|
|
365
|
+
Er
|
|
334
366
|
]
|
|
335
367
|
}
|
|
336
368
|
);
|
|
337
369
|
}, "OwpTreeGrid");
|
|
338
370
|
export {
|
|
339
|
-
|
|
371
|
+
xt as OwpTreeGrid
|
|
340
372
|
};
|
|
341
373
|
//# sourceMappingURL=OwpTreeGrid.js.map
|