@owp/core 1.30.0 → 2.0.1

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 (243) hide show
  1. package/colors/chart.d.ts +3 -0
  2. package/colors/chart.js +1 -0
  3. package/contexts.d.ts +3 -0
  4. package/contexts.js +1 -0
  5. package/dist/{Close-DnXyQZKh.js → Close-JeenM19L.js} +280 -282
  6. package/dist/Close-JeenM19L.js.map +1 -0
  7. package/dist/{OwpStoreProvider-Bx5p7ooQ.js → OwpStoreProvider-Cl8MlcxC.js} +3 -3
  8. package/dist/OwpStoreProvider-Cl8MlcxC.js.map +1 -0
  9. package/dist/OwpUtils-CDsU9hQL.js +383 -0
  10. package/dist/OwpUtils-CDsU9hQL.js.map +1 -0
  11. package/dist/colorMap-DP-DCZbV.js +82 -0
  12. package/dist/colorMap-DP-DCZbV.js.map +1 -0
  13. package/dist/colors/chart.js +6 -0
  14. package/dist/colors/chart.js.map +1 -0
  15. package/dist/colors.js +4 -1
  16. package/dist/colors.js.map +1 -1
  17. package/dist/commonCodeUtils-Dt6TXOku.js +42 -0
  18. package/dist/commonCodeUtils-Dt6TXOku.js.map +1 -0
  19. package/dist/contexts.js +103 -0
  20. package/dist/contexts.js.map +1 -0
  21. package/dist/{owpDark-DAY0F6Ph.js → dark-DAY0F6Ph.js} +1 -1
  22. package/dist/dark-DAY0F6Ph.js.map +1 -0
  23. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
  24. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
  25. package/dist/exceljs.min-CwK2XNVA.js +23595 -0
  26. package/dist/exceljs.min-CwK2XNVA.js.map +1 -0
  27. package/dist/hooks.js +119 -73
  28. package/dist/hooks.js.map +1 -1
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +27332 -96
  31. package/dist/index.js.map +1 -1
  32. package/dist/isTypedArray-DGEiG32J.js +637 -0
  33. package/dist/isTypedArray-DGEiG32J.js.map +1 -0
  34. package/dist/language-s_jJgpD5.js +35 -0
  35. package/dist/language-s_jJgpD5.js.map +1 -0
  36. package/dist/lazyLoadedSlices-D_EtusDd.js +2773 -0
  37. package/dist/lazyLoadedSlices-D_EtusDd.js.map +1 -0
  38. package/dist/owp-app.css +1 -1
  39. package/dist/store.js +2 -2
  40. package/dist/{toUpper-i_I6Tyuv.js → toUpper-D7kus_mL.js} +2 -2
  41. package/dist/{toUpper-i_I6Tyuv.js.map → toUpper-D7kus_mL.js.map} +1 -1
  42. package/dist/{treeGridUtil-WTM_djsN.js → treeGridUtil-Ch99srur.js} +116 -115
  43. package/dist/treeGridUtil-Ch99srur.js.map +1 -0
  44. package/dist/types/colors/chart/colorMap.d.ts +8 -0
  45. package/dist/types/colors/chart/index.d.ts +1 -0
  46. package/dist/types/colors/index.d.ts +2 -2
  47. package/dist/types/colors/palettes/index.d.ts +2 -0
  48. package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
  49. package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
  50. package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
  51. package/dist/types/components/OwpHidden/index.d.ts +2 -0
  52. package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
  53. package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
  54. package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
  55. package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
  56. package/dist/types/components/OwpPicker/OwpTimePicker.d.ts +0 -2
  57. package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
  58. package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
  59. package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
  60. package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
  61. package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +1 -1
  62. package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
  63. package/dist/types/{context → contexts}/OwpAppProvider.d.ts +10 -3
  64. package/dist/types/hooks/index.d.ts +4 -2
  65. package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
  66. package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
  67. package/dist/types/hooks/useInitApp.d.ts +8 -0
  68. package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
  69. package/dist/types/hooks/useLogoSrc.d.ts +8 -0
  70. package/dist/types/hooks/useNavigation.d.ts +3 -18
  71. package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
  72. package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
  73. package/dist/types/index.d.ts +3 -29
  74. package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
  75. package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
  76. package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
  77. package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
  78. package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
  79. package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
  80. package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
  81. package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
  82. package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
  83. package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
  84. package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
  85. package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
  86. package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
  87. package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
  88. package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
  89. package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
  90. package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
  91. package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
  92. package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
  93. package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
  94. package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
  95. package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
  96. package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
  97. package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
  98. package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
  99. package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
  100. package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
  101. package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
  102. package/dist/types/store/index.d.ts +1 -1
  103. package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
  104. package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +10 -10
  105. package/dist/types/store/owpSettingsSlice.d.ts +18 -1356
  106. package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
  107. package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
  108. package/dist/types/types/index.d.ts +3 -0
  109. package/dist/types/utils/dayjsBrowser.d.ts +7 -0
  110. package/dist/types/utils/excelUtil.d.ts +1 -1
  111. package/dist/types/utils/exceljsBrowser.d.ts +3 -0
  112. package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
  113. package/dist/types/utils/index.d.ts +2 -0
  114. package/dist/types/utils/language.d.ts +8 -0
  115. package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
  116. package/dist/types.js +2 -0
  117. package/dist/types.js.map +1 -0
  118. package/dist/{usePageLockLoading-BUI_3PlR.js → usePageLockLoading-Vx7WVcGX.js} +5 -5
  119. package/dist/usePageLockLoading-Vx7WVcGX.js.map +1 -0
  120. package/dist/useShortcuts-DY5fnx6L.js +236 -0
  121. package/dist/useShortcuts-DY5fnx6L.js.map +1 -0
  122. package/dist/useTreeGridExcelExport-615UIM92.js +120 -0
  123. package/dist/useTreeGridExcelExport-615UIM92.js.map +1 -0
  124. package/dist/utils.js +6891 -6656
  125. package/dist/utils.js.map +1 -1
  126. package/owp-app.css +1 -0
  127. package/package.json +51 -47
  128. package/types.d.ts +3 -0
  129. package/types.js +1 -0
  130. package/context.d.ts +0 -3
  131. package/context.js +0 -1
  132. package/dist/Close-DnXyQZKh.js.map +0 -1
  133. package/dist/OwpStoreProvider-Bx5p7ooQ.js.map +0 -1
  134. package/dist/OwpUtils-C81bM1Gz.js +0 -611
  135. package/dist/OwpUtils-C81bM1Gz.js.map +0 -1
  136. package/dist/QuickPanel-CO7Tyc8C.js +0 -104
  137. package/dist/QuickPanel-CO7Tyc8C.js.map +0 -1
  138. package/dist/context.js +0 -101
  139. package/dist/context.js.map +0 -1
  140. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
  141. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
  142. package/dist/index-KlA5Es4t.js +0 -46971
  143. package/dist/index-KlA5Es4t.js.map +0 -1
  144. package/dist/isTypedArray-DPyC49cI.js +0 -411
  145. package/dist/isTypedArray-DPyC49cI.js.map +0 -1
  146. package/dist/lazyLoadedSlices-DC7yg4GT.js +0 -2832
  147. package/dist/lazyLoadedSlices-DC7yg4GT.js.map +0 -1
  148. package/dist/owpDark-DAY0F6Ph.js.map +0 -1
  149. package/dist/treeGridUtil-WTM_djsN.js.map +0 -1
  150. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
  151. package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
  152. package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
  153. package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
  154. package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
  155. package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
  156. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
  157. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
  158. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
  159. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
  160. package/dist/types/components/OwpNavigation/index.d.ts +0 -1
  161. package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
  162. package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
  163. package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
  164. package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
  165. package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
  166. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
  167. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
  168. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
  169. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
  170. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
  171. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
  172. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
  173. package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
  174. package/dist/types/components/OwpSearch/index.d.ts +0 -1
  175. package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
  176. package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
  177. package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
  178. package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
  179. package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
  180. package/dist/types/components/OwpTheme/index.d.ts +0 -1
  181. package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
  182. package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
  183. package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
  184. package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
  185. package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
  186. package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
  187. package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
  188. package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
  189. package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
  190. package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
  191. package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
  192. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
  193. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
  194. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
  195. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
  196. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
  197. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
  198. package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
  199. package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
  200. package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
  201. package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
  202. package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
  203. package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
  204. package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
  205. package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
  206. package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
  207. package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
  208. package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
  209. package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
  210. package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
  211. package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
  212. package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
  213. package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
  214. package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
  215. package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
  216. package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
  217. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
  218. package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
  219. package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
  220. package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
  221. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
  222. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
  223. package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
  224. package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
  225. package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
  226. package/dist/usePageLockLoading-BUI_3PlR.js.map +0 -1
  227. package/dist/useShortcuts-CCf98L8m.js +0 -241
  228. package/dist/useShortcuts-CCf98L8m.js.map +0 -1
  229. package/dist/useStorage-CuUmH4fD.js +0 -50
  230. package/dist/useStorage-CuUmH4fD.js.map +0 -1
  231. package/dist/useTreeGridExcelExport-N2nOKmkz.js +0 -138
  232. package/dist/useTreeGridExcelExport-N2nOKmkz.js.map +0 -1
  233. /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
  234. /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
  235. /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
  236. /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
  237. /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
  238. /package/dist/types/{context → contexts}/index.d.ts +0 -0
  239. /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
  240. /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
  241. /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
  242. /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
  243. /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 공통코드 전역 캐시 초기화
