@owp/core 1.30.0 → 2.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 (238) 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-C91nHTKM.js} +280 -282
  6. package/dist/Close-C91nHTKM.js.map +1 -0
  7. package/dist/{OwpStoreProvider-Bx5p7ooQ.js → OwpStoreProvider-BPa_lWCz.js} +3 -3
  8. package/dist/OwpStoreProvider-BPa_lWCz.js.map +1 -0
  9. package/dist/OwpUtils-DV2LSByd.js +411 -0
  10. package/dist/OwpUtils-DV2LSByd.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-DNfSjP6S.js +42 -0
  18. package/dist/commonCodeUtils-DNfSjP6S.js.map +1 -0
  19. package/dist/contexts.js +104 -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/hooks.js +119 -73
  26. package/dist/hooks.js.map +1 -1
  27. package/dist/index.css +1 -1
  28. package/dist/index.js +44321 -96
  29. package/dist/index.js.map +1 -1
  30. package/dist/isString-Codtu20I.js +55 -0
  31. package/dist/isString-Codtu20I.js.map +1 -0
  32. package/dist/isTypedArray-CCnDZ5HJ.js +609 -0
  33. package/dist/isTypedArray-CCnDZ5HJ.js.map +1 -0
  34. package/dist/language-DaxFvPOq.js +35 -0
  35. package/dist/language-DaxFvPOq.js.map +1 -0
  36. package/dist/lazyLoadedSlices-C18y0AEB.js +2773 -0
  37. package/dist/lazyLoadedSlices-C18y0AEB.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-Dmh8Htx_.js} +2 -2
  41. package/dist/{toUpper-i_I6Tyuv.js.map → toUpper-Dmh8Htx_.js.map} +1 -1
  42. package/dist/{treeGridUtil-WTM_djsN.js → treeGridUtil-DAfaAk6C.js} +19 -19
  43. package/dist/{treeGridUtil-WTM_djsN.js.map → treeGridUtil-DAfaAk6C.js.map} +1 -1
  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/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
  57. package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
  58. package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
  59. package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
  60. package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +1 -1
  61. package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
  62. package/dist/types/{context → contexts}/OwpAppProvider.d.ts +10 -3
  63. package/dist/types/hooks/index.d.ts +4 -2
  64. package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
  65. package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
  66. package/dist/types/hooks/useInitApp.d.ts +8 -0
  67. package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
  68. package/dist/types/hooks/useLogoSrc.d.ts +8 -0
  69. package/dist/types/hooks/useNavigation.d.ts +3 -18
  70. package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
  71. package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
  72. package/dist/types/index.d.ts +3 -29
  73. package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
  74. package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
  75. package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
  76. package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
  77. package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
  78. package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
  79. package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
  80. package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
  81. package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
  82. package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
  83. package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
  84. package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
  85. package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
  86. package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
  87. package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
  88. package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
  89. package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
  90. package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
  91. package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
  92. package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
  93. package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
  94. package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
  95. package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
  96. package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
  97. package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
  98. package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
  99. package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
  100. package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
  101. package/dist/types/store/index.d.ts +1 -1
  102. package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
  103. package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +10 -10
  104. package/dist/types/store/owpSettingsSlice.d.ts +18 -1356
  105. package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
  106. package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
  107. package/dist/types/types/index.d.ts +3 -0
  108. package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
  109. package/dist/types/utils/index.d.ts +2 -0
  110. package/dist/types/utils/language.d.ts +8 -0
  111. package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
  112. package/dist/types.js +2 -0
  113. package/dist/types.js.map +1 -0
  114. package/dist/{usePageLockLoading-BUI_3PlR.js → usePageLockLoading-BGODEt_k.js} +5 -5
  115. package/dist/usePageLockLoading-BGODEt_k.js.map +1 -0
  116. package/dist/useShortcuts-BjtlXprQ.js +236 -0
  117. package/dist/useShortcuts-BjtlXprQ.js.map +1 -0
  118. package/dist/useTreeGridExcelExport-BE6h1hsO.js +120 -0
  119. package/dist/useTreeGridExcelExport-BE6h1hsO.js.map +1 -0
  120. package/dist/utils.js +6911 -6671
  121. package/dist/utils.js.map +1 -1
  122. package/owp-app.css +1 -0
  123. package/package.json +51 -47
  124. package/types.d.ts +3 -0
  125. package/types.js +1 -0
  126. package/context.d.ts +0 -3
  127. package/context.js +0 -1
  128. package/dist/Close-DnXyQZKh.js.map +0 -1
  129. package/dist/OwpStoreProvider-Bx5p7ooQ.js.map +0 -1
  130. package/dist/OwpUtils-C81bM1Gz.js +0 -611
  131. package/dist/OwpUtils-C81bM1Gz.js.map +0 -1
  132. package/dist/QuickPanel-CO7Tyc8C.js +0 -104
  133. package/dist/QuickPanel-CO7Tyc8C.js.map +0 -1
  134. package/dist/context.js +0 -101
  135. package/dist/context.js.map +0 -1
  136. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
  137. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
  138. package/dist/index-KlA5Es4t.js +0 -46971
  139. package/dist/index-KlA5Es4t.js.map +0 -1
  140. package/dist/isTypedArray-DPyC49cI.js +0 -411
  141. package/dist/isTypedArray-DPyC49cI.js.map +0 -1
  142. package/dist/lazyLoadedSlices-DC7yg4GT.js +0 -2832
  143. package/dist/lazyLoadedSlices-DC7yg4GT.js.map +0 -1
  144. package/dist/owpDark-DAY0F6Ph.js.map +0 -1
  145. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
  146. package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
  147. package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
  148. package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
  149. package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
  150. package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
  151. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
  152. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
  153. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
  154. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
  155. package/dist/types/components/OwpNavigation/index.d.ts +0 -1
  156. package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
  157. package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
  158. package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
  159. package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
  160. package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
  161. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
  162. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
  163. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
  164. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
  165. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
  166. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
  167. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
  168. package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
  169. package/dist/types/components/OwpSearch/index.d.ts +0 -1
  170. package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
  171. package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
  172. package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
  173. package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
  174. package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
  175. package/dist/types/components/OwpTheme/index.d.ts +0 -1
  176. package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
  177. package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
  178. package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
  179. package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
  180. package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
  181. package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
  182. package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
  183. package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
  184. package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
  185. package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
  186. package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
  187. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
  188. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
  189. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
  190. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
  191. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
  192. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
  193. package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
  194. package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
  195. package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
  196. package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
  197. package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
  198. package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
  199. package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
  200. package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
  201. package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
  202. package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
  203. package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
  204. package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
  205. package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
  206. package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
  207. package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
  208. package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
  209. package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
  210. package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
  211. package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
  212. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
  213. package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
  214. package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
  215. package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
  216. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
  217. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
  218. package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
  219. package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
  220. package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
  221. package/dist/usePageLockLoading-BUI_3PlR.js.map +0 -1
  222. package/dist/useShortcuts-CCf98L8m.js +0 -241
  223. package/dist/useShortcuts-CCf98L8m.js.map +0 -1
  224. package/dist/useStorage-CuUmH4fD.js +0 -50
  225. package/dist/useStorage-CuUmH4fD.js.map +0 -1
  226. package/dist/useTreeGridExcelExport-N2nOKmkz.js +0 -138
  227. package/dist/useTreeGridExcelExport-N2nOKmkz.js.map +0 -1
  228. /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
  229. /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
  230. /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
  231. /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
  232. /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
  233. /package/dist/types/{context → contexts}/index.d.ts +0 -0
  234. /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
  235. /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
  236. /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
  237. /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
  238. /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"owpDark-DAY0F6Ph.js","sources":["../src/colors/owpDark.ts"],"sourcesContent":["/**\n * The OwpDark object is a color palette for the Owp application.\n */\nexport const owpDark = {\n 50: '#e5e6e8',\n 100: '#bec1c5',\n 200: '#92979f',\n 300: '#666d78',\n 400: '#464e5b',\n 500: '#252f3e',\n 600: '#212a38',\n 700: '#1b2330',\n 800: '#161d28',\n 900: '#0d121b',\n A100: '#5d8eff',\n A200: '#2a6aff',\n A400: '#004af6',\n A700: '#0042dd',\n contrastDefaultColor: 'light',\n};\n"],"names":["owpDark"],"mappings":"AAGO,MAAMA,IAAU;AAAA,EACrB,IAAI;AAAA,EACJ,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,sBAAsB;AACxB;"}
