@owp/core 1.29.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 (250) 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-Cm04EulE.js → Close-C91nHTKM.js} +398 -329
  6. package/dist/Close-C91nHTKM.js.map +1 -0
  7. package/dist/{OwpStoreProvider-CFq963Pl.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 +6 -18
  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/constants.js +19 -21
  20. package/dist/constants.js.map +1 -1
  21. package/dist/contexts.js +104 -0
  22. package/dist/contexts.js.map +1 -0
  23. package/dist/dark-DAY0F6Ph.js +21 -0
  24. package/dist/dark-DAY0F6Ph.js.map +1 -0
  25. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
  26. package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
  27. package/dist/hooks.js +116 -100
  28. package/dist/hooks.js.map +1 -1
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +44321 -86
  31. package/dist/index.js.map +1 -1
  32. package/dist/isString-Codtu20I.js +55 -0
  33. package/dist/isString-Codtu20I.js.map +1 -0
  34. package/dist/isTypedArray-CCnDZ5HJ.js +609 -0
  35. package/dist/isTypedArray-CCnDZ5HJ.js.map +1 -0
  36. package/dist/language-DaxFvPOq.js +35 -0
  37. package/dist/language-DaxFvPOq.js.map +1 -0
  38. package/dist/lazyLoadedSlices-C18y0AEB.js +2773 -0
  39. package/dist/lazyLoadedSlices-C18y0AEB.js.map +1 -0
  40. package/dist/localStorageKeys-Che0CNci.js +10 -0
  41. package/dist/localStorageKeys-Che0CNci.js.map +1 -0
  42. package/dist/owp-app.css +1 -1
  43. package/dist/storageKeys-C6xHFiTo.js +42 -0
  44. package/dist/storageKeys-C6xHFiTo.js.map +1 -0
  45. package/dist/store.js +32 -33
  46. package/dist/{toUpper-K8I4frC5.js → toUpper-Dmh8Htx_.js} +2 -2
  47. package/dist/{toUpper-K8I4frC5.js.map → toUpper-Dmh8Htx_.js.map} +1 -1
  48. package/dist/treeGrid-DtKg-9uf.js +8 -0
  49. package/dist/treeGrid-DtKg-9uf.js.map +1 -0
  50. package/dist/{treeGridUtil-C46Qi5LG.js → treeGridUtil-DAfaAk6C.js} +79 -78
  51. package/dist/{treeGridUtil-C46Qi5LG.js.map → treeGridUtil-DAfaAk6C.js.map} +1 -1
  52. package/dist/types/colors/chart/colorMap.d.ts +8 -0
  53. package/dist/types/colors/chart/index.d.ts +1 -0
  54. package/dist/types/colors/index.d.ts +2 -2
  55. package/dist/types/colors/palettes/index.d.ts +2 -0
  56. package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
  57. package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
  58. package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
  59. package/dist/types/components/OwpHidden/index.d.ts +2 -0
  60. package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
  61. package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
  62. package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
  63. package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
  64. package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
  65. package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
  66. package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
  67. package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
  68. package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +26 -172
  69. package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
  70. package/dist/types/contexts/OwpAppProvider.d.ts +44 -0
  71. package/dist/types/hooks/index.d.ts +4 -2
  72. package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
  73. package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
  74. package/dist/types/hooks/useInitApp.d.ts +8 -0
  75. package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
  76. package/dist/types/hooks/useLogoSrc.d.ts +8 -0
  77. package/dist/types/hooks/useNavigation.d.ts +3 -18
  78. package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
  79. package/dist/types/hooks/useStorage.d.ts +0 -13
  80. package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
  81. package/dist/types/index.d.ts +3 -28
  82. package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
  83. package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
  84. package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
  85. package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
  86. package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
  87. package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
  88. package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
  89. package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
  90. package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
  91. package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
  92. package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
  93. package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
  94. package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
  95. package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
  96. package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
  97. package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
  98. package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
  99. package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
  100. package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
  101. package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
  102. package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
  103. package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
  104. package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
  105. package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
  106. package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
  107. package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
  108. package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
  109. package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
  110. package/dist/types/store/index.d.ts +1 -1
  111. package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
  112. package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +12 -12
  113. package/dist/types/store/owpSettingsSlice.d.ts +13 -1806
  114. package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
  115. package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
  116. package/dist/types/types/index.d.ts +3 -0
  117. package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
  118. package/dist/types/utils/index.d.ts +2 -0
  119. package/dist/types/utils/language.d.ts +8 -0
  120. package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
  121. package/dist/types.js +2 -0
  122. package/dist/types.js.map +1 -0
  123. package/dist/usePageLockLoading-BGODEt_k.js +39 -0
  124. package/dist/usePageLockLoading-BGODEt_k.js.map +1 -0
  125. package/dist/useShortcuts-BjtlXprQ.js +236 -0
  126. package/dist/useShortcuts-BjtlXprQ.js.map +1 -0
  127. package/dist/useTreeGridExcelExport-BE6h1hsO.js +120 -0
  128. package/dist/useTreeGridExcelExport-BE6h1hsO.js.map +1 -0
  129. package/dist/utils.js +6893 -6652
  130. package/dist/utils.js.map +1 -1
  131. package/owp-app.css +1 -0
  132. package/package.json +51 -47
  133. package/types.d.ts +3 -0
  134. package/types.js +1 -0
  135. package/context.d.ts +0 -3
  136. package/context.js +0 -1
  137. package/dist/Close-Cm04EulE.js.map +0 -1
  138. package/dist/OwpStoreProvider-CFq963Pl.js.map +0 -1
  139. package/dist/OwpUtils-9lHSCdan.js +0 -611
  140. package/dist/OwpUtils-9lHSCdan.js.map +0 -1
  141. package/dist/QuickPanel-DlrhsNXW.js +0 -104
  142. package/dist/QuickPanel-DlrhsNXW.js.map +0 -1
  143. package/dist/context.js +0 -74
  144. package/dist/context.js.map +0 -1
  145. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
  146. package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
  147. package/dist/index-Dn7pPU3W.js +0 -47049
  148. package/dist/index-Dn7pPU3W.js.map +0 -1
  149. package/dist/isTypedArray-xp-fB7W4.js +0 -411
  150. package/dist/isTypedArray-xp-fB7W4.js.map +0 -1
  151. package/dist/lazyLoadedSlices-BYAl2fil.js +0 -2786
  152. package/dist/lazyLoadedSlices-BYAl2fil.js.map +0 -1
  153. package/dist/storageKeys-DRzte9LZ.js +0 -15
  154. package/dist/storageKeys-DRzte9LZ.js.map +0 -1
  155. package/dist/treeGrid-DRAoPLXh.js +0 -35
  156. package/dist/treeGrid-DRAoPLXh.js.map +0 -1
  157. package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
  158. package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
  159. package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
  160. package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
  161. package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
  162. package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
  163. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
  164. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
  165. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
  166. package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
  167. package/dist/types/components/OwpNavigation/index.d.ts +0 -1
  168. package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
  169. package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
  170. package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
  171. package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
  172. package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
  173. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
  174. package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
  175. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
  176. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
  177. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
  178. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
  179. package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
  180. package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
  181. package/dist/types/components/OwpSearch/index.d.ts +0 -1
  182. package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
  183. package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
  184. package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
  185. package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
  186. package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
  187. package/dist/types/components/OwpTheme/index.d.ts +0 -1
  188. package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
  189. package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
  190. package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
  191. package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
  192. package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
  193. package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
  194. package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
  195. package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
  196. package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
  197. package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
  198. package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
  199. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
  200. package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
  201. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
  202. package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
  203. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
  204. package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
  205. package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
  206. package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
  207. package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
  208. package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
  209. package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
  210. package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
  211. package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
  212. package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
  213. package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
  214. package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
  215. package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
  216. package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
  217. package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
  218. package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
  219. package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
  220. package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
  221. package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
  222. package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
  223. package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
  224. package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
  225. package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
  226. package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
  227. package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
  228. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
  229. package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
  230. package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
  231. package/dist/types/context/OwpAppProvider.d.ts +0 -36
  232. package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
  233. package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
  234. package/dist/useOwpTranslation-CMrtqKkT.js +0 -190
  235. package/dist/useOwpTranslation-CMrtqKkT.js.map +0 -1
  236. package/dist/useStorage-BA0D8KA7.js +0 -67
  237. package/dist/useStorage-BA0D8KA7.js.map +0 -1
  238. package/dist/useTreeGridExcelExport-DLMecvHS.js +0 -186
  239. package/dist/useTreeGridExcelExport-DLMecvHS.js.map +0 -1
  240. /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
  241. /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
  242. /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
  243. /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
  244. /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
  245. /package/dist/types/{context → contexts}/index.d.ts +0 -0
  246. /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
  247. /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
  248. /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
  249. /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
  250. /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
@@ -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;
@@ -1,9 +0,0 @@
1
- type FooterLayout2Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The footer layout 2.
6
- */
7
- declare function FooterLayout2(props: FooterLayout2Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof FooterLayout2>;
9
- export default _default;
@@ -1,6 +0,0 @@
1
- /**
2
- * The left side layout 2.
3
- */
4
- declare function LeftSideLayout2(): import("react/jsx-runtime").JSX.Element;
5
- declare const _default: import("react").MemoExoticComponent<typeof LeftSideLayout2>;
6
- export default _default;
@@ -1,9 +0,0 @@
1
- type NavbarLayout2Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar layout 2.
6
- */
7
- declare function NavbarLayout2(props: NavbarLayout2Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarLayout2>;
9
- export default _default;
@@ -1,9 +0,0 @@
1
- type NavbarMobileLayout2Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar mobile layout 2.
6
- */
7
- declare function NavbarMobileLayout2(props: NavbarMobileLayout2Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarMobileLayout2>;
9
- export default _default;
@@ -1,8 +0,0 @@
1
- type NavbarToggleFabLayout2Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar toggle fab layout 2.
6
- */
7
- declare function NavbarToggleFabLayout2(props: NavbarToggleFabLayout2Props): import("react/jsx-runtime").JSX.Element;
8
- export default NavbarToggleFabLayout2;
@@ -1,5 +0,0 @@
1
- type NavbarWrapperLayout2Props = {
2
- className?: string;
3
- };
4
- declare const NavbarWithSlices: (props: NavbarWrapperLayout2Props) => import("react/jsx-runtime").JSX.Element;
5
- export default NavbarWithSlices;
@@ -1,6 +0,0 @@
1
- /**
2
- * The right side layout 2.
3
- */
4
- declare function RightSideLayout2(): import("react/jsx-runtime").JSX.Element;
5
- declare const _default: import("react").MemoExoticComponent<typeof RightSideLayout2>;
6
- export default _default;
@@ -1,9 +0,0 @@
1
- type ToolbarLayout2Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The toolbar layout 2.
6
- */
7
- declare function ToolbarLayout2(props: ToolbarLayout2Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof ToolbarLayout2>;
9
- export default _default;
@@ -1,110 +0,0 @@
1
- /**
2
- * The Layout3 Config object.
3
- */
4
- declare const Layout3Config: {
5
- title: string;
6
- defaults: {
7
- mode: string;
8
- containerWidth: number;
9
- scroll: string;
10
- navbar: {
11
- display: boolean;
12
- style: string;
13
- folded: boolean;
14
- };
15
- toolbar: {
16
- display: boolean;
17
- style: string;
18
- position: 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
- style: {
54
- title: string;
55
- type: string;
56
- options: {
57
- name: string;
58
- value: string;
59
- }[];
60
- };
61
- };
62
- };
63
- toolbar: {
64
- type: string;
65
- title: string;
66
- children: {
67
- display: {
68
- title: string;
69
- type: string;
70
- };
71
- position: {
72
- title: string;
73
- type: string;
74
- options: {
75
- name: string;
76
- value: string;
77
- }[];
78
- };
79
- style: {
80
- title: string;
81
- type: string;
82
- options: {
83
- name: string;
84
- value: string;
85
- }[];
86
- };
87
- };
88
- };
89
- footer: {
90
- type: string;
91
- title: string;
92
- children: {
93
- display: {
94
- title: string;
95
- type: string;
96
- };
97
- style: {
98
- title: string;
99
- type: string;
100
- options: {
101
- name: string;
102
- value: string;
103
- }[];
104
- };
105
- };
106
- };
107
- };
108
- };
109
- export type Layout3ConfigDefaultsType = (typeof Layout3Config)['defaults'];
110
- export default Layout3Config;
@@ -1,6 +0,0 @@
1
- /**
2
- * The left side layout 3.
3
- */
4
- declare function LeftSideLayout3(): import("react/jsx-runtime").JSX.Element;
5
- declare const _default: import("react").MemoExoticComponent<typeof LeftSideLayout3>;
6
- export default _default;
@@ -1,9 +0,0 @@
1
- type NavbarLayout3Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar layout 3.
6
- */
7
- declare function NavbarLayout3(props: NavbarLayout3Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarLayout3>;
9
- export default _default;
@@ -1,9 +0,0 @@
1
- type NavbarMobileLayout3Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The navbar mobile layout 3.
6
- */
7
- declare function NavbarMobileLayout3(props: NavbarMobileLayout3Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof NavbarMobileLayout3>;
9
- export default _default;
@@ -1,5 +0,0 @@
1
- type NavbarWrapperLayout3Props = {
2
- className?: string;
3
- };
4
- declare const NavbarWithSlices: (props: NavbarWrapperLayout3Props) => import("react/jsx-runtime").JSX.Element;
5
- export default NavbarWithSlices;
@@ -1,6 +0,0 @@
1
- /**
2
- * The right side layout 3.
3
- */
4
- declare function RightSideLayout3(): import("react/jsx-runtime").JSX.Element;
5
- declare const _default: import("react").MemoExoticComponent<typeof RightSideLayout3>;
6
- export default _default;
@@ -1,9 +0,0 @@
1
- type ToolbarLayout3Props = {
2
- className?: string;
3
- };
4
- /**
5
- * The toolbar layout 3.
6
- */
7
- declare function ToolbarLayout3(props: ToolbarLayout3Props): import("react/jsx-runtime").JSX.Element;
8
- declare const _default: import("react").MemoExoticComponent<typeof ToolbarLayout3>;
9
- export default _default;
@@ -1,8 +0,0 @@
1
- type HeaderFullScreenToggleProps = {
2
- className?: string;
3
- };
4
- /**
5
- * The header full screen toggle.
6
- */
7
- declare function HeaderFullScreenToggle(props: HeaderFullScreenToggleProps): import("react/jsx-runtime").JSX.Element;
8
- export default HeaderFullScreenToggle;
@@ -1,7 +0,0 @@
1
- /**
2
- * The language switcher.
3
- */
4
- declare function LanguageSwitcher({ canRefresh }: {
5
- canRefresh?: boolean;
6
- }): import("react/jsx-runtime").JSX.Element;
7
- export default LanguageSwitcher;
@@ -1,2 +0,0 @@
1
- declare function PasswordChangeForm(): import("react/jsx-runtime").JSX.Element;
2
- export default PasswordChangeForm;
@@ -1,7 +0,0 @@
1
- import { IconButtonProps } from '@mui/material/IconButton/IconButton';
2
- export type NavbarToggleButtonProps = IconButtonProps;
3
- /**
4
- * The navbar toggle button.
5
- */
6
- declare function NavbarToggleButton(props: NavbarToggleButtonProps): import("react/jsx-runtime").JSX.Element;
7
- export default NavbarToggleButton;
@@ -1,3 +0,0 @@
1
- import { OwpNavigationProps } from '@/components/OwpNavigation/OwpNavigation';
2
- declare const NavigationWIthSlices: (props: Partial<OwpNavigationProps>) => import("react/jsx-runtime").JSX.Element;
3
- export default NavigationWIthSlices;
@@ -1,6 +0,0 @@
1
- type NavigationSearchProps = {
2
- className?: string;
3
- variant?: 'basic' | 'full';
4
- };
5
- declare const NavigationSearchWithSlices: (props: NavigationSearchProps) => import("react/jsx-runtime").JSX.Element;
6
- export default NavigationSearchWithSlices;
@@ -1,6 +0,0 @@
1
- type NavigationShortcutsProps = {
2
- className?: string;
3
- variant?: 'horizontal' | 'vertical';
4
- };
5
- declare const NavigationShortcutsWithSlices: (props: NavigationShortcutsProps) => import("react/jsx-runtime").JSX.Element;
6
- export default NavigationShortcutsWithSlices;
@@ -1,5 +0,0 @@
1
- /**
2
- * The quick panel.
3
- */
4
- declare function QuickPanel(): import("react/jsx-runtime").JSX.Element;
5
- export default QuickPanel;
@@ -1,9 +0,0 @@
1
- type QuickPanelToggleButtonProps = {
2
- className?: string;
3
- children?: React.ReactNode;
4
- };
5
- /**
6
- * The quick panel toggle button.
7
- */
8
- declare function QuickPanelToggleButton(props: QuickPanelToggleButtonProps): import("react/jsx-runtime").JSX.Element;
9
- export default QuickPanelToggleButton;
@@ -1,14 +0,0 @@
1
- import type { WithSlice } from '@reduxjs/toolkit';
2
- /**
3
- * Quick Panel data slice.
4
- */
5
- export declare const quickPanelSlice: any;
6
- declare module '@/store/lazyLoadedSlices' {
7
- interface LazyLoadedSlices extends WithSlice<typeof quickPanelSlice> {
8
- }
9
- }
10
- export declare const selectQuickPanelData: any, selectQuickPanelOpen: any;
11
- export declare const removeEvents: any, toggleQuickPanel: any, openQuickPanel: any, closeQuickPanel: any;
12
- export type dataSliceType = typeof quickPanelSlice;
13
- declare const _default: any;
14
- export default _default;
@@ -1,36 +0,0 @@
1
- import type { OwpSettingsConfigType } from '@/types/OwpSettingsTypes';
2
- import { ComponentType, ReactNode } from 'react';
3
- /**
4
- * Logo slot props
5
- */
6
- export interface OwpLogoSlotProps {
7
- className?: string;
8
- }
9
- export interface OwpAppConfigs {
10
- routesConfig: any;
11
- settingsConfig: OwpSettingsConfigType;
12
- themesConfig: any;
13
- navigationConfig: any;
14
- }
15
- /**
16
- * App slots
17
- */
18
- export interface OwpAppSlots {
19
- logo?: ComponentType<OwpLogoSlotProps>;
20
- }
21
- export interface OwpAppEnv {
22
- [key: string]: any;
23
- }
24
- export interface OwpAppContextValue extends OwpAppConfigs {
25
- env?: OwpAppEnv;
26
- slots?: OwpAppSlots;
27
- }
28
- export declare const OwpAppContext: import("react").Context<OwpAppContextValue>;
29
- export interface OwpAppProviderProps {
30
- configs: OwpAppConfigs;
31
- slots?: OwpAppSlots;
32
- children?: ReactNode;
33
- env?: OwpAppEnv;
34
- }
35
- export declare const OwpAppProvider: ({ configs, slots, children, env }: OwpAppProviderProps) => import("react/jsx-runtime").JSX.Element;
36
- export declare const useOwpAppContext: () => OwpAppContextValue;
@@ -1,8 +0,0 @@
1
- /**
2
- * 현재 로고 경로 조회 훅
3
- */
4
- export declare const useGetCurrentLogoSrc: () => string;
5
- /**
6
- * 현재 로고 경로 설정 훅
7
- */
8
- export declare const useSetCurrentLogoSrc: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
@@ -1,8 +0,0 @@
1
- /**
2
- * TreeGrid 공통코드 Enum 옵션 반영
3
- * @param id TreeGrid 인스턴스 ID
4
- * @param field Enum을 반영할 컬럼명
5
- * @param codeId 공통코드 그룹 ID
6
- * @param isGridReady TreeGrid 준비 여부
7
- */
8
- export declare const useTreeGridCommonCodeEnum: (id: string, field: string, codeId: string, isGridReady: boolean) => void;
@@ -1,190 +0,0 @@
1
- var g = Object.defineProperty;
2
- var r = (e, t) => g(e, "name", { value: t, configurable: !0 });
3
- import { j as d, a as O } from "./emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js";
4
- import { u as K } from "./useStorage-BA0D8KA7.js";
5
- import { createContext as T, useContext as w, useRef as h, useLayoutEffect as v } from "react";
6
- import { Typography as V, DialogContent as _, DialogActions as B, Button as b, Dialog as P } from "@mui/material";
7
- import { useDialogs as j } from "@toolpad/core/useDialogs";
8
- import { useTranslation as k } from "react-i18next";
9
- import { a as C } from "./isTypedArray-xp-fB7W4.js";
10
- function D(e, t) {
11
- if (t === void 0)
12
- return e.trimEnd();
13
- let o = e.length;
14
- switch (typeof t) {
15
- case "string": {
16
- if (t.length !== 1)
17
- throw new Error("The 'chars' parameter should be a single character string.");
18
- for (; o > 0 && e[o - 1] === t; )
19
- o--;
20
- break;
21
- }
22
- case "object":
23
- for (; o > 0 && t.includes(e[o - 1]); )
24
- o--;
25
- }
26
- return e.substring(0, o);
27
- }
28
- r(D, "trimEnd$1");
29
- const x = T(void 0), U = /* @__PURE__ */ r(({ configs: e, slots: t, children: o, env: a }) => {
30
- const u = h({ ...e, env: a, slots: t }), { setEnv: n } = K();
31
- return v(() => {
32
- n(a ?? {});
33
- }, [a, n]), /* @__PURE__ */ d(x.Provider, { value: u.current, children: o });
34
- }, "OwpAppProvider"), $ = /* @__PURE__ */ r(() => {
35
- const e = w(x);
36
- if (e === void 0)
37
- throw new Error("useOwpAppContext must be used within a OwpAppProvider");
38
- return e;
39
- }, "useOwpAppContext");
40
- function I(e, t, o) {
41
- return e == null ? "" : D(e, t.toString().split(""));
42
- }
43
- r(I, "trimEnd");
44
- const s = {
45
- infoTitle: {
46
- primaryKey: "message.would_you_like_to_proceed",
47
- fallbackKey: "Message.처리하시겠습니까",
48
- defaultValue: "처리하시겠습니까?"
49
- },
50
- infoOk: {
51
- primaryKey: "button.ok",
52
- fallbackKey: "Button.확인",
53
- defaultValue: "확인"
54
- },
55
- saveTitle: {
56
- primaryKey: "message.do_you_want_to_save",
57
- fallbackKey: "Message.저장하시겠습니까?",
58
- defaultValue: "저장하시겠습니까?"
59
- },
60
- saveOk: {
61
- primaryKey: "button.save",
62
- fallbackKey: "Button.저장",
63
- defaultValue: "저장"
64
- },
65
- updateTitle: {
66
- primaryKey: "message.would_you_like_to_edit",
67
- fallbackKey: "Message.수정하시겠습니까?",
68
- defaultValue: "수정하시겠습니까?"
69
- },
70
- updateOk: {
71
- primaryKey: "button.edit",
72
- fallbackKey: "Button.수정",
73
- defaultValue: "수정"
74
- },
75
- deleteTitle: {
76
- primaryKey: "message.are_you_sure_you_want_to_delete",
77
- fallbackKey: "Message.삭제하시겠습니까?",
78
- defaultValue: "삭제하시겠습니까?"
79
- },
80
- deleteOk: {
81
- primaryKey: "button.delete",
82
- fallbackKey: "Button.삭제",
83
- defaultValue: "삭제"
84
- },
85
- cancel: {
86
- primaryKey: "button.cancel",
87
- fallbackKey: "Button.취소",
88
- defaultValue: "취소"
89
- }
90
- }, y = /* @__PURE__ */ r((e, t) => e ? {
91
- color: e,
92
- ...t
93
- } : t, "mergeOkButtonProps"), q = /* @__PURE__ */ r(() => {
94
- const e = j(), { t, i18n: o } = k("owp"), a = /* @__PURE__ */ r(({
95
- primaryKey: n,
96
- fallbackKey: i,
97
- defaultValue: l
98
- }) => t(o.exists(n) ? n : i, { defaultValue: l }), "translateConfirmText"), u = /* @__PURE__ */ r((n) => e.open(A, n), "confirmBase");
99
- return {
100
- confirm: u,
101
- confirmInfo: /* @__PURE__ */ r(async ({ title: n, okText: i, severity: l } = {}) => u({
102
- title: n ?? a(s.infoTitle),
103
- okText: i ?? a(s.infoOk),
104
- severity: l ?? "primary",
105
- useInfo: !0
106
- }), "confirmInfo"),
107
- confirmSave: /* @__PURE__ */ r(async ({
108
- title: n,
109
- okText: i,
110
- cancelText: l,
111
- okButtonProps: c
112
- } = {}) => u({
113
- title: n ?? a(s.saveTitle),
114
- okText: i ?? a(s.saveOk),
115
- cancelText: l,
116
- okButtonProps: y("secondary", c)
117
- }), "confirmSave"),
118
- confirmUpdate: /* @__PURE__ */ r(async ({
119
- title: n,
120
- okText: i,
121
- cancelText: l,
122
- okButtonProps: c
123
- } = {}) => u({
124
- title: n ?? a(s.updateTitle),
125
- okText: i ?? a(s.updateOk),
126
- cancelText: l,
127
- okButtonProps: y("secondary", c)
128
- }), "confirmUpdate"),
129
- confirmDelete: /* @__PURE__ */ r(async ({
130
- title: n,
131
- okText: i,
132
- cancelText: l,
133
- okButtonProps: c
134
- } = {}) => u({
135
- title: n ?? a(s.deleteTitle),
136
- okText: i ?? a(s.deleteOk),
137
- cancelText: l,
138
- okButtonProps: y("error", c)
139
- }), "confirmDelete")
140
- };
141
- }, "useConfirm"), A = /* @__PURE__ */ r(({ payload: e, open: t, onClose: o }) => {
142
- const { title: a, okButtonProps: u, cancelButtonProps: n, severity: i, useInfo: l } = e, { t: c, i18n: p } = k("owp"), f = (e == null ? void 0 : e.okText) ?? c(p.exists(s.infoOk.primaryKey) ? "button.ok" : "Button.확인", {
143
- defaultValue: s.infoOk.defaultValue
144
- }), m = (e == null ? void 0 : e.cancelText) ?? c(
145
- p.exists(s.cancel.primaryKey) ? s.cancel.primaryKey : s.cancel.fallbackKey,
146
- { defaultValue: s.cancel.defaultValue }
147
- );
148
- return /* @__PURE__ */ O(P, { fullWidth: !0, maxWidth: "xs", open: t, onClose: /* @__PURE__ */ r(() => o(!1), "onClose"), children: [
149
- /* @__PURE__ */ d(_, { children: /* @__PURE__ */ d(V, { className: "mb-12", variant: "h6", children: a }) }),
150
- /* @__PURE__ */ O(B, { children: [
151
- !l && /* @__PURE__ */ d(b, { ...n, variant: "outlined", onClick: /* @__PURE__ */ r(() => o(!1), "onClick"), children: m }),
152
- /* @__PURE__ */ d(
153
- b,
154
- {
155
- color: i || "primary",
156
- variant: "contained",
157
- ...u,
158
- onClick: /* @__PURE__ */ r(() => o(!0), "onClick"),
159
- children: f
160
- }
161
- )
162
- ] })
163
- ] });
164
- }, "ConfirmDialog"), E = /* @__PURE__ */ r((e) => {
165
- if (!e.includes("."))
166
- return;
167
- const o = I(e, ".").lastIndexOf(".");
168
- return o < 0 ? e : e.slice(o + 1);
169
- }, "getDefaultValueFromKey"), G = /* @__PURE__ */ r(() => {
170
- const { t: e, ...t } = k("owp");
171
- return { t: /* @__PURE__ */ r((...a) => {
172
- const [u, n] = a, i = C(n) ? n : void 0, l = !!i, c = l && Object.prototype.hasOwnProperty.call(i, "defaultValue");
173
- if ((n == null || l) && !c && typeof u == "string") {
174
- const f = E(u);
175
- if (f) {
176
- const m = l ? { ...i, defaultValue: f } : { defaultValue: f };
177
- return e(u, m, ...a.slice(2));
178
- }
179
- }
180
- return e(...a);
181
- }, "t"), ...t };
182
- }, "useOwpTranslation");
183
- export {
184
- U as O,
185
- x as a,
186
- G as b,
187
- q as c,
188
- $ as u
189
- };
190
- //# sourceMappingURL=useOwpTranslation-CMrtqKkT.js.map