@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.
- package/colors/chart.d.ts +3 -0
- package/colors/chart.js +1 -0
- package/contexts.d.ts +3 -0
- package/contexts.js +1 -0
- package/dist/{Close-DnXyQZKh.js → Close-C91nHTKM.js} +280 -282
- package/dist/Close-C91nHTKM.js.map +1 -0
- package/dist/{OwpStoreProvider-Bx5p7ooQ.js → OwpStoreProvider-BPa_lWCz.js} +3 -3
- package/dist/OwpStoreProvider-BPa_lWCz.js.map +1 -0
- package/dist/OwpUtils-DV2LSByd.js +411 -0
- package/dist/OwpUtils-DV2LSByd.js.map +1 -0
- package/dist/colorMap-DP-DCZbV.js +82 -0
- package/dist/colorMap-DP-DCZbV.js.map +1 -0
- package/dist/colors/chart.js +6 -0
- package/dist/colors/chart.js.map +1 -0
- package/dist/colors.js +4 -1
- package/dist/colors.js.map +1 -1
- package/dist/commonCodeUtils-DNfSjP6S.js +42 -0
- package/dist/commonCodeUtils-DNfSjP6S.js.map +1 -0
- package/dist/contexts.js +104 -0
- package/dist/contexts.js.map +1 -0
- package/dist/{owpDark-DAY0F6Ph.js → dark-DAY0F6Ph.js} +1 -1
- package/dist/dark-DAY0F6Ph.js.map +1 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js +1496 -0
- package/dist/emotion-react-jsx-runtime.browser.esm-BMvSswBW.js.map +1 -0
- package/dist/hooks.js +119 -73
- package/dist/hooks.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +44321 -96
- package/dist/index.js.map +1 -1
- package/dist/isString-Codtu20I.js +55 -0
- package/dist/isString-Codtu20I.js.map +1 -0
- package/dist/isTypedArray-CCnDZ5HJ.js +609 -0
- package/dist/isTypedArray-CCnDZ5HJ.js.map +1 -0
- package/dist/language-DaxFvPOq.js +35 -0
- package/dist/language-DaxFvPOq.js.map +1 -0
- package/dist/lazyLoadedSlices-C18y0AEB.js +2773 -0
- package/dist/lazyLoadedSlices-C18y0AEB.js.map +1 -0
- package/dist/owp-app.css +1 -1
- package/dist/store.js +2 -2
- package/dist/{toUpper-i_I6Tyuv.js → toUpper-Dmh8Htx_.js} +2 -2
- package/dist/{toUpper-i_I6Tyuv.js.map → toUpper-Dmh8Htx_.js.map} +1 -1
- package/dist/{treeGridUtil-WTM_djsN.js → treeGridUtil-DAfaAk6C.js} +19 -19
- package/dist/{treeGridUtil-WTM_djsN.js.map → treeGridUtil-DAfaAk6C.js.map} +1 -1
- package/dist/types/colors/chart/colorMap.d.ts +8 -0
- package/dist/types/colors/chart/index.d.ts +1 -0
- package/dist/types/colors/index.d.ts +2 -2
- package/dist/types/colors/palettes/index.d.ts +2 -0
- package/dist/types/components/OwpErrorBoundary/OwpErrorBoundary.d.ts +1 -1
- package/dist/types/components/OwpFileUploadButton/OwpFileUploadButton.d.ts +2 -2
- package/dist/types/components/OwpHidden/OwpHidden.d.ts +19 -0
- package/dist/types/components/OwpHidden/index.d.ts +2 -0
- package/dist/types/components/OwpLayout/OwpLayout.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCarded.d.ts +2 -2
- package/dist/types/components/OwpPageCarded/OwpPageCardedSidebar.d.ts +1 -1
- package/dist/types/components/OwpPicker/DatePickerInput.d.ts +1 -1
- package/dist/types/components/OwpStyleProvider/OwpStyleProvider.d.ts +5 -5
- package/dist/types/components/OwpTable/OwpTable.d.ts +1 -3
- package/dist/types/components/OwpTabs/OwpTab.d.ts +2 -4
- package/dist/types/components/OwpTabs/OwpTabs.d.ts +2 -4
- package/dist/types/{default-settings/OwpDefaultSettings.d.ts → configs/defaultConfig.d.ts} +1 -1
- package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts} +12 -15
- package/dist/types/{context → contexts}/OwpAppProvider.d.ts +10 -3
- package/dist/types/hooks/index.d.ts +4 -2
- package/dist/types/{store/hooks.d.ts → hooks/useAppStore.d.ts} +1 -1
- package/dist/types/hooks/useCurrentLanguage.d.ts +1 -5
- package/dist/types/hooks/useInitApp.d.ts +8 -0
- package/dist/types/hooks/useInitCommonCodes.d.ts +4 -0
- package/dist/types/hooks/useLogoSrc.d.ts +8 -0
- package/dist/types/hooks/useNavigation.d.ts +3 -18
- package/dist/types/hooks/useOwpTranslation.d.ts +0 -2
- package/dist/types/hooks/useThemeMediaQuery.d.ts +1 -1
- package/dist/types/index.d.ts +3 -29
- package/dist/types/{components/layouts/layout3/Layout3.d.ts → layout/Layout.d.ts} +4 -4
- package/dist/types/layout/components/layouts/FooterLayout.d.ts +9 -0
- package/dist/types/layout/components/layouts/LeftSideLayout.d.ts +6 -0
- package/dist/types/layout/components/layouts/NavbarToggleFabLayout.d.ts +8 -0
- package/dist/types/layout/components/layouts/NavbarWrapperLayout.d.ts +5 -0
- package/dist/types/layout/components/menus/LogoutMenu.d.ts +8 -0
- package/dist/types/layout/components/menus/PasswordChangeMenu.d.ts +8 -0
- package/dist/types/{components/layouts/shared-components → layout/components/menus}/UserMenu.d.ts +1 -1
- package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarPinToggleButton.d.ts +1 -1
- package/dist/types/layout/components/navbar/NavbarToggleButton.d.ts +11 -0
- package/dist/types/layout/components/navbar/style/NavbarStyle.d.ts +5 -0
- package/dist/types/layout/components/navbar/style/NavbarStyleContent.d.ts +9 -0
- package/dist/types/layout/components/navigation/NavBadge.d.ts +17 -0
- package/dist/types/layout/components/navigation/NavItem.d.ts +14 -0
- package/dist/types/layout/components/navigation/Navigation.d.ts +3 -0
- package/dist/types/layout/components/navigation/NavigationMenu.d.ts +23 -0
- package/dist/types/layout/components/navigation/vertical/NavVerticalLayout.d.ts +9 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalCollapse.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalGroup.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalItem.d.ts +6 -0
- package/dist/types/layout/components/navigation/vertical/types/NavVerticalLink.d.ts +7 -0
- package/dist/types/layout/components/toggles/FullScreenToggle.d.ts +8 -0
- package/dist/types/layout/components/toggles/LanguageSwitcherToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/NavigationSearchToggle.d.ts +16 -0
- package/dist/types/layout/components/toggles/NavigationShortcutsToggle.d.ts +9 -0
- package/dist/types/layout/components/toggles/toggleStyles.d.ts +10 -0
- package/dist/types/{components/layouts/layout3/components/FooterLayout3.d.ts → layout/components/toolbar/ToolbarLayout.d.ts} +4 -4
- package/dist/types/{components/layouts → layout}/themeLayoutConfigs.d.ts +2 -4
- package/dist/types/store/index.d.ts +1 -1
- package/dist/types/store/lazyLoadedSlices.d.ts +2 -2
- package/dist/types/{components/layouts/shared-components/navigation/store → store}/navigationSlice.d.ts +10 -10
- package/dist/types/store/owpSettingsSlice.d.ts +18 -1356
- package/dist/types/{components/OwpNavigation/types/OwpNavItemType.d.ts → types/OwpNavigationTypes.d.ts} +14 -4
- package/dist/types/types/OwpSettingsTypes.d.ts +2 -2
- package/dist/types/types/index.d.ts +3 -0
- package/dist/types/utils/getEstimatedTextCellWidth.d.ts +12 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/language.d.ts +8 -0
- package/dist/types/{components/OwpNavigation/utils/OwpNavigationHelper.d.ts → utils/navigationUtils.d.ts} +17 -5
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/{usePageLockLoading-BUI_3PlR.js → usePageLockLoading-BGODEt_k.js} +5 -5
- package/dist/usePageLockLoading-BGODEt_k.js.map +1 -0
- package/dist/useShortcuts-BjtlXprQ.js +236 -0
- package/dist/useShortcuts-BjtlXprQ.js.map +1 -0
- package/dist/useTreeGridExcelExport-BE6h1hsO.js +120 -0
- package/dist/useTreeGridExcelExport-BE6h1hsO.js.map +1 -0
- package/dist/utils.js +6911 -6671
- package/dist/utils.js.map +1 -1
- package/owp-app.css +1 -0
- package/package.json +51 -47
- package/types.d.ts +3 -0
- package/types.js +1 -0
- package/context.d.ts +0 -3
- package/context.js +0 -1
- package/dist/Close-DnXyQZKh.js.map +0 -1
- package/dist/OwpStoreProvider-Bx5p7ooQ.js.map +0 -1
- package/dist/OwpUtils-C81bM1Gz.js +0 -611
- package/dist/OwpUtils-C81bM1Gz.js.map +0 -1
- package/dist/QuickPanel-CO7Tyc8C.js +0 -104
- package/dist/QuickPanel-CO7Tyc8C.js.map +0 -1
- package/dist/context.js +0 -101
- package/dist/context.js.map +0 -1
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js +0 -1751
- package/dist/emotion-react-jsx-runtime.browser.esm-Cb9H5d3i.js.map +0 -1
- package/dist/index-KlA5Es4t.js +0 -46971
- package/dist/index-KlA5Es4t.js.map +0 -1
- package/dist/isTypedArray-DPyC49cI.js +0 -411
- package/dist/isTypedArray-DPyC49cI.js.map +0 -1
- package/dist/lazyLoadedSlices-DC7yg4GT.js +0 -2832
- package/dist/lazyLoadedSlices-DC7yg4GT.js.map +0 -1
- package/dist/owpDark-DAY0F6Ph.js.map +0 -1
- package/dist/types/components/OwpCommonDialog/OwpCommonDialog.d.ts +0 -1
- package/dist/types/components/OwpCommonDialog/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/OwpNavBadge.d.ts +0 -17
- package/dist/types/components/OwpNavigation/OwpNavItem.d.ts +0 -14
- package/dist/types/components/OwpNavigation/OwpNavigation.d.ts +0 -23
- package/dist/types/components/OwpNavigation/horizontal/OwpNavHorizontalLayout1.d.ts +0 -7
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse.d.ts +0 -15
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup.d.ts +0 -13
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalItem.d.ts +0 -11
- package/dist/types/components/OwpNavigation/horizontal/types/OwpNavHorizontalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/index.d.ts +0 -1
- package/dist/types/components/OwpNavigation/isUrlInChildren.d.ts +0 -7
- package/dist/types/components/OwpNavigation/models/OwpNavItemModel.d.ts +0 -8
- package/dist/types/components/OwpNavigation/types/OwpNavBadgeType.d.ts +0 -9
- package/dist/types/components/OwpNavigation/utils/components.d.ts +0 -4
- package/dist/types/components/OwpNavigation/utils/registerComponent.d.ts +0 -4
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout1.d.ts +0 -9
- package/dist/types/components/OwpNavigation/vertical/OwpNavVerticalLayout2.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalCollapse.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalGroup.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalItem.d.ts +0 -7
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalLink.d.ts +0 -8
- package/dist/types/components/OwpNavigation/vertical/types/OwpNavVerticalTab.d.ts +0 -11
- package/dist/types/components/OwpSearch/OwpSearch.d.ts +0 -23
- package/dist/types/components/OwpSearch/index.d.ts +0 -1
- package/dist/types/components/OwpShortcuts/OwpShortcuts.d.ts +0 -19
- package/dist/types/components/OwpShortcuts/index.d.ts +0 -1
- package/dist/types/components/OwpSidePanel/OwpSidePanel.d.ts +0 -18
- package/dist/types/components/OwpSidePanel/index.d.ts +0 -1
- package/dist/types/components/OwpTheme/OwpTheme.d.ts +0 -18
- package/dist/types/components/OwpTheme/index.d.ts +0 -1
- package/dist/types/components/OwpThemeSelector/OwpThemeSelector.d.ts +0 -16
- package/dist/types/components/OwpThemeSelector/SchemePreview.d.ts +0 -14
- package/dist/types/components/OwpThemeSelector/ThemePreview.d.ts +0 -17
- package/dist/types/components/OwpThemeSelector/index.d.ts +0 -1
- package/dist/types/components/layouts/layout1/Layout1.d.ts +0 -10
- package/dist/types/components/layouts/layout1/Layout1Config.d.ts +0 -114
- package/dist/types/components/layouts/layout1/components/FooterLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/LeftSideLayout1.d.ts +0 -6
- package/dist/types/components/layouts/layout1/components/NavbarToggleFabLayout1.d.ts +0 -8
- package/dist/types/components/layouts/layout1/components/NavbarWrapperLayout1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/ToolbarLayout1.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-1/NavbarStyle1Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2.d.ts +0 -5
- package/dist/types/components/layouts/layout1/components/navbar/style-2/NavbarStyle2Content.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3.d.ts +0 -9
- package/dist/types/components/layouts/layout1/components/navbar/style-3/NavbarStyle3Content.d.ts +0 -10
- package/dist/types/components/layouts/layout2/Layout2.d.ts +0 -10
- package/dist/types/components/layouts/layout2/components/FooterLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/LeftSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/NavbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarMobileLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout2/components/NavbarToggleFabLayout2.d.ts +0 -8
- package/dist/types/components/layouts/layout2/components/NavbarWrapperLayout2.d.ts +0 -5
- package/dist/types/components/layouts/layout2/components/RightSideLayout2.d.ts +0 -6
- package/dist/types/components/layouts/layout2/components/ToolbarLayout2.d.ts +0 -9
- package/dist/types/components/layouts/layout3/Layout3Config.d.ts +0 -110
- package/dist/types/components/layouts/layout3/components/LeftSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/NavbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarMobileLayout3.d.ts +0 -9
- package/dist/types/components/layouts/layout3/components/NavbarWrapperLayout3.d.ts +0 -5
- package/dist/types/components/layouts/layout3/components/RightSideLayout3.d.ts +0 -6
- package/dist/types/components/layouts/layout3/components/ToolbarLayout3.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/FullScreenToggle.d.ts +0 -8
- package/dist/types/components/layouts/shared-components/LanguageSwitcher.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/PasswordChangeForm.d.ts +0 -2
- package/dist/types/components/layouts/shared-components/navbar/NavbarToggleButton.d.ts +0 -7
- package/dist/types/components/layouts/shared-components/navigation/Navigation.d.ts +0 -3
- package/dist/types/components/layouts/shared-components/navigation/NavigationSearch.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/navigation/NavigationShortcuts.d.ts +0 -6
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanel.d.ts +0 -5
- package/dist/types/components/layouts/shared-components/quickPanel/QuickPanelToggleButton.d.ts +0 -9
- package/dist/types/components/layouts/shared-components/quickPanel/quickPanelSlice.d.ts +0 -14
- package/dist/types/hooks/useCurrentLogoSrc.d.ts +0 -8
- package/dist/types/hooks/useTreeGridCommonCodeEnum.d.ts +0 -8
- package/dist/usePageLockLoading-BUI_3PlR.js.map +0 -1
- package/dist/useShortcuts-CCf98L8m.js +0 -241
- package/dist/useShortcuts-CCf98L8m.js.map +0 -1
- package/dist/useStorage-CuUmH4fD.js +0 -50
- package/dist/useStorage-CuUmH4fD.js.map +0 -1
- package/dist/useTreeGridExcelExport-N2nOKmkz.js +0 -138
- package/dist/useTreeGridExcelExport-N2nOKmkz.js.map +0 -1
- /package/dist/types/colors/{owpDark.d.ts → palettes/dark.d.ts} +0 -0
- /package/dist/types/colors/{skyBlue.d.ts → palettes/skyBlue.d.ts} +0 -0
- /package/dist/types/{context → contexts}/OwpCoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpStoreProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/OwpUiProvider.d.ts +0 -0
- /package/dist/types/{context → contexts}/index.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/logo}/Logo.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components}/navbar/NavbarToggleFab.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components → layout/components/toggles}/LogoutToggle.d.ts +0 -0
- /package/dist/types/{components/layouts → layout}/themeLayouts.d.ts +0 -0
- /package/dist/types/{components/layouts/shared-components/navbar → store}/navbarSlice.d.ts +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { CacheProvider } from '@emotion/react';
|
|
2
|
-
import { Theme } from '@mui/material/styles
|
|
2
|
+
import { type Theme } from '@mui/material/styles';
|
|
3
3
|
import { ComponentProps, ReactNode } from 'react';
|
|
4
4
|
type OwpCacheProviderProps = Omit<ComponentProps<typeof CacheProvider>, 'children'>;
|
|
5
5
|
export interface OwpStyleProviderProps {
|
|
6
6
|
children?: ReactNode;
|
|
7
|
-
theme
|
|
7
|
+
theme?: Theme;
|
|
8
8
|
root?: boolean;
|
|
9
9
|
cacheProviderProps?: OwpCacheProviderProps;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* CacheProvider,
|
|
13
|
-
* @param theme MUI theme
|
|
12
|
+
* CacheProvider, theme composition
|
|
13
|
+
* @param theme MUI theme 객체. 미지정 시 store main theme 사용
|
|
14
14
|
* @param root 글로벌 스타일 적용 여부
|
|
15
15
|
* @param cacheProviderProps CacheProvider 옵션
|
|
16
16
|
*/
|
|
17
|
-
export declare function OwpStyleProvider(
|
|
17
|
+
export declare function OwpStyleProvider(props: OwpStyleProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -29,9 +29,7 @@ export declare function OwpTableTotalCount({ totalCount }: {
|
|
|
29
29
|
* @param tableLayout tableLayout 값
|
|
30
30
|
*/
|
|
31
31
|
export declare const StyledTable: ({ canBodyFullHeight, canUseTreeGridStyle, children, className, containerProps, footerSlot, tableLayout, ...tableProps }: StyledTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export declare const StyledTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
|
33
|
-
ref?: import("react").Ref<HTMLTableRowElement>;
|
|
34
|
-
}, "style" | "hover" | "selected" | "className" | "classes" | "children" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
32
|
+
export declare const StyledTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "style" | "hover" | "selected" | "children" | "sx" | "classes" | "className"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
|
35
33
|
interface OwpTableProps<T> extends Omit<StyledTableProps, 'children'> {
|
|
36
34
|
canTotalCountRow?: boolean;
|
|
37
35
|
headers: OwpTableHeaderRow | OwpTableHeaderRow[];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* OwpTab 컴포넌트
|
|
3
3
|
*/
|
|
4
|
-
declare const OwpTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
|
5
|
-
|
|
6
|
-
}, "action" | "style" | "disabled" | "icon" | "className" | "classes" | "children" | "sx" | "label" | "tabIndex" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & {
|
|
7
|
-
component?: React.ElementType;
|
|
4
|
+
declare const OwpTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "disabled" | "children" | "sx" | "icon" | "classes" | "className" | "label" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "value" | "wrapped" | "iconPosition"> & {
|
|
5
|
+
component?: React.ElementType | undefined;
|
|
8
6
|
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
9
7
|
export { OwpTab };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* OwpTabs 컴포넌트
|
|
3
3
|
*/
|
|
4
|
-
declare const OwpTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
|
5
|
-
|
|
6
|
-
}, "action" | "style" | "className" | "classes" | "children" | "sx" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "slots" | "slotProps" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
7
|
-
component?: React.ElementType;
|
|
4
|
+
declare const OwpTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "action" | "children" | "sx" | "classes" | "className" | "variant" | "aria-label" | "aria-labelledby" | "onChange" | "slots" | "slotProps" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
|
|
5
|
+
component?: React.ElementType | undefined;
|
|
8
6
|
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
9
7
|
export { OwpTabs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OwpSettingsConfigType, OwpThemesType } from '@/types/OwpSettingsTypes';
|
|
2
|
-
import { ThemeOptions } from '@mui/material/styles
|
|
2
|
+
import { type ThemeOptions } from '@mui/material/styles';
|
|
3
3
|
import { PartialDeep } from 'type-fest';
|
|
4
4
|
/**
|
|
5
5
|
* 기본 layout 설정
|
package/dist/types/{components/layouts/layout2/Layout2Config.d.ts → configs/layoutConfig.d.ts}
RENAMED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The
|
|
2
|
+
* The layout config object.
|
|
3
3
|
*/
|
|
4
|
-
declare const
|
|
4
|
+
declare const LayoutConfig: {
|
|
5
5
|
title: string;
|
|
6
6
|
defaults: {
|
|
7
7
|
mode: string;
|
|
8
|
-
containerWidth:
|
|
8
|
+
containerWidth: string;
|
|
9
9
|
navbar: {
|
|
10
10
|
display: boolean;
|
|
11
11
|
style: string;
|
|
12
12
|
folded: boolean;
|
|
13
|
+
position: string;
|
|
14
|
+
open: boolean;
|
|
13
15
|
};
|
|
14
16
|
toolbar: {
|
|
15
17
|
display: boolean;
|
|
16
18
|
style: string;
|
|
17
|
-
position: string;
|
|
18
19
|
};
|
|
19
20
|
footer: {
|
|
20
21
|
display: boolean;
|
|
@@ -49,7 +50,7 @@ declare const Layout2Config: {
|
|
|
49
50
|
title: string;
|
|
50
51
|
type: string;
|
|
51
52
|
};
|
|
52
|
-
|
|
53
|
+
position: {
|
|
53
54
|
title: string;
|
|
54
55
|
type: string;
|
|
55
56
|
options: {
|
|
@@ -57,6 +58,10 @@ declare const Layout2Config: {
|
|
|
57
58
|
value: string;
|
|
58
59
|
}[];
|
|
59
60
|
};
|
|
61
|
+
folded: {
|
|
62
|
+
title: string;
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
60
65
|
};
|
|
61
66
|
};
|
|
62
67
|
toolbar: {
|
|
@@ -67,14 +72,6 @@ declare const Layout2Config: {
|
|
|
67
72
|
title: string;
|
|
68
73
|
type: string;
|
|
69
74
|
};
|
|
70
|
-
position: {
|
|
71
|
-
title: string;
|
|
72
|
-
type: string;
|
|
73
|
-
options: {
|
|
74
|
-
name: string;
|
|
75
|
-
value: string;
|
|
76
|
-
}[];
|
|
77
|
-
};
|
|
78
75
|
style: {
|
|
79
76
|
title: string;
|
|
80
77
|
type: string;
|
|
@@ -105,5 +102,5 @@ declare const Layout2Config: {
|
|
|
105
102
|
};
|
|
106
103
|
};
|
|
107
104
|
};
|
|
108
|
-
export type
|
|
109
|
-
export default
|
|
105
|
+
export type LayoutConfigDefaultsType = (typeof LayoutConfig)['defaults'];
|
|
106
|
+
export default LayoutConfig;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import type { OwpSettingsConfigType, OwpThemesType } from '@/types/OwpSettingsTypes';
|
|
2
|
-
import {
|
|
2
|
+
import type { OwpNavItemType } from '@/types/OwpNavigationTypes';
|
|
3
|
+
import { CSSProperties, ComponentType, ReactNode } from 'react';
|
|
3
4
|
import { PartialDeep } from 'type-fest';
|
|
4
5
|
/**
|
|
5
6
|
* Logo slot props
|
|
6
7
|
*/
|
|
7
8
|
export interface OwpLogoSlotProps {
|
|
8
9
|
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
9
11
|
}
|
|
10
12
|
export interface OwpAppConfigs {
|
|
11
13
|
routesConfig: any;
|
|
12
14
|
settingsConfig?: PartialDeep<OwpSettingsConfigType>;
|
|
13
15
|
themesConfig?: PartialDeep<OwpThemesType>;
|
|
14
|
-
navigationConfig:
|
|
16
|
+
navigationConfig: OwpNavItemType[];
|
|
15
17
|
}
|
|
16
18
|
/**
|
|
17
19
|
* App slots
|
|
@@ -19,19 +21,24 @@ export interface OwpAppConfigs {
|
|
|
19
21
|
export interface OwpAppSlots {
|
|
20
22
|
logo?: ComponentType<OwpLogoSlotProps>;
|
|
21
23
|
}
|
|
24
|
+
export interface OwpAppSlotProps {
|
|
25
|
+
logo?: OwpLogoSlotProps;
|
|
26
|
+
}
|
|
22
27
|
export interface OwpAppEnv {
|
|
23
28
|
[key: string]: any;
|
|
24
29
|
}
|
|
25
30
|
export interface OwpAppContextValue extends OwpAppConfigs {
|
|
26
31
|
env?: OwpAppEnv;
|
|
27
32
|
slots?: OwpAppSlots;
|
|
33
|
+
slotProps?: OwpAppSlotProps;
|
|
28
34
|
}
|
|
29
35
|
export declare const OwpAppContext: import("react").Context<OwpAppContextValue>;
|
|
30
36
|
export interface OwpAppProviderProps {
|
|
31
37
|
configs: OwpAppConfigs;
|
|
32
38
|
slots?: OwpAppSlots;
|
|
39
|
+
slotProps?: OwpAppSlotProps;
|
|
33
40
|
children?: ReactNode;
|
|
34
41
|
env?: OwpAppEnv;
|
|
35
42
|
}
|
|
36
|
-
export declare const OwpAppProvider: ({ configs, slots, children, env }: OwpAppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare const OwpAppProvider: ({ configs, slots, slotProps, children, env, }: OwpAppProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
44
|
export declare const useOwpAppContext: () => OwpAppContextValue;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export * from './useCommonCodeList';
|
|
2
2
|
export * from './useAccessTokenGuard';
|
|
3
|
+
export * from './useAppStore';
|
|
3
4
|
export * from './useConfirm';
|
|
4
5
|
export * from './useCurrentLanguage';
|
|
5
|
-
export * from './
|
|
6
|
+
export * from './useLogoSrc';
|
|
6
7
|
export * from './useCurrentUser';
|
|
7
8
|
export * from './useCurrentUserId';
|
|
8
9
|
export * from './useDebounce';
|
|
9
10
|
export * from './useDeepCompareEffect';
|
|
11
|
+
export * from './useInitApp';
|
|
12
|
+
export * from './useInitCommonCodes';
|
|
10
13
|
export * from './useNavigation';
|
|
11
14
|
export * from './useOwpTranslation';
|
|
12
15
|
export * from './usePageLockLoading';
|
|
@@ -15,6 +18,5 @@ export * from './useShortcuts';
|
|
|
15
18
|
export * from './useStorage';
|
|
16
19
|
export * from './useThemeMediaQuery';
|
|
17
20
|
export * from './useTimeout';
|
|
18
|
-
export * from './useTreeGridCommonCodeEnum';
|
|
19
21
|
export * from './useTreeGridCommonCodeEnums';
|
|
20
22
|
export * from './useTreeGridExcelExport';
|
|
@@ -7,11 +7,7 @@ export type CurrentLanguage = {
|
|
|
7
7
|
/**
|
|
8
8
|
* 언어 목록 조회 훅
|
|
9
9
|
*/
|
|
10
|
-
export declare const useGetLanguageList: () =>
|
|
11
|
-
id: string;
|
|
12
|
-
title: string;
|
|
13
|
-
flag: string;
|
|
14
|
-
}[];
|
|
10
|
+
export declare const useGetLanguageList: () => CurrentLanguage[];
|
|
15
11
|
/**
|
|
16
12
|
* 현재 언어 조회 훅
|
|
17
13
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 현재 로고 경로 조회 훅
|
|
3
|
+
*/
|
|
4
|
+
export declare const useGetLogoSrc: () => string;
|
|
5
|
+
/**
|
|
6
|
+
* 현재 로고 경로 설정 훅
|
|
7
|
+
*/
|
|
8
|
+
export declare const useSetLogoSrc: () => (args_0: string | typeof import("jotai/utils").RESET | ((prev: string) => string | typeof import("jotai/utils").RESET)) => void;
|
|
@@ -1,24 +1,9 @@
|
|
|
1
|
-
type
|
|
2
|
-
id: string;
|
|
3
|
-
title: string;
|
|
4
|
-
translate: string;
|
|
5
|
-
type: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
};
|
|
1
|
+
import type { OwpNavItemType } from '@/types/OwpNavigationTypes';
|
|
8
2
|
/**
|
|
9
3
|
* 내비게이션 목록 조회 훅
|
|
10
4
|
*/
|
|
11
|
-
export declare const useGetNavigationList: () =>
|
|
12
|
-
children?: Array<Navigation>;
|
|
13
|
-
})[];
|
|
5
|
+
export declare const useGetNavigationList: () => OwpNavItemType[];
|
|
14
6
|
/**
|
|
15
7
|
* 내비게이션 목록 설정 훅
|
|
16
8
|
*/
|
|
17
|
-
export declare const useSetNavigationList: () => (args_0: (
|
|
18
|
-
children?: Array<Navigation>;
|
|
19
|
-
})[] | typeof import("jotai/utils").RESET | ((prev: (Navigation & {
|
|
20
|
-
children?: Array<Navigation>;
|
|
21
|
-
})[]) => (Navigation & {
|
|
22
|
-
children?: Array<Navigation>;
|
|
23
|
-
})[] | typeof import("jotai/utils").RESET)) => void;
|
|
24
|
-
export {};
|
|
9
|
+
export declare const useSetNavigationList: () => (args_0: OwpNavItemType[] | typeof import("jotai/utils").RESET | ((prev: OwpNavItemType[]) => OwpNavItemType[] | typeof import("jotai/utils").RESET)) => void;
|
|
@@ -84,9 +84,7 @@ export declare const useOwpTranslation: () => {
|
|
|
84
84
|
flat?: boolean;
|
|
85
85
|
[Symbol.iterator]?: boolean;
|
|
86
86
|
readonly [Symbol.unscopables]?: boolean;
|
|
87
|
-
at?: boolean;
|
|
88
87
|
};
|
|
89
|
-
at(index: number): boolean | import("i18next").i18n | import("i18next").TFunction<"owp", undefined>;
|
|
90
88
|
i18n: import("i18next").i18n;
|
|
91
89
|
ready: boolean;
|
|
92
90
|
t: import("i18next").TFunction<"owp", undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Theme } from '@mui/
|
|
1
|
+
import { type Theme } from '@mui/material/styles';
|
|
2
2
|
/**
|
|
3
3
|
* The useThemeMediaQuery function is a custom hook that returns a boolean indicating whether the current screen matches the specified media query.
|
|
4
4
|
* It takes in a themeCallbackFunc as a parameter, which is a function that returns a string representing the media query to match.
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DialogsProvider } from '@toolpad/core/useDialogs';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
2
|
+
export * from './layout/themeLayouts';
|
|
3
|
+
export * from './configs/defaultConfig';
|
|
4
4
|
export * from './components/OwpLanguageSwitcherSelect';
|
|
5
5
|
export * from './components/OwpAutoLogoutDialog/OwpAutoLogoutDialog';
|
|
6
6
|
export * from './components/OwpBarcodeInput/OwpBarcodeInputField';
|
|
@@ -14,26 +14,6 @@ export * from './components/OwpLayout';
|
|
|
14
14
|
export * from './components/OwpLoading';
|
|
15
15
|
export * from './components/OwpMrtTable';
|
|
16
16
|
export * from './components/OwpMoreActionsButton/OwpMoreActionsButton';
|
|
17
|
-
export * from './components/OwpNavigation';
|
|
18
|
-
export * from './components/OwpNavigation/horizontal/OwpNavHorizontalLayout1';
|
|
19
|
-
export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalCollapse';
|
|
20
|
-
export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalGroup';
|
|
21
|
-
export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalItem';
|
|
22
|
-
export * from './components/OwpNavigation/horizontal/types/OwpNavHorizontalLink';
|
|
23
|
-
export * from './components/OwpNavigation/isUrlInChildren';
|
|
24
|
-
export * from './components/OwpNavigation/models/OwpNavItemModel';
|
|
25
|
-
export * from './components/OwpNavigation/OwpNavBadge';
|
|
26
|
-
export * from './components/OwpNavigation/OwpNavItem';
|
|
27
|
-
export * from './components/OwpNavigation/utils/OwpNavigationHelper';
|
|
28
|
-
export * from './components/OwpNavigation/types/OwpNavBadgeType';
|
|
29
|
-
export * from './components/OwpNavigation/types/OwpNavItemType';
|
|
30
|
-
export * from './components/OwpNavigation/vertical/OwpNavVerticalLayout1';
|
|
31
|
-
export * from './components/OwpNavigation/vertical/OwpNavVerticalLayout2';
|
|
32
|
-
export * from './components/OwpNavigation/vertical/types/OwpNavVerticalCollapse';
|
|
33
|
-
export * from './components/OwpNavigation/vertical/types/OwpNavVerticalGroup';
|
|
34
|
-
export * from './components/OwpNavigation/vertical/types/OwpNavVerticalItem';
|
|
35
|
-
export * from './components/OwpNavigation/vertical/types/OwpNavVerticalLink';
|
|
36
|
-
export * from './components/OwpNavigation/vertical/types/OwpNavVerticalTab';
|
|
37
17
|
export * from './components/OwpNumberField';
|
|
38
18
|
export * from './components/OwpOptionSelector';
|
|
39
19
|
export * from './components/OwpPageCarded';
|
|
@@ -50,11 +30,8 @@ export * from './components/OwpPicker/OwpTimePicker';
|
|
|
50
30
|
export * from './components/OwpPicker/OwpWeekDatePicker';
|
|
51
31
|
export * from './components/OwpPicker/OwpYearRangePicker';
|
|
52
32
|
export * from './components/OwpScrollbars';
|
|
53
|
-
export * from './components/OwpSearch';
|
|
54
33
|
export * from './components/OwpSearchFilter';
|
|
55
34
|
export * from './components/OwpSection';
|
|
56
|
-
export * from './components/OwpShortcuts';
|
|
57
|
-
export * from './components/OwpSidePanel';
|
|
58
35
|
export * from './components/OwpSplashScreen';
|
|
59
36
|
export * from './components/OwpStyleProvider';
|
|
60
37
|
export * from './components/OwpSuspense';
|
|
@@ -63,13 +40,10 @@ export * from './components/OwpTable/OwpDataTable';
|
|
|
63
40
|
export * from './components/OwpTable/OwpTable';
|
|
64
41
|
export * from './components/OwpTable/OwpVerticalTable';
|
|
65
42
|
export * from './components/OwpTextField/OwpTextMaskField';
|
|
66
|
-
export * from './components/OwpTheme';
|
|
67
|
-
export * from './components/OwpThemeSelector';
|
|
68
|
-
export * from './components/OwpThemeSelector/SchemePreview';
|
|
69
|
-
export * from './components/OwpThemeSelector/ThemePreview';
|
|
70
43
|
export * from './components/OwpTabs';
|
|
71
44
|
export * from './components/OwpTreeGridExcelButton';
|
|
72
45
|
export * from './components/OwpTreeGrid';
|
|
73
46
|
export * from './components/OwpTreeGrid/OwpTreeGridToolbar';
|
|
74
47
|
export * from './components/OwpZoomImageSlider/OwpZoomImageSlider';
|
|
75
48
|
export * from './components/OwpYesNoSelector';
|
|
49
|
+
export type { OwpFlatNavItemType, OwpNavBadgeType, OwpNavItemType } from './types/OwpNavigationTypes';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
type
|
|
2
|
+
type LayoutProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
|
-
* The layout
|
|
6
|
+
* The layout.
|
|
7
7
|
*/
|
|
8
|
-
declare function
|
|
9
|
-
declare const _default: import("react").MemoExoticComponent<typeof
|
|
8
|
+
declare function Layout(props: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const _default: import("react").MemoExoticComponent<typeof Layout>;
|
|
10
10
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type FooterLayoutProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* The footer layout.
|
|
6
|
+
*/
|
|
7
|
+
declare function FooterLayout(props: FooterLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<typeof FooterLayout>;
|
|
9
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavbarToggleButtonProps } from '@/
|
|
1
|
+
import { NavbarToggleButtonProps } from '@/layout/components/navbar/NavbarToggleButton';
|
|
2
2
|
type NavbarPinToggleButtonProps = NavbarToggleButtonProps & {
|
|
3
3
|
className?: string;
|
|
4
4
|
children?: React.ReactNode;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IconButtonProps } from '@mui/material/IconButton';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type NavbarToggleButtonProps = IconButtonProps & {
|
|
4
|
+
surfaceTone?: 'inherit' | 'light';
|
|
5
|
+
tooltipTitle?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* The navbar toggle button.
|
|
9
|
+
*/
|
|
10
|
+
declare function NavbarToggleButton(props: NavbarToggleButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default NavbarToggleButton;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type NavbarStyleContentProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* The navbar style content.
|
|
6
|
+
*/
|
|
7
|
+
declare function NavbarStyleContent(props: NavbarStyleContentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<typeof NavbarStyleContent>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { OwpNavBadgeType as NavBadgeType } from '@/types/OwpNavigationTypes';
|
|
2
|
+
type NavBadgeProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
classes?: string;
|
|
5
|
+
badge: NavBadgeType;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* NavBadge component.
|
|
9
|
+
* This component renders a badge on a nav element. It accepts a `NavBadgeType` prop,
|
|
10
|
+
* which is an object containing a title and background and foreground colour.
|
|
11
|
+
*/
|
|
12
|
+
declare function NavBadge(props: NavBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* Memoized nav badge component.
|
|
15
|
+
*/
|
|
16
|
+
declare const MemoizedNavBadge: import("react").MemoExoticComponent<typeof NavBadge>;
|
|
17
|
+
export { MemoizedNavBadge as NavBadge };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { OwpNavItemType as NavItemType } from '@/types/OwpNavigationTypes';
|
|
2
|
+
export type NavItemComponentProps = {
|
|
3
|
+
type: string;
|
|
4
|
+
item: NavItemType;
|
|
5
|
+
dense?: boolean;
|
|
6
|
+
nestedLevel?: number;
|
|
7
|
+
onItemClick?: (item: NavItemType) => void;
|
|
8
|
+
checkPermission?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Component to render a nav item by type.
|
|
12
|
+
*/
|
|
13
|
+
declare function NavItem(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { NavItem };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OwpNavItemType as NavItemType } from '@/types/OwpNavigationTypes';
|
|
2
|
+
export type NavigationMenuProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
dense?: boolean;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
onItemClick?: (item: NavItemType) => void;
|
|
7
|
+
navigation?: NavItemType[];
|
|
8
|
+
layout?: 'vertical';
|
|
9
|
+
firstLevel?: boolean;
|
|
10
|
+
selectedId?: string;
|
|
11
|
+
checkPermission?: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* NavigationMenu
|
|
15
|
+
* Component for displaying a navigation bar which contains nav items
|
|
16
|
+
* and acts as parent for providing props to its children components
|
|
17
|
+
*/
|
|
18
|
+
declare function NavigationMenu(props: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* Memoized navigation menu component.
|
|
21
|
+
*/
|
|
22
|
+
declare const MemoizedNavigationMenu: import("react").MemoExoticComponent<typeof NavigationMenu>;
|
|
23
|
+
export { MemoizedNavigationMenu as NavigationMenu };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NavigationMenuProps } from '../NavigationMenu';
|
|
2
|
+
/**
|
|
3
|
+
* NavVerticalLayout
|
|
4
|
+
* This component is used to render vertical navigations using
|
|
5
|
+
* the Material-UI List component. It accepts the NavigationMenuProps props
|
|
6
|
+
* and renders the nav items accordingly.
|
|
7
|
+
*/
|
|
8
|
+
declare function NavVerticalLayout(props: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { NavVerticalLayout };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NavItemComponentProps } from '../../NavItem';
|
|
2
|
+
/**
|
|
3
|
+
* NavVerticalCollapse component used for vertical navigation items with collapsible children.
|
|
4
|
+
*/
|
|
5
|
+
declare function NavVerticalCollapse(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { NavVerticalCollapse };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NavItemComponentProps } from '../../NavItem';
|
|
2
|
+
/**
|
|
3
|
+
* NavVerticalGroup renders a group of navigation items in a vertical layout.
|
|
4
|
+
*/
|
|
5
|
+
declare function NavVerticalGroup(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { NavVerticalGroup };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NavItemComponentProps } from '../../NavItem';
|
|
2
|
+
/**
|
|
3
|
+
* NavVerticalLink
|
|
4
|
+
* Create a vertical Link to use inside the navigation component.
|
|
5
|
+
*/
|
|
6
|
+
declare function NavVerticalLink(props: NavItemComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { NavVerticalLink };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type LanguageSwitcherToggleProps = {
|
|
2
|
+
canRefresh?: boolean;
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Language switcher toggle.
|
|
7
|
+
*/
|
|
8
|
+
declare function LanguageSwitcherToggle(props: LanguageSwitcherToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default LanguageSwitcherToggle;
|