3
+ */
4
+ export declare function useInitCommonCodes(): void;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 현재 로고 경로 조회 훅
3
+ */
4
+ export declare const useGetLogoSrc: () => string;
5
+ /**
6
+ * 현재 로고 경로 설정 훅
7
+ */
8
+ export declare const useSetLogoSrc: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
@@ -1,24 +1,9 @@
1
- type Navigation = {
2
- id: string;
3
- title: string;
4
- translate: string;
5
- type: string;
6
- icon: string;
7
- };
1
+ import type { OwpNavItemType } from '@/types/OwpNavigationTypes';
8
2
  /**
9
3
  * 내비게이션 목록 조회 훅
10
4
  */
11
- export declare const useGetNavigationList: () => (Navigation & {
12
- children?: Array<Navigation>;
13
- })[];
5
+ export declare const useGetNavigationList: () => OwpNavItemType[];
14
6
  /**
15
7
  * 내비게이션 목록 설정 훅
16
8
  */
17
- export declare const useSetNavigationList: () => (args_0: (Navigation & {
18
- children?: Array<Navigation>;
19
- })[] | typeof import("jotai/utils").RESET | ((prev: (Navigation & {
20
- children?: Array<Navigation>;
21
- })[]) => (Navigation & {
22
- children?: Array<Navigation>;
23
- })[] | typeof import("jotai/utils").RESET)) => void;
24
- export {};
9
+ export declare const useSetNavigationList: () => (args_0: OwpNavItemType[] | typeof import("jotai/utils").RESET | ((prev: OwpNavItemType[]) => OwpNavItemType[] | typeof import("jotai/utils").RESET)) => void;
@@ -84,9 +84,7 @@ export declare const useOwpTranslation: () => {
84
84
  flat?: boolean;
85
85
  [Symbol.iterator]?: boolean;
86
86
  readonly [Symbol.unscopables]?: boolean;
87
- at?: boolean;
88
87
  };
