@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,30 +1,39 @@
|
|
|
1
1
|
import { DialogContentProps, DialogProps } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* OWP 기본 Dialog props
|
|
5
|
+
*/
|
|
3
6
|
export interface OwpDialogProps extends Omit<DialogProps, 'title'> {
|
|
7
|
+
/** Dialog title 영역 */
|
|
4
8
|
title?: ReactNode;
|
|
9
|
+
/** Dialog content 영역 */
|
|
5
10
|
children?: ReactNode;
|
|
11
|
+
/** Content 위에 loading overlay 표시 여부 */
|
|
6
12
|
loading?: boolean;
|
|
13
|
+
/** `alertdialog` role 적용 여부 */
|
|
7
14
|
alertDialog?: boolean;
|
|
15
|
+
/** 확인 버튼 표시 여부 */
|
|
8
16
|
canConfirm?: boolean;
|
|
17
|
+
/** 취소 버튼 표시 여부 */
|
|
9
18
|
canCancel?: boolean;
|
|
19
|
+
/** 확인 버튼 문구. 기본값은 `Button.저장` 번역 key */
|
|
10
20
|
confirmText?: string;
|
|
21
|
+
/** 취소 버튼 문구. 기본값은 confirm 가능 여부에 따라 취소/닫기 key */
|
|
11
22
|
cancelText?: string;
|
|
23
|
+
/** Dialog root를 `form`으로 render하고 확인 button을 submit type으로 사용할지 여부 */
|
|
12
24
|
useSubmit?: boolean;
|
|
25
|
+
/** 기본 액션 왼쪽에 노출할 추가 action 영역 */
|
|
13
26
|
actions?: ReactNode;
|
|
27
|
+
/** DialogContent에 전달할 props */
|
|
14
28
|
contentProps?: DialogContentProps;
|
|
29
|
+
/** 확인 button click handler. `useSubmit`이 true면 button click에서는 호출하지 않음 */
|
|
15
30
|
onConfirm?: () => void;
|
|
31
|
+
/** 취소 button click handler. 없으면 `onClose`를 호출 */
|
|
16
32
|
onCancel?: () => void;
|
|
17
33
|
}
|
|
18
34
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @param title
|
|
21
|
-
* @param children 하위 콘텐츠
|
|
22
|
-
* @param loading 본문 로딩 여부
|
|
23
|
-
* @param alertDialog alertdialog role 적용 여부
|
|
24
|
-
* @param canCancel canCancel 값
|
|
25
|
-
* @param canConfirm canConfirm 값
|
|
26
|
-
* @param onConfirm onConfirm 핸들러
|
|
27
|
-
* @param onCancel onCancel 핸들러
|
|
35
|
+
* OWP Dialog 기본 shell
|
|
36
|
+
* @param props title/content/action/loading 상태와 MUI Dialog 표시 속성
|
|
28
37
|
*/
|
|
29
38
|
declare const OwpDialog: import("react").ForwardRefExoticComponent<Omit<OwpDialogProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
39
|
export { OwpDialog };
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error status page props
|
|
3
|
+
*/
|
|
1
4
|
export type OwpErrorStatusPageProps = {
|
|
5
|
+
/** 사용자에게 표시할 오류 메시지 */
|
|
2
6
|
message: string;
|
|
3
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* 오류 상태 메시지와 홈 이동 링크를 표시하는 status page
|
|
10
|
+
* @param props 표시할 오류 메시지
|
|
11
|
+
*/
|
|
4
12
|
declare function OwpErrorStatusPage({ message }: OwpErrorStatusPageProps): import("react/jsx-runtime").JSX.Element;
|
|
5
13
|
export { OwpErrorStatusPage };
|
|
@@ -1,30 +1,48 @@
|
|
|
1
1
|
import { type ButtonProps } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* Excel header cell 정의
|
|
4
|
+
*/
|
|
2
5
|
export type ExcelHeader = {
|
|
6
|
+
/** 값을 입력할 cell key. 예: `A1` */
|
|
3
7
|
key?: string;
|
|
8
|
+
/** merge 대상 cell range. 예: `A1:C1` */
|
|
4
9
|
range?: string;
|
|
10
|
+
/** header cell 표시 값 */
|
|
5
11
|
value: string;
|
|
6
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Excel data row를 cell 값으로 변환하는 mapper
|
|
15
|
+
*/
|
|
7
16
|
export type ExcelDataMapper = {
|
|
17
|
+
/** data row에서 값을 읽을 property key */
|
|
8
18
|
key: string;
|
|
19
|
+
/** 이전 호환용 column span metadata */
|
|
9
20
|
colSpan?: string;
|
|
21
|
+
/** 이전 호환용 row span metadata */
|
|
10
22
|
rowSpan?: string;
|
|
23
|
+
/** cell 값 앞에 붙일 문자열 */
|
|
11
24
|
prefix?: string;
|
|
25
|
+
/** cell 값 뒤에 붙일 문자열 */
|
|
12
26
|
suffix?: string;
|
|
13
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* 배열 데이터를 Excel 파일로 내보내는 버튼 props
|
|
30
|
+
*/
|
|
14
31
|
interface OwpExportDataToExcelButtonProps<T> extends ButtonProps {
|
|
32
|
+
/** Excel 상단 header cell 목록 */
|
|
15
33
|
header: ExcelHeader[];
|
|
34
|
+
/** data row를 column 순서대로 매핑하는 설정 */
|
|
16
35
|
mapper: ExcelDataMapper[];
|
|
36
|
+
/** Excel row로 추가할 데이터 배열 */
|
|
17
37
|
data?: T;
|
|
38
|
+
/** 버튼 표시 문구 */
|
|
18
39
|
title?: string;
|
|
40
|
+
/** 다운로드 파일명과 worksheet 이름 기준 값 */
|
|
19
41
|
exportName?: string;
|
|
20
42
|
}
|
|
21
43
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param header
|
|
24
|
-
* @param mapper 엑셀 매핑 정보
|
|
25
|
-
* @param data 데이터
|
|
26
|
-
* @param exportName 다운로드 파일명
|
|
27
|
-
* @param title 제목
|
|
44
|
+
* header/mapper 설정으로 배열 데이터를 Excel 파일로 다운로드하는 버튼
|
|
45
|
+
* @param props Excel header, data mapper, row 데이터, 파일명, MUI Button 표시 속성
|
|
28
46
|
*/
|
|
29
47
|
export declare function OwpExportDataToExcelButton<T>({ header, mapper, data, exportName, title, loading, loadingPosition, onClick, ...restProps }: OwpExportDataToExcelButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
30
48
|
export {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* 입력 필드 helper text props
|
|
5
|
+
*/
|
|
3
6
|
export interface OwpFieldHelperTextProps extends Omit<FormHelperTextProps, 'children'> {
|
|
7
|
+
/** helper text 내용 */
|
|
4
8
|
children?: ReactNode;
|
|
9
|
+
/** 내용 앞에 필수 표시 `(*)`를 함께 노출할지 여부 */
|
|
5
10
|
required?: boolean;
|
|
6
11
|
}
|
|
7
12
|
/**
|
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
import { type ButtonProps } from '@mui/material/Button';
|
|
2
2
|
import { type ChangeEvent, type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* 숨김 file input을 포함하는 Button 전용 props
|
|
5
|
+
*/
|
|
3
6
|
export interface OwpFilePickerButtonOwnProps {
|
|
7
|
+
/** 다중 파일 선택 허용 여부 */
|
|
4
8
|
multiple?: boolean;
|
|
9
|
+
/** file input accept 속성. 기본값은 image MIME 목록 */
|
|
5
10
|
accept?: string;
|
|
11
|
+
/** 버튼 children으로 표시할 제목 */
|
|
6
12
|
title?: ReactNode;
|
|
13
|
+
/** 파일 선택 완료 시 호출되는 input change handler */
|
|
7
14
|
onChange?: (evt: ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
/** 파일 선택 dialog 취소 시 호출되는 cancel event handler */
|
|
8
16
|
onCancel?: (evt: Event) => void;
|
|
9
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* File picker button props
|
|
20
|
+
*/
|
|
10
21
|
export type OwpFilePickerButtonProps = OwpFilePickerButtonOwnProps & Omit<ButtonProps, 'title' | 'onChange' | 'onCancel'>;
|
|
11
22
|
/**
|
|
12
|
-
*
|
|
13
|
-
* @param
|
|
14
|
-
* @param multiple multiple 값
|
|
15
|
-
* @param onChange onChange 핸들러
|
|
16
|
-
* @param onCancel onCancel 핸들러
|
|
17
|
-
* @param accept accept 값
|
|
23
|
+
* MUI Button 클릭으로 숨김 file input을 여는 file picker
|
|
24
|
+
* @param props file input accept/multiple 설정, change/cancel handler, Button 표시 속성
|
|
18
25
|
*/
|
|
19
26
|
export declare function OwpFilePickerButton({ title, multiple, onChange, onCancel, accept, ...restProps }: OwpFilePickerButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
/** Breakpoint별 숨김 조건을 선언하는 OwpHidden 속성 */
|
|
2
3
|
export interface OwpHiddenProps {
|
|
4
|
+
/** 조건에 걸리지 않을 때 render할 콘텐츠 */
|
|
3
5
|
children?: ReactNode;
|
|
6
|
+
/** `xs` 이상 viewport에서 숨김 */
|
|
4
7
|
xsUp?: boolean;
|
|
8
|
+
/** `sm` 이상 viewport에서 숨김 */
|
|
5
9
|
smUp?: boolean;
|
|
10
|
+
/** `md` 이상 viewport에서 숨김 */
|
|
6
11
|
mdUp?: boolean;
|
|
12
|
+
/** `lg` 이상 viewport에서 숨김 */
|
|
7
13
|
lgUp?: boolean;
|
|
14
|
+
/** `xl` 이상 viewport에서 숨김 */
|
|
8
15
|
xlUp?: boolean;
|
|
16
|
+
/** `xs` 이하 viewport에서 숨김 */
|
|
9
17
|
xsDown?: boolean;
|
|
18
|
+
/** `sm` 이하 viewport에서 숨김 */
|
|
10
19
|
smDown?: boolean;
|
|
20
|
+
/** `md` 이하 viewport에서 숨김 */
|
|
11
21
|
mdDown?: boolean;
|
|
22
|
+
/** `lg` 이하 viewport에서 숨김 */
|
|
12
23
|
lgDown?: boolean;
|
|
24
|
+
/** `xl` 이하 viewport에서 숨김 */
|
|
13
25
|
xlDown?: boolean;
|
|
14
26
|
}
|
|
15
27
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SelectProps } from '@mui/material/Select';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* OWP language 목록으로 i18next 언어와 전역 current language를 변경하는 Select
|
|
4
|
+
* @param props MUI Select 표시 속성과 변경 후 router refresh 여부
|
|
4
5
|
*/
|
|
5
6
|
export declare function OwpLanguageSwitcherSelect({ label, fullWidth, canRefresh, ...restSelectProps }: Omit<SelectProps, 'value' | 'onChange'> & {
|
|
6
7
|
canRefresh?: boolean;
|
|
@@ -2,10 +2,18 @@ import { themeLayoutsType } from '@/layout/themeLayouts';
|
|
|
2
2
|
import type { OwpSettingsConfigType } from '@/types/OwpSettingsTypes';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
4
|
import { RouteMatch, RouteObject } from 'react-router-dom';
|
|
5
|
+
/**
|
|
6
|
+
* Route object에 OWP layout settings/auth metadata를 더한 타입
|
|
7
|
+
*/
|
|
5
8
|
export type OwpRouteObjectType = RouteObject & {
|
|
9
|
+
/** route 진입 시 적용할 OWP settings override */
|
|
6
10
|
settings?: OwpSettingsConfigType;
|
|
11
|
+
/** route 권한 metadata */
|
|
7
12
|
auth?: string[] | [] | null | undefined;
|
|
8
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* React Router match 결과에 OWP route metadata 타입을 반영한 타입
|
|
16
|
+
*/
|
|
9
17
|
export type OwpRouteMatchType = RouteMatch & {
|
|
10
18
|
route: OwpRouteObjectType;
|
|
11
19
|
};
|
|
@@ -14,10 +22,8 @@ type OwpLayoutProps = {
|
|
|
14
22
|
children?: ReactNode;
|
|
15
23
|
};
|
|
16
24
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* handles generating user interface settings related to current routes, merged with default settings, and uses
|
|
20
|
-
* the new settings to generate layouts.
|
|
25
|
+
* 현재 route settings를 기본 settings와 병합해 선택된 theme layout을 render하는 shell
|
|
26
|
+
* @param props layout registry와 route outlet children
|
|
21
27
|
*/
|
|
22
28
|
declare function OwpLayout(props: OwpLayoutProps): import("react/jsx-runtime").JSX.Element | import("react/jsx-runtime").JSX.Element[];
|
|
23
29
|
export { OwpLayout };
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 중앙 loading indicator props
|
|
3
|
+
*/
|
|
1
4
|
export type OwpLoadingProps = {
|
|
5
|
+
/** indicator 표시 전 대기 시간(ms) */
|
|
2
6
|
delay?: number;
|
|
7
|
+
/** root element 추가 className */
|
|
3
8
|
className?: string;
|
|
4
9
|
};
|
|
5
10
|
/**
|
|
6
|
-
*
|
|
11
|
+
* 선택적 delay 이후 중앙 LinearProgress를 표시하는 loading indicator
|
|
12
|
+
* @param props 표시 지연 시간과 root className
|
|
7
13
|
*/
|
|
8
14
|
declare function OwpLoading(props: OwpLoadingProps): import("react/jsx-runtime").JSX.Element;
|
|
9
15
|
export { OwpLoading };
|
|
@@ -3,6 +3,9 @@ import type { SxProps, Theme } from '@mui/material/styles';
|
|
|
3
3
|
import type { ReactNode } from 'react';
|
|
4
4
|
import { exportTreeGridToExcelById } from '../../utils/treeGridUtil';
|
|
5
5
|
import { type OwpFilePickerButtonProps } from '../OwpFilePickerButton/OwpFilePickerButton';
|
|
6
|
+
/**
|
|
7
|
+
* More action 항목에 사용할 MUI palette color 또는 custom color 문자열
|
|
8
|
+
*/
|
|
6
9
|
export type OwpMoreButtonActionColor = NonNullable<IconButtonProps['color']> | string;
|
|
7
10
|
type OwpMoreButtonActionBase = {
|
|
8
11
|
icon?: ReactNode;
|
|
@@ -17,42 +20,66 @@ type OwpMoreButtonActionBase = {
|
|
|
17
20
|
sx?: SxProps<Theme>;
|
|
18
21
|
};
|
|
19
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* 일반 클릭 action 설정
|
|
25
|
+
*/
|
|
20
26
|
export type OwpMoreButtonClickAction = OwpMoreButtonActionBase & {
|
|
27
|
+
/** action 종류. 생략하면 일반 button action */
|
|
21
28
|
type?: 'button';
|
|
29
|
+
/** 메뉴 항목 클릭 시 호출되는 handler */
|
|
22
30
|
onClick: (args: {
|
|
23
31
|
close: () => void;
|
|
24
32
|
}) => void;
|
|
25
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* 파일 업로드 action 설정
|
|
36
|
+
*/
|
|
26
37
|
export type OwpMoreButtonFileUploadAction = OwpMoreButtonActionBase & {
|
|
38
|
+
/** file picker action 식별자 */
|
|
27
39
|
type: 'fileUpload';
|
|
40
|
+
/** 내부 `OwpFilePickerButton`에 전달할 props */
|
|
28
41
|
fileUploadProps?: Omit<OwpFilePickerButtonProps, 'title' | 'onChange' | 'onCancel'> & {
|
|
29
42
|
onChange?: OwpFilePickerButtonProps['onChange'];
|
|
30
43
|
onCancel?: OwpFilePickerButtonProps['onCancel'];
|
|
31
44
|
};
|
|
32
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* TreeGrid Excel export action 설정
|
|
48
|
+
*/
|
|
33
49
|
export type OwpMoreButtonTreeGridExportExcelAction = OwpMoreButtonActionBase & {
|
|
50
|
+
/** TreeGrid Excel export action 식별자 */
|
|
34
51
|
type: 'treeGridExportExcel';
|
|
52
|
+
/** `exportTreeGridToExcelById`에 그대로 전달할 인자 */
|
|
35
53
|
exportExcelArgs: Parameters<typeof exportTreeGridToExcelById>;
|
|
36
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* More actions menu에서 지원하는 action union
|
|
57
|
+
*/
|
|
37
58
|
export type OwpMoreButtonAction = OwpMoreButtonClickAction | OwpMoreButtonFileUploadAction | OwpMoreButtonTreeGridExportExcelAction;
|
|
59
|
+
/**
|
|
60
|
+
* More actions icon button props
|
|
61
|
+
*/
|
|
38
62
|
export type OwpMoreActionsButtonProps = {
|
|
63
|
+
/** 메뉴에 표시할 action 목록 */
|
|
39
64
|
actions: OwpMoreButtonAction[];
|
|
65
|
+
/** controlled open 상태 */
|
|
40
66
|
open?: boolean;
|
|
67
|
+
/** uncontrolled 초기 open 상태 */
|
|
41
68
|
defaultOpen?: boolean;
|
|
69
|
+
/** open 상태 변경 시 호출되는 handler */
|
|
42
70
|
onOpenChange?: (open: boolean) => void;
|
|
71
|
+
/** icon button 비활성화 여부 */
|
|
43
72
|
disabled?: boolean;
|
|
73
|
+
/** icon button 추가 className */
|
|
44
74
|
className?: string;
|
|
75
|
+
/** icon button sx */
|
|
45
76
|
containerSx?: SxProps<Theme>;
|
|
77
|
+
/** Menu root sx */
|
|
46
78
|
actionsSx?: SxProps<Theme>;
|
|
47
79
|
};
|
|
48
80
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @param
|
|
51
|
-
* @param openProp openProp 값
|
|
52
|
-
* @param defaultOpen defaultOpen 값
|
|
53
|
-
* @param onOpenChange onOpenChange 핸들러
|
|
54
|
-
* @param disabled disabled 값
|
|
55
|
-
* @param className CSS 클래스명
|
|
81
|
+
* More icon 클릭으로 action menu를 표시하는 버튼
|
|
82
|
+
* @param props action 목록, controlled open 상태, button/menu 스타일 옵션
|
|
56
83
|
*/
|
|
57
84
|
export declare const OwpMoreActionsButton: ({ actions, open: openProp, defaultOpen, onOpenChange, disabled, className, containerSx, actionsSx, }: OwpMoreActionsButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
58
85
|
export {};
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import { NavLinkProps } from 'react-router-dom';
|
|
1
|
+
import { type CSSProperties, type ReactNode } from 'react';
|
|
2
|
+
import { type NavLinkProps } from 'react-router-dom';
|
|
3
|
+
/** React Router NavLink에 active class/style 계약을 추가한 adapter 속성 */
|
|
3
4
|
export type OwpNavLinkAdapterProps = NavLinkProps & {
|
|
5
|
+
/** route match 상태일 때 추가할 className */
|
|
4
6
|
activeClassName?: string;
|
|
7
|
+
/** route match 상태일 때 병합할 inline style */
|
|
5
8
|
activeStyle?: CSSProperties;
|
|
9
|
+
/** link 내부에 표시할 콘텐츠 */
|
|
6
10
|
children?: ReactNode;
|
|
7
11
|
};
|
|
8
|
-
/**
|
|
9
|
-
* OwpNavLinkAdapter 네비게이션 링크 어댑터 컴포넌트
|
|
10
|
-
*/
|
|
12
|
+
/** React Router NavLink 활성 상태를 className/style로 병합하는 adapter */
|
|
11
13
|
declare const OwpNavLinkAdapter: import("react").ForwardRefExoticComponent<NavLinkProps & {
|
|
14
|
+
/** route match 상태일 때 추가할 className */
|
|
12
15
|
activeClassName?: string;
|
|
16
|
+
/** route match 상태일 때 병합할 inline style */
|
|
13
17
|
activeStyle?: CSSProperties;
|
|
18
|
+
/** link 내부에 표시할 콘텐츠 */
|
|
14
19
|
children?: ReactNode;
|
|
15
20
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
16
21
|
export default OwpNavLinkAdapter;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TextFieldProps } from '@mui/material';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @param className
|
|
5
|
-
* @param inputAlign
|
|
6
|
-
* @param ref input 참조
|
|
3
|
+
* react-number-format과 MUI TextField를 연결한 숫자 입력 field
|
|
4
|
+
* @param className root className
|
|
5
|
+
* @param inputAlign 내부 input text align
|
|
6
|
+
* @param ref 내부 input element 참조
|
|
7
7
|
*/
|
|
8
8
|
declare const OwpNumberField: import("react").ForwardRefExoticComponent<import("react-number-format/types/types").InternalNumberFormatBase & {
|
|
9
9
|
thousandSeparator?: boolean | string;
|
|
@@ -1,26 +1,43 @@
|
|
|
1
1
|
import type { OwpSelectorValueTextAlign } from '@/components/OwpSelectorBase/types';
|
|
2
2
|
import { type SelectChangeEvent, type SelectProps } from '@mui/material';
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* 정적 option selector 항목
|
|
6
|
+
*/
|
|
4
7
|
export interface OwpOptionSelectorOption {
|
|
8
|
+
/** 선택 값 */
|
|
5
9
|
value: string;
|
|
10
|
+
/** 화면에 표시할 option label */
|
|
6
11
|
label: ReactNode;
|
|
12
|
+
/** option 비활성화 여부 */
|
|
7
13
|
disabled?: boolean;
|
|
8
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* 정적 option 배열을 사용하는 Select props
|
|
17
|
+
*/
|
|
9
18
|
export interface OwpOptionSelectorProps extends Omit<SelectProps<string>, 'defaultValue' | 'multiple' | 'onChange' | 'renderValue' | 'value'> {
|
|
19
|
+
/** selector label */
|
|
10
20
|
label?: string;
|
|
21
|
+
/** uncontrolled 초기 선택 값 */
|
|
11
22
|
defaultValue?: string;
|
|
23
|
+
/** TextField 하단 helper text */
|
|
12
24
|
helperText?: string;
|
|
25
|
+
/** 다중 선택 모드 사용 여부 */
|
|
13
26
|
multiple?: boolean;
|
|
27
|
+
/** 선택 값 변경 시 호출되는 MUI Select change handler */
|
|
14
28
|
onChange?: (event: SelectChangeEvent<string>, child: ReactNode) => void;
|
|
29
|
+
/** selector option 목록 */
|
|
15
30
|
options: OwpOptionSelectorOption[];
|
|
31
|
+
/** 전체 option 표시 여부 */
|
|
16
32
|
showAllOption?: boolean;
|
|
33
|
+
/** controlled 선택 값 */
|
|
17
34
|
value?: string;
|
|
18
35
|
/** 단일 선택 값 텍스트 정렬 */
|
|
19
36
|
valueTextAlign?: OwpSelectorValueTextAlign;
|
|
20
37
|
}
|
|
21
38
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param props
|
|
39
|
+
* 정적 option 배열을 `OwpSelectorBase` select 모드로 표시하는 selector
|
|
40
|
+
* @param props option 배열, 선택 값, Select 표시 옵션
|
|
24
41
|
*/
|
|
25
42
|
declare const OwpOptionSelector: ({ className, defaultValue, error, fullWidth, helperText, label, multiple, onChange, options, required, showAllOption, value, valueTextAlign, ...selectProps }: OwpOptionSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
43
|
export { OwpOptionSelector };
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { BreadcrumbsProps } from '@mui/material/Breadcrumbs';
|
|
2
|
+
/**
|
|
3
|
+
* Navigation tree 기반 breadcrumb props
|
|
4
|
+
*/
|
|
2
5
|
export type PageBreadcrumbProps = BreadcrumbsProps & {
|
|
6
|
+
/** breadcrumb root 추가 className */
|
|
3
7
|
className?: string;
|
|
4
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* 현재 route와 navigation tree를 기준으로 홈 버튼과 breadcrumb trail을 표시
|
|
11
|
+
* @param props MUI Breadcrumbs 표시 속성
|
|
12
|
+
*/
|
|
5
13
|
declare function PageBreadcrumb(props: PageBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
6
14
|
export default PageBreadcrumb;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* OwpPageCarded props
|
|
4
4
|
*/
|
|
5
5
|
type OwpPageCardedProps = {
|
|
6
6
|
className?: string;
|
|
@@ -19,9 +19,7 @@ type OwpPageCardedProps = {
|
|
|
19
19
|
leftSidebarOnClose?: () => void;
|
|
20
20
|
fillContentHeight?: boolean;
|
|
21
21
|
};
|
|
22
|
-
/**
|
|
23
|
-
* OwpPageCarded 컴포넌트
|
|
24
|
-
*/
|
|
22
|
+
/** header, content, 좌우 sidebar를 조합하는 carded page layout */
|
|
25
23
|
declare const OwpPageCarded: import("react").NamedExoticComponent<OwpPageCardedProps & import("react").RefAttributes<{
|
|
26
24
|
toggleLeftSidebar: (T: boolean) => void;
|
|
27
25
|
toggleRightSidebar: (T: boolean) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
interface OwpPageCardedHeaderProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
header?: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* @param props
|
|
7
|
+
* OwpPageCarded 상단 header 영역 wrapper
|
|
8
|
+
* @param props header node와 root className
|
|
9
9
|
*/
|
|
10
10
|
declare function OwpPageCardedHeader(props: OwpPageCardedHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export { OwpPageCardedHeader };
|
|
@@ -8,13 +8,13 @@ interface OwpPageContentProps {
|
|
|
8
8
|
loading?: boolean;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @param title
|
|
13
|
-
* @param leftSlot
|
|
14
|
-
* @param centerSlot
|
|
15
|
-
* @param actions
|
|
16
|
-
* @param children
|
|
17
|
-
* @param loading
|
|
11
|
+
* page header와 body 영역을 분리해 sticky title/action bar를 구성
|
|
12
|
+
* @param title header title 영역
|
|
13
|
+
* @param leftSlot title 왼쪽에 배치할 보조 콘텐츠
|
|
14
|
+
* @param centerSlot title 중앙에 배치할 보조 콘텐츠
|
|
15
|
+
* @param actions header 오른쪽 action 영역
|
|
16
|
+
* @param children body 콘텐츠
|
|
17
|
+
* @param loading title 영역 loading 표시 여부
|
|
18
18
|
*/
|
|
19
19
|
declare const OwpPageContent: ({ title, leftSlot, centerSlot, actions, children, loading, }: OwpPageContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export { OwpPageContent };
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 페이지 상호작용을 막는 loading overlay props
|
|
3
|
+
*/
|
|
1
4
|
export interface OwpPageLockLoadingProps {
|
|
5
|
+
/** Backdrop 표시 여부 */
|
|
2
6
|
loading?: boolean;
|
|
7
|
+
/** progress 아래 표시할 문구 */
|
|
3
8
|
title?: string;
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
|
-
*
|
|
7
|
-
* @param
|
|
8
|
-
* @param title 제목
|
|
11
|
+
* 화면 전체 Backdrop으로 페이지 조작을 잠그는 loading overlay
|
|
12
|
+
* @param props Backdrop 표시 여부와 안내 문구
|
|
9
13
|
*/
|
|
10
14
|
declare const OwpPageLockLoading: ({ loading, title }: OwpPageLockLoadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
15
|
export { OwpPageLockLoading };
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Page title header props
|
|
4
|
+
*/
|
|
2
5
|
interface OwpPageTitleProps {
|
|
6
|
+
/** 페이지 제목 */
|
|
3
7
|
title?: ReactNode;
|
|
8
|
+
/** 제목 오른쪽 첫 번째 slot */
|
|
4
9
|
leftSlot?: ReactNode;
|
|
10
|
+
/** 중앙 slot */
|
|
5
11
|
centerSlot?: ReactNode;
|
|
12
|
+
/** 우측 action 영역 */
|
|
6
13
|
actions?: ReactNode;
|
|
14
|
+
/** title icon 대신 progress 표시 여부 */
|
|
7
15
|
loading?: boolean;
|
|
8
16
|
}
|
|
9
17
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @param title
|
|
12
|
-
* @param leftSlot leftSlot 값
|
|
13
|
-
* @param centerSlot centerSlot 값
|
|
14
|
-
* @param actions 액션 영역
|
|
15
|
-
* @param loading 로딩 상태
|
|
18
|
+
* 페이지 제목, 보조 slot, action 영역을 wrapping 상태에 맞춰 배치하는 header
|
|
19
|
+
* @param props title, slot, action, loading 상태
|
|
16
20
|
*/
|
|
17
21
|
declare const OwpPageTitle: ({ title, leftSlot, centerSlot, actions, loading }: OwpPageTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
22
|
export { OwpPageTitle };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
1
|
import { type TextFieldProps } from '@mui/material';
|
|
2
2
|
import { type DatePickerProps } from 'react-datepicker';
|
|
3
|
+
/**
|
|
4
|
+
* DatePicker에서 허용하는 외부 value 타입
|
|
5
|
+
*/
|
|
3
6
|
export type DatePickerValue = string | Date;
|
|
4
7
|
interface OwnProps {
|
|
8
|
+
/** root className */
|
|
5
9
|
className?: string;
|
|
10
|
+
/** 입력 label */
|
|
6
11
|
label?: string;
|
|
12
|
+
/** TextField variant */
|
|
7
13
|
variant?: TextFieldProps['variant'];
|
|
14
|
+
/** TextField sx */
|
|
8
15
|
sx?: TextFieldProps['sx'];
|
|
16
|
+
/** 선택된 날짜/시간 값. 문자열은 picker mode별 formatter 기준으로 파싱 */
|
|
9
17
|
value?: DatePickerValue;
|
|
18
|
+
/** time picker에서 오전/오후 표시 사용 여부 */
|
|
10
19
|
useAmPm?: boolean;
|
|
20
|
+
/** clear 버튼 표시 여부 */
|
|
11
21
|
clearable?: boolean;
|
|
22
|
+
/** 오늘 이후 날짜 비활성화 여부 */
|
|
12
23
|
disableFuture?: boolean;
|
|
24
|
+
/** 월 선택 picker 사용 여부 */
|
|
13
25
|
showMonthPicker?: boolean;
|
|
26
|
+
/** calendar에 week number 표시 여부 */
|
|
14
27
|
showWeekNumbers?: boolean;
|
|
28
|
+
/** 입력 필드 전체 너비 사용 여부 */
|
|
15
29
|
fullWidth?: boolean;
|
|
30
|
+
/** 선택/clear 시 formatter 문자열 또는 Date 값을 전달하는 handler */
|
|
16
31
|
onChange?: (value?: DatePickerValue) => void;
|
|
32
|
+
/** custom input으로 쓰는 TextField props */
|
|
17
33
|
textFieldProps?: Omit<TextFieldProps, 'value' | 'defaultValue' | 'onChange'>;
|
|
18
34
|
}
|
|
19
35
|
type OwpDatePickerProps = OwnProps & DatePickerProps;
|
|
20
36
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
23
|
-
* @param label 입력 라벨
|
|
24
|
-
* @param variant variant 값
|
|
25
|
-
* @param sx sx 값
|
|
26
|
-
* @param value 현재 값
|
|
27
|
-
* @param useAmPm 오전/오후 포맷 사용 여부
|
|
28
|
-
* @param clearable 초기화 가능 여부
|
|
29
|
-
* @param disableFuture 미래 날짜 비활성화 여부
|
|
30
|
-
* @param showWeekNumbers 캘린더 주차 표시 여부
|
|
31
|
-
* @param onChange onChange 핸들러
|
|
37
|
+
* `react-datepicker` 기반 OWP DatePicker
|
|
38
|
+
* @param props picker mode별 value formatter, clear/future 제어, TextField 표시 옵션
|
|
32
39
|
*/
|
|
33
40
|
declare const OwpDatePicker: ({ className, label, variant, sx, value, useAmPm, onChange, fullWidth, showYearPicker, showMonthPicker, showTimeSelect, showTimeSelectOnly, showTimeInput, showWeekNumbers, textFieldProps, clearable, disableFuture, popperClassName: popperClassNameProp, popperContainer: popperContainerProp, ...datePickerProps }: OwpDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
41
|
export { OwpDatePicker };
|