@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
@@ -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;
@@ -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,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 +0,0 @@
1
- {"version":3,"file":"usePageLockLoading-BUI_3PlR.js","sources":["../src/hooks/useAccessTokenGuard.ts","../src/hooks/useCurrentUserId.ts","../src/hooks/usePageLockLoading.ts"],"sourcesContent":["import { STORAGE_ACCESS_TOKEN_KEY } from '@/constants/localStorageKeys';\nimport { useOwpAppContext } from '@/context/OwpAppProvider';\nimport { useEffect, useRef } from 'react';\nimport { useLocation, useNavigate } from 'react-router-dom';\n\nexport interface UseAccessTokenGuardOptions {\n loginPath?: string;\n isEnabled?: boolean;\n snackbarMessageKey?: string;\n}\n\nconst DEFAULT_LOGIN_PATH = '/auth/login';\nconst DEFAULT_SNACKBAR_MESSAGE_KEY = 'Message.로그인이 필요합니다.';\n\n/**\n * 액세스 토큰 기반 로그인 가드\n * @param loginPath 로그인 라우트 경로\n * @param isEnabled 가드 활성화 여부\n * @param snackbarMessageKey 로그인 필요 안내 메시지 키\n */\nexport const useAccessTokenGuard = ({\n loginPath = DEFAULT_LOGIN_PATH,\n isEnabled,\n snackbarMessageKey = DEFAULT_SNACKBAR_MESSAGE_KEY,\n}: UseAccessTokenGuardOptions = {}) => {\n const { env } = useOwpAppContext();\n const location = useLocation();\n const navigate = useNavigate();\n const accessToken =\n typeof window === 'undefined' ? null : window.localStorage.getItem(STORAGE_ACCESS_TOKEN_KEY);\n const isLoginRoute = location.pathname.startsWith(loginPath);\n const isAccessTokenGuardEnabled = isEnabled ?? env?.isAccessTokenGuardEnabled ?? true;\n const shouldRedirectToLogin = isAccessTokenGuardEnabled && !accessToken && !isLoginRoute;\n const hasHandledRedirectRef = useRef(false);\n\n useEffect(() => {\n if (!shouldRedirectToLogin) {\n hasHandledRedirectRef.current = false;\n return;\n }\n\n if (hasHandledRedirectRef.current) {\n return;\n }\n\n hasHandledRedirectRef.current = true;\n\n navigate(loginPath, {\n replace: true,\n state: snackbarMessageKey\n ? {\n snackbarMessageKey,\n }\n : undefined,\n });\n }, [loginPath, navigate, shouldRedirectToLogin, snackbarMessageKey]);\n\n return shouldRedirectToLogin;\n};\n","import { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\nconst currentUserIdAtom = atomWithStorage<string | ''>(STORAGE_KEYS.currentUserId, '');\n\n/**\n * 현재 사용자 ID 조회 훅\n */\nexport const useGetCurrentUserId = () => {\n return useAtomValue(currentUserIdAtom);\n};\n\n/**\n * 현재 사용자 ID 설정 훅\n */\nexport const useSetCurrentUserId = () => {\n return useSetAtom(currentUserIdAtom);\n};\n","import type { OwpPageLockLoadingProps } from '@/components/OwpPageLockLoading';\nimport { STORAGE_KEYS } from '@/constants/storageKeys';\nimport { useAtomValue, useSetAtom } from 'jotai';\nimport { atomWithStorage } from 'jotai/utils';\n\nconst currentLockLoadingAtom = atomWithStorage<OwpPageLockLoadingProps | undefined>(\n STORAGE_KEYS.lockLoadingProps,\n { loading: false },\n);\n\n/**\n * 페이지 잠금 로딩 상태 조회\n */\nexport const useGetPageLockLoading = () => {\n return useAtomValue(currentLockLoadingAtom);\n};\n\n/**\n * 페이지 잠금 로딩 상태 설정\n */\nexport const usePageLockLoading = () => {\n return { setLoading: useSetAtom(currentLockLoadingAtom) };\n};\n"],"names":["DEFAULT_LOGIN_PATH","DEFAULT_SNACKBAR_MESSAGE_KEY","useAccessTokenGuard","__name","loginPath","isEnabled","snackbarMessageKey","env","useOwpAppContext","location","useLocation","navigate","useNavigate","accessToken","STORAGE_ACCESS_TOKEN_KEY","isLoginRoute","shouldRedirectToLogin","hasHandledRedirectRef","useRef","useEffect","currentUserIdAtom","atomWithStorage","STORAGE_KEYS","useGetCurrentUserId","useAtomValue","useSetCurrentUserId","useSetAtom","currentLockLoadingAtom","useGetPageLockLoading","usePageLockLoading"],"mappings":";;;;;;;;;AAWA,MAAMA,IAAqB,eACrBC,IAA+B,uBAQxBC,IAAsB,gBAAAC,EAAA,CAAC;AAAA,EAClC,WAAAC,IAAYJ;AAAA,EACZ,WAAAK;AAAA,EACA,oBAAAC,IAAqBL;AACvB,IAAgC,OAAO;AACrC,QAAM,EAAE,KAAAM,EAAA,IAAQC,EAAA,GACVC,IAAWC,EAAA,GACXC,IAAWC,EAAA,GACXC,IACJ,OAAO,SAAW,MAAc,OAAO,OAAO,aAAa,QAAQC,CAAwB,GACvFC,IAAeN,EAAS,SAAS,WAAWL,CAAS,GAErDY,KAD4BX,MAAaE,KAAA,gBAAAA,EAAK,8BAA6B,OACtB,CAACM,KAAe,CAACE,GACtEE,IAAwBC,EAAO,EAAK;AAE1C,SAAAC,EAAU,MAAM;AACd,QAAI,CAACH,GAAuB;AAC1B,MAAAC,EAAsB,UAAU;AAChC;AAAA,IACF;AAEA,IAAIA,EAAsB,YAI1BA,EAAsB,UAAU,IAEhCN,EAASP,GAAW;AAAA,MAClB,SAAS;AAAA,MACT,OAAOE,IACH;AAAA,QACE,oBAAAA;AAAA,MAAA,IAEF;AAAA,IAAA,CACL;AAAA,EACH,GAAG,CAACF,GAAWO,GAAUK,GAAuBV,CAAkB,CAAC,GAE5DU;AACT,GAtCmC,wBChB7BI,IAAoBC,EAA6BC,EAAa,eAAe,EAAE,GAKxEC,IAAsB,gBAAApB,EAAA,MAC1BqB,EAAaJ,CAAiB,GADJ,wBAOtBK,IAAsB,gBAAAtB,EAAA,MAC1BuB,EAAWN,CAAiB,GADF,wBCX7BO,IAAyBN;AAAA,EAC7BC,EAAa;AAAA,EACb,EAAE,SAAS,GAAA;AACb,GAKaM,IAAwB,gBAAAzB,EAAA,MAC5BqB,EAAaG,CAAsB,GADP,0BAOxBE,IAAqB,gBAAA1B,EAAA,OACzB,EAAE,YAAYuB,EAAWC,CAAsB,EAAA,IADtB;"}