@owp/core 2.5.47 → 2.5.48
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/index10.js +2 -2
- package/dist/_virtual/index12.js +2 -2
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index17.js +5 -2
- package/dist/_virtual/index17.js.map +1 -1
- package/dist/_virtual/index18.js +4 -4
- package/dist/_virtual/index19.js +4 -4
- 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.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/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/treeGridLayout.js.map +1 -1
- 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.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.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/CODE128/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.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/barcodes/ITF/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
- package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.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/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/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/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 +15 -1
- 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
|
@@ -2,6 +2,7 @@ import { type Dispatch, type RefObject, type SetStateAction } from 'react';
|
|
|
2
2
|
import type { OwpTreeGridBodyData, OwpTreeGridDisabledAnimation, OwpTreeGridLayoutConfig, OwpTreeGridProps, OwpTreeGridRowModel, OwpTreeGridSuppressCfg } from '../OwpTreeGrid';
|
|
3
3
|
import type { OwpTreeGridErrorTooltipHideHandler, OwpTreeGridErrorTooltipShowHandler } from './hooks/useOwpTreeGridErrorTooltip';
|
|
4
4
|
import { type OwpTreeGridSelectionScope } from './treeGridSelection';
|
|
5
|
+
/** TreeGrid binding loading indicator 최소 노출 시간(ms) */
|
|
5
6
|
export declare const TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS = 300;
|
|
6
7
|
type TreeGridInitializationInput<T> = {
|
|
7
8
|
id: string;
|
|
@@ -23,41 +24,75 @@ type TreeGridInternalCellClickHandler<T> = (grid: TGrid, row: OwpTreeGridRowMode
|
|
|
23
24
|
type TreeGridInternalButtonClickHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, col: string, event: Event) => boolean | number | undefined;
|
|
24
25
|
type TreeGridInternalKeyDownHandler = (grid: TGrid, key: string, event: Event, name: string, prefix: string) => boolean | number | undefined;
|
|
25
26
|
type TreeGridInternalStartEditHandler<T> = (grid: TGrid, row: OwpTreeGridRowModel<T>, col: string) => boolean | number | undefined;
|
|
27
|
+
/** TreeGrid runtime에 연결되는 public/internal event handler 모음 */
|
|
26
28
|
export type TreeGridEventHandlers<T> = Pick<OwpTreeGridProps<T>, 'onSelect' | 'onRowClick' | 'onRowAdd' | 'onRowDelete' | 'onRowUndelete' | 'onRowChange' | 'onClickButton' | 'onSave' | 'onReady' | 'onAfterValueChanged'> & {
|
|
29
|
+
/** 삭제 취소/복원 직전 row 처리 방식을 결정하는 callback */
|
|
27
30
|
onBeforeRowUndelete?: TreeGridBeforeRowUndeleteHandler<T>;
|
|
31
|
+
/** TreeGrid button click 기본 처리 전 internal callback */
|
|
28
32
|
onInternalButtonClick?: TreeGridInternalButtonClickHandler<T>;
|
|
33
|
+
/** TreeGrid cell click 기본 처리 전 internal callback */
|
|
29
34
|
onInternalCellClick?: TreeGridInternalCellClickHandler<T>;
|
|
35
|
+
/** TreeGrid keydown 기본 처리 전 internal callback */
|
|
30
36
|
onInternalKeyDown?: TreeGridInternalKeyDownHandler;
|
|
37
|
+
/** TreeGrid edit 시작 전 internal callback */
|
|
31
38
|
onInternalStartEdit?: TreeGridInternalStartEditHandler<T>;
|
|
32
39
|
};
|
|
40
|
+
/** TreeGrid event binding과 runtime sync에 필요한 mutable ref 집합 */
|
|
33
41
|
export type TreeGridEventBindingOptions<T> = Pick<OwpTreeGridProps<T>, 'id'> & {
|
|
42
|
+
/** 최신 event handler snapshot */
|
|
34
43
|
latestEventHandlersRef: RefObject<TreeGridEventHandlers<T>>;
|
|
44
|
+
/** layout에서 enter 동작을 명시했는지 여부 */
|
|
35
45
|
layoutHasExplicitEnterModeRef: RefObject<boolean>;
|
|
46
|
+
/** editable cell highlight 활성 상태 */
|
|
36
47
|
highlightEditableCellsRef: RefObject<boolean>;
|
|
48
|
+
/** changed cell highlight 활성 상태 */
|
|
37
49
|
highlightChangedCellsRef: RefObject<boolean>;
|
|
50
|
+
/** 삭제 row 편집 가능 상태 동기화 여부 */
|
|
38
51
|
syncDeletedRowCanEditRef: RefObject<boolean>;
|
|
52
|
+
/** editable cell background RGB numeric value */
|
|
39
53
|
editableCellBackgroundColorValueRef: RefObject<number | undefined>;
|
|
54
|
+
/** 변경 cell 배경색 */
|
|
40
55
|
changedCellBackgroundColorRef: RefObject<string>;
|
|
56
|
+
/** focus cell 배경색 */
|
|
41
57
|
focusedCellBackgroundColorRef: RefObject<string>;
|
|
58
|
+
/** 선택 cell 배경색 */
|
|
42
59
|
selectedCellBackgroundColorRef: RefObject<string>;
|
|
60
|
+
/** hover cell 배경색 */
|
|
43
61
|
hoverCellBackgroundColorRef: RefObject<string>;
|
|
62
|
+
/** 변경 감지 기준 cell 값 저장소 */
|
|
44
63
|
changedCellBaselineRef: RefObject<TreeGridCellBaselineMap>;
|
|
64
|
+
/** TreeGrid instance ref */
|
|
45
65
|
treeGridInstanceRef: RefObject<TGrid>;
|
|
66
|
+
/** TreeGrid 초기화 시작 시각 */
|
|
46
67
|
treeGridInitStartedAtRef: RefObject<number | null>;
|
|
68
|
+
/** 최신 layout override */
|
|
47
69
|
latestLayoutOverridesRef: RefObject<OwpTreeGridLayoutConfig | undefined>;
|
|
70
|
+
/** 최신 toolbar total count formula */
|
|
48
71
|
latestToolbarTotalCountFormulaRef: RefObject<string | undefined>;
|
|
72
|
+
/** 최신 SuppressCfg override */
|
|
49
73
|
latestSuppressCfgRef: RefObject<OwpTreeGridSuppressCfg | undefined>;
|
|
74
|
+
/** child header sort button 숨김 여부 */
|
|
50
75
|
latestHideChildHeaderSortButtonsRef: RefObject<boolean>;
|
|
76
|
+
/** 최신 row selection scope */
|
|
51
77
|
latestSelectionScopeRef: RefObject<OwpTreeGridSelectionScope | undefined>;
|
|
78
|
+
/** 최신 disabled animation 목록 */
|
|
52
79
|
latestDisabledAnimationsRef: RefObject<readonly OwpTreeGridDisabledAnimation[] | undefined>;
|
|
80
|
+
/** grid에 이미 적용한 layout override */
|
|
53
81
|
appliedLayoutOverridesRef: RefObject<OwpTreeGridLayoutConfig | undefined>;
|
|
82
|
+
/** grid에 이미 적용한 body data prop */
|
|
54
83
|
appliedBodyDataPropRef: RefObject<OwpTreeGridBodyData<T>>;
|
|
84
|
+
/** 초기 layout 적용 완료 여부 */
|
|
55
85
|
hasAppliedInitialLayoutRef: RefObject<boolean>;
|
|
86
|
+
/** 표시 가능한 data row 존재 여부 동기화 callback */
|
|
56
87
|
syncHasDisplayDataRows: (grid: TGrid | null) => void;
|
|
88
|
+
/** TreeGrid ready 상태 setter */
|
|
57
89
|
setIsTreeGridReady: Dispatch<SetStateAction<boolean>>;
|
|
90
|
+
/** error tooltip 표시 callback */
|
|
58
91
|
showErrorTooltip: OwpTreeGridErrorTooltipShowHandler;
|
|
92
|
+
/** error tooltip 숨김 callback */
|
|
59
93
|
hideErrorTooltip: OwpTreeGridErrorTooltipHideHandler;
|
|
60
94
|
};
|
|
95
|
+
/** changed cell highlight 비교를 위한 row/column별 baseline value 저장소 */
|
|
61
96
|
export type TreeGridCellBaselineMap = WeakMap<TRow, Map<string, string>>;
|
|
62
97
|
/**
|
|
63
98
|
* TreeGrid 레이아웃 Enter 동작 명시 여부
|
|
@@ -132,12 +167,12 @@ export declare const hasTreeGridDisplayDataRows: (grid: TGrid | null) => boolean
|
|
|
132
167
|
* TreeGrid Body 데이터 교체 후 재로드
|
|
133
168
|
* @param grid TreeGrid 인스턴스
|
|
134
169
|
* @param bodyData 새 Body 데이터
|
|
135
|
-
* @param onReloadFinish
|
|
170
|
+
* @param onReloadFinish reload 완료 callback
|
|
136
171
|
*/
|
|
137
172
|
export declare const replaceTreeGridBodyData: <T>(grid: TGrid, bodyData: OwpTreeGridBodyData<T>, onReloadFinish?: (code: number) => void) => void;
|
|
138
173
|
/**
|
|
139
|
-
* TreeGrid
|
|
140
|
-
* @param options
|
|
174
|
+
* TreeGrid event binding
|
|
175
|
+
* @param options event binding option
|
|
141
176
|
*/
|
|
142
177
|
export declare const bindTreeGridEvents: <T>({ id, latestEventHandlersRef, layoutHasExplicitEnterModeRef, highlightEditableCellsRef, highlightChangedCellsRef, syncDeletedRowCanEditRef, editableCellBackgroundColorValueRef, changedCellBackgroundColorRef, focusedCellBackgroundColorRef, selectedCellBackgroundColorRef, hoverCellBackgroundColorRef, changedCellBaselineRef, treeGridInstanceRef, treeGridInitStartedAtRef, latestLayoutOverridesRef, latestToolbarTotalCountFormulaRef, latestSuppressCfgRef, latestHideChildHeaderSortButtonsRef, latestSelectionScopeRef, latestDisabledAnimationsRef, appliedLayoutOverridesRef, appliedBodyDataPropRef, hasAppliedInitialLayoutRef, syncHasDisplayDataRows, setIsTreeGridReady, showErrorTooltip, hideErrorTooltip, }: TreeGridEventBindingOptions<T>) => void;
|
|
143
178
|
export {};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TreeGrid 선택 row 반환 범위
|
|
3
|
+
*/
|
|
1
4
|
export type OwpTreeGridSelectionScope = 'native' | 'panelRowSpan';
|
|
5
|
+
/**
|
|
6
|
+
* 선택 row 목록 계산 옵션
|
|
7
|
+
*/
|
|
2
8
|
export type OwpTreeGridSelectedRowsResolveOptions = {
|
|
9
|
+
/** 선택 row 반환 범위 */
|
|
3
10
|
selectionScope?: OwpTreeGridSelectionScope;
|
|
11
|
+
/** `selectionScope`와 별개로 Panel row span 묶음 row를 포함할지 여부 */
|
|
4
12
|
includePanelRowSpanRows?: boolean;
|
|
5
13
|
};
|
|
6
14
|
/**
|
|
7
|
-
* TreeGrid 선택
|
|
15
|
+
* TreeGrid 선택 row 목록을 Panel row span 범위까지 확장
|
|
8
16
|
* @param grid TreeGrid 인스턴스
|
|
9
17
|
* @param selectedRows TreeGrid 선택 행 목록
|
|
10
18
|
* @param options 선택 행 반환 범위 옵션
|
|
19
|
+
* @returns 선택 row 목록. `panelRowSpan` 범위에서는 같은 Panel span의 표시 row를 중복 없이 포함
|
|
11
20
|
*/
|
|
12
21
|
export declare const resolveTreeGridSelectedRows: <T>(grid: TGrid, selectedRows: Array<TRow & T>, options?: OwpTreeGridSelectedRowsResolveOptions) => (TRow & T)[];
|
|
@@ -3,22 +3,36 @@ import type { OwpGridThemeConfigType } from '@/types/OwpGridThemeTypes';
|
|
|
3
3
|
import type { CSSProperties } from 'react';
|
|
4
4
|
type TreeGridThemeCssVariableName = '--owp-tree-grid-body-background-color' | '--owp-tree-grid-body-color' | '--owp-tree-grid-body-fill-background-color' | '--owp-tree-grid-row-background-color' | '--owp-tree-grid-row-solid-background-color' | '--owp-tree-grid-toolbar-row-background-color' | '--owp-tree-grid-header-background-color' | '--owp-tree-grid-header-color' | '--owp-tree-grid-header-font-size' | '--owp-tree-grid-header-font-weight' | '--owp-tree-grid-header-height' | '--owp-tree-grid-cell-font-size' | '--owp-tree-grid-hover-row-background-color' | '--owp-tree-grid-hover-row-border-color' | '--owp-tree-grid-selected-cell-background-color' | '--owp-tree-grid-selected-row-background-color' | '--owp-tree-grid-focused-row-background-color' | '--owp-tree-grid-focused-row-border-color' | '--owp-tree-grid-hover-cell-background-color' | '--owp-tree-grid-hover-cell-border-color' | '--owp-tree-grid-focused-cell-background-color' | '--owp-tree-grid-focused-cell-border-color' | '--owp-tree-grid-editing-cell-border-color' | '--owp-tree-grid-error-cell-border-color' | '--owp-tree-grid-focused-cell-rect-background-color' | '--owp-tree-grid-changed-background-color' | '--owp-tree-grid-changed-text-color' | '--owp-tree-grid-changed-font-weight' | '--owp-tree-grid-added-row-box-color' | '--owp-tree-grid-table-border-radius';
|
|
5
5
|
type TreeGridLayoutDimensionValue = string | number;
|
|
6
|
+
/** TreeGrid theme CSS variable을 담는 wrapper inline style */
|
|
6
7
|
export type TreeGridThemeContainerStyle = CSSProperties & Partial<Record<TreeGridThemeCssVariableName, string>>;
|
|
8
|
+
/** TreeGrid theme variable scope wrapper class */
|
|
7
9
|
export declare const TREE_GRID_THEME_WRAPPER_CLASS = "owp-tree-grid-theme";
|
|
10
|
+
/** table radius override scope class */
|
|
8
11
|
export declare const TREE_GRID_THEME_TABLE_RADIUS_CLASS = "owp-tree-grid-table-radius";
|
|
12
|
+
/** panel checkbox select cell marker class */
|
|
9
13
|
export declare const TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS = "owp-tree-grid-panel-checkbox-select";
|
|
14
|
+
/** header panel select-all checked marker class */
|
|
10
15
|
export declare const TREE_GRID_SELECT_ALL_CHECKED_CLASS = "owp-tree-grid-select-all-checked";
|
|
16
|
+
/** header panel select-all indeterminate marker class */
|
|
11
17
|
export declare const TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS = "owp-tree-grid-select-all-indeterminate";
|
|
18
|
+
/** header panel select-all unchecked marker class */
|
|
12
19
|
export declare const TREE_GRID_SELECT_ALL_UNCHECKED_CLASS = "owp-tree-grid-select-all-unchecked";
|
|
20
|
+
/** 선택된 changed cell marker class */
|
|
13
21
|
export declare const TREE_GRID_SELECTED_CHANGED_CELL_CLASS = "owp-tree-grid-selected-changed-cell";
|
|
22
|
+
/** error cell marker class */
|
|
14
23
|
export declare const TREE_GRID_ERROR_CELL_CLASS = "owp-tree-grid-error-cell";
|
|
24
|
+
/** 신규 행 box overlay 대상 cell marker class */
|
|
15
25
|
export declare const TREE_GRID_ADDED_ROW_BOX_CELL_CLASS = "owp-tree-grid-added-row-box-cell";
|
|
26
|
+
/** 신규 행 box overlay 시작 cell marker class */
|
|
16
27
|
export declare const TREE_GRID_ADDED_ROW_BOX_START_CLASS = "owp-tree-grid-added-row-box-start";
|
|
28
|
+
/** 신규 행 box overlay 끝 cell marker class */
|
|
17
29
|
export declare const TREE_GRID_ADDED_ROW_BOX_END_CLASS = "owp-tree-grid-added-row-box-end";
|
|
30
|
+
/** TreeGrid vendor CSS class prefix 목록 */
|
|
18
31
|
export declare const TREE_GRID_STYLE_PREFIXES: readonly ["TS", "TW", "TB", "TM", "TT", "CF", "CL", "CO", "CG", "CB", "CQ", "CE", "CS", "CR", "CP", "CC"];
|
|
32
|
+
/** TreeGrid vendor DOM selector에 주입하는 OWP theme style map */
|
|
19
33
|
export declare const treeGridThemeStyles: Record<string, CSSProperties>;
|
|
20
34
|
/**
|
|
21
|
-
* TreeGrid theme CSS
|
|
35
|
+
* TreeGrid theme CSS variable container style 생성
|
|
22
36
|
* @param input Grid theme 입력값
|
|
23
37
|
*/
|
|
24
38
|
export declare const createTreeGridThemeContainerStyle: ({ width, height, treeGridTheme, gridThemeConfig, containerStyle, tableBorderRadius, }: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** TreeGrid perf 로그를 활성화하는 window flag key */
|
|
1
2
|
export declare const TREE_GRID_PERF_FLAG = "__OWP_TREE_GRID_PERF__";
|
|
2
3
|
/**
|
|
3
4
|
* TreeGrid 성능 계측 활성 여부
|
|
@@ -10,20 +11,20 @@ export declare const getTreeGridPerfTimestamp: () => number;
|
|
|
10
11
|
/**
|
|
11
12
|
* TreeGrid 성능 계측 카운트 로그
|
|
12
13
|
* @param gridId TreeGrid 인스턴스 ID
|
|
13
|
-
* @param label 계측
|
|
14
|
+
* @param label 계측 label
|
|
14
15
|
*/
|
|
15
16
|
export declare const countTreeGridPerf: (gridId: string, label: string) => void;
|
|
16
17
|
/**
|
|
17
18
|
* TreeGrid 성능 계측 디버그 로그
|
|
18
19
|
* @param gridId TreeGrid 인스턴스 ID
|
|
19
|
-
* @param label 계측
|
|
20
|
+
* @param label 계측 label
|
|
20
21
|
* @param payload 부가 정보
|
|
21
22
|
*/
|
|
22
23
|
export declare const logTreeGridPerf: (gridId: string, label: string, payload?: Record<string, unknown>) => void;
|
|
23
24
|
/**
|
|
24
25
|
* TreeGrid 성능 계측 측정 로그
|
|
25
26
|
* @param gridId TreeGrid 인스턴스 ID
|
|
26
|
-
* @param label 계측
|
|
27
|
+
* @param label 계측 label
|
|
27
28
|
* @param startedAt 시작 시각
|
|
28
29
|
* @param payload 부가 정보
|
|
29
30
|
*/
|
package/dist/types/components/OwpTreeGridExportExcelButton/OwpTreeGridExportExcelButton.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { type ButtonProps } from '@mui/material';
|
|
2
|
+
/**
|
|
3
|
+
* TreeGrid Excel export button props
|
|
4
|
+
*/
|
|
2
5
|
export interface OwpTreeGridExportExcelButtonProps extends ButtonProps {
|
|
6
|
+
/** Excel로 내보낼 TreeGrid instance id */
|
|
3
7
|
gridId: string;
|
|
8
|
+
/** 다운로드 파일명. 생략 시 `gridId` 사용 */
|
|
4
9
|
exportName?: string;
|
|
5
10
|
}
|
|
6
11
|
/**
|
|
7
|
-
* TreeGrid
|
|
8
|
-
* @param
|
|
9
|
-
* @param exportName 다운로드 파일명
|
|
12
|
+
* 지정한 TreeGrid instance를 Excel 파일로 다운로드하는 버튼
|
|
13
|
+
* @param props TreeGrid id, 파일명, MUI Button 표시 속성
|
|
10
14
|
*/
|
|
11
15
|
declare const OwpTreeGridExportExcelButton: ({ gridId, exportName, children, loading, loadingPosition, onClick, ...buttonProps }: OwpTreeGridExportExcelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
16
|
export { OwpTreeGridExportExcelButton };
|
package/dist/types/components/OwpTreeGridResetChangesButton/OwpTreeGridResetChangesButton.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { type ButtonProps } from '@mui/material';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* TreeGrid 변경 초기화 button props
|
|
5
|
+
*/
|
|
3
6
|
export interface OwpTreeGridResetChangesButtonProps extends ButtonProps {
|
|
7
|
+
/** 변경 사항을 초기화할 TreeGrid instance id */
|
|
4
8
|
gridId: string;
|
|
9
|
+
/** confirm dialog title override */
|
|
5
10
|
confirmTitle?: ReactNode | string;
|
|
6
11
|
}
|
|
7
12
|
/**
|
|
8
|
-
* TreeGrid 변경
|
|
9
|
-
* @param
|
|
10
|
-
* @param confirmTitle 확인 대화상자 제목
|
|
13
|
+
* confirm 후 지정한 TreeGrid instance의 변경 상태를 초기화하는 버튼
|
|
14
|
+
* @param props TreeGrid id, confirm title, MUI Button 표시 속성
|
|
11
15
|
*/
|
|
12
16
|
declare const OwpTreeGridResetChangesButton: ({ gridId, confirmTitle, children, onClick, ...buttonProps }: OwpTreeGridResetChangesButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
17
|
export { OwpTreeGridResetChangesButton };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { type OwpOptionSelectorProps } from '@/components/OwpOptionSelector';
|
|
2
2
|
import { type ReactNode } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Y/N 고정 option selector props
|
|
5
|
+
*/
|
|
3
6
|
export interface OwpYesNoSelectorProps extends Omit<OwpOptionSelectorProps, 'options'> {
|
|
7
|
+
/** `Y` option label */
|
|
4
8
|
yesLabel?: ReactNode;
|
|
9
|
+
/** `N` option label */
|
|
5
10
|
noLabel?: ReactNode;
|
|
6
11
|
}
|
|
7
12
|
/**
|
|
8
|
-
* Y
|
|
9
|
-
* @param label
|
|
10
|
-
* @param helperText 하단 안내 문구
|
|
11
|
-
* @param yesLabel Y 항목 라벨
|
|
12
|
-
* @param noLabel N 항목 라벨
|
|
13
|
-
* @param showAllOption 전체 옵션 노출 여부
|
|
13
|
+
* `Y`와 `N` 두 값을 고정 option으로 제공하는 selector
|
|
14
|
+
* @param props Y/N label override와 `OwpOptionSelector` 표시 옵션
|
|
14
15
|
*/
|
|
15
16
|
declare const OwpYesNoSelector: ({ yesLabel, noLabel, ...optionSelectorProps }: OwpYesNoSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export { OwpYesNoSelector };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
interface OwpZoomImageSliderProps {
|
|
3
3
|
className?: string;
|
|
4
4
|
imageHeight?: number;
|
|
@@ -8,13 +8,13 @@ interface OwpZoomImageSliderProps {
|
|
|
8
8
|
imageList?: string[];
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* @param className
|
|
13
|
-
* @param imageHeight
|
|
14
|
-
* @param title
|
|
15
|
-
* @param rightActions
|
|
16
|
-
* @param isScannerPositionRight
|
|
17
|
-
* @param imageList
|
|
11
|
+
* 이미지 목록을 이전/다음으로 이동하며 확대 보기 영역에 표시
|
|
12
|
+
* @param className root className
|
|
13
|
+
* @param imageHeight 확대 이미지 영역 높이
|
|
14
|
+
* @param title header title 영역
|
|
15
|
+
* @param rightActions header 오른쪽 action 영역
|
|
16
|
+
* @param isScannerPositionRight scanner overlay 오른쪽 배치 여부
|
|
17
|
+
* @param imageList 표시할 image URL 목록
|
|
18
18
|
*/
|
|
19
19
|
declare const OwpZoomImageSlider: ({ className, imageHeight, title, rightActions, isScannerPositionRight, imageList, }: OwpZoomImageSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export { OwpZoomImageSlider };
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { OwpSettingsConfigType, OwpThemesType } from '@/types/OwpSettingsTypes';
|
|
2
2
|
import { type ThemeOptions } from '@mui/material/styles';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
|
+
/**
|
|
5
|
+
* OWP snackbar variant별 기본 색상
|
|
6
|
+
*/
|
|
4
7
|
export declare const defaultSnackbarTheme: {
|
|
5
8
|
default: {
|
|
6
9
|
backgroundColor: string;
|
|
@@ -34,28 +37,30 @@ export declare function getDefaultLayout(style?: string): OwpSettingsConfigType[
|
|
|
34
37
|
*/
|
|
35
38
|
export declare function getDefaultThemeSettings(themesConfig?: PartialDeep<OwpThemesType>): OwpSettingsConfigType['theme'];
|
|
36
39
|
/**
|
|
37
|
-
*
|
|
40
|
+
* OWP app 기본 settings
|
|
38
41
|
*/
|
|
39
42
|
export declare const defaultSettings: OwpSettingsConfigType;
|
|
40
43
|
/**
|
|
41
|
-
*
|
|
42
|
-
*
|
|
44
|
+
* URL query string의 `defaultSettings` 값을 OWP settings override로 파싱
|
|
45
|
+
* @returns query 값이 없거나 객체가 아니면 빈 객체
|
|
43
46
|
*/
|
|
44
47
|
export declare function getParsedQuerySettings(): {};
|
|
45
48
|
/**
|
|
46
49
|
* 기본 settings와 신규 settings 병합
|
|
47
50
|
* @param _defaultSettings 기준 settings
|
|
48
51
|
* @param _newSettings 신규 settings
|
|
52
|
+
* @returns layout style 변경 시 layout config 기본값을 재계산한 settings
|
|
49
53
|
*/
|
|
50
54
|
export declare function generateSettings(_defaultSettings: OwpSettingsConfigType, _newSettings: PartialDeep<OwpSettingsConfigType>): OwpSettingsConfigType;
|
|
51
55
|
/**
|
|
52
56
|
* 앱 초기 settings 생성
|
|
53
57
|
* @param settingsConfig 앱 settings override
|
|
54
58
|
* @param themesConfig 앱 theme 설정
|
|
59
|
+
* @returns default settings, theme config, query override를 병합한 초기 settings
|
|
55
60
|
*/
|
|
56
61
|
export declare function createInitialOwpSettings(settingsConfig?: PartialDeep<OwpSettingsConfigType>, themesConfig?: PartialDeep<OwpThemesType>): OwpSettingsConfigType;
|
|
57
62
|
/**
|
|
58
|
-
*
|
|
63
|
+
* OWP MUI theme 기본 component 옵션
|
|
59
64
|
*/
|
|
60
65
|
export declare const defaultThemeOptions: {
|
|
61
66
|
typography: {
|
|
@@ -438,7 +443,7 @@ export declare const defaultThemeOptions: {
|
|
|
438
443
|
};
|
|
439
444
|
};
|
|
440
445
|
/**
|
|
441
|
-
*
|
|
446
|
+
* OWP MUI theme에 항상 포함할 필수 옵션
|
|
442
447
|
*/
|
|
443
448
|
export declare const mustHaveThemeOptions: {
|
|
444
449
|
typography: {
|
|
@@ -453,7 +458,7 @@ export declare const mustHaveThemeOptions: {
|
|
|
453
458
|
};
|
|
454
459
|
};
|
|
455
460
|
/**
|
|
456
|
-
*
|
|
461
|
+
* OWP 기본 theme preset map
|
|
457
462
|
*/
|
|
458
463
|
export declare const defaultThemes: {
|
|
459
464
|
default: {
|
|
@@ -550,7 +555,8 @@ export declare const defaultThemes: {
|
|
|
550
555
|
};
|
|
551
556
|
};
|
|
552
557
|
/**
|
|
553
|
-
*
|
|
558
|
+
* MUI theme 기준 border mixin set 생성
|
|
559
|
+
* @param obj MUI theme options
|
|
554
560
|
*/
|
|
555
561
|
export declare function extendThemeWithMixins(obj: ThemeOptions): {
|
|
556
562
|
border: (width?: number) => {
|
|
@@ -3,10 +3,28 @@ type ExcelCellFont = ExcelJS.Cell['font'];
|
|
|
3
3
|
type ExcelCellAlignment = ExcelJS.Cell['alignment'];
|
|
4
4
|
type ExcelCellFill = ExcelJS.Cell['fill'];
|
|
5
5
|
type ExcelCellBorder = ExcelJS.Cell['border'];
|
|
6
|
+
/**
|
|
7
|
+
* Excel cell 기본 가운데 정렬
|
|
8
|
+
*/
|
|
6
9
|
export declare const DEFAULT_CELL_ALIGNMENT: ExcelCellAlignment;
|
|
10
|
+
/**
|
|
11
|
+
* Excel cell 기본 줄바꿈 가운데 정렬
|
|
12
|
+
*/
|
|
7
13
|
export declare const DEFAULT_WRAP_CELL_ALIGNMENT: ExcelCellAlignment;
|
|
14
|
+
/**
|
|
15
|
+
* Excel header cell 기본 font
|
|
16
|
+
*/
|
|
8
17
|
export declare const DEFAULT_HEADER_FONT: ExcelCellFont;
|
|
18
|
+
/**
|
|
19
|
+
* Excel value cell 기본 font
|
|
20
|
+
*/
|
|
9
21
|
export declare const DEFAULT_VALUE_FONT: ExcelCellFont;
|
|
22
|
+
/**
|
|
23
|
+
* Excel cell 기본 thin border
|
|
24
|
+
*/
|
|
10
25
|
export declare const DEFAULT_THIN_BORDER: ExcelCellBorder;
|
|
26
|
+
/**
|
|
27
|
+
* Excel header cell 기본 fill
|
|
28
|
+
*/
|
|
11
29
|
export declare const DEFAULT_HEADER_FILL: ExcelCellFill;
|
|
12
30
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { OwpGridThemeConfigType } from '@/types/OwpGridThemeTypes';
|
|
2
|
+
/** Grid theme option과 기본값을 모두 병합한 resolved token 구조 */
|
|
2
3
|
export type OwpResolvedGridThemeConfigType = {
|
|
4
|
+
/** TreeGrid header 영역 색상/typography/height */
|
|
3
5
|
header: {
|
|
4
6
|
backgroundColor: string;
|
|
5
7
|
color: string;
|
|
@@ -7,18 +9,22 @@ export type OwpResolvedGridThemeConfigType = {
|
|
|
7
9
|
fontWeight: number | string;
|
|
8
10
|
height: number | string;
|
|
9
11
|
};
|
|
12
|
+
/** TreeGrid body surface 색상 */
|
|
10
13
|
body: {
|
|
11
14
|
backgroundColor: string;
|
|
12
15
|
color: string;
|
|
13
16
|
fillBackgroundColor: string;
|
|
14
17
|
};
|
|
18
|
+
/** TreeGrid row 기본 배경 token */
|
|
15
19
|
row: {
|
|
16
20
|
backgroundColor: string;
|
|
17
21
|
solidBackgroundColor: string;
|
|
18
22
|
};
|
|
23
|
+
/** TreeGrid cell typography token */
|
|
19
24
|
cell: {
|
|
20
25
|
fontSize: number | string;
|
|
21
26
|
};
|
|
27
|
+
/** hover/selected/focused/editing/error 상태별 cell/row token */
|
|
22
28
|
state: {
|
|
23
29
|
hoverRowBackgroundColor: string;
|
|
24
30
|
hoverRowBorderColor: string;
|
|
@@ -34,15 +40,18 @@ export type OwpResolvedGridThemeConfigType = {
|
|
|
34
40
|
errorCellBorderColor: string;
|
|
35
41
|
focusedCellRectBackgroundColor: string;
|
|
36
42
|
};
|
|
43
|
+
/** editable cell 표시 token */
|
|
37
44
|
editable: {
|
|
38
45
|
backgroundColor: string;
|
|
39
46
|
};
|
|
47
|
+
/** changed cell highlight token */
|
|
40
48
|
changed: {
|
|
41
49
|
backgroundColor: string;
|
|
42
50
|
color: string;
|
|
43
51
|
fontWeight: number | string;
|
|
44
52
|
};
|
|
45
53
|
};
|
|
54
|
+
/** OWP Grid theme 기본 resolved token */
|
|
46
55
|
export declare const defaultOwpGridTheme: {
|
|
47
56
|
header: {
|
|
48
57
|
backgroundColor: string;
|
|
@@ -88,7 +97,7 @@ export declare const defaultOwpGridTheme: {
|
|
|
88
97
|
};
|
|
89
98
|
};
|
|
90
99
|
/**
|
|
91
|
-
* Grid theme
|
|
100
|
+
* Grid theme token 기본값 병합
|
|
92
101
|
* @param gridTheme 앱 theme grid 설정
|
|
93
102
|
*/
|
|
94
103
|
export declare const resolveOwpGridTheme: (gridTheme?: OwpGridThemeConfigType | null) => OwpResolvedGridThemeConfigType;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* 인증과 언어 설정에 사용하는 localStorage key map
|
|
3
3
|
*/
|
|
4
4
|
export declare const LOCAL_STORAGE_KEYS: {
|
|
5
5
|
readonly accessToken: "jwt_access_token";
|
|
6
6
|
readonly currentLanguage: "CurrentLanguage";
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* JWT access token localStorage key
|
|
10
|
+
*/
|
|
8
11
|
export declare const STORAGE_ACCESS_TOKEN_KEY: "jwt_access_token";
|
|
12
|
+
/**
|
|
13
|
+
* 현재 language localStorage key
|
|
14
|
+
*/
|
|
9
15
|
export declare const CURRENT_LANGUAGE: "CurrentLanguage";
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import type { OwpTableVariantThemeConfigType } from '@/types/OwpTableThemeTypes';
|
|
2
|
+
/** Table theme option과 fallback을 모두 병합한 resolved token 구조 */
|
|
2
3
|
export type OwpResolvedTableThemeConfigType = {
|
|
4
|
+
/** table border color */
|
|
3
5
|
borderColor: string;
|
|
6
|
+
/** header cell 색상/typography token */
|
|
4
7
|
header: {
|
|
5
8
|
backgroundColor: string;
|
|
6
9
|
color: string;
|
|
7
10
|
fontSize: number | string;
|
|
8
11
|
fontWeight: number | string;
|
|
9
12
|
};
|
|
13
|
+
/** body cell 색상/typography token */
|
|
10
14
|
cell: {
|
|
11
15
|
backgroundColor?: string;
|
|
12
16
|
fontSize: number | string;
|
|
13
17
|
};
|
|
14
18
|
};
|
|
15
19
|
/**
|
|
16
|
-
* Table theme
|
|
20
|
+
* Table theme token 기본값 병합
|
|
17
21
|
* @param tableTheme 앱 theme table 설정
|
|
18
|
-
* @param fallbackTheme
|
|
22
|
+
* @param fallbackTheme 기본 resolved table theme
|
|
19
23
|
*/
|
|
20
24
|
export declare const resolveOwpTableTheme: (tableTheme: OwpTableVariantThemeConfigType | null | undefined, fallbackTheme: OwpResolvedTableThemeConfigType) => OwpResolvedTableThemeConfigType;
|
|
@@ -1,25 +1,41 @@
|
|
|
1
|
+
/** TreeGrid warning cell 표시 색상 */
|
|
1
2
|
export declare const TREEGRID_WARNING_CELL_COLOR = "#f44336";
|
|
3
|
+
/** TreeGrid 입력 가능 cell 표시 색상 */
|
|
2
4
|
export declare const TREEGRID_INPUT_CELL_COLOR = "#ffe0b2";
|
|
5
|
+
/** TreeGrid 신규 행 배경색 */
|
|
3
6
|
export declare const TREEGRID_ADDED_ROW_BACKGROUND_COLOR = "#D7FFD7";
|
|
7
|
+
/** TreeGrid error cell border 색상 */
|
|
4
8
|
export declare const TREEGRID_ERROR_CELL_BORDER_COLOR = "#c00000";
|
|
9
|
+
/** TreeGrid 변경 cell className */
|
|
5
10
|
export declare const TREEGRID_CELL_CHANGED_CLASS = "OwpTreeGridChangedCell";
|
|
11
|
+
/** TreeGrid highlight cell 배경색 */
|
|
6
12
|
export declare const TREEGRID_CELL_HIGHLIGHT_COLOR = "#ffa726";
|
|
13
|
+
/** TreeGrid highlight cell 텍스트 색상 */
|
|
7
14
|
export declare const TREEGRID_CELL_HIGHLIGHT_TEXT_COLOR = "#ffffff";
|
|
15
|
+
/** TreeGrid highlight cell font weight */
|
|
8
16
|
export declare const TREEGRID_CELL_HIGHLIGHT_FONT_WEIGHT = 600;
|
|
17
|
+
/** TreeGrid font face family name */
|
|
9
18
|
export declare const TREEGRID_FONT_FAMILY = "RobotoLight";
|
|
19
|
+
/** TreeGrid wrapper font family stack */
|
|
10
20
|
export declare const TREEGRID_FONT_FAMILY_STACK: string;
|
|
11
21
|
/** TreeGrid 자산 base path 조회 */
|
|
12
22
|
export declare const getTreeGridAssetBasePath: () => string;
|
|
13
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* TreeGrid 자산 URL 생성
|
|
25
|
+
* @param assetPath base path 아래 자산 경로
|
|
26
|
+
*/
|
|
14
27
|
export declare const resolveTreeGridAssetUrl: (assetPath: string) => string;
|
|
15
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* TreeGrid i18n resource URL 조회
|
|
30
|
+
* @param languageId OWP language id
|
|
31
|
+
*/
|
|
16
32
|
export declare const getTreeGridTextResourceUrl: (languageId: string) => string;
|
|
17
33
|
/**
|
|
18
34
|
* TreeGrid 색상 문자열 숫자 변환
|
|
19
35
|
* @param color CSS 색상 문자열
|
|
20
36
|
*/
|
|
21
37
|
export declare const resolveTreeGridColorNumber: (color?: string | null) => number;
|
|
22
|
-
/** TreeGrid
|
|
38
|
+
/** TreeGrid font-face global style 객체 조회 */
|
|
23
39
|
export declare const getTreeGridFontFaceStyles: () => {
|
|
24
40
|
'@font-face': Record<string, string>;
|
|
25
41
|
};
|