@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,18 +1,23 @@
|
|
|
1
1
|
import { CacheProvider } from '@emotion/react';
|
|
2
2
|
import { type Theme } from '@mui/material/styles';
|
|
3
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
import { type ComponentProps, type ReactNode } from 'react';
|
|
4
4
|
type OwpCacheProviderProps = Omit<ComponentProps<typeof CacheProvider>, 'children'>;
|
|
5
|
+
/**
|
|
6
|
+
* OWP style provider props
|
|
7
|
+
*/
|
|
5
8
|
export interface OwpStyleProviderProps {
|
|
9
|
+
/** theme boundary 내부에 render할 children */
|
|
6
10
|
children?: ReactNode;
|
|
11
|
+
/** 직접 적용할 MUI theme. 생략 시 store main theme 사용 */
|
|
7
12
|
theme?: Theme;
|
|
13
|
+
/** document body class와 app-level global style 적용 여부 */
|
|
8
14
|
root?: boolean;
|
|
15
|
+
/** Emotion CacheProvider props. `value`가 없으면 CacheProvider를 생략 */
|
|
9
16
|
cacheProviderProps?: OwpCacheProviderProps;
|
|
10
17
|
}
|
|
11
18
|
/**
|
|
12
|
-
*
|
|
13
|
-
* @param theme
|
|
14
|
-
* @param root 글로벌 스타일 적용 여부
|
|
15
|
-
* @param cacheProviderProps CacheProvider 옵션
|
|
19
|
+
* OWP app 전역 MUI theme, Emotion cache, global style을 제공하는 provider
|
|
20
|
+
* @param props 직접 theme 또는 store fallback theme, root global style 여부, CacheProvider 설정
|
|
16
21
|
*/
|
|
17
22
|
export declare function OwpStyleProvider(props: OwpStyleProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
18
23
|
export {};
|
|
@@ -43,18 +43,18 @@ type OwpDataTableBlurEvent = Record<string, unknown> & {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @param className
|
|
48
|
-
* @param sx sx
|
|
49
|
-
* @param headSx
|
|
50
|
-
* @param headCells
|
|
51
|
-
* @param rows
|
|
52
|
-
* @param selected
|
|
53
|
-
* @param canTableRadiusZero
|
|
54
|
-
* @param canUseTableRadius
|
|
46
|
+
* checkbox selection, order by, total count row를 제공하는 data table
|
|
47
|
+
* @param className root table className
|
|
48
|
+
* @param sx root table sx
|
|
49
|
+
* @param headSx header row/cell sx
|
|
50
|
+
* @param headCells header cell 정의 목록
|
|
51
|
+
* @param rows body row 데이터 목록
|
|
52
|
+
* @param selected 선택된 row 목록
|
|
53
|
+
* @param canTableRadiusZero table radius 0 강제 여부
|
|
54
|
+
* @param canUseTableRadius table radius token 적용 여부
|
|
55
55
|
* @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
|
|
56
|
-
* @param tableBorderRadius
|
|
57
|
-
* @param fixedRowCount
|
|
56
|
+
* @param tableBorderRadius table radius token 또는 CSS length 값
|
|
57
|
+
* @param fixedRowCount 최소 높이를 유지할 body row 수
|
|
58
58
|
*/
|
|
59
59
|
export declare function OwpDataTable<T extends Row = Row>({ className, sx, headSx, headCells, rows, selected, canCheckbox, canTotalCountRow, canSelectingSingle, canUseOrderBy, canTableRadiusZero, canUseTableRadius, canUseTreeGridStyle, tableBorderRadius, fixedRowCount, onSelect, onBlur, }: OwpDataTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
60
60
|
export {};
|
|
@@ -38,20 +38,20 @@ interface OwpFieldTableProps {
|
|
|
38
38
|
tableBorderRadius?: string | number;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @param layout
|
|
43
|
-
* @param titleWidth
|
|
44
|
-
* @param titleSx
|
|
45
|
-
* @param treeGridTitleCellSx TreeGrid title cell sx
|
|
46
|
-
* @param cellSx
|
|
47
|
-
* @param data
|
|
48
|
-
* @param colGroupSlot
|
|
49
|
-
* @param className className
|
|
50
|
-
* @param tableLayout
|
|
51
|
-
* @param canTableRadiusZero
|
|
52
|
-
* @param canUseTableRadius
|
|
41
|
+
* label/value field layout을 table 형태로 render
|
|
42
|
+
* @param layout row/column별 field cell 정의
|
|
43
|
+
* @param titleWidth title cell 너비
|
|
44
|
+
* @param titleSx title cell sx
|
|
45
|
+
* @param treeGridTitleCellSx TreeGrid 스타일 모드 title cell sx
|
|
46
|
+
* @param cellSx value cell sx
|
|
47
|
+
* @param data field value를 조회할 row data
|
|
48
|
+
* @param colGroupSlot custom colgroup 영역
|
|
49
|
+
* @param className root table className
|
|
50
|
+
* @param tableLayout CSS table-layout 값
|
|
51
|
+
* @param canTableRadiusZero table radius 0 강제 여부
|
|
52
|
+
* @param canUseTableRadius table radius token 적용 여부
|
|
53
53
|
* @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
|
|
54
|
-
* @param tableBorderRadius
|
|
54
|
+
* @param tableBorderRadius table radius token 또는 CSS length 값
|
|
55
55
|
*/
|
|
56
56
|
export declare function OwpFieldTable({ layout, titleWidth, titleSx, treeGridTitleCellSx, cellSx, data, colGroupSlot, className, tableLayout, canTableRadiusZero, canUseTableRadius, canUseTreeGridStyle, tableBorderRadius, }: OwpFieldTableProps): import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
export {};
|
|
@@ -8,15 +8,15 @@ interface OwpTableProps<T> extends Omit<OwpTableBaseProps, 'children'> {
|
|
|
8
8
|
totalCount?: number;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* header map과 row data로 단순 display table을 구성
|
|
12
12
|
* @param canTotalCountRow 전체 row 수 표시 여부
|
|
13
|
-
* @param canTableRadiusZero
|
|
14
|
-
* @param canUseTableRadius
|
|
13
|
+
* @param canTableRadiusZero table radius 0 강제 여부
|
|
14
|
+
* @param canUseTableRadius table radius token 적용 여부
|
|
15
15
|
* @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
|
|
16
|
-
* @param headers
|
|
17
|
-
* @param rows
|
|
18
|
-
* @param tableBorderRadius
|
|
19
|
-
* @param totalCount 전체 row 수
|
|
16
|
+
* @param headers header label map 또는 header row 목록
|
|
17
|
+
* @param rows body row 데이터 목록
|
|
18
|
+
* @param tableBorderRadius table radius token 또는 CSS length 값
|
|
19
|
+
* @param totalCount 외부에서 계산한 전체 row 수
|
|
20
20
|
*/
|
|
21
21
|
export declare function OwpTable<T>({ canTotalCountRow, headers, rows, totalCount, ...restTableProps }: OwpTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -3,28 +3,41 @@ import { type OwpResolvedTableThemeConfigType } from '@/constants/tableTheme';
|
|
|
3
3
|
import { type TableProps } from '@mui/material/Table';
|
|
4
4
|
import { type TableContainerProps } from '@mui/material/TableContainer';
|
|
5
5
|
import { type ReactNode } from 'react';
|
|
6
|
+
/** OWP table shell과 TreeGrid 스타일 호환 모드를 제어하는 속성 */
|
|
6
7
|
export interface OwpTableBaseProps extends TableProps {
|
|
8
|
+
/** body row가 container 높이를 채우도록 stretch 적용 여부 */
|
|
7
9
|
canBodyFullHeight?: boolean;
|
|
10
|
+
/** table/container radius를 0으로 강제할지 여부 */
|
|
8
11
|
canTableRadiusZero?: boolean;
|
|
12
|
+
/** table radius token 적용 여부 */
|
|
9
13
|
canUseTableRadius?: boolean;
|
|
14
|
+
/** TreeGrid와 동일한 border/typography 스타일 사용 여부 */
|
|
10
15
|
canUseTreeGridStyle?: boolean;
|
|
16
|
+
/** 외부 TableContainer 속성 */
|
|
11
17
|
containerProps?: TableContainerProps;
|
|
18
|
+
/** TableContainer 아래에 배치할 footer 영역 */
|
|
12
19
|
footerSlot?: ReactNode;
|
|
20
|
+
/** resolved table theme override */
|
|
13
21
|
tableTheme?: OwpResolvedTableThemeConfigType;
|
|
22
|
+
/** CSS table-layout 값 */
|
|
14
23
|
tableLayout?: 'auto' | 'fixed';
|
|
24
|
+
/** table radius token 또는 CSS length 값 */
|
|
15
25
|
tableBorderRadius?: string | number;
|
|
26
|
+
/** TreeGrid 스타일 모드에서 사용할 resolved grid theme */
|
|
16
27
|
treeGridTheme?: OwpResolvedGridThemeConfigType;
|
|
28
|
+
/** 접근성/디버깅용 table title */
|
|
17
29
|
title?: string;
|
|
30
|
+
/** table section/content */
|
|
18
31
|
children: ReactNode;
|
|
19
32
|
}
|
|
20
33
|
/**
|
|
21
|
-
* OWP Table 기반
|
|
34
|
+
* OWP Table 기반 container
|
|
22
35
|
* @param canBodyFullHeight body full height 사용 여부
|
|
23
36
|
* @param canTableRadiusZero 테이블 radius 0 사용 여부
|
|
24
37
|
* @param canUseTableRadius 테이블 radius 사용 여부
|
|
25
38
|
* @param canUseTreeGridStyle TreeGrid 스타일 사용 여부
|
|
26
39
|
* @param children 하위 콘텐츠
|
|
27
|
-
* @param containerProps
|
|
40
|
+
* @param containerProps TableContainer 부가 속성
|
|
28
41
|
* @param footerSlot footer 영역
|
|
29
42
|
* @param tableLayout tableLayout 값
|
|
30
43
|
* @param tableBorderRadius 테이블 radius 값
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { OwpResolvedTableThemeConfigType } from '@/constants/tableTheme';
|
|
2
|
+
/** Default table header background fallback color */
|
|
2
3
|
export declare const DEFAULT_TABLE_HEADER_BACKGROUND_COLOR = "#f5f5f5";
|
|
4
|
+
/**
|
|
5
|
+
* 기본 table border 색상
|
|
6
|
+
* @param mode palette mode
|
|
7
|
+
*/
|
|
8
|
+
export declare const getDefaultTableBorderColor: (mode?: string) => "rgba(241,245,249,.12)" | "#e2e8f0";
|
|
9
|
+
/** OwpTableBase에서 사용하는 table theme 기본 resolved token */
|
|
3
10
|
export declare const defaultStyledTableTheme: {
|
|
4
11
|
borderColor: string;
|
|
5
12
|
header: {
|
|
@@ -39,6 +46,7 @@ export declare const getDefaultTableHeaderLabelSx: (tableTheme: OwpResolvedTable
|
|
|
39
46
|
readonly fontSize: string | number;
|
|
40
47
|
readonly fontWeight: string | number;
|
|
41
48
|
};
|
|
49
|
+
/** sort label이 header color를 상속하도록 고정하는 sx */
|
|
42
50
|
export declare const defaultTableSortLabelSx: {
|
|
43
51
|
readonly '&.MuiTableSortLabel-root': {
|
|
44
52
|
readonly color: "inherit";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { OwpResolvedGridThemeConfigType } from '@/constants/gridTheme';
|
|
2
|
+
/** TreeGrid 스타일 table header border 색상 */
|
|
2
3
|
export declare const TREEGRID_TABLE_HEADER_BORDER_COLOR = "#6F7F94";
|
|
4
|
+
/** TreeGrid 스타일 table body border 색상 */
|
|
3
5
|
export declare const TREEGRID_TABLE_BODY_BORDER_COLOR = "#CDD8E4";
|
|
6
|
+
/** TreeGrid 스타일 table font family stack */
|
|
4
7
|
export declare const TREEGRID_TABLE_FONT_FAMILY_STACK: string;
|
|
5
8
|
/**
|
|
6
|
-
* TreeGrid
|
|
9
|
+
* TreeGrid container 색상 mapping
|
|
7
10
|
* @param treeGridTheme Grid theme 값
|
|
8
11
|
*/
|
|
9
12
|
export declare const getTreeGridContainerSx: (treeGridTheme: OwpResolvedGridThemeConfigType) => {
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OwpTab 컴포넌트
|
|
3
|
-
*/
|
|
1
|
+
/** ripple을 제거하고 OWP tab height/spacing을 고정한 MUI Tab variant */
|
|
4
2
|
declare const OwpTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "disabled" | "className" | "classes" | "children" | "sx" | "label" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "value" | "icon" | "wrapped" | "iconPosition"> & {
|
|
5
3
|
component?: React.ElementType | undefined;
|
|
6
4
|
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OwpTabs 컴포넌트
|
|
3
|
-
*/
|
|
1
|
+
/** scroll button 없이 full-width indicator를 사용하는 OWP Tabs wrapper */
|
|
4
2
|
declare const OwpTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "className" | "classes" | "children" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "slots" | "slotProps" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
5
3
|
component?: React.ElementType | undefined;
|
|
6
4
|
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -2,11 +2,16 @@ import type { FormControlProps } from '@mui/material/FormControl';
|
|
|
2
2
|
import type { InputProps as MuiInputProps } from '@mui/material/Input';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
4
|
import { type Definitions, type FactoryOpts } from 'imask';
|
|
5
|
+
/**
|
|
6
|
+
* IMask accept event를 MUI TextField change 형태로 정규화한 event
|
|
7
|
+
*/
|
|
5
8
|
export type OwpTextMaskFieldChangeEvent = {
|
|
9
|
+
/** MUI input change와 호환되는 target name/value */
|
|
6
10
|
target: {
|
|
7
11
|
name: string;
|
|
8
12
|
value: string;
|
|
9
13
|
};
|
|
14
|
+
/** mask 문자를 제거한 원본 값 */
|
|
10
15
|
unmaskedValue: string;
|
|
11
16
|
};
|
|
12
17
|
type TextMaskValue = FactoryOpts['mask'];
|
|
@@ -23,10 +28,8 @@ type OwpTextMaskFieldProps = Omit<MuiInputProps, 'onChange' | 'inputComponent'>
|
|
|
23
28
|
onChange: CustomProps['onMaskChange'];
|
|
24
29
|
};
|
|
25
30
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @param mask
|
|
28
|
-
* @param definitions 사용자 정의 마스크 정의
|
|
29
|
-
* @param onChange 마스크 변경 이벤트 핸들러
|
|
31
|
+
* IMask 기반 입력 제한을 MUI Input/FormControl 형태로 제공하는 필드
|
|
32
|
+
* @param props mask 정의, 사용자 definitions, value/defaultValue, label/helper text, change handler
|
|
30
33
|
*/
|
|
31
34
|
export declare function OwpTextMaskField({ className, sx, id: idProp, name, label, value, defaultValue, color, onChange, error, helperText, mask, definitions, variant, fullWidth, disabled, required, size, placeholder, autoFocus, inputProps, inputRef, ...inputBaseProps }: OwpTextMaskFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
32
35
|
export {};
|
|
@@ -5,31 +5,79 @@ type TreeGridLayoutScalarValue = string | number;
|
|
|
5
5
|
type TreeGridNestedLayoutFields = Record<string, TreeGridLayoutScalarValue>;
|
|
6
6
|
type TreeGridLayoutFields = Record<string, TreeGridLayoutScalarValue | TreeGridNestedLayoutFields>;
|
|
7
7
|
type TreeGridSectionFields = Record<string, TreeGridLayoutScalarValue>;
|
|
8
|
+
/**
|
|
9
|
+
* TreeGrid XML/JSON layout override 구조
|
|
10
|
+
*/
|
|
8
11
|
export interface OwpTreeGridLayout {
|
|
12
|
+
/** Header section override */
|
|
9
13
|
Header?: TreeGridLayoutFields;
|
|
14
|
+
/** Toolbar section override */
|
|
10
15
|
Toolbar?: TreeGridSectionFields;
|
|
16
|
+
/** Foot section override */
|
|
11
17
|
Foot?: TreeGridSectionFields;
|
|
12
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* `OwpTreeGridLayout` 호환 alias
|
|
21
|
+
*/
|
|
13
22
|
export type OwpTreeGridLayoutConfig = OwpTreeGridLayout;
|
|
23
|
+
/**
|
|
24
|
+
* 기존 `header` prop 호환용 layout config alias
|
|
25
|
+
*/
|
|
14
26
|
export type THeader = OwpTreeGridLayoutConfig;
|
|
27
|
+
/**
|
|
28
|
+
* TreeGrid body data 입력 타입
|
|
29
|
+
*/
|
|
15
30
|
export type OwpTreeGridBodyData<T> = Record<string, never> | [] | undefined | T[];
|
|
31
|
+
/**
|
|
32
|
+
* `OwpTreeGridBodyData` 호환 alias
|
|
33
|
+
*/
|
|
16
34
|
export type OwpTreeGridData<T> = OwpTreeGridBodyData<T>;
|
|
35
|
+
/**
|
|
36
|
+
* 기존 `data` prop 호환용 body data alias
|
|
37
|
+
*/
|
|
17
38
|
export type TData<T> = OwpTreeGridBodyData<T>;
|
|
39
|
+
/**
|
|
40
|
+
* TreeGrid row 객체와 app row data를 합친 모델
|
|
41
|
+
*/
|
|
18
42
|
export type OwpTreeGridRowModel<T> = TRow & T;
|
|
43
|
+
/**
|
|
44
|
+
* `onSelect`에서 반환하는 선택 row 목록
|
|
45
|
+
*/
|
|
19
46
|
export type OwpTreeGridSelectedRows<T> = OwpTreeGridRowModel<T>[];
|
|
47
|
+
/**
|
|
48
|
+
* TreeGrid `SuppressCfg` 설정 값
|
|
49
|
+
*/
|
|
20
50
|
export type OwpTreeGridSuppressCfg = 0 | 1 | 2 | 3 | 4;
|
|
51
|
+
/**
|
|
52
|
+
* OWP wrapper에서 비활성화할 수 있는 TreeGrid animation key
|
|
53
|
+
*/
|
|
21
54
|
export type OwpTreeGridDisabledAnimation = 'addRow' | 'deleteRow' | 'selectRow';
|
|
55
|
+
/**
|
|
56
|
+
* DatePicker editor column별 기준 날짜 옵션
|
|
57
|
+
*/
|
|
22
58
|
export interface OwpTreeGridDatePickerEditorColumnOption {
|
|
59
|
+
/** 연도 picker 기준 연도 값 */
|
|
23
60
|
baseYear?: string;
|
|
61
|
+
/** 월 picker 기준 연월 값 */
|
|
24
62
|
baseYearMonth?: string;
|
|
25
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* TreeGrid cell을 OWP DatePicker editor로 편집하기 위한 설정
|
|
66
|
+
*/
|
|
26
67
|
export interface OwpTreeGridDatePickerEditorConfig {
|
|
68
|
+
/** DatePicker editor 활성화 여부 */
|
|
27
69
|
enabled?: boolean;
|
|
70
|
+
/** DatePicker editor를 적용할 column key 목록 */
|
|
28
71
|
columns?: readonly string[];
|
|
72
|
+
/** editor input 직접 입력 허용 여부 */
|
|
29
73
|
allowInput?: boolean;
|
|
74
|
+
/** column별 DatePicker 기준 날짜 옵션 */
|
|
30
75
|
columnOptions?: Record<string, OwpTreeGridDatePickerEditorColumnOption>;
|
|
76
|
+
/** 날짜와 시간을 함께 입력하는 input 표시 여부 */
|
|
31
77
|
showTimeInput?: boolean;
|
|
78
|
+
/** time select UI 표시 여부 */
|
|
32
79
|
showTimeSelect?: boolean;
|
|
80
|
+
/** time select minute interval */
|
|
33
81
|
timeIntervals?: number;
|
|
34
82
|
}
|
|
35
83
|
type OwpTreeGridSelectHandler<T> = (selectedRows: OwpTreeGridSelectedRows<T>) => void;
|
|
@@ -41,62 +89,90 @@ type OwpTreeGridRowClickHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>,
|
|
|
41
89
|
type OwpTreeGridSaveHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, autoupdate: boolean | number) => void;
|
|
42
90
|
type OwpTreeGridCellValue = unknown;
|
|
43
91
|
type OwpTreeGridAfterValueChangedHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, col: string, value: OwpTreeGridCellValue) => void;
|
|
92
|
+
/**
|
|
93
|
+
* OWP TreeGrid wrapper props
|
|
94
|
+
*/
|
|
44
95
|
export interface OwpTreeGridProps<T> {
|
|
96
|
+
/** TreeGrid DOM id와 instance id */
|
|
45
97
|
id: string;
|
|
98
|
+
/** TreeGrid root className */
|
|
46
99
|
className?: string;
|
|
100
|
+
/** wrapper container inline style */
|
|
47
101
|
containerStyle?: CSSProperties;
|
|
102
|
+
/** wrapper container className */
|
|
48
103
|
containerClassName?: string;
|
|
104
|
+
/** Toolbar row 배경색 override */
|
|
49
105
|
toolbarRowBackgroundColor?: CSSProperties['backgroundColor'];
|
|
106
|
+
/** TreeGrid layout XML URL */
|
|
50
107
|
layoutUrl?: string;
|
|
108
|
+
/** TreeGrid layout XML 문자열 */
|
|
51
109
|
layoutData?: string;
|
|
110
|
+
/** OWP wrapper에서 비활성화할 animation key 목록 */
|
|
52
111
|
disabledAnimations?: readonly OwpTreeGridDisabledAnimation[];
|
|
112
|
+
/** TreeGrid data XML/JSON URL */
|
|
53
113
|
dataUrl?: string;
|
|
114
|
+
/** XML layout에 병합할 Header/Toolbar/Foot override */
|
|
54
115
|
layoutOverrides?: OwpTreeGridLayoutConfig;
|
|
116
|
+
/** TreeGrid body data 배열. 빈 객체/빈 배열/undefined는 빈 데이터로 처리 */
|
|
55
117
|
data?: OwpTreeGridBodyData<T>;
|
|
118
|
+
/** TreeGrid host element inline style */
|
|
56
119
|
style?: CSSProperties;
|
|
120
|
+
/** TreeGrid 높이 */
|
|
57
121
|
height?: string | number;
|
|
122
|
+
/** TreeGrid 너비 */
|
|
58
123
|
width?: string | number;
|
|
124
|
+
/** OWP table radius style 적용 여부 */
|
|
59
125
|
canUseTableRadius?: boolean;
|
|
126
|
+
/** OWP table radius style 값 */
|
|
60
127
|
tableBorderRadius?: string | number;
|
|
128
|
+
/** TreeGrid `SuppressCfg` 값 */
|
|
61
129
|
suppressCfg?: OwpTreeGridSuppressCfg;
|
|
130
|
+
/** Toolbar에 전체 건수 formula 표시 여부 */
|
|
62
131
|
showToolbarTotalCount?: boolean;
|
|
132
|
+
/** 그룹 header 하위 sort button 숨김 여부 */
|
|
63
133
|
hideChildHeaderSortButtons?: boolean;
|
|
134
|
+
/** 선택 row 반환 범위 */
|
|
64
135
|
selectionScope?: OwpTreeGridSelectionScope;
|
|
136
|
+
/** `dataUrl` 기반 데이터 로딩 사용 여부 */
|
|
65
137
|
useDataUrl?: boolean;
|
|
138
|
+
/** 선택 row 변경 시 호출. `selectionScope` 처리 후 row 목록 전달 */
|
|
66
139
|
onSelect?: OwpTreeGridSelectHandler<T>;
|
|
140
|
+
/** row 추가 직후 호출 */
|
|
67
141
|
onRowAdd?: OwpTreeGridRowAddHandler<T>;
|
|
142
|
+
/** row delete 처리 직후 호출 */
|
|
68
143
|
onRowDelete?: OwpTreeGridRowDeleteHandler<T>;
|
|
144
|
+
/** row undelete 처리 직후 호출 */
|
|
69
145
|
onRowUndelete?: OwpTreeGridRowUndeleteHandler<T>;
|
|
146
|
+
/** cell 값 변경 후 호출되는 이전 호환 handler */
|
|
70
147
|
onRowChange?: OwpTreeGridAfterValueChangedHandler<T>;
|
|
148
|
+
/** TreeGrid button cell 클릭 시 호출 */
|
|
71
149
|
onClickButton?: OwpTreeGridButtonClickHandler<T>;
|
|
150
|
+
/** TreeGrid instance 초기화 완료 시 호출 */
|
|
72
151
|
onReady?: (grid: TGrid) => void;
|
|
152
|
+
/** TreeGrid row 클릭 시 호출 */
|
|
73
153
|
onRowClick?: OwpTreeGridRowClickHandler<T>;
|
|
154
|
+
/** TreeGrid save event 발생 시 호출 */
|
|
74
155
|
onSave?: OwpTreeGridSaveHandler<T>;
|
|
156
|
+
/** cell 값 변경 후 호출 */
|
|
75
157
|
onAfterValueChanged?: OwpTreeGridAfterValueChangedHandler<T>;
|
|
158
|
+
/** DatePicker editor 설정 */
|
|
76
159
|
datePickerEditor?: OwpTreeGridDatePickerEditorConfig;
|
|
160
|
+
/** 편집 가능 cell highlight 표시 여부 */
|
|
77
161
|
highlightEditableCells?: boolean;
|
|
162
|
+
/** 변경된 cell highlight 표시 여부 */
|
|
78
163
|
highlightChangedCells?: boolean;
|
|
164
|
+
/** delete 상태 row 편집 가능 여부를 TreeGrid 상태와 동기화할지 여부 */
|
|
79
165
|
syncDeletedRowCanEdit?: boolean;
|
|
166
|
+
/** delete 상태 row 제거 전 confirm dialog 표시 여부 */
|
|
80
167
|
confirmDeletedRowRemoval?: boolean;
|
|
168
|
+
/** 외부 loading 상태 */
|
|
81
169
|
loading?: boolean;
|
|
170
|
+
/** loading overlay 표시 여부 */
|
|
82
171
|
showLoading?: boolean;
|
|
83
172
|
}
|
|
84
173
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @param id
|
|
87
|
-
* @param containerStyle containerStyle 값
|
|
88
|
-
* @param containerClassName containerClassName 값
|
|
89
|
-
* @param toolbarRowBackgroundColor 하단 Toolbar row 배경색
|
|
90
|
-
* @param className CSS 클래스명
|
|
91
|
-
* @param style 스타일 객체
|
|
92
|
-
* @param height height 값
|
|
93
|
-
* @param canUseTableRadius TreeGrid 내부 테이블 radius 사용 여부
|
|
94
|
-
* @param tableBorderRadius TreeGrid 내부 테이블 radius 값
|
|
95
|
-
* @param suppressCfg TreeGrid client 설정 저장/로드 억제값
|
|
96
|
-
* @param showToolbarTotalCount Toolbar 전체 건수 기본 formula 표시 여부
|
|
97
|
-
* @param hideChildHeaderSortButtons 그룹 헤더 하위 sort 버튼 숨김 여부
|
|
98
|
-
* @param selectionScope 선택 행 반환 범위
|
|
99
|
-
* @param disabledAnimations 비활성화할 TreeGrid 애니메이션 의미 키 목록
|
|
174
|
+
* OWP theme, layout override, data binding, selection, overlay 처리를 포함한 TreeGrid wrapper
|
|
175
|
+
* @param props TreeGrid id/layout/data, event handlers, selection scope, style와 loading 설정
|
|
100
176
|
*/
|
|
101
177
|
declare const OwpTreeGrid: <T>({ id, containerStyle, containerClassName, toolbarRowBackgroundColor, className, style, height, width, canUseTableRadius, tableBorderRadius, suppressCfg, showToolbarTotalCount, hideChildHeaderSortButtons, selectionScope, layoutUrl, layoutData, disabledAnimations, dataUrl, layoutOverrides, data, useDataUrl, onSelect, onRowClick, onRowAdd, onRowDelete, onRowUndelete, onRowChange, onClickButton, onSave, onReady, onAfterValueChanged, datePickerEditor, highlightEditableCells, highlightChangedCells, syncDeletedRowCanEdit, confirmDeletedRowRemoval, loading, showLoading, }: OwpTreeGridProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
102
178
|
export { OwpTreeGrid };
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { FormGroupProps } from '@mui/material';
|
|
1
|
+
import { type FormGroupProps } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* TreeGrid column visibility toolbar props
|
|
4
|
+
*/
|
|
2
5
|
interface OwpTreeGridToolbarProps {
|
|
6
|
+
/** 대상 TreeGrid instance id */
|
|
3
7
|
gridId: string;
|
|
8
|
+
/** header visibility checkbox 영역 표시 여부 */
|
|
4
9
|
canVisibleHeaderFilter?: boolean;
|
|
10
|
+
/** toolbar option 목록 */
|
|
5
11
|
options?: {
|
|
12
|
+
/** 표시/숨김을 제어할 header column 목록 */
|
|
6
13
|
header?: Array<{
|
|
7
14
|
label: string;
|
|
8
15
|
name: string;
|
|
@@ -11,10 +18,8 @@ interface OwpTreeGridToolbarProps {
|
|
|
11
18
|
};
|
|
12
19
|
}
|
|
13
20
|
/**
|
|
14
|
-
*
|
|
15
|
-
* @param
|
|
16
|
-
* @param canVisibleHeaderFilter canVisibleHeaderFilter 값
|
|
17
|
-
* @param options options 값
|
|
21
|
+
* TreeGrid header column 표시 여부를 checkbox로 제어하는 toolbar
|
|
22
|
+
* @param props TreeGrid id, header option 목록, MUI FormGroup 표시 속성
|
|
18
23
|
*/
|
|
19
24
|
declare const OwpTreeGridToolbar: ({ gridId, canVisibleHeaderFilter, options, className, ...formGroupProps }: OwpTreeGridToolbarProps & FormGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
25
|
export { OwpTreeGridToolbar };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
2
|
type LayoutDef = {
|
|
3
|
-
Cfg:
|
|
3
|
+
Cfg: Record<string, unknown>;
|
|
4
4
|
Def?: TRow;
|
|
5
5
|
LeftCols?: TCol[];
|
|
6
6
|
Cols: TCol[];
|
|
@@ -8,18 +8,22 @@ type LayoutDef = {
|
|
|
8
8
|
Head?: TRow[];
|
|
9
9
|
Body?: TRow[];
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* 레거시 TreeGrid 직접 생성 wrapper props
|
|
13
|
+
*/
|
|
11
14
|
interface TreeGridProps {
|
|
15
|
+
/** TreeGrid DOM id와 instance id */
|
|
12
16
|
id: string;
|
|
17
|
+
/** wrapper className */
|
|
13
18
|
className?: string;
|
|
19
|
+
/** wrapper inline style */
|
|
14
20
|
style?: CSSProperties;
|
|
21
|
+
/** TreeGrid layout definition 객체 */
|
|
15
22
|
layoutDef: LayoutDef;
|
|
16
23
|
}
|
|
17
24
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @param id
|
|
20
|
-
* @param className CSS 클래스명
|
|
21
|
-
* @param style 스타일 객체
|
|
22
|
-
* @param layoutDef 레이아웃 정의
|
|
25
|
+
* layout definition 객체로 TreeGrid instance를 생성/갱신하는 레거시 wrapper
|
|
26
|
+
* @param props TreeGrid id, wrapper style, layout definition
|
|
23
27
|
*/
|
|
24
28
|
export declare const TreeGrid: ({ id, className, style, layoutDef }: TreeGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
29
|
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
/** TreeGrid error tooltip을 표시할 anchor와 메시지 상태 */
|
|
1
2
|
export type OwpTreeGridErrorTooltipState = {
|
|
3
|
+
/** tooltip을 붙일 cell/editor DOM 요소 */
|
|
2
4
|
anchorEl: HTMLElement;
|
|
5
|
+
/** 동일 cell tooltip 중복 갱신 방지용 key */
|
|
3
6
|
key: string;
|
|
7
|
+
/** tooltip 본문 메시지 */
|
|
4
8
|
message: string;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
8
|
-
* @param tooltip tooltip
|
|
11
|
+
* TreeGrid cell error 메시지를 anchor 기준 fixed Popper tooltip으로 표시
|
|
12
|
+
* @param tooltip anchor와 메시지를 담은 tooltip 상태
|
|
9
13
|
*/
|
|
10
14
|
export declare const OwpTreeGridErrorTooltip: ({ tooltip, }: {
|
|
11
15
|
tooltip: OwpTreeGridErrorTooltipState | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type OwpTreeGridOverlayFrame } from './hooks/useOwpTreeGridOverlayFrame';
|
|
2
|
+
type OwpTreeGridScrollLoadingOverlayProps = {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
overlayFrame: OwpTreeGridOverlayFrame;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* TreeGrid scroll rendering overlay
|
|
8
|
+
*/
|
|
9
|
+
declare const OwpTreeGridScrollLoadingOverlay: ({ visible, overlayFrame, }: OwpTreeGridScrollLoadingOverlayProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { OwpTreeGridScrollLoadingOverlay };
|
package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridAddedRowBoxOverlay.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
+
/** TreeGrid 신규 행 강조 box overlay의 위치와 크기 */
|
|
2
3
|
export type TreeGridAddedRowBoxFrame = {
|
|
4
|
+
/** overlay key로 사용하는 row ID */
|
|
3
5
|
id: string;
|
|
6
|
+
/** container 기준 left offset(px) */
|
|
4
7
|
left: number;
|
|
8
|
+
/** container 기준 top offset(px) */
|
|
5
9
|
top: number;
|
|
10
|
+
/** overlay width(px) */
|
|
6
11
|
width: number;
|
|
12
|
+
/** overlay height(px) */
|
|
7
13
|
height: number;
|
|
8
14
|
};
|
|
9
15
|
type UseOwpTreeGridAddedRowBoxOverlayInput = {
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
/** TreeGrid error tooltip 표시 요청 payload */
|
|
2
3
|
export type OwpTreeGridErrorTooltipShowParams = {
|
|
4
|
+
/** tooltip anchor로 사용할 cell/editor DOM 요소 */
|
|
3
5
|
anchorEl: HTMLElement;
|
|
6
|
+
/** error가 속한 TreeGrid row */
|
|
4
7
|
row: TRow;
|
|
8
|
+
/** error가 속한 TreeGrid column name */
|
|
5
9
|
col: string;
|
|
10
|
+
/** tooltip에 표시할 error 메시지 */
|
|
6
11
|
message: string;
|
|
7
12
|
};
|
|
13
|
+
/** TreeGrid error tooltip 표시 callback */
|
|
8
14
|
export type OwpTreeGridErrorTooltipShowHandler = (params: OwpTreeGridErrorTooltipShowParams) => void;
|
|
15
|
+
/** TreeGrid error tooltip 숨김 callback */
|
|
9
16
|
export type OwpTreeGridErrorTooltipHideHandler = () => void;
|
|
10
17
|
/**
|
|
11
|
-
* OwpTreeGrid Error tooltip 상태
|
|
18
|
+
* OwpTreeGrid Error tooltip 상태 Hook
|
|
12
19
|
*/
|
|
13
20
|
export declare const useOwpTreeGridErrorTooltip: () => {
|
|
14
21
|
errorTooltipElement: ReactNode;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
+
/** TreeGrid loading/no-data overlay가 덮을 frame */
|
|
2
3
|
export type OwpTreeGridOverlayFrame = {
|
|
4
|
+
/** container 기준 left offset(px) */
|
|
3
5
|
left: number;
|
|
6
|
+
/** container 기준 top offset(px) */
|
|
4
7
|
top: number;
|
|
8
|
+
/** overlay width(px) */
|
|
5
9
|
width: number;
|
|
10
|
+
/** overlay height(px) */
|
|
6
11
|
height: number;
|
|
7
12
|
};
|
|
8
13
|
type UseOwpTreeGridOverlayFrameInput = {
|
|
@@ -11,7 +16,9 @@ type UseOwpTreeGridOverlayFrameInput = {
|
|
|
11
16
|
treeGridInstanceRef: RefObject<TGrid>;
|
|
12
17
|
debugId?: string;
|
|
13
18
|
};
|
|
19
|
+
/** TreeGrid no-data overlay가 grid 내부 UI 위에 위치하도록 하는 z-index */
|
|
14
20
|
export declare const TREE_GRID_NO_DATA_OVERLAY_Z_INDEX = 2147483646;
|
|
21
|
+
/** loading overlay가 no-data overlay보다 위에 위치하도록 하는 z-index */
|
|
15
22
|
export declare const TREE_GRID_LOADING_OVERLAY_Z_INDEX = 2147483647;
|
|
16
23
|
/**
|
|
17
24
|
* TreeGrid overlay frame hook
|
package/dist/types/components/OwpTreeGrid/internal/hooks/useOwpTreeGridScrollRenderLoading.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
import { type OwpTreeGridOverlayFrame } from './useOwpTreeGridOverlayFrame';
|
|
3
|
+
type UseOwpTreeGridScrollRenderLoadingInput = {
|
|
4
|
+
containerRef: RefObject<HTMLDivElement | null>;
|
|
5
|
+
treeGridInstanceRef: RefObject<TGrid>;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
resetKey?: unknown;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* TreeGrid scroll 후 실제 DOM 공백 frame
|
|
11
|
+
* @param input TreeGrid refs, 활성 조건, reset key
|
|
12
|
+
*/
|
|
13
|
+
declare const useOwpTreeGridScrollRenderLoading: ({ containerRef, treeGridInstanceRef, enabled, resetKey, }: UseOwpTreeGridScrollRenderLoadingInput) => OwpTreeGridOverlayFrame;
|
|
14
|
+
export { useOwpTreeGridScrollRenderLoading };
|