89
- at(index: number): boolean | import("i18next").i18n | import("i18next").TFunction<"owp", undefined>;
90
88
  i18n: import("i18next").i18n;
91
89
  ready: boolean;
92
90
  t: import("i18next").TFunction<"owp", undefined>;
@@ -1,4 +1,4 @@
1
- import { Theme } from '@mui/system/createTheme/createTheme';
1
+ import { type Theme } from '@mui/material/styles';
2
2
  /**
3
3
  * The useThemeMediaQuery function is a custom hook that returns a boolean indicating whether the current screen matches the specified media query.
4
4
  * It takes in a themeCallbackFunc as a parameter, which is a function that returns a string representing the media query to match.
@@ -1,6 +1,6 @@
1
1
  export { DialogsProvider } from '@toolpad/core/useDialogs';
2
- export * from './components/layouts/themeLayouts';
3
- export * from './default-settings/OwpDefaultSettings';
2
+ export * from './layout/themeLayouts';
3
+ export * from './configs/defaultConfig';
4
4
  export * from './components/OwpLanguageSwitcherSelect';
5
5
  export * from './components/OwpAutoLogoutDialog/OwpAutoLogoutDialog';
6
6
  export * from './components/OwpBarcodeInput/OwpBarcodeInputField';
@@ -14,26 +14,6 @@ export * from './components/OwpLayout';
14
14
  export * from './components/OwpLoading';
15
15
  export * from './components/OwpMrtTable';
16
16
  export * from './components/OwpMoreActionsButton/OwpMoreActionsButton';
17
- export * from './components/OwpNavigation';
18
- export * from './components/OwpNavigation/horizontal/OwpNavHorizontalLayout1';
19
- export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse';
20
- export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup';
21
- export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalItem';
22
- export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalLink';
23
- export * from './components/OwpNavigation/isUrlInChildren';
24
- export * from './components/OwpNavigation/models/OwpNavItemModel';
25
- export * from './components/OwpNavigation/OwpNavBadge';
26
- export * from './components/OwpNavigation/OwpNavItem';
27
- export * from './components/OwpNavigation/utils/OwpNavigationHelper';
28
- export * from './components/OwpNavigation/types/OwpNavBadgeType';
29
- export * from './components/OwpNavigation/types/OwpNavItemType';
30
- export * from './components/OwpNavigation/vertical/OwpNavVerticalLayout1';
31
- export * from './components/OwpNavigation/vertical/OwpNavVerticalLayout2';
32
- export * from './components/OwpNavigation/vertical/types/OwpNavVerticalCollapse';
33
- export * from './components/OwpNavigation/vertical/types/OwpNavVerticalGroup';
34
- export * from './components/OwpNavigation/vertical/types/OwpNavVerticalItem';
35
- export * from './components/OwpNavigation/vertical/types/OwpNavVerticalLink';
36
- export * from './components/OwpNavigation/vertical/types/OwpNavVerticalTab';
37
17
  export * from './components/OwpNumberField';
38
18
  export * from './components/OwpOptionSelector';
39
19
  export * from './components/OwpPageCarded';
@@ -50,11 +30,8 @@ export * from './components/OwpPicker/OwpTimePicker';
50
30
  export * from './components/OwpPicker/OwpWeekDatePicker';
51
31
  export * from './components/OwpPicker/OwpYearRangePicker';
52
32
  export * from './components/OwpScrollbars';
53
- export * from './components/OwpSearch';
54
33
  export * from './components/OwpSearchFilter';
55
34
  export * from './components/OwpSection';
56
- export * from './components/OwpShortcuts';
57
- export * from './components/OwpSidePanel';
58
35
  export * from './components/OwpSplashScreen';
59
36
  export * from './components/OwpStyleProvider';
60
37
  export * from './components/OwpSuspense';
@@ -63,13 +40,10 @@ export * from './components/OwpTable/OwpDataTable';
63
40
  export * from './components/OwpTable/OwpTable';
64
41
  export * from './components/OwpTable/OwpVerticalTable';
65
42
  export * from './components/OwpTextField/OwpTextMaskField';
66
- export * from './components/OwpTheme';
67
- export * from './components/OwpThemeSelector';
68
- export * from './components/OwpThemeSelector/SchemePreview';
69
- export * from './components/OwpThemeSelector/ThemePreview';
70
43
  export * from './components/OwpTabs';
71
44
  export * from './components/OwpTreeGridExcelButton';
72
45
  export * from './components/OwpTreeGrid';
73
46
  export * from './components/OwpTreeGrid/OwpTreeGridToolbar';
74
47
  export * from './components/OwpZoomImageSlider/OwpZoomImageSlider';
75
48
  export * from './components/OwpYesNoSelector';
49
+ export type { OwpFlatNavItemType, OwpNavBadgeType, OwpNavItemType } from './types/OwpNavigationTypes';
@@ -1,10 +1,10 @@
1
1
  import { ReactNode } from 'react';
2
- type Layout3Props = {
2
+ type LayoutProps = {
3
3
  children?: ReactNode;
4
4
  };
5
5
  /**
6
- * The layout 3.
6
+ * The layout.
7
7
  */
