@owp/core 1.0.0
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/QuickPanel-xYOXYOdd.js +103 -0
- package/dist/QuickPanel-xYOXYOdd.js.map +1 -0
- package/dist/index-DGvdCuqz.js +49361 -0
- package/dist/index-DGvdCuqz.js.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.js +172 -0
- package/dist/index.js.map +1 -0
- package/dist/owp-app.css +1 -0
- package/dist/types/auth/authRoles.d.ts +21 -0
- package/dist/types/colors/owpDark.d.ts +20 -0
- package/dist/types/colors/skyBlue.d.ts +20 -0
- package/dist/types/components/NavLinkAdapter/NavLinkAdapter.d.ts +18 -0
- package/dist/types/components/NavLinkAdapter/index.d.ts +1 -0
- package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +3 -0
- package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +2 -0
- package/dist/types/components/OwpButtonDelete/index.d.ts +7 -0
- package/dist/types/components/OwpButtonSave/index.d.ts +7 -0
- package/dist/types/components/OwpCommonDialog/index.d.ts +17 -0
- package/dist/types/components/OwpDialog/OwpDialog.d.ts +7 -0
- package/dist/types/components/OwpDialog/index.d.ts +1 -0
- package/dist/types/components/OwpDialog/owpDialogSlice.d.ts +14 -0
- package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +22 -0
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +10 -0
- package/dist/types/components/OwpLayout/OwpLayout.d.ts +23 -0
- package/dist/types/components/OwpLayout/index.d.ts +1 -0
- package/dist/types/components/OwpLoading/OwpLoading.d.ts +9 -0
- package/dist/types/components/OwpLoading/index.d.ts +1 -0
- package/dist/types/components/OwpMessage/OwpMessage.d.ts +8 -0
- package/dist/types/components/OwpMessage/index.d.ts +1 -0
- package/dist/types/components/OwpMessage/owpMessageSlice.d.ts +14 -0
- package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +14 -0
- package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +14 -0
- package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +20 -0
- package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +7 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +12 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +11 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +9 -0
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +6 -0
- package/dist/types/components/OwpNavigation/index.d.ts +1 -0
- package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +7 -0
- package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +8 -0
- package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +9 -0
- package/dist/types/components/OwpNavigation/types/OwpNavItemType.d.ts +30 -0
- package/dist/types/components/OwpNavigation/utils/components.d.ts +4 -0
- package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +4 -0
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +9 -0
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +7 -0
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +7 -0
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +7 -0
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +7 -0
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +8 -0
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +11 -0
- package/dist/types/components/OwpNumberField/index.d.ts +7 -0
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +52 -0
- package/dist/types/components/OwpPageCarded/OwpPageCardedHeader.d.ts +7 -0
- package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +19 -0
- package/dist/types/components/OwpPageCarded/OwpPageCardedSidebarContent.d.ts +13 -0
- package/dist/types/components/OwpPageCarded/index.d.ts +1 -0
- package/dist/types/components/OwpPageContent/index.d.ts +9 -0
- package/dist/types/components/OwpPageLockLoading/index.d.ts +6 -0
- package/dist/types/components/OwpPageSimple/OwpPageSimple.d.ts +52 -0
- package/dist/types/components/OwpPageSimple/OwpPageSimpleHeader.d.ts +14 -0
- package/dist/types/components/OwpPageSimple/OwpPageSimpleSidebar.d.ts +19 -0
- package/dist/types/components/OwpPageSimple/OwpPageSimpleSidebarContent.d.ts +13 -0
- package/dist/types/components/OwpPageSimple/index.d.ts +1 -0
- package/dist/types/components/OwpPageTitle/index.d.ts +8 -0
- package/dist/types/components/OwpPicker/CalendarContainer.d.ts +4 -0
- package/dist/types/components/OwpPicker/DatePickerInput.d.ts +8 -0
- package/dist/types/components/OwpPicker/OwpDatePicker.d.ts +18 -0
- package/dist/types/components/OwpPicker/OwpDateRangePicker.d.ts +19 -0
- package/dist/types/components/OwpPicker/OwpWeekDatePicker.d.ts +19 -0
- package/dist/types/components/OwpPicker/OwpYearRangePicker.d.ts +18 -0
- package/dist/types/components/OwpPicker/constants.d.ts +4 -0
- package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +16 -0
- package/dist/types/components/OwpScrollbars/index.d.ts +1 -0
- package/dist/types/components/OwpSearch/OwpSearch.d.ts +20 -0
- package/dist/types/components/OwpSearch/index.d.ts +1 -0
- package/dist/types/components/OwpSearchFilter/index.d.ts +9 -0
- package/dist/types/components/OwpSection/index.d.ts +13 -0
- package/dist/types/components/OwpSettings/OwpLayoutConfig.d.ts +12 -0
- package/dist/types/components/OwpSettings/OwpLayoutConfigs.d.ts +10 -0
- package/dist/types/components/OwpSettings/OwpSettings.d.ts +34 -0
- package/dist/types/components/OwpSettings/ThemeFormConfigTypes.d.ts +39 -0
- package/dist/types/components/OwpSettings/index.d.ts +1 -0
- package/dist/types/components/OwpSettings/owpSettingsSlice.d.ts +1866 -0
- package/dist/types/components/OwpSettings/palette-generator/PalettePreview.d.ts +14 -0
- package/dist/types/components/OwpSettings/palette-generator/PaletteSelector.d.ts +15 -0
- package/dist/types/components/OwpSettings/palette-generator/SectionPreview.d.ts +12 -0
- package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +16 -0
- package/dist/types/components/OwpShortcuts/index.d.ts +1 -0
- package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +15 -0
- package/dist/types/components/OwpSidePanel/index.d.ts +1 -0
- package/dist/types/components/OwpSplashScreen/OwpSplashScreen.d.ts +8 -0
- package/dist/types/components/OwpSplashScreen/index.d.ts +1 -0
- package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +15 -0
- package/dist/types/components/OwpSuspense/index.d.ts +1 -0
- package/dist/types/components/OwpSvgIcon/OwpSvgIcon.d.ts +15 -0
- package/dist/types/components/OwpSvgIcon/index.d.ts +1 -0
- package/dist/types/components/OwpTable/OwpDataTable.d.ts +38 -0
- package/dist/types/components/OwpTable/OwpTable.d.ts +22 -0
- package/dist/types/components/OwpTable/OwpVerticalTable.d.ts +27 -0
- package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +15 -0
- package/dist/types/components/OwpTheme/OwpTheme.d.ts +15 -0
- package/dist/types/components/OwpTheme/index.d.ts +1 -0
- package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +13 -0
- package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +14 -0
- package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +17 -0
- package/dist/types/components/OwpThemeSelector/index.d.ts +1 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +43 -0
- package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +13 -0
- package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +18 -0
- package/dist/types/components/OwpTreeGrid/index.d.ts +2 -0
- package/dist/types/components/OwpTreeGrid/utils.d.ts +8 -0
- package/dist/types/components/OwpTreeView/OwpSlotTreeView.d.ts +11 -0
- package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +11 -0
- package/dist/types/components/OwpZoomImageSlider/ZoomImage.d.ts +7 -0
- package/dist/types/components/layouts/index.d.ts +8 -0
- package/dist/types/components/layouts/layout1/Layout1.d.ts +10 -0
- package/dist/types/components/layouts/layout1/Layout1Config.d.ts +114 -0
- package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +9 -0
- package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +6 -0
- package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +8 -0
- package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +5 -0
- package/dist/types/components/layouts/layout1/components/RightSideLayout1.d.ts +6 -0
- package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +9 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +5 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +9 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +5 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +9 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +9 -0
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +10 -0
- package/dist/types/components/layouts/layout2/Layout2.d.ts +10 -0
- package/dist/types/components/layouts/layout2/Layout2Config.d.ts +109 -0
- package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +9 -0
- package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +6 -0
- package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +9 -0
- package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +9 -0
- package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +8 -0
- package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +5 -0
- package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +6 -0
- package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +9 -0
- package/dist/types/components/layouts/layout3/Layout3.d.ts +10 -0
- package/dist/types/components/layouts/layout3/Layout3Config.d.ts +110 -0
- package/dist/types/components/layouts/layout3/components/FooterLayout3.d.ts +9 -0
- package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +6 -0
- package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +9 -0
- package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +9 -0
- package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +5 -0
- package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +6 -0
- package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +9 -0
- package/dist/types/components/layouts/shared-components/AdjustFontSize.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/DemoLayoutFooterContent.d.ts +5 -0
- package/dist/types/components/layouts/shared-components/DocumentationButton.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +7 -0
- package/dist/types/components/layouts/shared-components/Logo.d.ts +5 -0
- package/dist/types/components/layouts/shared-components/OwpLanguageSwitcherSelect.d.ts +7 -0
- package/dist/types/components/layouts/shared-components/OwpSettingsViewerDialog.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/PoweredByLinks.d.ts +5 -0
- package/dist/types/components/layouts/shared-components/PurchaseButton.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/UserMenu.d.ts +11 -0
- package/dist/types/components/layouts/shared-components/UserNavbarHeader.d.ts +5 -0
- package/dist/types/components/layouts/shared-components/configurator/Configurator.d.ts +6 -0
- package/dist/types/components/layouts/shared-components/configurator/SettingsPanel.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/configurator/ThemesPanel.d.ts +8 -0
- package/dist/types/components/layouts/shared-components/navbar/NavbarPinToggleButton.d.ts +10 -0
- package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +7 -0
- package/dist/types/components/layouts/shared-components/navbar/NavbarToggleFab.d.ts +10 -0
- package/dist/types/components/layouts/shared-components/navbar/navbarSlice.d.ts +18 -0
- package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +3 -0
- package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +6 -0
- package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +6 -0
- package/dist/types/components/layouts/shared-components/navigation/store/navigationSlice.d.ts +86 -0
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +5 -0
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +9 -0
- package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +14 -0
- package/dist/types/components/layouts/themeLayoutConfigs.d.ts +27 -0
- package/dist/types/components/layouts/themeLayouts.d.ts +13 -0
- package/dist/types/components/shared-components/LightDarkModeToggle.d.ts +8 -0
- package/dist/types/components/shared-components/PageBreadcrumb.d.ts +6 -0
- package/dist/types/components/shared-components/PageTitle.d.ts +11 -0
- package/dist/types/components/shared-components/data-table/DataTable.d.ts +3 -0
- package/dist/types/components/shared-components/data-table/DataTableTopToolbar.d.ts +6 -0
- package/dist/types/components/shared-components/data-table/utils/parseFromValuesOrFunc.d.ts +7 -0
- package/dist/types/components/shared-components/index.d.ts +7 -0
- package/dist/types/components/shared-components/tabs/OwpTab.d.ts +6 -0
- package/dist/types/components/shared-components/tabs/OwpTabs.d.ts +6 -0
- package/dist/types/components/withRouter/index.d.ts +1 -0
- package/dist/types/components/withRouter/withRouter.d.ts +14 -0
- package/dist/types/components/withRouterAndRef/index.d.ts +1 -0
- package/dist/types/components/withRouterAndRef/withRouterAndRef.d.ts +14 -0
- package/dist/types/context/OwpAppProvider.d.ts +15 -0
- package/dist/types/default-settings/OwpDefaultSettings.d.ts +640 -0
- package/dist/types/hooks/useCommonCodeList.d.ts +11 -0
- package/dist/types/hooks/useConfirm.d.ts +23 -0
- package/dist/types/hooks/useCurrentLanguage.d.ts +13 -0
- package/dist/types/hooks/useCurrentLogoSrc.d.ts +2 -0
- package/dist/types/hooks/useCurrentUserId.d.ts +2 -0
- package/dist/types/hooks/useDebounce.d.ts +7 -0
- package/dist/types/hooks/useDeepCompareEffect.d.ts +17 -0
- package/dist/types/hooks/useNavigation.d.ts +18 -0
- package/dist/types/hooks/usePrevious.d.ts +5 -0
- package/dist/types/hooks/useShortcuts.d.ts +2 -0
- package/dist/types/hooks/useStorage.d.ts +11 -0
- package/dist/types/hooks/useThemeMediaQuery.d.ts +7 -0
- package/dist/types/hooks/useTimeout.d.ts +6 -0
- package/dist/types/index.d.ts +103 -0
- package/dist/types/store/apiService.d.ts +3 -0
- package/dist/types/store/generateReducersFromSlices.d.ts +3 -0
- package/dist/types/store/hooks.d.ts +4 -0
- package/dist/types/store/lazyLoadedSlices.d.ts +6 -0
- package/dist/types/store/middleware.d.ts +14 -0
- package/dist/types/store/store.d.ts +10 -0
- package/dist/types/store/withReducer.d.ts +5 -0
- package/dist/types/store/withSlices.d.ts +11 -0
- package/dist/types/utils/CommonCodeUtils.d.ts +17 -0
- package/dist/types/utils/ErrorBoundary.d.ts +16 -0
- package/dist/types/utils/EventEmitter.d.ts +34 -0
- package/dist/types/utils/OwpNavigationHelper.d.ts +23 -0
- package/dist/types/utils/OwpUtils.d.ts +120 -0
- package/dist/types/utils/excelUtil.d.ts +20 -0
- package/dist/types/utils/treeGridExportExcelUtil.d.ts +6 -0
- package/dist/types/utils/treeGridUtil.d.ts +24 -0
- package/dist/types/utils/zipUtil.d.ts +10 -0
- package/package.json +125 -0
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
import { ThemeOptions } from '@mui/material/styles/createTheme';
|
|
2
|
+
/**
|
|
3
|
+
* The defaultSettings object defines the default settings for the Owp application.
|
|
4
|
+
*/
|
|
5
|
+
export declare const defaultSettings: {
|
|
6
|
+
customScrollbars: boolean;
|
|
7
|
+
direction: string;
|
|
8
|
+
theme: {
|
|
9
|
+
main: {
|
|
10
|
+
palette: {
|
|
11
|
+
mode: string;
|
|
12
|
+
text: {
|
|
13
|
+
primary: string;
|
|
14
|
+
secondary: string;
|
|
15
|
+
disabled: string;
|
|
16
|
+
};
|
|
17
|
+
common: {
|
|
18
|
+
black: string;
|
|
19
|
+
white: string;
|
|
20
|
+
};
|
|
21
|
+
background: {
|
|
22
|
+
paper: string;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
primary: {
|
|
26
|
+
main: string;
|
|
27
|
+
};
|
|
28
|
+
secondary: {
|
|
29
|
+
main: string;
|
|
30
|
+
};
|
|
31
|
+
success: {
|
|
32
|
+
main: string;
|
|
33
|
+
};
|
|
34
|
+
info: {
|
|
35
|
+
main: string;
|
|
36
|
+
contrastText: string;
|
|
37
|
+
};
|
|
38
|
+
warning: {
|
|
39
|
+
main: string;
|
|
40
|
+
contrastText: string;
|
|
41
|
+
};
|
|
42
|
+
error: {
|
|
43
|
+
main: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
navbar: {
|
|
48
|
+
palette: {
|
|
49
|
+
mode: string;
|
|
50
|
+
text: {
|
|
51
|
+
primary: string;
|
|
52
|
+
secondary: string;
|
|
53
|
+
disabled: string;
|
|
54
|
+
};
|
|
55
|
+
common: {
|
|
56
|
+
black: string;
|
|
57
|
+
white: string;
|
|
58
|
+
};
|
|
59
|
+
background: {
|
|
60
|
+
paper: string;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
primary: {
|
|
64
|
+
main: string;
|
|
65
|
+
};
|
|
66
|
+
secondary: {
|
|
67
|
+
main: string;
|
|
68
|
+
};
|
|
69
|
+
success: {
|
|
70
|
+
main: string;
|
|
71
|
+
};
|
|
72
|
+
info: {
|
|
73
|
+
main: string;
|
|
74
|
+
contrastText: string;
|
|
75
|
+
};
|
|
76
|
+
warning: {
|
|
77
|
+
main: string;
|
|
78
|
+
contrastText: string;
|
|
79
|
+
};
|
|
80
|
+
error: {
|
|
81
|
+
main: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} & {
|
|
85
|
+
palette: {
|
|
86
|
+
background: {
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
toolbar: {
|
|
92
|
+
palette: {
|
|
93
|
+
mode: string;
|
|
94
|
+
text: {
|
|
95
|
+
primary: string;
|
|
96
|
+
secondary: string;
|
|
97
|
+
disabled: string;
|
|
98
|
+
};
|
|
99
|
+
common: {
|
|
100
|
+
black: string;
|
|
101
|
+
white: string;
|
|
102
|
+
};
|
|
103
|
+
background: {
|
|
104
|
+
paper: string;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
primary: {
|
|
108
|
+
main: string;
|
|
109
|
+
};
|
|
110
|
+
secondary: {
|
|
111
|
+
main: string;
|
|
112
|
+
};
|
|
113
|
+
success: {
|
|
114
|
+
main: string;
|
|
115
|
+
};
|
|
116
|
+
info: {
|
|
117
|
+
main: string;
|
|
118
|
+
contrastText: string;
|
|
119
|
+
};
|
|
120
|
+
warning: {
|
|
121
|
+
main: string;
|
|
122
|
+
contrastText: string;
|
|
123
|
+
};
|
|
124
|
+
error: {
|
|
125
|
+
main: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
} & {
|
|
129
|
+
palette: {
|
|
130
|
+
mode: string;
|
|
131
|
+
background: {
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
footer: {
|
|
137
|
+
palette: {
|
|
138
|
+
mode: string;
|
|
139
|
+
text: {
|
|
140
|
+
primary: string;
|
|
141
|
+
secondary: string;
|
|
142
|
+
disabled: string;
|
|
143
|
+
};
|
|
144
|
+
common: {
|
|
145
|
+
black: string;
|
|
146
|
+
white: string;
|
|
147
|
+
};
|
|
148
|
+
background: {
|
|
149
|
+
paper: string;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
primary: {
|
|
153
|
+
main: string;
|
|
154
|
+
};
|
|
155
|
+
secondary: {
|
|
156
|
+
main: string;
|
|
157
|
+
};
|
|
158
|
+
success: {
|
|
159
|
+
main: string;
|
|
160
|
+
};
|
|
161
|
+
info: {
|
|
162
|
+
main: string;
|
|
163
|
+
contrastText: string;
|
|
164
|
+
};
|
|
165
|
+
warning: {
|
|
166
|
+
main: string;
|
|
167
|
+
contrastText: string;
|
|
168
|
+
};
|
|
169
|
+
error: {
|
|
170
|
+
main: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* The getParsedQuerySettings function parses the query string to retrieve the default settings for the Owp application.
|
|
178
|
+
* It returns a OwpSettingsConfigType object that can be used to configure the application.
|
|
179
|
+
*/
|
|
180
|
+
export declare function getParsedQuerySettings(): {};
|
|
181
|
+
/**
|
|
182
|
+
* The defaultThemeOptions object defines the default options for the MUI theme.
|
|
183
|
+
*/
|
|
184
|
+
export declare const defaultThemeOptions: {
|
|
185
|
+
typography: {
|
|
186
|
+
fontFamily: string;
|
|
187
|
+
fontWeightLight: number;
|
|
188
|
+
fontWeightRegular: number;
|
|
189
|
+
fontWeightMedium: number;
|
|
190
|
+
};
|
|
191
|
+
components: {
|
|
192
|
+
MuiSvgIcon: {
|
|
193
|
+
defaultProps: {};
|
|
194
|
+
styleOverrides: {
|
|
195
|
+
root: {};
|
|
196
|
+
sizeSmall: {
|
|
197
|
+
width: number;
|
|
198
|
+
height: number;
|
|
199
|
+
};
|
|
200
|
+
sizeMedium: {
|
|
201
|
+
width: number;
|
|
202
|
+
height: number;
|
|
203
|
+
};
|
|
204
|
+
sizeLarge: {
|
|
205
|
+
width: number;
|
|
206
|
+
height: number;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
MuiAppBar: {
|
|
211
|
+
defaultProps: {
|
|
212
|
+
enableColorOnDark: boolean;
|
|
213
|
+
};
|
|
214
|
+
styleOverrides: {
|
|
215
|
+
root: {
|
|
216
|
+
backgroundImage: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
MuiPickersPopper: {
|
|
221
|
+
styleOverrides: {
|
|
222
|
+
root: {
|
|
223
|
+
zIndex: number;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
MuiAutocomplete: {
|
|
228
|
+
styleOverrides: {
|
|
229
|
+
popper: {
|
|
230
|
+
zIndex: number;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
MuiButtonBase: {
|
|
235
|
+
defaultProps: {};
|
|
236
|
+
styleOverrides: {
|
|
237
|
+
root: {};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
MuiIconButton: {
|
|
241
|
+
styleOverrides: {
|
|
242
|
+
root: {
|
|
243
|
+
borderRadius: number;
|
|
244
|
+
};
|
|
245
|
+
sizeMedium: {
|
|
246
|
+
width: number;
|
|
247
|
+
height: number;
|
|
248
|
+
maxHeight: number;
|
|
249
|
+
};
|
|
250
|
+
sizeSmall: {
|
|
251
|
+
width: number;
|
|
252
|
+
height: number;
|
|
253
|
+
maxHeight: number;
|
|
254
|
+
};
|
|
255
|
+
sizeLarge: {
|
|
256
|
+
width: number;
|
|
257
|
+
height: number;
|
|
258
|
+
maxHeight: number;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
MuiBadge: {
|
|
263
|
+
defaultProps: {};
|
|
264
|
+
styleOverrides: {
|
|
265
|
+
root: {};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
MuiAvatar: {
|
|
269
|
+
defaultProps: {};
|
|
270
|
+
styleOverrides: {
|
|
271
|
+
root: {
|
|
272
|
+
width: number;
|
|
273
|
+
height: number;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
MuiButton: {
|
|
278
|
+
defaultProps: {
|
|
279
|
+
variant: string;
|
|
280
|
+
color: string;
|
|
281
|
+
};
|
|
282
|
+
styleOverrides: {
|
|
283
|
+
root: {
|
|
284
|
+
textTransform: string;
|
|
285
|
+
};
|
|
286
|
+
sizeMedium: {
|
|
287
|
+
borderRadius: number;
|
|
288
|
+
height: number;
|
|
289
|
+
minHeight: number;
|
|
290
|
+
maxHeight: number;
|
|
291
|
+
};
|
|
292
|
+
sizeSmall: {
|
|
293
|
+
borderRadius: number;
|
|
294
|
+
height: number;
|
|
295
|
+
minHeight: number;
|
|
296
|
+
maxHeight: number;
|
|
297
|
+
};
|
|
298
|
+
sizeLarge: {
|
|
299
|
+
height: number;
|
|
300
|
+
minHeight: number;
|
|
301
|
+
maxHeight: number;
|
|
302
|
+
borderRadius: number;
|
|
303
|
+
};
|
|
304
|
+
contained: {
|
|
305
|
+
boxShadow: string;
|
|
306
|
+
'&:hover, &:focus': {
|
|
307
|
+
boxShadow: string;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
MuiButtonGroup: {
|
|
313
|
+
defaultProps: {
|
|
314
|
+
color: string;
|
|
315
|
+
};
|
|
316
|
+
styleOverrides: {
|
|
317
|
+
contained: {
|
|
318
|
+
borderRadius: number;
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
MuiTab: {
|
|
323
|
+
styleOverrides: {
|
|
324
|
+
root: {
|
|
325
|
+
textTransform: string;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
MuiDrawer: {
|
|
330
|
+
styleOverrides: {
|
|
331
|
+
paper: {};
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
MuiDialog: {
|
|
335
|
+
styleOverrides: {
|
|
336
|
+
paper: {
|
|
337
|
+
borderRadius: number;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
MuiPaper: {
|
|
342
|
+
styleOverrides: {
|
|
343
|
+
root: {
|
|
344
|
+
backgroundImage: string;
|
|
345
|
+
};
|
|
346
|
+
rounded: {
|
|
347
|
+
borderRadius: number;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
MuiCard: {
|
|
352
|
+
styleOverrides: {};
|
|
353
|
+
};
|
|
354
|
+
MuiPopover: {
|
|
355
|
+
styleOverrides: {
|
|
356
|
+
paper: {
|
|
357
|
+
borderRadius: number;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
MuiTextField: {
|
|
362
|
+
defaultProps: {
|
|
363
|
+
color: string;
|
|
364
|
+
};
|
|
365
|
+
styleOverrides: {
|
|
366
|
+
root: {
|
|
367
|
+
'& > .MuiFormHelperText-root': {
|
|
368
|
+
marginLeft: number;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
MuiInputLabel: {
|
|
374
|
+
defaultProps: {
|
|
375
|
+
color: string;
|
|
376
|
+
};
|
|
377
|
+
styleOverrides: {
|
|
378
|
+
shrink: {
|
|
379
|
+
transform: string;
|
|
380
|
+
};
|
|
381
|
+
root: {
|
|
382
|
+
fontSize: string;
|
|
383
|
+
transform: string;
|
|
384
|
+
'&.Mui-focused': {};
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
MuiSelect: {
|
|
389
|
+
defaultProps: {
|
|
390
|
+
color: string;
|
|
391
|
+
};
|
|
392
|
+
styleOverrides: {
|
|
393
|
+
select: {
|
|
394
|
+
minHeight: number;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
MuiFormHelperText: {
|
|
399
|
+
styleOverrides: {
|
|
400
|
+
root: {};
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
MuiInputAdornment: {
|
|
404
|
+
styleOverrides: {
|
|
405
|
+
root: {
|
|
406
|
+
marginRight: number;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
MuiInputBase: {
|
|
411
|
+
styleOverrides: {
|
|
412
|
+
root: {
|
|
413
|
+
minHeight: number;
|
|
414
|
+
borderRadius: number;
|
|
415
|
+
lineHeight: number;
|
|
416
|
+
};
|
|
417
|
+
legend: {
|
|
418
|
+
fontSize: string;
|
|
419
|
+
};
|
|
420
|
+
input: {
|
|
421
|
+
padding: string;
|
|
422
|
+
};
|
|
423
|
+
adornedStart: {
|
|
424
|
+
paddingLeft: string;
|
|
425
|
+
};
|
|
426
|
+
sizeSmall: {
|
|
427
|
+
height: number;
|
|
428
|
+
minHeight: number;
|
|
429
|
+
borderRadius: number;
|
|
430
|
+
};
|
|
431
|
+
sizeMedium: {
|
|
432
|
+
height: number;
|
|
433
|
+
minHeight: number;
|
|
434
|
+
borderRadius: number;
|
|
435
|
+
};
|
|
436
|
+
sizeLarge: {
|
|
437
|
+
height: number;
|
|
438
|
+
minHeight: number;
|
|
439
|
+
borderRadius: number;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
MuiOutlinedInput: {
|
|
444
|
+
defaultProps: {
|
|
445
|
+
color: string;
|
|
446
|
+
};
|
|
447
|
+
styleOverrides: {
|
|
448
|
+
root: {};
|
|
449
|
+
input: {
|
|
450
|
+
padding: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
MuiFilledInput: {
|
|
455
|
+
styleOverrides: {
|
|
456
|
+
root: {
|
|
457
|
+
borderRadius: number;
|
|
458
|
+
'&:before, &:after': {
|
|
459
|
+
display: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
input: {
|
|
463
|
+
padding: string;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
MuiSlider: {
|
|
468
|
+
defaultProps: {
|
|
469
|
+
color: string;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
MuiCheckbox: {
|
|
473
|
+
defaultProps: {
|
|
474
|
+
color: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
MuiRadio: {
|
|
478
|
+
defaultProps: {
|
|
479
|
+
color: string;
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
MuiSwitch: {
|
|
483
|
+
defaultProps: {
|
|
484
|
+
color: string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
MuiTypography: {
|
|
488
|
+
variants: {
|
|
489
|
+
props: {
|
|
490
|
+
color: string;
|
|
491
|
+
};
|
|
492
|
+
style: {
|
|
493
|
+
color: string;
|
|
494
|
+
};
|
|
495
|
+
}[];
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* The mustHaveThemeOptions object defines the options that must be present in the MUI theme.
|
|
501
|
+
*/
|
|
502
|
+
export declare const mustHaveThemeOptions: {
|
|
503
|
+
typography: {
|
|
504
|
+
htmlFontSize: number;
|
|
505
|
+
fontSize: number;
|
|
506
|
+
body1: {
|
|
507
|
+
fontSize: string;
|
|
508
|
+
};
|
|
509
|
+
body2: {
|
|
510
|
+
fontSize: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* The defaultThemes object defines the default themes for the application.
|
|
516
|
+
*/
|
|
517
|
+
export declare const defaultThemes: {
|
|
518
|
+
default: {
|
|
519
|
+
palette: {
|
|
520
|
+
mode: string;
|
|
521
|
+
primary: {
|
|
522
|
+
50: string;
|
|
523
|
+
100: string;
|
|
524
|
+
200: string;
|
|
525
|
+
300: string;
|
|
526
|
+
400: string;
|
|
527
|
+
500: string;
|
|
528
|
+
600: string;
|
|
529
|
+
700: string;
|
|
530
|
+
800: string;
|
|
531
|
+
900: string;
|
|
532
|
+
A100: string;
|
|
533
|
+
A200: string;
|
|
534
|
+
A400: string;
|
|
535
|
+
A700: string;
|
|
536
|
+
contrastDefaultColor: string;
|
|
537
|
+
};
|
|
538
|
+
secondary: {
|
|
539
|
+
light: "#29b6f6";
|
|
540
|
+
main: "#039be5";
|
|
541
|
+
dark: "#0288d1";
|
|
542
|
+
};
|
|
543
|
+
error: {
|
|
544
|
+
50: "#ffebee";
|
|
545
|
+
100: "#ffcdd2";
|
|
546
|
+
200: "#ef9a9a";
|
|
547
|
+
300: "#e57373";
|
|
548
|
+
400: "#ef5350";
|
|
549
|
+
500: "#f44336";
|
|
550
|
+
600: "#e53935";
|
|
551
|
+
700: "#d32f2f";
|
|
552
|
+
800: "#c62828";
|
|
553
|
+
900: "#b71c1c";
|
|
554
|
+
A100: "#ff8a80";
|
|
555
|
+
A200: "#ff5252";
|
|
556
|
+
A400: "#ff1744";
|
|
557
|
+
A700: "#d50000";
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
status: {
|
|
561
|
+
danger: string;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
564
|
+
defaultDark: {
|
|
565
|
+
palette: {
|
|
566
|
+
mode: string;
|
|
567
|
+
primary: {
|
|
568
|
+
50: string;
|
|
569
|
+
100: string;
|
|
570
|
+
200: string;
|
|
571
|
+
300: string;
|
|
572
|
+
400: string;
|
|
573
|
+
500: string;
|
|
574
|
+
600: string;
|
|
575
|
+
700: string;
|
|
576
|
+
800: string;
|
|
577
|
+
900: string;
|
|
578
|
+
A100: string;
|
|
579
|
+
A200: string;
|
|
580
|
+
A400: string;
|
|
581
|
+
A700: string;
|
|
582
|
+
contrastDefaultColor: string;
|
|
583
|
+
};
|
|
584
|
+
secondary: {
|
|
585
|
+
light: "#29b6f6";
|
|
586
|
+
main: "#039be5";
|
|
587
|
+
dark: "#0288d1";
|
|
588
|
+
};
|
|
589
|
+
error: {
|
|
590
|
+
50: "#ffebee";
|
|
591
|
+
100: "#ffcdd2";
|
|
592
|
+
200: "#ef9a9a";
|
|
593
|
+
300: "#e57373";
|
|
594
|
+
400: "#ef5350";
|
|
595
|
+
500: "#f44336";
|
|
596
|
+
600: "#e53935";
|
|
597
|
+
700: "#d32f2f";
|
|
598
|
+
800: "#c62828";
|
|
599
|
+
900: "#b71c1c";
|
|
600
|
+
A100: "#ff8a80";
|
|
601
|
+
A200: "#ff5252";
|
|
602
|
+
A400: "#ff1744";
|
|
603
|
+
A700: "#d50000";
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
status: {
|
|
607
|
+
danger: string;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* The extendThemeWithMixins function extends the theme with mixins.
|
|
613
|
+
*/
|
|
614
|
+
export declare function extendThemeWithMixins(obj: ThemeOptions): {
|
|
615
|
+
border: (width?: number) => {
|
|
616
|
+
borderWidth: number;
|
|
617
|
+
borderStyle: string;
|
|
618
|
+
borderColor: string;
|
|
619
|
+
};
|
|
620
|
+
borderLeft: (width?: number) => {
|
|
621
|
+
borderLeftWidth: number;
|
|
622
|
+
borderStyle: string;
|
|
623
|
+
borderColor: string;
|
|
624
|
+
};
|
|
625
|
+
borderRight: (width?: number) => {
|
|
626
|
+
borderRightWidth: number;
|
|
627
|
+
borderStyle: string;
|
|
628
|
+
borderColor: string;
|
|
629
|
+
};
|
|
630
|
+
borderTop: (width?: number) => {
|
|
631
|
+
borderTopWidth: number;
|
|
632
|
+
borderStyle: string;
|
|
633
|
+
borderColor: string;
|
|
634
|
+
};
|
|
635
|
+
borderBottom: (width?: number) => {
|
|
636
|
+
borderBottomWidth: number;
|
|
637
|
+
borderStyle: string;
|
|
638
|
+
borderColor: string;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CommonCode } from '@/utils/CommonCodeUtils';
|
|
2
|
+
export declare const useGetCommonCodeList: () => {
|
|
3
|
+
[codeId: string]: CommonCode[];
|
|
4
|
+
};
|
|
5
|
+
export declare const useSetCommonCodeList: () => (args_0: {
|
|
6
|
+
[codeId: string]: CommonCode[];
|
|
7
|
+
} | typeof import("jotai/utils").RESET | ((prev: {
|
|
8
|
+
[codeId: string]: CommonCode[];
|
|
9
|
+
}) => {
|
|
10
|
+
[codeId: string]: CommonCode[];
|
|
11
|
+
} | typeof import("jotai/utils").RESET)) => void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export interface ConfirmProps {
|
|
4
|
+
title?: ReactNode | string;
|
|
5
|
+
okText?: string;
|
|
6
|
+
cancelText?: string;
|
|
7
|
+
severity?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
8
|
+
useInfo?: boolean;
|
|
9
|
+
okButtonProps?: ButtonProps;
|
|
10
|
+
onClose?: (result: boolean) => Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
interface ConfirmBaseProps extends ConfirmProps {
|
|
13
|
+
okButtonProps?: ButtonProps;
|
|
14
|
+
cancelButtonProps?: ButtonProps;
|
|
15
|
+
}
|
|
16
|
+
export declare const useConfirm: () => {
|
|
17
|
+
confirm: (props: ConfirmBaseProps) => Promise<boolean>;
|
|
18
|
+
confirmInfo: ({ title, okText, severity }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
19
|
+
confirmSave: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
20
|
+
confirmUpdate: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
21
|
+
confirmDelete: ({ title, okText, cancelText, okButtonProps, }?: ConfirmProps | undefined) => Promise<boolean>;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type CurrentLanguage = {
|
|
2
|
+
id: 'en' | 'kr' | 'lc';
|
|
3
|
+
title: string;
|
|
4
|
+
flag: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const FALLBACK_LANGUAGE_LIST: string[];
|
|
7
|
+
export declare const useGetLanguageList: () => {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
flag: string;
|
|
11
|
+
}[];
|
|
12
|
+
export declare const useGetCurrentLanguage: () => CurrentLanguage;
|
|
13
|
+
export declare const useSetCurrentLanguage: () => (args_0: typeof import("jotai/utils").RESET | CurrentLanguage | ((prev: CurrentLanguage) => typeof import("jotai/utils").RESET | CurrentLanguage)) => void;
|