@owp/core 2.5.47 → 2.5.49
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/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +4 -4
- package/dist/_virtual/index17.js +5 -2
- package/dist/_virtual/index17.js.map +1 -1
- package/dist/_virtual/index18.js +3 -3
- package/dist/_virtual/index19.js +3 -3
- package/dist/_virtual/index20.js +2 -5
- package/dist/_virtual/index20.js.map +1 -1
- package/dist/_virtual/index5.js +2 -2
- package/dist/components/OwpBarcodeInput/OwpBarcodeInputField.js.map +1 -1
- package/dist/components/OwpCommonCode/OwpCommonCodeQuerySelector.js.map +1 -1
- package/dist/components/OwpCommonCode/OwpCommonCodeRadioGroup.js.map +1 -1
- package/dist/components/OwpCommonCode/OwpCommonCodeSelector.js.map +1 -1
- package/dist/components/OwpDialog/OwpAlertDialog.js.map +1 -1
- package/dist/components/OwpDialog/OwpDialog.js.map +1 -1
- package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +1 -1
- package/dist/components/OwpErrorStatusPage/OwpErrorStatusPage.js.map +1 -1
- package/dist/components/OwpExportExcelButton/OwpExportExcelButton.js.map +1 -1
- package/dist/components/OwpFieldHelperText/OwpFieldHelperText.js.map +1 -1
- package/dist/components/OwpFilePickerButton/OwpFilePickerButton.js.map +1 -1
- package/dist/components/OwpHidden/OwpHidden.js.map +1 -1
- package/dist/components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.js.map +1 -1
- package/dist/components/OwpLayout/OwpLayout.js +1 -1
- package/dist/components/OwpLayout/OwpLayout.js.map +1 -1
- package/dist/components/OwpLoading/OwpLoading.js.map +1 -1
- package/dist/components/OwpMoreActionsButton/OwpMoreActionsButton.js.map +1 -1
- package/dist/components/OwpNavLinkAdapter/OwpNavLinkAdapter.js.map +1 -1
- package/dist/components/OwpOptionSelector/OwpOptionSelector.js.map +1 -1
- package/dist/components/OwpPageBreadcrumb/OwpPageBreadcrumb.js.map +1 -1
- package/dist/components/OwpPageCarded/OwpPageCarded.js +21 -23
- package/dist/components/OwpPageCarded/OwpPageCarded.js.map +1 -1
- package/dist/components/OwpPageLockLoading/OwpPageLockLoading.js.map +1 -1
- package/dist/components/OwpPageTitle/OwpPageTitle.js.map +1 -1
- package/dist/components/OwpPicker/OwpDatePicker.js +141 -144
- package/dist/components/OwpPicker/OwpDatePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpDateRangePicker.js +114 -118
- package/dist/components/OwpPicker/OwpDateRangePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpTimePicker.js.map +1 -1
- package/dist/components/OwpPicker/OwpWeekDatePicker.js +152 -155
- package/dist/components/OwpPicker/OwpWeekDatePicker.js.map +1 -1
- package/dist/components/OwpPicker/constants/index.js.map +1 -1
- package/dist/components/OwpPicker/hooks/useOwpPickerPopperTransition.js.map +1 -1
- package/dist/components/OwpPicker/internal/OwpDatePickerCalendarHeader.js.map +1 -1
- package/dist/components/OwpPicker/utils/registerOwpDatePickerLocales.js +13 -0
- package/dist/components/OwpPicker/utils/registerOwpDatePickerLocales.js.map +1 -0
- package/dist/components/OwpQuerySelector/OwpQuerySelector.js +1 -1
- package/dist/components/OwpRequiredHelperText/OwpRequiredHelperText.js.map +1 -1
- package/dist/components/OwpSelectorBase/OwpSelectorSelect.js.map +1 -1
- package/dist/components/OwpSelectorBase/hooks/useOwpSelectorBase.js.map +1 -1
- package/dist/components/OwpSelectorBase/selectorBaseStyles.js.map +1 -1
- package/dist/components/OwpSnackbarContent/OwpSnackbarContent.js.map +1 -1
- package/dist/components/OwpStyleProvider/OwpStyleProvider.js.map +1 -1
- package/dist/components/OwpSuspense/OwpSuspense.js +1 -1
- package/dist/components/OwpTable/OwpDataTable.js +277 -270
- package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
- package/dist/components/OwpTable/OwpFieldTable.js +42 -43
- package/dist/components/OwpTable/OwpFieldTable.js.map +1 -1
- package/dist/components/OwpTable/OwpTable.js +54 -55
- package/dist/components/OwpTable/OwpTable.js.map +1 -1
- package/dist/components/OwpTable/internal/OwpTableBase.js +34 -35
- package/dist/components/OwpTable/internal/OwpTableBase.js.map +1 -1
- package/dist/components/OwpTable/internal/defaultTableStyle.js +18 -14
- package/dist/components/OwpTable/internal/defaultTableStyle.js.map +1 -1
- package/dist/components/OwpTable/internal/treeGridTableStyle.js.map +1 -1
- package/dist/components/OwpTabs/OwpTab.js.map +1 -1
- package/dist/components/OwpTabs/OwpTabs.js.map +1 -1
- package/dist/components/OwpTextField/OwpTextMaskField.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js +271 -257
- package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js +43 -37
- package/dist/components/OwpTreeGrid/OwpTreeGridToolbar.js.map +1 -1
- package/dist/components/OwpTreeGrid/TreeGrid.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridErrorTooltip.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js +41 -0
- package/dist/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js +141 -144
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridDatePickerEditor.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridErrorTooltip.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.js +161 -0
- package/dist/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.js.map +1 -0
- package/dist/components/OwpTreeGrid/internal/treeGridLayout.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +842 -617
- package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridSelection.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js +353 -321
- package/dist/components/OwpTreeGrid/internal/treeGridTheme.js.map +1 -1
- package/dist/components/OwpTreeGrid/internal/utils/perf.js.map +1 -1
- package/dist/components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.js.map +1 -1
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js +1 -1
- package/dist/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.js.map +1 -1
- package/dist/components/OwpYesNoSelector/OwpYesNoSelector.js.map +1 -1
- package/dist/configs/defaultConfig.js.map +1 -1
- package/dist/constants/excel.js.map +1 -1
- package/dist/constants/gridTheme.js.map +1 -1
- package/dist/constants/language.js.map +1 -1
- package/dist/constants/localStorageKeys.js.map +1 -1
- package/dist/constants/table.js.map +1 -1
- package/dist/constants/tableTheme.js.map +1 -1
- package/dist/constants/treeGrid.js.map +1 -1
- package/dist/contexts/OwpAppContext.js +14 -0
- package/dist/contexts/OwpAppContext.js.map +1 -0
- package/dist/contexts/OwpAppProvider.js +20 -23
- package/dist/contexts/OwpAppProvider.js.map +1 -1
- package/dist/contexts/OwpCoreProvider.js.map +1 -1
- package/dist/contexts/OwpStoreProvider.js.map +1 -1
- package/dist/contexts/OwpUiProvider.js +1 -1
- package/dist/contexts/OwpUiProvider.js.map +1 -1
- package/dist/contexts.js +8 -7
- package/dist/contexts.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvas.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewCanvasSections.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
- package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.icons.js.map +1 -1
- package/dist/features/themePreview/components/themePreviewCanvas.shared.js.map +1 -1
- package/dist/features/themePreview/configs/grid.js.map +1 -1
- package/dist/features/themePreview/configs/presets.js.map +1 -1
- package/dist/features/themePreview/configs/previewStorage.js.map +1 -1
- package/dist/features/themePreview/configs/settings.js.map +1 -1
- package/dist/features/themePreview/configs/snackbar.js.map +1 -1
- package/dist/features/themePreview/configs/surface.js.map +1 -1
- package/dist/features/themePreview/configs/table.js.map +1 -1
- package/dist/features/themePreview/dialogs/ThemePreviewDialog.js.map +1 -1
- package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
- package/dist/features/themePreview/utils/color.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewDefinitions.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewExport.js.map +1 -1
- package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
- package/dist/hooks/internal/useAccessTokenGuard.js +1 -1
- package/dist/hooks/internal/useAccessTokenGuard.js.map +1 -1
- package/dist/hooks/internal/useCurrentLanguage.js.map +1 -1
- package/dist/hooks/internal/useInitCommonCodes.js +1 -1
- package/dist/hooks/internal/useNavigationActiveRouteRemount.js +1 -1
- package/dist/hooks/useCommonCodeList.js.map +1 -1
- package/dist/hooks/useConfirm.js.map +1 -1
- package/dist/hooks/useCurrentUser.js.map +1 -1
- package/dist/hooks/useCurrentUserSeq.js.map +1 -1
- package/dist/hooks/useFormDataUploadMutation.js.map +1 -1
- package/dist/hooks/useInitApp.js +1 -1
- package/dist/hooks/useInitApp.js.map +1 -1
- package/dist/hooks/useStorage.js.map +1 -1
- package/dist/hooks/useTreeGridExcelExport.js.map +1 -1
- package/dist/layout/components/logo/Logo.js +1 -1
- package/dist/layout/components/navbar/NavbarToggleButton.js.map +1 -1
- package/dist/layout/components/navigation/NavItem.js.map +1 -1
- package/dist/layout/components/navigation/NavigationMenu.js.map +1 -1
- package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
- package/dist/layout/components/toggles/ThemePreviewToggle.js +1 -1
- package/dist/layout/components/toolbar/ToolbarLayout.js +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/ITF/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
- package/dist/owp-app.css +1 -1
- package/dist/store/atoms/navbarAtoms.js.map +1 -1
- package/dist/store/atoms/owpSettingsAtoms.js.map +1 -1
- package/dist/store/atoms/owpStore.js.map +1 -1
- package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +2 -2
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +3 -2
- package/dist/types/components/OwpCommonCode/OwpCommonCodeQuerySelector.d.ts +28 -2
- package/dist/types/components/OwpCommonCode/OwpCommonCodeRadioGroup.d.ts +14 -2
- package/dist/types/components/OwpCommonCode/OwpCommonCodeSelector.d.ts +20 -2
- package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +18 -4
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +19 -10
- package/dist/types/components/OwpDialogsProvider/OwpDialogsContext.d.ts +1 -0
- package/dist/types/components/OwpErrorStatusPage/OwpErrorStatusPage.d.ts +8 -0
- package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +24 -6
- package/dist/types/components/OwpFieldHelperText/OwpFieldHelperText.d.ts +5 -0
- package/dist/types/components/OwpFilePickerButton/OwpFilePickerButton.d.ts +13 -6
- package/dist/types/components/OwpHidden/OwpHidden.d.ts +12 -0
- package/dist/types/components/OwpLanguageSwitcherSelect/OwpLanguageSwitcherSelect.d.ts +2 -1
- package/dist/types/components/OwpLayout/OwpLayout.d.ts +10 -4
- package/dist/types/components/OwpLoading/OwpLoading.d.ts +7 -1
- package/dist/types/components/OwpMoreActionsButton/OwpMoreActionsButton.d.ts +34 -7
- package/dist/types/components/OwpNavLinkAdapter/OwpNavLinkAdapter.d.ts +10 -5
- package/dist/types/components/OwpNumberField/OwpNumberField.d.ts +4 -4
- package/dist/types/components/OwpOptionSelector/OwpOptionSelector.d.ts +19 -2
- package/dist/types/components/OwpPageBreadcrumb/OwpPageBreadcrumb.d.ts +8 -0
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -4
- package/dist/types/components/OwpPageCarded/internal/OwpPageCardedHeader.d.ts +3 -3
- package/dist/types/components/OwpPageCarded/internal/OwpPageCardedSidebar.d.ts +1 -1
- package/dist/types/components/OwpPageCarded/internal/OwpPageCardedSidebarContent.d.ts +1 -1
- package/dist/types/components/OwpPageContent/OwpPageContent.d.ts +7 -7
- package/dist/types/components/OwpPageLockLoading/OwpPageLockLoading.d.ts +7 -3
- package/dist/types/components/OwpPageSkeleton/OwpPageSkeleton.d.ts +1 -1
- package/dist/types/components/OwpPageTitle/OwpPageTitle.d.ts +10 -6
- package/dist/types/components/OwpPicker/OwpDatePicker.d.ts +18 -11
- package/dist/types/components/OwpPicker/OwpDateRangePicker.d.ts +15 -10
- package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +17 -12
- package/dist/types/components/OwpPicker/OwpWeekDatePicker.d.ts +17 -12
- package/dist/types/components/OwpPicker/constants/index.d.ts +15 -0
- package/dist/types/components/OwpPicker/hooks/useOwpPickerPopperTransition.d.ts +5 -1
- package/dist/types/components/OwpPicker/internal/CalendarContainer.d.ts +3 -3
- package/dist/types/components/OwpPicker/internal/DatePickerInput.d.ts +11 -11
- package/dist/types/components/OwpPicker/internal/OwpDatePickerCalendarHeader.d.ts +1 -0
- package/dist/types/components/OwpPicker/utils/registerOwpDatePickerLocales.d.ts +4 -0
- package/dist/types/components/OwpQuerySelector/OwpQuerySelector.d.ts +2 -2
- package/dist/types/components/OwpQuerySelector/types/types.d.ts +31 -0
- package/dist/types/components/OwpRequiredHelperText/OwpRequiredHelperText.d.ts +10 -6
- package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +2 -2
- package/dist/types/components/OwpSearchFilter/OwpSearchFilter.d.ts +7 -7
- package/dist/types/components/OwpSection/OwpSection.d.ts +13 -13
- package/dist/types/components/OwpSelectorBase/OwpSelectorAutocomplete.d.ts +2 -2
- package/dist/types/components/OwpSelectorBase/OwpSelectorBase.d.ts +2 -2
- package/dist/types/components/OwpSelectorBase/OwpSelectorSelect.d.ts +2 -2
- package/dist/types/components/OwpSelectorBase/hooks/useOwpSelectorBase.d.ts +2 -2
- package/dist/types/components/OwpSelectorBase/selectorBaseStyles.d.ts +2 -0
- package/dist/types/components/OwpSelectorBase/types/types.d.ts +54 -1
- package/dist/types/components/OwpSelectorBase/utils/querySelectorUtils.d.ts +2 -2
- package/dist/types/components/OwpSnackbarContent/OwpSnackbarContent.d.ts +1 -0
- package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +10 -5
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +1 -1
- package/dist/types/components/OwpTable/OwpDataTable.d.ts +11 -11
- package/dist/types/components/OwpTable/OwpFieldTable.d.ts +13 -13
- package/dist/types/components/OwpTable/OwpTable.d.ts +7 -7
- package/dist/types/components/OwpTable/internal/OwpTableBase.d.ts +15 -2
- package/dist/types/components/OwpTable/internal/defaultTableStyle.d.ts +8 -0
- package/dist/types/components/OwpTable/internal/treeGridTableStyle.d.ts +4 -1
- package/dist/types/components/OwpTabs/OwpTab.d.ts +1 -3
- package/dist/types/components/OwpTabs/OwpTabs.d.ts +1 -3
- package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +7 -4
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +91 -15
- package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +10 -5
- package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +11 -7
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridErrorTooltip.d.ts +6 -2
- package/dist/types/components/OwpTreeGrid/internal/OwpTreeGridScrollLoadingOverlay.d.ts +10 -0
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.d.ts +6 -0
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridErrorTooltip.d.ts +8 -1
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridOverlayFrame.d.ts +7 -0
- package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.d.ts +14 -0
- package/dist/types/components/OwpTreeGrid/internal/treeGridLayout.d.ts +12 -0
- package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +38 -3
- package/dist/types/components/OwpTreeGrid/internal/treeGridSelection.d.ts +10 -1
- package/dist/types/components/OwpTreeGrid/internal/treeGridTheme.d.ts +18 -2
- package/dist/types/components/OwpTreeGrid/internal/utils/perf.d.ts +4 -3
- package/dist/types/components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.d.ts +7 -3
- package/dist/types/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.d.ts +7 -3
- package/dist/types/components/OwpYesNoSelector/OwpYesNoSelector.d.ts +7 -6
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +8 -8
- package/dist/types/configs/defaultConfig.d.ts +13 -7
- package/dist/types/configs/layoutConfig.d.ts +1 -0
- package/dist/types/constants/excel.d.ts +18 -0
- package/dist/types/constants/gridTheme.d.ts +10 -1
- package/dist/types/constants/language.d.ts +3 -0
- package/dist/types/constants/localStorageKeys.d.ts +7 -1
- package/dist/types/constants/storageKeys.d.ts +1 -1
- package/dist/types/constants/table.d.ts +3 -0
- package/dist/types/constants/tableTheme.d.ts +6 -2
- package/dist/types/constants/treeGrid.d.ts +19 -3
- package/dist/types/contexts/OwpAppContext.d.ts +164 -0
- package/dist/types/contexts/OwpAppProvider.d.ts +4 -81
- package/dist/types/contexts/OwpCoreProvider.d.ts +11 -7
- package/dist/types/contexts/OwpStoreProvider.d.ts +8 -4
- package/dist/types/contexts/OwpUiProvider.d.ts +9 -4
- package/dist/types/contexts/index.d.ts +1 -0
- package/dist/types/dayjs.d.ts +2 -2
- package/dist/types/features/themePreview/components/ThemePreviewCanvas.d.ts +4 -0
- package/dist/types/features/themePreview/components/ThemePreviewCanvasSections.d.ts +7 -0
- package/dist/types/features/themePreview/components/ThemePreviewColorField.d.ts +4 -0
- package/dist/types/features/themePreview/components/ThemePreviewControls.d.ts +4 -0
- package/dist/types/features/themePreview/components/themePreviewCanvas.icons.d.ts +1 -0
- package/dist/types/features/themePreview/components/themePreviewCanvas.shared.d.ts +81 -0
- package/dist/types/features/themePreview/configs/grid.d.ts +3 -0
- package/dist/types/features/themePreview/configs/presets.d.ts +12 -0
- package/dist/types/features/themePreview/configs/previewStorage.d.ts +44 -0
- package/dist/types/features/themePreview/configs/settings.d.ts +3 -0
- package/dist/types/features/themePreview/configs/snackbar.d.ts +23 -0
- package/dist/types/features/themePreview/configs/surface.d.ts +3 -0
- package/dist/types/features/themePreview/configs/table.d.ts +24 -0
- package/dist/types/features/themePreview/dialogs/ThemePreviewDialog.d.ts +4 -0
- package/dist/types/features/themePreview/hooks/useThemePreview.d.ts +4 -0
- package/dist/types/features/themePreview/types/themePreview.d.ts +59 -0
- package/dist/types/features/themePreview/utils/color.d.ts +25 -0
- package/dist/types/features/themePreview/utils/themePreviewDefinitions.d.ts +6 -0
- package/dist/types/features/themePreview/utils/themePreviewExport.d.ts +19 -0
- package/dist/types/features/themePreview/utils/themePreviewSettings.d.ts +84 -0
- package/dist/types/hooks/internal/useAccessTokenGuard.d.ts +7 -3
- package/dist/types/hooks/internal/useCurrentLanguage.d.ts +4 -3
- package/dist/types/hooks/internal/useHeaderWrapState.d.ts +1 -1
- package/dist/types/hooks/internal/useInitCommonCodes.d.ts +1 -1
- package/dist/types/hooks/internal/useNavbar.d.ts +2 -2
- package/dist/types/hooks/internal/useShortcuts.d.ts +2 -2
- package/dist/types/hooks/useCommonCodeList.d.ts +12 -4
- package/dist/types/hooks/useConfirm.d.ts +5 -1
- package/dist/types/hooks/useCurrentUser.d.ts +5 -2
- package/dist/types/hooks/useCurrentUserId.d.ts +2 -2
- package/dist/types/hooks/useCurrentUserSeq.d.ts +11 -4
- package/dist/types/hooks/useFormDataUploadMutation.d.ts +18 -3
- package/dist/types/hooks/useInitApp.d.ts +7 -3
- package/dist/types/hooks/useLogoSrc.d.ts +2 -2
- package/dist/types/hooks/useNavigation.d.ts +2 -2
- package/dist/types/hooks/useOwpSettings.d.ts +13 -13
- package/dist/types/hooks/useOwpTranslation.d.ts +1 -1
- package/dist/types/hooks/usePageLockLoading.d.ts +2 -2
- package/dist/types/hooks/useStorage.d.ts +10 -4
- package/dist/types/hooks/useTreeGridCommonCodeEnums.d.ts +4 -4
- package/dist/types/hooks/useTreeGridEnums.d.ts +6 -6
- package/dist/types/hooks/useTreeGridExcelExport.d.ts +4 -1
- package/dist/types/layout/Layout.d.ts +1 -1
- package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +5 -4
- package/dist/types/layout/components/navigation/NavItem.d.ts +9 -3
- package/dist/types/layout/components/navigation/NavigationMenu.d.ts +13 -8
- package/dist/types/store/atoms/navbarAtoms.d.ts +5 -1
- package/dist/types/store/atoms/owpSettingsAtoms.d.ts +60 -8
- package/dist/types/store/atoms/owpStore.d.ts +9 -2
- package/dist/types/types/OwpDialogTypes.d.ts +75 -0
- package/dist/types/types/OwpGridThemeTypes.d.ts +59 -0
- package/dist/types/types/OwpNavigationTypes.d.ts +29 -0
- package/dist/types/types/OwpRouteTypes.d.ts +10 -3
- package/dist/types/types/OwpSettingsTypes.d.ts +30 -0
- package/dist/types/types/OwpTableThemeTypes.d.ts +30 -0
- package/dist/types/types/ThemeFormConfigTypes.d.ts +5 -6
- package/dist/types/utils/commonCodeUtils.d.ts +18 -0
- package/dist/types/utils/createFormDataBody.d.ts +18 -0
- package/dist/types/utils/excelUtil.d.ts +5 -5
- package/dist/types/utils/getStartPagePath.d.ts +10 -0
- package/dist/types/utils/internal/exceljsBrowser.d.ts +1 -1
- package/dist/types/utils/internal/jszipBrowser.d.ts +1 -1
- package/dist/types/utils/internal/treeGridBodyRowsEvent.d.ts +4 -1
- package/dist/types/utils/isEnterKeyEvent.d.ts +2 -2
- package/dist/types/utils/preloadOnIdle.d.ts +1 -1
- package/dist/types/utils/rebuildValue.d.ts +8 -1
- package/dist/types/utils/treeGridExportExcelUtil.d.ts +6 -0
- package/dist/types/utils/treeGridUtil.d.ts +38 -1
- package/dist/types/utils/zipUtil.d.ts +14 -2
- package/dist/utils/commonCodeUtils.js.map +1 -1
- package/dist/utils/createFormDataBody.js.map +1 -1
- package/dist/utils/getStartPagePath.js.map +1 -1
- package/dist/utils/internal/treeGridBodyRowsEvent.js.map +1 -1
- package/dist/utils/rebuildValue.js.map +1 -1
- package/dist/utils/treeGridExportExcelUtil.js.map +1 -1
- package/dist/utils/treeGridUtil.js.map +1 -1
- package/dist/utils/zipUtil.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,45 +1,47 @@
|
|
|
1
|
-
var
|
|
2
|
-
var n = (e, t) =>
|
|
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 { getTreeGridCellComparableValue as
|
|
13
|
-
import { getTreeGridPerfTimestamp as
|
|
14
|
-
import { useMemo as
|
|
15
|
-
import
|
|
16
|
-
import { useOwpTreeGridDatePickerEditor as
|
|
17
|
-
import { useOwpTreeGridErrorTooltip as
|
|
18
|
-
import { useOwpTreeGridAddedRowBoxOverlay as
|
|
19
|
-
import { useOwpTreeGridOverlayFrame as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
|
|
1
|
+
var Ir = Object.defineProperty;
|
|
2
|
+
var n = (e, t) => Ir(e, "name", { value: t, configurable: !0 });
|
|
3
|
+
import { jsxs as Or, jsx as y } 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 Ar } from "../../constants/gridTheme.js";
|
|
5
|
+
import { DEFAULT_TABLE_RADIUS as wr } from "../../constants/table.js";
|
|
6
|
+
import { resolveTreeGridColorNumber as H, TREEGRID_INPUT_CELL_COLOR as Ze, TREEGRID_CELL_HIGHLIGHT_COLOR as er } from "../../constants/treeGrid.js";
|
|
7
|
+
import { useGetCurrentSettings as kr } from "../../hooks/useOwpSettings.js";
|
|
8
|
+
import { useOwpTranslation as Sr } from "../../hooks/useOwpTranslation.js";
|
|
9
|
+
import { useGetCurrentLanguage as Fr } from "../../hooks/internal/useCurrentLanguage.js";
|
|
10
|
+
import { useConfirm as Pr } from "../../hooks/useConfirm.js";
|
|
11
|
+
import { TREE_GRID_BODY_ROWS_CHANGED_EVENT as rr } from "../../utils/internal/treeGridBodyRowsEvent.js";
|
|
12
|
+
import { getTreeGridCellComparableValue as Mr } from "../../utils/treeGridUtil.js";
|
|
13
|
+
import { getTreeGridPerfTimestamp as te, countTreeGridPerf as tr, logTreeGridPerf as or, measureTreeGridPerf as nr } from "./internal/utils/perf.js";
|
|
14
|
+
import { useMemo as ir, useRef as r, useState as oe, useEffect as U, useLayoutEffect as Nr } from "react";
|
|
15
|
+
import Vr from "@mui/material/GlobalStyles";
|
|
16
|
+
import { useOwpTreeGridDatePickerEditor as xr } from "./internal/hooks/useOwpTreeGridDatePickerEditor.js";
|
|
17
|
+
import { useOwpTreeGridErrorTooltip as Hr } from "./internal/hooks/useOwpTreeGridErrorTooltip.js";
|
|
18
|
+
import { useOwpTreeGridAddedRowBoxOverlay as Ur } from "./internal/hooks/useOwpTreeGridAddedRowBoxOverlay.js";
|
|
19
|
+
import { useOwpTreeGridOverlayFrame as jr } from "./internal/hooks/useOwpTreeGridOverlayFrame.js";
|
|
20
|
+
import { useOwpTreeGridScrollRenderLoading as Wr } from "./internal/hooks/useOwpTreeGridScrollRenderLoading.js";
|
|
21
|
+
import { hasTreeGridExplicitEnterMode as lr, bindTreeGridEvents as $r, getTreeGridBodyDataCount as ne, buildTreeGridInitializationOptions as Kr, hasTreeGridDisplayDataRows as sr, replaceTreeGridBodyData as qr, syncTreeGridChangedCellHighlight as zr, TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS as Jr } from "./internal/treeGridRuntime.js";
|
|
22
|
+
import { applyTreeGridLayoutToGrid as Yr } from "./internal/treeGridLayout.js";
|
|
23
|
+
import { OwpTreeGridAddedRowBoxOverlay as Qr } from "./internal/OwpTreeGridAddedRowBoxOverlay.js";
|
|
24
|
+
import { OwpTreeGridLoadingOverlay as Xr } from "./internal/OwpTreeGridLoadingOverlay.js";
|
|
25
|
+
import { OwpTreeGridNoDataOverlay as Zr } from "./internal/OwpTreeGridNoDataOverlay.js";
|
|
26
|
+
import { OwpTreeGridScrollLoadingOverlay as et } from "./internal/OwpTreeGridScrollLoadingOverlay.js";
|
|
27
|
+
import { createTreeGridThemeContainerStyle as rt, TREE_GRID_THEME_WRAPPER_CLASS as tt, TREE_GRID_THEME_TABLE_RADIUS_CLASS as ot, treeGridThemeStyles as nt } from "./internal/treeGridTheme.js";
|
|
28
|
+
import { isEmpty as I } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
|
|
29
|
+
import { isEqual as it } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/predicate/isEqual.js";
|
|
30
|
+
import { omit as lt } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/omit.js";
|
|
31
|
+
import { isPlainObject as st } from "../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js";
|
|
32
|
+
const at = "NumberToString(count(5),',0')", ct = ["Formula", "FormulaFormula"], ut = Object.prototype.hasOwnProperty, ar = /* @__PURE__ */ n((e) => JSON.stringify(e) ?? '""', "toTreeGridFormulaStringLiteral"), dt = /* @__PURE__ */ n((e, t) => `${ar(
|
|
31
33
|
`${e} : `
|
|
32
|
-
)}+${
|
|
34
|
+
)}+${at}+${ar(
|
|
33
35
|
` ${t}`
|
|
34
|
-
)}`, "buildTreeGridTotalCountToolbarFormula"),
|
|
35
|
-
(t) =>
|
|
36
|
-
) : !1, "hasTreeGridToolbarFormulaField"),
|
|
36
|
+
)}`, "buildTreeGridTotalCountToolbarFormula"), ft = /* @__PURE__ */ n((e) => st(e) ? ct.some(
|
|
37
|
+
(t) => ut.call(e, t)
|
|
38
|
+
) : !1, "hasTreeGridToolbarFormulaField"), mt = /* @__PURE__ */ n((e) => {
|
|
37
39
|
const t = e == null ? void 0 : e.Visible;
|
|
38
40
|
return !!e && t !== 0 && t !== !1 && t !== "0";
|
|
39
|
-
}, "isVisibleTreeGridRow"),
|
|
41
|
+
}, "isVisibleTreeGridRow"), pt = /* @__PURE__ */ n((e) => {
|
|
40
42
|
const t = e == null ? void 0 : e.Added;
|
|
41
43
|
return !!e && t !== 0 && t !== !1 && t !== "0" && t !== void 0;
|
|
42
|
-
}, "isAddedTreeGridRow"),
|
|
44
|
+
}, "isAddedTreeGridRow"), Rt = /* @__PURE__ */ n((e) => !e || e.Fixed === "Foot" || !mt(e) ? !1 : e.Kind === "Data" || pt(e), "isDisplayTreeGridRow"), Tt = /* @__PURE__ */ n((e) => {
|
|
43
45
|
if (typeof e.GetFirst == "function" && typeof e.GetNext == "function") {
|
|
44
46
|
const t = [];
|
|
45
47
|
let f = e.GetFirst();
|
|
@@ -48,316 +50,328 @@ const nt = "NumberToString(count(5),',0')", it = ["Formula", "FormulaFormula"],
|
|
|
48
50
|
return t;
|
|
49
51
|
}
|
|
50
52
|
return Object.values(e.Rows ?? {});
|
|
51
|
-
}, "getTreeGridRows"),
|
|
53
|
+
}, "getTreeGridRows"), Gt = /* @__PURE__ */ n((e, t) => {
|
|
52
54
|
if (!e)
|
|
53
55
|
return;
|
|
54
56
|
const f = Object.keys(e.Cols ?? {}).filter(Boolean);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
new Map(f.map((O) => [O,
|
|
57
|
+
Tt(e).forEach((G) => {
|
|
58
|
+
Rt(G) && t.set(
|
|
59
|
+
G,
|
|
60
|
+
new Map(f.map((O) => [O, Mr(e, G, O)]))
|
|
59
61
|
);
|
|
60
62
|
});
|
|
61
|
-
}, "captureTreeGridChangeBaselines"),
|
|
63
|
+
}, "captureTreeGridChangeBaselines"), Et = [
|
|
62
64
|
"addRow",
|
|
63
65
|
"deleteRow",
|
|
64
66
|
"selectRow"
|
|
65
|
-
],
|
|
67
|
+
], Yt = /* @__PURE__ */ n(({
|
|
66
68
|
id: e = "treeGridWrapper",
|
|
67
69
|
containerStyle: t,
|
|
68
70
|
containerClassName: f,
|
|
69
|
-
toolbarRowBackgroundColor:
|
|
71
|
+
toolbarRowBackgroundColor: G,
|
|
70
72
|
className: O,
|
|
71
|
-
style:
|
|
72
|
-
height:
|
|
73
|
-
width:
|
|
73
|
+
style: cr,
|
|
74
|
+
height: ie = "100%",
|
|
75
|
+
width: le = "100%",
|
|
74
76
|
canUseTableRadius: se = !1,
|
|
75
|
-
tableBorderRadius:
|
|
76
|
-
suppressCfg:
|
|
77
|
-
showToolbarTotalCount:
|
|
78
|
-
hideChildHeaderSortButtons:
|
|
79
|
-
selectionScope:
|
|
80
|
-
layoutUrl:
|
|
81
|
-
layoutData:
|
|
82
|
-
disabledAnimations:
|
|
83
|
-
dataUrl:
|
|
77
|
+
tableBorderRadius: ur = wr,
|
|
78
|
+
suppressCfg: j = 3,
|
|
79
|
+
showToolbarTotalCount: ae = !0,
|
|
80
|
+
hideChildHeaderSortButtons: ce = !0,
|
|
81
|
+
selectionScope: ue = "native",
|
|
82
|
+
layoutUrl: dr,
|
|
83
|
+
layoutData: W,
|
|
84
|
+
disabledAnimations: $ = Et,
|
|
85
|
+
dataUrl: fr,
|
|
84
86
|
layoutOverrides: R,
|
|
85
|
-
data:
|
|
86
|
-
useDataUrl:
|
|
87
|
-
onSelect:
|
|
88
|
-
onRowClick:
|
|
89
|
-
onRowAdd:
|
|
90
|
-
onRowDelete:
|
|
91
|
-
onRowUndelete:
|
|
92
|
-
onRowChange:
|
|
87
|
+
data: c,
|
|
88
|
+
useDataUrl: de,
|
|
89
|
+
onSelect: fe,
|
|
90
|
+
onRowClick: me,
|
|
91
|
+
onRowAdd: pe,
|
|
92
|
+
onRowDelete: Re,
|
|
93
|
+
onRowUndelete: Te,
|
|
94
|
+
onRowChange: Ge,
|
|
93
95
|
onClickButton: Ee,
|
|
94
|
-
onSave:
|
|
96
|
+
onSave: ge,
|
|
95
97
|
onReady: Ce,
|
|
96
|
-
onAfterValueChanged:
|
|
97
|
-
datePickerEditor:
|
|
98
|
-
highlightEditableCells:
|
|
99
|
-
highlightChangedCells:
|
|
100
|
-
syncDeletedRowCanEdit:
|
|
101
|
-
confirmDeletedRowRemoval:
|
|
102
|
-
loading:
|
|
103
|
-
showLoading:
|
|
98
|
+
onAfterValueChanged: be,
|
|
99
|
+
datePickerEditor: mr,
|
|
100
|
+
highlightEditableCells: ye = !0,
|
|
101
|
+
highlightChangedCells: De = !0,
|
|
102
|
+
syncDeletedRowCanEdit: Be = !0,
|
|
103
|
+
confirmDeletedRowRemoval: pr = !0,
|
|
104
|
+
loading: Rr,
|
|
105
|
+
showLoading: u = !0
|
|
104
106
|
}) => {
|
|
105
|
-
var
|
|
106
|
-
const { t:
|
|
107
|
-
() =>
|
|
107
|
+
var Je, Ye;
|
|
108
|
+
const { t: E } = Sr(), { confirmDelete: Tr } = Pr(), K = kr(), q = (Ye = (Je = K == null ? void 0 : K.theme) == null ? void 0 : Je.main) == null ? void 0 : Ye.grid, ve = E("Common.전체"), _e = E("Common.건"), z = ir(
|
|
109
|
+
() => ae && !ft(R == null ? void 0 : R.Toolbar) ? dt(ve, _e) : void 0,
|
|
108
110
|
[
|
|
109
111
|
R,
|
|
112
|
+
_e,
|
|
110
113
|
ve,
|
|
111
|
-
|
|
112
|
-
le
|
|
114
|
+
ae
|
|
113
115
|
]
|
|
114
|
-
), i = r(null),
|
|
115
|
-
|
|
116
|
-
),
|
|
117
|
-
title:
|
|
118
|
-
description:
|
|
119
|
-
okText:
|
|
120
|
-
}) ? "remove" : "undelete" : void 0,
|
|
121
|
-
onSelect:
|
|
122
|
-
onRowClick:
|
|
123
|
-
onRowAdd:
|
|
124
|
-
onRowDelete:
|
|
125
|
-
onBeforeRowUndelete:
|
|
126
|
-
onRowUndelete:
|
|
127
|
-
onRowChange:
|
|
116
|
+
), i = r(null), A = r(null), he = r(null), J = r(null), Y = r(R), Le = r(z), Ie = r(j), Oe = r(ce), Ae = r(
|
|
117
|
+
ue
|
|
118
|
+
), we = r($), ke = r(c), Se = r(lr(W)), Fe = pr ? async () => await Tr({
|
|
119
|
+
title: E("Message.삭제된 항목을 완전히 삭제하시겠습니까?"),
|
|
120
|
+
description: E("Message.취소하면 삭제 상태가 해제됩니다."),
|
|
121
|
+
okText: E("Button.완전 삭제")
|
|
122
|
+
}) ? "remove" : "undelete" : void 0, w = r({
|
|
123
|
+
onSelect: fe,
|
|
124
|
+
onRowClick: me,
|
|
125
|
+
onRowAdd: pe,
|
|
126
|
+
onRowDelete: Re,
|
|
127
|
+
onBeforeRowUndelete: Fe,
|
|
128
|
+
onRowUndelete: Te,
|
|
129
|
+
onRowChange: Ge,
|
|
128
130
|
onClickButton: Ee,
|
|
129
|
-
onSave:
|
|
131
|
+
onSave: ge,
|
|
130
132
|
onReady: Ce,
|
|
131
|
-
onAfterValueChanged:
|
|
132
|
-
}),
|
|
133
|
-
() =>
|
|
134
|
-
[
|
|
135
|
-
),
|
|
136
|
-
|
|
137
|
-
),
|
|
138
|
-
a.changed.backgroundColor ??
|
|
139
|
-
),
|
|
140
|
-
|
|
141
|
-
}, "syncHasDisplayDataRows"), Cr = /* @__PURE__ */ n((o,
|
|
142
|
-
var
|
|
143
|
-
|
|
133
|
+
onAfterValueChanged: be
|
|
134
|
+
}), D = r(void 0), Q = r(!1), k = r(void 0), S = r(void 0), Pe = r(!1), B = r(0), g = r(null), v = r(void 0), _ = r(void 0), Me = r(ye), X = r(De), Ne = r(Be), [C, Gr] = oe(!1), [Er, h] = oe(!1), [Ve, xe] = oe(!1), F = Fr(), a = ir(
|
|
135
|
+
() => Ar(q),
|
|
136
|
+
[q]
|
|
137
|
+
), He = r(
|
|
138
|
+
H(a.editable.backgroundColor) ?? H(Ze)
|
|
139
|
+
), Z = r(
|
|
140
|
+
a.changed.backgroundColor ?? er
|
|
141
|
+
), P = r(/* @__PURE__ */ new WeakMap()), Ue = r(a.state.focusedCellBackgroundColor), je = r(a.state.selectedCellBackgroundColor), We = r(a.state.hoverCellBackgroundColor), $e = r(F.id), gr = u && c !== void 0 && C && S.current !== c, M = u && Rr === !0 || u && (Er || gr), N = !M && c !== void 0 && I(c) && !Ve, Ke = /* @__PURE__ */ n((o) => {
|
|
142
|
+
xe(sr(o));
|
|
143
|
+
}, "syncHasDisplayDataRows"), Cr = /* @__PURE__ */ n((o, l, s, T, m) => {
|
|
144
|
+
var L, p;
|
|
145
|
+
X.current && l.Fixed !== "Foot" && zr({
|
|
144
146
|
gridId: e,
|
|
145
147
|
grid: o,
|
|
146
|
-
row:
|
|
147
|
-
col:
|
|
148
|
-
backgroundColor:
|
|
149
|
-
baselineMap:
|
|
148
|
+
row: l,
|
|
149
|
+
col: s,
|
|
150
|
+
backgroundColor: Z.current,
|
|
151
|
+
baselineMap: P.current,
|
|
150
152
|
highlightRefresh: m == null ? void 0 : m.highlightRefresh
|
|
151
153
|
});
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
+
const d = ((L = w.current) == null ? void 0 : L.onAfterValueChanged) ?? ((p = w.current) == null ? void 0 : p.onRowChange);
|
|
155
|
+
d == null || d(o, l, s, T);
|
|
154
156
|
}, "handleDatePickerEditorValueChange");
|
|
155
|
-
|
|
157
|
+
Y.current = R, Le.current = z, Ie.current = j, Oe.current = ce, Ae.current = ue, we.current = $, ke.current = c, Se.current = lr(W), Me.current = ye, X.current = De, Ne.current = Be, He.current = H(a.editable.backgroundColor) ?? H(Ze), Z.current = a.changed.backgroundColor ?? er, Ue.current = a.state.focusedCellBackgroundColor, je.current = a.state.selectedCellBackgroundColor, We.current = a.state.hoverCellBackgroundColor;
|
|
156
158
|
const {
|
|
157
|
-
datePickerEditorElement:
|
|
158
|
-
handleDatePickerEditorButtonClick:
|
|
159
|
-
handleDatePickerEditorCellClick:
|
|
160
|
-
handleDatePickerEditorKeyDown:
|
|
161
|
-
handleDatePickerEditorStartEdit:
|
|
162
|
-
} =
|
|
163
|
-
config:
|
|
159
|
+
datePickerEditorElement: br,
|
|
160
|
+
handleDatePickerEditorButtonClick: yr,
|
|
161
|
+
handleDatePickerEditorCellClick: Dr,
|
|
162
|
+
handleDatePickerEditorKeyDown: Br,
|
|
163
|
+
handleDatePickerEditorStartEdit: vr
|
|
164
|
+
} = xr({
|
|
165
|
+
config: mr,
|
|
164
166
|
treeGridInstanceRef: i,
|
|
165
|
-
isTreeGridReady:
|
|
167
|
+
isTreeGridReady: C,
|
|
166
168
|
onValueChange: Cr
|
|
167
|
-
}), { errorTooltipElement:
|
|
168
|
-
|
|
169
|
-
onSelect:
|
|
170
|
-
onRowClick:
|
|
171
|
-
onRowAdd:
|
|
172
|
-
onRowDelete:
|
|
173
|
-
onBeforeRowUndelete:
|
|
174
|
-
onRowUndelete:
|
|
175
|
-
onRowChange:
|
|
169
|
+
}), { errorTooltipElement: _r, showErrorTooltip: hr, hideErrorTooltip: b } = Hr();
|
|
170
|
+
w.current = {
|
|
171
|
+
onSelect: fe,
|
|
172
|
+
onRowClick: me,
|
|
173
|
+
onRowAdd: pe,
|
|
174
|
+
onRowDelete: Re,
|
|
175
|
+
onBeforeRowUndelete: Fe,
|
|
176
|
+
onRowUndelete: Te,
|
|
177
|
+
onRowChange: Ge,
|
|
176
178
|
onClickButton: Ee,
|
|
177
|
-
onSave:
|
|
179
|
+
onSave: ge,
|
|
178
180
|
onReady: Ce,
|
|
179
|
-
onAfterValueChanged:
|
|
180
|
-
onInternalButtonClick:
|
|
181
|
-
onInternalCellClick:
|
|
182
|
-
onInternalKeyDown:
|
|
183
|
-
onInternalStartEdit:
|
|
181
|
+
onAfterValueChanged: be,
|
|
182
|
+
onInternalButtonClick: yr,
|
|
183
|
+
onInternalCellClick: Dr,
|
|
184
|
+
onInternalKeyDown: Br,
|
|
185
|
+
onInternalStartEdit: vr
|
|
184
186
|
};
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
const qe = Wr({
|
|
188
|
+
containerRef: A,
|
|
189
|
+
treeGridInstanceRef: i,
|
|
190
|
+
enabled: u && C && Ve && !M && !N,
|
|
191
|
+
resetKey: c
|
|
192
|
+
}), Lr = qe !== null, ee = jr({
|
|
193
|
+
visible: M || N,
|
|
194
|
+
containerRef: A,
|
|
188
195
|
treeGridInstanceRef: i,
|
|
189
196
|
debugId: e
|
|
190
|
-
}),
|
|
191
|
-
containerRef:
|
|
197
|
+
}), ze = Ur({
|
|
198
|
+
containerRef: A,
|
|
192
199
|
treeGridInstanceRef: i,
|
|
193
|
-
enabled:
|
|
194
|
-
}),
|
|
195
|
-
|
|
196
|
-
}, "clearBindingLoadingHideTimeout"),
|
|
197
|
-
|
|
200
|
+
enabled: C
|
|
201
|
+
}), V = /* @__PURE__ */ n(() => {
|
|
202
|
+
v.current !== void 0 && (window.clearTimeout(v.current), v.current = void 0);
|
|
203
|
+
}, "clearBindingLoadingHideTimeout"), re = /* @__PURE__ */ n(() => {
|
|
204
|
+
_.current !== void 0 && (window.clearTimeout(_.current), _.current = void 0);
|
|
198
205
|
}, "clearBodyReloadStartTimeout");
|
|
199
|
-
|
|
200
|
-
const o = /* @__PURE__ */ n((
|
|
206
|
+
U(() => {
|
|
207
|
+
const o = /* @__PURE__ */ n((l) => {
|
|
201
208
|
var T;
|
|
202
|
-
((T =
|
|
209
|
+
((T = l.detail) == null ? void 0 : T.gridId) === e && xe(sr(i.current));
|
|
203
210
|
}, "handleBodyRowsChanged");
|
|
204
|
-
return window.addEventListener(
|
|
205
|
-
window.removeEventListener(
|
|
211
|
+
return window.addEventListener(rr, o), () => {
|
|
212
|
+
window.removeEventListener(rr, o);
|
|
206
213
|
};
|
|
207
|
-
}, [e]),
|
|
208
|
-
|
|
209
|
-
}, [
|
|
210
|
-
var
|
|
211
|
-
if (
|
|
214
|
+
}, [e]), U(() => {
|
|
215
|
+
u || (re(), V(), g.current = null, h(!1));
|
|
216
|
+
}, [u]), U(() => {
|
|
217
|
+
var l;
|
|
218
|
+
if (F.id !== $e.current && !I(i.current) && ((l = i.current) == null || l.Dispose(), i.current = null, $e.current = F.id), !I(i.current))
|
|
212
219
|
return;
|
|
213
|
-
|
|
220
|
+
$r({
|
|
214
221
|
id: e,
|
|
215
|
-
latestEventHandlersRef:
|
|
216
|
-
layoutHasExplicitEnterModeRef:
|
|
217
|
-
highlightEditableCellsRef:
|
|
218
|
-
highlightChangedCellsRef:
|
|
219
|
-
syncDeletedRowCanEditRef:
|
|
220
|
-
editableCellBackgroundColorValueRef:
|
|
221
|
-
changedCellBackgroundColorRef:
|
|
222
|
-
focusedCellBackgroundColorRef:
|
|
223
|
-
selectedCellBackgroundColorRef:
|
|
224
|
-
hoverCellBackgroundColorRef:
|
|
225
|
-
changedCellBaselineRef:
|
|
222
|
+
latestEventHandlersRef: w,
|
|
223
|
+
layoutHasExplicitEnterModeRef: Se,
|
|
224
|
+
highlightEditableCellsRef: Me,
|
|
225
|
+
highlightChangedCellsRef: X,
|
|
226
|
+
syncDeletedRowCanEditRef: Ne,
|
|
227
|
+
editableCellBackgroundColorValueRef: He,
|
|
228
|
+
changedCellBackgroundColorRef: Z,
|
|
229
|
+
focusedCellBackgroundColorRef: Ue,
|
|
230
|
+
selectedCellBackgroundColorRef: je,
|
|
231
|
+
hoverCellBackgroundColorRef: We,
|
|
232
|
+
changedCellBaselineRef: P,
|
|
226
233
|
treeGridInstanceRef: i,
|
|
227
|
-
treeGridInitStartedAtRef:
|
|
228
|
-
latestLayoutOverridesRef:
|
|
229
|
-
latestToolbarTotalCountFormulaRef:
|
|
234
|
+
treeGridInitStartedAtRef: he,
|
|
235
|
+
latestLayoutOverridesRef: Y,
|
|
236
|
+
latestToolbarTotalCountFormulaRef: Le,
|
|
230
237
|
latestSuppressCfgRef: Ie,
|
|
231
|
-
latestHideChildHeaderSortButtonsRef:
|
|
232
|
-
latestSelectionScopeRef:
|
|
233
|
-
latestDisabledAnimationsRef:
|
|
234
|
-
appliedLayoutOverridesRef:
|
|
235
|
-
appliedBodyDataPropRef:
|
|
236
|
-
hasAppliedInitialLayoutRef:
|
|
237
|
-
syncHasDisplayDataRows:
|
|
238
|
-
setIsTreeGridReady:
|
|
239
|
-
showErrorTooltip:
|
|
240
|
-
hideErrorTooltip:
|
|
241
|
-
}),
|
|
242
|
-
useDataUrl: !!
|
|
243
|
-
bodyRowCount:
|
|
238
|
+
latestHideChildHeaderSortButtonsRef: Oe,
|
|
239
|
+
latestSelectionScopeRef: Ae,
|
|
240
|
+
latestDisabledAnimationsRef: we,
|
|
241
|
+
appliedLayoutOverridesRef: k,
|
|
242
|
+
appliedBodyDataPropRef: S,
|
|
243
|
+
hasAppliedInitialLayoutRef: Pe,
|
|
244
|
+
syncHasDisplayDataRows: Ke,
|
|
245
|
+
setIsTreeGridReady: Gr,
|
|
246
|
+
showErrorTooltip: hr,
|
|
247
|
+
hideErrorTooltip: b
|
|
248
|
+
}), he.current = te(), tr(e, "init"), or(e, "TreeGrid init start", {
|
|
249
|
+
useDataUrl: !!de,
|
|
250
|
+
bodyRowCount: ne(c)
|
|
244
251
|
});
|
|
245
252
|
const o = window.TreeGrid(
|
|
246
|
-
|
|
253
|
+
Kr({
|
|
247
254
|
id: e,
|
|
248
|
-
layoutUrl:
|
|
249
|
-
layoutData:
|
|
250
|
-
toolbarTotalCountFormula:
|
|
251
|
-
suppressCfg:
|
|
252
|
-
disabledAnimations:
|
|
253
|
-
dataUrl:
|
|
254
|
-
bodyData:
|
|
255
|
-
useDataUrl:
|
|
256
|
-
width:
|
|
257
|
-
height:
|
|
258
|
-
languageId:
|
|
255
|
+
layoutUrl: dr,
|
|
256
|
+
layoutData: W,
|
|
257
|
+
toolbarTotalCountFormula: z,
|
|
258
|
+
suppressCfg: j,
|
|
259
|
+
disabledAnimations: $,
|
|
260
|
+
dataUrl: fr,
|
|
261
|
+
bodyData: c,
|
|
262
|
+
useDataUrl: de,
|
|
263
|
+
width: le,
|
|
264
|
+
height: ie,
|
|
265
|
+
languageId: F.id
|
|
259
266
|
}),
|
|
260
267
|
e,
|
|
261
268
|
e
|
|
262
269
|
);
|
|
263
|
-
return
|
|
264
|
-
|
|
265
|
-
const
|
|
266
|
-
i.current ===
|
|
270
|
+
return I(o) || (i.current = o), () => {
|
|
271
|
+
b(), Pe.current = !0;
|
|
272
|
+
const s = o || i.current;
|
|
273
|
+
i.current === s && (i.current = null), s == null || s.Dispose();
|
|
267
274
|
};
|
|
268
|
-
}, []),
|
|
269
|
-
const o = i.current,
|
|
270
|
-
if (
|
|
275
|
+
}, []), Nr(() => {
|
|
276
|
+
const o = i.current, l = Y.current, s = ke.current;
|
|
277
|
+
if (I(o) || !C)
|
|
271
278
|
return;
|
|
272
|
-
const T =
|
|
279
|
+
const T = k.current !== l && !it(k.current, l), m = S.current !== s && (!Q.current || D.current !== s);
|
|
273
280
|
if (!(!T && !m)) {
|
|
274
|
-
if (
|
|
275
|
-
const
|
|
276
|
-
|
|
281
|
+
if (b(), T) {
|
|
282
|
+
const d = te();
|
|
283
|
+
Yr(o, l, m), k.current = l, nr(e, "apply layout", d, {
|
|
277
284
|
disableBodyReload: !!m
|
|
278
285
|
});
|
|
279
286
|
}
|
|
280
287
|
if (m) {
|
|
281
|
-
const
|
|
282
|
-
const p =
|
|
283
|
-
|
|
284
|
-
bodyRowCount:
|
|
285
|
-
}),
|
|
286
|
-
if (
|
|
288
|
+
const d = B.current + 1, L = /* @__PURE__ */ n(() => {
|
|
289
|
+
const p = D.current;
|
|
290
|
+
_.current = void 0, J.current = te(), tr(e, "reload"), or(e, "ReloadBody start", {
|
|
291
|
+
bodyRowCount: ne(p)
|
|
292
|
+
}), qr(o, p, () => {
|
|
293
|
+
if (B.current !== d)
|
|
287
294
|
return;
|
|
288
|
-
|
|
289
|
-
bodyRowCount:
|
|
290
|
-
}),
|
|
291
|
-
const
|
|
292
|
-
if (!
|
|
293
|
-
|
|
295
|
+
S.current = p, P.current = /* @__PURE__ */ new WeakMap(), Gt(o, P.current), Ke(o), nr(e, "ReloadBody end", J.current, {
|
|
296
|
+
bodyRowCount: ne(p)
|
|
297
|
+
}), J.current = null, D.current === p && (D.current = void 0, Q.current = !1);
|
|
298
|
+
const Qe = g.current;
|
|
299
|
+
if (!u || Qe === null) {
|
|
300
|
+
g.current = null, h(!1);
|
|
294
301
|
return;
|
|
295
302
|
}
|
|
296
|
-
const
|
|
303
|
+
const Xe = Math.max(
|
|
297
304
|
0,
|
|
298
|
-
|
|
305
|
+
Jr - (Date.now() - Qe)
|
|
299
306
|
);
|
|
300
|
-
if (
|
|
301
|
-
|
|
307
|
+
if (V(), Xe === 0) {
|
|
308
|
+
g.current = null, h(!1);
|
|
302
309
|
return;
|
|
303
310
|
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
},
|
|
311
|
+
v.current = window.setTimeout(() => {
|
|
312
|
+
B.current === d && (v.current = void 0, g.current = null, h(!1));
|
|
313
|
+
}, Xe);
|
|
307
314
|
});
|
|
308
315
|
}, "runBodyReload");
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}, 0)) :
|
|
316
|
+
B.current = d, D.current = s, Q.current = !0, u && s !== void 0 ? (re(), V(), g.current = Date.now(), h(!0), _.current = window.setTimeout(() => {
|
|
317
|
+
B.current === d && L();
|
|
318
|
+
}, 0)) : L();
|
|
312
319
|
}
|
|
313
320
|
}
|
|
314
|
-
}, [
|
|
315
|
-
|
|
316
|
-
}, [
|
|
317
|
-
const
|
|
318
|
-
width:
|
|
319
|
-
height:
|
|
321
|
+
}, [C, R, c, u, e, b]), U(() => () => {
|
|
322
|
+
b(), re(), V();
|
|
323
|
+
}, [b]);
|
|
324
|
+
const x = rt({
|
|
325
|
+
width: le,
|
|
326
|
+
height: ie,
|
|
320
327
|
treeGridTheme: a,
|
|
321
|
-
gridThemeConfig:
|
|
328
|
+
gridThemeConfig: q,
|
|
322
329
|
containerStyle: t,
|
|
323
|
-
tableBorderRadius: se ?
|
|
330
|
+
tableBorderRadius: se ? ur : void 0
|
|
324
331
|
});
|
|
325
|
-
return
|
|
332
|
+
return G !== void 0 && (x["--owp-tree-grid-toolbar-row-background-color"] = String(G)), (u || N || ze.length > 0) && (x.position = t != null && t.position && t.position !== "static" ? t.position : "relative", x.isolation = "isolate"), /* @__PURE__ */ Or(
|
|
326
333
|
"div",
|
|
327
334
|
{
|
|
328
|
-
ref:
|
|
335
|
+
ref: A,
|
|
329
336
|
className: [
|
|
330
|
-
|
|
331
|
-
se &&
|
|
337
|
+
tt,
|
|
338
|
+
se && ot,
|
|
332
339
|
f
|
|
333
340
|
].filter(Boolean).join(" "),
|
|
334
|
-
style:
|
|
341
|
+
style: x,
|
|
335
342
|
children: [
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
/* @__PURE__ */
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
/* @__PURE__ */
|
|
340
|
-
|
|
343
|
+
/* @__PURE__ */ y(Vr, { styles: nt }),
|
|
344
|
+
/* @__PURE__ */ y("div", { id: e, className: O, style: lt(cr, ["height", "width"]) }),
|
|
345
|
+
/* @__PURE__ */ y(Qr, { frames: ze }),
|
|
346
|
+
/* @__PURE__ */ y(
|
|
347
|
+
Zr,
|
|
348
|
+
{
|
|
349
|
+
visible: N,
|
|
350
|
+
message: E("Message.조회된 결과가 없습니다."),
|
|
351
|
+
overlayFrame: ee
|
|
352
|
+
}
|
|
353
|
+
),
|
|
354
|
+
/* @__PURE__ */ y(
|
|
355
|
+
et,
|
|
341
356
|
{
|
|
342
|
-
visible:
|
|
343
|
-
|
|
344
|
-
overlayFrame: $e
|
|
357
|
+
visible: Lr,
|
|
358
|
+
overlayFrame: qe ?? ee
|
|
345
359
|
}
|
|
346
360
|
),
|
|
347
|
-
/* @__PURE__ */
|
|
348
|
-
|
|
361
|
+
/* @__PURE__ */ y(
|
|
362
|
+
Xr,
|
|
349
363
|
{
|
|
350
|
-
visible:
|
|
351
|
-
overlayFrame:
|
|
364
|
+
visible: M,
|
|
365
|
+
overlayFrame: ee
|
|
352
366
|
}
|
|
353
367
|
),
|
|
354
|
-
|
|
355
|
-
|
|
368
|
+
br,
|
|
369
|
+
_r
|
|
356
370
|
]
|
|
357
371
|
}
|
|
358
372
|
);
|
|
359
373
|
}, "OwpTreeGrid");
|
|
360
374
|
export {
|
|
361
|
-
|
|
375
|
+
Yt as OwpTreeGrid
|
|
362
376
|
};
|
|
363
377
|
//# sourceMappingURL=OwpTreeGrid.js.map
|