8
- declare function Layout3(props: Layout3Props): import("react/jsx-runtime").JSX.Element;
9
- declare const _default: import("react").MemoExoticComponent<typeof Layout3>;
8
+ declare function Layout(props: LayoutProps): import("react/jsx-runtime").JSX.Element;
9
+ declare const _default: import("react").MemoExoticComponent<typeof Layout>;
10
10
  export default _default;
@@ -0,0 +1,9 @@
1
+ type FooterLayoutProps = {
2
+ className?: string;
3
+ };
4
+ /**
5
+ * The footer layout.
6
+ */
7
+ declare function FooterLayout(props: FooterLayoutProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: import("react").MemoExoticComponent<typeof FooterLayout>;
9
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The left side layout.
3
+ */
4
+ declare function LeftSideLayout(): import("react/jsx-runtime").JSX.Element;
5
+ declare const _default: import("react").MemoExoticComponent<typeof LeftSideLayout>;
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type NavbarToggleFabLayoutProps = {
2
+ className?: string;
3
+ };
4
+ /**
5
+ * The navbar toggle fab layout.
6
+ */
7
+ declare function NavbarToggleFabLayout(props: NavbarToggleFabLayoutProps): import("react/jsx-runtime").JSX.Element;
8
+ export default NavbarToggleFabLayout;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The navbar wrapper layout.
3
+ */
4
+ declare function NavbarWrapperLayout(): import("react/jsx-runtime").JSX.Element;
5
+ export default NavbarWrapperLayout;
@@ -0,0 +1,8 @@
1
+ type LogoutMenuProps = {
2
+ onAction?: () => void;
3
+ };
4
+ /**
5
+ * User logout menu item.
6
+ */
7
+ declare function LogoutMenu(props: LogoutMenuProps): import("react/jsx-runtime").JSX.Element;
8
+ export default LogoutMenu;
@@ -0,0 +1,8 @@
1
+ type PasswordChangeMenuProps = {
2
+ onAction?: () => void;
3
+ };
4
+ /**
5
+ * Password change menu item.
6
+ */
7
+ declare function PasswordChangeMenu(props: PasswordChangeMenuProps): import("react/jsx-runtime").JSX.Element;
8
+ export default PasswordChangeMenu;
@@ -1,4 +1,4 @@
1
- import { PopoverProps } from '@mui/material/Popover/Popover';
1
+ import { type PopoverProps } from '@mui/material/Popover';
2
2
  type UserMenuProps = {
3
3
  className?: string;
4
4
  popoverProps?: Partial<PopoverProps>;
@@ -1,4 +1,4 @@
1
- import { NavbarToggleButtonProps } from '@/components/layouts/shared-components/navbar/NavbarToggleButton';
1
+ import { NavbarToggleButtonProps } from '@/layout/components/navbar/NavbarToggleButton';
2
2
  type NavbarPinToggleButtonProps = NavbarToggleButtonProps & {
3
3
  className?: string;
4
4
  children?: React.ReactNode;
@@ -0,0 +1,11 @@
1
+ import { type IconButtonProps } from '@mui/material/IconButton';
2
+ import { ReactNode } from 'react';
3
+ export type NavbarToggleButtonProps = IconButtonProps & {
4
+ surfaceTone?: 'inherit' | 'light';
5
+ tooltipTitle?: ReactNode;
6
+ };
7
+ /**
8
+ * The navbar toggle button.
9
+ */
10
+ declare function NavbarToggleButton(props: NavbarToggleButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ export default NavbarToggleButton;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The navbar style.
3
+ */
4
+ declare function NavbarStyle(): import("react/jsx-runtime").JSX.Element;
5
+ export default NavbarStyle;
@@ -0,0 +1,9 @@
1
+ type NavbarStyleContentProps = {
2
+ className?: string;
3
+ };
4
+ /**
5
+ * The navbar style content.
6
+ */
7
+ declare function NavbarStyleContent(props: NavbarStyleContentProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: import("react").MemoExoticComponent<typeof NavbarStyleContent>;
9
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { OwpNavBadgeType as NavBadgeType } from '@/types/OwpNavigationTypes';
2
+ type NavBadgeProps = {
3
+ className?: string;
4
+ classes?: string;
5
+ badge: NavBadgeType;
6
+ };
7
+ /**
8
+ * NavBadge component.
9
+ * This component renders a badge on a nav element. It accepts a `NavBadgeType` prop,
10
+ * which is an object containing a title and background and foreground colour.
11
+ */
12
+ declare function NavBadge(props: NavBadgeProps): import("react/jsx-runtime").JSX.Element;
13
+ /**
14
+ * Memoized nav badge component.
15
+ */
16
+ declare const MemoizedNavBadge: import("react").MemoExoticComponent<typeof NavBadge>;
17
+ export { MemoizedNavBadge as NavBadge };
@@ -0,0 +1,14 @@
1
+ import type { OwpNavItemType as NavItemType } from '@/types/OwpNavigationTypes';
2
+ export type NavItemComponentProps = {
3
+ type: string;
4
+ item: NavItemType;
5
+ dense?: boolean;
6
+ nestedLevel?: number;
7
+ onItemClick?: (item: NavItemType) => void;
8
+ checkPermission?: boolean;
9
+ };
10
+ /**
11
+ * Component to render a nav item by type.
12
+ */
13
+ declare function NavItem(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
14
+ export { NavItem };
@@ -0,0 +1,3 @@
1
+ import { type NavigationMenuProps } from './NavigationMenu';
2
+ declare const NavigationWIthSlices: (props: Partial<NavigationMenuProps>) => import("react/jsx-runtime").JSX.Element;
3
+ export default NavigationWIthSlices;
@@ -0,0 +1,23 @@
1
+ import type { OwpNavItemType as NavItemType } from '@/types/OwpNavigationTypes';
2
+ export type NavigationMenuProps = {
3
+ className?: string;
4
+ dense?: boolean;
5
+ active?: boolean;
6
+ onItemClick?: (item: NavItemType) => void;
7
+ navigation?: NavItemType[];
8
+ layout?: 'vertical';
9
+ firstLevel?: boolean;
10
+ selectedId?: string;
11
+ checkPermission?: boolean;
12
+ };
13
+ /**
14
+ * NavigationMenu
15
+ * Component for displaying a navigation bar which contains nav items
16
+ * and acts as parent for providing props to its children components
17
+ */
18
+ declare function NavigationMenu(props: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
19
+ /**
20
+ * Memoized navigation menu component.
21
+ */
22
+ declare const MemoizedNavigationMenu: import("react").MemoExoticComponent<typeof NavigationMenu>;
23
+ export { MemoizedNavigationMenu as NavigationMenu };
@@ -0,0 +1,9 @@
1
+ import { NavigationMenuProps } from '../NavigationMenu';
2
+ /**
3
+ * NavVerticalLayout
4
+ * This component is used to render vertical navigations using
5
+ * the Material-UI List component. It accepts the NavigationMenuProps props
6
+ * and renders the nav items accordingly.
7
+ */
8
+ declare function NavVerticalLayout(props: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
9
+ export { NavVerticalLayout };
@@ -0,0 +1,6 @@
1
+ import { NavItemComponentProps } from '../../NavItem';
2
+ /**
3
+ * NavVerticalCollapse component used for vertical navigation items with collapsible children.
4
+ */
5
+ declare function NavVerticalCollapse(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavVerticalCollapse };
@@ -0,0 +1,6 @@
1
+ import { NavItemComponentProps } from '../../NavItem';
2
+ /**
3
+ * NavVerticalGroup renders a group of navigation items in a vertical layout.
4
+ */
5
+ declare function NavVerticalGroup(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavVerticalGroup };
@@ -0,0 +1,6 @@
1
+ import { NavItemComponentProps } from '../../NavItem';
2
+ /**
3
+ * NavVerticalItem renders a single vertical navigation item.
4
+ */
5
+ declare function NavVerticalItem(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
+ export { NavVerticalItem };
@@ -0,0 +1,7 @@
1
+ import { NavItemComponentProps } from '../../NavItem';
2
+ /**
3
+ * NavVerticalLink
4
+ * Create a vertical Link to use inside the navigation component.
5
+ */
6
+ declare function NavVerticalLink(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
7
+ export { NavVerticalLink };
@@ -0,0 +1,8 @@
1
+ type FullScreenToggleProps = {
2
+ className?: string;
3
+ };
4
+ /**
5
+ * Full screen toggle.
6
+ */
7
+ declare function FullScreenToggle(props: FullScreenToggleProps): import("react/jsx-runtime").JSX.Element;
8
+ export default FullScreenToggle;
@@ -0,0 +1,9 @@
1
+ type LanguageSwitcherToggleProps = {
2
+ canRefresh?: boolean;
3
+ className?: string;
4
+ };
5
+ /**
6
+ * Language switcher toggle.
7
+ */
8
+ declare function LanguageSwitcherToggle(props: LanguageSwitcherToggleProps): import("react/jsx-runtime").JSX.Element;
9
+ export default LanguageSwitcherToggle;
@@ -0,0 +1,16 @@
1
+ import { type ReactNode } from 'react';
2
+ /**
3
+ * Props for navigation search toggle.
4
+ */
5
+ type NavigationSearchToggleProps = {
6
+ className?: string;
7
+ variant?: 'basic' | 'full';
8
+ trigger?: ReactNode;
9
+ placeholder?: string;
10
+ noResults?: string;
11
+ };
12
+ /**
13
+ * Memoized navigation search toggle.
14
+ */
15
+ declare const NavigationSearchToggleWithSlices: (props: NavigationSearchToggleProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default NavigationSearchToggleWithSlices;
@@ -0,0 +1,9 @@
1
+ type NavigationShortcutsToggleProps = {
2
+ className?: string;
3
+ variant?: 'horizontal' | 'vertical';
4
+ };
5
+ /**
6
+ * Memoized navigation shortcuts toggle.
7
+ */
8
+ declare const NavigationShortcutsToggleWithSlices: (props: NavigationShortcutsToggleProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default NavigationShortcutsToggleWithSlices;
@@ -0,0 +1,10 @@
1
+ import { type Theme } from '@mui/material/styles';
2
+ /**
3
+ * Shared toolbar toggle surface style.
4
+ */
5
+ export declare function toolbarToggleSx(theme: Theme): {
6
+ borderWidth: string;
7
+ borderStyle: string;
8
+ borderColor: string;
9
+ transition: string;
10
+ };
@@ -1,9 +1,9 @@
1
- type FooterLayout3Props = {
1
+ type ToolbarLayoutProps = {
2
2
  className?: string;
3
3
  };
4
4
  /**
5
- * The footer layout 3.
5
+ * The toolbar layout.
6
6
  */
7
- declare function FooterLayout3(props: FooterLayout3Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof FooterLayout3>;
7
+ declare function ToolbarLayout(props: ToolbarLayoutProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const _default: import("react").MemoExoticComponent<typeof ToolbarLayout>;
9
9
  export default _default;
@@ -1,11 +1,9 @@
1
1
  import { ThemeFormConfigTypes } from '@/types/ThemeFormConfigTypes';
2
- import { Layout1ConfigDefaultsType } from './layout1/Layout1Config';
3
- import { Layout2ConfigDefaultsType } from './layout2/Layout2Config';
4
- import { Layout3ConfigDefaultsType } from './layout3/Layout3Config';
2
+ import { LayoutConfigDefaultsType } from '@/configs/layoutConfig';
5
3
  /**
6
4
  * The type definition for the theme layout defaults.
7
5
  */
8
- export type themeLayoutDefaultsProps = Layout1ConfigDefaultsType | Layout3ConfigDefaultsType | Layout2ConfigDefaultsType;
6
+ export type themeLayoutDefaultsProps = LayoutConfigDefaultsType;
9
7
  /**
10
8
  * The type definition for the theme layout.
11
9
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Public store entry exports
3
3
  */
4
- export { OwpStoreProvider, type OwpStoreProviderProps } from '../context/OwpStoreProvider';
4
+ export { OwpStoreProvider, type OwpStoreProviderProps } from '../contexts/OwpStoreProvider';
5
5
  export { createAppSelector, makeStore } from './store';
6
6
  export type { AppAction, AppDispatch, AppStore, AppThunk, RootState } from './store';
7
7
  export * from './owpSettingsSlice';
@@ -1,5 +1,5 @@
1
- import '@/components/layouts/shared-components/navbar/navbarSlice';
2
- import '@/components/layouts/shared-components/navigation/store/navigationSlice';
1
+ import '@/store/navbarSlice';
2
+ import '@/store/navigationSlice';
3
3
  import { combineSlices } from '@reduxjs/toolkit';
4
4
  export interface LazyLoadedSlices {
5
5
  }
@@ -1,7 +1,7 @@
1
- import { OwpFlatNavItemType, OwpNavItemType } from '@/components/OwpNavigation/types/OwpNavItemType';
1
+ import type { OwpFlatNavItemType, OwpNavItemType } from '@/types/OwpNavigationTypes';
2
2
  import { AppThunk } from '@/store/store';
3
3
  import { WithSlice } from '@reduxjs/toolkit';
4
- import { PartialDeep } from 'type-fest';
4
+ import type { PartialDeep } from 'type-fest';
5
5
  /**
6
6
  * Redux Thunk actions related to the navigation store state
7
7
  */
@@ -30,19 +30,19 @@ export declare const selectNavigationAll: (state: {
30
30
  }, id: string) => {
31
31
  disabled?: boolean;
32
32
  active?: boolean;
33
- icon?: string;
34
33
  translate?: string;
35
- title?: string;
36
34
  id: string;
37
- type?: string;
38
- target?: string;
39
- end?: boolean;
40
- url?: string;
41
- badge?: import("../../../../..").OwpNavBadgeType;
42
- subtitle?: string;
35
+ title?: string;
43
36
  auth?: string[] | string;
37
+ subtitle?: string;
38
+ icon?: string;
44
39
  iconClass?: string;
40
+ url?: string;
41
+ target?: string;
42
+ type?: string;
45
43
  exact?: boolean;
44
+ end?: boolean;
45
+ badge?: import("@/types/OwpNavigationTypes").OwpNavBadgeType;
46
46
  hasPermission?: boolean;
47
47
  children?: string[];
48
48
  order: string;