@@ -1 +0,0 @@
1
- export { OwpCommonDialog, OwpDialog, type OwpCommonDialogProps, type OwpDialogProps, } from '../OwpDialog';
@@ -1 +0,0 @@
1
- export * from './OwpCommonDialog';
@@ -1,17 +0,0 @@
1
- import { OwpNavBadgeType } from './types/OwpNavBadgeType';
2
- type OwpNavBadgeProps = {
3
- className?: string;
4
- classes?: string;
5
- badge: OwpNavBadgeType;
6
- };
7
- /**
8
- * OwpNavBadge component.
9
- * This component will render a badge on a OwpNav element. It accepts a `OwpNavBadgeType` as a prop,
10
- * which is an object containing a title and background and foreground colour.
11
- */
12
- declare function OwpNavBadge(props: OwpNavBadgeProps): import("react/jsx-runtime").JSX.Element;
13
- /**
14
- * OwpNavBadgeMemo 메모이징 컴포넌트
15
- */
16
- declare const OwpNavBadgeMemo: import("react").MemoExoticComponent<typeof OwpNavBadge>;
17
- export { OwpNavBadgeMemo as OwpNavBadge };
@@ -1,14 +0,0 @@
1
- import { OwpNavItemType } from './types/OwpNavItemType';
2
- export type OwpNavItemComponentProps = {
3
- type: string;
4
- item: OwpNavItemType;
5
- dense?: boolean;
6
- nestedLevel?: number;
7
- onItemClick?: (T: OwpNavItemType) => void;
8
- checkPermission?: boolean;
9
- };
10
- /**
11
- Component to render NavItem depending on its type.
12
- */
13
- declare function OwpNavItem(props: OwpNavItemComponentProps): import("react/jsx-runtime").JSX.Element;
14
- export { OwpNavItem };
@@ -1,23 +0,0 @@
1
- import { OwpNavItemType } from './types/OwpNavItemType';
2
- export type OwpNavigationProps = {
3
- className?: string;
4
- dense?: boolean;
5
- active?: boolean;
6
- onItemClick?: (T: OwpNavItemType) => void;
7
- navigation?: OwpNavItemType[];
8
- layout?: 'horizontal' | 'vertical' | 'vertical-2';
9
- firstLevel?: boolean;
10
- selectedId?: string;
11
- checkPermission?: boolean;
12
- };
13
- /**
14
- * OwpNavigation
15
- * Component for displaying a navigation bar which contains OwpNavItem components
16
- * and acts as parent for providing props to its children components
17
- */
18
- declare function OwpNavigation(props: OwpNavigationProps): import("react/jsx-runtime").JSX.Element;
19
- /**
20
- * MemoizedOwpNavigation 메모이징 컴포넌트
21
- */
22
- declare const MemoizedOwpNavigation: import("react").MemoExoticComponent<typeof OwpNavigation>;
23
- export { MemoizedOwpNavigation as OwpNavigation };
@@ -1,7 +0,0 @@
1
- import { OwpNavigationProps } from '../OwpNavigation';
2
- /**
3
- * OwpNavHorizontalLayout1 is a react component used for building and
4
- * rendering horizontal navigation menus, using the Material UI List component.
5
- */
6
- declare function OwpNavHorizontalLayout1(props: OwpNavigationProps): import("react/jsx-runtime").JSX.Element;
7
- export { OwpNavHorizontalLayout1 };
@@ -1,15 +0,0 @@
1
- import { Location } from 'history';
2
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
3
- type OwpNavHorizontalCollapseProps = OwpNavItemComponentProps & {
4
- location: Location;
5
- };
6
- /**
7
- * OwpNavHorizontalCollapse component helps rendering Horizontal Owp Navigation Item with children
8
- * Used in OwpNavVerticalItems and OwpNavHorizontalItems
9
- */
10
- declare function OwpNavHorizontalCollapse(props: OwpNavHorizontalCollapseProps): import("react/jsx-runtime").JSX.Element;
11
- /**
12
- * NavHorizontalCollapseWithMemo 메모이징 컴포넌트
13
- */
14
- declare const NavHorizontalCollapseWithMemo: import("react").MemoExoticComponent<typeof OwpNavHorizontalCollapse>;
15
- export { NavHorizontalCollapseWithMemo as OwpNavHorizontalCollapse };
@@ -1,13 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- type OwpNavHorizontalGroupProps = OwpNavItemComponentProps;
3
- /**
4
- * OwpNavHorizontalGroup.
5
- * Represents a horizontal group component used in the Owp navigation navigation list.
6
- * It shows the list item as well as its children with a flyout effect.
7
- */
8
- declare function OwpNavHorizontalGroup(props: OwpNavHorizontalGroupProps): import("react/jsx-runtime").JSX.Element;
9
- /**
10
- * NavHorizontalGroupWithMemo 메모이징 컴포넌트
11
- */
12
- declare const NavHorizontalGroupWithMemo: import("react").MemoExoticComponent<typeof OwpNavHorizontalGroup>;
13
- export { NavHorizontalGroupWithMemo as OwpNavHorizontalGroup };
@@ -1,11 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- type OwpNavHorizontalItemProps = OwpNavItemComponentProps;
3
- /**
4
- * OwpNavHorizontalItem is a component responsible for rendering the navigation element in the horizontal menu in the Owp theme.
5
- */
6
- declare function OwpNavHorizontalItem(props: OwpNavHorizontalItemProps): import("react/jsx-runtime").JSX.Element;
7
- /**
8
- * NavHorizontalItemWithMemo 메모이징 컴포넌트
9
- */
10
- declare const NavHorizontalItemWithMemo: import("react").MemoExoticComponent<typeof OwpNavHorizontalItem>;
11
- export { NavHorizontalItemWithMemo as OwpNavHorizontalItem };
@@ -1,8 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- type OwpNavHorizontalLinkProps = OwpNavItemComponentProps;
3
- declare function OwpNavHorizontalLink(props: OwpNavHorizontalLinkProps): import("react/jsx-runtime").JSX.Element;
4
- /**
5
- * NavHorizontalLinkWithMemo 메모이징 컴포넌트
6
- */
7
- declare const NavHorizontalLinkWithMemo: import("react").MemoExoticComponent<typeof OwpNavHorizontalLink>;
8
- export { NavHorizontalLinkWithMemo as OwpNavHorizontalLink };
@@ -1 +0,0 @@
1
- export { OwpNavigation } from './OwpNavigation';
@@ -1,7 +0,0 @@
1
- import { Pathname } from 'history';
2
- import { OwpNavItemType } from './types/OwpNavItemType';
3
- /**
4
- * Determines whether a given URL is present in the parent's child list or not.
5
- */
6
- declare const isUrlInChildren: (parent: OwpNavItemType, url: Pathname) => boolean;
7
- export { isUrlInChildren };
@@ -1,8 +0,0 @@
1
- import { PartialDeep } from 'type-fest';
2
- import { OwpNavItemType } from '../types/OwpNavItemType';
3
- /**
4
- * OwpNavItemModel
5
- * Constructs a navigation item based on OwpNavItemType
6
- */
7
- declare function OwpNavItemModel(data?: PartialDeep<OwpNavItemType>): OwpNavItemType;
8
- export { OwpNavItemModel };
@@ -1,9 +0,0 @@
1
- /**
2
- * Represents a OwpNavBadge.
3
- */
4
- export type OwpNavBadgeType = {
5
- bg?: string;
6
- fg?: string;
7
- title: string;
8
- classes?: string;
9
- };
@@ -1,4 +0,0 @@
1
- declare const components: {
2
- [key: string]: React.FC<unknown>;
3
- };
4
- export default components;
@@ -1,4 +0,0 @@
1
- /**
2
- * Register a component to OwpNavItem.
3
- */
4
- export declare function registerComponent<T = unknown>(name: string, Component: React.FC<T>): void;
@@ -1,9 +0,0 @@
1
- import { OwpNavigationProps } from '../OwpNavigation';
2
- /**
3
- * OwpNavVerticalLayout1
4
- * This component is used to render vertical navigations using
5
- * the Material-UI List component. It accepts the OwpNavigationProps props
6
- * and renders the OwpNavItem components accordingly
7
- */
8
- declare function OwpNavVerticalLayout1(props: OwpNavigationProps): import("react/jsx-runtime").JSX.Element;
9
- export { OwpNavVerticalLayout1 };
@@ -1,7 +0,0 @@
1
- import { OwpNavigationProps } from '../OwpNavigation';
2
- /**
3
- * OwpNavVerticalLayout2 component represents a vertical navigation layout with material UI elements.
4
- * It displays the navigation object in the structured vertical menu and allows to handle onClick events for each navigation item.
5
- */
6
- declare function OwpNavVerticalLayout2(props: OwpNavigationProps): import("react/jsx-runtime").JSX.Element;
7
- export { OwpNavVerticalLayout2 };
@@ -1,7 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- /**
3
- * OwpNavVerticalCollapse component used for vertical navigation items with collapsible children.
4
- */
5
- declare function OwpNavVerticalCollapse(props: OwpNavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
- declare const NavVerticalCollapse: typeof OwpNavVerticalCollapse;
7
- export { NavVerticalCollapse as OwpNavVerticalCollapse };
@@ -1,7 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- /**
3
- * OwpNavVerticalGroup is a component used to render a group of navigation items in a vertical layout.
4
- */
5
- declare function OwpNavVerticalGroup(props: OwpNavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
- declare const NavVerticalGroup: typeof OwpNavVerticalGroup;
7
- export { NavVerticalGroup as OwpNavVerticalGroup };
@@ -1,7 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- /**
3
- * OwpNavVerticalItem is a React component used to render OwpNavItem as part of the Owp navigational component.
4
- */
5
- declare function OwpNavVerticalItem(props: OwpNavItemComponentProps): import("react/jsx-runtime").JSX.Element;
6
- declare const NavVerticalItem: typeof OwpNavVerticalItem;
7
- export { NavVerticalItem as OwpNavVerticalItem };
@@ -1,8 +0,0 @@
1
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
2
- /**
3
- * OwpNavVerticalLink
4
- * Create a vertical Link to use inside the navigation component.
5
- */
6
- declare function OwpNavVerticalLink(props: OwpNavItemComponentProps): import("react/jsx-runtime").JSX.Element;
7
- declare const NavVerticalLink: typeof OwpNavVerticalLink;
8
- export { NavVerticalLink as OwpNavVerticalLink };
@@ -1,11 +0,0 @@
1
- import { OwpNavigationProps } from '../../OwpNavigation';
2
- import { OwpNavItemComponentProps } from '../../OwpNavItem';
3
- export type OwpNavVerticalTabProps = Omit<OwpNavigationProps, 'navigation'> & OwpNavItemComponentProps;
4
- /**
5
- * The `OwpNavVerticalTab` component renders vertical navigation item with an adaptable
6
- * layout to be used within the `OwpNavigation`. It only supports the `type`s of 'item',
7
- * 'selection' and 'divider'
8
- * */
9
- declare function OwpNavVerticalTab(props: OwpNavVerticalTabProps): import("react/jsx-runtime").JSX.Element;
10
- declare const NavVerticalTab: typeof OwpNavVerticalTab;
11
- export { NavVerticalTab as OwpNavVerticalTab };
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- import { ReactNode } from 'react';
3
- import { OwpFlatNavItemType } from '../OwpNavigation/types/OwpNavItemType';
4
- /**
5
- * Props for OwpSearch component
6
- */
7
- type OwpSearchProps = {
8
- className?: string;
9
- navigation: OwpFlatNavItemType[];
10
- variant?: 'basic' | 'full';
11
- trigger?: ReactNode;
12
- placeholder?: string;
13
- noResults?: string;
14
- };
15
- /**
16
- * OwpSearch component
17
- */
18
- declare function OwpSearch(props: OwpSearchProps): import("react/jsx-runtime").JSX.Element;
19
- /**
20
- * OwpSearchMemo 메모이징 컴포넌트
21
- */
22
- declare const OwpSearchMemo: React.MemoExoticComponent<typeof OwpSearch>;
23
- export { OwpSearchMemo as OwpSearch };
@@ -1 +0,0 @@
1
- export { OwpSearch } from './OwpSearch';
@@ -1,19 +0,0 @@
1
- import { OwpFlatNavItemType } from '../OwpNavigation/types/OwpNavItemType';
2
- type OwpShortcutsProps = {
3
- className?: string;
4
- navigation: OwpFlatNavItemType[];
5
- onChange: (T: string[]) => void;
6
- shortcuts?: string[];
7
- variant?: 'horizontal' | 'vertical';
8
- };
9
- /**
10
- * The OwpShortcuts component is responsible for rendering a list of shortcuts based on the navigation and shortcuts props.
11
- * It uses various MUI components to render the list items and search input.
12
- * The component is memoized to prevent unnecessary re-renders.
13
- */
14
- declare function OwpShortcuts(props: OwpShortcutsProps): import("react/jsx-runtime").JSX.Element;
15
- /**
16
- * OwpShortcutsMemo 메모이징 컴포넌트
17
- */
18
- declare const OwpShortcutsMemo: import("react").MemoExoticComponent<typeof OwpShortcuts>;
19
- export { OwpShortcutsMemo as OwpShortcuts };
@@ -1 +0,0 @@
1
- export { OwpShortcuts } from './OwpShortcuts';
@@ -1,18 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type OwpSidePanelProps = {
3
- position?: 'left';
4
- opened?: true;
5
- className?: string;
6
- children?: ReactNode;
7
- };
8
- /**
9
- * The OwpSidePanel component is responsible for rendering a side panel that can be opened and closed.
10
- * It uses various MUI components to render the panel and its contents.
11
- * The component is memoized to prevent unnecessary re-renders.
12
- */
13
- declare function OwpSidePanel(props: OwpSidePanelProps): import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * OwpSidePanelMemo 메모이징 컴포넌트
16
- */
17
- declare const OwpSidePanelMemo: import("react").MemoExoticComponent<typeof OwpSidePanel>;
18
- export { OwpSidePanelMemo as OwpSidePanel };
@@ -1 +0,0 @@
1
- export { OwpSidePanel } from './OwpSidePanel';
@@ -1,18 +0,0 @@
1
- import { Theme } from '@mui/material/styles/createTheme';
2
- import { ReactNode } from 'react';
3
- type OwpThemeProps = {
4
- children: ReactNode;
5
- theme: Theme;
6
- root?: boolean;
7
- };
8
- /**
9
- * The OwpTheme component is responsible for rendering the MUI ThemeProvider component with the specified theme and direction.
10
- * It also sets the direction of the document body and adds a class to the body based on the current theme mode.
11
- * The component is memoized to prevent unnecessary re-renders.
12
- */
13
- declare function OwpTheme(props: OwpThemeProps): import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * OwpThemeMemo 메모이징 컴포넌트
16
- */
17
- declare const OwpThemeMemo: import("react").MemoExoticComponent<typeof OwpTheme>;
18
- export { OwpThemeMemo as OwpTheme };
@@ -1 +0,0 @@
1
- export { OwpTheme } from './OwpTheme';
@@ -1,16 +0,0 @@
1
- import { OwpThemeOption } from '@/components/OwpThemeSelector/ThemePreview';
2
- type OwpThemeSchemesProps = {
3
- onSelect?: (t: OwpThemeOption) => void;
4
- options: OwpThemeOption[];
5
- };
6
- /**
7
- * The OwpThemeSchemes component is responsible for rendering a list of theme schemes with preview images.
8
- * It uses the SchemePreview component to render each scheme preview.
9
- * The component is memoized to prevent unnecessary re-renders.
10
- */
11
- declare function OwpThemeSelector(props: OwpThemeSchemesProps): import("react/jsx-runtime").JSX.Element;
12
- /**
13
- * OwpThemeSelectorMemo 메모이징 컴포넌트
14
- */
15
- declare const OwpThemeSelectorMemo: import("react").MemoExoticComponent<typeof OwpThemeSelector>;
16
- export { OwpThemeSelectorMemo as OwpThemeSelector };
@@ -1,14 +0,0 @@
1
- import type { OwpThemeType } from '@/types/OwpSettingsTypes';
2
- type SchemePreviewProps = {
3
- id: string;
4
- className?: string;
5
- onSelect: (T: OwpThemeType) => void;
6
- theme: OwpThemeType;
7
- };
8
- /**
9
- * The SchemePreview component is responsible for rendering a preview of a theme scheme.
10
- * It uses various MUI components to render the preview.
11
- * The component is memoized to prevent unnecessary re-renders.
12
- */
13
- declare function SchemePreview(props: SchemePreviewProps): import("react/jsx-runtime").JSX.Element;
14
- export default SchemePreview;
@@ -1,17 +0,0 @@
1
- import type { OwpThemesType } from '@/types/OwpSettingsTypes';
2
- export type OwpThemeOption = {
3
- id: string;
4
- section: OwpThemesType;
5
- };
6
- type ThemePreviewProps = {
7
- className?: string;
8
- onSelect?: (T: OwpThemeOption) => void;
9
- theme: OwpThemeOption;
10
- };
11
- /**
12
- * The ThemePreview component is responsible for rendering a preview of a theme scheme.
13
- * It uses various MUI components to render the preview.
14
- * The component is memoized to prevent unnecessary re-renders.
15
- */
16
- declare function ThemePreview(props: ThemePreviewProps): import("react/jsx-runtime").JSX.Element;
17
- export default ThemePreview;
@@ -1 +0,0 @@
1
- export { OwpThemeSelector } from './OwpThemeSelector';
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type Layout1Props = {
3
- children?: ReactNode;
4
- };
5
- /**
6
- * The layout 1.
7
- */
8
- declare function Layout1(props: Layout1Props): import("react/jsx-runtime").JSX.Element;
9
- declare const _default: import("react").MemoExoticComponent<typeof Layout1>;
10
- export default _default;
@@ -1,114 +0,0 @@
1
- /**
2
- * The Layout1 Config object.
3
- */
4
- declare const Layout1Config: {
5
- title: string;
6
- defaults: {
7
- mode: string;
8
- containerWidth: string;
9
- navbar: {
10
- display: boolean;
11
- style: string;
12
- folded: boolean;
13
- position: string;
14
- open: boolean;
15
- };
16
- toolbar: {
17
- display: boolean;
18
- style: string;
19
- };
20
- footer: {
21
- display: boolean;
22
- style: string;
23
- };
24
- leftSidePanel: {
25
- display: boolean;
26
- };
27
- rightSidePanel: {
28
- display: boolean;
29
- };
30
- };
31
- form: {
32
- mode: {
33
- title: string;
34
- type: string;
35
- options: {
36
- name: string;
37
- value: string;
38
- }[];
39
- };
40
- containerWidth: {
41
- title: string;
42
- type: string;
43
- min: number;
44
- };
45
- navbar: {
46
- type: string;
47
- title: string;
48
- children: {
49
- display: {
50
- title: string;
51
- type: string;
52
- };
53
- position: {
54
- title: string;
55
- type: string;
56
- options: {
57
- name: string;
58
- value: string;
59
- }[];
60
- };
61
- style: {
62
- title: string;
63
- type: string;
64
- options: {
65
- name: string;
66
- value: string;
67
- }[];
68
- };
69
- folded: {
70
- title: string;
71
- type: string;
72
- };
73
- };
74
- };
75
- toolbar: {
76
- type: string;
77
- title: string;
78
- children: {
79
- display: {
80
- title: string;
81
- type: string;
82
- };
83
- style: {
84
- title: string;
85
- type: string;
86
- options: {
87
- name: string;
88
- value: string;
89
- }[];
90
- };
91
- };
92
- };
93
- footer: {
94
- type: string;
95
- title: string;
96
- children: {
97
- display: {
98
- title: string;
99
- type: string;
100
- };
101
- style: {
102
- title: string;
103
- type: string;
104
- options: {
105
- name: string;
106
- value: string;
107
- }[];
108
- };
109
- };
110
- };
111
- };
112
- };
113
- export type Layout1ConfigDefaultsType = (typeof Layout1Config)['defaults'];
114
- export default Layout1Config;
@@ -1,9 +0,0 @@
1
- type FooterLayout1Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The footer layout 1.
6
- */
7
- declare function FooterLayout1(props: FooterLayout1Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof FooterLayout1>;
9
- export default _default;
@@ -1,6 +0,0 @@
1
- /**
2
- * The left side layout 1.
3
- */
4
- declare function LeftSideLayout1(): import("react/jsx-runtime").JSX.Element;
5
- declare const _default: import("react").MemoExoticComponent<typeof LeftSideLayout1>;
6
- export default _default;
@@ -1,8 +0,0 @@
1
- type NavbarToggleFabLayout1Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar toggle fab layout 1.
6
- */
7
- declare function NavbarToggleFabLayout1(props: NavbarToggleFabLayout1Props): import("react/jsx-runtime").JSX.Element;
8
- export default NavbarToggleFabLayout1;
@@ -1,5 +0,0 @@
1
- /**
2
- * The navbar wrapper layout 1.
3
- */
4
- declare function NavbarWrapperLayout1(): import("react/jsx-runtime").JSX.Element;
5
- export default NavbarWrapperLayout1;
@@ -1,9 +0,0 @@
1
- type ToolbarLayout1Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The toolbar layout 1.
6
- */
7
- declare function ToolbarLayout1(props: ToolbarLayout1Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof ToolbarLayout1>;
9
- export default _default;
@@ -1,5 +0,0 @@
1
- /**
2
- * The navbar style 1.
3
- */
4
- declare function NavbarStyle1(): import("react/jsx-runtime").JSX.Element;
5
- export default NavbarStyle1;
@@ -1,9 +0,0 @@
1
- type NavbarStyle1ContentProps = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar style 1 content.
6
- */
7
- declare function NavbarStyle1Content(props: NavbarStyle1ContentProps): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarStyle1Content>;
9
- export default _default;
@@ -1,5 +0,0 @@
1
- /**
2
- * The navbar style 2.
3
- */
4
- declare function NavbarStyle2(): import("react/jsx-runtime").JSX.Element;
5
- export default NavbarStyle2;
@@ -1,9 +0,0 @@
1
- type NavbarStyle2ContentProps = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar style 2 content.
6
- */
7
- declare function NavbarStyle2Content(props: NavbarStyle2ContentProps): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarStyle2Content>;
9
- export default _default;
@@ -1,9 +0,0 @@
1
- type NavbarStyle3Props = {
2
- className?: string;
3
- dense?: boolean;
4
- };
5
- /**
6
- * The navbar style 3.
7
- */
8
- declare function NavbarStyle3(props: NavbarStyle3Props): import("react/jsx-runtime").JSX.Element;
9
- export default NavbarStyle3;
@@ -1,10 +0,0 @@
1
- type NavbarStyle3ContentProps = {
2
- className?: string;
3
- dense?: number;
4
- };
5
- /**
6
- * The navbar style 3 content.
7
- */
8
- declare function NavbarStyle3Content(props: NavbarStyle3ContentProps): import("react/jsx-runtime").JSX.Element;
9
- declare const _default: import("react").MemoExoticComponent<typeof NavbarStyle3Content>;
10
- export default _default;
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type Layout2Props = {
3
- children?: ReactNode;
4
- };
5
- /**
6
- * The layout 2.
7
- */
8
- declare function Layout2(props: Layout2Props): import("react/jsx-runtime").JSX.Element;
9
- declare const _default: import("react").MemoExoticComponent<typeof Layout2>;
10
- export default _default;