@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.
Files changed (225) hide show
  1. package/dist/QuickPanel-xYOXYOdd.js +103 -0
  2. package/dist/QuickPanel-xYOXYOdd.js.map +1 -0
  3. package/dist/index-DGvdCuqz.js +49361 -0
  4. package/dist/index-DGvdCuqz.js.map +1 -0
  5. package/dist/index.css +1 -0
  6. package/dist/index.js +172 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/owp-app.css +1 -0
  9. package/dist/types/auth/authRoles.d.ts +21 -0
  10. package/dist/types/colors/owpDark.d.ts +20 -0
  11. package/dist/types/colors/skyBlue.d.ts +20 -0
  12. package/dist/types/components/NavLinkAdapter/NavLinkAdapter.d.ts +18 -0
  13. package/dist/types/components/NavLinkAdapter/index.d.ts +1 -0
  14. package/dist/types/components/OwpAutoLogoutDialog/OwpAutoLogoutDialog.d.ts +3 -0
  15. package/dist/types/components/OwpBarcodeInput/OwpBarcodeInputField.d.ts +2 -0
  16. package/dist/types/components/OwpButtonDelete/index.d.ts +7 -0
  17. package/dist/types/components/OwpButtonSave/index.d.ts +7 -0
  18. package/dist/types/components/OwpCommonDialog/index.d.ts +17 -0
  19. package/dist/types/components/OwpDialog/OwpDialog.d.ts +7 -0
  20. package/dist/types/components/OwpDialog/index.d.ts +1 -0
  21. package/dist/types/components/OwpDialog/owpDialogSlice.d.ts +14 -0
  22. package/dist/types/components/OwpExportExcelButton/OwpExportExcelButton.d.ts +22 -0
  23. package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +10 -0
  24. package/dist/types/components/OwpLayout/OwpLayout.d.ts +23 -0
  25. package/dist/types/components/OwpLayout/index.d.ts +1 -0
  26. package/dist/types/components/OwpLoading/OwpLoading.d.ts +9 -0
  27. package/dist/types/components/OwpLoading/index.d.ts +1 -0
  28. package/dist/types/components/OwpMessage/OwpMessage.d.ts +8 -0
  29. package/dist/types/components/OwpMessage/index.d.ts +1 -0
  30. package/dist/types/components/OwpMessage/owpMessageSlice.d.ts +14 -0
  31. package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +14 -0
  32. package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +14 -0
  33. package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +20 -0
  34. package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +7 -0
  35. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +12 -0
  36. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +11 -0
  37. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +9 -0
  38. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +6 -0
  39. package/dist/types/components/OwpNavigation/index.d.ts +1 -0
  40. package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +7 -0
  41. package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +8 -0
  42. package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +9 -0
  43. package/dist/types/components/OwpNavigation/types/OwpNavItemType.d.ts +30 -0
  44. package/dist/types/components/OwpNavigation/utils/components.d.ts +4 -0
  45. package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +4 -0
  46. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +9 -0
  47. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +7 -0
  48. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +7 -0
  49. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +7 -0
  50. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +7 -0
  51. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +8 -0
  52. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +11 -0
  53. package/dist/types/components/OwpNumberField/index.d.ts +7 -0
  54. package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +52 -0
  55. package/dist/types/components/OwpPageCarded/OwpPageCardedHeader.d.ts +7 -0
  56. package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +19 -0
  57. package/dist/types/components/OwpPageCarded/OwpPageCardedSidebarContent.d.ts +13 -0
  58. package/dist/types/components/OwpPageCarded/index.d.ts +1 -0
  59. package/dist/types/components/OwpPageContent/index.d.ts +9 -0
  60. package/dist/types/components/OwpPageLockLoading/index.d.ts +6 -0
  61. package/dist/types/components/OwpPageSimple/OwpPageSimple.d.ts +52 -0
  62. package/dist/types/components/OwpPageSimple/OwpPageSimpleHeader.d.ts +14 -0
  63. package/dist/types/components/OwpPageSimple/OwpPageSimpleSidebar.d.ts +19 -0
  64. package/dist/types/components/OwpPageSimple/OwpPageSimpleSidebarContent.d.ts +13 -0
  65. package/dist/types/components/OwpPageSimple/index.d.ts +1 -0
  66. package/dist/types/components/OwpPageTitle/index.d.ts +8 -0
  67. package/dist/types/components/OwpPicker/CalendarContainer.d.ts +4 -0
  68. package/dist/types/components/OwpPicker/DatePickerInput.d.ts +8 -0
  69. package/dist/types/components/OwpPicker/OwpDatePicker.d.ts +18 -0
  70. package/dist/types/components/OwpPicker/OwpDateRangePicker.d.ts +19 -0
  71. package/dist/types/components/OwpPicker/OwpWeekDatePicker.d.ts +19 -0
  72. package/dist/types/components/OwpPicker/OwpYearRangePicker.d.ts +18 -0
  73. package/dist/types/components/OwpPicker/constants.d.ts +4 -0
  74. package/dist/types/components/OwpScrollbars/OwpScrollbars.d.ts +16 -0
  75. package/dist/types/components/OwpScrollbars/index.d.ts +1 -0
  76. package/dist/types/components/OwpSearch/OwpSearch.d.ts +20 -0
  77. package/dist/types/components/OwpSearch/index.d.ts +1 -0
  78. package/dist/types/components/OwpSearchFilter/index.d.ts +9 -0
  79. package/dist/types/components/OwpSection/index.d.ts +13 -0
  80. package/dist/types/components/OwpSettings/OwpLayoutConfig.d.ts +12 -0
  81. package/dist/types/components/OwpSettings/OwpLayoutConfigs.d.ts +10 -0
  82. package/dist/types/components/OwpSettings/OwpSettings.d.ts +34 -0
  83. package/dist/types/components/OwpSettings/ThemeFormConfigTypes.d.ts +39 -0
  84. package/dist/types/components/OwpSettings/index.d.ts +1 -0
  85. package/dist/types/components/OwpSettings/owpSettingsSlice.d.ts +1866 -0
  86. package/dist/types/components/OwpSettings/palette-generator/PalettePreview.d.ts +14 -0
  87. package/dist/types/components/OwpSettings/palette-generator/PaletteSelector.d.ts +15 -0
  88. package/dist/types/components/OwpSettings/palette-generator/SectionPreview.d.ts +12 -0
  89. package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +16 -0
  90. package/dist/types/components/OwpShortcuts/index.d.ts +1 -0
  91. package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +15 -0
  92. package/dist/types/components/OwpSidePanel/index.d.ts +1 -0
  93. package/dist/types/components/OwpSplashScreen/OwpSplashScreen.d.ts +8 -0
  94. package/dist/types/components/OwpSplashScreen/index.d.ts +1 -0
  95. package/dist/types/components/OwpSuspense/OwpSuspense.d.ts +15 -0
  96. package/dist/types/components/OwpSuspense/index.d.ts +1 -0
  97. package/dist/types/components/OwpSvgIcon/OwpSvgIcon.d.ts +15 -0
  98. package/dist/types/components/OwpSvgIcon/index.d.ts +1 -0
  99. package/dist/types/components/OwpTable/OwpDataTable.d.ts +38 -0
  100. package/dist/types/components/OwpTable/OwpTable.d.ts +22 -0
  101. package/dist/types/components/OwpTable/OwpVerticalTable.d.ts +27 -0
  102. package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +15 -0
  103. package/dist/types/components/OwpTheme/OwpTheme.d.ts +15 -0
  104. package/dist/types/components/OwpTheme/index.d.ts +1 -0
  105. package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +13 -0
  106. package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +14 -0
  107. package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +17 -0
  108. package/dist/types/components/OwpThemeSelector/index.d.ts +1 -0
  109. package/dist/types/components/OwpTreeGrid/OwpTreeGrid.d.ts +43 -0
  110. package/dist/types/components/OwpTreeGrid/OwpTreeGridToolbar.d.ts +13 -0
  111. package/dist/types/components/OwpTreeGrid/TreeGrid.d.ts +18 -0
  112. package/dist/types/components/OwpTreeGrid/index.d.ts +2 -0
  113. package/dist/types/components/OwpTreeGrid/utils.d.ts +8 -0
  114. package/dist/types/components/OwpTreeView/OwpSlotTreeView.d.ts +11 -0
  115. package/dist/types/components/OwpZoomImageSlider/OwpZoomImageSlider.d.ts +11 -0
  116. package/dist/types/components/OwpZoomImageSlider/ZoomImage.d.ts +7 -0
  117. package/dist/types/components/layouts/index.d.ts +8 -0
  118. package/dist/types/components/layouts/layout1/Layout1.d.ts +10 -0
  119. package/dist/types/components/layouts/layout1/Layout1Config.d.ts +114 -0
  120. package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +9 -0
  121. package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +6 -0
  122. package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +8 -0
  123. package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +5 -0
  124. package/dist/types/components/layouts/layout1/components/RightSideLayout1.d.ts +6 -0
  125. package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +9 -0
  126. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +5 -0
  127. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +9 -0
  128. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +5 -0
  129. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +9 -0
  130. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +9 -0
  131. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +10 -0
  132. package/dist/types/components/layouts/layout2/Layout2.d.ts +10 -0
  133. package/dist/types/components/layouts/layout2/Layout2Config.d.ts +109 -0
  134. package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +9 -0
  135. package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +6 -0
  136. package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +9 -0
  137. package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +9 -0
  138. package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +8 -0
  139. package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +5 -0
  140. package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +6 -0
  141. package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +9 -0
  142. package/dist/types/components/layouts/layout3/Layout3.d.ts +10 -0
  143. package/dist/types/components/layouts/layout3/Layout3Config.d.ts +110 -0
  144. package/dist/types/components/layouts/layout3/components/FooterLayout3.d.ts +9 -0
  145. package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +6 -0
  146. package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +9 -0
  147. package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +9 -0
  148. package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +5 -0
  149. package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +6 -0
  150. package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +9 -0
  151. package/dist/types/components/layouts/shared-components/AdjustFontSize.d.ts +8 -0
  152. package/dist/types/components/layouts/shared-components/DemoLayoutFooterContent.d.ts +5 -0
  153. package/dist/types/components/layouts/shared-components/DocumentationButton.d.ts +8 -0
  154. package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +8 -0
  155. package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +7 -0
  156. package/dist/types/components/layouts/shared-components/Logo.d.ts +5 -0
  157. package/dist/types/components/layouts/shared-components/OwpLanguageSwitcherSelect.d.ts +7 -0
  158. package/dist/types/components/layouts/shared-components/OwpSettingsViewerDialog.d.ts +8 -0
  159. package/dist/types/components/layouts/shared-components/PoweredByLinks.d.ts +5 -0
  160. package/dist/types/components/layouts/shared-components/PurchaseButton.d.ts +8 -0
  161. package/dist/types/components/layouts/shared-components/UserMenu.d.ts +11 -0
  162. package/dist/types/components/layouts/shared-components/UserNavbarHeader.d.ts +5 -0
  163. package/dist/types/components/layouts/shared-components/configurator/Configurator.d.ts +6 -0
  164. package/dist/types/components/layouts/shared-components/configurator/SettingsPanel.d.ts +8 -0
  165. package/dist/types/components/layouts/shared-components/configurator/ThemesPanel.d.ts +8 -0
  166. package/dist/types/components/layouts/shared-components/navbar/NavbarPinToggleButton.d.ts +10 -0
  167. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +7 -0
  168. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleFab.d.ts +10 -0
  169. package/dist/types/components/layouts/shared-components/navbar/navbarSlice.d.ts +18 -0
  170. package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +3 -0
  171. package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +6 -0
  172. package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +6 -0
  173. package/dist/types/components/layouts/shared-components/navigation/store/navigationSlice.d.ts +86 -0
  174. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +5 -0
  175. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +9 -0
  176. package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +14 -0
  177. package/dist/types/components/layouts/themeLayoutConfigs.d.ts +27 -0
  178. package/dist/types/components/layouts/themeLayouts.d.ts +13 -0
  179. package/dist/types/components/shared-components/LightDarkModeToggle.d.ts +8 -0
  180. package/dist/types/components/shared-components/PageBreadcrumb.d.ts +6 -0
  181. package/dist/types/components/shared-components/PageTitle.d.ts +11 -0
  182. package/dist/types/components/shared-components/data-table/DataTable.d.ts +3 -0
  183. package/dist/types/components/shared-components/data-table/DataTableTopToolbar.d.ts +6 -0
  184. package/dist/types/components/shared-components/data-table/utils/parseFromValuesOrFunc.d.ts +7 -0
  185. package/dist/types/components/shared-components/index.d.ts +7 -0
  186. package/dist/types/components/shared-components/tabs/OwpTab.d.ts +6 -0
  187. package/dist/types/components/shared-components/tabs/OwpTabs.d.ts +6 -0
  188. package/dist/types/components/withRouter/index.d.ts +1 -0
  189. package/dist/types/components/withRouter/withRouter.d.ts +14 -0
  190. package/dist/types/components/withRouterAndRef/index.d.ts +1 -0
  191. package/dist/types/components/withRouterAndRef/withRouterAndRef.d.ts +14 -0
  192. package/dist/types/context/OwpAppProvider.d.ts +15 -0
  193. package/dist/types/default-settings/OwpDefaultSettings.d.ts +640 -0
  194. package/dist/types/hooks/useCommonCodeList.d.ts +11 -0
  195. package/dist/types/hooks/useConfirm.d.ts +23 -0
  196. package/dist/types/hooks/useCurrentLanguage.d.ts +13 -0
  197. package/dist/types/hooks/useCurrentLogoSrc.d.ts +2 -0
  198. package/dist/types/hooks/useCurrentUserId.d.ts +2 -0
  199. package/dist/types/hooks/useDebounce.d.ts +7 -0
  200. package/dist/types/hooks/useDeepCompareEffect.d.ts +17 -0
  201. package/dist/types/hooks/useNavigation.d.ts +18 -0
  202. package/dist/types/hooks/usePrevious.d.ts +5 -0
  203. package/dist/types/hooks/useShortcuts.d.ts +2 -0
  204. package/dist/types/hooks/useStorage.d.ts +11 -0
  205. package/dist/types/hooks/useThemeMediaQuery.d.ts +7 -0
  206. package/dist/types/hooks/useTimeout.d.ts +6 -0
  207. package/dist/types/index.d.ts +103 -0
  208. package/dist/types/store/apiService.d.ts +3 -0
  209. package/dist/types/store/generateReducersFromSlices.d.ts +3 -0
  210. package/dist/types/store/hooks.d.ts +4 -0
  211. package/dist/types/store/lazyLoadedSlices.d.ts +6 -0
  212. package/dist/types/store/middleware.d.ts +14 -0
  213. package/dist/types/store/store.d.ts +10 -0
  214. package/dist/types/store/withReducer.d.ts +5 -0
  215. package/dist/types/store/withSlices.d.ts +11 -0
  216. package/dist/types/utils/CommonCodeUtils.d.ts +17 -0
  217. package/dist/types/utils/ErrorBoundary.d.ts +16 -0
  218. package/dist/types/utils/EventEmitter.d.ts +34 -0
  219. package/dist/types/utils/OwpNavigationHelper.d.ts +23 -0
  220. package/dist/types/utils/OwpUtils.d.ts +120 -0
  221. package/dist/types/utils/excelUtil.d.ts +20 -0
  222. package/dist/types/utils/treeGridExportExcelUtil.d.ts +6 -0
  223. package/dist/types/utils/treeGridUtil.d.ts +24 -0
  224. package/dist/types/utils/zipUtil.d.ts +10 -0
  225. 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;
@@ -0,0 +1,2 @@
1
+ export declare const useGetCurrentLogoSrc: () => string;
2
+ export declare const useSetCurrentLogoSrc: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
@@ -0,0 +1,2 @@
1
+ export declare const useGetCurrentUserId: () => string;
2
+ export declare const useSetCurrentUserId: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Debounce hook.
3
+ * @param {T} callback
4
+ * @param {number} delay
5
+ * @returns {T}
6
+ */
7
+ export declare function useDebounce<T extends (...args: never[]) => void>(callback: T, delay: number): T;