@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,43 +1,92 @@
|
|
|
1
1
|
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* dialog open 공통 옵션
|
|
4
|
+
*/
|
|
2
5
|
export interface OpenDialogOptions<TResult = void> {
|
|
6
|
+
/** dialog close 결과를 받을 callback */
|
|
3
7
|
onClose?: (result?: TResult) => Promise<void> | void;
|
|
4
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* alert dialog 옵션
|
|
11
|
+
*/
|
|
5
12
|
export interface AlertOptions extends OpenDialogOptions<void> {
|
|
13
|
+
/** dialog title */
|
|
6
14
|
title?: ReactNode;
|
|
15
|
+
/** 확인 버튼 문구 */
|
|
7
16
|
okText?: ReactNode;
|
|
8
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* confirm dialog 옵션
|
|
20
|
+
*/
|
|
9
21
|
export interface ConfirmOptions extends OpenDialogOptions<boolean> {
|
|
22
|
+
/** dialog title */
|
|
10
23
|
title?: ReactNode;
|
|
24
|
+
/** 확인 버튼 문구 */
|
|
11
25
|
okText?: ReactNode;
|
|
26
|
+
/** 확인 버튼 severity */
|
|
12
27
|
severity?: 'error' | 'info' | 'success' | 'warning';
|
|
28
|
+
/** 취소 버튼 문구 */
|
|
13
29
|
cancelText?: ReactNode;
|
|
14
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* prompt dialog 옵션
|
|
33
|
+
*/
|
|
15
34
|
export interface PromptOptions extends OpenDialogOptions<string | null> {
|
|
35
|
+
/** dialog title */
|
|
16
36
|
title?: ReactNode;
|
|
37
|
+
/** 확인 버튼 문구 */
|
|
17
38
|
okText?: ReactNode;
|
|
39
|
+
/** 취소 버튼 문구 */
|
|
18
40
|
cancelText?: ReactNode;
|
|
19
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Dialog component에 주입되는 공통 props
|
|
44
|
+
*/
|
|
20
45
|
export interface DialogProps<TPayload = void, TResult = void> {
|
|
46
|
+
/** open 호출 시 전달한 payload */
|
|
21
47
|
payload: TPayload;
|
|
48
|
+
/** dialog open 상태 */
|
|
22
49
|
open: boolean;
|
|
50
|
+
/** 결과값과 함께 dialog를 닫는 함수 */
|
|
23
51
|
onClose: (result?: TResult) => Promise<void>;
|
|
24
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* `useOwpDialogs.open`으로 render할 dialog component 타입
|
|
55
|
+
*/
|
|
25
56
|
export type DialogComponent<TPayload = void, TResult = void> = ComponentType<DialogProps<TPayload, TResult>>;
|
|
57
|
+
/**
|
|
58
|
+
* alert dialog open 함수 타입
|
|
59
|
+
*/
|
|
26
60
|
export interface OpenAlertDialog {
|
|
27
61
|
(msg: ReactNode, options?: AlertOptions): Promise<void>;
|
|
28
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* confirm dialog open 함수 타입
|
|
65
|
+
*/
|
|
29
66
|
export interface OpenConfirmDialog {
|
|
30
67
|
(msg: ReactNode, options?: ConfirmOptions): Promise<boolean>;
|
|
31
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* prompt dialog open 함수 타입
|
|
71
|
+
*/
|
|
32
72
|
export interface OpenPromptDialog {
|
|
33
73
|
(msg: ReactNode, options?: PromptOptions): Promise<string | null>;
|
|
34
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* custom dialog open 함수 타입
|
|
77
|
+
*/
|
|
35
78
|
export interface OpenDialog {
|
|
36
79
|
<TPayload = void, TResult = void>(Component: DialogComponent<TPayload, TResult>, payload?: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult | undefined>;
|
|
37
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* 열린 dialog promise를 결과값으로 닫는 함수 타입
|
|
83
|
+
*/
|
|
38
84
|
export interface CloseDialog {
|
|
39
85
|
<TResult = void>(dialog: Promise<TResult | undefined>, result?: TResult): Promise<TResult | undefined>;
|
|
40
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* Dialog hook에서 제공하는 open/close API 묶음
|
|
89
|
+
*/
|
|
41
90
|
export interface DialogHook {
|
|
42
91
|
alert: OpenAlertDialog;
|
|
43
92
|
confirm: OpenConfirmDialog;
|
|
@@ -45,19 +94,45 @@ export interface DialogHook {
|
|
|
45
94
|
open: OpenDialog;
|
|
46
95
|
close: CloseDialog;
|
|
47
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Dialog provider props
|
|
99
|
+
*/
|
|
48
100
|
export interface DialogProviderProps {
|
|
101
|
+
/** provider children */
|
|
49
102
|
children?: ReactNode;
|
|
103
|
+
/** 닫힌 dialog를 unmount하기까지의 지연 시간(ms) */
|
|
50
104
|
unmountAfter?: number;
|
|
51
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* alert dialog payload
|
|
108
|
+
*/
|
|
52
109
|
export interface AlertDialogPayload extends AlertOptions {
|
|
110
|
+
/** alert dialog 본문 메시지 */
|
|
53
111
|
msg: ReactNode;
|
|
54
112
|
}
|
|
113
|
+
/**
|
|
114
|
+
* alert dialog component props
|
|
115
|
+
*/
|
|
55
116
|
export type AlertDialogProps = DialogProps<AlertDialogPayload, void>;
|
|
117
|
+
/**
|
|
118
|
+
* confirm dialog payload
|
|
119
|
+
*/
|
|
56
120
|
export interface ConfirmDialogPayload extends ConfirmOptions {
|
|
121
|
+
/** confirm dialog 본문 메시지 */
|
|
57
122
|
msg: ReactNode;
|
|
58
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* confirm dialog component props
|
|
126
|
+
*/
|
|
59
127
|
export type ConfirmDialogProps = DialogProps<ConfirmDialogPayload, boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* prompt dialog payload
|
|
130
|
+
*/
|
|
60
131
|
export interface PromptDialogPayload extends PromptOptions {
|
|
132
|
+
/** prompt dialog 본문 메시지 */
|
|
61
133
|
msg: ReactNode;
|
|
62
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* prompt dialog component props
|
|
137
|
+
*/
|
|
63
138
|
export type PromptDialogProps = DialogProps<PromptDialogPayload, string | null>;
|
|
@@ -1,51 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OWP grid header theme 설정
|
|
3
|
+
*/
|
|
1
4
|
export type OwpGridHeaderThemeConfigType = {
|
|
5
|
+
/** header cell 배경색 */
|
|
2
6
|
backgroundColor?: string;
|
|
7
|
+
/** header cell 텍스트 색상 */
|
|
3
8
|
color?: string;
|
|
9
|
+
/** header cell font size */
|
|
4
10
|
fontSize?: number | string;
|
|
11
|
+
/** header cell font weight */
|
|
5
12
|
fontWeight?: number | string;
|
|
13
|
+
/** header row 높이 */
|
|
6
14
|
height?: number | string;
|
|
7
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* OWP grid body theme 설정
|
|
18
|
+
*/
|
|
8
19
|
export type OwpGridBodyThemeConfigType = {
|
|
20
|
+
/** body 기본 배경색 */
|
|
9
21
|
backgroundColor?: string;
|
|
22
|
+
/** body 기본 텍스트 색상 */
|
|
10
23
|
color?: string;
|
|
24
|
+
/** 빈 영역 채움 배경색 */
|
|
11
25
|
fillBackgroundColor?: string;
|
|
12
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* OWP grid row theme 설정
|
|
29
|
+
*/
|
|
13
30
|
export type OwpGridRowThemeConfigType = {
|
|
31
|
+
/** row 기본 배경색 */
|
|
14
32
|
backgroundColor?: string;
|
|
33
|
+
/** solid row 배경색 */
|
|
15
34
|
solidBackgroundColor?: string;
|
|
16
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* OWP grid cell theme 설정
|
|
38
|
+
*/
|
|
17
39
|
export type OwpGridCellThemeConfigType = {
|
|
40
|
+
/** cell font size */
|
|
18
41
|
fontSize?: number | string;
|
|
19
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* OWP grid interaction state theme 설정
|
|
45
|
+
*/
|
|
20
46
|
export type OwpGridStateThemeConfigType = {
|
|
47
|
+
/** hover row 배경색 */
|
|
21
48
|
hoverRowBackgroundColor?: string;
|
|
49
|
+
/** hover row border 색상 */
|
|
22
50
|
hoverRowBorderColor?: string;
|
|
51
|
+
/** selected cell 배경색 */
|
|
23
52
|
selectedCellBackgroundColor?: string;
|
|
53
|
+
/** selected row 배경색 */
|
|
24
54
|
selectedRowBackgroundColor?: string;
|
|
55
|
+
/** focused row 배경색 */
|
|
25
56
|
focusedRowBackgroundColor?: string;
|
|
57
|
+
/** focused row border 색상 */
|
|
26
58
|
focusedRowBorderColor?: string;
|
|
59
|
+
/** hover cell 배경색 */
|
|
27
60
|
hoverCellBackgroundColor?: string;
|
|
61
|
+
/** hover cell border 색상 */
|
|
28
62
|
hoverCellBorderColor?: string;
|
|
63
|
+
/** focused cell 배경색 */
|
|
29
64
|
focusedCellBackgroundColor?: string;
|
|
65
|
+
/** focused cell border 색상 */
|
|
30
66
|
focusedCellBorderColor?: string;
|
|
67
|
+
/** editing cell border 색상 */
|
|
31
68
|
editingCellBorderColor?: string;
|
|
69
|
+
/** error cell border 색상 */
|
|
32
70
|
errorCellBorderColor?: string;
|
|
71
|
+
/** focused cell rectangle 배경색 */
|
|
33
72
|
focusedCellRectBackgroundColor?: string;
|
|
34
73
|
};
|
|
74
|
+
/**
|
|
75
|
+
* OWP grid editable cell theme 설정
|
|
76
|
+
*/
|
|
35
77
|
export type OwpGridEditableThemeConfigType = {
|
|
78
|
+
/** editable cell 배경색 */
|
|
36
79
|
backgroundColor?: string;
|
|
37
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* OWP grid changed cell theme 설정
|
|
83
|
+
*/
|
|
38
84
|
export type OwpGridChangedThemeConfigType = {
|
|
85
|
+
/** changed cell 배경색 */
|
|
39
86
|
backgroundColor?: string;
|
|
87
|
+
/** changed cell 텍스트 색상 */
|
|
40
88
|
color?: string;
|
|
89
|
+
/** changed cell font weight */
|
|
41
90
|
fontWeight?: number | string;
|
|
42
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* OWP grid theme 설정 묶음
|
|
94
|
+
*/
|
|
43
95
|
export type OwpGridThemeConfigType = {
|
|
96
|
+
/** header theme 설정 */
|
|
44
97
|
header?: OwpGridHeaderThemeConfigType;
|
|
98
|
+
/** body theme 설정 */
|
|
45
99
|
body?: OwpGridBodyThemeConfigType;
|
|
100
|
+
/** row theme 설정 */
|
|
46
101
|
row?: OwpGridRowThemeConfigType;
|
|
102
|
+
/** cell theme 설정 */
|
|
47
103
|
cell?: OwpGridCellThemeConfigType;
|
|
104
|
+
/** interaction state theme 설정 */
|
|
48
105
|
state?: OwpGridStateThemeConfigType;
|
|
106
|
+
/** editable cell theme 설정 */
|
|
49
107
|
editable?: OwpGridEditableThemeConfigType;
|
|
108
|
+
/** changed cell theme 설정 */
|
|
50
109
|
changed?: OwpGridChangedThemeConfigType;
|
|
51
110
|
};
|
|
@@ -3,9 +3,13 @@ import type { SxProps } from '@mui/system';
|
|
|
3
3
|
* Navigation badge metadata
|
|
4
4
|
*/
|
|
5
5
|
export type OwpNavBadgeType = {
|
|
6
|
+
/** badge background color */
|
|
6
7
|
bg?: string;
|
|
8
|
+
/** badge foreground color */
|
|
7
9
|
fg?: string;
|
|
10
|
+
/** badge label */
|
|
8
11
|
title: string;
|
|
12
|
+
/** badge 추가 className */
|
|
9
13
|
classes?: string;
|
|
10
14
|
};
|
|
11
15
|
/**
|
|
@@ -16,39 +20,64 @@ export type OwpPermissionFlag = 'T' | 'F';
|
|
|
16
20
|
* Navigation permission metadata
|
|
17
21
|
*/
|
|
18
22
|
export interface OwpNavPermission {
|
|
23
|
+
/** update permission flag */
|
|
19
24
|
U_PERMISSION: OwpPermissionFlag;
|
|
25
|
+
/** create permission flag */
|
|
20
26
|
C_PERMISSION: OwpPermissionFlag;
|
|
27
|
+
/** delete permission flag */
|
|
21
28
|
D_PERMISSION: OwpPermissionFlag;
|
|
29
|
+
/** read permission flag */
|
|
22
30
|
R_PERMISSION: OwpPermissionFlag;
|
|
23
31
|
}
|
|
24
32
|
/**
|
|
25
33
|
* Navigation item descriptor
|
|
26
34
|
*/
|
|
27
35
|
export type OwpNavItemType = {
|
|
36
|
+
/** navigation item id */
|
|
28
37
|
id: string;
|
|
38
|
+
/** 표시 제목 */
|
|
29
39
|
title?: string;
|
|
40
|
+
/** translation key */
|
|
30
41
|
translate?: string;
|
|
42
|
+
/** route 권한 metadata */
|
|
31
43
|
auth?: string[] | string;
|
|
44
|
+
/** 보조 설명 */
|
|
32
45
|
subtitle?: string;
|
|
46
|
+
/** OWP icon name */
|
|
33
47
|
icon?: string;
|
|
48
|
+
/** icon 추가 className */
|
|
34
49
|
iconClass?: string;
|
|
50
|
+
/** 이동 URL */
|
|
35
51
|
url?: string;
|
|
52
|
+
/** link target */
|
|
36
53
|
target?: string;
|
|
54
|
+
/** navigation item render type */
|
|
37
55
|
type?: string;
|
|
56
|
+
/** MUI sx */
|
|
38
57
|
sx?: SxProps;
|
|
58
|
+
/** 비활성화 여부 */
|
|
39
59
|
disabled?: boolean;
|
|
60
|
+
/** 활성 상태 override */
|
|
40
61
|
active?: boolean;
|
|
62
|
+
/** exact match 여부 */
|
|
41
63
|
exact?: boolean;
|
|
64
|
+
/** React Router end match 여부 */
|
|
42
65
|
end?: boolean;
|
|
66
|
+
/** badge metadata */
|
|
43
67
|
badge?: OwpNavBadgeType;
|
|
68
|
+
/** CRUD permission metadata */
|
|
44
69
|
permission?: OwpNavPermission;
|
|
70
|
+
/** 하위 navigation item 목록 */
|
|
45
71
|
children?: OwpNavItemType[];
|
|
72
|
+
/** permission 계산 결과 */
|
|
46
73
|
hasPermission?: boolean;
|
|
47
74
|
};
|
|
48
75
|
/**
|
|
49
76
|
* Flattened navigation item descriptor
|
|
50
77
|
*/
|
|
51
78
|
export type OwpFlatNavItemType = Omit<OwpNavItemType, 'children' | 'sx'> & {
|
|
79
|
+
/** flattened children id 목록 */
|
|
52
80
|
children?: string[];
|
|
81
|
+
/** tree order path */
|
|
53
82
|
order: string;
|
|
54
83
|
};
|
|
@@ -3,23 +3,30 @@ import type { DeepPartial } from 'react-hook-form';
|
|
|
3
3
|
import type { RouteObject } from 'react-router-dom';
|
|
4
4
|
import type { PartialDeep } from 'type-fest';
|
|
5
5
|
/**
|
|
6
|
-
* React Router route item
|
|
6
|
+
* React Router route item에 OWP auth/settings metadata를 더한 타입
|
|
7
7
|
*/
|
|
8
8
|
export type OwpRouteItemType = RouteObject & {
|
|
9
|
+
/** route 접근 권한. null이면 auth guard 제외 */
|
|
9
10
|
auth?: string[] | [] | null;
|
|
11
|
+
/** route 진입 시 병합할 settings override */
|
|
10
12
|
settings?: DeepPartial<OwpSettingsConfigType>;
|
|
13
|
+
/** 하위 route item */
|
|
11
14
|
children?: OwpRouteItemType[];
|
|
12
15
|
};
|
|
13
16
|
/**
|
|
14
|
-
* OWP route item list
|
|
17
|
+
* OWP route item list
|
|
15
18
|
*/
|
|
16
19
|
export type OwpRoutesType = OwpRouteItemType[];
|
|
17
20
|
/**
|
|
18
|
-
*
|
|
21
|
+
* OWP app routing setup에서 소비하는 route config
|
|
19
22
|
*/
|
|
20
23
|
export type OwpRouteConfigType = {
|
|
24
|
+
/** route item 목록 */
|
|
21
25
|
routes: OwpRoutesType;
|
|
26
|
+
/** route group settings override */
|
|
22
27
|
settings?: PartialDeep<OwpSettingsConfigType>;
|
|
28
|
+
/** route group 기본 auth */
|
|
23
29
|
auth?: string[] | [];
|
|
30
|
+
/** route group base path */
|
|
24
31
|
path?: string;
|
|
25
32
|
};
|
|
@@ -3,34 +3,64 @@ import type { Palette } from '@mui/material/styles';
|
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
4
|
import type { OwpGridThemeConfigType } from './OwpGridThemeTypes';
|
|
5
5
|
import type { OwpTableThemeConfigType } from './OwpTableThemeTypes';
|
|
6
|
+
/**
|
|
7
|
+
* OWP snackbar variant key
|
|
8
|
+
*/
|
|
6
9
|
export type OwpSnackbarVariantType = 'default' | 'success' | 'info' | 'warning' | 'error';
|
|
10
|
+
/**
|
|
11
|
+
* snackbar variant별 색상 설정
|
|
12
|
+
*/
|
|
7
13
|
export type OwpSnackbarVariantThemeConfigType = {
|
|
14
|
+
/** snackbar 배경색 */
|
|
8
15
|
backgroundColor: string;
|
|
16
|
+
/** snackbar 텍스트 색상 */
|
|
9
17
|
color: string;
|
|
10
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* OWP snackbar theme 설정
|
|
21
|
+
*/
|
|
11
22
|
export type OwpSnackbarThemeConfigType = Record<OwpSnackbarVariantType, OwpSnackbarVariantThemeConfigType>;
|
|
23
|
+
/**
|
|
24
|
+
* OWP theme 한 벌의 palette/grid/table 설정
|
|
25
|
+
*/
|
|
12
26
|
export type OwpThemeType = {
|
|
27
|
+
/** MUI palette override */
|
|
13
28
|
palette: PartialDeep<Palette>;
|
|
29
|
+
/** TreeGrid/일반 grid theme override */
|
|
14
30
|
grid?: OwpGridThemeConfigType;
|
|
31
|
+
/** OWP table theme override */
|
|
15
32
|
table?: OwpTableThemeConfigType;
|
|
16
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* theme key별 OWP theme map
|
|
36
|
+
*/
|
|
17
37
|
export type OwpThemesType = {
|
|
18
38
|
[key: string]: OwpThemeType;
|
|
19
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* OWP app settings config
|
|
42
|
+
*/
|
|
20
43
|
export type OwpSettingsConfigType = {
|
|
44
|
+
/** theme layout style과 layout별 config */
|
|
21
45
|
layout: {
|
|
22
46
|
style?: string;
|
|
23
47
|
config?: PartialDeep<themeLayoutDefaultsProps>;
|
|
24
48
|
};
|
|
49
|
+
/** custom scrollbar 사용 여부 */
|
|
25
50
|
customScrollbars?: boolean;
|
|
51
|
+
/** 문서 방향 */
|
|
26
52
|
direction: 'rtl' | 'ltr';
|
|
53
|
+
/** main/navbar/toolbar/footer theme 설정 */
|
|
27
54
|
theme: {
|
|
28
55
|
main: OwpThemeType;
|
|
29
56
|
navbar: OwpThemeType;
|
|
30
57
|
toolbar: OwpThemeType;
|
|
31
58
|
footer: OwpThemeType;
|
|
32
59
|
};
|
|
60
|
+
/** snackbar variant theme 설정 */
|
|
33
61
|
snackbar: OwpSnackbarThemeConfigType;
|
|
62
|
+
/** route auth 미지정 시 사용할 기본 권한 */
|
|
34
63
|
defaultAuth?: string[];
|
|
64
|
+
/** 로그인 화면 redirect URL */
|
|
35
65
|
loginRedirectUrl: string;
|
|
36
66
|
};
|
|
@@ -1,25 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OWP table header theme 설정
|
|
3
|
+
*/
|
|
1
4
|
export type OwpTableHeaderThemeConfigType = {
|
|
5
|
+
/** header cell 배경색 */
|
|
2
6
|
backgroundColor?: string;
|
|
7
|
+
/** header cell 텍스트 색상 */
|
|
3
8
|
color?: string;
|
|
9
|
+
/** header cell font size */
|
|
4
10
|
fontSize?: number | string;
|
|
11
|
+
/** header cell font weight */
|
|
5
12
|
fontWeight?: number | string;
|
|
6
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* OWP table body cell theme 설정
|
|
16
|
+
*/
|
|
7
17
|
export type OwpTableCellThemeConfigType = {
|
|
18
|
+
/** body cell 배경색 */
|
|
8
19
|
backgroundColor?: string;
|
|
20
|
+
/** body cell font size */
|
|
9
21
|
fontSize?: number | string;
|
|
10
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* OWP table row state theme 설정
|
|
25
|
+
*/
|
|
11
26
|
export type OwpTableRowThemeConfigType = {
|
|
27
|
+
/** row 기본 배경색 */
|
|
12
28
|
backgroundColor?: string;
|
|
29
|
+
/** hover row 배경색 */
|
|
13
30
|
hoverBackgroundColor?: string;
|
|
31
|
+
/** selected row 배경색 */
|
|
14
32
|
selectedBackgroundColor?: string;
|
|
15
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* OWP table variant별 theme 설정
|
|
36
|
+
*/
|
|
16
37
|
export type OwpTableVariantThemeConfigType = {
|
|
38
|
+
/** table border 색상 */
|
|
17
39
|
borderColor?: string;
|
|
40
|
+
/** header theme 설정 */
|
|
18
41
|
header?: OwpTableHeaderThemeConfigType;
|
|
42
|
+
/** body cell theme 설정 */
|
|
19
43
|
cell?: OwpTableCellThemeConfigType;
|
|
20
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* OWP table theme 설정 묶음
|
|
47
|
+
*/
|
|
21
48
|
export type OwpTableThemeConfigType = OwpTableVariantThemeConfigType & {
|
|
49
|
+
/** table border radius */
|
|
22
50
|
borderRadius?: number | string;
|
|
51
|
+
/** field table variant theme 설정 */
|
|
23
52
|
field?: OwpTableVariantThemeConfigType;
|
|
53
|
+
/** row state theme 설정 */
|
|
24
54
|
row?: OwpTableRowThemeConfigType;
|
|
25
55
|
};
|
|
@@ -20,18 +20,17 @@ type SwitchFieldType = FormFieldBaseType & {
|
|
|
20
20
|
type GroupFieldChildrenType = {
|
|
21
21
|
[key: string]: RadioFieldType | SwitchFieldType | NumberFieldType | GroupFieldType;
|
|
22
22
|
};
|
|
23
|
-
/**
|
|
24
|
-
* The GroupFieldType type defines the shape of a group form field.
|
|
25
|
-
* It extends the FormFieldBaseType type and adds a children property which is a GroupFieldChildrenType object.
|
|
26
|
-
*/
|
|
23
|
+
/** theme 설정 form의 group field */
|
|
27
24
|
type GroupFieldType = FormFieldBaseType & {
|
|
28
25
|
type: 'group';
|
|
29
26
|
children: GroupFieldChildrenType;
|
|
30
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* theme 설정 form에서 지원하는 field union
|
|
30
|
+
*/
|
|
31
31
|
export type AnyFormFieldType = RadioFieldType | SwitchFieldType | NumberFieldType | GroupFieldType;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* It is used to generate the form fields based on the configuration in the themeLayoutConfigs object.
|
|
33
|
+
* theme layout config 기반 form field map
|
|
35
34
|
*/
|
|
36
35
|
type ThemeFormConfigTypes = {
|
|
37
36
|
[key: string]: AnyFormFieldType;
|
|
@@ -1,14 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IPX 공통코드 row 타입
|
|
3
|
+
*/
|
|
1
4
|
export interface CommonCode {
|
|
5
|
+
/** 공통코드 값 */
|
|
2
6
|
'IPX_COMMONCODE.CODEID': string;
|
|
7
|
+
/** 공통코드 표시명 */
|
|
3
8
|
'IPX_COMMONCODE.CODENM': string;
|
|
9
|
+
/** 공통코드 group id */
|
|
4
10
|
'IPX_COMMONCODE.GROUPID': string;
|
|
11
|
+
/** 공통코드 group 표시명 */
|
|
5
12
|
'IPX_COMMONCODE.GROUPNM': string;
|
|
13
|
+
/** 사용 여부 flag */
|
|
6
14
|
'IPX_COMMONCODE.FLAG': 'Y' | 'N';
|
|
15
|
+
/** 등록/수정 일시 */
|
|
7
16
|
'IPX_COMMONCODE.WDATE': string;
|
|
17
|
+
/** 비고 */
|
|
8
18
|
'IPX_COMMONCODE.REMARK': string;
|
|
19
|
+
/** 추가 설명 또는 보조 value */
|
|
9
20
|
'IPX_COMMONCODE.DESCRIPTION': string;
|
|
10
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* 공통코드 API 응답 타입
|
|
24
|
+
*/
|
|
11
25
|
export interface CommonCodeRes {
|
|
26
|
+
/** 공통코드 row 목록 */
|
|
12
27
|
resultData?: Array<CommonCode>;
|
|
13
28
|
}
|
|
14
29
|
type TreeGridEnumAttributeMap = Record<string, string>;
|
|
@@ -23,5 +38,8 @@ export declare const transformGridEnumByCommonCodeList: (commonCodeListData?: Ar
|
|
|
23
38
|
* @param commonCodeList 공통코드 목록
|
|
24
39
|
*/
|
|
25
40
|
export declare const transformCommonCodeBasedOnGroupId: (commonCodeList: Array<CommonCode>) => Record<string, CommonCode[]>;
|
|
41
|
+
/**
|
|
42
|
+
* 공통코드 목록을 TreeGrid Enum 속성으로 변환하는 기존 호환 alias
|
|
43
|
+
*/
|
|
26
44
|
export declare const buildTreeGridEnumAttributesByCommonCodeList: (commonCodeListData?: Array<CommonCode> | undefined, fieldKey?: string) => TreeGridEnumAttributeMap;
|
|
27
45
|
export {};
|
|
@@ -1,10 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FormData field에 append 가능한 값 타입
|
|
3
|
+
*/
|
|
1
4
|
export type FormDataFieldValue = string | number | Blob | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* file 외 추가 field map
|
|
7
|
+
*/
|
|
2
8
|
export type TAdditionalFields = Record<string, FormDataFieldValue>;
|
|
9
|
+
/**
|
|
10
|
+
* file upload 입력 parameter
|
|
11
|
+
*/
|
|
3
12
|
export type FormDataUploadParams<TFields extends TAdditionalFields = TAdditionalFields> = {
|
|
13
|
+
/** 업로드할 파일 */
|
|
4
14
|
file: File;
|
|
5
15
|
} & Omit<TFields, 'file'>;
|
|
16
|
+
/**
|
|
17
|
+
* FormData 생성 전에 정규화된 upload body
|
|
18
|
+
*/
|
|
6
19
|
export type FormDataUploadBody<TFields extends TAdditionalFields = TAdditionalFields> = Record<string, FormDataFieldValue> & FormDataUploadParams<TFields>;
|
|
20
|
+
/**
|
|
21
|
+
* upload parameter 정규화 옵션
|
|
22
|
+
*/
|
|
7
23
|
export interface NormalizeFormDataUploadParamsOptions {
|
|
24
|
+
/** 파일명을 넣을 field name. 생략 시 PAGEID/TABLENAME 조합 또는 기본값 사용 */
|
|
8
25
|
fileNameFieldName?: string;
|
|
9
26
|
}
|
|
10
27
|
/**
|
|
@@ -16,5 +33,6 @@ export declare const normalizeFormDataUploadParams: <TFields extends TAdditional
|
|
|
16
33
|
/**
|
|
17
34
|
* FormData body 생성
|
|
18
35
|
* @param body flat body 객체
|
|
36
|
+
* @returns undefined field를 제외하고 문자열/Blob으로 append한 FormData
|
|
19
37
|
*/
|
|
20
38
|
export declare const createFormDataBody: (body: unknown) => FormData;
|
|
@@ -17,13 +17,13 @@ type ExcelMergeCellOptions = Omit<ExcelCellOptions, 'key'> & {
|
|
|
17
17
|
range: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Excel column letter index 변환
|
|
21
21
|
* @param letters 엑셀 컬럼 문자
|
|
22
22
|
*/
|
|
23
23
|
export declare const getIndexByLetters: (letters: string) => number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @param index
|
|
25
|
+
* Excel column index를 letter로 변환
|
|
26
|
+
* @param index Excel column index
|
|
27
27
|
*/
|
|
28
28
|
export declare const getLettersByIndex: (index: number) => string;
|
|
29
29
|
/**
|
|
@@ -40,7 +40,7 @@ export declare const exportExcelByBuffer: (buffer: ExcelJS.Buffer, title?: strin
|
|
|
40
40
|
* @param font 폰트 옵션
|
|
41
41
|
* @param alignment 정렬 옵션
|
|
42
42
|
* @param fill 채우기 옵션
|
|
43
|
-
* @param isHeader
|
|
43
|
+
* @param isHeader header cell 여부
|
|
44
44
|
*/
|
|
45
45
|
export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, alignment, fill, isHeader }: ExcelCellOptions) => void;
|
|
46
46
|
/**
|
|
@@ -51,6 +51,6 @@ export declare const setCellValue: (ws: ExcelJS.Worksheet, { key, value, font, a
|
|
|
51
51
|
* @param font 폰트 옵션
|
|
52
52
|
* @param alignment 정렬 옵션
|
|
53
53
|
* @param fill 채우기 옵션
|
|
54
|
-
* @param isHeader
|
|
54
|
+
* @param isHeader header cell 여부
|
|
55
55
|
*/
|
|
56
56
|
export declare const setMergeCells: (ws: ExcelJS.Worksheet, { range, value, font, alignment, fill, isHeader }: ExcelMergeCellOptions) => void;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 시작 페이지 경로 계산에 필요한 사용자 정보
|
|
3
|
+
*/
|
|
1
4
|
export type StartPageUser = {
|
|
5
|
+
/** MES 전용 시작 페이지 ID */
|
|
2
6
|
MES_STARTPAGE?: string | null;
|
|
7
|
+
/** 기본 시작 페이지 ID */
|
|
3
8
|
STARTPAGE?: string | null;
|
|
4
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* 사용자 시작 페이지 ID를 `/pages/{id}` 경로로 변환
|
|
12
|
+
* @param currentUser 시작 페이지 정보가 포함된 사용자 객체
|
|
13
|
+
* @returns 시작 페이지가 없으면 `/`
|
|
14
|
+
*/
|
|
5
15
|
export declare const getStartPagePath: (currentUser?: StartPageUser | null) => string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
/** TreeGrid body row 변경을 window 단위로 알리는 custom event name */
|
|
1
2
|
export declare const TREE_GRID_BODY_ROWS_CHANGED_EVENT = "owp-treegrid:body-rows-changed";
|
|
3
|
+
/** TreeGrid body row 변경 event detail */
|
|
2
4
|
export type TreeGridBodyRowsChangedEventDetail = {
|
|
5
|
+
/** 변경이 발생한 TreeGrid 인스턴스 ID */
|
|
3
6
|
gridId: string;
|
|
4
7
|
};
|
|
5
8
|
/**
|
|
6
|
-
* TreeGrid
|
|
9
|
+
* TreeGrid body row 변경 event 전파
|
|
7
10
|
* @param gridId TreeGrid 인스턴스 ID
|
|
8
11
|
*/
|
|
9
12
|
export declare const emitTreeGridBodyRowsChanged: (gridId: string) => void;
|